[2026-07-13 00:00:13] local.INFO: TCP Data received {"connection_id":132153,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57976358012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57976358012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:00:13] local.INFO: Processing buffer {"connection_id":132153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57976358012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:00:13] local.INFO: Packet analysis {"connection_id":132153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5797"} 
[2026-07-13 00:00:13] local.INFO: Extracted packet for processing {"connection_id":132153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5797"} 
[2026-07-13 00:00:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673450496001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783880967000,"timestamp_ms":1783880967000,"timestamp_seconds":1783880967,"priority":1,"record_length":96,"hex_timestamp":"0000019f57976358"} 
[2026-07-13 00:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673450496001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673450496001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:00:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:00:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673450496001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":132153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:00:13] local.INFO: GPS data processed {"connection_id":132153,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:00:13] local.INFO: Acknowledgment sent {"connection_id":132153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:00:41] local.INFO: TCP Data received {"connection_id":129870,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:00:41] local.INFO: Processing buffer {"connection_id":129870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:00:41] local.INFO: IMEI packet received {"connection_id":129870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":129870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:00:46] local.INFO: TCP Data received {"connection_id":129870,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:00:46] local.INFO: Processing buffer {"connection_id":129870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:00:46] local.INFO: IMEI packet received {"connection_id":129870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":129870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:00:47] local.INFO: TCP Data received {"connection_id":129870,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57976358012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57976358012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:00:47] local.INFO: Processing buffer {"connection_id":129870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57976358012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:00:47] local.INFO: Packet analysis {"connection_id":129870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5797"} 
[2026-07-13 00:00:47] local.INFO: Extracted packet for processing {"connection_id":129870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5797"} 
[2026-07-13 00:00:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673450496001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783880967000,"timestamp_ms":1783880967000,"timestamp_seconds":1783880967,"priority":1,"record_length":96,"hex_timestamp":"0000019f57976358"} 
[2026-07-13 00:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":129870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":129870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":129870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673450496001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673450496001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:00:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:00:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673450496001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":129870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:00:47] local.INFO: GPS data processed {"connection_id":129870,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:00:47] local.INFO: Acknowledgment sent {"connection_id":129870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:00:52] local.INFO: TCP Data received {"connection_id":129870,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57976358012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57976358012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:00:52] local.INFO: Processing buffer {"connection_id":129870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57976358012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:00:52] local.INFO: Packet analysis {"connection_id":129870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5797"} 
[2026-07-13 00:00:52] local.INFO: Extracted packet for processing {"connection_id":129870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5797"} 
[2026-07-13 00:00:52] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673450496001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783880967000,"timestamp_ms":1783880967000,"timestamp_seconds":1783880967,"priority":1,"record_length":96,"hex_timestamp":"0000019f57976358"} 
[2026-07-13 00:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:00:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:00:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:00:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":129870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":129870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":129870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:00:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673450496001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673450496001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:00:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:00:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673450496001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":129870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:00:52] local.INFO: GPS data processed {"connection_id":129870,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:00:52] local.INFO: Acknowledgment sent {"connection_id":129870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:01:36] local.INFO: TCP Data received {"connection_id":130830,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:01:36] local.INFO: Processing buffer {"connection_id":130830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:01:36] local.INFO: IMEI packet received {"connection_id":130830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":130830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:01:41] local.INFO: TCP Data received {"connection_id":130830,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:01:41] local.INFO: Processing buffer {"connection_id":130830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:01:41] local.INFO: IMEI packet received {"connection_id":130830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":130830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:01:42] local.INFO: TCP Data received {"connection_id":130830,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57976358012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57976358012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:01:42] local.INFO: Processing buffer {"connection_id":130830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57976358012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:01:42] local.INFO: Packet analysis {"connection_id":130830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5797"} 
[2026-07-13 00:01:42] local.INFO: Extracted packet for processing {"connection_id":130830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5797"} 
[2026-07-13 00:01:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673450496001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783880967000,"timestamp_ms":1783880967000,"timestamp_seconds":1783880967,"priority":1,"record_length":96,"hex_timestamp":"0000019f57976358"} 
[2026-07-13 00:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673450496001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673450496001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:01:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:01:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673450496001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":130830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:01:42] local.INFO: GPS data processed {"connection_id":130830,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:01:42] local.INFO: Acknowledgment sent {"connection_id":130830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:02:13] local.INFO: TCP Data received {"connection_id":130830,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57976358012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57976358012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:02:13] local.INFO: Processing buffer {"connection_id":130830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57976358012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:02:13] local.INFO: Packet analysis {"connection_id":130830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5797"} 
[2026-07-13 00:02:13] local.INFO: Extracted packet for processing {"connection_id":130830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5797"} 
[2026-07-13 00:02:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673450496001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783880967000,"timestamp_ms":1783880967000,"timestamp_seconds":1783880967,"priority":1,"record_length":96,"hex_timestamp":"0000019f57976358"} 
[2026-07-13 00:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673450496001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673450496001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:02:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:02:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673450496001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":130830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:02:13] local.INFO: GPS data processed {"connection_id":130830,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:02:13] local.INFO: Acknowledgment sent {"connection_id":130830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:02:17] local.INFO: TCP Data received {"connection_id":132154,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132154,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:02:17] local.INFO: Processing buffer {"connection_id":132154,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:02:17] local.INFO: IMEI packet received {"connection_id":132154,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 00:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":132154,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:02:36] local.INFO: TCP Data received {"connection_id":132155,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:02:36] local.INFO: Processing buffer {"connection_id":132155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:02:36] local.INFO: IMEI packet received {"connection_id":132155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":132155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:02:41] local.INFO: TCP Data received {"connection_id":132155,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:02:41] local.INFO: Processing buffer {"connection_id":132155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:02:41] local.INFO: IMEI packet received {"connection_id":132155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":132155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:02:42] local.INFO: TCP Data received {"connection_id":132155,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57976358012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57976358012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:02:42] local.INFO: Processing buffer {"connection_id":132155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57976358012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:02:42] local.INFO: Packet analysis {"connection_id":132155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5797"} 
[2026-07-13 00:02:42] local.INFO: Extracted packet for processing {"connection_id":132155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5797"} 
[2026-07-13 00:02:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673450496001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783880967000,"timestamp_ms":1783880967000,"timestamp_seconds":1783880967,"priority":1,"record_length":96,"hex_timestamp":"0000019f57976358"} 
[2026-07-13 00:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673450496001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673450496001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:02:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:02:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673450496001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":132155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:02:42] local.INFO: GPS data processed {"connection_id":132155,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:02:42] local.INFO: Acknowledgment sent {"connection_id":132155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:02:57] local.INFO: TCP Data received {"connection_id":129871,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:02:57] local.INFO: Processing buffer {"connection_id":129871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:02:57] local.INFO: IMEI packet received {"connection_id":129871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 00:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":129871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:03:13] local.INFO: TCP Data received {"connection_id":132155,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57976358012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57976358012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:03:13] local.INFO: Processing buffer {"connection_id":132155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57976358012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:03:13] local.INFO: Packet analysis {"connection_id":132155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5797"} 
[2026-07-13 00:03:13] local.INFO: Extracted packet for processing {"connection_id":132155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5797"} 
[2026-07-13 00:03:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673450496001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783880967000,"timestamp_ms":1783880967000,"timestamp_seconds":1783880967,"priority":1,"record_length":96,"hex_timestamp":"0000019f57976358"} 
[2026-07-13 00:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673450496001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673450496001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:03:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:03:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673450496001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":132155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:03:13] local.INFO: GPS data processed {"connection_id":132155,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:03:13] local.INFO: Acknowledgment sent {"connection_id":132155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:03:36] local.INFO: TCP Data received {"connection_id":130831,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:03:36] local.INFO: Processing buffer {"connection_id":130831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:03:36] local.INFO: IMEI packet received {"connection_id":130831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":130831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:03:41] local.INFO: TCP Data received {"connection_id":130831,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:03:41] local.INFO: Processing buffer {"connection_id":130831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:03:41] local.INFO: IMEI packet received {"connection_id":130831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":130831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:03:42] local.INFO: TCP Data received {"connection_id":130831,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57976358012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57976358012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:03:42] local.INFO: Processing buffer {"connection_id":130831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57976358012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:03:42] local.INFO: Packet analysis {"connection_id":130831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5797"} 
[2026-07-13 00:03:42] local.INFO: Extracted packet for processing {"connection_id":130831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5797"} 
[2026-07-13 00:03:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673450496001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783880967000,"timestamp_ms":1783880967000,"timestamp_seconds":1783880967,"priority":1,"record_length":96,"hex_timestamp":"0000019f57976358"} 
[2026-07-13 00:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673450496001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673450496001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:03:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:03:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673450496001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":130831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:03:42] local.INFO: GPS data processed {"connection_id":130831,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:03:42] local.INFO: Acknowledgment sent {"connection_id":130831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:04:13] local.INFO: TCP Data received {"connection_id":130831,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57976358012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57976358012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:04:13] local.INFO: Processing buffer {"connection_id":130831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57976358012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:04:13] local.INFO: Packet analysis {"connection_id":130831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5797"} 
[2026-07-13 00:04:13] local.INFO: Extracted packet for processing {"connection_id":130831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5797"} 
[2026-07-13 00:04:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673450496001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783880967000,"timestamp_ms":1783880967000,"timestamp_seconds":1783880967,"priority":1,"record_length":96,"hex_timestamp":"0000019f57976358"} 
[2026-07-13 00:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673450496001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673450496001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:04:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:04:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673450496001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":130831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:04:13] local.INFO: GPS data processed {"connection_id":130831,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:04:13] local.INFO: Acknowledgment sent {"connection_id":130831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:04:36] local.INFO: TCP Data received {"connection_id":130073,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:04:36] local.INFO: Processing buffer {"connection_id":130073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:04:36] local.INFO: IMEI packet received {"connection_id":130073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":130073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:04:41] local.INFO: TCP Data received {"connection_id":130073,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:04:41] local.INFO: Processing buffer {"connection_id":130073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:04:41] local.INFO: IMEI packet received {"connection_id":130073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":130073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:04:42] local.INFO: TCP Data received {"connection_id":130073,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57976358012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57976358012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:04:42] local.INFO: Processing buffer {"connection_id":130073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57976358012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:04:42] local.INFO: Packet analysis {"connection_id":130073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5797"} 
[2026-07-13 00:04:42] local.INFO: Extracted packet for processing {"connection_id":130073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5797"} 
[2026-07-13 00:04:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673450496001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783880967000,"timestamp_ms":1783880967000,"timestamp_seconds":1783880967,"priority":1,"record_length":96,"hex_timestamp":"0000019f57976358"} 
[2026-07-13 00:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673450496001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673450496001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:04:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:04:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673450496001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":130073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:04:42] local.INFO: GPS data processed {"connection_id":130073,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:04:42] local.INFO: Acknowledgment sent {"connection_id":130073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:05:13] local.INFO: TCP Data received {"connection_id":130073,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f579bfb20012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f579bfb20012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:05:13] local.INFO: Processing buffer {"connection_id":130073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f579bfb20012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:05:13] local.INFO: Packet analysis {"connection_id":130073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f579b"} 
[2026-07-13 00:05:13] local.INFO: Extracted packet for processing {"connection_id":130073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f579b"} 
[2026-07-13 00:05:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673527552001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783881268000,"timestamp_ms":1783881268000,"timestamp_seconds":1783881268,"priority":1,"record_length":96,"hex_timestamp":"0000019f579bfb20"} 
[2026-07-13 00:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 00:05:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673527552001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673527552001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:05:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:05:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673527552001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":130073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:05:13] local.INFO: GPS data processed {"connection_id":130073,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:05:13] local.INFO: Acknowledgment sent {"connection_id":130073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:05:41] local.INFO: TCP Data received {"connection_id":130833,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:05:41] local.INFO: Processing buffer {"connection_id":130833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:05:41] local.INFO: IMEI packet received {"connection_id":130833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":130833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:05:46] local.INFO: TCP Data received {"connection_id":130833,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:05:46] local.INFO: Processing buffer {"connection_id":130833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:05:46] local.INFO: IMEI packet received {"connection_id":130833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":130833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:05:47] local.INFO: TCP Data received {"connection_id":130833,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f579bfb20012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f579bfb20012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:05:47] local.INFO: Processing buffer {"connection_id":130833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f579bfb20012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:05:47] local.INFO: Packet analysis {"connection_id":130833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f579b"} 
[2026-07-13 00:05:47] local.INFO: Extracted packet for processing {"connection_id":130833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f579b"} 
[2026-07-13 00:05:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673527552001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783881268000,"timestamp_ms":1783881268000,"timestamp_seconds":1783881268,"priority":1,"record_length":96,"hex_timestamp":"0000019f579bfb20"} 
[2026-07-13 00:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 00:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673527552001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673527552001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:05:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:05:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673527552001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":130833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:05:47] local.INFO: GPS data processed {"connection_id":130833,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:05:47] local.INFO: Acknowledgment sent {"connection_id":130833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:05:51] local.INFO: TCP Data received {"connection_id":130833,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f579bfb20012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f579bfb20012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:05:51] local.INFO: Processing buffer {"connection_id":130833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f579bfb20012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:05:51] local.INFO: Packet analysis {"connection_id":130833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f579b"} 
[2026-07-13 00:05:51] local.INFO: Extracted packet for processing {"connection_id":130833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f579b"} 
[2026-07-13 00:05:51] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673527552001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783881268000,"timestamp_ms":1783881268000,"timestamp_seconds":1783881268,"priority":1,"record_length":96,"hex_timestamp":"0000019f579bfb20"} 
[2026-07-13 00:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":200,"data_length":795,"current_offset":136} 
[2026-07-13 00:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:05: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-07-13 00:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673527552001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673527552001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:05:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:05:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673527552001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":130833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:05:51] local.INFO: GPS data processed {"connection_id":130833,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:05:51] local.INFO: Acknowledgment sent {"connection_id":130833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:06:36] local.INFO: TCP Data received {"connection_id":129872,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:06:36] local.INFO: Processing buffer {"connection_id":129872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:06:36] local.INFO: IMEI packet received {"connection_id":129872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":129872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:06:41] local.INFO: TCP Data received {"connection_id":129872,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:06:41] local.INFO: Processing buffer {"connection_id":129872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:06:41] local.INFO: IMEI packet received {"connection_id":129872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":129872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:06:42] local.INFO: TCP Data received {"connection_id":129872,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f579bfb20012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f579bfb20012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:06:42] local.INFO: Processing buffer {"connection_id":129872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f579bfb20012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:06:42] local.INFO: Packet analysis {"connection_id":129872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f579b"} 
[2026-07-13 00:06:42] local.INFO: Extracted packet for processing {"connection_id":129872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f579b"} 
[2026-07-13 00:06:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673527552001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783881268000,"timestamp_ms":1783881268000,"timestamp_seconds":1783881268,"priority":1,"record_length":96,"hex_timestamp":"0000019f579bfb20"} 
[2026-07-13 00:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 00:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673527552001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673527552001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:06:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:06:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673527552001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":129872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:06:42] local.INFO: GPS data processed {"connection_id":129872,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:06:42] local.INFO: Acknowledgment sent {"connection_id":129872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:07:13] local.INFO: TCP Data received {"connection_id":129872,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f579bfb20012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f579bfb20012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:07:13] local.INFO: Processing buffer {"connection_id":129872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f579bfb20012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:07:13] local.INFO: Packet analysis {"connection_id":129872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f579b"} 
[2026-07-13 00:07:13] local.INFO: Extracted packet for processing {"connection_id":129872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f579b"} 
[2026-07-13 00:07:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673527552001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783881268000,"timestamp_ms":1783881268000,"timestamp_seconds":1783881268,"priority":1,"record_length":96,"hex_timestamp":"0000019f579bfb20"} 
[2026-07-13 00:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 00:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673527552001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673527552001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:07:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:07:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673527552001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":129872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:07:13] local.INFO: GPS data processed {"connection_id":129872,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:07:13] local.INFO: Acknowledgment sent {"connection_id":129872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:07:36] local.INFO: TCP Data received {"connection_id":132157,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:07:36] local.INFO: Processing buffer {"connection_id":132157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:07:36] local.INFO: IMEI packet received {"connection_id":132157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":132157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:07:41] local.INFO: TCP Data received {"connection_id":132157,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:07:41] local.INFO: Processing buffer {"connection_id":132157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:07:41] local.INFO: IMEI packet received {"connection_id":132157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":132157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:07:42] local.INFO: TCP Data received {"connection_id":132157,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f579bfb20012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f579bfb20012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:07:42] local.INFO: Processing buffer {"connection_id":132157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f579bfb20012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:07:42] local.INFO: Packet analysis {"connection_id":132157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f579b"} 
[2026-07-13 00:07:42] local.INFO: Extracted packet for processing {"connection_id":132157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f579b"} 
[2026-07-13 00:07:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673527552001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783881268000,"timestamp_ms":1783881268000,"timestamp_seconds":1783881268,"priority":1,"record_length":96,"hex_timestamp":"0000019f579bfb20"} 
[2026-07-13 00:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 00:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673527552001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673527552001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:07:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:07:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673527552001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":132157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:07:42] local.INFO: GPS data processed {"connection_id":132157,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:07:42] local.INFO: Acknowledgment sent {"connection_id":132157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:08:13] local.INFO: TCP Data received {"connection_id":132157,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f579bfb20012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f579bfb20012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:08:13] local.INFO: Processing buffer {"connection_id":132157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f579bfb20012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:08:13] local.INFO: Packet analysis {"connection_id":132157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f579b"} 
[2026-07-13 00:08:13] local.INFO: Extracted packet for processing {"connection_id":132157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f579b"} 
[2026-07-13 00:08:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673527552001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783881268000,"timestamp_ms":1783881268000,"timestamp_seconds":1783881268,"priority":1,"record_length":96,"hex_timestamp":"0000019f579bfb20"} 
[2026-07-13 00:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 00:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673527552001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673527552001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:08:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:08:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673527552001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":132157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:08:13] local.INFO: GPS data processed {"connection_id":132157,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:08:13] local.INFO: Acknowledgment sent {"connection_id":132157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:08:22] local.INFO: TCP Data received {"connection_id":132158,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132158,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:08:22] local.INFO: Processing buffer {"connection_id":132158,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:08:22] local.INFO: IMEI packet received {"connection_id":132158,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 00:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":132158,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:08:36] local.INFO: TCP Data received {"connection_id":130074,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:08:36] local.INFO: Processing buffer {"connection_id":130074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:08:36] local.INFO: IMEI packet received {"connection_id":130074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":130074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:08:41] local.INFO: TCP Data received {"connection_id":130074,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:08:41] local.INFO: Processing buffer {"connection_id":130074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:08:41] local.INFO: IMEI packet received {"connection_id":130074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":130074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:08:42] local.INFO: TCP Data received {"connection_id":132159,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132159,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:08:42] local.INFO: Processing buffer {"connection_id":132159,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:08:42] local.INFO: IMEI packet received {"connection_id":132159,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 00:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":132159,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:08:43] local.INFO: TCP Data received {"connection_id":130074,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f579bfb20012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f579bfb20012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:08:43] local.INFO: Processing buffer {"connection_id":130074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f579bfb20012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:08:43] local.INFO: Packet analysis {"connection_id":130074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f579b"} 
[2026-07-13 00:08:43] local.INFO: Extracted packet for processing {"connection_id":130074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f579b"} 
[2026-07-13 00:08:43] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673527552001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783881268000,"timestamp_ms":1783881268000,"timestamp_seconds":1783881268,"priority":1,"record_length":96,"hex_timestamp":"0000019f579bfb20"} 
[2026-07-13 00:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:08:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 00:08:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673527552001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673527552001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:08:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:08:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673527552001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":130074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:08:43] local.INFO: GPS data processed {"connection_id":130074,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:08:43] local.INFO: Acknowledgment sent {"connection_id":130074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:09:14] local.INFO: TCP Data received {"connection_id":130074,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f579bfb20012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f579bfb20012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:09:14] local.INFO: Processing buffer {"connection_id":130074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f579bfb20012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:09:14] local.INFO: Packet analysis {"connection_id":130074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f579b"} 
[2026-07-13 00:09:14] local.INFO: Extracted packet for processing {"connection_id":130074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f579b"} 
[2026-07-13 00:09:14] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673527552001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783881268000,"timestamp_ms":1783881268000,"timestamp_seconds":1783881268,"priority":1,"record_length":96,"hex_timestamp":"0000019f579bfb20"} 
[2026-07-13 00:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 00:09:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673527552001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673527552001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:09:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:09:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673527552001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":130074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:09:14] local.INFO: GPS data processed {"connection_id":130074,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:09:14] local.INFO: Acknowledgment sent {"connection_id":130074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:09:36] local.INFO: TCP Data received {"connection_id":130836,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:09:36] local.INFO: Processing buffer {"connection_id":130836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:09:36] local.INFO: IMEI packet received {"connection_id":130836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":130836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:09:41] local.INFO: TCP Data received {"connection_id":130836,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:09:41] local.INFO: Processing buffer {"connection_id":130836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:09:41] local.INFO: IMEI packet received {"connection_id":130836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":130836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:09:44] local.INFO: TCP Data received {"connection_id":130836,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f579bfb20012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f579bfb20012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:09:44] local.INFO: Processing buffer {"connection_id":130836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f579bfb20012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:09:44] local.INFO: Packet analysis {"connection_id":130836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f579b"} 
[2026-07-13 00:09:44] local.INFO: Extracted packet for processing {"connection_id":130836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f579b"} 
[2026-07-13 00:09:44] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673527552001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783881268000,"timestamp_ms":1783881268000,"timestamp_seconds":1783881268,"priority":1,"record_length":96,"hex_timestamp":"0000019f579bfb20"} 
[2026-07-13 00:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 00:09:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:09:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673527552001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673527552001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:09:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:09:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673527552001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":130836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:09:44] local.INFO: GPS data processed {"connection_id":130836,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:09:44] local.INFO: Acknowledgment sent {"connection_id":130836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:10:15] local.INFO: TCP Data received {"connection_id":130836,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57a092e8012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57a092e8012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:10:15] local.INFO: Processing buffer {"connection_id":130836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57a092e8012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:10:15] local.INFO: Packet analysis {"connection_id":130836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57a0"} 
[2026-07-13 00:10:15] local.INFO: Extracted packet for processing {"connection_id":130836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57a0"} 
[2026-07-13 00:10:15] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673604608001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783881569000,"timestamp_ms":1783881569000,"timestamp_seconds":1783881569,"priority":1,"record_length":96,"hex_timestamp":"0000019f57a092e8"} 
[2026-07-13 00:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673604608001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673604608001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:10:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:10:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673604608001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":130836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:10:15] local.INFO: GPS data processed {"connection_id":130836,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:10:15] local.INFO: Acknowledgment sent {"connection_id":130836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:10:36] local.INFO: TCP Data received {"connection_id":130837,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:10:36] local.INFO: Processing buffer {"connection_id":130837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:10:36] local.INFO: IMEI packet received {"connection_id":130837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":130837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:10:41] local.INFO: TCP Data received {"connection_id":130837,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:10:41] local.INFO: Processing buffer {"connection_id":130837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:10:41] local.INFO: IMEI packet received {"connection_id":130837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":130837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:10:42] local.INFO: TCP Data received {"connection_id":130837,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57a092e8012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57a092e8012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:10:42] local.INFO: Processing buffer {"connection_id":130837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57a092e8012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:10:42] local.INFO: Packet analysis {"connection_id":130837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57a0"} 
[2026-07-13 00:10:42] local.INFO: Extracted packet for processing {"connection_id":130837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57a0"} 
[2026-07-13 00:10:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673604608001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783881569000,"timestamp_ms":1783881569000,"timestamp_seconds":1783881569,"priority":1,"record_length":96,"hex_timestamp":"0000019f57a092e8"} 
[2026-07-13 00:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673604608001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673604608001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:10:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:10:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673604608001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":130837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:10:42] local.INFO: GPS data processed {"connection_id":130837,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:10:42] local.INFO: Acknowledgment sent {"connection_id":130837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:11:12] local.INFO: TCP Data received {"connection_id":130837,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57a092e8012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57a092e8012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:11:13] local.INFO: Processing buffer {"connection_id":130837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57a092e8012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:11:13] local.INFO: Packet analysis {"connection_id":130837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57a0"} 
[2026-07-13 00:11:13] local.INFO: Extracted packet for processing {"connection_id":130837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57a0"} 
[2026-07-13 00:11:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673604608001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783881569000,"timestamp_ms":1783881569000,"timestamp_seconds":1783881569,"priority":1,"record_length":96,"hex_timestamp":"0000019f57a092e8"} 
[2026-07-13 00:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673604608001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673604608001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:11:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:11:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673604608001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":130837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:11:13] local.INFO: GPS data processed {"connection_id":130837,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:11:13] local.INFO: Acknowledgment sent {"connection_id":130837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:11:41] local.INFO: TCP Data received {"connection_id":130075,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:11:41] local.INFO: Processing buffer {"connection_id":130075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:11:41] local.INFO: IMEI packet received {"connection_id":130075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":130075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:11:46] local.INFO: TCP Data received {"connection_id":130075,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:11:46] local.INFO: Processing buffer {"connection_id":130075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:11:46] local.INFO: IMEI packet received {"connection_id":130075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":130075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:11:47] local.INFO: TCP Data received {"connection_id":130075,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57a092e8012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57a092e8012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:11:47] local.INFO: Processing buffer {"connection_id":130075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57a092e8012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:11:47] local.INFO: Packet analysis {"connection_id":130075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57a0"} 
[2026-07-13 00:11:47] local.INFO: Extracted packet for processing {"connection_id":130075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57a0"} 
[2026-07-13 00:11:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673604608001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783881569000,"timestamp_ms":1783881569000,"timestamp_seconds":1783881569,"priority":1,"record_length":96,"hex_timestamp":"0000019f57a092e8"} 
[2026-07-13 00:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673604608001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673604608001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:11:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:11:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673604608001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":130075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:11:47] local.INFO: GPS data processed {"connection_id":130075,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:11:47] local.INFO: Acknowledgment sent {"connection_id":130075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:11:51] local.INFO: TCP Data received {"connection_id":130075,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57a092e8012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57a092e8012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:11:51] local.INFO: Processing buffer {"connection_id":130075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57a092e8012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:11:51] local.INFO: Packet analysis {"connection_id":130075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57a0"} 
[2026-07-13 00:11:51] local.INFO: Extracted packet for processing {"connection_id":130075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57a0"} 
[2026-07-13 00:11:51] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673604608001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783881569000,"timestamp_ms":1783881569000,"timestamp_seconds":1783881569,"priority":1,"record_length":96,"hex_timestamp":"0000019f57a092e8"} 
[2026-07-13 00:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:11: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-07-13 00:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:11: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-07-13 00:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673604608001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673604608001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:11:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:11:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673604608001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":130075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:11:51] local.INFO: GPS data processed {"connection_id":130075,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:11:51] local.INFO: Acknowledgment sent {"connection_id":130075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:12:36] local.INFO: TCP Data received {"connection_id":132161,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:12:36] local.INFO: Processing buffer {"connection_id":132161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:12:36] local.INFO: IMEI packet received {"connection_id":132161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":132161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:12:41] local.INFO: TCP Data received {"connection_id":132161,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:12:41] local.INFO: Processing buffer {"connection_id":132161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:12:41] local.INFO: IMEI packet received {"connection_id":132161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":132161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:12:42] local.INFO: TCP Data received {"connection_id":132161,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57a092e8012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57a092e8012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:12:42] local.INFO: Processing buffer {"connection_id":132161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57a092e8012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:12:42] local.INFO: Packet analysis {"connection_id":132161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57a0"} 
[2026-07-13 00:12:42] local.INFO: Extracted packet for processing {"connection_id":132161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57a0"} 
[2026-07-13 00:12:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673604608001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783881569000,"timestamp_ms":1783881569000,"timestamp_seconds":1783881569,"priority":1,"record_length":96,"hex_timestamp":"0000019f57a092e8"} 
[2026-07-13 00:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673604608001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673604608001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:12:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:12:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673604608001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":132161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:12:42] local.INFO: GPS data processed {"connection_id":132161,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:12:42] local.INFO: Acknowledgment sent {"connection_id":132161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:13:13] local.INFO: TCP Data received {"connection_id":132161,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57a092e8012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57a092e8012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:13:13] local.INFO: Processing buffer {"connection_id":132161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57a092e8012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:13:13] local.INFO: Packet analysis {"connection_id":132161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57a0"} 
[2026-07-13 00:13:13] local.INFO: Extracted packet for processing {"connection_id":132161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57a0"} 
[2026-07-13 00:13:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673604608001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783881569000,"timestamp_ms":1783881569000,"timestamp_seconds":1783881569,"priority":1,"record_length":96,"hex_timestamp":"0000019f57a092e8"} 
[2026-07-13 00:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673604608001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673604608001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:13:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:13:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673604608001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":132161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:13:13] local.INFO: GPS data processed {"connection_id":132161,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:13:13] local.INFO: Acknowledgment sent {"connection_id":132161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:13:36] local.INFO: TCP Data received {"connection_id":130076,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:13:36] local.INFO: Processing buffer {"connection_id":130076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:13:36] local.INFO: IMEI packet received {"connection_id":130076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":130076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:13:41] local.INFO: TCP Data received {"connection_id":130076,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:13:41] local.INFO: Processing buffer {"connection_id":130076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:13:41] local.INFO: IMEI packet received {"connection_id":130076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":130076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:13:42] local.INFO: TCP Data received {"connection_id":130076,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57a092e8012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57a092e8012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:13:42] local.INFO: Processing buffer {"connection_id":130076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57a092e8012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:13:42] local.INFO: Packet analysis {"connection_id":130076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57a0"} 
[2026-07-13 00:13:42] local.INFO: Extracted packet for processing {"connection_id":130076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57a0"} 
[2026-07-13 00:13:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673604608001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783881569000,"timestamp_ms":1783881569000,"timestamp_seconds":1783881569,"priority":1,"record_length":96,"hex_timestamp":"0000019f57a092e8"} 
[2026-07-13 00:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673604608001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673604608001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:13:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:13:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673604608001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":130076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:13:42] local.INFO: GPS data processed {"connection_id":130076,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:13:42] local.INFO: Acknowledgment sent {"connection_id":130076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:13:57] local.INFO: TCP Data received {"connection_id":130077,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130077,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:13:57] local.INFO: Processing buffer {"connection_id":130077,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:13:57] local.INFO: IMEI packet received {"connection_id":130077,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 00:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":130077,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:14:13] local.INFO: TCP Data received {"connection_id":130076,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57a092e8012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57a092e8012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:14:13] local.INFO: Processing buffer {"connection_id":130076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57a092e8012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:14:13] local.INFO: Packet analysis {"connection_id":130076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57a0"} 
[2026-07-13 00:14:13] local.INFO: Extracted packet for processing {"connection_id":130076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57a0"} 
[2026-07-13 00:14:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673604608001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783881569000,"timestamp_ms":1783881569000,"timestamp_seconds":1783881569,"priority":1,"record_length":96,"hex_timestamp":"0000019f57a092e8"} 
[2026-07-13 00:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:14:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673604608001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673604608001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:14:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:14:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673604608001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":130076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:14:13] local.INFO: GPS data processed {"connection_id":130076,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:14:13] local.INFO: Acknowledgment sent {"connection_id":130076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:14:36] local.INFO: TCP Data received {"connection_id":130078,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:14:36] local.INFO: Processing buffer {"connection_id":130078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:14:36] local.INFO: IMEI packet received {"connection_id":130078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":130078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:14:41] local.INFO: TCP Data received {"connection_id":130078,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:14:41] local.INFO: Processing buffer {"connection_id":130078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:14:41] local.INFO: IMEI packet received {"connection_id":130078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":130078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:14:42] local.INFO: TCP Data received {"connection_id":132163,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132163,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:14:42] local.INFO: Processing buffer {"connection_id":132163,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:14:42] local.INFO: IMEI packet received {"connection_id":132163,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 00:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":132163,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:14:42] local.INFO: TCP Data received {"connection_id":130078,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57a092e8012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57a092e8012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:14:42] local.INFO: Processing buffer {"connection_id":130078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57a092e8012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:14:42] local.INFO: Packet analysis {"connection_id":130078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57a0"} 
[2026-07-13 00:14:42] local.INFO: Extracted packet for processing {"connection_id":130078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57a0"} 
[2026-07-13 00:14:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673604608001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783881569000,"timestamp_ms":1783881569000,"timestamp_seconds":1783881569,"priority":1,"record_length":96,"hex_timestamp":"0000019f57a092e8"} 
[2026-07-13 00:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673604608001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673604608001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:14:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:14:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673604608001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":130078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:14:42] local.INFO: GPS data processed {"connection_id":130078,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:14:42] local.INFO: Acknowledgment sent {"connection_id":130078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:15:13] local.INFO: TCP Data received {"connection_id":130078,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57a52ab0012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57a52ab0012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:15:13] local.INFO: Processing buffer {"connection_id":130078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57a52ab0012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:15:13] local.INFO: Packet analysis {"connection_id":130078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57a5"} 
[2026-07-13 00:15:13] local.INFO: Extracted packet for processing {"connection_id":130078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57a5"} 
[2026-07-13 00:15:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673681664001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783881870000,"timestamp_ms":1783881870000,"timestamp_seconds":1783881870,"priority":1,"record_length":96,"hex_timestamp":"0000019f57a52ab0"} 
[2026-07-13 00:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:15:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673681664001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673681664001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:15:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:15:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673681664001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":130078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:15:13] local.INFO: GPS data processed {"connection_id":130078,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:15:13] local.INFO: Acknowledgment sent {"connection_id":130078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:15:36] local.INFO: TCP Data received {"connection_id":132164,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:15:36] local.INFO: Processing buffer {"connection_id":132164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:15:36] local.INFO: IMEI packet received {"connection_id":132164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":132164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:15:41] local.INFO: TCP Data received {"connection_id":132164,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:15:41] local.INFO: Processing buffer {"connection_id":132164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:15:41] local.INFO: IMEI packet received {"connection_id":132164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":132164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:15:42] local.INFO: TCP Data received {"connection_id":132164,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57a52ab0012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57a52ab0012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:15:42] local.INFO: Processing buffer {"connection_id":132164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57a52ab0012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:15:42] local.INFO: Packet analysis {"connection_id":132164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57a5"} 
[2026-07-13 00:15:42] local.INFO: Extracted packet for processing {"connection_id":132164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57a5"} 
[2026-07-13 00:15:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673681664001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783881870000,"timestamp_ms":1783881870000,"timestamp_seconds":1783881870,"priority":1,"record_length":96,"hex_timestamp":"0000019f57a52ab0"} 
[2026-07-13 00:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673681664001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673681664001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:15:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:15:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673681664001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":132164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:15:42] local.INFO: GPS data processed {"connection_id":132164,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:15:42] local.INFO: Acknowledgment sent {"connection_id":132164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:16:13] local.INFO: TCP Data received {"connection_id":132164,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57a52ab0012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57a52ab0012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:16:13] local.INFO: Processing buffer {"connection_id":132164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57a52ab0012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:16:13] local.INFO: Packet analysis {"connection_id":132164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57a5"} 
[2026-07-13 00:16:13] local.INFO: Extracted packet for processing {"connection_id":132164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57a5"} 
[2026-07-13 00:16:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673681664001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783881870000,"timestamp_ms":1783881870000,"timestamp_seconds":1783881870,"priority":1,"record_length":96,"hex_timestamp":"0000019f57a52ab0"} 
[2026-07-13 00:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:16:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673681664001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673681664001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:16:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:16:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673681664001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":132164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:16:13] local.INFO: GPS data processed {"connection_id":132164,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:16:13] local.INFO: Acknowledgment sent {"connection_id":132164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:16:41] local.INFO: TCP Data received {"connection_id":130079,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:16:41] local.INFO: Processing buffer {"connection_id":130079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:16:41] local.INFO: IMEI packet received {"connection_id":130079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":130079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:16:46] local.INFO: TCP Data received {"connection_id":130079,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:16:46] local.INFO: Processing buffer {"connection_id":130079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:16:46] local.INFO: IMEI packet received {"connection_id":130079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":130079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:16:47] local.INFO: TCP Data received {"connection_id":130079,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57a52ab0012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57a52ab0012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:16:47] local.INFO: Processing buffer {"connection_id":130079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57a52ab0012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:16:47] local.INFO: Packet analysis {"connection_id":130079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57a5"} 
[2026-07-13 00:16:47] local.INFO: Extracted packet for processing {"connection_id":130079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57a5"} 
[2026-07-13 00:16:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673681664001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783881870000,"timestamp_ms":1783881870000,"timestamp_seconds":1783881870,"priority":1,"record_length":96,"hex_timestamp":"0000019f57a52ab0"} 
[2026-07-13 00:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673681664001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673681664001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:16:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:16:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673681664001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":130079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:16:47] local.INFO: GPS data processed {"connection_id":130079,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:16:47] local.INFO: Acknowledgment sent {"connection_id":130079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:16:53] local.INFO: TCP Data received {"connection_id":130079,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57a52ab0012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57a52ab0012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:16:53] local.INFO: Processing buffer {"connection_id":130079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57a52ab0012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:16:53] local.INFO: Packet analysis {"connection_id":130079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57a5"} 
[2026-07-13 00:16:53] local.INFO: Extracted packet for processing {"connection_id":130079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57a5"} 
[2026-07-13 00:16:53] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673681664001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783881870000,"timestamp_ms":1783881870000,"timestamp_seconds":1783881870,"priority":1,"record_length":96,"hex_timestamp":"0000019f57a52ab0"} 
[2026-07-13 00:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":130079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":130079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":130079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:16: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-07-13 00:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673681664001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673681664001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:16:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:16:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673681664001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":130079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:16:53] local.INFO: GPS data processed {"connection_id":130079,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:16:53] local.INFO: Acknowledgment sent {"connection_id":130079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:17:36] local.INFO: TCP Data received {"connection_id":129876,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:17:36] local.INFO: Processing buffer {"connection_id":129876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:17:36] local.INFO: IMEI packet received {"connection_id":129876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":129876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:17:41] local.INFO: TCP Data received {"connection_id":129876,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:17:41] local.INFO: Processing buffer {"connection_id":129876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:17:41] local.INFO: IMEI packet received {"connection_id":129876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":129876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:17:42] local.INFO: TCP Data received {"connection_id":129876,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57a52ab0012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57a52ab0012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:17:42] local.INFO: Processing buffer {"connection_id":129876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57a52ab0012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:17:42] local.INFO: Packet analysis {"connection_id":129876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57a5"} 
[2026-07-13 00:17:42] local.INFO: Extracted packet for processing {"connection_id":129876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57a5"} 
[2026-07-13 00:17:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673681664001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783881870000,"timestamp_ms":1783881870000,"timestamp_seconds":1783881870,"priority":1,"record_length":96,"hex_timestamp":"0000019f57a52ab0"} 
[2026-07-13 00:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673681664001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673681664001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:17:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673681664001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":129876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:17:42] local.INFO: GPS data processed {"connection_id":129876,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:17:42] local.INFO: Acknowledgment sent {"connection_id":129876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:18:12] local.INFO: TCP Data received {"connection_id":129876,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57a52ab0012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57a52ab0012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:18:12] local.INFO: Processing buffer {"connection_id":129876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57a52ab0012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:18:12] local.INFO: Packet analysis {"connection_id":129876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57a5"} 
[2026-07-13 00:18:12] local.INFO: Extracted packet for processing {"connection_id":129876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57a5"} 
[2026-07-13 00:18:12] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673681664001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783881870000,"timestamp_ms":1783881870000,"timestamp_seconds":1783881870,"priority":1,"record_length":96,"hex_timestamp":"0000019f57a52ab0"} 
[2026-07-13 00:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":129876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":129876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":129876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673681664001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673681664001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:18:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:18:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673681664001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":129876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:18:13] local.INFO: GPS data processed {"connection_id":129876,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:18:13] local.INFO: Acknowledgment sent {"connection_id":129876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:18:36] local.INFO: TCP Data received {"connection_id":130840,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:18:36] local.INFO: Processing buffer {"connection_id":130840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:18:36] local.INFO: IMEI packet received {"connection_id":130840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":130840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:18:41] local.INFO: TCP Data received {"connection_id":130840,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:18:41] local.INFO: Processing buffer {"connection_id":130840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:18:41] local.INFO: IMEI packet received {"connection_id":130840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":130840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:18:42] local.INFO: TCP Data received {"connection_id":130840,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57a52ab0012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57a52ab0012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:18:42] local.INFO: Processing buffer {"connection_id":130840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57a52ab0012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:18:42] local.INFO: Packet analysis {"connection_id":130840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57a5"} 
[2026-07-13 00:18:42] local.INFO: Extracted packet for processing {"connection_id":130840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57a5"} 
[2026-07-13 00:18:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673681664001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783881870000,"timestamp_ms":1783881870000,"timestamp_seconds":1783881870,"priority":1,"record_length":96,"hex_timestamp":"0000019f57a52ab0"} 
[2026-07-13 00:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673681664001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673681664001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:18:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:18:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673681664001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":130840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:18:42] local.INFO: GPS data processed {"connection_id":130840,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:18:42] local.INFO: Acknowledgment sent {"connection_id":130840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:19:13] local.INFO: TCP Data received {"connection_id":130840,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57a52ab0012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57a52ab0012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:19:13] local.INFO: Processing buffer {"connection_id":130840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57a52ab0012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:19:13] local.INFO: Packet analysis {"connection_id":130840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57a5"} 
[2026-07-13 00:19:13] local.INFO: Extracted packet for processing {"connection_id":130840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57a5"} 
[2026-07-13 00:19:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673681664001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783881870000,"timestamp_ms":1783881870000,"timestamp_seconds":1783881870,"priority":1,"record_length":96,"hex_timestamp":"0000019f57a52ab0"} 
[2026-07-13 00:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673681664001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673681664001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:19:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:19:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673681664001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":130840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:19:13] local.INFO: GPS data processed {"connection_id":130840,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:19:13] local.INFO: Acknowledgment sent {"connection_id":130840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:19:36] local.INFO: TCP Data received {"connection_id":132165,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:19:36] local.INFO: Processing buffer {"connection_id":132165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:19:36] local.INFO: IMEI packet received {"connection_id":132165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":132165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:19:41] local.INFO: TCP Data received {"connection_id":132165,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:19:41] local.INFO: Processing buffer {"connection_id":132165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:19:41] local.INFO: IMEI packet received {"connection_id":132165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":132165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:19:42] local.INFO: TCP Data received {"connection_id":132165,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57a52ab0012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57a52ab0012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:19:42] local.INFO: Processing buffer {"connection_id":132165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57a52ab0012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:19:42] local.INFO: Packet analysis {"connection_id":132165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57a5"} 
[2026-07-13 00:19:42] local.INFO: Extracted packet for processing {"connection_id":132165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57a5"} 
[2026-07-13 00:19:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673681664001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783881870000,"timestamp_ms":1783881870000,"timestamp_seconds":1783881870,"priority":1,"record_length":96,"hex_timestamp":"0000019f57a52ab0"} 
[2026-07-13 00:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673681664001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673681664001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:19:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:19:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673681664001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":132165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:19:42] local.INFO: GPS data processed {"connection_id":132165,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:19:42] local.INFO: Acknowledgment sent {"connection_id":132165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:20:11] local.INFO: TCP Data received {"connection_id":129877,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129877,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:20:12] local.INFO: Processing buffer {"connection_id":129877,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:20:12] local.INFO: IMEI packet received {"connection_id":129877,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 00:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":129877,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:20:16] local.INFO: TCP Data received {"connection_id":132165,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57a9c278012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57a9c278012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:20:16] local.INFO: Processing buffer {"connection_id":132165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57a9c278012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:20:16] local.INFO: Packet analysis {"connection_id":132165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57a9"} 
[2026-07-13 00:20:16] local.INFO: Extracted packet for processing {"connection_id":132165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57a9"} 
[2026-07-13 00:20:16] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00: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-07-13 00:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673758720001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783882171000,"timestamp_ms":1783882171000,"timestamp_seconds":1783882171,"priority":1,"record_length":96,"hex_timestamp":"0000019f57a9c278"} 
[2026-07-13 00:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00: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-07-13 00:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:20: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-07-13 00:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673758720001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673758720001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:20:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:20:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673758720001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":132165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:20:16] local.INFO: GPS data processed {"connection_id":132165,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:20:16] local.INFO: Acknowledgment sent {"connection_id":132165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:20:36] local.INFO: TCP Data received {"connection_id":129878,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:20:36] local.INFO: Processing buffer {"connection_id":129878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:20:36] local.INFO: IMEI packet received {"connection_id":129878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":129878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:20:41] local.INFO: TCP Data received {"connection_id":130081,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:20:41] local.INFO: Processing buffer {"connection_id":130081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:20:41] local.INFO: IMEI packet received {"connection_id":130081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 00:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":130081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:20:41] local.INFO: TCP Data received {"connection_id":129878,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:20:41] local.INFO: Processing buffer {"connection_id":129878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:20:41] local.INFO: IMEI packet received {"connection_id":129878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":129878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:20:42] local.INFO: TCP Data received {"connection_id":129878,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57a9c278012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57a9c278012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:20:42] local.INFO: Processing buffer {"connection_id":129878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57a9c278012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:20:42] local.INFO: Packet analysis {"connection_id":129878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57a9"} 
[2026-07-13 00:20:42] local.INFO: Extracted packet for processing {"connection_id":129878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57a9"} 
[2026-07-13 00:20:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673758720001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783882171000,"timestamp_ms":1783882171000,"timestamp_seconds":1783882171,"priority":1,"record_length":96,"hex_timestamp":"0000019f57a9c278"} 
[2026-07-13 00:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673758720001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673758720001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:20:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:20:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673758720001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":129878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:20:42] local.INFO: GPS data processed {"connection_id":129878,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:20:42] local.INFO: Acknowledgment sent {"connection_id":129878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:21:13] local.INFO: TCP Data received {"connection_id":129878,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57a9c278012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57a9c278012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:21:13] local.INFO: Processing buffer {"connection_id":129878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57a9c278012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:21:13] local.INFO: Packet analysis {"connection_id":129878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57a9"} 
[2026-07-13 00:21:13] local.INFO: Extracted packet for processing {"connection_id":129878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57a9"} 
[2026-07-13 00:21:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673758720001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783882171000,"timestamp_ms":1783882171000,"timestamp_seconds":1783882171,"priority":1,"record_length":96,"hex_timestamp":"0000019f57a9c278"} 
[2026-07-13 00:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:21:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673758720001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673758720001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:21:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:21:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673758720001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":129878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:21:13] local.INFO: GPS data processed {"connection_id":129878,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:21:13] local.INFO: Acknowledgment sent {"connection_id":129878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:21:41] local.INFO: TCP Data received {"connection_id":130842,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:21:41] local.INFO: Processing buffer {"connection_id":130842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:21:41] local.INFO: IMEI packet received {"connection_id":130842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":130842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:21:46] local.INFO: TCP Data received {"connection_id":130842,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:21:46] local.INFO: Processing buffer {"connection_id":130842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:21:46] local.INFO: IMEI packet received {"connection_id":130842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":130842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:21:47] local.INFO: TCP Data received {"connection_id":130842,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57a9c278012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57a9c278012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:21:47] local.INFO: Processing buffer {"connection_id":130842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57a9c278012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:21:47] local.INFO: Packet analysis {"connection_id":130842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57a9"} 
[2026-07-13 00:21:47] local.INFO: Extracted packet for processing {"connection_id":130842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57a9"} 
[2026-07-13 00:21:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673758720001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783882171000,"timestamp_ms":1783882171000,"timestamp_seconds":1783882171,"priority":1,"record_length":96,"hex_timestamp":"0000019f57a9c278"} 
[2026-07-13 00:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673758720001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673758720001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:21:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:21:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673758720001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":130842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:21:47] local.INFO: GPS data processed {"connection_id":130842,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:21:47] local.INFO: Acknowledgment sent {"connection_id":130842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:21:51] local.INFO: TCP Data received {"connection_id":130842,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57a9c278012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57a9c278012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:21:51] local.INFO: Processing buffer {"connection_id":130842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57a9c278012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:21:51] local.INFO: Packet analysis {"connection_id":130842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57a9"} 
[2026-07-13 00:21:51] local.INFO: Extracted packet for processing {"connection_id":130842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57a9"} 
[2026-07-13 00:21:51] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00: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-07-13 00:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673758720001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783882171000,"timestamp_ms":1783882171000,"timestamp_seconds":1783882171,"priority":1,"record_length":96,"hex_timestamp":"0000019f57a9c278"} 
[2026-07-13 00:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:21: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-07-13 00: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-07-13 00:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:21: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-07-13 00:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673758720001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673758720001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:21:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:21:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673758720001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":130842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:21:51] local.INFO: GPS data processed {"connection_id":130842,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:21:51] local.INFO: Acknowledgment sent {"connection_id":130842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:22:36] local.INFO: TCP Data received {"connection_id":129879,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:22:36] local.INFO: Processing buffer {"connection_id":129879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:22:36] local.INFO: IMEI packet received {"connection_id":129879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":129879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:22:41] local.INFO: TCP Data received {"connection_id":129879,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:22:41] local.INFO: Processing buffer {"connection_id":129879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:22:41] local.INFO: IMEI packet received {"connection_id":129879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":129879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:22:42] local.INFO: TCP Data received {"connection_id":129879,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57a9c278012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57a9c278012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:22:42] local.INFO: Processing buffer {"connection_id":129879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57a9c278012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:22:42] local.INFO: Packet analysis {"connection_id":129879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57a9"} 
[2026-07-13 00:22:42] local.INFO: Extracted packet for processing {"connection_id":129879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57a9"} 
[2026-07-13 00:22:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673758720001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783882171000,"timestamp_ms":1783882171000,"timestamp_seconds":1783882171,"priority":1,"record_length":96,"hex_timestamp":"0000019f57a9c278"} 
[2026-07-13 00:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673758720001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673758720001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:22:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:22:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673758720001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":129879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:22:42] local.INFO: GPS data processed {"connection_id":129879,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:22:42] local.INFO: Acknowledgment sent {"connection_id":129879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:23:13] local.INFO: TCP Data received {"connection_id":129879,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57a9c278012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57a9c278012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:23:13] local.INFO: Processing buffer {"connection_id":129879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57a9c278012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:23:13] local.INFO: Packet analysis {"connection_id":129879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57a9"} 
[2026-07-13 00:23:13] local.INFO: Extracted packet for processing {"connection_id":129879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57a9"} 
[2026-07-13 00:23:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673758720001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783882171000,"timestamp_ms":1783882171000,"timestamp_seconds":1783882171,"priority":1,"record_length":96,"hex_timestamp":"0000019f57a9c278"} 
[2026-07-13 00:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673758720001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673758720001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:23:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:23:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673758720001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":129879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:23:13] local.INFO: GPS data processed {"connection_id":129879,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:23:13] local.INFO: Acknowledgment sent {"connection_id":129879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:23:36] local.INFO: TCP Data received {"connection_id":130082,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:23:36] local.INFO: Processing buffer {"connection_id":130082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:23:36] local.INFO: IMEI packet received {"connection_id":130082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":130082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:23:41] local.INFO: TCP Data received {"connection_id":130082,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:23:41] local.INFO: Processing buffer {"connection_id":130082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:23:41] local.INFO: IMEI packet received {"connection_id":130082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":130082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:23:42] local.INFO: TCP Data received {"connection_id":130082,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57a9c278012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57a9c278012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:23:42] local.INFO: Processing buffer {"connection_id":130082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57a9c278012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:23:42] local.INFO: Packet analysis {"connection_id":130082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57a9"} 
[2026-07-13 00:23:42] local.INFO: Extracted packet for processing {"connection_id":130082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57a9"} 
[2026-07-13 00:23:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673758720001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783882171000,"timestamp_ms":1783882171000,"timestamp_seconds":1783882171,"priority":1,"record_length":96,"hex_timestamp":"0000019f57a9c278"} 
[2026-07-13 00:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673758720001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673758720001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:23:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:23:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673758720001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":130082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:23:42] local.INFO: GPS data processed {"connection_id":130082,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:23:42] local.INFO: Acknowledgment sent {"connection_id":130082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:24:13] local.INFO: TCP Data received {"connection_id":130082,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57a9c278012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57a9c278012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:24:13] local.INFO: Processing buffer {"connection_id":130082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57a9c278012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:24:13] local.INFO: Packet analysis {"connection_id":130082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57a9"} 
[2026-07-13 00:24:13] local.INFO: Extracted packet for processing {"connection_id":130082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57a9"} 
[2026-07-13 00:24:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673758720001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783882171000,"timestamp_ms":1783882171000,"timestamp_seconds":1783882171,"priority":1,"record_length":96,"hex_timestamp":"0000019f57a9c278"} 
[2026-07-13 00:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673758720001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673758720001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:24:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:24:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673758720001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":130082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:24:13] local.INFO: GPS data processed {"connection_id":130082,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:24:13] local.INFO: Acknowledgment sent {"connection_id":130082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:24:36] local.INFO: TCP Data received {"connection_id":130843,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:24:36] local.INFO: Processing buffer {"connection_id":130843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:24:36] local.INFO: IMEI packet received {"connection_id":130843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":130843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:24:42] local.INFO: TCP Data received {"connection_id":130843,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:24:42] local.INFO: Processing buffer {"connection_id":130843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:24:42] local.INFO: IMEI packet received {"connection_id":130843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":130843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:24:43] local.INFO: TCP Data received {"connection_id":130843,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57a9c278012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57a9c278012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:24:43] local.INFO: Processing buffer {"connection_id":130843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57a9c278012d7f8fc005afdd900000013820..."} 
[2026-07-13 00:24:43] local.INFO: Packet analysis {"connection_id":130843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57a9"} 
[2026-07-13 00:24:43] local.INFO: Extracted packet for processing {"connection_id":130843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57a9"} 
[2026-07-13 00:24:43] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673758720001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783882171000,"timestamp_ms":1783882171000,"timestamp_seconds":1783882171,"priority":1,"record_length":96,"hex_timestamp":"0000019f57a9c278"} 
[2026-07-13 00:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673758720001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673758720001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:24:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:24:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673758720001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":130843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:24:43] local.INFO: GPS data processed {"connection_id":130843,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:24:43] local.INFO: Acknowledgment sent {"connection_id":130843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:25:14] local.INFO: TCP Data received {"connection_id":130843,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57ae5a40012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57ae5a40012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:25:14] local.INFO: Processing buffer {"connection_id":130843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57ae5a40012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:25:14] local.INFO: Packet analysis {"connection_id":130843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ae"} 
[2026-07-13 00:25:14] local.INFO: Extracted packet for processing {"connection_id":130843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ae"} 
[2026-07-13 00:25:14] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673835776001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783882472000,"timestamp_ms":1783882472000,"timestamp_seconds":1783882472,"priority":1,"record_length":96,"hex_timestamp":"0000019f57ae5a40"} 
[2026-07-13 00:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:25:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673835776001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673835776001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:25:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:25:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673835776001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":130843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:25:14] local.INFO: GPS data processed {"connection_id":130843,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:25:14] local.INFO: Acknowledgment sent {"connection_id":130843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:25:41] local.INFO: TCP Data received {"connection_id":130844,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:25:41] local.INFO: Processing buffer {"connection_id":130844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:25:41] local.INFO: IMEI packet received {"connection_id":130844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":130844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:25:46] local.INFO: TCP Data received {"connection_id":130844,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:25:46] local.INFO: Processing buffer {"connection_id":130844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:25:46] local.INFO: IMEI packet received {"connection_id":130844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":130844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:25:47] local.INFO: TCP Data received {"connection_id":130844,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57ae5a40012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57ae5a40012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:25:47] local.INFO: Processing buffer {"connection_id":130844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57ae5a40012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:25:47] local.INFO: Packet analysis {"connection_id":130844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ae"} 
[2026-07-13 00:25:47] local.INFO: Extracted packet for processing {"connection_id":130844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ae"} 
[2026-07-13 00:25:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00: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-07-13 00:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673835776001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783882472000,"timestamp_ms":1783882472000,"timestamp_seconds":1783882472,"priority":1,"record_length":96,"hex_timestamp":"0000019f57ae5a40"} 
[2026-07-13 00:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00: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-07-13 00:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00: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-07-13 00:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673835776001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673835776001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:25:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:25:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673835776001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":130844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:25:47] local.INFO: GPS data processed {"connection_id":130844,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:25:47] local.INFO: Acknowledgment sent {"connection_id":130844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:26:01] local.INFO: TCP Data received {"connection_id":130083,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:26:01] local.INFO: Processing buffer {"connection_id":130083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:26:01] local.INFO: IMEI packet received {"connection_id":130083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 00:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":130083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:26:18] local.INFO: TCP Data received {"connection_id":130844,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57ae5a40012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57ae5a40012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:26:18] local.INFO: Processing buffer {"connection_id":130844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57ae5a40012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:26:18] local.INFO: Packet analysis {"connection_id":130844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ae"} 
[2026-07-13 00:26:18] local.INFO: Extracted packet for processing {"connection_id":130844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ae"} 
[2026-07-13 00:26:18] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00: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-07-13 00:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673835776001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783882472000,"timestamp_ms":1783882472000,"timestamp_seconds":1783882472,"priority":1,"record_length":96,"hex_timestamp":"0000019f57ae5a40"} 
[2026-07-13 00:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00: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-07-13 00:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:26: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-07-13 00:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673835776001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673835776001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:26:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:26:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673835776001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":130844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:26:18] local.INFO: GPS data processed {"connection_id":130844,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:26:18] local.INFO: Acknowledgment sent {"connection_id":130844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:26:36] local.INFO: TCP Data received {"connection_id":129880,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:26:36] local.INFO: Processing buffer {"connection_id":129880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:26:36] local.INFO: IMEI packet received {"connection_id":129880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":129880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:26:41] local.INFO: TCP Data received {"connection_id":132171,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132171,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:26:41] local.INFO: Processing buffer {"connection_id":132171,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:26:41] local.INFO: IMEI packet received {"connection_id":132171,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 00:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":132171,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:26:41] local.INFO: TCP Data received {"connection_id":129880,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:26:41] local.INFO: Processing buffer {"connection_id":129880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:26:41] local.INFO: IMEI packet received {"connection_id":129880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":129880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:26:43] local.INFO: TCP Data received {"connection_id":129880,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57ae5a40012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57ae5a40012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:26:43] local.INFO: Processing buffer {"connection_id":129880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57ae5a40012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:26:43] local.INFO: Packet analysis {"connection_id":129880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ae"} 
[2026-07-13 00:26:43] local.INFO: Extracted packet for processing {"connection_id":129880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ae"} 
[2026-07-13 00:26:43] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673835776001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783882472000,"timestamp_ms":1783882472000,"timestamp_seconds":1783882472,"priority":1,"record_length":96,"hex_timestamp":"0000019f57ae5a40"} 
[2026-07-13 00:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":129880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":129880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":129880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673835776001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673835776001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:26:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:26:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673835776001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":129880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:26:43] local.INFO: GPS data processed {"connection_id":129880,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:26:43] local.INFO: Acknowledgment sent {"connection_id":129880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:27:14] local.INFO: TCP Data received {"connection_id":129880,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57ae5a40012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57ae5a40012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:27:14] local.INFO: Processing buffer {"connection_id":129880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57ae5a40012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:27:14] local.INFO: Packet analysis {"connection_id":129880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ae"} 
[2026-07-13 00:27:14] local.INFO: Extracted packet for processing {"connection_id":129880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ae"} 
[2026-07-13 00:27:14] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673835776001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783882472000,"timestamp_ms":1783882472000,"timestamp_seconds":1783882472,"priority":1,"record_length":96,"hex_timestamp":"0000019f57ae5a40"} 
[2026-07-13 00:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:27:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:27:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":129880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":129880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":129880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673835776001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673835776001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:27:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:27:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673835776001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":129880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:27:14] local.INFO: GPS data processed {"connection_id":129880,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:27:14] local.INFO: Acknowledgment sent {"connection_id":129880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:27:36] local.INFO: TCP Data received {"connection_id":132172,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:27:36] local.INFO: Processing buffer {"connection_id":132172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:27:36] local.INFO: IMEI packet received {"connection_id":132172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":132172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:27:41] local.INFO: TCP Data received {"connection_id":132172,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:27:41] local.INFO: Processing buffer {"connection_id":132172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:27:41] local.INFO: IMEI packet received {"connection_id":132172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":132172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:27:42] local.INFO: TCP Data received {"connection_id":132172,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57ae5a40012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57ae5a40012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:27:42] local.INFO: Processing buffer {"connection_id":132172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57ae5a40012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:27:42] local.INFO: Packet analysis {"connection_id":132172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ae"} 
[2026-07-13 00:27:42] local.INFO: Extracted packet for processing {"connection_id":132172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ae"} 
[2026-07-13 00:27:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673835776001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783882472000,"timestamp_ms":1783882472000,"timestamp_seconds":1783882472,"priority":1,"record_length":96,"hex_timestamp":"0000019f57ae5a40"} 
[2026-07-13 00:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673835776001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673835776001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:27:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:27:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673835776001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":132172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:27:42] local.INFO: GPS data processed {"connection_id":132172,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:27:42] local.INFO: Acknowledgment sent {"connection_id":132172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:28:12] local.INFO: TCP Data received {"connection_id":132172,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57ae5a40012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57ae5a40012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:28:12] local.INFO: Processing buffer {"connection_id":132172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57ae5a40012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:28:12] local.INFO: Packet analysis {"connection_id":132172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ae"} 
[2026-07-13 00:28:12] local.INFO: Extracted packet for processing {"connection_id":132172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ae"} 
[2026-07-13 00:28:12] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673835776001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783882472000,"timestamp_ms":1783882472000,"timestamp_seconds":1783882472,"priority":1,"record_length":96,"hex_timestamp":"0000019f57ae5a40"} 
[2026-07-13 00:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673835776001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673835776001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:28:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:28:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673835776001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":132172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:28:12] local.INFO: GPS data processed {"connection_id":132172,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:28:12] local.INFO: Acknowledgment sent {"connection_id":132172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:28:36] local.INFO: TCP Data received {"connection_id":130845,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:28:36] local.INFO: Processing buffer {"connection_id":130845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:28:36] local.INFO: IMEI packet received {"connection_id":130845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":130845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:28:41] local.INFO: TCP Data received {"connection_id":130845,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:28:41] local.INFO: Processing buffer {"connection_id":130845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:28:41] local.INFO: IMEI packet received {"connection_id":130845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":130845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:28:42] local.INFO: TCP Data received {"connection_id":130845,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57ae5a40012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57ae5a40012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:28:42] local.INFO: Processing buffer {"connection_id":130845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57ae5a40012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:28:42] local.INFO: Packet analysis {"connection_id":130845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ae"} 
[2026-07-13 00:28:42] local.INFO: Extracted packet for processing {"connection_id":130845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ae"} 
[2026-07-13 00:28:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673835776001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783882472000,"timestamp_ms":1783882472000,"timestamp_seconds":1783882472,"priority":1,"record_length":96,"hex_timestamp":"0000019f57ae5a40"} 
[2026-07-13 00:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673835776001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673835776001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:28:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:28:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673835776001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":130845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:28:42] local.INFO: GPS data processed {"connection_id":130845,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:28:42] local.INFO: Acknowledgment sent {"connection_id":130845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:29:13] local.INFO: TCP Data received {"connection_id":130845,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57ae5a40012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57ae5a40012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:29:13] local.INFO: Processing buffer {"connection_id":130845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57ae5a40012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:29:13] local.INFO: Packet analysis {"connection_id":130845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ae"} 
[2026-07-13 00:29:13] local.INFO: Extracted packet for processing {"connection_id":130845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ae"} 
[2026-07-13 00:29:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673835776001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783882472000,"timestamp_ms":1783882472000,"timestamp_seconds":1783882472,"priority":1,"record_length":96,"hex_timestamp":"0000019f57ae5a40"} 
[2026-07-13 00:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673835776001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673835776001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:29:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:29:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673835776001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":130845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:29:13] local.INFO: GPS data processed {"connection_id":130845,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:29:13] local.INFO: Acknowledgment sent {"connection_id":130845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:29:36] local.INFO: TCP Data received {"connection_id":130084,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:29:36] local.INFO: Processing buffer {"connection_id":130084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:29:36] local.INFO: IMEI packet received {"connection_id":130084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":130084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:29:41] local.INFO: TCP Data received {"connection_id":130084,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:29:41] local.INFO: Processing buffer {"connection_id":130084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:29:41] local.INFO: IMEI packet received {"connection_id":130084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":130084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:29:42] local.INFO: TCP Data received {"connection_id":130084,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f57ae5a40012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57ae5a40012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:29:42] local.INFO: Processing buffer {"connection_id":130084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57ae5a40012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:29:42] local.INFO: Packet analysis {"connection_id":130084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ae"} 
[2026-07-13 00:29:42] local.INFO: Extracted packet for processing {"connection_id":130084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ae"} 
[2026-07-13 00:29:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673835776001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783882472000,"timestamp_ms":1783882472000,"timestamp_seconds":1783882472,"priority":1,"record_length":96,"hex_timestamp":"0000019f57ae5a40"} 
[2026-07-13 00:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 00:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673835776001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673835776001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:29:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:29:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673835776001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":130084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:29:42] local.INFO: GPS data processed {"connection_id":130084,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:29:42] local.INFO: Acknowledgment sent {"connection_id":130084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:30:13] local.INFO: TCP Data received {"connection_id":130084,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f57b2f208012d7f8fc005afdd900000013827..."} 
[2026-07-13 00:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57b2f208012d7f8fc005afdd900000013827..."} 
[2026-07-13 00:30:13] local.INFO: Processing buffer {"connection_id":130084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57b2f208012d7f8fc005afdd900000013827..."} 
[2026-07-13 00:30:13] local.INFO: Packet analysis {"connection_id":130084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57b2"} 
[2026-07-13 00:30:13] local.INFO: Extracted packet for processing {"connection_id":130084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57b2"} 
[2026-07-13 00:30:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":39,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673912832001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783882773000,"timestamp_ms":1783882773000,"timestamp_seconds":1783882773,"priority":1,"record_length":96,"hex_timestamp":"0000019f57b2f208"} 
[2026-07-13 00:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673912832001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673912832001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:30:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:30:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673912832001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":130084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:30:13] local.INFO: GPS data processed {"connection_id":130084,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:30:13] local.INFO: Acknowledgment sent {"connection_id":130084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:30:41] local.INFO: TCP Data received {"connection_id":129883,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:30:41] local.INFO: Processing buffer {"connection_id":129883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:30:41] local.INFO: IMEI packet received {"connection_id":129883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":129883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:30:46] local.INFO: TCP Data received {"connection_id":129883,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:30:46] local.INFO: Processing buffer {"connection_id":129883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:30:46] local.INFO: IMEI packet received {"connection_id":129883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":129883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:30:47] local.INFO: TCP Data received {"connection_id":129883,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57b2f208012d7f8fc005afdd900000013827..."} 
[2026-07-13 00:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57b2f208012d7f8fc005afdd900000013827..."} 
[2026-07-13 00:30:47] local.INFO: Processing buffer {"connection_id":129883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57b2f208012d7f8fc005afdd900000013827..."} 
[2026-07-13 00:30:47] local.INFO: Packet analysis {"connection_id":129883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57b2"} 
[2026-07-13 00:30:47] local.INFO: Extracted packet for processing {"connection_id":129883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57b2"} 
[2026-07-13 00:30:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":39,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673912832001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783882773000,"timestamp_ms":1783882773000,"timestamp_seconds":1783882773,"priority":1,"record_length":96,"hex_timestamp":"0000019f57b2f208"} 
[2026-07-13 00:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:30:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:30:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:30:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":129883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":129883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":129883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673912832001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673912832001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:30:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:30:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673912832001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":129883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:30:47] local.INFO: GPS data processed {"connection_id":129883,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:30:47] local.INFO: Acknowledgment sent {"connection_id":129883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:31:18] local.INFO: TCP Data received {"connection_id":129883,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57b2f208012d7f8fc005afdd900000013827..."} 
[2026-07-13 00:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57b2f208012d7f8fc005afdd900000013827..."} 
[2026-07-13 00:31:18] local.INFO: Processing buffer {"connection_id":129883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57b2f208012d7f8fc005afdd900000013827..."} 
[2026-07-13 00:31:18] local.INFO: Packet analysis {"connection_id":129883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57b2"} 
[2026-07-13 00:31:18] local.INFO: Extracted packet for processing {"connection_id":129883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57b2"} 
[2026-07-13 00:31:18] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":39,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00: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-07-13 00:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673912832001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783882773000,"timestamp_ms":1783882773000,"timestamp_seconds":1783882773,"priority":1,"record_length":96,"hex_timestamp":"0000019f57b2f208"} 
[2026-07-13 00:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:31: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-07-13 00: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-07-13 00:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":129883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":129883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":129883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:31: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-07-13 00:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673912832001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673912832001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:31:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:31:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673912832001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":129883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:31:18] local.INFO: GPS data processed {"connection_id":129883,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:31:18] local.INFO: Acknowledgment sent {"connection_id":129883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:31:36] local.INFO: TCP Data received {"connection_id":132174,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:31:36] local.INFO: Processing buffer {"connection_id":132174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:31:36] local.INFO: IMEI packet received {"connection_id":132174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":132174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:31:41] local.INFO: TCP Data received {"connection_id":132174,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:31:41] local.INFO: Processing buffer {"connection_id":132174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:31:41] local.INFO: IMEI packet received {"connection_id":132174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":132174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:31:42] local.INFO: TCP Data received {"connection_id":132174,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57b2f208012d7f8fc005afdd900000013827..."} 
[2026-07-13 00:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57b2f208012d7f8fc005afdd900000013827..."} 
[2026-07-13 00:31:42] local.INFO: Processing buffer {"connection_id":132174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57b2f208012d7f8fc005afdd900000013827..."} 
[2026-07-13 00:31:42] local.INFO: Packet analysis {"connection_id":132174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57b2"} 
[2026-07-13 00:31:42] local.INFO: Extracted packet for processing {"connection_id":132174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57b2"} 
[2026-07-13 00:31:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":39,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673912832001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783882773000,"timestamp_ms":1783882773000,"timestamp_seconds":1783882773,"priority":1,"record_length":96,"hex_timestamp":"0000019f57b2f208"} 
[2026-07-13 00:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673912832001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673912832001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:31:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:31:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673912832001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":132174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:31:42] local.INFO: GPS data processed {"connection_id":132174,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:31:42] local.INFO: Acknowledgment sent {"connection_id":132174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:31:56] local.INFO: TCP Data received {"connection_id":130085,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130085,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:31:56] local.INFO: Processing buffer {"connection_id":130085,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:31:56] local.INFO: IMEI packet received {"connection_id":130085,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 00:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":130085,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:32:13] local.INFO: TCP Data received {"connection_id":132174,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57b2f208012d7f8fc005afdd900000013827..."} 
[2026-07-13 00:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57b2f208012d7f8fc005afdd900000013827..."} 
[2026-07-13 00:32:13] local.INFO: Processing buffer {"connection_id":132174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57b2f208012d7f8fc005afdd900000013827..."} 
[2026-07-13 00:32:13] local.INFO: Packet analysis {"connection_id":132174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57b2"} 
[2026-07-13 00:32:13] local.INFO: Extracted packet for processing {"connection_id":132174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57b2"} 
[2026-07-13 00:32:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":39,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673912832001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783882773000,"timestamp_ms":1783882773000,"timestamp_seconds":1783882773,"priority":1,"record_length":96,"hex_timestamp":"0000019f57b2f208"} 
[2026-07-13 00:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673912832001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673912832001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:32:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:32:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673912832001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":132174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:32:13] local.INFO: GPS data processed {"connection_id":132174,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:32:13] local.INFO: Acknowledgment sent {"connection_id":132174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:32:41] local.INFO: TCP Data received {"connection_id":132176,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132176,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:32:41] local.INFO: Processing buffer {"connection_id":132176,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:32:41] local.INFO: IMEI packet received {"connection_id":132176,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 00:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":132176,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:32:41] local.INFO: TCP Data received {"connection_id":132175,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:32:41] local.INFO: Processing buffer {"connection_id":132175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:32:41] local.INFO: IMEI packet received {"connection_id":132175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":132175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:32:46] local.INFO: TCP Data received {"connection_id":132175,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:32:46] local.INFO: Processing buffer {"connection_id":132175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:32:46] local.INFO: IMEI packet received {"connection_id":132175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":132175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:32:47] local.INFO: TCP Data received {"connection_id":132175,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57b2f208012d7f8fc005afdd900000013827..."} 
[2026-07-13 00:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57b2f208012d7f8fc005afdd900000013827..."} 
[2026-07-13 00:32:47] local.INFO: Processing buffer {"connection_id":132175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57b2f208012d7f8fc005afdd900000013827..."} 
[2026-07-13 00:32:47] local.INFO: Packet analysis {"connection_id":132175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57b2"} 
[2026-07-13 00:32:47] local.INFO: Extracted packet for processing {"connection_id":132175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57b2"} 
[2026-07-13 00:32:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":39,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673912832001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783882773000,"timestamp_ms":1783882773000,"timestamp_seconds":1783882773,"priority":1,"record_length":96,"hex_timestamp":"0000019f57b2f208"} 
[2026-07-13 00:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673912832001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673912832001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:32:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:32:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673912832001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":132175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:32:48] local.INFO: GPS data processed {"connection_id":132175,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:32:48] local.INFO: Acknowledgment sent {"connection_id":132175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:33:19] local.INFO: TCP Data received {"connection_id":132175,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57b2f208012d7f8fc005afdd900000013827..."} 
[2026-07-13 00:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57b2f208012d7f8fc005afdd900000013827..."} 
[2026-07-13 00:33:19] local.INFO: Processing buffer {"connection_id":132175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57b2f208012d7f8fc005afdd900000013827..."} 
[2026-07-13 00:33:19] local.INFO: Packet analysis {"connection_id":132175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57b2"} 
[2026-07-13 00:33:19] local.INFO: Extracted packet for processing {"connection_id":132175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57b2"} 
[2026-07-13 00:33:19] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":39,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00: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-07-13 00:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673912832001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783882773000,"timestamp_ms":1783882773000,"timestamp_seconds":1783882773,"priority":1,"record_length":96,"hex_timestamp":"0000019f57b2f208"} 
[2026-07-13 00:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:33: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-07-13 00: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-07-13 00:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":132175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":132175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":132175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:33: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-07-13 00:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673912832001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673912832001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:33:19] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:33:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673912832001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":132175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:33:19] local.INFO: GPS data processed {"connection_id":132175,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:33:19] local.INFO: Acknowledgment sent {"connection_id":132175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:33:36] local.INFO: TCP Data received {"connection_id":130086,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:33:36] local.INFO: Processing buffer {"connection_id":130086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:33:36] local.INFO: IMEI packet received {"connection_id":130086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":130086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:33:41] local.INFO: TCP Data received {"connection_id":130086,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:33:41] local.INFO: Processing buffer {"connection_id":130086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:33:41] local.INFO: IMEI packet received {"connection_id":130086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":130086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:33:42] local.INFO: TCP Data received {"connection_id":130086,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57b2f208012d7f8fc005afdd900000013827..."} 
[2026-07-13 00:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57b2f208012d7f8fc005afdd900000013827..."} 
[2026-07-13 00:33:42] local.INFO: Processing buffer {"connection_id":130086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57b2f208012d7f8fc005afdd900000013827..."} 
[2026-07-13 00:33:42] local.INFO: Packet analysis {"connection_id":130086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57b2"} 
[2026-07-13 00:33:42] local.INFO: Extracted packet for processing {"connection_id":130086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57b2"} 
[2026-07-13 00:33:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":39,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673912832001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783882773000,"timestamp_ms":1783882773000,"timestamp_seconds":1783882773,"priority":1,"record_length":96,"hex_timestamp":"0000019f57b2f208"} 
[2026-07-13 00:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673912832001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673912832001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:33:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:33:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673912832001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":130086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:33:42] local.INFO: GPS data processed {"connection_id":130086,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:33:42] local.INFO: Acknowledgment sent {"connection_id":130086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:34:15] local.INFO: TCP Data received {"connection_id":130086,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57b2f208012d7f8fc005afdd900000013827..."} 
[2026-07-13 00:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57b2f208012d7f8fc005afdd900000013827..."} 
[2026-07-13 00:34:15] local.INFO: Processing buffer {"connection_id":130086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57b2f208012d7f8fc005afdd900000013827..."} 
[2026-07-13 00:34:15] local.INFO: Packet analysis {"connection_id":130086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57b2"} 
[2026-07-13 00:34:15] local.INFO: Extracted packet for processing {"connection_id":130086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57b2"} 
[2026-07-13 00:34:15] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":39,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673912832001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783882773000,"timestamp_ms":1783882773000,"timestamp_seconds":1783882773,"priority":1,"record_length":96,"hex_timestamp":"0000019f57b2f208"} 
[2026-07-13 00:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:34:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673912832001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673912832001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:34:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:34:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673912832001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":130086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:34:15] local.INFO: GPS data processed {"connection_id":130086,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:34:15] local.INFO: Acknowledgment sent {"connection_id":130086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:34:36] local.INFO: TCP Data received {"connection_id":130847,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:34:36] local.INFO: Processing buffer {"connection_id":130847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:34:36] local.INFO: IMEI packet received {"connection_id":130847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":130847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:34:41] local.INFO: TCP Data received {"connection_id":130847,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:34:41] local.INFO: Processing buffer {"connection_id":130847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:34:41] local.INFO: IMEI packet received {"connection_id":130847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":130847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:34:42] local.INFO: TCP Data received {"connection_id":130847,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57b2f208012d7f8fc005afdd900000013827..."} 
[2026-07-13 00:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57b2f208012d7f8fc005afdd900000013827..."} 
[2026-07-13 00:34:42] local.INFO: Processing buffer {"connection_id":130847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57b2f208012d7f8fc005afdd900000013827..."} 
[2026-07-13 00:34:42] local.INFO: Packet analysis {"connection_id":130847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57b2"} 
[2026-07-13 00:34:42] local.INFO: Extracted packet for processing {"connection_id":130847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57b2"} 
[2026-07-13 00:34:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":39,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673912832001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783882773000,"timestamp_ms":1783882773000,"timestamp_seconds":1783882773,"priority":1,"record_length":96,"hex_timestamp":"0000019f57b2f208"} 
[2026-07-13 00:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673912832001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673912832001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:34:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:34:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673912832001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":130847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:34:42] local.INFO: GPS data processed {"connection_id":130847,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:34:42] local.INFO: Acknowledgment sent {"connection_id":130847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:35:13] local.INFO: TCP Data received {"connection_id":130847,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:35:13] local.INFO: Processing buffer {"connection_id":130847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:35:13] local.INFO: Packet analysis {"connection_id":130847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57b7"} 
[2026-07-13 00:35:13] local.INFO: Extracted packet for processing {"connection_id":130847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57b7"} 
[2026-07-13 00:35:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":37,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673989888001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783883074000,"timestamp_ms":1783883074000,"timestamp_seconds":1783883074,"priority":1,"record_length":96,"hex_timestamp":"0000019f57b789d0"} 
[2026-07-13 00:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673989888001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673989888001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:35:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:35:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673989888001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":130847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:35:13] local.INFO: GPS data processed {"connection_id":130847,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:35:13] local.INFO: Acknowledgment sent {"connection_id":130847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:35:41] local.INFO: TCP Data received {"connection_id":130848,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:35:41] local.INFO: Processing buffer {"connection_id":130848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:35:41] local.INFO: IMEI packet received {"connection_id":130848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":130848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:35:46] local.INFO: TCP Data received {"connection_id":130848,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:35:46] local.INFO: Processing buffer {"connection_id":130848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:35:46] local.INFO: IMEI packet received {"connection_id":130848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":130848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:35:47] local.INFO: TCP Data received {"connection_id":130848,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:35:47] local.INFO: Processing buffer {"connection_id":130848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:35:47] local.INFO: Packet analysis {"connection_id":130848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57b7"} 
[2026-07-13 00:35:47] local.INFO: Extracted packet for processing {"connection_id":130848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57b7"} 
[2026-07-13 00:35:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":37,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00: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-07-13 00:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673989888001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783883074000,"timestamp_ms":1783883074000,"timestamp_seconds":1783883074,"priority":1,"record_length":96,"hex_timestamp":"0000019f57b789d0"} 
[2026-07-13 00:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:35:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00: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-07-13 00:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673989888001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673989888001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:35:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:35:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673989888001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":130848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:35:47] local.INFO: GPS data processed {"connection_id":130848,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:35:47] local.INFO: Acknowledgment sent {"connection_id":130848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:35:52] local.INFO: TCP Data received {"connection_id":130848,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:35:52] local.INFO: Processing buffer {"connection_id":130848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:35:52] local.INFO: Packet analysis {"connection_id":130848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57b7"} 
[2026-07-13 00:35:52] local.INFO: Extracted packet for processing {"connection_id":130848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57b7"} 
[2026-07-13 00:35:52] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":37,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673989888001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783883074000,"timestamp_ms":1783883074000,"timestamp_seconds":1783883074,"priority":1,"record_length":96,"hex_timestamp":"0000019f57b789d0"} 
[2026-07-13 00:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":130848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":130848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":130848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673989888001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673989888001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:35:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:35:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673989888001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":130848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:35:52] local.INFO: GPS data processed {"connection_id":130848,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:35:52] local.INFO: Acknowledgment sent {"connection_id":130848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:36:36] local.INFO: TCP Data received {"connection_id":132178,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:36:36] local.INFO: Processing buffer {"connection_id":132178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:36:36] local.INFO: IMEI packet received {"connection_id":132178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":132178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:36:41] local.INFO: TCP Data received {"connection_id":132178,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:36:41] local.INFO: Processing buffer {"connection_id":132178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:36:41] local.INFO: IMEI packet received {"connection_id":132178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":132178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:36:42] local.INFO: TCP Data received {"connection_id":132178,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:36:42] local.INFO: Processing buffer {"connection_id":132178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:36:42] local.INFO: Packet analysis {"connection_id":132178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57b7"} 
[2026-07-13 00:36:42] local.INFO: Extracted packet for processing {"connection_id":132178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57b7"} 
[2026-07-13 00:36:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":37,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673989888001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783883074000,"timestamp_ms":1783883074000,"timestamp_seconds":1783883074,"priority":1,"record_length":96,"hex_timestamp":"0000019f57b789d0"} 
[2026-07-13 00:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673989888001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673989888001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:36:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:36:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673989888001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":132178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:36:42] local.INFO: GPS data processed {"connection_id":132178,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:36:42] local.INFO: Acknowledgment sent {"connection_id":132178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:37:13] local.INFO: TCP Data received {"connection_id":132178,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:37:13] local.INFO: Processing buffer {"connection_id":132178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:37:13] local.INFO: Packet analysis {"connection_id":132178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57b7"} 
[2026-07-13 00:37:13] local.INFO: Extracted packet for processing {"connection_id":132178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57b7"} 
[2026-07-13 00:37:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":37,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673989888001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783883074000,"timestamp_ms":1783883074000,"timestamp_seconds":1783883074,"priority":1,"record_length":96,"hex_timestamp":"0000019f57b789d0"} 
[2026-07-13 00:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673989888001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673989888001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:37:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:37:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673989888001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":132178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:37:13] local.INFO: GPS data processed {"connection_id":132178,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:37:13] local.INFO: Acknowledgment sent {"connection_id":132178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:37:36] local.INFO: TCP Data received {"connection_id":130849,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:37:36] local.INFO: Processing buffer {"connection_id":130849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:37:36] local.INFO: IMEI packet received {"connection_id":130849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":130849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:37:41] local.INFO: TCP Data received {"connection_id":130849,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:37:41] local.INFO: Processing buffer {"connection_id":130849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:37:41] local.INFO: IMEI packet received {"connection_id":130849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":130849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:37:42] local.INFO: TCP Data received {"connection_id":130849,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:37:42] local.INFO: Processing buffer {"connection_id":130849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:37:42] local.INFO: Packet analysis {"connection_id":130849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57b7"} 
[2026-07-13 00:37:42] local.INFO: Extracted packet for processing {"connection_id":130849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57b7"} 
[2026-07-13 00:37:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":37,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673989888001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783883074000,"timestamp_ms":1783883074000,"timestamp_seconds":1783883074,"priority":1,"record_length":96,"hex_timestamp":"0000019f57b789d0"} 
[2026-07-13 00:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673989888001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673989888001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:37:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:37:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673989888001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":130849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:37:42] local.INFO: GPS data processed {"connection_id":130849,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:37:42] local.INFO: Acknowledgment sent {"connection_id":130849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:37:56] local.INFO: TCP Data received {"connection_id":130089,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130089,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:37:56] local.INFO: Processing buffer {"connection_id":130089,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:37:56] local.INFO: IMEI packet received {"connection_id":130089,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 00:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":130089,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:38:13] local.INFO: TCP Data received {"connection_id":130849,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:38:13] local.INFO: Processing buffer {"connection_id":130849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:38:13] local.INFO: Packet analysis {"connection_id":130849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57b7"} 
[2026-07-13 00:38:13] local.INFO: Extracted packet for processing {"connection_id":130849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57b7"} 
[2026-07-13 00:38:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":37,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673989888001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783883074000,"timestamp_ms":1783883074000,"timestamp_seconds":1783883074,"priority":1,"record_length":96,"hex_timestamp":"0000019f57b789d0"} 
[2026-07-13 00:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673989888001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673989888001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:38:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:38:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673989888001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":130849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:38:13] local.INFO: GPS data processed {"connection_id":130849,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:38:13] local.INFO: Acknowledgment sent {"connection_id":130849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:38:36] local.INFO: TCP Data received {"connection_id":129885,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:38:36] local.INFO: Processing buffer {"connection_id":129885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:38:36] local.INFO: IMEI packet received {"connection_id":129885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":129885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:38:41] local.INFO: TCP Data received {"connection_id":130850,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:38:41] local.INFO: Processing buffer {"connection_id":130850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:38:41] local.INFO: IMEI packet received {"connection_id":130850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 00:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":130850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:38:41] local.INFO: TCP Data received {"connection_id":129885,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:38:41] local.INFO: Processing buffer {"connection_id":129885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:38:41] local.INFO: IMEI packet received {"connection_id":129885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":129885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:38:42] local.INFO: TCP Data received {"connection_id":129885,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:38:42] local.INFO: Processing buffer {"connection_id":129885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:38:42] local.INFO: Packet analysis {"connection_id":129885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57b7"} 
[2026-07-13 00:38:42] local.INFO: Extracted packet for processing {"connection_id":129885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57b7"} 
[2026-07-13 00:38:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":37,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673989888001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783883074000,"timestamp_ms":1783883074000,"timestamp_seconds":1783883074,"priority":1,"record_length":96,"hex_timestamp":"0000019f57b789d0"} 
[2026-07-13 00:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673989888001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673989888001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:38:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:38:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673989888001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":129885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:38:42] local.INFO: GPS data processed {"connection_id":129885,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:38:42] local.INFO: Acknowledgment sent {"connection_id":129885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:39:14] local.INFO: TCP Data received {"connection_id":129885,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:39:14] local.INFO: Processing buffer {"connection_id":129885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:39:14] local.INFO: Packet analysis {"connection_id":129885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57b7"} 
[2026-07-13 00:39:14] local.INFO: Extracted packet for processing {"connection_id":129885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57b7"} 
[2026-07-13 00:39:14] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":37,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673989888001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783883074000,"timestamp_ms":1783883074000,"timestamp_seconds":1783883074,"priority":1,"record_length":96,"hex_timestamp":"0000019f57b789d0"} 
[2026-07-13 00:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:39:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:39:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":129885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":129885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":129885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673989888001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673989888001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:39:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:39:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673989888001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":129885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:39:14] local.INFO: GPS data processed {"connection_id":129885,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:39:14] local.INFO: Acknowledgment sent {"connection_id":129885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:39:36] local.INFO: TCP Data received {"connection_id":130090,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:39:36] local.INFO: Processing buffer {"connection_id":130090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:39:36] local.INFO: IMEI packet received {"connection_id":130090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":130090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:39:41] local.INFO: TCP Data received {"connection_id":130090,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:39:41] local.INFO: Processing buffer {"connection_id":130090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:39:41] local.INFO: IMEI packet received {"connection_id":130090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":130090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:39:42] local.INFO: TCP Data received {"connection_id":130090,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:39:42] local.INFO: Processing buffer {"connection_id":130090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:39:42] local.INFO: Packet analysis {"connection_id":130090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57b7"} 
[2026-07-13 00:39:42] local.INFO: Extracted packet for processing {"connection_id":130090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57b7"} 
[2026-07-13 00:39:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":37,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673989888001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783883074000,"timestamp_ms":1783883074000,"timestamp_seconds":1783883074,"priority":1,"record_length":96,"hex_timestamp":"0000019f57b789d0"} 
[2026-07-13 00:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673989888001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673989888001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:39:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:39:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673989888001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":130090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:39:42] local.INFO: GPS data processed {"connection_id":130090,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:39:42] local.INFO: Acknowledgment sent {"connection_id":130090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:40:13] local.INFO: TCP Data received {"connection_id":130090,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:40:13] local.INFO: Processing buffer {"connection_id":130090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57b789d0012d7f8fc005afdd900000013825..."} 
[2026-07-13 00:40:13] local.INFO: Packet analysis {"connection_id":130090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57b7"} 
[2026-07-13 00:40:13] local.INFO: Extracted packet for processing {"connection_id":130090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57b7"} 
[2026-07-13 00:40:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":37,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456673989888001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783883074000,"timestamp_ms":1783883074000,"timestamp_seconds":1783883074,"priority":1,"record_length":96,"hex_timestamp":"0000019f57b789d0"} 
[2026-07-13 00:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:40:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:40:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456673989888001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456673989888001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:40:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:40:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456673989888001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":130090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:40:13] local.INFO: GPS data processed {"connection_id":130090,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:40:13] local.INFO: Acknowledgment sent {"connection_id":130090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:40:41] local.INFO: TCP Data received {"connection_id":132180,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:40:41] local.INFO: Processing buffer {"connection_id":132180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:40:41] local.INFO: IMEI packet received {"connection_id":132180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":132180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:40:46] local.INFO: TCP Data received {"connection_id":132180,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:40:46] local.INFO: Processing buffer {"connection_id":132180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:40:46] local.INFO: IMEI packet received {"connection_id":132180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":132180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:40:47] local.INFO: TCP Data received {"connection_id":132180,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:40:47] local.INFO: Processing buffer {"connection_id":132180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:40:47] local.INFO: Packet analysis {"connection_id":132180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57bc"} 
[2026-07-13 00:40:47] local.INFO: Extracted packet for processing {"connection_id":132180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57bc"} 
[2026-07-13 00:40:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674066944001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783883375000,"timestamp_ms":1783883375000,"timestamp_seconds":1783883375,"priority":1,"record_length":96,"hex_timestamp":"0000019f57bc2198"} 
[2026-07-13 00:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674066944001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674066944001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:40:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:40:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674066944001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":132180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:40:47] local.INFO: GPS data processed {"connection_id":132180,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:40:47] local.INFO: Acknowledgment sent {"connection_id":132180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:41:18] local.INFO: TCP Data received {"connection_id":132180,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:41:18] local.INFO: Processing buffer {"connection_id":132180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:41:18] local.INFO: Packet analysis {"connection_id":132180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57bc"} 
[2026-07-13 00:41:18] local.INFO: Extracted packet for processing {"connection_id":132180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57bc"} 
[2026-07-13 00:41:18] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00: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-07-13 00:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674066944001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783883375000,"timestamp_ms":1783883375000,"timestamp_seconds":1783883375,"priority":1,"record_length":96,"hex_timestamp":"0000019f57bc2198"} 
[2026-07-13 00:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:41:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:41: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-07-13 00: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-07-13 00:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:41: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-07-13 00:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674066944001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674066944001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:41:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:41:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674066944001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":132180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:41:18] local.INFO: GPS data processed {"connection_id":132180,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:41:18] local.INFO: Acknowledgment sent {"connection_id":132180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:41:36] local.INFO: TCP Data received {"connection_id":130853,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:41:36] local.INFO: Processing buffer {"connection_id":130853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:41:36] local.INFO: IMEI packet received {"connection_id":130853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":130853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:41:41] local.INFO: TCP Data received {"connection_id":130853,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:41:41] local.INFO: Processing buffer {"connection_id":130853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:41:41] local.INFO: IMEI packet received {"connection_id":130853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":130853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:41:42] local.INFO: TCP Data received {"connection_id":130853,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:41:42] local.INFO: Processing buffer {"connection_id":130853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:41:42] local.INFO: Packet analysis {"connection_id":130853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57bc"} 
[2026-07-13 00:41:42] local.INFO: Extracted packet for processing {"connection_id":130853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57bc"} 
[2026-07-13 00:41:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674066944001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783883375000,"timestamp_ms":1783883375000,"timestamp_seconds":1783883375,"priority":1,"record_length":96,"hex_timestamp":"0000019f57bc2198"} 
[2026-07-13 00:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674066944001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674066944001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:41:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:41:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674066944001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":130853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:41:42] local.INFO: GPS data processed {"connection_id":130853,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:41:42] local.INFO: Acknowledgment sent {"connection_id":130853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:41:47] local.INFO: TCP Data received {"connection_id":130853,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:41:47] local.INFO: Processing buffer {"connection_id":130853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:41:47] local.INFO: Packet analysis {"connection_id":130853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57bc"} 
[2026-07-13 00:41:47] local.INFO: Extracted packet for processing {"connection_id":130853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57bc"} 
[2026-07-13 00:41:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674066944001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783883375000,"timestamp_ms":1783883375000,"timestamp_seconds":1783883375,"priority":1,"record_length":96,"hex_timestamp":"0000019f57bc2198"} 
[2026-07-13 00:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674066944001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674066944001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:41:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:41:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674066944001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":130853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:41:47] local.INFO: GPS data processed {"connection_id":130853,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:41:47] local.INFO: Acknowledgment sent {"connection_id":130853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:42:18] local.INFO: TCP Data received {"connection_id":130853,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:42:18] local.INFO: Processing buffer {"connection_id":130853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:42:18] local.INFO: Packet analysis {"connection_id":130853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57bc"} 
[2026-07-13 00:42:18] local.INFO: Extracted packet for processing {"connection_id":130853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57bc"} 
[2026-07-13 00:42:18] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00: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-07-13 00:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674066944001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783883375000,"timestamp_ms":1783883375000,"timestamp_seconds":1783883375,"priority":1,"record_length":96,"hex_timestamp":"0000019f57bc2198"} 
[2026-07-13 00:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:42: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-07-13 00: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-07-13 00:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:42: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-07-13 00:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674066944001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674066944001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:42:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:42:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674066944001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":130853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:42:18] local.INFO: GPS data processed {"connection_id":130853,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:42:18] local.INFO: Acknowledgment sent {"connection_id":130853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:42:36] local.INFO: TCP Data received {"connection_id":132181,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:42:36] local.INFO: Processing buffer {"connection_id":132181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:42:36] local.INFO: IMEI packet received {"connection_id":132181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":132181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:42:41] local.INFO: TCP Data received {"connection_id":132181,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:42:41] local.INFO: Processing buffer {"connection_id":132181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:42:41] local.INFO: IMEI packet received {"connection_id":132181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":132181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:42:42] local.INFO: TCP Data received {"connection_id":132181,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:42:42] local.INFO: Processing buffer {"connection_id":132181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:42:42] local.INFO: Packet analysis {"connection_id":132181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57bc"} 
[2026-07-13 00:42:42] local.INFO: Extracted packet for processing {"connection_id":132181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57bc"} 
[2026-07-13 00:42:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674066944001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783883375000,"timestamp_ms":1783883375000,"timestamp_seconds":1783883375,"priority":1,"record_length":96,"hex_timestamp":"0000019f57bc2198"} 
[2026-07-13 00:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674066944001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674066944001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:42:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:42:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674066944001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":132181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:42:42] local.INFO: GPS data processed {"connection_id":132181,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:42:42] local.INFO: Acknowledgment sent {"connection_id":132181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:43:13] local.INFO: TCP Data received {"connection_id":132181,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:43:13] local.INFO: Processing buffer {"connection_id":132181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:43:13] local.INFO: Packet analysis {"connection_id":132181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57bc"} 
[2026-07-13 00:43:13] local.INFO: Extracted packet for processing {"connection_id":132181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57bc"} 
[2026-07-13 00:43:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674066944001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783883375000,"timestamp_ms":1783883375000,"timestamp_seconds":1783883375,"priority":1,"record_length":96,"hex_timestamp":"0000019f57bc2198"} 
[2026-07-13 00:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674066944001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674066944001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:43:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:43:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674066944001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":132181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:43:13] local.INFO: GPS data processed {"connection_id":132181,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:43:13] local.INFO: Acknowledgment sent {"connection_id":132181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:43:36] local.INFO: TCP Data received {"connection_id":132182,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:43:36] local.INFO: Processing buffer {"connection_id":132182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:43:36] local.INFO: IMEI packet received {"connection_id":132182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":132182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:43:41] local.INFO: TCP Data received {"connection_id":132182,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:43:41] local.INFO: Processing buffer {"connection_id":132182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:43:41] local.INFO: IMEI packet received {"connection_id":132182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":132182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:43:42] local.INFO: TCP Data received {"connection_id":132182,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:43:42] local.INFO: Processing buffer {"connection_id":132182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:43:42] local.INFO: Packet analysis {"connection_id":132182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57bc"} 
[2026-07-13 00:43:42] local.INFO: Extracted packet for processing {"connection_id":132182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57bc"} 
[2026-07-13 00:43:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674066944001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783883375000,"timestamp_ms":1783883375000,"timestamp_seconds":1783883375,"priority":1,"record_length":96,"hex_timestamp":"0000019f57bc2198"} 
[2026-07-13 00:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674066944001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674066944001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:43:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:43:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674066944001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":132182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:43:42] local.INFO: GPS data processed {"connection_id":132182,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:43:42] local.INFO: Acknowledgment sent {"connection_id":132182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:43:56] local.INFO: TCP Data received {"connection_id":132183,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132183,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:43:56] local.INFO: Processing buffer {"connection_id":132183,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:43:56] local.INFO: IMEI packet received {"connection_id":132183,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 00:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":132183,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:44:13] local.INFO: TCP Data received {"connection_id":132182,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:44:13] local.INFO: Processing buffer {"connection_id":132182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:44:13] local.INFO: Packet analysis {"connection_id":132182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57bc"} 
[2026-07-13 00:44:13] local.INFO: Extracted packet for processing {"connection_id":132182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57bc"} 
[2026-07-13 00:44:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674066944001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783883375000,"timestamp_ms":1783883375000,"timestamp_seconds":1783883375,"priority":1,"record_length":96,"hex_timestamp":"0000019f57bc2198"} 
[2026-07-13 00:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674066944001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674066944001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:44:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:44:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674066944001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":132182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:44:13] local.INFO: GPS data processed {"connection_id":132182,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:44:13] local.INFO: Acknowledgment sent {"connection_id":132182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:44:36] local.INFO: TCP Data received {"connection_id":129888,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:44:36] local.INFO: Processing buffer {"connection_id":129888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:44:36] local.INFO: IMEI packet received {"connection_id":129888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":129888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:44:41] local.INFO: TCP Data received {"connection_id":132184,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132184,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:44:41] local.INFO: Processing buffer {"connection_id":132184,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:44:41] local.INFO: IMEI packet received {"connection_id":132184,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 00:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":132184,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:44:41] local.INFO: TCP Data received {"connection_id":129888,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:44:41] local.INFO: Processing buffer {"connection_id":129888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:44:41] local.INFO: IMEI packet received {"connection_id":129888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":129888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:44:42] local.INFO: TCP Data received {"connection_id":129888,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:44:42] local.INFO: Processing buffer {"connection_id":129888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:44:42] local.INFO: Packet analysis {"connection_id":129888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57bc"} 
[2026-07-13 00:44:42] local.INFO: Extracted packet for processing {"connection_id":129888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57bc"} 
[2026-07-13 00:44:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674066944001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783883375000,"timestamp_ms":1783883375000,"timestamp_seconds":1783883375,"priority":1,"record_length":96,"hex_timestamp":"0000019f57bc2198"} 
[2026-07-13 00:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674066944001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674066944001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:44:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:44:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674066944001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":129888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:44:42] local.INFO: GPS data processed {"connection_id":129888,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:44:42] local.INFO: Acknowledgment sent {"connection_id":129888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:45:13] local.INFO: TCP Data received {"connection_id":129888,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:45:13] local.INFO: Processing buffer {"connection_id":129888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57bc2198012d7f8fc005afdd900000013821..."} 
[2026-07-13 00:45:13] local.INFO: Packet analysis {"connection_id":129888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57bc"} 
[2026-07-13 00:45:13] local.INFO: Extracted packet for processing {"connection_id":129888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57bc"} 
[2026-07-13 00:45:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674066944001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783883375000,"timestamp_ms":1783883375000,"timestamp_seconds":1783883375,"priority":1,"record_length":96,"hex_timestamp":"0000019f57bc2198"} 
[2026-07-13 00:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674066944001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674066944001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:45:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:45:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674066944001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":129888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:45:13] local.INFO: GPS data processed {"connection_id":129888,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:45:13] local.INFO: Acknowledgment sent {"connection_id":129888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:45:41] local.INFO: TCP Data received {"connection_id":130855,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:45:41] local.INFO: Processing buffer {"connection_id":130855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:45:41] local.INFO: IMEI packet received {"connection_id":130855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":130855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:45:46] local.INFO: TCP Data received {"connection_id":130855,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:45:46] local.INFO: Processing buffer {"connection_id":130855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:45:46] local.INFO: IMEI packet received {"connection_id":130855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":130855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:45:47] local.INFO: TCP Data received {"connection_id":130855,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57c0b960012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57c0b960012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:45:47] local.INFO: Processing buffer {"connection_id":130855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57c0b960012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:45:47] local.INFO: Packet analysis {"connection_id":130855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57c0"} 
[2026-07-13 00:45:47] local.INFO: Extracted packet for processing {"connection_id":130855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57c0"} 
[2026-07-13 00:45:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00: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-07-13 00:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674144000001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783883676000,"timestamp_ms":1783883676000,"timestamp_seconds":1783883676,"priority":1,"record_length":96,"hex_timestamp":"0000019f57c0b960"} 
[2026-07-13 00:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:45:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674144000001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674144000001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:45:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:45:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674144000001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":130855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:45:47] local.INFO: GPS data processed {"connection_id":130855,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:45:47] local.INFO: Acknowledgment sent {"connection_id":130855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:46:18] local.INFO: TCP Data received {"connection_id":130855,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57c0b960012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57c0b960012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:46:18] local.INFO: Processing buffer {"connection_id":130855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57c0b960012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:46:18] local.INFO: Packet analysis {"connection_id":130855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57c0"} 
[2026-07-13 00:46:18] local.INFO: Extracted packet for processing {"connection_id":130855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57c0"} 
[2026-07-13 00:46:18] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00: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-07-13 00:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674144000001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783883676000,"timestamp_ms":1783883676000,"timestamp_seconds":1783883676,"priority":1,"record_length":96,"hex_timestamp":"0000019f57c0b960"} 
[2026-07-13 00:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:46: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-07-13 00: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-07-13 00:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:46: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-07-13 00:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674144000001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674144000001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:46:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:46:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674144000001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":130855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:46:18] local.INFO: GPS data processed {"connection_id":130855,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:46:18] local.INFO: Acknowledgment sent {"connection_id":130855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:46:36] local.INFO: TCP Data received {"connection_id":132185,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:46:36] local.INFO: Processing buffer {"connection_id":132185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:46:36] local.INFO: IMEI packet received {"connection_id":132185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":132185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:46:41] local.INFO: TCP Data received {"connection_id":132185,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:46:41] local.INFO: Processing buffer {"connection_id":132185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:46:41] local.INFO: IMEI packet received {"connection_id":132185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":132185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:46:42] local.INFO: TCP Data received {"connection_id":132185,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57c0b960012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57c0b960012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:46:42] local.INFO: Processing buffer {"connection_id":132185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57c0b960012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:46:42] local.INFO: Packet analysis {"connection_id":132185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57c0"} 
[2026-07-13 00:46:42] local.INFO: Extracted packet for processing {"connection_id":132185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57c0"} 
[2026-07-13 00:46:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674144000001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783883676000,"timestamp_ms":1783883676000,"timestamp_seconds":1783883676,"priority":1,"record_length":96,"hex_timestamp":"0000019f57c0b960"} 
[2026-07-13 00:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674144000001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674144000001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:46:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:46:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674144000001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":132185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:46:42] local.INFO: GPS data processed {"connection_id":132185,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:46:42] local.INFO: Acknowledgment sent {"connection_id":132185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:47:13] local.INFO: TCP Data received {"connection_id":132185,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57c0b960012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57c0b960012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:47:13] local.INFO: Processing buffer {"connection_id":132185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57c0b960012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:47:13] local.INFO: Packet analysis {"connection_id":132185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57c0"} 
[2026-07-13 00:47:13] local.INFO: Extracted packet for processing {"connection_id":132185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57c0"} 
[2026-07-13 00:47:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674144000001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783883676000,"timestamp_ms":1783883676000,"timestamp_seconds":1783883676,"priority":1,"record_length":96,"hex_timestamp":"0000019f57c0b960"} 
[2026-07-13 00:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674144000001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674144000001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:47:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:47:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674144000001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":132185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:47:13] local.INFO: GPS data processed {"connection_id":132185,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:47:13] local.INFO: Acknowledgment sent {"connection_id":132185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:47:36] local.INFO: TCP Data received {"connection_id":130857,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:47:36] local.INFO: Processing buffer {"connection_id":130857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:47:36] local.INFO: IMEI packet received {"connection_id":130857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":130857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:47:41] local.INFO: TCP Data received {"connection_id":130857,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:47:41] local.INFO: Processing buffer {"connection_id":130857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:47:41] local.INFO: IMEI packet received {"connection_id":130857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":130857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:47:42] local.INFO: TCP Data received {"connection_id":130857,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f57c0b960012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57c0b960012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:47:42] local.INFO: Processing buffer {"connection_id":130857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57c0b960012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:47:42] local.INFO: Packet analysis {"connection_id":130857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57c0"} 
[2026-07-13 00:47:42] local.INFO: Extracted packet for processing {"connection_id":130857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57c0"} 
[2026-07-13 00:47:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674144000001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783883676000,"timestamp_ms":1783883676000,"timestamp_seconds":1783883676,"priority":1,"record_length":96,"hex_timestamp":"0000019f57c0b960"} 
[2026-07-13 00:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674144000001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674144000001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:47:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:47:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674144000001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":130857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:47:42] local.INFO: GPS data processed {"connection_id":130857,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:47:42] local.INFO: Acknowledgment sent {"connection_id":130857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:48:13] local.INFO: TCP Data received {"connection_id":130857,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f57c0b960012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57c0b960012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:48:13] local.INFO: Processing buffer {"connection_id":130857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57c0b960012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:48:13] local.INFO: Packet analysis {"connection_id":130857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57c0"} 
[2026-07-13 00:48:13] local.INFO: Extracted packet for processing {"connection_id":130857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57c0"} 
[2026-07-13 00:48:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674144000001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783883676000,"timestamp_ms":1783883676000,"timestamp_seconds":1783883676,"priority":1,"record_length":96,"hex_timestamp":"0000019f57c0b960"} 
[2026-07-13 00:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:48:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674144000001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674144000001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:48:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:48:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674144000001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":130857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:48:13] local.INFO: GPS data processed {"connection_id":130857,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:48:13] local.INFO: Acknowledgment sent {"connection_id":130857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:48:36] local.INFO: TCP Data received {"connection_id":130858,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:48:36] local.INFO: Processing buffer {"connection_id":130858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:48:36] local.INFO: IMEI packet received {"connection_id":130858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":130858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:48:41] local.INFO: TCP Data received {"connection_id":130858,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:48:41] local.INFO: Processing buffer {"connection_id":130858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:48:41] local.INFO: IMEI packet received {"connection_id":130858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":130858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:48:42] local.INFO: TCP Data received {"connection_id":130858,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f57c0b960012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57c0b960012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:48:42] local.INFO: Processing buffer {"connection_id":130858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57c0b960012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:48:42] local.INFO: Packet analysis {"connection_id":130858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57c0"} 
[2026-07-13 00:48:42] local.INFO: Extracted packet for processing {"connection_id":130858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57c0"} 
[2026-07-13 00:48:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674144000001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783883676000,"timestamp_ms":1783883676000,"timestamp_seconds":1783883676,"priority":1,"record_length":96,"hex_timestamp":"0000019f57c0b960"} 
[2026-07-13 00:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674144000001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674144000001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:48:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:48:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674144000001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":130858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:48:42] local.INFO: GPS data processed {"connection_id":130858,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:48:42] local.INFO: Acknowledgment sent {"connection_id":130858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:49:14] local.INFO: TCP Data received {"connection_id":130858,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f57c0b960012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57c0b960012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:49:14] local.INFO: Processing buffer {"connection_id":130858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57c0b960012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:49:14] local.INFO: Packet analysis {"connection_id":130858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57c0"} 
[2026-07-13 00:49:14] local.INFO: Extracted packet for processing {"connection_id":130858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57c0"} 
[2026-07-13 00:49:14] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674144000001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783883676000,"timestamp_ms":1783883676000,"timestamp_seconds":1783883676,"priority":1,"record_length":96,"hex_timestamp":"0000019f57c0b960"} 
[2026-07-13 00:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:49:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674144000001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674144000001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:49:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:49:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674144000001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":130858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:49:14] local.INFO: GPS data processed {"connection_id":130858,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:49:14] local.INFO: Acknowledgment sent {"connection_id":130858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:49:41] local.INFO: TCP Data received {"connection_id":130859,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:49:41] local.INFO: Processing buffer {"connection_id":130859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:49:41] local.INFO: IMEI packet received {"connection_id":130859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":130859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:49:46] local.INFO: TCP Data received {"connection_id":130859,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:49:46] local.INFO: Processing buffer {"connection_id":130859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:49:46] local.INFO: IMEI packet received {"connection_id":130859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":130859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:49:51] local.INFO: TCP Data received {"connection_id":130859,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:49:51] local.INFO: Processing buffer {"connection_id":130859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:49:51] local.INFO: IMEI packet received {"connection_id":130859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":130859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:49:52] local.INFO: TCP Data received {"connection_id":130859,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57c0b960012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57c0b960012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:49:52] local.INFO: Processing buffer {"connection_id":130859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57c0b960012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:49:52] local.INFO: Packet analysis {"connection_id":130859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57c0"} 
[2026-07-13 00:49:52] local.INFO: Extracted packet for processing {"connection_id":130859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57c0"} 
[2026-07-13 00:49:52] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 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-07-13 00:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674144000001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783883676000,"timestamp_ms":1783883676000,"timestamp_seconds":1783883676,"priority":1,"record_length":96,"hex_timestamp":"0000019f57c0b960"} 
[2026-07-13 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-07-13 00:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 00:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":130859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":130859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":130859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674144000001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674144000001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:49:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:49:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674144000001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":130859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:49:52] local.INFO: GPS data processed {"connection_id":130859,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:49:52] local.INFO: Acknowledgment sent {"connection_id":130859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:49:57] local.INFO: TCP Data received {"connection_id":130859,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57c0b960012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57c0b960012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:49:57] local.INFO: Processing buffer {"connection_id":130859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57c0b960012d7f8fc005afdd900000013822..."} 
[2026-07-13 00:49:57] local.INFO: Packet analysis {"connection_id":130859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57c0"} 
[2026-07-13 00:49:57] local.INFO: Extracted packet for processing {"connection_id":130859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57c0"} 
[2026-07-13 00:49:57] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674144000001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783883676000,"timestamp_ms":1783883676000,"timestamp_seconds":1783883676,"priority":1,"record_length":96,"hex_timestamp":"0000019f57c0b960"} 
[2026-07-13 00:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:49:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:49:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":130859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":130859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":130859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674144000001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674144000001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:49:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:49:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674144000001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":130859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:49:57] local.INFO: GPS data processed {"connection_id":130859,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:49:57] local.INFO: Acknowledgment sent {"connection_id":130859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:50:09] local.INFO: TCP Data received {"connection_id":129889,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129889,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:50:09] local.INFO: Processing buffer {"connection_id":129889,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:50:09] local.INFO: IMEI packet received {"connection_id":129889,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 00:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":129889,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:50:36] local.INFO: TCP Data received {"connection_id":130093,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:50:36] local.INFO: Processing buffer {"connection_id":130093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:50:36] local.INFO: IMEI packet received {"connection_id":130093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":130093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:50:41] local.INFO: TCP Data received {"connection_id":130093,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:50:41] local.INFO: Processing buffer {"connection_id":130093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:50:41] local.INFO: IMEI packet received {"connection_id":130093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":130093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:50:42] local.INFO: TCP Data received {"connection_id":130093,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f57c55128012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57c55128012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:50:42] local.INFO: Processing buffer {"connection_id":130093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57c55128012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:50:42] local.INFO: Packet analysis {"connection_id":130093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57c5"} 
[2026-07-13 00:50:42] local.INFO: Extracted packet for processing {"connection_id":130093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57c5"} 
[2026-07-13 00:50:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674221056001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783883977000,"timestamp_ms":1783883977000,"timestamp_seconds":1783883977,"priority":1,"record_length":96,"hex_timestamp":"0000019f57c55128"} 
[2026-07-13 00:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 00:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674221056001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674221056001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:50:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:50:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674221056001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":130093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:50:42] local.INFO: GPS data processed {"connection_id":130093,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:50:42] local.INFO: Acknowledgment sent {"connection_id":130093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:51:13] local.INFO: TCP Data received {"connection_id":130093,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f57c55128012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57c55128012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:51:13] local.INFO: Processing buffer {"connection_id":130093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57c55128012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:51:13] local.INFO: Packet analysis {"connection_id":130093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57c5"} 
[2026-07-13 00:51:13] local.INFO: Extracted packet for processing {"connection_id":130093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57c5"} 
[2026-07-13 00:51:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674221056001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783883977000,"timestamp_ms":1783883977000,"timestamp_seconds":1783883977,"priority":1,"record_length":96,"hex_timestamp":"0000019f57c55128"} 
[2026-07-13 00:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 00:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674221056001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674221056001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:51:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:51:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674221056001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":130093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:51:13] local.INFO: GPS data processed {"connection_id":130093,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:51:13] local.INFO: Acknowledgment sent {"connection_id":130093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:51:36] local.INFO: TCP Data received {"connection_id":132189,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:51:36] local.INFO: Processing buffer {"connection_id":132189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:51:36] local.INFO: IMEI packet received {"connection_id":132189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":132189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:51:41] local.INFO: TCP Data received {"connection_id":132189,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:51:41] local.INFO: Processing buffer {"connection_id":132189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:51:41] local.INFO: IMEI packet received {"connection_id":132189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":132189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:51:42] local.INFO: TCP Data received {"connection_id":132189,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f57c55128012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57c55128012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:51:42] local.INFO: Processing buffer {"connection_id":132189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57c55128012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:51:42] local.INFO: Packet analysis {"connection_id":132189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57c5"} 
[2026-07-13 00:51:42] local.INFO: Extracted packet for processing {"connection_id":132189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57c5"} 
[2026-07-13 00:51:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674221056001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783883977000,"timestamp_ms":1783883977000,"timestamp_seconds":1783883977,"priority":1,"record_length":96,"hex_timestamp":"0000019f57c55128"} 
[2026-07-13 00:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 00:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674221056001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674221056001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:51:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:51:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674221056001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":132189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:51:42] local.INFO: GPS data processed {"connection_id":132189,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:51:42] local.INFO: Acknowledgment sent {"connection_id":132189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:52:13] local.INFO: TCP Data received {"connection_id":132189,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f57c55128012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57c55128012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:52:13] local.INFO: Processing buffer {"connection_id":132189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57c55128012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:52:13] local.INFO: Packet analysis {"connection_id":132189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57c5"} 
[2026-07-13 00:52:13] local.INFO: Extracted packet for processing {"connection_id":132189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57c5"} 
[2026-07-13 00:52:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674221056001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783883977000,"timestamp_ms":1783883977000,"timestamp_seconds":1783883977,"priority":1,"record_length":96,"hex_timestamp":"0000019f57c55128"} 
[2026-07-13 00:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:52:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 00:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:52:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674221056001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674221056001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:52:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:52:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674221056001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":132189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:52:13] local.INFO: GPS data processed {"connection_id":132189,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:52:13] local.INFO: Acknowledgment sent {"connection_id":132189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:52:36] local.INFO: TCP Data received {"connection_id":129891,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:52:36] local.INFO: Processing buffer {"connection_id":129891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:52:36] local.INFO: IMEI packet received {"connection_id":129891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":129891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:52:41] local.INFO: TCP Data received {"connection_id":129891,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:52:41] local.INFO: Processing buffer {"connection_id":129891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:52:41] local.INFO: IMEI packet received {"connection_id":129891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":129891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:52:42] local.INFO: TCP Data received {"connection_id":129891,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f57c55128012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57c55128012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:52:42] local.INFO: Processing buffer {"connection_id":129891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57c55128012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:52:42] local.INFO: Packet analysis {"connection_id":129891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57c5"} 
[2026-07-13 00:52:42] local.INFO: Extracted packet for processing {"connection_id":129891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57c5"} 
[2026-07-13 00:52:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674221056001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783883977000,"timestamp_ms":1783883977000,"timestamp_seconds":1783883977,"priority":1,"record_length":96,"hex_timestamp":"0000019f57c55128"} 
[2026-07-13 00:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 00:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674221056001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674221056001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:52:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:52:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674221056001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":129891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:52:42] local.INFO: GPS data processed {"connection_id":129891,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:52:42] local.INFO: Acknowledgment sent {"connection_id":129891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:53:13] local.INFO: TCP Data received {"connection_id":129891,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f57c55128012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57c55128012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:53:13] local.INFO: Processing buffer {"connection_id":129891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57c55128012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:53:13] local.INFO: Packet analysis {"connection_id":129891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57c5"} 
[2026-07-13 00:53:13] local.INFO: Extracted packet for processing {"connection_id":129891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57c5"} 
[2026-07-13 00:53:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674221056001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783883977000,"timestamp_ms":1783883977000,"timestamp_seconds":1783883977,"priority":1,"record_length":96,"hex_timestamp":"0000019f57c55128"} 
[2026-07-13 00:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 00:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674221056001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674221056001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:53:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:53:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674221056001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":129891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:53:13] local.INFO: GPS data processed {"connection_id":129891,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:53:13] local.INFO: Acknowledgment sent {"connection_id":129891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:53:41] local.INFO: TCP Data received {"connection_id":132190,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:53:41] local.INFO: Processing buffer {"connection_id":132190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:53:41] local.INFO: IMEI packet received {"connection_id":132190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":132190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:53:46] local.INFO: TCP Data received {"connection_id":132190,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:53:46] local.INFO: Processing buffer {"connection_id":132190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:53:46] local.INFO: IMEI packet received {"connection_id":132190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":132190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:53:47] local.INFO: TCP Data received {"connection_id":132190,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f57c55128012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57c55128012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:53:47] local.INFO: Processing buffer {"connection_id":132190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57c55128012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:53:47] local.INFO: Packet analysis {"connection_id":132190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57c5"} 
[2026-07-13 00:53:47] local.INFO: Extracted packet for processing {"connection_id":132190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57c5"} 
[2026-07-13 00:53:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674221056001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783883977000,"timestamp_ms":1783883977000,"timestamp_seconds":1783883977,"priority":1,"record_length":96,"hex_timestamp":"0000019f57c55128"} 
[2026-07-13 00:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 00:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674221056001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674221056001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:53:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:53:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674221056001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":132190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:53:47] local.INFO: GPS data processed {"connection_id":132190,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:53:47] local.INFO: Acknowledgment sent {"connection_id":132190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:53:51] local.INFO: TCP Data received {"connection_id":132190,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f57c55128012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57c55128012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:53:51] local.INFO: Processing buffer {"connection_id":132190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57c55128012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:53:51] local.INFO: Packet analysis {"connection_id":132190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57c5"} 
[2026-07-13 00:53:51] local.INFO: Extracted packet for processing {"connection_id":132190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57c5"} 
[2026-07-13 00:53:51] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00: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-07-13 00:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674221056001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783883977000,"timestamp_ms":1783883977000,"timestamp_seconds":1783883977,"priority":1,"record_length":96,"hex_timestamp":"0000019f57c55128"} 
[2026-07-13 00:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 00:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00: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-07-13 00:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:53: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-07-13 00:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674221056001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674221056001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:53:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:53:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674221056001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":132190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:53:51] local.INFO: GPS data processed {"connection_id":132190,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:53:51] local.INFO: Acknowledgment sent {"connection_id":132190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:54:36] local.INFO: TCP Data received {"connection_id":132192,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:54:36] local.INFO: Processing buffer {"connection_id":132192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:54:36] local.INFO: IMEI packet received {"connection_id":132192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":132192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:54:41] local.INFO: TCP Data received {"connection_id":132192,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:54:41] local.INFO: Processing buffer {"connection_id":132192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:54:41] local.INFO: IMEI packet received {"connection_id":132192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":132192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:54:42] local.INFO: TCP Data received {"connection_id":132192,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f57c55128012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57c55128012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:54:42] local.INFO: Processing buffer {"connection_id":132192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57c55128012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:54:42] local.INFO: Packet analysis {"connection_id":132192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57c5"} 
[2026-07-13 00:54:42] local.INFO: Extracted packet for processing {"connection_id":132192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57c5"} 
[2026-07-13 00:54:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674221056001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783883977000,"timestamp_ms":1783883977000,"timestamp_seconds":1783883977,"priority":1,"record_length":96,"hex_timestamp":"0000019f57c55128"} 
[2026-07-13 00:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 00:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674221056001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674221056001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:54:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:54:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674221056001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":132192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:54:42] local.INFO: GPS data processed {"connection_id":132192,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:54:42] local.INFO: Acknowledgment sent {"connection_id":132192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:55:13] local.INFO: TCP Data received {"connection_id":132192,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f57c55128012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57c55128012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:55:13] local.INFO: Processing buffer {"connection_id":132192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57c55128012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:55:13] local.INFO: Packet analysis {"connection_id":132192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57c5"} 
[2026-07-13 00:55:13] local.INFO: Extracted packet for processing {"connection_id":132192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57c5"} 
[2026-07-13 00:55:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674221056001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783883977000,"timestamp_ms":1783883977000,"timestamp_seconds":1783883977,"priority":1,"record_length":96,"hex_timestamp":"0000019f57c55128"} 
[2026-07-13 00:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:55:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 00:55:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:55:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674221056001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674221056001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:55:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:55:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674221056001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":132192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:55:13] local.INFO: GPS data processed {"connection_id":132192,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:55:13] local.INFO: Acknowledgment sent {"connection_id":132192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:55:36] local.INFO: TCP Data received {"connection_id":130862,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:55:36] local.INFO: Processing buffer {"connection_id":130862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:55:36] local.INFO: IMEI packet received {"connection_id":130862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":130862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:55:41] local.INFO: TCP Data received {"connection_id":130862,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:55:41] local.INFO: Processing buffer {"connection_id":130862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:55:41] local.INFO: IMEI packet received {"connection_id":130862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":130862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:55:41] local.INFO: TCP Data received {"connection_id":132193,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:55:41] local.INFO: Processing buffer {"connection_id":132193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 00:55:41] local.INFO: IMEI packet received {"connection_id":132193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 00:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":132193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:55:42] local.INFO: TCP Data received {"connection_id":130862,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f57c9e8f0012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57c9e8f0012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:55:42] local.INFO: Processing buffer {"connection_id":130862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57c9e8f0012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:55:42] local.INFO: Packet analysis {"connection_id":130862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57c9"} 
[2026-07-13 00:55:42] local.INFO: Extracted packet for processing {"connection_id":130862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57c9"} 
[2026-07-13 00:55:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674298112001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783884278000,"timestamp_ms":1783884278000,"timestamp_seconds":1783884278,"priority":1,"record_length":96,"hex_timestamp":"0000019f57c9e8f0"} 
[2026-07-13 00:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674298112001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674298112001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:55:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:55:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674298112001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":130862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:55:42] local.INFO: GPS data processed {"connection_id":130862,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:55:42] local.INFO: Acknowledgment sent {"connection_id":130862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:56:14] local.INFO: TCP Data received {"connection_id":130862,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f57c9e8f0012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57c9e8f0012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:56:14] local.INFO: Processing buffer {"connection_id":130862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57c9e8f0012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:56:14] local.INFO: Packet analysis {"connection_id":130862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57c9"} 
[2026-07-13 00:56:14] local.INFO: Extracted packet for processing {"connection_id":130862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57c9"} 
[2026-07-13 00:56:14] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674298112001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783884278000,"timestamp_ms":1783884278000,"timestamp_seconds":1783884278,"priority":1,"record_length":96,"hex_timestamp":"0000019f57c9e8f0"} 
[2026-07-13 00:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674298112001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674298112001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:56:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:56:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674298112001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":130862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:56:14] local.INFO: GPS data processed {"connection_id":130862,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:56:14] local.INFO: Acknowledgment sent {"connection_id":130862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:56:36] local.INFO: TCP Data received {"connection_id":132194,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:56:36] local.INFO: Processing buffer {"connection_id":132194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:56:36] local.INFO: IMEI packet received {"connection_id":132194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":132194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:56:41] local.INFO: TCP Data received {"connection_id":132194,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:56:41] local.INFO: Processing buffer {"connection_id":132194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:56:41] local.INFO: IMEI packet received {"connection_id":132194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":132194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:56:42] local.INFO: TCP Data received {"connection_id":132194,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f57c9e8f0012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57c9e8f0012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:56:42] local.INFO: Processing buffer {"connection_id":132194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57c9e8f0012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:56:42] local.INFO: Packet analysis {"connection_id":132194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57c9"} 
[2026-07-13 00:56:42] local.INFO: Extracted packet for processing {"connection_id":132194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57c9"} 
[2026-07-13 00:56:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674298112001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783884278000,"timestamp_ms":1783884278000,"timestamp_seconds":1783884278,"priority":1,"record_length":96,"hex_timestamp":"0000019f57c9e8f0"} 
[2026-07-13 00:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674298112001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674298112001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:56:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:56:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674298112001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":132194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:56:42] local.INFO: GPS data processed {"connection_id":132194,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:56:42] local.INFO: Acknowledgment sent {"connection_id":132194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:57:14] local.INFO: TCP Data received {"connection_id":132194,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f57c9e8f0012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57c9e8f0012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:57:14] local.INFO: Processing buffer {"connection_id":132194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57c9e8f0012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:57:14] local.INFO: Packet analysis {"connection_id":132194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57c9"} 
[2026-07-13 00:57:14] local.INFO: Extracted packet for processing {"connection_id":132194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57c9"} 
[2026-07-13 00:57:14] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674298112001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783884278000,"timestamp_ms":1783884278000,"timestamp_seconds":1783884278,"priority":1,"record_length":96,"hex_timestamp":"0000019f57c9e8f0"} 
[2026-07-13 00:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":132194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":132194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":132194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674298112001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674298112001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:57:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:57:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674298112001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":132194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:57:14] local.INFO: GPS data processed {"connection_id":132194,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:57:14] local.INFO: Acknowledgment sent {"connection_id":132194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:57:41] local.INFO: TCP Data received {"connection_id":129892,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:57:41] local.INFO: Processing buffer {"connection_id":129892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:57:41] local.INFO: IMEI packet received {"connection_id":129892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":129892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:57:46] local.INFO: TCP Data received {"connection_id":129892,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:57:46] local.INFO: Processing buffer {"connection_id":129892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:57:46] local.INFO: IMEI packet received {"connection_id":129892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":129892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:57:47] local.INFO: TCP Data received {"connection_id":129892,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f57c9e8f0012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57c9e8f0012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:57:47] local.INFO: Processing buffer {"connection_id":129892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57c9e8f0012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:57:47] local.INFO: Packet analysis {"connection_id":129892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57c9"} 
[2026-07-13 00:57:47] local.INFO: Extracted packet for processing {"connection_id":129892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57c9"} 
[2026-07-13 00:57:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674298112001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783884278000,"timestamp_ms":1783884278000,"timestamp_seconds":1783884278,"priority":1,"record_length":96,"hex_timestamp":"0000019f57c9e8f0"} 
[2026-07-13 00:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":129892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":129892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":129892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674298112001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674298112001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:57:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:57:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674298112001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":129892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:57:47] local.INFO: GPS data processed {"connection_id":129892,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:57:47] local.INFO: Acknowledgment sent {"connection_id":129892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:58:19] local.INFO: TCP Data received {"connection_id":129892,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f57c9e8f0012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57c9e8f0012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:58:19] local.INFO: Processing buffer {"connection_id":129892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57c9e8f0012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:58:19] local.INFO: Packet analysis {"connection_id":129892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57c9"} 
[2026-07-13 00:58:19] local.INFO: Extracted packet for processing {"connection_id":129892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57c9"} 
[2026-07-13 00:58:19] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674298112001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783884278000,"timestamp_ms":1783884278000,"timestamp_seconds":1783884278,"priority":1,"record_length":96,"hex_timestamp":"0000019f57c9e8f0"} 
[2026-07-13 00:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:58:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:58: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-07-13 00:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":129892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":129892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":129892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:58: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-07-13 00:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674298112001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674298112001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:58:19] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:58:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674298112001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":129892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:58:19] local.INFO: GPS data processed {"connection_id":129892,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:58:19] local.INFO: Acknowledgment sent {"connection_id":129892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:58:36] local.INFO: TCP Data received {"connection_id":130865,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:58:36] local.INFO: Processing buffer {"connection_id":130865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:58:36] local.INFO: IMEI packet received {"connection_id":130865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":130865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:58:41] local.INFO: TCP Data received {"connection_id":130865,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:58:41] local.INFO: Processing buffer {"connection_id":130865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:58:41] local.INFO: IMEI packet received {"connection_id":130865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":130865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:58:42] local.INFO: TCP Data received {"connection_id":130865,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f57c9e8f0012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57c9e8f0012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:58:42] local.INFO: Processing buffer {"connection_id":130865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57c9e8f0012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:58:42] local.INFO: Packet analysis {"connection_id":130865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57c9"} 
[2026-07-13 00:58:42] local.INFO: Extracted packet for processing {"connection_id":130865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57c9"} 
[2026-07-13 00:58:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674298112001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783884278000,"timestamp_ms":1783884278000,"timestamp_seconds":1783884278,"priority":1,"record_length":96,"hex_timestamp":"0000019f57c9e8f0"} 
[2026-07-13 00:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674298112001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674298112001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:58:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:58:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674298112001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":130865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:58:42] local.INFO: GPS data processed {"connection_id":130865,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:58:42] local.INFO: Acknowledgment sent {"connection_id":130865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:59:13] local.INFO: TCP Data received {"connection_id":130865,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f57c9e8f0012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57c9e8f0012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:59:13] local.INFO: Processing buffer {"connection_id":130865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57c9e8f0012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:59:13] local.INFO: Packet analysis {"connection_id":130865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57c9"} 
[2026-07-13 00:59:13] local.INFO: Extracted packet for processing {"connection_id":130865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57c9"} 
[2026-07-13 00:59:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674298112001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783884278000,"timestamp_ms":1783884278000,"timestamp_seconds":1783884278,"priority":1,"record_length":96,"hex_timestamp":"0000019f57c9e8f0"} 
[2026-07-13 00:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674298112001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674298112001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:59:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:59:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674298112001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":130865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:59:13] local.INFO: GPS data processed {"connection_id":130865,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:59:13] local.INFO: Acknowledgment sent {"connection_id":130865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 00:59:36] local.INFO: TCP Data received {"connection_id":129894,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:59:36] local.INFO: Processing buffer {"connection_id":129894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:59:36] local.INFO: IMEI packet received {"connection_id":129894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 00:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":129894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 00:59:41] local.INFO: TCP Data received {"connection_id":129894,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:59:41] local.INFO: Processing buffer {"connection_id":129894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 00:59:41] local.INFO: IMEI packet received {"connection_id":129894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 00:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":129894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 00:59:42] local.INFO: TCP Data received {"connection_id":129894,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f57c9e8f0012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57c9e8f0012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:59:42] local.INFO: Processing buffer {"connection_id":129894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57c9e8f0012d7f8fc005afdd900000013823..."} 
[2026-07-13 00:59:42] local.INFO: Packet analysis {"connection_id":129894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57c9"} 
[2026-07-13 00:59:42] local.INFO: Extracted packet for processing {"connection_id":129894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57c9"} 
[2026-07-13 00:59:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 00:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 00:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674298112001,"note":"Value kept but may cause issues"} 
[2026-07-13 00:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 00:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 00:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 00:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783884278000,"timestamp_ms":1783884278000,"timestamp_seconds":1783884278,"priority":1,"record_length":96,"hex_timestamp":"0000019f57c9e8f0"} 
[2026-07-13 00:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 00:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 00:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 00:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 00:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 00:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 00:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 00:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 00:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 00:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 00:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 00:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 00:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674298112001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 00:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 00:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 00:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674298112001,"description":"Unknown IO ID 0"} 
[2026-07-13 00:59:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 00:59:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 00:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 00:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 00:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674298112001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 00:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":129894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 00:59:42] local.INFO: GPS data processed {"connection_id":129894,"processed":1,"errors":0,"total":1} 
[2026-07-13 00:59:42] local.INFO: Acknowledgment sent {"connection_id":129894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:00:13] local.INFO: TCP Data received {"connection_id":129894,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f57c9e8f0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57c9e8f0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:00:13] local.INFO: Processing buffer {"connection_id":129894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57c9e8f0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:00:13] local.INFO: Packet analysis {"connection_id":129894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57c9"} 
[2026-07-13 01:00:13] local.INFO: Extracted packet for processing {"connection_id":129894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57c9"} 
[2026-07-13 01:00:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674298112001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783884278000,"timestamp_ms":1783884278000,"timestamp_seconds":1783884278,"priority":1,"record_length":96,"hex_timestamp":"0000019f57c9e8f0"} 
[2026-07-13 01:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 01:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674298112001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674298112001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:00:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:00:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674298112001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":129894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:00:13] local.INFO: GPS data processed {"connection_id":129894,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:00:13] local.INFO: Acknowledgment sent {"connection_id":129894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:00:36] local.INFO: TCP Data received {"connection_id":130094,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:00:36] local.INFO: Processing buffer {"connection_id":130094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:00:36] local.INFO: IMEI packet received {"connection_id":130094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":130094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:00:41] local.INFO: TCP Data received {"connection_id":130094,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:00:41] local.INFO: Processing buffer {"connection_id":130094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:00:41] local.INFO: IMEI packet received {"connection_id":130094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":130094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:00:42] local.INFO: TCP Data received {"connection_id":130094,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f57ce80b8012d7f8fc005afdd900000013824..."} 
[2026-07-13 01:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57ce80b8012d7f8fc005afdd900000013824..."} 
[2026-07-13 01:00:42] local.INFO: Processing buffer {"connection_id":130094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57ce80b8012d7f8fc005afdd900000013824..."} 
[2026-07-13 01:00:42] local.INFO: Packet analysis {"connection_id":130094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ce"} 
[2026-07-13 01:00:42] local.INFO: Extracted packet for processing {"connection_id":130094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ce"} 
[2026-07-13 01:00:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":36,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674375168001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783884579000,"timestamp_ms":1783884579000,"timestamp_seconds":1783884579,"priority":1,"record_length":96,"hex_timestamp":"0000019f57ce80b8"} 
[2026-07-13 01:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674375168001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674375168001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:00:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:00:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674375168001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":130094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:00:42] local.INFO: GPS data processed {"connection_id":130094,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:00:42] local.INFO: Acknowledgment sent {"connection_id":130094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:01:11] local.INFO: TCP Data received {"connection_id":130866,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:01:11] local.INFO: Processing buffer {"connection_id":130866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:01:11] local.INFO: IMEI packet received {"connection_id":130866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 01:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":130866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:01:13] local.INFO: TCP Data received {"connection_id":130094,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f57ce80b8012d7f8fc005afdd900000013824..."} 
[2026-07-13 01:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57ce80b8012d7f8fc005afdd900000013824..."} 
[2026-07-13 01:01:13] local.INFO: Processing buffer {"connection_id":130094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57ce80b8012d7f8fc005afdd900000013824..."} 
[2026-07-13 01:01:13] local.INFO: Packet analysis {"connection_id":130094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ce"} 
[2026-07-13 01:01:13] local.INFO: Extracted packet for processing {"connection_id":130094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ce"} 
[2026-07-13 01:01:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":36,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674375168001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783884579000,"timestamp_ms":1783884579000,"timestamp_seconds":1783884579,"priority":1,"record_length":96,"hex_timestamp":"0000019f57ce80b8"} 
[2026-07-13 01:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:01:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674375168001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674375168001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:01:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:01:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674375168001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":130094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:01:13] local.INFO: GPS data processed {"connection_id":130094,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:01:13] local.INFO: Acknowledgment sent {"connection_id":130094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:01:41] local.INFO: TCP Data received {"connection_id":132197,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132197,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:01:41] local.INFO: Processing buffer {"connection_id":132197,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:01:41] local.INFO: IMEI packet received {"connection_id":132197,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 01:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":132197,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:01:41] local.INFO: TCP Data received {"connection_id":132196,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:01:41] local.INFO: Processing buffer {"connection_id":132196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:01:41] local.INFO: IMEI packet received {"connection_id":132196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":132196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:01:46] local.INFO: TCP Data received {"connection_id":132196,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:01:46] local.INFO: Processing buffer {"connection_id":132196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:01:46] local.INFO: IMEI packet received {"connection_id":132196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":132196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:01:47] local.INFO: TCP Data received {"connection_id":132196,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f57ce80b8012d7f8fc005afdd900000013824..."} 
[2026-07-13 01:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57ce80b8012d7f8fc005afdd900000013824..."} 
[2026-07-13 01:01:47] local.INFO: Processing buffer {"connection_id":132196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57ce80b8012d7f8fc005afdd900000013824..."} 
[2026-07-13 01:01:47] local.INFO: Packet analysis {"connection_id":132196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ce"} 
[2026-07-13 01:01:47] local.INFO: Extracted packet for processing {"connection_id":132196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ce"} 
[2026-07-13 01:01:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":36,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674375168001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783884579000,"timestamp_ms":1783884579000,"timestamp_seconds":1783884579,"priority":1,"record_length":96,"hex_timestamp":"0000019f57ce80b8"} 
[2026-07-13 01:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:01:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674375168001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674375168001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:01:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:01:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674375168001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":132196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:01:47] local.INFO: GPS data processed {"connection_id":132196,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:01:47] local.INFO: Acknowledgment sent {"connection_id":132196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:02:18] local.INFO: TCP Data received {"connection_id":132196,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f57ce80b8012d7f8fc005afdd900000013824..."} 
[2026-07-13 01:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57ce80b8012d7f8fc005afdd900000013824..."} 
[2026-07-13 01:02:18] local.INFO: Processing buffer {"connection_id":132196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57ce80b8012d7f8fc005afdd900000013824..."} 
[2026-07-13 01:02:18] local.INFO: Packet analysis {"connection_id":132196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ce"} 
[2026-07-13 01:02:18] local.INFO: Extracted packet for processing {"connection_id":132196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ce"} 
[2026-07-13 01:02:18] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":36,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674375168001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783884579000,"timestamp_ms":1783884579000,"timestamp_seconds":1783884579,"priority":1,"record_length":96,"hex_timestamp":"0000019f57ce80b8"} 
[2026-07-13 01:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:02: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-07-13 01:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674375168001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674375168001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:02:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:02:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674375168001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":132196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:02:18] local.INFO: GPS data processed {"connection_id":132196,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:02:18] local.INFO: Acknowledgment sent {"connection_id":132196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:02:36] local.INFO: TCP Data received {"connection_id":130095,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:02:36] local.INFO: Processing buffer {"connection_id":130095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:02:36] local.INFO: IMEI packet received {"connection_id":130095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":130095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:02:41] local.INFO: TCP Data received {"connection_id":130095,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:02:41] local.INFO: Processing buffer {"connection_id":130095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:02:41] local.INFO: IMEI packet received {"connection_id":130095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":130095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:02:42] local.INFO: TCP Data received {"connection_id":130095,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f57ce80b8012d7f8fc005afdd900000013824..."} 
[2026-07-13 01:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57ce80b8012d7f8fc005afdd900000013824..."} 
[2026-07-13 01:02:42] local.INFO: Processing buffer {"connection_id":130095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57ce80b8012d7f8fc005afdd900000013824..."} 
[2026-07-13 01:02:42] local.INFO: Packet analysis {"connection_id":130095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ce"} 
[2026-07-13 01:02:42] local.INFO: Extracted packet for processing {"connection_id":130095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ce"} 
[2026-07-13 01:02:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":36,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674375168001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783884579000,"timestamp_ms":1783884579000,"timestamp_seconds":1783884579,"priority":1,"record_length":96,"hex_timestamp":"0000019f57ce80b8"} 
[2026-07-13 01:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674375168001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674375168001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:02:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:02:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674375168001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":130095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:02:42] local.INFO: GPS data processed {"connection_id":130095,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:02:42] local.INFO: Acknowledgment sent {"connection_id":130095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:03:13] local.INFO: TCP Data received {"connection_id":130095,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f57ce80b8012d7f8fc005afdd900000013824..."} 
[2026-07-13 01:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57ce80b8012d7f8fc005afdd900000013824..."} 
[2026-07-13 01:03:13] local.INFO: Processing buffer {"connection_id":130095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57ce80b8012d7f8fc005afdd900000013824..."} 
[2026-07-13 01:03:13] local.INFO: Packet analysis {"connection_id":130095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ce"} 
[2026-07-13 01:03:13] local.INFO: Extracted packet for processing {"connection_id":130095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ce"} 
[2026-07-13 01:03:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":36,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674375168001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783884579000,"timestamp_ms":1783884579000,"timestamp_seconds":1783884579,"priority":1,"record_length":96,"hex_timestamp":"0000019f57ce80b8"} 
[2026-07-13 01:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674375168001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674375168001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:03:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:03:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674375168001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":130095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:03:13] local.INFO: GPS data processed {"connection_id":130095,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:03:13] local.INFO: Acknowledgment sent {"connection_id":130095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:03:36] local.INFO: TCP Data received {"connection_id":130867,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:03:36] local.INFO: Processing buffer {"connection_id":130867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:03:36] local.INFO: IMEI packet received {"connection_id":130867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":130867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:03:41] local.INFO: TCP Data received {"connection_id":130867,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:03:41] local.INFO: Processing buffer {"connection_id":130867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:03:41] local.INFO: IMEI packet received {"connection_id":130867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":130867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:03:42] local.INFO: TCP Data received {"connection_id":130867,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f57ce80b8012d7f8fc005afdd900000013824..."} 
[2026-07-13 01:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57ce80b8012d7f8fc005afdd900000013824..."} 
[2026-07-13 01:03:42] local.INFO: Processing buffer {"connection_id":130867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57ce80b8012d7f8fc005afdd900000013824..."} 
[2026-07-13 01:03:42] local.INFO: Packet analysis {"connection_id":130867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ce"} 
[2026-07-13 01:03:42] local.INFO: Extracted packet for processing {"connection_id":130867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ce"} 
[2026-07-13 01:03:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":36,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674375168001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783884579000,"timestamp_ms":1783884579000,"timestamp_seconds":1783884579,"priority":1,"record_length":96,"hex_timestamp":"0000019f57ce80b8"} 
[2026-07-13 01:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674375168001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674375168001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:03:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:03:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674375168001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":130867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:03:42] local.INFO: GPS data processed {"connection_id":130867,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:03:42] local.INFO: Acknowledgment sent {"connection_id":130867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:04:13] local.INFO: TCP Data received {"connection_id":130867,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f57ce80b8012d7f8fc005afdd900000013824..."} 
[2026-07-13 01:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57ce80b8012d7f8fc005afdd900000013824..."} 
[2026-07-13 01:04:13] local.INFO: Processing buffer {"connection_id":130867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57ce80b8012d7f8fc005afdd900000013824..."} 
[2026-07-13 01:04:13] local.INFO: Packet analysis {"connection_id":130867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ce"} 
[2026-07-13 01:04:13] local.INFO: Extracted packet for processing {"connection_id":130867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ce"} 
[2026-07-13 01:04:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":36,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674375168001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783884579000,"timestamp_ms":1783884579000,"timestamp_seconds":1783884579,"priority":1,"record_length":96,"hex_timestamp":"0000019f57ce80b8"} 
[2026-07-13 01:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:04: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-07-13 01:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674375168001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674375168001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:04:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:04:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674375168001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":130867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:04:13] local.INFO: GPS data processed {"connection_id":130867,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:04:13] local.INFO: Acknowledgment sent {"connection_id":130867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:04:36] local.INFO: TCP Data received {"connection_id":132198,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:04:36] local.INFO: Processing buffer {"connection_id":132198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:04:36] local.INFO: IMEI packet received {"connection_id":132198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":132198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:04:41] local.INFO: TCP Data received {"connection_id":132198,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:04:41] local.INFO: Processing buffer {"connection_id":132198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:04:41] local.INFO: IMEI packet received {"connection_id":132198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":132198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:04:42] local.INFO: TCP Data received {"connection_id":132198,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f57ce80b8012d7f8fc005afdd900000013824..."} 
[2026-07-13 01:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57ce80b8012d7f8fc005afdd900000013824..."} 
[2026-07-13 01:04:42] local.INFO: Processing buffer {"connection_id":132198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57ce80b8012d7f8fc005afdd900000013824..."} 
[2026-07-13 01:04:42] local.INFO: Packet analysis {"connection_id":132198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ce"} 
[2026-07-13 01:04:42] local.INFO: Extracted packet for processing {"connection_id":132198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ce"} 
[2026-07-13 01:04:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":36,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674375168001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783884579000,"timestamp_ms":1783884579000,"timestamp_seconds":1783884579,"priority":1,"record_length":96,"hex_timestamp":"0000019f57ce80b8"} 
[2026-07-13 01:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674375168001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674375168001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:04:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:04:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674375168001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":132198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:04:42] local.INFO: GPS data processed {"connection_id":132198,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:04:42] local.INFO: Acknowledgment sent {"connection_id":132198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:05:13] local.INFO: TCP Data received {"connection_id":132198,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f57ce80b8012d7f8fc005afdd900000013824..."} 
[2026-07-13 01:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57ce80b8012d7f8fc005afdd900000013824..."} 
[2026-07-13 01:05:13] local.INFO: Processing buffer {"connection_id":132198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57ce80b8012d7f8fc005afdd900000013824..."} 
[2026-07-13 01:05:13] local.INFO: Packet analysis {"connection_id":132198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ce"} 
[2026-07-13 01:05:13] local.INFO: Extracted packet for processing {"connection_id":132198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ce"} 
[2026-07-13 01:05:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":36,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674375168001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783884579000,"timestamp_ms":1783884579000,"timestamp_seconds":1783884579,"priority":1,"record_length":96,"hex_timestamp":"0000019f57ce80b8"} 
[2026-07-13 01:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:05:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:05: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-07-13 01:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674375168001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674375168001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:05:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:05:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674375168001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":132198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:05:13] local.INFO: GPS data processed {"connection_id":132198,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:05:13] local.INFO: Acknowledgment sent {"connection_id":132198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:05:36] local.INFO: TCP Data received {"connection_id":132199,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:05:36] local.INFO: Processing buffer {"connection_id":132199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:05:36] local.INFO: IMEI packet received {"connection_id":132199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":132199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:05:41] local.INFO: TCP Data received {"connection_id":132199,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:05:41] local.INFO: Processing buffer {"connection_id":132199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:05:41] local.INFO: IMEI packet received {"connection_id":132199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":132199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:05:42] local.INFO: TCP Data received {"connection_id":132199,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:05:42] local.INFO: Processing buffer {"connection_id":132199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:05:42] local.INFO: Packet analysis {"connection_id":132199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57d3"} 
[2026-07-13 01:05:42] local.INFO: Extracted packet for processing {"connection_id":132199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57d3"} 
[2026-07-13 01:05:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674452224001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783884880000,"timestamp_ms":1783884880000,"timestamp_seconds":1783884880,"priority":1,"record_length":96,"hex_timestamp":"0000019f57d31880"} 
[2026-07-13 01:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674452224001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674452224001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:05:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:05:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674452224001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":132199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:05:42] local.INFO: GPS data processed {"connection_id":132199,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:05:42] local.INFO: Acknowledgment sent {"connection_id":132199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:06:13] local.INFO: TCP Data received {"connection_id":132199,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:06:13] local.INFO: Processing buffer {"connection_id":132199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:06:13] local.INFO: Packet analysis {"connection_id":132199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57d3"} 
[2026-07-13 01:06:13] local.INFO: Extracted packet for processing {"connection_id":132199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57d3"} 
[2026-07-13 01:06:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674452224001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783884880000,"timestamp_ms":1783884880000,"timestamp_seconds":1783884880,"priority":1,"record_length":96,"hex_timestamp":"0000019f57d31880"} 
[2026-07-13 01:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:06:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:06:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:06: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-07-13 01:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674452224001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674452224001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:06:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:06:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674452224001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":132199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:06:13] local.INFO: GPS data processed {"connection_id":132199,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:06:13] local.INFO: Acknowledgment sent {"connection_id":132199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:06:41] local.INFO: TCP Data received {"connection_id":130870,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:06:41] local.INFO: Processing buffer {"connection_id":130870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:06:41] local.INFO: IMEI packet received {"connection_id":130870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":130870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:06:46] local.INFO: TCP Data received {"connection_id":130870,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:06:46] local.INFO: Processing buffer {"connection_id":130870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:06:46] local.INFO: IMEI packet received {"connection_id":130870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":130870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:06:47] local.INFO: TCP Data received {"connection_id":130870,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:06:47] local.INFO: Processing buffer {"connection_id":130870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:06:47] local.INFO: Packet analysis {"connection_id":130870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57d3"} 
[2026-07-13 01:06:47] local.INFO: Extracted packet for processing {"connection_id":130870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57d3"} 
[2026-07-13 01:06:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674452224001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783884880000,"timestamp_ms":1783884880000,"timestamp_seconds":1783884880,"priority":1,"record_length":96,"hex_timestamp":"0000019f57d31880"} 
[2026-07-13 01:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674452224001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674452224001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:06:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:06:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674452224001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":130870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:06:47] local.INFO: GPS data processed {"connection_id":130870,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:06:47] local.INFO: Acknowledgment sent {"connection_id":130870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:06:51] local.INFO: TCP Data received {"connection_id":130870,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:06:51] local.INFO: Processing buffer {"connection_id":130870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:06:51] local.INFO: Packet analysis {"connection_id":130870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57d3"} 
[2026-07-13 01:06:51] local.INFO: Extracted packet for processing {"connection_id":130870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57d3"} 
[2026-07-13 01:06:51] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674452224001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783884880000,"timestamp_ms":1783884880000,"timestamp_seconds":1783884880,"priority":1,"record_length":96,"hex_timestamp":"0000019f57d31880"} 
[2026-07-13 01:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674452224001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674452224001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:06:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:06:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674452224001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":130870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:06:51] local.INFO: GPS data processed {"connection_id":130870,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:06:51] local.INFO: Acknowledgment sent {"connection_id":130870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:07:09] local.INFO: TCP Data received {"connection_id":130871,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:07:09] local.INFO: Processing buffer {"connection_id":130871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:07:09] local.INFO: IMEI packet received {"connection_id":130871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 01:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":130871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:07:36] local.INFO: TCP Data received {"connection_id":130098,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:07:36] local.INFO: Processing buffer {"connection_id":130098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:07:36] local.INFO: IMEI packet received {"connection_id":130098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":130098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:07:41] local.INFO: TCP Data received {"connection_id":130098,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:07:41] local.INFO: Processing buffer {"connection_id":130098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:07:41] local.INFO: IMEI packet received {"connection_id":130098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":130098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:07:42] local.INFO: TCP Data received {"connection_id":130098,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:07:42] local.INFO: Processing buffer {"connection_id":130098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:07:42] local.INFO: Packet analysis {"connection_id":130098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57d3"} 
[2026-07-13 01:07:42] local.INFO: Extracted packet for processing {"connection_id":130098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57d3"} 
[2026-07-13 01:07:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674452224001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783884880000,"timestamp_ms":1783884880000,"timestamp_seconds":1783884880,"priority":1,"record_length":96,"hex_timestamp":"0000019f57d31880"} 
[2026-07-13 01:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674452224001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674452224001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:07:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:07:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674452224001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":130098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:07:42] local.INFO: GPS data processed {"connection_id":130098,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:07:42] local.INFO: Acknowledgment sent {"connection_id":130098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:07:46] local.INFO: TCP Data received {"connection_id":129895,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129895,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:07:46] local.INFO: Processing buffer {"connection_id":129895,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:07:46] local.INFO: IMEI packet received {"connection_id":129895,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 01:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":129895,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:07:47] local.INFO: TCP Data received {"connection_id":130098,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:07:47] local.INFO: Processing buffer {"connection_id":130098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:07:47] local.INFO: Packet analysis {"connection_id":130098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57d3"} 
[2026-07-13 01:07:47] local.INFO: Extracted packet for processing {"connection_id":130098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57d3"} 
[2026-07-13 01:07:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674452224001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783884880000,"timestamp_ms":1783884880000,"timestamp_seconds":1783884880,"priority":1,"record_length":96,"hex_timestamp":"0000019f57d31880"} 
[2026-07-13 01:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:07:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674452224001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674452224001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:07:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:07:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674452224001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":130098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:07:47] local.INFO: GPS data processed {"connection_id":130098,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:07:47] local.INFO: Acknowledgment sent {"connection_id":130098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:08:18] local.INFO: TCP Data received {"connection_id":130098,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:08:18] local.INFO: Processing buffer {"connection_id":130098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:08:18] local.INFO: Packet analysis {"connection_id":130098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57d3"} 
[2026-07-13 01:08:18] local.INFO: Extracted packet for processing {"connection_id":130098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57d3"} 
[2026-07-13 01:08:18] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01: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-07-13 01:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674452224001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783884880000,"timestamp_ms":1783884880000,"timestamp_seconds":1783884880,"priority":1,"record_length":96,"hex_timestamp":"0000019f57d31880"} 
[2026-07-13 01:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01: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-07-13 01:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:08: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-07-13 01:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674452224001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674452224001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:08:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:08:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674452224001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":130098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:08:18] local.INFO: GPS data processed {"connection_id":130098,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:08:18] local.INFO: Acknowledgment sent {"connection_id":130098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:08:36] local.INFO: TCP Data received {"connection_id":130099,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:08:36] local.INFO: Processing buffer {"connection_id":130099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:08:36] local.INFO: IMEI packet received {"connection_id":130099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":130099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:08:41] local.INFO: TCP Data received {"connection_id":130099,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:08:41] local.INFO: Processing buffer {"connection_id":130099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:08:41] local.INFO: IMEI packet received {"connection_id":130099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":130099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:08:42] local.INFO: TCP Data received {"connection_id":130099,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:08:42] local.INFO: Processing buffer {"connection_id":130099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:08:42] local.INFO: Packet analysis {"connection_id":130099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57d3"} 
[2026-07-13 01:08:42] local.INFO: Extracted packet for processing {"connection_id":130099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57d3"} 
[2026-07-13 01:08:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674452224001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783884880000,"timestamp_ms":1783884880000,"timestamp_seconds":1783884880,"priority":1,"record_length":96,"hex_timestamp":"0000019f57d31880"} 
[2026-07-13 01:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674452224001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674452224001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:08:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:08:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674452224001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":130099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:08:42] local.INFO: GPS data processed {"connection_id":130099,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:08:42] local.INFO: Acknowledgment sent {"connection_id":130099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:09:13] local.INFO: TCP Data received {"connection_id":130099,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:09:13] local.INFO: Processing buffer {"connection_id":130099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:09:13] local.INFO: Packet analysis {"connection_id":130099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57d3"} 
[2026-07-13 01:09:13] local.INFO: Extracted packet for processing {"connection_id":130099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57d3"} 
[2026-07-13 01:09:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674452224001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783884880000,"timestamp_ms":1783884880000,"timestamp_seconds":1783884880,"priority":1,"record_length":96,"hex_timestamp":"0000019f57d31880"} 
[2026-07-13 01:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:09: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-07-13 01:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674452224001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674452224001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:09:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:09:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674452224001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":130099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:09:13] local.INFO: GPS data processed {"connection_id":130099,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:09:13] local.INFO: Acknowledgment sent {"connection_id":130099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:09:36] local.INFO: TCP Data received {"connection_id":130873,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:09:36] local.INFO: Processing buffer {"connection_id":130873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:09:36] local.INFO: IMEI packet received {"connection_id":130873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":130873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:09:41] local.INFO: TCP Data received {"connection_id":130873,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:09:41] local.INFO: Processing buffer {"connection_id":130873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:09:41] local.INFO: IMEI packet received {"connection_id":130873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":130873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:09:42] local.INFO: TCP Data received {"connection_id":130873,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:09:42] local.INFO: Processing buffer {"connection_id":130873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:09:42] local.INFO: Packet analysis {"connection_id":130873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57d3"} 
[2026-07-13 01:09:42] local.INFO: Extracted packet for processing {"connection_id":130873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57d3"} 
[2026-07-13 01:09:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674452224001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783884880000,"timestamp_ms":1783884880000,"timestamp_seconds":1783884880,"priority":1,"record_length":96,"hex_timestamp":"0000019f57d31880"} 
[2026-07-13 01:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674452224001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674452224001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:09:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:09:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674452224001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":130873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:09:42] local.INFO: GPS data processed {"connection_id":130873,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:09:42] local.INFO: Acknowledgment sent {"connection_id":130873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:10:13] local.INFO: TCP Data received {"connection_id":130873,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:10:13] local.INFO: Processing buffer {"connection_id":130873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57d31880012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:10:13] local.INFO: Packet analysis {"connection_id":130873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57d3"} 
[2026-07-13 01:10:13] local.INFO: Extracted packet for processing {"connection_id":130873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57d3"} 
[2026-07-13 01:10:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674452224001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783884880000,"timestamp_ms":1783884880000,"timestamp_seconds":1783884880,"priority":1,"record_length":96,"hex_timestamp":"0000019f57d31880"} 
[2026-07-13 01:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674452224001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674452224001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:10:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:10:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674452224001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":130873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:10:13] local.INFO: GPS data processed {"connection_id":130873,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:10:13] local.INFO: Acknowledgment sent {"connection_id":130873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:10:41] local.INFO: TCP Data received {"connection_id":129896,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:10:41] local.INFO: Processing buffer {"connection_id":129896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:10:41] local.INFO: IMEI packet received {"connection_id":129896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":129896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:10:46] local.INFO: TCP Data received {"connection_id":129896,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:10:46] local.INFO: Processing buffer {"connection_id":129896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:10:46] local.INFO: IMEI packet received {"connection_id":129896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":129896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:10:47] local.INFO: TCP Data received {"connection_id":129896,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f57d7b048012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57d7b048012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:10:47] local.INFO: Processing buffer {"connection_id":129896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57d7b048012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:10:47] local.INFO: Packet analysis {"connection_id":129896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57d7"} 
[2026-07-13 01:10:47] local.INFO: Extracted packet for processing {"connection_id":129896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57d7"} 
[2026-07-13 01:10:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":30,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674529280001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783885181000,"timestamp_ms":1783885181000,"timestamp_seconds":1783885181,"priority":1,"record_length":96,"hex_timestamp":"0000019f57d7b048"} 
[2026-07-13 01:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 01:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:10:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":129896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":129896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":129896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674529280001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674529280001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:10:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:10:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674529280001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":129896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:10:47] local.INFO: GPS data processed {"connection_id":129896,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:10:47] local.INFO: Acknowledgment sent {"connection_id":129896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:10:51] local.INFO: TCP Data received {"connection_id":129896,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f57d7b048012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57d7b048012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:10:51] local.INFO: Processing buffer {"connection_id":129896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57d7b048012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:10:51] local.INFO: Packet analysis {"connection_id":129896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57d7"} 
[2026-07-13 01:10:51] local.INFO: Extracted packet for processing {"connection_id":129896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57d7"} 
[2026-07-13 01:10:51] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":30,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674529280001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783885181000,"timestamp_ms":1783885181000,"timestamp_seconds":1783885181,"priority":1,"record_length":96,"hex_timestamp":"0000019f57d7b048"} 
[2026-07-13 01:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":135,"data_length":795,"current_offset":136} 
[2026-07-13 01:10: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-07-13 01: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-07-13 01:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":129896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":129896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":129896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:10: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-07-13 01:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674529280001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674529280001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:10:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:10:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674529280001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":129896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:10:51] local.INFO: GPS data processed {"connection_id":129896,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:10:51] local.INFO: Acknowledgment sent {"connection_id":129896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:11:36] local.INFO: TCP Data received {"connection_id":130874,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:11:36] local.INFO: Processing buffer {"connection_id":130874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:11:36] local.INFO: IMEI packet received {"connection_id":130874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":130874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:11:41] local.INFO: TCP Data received {"connection_id":130874,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:11:41] local.INFO: Processing buffer {"connection_id":130874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:11:41] local.INFO: IMEI packet received {"connection_id":130874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":130874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:11:42] local.INFO: TCP Data received {"connection_id":130874,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f57d7b048012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57d7b048012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:11:42] local.INFO: Processing buffer {"connection_id":130874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57d7b048012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:11:42] local.INFO: Packet analysis {"connection_id":130874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57d7"} 
[2026-07-13 01:11:42] local.INFO: Extracted packet for processing {"connection_id":130874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57d7"} 
[2026-07-13 01:11:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":30,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674529280001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783885181000,"timestamp_ms":1783885181000,"timestamp_seconds":1783885181,"priority":1,"record_length":96,"hex_timestamp":"0000019f57d7b048"} 
[2026-07-13 01:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 01:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674529280001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674529280001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:11:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:11:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674529280001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":130874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:11:42] local.INFO: GPS data processed {"connection_id":130874,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:11:42] local.INFO: Acknowledgment sent {"connection_id":130874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:12:13] local.INFO: TCP Data received {"connection_id":130874,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f57d7b048012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57d7b048012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:12:13] local.INFO: Processing buffer {"connection_id":130874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57d7b048012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:12:13] local.INFO: Packet analysis {"connection_id":130874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57d7"} 
[2026-07-13 01:12:13] local.INFO: Extracted packet for processing {"connection_id":130874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57d7"} 
[2026-07-13 01:12:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":30,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674529280001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783885181000,"timestamp_ms":1783885181000,"timestamp_seconds":1783885181,"priority":1,"record_length":96,"hex_timestamp":"0000019f57d7b048"} 
[2026-07-13 01:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 01:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674529280001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674529280001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:12:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:12:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674529280001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":130874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:12:13] local.INFO: GPS data processed {"connection_id":130874,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:12:13] local.INFO: Acknowledgment sent {"connection_id":130874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:12:36] local.INFO: TCP Data received {"connection_id":130101,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:12:36] local.INFO: Processing buffer {"connection_id":130101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:12:36] local.INFO: IMEI packet received {"connection_id":130101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":130101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:12:41] local.INFO: TCP Data received {"connection_id":130101,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:12:41] local.INFO: Processing buffer {"connection_id":130101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:12:41] local.INFO: IMEI packet received {"connection_id":130101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":130101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:12:42] local.INFO: TCP Data received {"connection_id":130101,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f57d7b048012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57d7b048012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:12:42] local.INFO: Processing buffer {"connection_id":130101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57d7b048012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:12:42] local.INFO: Packet analysis {"connection_id":130101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57d7"} 
[2026-07-13 01:12:42] local.INFO: Extracted packet for processing {"connection_id":130101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57d7"} 
[2026-07-13 01:12:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":30,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674529280001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783885181000,"timestamp_ms":1783885181000,"timestamp_seconds":1783885181,"priority":1,"record_length":96,"hex_timestamp":"0000019f57d7b048"} 
[2026-07-13 01:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 01:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674529280001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674529280001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:12:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:12:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674529280001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":130101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:12:42] local.INFO: GPS data processed {"connection_id":130101,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:12:42] local.INFO: Acknowledgment sent {"connection_id":130101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:13:06] local.INFO: TCP Data received {"connection_id":130102,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:13:06] local.INFO: Processing buffer {"connection_id":130102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:13:06] local.INFO: IMEI packet received {"connection_id":130102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 01:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":130102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:13:13] local.INFO: TCP Data received {"connection_id":130101,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f57d7b048012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57d7b048012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:13:13] local.INFO: Processing buffer {"connection_id":130101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57d7b048012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:13:13] local.INFO: Packet analysis {"connection_id":130101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57d7"} 
[2026-07-13 01:13:13] local.INFO: Extracted packet for processing {"connection_id":130101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57d7"} 
[2026-07-13 01:13:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":30,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674529280001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783885181000,"timestamp_ms":1783885181000,"timestamp_seconds":1783885181,"priority":1,"record_length":96,"hex_timestamp":"0000019f57d7b048"} 
[2026-07-13 01:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 01:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674529280001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674529280001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:13:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:13:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674529280001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":130101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:13:13] local.INFO: GPS data processed {"connection_id":130101,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:13:13] local.INFO: Acknowledgment sent {"connection_id":130101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:13:36] local.INFO: TCP Data received {"connection_id":130103,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:13:36] local.INFO: Processing buffer {"connection_id":130103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:13:36] local.INFO: IMEI packet received {"connection_id":130103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":130103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:13:41] local.INFO: TCP Data received {"connection_id":130104,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130104,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:13:41] local.INFO: Processing buffer {"connection_id":130104,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:13:41] local.INFO: IMEI packet received {"connection_id":130104,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 01:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":130104,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:13:41] local.INFO: TCP Data received {"connection_id":130103,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:13:41] local.INFO: Processing buffer {"connection_id":130103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:13:41] local.INFO: IMEI packet received {"connection_id":130103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":130103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:13:42] local.INFO: TCP Data received {"connection_id":130103,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f57d7b048012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57d7b048012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:13:42] local.INFO: Processing buffer {"connection_id":130103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57d7b048012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:13:42] local.INFO: Packet analysis {"connection_id":130103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57d7"} 
[2026-07-13 01:13:42] local.INFO: Extracted packet for processing {"connection_id":130103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57d7"} 
[2026-07-13 01:13:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":30,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674529280001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783885181000,"timestamp_ms":1783885181000,"timestamp_seconds":1783885181,"priority":1,"record_length":96,"hex_timestamp":"0000019f57d7b048"} 
[2026-07-13 01:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 01:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674529280001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674529280001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:13:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:13:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674529280001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":130103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:13:42] local.INFO: GPS data processed {"connection_id":130103,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:13:42] local.INFO: Acknowledgment sent {"connection_id":130103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:14:13] local.INFO: TCP Data received {"connection_id":130103,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f57d7b048012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57d7b048012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:14:13] local.INFO: Processing buffer {"connection_id":130103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57d7b048012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:14:13] local.INFO: Packet analysis {"connection_id":130103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57d7"} 
[2026-07-13 01:14:13] local.INFO: Extracted packet for processing {"connection_id":130103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57d7"} 
[2026-07-13 01:14:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":30,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674529280001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783885181000,"timestamp_ms":1783885181000,"timestamp_seconds":1783885181,"priority":1,"record_length":96,"hex_timestamp":"0000019f57d7b048"} 
[2026-07-13 01:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 01:14:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674529280001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674529280001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:14:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:14:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674529280001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":130103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:14:13] local.INFO: GPS data processed {"connection_id":130103,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:14:13] local.INFO: Acknowledgment sent {"connection_id":130103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:14:36] local.INFO: TCP Data received {"connection_id":132201,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:14:36] local.INFO: Processing buffer {"connection_id":132201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:14:36] local.INFO: IMEI packet received {"connection_id":132201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":132201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:14:41] local.INFO: TCP Data received {"connection_id":132201,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:14:41] local.INFO: Processing buffer {"connection_id":132201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:14:41] local.INFO: IMEI packet received {"connection_id":132201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":132201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:14:42] local.INFO: TCP Data received {"connection_id":132201,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f57d7b048012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57d7b048012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:14:42] local.INFO: Processing buffer {"connection_id":132201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57d7b048012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:14:42] local.INFO: Packet analysis {"connection_id":132201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57d7"} 
[2026-07-13 01:14:42] local.INFO: Extracted packet for processing {"connection_id":132201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57d7"} 
[2026-07-13 01:14:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":30,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674529280001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783885181000,"timestamp_ms":1783885181000,"timestamp_seconds":1783885181,"priority":1,"record_length":96,"hex_timestamp":"0000019f57d7b048"} 
[2026-07-13 01:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 01:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674529280001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674529280001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:14:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:14:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674529280001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":132201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:14:42] local.INFO: GPS data processed {"connection_id":132201,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:14:42] local.INFO: Acknowledgment sent {"connection_id":132201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:15:13] local.INFO: TCP Data received {"connection_id":132201,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f57d7b048012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57d7b048012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:15:13] local.INFO: Processing buffer {"connection_id":132201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57d7b048012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:15:13] local.INFO: Packet analysis {"connection_id":132201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57d7"} 
[2026-07-13 01:15:13] local.INFO: Extracted packet for processing {"connection_id":132201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57d7"} 
[2026-07-13 01:15:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":30,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674529280001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783885181000,"timestamp_ms":1783885181000,"timestamp_seconds":1783885181,"priority":1,"record_length":96,"hex_timestamp":"0000019f57d7b048"} 
[2026-07-13 01:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 01:15:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674529280001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674529280001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:15:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:15:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674529280001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":132201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:15:13] local.INFO: GPS data processed {"connection_id":132201,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:15:13] local.INFO: Acknowledgment sent {"connection_id":132201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:15:41] local.INFO: TCP Data received {"connection_id":129898,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:15:41] local.INFO: Processing buffer {"connection_id":129898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:15:41] local.INFO: IMEI packet received {"connection_id":129898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":129898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:15:46] local.INFO: TCP Data received {"connection_id":129898,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:15:46] local.INFO: Processing buffer {"connection_id":129898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:15:46] local.INFO: IMEI packet received {"connection_id":129898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":129898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:15:47] local.INFO: TCP Data received {"connection_id":129898,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f57dc4810012d7f8fc005afdd900000013821..."} 
[2026-07-13 01:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57dc4810012d7f8fc005afdd900000013821..."} 
[2026-07-13 01:15:47] local.INFO: Processing buffer {"connection_id":129898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57dc4810012d7f8fc005afdd900000013821..."} 
[2026-07-13 01:15:47] local.INFO: Packet analysis {"connection_id":129898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57dc"} 
[2026-07-13 01:15:47] local.INFO: Extracted packet for processing {"connection_id":129898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57dc"} 
[2026-07-13 01:15:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674606336001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783885482000,"timestamp_ms":1783885482000,"timestamp_seconds":1783885482,"priority":1,"record_length":96,"hex_timestamp":"0000019f57dc4810"} 
[2026-07-13 01:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":129898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":129898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":129898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674606336001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674606336001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:15:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:15:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674606336001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":129898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:15:47] local.INFO: GPS data processed {"connection_id":129898,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:15:47] local.INFO: Acknowledgment sent {"connection_id":129898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:16:18] local.INFO: TCP Data received {"connection_id":129898,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f57dc4810012d7f8fc005afdd900000013821..."} 
[2026-07-13 01:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57dc4810012d7f8fc005afdd900000013821..."} 
[2026-07-13 01:16:18] local.INFO: Processing buffer {"connection_id":129898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57dc4810012d7f8fc005afdd900000013821..."} 
[2026-07-13 01:16:18] local.INFO: Packet analysis {"connection_id":129898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57dc"} 
[2026-07-13 01:16:18] local.INFO: Extracted packet for processing {"connection_id":129898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57dc"} 
[2026-07-13 01:16:18] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01: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-07-13 01:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674606336001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783885482000,"timestamp_ms":1783885482000,"timestamp_seconds":1783885482,"priority":1,"record_length":96,"hex_timestamp":"0000019f57dc4810"} 
[2026-07-13 01:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01: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-07-13 01:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":129898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":129898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":129898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:16: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-07-13 01:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674606336001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674606336001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:16:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:16:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674606336001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":129898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:16:18] local.INFO: GPS data processed {"connection_id":129898,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:16:18] local.INFO: Acknowledgment sent {"connection_id":129898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:16:36] local.INFO: TCP Data received {"connection_id":132202,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:16:36] local.INFO: Processing buffer {"connection_id":132202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:16:36] local.INFO: IMEI packet received {"connection_id":132202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":132202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:16:41] local.INFO: TCP Data received {"connection_id":132202,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:16:41] local.INFO: Processing buffer {"connection_id":132202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:16:41] local.INFO: IMEI packet received {"connection_id":132202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":132202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:16:42] local.INFO: TCP Data received {"connection_id":132202,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f57dc4810012d7f8fc005afdd900000013821..."} 
[2026-07-13 01:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57dc4810012d7f8fc005afdd900000013821..."} 
[2026-07-13 01:16:42] local.INFO: Processing buffer {"connection_id":132202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57dc4810012d7f8fc005afdd900000013821..."} 
[2026-07-13 01:16:42] local.INFO: Packet analysis {"connection_id":132202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57dc"} 
[2026-07-13 01:16:42] local.INFO: Extracted packet for processing {"connection_id":132202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57dc"} 
[2026-07-13 01:16:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674606336001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783885482000,"timestamp_ms":1783885482000,"timestamp_seconds":1783885482,"priority":1,"record_length":96,"hex_timestamp":"0000019f57dc4810"} 
[2026-07-13 01:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674606336001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674606336001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:16:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:16:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674606336001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":132202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:16:42] local.INFO: GPS data processed {"connection_id":132202,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:16:42] local.INFO: Acknowledgment sent {"connection_id":132202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:17:13] local.INFO: TCP Data received {"connection_id":132202,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f57dc4810012d7f8fc005afdd900000013821..."} 
[2026-07-13 01:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57dc4810012d7f8fc005afdd900000013821..."} 
[2026-07-13 01:17:13] local.INFO: Processing buffer {"connection_id":132202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57dc4810012d7f8fc005afdd900000013821..."} 
[2026-07-13 01:17:13] local.INFO: Packet analysis {"connection_id":132202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57dc"} 
[2026-07-13 01:17:13] local.INFO: Extracted packet for processing {"connection_id":132202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57dc"} 
[2026-07-13 01:17:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674606336001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783885482000,"timestamp_ms":1783885482000,"timestamp_seconds":1783885482,"priority":1,"record_length":96,"hex_timestamp":"0000019f57dc4810"} 
[2026-07-13 01:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:17:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:17:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:17:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674606336001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674606336001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:17:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:17:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674606336001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":132202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:17:13] local.INFO: GPS data processed {"connection_id":132202,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:17:13] local.INFO: Acknowledgment sent {"connection_id":132202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:17:36] local.INFO: TCP Data received {"connection_id":130106,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:17:36] local.INFO: Processing buffer {"connection_id":130106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:17:36] local.INFO: IMEI packet received {"connection_id":130106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":130106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:17:41] local.INFO: TCP Data received {"connection_id":130106,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:17:41] local.INFO: Processing buffer {"connection_id":130106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:17:41] local.INFO: IMEI packet received {"connection_id":130106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":130106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:17:42] local.INFO: TCP Data received {"connection_id":130106,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f57dc4810012d7f8fc005afdd900000013821..."} 
[2026-07-13 01:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57dc4810012d7f8fc005afdd900000013821..."} 
[2026-07-13 01:17:42] local.INFO: Processing buffer {"connection_id":130106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57dc4810012d7f8fc005afdd900000013821..."} 
[2026-07-13 01:17:42] local.INFO: Packet analysis {"connection_id":130106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57dc"} 
[2026-07-13 01:17:42] local.INFO: Extracted packet for processing {"connection_id":130106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57dc"} 
[2026-07-13 01:17:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674606336001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783885482000,"timestamp_ms":1783885482000,"timestamp_seconds":1783885482,"priority":1,"record_length":96,"hex_timestamp":"0000019f57dc4810"} 
[2026-07-13 01:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674606336001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674606336001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:17:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674606336001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":130106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:17:42] local.INFO: GPS data processed {"connection_id":130106,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:17:42] local.INFO: Acknowledgment sent {"connection_id":130106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:18:13] local.INFO: TCP Data received {"connection_id":130106,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f57dc4810012d7f8fc005afdd900000013821..."} 
[2026-07-13 01:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57dc4810012d7f8fc005afdd900000013821..."} 
[2026-07-13 01:18:13] local.INFO: Processing buffer {"connection_id":130106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57dc4810012d7f8fc005afdd900000013821..."} 
[2026-07-13 01:18:13] local.INFO: Packet analysis {"connection_id":130106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57dc"} 
[2026-07-13 01:18:13] local.INFO: Extracted packet for processing {"connection_id":130106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57dc"} 
[2026-07-13 01:18:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674606336001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783885482000,"timestamp_ms":1783885482000,"timestamp_seconds":1783885482,"priority":1,"record_length":96,"hex_timestamp":"0000019f57dc4810"} 
[2026-07-13 01:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674606336001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674606336001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:18:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:18:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674606336001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":130106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:18:13] local.INFO: GPS data processed {"connection_id":130106,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:18:13] local.INFO: Acknowledgment sent {"connection_id":130106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:18:36] local.INFO: TCP Data received {"connection_id":132203,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:18:36] local.INFO: Processing buffer {"connection_id":132203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:18:36] local.INFO: IMEI packet received {"connection_id":132203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":132203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:18:41] local.INFO: TCP Data received {"connection_id":132203,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:18:41] local.INFO: Processing buffer {"connection_id":132203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:18:41] local.INFO: IMEI packet received {"connection_id":132203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":132203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:18:42] local.INFO: TCP Data received {"connection_id":132203,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f57dc4810012d7f8fc005afdd900000013821..."} 
[2026-07-13 01:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57dc4810012d7f8fc005afdd900000013821..."} 
[2026-07-13 01:18:42] local.INFO: Processing buffer {"connection_id":132203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57dc4810012d7f8fc005afdd900000013821..."} 
[2026-07-13 01:18:42] local.INFO: Packet analysis {"connection_id":132203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57dc"} 
[2026-07-13 01:18:42] local.INFO: Extracted packet for processing {"connection_id":132203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57dc"} 
[2026-07-13 01:18:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674606336001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783885482000,"timestamp_ms":1783885482000,"timestamp_seconds":1783885482,"priority":1,"record_length":96,"hex_timestamp":"0000019f57dc4810"} 
[2026-07-13 01:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674606336001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674606336001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:18:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:18:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674606336001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":132203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:18:42] local.INFO: GPS data processed {"connection_id":132203,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:18:42] local.INFO: Acknowledgment sent {"connection_id":132203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:19:06] local.INFO: TCP Data received {"connection_id":130107,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130107,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:19:06] local.INFO: Processing buffer {"connection_id":130107,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:19:06] local.INFO: IMEI packet received {"connection_id":130107,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 01:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":130107,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:19:13] local.INFO: TCP Data received {"connection_id":132203,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f57dc4810012d7f8fc005afdd900000013821..."} 
[2026-07-13 01:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57dc4810012d7f8fc005afdd900000013821..."} 
[2026-07-13 01:19:13] local.INFO: Processing buffer {"connection_id":132203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57dc4810012d7f8fc005afdd900000013821..."} 
[2026-07-13 01:19:13] local.INFO: Packet analysis {"connection_id":132203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57dc"} 
[2026-07-13 01:19:13] local.INFO: Extracted packet for processing {"connection_id":132203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57dc"} 
[2026-07-13 01:19:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674606336001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783885482000,"timestamp_ms":1783885482000,"timestamp_seconds":1783885482,"priority":1,"record_length":96,"hex_timestamp":"0000019f57dc4810"} 
[2026-07-13 01:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674606336001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674606336001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:19:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:19:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674606336001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":132203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:19:13] local.INFO: GPS data processed {"connection_id":132203,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:19:13] local.INFO: Acknowledgment sent {"connection_id":132203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:19:41] local.INFO: TCP Data received {"connection_id":129900,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129900,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:19:41] local.INFO: Processing buffer {"connection_id":129900,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:19:41] local.INFO: IMEI packet received {"connection_id":129900,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 01:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":129900,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:19:41] local.INFO: TCP Data received {"connection_id":129899,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:19:41] local.INFO: Processing buffer {"connection_id":129899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:19:41] local.INFO: IMEI packet received {"connection_id":129899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":129899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:19:46] local.INFO: TCP Data received {"connection_id":129899,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:19:46] local.INFO: Processing buffer {"connection_id":129899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:19:46] local.INFO: IMEI packet received {"connection_id":129899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":129899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:19:47] local.INFO: TCP Data received {"connection_id":129899,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f57dc4810012d7f8fc005afdd900000013821..."} 
[2026-07-13 01:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57dc4810012d7f8fc005afdd900000013821..."} 
[2026-07-13 01:19:47] local.INFO: Processing buffer {"connection_id":129899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57dc4810012d7f8fc005afdd900000013821..."} 
[2026-07-13 01:19:47] local.INFO: Packet analysis {"connection_id":129899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57dc"} 
[2026-07-13 01:19:47] local.INFO: Extracted packet for processing {"connection_id":129899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57dc"} 
[2026-07-13 01:19:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674606336001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783885482000,"timestamp_ms":1783885482000,"timestamp_seconds":1783885482,"priority":1,"record_length":96,"hex_timestamp":"0000019f57dc4810"} 
[2026-07-13 01:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:19:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:19:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":129899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":129899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":129899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674606336001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674606336001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:19:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:19:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674606336001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":129899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:19:47] local.INFO: GPS data processed {"connection_id":129899,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:19:47] local.INFO: Acknowledgment sent {"connection_id":129899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:19:52] local.INFO: TCP Data received {"connection_id":129899,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f57dc4810012d7f8fc005afdd900000013821..."} 
[2026-07-13 01:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57dc4810012d7f8fc005afdd900000013821..."} 
[2026-07-13 01:19:52] local.INFO: Processing buffer {"connection_id":129899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57dc4810012d7f8fc005afdd900000013821..."} 
[2026-07-13 01:19:52] local.INFO: Packet analysis {"connection_id":129899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57dc"} 
[2026-07-13 01:19:52] local.INFO: Extracted packet for processing {"connection_id":129899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57dc"} 
[2026-07-13 01:19:52] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674606336001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783885482000,"timestamp_ms":1783885482000,"timestamp_seconds":1783885482,"priority":1,"record_length":96,"hex_timestamp":"0000019f57dc4810"} 
[2026-07-13 01:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":129899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":129899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":129899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674606336001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674606336001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:19:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:19:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674606336001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":129899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:19:52] local.INFO: GPS data processed {"connection_id":129899,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:19:52] local.INFO: Acknowledgment sent {"connection_id":129899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:20:36] local.INFO: TCP Data received {"connection_id":132204,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:20:36] local.INFO: Processing buffer {"connection_id":132204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:20:36] local.INFO: IMEI packet received {"connection_id":132204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":132204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:20:41] local.INFO: TCP Data received {"connection_id":132204,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:20:41] local.INFO: Processing buffer {"connection_id":132204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:20:41] local.INFO: IMEI packet received {"connection_id":132204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":132204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:20:42] local.INFO: TCP Data received {"connection_id":132204,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f57e0dfd8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57e0dfd8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:20:42] local.INFO: Processing buffer {"connection_id":132204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57e0dfd8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:20:42] local.INFO: Packet analysis {"connection_id":132204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57e0"} 
[2026-07-13 01:20:42] local.INFO: Extracted packet for processing {"connection_id":132204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57e0"} 
[2026-07-13 01:20:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":30,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674683392001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783885783000,"timestamp_ms":1783885783000,"timestamp_seconds":1783885783,"priority":1,"record_length":96,"hex_timestamp":"0000019f57e0dfd8"} 
[2026-07-13 01:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 01:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674683392001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674683392001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:20:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:20:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674683392001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":132204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:20:42] local.INFO: GPS data processed {"connection_id":132204,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:20:42] local.INFO: Acknowledgment sent {"connection_id":132204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:21:13] local.INFO: TCP Data received {"connection_id":132204,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f57e0dfd8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57e0dfd8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:21:13] local.INFO: Processing buffer {"connection_id":132204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57e0dfd8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:21:13] local.INFO: Packet analysis {"connection_id":132204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57e0"} 
[2026-07-13 01:21:13] local.INFO: Extracted packet for processing {"connection_id":132204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57e0"} 
[2026-07-13 01:21:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":30,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674683392001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783885783000,"timestamp_ms":1783885783000,"timestamp_seconds":1783885783,"priority":1,"record_length":96,"hex_timestamp":"0000019f57e0dfd8"} 
[2026-07-13 01:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 01:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:21:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674683392001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674683392001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:21:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:21:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674683392001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":132204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:21:13] local.INFO: GPS data processed {"connection_id":132204,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:21:13] local.INFO: Acknowledgment sent {"connection_id":132204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:21:36] local.INFO: TCP Data received {"connection_id":130108,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:21:36] local.INFO: Processing buffer {"connection_id":130108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:21:36] local.INFO: IMEI packet received {"connection_id":130108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":130108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:21:41] local.INFO: TCP Data received {"connection_id":130108,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:21:41] local.INFO: Processing buffer {"connection_id":130108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:21:41] local.INFO: IMEI packet received {"connection_id":130108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":130108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:21:42] local.INFO: TCP Data received {"connection_id":130108,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f57e0dfd8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57e0dfd8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:21:42] local.INFO: Processing buffer {"connection_id":130108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57e0dfd8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:21:42] local.INFO: Packet analysis {"connection_id":130108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57e0"} 
[2026-07-13 01:21:42] local.INFO: Extracted packet for processing {"connection_id":130108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57e0"} 
[2026-07-13 01:21:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":30,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674683392001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783885783000,"timestamp_ms":1783885783000,"timestamp_seconds":1783885783,"priority":1,"record_length":96,"hex_timestamp":"0000019f57e0dfd8"} 
[2026-07-13 01:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 01:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674683392001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674683392001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:21:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:21:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674683392001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":130108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:21:42] local.INFO: GPS data processed {"connection_id":130108,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:21:42] local.INFO: Acknowledgment sent {"connection_id":130108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:22:13] local.INFO: TCP Data received {"connection_id":130108,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f57e0dfd8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57e0dfd8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:22:13] local.INFO: Processing buffer {"connection_id":130108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57e0dfd8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:22:13] local.INFO: Packet analysis {"connection_id":130108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57e0"} 
[2026-07-13 01:22:13] local.INFO: Extracted packet for processing {"connection_id":130108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57e0"} 
[2026-07-13 01:22:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":30,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674683392001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783885783000,"timestamp_ms":1783885783000,"timestamp_seconds":1783885783,"priority":1,"record_length":96,"hex_timestamp":"0000019f57e0dfd8"} 
[2026-07-13 01:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 01:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:22:13] 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-07-13 01:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674683392001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674683392001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:22:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:22:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674683392001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":130108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":477999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:22:13] local.INFO: GPS data processed {"connection_id":130108,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:22:13] local.INFO: Acknowledgment sent {"connection_id":130108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:22:36] local.INFO: TCP Data received {"connection_id":130109,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:22:36] local.INFO: Processing buffer {"connection_id":130109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:22:36] local.INFO: IMEI packet received {"connection_id":130109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":130109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:22:41] local.INFO: TCP Data received {"connection_id":130109,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:22:41] local.INFO: Processing buffer {"connection_id":130109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:22:41] local.INFO: IMEI packet received {"connection_id":130109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":130109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:22:42] local.INFO: TCP Data received {"connection_id":130109,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57e0dfd8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57e0dfd8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:22:42] local.INFO: Processing buffer {"connection_id":130109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57e0dfd8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:22:42] local.INFO: Packet analysis {"connection_id":130109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57e0"} 
[2026-07-13 01:22:42] local.INFO: Extracted packet for processing {"connection_id":130109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57e0"} 
[2026-07-13 01:22:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":30,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674683392001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783885783000,"timestamp_ms":1783885783000,"timestamp_seconds":1783885783,"priority":1,"record_length":96,"hex_timestamp":"0000019f57e0dfd8"} 
[2026-07-13 01:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 01:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674683392001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674683392001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:22:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:22:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674683392001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":130109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:22:42] local.INFO: GPS data processed {"connection_id":130109,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:22:42] local.INFO: Acknowledgment sent {"connection_id":130109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:23:13] local.INFO: TCP Data received {"connection_id":130109,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57e0dfd8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57e0dfd8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:23:13] local.INFO: Processing buffer {"connection_id":130109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57e0dfd8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:23:13] local.INFO: Packet analysis {"connection_id":130109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57e0"} 
[2026-07-13 01:23:13] local.INFO: Extracted packet for processing {"connection_id":130109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57e0"} 
[2026-07-13 01:23:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":30,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674683392001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783885783000,"timestamp_ms":1783885783000,"timestamp_seconds":1783885783,"priority":1,"record_length":96,"hex_timestamp":"0000019f57e0dfd8"} 
[2026-07-13 01:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 01:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674683392001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674683392001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:23:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:23:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674683392001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":130109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:23:13] local.INFO: GPS data processed {"connection_id":130109,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:23:13] local.INFO: Acknowledgment sent {"connection_id":130109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:23:36] local.INFO: TCP Data received {"connection_id":129901,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:23:36] local.INFO: Processing buffer {"connection_id":129901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:23:36] local.INFO: IMEI packet received {"connection_id":129901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":129901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:23:41] local.INFO: TCP Data received {"connection_id":129901,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:23:41] local.INFO: Processing buffer {"connection_id":129901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:23:41] local.INFO: IMEI packet received {"connection_id":129901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":129901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:23:42] local.INFO: TCP Data received {"connection_id":129901,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57e0dfd8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57e0dfd8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:23:42] local.INFO: Processing buffer {"connection_id":129901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57e0dfd8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:23:42] local.INFO: Packet analysis {"connection_id":129901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57e0"} 
[2026-07-13 01:23:42] local.INFO: Extracted packet for processing {"connection_id":129901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57e0"} 
[2026-07-13 01:23:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":30,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674683392001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783885783000,"timestamp_ms":1783885783000,"timestamp_seconds":1783885783,"priority":1,"record_length":96,"hex_timestamp":"0000019f57e0dfd8"} 
[2026-07-13 01:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 01:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674683392001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674683392001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:23:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:23:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674683392001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":129901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:23:42] local.INFO: GPS data processed {"connection_id":129901,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:23:42] local.INFO: Acknowledgment sent {"connection_id":129901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:24:12] local.INFO: TCP Data received {"connection_id":129901,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57e0dfd8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57e0dfd8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:24:12] local.INFO: Processing buffer {"connection_id":129901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57e0dfd8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:24:12] local.INFO: Packet analysis {"connection_id":129901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57e0"} 
[2026-07-13 01:24:12] local.INFO: Extracted packet for processing {"connection_id":129901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57e0"} 
[2026-07-13 01:24:12] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":30,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674683392001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783885783000,"timestamp_ms":1783885783000,"timestamp_seconds":1783885783,"priority":1,"record_length":96,"hex_timestamp":"0000019f57e0dfd8"} 
[2026-07-13 01:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 01:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":129901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":129901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":129901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674683392001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674683392001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:24:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:24:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674683392001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":129901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:24:12] local.INFO: GPS data processed {"connection_id":129901,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:24:12] local.INFO: Acknowledgment sent {"connection_id":129901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:24:36] local.INFO: TCP Data received {"connection_id":132209,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:24:36] local.INFO: Processing buffer {"connection_id":132209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:24:36] local.INFO: IMEI packet received {"connection_id":132209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":132209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:24:41] local.INFO: TCP Data received {"connection_id":132209,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:24:41] local.INFO: Processing buffer {"connection_id":132209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:24:41] local.INFO: IMEI packet received {"connection_id":132209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":132209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:24:44] local.INFO: TCP Data received {"connection_id":132209,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57e0dfd8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57e0dfd8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:24:44] local.INFO: Processing buffer {"connection_id":132209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57e0dfd8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:24:44] local.INFO: Packet analysis {"connection_id":132209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57e0"} 
[2026-07-13 01:24:44] local.INFO: Extracted packet for processing {"connection_id":132209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57e0"} 
[2026-07-13 01:24:44] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":30,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674683392001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783885783000,"timestamp_ms":1783885783000,"timestamp_seconds":1783885783,"priority":1,"record_length":96,"hex_timestamp":"0000019f57e0dfd8"} 
[2026-07-13 01:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 01:24:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674683392001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674683392001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:24:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:24:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674683392001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":132209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:24:44] local.INFO: GPS data processed {"connection_id":132209,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:24:44] local.INFO: Acknowledgment sent {"connection_id":132209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:24:56] local.INFO: TCP Data received {"connection_id":130110,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:24:56] local.INFO: Processing buffer {"connection_id":130110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:24:56] local.INFO: IMEI packet received {"connection_id":130110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 01:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":130110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:25:15] local.INFO: TCP Data received {"connection_id":132209,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57e0dfd8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57e0dfd8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:25:15] local.INFO: Processing buffer {"connection_id":132209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57e0dfd8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:25:15] local.INFO: Packet analysis {"connection_id":132209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57e0"} 
[2026-07-13 01:25:15] local.INFO: Extracted packet for processing {"connection_id":132209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57e0"} 
[2026-07-13 01:25:15] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":30,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674683392001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783885783000,"timestamp_ms":1783885783000,"timestamp_seconds":1783885783,"priority":1,"record_length":96,"hex_timestamp":"0000019f57e0dfd8"} 
[2026-07-13 01:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 01:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":132209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":132209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":132209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674683392001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674683392001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:25:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:25:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674683392001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":132209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:25:15] local.INFO: GPS data processed {"connection_id":132209,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:25:15] local.INFO: Acknowledgment sent {"connection_id":132209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:25:42] local.INFO: TCP Data received {"connection_id":130111,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:25:42] local.INFO: Processing buffer {"connection_id":130111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:25:42] local.INFO: IMEI packet received {"connection_id":130111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":130111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:25:43] local.INFO: TCP Data received {"connection_id":130112,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130112,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:25:43] local.INFO: Processing buffer {"connection_id":130112,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:25:43] local.INFO: IMEI packet received {"connection_id":130112,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 01:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":130112,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:25:46] local.INFO: TCP Data received {"connection_id":130111,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:25:46] local.INFO: Processing buffer {"connection_id":130111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:25:46] local.INFO: IMEI packet received {"connection_id":130111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":130111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:25:47] local.INFO: TCP Data received {"connection_id":130111,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f57e577a0012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57e577a0012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:25:47] local.INFO: Processing buffer {"connection_id":130111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57e577a0012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:25:47] local.INFO: Packet analysis {"connection_id":130111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57e5"} 
[2026-07-13 01:25:47] local.INFO: Extracted packet for processing {"connection_id":130111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57e5"} 
[2026-07-13 01:25:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01: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-07-13 01:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674760448001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783886084000,"timestamp_ms":1783886084000,"timestamp_seconds":1783886084,"priority":1,"record_length":96,"hex_timestamp":"0000019f57e577a0"} 
[2026-07-13 01:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01: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-07-13 01:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674760448001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674760448001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:25:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:25:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674760448001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":130111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:25:47] local.INFO: GPS data processed {"connection_id":130111,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:25:47] local.INFO: Acknowledgment sent {"connection_id":130111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:25:52] local.INFO: TCP Data received {"connection_id":130111,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f57e577a0012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57e577a0012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:25:52] local.INFO: Processing buffer {"connection_id":130111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57e577a0012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:25:52] local.INFO: Packet analysis {"connection_id":130111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57e5"} 
[2026-07-13 01:25:52] local.INFO: Extracted packet for processing {"connection_id":130111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57e5"} 
[2026-07-13 01:25:52] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674760448001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783886084000,"timestamp_ms":1783886084000,"timestamp_seconds":1783886084,"priority":1,"record_length":96,"hex_timestamp":"0000019f57e577a0"} 
[2026-07-13 01:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":130111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":130111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":130111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:25: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-07-13 01:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674760448001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674760448001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:25:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:25:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674760448001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":130111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:25:52] local.INFO: GPS data processed {"connection_id":130111,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:25:52] local.INFO: Acknowledgment sent {"connection_id":130111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:26:36] local.INFO: TCP Data received {"connection_id":130878,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:26:36] local.INFO: Processing buffer {"connection_id":130878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:26:36] local.INFO: IMEI packet received {"connection_id":130878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":130878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:26:41] local.INFO: TCP Data received {"connection_id":130878,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:26:41] local.INFO: Processing buffer {"connection_id":130878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:26:41] local.INFO: IMEI packet received {"connection_id":130878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":130878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:26:42] local.INFO: TCP Data received {"connection_id":130878,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f57e577a0012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57e577a0012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:26:42] local.INFO: Processing buffer {"connection_id":130878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57e577a0012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:26:42] local.INFO: Packet analysis {"connection_id":130878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57e5"} 
[2026-07-13 01:26:42] local.INFO: Extracted packet for processing {"connection_id":130878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57e5"} 
[2026-07-13 01:26:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674760448001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783886084000,"timestamp_ms":1783886084000,"timestamp_seconds":1783886084,"priority":1,"record_length":96,"hex_timestamp":"0000019f57e577a0"} 
[2026-07-13 01:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674760448001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674760448001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:26:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:26:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674760448001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":130878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:26:42] local.INFO: GPS data processed {"connection_id":130878,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:26:42] local.INFO: Acknowledgment sent {"connection_id":130878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:27:13] local.INFO: TCP Data received {"connection_id":130878,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f57e577a0012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57e577a0012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:27:13] local.INFO: Processing buffer {"connection_id":130878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57e577a0012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:27:13] local.INFO: Packet analysis {"connection_id":130878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57e5"} 
[2026-07-13 01:27:13] local.INFO: Extracted packet for processing {"connection_id":130878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57e5"} 
[2026-07-13 01:27:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674760448001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783886084000,"timestamp_ms":1783886084000,"timestamp_seconds":1783886084,"priority":1,"record_length":96,"hex_timestamp":"0000019f57e577a0"} 
[2026-07-13 01:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674760448001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674760448001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:27:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:27:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674760448001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":130878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:27:13] local.INFO: GPS data processed {"connection_id":130878,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:27:13] local.INFO: Acknowledgment sent {"connection_id":130878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:27:41] local.INFO: TCP Data received {"connection_id":130880,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:27:41] local.INFO: Processing buffer {"connection_id":130880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:27:41] local.INFO: IMEI packet received {"connection_id":130880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":130880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:27:46] local.INFO: TCP Data received {"connection_id":130880,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:27:46] local.INFO: Processing buffer {"connection_id":130880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:27:46] local.INFO: IMEI packet received {"connection_id":130880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":130880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:27:48] local.INFO: TCP Data received {"connection_id":130880,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f57e577a0012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57e577a0012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:27:48] local.INFO: Processing buffer {"connection_id":130880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57e577a0012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:27:48] local.INFO: Packet analysis {"connection_id":130880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57e5"} 
[2026-07-13 01:27:48] local.INFO: Extracted packet for processing {"connection_id":130880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57e5"} 
[2026-07-13 01:27:48] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674760448001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783886084000,"timestamp_ms":1783886084000,"timestamp_seconds":1783886084,"priority":1,"record_length":96,"hex_timestamp":"0000019f57e577a0"} 
[2026-07-13 01:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:27:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":130880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":130880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":130880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674760448001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674760448001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:27:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:27:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674760448001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":130880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:27:48] local.INFO: GPS data processed {"connection_id":130880,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:27:48] local.INFO: Acknowledgment sent {"connection_id":130880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:27:51] local.INFO: TCP Data received {"connection_id":130880,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f57e577a0012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57e577a0012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:27:51] local.INFO: Processing buffer {"connection_id":130880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57e577a0012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:27:51] local.INFO: Packet analysis {"connection_id":130880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57e5"} 
[2026-07-13 01:27:51] local.INFO: Extracted packet for processing {"connection_id":130880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57e5"} 
[2026-07-13 01:27:51] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 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-07-13 01:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674760448001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783886084000,"timestamp_ms":1783886084000,"timestamp_seconds":1783886084,"priority":1,"record_length":96,"hex_timestamp":"0000019f57e577a0"} 
[2026-07-13 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-07-13 01:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 01:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:27: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-07-13 01:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674760448001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674760448001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:27:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:27:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674760448001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":130880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:27:51] local.INFO: GPS data processed {"connection_id":130880,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:27:51] local.INFO: Acknowledgment sent {"connection_id":130880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:28:36] local.INFO: TCP Data received {"connection_id":129902,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:28:36] local.INFO: Processing buffer {"connection_id":129902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:28:36] local.INFO: IMEI packet received {"connection_id":129902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":129902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:28:41] local.INFO: TCP Data received {"connection_id":129902,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:28:41] local.INFO: Processing buffer {"connection_id":129902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:28:41] local.INFO: IMEI packet received {"connection_id":129902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":129902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:28:42] local.INFO: TCP Data received {"connection_id":129902,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f57e577a0012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57e577a0012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:28:42] local.INFO: Processing buffer {"connection_id":129902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57e577a0012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:28:42] local.INFO: Packet analysis {"connection_id":129902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57e5"} 
[2026-07-13 01:28:42] local.INFO: Extracted packet for processing {"connection_id":129902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57e5"} 
[2026-07-13 01:28:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674760448001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783886084000,"timestamp_ms":1783886084000,"timestamp_seconds":1783886084,"priority":1,"record_length":96,"hex_timestamp":"0000019f57e577a0"} 
[2026-07-13 01:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674760448001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674760448001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:28:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:28:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674760448001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":129902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:28:42] local.INFO: GPS data processed {"connection_id":129902,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:28:42] local.INFO: Acknowledgment sent {"connection_id":129902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:29:13] local.INFO: TCP Data received {"connection_id":129902,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f57e577a0012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57e577a0012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:29:13] local.INFO: Processing buffer {"connection_id":129902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57e577a0012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:29:13] local.INFO: Packet analysis {"connection_id":129902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57e5"} 
[2026-07-13 01:29:13] local.INFO: Extracted packet for processing {"connection_id":129902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57e5"} 
[2026-07-13 01:29:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674760448001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783886084000,"timestamp_ms":1783886084000,"timestamp_seconds":1783886084,"priority":1,"record_length":96,"hex_timestamp":"0000019f57e577a0"} 
[2026-07-13 01:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674760448001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674760448001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:29:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:29:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674760448001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":129902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:29:13] local.INFO: GPS data processed {"connection_id":129902,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:29:13] local.INFO: Acknowledgment sent {"connection_id":129902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:29:36] local.INFO: TCP Data received {"connection_id":130882,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:29:36] local.INFO: Processing buffer {"connection_id":130882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:29:36] local.INFO: IMEI packet received {"connection_id":130882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":130882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:29:41] local.INFO: TCP Data received {"connection_id":130882,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:29:41] local.INFO: Processing buffer {"connection_id":130882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:29:41] local.INFO: IMEI packet received {"connection_id":130882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":130882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:29:42] local.INFO: TCP Data received {"connection_id":130882,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f57e577a0012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57e577a0012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:29:42] local.INFO: Processing buffer {"connection_id":130882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57e577a0012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:29:42] local.INFO: Packet analysis {"connection_id":130882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57e5"} 
[2026-07-13 01:29:42] local.INFO: Extracted packet for processing {"connection_id":130882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57e5"} 
[2026-07-13 01:29:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674760448001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783886084000,"timestamp_ms":1783886084000,"timestamp_seconds":1783886084,"priority":1,"record_length":96,"hex_timestamp":"0000019f57e577a0"} 
[2026-07-13 01:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674760448001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674760448001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:29:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:29:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674760448001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":130882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:29:42] local.INFO: GPS data processed {"connection_id":130882,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:29:42] local.INFO: Acknowledgment sent {"connection_id":130882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:30:13] local.INFO: TCP Data received {"connection_id":130882,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f57e577a0012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57e577a0012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:30:13] local.INFO: Processing buffer {"connection_id":130882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57e577a0012d7f8fc005afdd900000013822..."} 
[2026-07-13 01:30:13] local.INFO: Packet analysis {"connection_id":130882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57e5"} 
[2026-07-13 01:30:13] local.INFO: Extracted packet for processing {"connection_id":130882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57e5"} 
[2026-07-13 01:30:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674760448001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783886084000,"timestamp_ms":1783886084000,"timestamp_seconds":1783886084,"priority":1,"record_length":96,"hex_timestamp":"0000019f57e577a0"} 
[2026-07-13 01:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674760448001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674760448001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:30:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:30:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674760448001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":130882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:30:13] local.INFO: GPS data processed {"connection_id":130882,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:30:13] local.INFO: Acknowledgment sent {"connection_id":130882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:30:36] local.INFO: TCP Data received {"connection_id":132212,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:30:36] local.INFO: Processing buffer {"connection_id":132212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:30:36] local.INFO: IMEI packet received {"connection_id":132212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":132212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:30:41] local.INFO: TCP Data received {"connection_id":132212,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:30:41] local.INFO: Processing buffer {"connection_id":132212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:30:41] local.INFO: IMEI packet received {"connection_id":132212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":132212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:30:42] local.INFO: TCP Data received {"connection_id":132212,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f57ea0f68012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57ea0f68012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:30:42] local.INFO: Processing buffer {"connection_id":132212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57ea0f68012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:30:42] local.INFO: Packet analysis {"connection_id":132212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ea"} 
[2026-07-13 01:30:42] local.INFO: Extracted packet for processing {"connection_id":132212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ea"} 
[2026-07-13 01:30:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674837504001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783886385000,"timestamp_ms":1783886385000,"timestamp_seconds":1783886385,"priority":1,"record_length":96,"hex_timestamp":"0000019f57ea0f68"} 
[2026-07-13 01:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674837504001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674837504001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:30:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:30:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674837504001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":132212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:30:42] local.INFO: GPS data processed {"connection_id":132212,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:30:42] local.INFO: Acknowledgment sent {"connection_id":132212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:31:09] local.INFO: TCP Data received {"connection_id":130883,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130883,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:31:09] local.INFO: Processing buffer {"connection_id":130883,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:31:09] local.INFO: IMEI packet received {"connection_id":130883,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 01:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":130883,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:31:13] local.INFO: TCP Data received {"connection_id":132212,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f57ea0f68012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57ea0f68012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:31:13] local.INFO: Processing buffer {"connection_id":132212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57ea0f68012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:31:13] local.INFO: Packet analysis {"connection_id":132212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ea"} 
[2026-07-13 01:31:13] local.INFO: Extracted packet for processing {"connection_id":132212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ea"} 
[2026-07-13 01:31:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674837504001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783886385000,"timestamp_ms":1783886385000,"timestamp_seconds":1783886385,"priority":1,"record_length":96,"hex_timestamp":"0000019f57ea0f68"} 
[2026-07-13 01:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674837504001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674837504001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:31:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:31:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674837504001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":132212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:31:13] local.INFO: GPS data processed {"connection_id":132212,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:31:13] local.INFO: Acknowledgment sent {"connection_id":132212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:31:36] local.INFO: TCP Data received {"connection_id":129904,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:31:36] local.INFO: Processing buffer {"connection_id":129904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:31:36] local.INFO: IMEI packet received {"connection_id":129904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":129904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:31:41] local.INFO: TCP Data received {"connection_id":129904,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:31:41] local.INFO: Processing buffer {"connection_id":129904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:31:41] local.INFO: IMEI packet received {"connection_id":129904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":129904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:31:42] local.INFO: TCP Data received {"connection_id":129904,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f57ea0f68012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57ea0f68012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:31:42] local.INFO: Processing buffer {"connection_id":129904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57ea0f68012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:31:42] local.INFO: Packet analysis {"connection_id":129904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ea"} 
[2026-07-13 01:31:42] local.INFO: Extracted packet for processing {"connection_id":129904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ea"} 
[2026-07-13 01:31:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674837504001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783886385000,"timestamp_ms":1783886385000,"timestamp_seconds":1783886385,"priority":1,"record_length":96,"hex_timestamp":"0000019f57ea0f68"} 
[2026-07-13 01:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674837504001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674837504001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:31:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:31:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674837504001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":129904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:31:42] local.INFO: GPS data processed {"connection_id":129904,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:31:42] local.INFO: Acknowledgment sent {"connection_id":129904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:31:46] local.INFO: TCP Data received {"connection_id":129905,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129905,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:31:46] local.INFO: Processing buffer {"connection_id":129905,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:31:46] local.INFO: IMEI packet received {"connection_id":129905,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 01:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":129905,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:32:13] local.INFO: TCP Data received {"connection_id":129904,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f57ea0f68012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57ea0f68012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:32:13] local.INFO: Processing buffer {"connection_id":129904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57ea0f68012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:32:13] local.INFO: Packet analysis {"connection_id":129904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ea"} 
[2026-07-13 01:32:13] local.INFO: Extracted packet for processing {"connection_id":129904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ea"} 
[2026-07-13 01:32:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674837504001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783886385000,"timestamp_ms":1783886385000,"timestamp_seconds":1783886385,"priority":1,"record_length":96,"hex_timestamp":"0000019f57ea0f68"} 
[2026-07-13 01:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674837504001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674837504001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:32:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:32:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674837504001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":129904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:32:13] local.INFO: GPS data processed {"connection_id":129904,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:32:13] local.INFO: Acknowledgment sent {"connection_id":129904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:32:41] local.INFO: TCP Data received {"connection_id":130113,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:32:41] local.INFO: Processing buffer {"connection_id":130113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:32:41] local.INFO: IMEI packet received {"connection_id":130113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":130113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:32:46] local.INFO: TCP Data received {"connection_id":130113,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:32:46] local.INFO: Processing buffer {"connection_id":130113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:32:46] local.INFO: IMEI packet received {"connection_id":130113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":130113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:32:47] local.INFO: TCP Data received {"connection_id":130113,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57ea0f68012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57ea0f68012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:32:47] local.INFO: Processing buffer {"connection_id":130113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57ea0f68012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:32:47] local.INFO: Packet analysis {"connection_id":130113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ea"} 
[2026-07-13 01:32:47] local.INFO: Extracted packet for processing {"connection_id":130113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ea"} 
[2026-07-13 01:32:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674837504001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783886385000,"timestamp_ms":1783886385000,"timestamp_seconds":1783886385,"priority":1,"record_length":96,"hex_timestamp":"0000019f57ea0f68"} 
[2026-07-13 01:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674837504001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674837504001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:32:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:32:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674837504001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":130113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:32:47] local.INFO: GPS data processed {"connection_id":130113,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:32:47] local.INFO: Acknowledgment sent {"connection_id":130113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:32:51] local.INFO: TCP Data received {"connection_id":130113,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f57ea0f68012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57ea0f68012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:32:51] local.INFO: Processing buffer {"connection_id":130113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57ea0f68012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:32:51] local.INFO: Packet analysis {"connection_id":130113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ea"} 
[2026-07-13 01:32:51] local.INFO: Extracted packet for processing {"connection_id":130113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ea"} 
[2026-07-13 01:32:51] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 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-07-13 01:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674837504001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783886385000,"timestamp_ms":1783886385000,"timestamp_seconds":1783886385,"priority":1,"record_length":96,"hex_timestamp":"0000019f57ea0f68"} 
[2026-07-13 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-07-13 01:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 01:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:32: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-07-13 01:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674837504001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674837504001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:32:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:32:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674837504001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":130113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:32:51] local.INFO: GPS data processed {"connection_id":130113,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:32:51] local.INFO: Acknowledgment sent {"connection_id":130113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:33:36] local.INFO: TCP Data received {"connection_id":130885,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:33:36] local.INFO: Processing buffer {"connection_id":130885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:33:36] local.INFO: IMEI packet received {"connection_id":130885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":130885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:33:41] local.INFO: TCP Data received {"connection_id":130885,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:33:41] local.INFO: Processing buffer {"connection_id":130885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:33:41] local.INFO: IMEI packet received {"connection_id":130885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":130885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:33:42] local.INFO: TCP Data received {"connection_id":130885,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f57ea0f68012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57ea0f68012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:33:42] local.INFO: Processing buffer {"connection_id":130885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57ea0f68012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:33:42] local.INFO: Packet analysis {"connection_id":130885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ea"} 
[2026-07-13 01:33:42] local.INFO: Extracted packet for processing {"connection_id":130885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ea"} 
[2026-07-13 01:33:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674837504001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783886385000,"timestamp_ms":1783886385000,"timestamp_seconds":1783886385,"priority":1,"record_length":96,"hex_timestamp":"0000019f57ea0f68"} 
[2026-07-13 01:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674837504001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674837504001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:33:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:33:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674837504001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":130885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:33:42] local.INFO: GPS data processed {"connection_id":130885,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:33:42] local.INFO: Acknowledgment sent {"connection_id":130885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:34:13] local.INFO: TCP Data received {"connection_id":130885,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f57ea0f68012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57ea0f68012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:34:13] local.INFO: Processing buffer {"connection_id":130885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57ea0f68012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:34:13] local.INFO: Packet analysis {"connection_id":130885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ea"} 
[2026-07-13 01:34:13] local.INFO: Extracted packet for processing {"connection_id":130885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ea"} 
[2026-07-13 01:34:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674837504001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783886385000,"timestamp_ms":1783886385000,"timestamp_seconds":1783886385,"priority":1,"record_length":96,"hex_timestamp":"0000019f57ea0f68"} 
[2026-07-13 01:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674837504001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674837504001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:34:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:34:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674837504001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":130885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:34:13] local.INFO: GPS data processed {"connection_id":130885,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:34:13] local.INFO: Acknowledgment sent {"connection_id":130885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:34:36] local.INFO: TCP Data received {"connection_id":132214,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:34:36] local.INFO: Processing buffer {"connection_id":132214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:34:36] local.INFO: IMEI packet received {"connection_id":132214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":132214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:34:41] local.INFO: TCP Data received {"connection_id":132214,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:34:41] local.INFO: Processing buffer {"connection_id":132214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:34:41] local.INFO: IMEI packet received {"connection_id":132214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":132214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:34:42] local.INFO: TCP Data received {"connection_id":132214,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f57ea0f68012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57ea0f68012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:34:42] local.INFO: Processing buffer {"connection_id":132214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57ea0f68012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:34:42] local.INFO: Packet analysis {"connection_id":132214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ea"} 
[2026-07-13 01:34:42] local.INFO: Extracted packet for processing {"connection_id":132214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ea"} 
[2026-07-13 01:34:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674837504001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783886385000,"timestamp_ms":1783886385000,"timestamp_seconds":1783886385,"priority":1,"record_length":96,"hex_timestamp":"0000019f57ea0f68"} 
[2026-07-13 01:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674837504001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674837504001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:34:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:34:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674837504001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":132214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:34:42] local.INFO: GPS data processed {"connection_id":132214,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:34:42] local.INFO: Acknowledgment sent {"connection_id":132214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:35:13] local.INFO: TCP Data received {"connection_id":132214,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f57ea0f68012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57ea0f68012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:35:13] local.INFO: Processing buffer {"connection_id":132214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57ea0f68012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:35:13] local.INFO: Packet analysis {"connection_id":132214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ea"} 
[2026-07-13 01:35:13] local.INFO: Extracted packet for processing {"connection_id":132214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ea"} 
[2026-07-13 01:35:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674837504001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783886385000,"timestamp_ms":1783886385000,"timestamp_seconds":1783886385,"priority":1,"record_length":96,"hex_timestamp":"0000019f57ea0f68"} 
[2026-07-13 01:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674837504001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674837504001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:35:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:35:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674837504001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":132214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:35:13] local.INFO: GPS data processed {"connection_id":132214,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:35:13] local.INFO: Acknowledgment sent {"connection_id":132214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:35:36] local.INFO: TCP Data received {"connection_id":130887,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:35:36] local.INFO: Processing buffer {"connection_id":130887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:35:36] local.INFO: IMEI packet received {"connection_id":130887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":130887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:35:41] local.INFO: TCP Data received {"connection_id":130887,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:35:41] local.INFO: Processing buffer {"connection_id":130887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:35:41] local.INFO: IMEI packet received {"connection_id":130887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":130887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:35:41] local.INFO: TCP Data received {"connection_id":130887,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f57eea730012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57eea730012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:35:41] local.INFO: Processing buffer {"connection_id":130887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57eea730012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:35:41] local.INFO: Packet analysis {"connection_id":130887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ee"} 
[2026-07-13 01:35:41] local.INFO: Extracted packet for processing {"connection_id":130887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ee"} 
[2026-07-13 01:35:41] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674914560001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783886686000,"timestamp_ms":1783886686000,"timestamp_seconds":1783886686,"priority":1,"record_length":96,"hex_timestamp":"0000019f57eea730"} 
[2026-07-13 01:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 01:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674914560001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674914560001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:35:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:35:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674914560001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":130887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:35:42] local.INFO: GPS data processed {"connection_id":130887,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:35:42] local.INFO: Acknowledgment sent {"connection_id":130887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:36:13] local.INFO: TCP Data received {"connection_id":130887,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f57eea730012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57eea730012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:36:13] local.INFO: Processing buffer {"connection_id":130887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57eea730012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:36:13] local.INFO: Packet analysis {"connection_id":130887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ee"} 
[2026-07-13 01:36:13] local.INFO: Extracted packet for processing {"connection_id":130887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ee"} 
[2026-07-13 01:36:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674914560001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783886686000,"timestamp_ms":1783886686000,"timestamp_seconds":1783886686,"priority":1,"record_length":96,"hex_timestamp":"0000019f57eea730"} 
[2026-07-13 01:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 01:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674914560001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674914560001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:36:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:36:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674914560001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":130887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:36:13] local.INFO: GPS data processed {"connection_id":130887,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:36:13] local.INFO: Acknowledgment sent {"connection_id":130887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:36:36] local.INFO: TCP Data received {"connection_id":129907,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:36:36] local.INFO: Processing buffer {"connection_id":129907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:36:36] local.INFO: IMEI packet received {"connection_id":129907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":129907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:36:41] local.INFO: TCP Data received {"connection_id":129907,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:36:41] local.INFO: Processing buffer {"connection_id":129907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:36:41] local.INFO: IMEI packet received {"connection_id":129907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":129907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:36:42] local.INFO: TCP Data received {"connection_id":129907,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f57eea730012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57eea730012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:36:42] local.INFO: Processing buffer {"connection_id":129907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57eea730012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:36:42] local.INFO: Packet analysis {"connection_id":129907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ee"} 
[2026-07-13 01:36:42] local.INFO: Extracted packet for processing {"connection_id":129907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ee"} 
[2026-07-13 01:36:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674914560001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783886686000,"timestamp_ms":1783886686000,"timestamp_seconds":1783886686,"priority":1,"record_length":96,"hex_timestamp":"0000019f57eea730"} 
[2026-07-13 01:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 01:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674914560001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674914560001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:36:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:36:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674914560001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":129907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:36:42] local.INFO: GPS data processed {"connection_id":129907,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:36:42] local.INFO: Acknowledgment sent {"connection_id":129907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:37:13] local.INFO: TCP Data received {"connection_id":129907,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f57eea730012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57eea730012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:37:13] local.INFO: Processing buffer {"connection_id":129907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57eea730012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:37:13] local.INFO: Packet analysis {"connection_id":129907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ee"} 
[2026-07-13 01:37:13] local.INFO: Extracted packet for processing {"connection_id":129907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ee"} 
[2026-07-13 01:37:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674914560001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783886686000,"timestamp_ms":1783886686000,"timestamp_seconds":1783886686,"priority":1,"record_length":96,"hex_timestamp":"0000019f57eea730"} 
[2026-07-13 01:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 01:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674914560001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674914560001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:37:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:37:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674914560001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":129907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:37:13] local.INFO: GPS data processed {"connection_id":129907,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:37:13] local.INFO: Acknowledgment sent {"connection_id":129907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:37:19] local.INFO: TCP Data received {"connection_id":132215,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:37:19] local.INFO: Processing buffer {"connection_id":132215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:37:19] local.INFO: IMEI packet received {"connection_id":132215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 01:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":132215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:37:41] local.INFO: TCP Data received {"connection_id":130888,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:37:41] local.INFO: Processing buffer {"connection_id":130888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:37:41] local.INFO: IMEI packet received {"connection_id":130888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":130888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:37:41] local.INFO: TCP Data received {"connection_id":130889,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130889,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:37:41] local.INFO: Processing buffer {"connection_id":130889,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:37:41] local.INFO: IMEI packet received {"connection_id":130889,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 01:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":130889,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:37:46] local.INFO: TCP Data received {"connection_id":130888,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:37:46] local.INFO: Processing buffer {"connection_id":130888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:37:46] local.INFO: IMEI packet received {"connection_id":130888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":130888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:37:47] local.INFO: TCP Data received {"connection_id":130888,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f57eea730012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57eea730012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:37:47] local.INFO: Processing buffer {"connection_id":130888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57eea730012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:37:47] local.INFO: Packet analysis {"connection_id":130888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ee"} 
[2026-07-13 01:37:47] local.INFO: Extracted packet for processing {"connection_id":130888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ee"} 
[2026-07-13 01:37:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674914560001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783886686000,"timestamp_ms":1783886686000,"timestamp_seconds":1783886686,"priority":1,"record_length":96,"hex_timestamp":"0000019f57eea730"} 
[2026-07-13 01:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 01:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674914560001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674914560001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:37:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:37:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674914560001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":130888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:37:47] local.INFO: GPS data processed {"connection_id":130888,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:37:47] local.INFO: Acknowledgment sent {"connection_id":130888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:37:51] local.INFO: TCP Data received {"connection_id":130888,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f57eea730012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57eea730012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:37:51] local.INFO: Processing buffer {"connection_id":130888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57eea730012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:37:51] local.INFO: Packet analysis {"connection_id":130888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ee"} 
[2026-07-13 01:37:51] local.INFO: Extracted packet for processing {"connection_id":130888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ee"} 
[2026-07-13 01:37:51] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 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-07-13 01:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674914560001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783886686000,"timestamp_ms":1783886686000,"timestamp_seconds":1783886686,"priority":1,"record_length":96,"hex_timestamp":"0000019f57eea730"} 
[2026-07-13 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-07-13 01:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 01:37: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-07-13 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-07-13 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-07-13 01:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:37: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-07-13 01:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674914560001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674914560001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:37:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:37:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674914560001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":130888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:37:51] local.INFO: GPS data processed {"connection_id":130888,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:37:51] local.INFO: Acknowledgment sent {"connection_id":130888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:38:36] local.INFO: TCP Data received {"connection_id":132216,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:38:36] local.INFO: Processing buffer {"connection_id":132216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:38:36] local.INFO: IMEI packet received {"connection_id":132216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":132216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:38:41] local.INFO: TCP Data received {"connection_id":132216,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:38:41] local.INFO: Processing buffer {"connection_id":132216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:38:41] local.INFO: IMEI packet received {"connection_id":132216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":132216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:38:42] local.INFO: TCP Data received {"connection_id":132216,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f57eea730012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57eea730012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:38:42] local.INFO: Processing buffer {"connection_id":132216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57eea730012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:38:42] local.INFO: Packet analysis {"connection_id":132216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ee"} 
[2026-07-13 01:38:42] local.INFO: Extracted packet for processing {"connection_id":132216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ee"} 
[2026-07-13 01:38:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674914560001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783886686000,"timestamp_ms":1783886686000,"timestamp_seconds":1783886686,"priority":1,"record_length":96,"hex_timestamp":"0000019f57eea730"} 
[2026-07-13 01:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 01:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674914560001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674914560001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:38:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:38:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674914560001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":132216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:38:42] local.INFO: GPS data processed {"connection_id":132216,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:38:42] local.INFO: Acknowledgment sent {"connection_id":132216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:39:13] local.INFO: TCP Data received {"connection_id":132216,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f57eea730012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57eea730012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:39:13] local.INFO: Processing buffer {"connection_id":132216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57eea730012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:39:13] local.INFO: Packet analysis {"connection_id":132216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ee"} 
[2026-07-13 01:39:13] local.INFO: Extracted packet for processing {"connection_id":132216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ee"} 
[2026-07-13 01:39:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674914560001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783886686000,"timestamp_ms":1783886686000,"timestamp_seconds":1783886686,"priority":1,"record_length":96,"hex_timestamp":"0000019f57eea730"} 
[2026-07-13 01:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 01:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674914560001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674914560001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:39:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:39:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674914560001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":132216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:39:13] local.INFO: GPS data processed {"connection_id":132216,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:39:13] local.INFO: Acknowledgment sent {"connection_id":132216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:39:36] local.INFO: TCP Data received {"connection_id":129908,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:39:36] local.INFO: Processing buffer {"connection_id":129908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:39:36] local.INFO: IMEI packet received {"connection_id":129908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":129908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:39:41] local.INFO: TCP Data received {"connection_id":129908,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:39:41] local.INFO: Processing buffer {"connection_id":129908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:39:41] local.INFO: IMEI packet received {"connection_id":129908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":129908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:39:42] local.INFO: TCP Data received {"connection_id":129908,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f57eea730012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57eea730012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:39:42] local.INFO: Processing buffer {"connection_id":129908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57eea730012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:39:42] local.INFO: Packet analysis {"connection_id":129908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ee"} 
[2026-07-13 01:39:42] local.INFO: Extracted packet for processing {"connection_id":129908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ee"} 
[2026-07-13 01:39:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674914560001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783886686000,"timestamp_ms":1783886686000,"timestamp_seconds":1783886686,"priority":1,"record_length":96,"hex_timestamp":"0000019f57eea730"} 
[2026-07-13 01:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 01:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674914560001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674914560001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:39:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:39:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674914560001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":129908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:39:42] local.INFO: GPS data processed {"connection_id":129908,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:39:42] local.INFO: Acknowledgment sent {"connection_id":129908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:40:13] local.INFO: TCP Data received {"connection_id":129908,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f57eea730012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57eea730012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:40:13] local.INFO: Processing buffer {"connection_id":129908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57eea730012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:40:13] local.INFO: Packet analysis {"connection_id":129908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57ee"} 
[2026-07-13 01:40:13] local.INFO: Extracted packet for processing {"connection_id":129908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57ee"} 
[2026-07-13 01:40:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674914560001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783886686000,"timestamp_ms":1783886686000,"timestamp_seconds":1783886686,"priority":1,"record_length":96,"hex_timestamp":"0000019f57eea730"} 
[2026-07-13 01:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:40:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 01:40:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674914560001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674914560001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:40:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:40:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674914560001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":129908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:40:13] local.INFO: GPS data processed {"connection_id":129908,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:40:13] local.INFO: Acknowledgment sent {"connection_id":129908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:40:36] local.INFO: TCP Data received {"connection_id":130890,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:40:36] local.INFO: Processing buffer {"connection_id":130890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:40:36] local.INFO: IMEI packet received {"connection_id":130890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":130890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:40:41] local.INFO: TCP Data received {"connection_id":130890,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:40:41] local.INFO: Processing buffer {"connection_id":130890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:40:41] local.INFO: IMEI packet received {"connection_id":130890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":130890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:40:42] local.INFO: TCP Data received {"connection_id":130890,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f57f33ef8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57f33ef8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:40:42] local.INFO: Processing buffer {"connection_id":130890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57f33ef8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:40:42] local.INFO: Packet analysis {"connection_id":130890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57f3"} 
[2026-07-13 01:40:42] local.INFO: Extracted packet for processing {"connection_id":130890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57f3"} 
[2026-07-13 01:40:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":30,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674991616001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783886987000,"timestamp_ms":1783886987000,"timestamp_seconds":1783886987,"priority":1,"record_length":96,"hex_timestamp":"0000019f57f33ef8"} 
[2026-07-13 01:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674991616001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674991616001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:40:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:40:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674991616001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":130890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:40:42] local.INFO: GPS data processed {"connection_id":130890,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:40:42] local.INFO: Acknowledgment sent {"connection_id":130890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:41:13] local.INFO: TCP Data received {"connection_id":130890,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f57f33ef8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57f33ef8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:41:13] local.INFO: Processing buffer {"connection_id":130890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57f33ef8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:41:13] local.INFO: Packet analysis {"connection_id":130890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57f3"} 
[2026-07-13 01:41:13] local.INFO: Extracted packet for processing {"connection_id":130890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57f3"} 
[2026-07-13 01:41:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":30,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674991616001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783886987000,"timestamp_ms":1783886987000,"timestamp_seconds":1783886987,"priority":1,"record_length":96,"hex_timestamp":"0000019f57f33ef8"} 
[2026-07-13 01:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674991616001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674991616001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:41:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:41:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674991616001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":130890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:41:13] local.INFO: GPS data processed {"connection_id":130890,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:41:13] local.INFO: Acknowledgment sent {"connection_id":130890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:41:36] local.INFO: TCP Data received {"connection_id":130114,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:41:36] local.INFO: Processing buffer {"connection_id":130114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:41:36] local.INFO: IMEI packet received {"connection_id":130114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":130114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:41:41] local.INFO: TCP Data received {"connection_id":130114,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:41:41] local.INFO: Processing buffer {"connection_id":130114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:41:41] local.INFO: IMEI packet received {"connection_id":130114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":130114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:41:42] local.INFO: TCP Data received {"connection_id":130114,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f57f33ef8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57f33ef8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:41:42] local.INFO: Processing buffer {"connection_id":130114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57f33ef8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:41:42] local.INFO: Packet analysis {"connection_id":130114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57f3"} 
[2026-07-13 01:41:42] local.INFO: Extracted packet for processing {"connection_id":130114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57f3"} 
[2026-07-13 01:41:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":30,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674991616001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783886987000,"timestamp_ms":1783886987000,"timestamp_seconds":1783886987,"priority":1,"record_length":96,"hex_timestamp":"0000019f57f33ef8"} 
[2026-07-13 01:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674991616001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674991616001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:41:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:41:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674991616001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":130114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:41:42] local.INFO: GPS data processed {"connection_id":130114,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:41:42] local.INFO: Acknowledgment sent {"connection_id":130114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:42:13] local.INFO: TCP Data received {"connection_id":130114,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f57f33ef8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57f33ef8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:42:13] local.INFO: Processing buffer {"connection_id":130114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57f33ef8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:42:13] local.INFO: Packet analysis {"connection_id":130114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57f3"} 
[2026-07-13 01:42:13] local.INFO: Extracted packet for processing {"connection_id":130114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57f3"} 
[2026-07-13 01:42:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":30,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674991616001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783886987000,"timestamp_ms":1783886987000,"timestamp_seconds":1783886987,"priority":1,"record_length":96,"hex_timestamp":"0000019f57f33ef8"} 
[2026-07-13 01:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674991616001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674991616001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:42:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:42:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674991616001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":130114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:42:13] local.INFO: GPS data processed {"connection_id":130114,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:42:13] local.INFO: Acknowledgment sent {"connection_id":130114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:42:41] local.INFO: TCP Data received {"connection_id":129910,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:42:41] local.INFO: Processing buffer {"connection_id":129910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:42:41] local.INFO: IMEI packet received {"connection_id":129910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":129910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:42:46] local.INFO: TCP Data received {"connection_id":129910,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:42:46] local.INFO: Processing buffer {"connection_id":129910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:42:46] local.INFO: IMEI packet received {"connection_id":129910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":129910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:42:47] local.INFO: TCP Data received {"connection_id":129910,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f57f33ef8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57f33ef8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:42:47] local.INFO: Processing buffer {"connection_id":129910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57f33ef8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:42:47] local.INFO: Packet analysis {"connection_id":129910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57f3"} 
[2026-07-13 01:42:47] local.INFO: Extracted packet for processing {"connection_id":129910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57f3"} 
[2026-07-13 01:42:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":30,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674991616001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783886987000,"timestamp_ms":1783886987000,"timestamp_seconds":1783886987,"priority":1,"record_length":96,"hex_timestamp":"0000019f57f33ef8"} 
[2026-07-13 01:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":129910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":129910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":129910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674991616001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674991616001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:42:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:42:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674991616001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":129910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:42:47] local.INFO: GPS data processed {"connection_id":129910,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:42:47] local.INFO: Acknowledgment sent {"connection_id":129910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:42:52] local.INFO: TCP Data received {"connection_id":129910,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f57f33ef8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57f33ef8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:42:52] local.INFO: Processing buffer {"connection_id":129910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57f33ef8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:42:52] local.INFO: Packet analysis {"connection_id":129910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57f3"} 
[2026-07-13 01:42:52] local.INFO: Extracted packet for processing {"connection_id":129910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57f3"} 
[2026-07-13 01:42:52] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":30,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674991616001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783886987000,"timestamp_ms":1783886987000,"timestamp_seconds":1783886987,"priority":1,"record_length":96,"hex_timestamp":"0000019f57f33ef8"} 
[2026-07-13 01:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:42:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":129910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":129910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":129910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:42: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-07-13 01:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674991616001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674991616001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:42:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:42:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674991616001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":129910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:42:52] local.INFO: GPS data processed {"connection_id":129910,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:42:52] local.INFO: Acknowledgment sent {"connection_id":129910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:43:14] local.INFO: TCP Data received {"connection_id":130892,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:43:14] local.INFO: Processing buffer {"connection_id":130892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:43:14] local.INFO: IMEI packet received {"connection_id":130892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 01:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":130892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:43:36] local.INFO: TCP Data received {"connection_id":130893,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:43:36] local.INFO: Processing buffer {"connection_id":130893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:43:36] local.INFO: IMEI packet received {"connection_id":130893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":130893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:43:41] local.INFO: TCP Data received {"connection_id":130894,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130894,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:43:41] local.INFO: Processing buffer {"connection_id":130894,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:43:41] local.INFO: IMEI packet received {"connection_id":130894,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 01:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":130894,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:43:41] local.INFO: TCP Data received {"connection_id":130893,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:43:41] local.INFO: Processing buffer {"connection_id":130893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:43:41] local.INFO: IMEI packet received {"connection_id":130893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":130893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:43:42] local.INFO: TCP Data received {"connection_id":130893,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f57f33ef8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57f33ef8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:43:42] local.INFO: Processing buffer {"connection_id":130893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57f33ef8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:43:42] local.INFO: Packet analysis {"connection_id":130893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57f3"} 
[2026-07-13 01:43:42] local.INFO: Extracted packet for processing {"connection_id":130893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57f3"} 
[2026-07-13 01:43:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":30,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674991616001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783886987000,"timestamp_ms":1783886987000,"timestamp_seconds":1783886987,"priority":1,"record_length":96,"hex_timestamp":"0000019f57f33ef8"} 
[2026-07-13 01:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674991616001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674991616001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:43:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:43:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674991616001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":130893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:43:42] local.INFO: GPS data processed {"connection_id":130893,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:43:42] local.INFO: Acknowledgment sent {"connection_id":130893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:44:13] local.INFO: TCP Data received {"connection_id":130893,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f57f33ef8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57f33ef8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:44:13] local.INFO: Processing buffer {"connection_id":130893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57f33ef8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:44:13] local.INFO: Packet analysis {"connection_id":130893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57f3"} 
[2026-07-13 01:44:13] local.INFO: Extracted packet for processing {"connection_id":130893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57f3"} 
[2026-07-13 01:44:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":30,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674991616001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783886987000,"timestamp_ms":1783886987000,"timestamp_seconds":1783886987,"priority":1,"record_length":96,"hex_timestamp":"0000019f57f33ef8"} 
[2026-07-13 01:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674991616001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674991616001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:44:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:44:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674991616001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":130893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:44:13] local.INFO: GPS data processed {"connection_id":130893,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:44:13] local.INFO: Acknowledgment sent {"connection_id":130893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:44:36] local.INFO: TCP Data received {"connection_id":129911,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:44:36] local.INFO: Processing buffer {"connection_id":129911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:44:36] local.INFO: IMEI packet received {"connection_id":129911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":129911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:44:41] local.INFO: TCP Data received {"connection_id":129911,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:44:41] local.INFO: Processing buffer {"connection_id":129911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:44:41] local.INFO: IMEI packet received {"connection_id":129911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":129911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:44:42] local.INFO: TCP Data received {"connection_id":129911,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57f33ef8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57f33ef8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:44:42] local.INFO: Processing buffer {"connection_id":129911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57f33ef8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:44:42] local.INFO: Packet analysis {"connection_id":129911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57f3"} 
[2026-07-13 01:44:42] local.INFO: Extracted packet for processing {"connection_id":129911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57f3"} 
[2026-07-13 01:44:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":30,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674991616001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783886987000,"timestamp_ms":1783886987000,"timestamp_seconds":1783886987,"priority":1,"record_length":96,"hex_timestamp":"0000019f57f33ef8"} 
[2026-07-13 01:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674991616001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674991616001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:44:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:44:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674991616001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":129911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:44:42] local.INFO: GPS data processed {"connection_id":129911,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:44:42] local.INFO: Acknowledgment sent {"connection_id":129911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:45:13] local.INFO: TCP Data received {"connection_id":129911,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57f33ef8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57f33ef8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:45:13] local.INFO: Processing buffer {"connection_id":129911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57f33ef8012d7f8fc005afdd90000001381e..."} 
[2026-07-13 01:45:13] local.INFO: Packet analysis {"connection_id":129911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57f3"} 
[2026-07-13 01:45:13] local.INFO: Extracted packet for processing {"connection_id":129911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57f3"} 
[2026-07-13 01:45:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":30,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456674991616001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783886987000,"timestamp_ms":1783886987000,"timestamp_seconds":1783886987,"priority":1,"record_length":96,"hex_timestamp":"0000019f57f33ef8"} 
[2026-07-13 01:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 01:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456674991616001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456674991616001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:45:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:45:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456674991616001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":129911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:45:13] local.INFO: GPS data processed {"connection_id":129911,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:45:13] local.INFO: Acknowledgment sent {"connection_id":129911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:45:36] local.INFO: TCP Data received {"connection_id":132219,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:45:36] local.INFO: Processing buffer {"connection_id":132219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:45:36] local.INFO: IMEI packet received {"connection_id":132219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":132219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:45:41] local.INFO: TCP Data received {"connection_id":132219,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:45:41] local.INFO: Processing buffer {"connection_id":132219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:45:41] local.INFO: IMEI packet received {"connection_id":132219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":132219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:45:42] local.INFO: TCP Data received {"connection_id":132219,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57f7d6c0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57f7d6c0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:45:42] local.INFO: Processing buffer {"connection_id":132219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57f7d6c0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:45:42] local.INFO: Packet analysis {"connection_id":132219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57f7"} 
[2026-07-13 01:45:42] local.INFO: Extracted packet for processing {"connection_id":132219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57f7"} 
[2026-07-13 01:45:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675068672001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783887288000,"timestamp_ms":1783887288000,"timestamp_seconds":1783887288,"priority":1,"record_length":96,"hex_timestamp":"0000019f57f7d6c0"} 
[2026-07-13 01:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 01:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675068672001,"66":25093,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675068672001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:45:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:45:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675068672001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":132219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:45:42] local.INFO: GPS data processed {"connection_id":132219,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:45:42] local.INFO: Acknowledgment sent {"connection_id":132219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:46:12] local.INFO: TCP Data received {"connection_id":132219,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57f7d6c0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57f7d6c0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:46:12] local.INFO: Processing buffer {"connection_id":132219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57f7d6c0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:46:12] local.INFO: Packet analysis {"connection_id":132219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57f7"} 
[2026-07-13 01:46:12] local.INFO: Extracted packet for processing {"connection_id":132219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57f7"} 
[2026-07-13 01:46:12] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675068672001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783887288000,"timestamp_ms":1783887288000,"timestamp_seconds":1783887288,"priority":1,"record_length":96,"hex_timestamp":"0000019f57f7d6c0"} 
[2026-07-13 01:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 01:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675068672001,"66":25093,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675068672001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:46:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:46:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675068672001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":132219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:46:12] local.INFO: GPS data processed {"connection_id":132219,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:46:12] local.INFO: Acknowledgment sent {"connection_id":132219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:46:36] local.INFO: TCP Data received {"connection_id":130117,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:46:36] local.INFO: Processing buffer {"connection_id":130117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:46:36] local.INFO: IMEI packet received {"connection_id":130117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":130117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:46:41] local.INFO: TCP Data received {"connection_id":130117,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:46:41] local.INFO: Processing buffer {"connection_id":130117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:46:41] local.INFO: IMEI packet received {"connection_id":130117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":130117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:46:42] local.INFO: TCP Data received {"connection_id":130117,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57f7d6c0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57f7d6c0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:46:42] local.INFO: Processing buffer {"connection_id":130117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57f7d6c0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:46:42] local.INFO: Packet analysis {"connection_id":130117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57f7"} 
[2026-07-13 01:46:42] local.INFO: Extracted packet for processing {"connection_id":130117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57f7"} 
[2026-07-13 01:46:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675068672001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783887288000,"timestamp_ms":1783887288000,"timestamp_seconds":1783887288,"priority":1,"record_length":96,"hex_timestamp":"0000019f57f7d6c0"} 
[2026-07-13 01:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 01:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675068672001,"66":25093,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675068672001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:46:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:46:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675068672001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":130117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:46:42] local.INFO: GPS data processed {"connection_id":130117,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:46:42] local.INFO: Acknowledgment sent {"connection_id":130117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:47:12] local.INFO: TCP Data received {"connection_id":130117,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57f7d6c0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57f7d6c0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:47:12] local.INFO: Processing buffer {"connection_id":130117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57f7d6c0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:47:12] local.INFO: Packet analysis {"connection_id":130117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57f7"} 
[2026-07-13 01:47:12] local.INFO: Extracted packet for processing {"connection_id":130117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57f7"} 
[2026-07-13 01:47:12] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675068672001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783887288000,"timestamp_ms":1783887288000,"timestamp_seconds":1783887288,"priority":1,"record_length":96,"hex_timestamp":"0000019f57f7d6c0"} 
[2026-07-13 01:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 01:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675068672001,"66":25093,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675068672001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:47:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:47:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675068672001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":130117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:47:12] local.INFO: GPS data processed {"connection_id":130117,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:47:12] local.INFO: Acknowledgment sent {"connection_id":130117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:47:36] local.INFO: TCP Data received {"connection_id":132220,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:47:36] local.INFO: Processing buffer {"connection_id":132220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:47:36] local.INFO: IMEI packet received {"connection_id":132220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":132220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:47:41] local.INFO: TCP Data received {"connection_id":132220,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:47:41] local.INFO: Processing buffer {"connection_id":132220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:47:41] local.INFO: IMEI packet received {"connection_id":132220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":132220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:47:42] local.INFO: TCP Data received {"connection_id":132220,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57f7d6c0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57f7d6c0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:47:42] local.INFO: Processing buffer {"connection_id":132220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57f7d6c0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:47:42] local.INFO: Packet analysis {"connection_id":132220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57f7"} 
[2026-07-13 01:47:42] local.INFO: Extracted packet for processing {"connection_id":132220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57f7"} 
[2026-07-13 01:47:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675068672001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783887288000,"timestamp_ms":1783887288000,"timestamp_seconds":1783887288,"priority":1,"record_length":96,"hex_timestamp":"0000019f57f7d6c0"} 
[2026-07-13 01:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 01:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675068672001,"66":25093,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675068672001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:47:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:47:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675068672001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":132220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:47:42] local.INFO: GPS data processed {"connection_id":132220,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:47:42] local.INFO: Acknowledgment sent {"connection_id":132220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:48:12] local.INFO: TCP Data received {"connection_id":132220,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57f7d6c0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57f7d6c0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:48:12] local.INFO: Processing buffer {"connection_id":132220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57f7d6c0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:48:12] local.INFO: Packet analysis {"connection_id":132220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57f7"} 
[2026-07-13 01:48:12] local.INFO: Extracted packet for processing {"connection_id":132220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57f7"} 
[2026-07-13 01:48:12] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675068672001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783887288000,"timestamp_ms":1783887288000,"timestamp_seconds":1783887288,"priority":1,"record_length":96,"hex_timestamp":"0000019f57f7d6c0"} 
[2026-07-13 01:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 01:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675068672001,"66":25093,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675068672001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:48:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:48:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675068672001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":132220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:48:12] local.INFO: GPS data processed {"connection_id":132220,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:48:12] local.INFO: Acknowledgment sent {"connection_id":132220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:48:41] local.INFO: TCP Data received {"connection_id":130895,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:48:41] local.INFO: Processing buffer {"connection_id":130895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:48:41] local.INFO: IMEI packet received {"connection_id":130895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":130895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:48:46] local.INFO: TCP Data received {"connection_id":130895,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:48:46] local.INFO: Processing buffer {"connection_id":130895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:48:46] local.INFO: IMEI packet received {"connection_id":130895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":130895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:48:47] local.INFO: TCP Data received {"connection_id":130895,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57f7d6c0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57f7d6c0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:48:47] local.INFO: Processing buffer {"connection_id":130895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57f7d6c0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:48:47] local.INFO: Packet analysis {"connection_id":130895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57f7"} 
[2026-07-13 01:48:47] local.INFO: Extracted packet for processing {"connection_id":130895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57f7"} 
[2026-07-13 01:48:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675068672001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783887288000,"timestamp_ms":1783887288000,"timestamp_seconds":1783887288,"priority":1,"record_length":96,"hex_timestamp":"0000019f57f7d6c0"} 
[2026-07-13 01:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 01:48:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675068672001,"66":25093,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675068672001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:48:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:48:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675068672001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":130895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:48:47] local.INFO: GPS data processed {"connection_id":130895,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:48:47] local.INFO: Acknowledgment sent {"connection_id":130895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:48:51] local.INFO: TCP Data received {"connection_id":130895,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57f7d6c0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57f7d6c0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:48:51] local.INFO: Processing buffer {"connection_id":130895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57f7d6c0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:48:51] local.INFO: Packet analysis {"connection_id":130895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57f7"} 
[2026-07-13 01:48:51] local.INFO: Extracted packet for processing {"connection_id":130895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57f7"} 
[2026-07-13 01:48:51] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 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-07-13 01:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675068672001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783887288000,"timestamp_ms":1783887288000,"timestamp_seconds":1783887288,"priority":1,"record_length":96,"hex_timestamp":"0000019f57f7d6c0"} 
[2026-07-13 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-07-13 01:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 01:48: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-07-13 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-07-13 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-07-13 01:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01: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-07-13 01:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675068672001,"66":25093,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675068672001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:48:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:48:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675068672001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":130895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:48:51] local.INFO: GPS data processed {"connection_id":130895,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:48:51] local.INFO: Acknowledgment sent {"connection_id":130895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:49:06] local.INFO: TCP Data received {"connection_id":130896,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:49:06] local.INFO: Processing buffer {"connection_id":130896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:49:06] local.INFO: IMEI packet received {"connection_id":130896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 01:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":130896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:49:36] local.INFO: TCP Data received {"connection_id":130118,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:49:36] local.INFO: Processing buffer {"connection_id":130118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:49:36] local.INFO: IMEI packet received {"connection_id":130118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":130118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:49:41] local.INFO: TCP Data received {"connection_id":130118,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:49:41] local.INFO: Processing buffer {"connection_id":130118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:49:41] local.INFO: IMEI packet received {"connection_id":130118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":130118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:49:41] local.INFO: TCP Data received {"connection_id":130118,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57f7d6c0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57f7d6c0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:49:41] local.INFO: Processing buffer {"connection_id":130118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57f7d6c0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:49:41] local.INFO: Packet analysis {"connection_id":130118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57f7"} 
[2026-07-13 01:49:41] local.INFO: Extracted packet for processing {"connection_id":130118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57f7"} 
[2026-07-13 01:49:41] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675068672001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783887288000,"timestamp_ms":1783887288000,"timestamp_seconds":1783887288,"priority":1,"record_length":96,"hex_timestamp":"0000019f57f7d6c0"} 
[2026-07-13 01:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 01:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675068672001,"66":25093,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675068672001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:49:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:49:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675068672001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":130118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:49:41] local.INFO: GPS data processed {"connection_id":130118,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:49:41] local.INFO: Acknowledgment sent {"connection_id":130118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:49:46] local.INFO: TCP Data received {"connection_id":130119,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:49:46] local.INFO: Processing buffer {"connection_id":130119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:49:46] local.INFO: IMEI packet received {"connection_id":130119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 01:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":130119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:50:12] local.INFO: TCP Data received {"connection_id":130118,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57f7d6c0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57f7d6c0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:50:12] local.INFO: Processing buffer {"connection_id":130118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57f7d6c0012d7f8fc005afdd900000013823..."} 
[2026-07-13 01:50:12] local.INFO: Packet analysis {"connection_id":130118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57f7"} 
[2026-07-13 01:50:12] local.INFO: Extracted packet for processing {"connection_id":130118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57f7"} 
[2026-07-13 01:50:12] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675068672001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783887288000,"timestamp_ms":1783887288000,"timestamp_seconds":1783887288,"priority":1,"record_length":96,"hex_timestamp":"0000019f57f7d6c0"} 
[2026-07-13 01:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 01:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675068672001,"66":25093,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675068672001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:50:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:50:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675068672001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":130118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:50:12] local.INFO: GPS data processed {"connection_id":130118,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:50:12] local.INFO: Acknowledgment sent {"connection_id":130118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:50:36] local.INFO: TCP Data received {"connection_id":132222,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:50:36] local.INFO: Processing buffer {"connection_id":132222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:50:36] local.INFO: IMEI packet received {"connection_id":132222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":132222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:50:41] local.INFO: TCP Data received {"connection_id":132222,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:50:41] local.INFO: Processing buffer {"connection_id":132222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:50:41] local.INFO: IMEI packet received {"connection_id":132222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":132222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:50:42] local.INFO: TCP Data received {"connection_id":132222,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57fc6e88012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57fc6e88012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:50:42] local.INFO: Processing buffer {"connection_id":132222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57fc6e88012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:50:42] local.INFO: Packet analysis {"connection_id":132222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57fc"} 
[2026-07-13 01:50:42] local.INFO: Extracted packet for processing {"connection_id":132222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57fc"} 
[2026-07-13 01:50:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675145728001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783887589000,"timestamp_ms":1783887589000,"timestamp_seconds":1783887589,"priority":1,"record_length":96,"hex_timestamp":"0000019f57fc6e88"} 
[2026-07-13 01:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 01:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675145728001,"66":25071,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675145728001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:50:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:50:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675145728001,"power":25071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":132222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:50:42] local.INFO: GPS data processed {"connection_id":132222,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:50:42] local.INFO: Acknowledgment sent {"connection_id":132222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:51:13] local.INFO: TCP Data received {"connection_id":132222,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57fc6e88012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57fc6e88012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:51:13] local.INFO: Processing buffer {"connection_id":132222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57fc6e88012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:51:13] local.INFO: Packet analysis {"connection_id":132222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57fc"} 
[2026-07-13 01:51:13] local.INFO: Extracted packet for processing {"connection_id":132222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57fc"} 
[2026-07-13 01:51:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675145728001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783887589000,"timestamp_ms":1783887589000,"timestamp_seconds":1783887589,"priority":1,"record_length":96,"hex_timestamp":"0000019f57fc6e88"} 
[2026-07-13 01:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 01:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675145728001,"66":25071,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675145728001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:51:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:51:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675145728001,"power":25071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":132222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:51:13] local.INFO: GPS data processed {"connection_id":132222,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:51:13] local.INFO: Acknowledgment sent {"connection_id":132222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:51:36] local.INFO: TCP Data received {"connection_id":130898,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:51:36] local.INFO: Processing buffer {"connection_id":130898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:51:36] local.INFO: IMEI packet received {"connection_id":130898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":130898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:51:41] local.INFO: TCP Data received {"connection_id":130898,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:51:41] local.INFO: Processing buffer {"connection_id":130898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:51:41] local.INFO: IMEI packet received {"connection_id":130898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":130898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:51:41] local.INFO: TCP Data received {"connection_id":130898,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57fc6e88012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57fc6e88012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:51:41] local.INFO: Processing buffer {"connection_id":130898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57fc6e88012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:51:41] local.INFO: Packet analysis {"connection_id":130898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57fc"} 
[2026-07-13 01:51:41] local.INFO: Extracted packet for processing {"connection_id":130898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57fc"} 
[2026-07-13 01:51:41] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675145728001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783887589000,"timestamp_ms":1783887589000,"timestamp_seconds":1783887589,"priority":1,"record_length":96,"hex_timestamp":"0000019f57fc6e88"} 
[2026-07-13 01:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 01:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675145728001,"66":25071,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675145728001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:51:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:51:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675145728001,"power":25071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":130898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:51:41] local.INFO: GPS data processed {"connection_id":130898,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:51:41] local.INFO: Acknowledgment sent {"connection_id":130898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:52:12] local.INFO: TCP Data received {"connection_id":130898,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57fc6e88012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57fc6e88012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:52:12] local.INFO: Processing buffer {"connection_id":130898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57fc6e88012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:52:12] local.INFO: Packet analysis {"connection_id":130898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57fc"} 
[2026-07-13 01:52:12] local.INFO: Extracted packet for processing {"connection_id":130898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57fc"} 
[2026-07-13 01:52:12] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675145728001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783887589000,"timestamp_ms":1783887589000,"timestamp_seconds":1783887589,"priority":1,"record_length":96,"hex_timestamp":"0000019f57fc6e88"} 
[2026-07-13 01:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 01:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675145728001,"66":25071,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675145728001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:52:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:52:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675145728001,"power":25071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":130898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:52:12] local.INFO: GPS data processed {"connection_id":130898,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:52:12] local.INFO: Acknowledgment sent {"connection_id":130898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:52:36] local.INFO: TCP Data received {"connection_id":132223,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:52:36] local.INFO: Processing buffer {"connection_id":132223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:52:36] local.INFO: IMEI packet received {"connection_id":132223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":132223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:52:41] local.INFO: TCP Data received {"connection_id":132223,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:52:41] local.INFO: Processing buffer {"connection_id":132223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:52:41] local.INFO: IMEI packet received {"connection_id":132223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":132223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:52:42] local.INFO: TCP Data received {"connection_id":132223,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57fc6e88012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57fc6e88012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:52:42] local.INFO: Processing buffer {"connection_id":132223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57fc6e88012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:52:42] local.INFO: Packet analysis {"connection_id":132223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57fc"} 
[2026-07-13 01:52:42] local.INFO: Extracted packet for processing {"connection_id":132223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57fc"} 
[2026-07-13 01:52:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675145728001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783887589000,"timestamp_ms":1783887589000,"timestamp_seconds":1783887589,"priority":1,"record_length":96,"hex_timestamp":"0000019f57fc6e88"} 
[2026-07-13 01:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 01:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675145728001,"66":25071,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675145728001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:52:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:52:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675145728001,"power":25071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":132223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:52:42] local.INFO: GPS data processed {"connection_id":132223,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:52:42] local.INFO: Acknowledgment sent {"connection_id":132223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:53:13] local.INFO: TCP Data received {"connection_id":132223,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57fc6e88012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57fc6e88012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:53:13] local.INFO: Processing buffer {"connection_id":132223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57fc6e88012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:53:13] local.INFO: Packet analysis {"connection_id":132223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57fc"} 
[2026-07-13 01:53:13] local.INFO: Extracted packet for processing {"connection_id":132223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57fc"} 
[2026-07-13 01:53:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675145728001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783887589000,"timestamp_ms":1783887589000,"timestamp_seconds":1783887589,"priority":1,"record_length":96,"hex_timestamp":"0000019f57fc6e88"} 
[2026-07-13 01:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 01:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675145728001,"66":25071,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675145728001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:53:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:53:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675145728001,"power":25071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":132223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:53:13] local.INFO: GPS data processed {"connection_id":132223,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:53:13] local.INFO: Acknowledgment sent {"connection_id":132223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:53:36] local.INFO: TCP Data received {"connection_id":130120,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:53:36] local.INFO: Processing buffer {"connection_id":130120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:53:36] local.INFO: IMEI packet received {"connection_id":130120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":130120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:53:41] local.INFO: TCP Data received {"connection_id":130120,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:53:41] local.INFO: Processing buffer {"connection_id":130120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:53:41] local.INFO: IMEI packet received {"connection_id":130120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":130120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:53:42] local.INFO: TCP Data received {"connection_id":130120,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57fc6e88012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57fc6e88012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:53:42] local.INFO: Processing buffer {"connection_id":130120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57fc6e88012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:53:42] local.INFO: Packet analysis {"connection_id":130120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57fc"} 
[2026-07-13 01:53:42] local.INFO: Extracted packet for processing {"connection_id":130120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57fc"} 
[2026-07-13 01:53:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675145728001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783887589000,"timestamp_ms":1783887589000,"timestamp_seconds":1783887589,"priority":1,"record_length":96,"hex_timestamp":"0000019f57fc6e88"} 
[2026-07-13 01:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 01:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675145728001,"66":25071,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675145728001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:53:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:53:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675145728001,"power":25071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":130120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:53:42] local.INFO: GPS data processed {"connection_id":130120,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:53:42] local.INFO: Acknowledgment sent {"connection_id":130120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:54:12] local.INFO: TCP Data received {"connection_id":130120,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57fc6e88012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57fc6e88012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:54:12] local.INFO: Processing buffer {"connection_id":130120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57fc6e88012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:54:12] local.INFO: Packet analysis {"connection_id":130120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57fc"} 
[2026-07-13 01:54:12] local.INFO: Extracted packet for processing {"connection_id":130120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57fc"} 
[2026-07-13 01:54:12] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675145728001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783887589000,"timestamp_ms":1783887589000,"timestamp_seconds":1783887589,"priority":1,"record_length":96,"hex_timestamp":"0000019f57fc6e88"} 
[2026-07-13 01:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 01:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675145728001,"66":25071,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675145728001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:54:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:54:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675145728001,"power":25071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":130120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:54:12] local.INFO: GPS data processed {"connection_id":130120,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:54:12] local.INFO: Acknowledgment sent {"connection_id":130120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:54:41] local.INFO: TCP Data received {"connection_id":132224,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:54:41] local.INFO: Processing buffer {"connection_id":132224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:54:41] local.INFO: IMEI packet received {"connection_id":132224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":132224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:54:46] local.INFO: TCP Data received {"connection_id":132224,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:54:46] local.INFO: Processing buffer {"connection_id":132224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:54:46] local.INFO: IMEI packet received {"connection_id":132224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":132224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:54:47] local.INFO: TCP Data received {"connection_id":132224,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57fc6e88012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57fc6e88012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:54:47] local.INFO: Processing buffer {"connection_id":132224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57fc6e88012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:54:47] local.INFO: Packet analysis {"connection_id":132224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57fc"} 
[2026-07-13 01:54:47] local.INFO: Extracted packet for processing {"connection_id":132224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57fc"} 
[2026-07-13 01:54:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675145728001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783887589000,"timestamp_ms":1783887589000,"timestamp_seconds":1783887589,"priority":1,"record_length":96,"hex_timestamp":"0000019f57fc6e88"} 
[2026-07-13 01:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 01:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675145728001,"66":25071,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675145728001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:54:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:54:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675145728001,"power":25071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":132224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:54:47] local.INFO: GPS data processed {"connection_id":132224,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:54:47] local.INFO: Acknowledgment sent {"connection_id":132224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:54:51] local.INFO: TCP Data received {"connection_id":132224,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f57fc6e88012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f57fc6e88012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:54:51] local.INFO: Processing buffer {"connection_id":132224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f57fc6e88012d7f8fc005afdd90000001381f..."} 
[2026-07-13 01:54:51] local.INFO: Packet analysis {"connection_id":132224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f57fc"} 
[2026-07-13 01:54:51] local.INFO: Extracted packet for processing {"connection_id":132224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f57fc"} 
[2026-07-13 01:54:51] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 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-07-13 01:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675145728001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783887589000,"timestamp_ms":1783887589000,"timestamp_seconds":1783887589,"priority":1,"record_length":96,"hex_timestamp":"0000019f57fc6e88"} 
[2026-07-13 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-07-13 01:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 01:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 01:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:54: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-07-13 01:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675145728001,"66":25071,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675145728001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:54:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:54:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675145728001,"power":25071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":132224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:54:51] local.INFO: GPS data processed {"connection_id":132224,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:54:51] local.INFO: Acknowledgment sent {"connection_id":132224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:55:16] local.INFO: TCP Data received {"connection_id":132225,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132225,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:55:16] local.INFO: Processing buffer {"connection_id":132225,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:55:16] local.INFO: IMEI packet received {"connection_id":132225,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 01:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":132225,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:55:36] local.INFO: TCP Data received {"connection_id":130900,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:55:36] local.INFO: Processing buffer {"connection_id":130900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:55:36] local.INFO: IMEI packet received {"connection_id":130900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":130900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:55:41] local.INFO: TCP Data received {"connection_id":132226,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132226,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:55:41] local.INFO: Processing buffer {"connection_id":132226,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 01:55:41] local.INFO: IMEI packet received {"connection_id":132226,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 01:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":132226,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:55:41] local.INFO: TCP Data received {"connection_id":130900,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:55:41] local.INFO: Processing buffer {"connection_id":130900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:55:41] local.INFO: IMEI packet received {"connection_id":130900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":130900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:55:42] local.INFO: TCP Data received {"connection_id":130900,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f58010650012d7f8fc005afdd900000013820..."} 
[2026-07-13 01:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58010650012d7f8fc005afdd900000013820..."} 
[2026-07-13 01:55:42] local.INFO: Processing buffer {"connection_id":130900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58010650012d7f8fc005afdd900000013820..."} 
[2026-07-13 01:55:42] local.INFO: Packet analysis {"connection_id":130900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5801"} 
[2026-07-13 01:55:42] local.INFO: Extracted packet for processing {"connection_id":130900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5801"} 
[2026-07-13 01:55:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675222784001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783887890000,"timestamp_ms":1783887890000,"timestamp_seconds":1783887890,"priority":1,"record_length":96,"hex_timestamp":"0000019f58010650"} 
[2026-07-13 01:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-13 01:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675222784001,"66":25093,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675222784001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:55:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:55:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675222784001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":130900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:55:42] local.INFO: GPS data processed {"connection_id":130900,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:55:42] local.INFO: Acknowledgment sent {"connection_id":130900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:56:13] local.INFO: TCP Data received {"connection_id":130900,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f58010650012d7f8fc005afdd900000013820..."} 
[2026-07-13 01:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58010650012d7f8fc005afdd900000013820..."} 
[2026-07-13 01:56:13] local.INFO: Processing buffer {"connection_id":130900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58010650012d7f8fc005afdd900000013820..."} 
[2026-07-13 01:56:13] local.INFO: Packet analysis {"connection_id":130900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5801"} 
[2026-07-13 01:56:13] local.INFO: Extracted packet for processing {"connection_id":130900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5801"} 
[2026-07-13 01:56:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675222784001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783887890000,"timestamp_ms":1783887890000,"timestamp_seconds":1783887890,"priority":1,"record_length":96,"hex_timestamp":"0000019f58010650"} 
[2026-07-13 01:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-13 01:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675222784001,"66":25093,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675222784001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:56:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:56:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675222784001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":130900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:56:13] local.INFO: GPS data processed {"connection_id":130900,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:56:13] local.INFO: Acknowledgment sent {"connection_id":130900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:56:36] local.INFO: TCP Data received {"connection_id":129914,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:56:36] local.INFO: Processing buffer {"connection_id":129914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:56:36] local.INFO: IMEI packet received {"connection_id":129914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":129914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:56:41] local.INFO: TCP Data received {"connection_id":129914,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:56:41] local.INFO: Processing buffer {"connection_id":129914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:56:41] local.INFO: IMEI packet received {"connection_id":129914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":129914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:56:42] local.INFO: TCP Data received {"connection_id":129914,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f58010650012d7f8fc005afdd900000013820..."} 
[2026-07-13 01:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58010650012d7f8fc005afdd900000013820..."} 
[2026-07-13 01:56:42] local.INFO: Processing buffer {"connection_id":129914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58010650012d7f8fc005afdd900000013820..."} 
[2026-07-13 01:56:42] local.INFO: Packet analysis {"connection_id":129914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5801"} 
[2026-07-13 01:56:42] local.INFO: Extracted packet for processing {"connection_id":129914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5801"} 
[2026-07-13 01:56:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675222784001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783887890000,"timestamp_ms":1783887890000,"timestamp_seconds":1783887890,"priority":1,"record_length":96,"hex_timestamp":"0000019f58010650"} 
[2026-07-13 01:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-13 01:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675222784001,"66":25093,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675222784001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:56:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:56:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675222784001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":129914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:56:42] local.INFO: GPS data processed {"connection_id":129914,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:56:42] local.INFO: Acknowledgment sent {"connection_id":129914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:57:13] local.INFO: TCP Data received {"connection_id":129914,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f58010650012d7f8fc005afdd900000013820..."} 
[2026-07-13 01:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58010650012d7f8fc005afdd900000013820..."} 
[2026-07-13 01:57:13] local.INFO: Processing buffer {"connection_id":129914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58010650012d7f8fc005afdd900000013820..."} 
[2026-07-13 01:57:13] local.INFO: Packet analysis {"connection_id":129914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5801"} 
[2026-07-13 01:57:13] local.INFO: Extracted packet for processing {"connection_id":129914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5801"} 
[2026-07-13 01:57:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675222784001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783887890000,"timestamp_ms":1783887890000,"timestamp_seconds":1783887890,"priority":1,"record_length":96,"hex_timestamp":"0000019f58010650"} 
[2026-07-13 01:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-13 01:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675222784001,"66":25093,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675222784001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:57:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:57:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675222784001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":129914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:57:13] local.INFO: GPS data processed {"connection_id":129914,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:57:13] local.INFO: Acknowledgment sent {"connection_id":129914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:57:36] local.INFO: TCP Data received {"connection_id":130122,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:57:36] local.INFO: Processing buffer {"connection_id":130122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:57:36] local.INFO: IMEI packet received {"connection_id":130122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":130122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:57:41] local.INFO: TCP Data received {"connection_id":130122,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:57:41] local.INFO: Processing buffer {"connection_id":130122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:57:41] local.INFO: IMEI packet received {"connection_id":130122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":130122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:57:42] local.INFO: TCP Data received {"connection_id":130122,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f58010650012d7f8fc005afdd900000013820..."} 
[2026-07-13 01:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58010650012d7f8fc005afdd900000013820..."} 
[2026-07-13 01:57:42] local.INFO: Processing buffer {"connection_id":130122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58010650012d7f8fc005afdd900000013820..."} 
[2026-07-13 01:57:42] local.INFO: Packet analysis {"connection_id":130122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5801"} 
[2026-07-13 01:57:42] local.INFO: Extracted packet for processing {"connection_id":130122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5801"} 
[2026-07-13 01:57:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675222784001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783887890000,"timestamp_ms":1783887890000,"timestamp_seconds":1783887890,"priority":1,"record_length":96,"hex_timestamp":"0000019f58010650"} 
[2026-07-13 01:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-13 01:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675222784001,"66":25093,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675222784001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:57:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:57:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675222784001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":130122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:57:42] local.INFO: GPS data processed {"connection_id":130122,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:57:42] local.INFO: Acknowledgment sent {"connection_id":130122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:58:13] local.INFO: TCP Data received {"connection_id":130122,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f58010650012d7f8fc005afdd900000013820..."} 
[2026-07-13 01:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58010650012d7f8fc005afdd900000013820..."} 
[2026-07-13 01:58:13] local.INFO: Processing buffer {"connection_id":130122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58010650012d7f8fc005afdd900000013820..."} 
[2026-07-13 01:58:13] local.INFO: Packet analysis {"connection_id":130122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5801"} 
[2026-07-13 01:58:13] local.INFO: Extracted packet for processing {"connection_id":130122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5801"} 
[2026-07-13 01:58:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675222784001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783887890000,"timestamp_ms":1783887890000,"timestamp_seconds":1783887890,"priority":1,"record_length":96,"hex_timestamp":"0000019f58010650"} 
[2026-07-13 01:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-13 01:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675222784001,"66":25093,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675222784001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:58:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:58:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675222784001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":130122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:58:13] local.INFO: GPS data processed {"connection_id":130122,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:58:13] local.INFO: Acknowledgment sent {"connection_id":130122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:58:36] local.INFO: TCP Data received {"connection_id":129916,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:58:36] local.INFO: Processing buffer {"connection_id":129916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:58:36] local.INFO: IMEI packet received {"connection_id":129916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":129916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:58:41] local.INFO: TCP Data received {"connection_id":129916,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:58:41] local.INFO: Processing buffer {"connection_id":129916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:58:41] local.INFO: IMEI packet received {"connection_id":129916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":129916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:58:42] local.INFO: TCP Data received {"connection_id":129916,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f58010650012d7f8fc005afdd900000013820..."} 
[2026-07-13 01:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58010650012d7f8fc005afdd900000013820..."} 
[2026-07-13 01:58:42] local.INFO: Processing buffer {"connection_id":129916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58010650012d7f8fc005afdd900000013820..."} 
[2026-07-13 01:58:42] local.INFO: Packet analysis {"connection_id":129916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5801"} 
[2026-07-13 01:58:42] local.INFO: Extracted packet for processing {"connection_id":129916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5801"} 
[2026-07-13 01:58:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675222784001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783887890000,"timestamp_ms":1783887890000,"timestamp_seconds":1783887890,"priority":1,"record_length":96,"hex_timestamp":"0000019f58010650"} 
[2026-07-13 01:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-13 01:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675222784001,"66":25093,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675222784001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:58:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:58:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675222784001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":129916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:58:42] local.INFO: GPS data processed {"connection_id":129916,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:58:42] local.INFO: Acknowledgment sent {"connection_id":129916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:59:13] local.INFO: TCP Data received {"connection_id":129916,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f58010650012d7f8fc005afdd900000013820..."} 
[2026-07-13 01:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58010650012d7f8fc005afdd900000013820..."} 
[2026-07-13 01:59:13] local.INFO: Processing buffer {"connection_id":129916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58010650012d7f8fc005afdd900000013820..."} 
[2026-07-13 01:59:13] local.INFO: Packet analysis {"connection_id":129916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5801"} 
[2026-07-13 01:59:13] local.INFO: Extracted packet for processing {"connection_id":129916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5801"} 
[2026-07-13 01:59:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675222784001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783887890000,"timestamp_ms":1783887890000,"timestamp_seconds":1783887890,"priority":1,"record_length":96,"hex_timestamp":"0000019f58010650"} 
[2026-07-13 01:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-13 01:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675222784001,"66":25093,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675222784001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:59:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:59:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675222784001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":129916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:59:13] local.INFO: GPS data processed {"connection_id":129916,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:59:13] local.INFO: Acknowledgment sent {"connection_id":129916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:59:41] local.INFO: TCP Data received {"connection_id":129917,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:59:41] local.INFO: Processing buffer {"connection_id":129917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:59:41] local.INFO: IMEI packet received {"connection_id":129917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 01:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":129917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 01:59:46] local.INFO: TCP Data received {"connection_id":129917,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:59:46] local.INFO: Processing buffer {"connection_id":129917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 01:59:46] local.INFO: IMEI packet received {"connection_id":129917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 01:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":129917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 01:59:47] local.INFO: TCP Data received {"connection_id":129917,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f58010650012d7f8fc005afdd900000013820..."} 
[2026-07-13 01:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58010650012d7f8fc005afdd900000013820..."} 
[2026-07-13 01:59:47] local.INFO: Processing buffer {"connection_id":129917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58010650012d7f8fc005afdd900000013820..."} 
[2026-07-13 01:59:47] local.INFO: Packet analysis {"connection_id":129917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5801"} 
[2026-07-13 01:59:47] local.INFO: Extracted packet for processing {"connection_id":129917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5801"} 
[2026-07-13 01:59:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675222784001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783887890000,"timestamp_ms":1783887890000,"timestamp_seconds":1783887890,"priority":1,"record_length":96,"hex_timestamp":"0000019f58010650"} 
[2026-07-13 01:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-13 01:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":129917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":129917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":129917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 01:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675222784001,"66":25093,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675222784001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:59:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:59:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675222784001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":129917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:59:47] local.INFO: GPS data processed {"connection_id":129917,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:59:47] local.INFO: Acknowledgment sent {"connection_id":129917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 01:59:51] local.INFO: TCP Data received {"connection_id":129917,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f58010650012d7f8fc005afdd900000013820..."} 
[2026-07-13 01:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58010650012d7f8fc005afdd900000013820..."} 
[2026-07-13 01:59:51] local.INFO: Processing buffer {"connection_id":129917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58010650012d7f8fc005afdd900000013820..."} 
[2026-07-13 01:59:51] local.INFO: Packet analysis {"connection_id":129917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5801"} 
[2026-07-13 01:59:51] local.INFO: Extracted packet for processing {"connection_id":129917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5801"} 
[2026-07-13 01:59:51] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 01:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 01:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675222784001,"note":"Value kept but may cause issues"} 
[2026-07-13 01:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 01:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 01:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 01:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783887890000,"timestamp_ms":1783887890000,"timestamp_seconds":1783887890,"priority":1,"record_length":96,"hex_timestamp":"0000019f58010650"} 
[2026-07-13 01:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 01:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 01: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-13 01:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 01:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 01:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 01:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 01:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":129917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 01:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":129917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":129917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 01:59: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-07-13 01:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 01:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 01:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675222784001,"66":25093,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 01:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 01:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 01:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675222784001,"description":"Unknown IO ID 0"} 
[2026-07-13 01:59:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 01:59:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 01:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 01:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 01:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675222784001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 01:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":129917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 01:59:51] local.INFO: GPS data processed {"connection_id":129917,"processed":1,"errors":0,"total":1} 
[2026-07-13 01:59:51] local.INFO: Acknowledgment sent {"connection_id":129917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:00:36] local.INFO: TCP Data received {"connection_id":130901,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:00:36] local.INFO: Processing buffer {"connection_id":130901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:00:36] local.INFO: IMEI packet received {"connection_id":130901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":130901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:00:41] local.INFO: TCP Data received {"connection_id":130901,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:00:41] local.INFO: Processing buffer {"connection_id":130901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:00:41] local.INFO: IMEI packet received {"connection_id":130901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":130901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:00:42] local.INFO: TCP Data received {"connection_id":130901,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f58059e18012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58059e18012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:00:42] local.INFO: Processing buffer {"connection_id":130901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58059e18012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:00:42] local.INFO: Packet analysis {"connection_id":130901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5805"} 
[2026-07-13 02:00:42] local.INFO: Extracted packet for processing {"connection_id":130901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5805"} 
[2026-07-13 02:00:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675299840001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783888191000,"timestamp_ms":1783888191000,"timestamp_seconds":1783888191,"priority":1,"record_length":96,"hex_timestamp":"0000019f58059e18"} 
[2026-07-13 02:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 02:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675299840001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675299840001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:00:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:00:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675299840001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":130901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:00:42] local.INFO: GPS data processed {"connection_id":130901,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:00:42] local.INFO: Acknowledgment sent {"connection_id":130901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:01:01] local.INFO: TCP Data received {"connection_id":130902,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130902,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:01:01] local.INFO: Processing buffer {"connection_id":130902,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:01:01] local.INFO: IMEI packet received {"connection_id":130902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 02:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":130902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:01:13] local.INFO: TCP Data received {"connection_id":130901,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f58059e18012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58059e18012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:01:13] local.INFO: Processing buffer {"connection_id":130901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58059e18012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:01:13] local.INFO: Packet analysis {"connection_id":130901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5805"} 
[2026-07-13 02:01:13] local.INFO: Extracted packet for processing {"connection_id":130901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5805"} 
[2026-07-13 02:01:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675299840001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783888191000,"timestamp_ms":1783888191000,"timestamp_seconds":1783888191,"priority":1,"record_length":96,"hex_timestamp":"0000019f58059e18"} 
[2026-07-13 02:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 02:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:01:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675299840001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675299840001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:01:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:01:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675299840001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":130901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:01:13] local.INFO: GPS data processed {"connection_id":130901,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:01:13] local.INFO: Acknowledgment sent {"connection_id":130901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:01:36] local.INFO: TCP Data received {"connection_id":130903,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:01:36] local.INFO: Processing buffer {"connection_id":130903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:01:36] local.INFO: IMEI packet received {"connection_id":130903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":130903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:01:41] local.INFO: TCP Data received {"connection_id":130903,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:01:41] local.INFO: Processing buffer {"connection_id":130903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:01:41] local.INFO: IMEI packet received {"connection_id":130903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":130903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:01:41] local.INFO: TCP Data received {"connection_id":130125,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:01:41] local.INFO: Processing buffer {"connection_id":130125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:01:41] local.INFO: IMEI packet received {"connection_id":130125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 02:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":130125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:01:42] local.INFO: TCP Data received {"connection_id":130903,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f58059e18012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58059e18012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:01:42] local.INFO: Processing buffer {"connection_id":130903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58059e18012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:01:42] local.INFO: Packet analysis {"connection_id":130903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5805"} 
[2026-07-13 02:01:42] local.INFO: Extracted packet for processing {"connection_id":130903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5805"} 
[2026-07-13 02:01:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675299840001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783888191000,"timestamp_ms":1783888191000,"timestamp_seconds":1783888191,"priority":1,"record_length":96,"hex_timestamp":"0000019f58059e18"} 
[2026-07-13 02:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 02:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675299840001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675299840001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:01:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:01:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675299840001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":130903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:01:42] local.INFO: GPS data processed {"connection_id":130903,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:01:42] local.INFO: Acknowledgment sent {"connection_id":130903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:02:13] local.INFO: TCP Data received {"connection_id":130903,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f58059e18012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58059e18012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:02:13] local.INFO: Processing buffer {"connection_id":130903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58059e18012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:02:13] local.INFO: Packet analysis {"connection_id":130903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5805"} 
[2026-07-13 02:02:13] local.INFO: Extracted packet for processing {"connection_id":130903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5805"} 
[2026-07-13 02:02:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675299840001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783888191000,"timestamp_ms":1783888191000,"timestamp_seconds":1783888191,"priority":1,"record_length":96,"hex_timestamp":"0000019f58059e18"} 
[2026-07-13 02:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 02:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675299840001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675299840001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:02:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:02:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675299840001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":130903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:02:13] local.INFO: GPS data processed {"connection_id":130903,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:02:13] local.INFO: Acknowledgment sent {"connection_id":130903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:02:36] local.INFO: TCP Data received {"connection_id":130126,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:02:36] local.INFO: Processing buffer {"connection_id":130126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:02:36] local.INFO: IMEI packet received {"connection_id":130126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":130126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:02:41] local.INFO: TCP Data received {"connection_id":130126,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:02:41] local.INFO: Processing buffer {"connection_id":130126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:02:41] local.INFO: IMEI packet received {"connection_id":130126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":130126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:02:42] local.INFO: TCP Data received {"connection_id":130126,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f58059e18012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58059e18012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:02:42] local.INFO: Processing buffer {"connection_id":130126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58059e18012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:02:42] local.INFO: Packet analysis {"connection_id":130126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5805"} 
[2026-07-13 02:02:42] local.INFO: Extracted packet for processing {"connection_id":130126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5805"} 
[2026-07-13 02:02:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675299840001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783888191000,"timestamp_ms":1783888191000,"timestamp_seconds":1783888191,"priority":1,"record_length":96,"hex_timestamp":"0000019f58059e18"} 
[2026-07-13 02:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 02:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675299840001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675299840001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:02:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:02:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675299840001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":130126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:02:42] local.INFO: GPS data processed {"connection_id":130126,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:02:42] local.INFO: Acknowledgment sent {"connection_id":130126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:03:13] local.INFO: TCP Data received {"connection_id":130126,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f58059e18012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58059e18012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:03:13] local.INFO: Processing buffer {"connection_id":130126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58059e18012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:03:13] local.INFO: Packet analysis {"connection_id":130126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5805"} 
[2026-07-13 02:03:13] local.INFO: Extracted packet for processing {"connection_id":130126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5805"} 
[2026-07-13 02:03:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675299840001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783888191000,"timestamp_ms":1783888191000,"timestamp_seconds":1783888191,"priority":1,"record_length":96,"hex_timestamp":"0000019f58059e18"} 
[2026-07-13 02:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 02:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675299840001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675299840001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:03:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:03:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675299840001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":130126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:03:13] local.INFO: GPS data processed {"connection_id":130126,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:03:13] local.INFO: Acknowledgment sent {"connection_id":130126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:03:36] local.INFO: TCP Data received {"connection_id":129918,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:03:36] local.INFO: Processing buffer {"connection_id":129918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:03:36] local.INFO: IMEI packet received {"connection_id":129918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":129918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:03:41] local.INFO: TCP Data received {"connection_id":129918,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:03:41] local.INFO: Processing buffer {"connection_id":129918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:03:41] local.INFO: IMEI packet received {"connection_id":129918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":129918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:03:42] local.INFO: TCP Data received {"connection_id":129918,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f58059e18012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58059e18012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:03:42] local.INFO: Processing buffer {"connection_id":129918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58059e18012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:03:42] local.INFO: Packet analysis {"connection_id":129918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5805"} 
[2026-07-13 02:03:42] local.INFO: Extracted packet for processing {"connection_id":129918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5805"} 
[2026-07-13 02:03:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675299840001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783888191000,"timestamp_ms":1783888191000,"timestamp_seconds":1783888191,"priority":1,"record_length":96,"hex_timestamp":"0000019f58059e18"} 
[2026-07-13 02:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 02:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675299840001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675299840001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:03:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:03:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675299840001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":129918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:03:42] local.INFO: GPS data processed {"connection_id":129918,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:03:42] local.INFO: Acknowledgment sent {"connection_id":129918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:04:13] local.INFO: TCP Data received {"connection_id":129918,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f58059e18012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58059e18012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:04:13] local.INFO: Processing buffer {"connection_id":129918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58059e18012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:04:13] local.INFO: Packet analysis {"connection_id":129918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5805"} 
[2026-07-13 02:04:13] local.INFO: Extracted packet for processing {"connection_id":129918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5805"} 
[2026-07-13 02:04:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675299840001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783888191000,"timestamp_ms":1783888191000,"timestamp_seconds":1783888191,"priority":1,"record_length":96,"hex_timestamp":"0000019f58059e18"} 
[2026-07-13 02:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 02:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675299840001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675299840001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:04:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:04:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675299840001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":129918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:04:13] local.INFO: GPS data processed {"connection_id":129918,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:04:13] local.INFO: Acknowledgment sent {"connection_id":129918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:04:41] local.INFO: TCP Data received {"connection_id":132229,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:04:41] local.INFO: Processing buffer {"connection_id":132229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:04:41] local.INFO: IMEI packet received {"connection_id":132229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":132229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:04:46] local.INFO: TCP Data received {"connection_id":132229,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:04:46] local.INFO: Processing buffer {"connection_id":132229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:04:46] local.INFO: IMEI packet received {"connection_id":132229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":132229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:04:47] local.INFO: TCP Data received {"connection_id":132229,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f58059e18012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58059e18012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:04:47] local.INFO: Processing buffer {"connection_id":132229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58059e18012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:04:47] local.INFO: Packet analysis {"connection_id":132229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5805"} 
[2026-07-13 02:04:47] local.INFO: Extracted packet for processing {"connection_id":132229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5805"} 
[2026-07-13 02:04:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675299840001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783888191000,"timestamp_ms":1783888191000,"timestamp_seconds":1783888191,"priority":1,"record_length":96,"hex_timestamp":"0000019f58059e18"} 
[2026-07-13 02:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 02:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675299840001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675299840001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:04:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:04:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675299840001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":132229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:04:47] local.INFO: GPS data processed {"connection_id":132229,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:04:47] local.INFO: Acknowledgment sent {"connection_id":132229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:04:51] local.INFO: TCP Data received {"connection_id":132229,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f58059e18012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58059e18012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:04:51] local.INFO: Processing buffer {"connection_id":132229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58059e18012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:04:51] local.INFO: Packet analysis {"connection_id":132229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5805"} 
[2026-07-13 02:04:51] local.INFO: Extracted packet for processing {"connection_id":132229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5805"} 
[2026-07-13 02:04:51] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 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-07-13 02:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675299840001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783888191000,"timestamp_ms":1783888191000,"timestamp_seconds":1783888191,"priority":1,"record_length":96,"hex_timestamp":"0000019f58059e18"} 
[2026-07-13 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-07-13 02:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 02:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 02:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:04: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-07-13 02:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675299840001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675299840001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:04:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:04:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675299840001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":132229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:04:51] local.INFO: GPS data processed {"connection_id":132229,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:04:51] local.INFO: Acknowledgment sent {"connection_id":132229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:05:36] local.INFO: TCP Data received {"connection_id":130905,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:05:36] local.INFO: Processing buffer {"connection_id":130905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:05:36] local.INFO: IMEI packet received {"connection_id":130905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":130905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:05:41] local.INFO: TCP Data received {"connection_id":130905,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:05:41] local.INFO: Processing buffer {"connection_id":130905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:05:41] local.INFO: IMEI packet received {"connection_id":130905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":130905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:05:42] local.INFO: TCP Data received {"connection_id":130905,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f580a35e0012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f580a35e0012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:05:42] local.INFO: Processing buffer {"connection_id":130905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f580a35e0012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:05:42] local.INFO: Packet analysis {"connection_id":130905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f580a"} 
[2026-07-13 02:05:42] local.INFO: Extracted packet for processing {"connection_id":130905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f580a"} 
[2026-07-13 02:05:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675376896001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783888492000,"timestamp_ms":1783888492000,"timestamp_seconds":1783888492,"priority":1,"record_length":96,"hex_timestamp":"0000019f580a35e0"} 
[2026-07-13 02:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675376896001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675376896001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:05:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:05:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675376896001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":130905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:05:42] local.INFO: GPS data processed {"connection_id":130905,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:05:42] local.INFO: Acknowledgment sent {"connection_id":130905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:06:13] local.INFO: TCP Data received {"connection_id":130905,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f580a35e0012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f580a35e0012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:06:13] local.INFO: Processing buffer {"connection_id":130905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f580a35e0012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:06:13] local.INFO: Packet analysis {"connection_id":130905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f580a"} 
[2026-07-13 02:06:13] local.INFO: Extracted packet for processing {"connection_id":130905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f580a"} 
[2026-07-13 02:06:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675376896001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783888492000,"timestamp_ms":1783888492000,"timestamp_seconds":1783888492,"priority":1,"record_length":96,"hex_timestamp":"0000019f580a35e0"} 
[2026-07-13 02:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:06:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:06:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675376896001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675376896001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:06:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:06:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675376896001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":130905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:06:13] local.INFO: GPS data processed {"connection_id":130905,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:06:13] local.INFO: Acknowledgment sent {"connection_id":130905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:06:36] local.INFO: TCP Data received {"connection_id":130127,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:06:36] local.INFO: Processing buffer {"connection_id":130127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:06:36] local.INFO: IMEI packet received {"connection_id":130127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":130127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:06:41] local.INFO: TCP Data received {"connection_id":130127,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:06:41] local.INFO: Processing buffer {"connection_id":130127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:06:41] local.INFO: IMEI packet received {"connection_id":130127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":130127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:06:42] local.INFO: TCP Data received {"connection_id":130127,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f580a35e0012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f580a35e0012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:06:42] local.INFO: Processing buffer {"connection_id":130127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f580a35e0012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:06:42] local.INFO: Packet analysis {"connection_id":130127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f580a"} 
[2026-07-13 02:06:42] local.INFO: Extracted packet for processing {"connection_id":130127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f580a"} 
[2026-07-13 02:06:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675376896001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783888492000,"timestamp_ms":1783888492000,"timestamp_seconds":1783888492,"priority":1,"record_length":96,"hex_timestamp":"0000019f580a35e0"} 
[2026-07-13 02:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675376896001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675376896001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:06:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:06:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675376896001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":130127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:06:42] local.INFO: GPS data processed {"connection_id":130127,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:06:42] local.INFO: Acknowledgment sent {"connection_id":130127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:07:09] local.INFO: TCP Data received {"connection_id":132232,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132232,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:07:09] local.INFO: Processing buffer {"connection_id":132232,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:07:09] local.INFO: IMEI packet received {"connection_id":132232,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 02:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":132232,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:07:13] local.INFO: TCP Data received {"connection_id":130127,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f580a35e0012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f580a35e0012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:07:13] local.INFO: Processing buffer {"connection_id":130127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f580a35e0012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:07:13] local.INFO: Packet analysis {"connection_id":130127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f580a"} 
[2026-07-13 02:07:13] local.INFO: Extracted packet for processing {"connection_id":130127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f580a"} 
[2026-07-13 02:07:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675376896001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783888492000,"timestamp_ms":1783888492000,"timestamp_seconds":1783888492,"priority":1,"record_length":96,"hex_timestamp":"0000019f580a35e0"} 
[2026-07-13 02:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675376896001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675376896001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:07:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:07:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675376896001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":130127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:07:13] local.INFO: GPS data processed {"connection_id":130127,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:07:13] local.INFO: Acknowledgment sent {"connection_id":130127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:07:36] local.INFO: TCP Data received {"connection_id":130906,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:07:36] local.INFO: Processing buffer {"connection_id":130906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:07:36] local.INFO: IMEI packet received {"connection_id":130906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":130906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:07:41] local.INFO: TCP Data received {"connection_id":130906,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:07:41] local.INFO: Processing buffer {"connection_id":130906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:07:41] local.INFO: IMEI packet received {"connection_id":130906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":130906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:07:41] local.INFO: TCP Data received {"connection_id":130907,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130907,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:07:41] local.INFO: Processing buffer {"connection_id":130907,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:07:41] local.INFO: IMEI packet received {"connection_id":130907,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 02:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":130907,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:07:42] local.INFO: TCP Data received {"connection_id":130906,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f580a35e0012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f580a35e0012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:07:42] local.INFO: Processing buffer {"connection_id":130906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f580a35e0012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:07:42] local.INFO: Packet analysis {"connection_id":130906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f580a"} 
[2026-07-13 02:07:42] local.INFO: Extracted packet for processing {"connection_id":130906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f580a"} 
[2026-07-13 02:07:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675376896001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783888492000,"timestamp_ms":1783888492000,"timestamp_seconds":1783888492,"priority":1,"record_length":96,"hex_timestamp":"0000019f580a35e0"} 
[2026-07-13 02:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675376896001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675376896001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:07:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:07:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675376896001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":130906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:07:42] local.INFO: GPS data processed {"connection_id":130906,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:07:42] local.INFO: Acknowledgment sent {"connection_id":130906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:08:13] local.INFO: TCP Data received {"connection_id":130906,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f580a35e0012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f580a35e0012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:08:13] local.INFO: Processing buffer {"connection_id":130906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f580a35e0012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:08:13] local.INFO: Packet analysis {"connection_id":130906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f580a"} 
[2026-07-13 02:08:13] local.INFO: Extracted packet for processing {"connection_id":130906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f580a"} 
[2026-07-13 02:08:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675376896001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783888492000,"timestamp_ms":1783888492000,"timestamp_seconds":1783888492,"priority":1,"record_length":96,"hex_timestamp":"0000019f580a35e0"} 
[2026-07-13 02:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675376896001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675376896001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:08:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:08:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675376896001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":130906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:08:13] local.INFO: GPS data processed {"connection_id":130906,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:08:13] local.INFO: Acknowledgment sent {"connection_id":130906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:08:36] local.INFO: TCP Data received {"connection_id":130128,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:08:36] local.INFO: Processing buffer {"connection_id":130128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:08:36] local.INFO: IMEI packet received {"connection_id":130128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":130128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:08:41] local.INFO: TCP Data received {"connection_id":130128,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:08:41] local.INFO: Processing buffer {"connection_id":130128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:08:41] local.INFO: IMEI packet received {"connection_id":130128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":130128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:08:46] local.INFO: TCP Data received {"connection_id":130128,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f580a35e0012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f580a35e0012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:08:46] local.INFO: Processing buffer {"connection_id":130128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f580a35e0012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:08:46] local.INFO: Packet analysis {"connection_id":130128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f580a"} 
[2026-07-13 02:08:46] local.INFO: Extracted packet for processing {"connection_id":130128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f580a"} 
[2026-07-13 02:08:46] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675376896001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783888492000,"timestamp_ms":1783888492000,"timestamp_seconds":1783888492,"priority":1,"record_length":96,"hex_timestamp":"0000019f580a35e0"} 
[2026-07-13 02:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675376896001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675376896001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:08:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:08:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675376896001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":130128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:08:46] local.INFO: GPS data processed {"connection_id":130128,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:08:46] local.INFO: Acknowledgment sent {"connection_id":130128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:09:17] local.INFO: TCP Data received {"connection_id":130128,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f580a35e0012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f580a35e0012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:09:17] local.INFO: Processing buffer {"connection_id":130128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f580a35e0012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:09:17] local.INFO: Packet analysis {"connection_id":130128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f580a"} 
[2026-07-13 02:09:17] local.INFO: Extracted packet for processing {"connection_id":130128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f580a"} 
[2026-07-13 02:09:17] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675376896001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783888492000,"timestamp_ms":1783888492000,"timestamp_seconds":1783888492,"priority":1,"record_length":96,"hex_timestamp":"0000019f580a35e0"} 
[2026-07-13 02:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675376896001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675376896001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:09:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:09:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675376896001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":130128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:09:17] local.INFO: GPS data processed {"connection_id":130128,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:09:17] local.INFO: Acknowledgment sent {"connection_id":130128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:09:41] local.INFO: TCP Data received {"connection_id":132233,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:09:41] local.INFO: Processing buffer {"connection_id":132233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:09:41] local.INFO: IMEI packet received {"connection_id":132233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":132233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:09:46] local.INFO: TCP Data received {"connection_id":132233,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:09:46] local.INFO: Processing buffer {"connection_id":132233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:09:46] local.INFO: IMEI packet received {"connection_id":132233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":132233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:09:46] local.INFO: TCP Data received {"connection_id":132233,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f580a35e0012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f580a35e0012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:09:46] local.INFO: Processing buffer {"connection_id":132233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f580a35e0012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:09:46] local.INFO: Packet analysis {"connection_id":132233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f580a"} 
[2026-07-13 02:09:46] local.INFO: Extracted packet for processing {"connection_id":132233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f580a"} 
[2026-07-13 02:09:46] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675376896001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783888492000,"timestamp_ms":1783888492000,"timestamp_seconds":1783888492,"priority":1,"record_length":96,"hex_timestamp":"0000019f580a35e0"} 
[2026-07-13 02:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675376896001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675376896001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:09:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:09:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675376896001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":132233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:09:46] local.INFO: GPS data processed {"connection_id":132233,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:09:46] local.INFO: Acknowledgment sent {"connection_id":132233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:09:51] local.INFO: TCP Data received {"connection_id":132233,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f580a35e0012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f580a35e0012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:09:51] local.INFO: Processing buffer {"connection_id":132233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f580a35e0012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:09:51] local.INFO: Packet analysis {"connection_id":132233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f580a"} 
[2026-07-13 02:09:51] local.INFO: Extracted packet for processing {"connection_id":132233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f580a"} 
[2026-07-13 02:09:51] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02: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-07-13 02:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675376896001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783888492000,"timestamp_ms":1783888492000,"timestamp_seconds":1783888492,"priority":1,"record_length":96,"hex_timestamp":"0000019f580a35e0"} 
[2026-07-13 02:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02: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-07-13 02:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:09: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-07-13 02:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675376896001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675376896001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:09:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:09:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675376896001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":132233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:09:51] local.INFO: GPS data processed {"connection_id":132233,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:09:51] local.INFO: Acknowledgment sent {"connection_id":132233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:10:36] local.INFO: TCP Data received {"connection_id":130129,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:10:36] local.INFO: Processing buffer {"connection_id":130129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:10:36] local.INFO: IMEI packet received {"connection_id":130129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":130129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:10:41] local.INFO: TCP Data received {"connection_id":130129,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:10:41] local.INFO: Processing buffer {"connection_id":130129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:10:41] local.INFO: IMEI packet received {"connection_id":130129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":130129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:10:42] local.INFO: TCP Data received {"connection_id":130129,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f580ecda8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f580ecda8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:10:42] local.INFO: Processing buffer {"connection_id":130129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f580ecda8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:10:42] local.INFO: Packet analysis {"connection_id":130129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f580e"} 
[2026-07-13 02:10:42] local.INFO: Extracted packet for processing {"connection_id":130129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f580e"} 
[2026-07-13 02:10:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675453952001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783888793000,"timestamp_ms":1783888793000,"timestamp_seconds":1783888793,"priority":1,"record_length":96,"hex_timestamp":"0000019f580ecda8"} 
[2026-07-13 02:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675453952001,"66":25125,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675453952001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:10:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:10:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675453952001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":130129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:10:42] local.INFO: GPS data processed {"connection_id":130129,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:10:42] local.INFO: Acknowledgment sent {"connection_id":130129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:11:13] local.INFO: TCP Data received {"connection_id":130129,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f580ecda8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f580ecda8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:11:13] local.INFO: Processing buffer {"connection_id":130129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f580ecda8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:11:13] local.INFO: Packet analysis {"connection_id":130129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f580e"} 
[2026-07-13 02:11:13] local.INFO: Extracted packet for processing {"connection_id":130129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f580e"} 
[2026-07-13 02:11:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675453952001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783888793000,"timestamp_ms":1783888793000,"timestamp_seconds":1783888793,"priority":1,"record_length":96,"hex_timestamp":"0000019f580ecda8"} 
[2026-07-13 02:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675453952001,"66":25125,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675453952001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:11:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:11:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675453952001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":130129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:11:13] local.INFO: GPS data processed {"connection_id":130129,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:11:13] local.INFO: Acknowledgment sent {"connection_id":130129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:11:36] local.INFO: TCP Data received {"connection_id":130130,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:11:36] local.INFO: Processing buffer {"connection_id":130130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:11:36] local.INFO: IMEI packet received {"connection_id":130130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":130130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:11:41] local.INFO: TCP Data received {"connection_id":130130,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:11:41] local.INFO: Processing buffer {"connection_id":130130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:11:41] local.INFO: IMEI packet received {"connection_id":130130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":130130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:11:41] local.INFO: TCP Data received {"connection_id":130130,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f580ecda8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f580ecda8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:11:41] local.INFO: Processing buffer {"connection_id":130130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f580ecda8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:11:41] local.INFO: Packet analysis {"connection_id":130130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f580e"} 
[2026-07-13 02:11:41] local.INFO: Extracted packet for processing {"connection_id":130130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f580e"} 
[2026-07-13 02:11:41] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675453952001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783888793000,"timestamp_ms":1783888793000,"timestamp_seconds":1783888793,"priority":1,"record_length":96,"hex_timestamp":"0000019f580ecda8"} 
[2026-07-13 02:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675453952001,"66":25125,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675453952001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:11:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:11:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675453952001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":130130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:11:41] local.INFO: GPS data processed {"connection_id":130130,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:11:41] local.INFO: Acknowledgment sent {"connection_id":130130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:12:12] local.INFO: TCP Data received {"connection_id":130130,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f580ecda8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f580ecda8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:12:12] local.INFO: Processing buffer {"connection_id":130130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f580ecda8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:12:12] local.INFO: Packet analysis {"connection_id":130130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f580e"} 
[2026-07-13 02:12:12] local.INFO: Extracted packet for processing {"connection_id":130130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f580e"} 
[2026-07-13 02:12:12] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675453952001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783888793000,"timestamp_ms":1783888793000,"timestamp_seconds":1783888793,"priority":1,"record_length":96,"hex_timestamp":"0000019f580ecda8"} 
[2026-07-13 02:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675453952001,"66":25125,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675453952001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:12:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:12:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675453952001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":130130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:12:12] local.INFO: GPS data processed {"connection_id":130130,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:12:12] local.INFO: Acknowledgment sent {"connection_id":130130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:12:36] local.INFO: TCP Data received {"connection_id":132235,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:12:36] local.INFO: Processing buffer {"connection_id":132235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:12:36] local.INFO: IMEI packet received {"connection_id":132235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":132235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:12:41] local.INFO: TCP Data received {"connection_id":132235,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:12:41] local.INFO: Processing buffer {"connection_id":132235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:12:41] local.INFO: IMEI packet received {"connection_id":132235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":132235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:12:42] local.INFO: TCP Data received {"connection_id":132235,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f580ecda8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f580ecda8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:12:42] local.INFO: Processing buffer {"connection_id":132235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f580ecda8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:12:42] local.INFO: Packet analysis {"connection_id":132235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f580e"} 
[2026-07-13 02:12:42] local.INFO: Extracted packet for processing {"connection_id":132235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f580e"} 
[2026-07-13 02:12:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02: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-07-13 02:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675453952001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783888793000,"timestamp_ms":1783888793000,"timestamp_seconds":1783888793,"priority":1,"record_length":96,"hex_timestamp":"0000019f580ecda8"} 
[2026-07-13 02:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02: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-07-13 02:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675453952001,"66":25125,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675453952001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:12:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:12:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675453952001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":132235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:12:42] local.INFO: GPS data processed {"connection_id":132235,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:12:42] local.INFO: Acknowledgment sent {"connection_id":132235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:13:06] local.INFO: TCP Data received {"connection_id":132236,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132236,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:13:06] local.INFO: Processing buffer {"connection_id":132236,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:13:06] local.INFO: IMEI packet received {"connection_id":132236,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 02:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":132236,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:13:13] local.INFO: TCP Data received {"connection_id":132235,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f580ecda8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f580ecda8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:13:13] local.INFO: Processing buffer {"connection_id":132235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f580ecda8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:13:13] local.INFO: Packet analysis {"connection_id":132235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f580e"} 
[2026-07-13 02:13:13] local.INFO: Extracted packet for processing {"connection_id":132235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f580e"} 
[2026-07-13 02:13:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675453952001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783888793000,"timestamp_ms":1783888793000,"timestamp_seconds":1783888793,"priority":1,"record_length":96,"hex_timestamp":"0000019f580ecda8"} 
[2026-07-13 02:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675453952001,"66":25125,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675453952001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:13:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:13:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675453952001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":132235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:13:13] local.INFO: GPS data processed {"connection_id":132235,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:13:13] local.INFO: Acknowledgment sent {"connection_id":132235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:13:36] local.INFO: TCP Data received {"connection_id":130131,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:13:36] local.INFO: Processing buffer {"connection_id":130131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:13:36] local.INFO: IMEI packet received {"connection_id":130131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":130131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:13:41] local.INFO: TCP Data received {"connection_id":130131,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:13:41] local.INFO: Processing buffer {"connection_id":130131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:13:41] local.INFO: IMEI packet received {"connection_id":130131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":130131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:13:41] local.INFO: TCP Data received {"connection_id":129922,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129922,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:13:41] local.INFO: Processing buffer {"connection_id":129922,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:13:41] local.INFO: IMEI packet received {"connection_id":129922,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 02:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":129922,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:13:42] local.INFO: TCP Data received {"connection_id":130131,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f580ecda8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f580ecda8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:13:42] local.INFO: Processing buffer {"connection_id":130131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f580ecda8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:13:42] local.INFO: Packet analysis {"connection_id":130131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f580e"} 
[2026-07-13 02:13:42] local.INFO: Extracted packet for processing {"connection_id":130131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f580e"} 
[2026-07-13 02:13:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675453952001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783888793000,"timestamp_ms":1783888793000,"timestamp_seconds":1783888793,"priority":1,"record_length":96,"hex_timestamp":"0000019f580ecda8"} 
[2026-07-13 02:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675453952001,"66":25125,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675453952001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:13:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:13:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675453952001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":130131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:13:42] local.INFO: GPS data processed {"connection_id":130131,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:13:42] local.INFO: Acknowledgment sent {"connection_id":130131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:14:13] local.INFO: TCP Data received {"connection_id":130131,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f580ecda8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f580ecda8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:14:13] local.INFO: Processing buffer {"connection_id":130131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f580ecda8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:14:13] local.INFO: Packet analysis {"connection_id":130131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f580e"} 
[2026-07-13 02:14:13] local.INFO: Extracted packet for processing {"connection_id":130131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f580e"} 
[2026-07-13 02:14:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675453952001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783888793000,"timestamp_ms":1783888793000,"timestamp_seconds":1783888793,"priority":1,"record_length":96,"hex_timestamp":"0000019f580ecda8"} 
[2026-07-13 02:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:14:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675453952001,"66":25125,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675453952001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:14:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:14:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675453952001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":130131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:14:13] local.INFO: GPS data processed {"connection_id":130131,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:14:13] local.INFO: Acknowledgment sent {"connection_id":130131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:14:36] local.INFO: TCP Data received {"connection_id":130132,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:14:36] local.INFO: Processing buffer {"connection_id":130132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:14:36] local.INFO: IMEI packet received {"connection_id":130132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":130132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:14:41] local.INFO: TCP Data received {"connection_id":130132,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:14:41] local.INFO: Processing buffer {"connection_id":130132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:14:41] local.INFO: IMEI packet received {"connection_id":130132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":130132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:14:42] local.INFO: TCP Data received {"connection_id":130132,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f580ecda8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f580ecda8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:14:42] local.INFO: Processing buffer {"connection_id":130132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f580ecda8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:14:42] local.INFO: Packet analysis {"connection_id":130132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f580e"} 
[2026-07-13 02:14:42] local.INFO: Extracted packet for processing {"connection_id":130132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f580e"} 
[2026-07-13 02:14:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675453952001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783888793000,"timestamp_ms":1783888793000,"timestamp_seconds":1783888793,"priority":1,"record_length":96,"hex_timestamp":"0000019f580ecda8"} 
[2026-07-13 02:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675453952001,"66":25125,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675453952001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:14:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:14:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675453952001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":130132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:14:42] local.INFO: GPS data processed {"connection_id":130132,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:14:42] local.INFO: Acknowledgment sent {"connection_id":130132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:15:13] local.INFO: TCP Data received {"connection_id":130132,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f580ecda8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f580ecda8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:15:13] local.INFO: Processing buffer {"connection_id":130132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f580ecda8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:15:13] local.INFO: Packet analysis {"connection_id":130132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f580e"} 
[2026-07-13 02:15:13] local.INFO: Extracted packet for processing {"connection_id":130132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f580e"} 
[2026-07-13 02:15:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675453952001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783888793000,"timestamp_ms":1783888793000,"timestamp_seconds":1783888793,"priority":1,"record_length":96,"hex_timestamp":"0000019f580ecda8"} 
[2026-07-13 02:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:15:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675453952001,"66":25125,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675453952001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:15:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:15:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675453952001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":130132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:15:13] local.INFO: GPS data processed {"connection_id":130132,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:15:13] local.INFO: Acknowledgment sent {"connection_id":130132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:15:41] local.INFO: TCP Data received {"connection_id":129923,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:15:41] local.INFO: Processing buffer {"connection_id":129923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:15:41] local.INFO: IMEI packet received {"connection_id":129923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":129923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:15:46] local.INFO: TCP Data received {"connection_id":129923,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:15:46] local.INFO: Processing buffer {"connection_id":129923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:15:46] local.INFO: IMEI packet received {"connection_id":129923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":129923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:15:47] local.INFO: TCP Data received {"connection_id":129923,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f58136570012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58136570012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:15:47] local.INFO: Processing buffer {"connection_id":129923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58136570012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:15:47] local.INFO: Packet analysis {"connection_id":129923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5813"} 
[2026-07-13 02:15:47] local.INFO: Extracted packet for processing {"connection_id":129923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5813"} 
[2026-07-13 02:15:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675531008001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783889094000,"timestamp_ms":1783889094000,"timestamp_seconds":1783889094,"priority":1,"record_length":96,"hex_timestamp":"0000019f58136570"} 
[2026-07-13 02:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 02:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":129923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":129923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":129923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675531008001,"66":25125,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675531008001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:15:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:15:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675531008001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":129923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:15:47] local.INFO: GPS data processed {"connection_id":129923,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:15:47] local.INFO: Acknowledgment sent {"connection_id":129923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:15:51] local.INFO: TCP Data received {"connection_id":129923,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f58136570012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58136570012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:15:51] local.INFO: Processing buffer {"connection_id":129923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58136570012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:15:51] local.INFO: Packet analysis {"connection_id":129923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5813"} 
[2026-07-13 02:15:51] local.INFO: Extracted packet for processing {"connection_id":129923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5813"} 
[2026-07-13 02:15:51] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675531008001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783889094000,"timestamp_ms":1783889094000,"timestamp_seconds":1783889094,"priority":1,"record_length":96,"hex_timestamp":"0000019f58136570"} 
[2026-07-13 02:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":37,"data_length":795,"current_offset":136} 
[2026-07-13 02:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":129923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":129923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":129923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:15: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-07-13 02:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675531008001,"66":25125,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675531008001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:15:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:15:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675531008001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":129923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:15:51] local.INFO: GPS data processed {"connection_id":129923,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:15:51] local.INFO: Acknowledgment sent {"connection_id":129923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:16:36] local.INFO: TCP Data received {"connection_id":132237,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:16:36] local.INFO: Processing buffer {"connection_id":132237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:16:36] local.INFO: IMEI packet received {"connection_id":132237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":132237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:16:41] local.INFO: TCP Data received {"connection_id":132237,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:16:41] local.INFO: Processing buffer {"connection_id":132237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:16:41] local.INFO: IMEI packet received {"connection_id":132237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":132237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:16:42] local.INFO: TCP Data received {"connection_id":132237,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58136570012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58136570012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:16:42] local.INFO: Processing buffer {"connection_id":132237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58136570012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:16:42] local.INFO: Packet analysis {"connection_id":132237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5813"} 
[2026-07-13 02:16:42] local.INFO: Extracted packet for processing {"connection_id":132237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5813"} 
[2026-07-13 02:16:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675531008001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783889094000,"timestamp_ms":1783889094000,"timestamp_seconds":1783889094,"priority":1,"record_length":96,"hex_timestamp":"0000019f58136570"} 
[2026-07-13 02:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 02:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675531008001,"66":25125,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675531008001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:16:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:16:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675531008001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":132237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:16:42] local.INFO: GPS data processed {"connection_id":132237,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:16:42] local.INFO: Acknowledgment sent {"connection_id":132237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:17:13] local.INFO: TCP Data received {"connection_id":132237,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58136570012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58136570012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:17:13] local.INFO: Processing buffer {"connection_id":132237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58136570012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:17:13] local.INFO: Packet analysis {"connection_id":132237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5813"} 
[2026-07-13 02:17:13] local.INFO: Extracted packet for processing {"connection_id":132237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5813"} 
[2026-07-13 02:17:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675531008001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783889094000,"timestamp_ms":1783889094000,"timestamp_seconds":1783889094,"priority":1,"record_length":96,"hex_timestamp":"0000019f58136570"} 
[2026-07-13 02:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:17:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 02:17:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:17:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675531008001,"66":25125,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675531008001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:17:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:17:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675531008001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":132237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:17:13] local.INFO: GPS data processed {"connection_id":132237,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:17:13] local.INFO: Acknowledgment sent {"connection_id":132237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:17:36] local.INFO: TCP Data received {"connection_id":132238,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:17:36] local.INFO: Processing buffer {"connection_id":132238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:17:36] local.INFO: IMEI packet received {"connection_id":132238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":132238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:17:41] local.INFO: TCP Data received {"connection_id":132238,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:17:41] local.INFO: Processing buffer {"connection_id":132238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:17:41] local.INFO: IMEI packet received {"connection_id":132238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":132238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:17:41] local.INFO: TCP Data received {"connection_id":132238,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58136570012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58136570012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:17:41] local.INFO: Processing buffer {"connection_id":132238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58136570012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:17:41] local.INFO: Packet analysis {"connection_id":132238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5813"} 
[2026-07-13 02:17:41] local.INFO: Extracted packet for processing {"connection_id":132238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5813"} 
[2026-07-13 02:17:41] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675531008001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783889094000,"timestamp_ms":1783889094000,"timestamp_seconds":1783889094,"priority":1,"record_length":96,"hex_timestamp":"0000019f58136570"} 
[2026-07-13 02:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 02:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675531008001,"66":25125,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675531008001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:17:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:17:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675531008001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":132238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:17:41] local.INFO: GPS data processed {"connection_id":132238,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:17:41] local.INFO: Acknowledgment sent {"connection_id":132238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:18:12] local.INFO: TCP Data received {"connection_id":132238,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58136570012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58136570012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:18:12] local.INFO: Processing buffer {"connection_id":132238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58136570012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:18:12] local.INFO: Packet analysis {"connection_id":132238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5813"} 
[2026-07-13 02:18:12] local.INFO: Extracted packet for processing {"connection_id":132238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5813"} 
[2026-07-13 02:18:12] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675531008001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783889094000,"timestamp_ms":1783889094000,"timestamp_seconds":1783889094,"priority":1,"record_length":96,"hex_timestamp":"0000019f58136570"} 
[2026-07-13 02:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 02:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675531008001,"66":25125,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675531008001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:18:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:18:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675531008001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":132238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:18:12] local.INFO: GPS data processed {"connection_id":132238,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:18:12] local.INFO: Acknowledgment sent {"connection_id":132238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:18:36] local.INFO: TCP Data received {"connection_id":130133,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:18:36] local.INFO: Processing buffer {"connection_id":130133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:18:36] local.INFO: IMEI packet received {"connection_id":130133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":130133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:18:41] local.INFO: TCP Data received {"connection_id":130133,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:18:41] local.INFO: Processing buffer {"connection_id":130133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:18:41] local.INFO: IMEI packet received {"connection_id":130133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":130133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:18:42] local.INFO: TCP Data received {"connection_id":130133,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58136570012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58136570012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:18:42] local.INFO: Processing buffer {"connection_id":130133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58136570012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:18:42] local.INFO: Packet analysis {"connection_id":130133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5813"} 
[2026-07-13 02:18:42] local.INFO: Extracted packet for processing {"connection_id":130133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5813"} 
[2026-07-13 02:18:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675531008001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783889094000,"timestamp_ms":1783889094000,"timestamp_seconds":1783889094,"priority":1,"record_length":96,"hex_timestamp":"0000019f58136570"} 
[2026-07-13 02:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 02:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675531008001,"66":25125,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675531008001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:18:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:18:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675531008001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":130133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:18:42] local.INFO: GPS data processed {"connection_id":130133,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:18:42] local.INFO: Acknowledgment sent {"connection_id":130133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:19:08] local.INFO: TCP Data received {"connection_id":132239,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132239,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:19:08] local.INFO: Processing buffer {"connection_id":132239,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:19:08] local.INFO: IMEI packet received {"connection_id":132239,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 02:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":132239,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:19:12] local.INFO: TCP Data received {"connection_id":130133,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58136570012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58136570012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:19:12] local.INFO: Processing buffer {"connection_id":130133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58136570012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:19:12] local.INFO: Packet analysis {"connection_id":130133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5813"} 
[2026-07-13 02:19:12] local.INFO: Extracted packet for processing {"connection_id":130133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5813"} 
[2026-07-13 02:19:12] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675531008001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783889094000,"timestamp_ms":1783889094000,"timestamp_seconds":1783889094,"priority":1,"record_length":96,"hex_timestamp":"0000019f58136570"} 
[2026-07-13 02:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 02:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675531008001,"66":25125,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675531008001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:19:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:19:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675531008001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":130133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:19:12] local.INFO: GPS data processed {"connection_id":130133,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:19:12] local.INFO: Acknowledgment sent {"connection_id":130133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:19:36] local.INFO: TCP Data received {"connection_id":130134,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:19:36] local.INFO: Processing buffer {"connection_id":130134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:19:36] local.INFO: IMEI packet received {"connection_id":130134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":130134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:19:41] local.INFO: TCP Data received {"connection_id":130134,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:19:41] local.INFO: Processing buffer {"connection_id":130134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:19:41] local.INFO: IMEI packet received {"connection_id":130134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":130134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:19:41] local.INFO: TCP Data received {"connection_id":130134,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58136570012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58136570012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:19:41] local.INFO: Processing buffer {"connection_id":130134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58136570012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:19:41] local.INFO: Packet analysis {"connection_id":130134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5813"} 
[2026-07-13 02:19:41] local.INFO: Extracted packet for processing {"connection_id":130134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5813"} 
[2026-07-13 02:19:41] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02: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-07-13 02:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675531008001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783889094000,"timestamp_ms":1783889094000,"timestamp_seconds":1783889094,"priority":1,"record_length":96,"hex_timestamp":"0000019f58136570"} 
[2026-07-13 02:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 02:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02: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-07-13 02:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675531008001,"66":25125,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675531008001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:19:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:19:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675531008001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":130134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:19:41] local.INFO: GPS data processed {"connection_id":130134,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:19:41] local.INFO: Acknowledgment sent {"connection_id":130134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:19:47] local.INFO: TCP Data received {"connection_id":130135,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130135,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:19:47] local.INFO: Processing buffer {"connection_id":130135,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:19:47] local.INFO: IMEI packet received {"connection_id":130135,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 02:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":130135,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:20:12] local.INFO: TCP Data received {"connection_id":130134,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58136570012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58136570012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:20:12] local.INFO: Processing buffer {"connection_id":130134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58136570012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:20:12] local.INFO: Packet analysis {"connection_id":130134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5813"} 
[2026-07-13 02:20:12] local.INFO: Extracted packet for processing {"connection_id":130134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5813"} 
[2026-07-13 02:20:12] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675531008001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783889094000,"timestamp_ms":1783889094000,"timestamp_seconds":1783889094,"priority":1,"record_length":96,"hex_timestamp":"0000019f58136570"} 
[2026-07-13 02:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 02:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675531008001,"66":25125,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675531008001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:20:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:20:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675531008001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":130134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:20:12] local.INFO: GPS data processed {"connection_id":130134,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:20:12] local.INFO: Acknowledgment sent {"connection_id":130134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:20:41] local.INFO: TCP Data received {"connection_id":132240,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:20:41] local.INFO: Processing buffer {"connection_id":132240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:20:41] local.INFO: IMEI packet received {"connection_id":132240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":132240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:20:46] local.INFO: TCP Data received {"connection_id":132240,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:20:46] local.INFO: Processing buffer {"connection_id":132240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:20:46] local.INFO: IMEI packet received {"connection_id":132240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":132240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:20:47] local.INFO: TCP Data received {"connection_id":132240,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5817fd38012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5817fd38012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:20:47] local.INFO: Processing buffer {"connection_id":132240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5817fd38012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:20:47] local.INFO: Packet analysis {"connection_id":132240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5817"} 
[2026-07-13 02:20:47] local.INFO: Extracted packet for processing {"connection_id":132240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5817"} 
[2026-07-13 02:20:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675608064001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783889395000,"timestamp_ms":1783889395000,"timestamp_seconds":1783889395,"priority":1,"record_length":96,"hex_timestamp":"0000019f5817fd38"} 
[2026-07-13 02:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 02:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675608064001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675608064001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:20:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:20:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675608064001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":132240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:20:47] local.INFO: GPS data processed {"connection_id":132240,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:20:47] local.INFO: Acknowledgment sent {"connection_id":132240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:20:51] local.INFO: TCP Data received {"connection_id":132240,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5817fd38012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5817fd38012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:20:51] local.INFO: Processing buffer {"connection_id":132240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5817fd38012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:20:51] local.INFO: Packet analysis {"connection_id":132240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5817"} 
[2026-07-13 02:20:51] local.INFO: Extracted packet for processing {"connection_id":132240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5817"} 
[2026-07-13 02:20:51] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 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-07-13 02:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675608064001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783889395000,"timestamp_ms":1783889395000,"timestamp_seconds":1783889395,"priority":1,"record_length":96,"hex_timestamp":"0000019f5817fd38"} 
[2026-07-13 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-07-13 02:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 02:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 02:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02: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-07-13 02:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675608064001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675608064001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:20:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:20:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675608064001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":132240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:20:51] local.INFO: GPS data processed {"connection_id":132240,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:20:51] local.INFO: Acknowledgment sent {"connection_id":132240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:21:36] local.INFO: TCP Data received {"connection_id":130911,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:21:36] local.INFO: Processing buffer {"connection_id":130911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:21:36] local.INFO: IMEI packet received {"connection_id":130911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":130911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:21:41] local.INFO: TCP Data received {"connection_id":130911,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:21:41] local.INFO: Processing buffer {"connection_id":130911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:21:41] local.INFO: IMEI packet received {"connection_id":130911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":130911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:21:41] local.INFO: TCP Data received {"connection_id":130911,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5817fd38012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5817fd38012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:21:41] local.INFO: Processing buffer {"connection_id":130911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5817fd38012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:21:41] local.INFO: Packet analysis {"connection_id":130911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5817"} 
[2026-07-13 02:21:41] local.INFO: Extracted packet for processing {"connection_id":130911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5817"} 
[2026-07-13 02:21:41] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675608064001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783889395000,"timestamp_ms":1783889395000,"timestamp_seconds":1783889395,"priority":1,"record_length":96,"hex_timestamp":"0000019f5817fd38"} 
[2026-07-13 02:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 02:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675608064001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675608064001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:21:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675608064001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":130911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:21:41] local.INFO: GPS data processed {"connection_id":130911,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:21:41] local.INFO: Acknowledgment sent {"connection_id":130911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:22:18] local.INFO: TCP Data received {"connection_id":130911,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5817fd38012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5817fd38012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:22:18] local.INFO: Processing buffer {"connection_id":130911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5817fd38012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:22:18] local.INFO: Packet analysis {"connection_id":130911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5817"} 
[2026-07-13 02:22:18] local.INFO: Extracted packet for processing {"connection_id":130911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5817"} 
[2026-07-13 02:22:18] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675608064001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783889395000,"timestamp_ms":1783889395000,"timestamp_seconds":1783889395,"priority":1,"record_length":96,"hex_timestamp":"0000019f5817fd38"} 
[2026-07-13 02:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 02:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:22:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02: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-07-13 02:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675608064001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675608064001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:22:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:22:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675608064001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":130911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:22:18] local.INFO: GPS data processed {"connection_id":130911,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:22:18] local.INFO: Acknowledgment sent {"connection_id":130911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:22:36] local.INFO: TCP Data received {"connection_id":130137,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:22:36] local.INFO: Processing buffer {"connection_id":130137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:22:36] local.INFO: IMEI packet received {"connection_id":130137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":130137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:22:41] local.INFO: TCP Data received {"connection_id":130137,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:22:41] local.INFO: Processing buffer {"connection_id":130137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:22:41] local.INFO: IMEI packet received {"connection_id":130137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":130137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:22:42] local.INFO: TCP Data received {"connection_id":130137,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5817fd38012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5817fd38012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:22:42] local.INFO: Processing buffer {"connection_id":130137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5817fd38012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:22:42] local.INFO: Packet analysis {"connection_id":130137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5817"} 
[2026-07-13 02:22:42] local.INFO: Extracted packet for processing {"connection_id":130137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5817"} 
[2026-07-13 02:22:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675608064001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783889395000,"timestamp_ms":1783889395000,"timestamp_seconds":1783889395,"priority":1,"record_length":96,"hex_timestamp":"0000019f5817fd38"} 
[2026-07-13 02:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 02:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675608064001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675608064001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:22:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:22:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675608064001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":130137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:22:42] local.INFO: GPS data processed {"connection_id":130137,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:22:42] local.INFO: Acknowledgment sent {"connection_id":130137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:23:13] local.INFO: TCP Data received {"connection_id":130137,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5817fd38012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5817fd38012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:23:13] local.INFO: Processing buffer {"connection_id":130137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5817fd38012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:23:13] local.INFO: Packet analysis {"connection_id":130137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5817"} 
[2026-07-13 02:23:13] local.INFO: Extracted packet for processing {"connection_id":130137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5817"} 
[2026-07-13 02:23:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675608064001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783889395000,"timestamp_ms":1783889395000,"timestamp_seconds":1783889395,"priority":1,"record_length":96,"hex_timestamp":"0000019f5817fd38"} 
[2026-07-13 02:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 02:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675608064001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675608064001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:23:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:23:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675608064001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":130137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:23:13] local.INFO: GPS data processed {"connection_id":130137,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:23:13] local.INFO: Acknowledgment sent {"connection_id":130137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:23:36] local.INFO: TCP Data received {"connection_id":132241,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:23:36] local.INFO: Processing buffer {"connection_id":132241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:23:36] local.INFO: IMEI packet received {"connection_id":132241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":132241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:23:41] local.INFO: TCP Data received {"connection_id":132241,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:23:41] local.INFO: Processing buffer {"connection_id":132241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:23:41] local.INFO: IMEI packet received {"connection_id":132241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":132241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:23:42] local.INFO: TCP Data received {"connection_id":132241,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5817fd38012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5817fd38012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:23:42] local.INFO: Processing buffer {"connection_id":132241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5817fd38012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:23:42] local.INFO: Packet analysis {"connection_id":132241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5817"} 
[2026-07-13 02:23:42] local.INFO: Extracted packet for processing {"connection_id":132241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5817"} 
[2026-07-13 02:23:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675608064001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783889395000,"timestamp_ms":1783889395000,"timestamp_seconds":1783889395,"priority":1,"record_length":96,"hex_timestamp":"0000019f5817fd38"} 
[2026-07-13 02:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 02:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675608064001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675608064001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:23:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:23:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675608064001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":132241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:23:42] local.INFO: GPS data processed {"connection_id":132241,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:23:42] local.INFO: Acknowledgment sent {"connection_id":132241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:24:13] local.INFO: TCP Data received {"connection_id":132241,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5817fd38012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5817fd38012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:24:13] local.INFO: Processing buffer {"connection_id":132241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5817fd38012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:24:13] local.INFO: Packet analysis {"connection_id":132241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5817"} 
[2026-07-13 02:24:13] local.INFO: Extracted packet for processing {"connection_id":132241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5817"} 
[2026-07-13 02:24:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675608064001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783889395000,"timestamp_ms":1783889395000,"timestamp_seconds":1783889395,"priority":1,"record_length":96,"hex_timestamp":"0000019f5817fd38"} 
[2026-07-13 02:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 02:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675608064001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675608064001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:24:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:24:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675608064001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":132241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:24:13] local.INFO: GPS data processed {"connection_id":132241,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:24:13] local.INFO: Acknowledgment sent {"connection_id":132241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:24:36] local.INFO: TCP Data received {"connection_id":130138,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:24:36] local.INFO: Processing buffer {"connection_id":130138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:24:36] local.INFO: IMEI packet received {"connection_id":130138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":130138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:24:41] local.INFO: TCP Data received {"connection_id":130138,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:24:41] local.INFO: Processing buffer {"connection_id":130138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:24:41] local.INFO: IMEI packet received {"connection_id":130138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":130138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:24:43] local.INFO: TCP Data received {"connection_id":130138,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5817fd38012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5817fd38012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:24:43] local.INFO: Processing buffer {"connection_id":130138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5817fd38012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:24:43] local.INFO: Packet analysis {"connection_id":130138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5817"} 
[2026-07-13 02:24:43] local.INFO: Extracted packet for processing {"connection_id":130138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5817"} 
[2026-07-13 02:24:43] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675608064001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783889395000,"timestamp_ms":1783889395000,"timestamp_seconds":1783889395,"priority":1,"record_length":96,"hex_timestamp":"0000019f5817fd38"} 
[2026-07-13 02:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 02:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675608064001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675608064001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:24:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:24:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675608064001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":130138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:24:43] local.INFO: GPS data processed {"connection_id":130138,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:24:43] local.INFO: Acknowledgment sent {"connection_id":130138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:25:08] local.INFO: TCP Data received {"connection_id":132242,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132242,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:25:08] local.INFO: Processing buffer {"connection_id":132242,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:25:08] local.INFO: IMEI packet received {"connection_id":132242,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 02:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":132242,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:25:14] local.INFO: TCP Data received {"connection_id":130138,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5817fd38012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5817fd38012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:25:14] local.INFO: Processing buffer {"connection_id":130138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5817fd38012d7f8fc005afdd90000001381f..."} 
[2026-07-13 02:25:14] local.INFO: Packet analysis {"connection_id":130138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5817"} 
[2026-07-13 02:25:14] local.INFO: Extracted packet for processing {"connection_id":130138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5817"} 
[2026-07-13 02:25:14] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675608064001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783889395000,"timestamp_ms":1783889395000,"timestamp_seconds":1783889395,"priority":1,"record_length":96,"hex_timestamp":"0000019f5817fd38"} 
[2026-07-13 02:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 02:25:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675608064001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675608064001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:25:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:25:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675608064001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":130138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:25:14] local.INFO: GPS data processed {"connection_id":130138,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:25:14] local.INFO: Acknowledgment sent {"connection_id":130138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:25:41] local.INFO: TCP Data received {"connection_id":132244,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:25:41] local.INFO: Processing buffer {"connection_id":132244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:25:41] local.INFO: IMEI packet received {"connection_id":132244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 02:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":132244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:25:41] local.INFO: TCP Data received {"connection_id":132243,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:25:41] local.INFO: Processing buffer {"connection_id":132243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:25:41] local.INFO: IMEI packet received {"connection_id":132243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":132243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:25:46] local.INFO: TCP Data received {"connection_id":132243,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:25:46] local.INFO: Processing buffer {"connection_id":132243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:25:46] local.INFO: IMEI packet received {"connection_id":132243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":132243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:25:47] local.INFO: TCP Data received {"connection_id":132243,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f581c9500012d7f8fc005afdd90000001381c..."} 
[2026-07-13 02:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f581c9500012d7f8fc005afdd90000001381c..."} 
[2026-07-13 02:25:47] local.INFO: Processing buffer {"connection_id":132243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f581c9500012d7f8fc005afdd90000001381c..."} 
[2026-07-13 02:25:47] local.INFO: Packet analysis {"connection_id":132243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f581c"} 
[2026-07-13 02:25:47] local.INFO: Extracted packet for processing {"connection_id":132243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f581c"} 
[2026-07-13 02:25:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":28,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02: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-07-13 02:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675685120001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783889696000,"timestamp_ms":1783889696000,"timestamp_seconds":1783889696,"priority":1,"record_length":96,"hex_timestamp":"0000019f581c9500"} 
[2026-07-13 02:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02: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-07-13 02:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675685120001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675685120001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:25:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:25:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675685120001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":132243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:25:47] local.INFO: GPS data processed {"connection_id":132243,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:25:47] local.INFO: Acknowledgment sent {"connection_id":132243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:25:52] local.INFO: TCP Data received {"connection_id":132243,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f581c9500012d7f8fc005afdd90000001381c..."} 
[2026-07-13 02:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f581c9500012d7f8fc005afdd90000001381c..."} 
[2026-07-13 02:25:52] local.INFO: Processing buffer {"connection_id":132243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f581c9500012d7f8fc005afdd90000001381c..."} 
[2026-07-13 02:25:52] local.INFO: Packet analysis {"connection_id":132243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f581c"} 
[2026-07-13 02:25:52] local.INFO: Extracted packet for processing {"connection_id":132243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f581c"} 
[2026-07-13 02:25:52] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":28,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675685120001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783889696000,"timestamp_ms":1783889696000,"timestamp_seconds":1783889696,"priority":1,"record_length":96,"hex_timestamp":"0000019f581c9500"} 
[2026-07-13 02:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":132243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":132243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":132243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675685120001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675685120001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:25:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:25:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675685120001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":132243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:25:52] local.INFO: GPS data processed {"connection_id":132243,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:25:52] local.INFO: Acknowledgment sent {"connection_id":132243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:26:36] local.INFO: TCP Data received {"connection_id":129926,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:26:36] local.INFO: Processing buffer {"connection_id":129926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:26:36] local.INFO: IMEI packet received {"connection_id":129926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":129926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:26:41] local.INFO: TCP Data received {"connection_id":129926,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:26:41] local.INFO: Processing buffer {"connection_id":129926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:26:41] local.INFO: IMEI packet received {"connection_id":129926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":129926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:26:42] local.INFO: TCP Data received {"connection_id":129926,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f581c9500012d7f8fc005afdd90000001381c..."} 
[2026-07-13 02:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f581c9500012d7f8fc005afdd90000001381c..."} 
[2026-07-13 02:26:42] local.INFO: Processing buffer {"connection_id":129926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f581c9500012d7f8fc005afdd90000001381c..."} 
[2026-07-13 02:26:42] local.INFO: Packet analysis {"connection_id":129926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f581c"} 
[2026-07-13 02:26:42] local.INFO: Extracted packet for processing {"connection_id":129926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f581c"} 
[2026-07-13 02:26:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":28,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675685120001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783889696000,"timestamp_ms":1783889696000,"timestamp_seconds":1783889696,"priority":1,"record_length":96,"hex_timestamp":"0000019f581c9500"} 
[2026-07-13 02:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675685120001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675685120001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:26:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:26:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675685120001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":129926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:26:42] local.INFO: GPS data processed {"connection_id":129926,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:26:42] local.INFO: Acknowledgment sent {"connection_id":129926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:27:13] local.INFO: TCP Data received {"connection_id":129926,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f581c9500012d7f8fc005afdd90000001381c..."} 
[2026-07-13 02:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f581c9500012d7f8fc005afdd90000001381c..."} 
[2026-07-13 02:27:13] local.INFO: Processing buffer {"connection_id":129926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f581c9500012d7f8fc005afdd90000001381c..."} 
[2026-07-13 02:27:13] local.INFO: Packet analysis {"connection_id":129926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f581c"} 
[2026-07-13 02:27:13] local.INFO: Extracted packet for processing {"connection_id":129926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f581c"} 
[2026-07-13 02:27:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":28,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675685120001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783889696000,"timestamp_ms":1783889696000,"timestamp_seconds":1783889696,"priority":1,"record_length":96,"hex_timestamp":"0000019f581c9500"} 
[2026-07-13 02:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675685120001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675685120001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:27:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:27:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675685120001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":129926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:27:13] local.INFO: GPS data processed {"connection_id":129926,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:27:13] local.INFO: Acknowledgment sent {"connection_id":129926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:27:36] local.INFO: TCP Data received {"connection_id":130139,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:27:36] local.INFO: Processing buffer {"connection_id":130139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:27:36] local.INFO: IMEI packet received {"connection_id":130139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":130139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:27:41] local.INFO: TCP Data received {"connection_id":130139,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:27:41] local.INFO: Processing buffer {"connection_id":130139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:27:41] local.INFO: IMEI packet received {"connection_id":130139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":130139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:27:42] local.INFO: TCP Data received {"connection_id":130139,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f581c9500012d7f8fc005afdd90000001381c..."} 
[2026-07-13 02:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f581c9500012d7f8fc005afdd90000001381c..."} 
[2026-07-13 02:27:42] local.INFO: Processing buffer {"connection_id":130139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f581c9500012d7f8fc005afdd90000001381c..."} 
[2026-07-13 02:27:42] local.INFO: Packet analysis {"connection_id":130139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f581c"} 
[2026-07-13 02:27:42] local.INFO: Extracted packet for processing {"connection_id":130139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f581c"} 
[2026-07-13 02:27:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":28,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675685120001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783889696000,"timestamp_ms":1783889696000,"timestamp_seconds":1783889696,"priority":1,"record_length":96,"hex_timestamp":"0000019f581c9500"} 
[2026-07-13 02:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675685120001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675685120001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:27:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:27:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675685120001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":130139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:27:42] local.INFO: GPS data processed {"connection_id":130139,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:27:42] local.INFO: Acknowledgment sent {"connection_id":130139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:28:13] local.INFO: TCP Data received {"connection_id":130139,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f581c9500012d7f8fc005afdd90000001381c..."} 
[2026-07-13 02:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f581c9500012d7f8fc005afdd90000001381c..."} 
[2026-07-13 02:28:13] local.INFO: Processing buffer {"connection_id":130139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f581c9500012d7f8fc005afdd90000001381c..."} 
[2026-07-13 02:28:13] local.INFO: Packet analysis {"connection_id":130139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f581c"} 
[2026-07-13 02:28:13] local.INFO: Extracted packet for processing {"connection_id":130139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f581c"} 
[2026-07-13 02:28:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":28,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675685120001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783889696000,"timestamp_ms":1783889696000,"timestamp_seconds":1783889696,"priority":1,"record_length":96,"hex_timestamp":"0000019f581c9500"} 
[2026-07-13 02:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675685120001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675685120001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:28:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:28:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675685120001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":130139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:28:13] local.INFO: GPS data processed {"connection_id":130139,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:28:13] local.INFO: Acknowledgment sent {"connection_id":130139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:28:36] local.INFO: TCP Data received {"connection_id":129927,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:28:36] local.INFO: Processing buffer {"connection_id":129927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:28:36] local.INFO: IMEI packet received {"connection_id":129927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":129927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:28:41] local.INFO: TCP Data received {"connection_id":129927,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:28:41] local.INFO: Processing buffer {"connection_id":129927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:28:41] local.INFO: IMEI packet received {"connection_id":129927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":129927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:28:42] local.INFO: TCP Data received {"connection_id":129927,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f581c9500012d7f8fc005afdd90000001381c..."} 
[2026-07-13 02:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f581c9500012d7f8fc005afdd90000001381c..."} 
[2026-07-13 02:28:42] local.INFO: Processing buffer {"connection_id":129927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f581c9500012d7f8fc005afdd90000001381c..."} 
[2026-07-13 02:28:42] local.INFO: Packet analysis {"connection_id":129927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f581c"} 
[2026-07-13 02:28:42] local.INFO: Extracted packet for processing {"connection_id":129927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f581c"} 
[2026-07-13 02:28:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":28,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675685120001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783889696000,"timestamp_ms":1783889696000,"timestamp_seconds":1783889696,"priority":1,"record_length":96,"hex_timestamp":"0000019f581c9500"} 
[2026-07-13 02:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675685120001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675685120001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:28:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:28:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675685120001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":129927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:28:42] local.INFO: GPS data processed {"connection_id":129927,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:28:42] local.INFO: Acknowledgment sent {"connection_id":129927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:29:13] local.INFO: TCP Data received {"connection_id":129927,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f581c9500012d7f8fc005afdd90000001381c..."} 
[2026-07-13 02:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f581c9500012d7f8fc005afdd90000001381c..."} 
[2026-07-13 02:29:13] local.INFO: Processing buffer {"connection_id":129927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f581c9500012d7f8fc005afdd90000001381c..."} 
[2026-07-13 02:29:13] local.INFO: Packet analysis {"connection_id":129927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f581c"} 
[2026-07-13 02:29:13] local.INFO: Extracted packet for processing {"connection_id":129927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f581c"} 
[2026-07-13 02:29:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":28,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675685120001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783889696000,"timestamp_ms":1783889696000,"timestamp_seconds":1783889696,"priority":1,"record_length":96,"hex_timestamp":"0000019f581c9500"} 
[2026-07-13 02:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675685120001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675685120001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:29:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:29:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675685120001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":129927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:29:13] local.INFO: GPS data processed {"connection_id":129927,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:29:13] local.INFO: Acknowledgment sent {"connection_id":129927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:29:42] local.INFO: TCP Data received {"connection_id":132247,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:29:42] local.INFO: Processing buffer {"connection_id":132247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:29:42] local.INFO: IMEI packet received {"connection_id":132247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":132247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:29:46] local.INFO: TCP Data received {"connection_id":132247,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:29:46] local.INFO: Processing buffer {"connection_id":132247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:29:46] local.INFO: IMEI packet received {"connection_id":132247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":132247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:29:47] local.INFO: TCP Data received {"connection_id":132247,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f581c9500012d7f8fc005afdd90000001381c..."} 
[2026-07-13 02:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f581c9500012d7f8fc005afdd90000001381c..."} 
[2026-07-13 02:29:47] local.INFO: Processing buffer {"connection_id":132247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f581c9500012d7f8fc005afdd90000001381c..."} 
[2026-07-13 02:29:47] local.INFO: Packet analysis {"connection_id":132247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f581c"} 
[2026-07-13 02:29:47] local.INFO: Extracted packet for processing {"connection_id":132247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f581c"} 
[2026-07-13 02:29:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":28,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675685120001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783889696000,"timestamp_ms":1783889696000,"timestamp_seconds":1783889696,"priority":1,"record_length":96,"hex_timestamp":"0000019f581c9500"} 
[2026-07-13 02:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675685120001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675685120001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:29:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:29:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675685120001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":132247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:29:47] local.INFO: GPS data processed {"connection_id":132247,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:29:47] local.INFO: Acknowledgment sent {"connection_id":132247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:29:51] local.INFO: TCP Data received {"connection_id":132247,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f581c9500012d7f8fc005afdd90000001381c..."} 
[2026-07-13 02:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f581c9500012d7f8fc005afdd90000001381c..."} 
[2026-07-13 02:29:51] local.INFO: Processing buffer {"connection_id":132247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f581c9500012d7f8fc005afdd90000001381c..."} 
[2026-07-13 02:29:51] local.INFO: Packet analysis {"connection_id":132247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f581c"} 
[2026-07-13 02:29:51] local.INFO: Extracted packet for processing {"connection_id":132247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f581c"} 
[2026-07-13 02:29:51] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":28,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02: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-07-13 02:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675685120001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783889696000,"timestamp_ms":1783889696000,"timestamp_seconds":1783889696,"priority":1,"record_length":96,"hex_timestamp":"0000019f581c9500"} 
[2026-07-13 02:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02: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-07-13 02:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:29: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-07-13 02:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675685120001,"66":25147,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675685120001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:29:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:29:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675685120001,"power":25147,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":132247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:29:51] local.INFO: GPS data processed {"connection_id":132247,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:29:51] local.INFO: Acknowledgment sent {"connection_id":132247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:30:35] local.INFO: TCP Data received {"connection_id":132249,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:30:35] local.INFO: Processing buffer {"connection_id":132249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:30:35] local.INFO: IMEI packet received {"connection_id":132249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":132249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:30:36] local.INFO: TCP Data received {"connection_id":132249,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:30:36] local.INFO: Processing buffer {"connection_id":132249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:30:36] local.INFO: IMEI packet received {"connection_id":132249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":132249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:30:41] local.INFO: TCP Data received {"connection_id":132249,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:30:41] local.INFO: Processing buffer {"connection_id":132249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:30:41] local.INFO: IMEI packet received {"connection_id":132249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":132249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:30:42] local.INFO: TCP Data received {"connection_id":132249,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f58212cc8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58212cc8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:30:42] local.INFO: Processing buffer {"connection_id":132249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58212cc8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:30:42] local.INFO: Packet analysis {"connection_id":132249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5821"} 
[2026-07-13 02:30:42] local.INFO: Extracted packet for processing {"connection_id":132249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5821"} 
[2026-07-13 02:30:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675762176001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783889997000,"timestamp_ms":1783889997000,"timestamp_seconds":1783889997,"priority":1,"record_length":96,"hex_timestamp":"0000019f58212cc8"} 
[2026-07-13 02:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675762176001,"66":25125,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675762176001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:30:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:30:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675762176001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":132249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:30:42] local.INFO: GPS data processed {"connection_id":132249,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:30:42] local.INFO: Acknowledgment sent {"connection_id":132249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:31:08] local.INFO: TCP Data received {"connection_id":130915,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130915,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:31:08] local.INFO: Processing buffer {"connection_id":130915,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:31:08] local.INFO: IMEI packet received {"connection_id":130915,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 02:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":130915,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:31:13] local.INFO: TCP Data received {"connection_id":132249,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f58212cc8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58212cc8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:31:13] local.INFO: Processing buffer {"connection_id":132249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58212cc8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:31:13] local.INFO: Packet analysis {"connection_id":132249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5821"} 
[2026-07-13 02:31:13] local.INFO: Extracted packet for processing {"connection_id":132249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5821"} 
[2026-07-13 02:31:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675762176001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783889997000,"timestamp_ms":1783889997000,"timestamp_seconds":1783889997,"priority":1,"record_length":96,"hex_timestamp":"0000019f58212cc8"} 
[2026-07-13 02:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675762176001,"66":25125,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675762176001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:31:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:31:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675762176001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":132249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:31:13] local.INFO: GPS data processed {"connection_id":132249,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:31:13] local.INFO: Acknowledgment sent {"connection_id":132249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:31:36] local.INFO: TCP Data received {"connection_id":129928,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:31:36] local.INFO: Processing buffer {"connection_id":129928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:31:36] local.INFO: IMEI packet received {"connection_id":129928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":129928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:31:41] local.INFO: TCP Data received {"connection_id":130916,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130916,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:31:41] local.INFO: Processing buffer {"connection_id":130916,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:31:41] local.INFO: IMEI packet received {"connection_id":130916,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 02:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":130916,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:31:41] local.INFO: TCP Data received {"connection_id":129928,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:31:41] local.INFO: Processing buffer {"connection_id":129928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:31:41] local.INFO: IMEI packet received {"connection_id":129928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":129928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:31:42] local.INFO: TCP Data received {"connection_id":129928,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f58212cc8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58212cc8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:31:42] local.INFO: Processing buffer {"connection_id":129928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58212cc8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:31:42] local.INFO: Packet analysis {"connection_id":129928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5821"} 
[2026-07-13 02:31:42] local.INFO: Extracted packet for processing {"connection_id":129928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5821"} 
[2026-07-13 02:31:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675762176001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783889997000,"timestamp_ms":1783889997000,"timestamp_seconds":1783889997,"priority":1,"record_length":96,"hex_timestamp":"0000019f58212cc8"} 
[2026-07-13 02:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675762176001,"66":25125,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675762176001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:31:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:31:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675762176001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":129928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:31:42] local.INFO: GPS data processed {"connection_id":129928,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:31:42] local.INFO: Acknowledgment sent {"connection_id":129928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:32:13] local.INFO: TCP Data received {"connection_id":129928,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f58212cc8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58212cc8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:32:13] local.INFO: Processing buffer {"connection_id":129928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58212cc8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:32:13] local.INFO: Packet analysis {"connection_id":129928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5821"} 
[2026-07-13 02:32:13] local.INFO: Extracted packet for processing {"connection_id":129928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5821"} 
[2026-07-13 02:32:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675762176001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783889997000,"timestamp_ms":1783889997000,"timestamp_seconds":1783889997,"priority":1,"record_length":96,"hex_timestamp":"0000019f58212cc8"} 
[2026-07-13 02:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675762176001,"66":25125,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675762176001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:32:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:32:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675762176001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":129928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:32:13] local.INFO: GPS data processed {"connection_id":129928,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:32:13] local.INFO: Acknowledgment sent {"connection_id":129928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:32:36] local.INFO: TCP Data received {"connection_id":130917,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:32:36] local.INFO: Processing buffer {"connection_id":130917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:32:36] local.INFO: IMEI packet received {"connection_id":130917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":130917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:32:41] local.INFO: TCP Data received {"connection_id":130917,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:32:41] local.INFO: Processing buffer {"connection_id":130917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:32:41] local.INFO: IMEI packet received {"connection_id":130917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":130917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:32:42] local.INFO: TCP Data received {"connection_id":130917,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f58212cc8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58212cc8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:32:42] local.INFO: Processing buffer {"connection_id":130917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58212cc8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:32:42] local.INFO: Packet analysis {"connection_id":130917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5821"} 
[2026-07-13 02:32:42] local.INFO: Extracted packet for processing {"connection_id":130917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5821"} 
[2026-07-13 02:32:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675762176001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783889997000,"timestamp_ms":1783889997000,"timestamp_seconds":1783889997,"priority":1,"record_length":96,"hex_timestamp":"0000019f58212cc8"} 
[2026-07-13 02:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675762176001,"66":25125,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675762176001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:32:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:32:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675762176001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":130917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:32:42] local.INFO: GPS data processed {"connection_id":130917,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:32:42] local.INFO: Acknowledgment sent {"connection_id":130917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:33:13] local.INFO: TCP Data received {"connection_id":130917,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f58212cc8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58212cc8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:33:13] local.INFO: Processing buffer {"connection_id":130917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58212cc8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:33:13] local.INFO: Packet analysis {"connection_id":130917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5821"} 
[2026-07-13 02:33:13] local.INFO: Extracted packet for processing {"connection_id":130917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5821"} 
[2026-07-13 02:33:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675762176001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783889997000,"timestamp_ms":1783889997000,"timestamp_seconds":1783889997,"priority":1,"record_length":96,"hex_timestamp":"0000019f58212cc8"} 
[2026-07-13 02:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675762176001,"66":25125,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675762176001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:33:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:33:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675762176001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":130917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:33:13] local.INFO: GPS data processed {"connection_id":130917,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:33:13] local.INFO: Acknowledgment sent {"connection_id":130917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:33:36] local.INFO: TCP Data received {"connection_id":130918,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:33:36] local.INFO: Processing buffer {"connection_id":130918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:33:36] local.INFO: IMEI packet received {"connection_id":130918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":130918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:33:41] local.INFO: TCP Data received {"connection_id":130918,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:33:41] local.INFO: Processing buffer {"connection_id":130918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:33:41] local.INFO: IMEI packet received {"connection_id":130918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":130918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:33:42] local.INFO: TCP Data received {"connection_id":130918,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f58212cc8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58212cc8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:33:42] local.INFO: Processing buffer {"connection_id":130918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58212cc8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:33:42] local.INFO: Packet analysis {"connection_id":130918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5821"} 
[2026-07-13 02:33:42] local.INFO: Extracted packet for processing {"connection_id":130918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5821"} 
[2026-07-13 02:33:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675762176001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783889997000,"timestamp_ms":1783889997000,"timestamp_seconds":1783889997,"priority":1,"record_length":96,"hex_timestamp":"0000019f58212cc8"} 
[2026-07-13 02:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675762176001,"66":25125,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675762176001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:33:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:33:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675762176001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":130918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:33:42] local.INFO: GPS data processed {"connection_id":130918,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:33:42] local.INFO: Acknowledgment sent {"connection_id":130918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:34:13] local.INFO: TCP Data received {"connection_id":130918,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f58212cc8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58212cc8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:34:13] local.INFO: Processing buffer {"connection_id":130918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58212cc8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:34:13] local.INFO: Packet analysis {"connection_id":130918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5821"} 
[2026-07-13 02:34:13] local.INFO: Extracted packet for processing {"connection_id":130918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5821"} 
[2026-07-13 02:34:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675762176001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783889997000,"timestamp_ms":1783889997000,"timestamp_seconds":1783889997,"priority":1,"record_length":96,"hex_timestamp":"0000019f58212cc8"} 
[2026-07-13 02:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675762176001,"66":25125,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675762176001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:34:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:34:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675762176001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":130918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:34:13] local.INFO: GPS data processed {"connection_id":130918,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:34:13] local.INFO: Acknowledgment sent {"connection_id":130918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:34:41] local.INFO: TCP Data received {"connection_id":130919,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:34:41] local.INFO: Processing buffer {"connection_id":130919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:34:41] local.INFO: IMEI packet received {"connection_id":130919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":130919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:34:46] local.INFO: TCP Data received {"connection_id":130919,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:34:46] local.INFO: Processing buffer {"connection_id":130919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:34:46] local.INFO: IMEI packet received {"connection_id":130919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":130919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:34:47] local.INFO: TCP Data received {"connection_id":130919,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f58212cc8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58212cc8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:34:47] local.INFO: Processing buffer {"connection_id":130919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58212cc8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:34:47] local.INFO: Packet analysis {"connection_id":130919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5821"} 
[2026-07-13 02:34:47] local.INFO: Extracted packet for processing {"connection_id":130919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5821"} 
[2026-07-13 02:34:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675762176001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783889997000,"timestamp_ms":1783889997000,"timestamp_seconds":1783889997,"priority":1,"record_length":96,"hex_timestamp":"0000019f58212cc8"} 
[2026-07-13 02:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675762176001,"66":25125,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675762176001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:34:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:34:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675762176001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":130919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:34:47] local.INFO: GPS data processed {"connection_id":130919,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:34:47] local.INFO: Acknowledgment sent {"connection_id":130919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:34:51] local.INFO: TCP Data received {"connection_id":130919,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f58212cc8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58212cc8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:34:51] local.INFO: Processing buffer {"connection_id":130919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58212cc8012d7f8fc005afdd900000013820..."} 
[2026-07-13 02:34:51] local.INFO: Packet analysis {"connection_id":130919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5821"} 
[2026-07-13 02:34:51] local.INFO: Extracted packet for processing {"connection_id":130919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5821"} 
[2026-07-13 02:34:51] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675762176001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783889997000,"timestamp_ms":1783889997000,"timestamp_seconds":1783889997,"priority":1,"record_length":96,"hex_timestamp":"0000019f58212cc8"} 
[2026-07-13 02:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 02:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:34: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-07-13 02:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675762176001,"66":25125,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675762176001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:34:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:34:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675762176001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":130919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:34:51] local.INFO: GPS data processed {"connection_id":130919,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:34:51] local.INFO: Acknowledgment sent {"connection_id":130919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:35:36] local.INFO: TCP Data received {"connection_id":130141,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:35:36] local.INFO: Processing buffer {"connection_id":130141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:35:36] local.INFO: IMEI packet received {"connection_id":130141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":130141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:35:36] local.INFO: TCP Data received {"connection_id":130141,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:35:36] local.INFO: Processing buffer {"connection_id":130141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:35:36] local.INFO: IMEI packet received {"connection_id":130141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":130141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:35:41] local.INFO: TCP Data received {"connection_id":130141,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:35:41] local.INFO: Processing buffer {"connection_id":130141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:35:41] local.INFO: IMEI packet received {"connection_id":130141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":130141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:35:42] local.INFO: TCP Data received {"connection_id":130141,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:35:42] local.INFO: Processing buffer {"connection_id":130141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:35:42] local.INFO: Packet analysis {"connection_id":130141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5825"} 
[2026-07-13 02:35:42] local.INFO: Extracted packet for processing {"connection_id":130141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5825"} 
[2026-07-13 02:35:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675839232001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783890298000,"timestamp_ms":1783890298000,"timestamp_seconds":1783890298,"priority":1,"record_length":96,"hex_timestamp":"0000019f5825c490"} 
[2026-07-13 02:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 02:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675839232001,"66":25093,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675839232001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:35:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:35:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675839232001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":130141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:35:42] local.INFO: GPS data processed {"connection_id":130141,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:35:42] local.INFO: Acknowledgment sent {"connection_id":130141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:35:46] local.INFO: TCP Data received {"connection_id":130141,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:35:46] local.INFO: Processing buffer {"connection_id":130141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:35:46] local.INFO: Packet analysis {"connection_id":130141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5825"} 
[2026-07-13 02:35:46] local.INFO: Extracted packet for processing {"connection_id":130141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5825"} 
[2026-07-13 02:35:46] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675839232001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783890298000,"timestamp_ms":1783890298000,"timestamp_seconds":1783890298,"priority":1,"record_length":96,"hex_timestamp":"0000019f5825c490"} 
[2026-07-13 02:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 02:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675839232001,"66":25093,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675839232001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:35:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:35:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675839232001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":130141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:35:46] local.INFO: GPS data processed {"connection_id":130141,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:35:46] local.INFO: Acknowledgment sent {"connection_id":130141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:36:18] local.INFO: TCP Data received {"connection_id":130141,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:36:18] local.INFO: Processing buffer {"connection_id":130141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:36:18] local.INFO: Packet analysis {"connection_id":130141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5825"} 
[2026-07-13 02:36:18] local.INFO: Extracted packet for processing {"connection_id":130141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5825"} 
[2026-07-13 02:36:18] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02: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-07-13 02:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675839232001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783890298000,"timestamp_ms":1783890298000,"timestamp_seconds":1783890298,"priority":1,"record_length":96,"hex_timestamp":"0000019f5825c490"} 
[2026-07-13 02:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 02:36:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:36: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-07-13 02:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675839232001,"66":25093,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675839232001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:36:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:36:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675839232001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":130141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:36:18] local.INFO: GPS data processed {"connection_id":130141,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:36:18] local.INFO: Acknowledgment sent {"connection_id":130141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:36:36] local.INFO: TCP Data received {"connection_id":132250,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:36:36] local.INFO: Processing buffer {"connection_id":132250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:36:36] local.INFO: IMEI packet received {"connection_id":132250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":132250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:36:41] local.INFO: TCP Data received {"connection_id":132250,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:36:41] local.INFO: Processing buffer {"connection_id":132250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:36:41] local.INFO: IMEI packet received {"connection_id":132250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":132250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:36:42] local.INFO: TCP Data received {"connection_id":132250,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:36:42] local.INFO: Processing buffer {"connection_id":132250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:36:42] local.INFO: Packet analysis {"connection_id":132250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5825"} 
[2026-07-13 02:36:42] local.INFO: Extracted packet for processing {"connection_id":132250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5825"} 
[2026-07-13 02:36:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675839232001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783890298000,"timestamp_ms":1783890298000,"timestamp_seconds":1783890298,"priority":1,"record_length":96,"hex_timestamp":"0000019f5825c490"} 
[2026-07-13 02:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 02:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675839232001,"66":25093,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675839232001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:36:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:36:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675839232001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":132250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:36:42] local.INFO: GPS data processed {"connection_id":132250,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:36:42] local.INFO: Acknowledgment sent {"connection_id":132250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:37:01] local.INFO: TCP Data received {"connection_id":130921,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:37:01] local.INFO: Processing buffer {"connection_id":130921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:37:01] local.INFO: IMEI packet received {"connection_id":130921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 02:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":130921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:37:13] local.INFO: TCP Data received {"connection_id":132250,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:37:13] local.INFO: Processing buffer {"connection_id":132250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:37:13] local.INFO: Packet analysis {"connection_id":132250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5825"} 
[2026-07-13 02:37:13] local.INFO: Extracted packet for processing {"connection_id":132250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5825"} 
[2026-07-13 02:37:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675839232001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783890298000,"timestamp_ms":1783890298000,"timestamp_seconds":1783890298,"priority":1,"record_length":96,"hex_timestamp":"0000019f5825c490"} 
[2026-07-13 02:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 02:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675839232001,"66":25093,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675839232001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:37:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:37:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675839232001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":132250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:37:13] local.INFO: GPS data processed {"connection_id":132250,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:37:13] local.INFO: Acknowledgment sent {"connection_id":132250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:37:36] local.INFO: TCP Data received {"connection_id":130142,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:37:36] local.INFO: Processing buffer {"connection_id":130142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:37:36] local.INFO: IMEI packet received {"connection_id":130142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":130142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:37:41] local.INFO: TCP Data received {"connection_id":130922,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130922,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:37:41] local.INFO: Processing buffer {"connection_id":130922,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:37:41] local.INFO: IMEI packet received {"connection_id":130922,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 02:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":130922,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:37:41] local.INFO: TCP Data received {"connection_id":130142,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:37:41] local.INFO: Processing buffer {"connection_id":130142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:37:41] local.INFO: IMEI packet received {"connection_id":130142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":130142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:37:42] local.INFO: TCP Data received {"connection_id":130142,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:37:42] local.INFO: Processing buffer {"connection_id":130142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:37:42] local.INFO: Packet analysis {"connection_id":130142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5825"} 
[2026-07-13 02:37:42] local.INFO: Extracted packet for processing {"connection_id":130142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5825"} 
[2026-07-13 02:37:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675839232001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783890298000,"timestamp_ms":1783890298000,"timestamp_seconds":1783890298,"priority":1,"record_length":96,"hex_timestamp":"0000019f5825c490"} 
[2026-07-13 02:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 02:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675839232001,"66":25093,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675839232001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:37:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:37:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675839232001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":130142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:37:42] local.INFO: GPS data processed {"connection_id":130142,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:37:42] local.INFO: Acknowledgment sent {"connection_id":130142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:38:13] local.INFO: TCP Data received {"connection_id":130142,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:38:13] local.INFO: Processing buffer {"connection_id":130142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:38:13] local.INFO: Packet analysis {"connection_id":130142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5825"} 
[2026-07-13 02:38:13] local.INFO: Extracted packet for processing {"connection_id":130142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5825"} 
[2026-07-13 02:38:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675839232001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783890298000,"timestamp_ms":1783890298000,"timestamp_seconds":1783890298,"priority":1,"record_length":96,"hex_timestamp":"0000019f5825c490"} 
[2026-07-13 02:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 02:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675839232001,"66":25093,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675839232001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:38:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:38:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675839232001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":130142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:38:13] local.INFO: GPS data processed {"connection_id":130142,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:38:13] local.INFO: Acknowledgment sent {"connection_id":130142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:38:36] local.INFO: TCP Data received {"connection_id":130923,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:38:36] local.INFO: Processing buffer {"connection_id":130923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:38:36] local.INFO: IMEI packet received {"connection_id":130923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":130923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:38:41] local.INFO: TCP Data received {"connection_id":130923,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:38:41] local.INFO: Processing buffer {"connection_id":130923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:38:41] local.INFO: IMEI packet received {"connection_id":130923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":130923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:38:42] local.INFO: TCP Data received {"connection_id":130923,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:38:42] local.INFO: Processing buffer {"connection_id":130923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:38:42] local.INFO: Packet analysis {"connection_id":130923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5825"} 
[2026-07-13 02:38:42] local.INFO: Extracted packet for processing {"connection_id":130923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5825"} 
[2026-07-13 02:38:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675839232001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783890298000,"timestamp_ms":1783890298000,"timestamp_seconds":1783890298,"priority":1,"record_length":96,"hex_timestamp":"0000019f5825c490"} 
[2026-07-13 02:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 02:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675839232001,"66":25093,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675839232001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:38:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:38:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675839232001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":130923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:38:42] local.INFO: GPS data processed {"connection_id":130923,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:38:42] local.INFO: Acknowledgment sent {"connection_id":130923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:39:13] local.INFO: TCP Data received {"connection_id":130923,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:39:13] local.INFO: Processing buffer {"connection_id":130923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:39:13] local.INFO: Packet analysis {"connection_id":130923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5825"} 
[2026-07-13 02:39:13] local.INFO: Extracted packet for processing {"connection_id":130923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5825"} 
[2026-07-13 02:39:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675839232001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783890298000,"timestamp_ms":1783890298000,"timestamp_seconds":1783890298,"priority":1,"record_length":96,"hex_timestamp":"0000019f5825c490"} 
[2026-07-13 02:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 02:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675839232001,"66":25093,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675839232001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:39:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:39:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675839232001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":130923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:39:13] local.INFO: GPS data processed {"connection_id":130923,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:39:13] local.INFO: Acknowledgment sent {"connection_id":130923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:39:41] local.INFO: TCP Data received {"connection_id":129932,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:39:41] local.INFO: Processing buffer {"connection_id":129932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:39:41] local.INFO: IMEI packet received {"connection_id":129932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":129932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:39:46] local.INFO: TCP Data received {"connection_id":129932,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:39:46] local.INFO: Processing buffer {"connection_id":129932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:39:46] local.INFO: IMEI packet received {"connection_id":129932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":129932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:39:47] local.INFO: TCP Data received {"connection_id":129932,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:39:47] local.INFO: Processing buffer {"connection_id":129932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:39:47] local.INFO: Packet analysis {"connection_id":129932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5825"} 
[2026-07-13 02:39:47] local.INFO: Extracted packet for processing {"connection_id":129932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5825"} 
[2026-07-13 02:39:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675839232001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783890298000,"timestamp_ms":1783890298000,"timestamp_seconds":1783890298,"priority":1,"record_length":96,"hex_timestamp":"0000019f5825c490"} 
[2026-07-13 02:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 02:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":129932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":129932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":129932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675839232001,"66":25093,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675839232001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:39:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:39:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675839232001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":129932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:39:47] local.INFO: GPS data processed {"connection_id":129932,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:39:47] local.INFO: Acknowledgment sent {"connection_id":129932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:39:51] local.INFO: TCP Data received {"connection_id":129932,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:39:51] local.INFO: Processing buffer {"connection_id":129932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5825c490012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:39:51] local.INFO: Packet analysis {"connection_id":129932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5825"} 
[2026-07-13 02:39:51] local.INFO: Extracted packet for processing {"connection_id":129932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5825"} 
[2026-07-13 02:39:51] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675839232001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783890298000,"timestamp_ms":1783890298000,"timestamp_seconds":1783890298,"priority":1,"record_length":96,"hex_timestamp":"0000019f5825c490"} 
[2026-07-13 02:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 02:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":129932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":129932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":129932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:39: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-07-13 02:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675839232001,"66":25093,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675839232001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:39:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:39:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675839232001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":129932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:39:51] local.INFO: GPS data processed {"connection_id":129932,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:39:51] local.INFO: Acknowledgment sent {"connection_id":129932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:40:36] local.INFO: TCP Data received {"connection_id":132252,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:40:36] local.INFO: Processing buffer {"connection_id":132252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:40:36] local.INFO: IMEI packet received {"connection_id":132252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":132252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:40:37] local.INFO: TCP Data received {"connection_id":132252,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:40:37] local.INFO: Processing buffer {"connection_id":132252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:40:37] local.INFO: IMEI packet received {"connection_id":132252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":132252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:40:41] local.INFO: TCP Data received {"connection_id":132252,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:40:41] local.INFO: Processing buffer {"connection_id":132252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:40:41] local.INFO: IMEI packet received {"connection_id":132252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":132252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:40:42] local.INFO: TCP Data received {"connection_id":132252,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f582a5c58012d7f8fc005afdd900000013824..."} 
[2026-07-13 02:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f582a5c58012d7f8fc005afdd900000013824..."} 
[2026-07-13 02:40:42] local.INFO: Processing buffer {"connection_id":132252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f582a5c58012d7f8fc005afdd900000013824..."} 
[2026-07-13 02:40:42] local.INFO: Packet analysis {"connection_id":132252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f582a"} 
[2026-07-13 02:40:42] local.INFO: Extracted packet for processing {"connection_id":132252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f582a"} 
[2026-07-13 02:40:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":36,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675916288001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783890599000,"timestamp_ms":1783890599000,"timestamp_seconds":1783890599,"priority":1,"record_length":96,"hex_timestamp":"0000019f582a5c58"} 
[2026-07-13 02:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 02:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675916288001,"66":25060,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675916288001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:40:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:40:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675916288001,"power":25060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":132252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:40:42] local.INFO: GPS data processed {"connection_id":132252,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:40:42] local.INFO: Acknowledgment sent {"connection_id":132252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:41:13] local.INFO: TCP Data received {"connection_id":132252,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f582a5c58012d7f8fc005afdd900000013824..."} 
[2026-07-13 02:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f582a5c58012d7f8fc005afdd900000013824..."} 
[2026-07-13 02:41:13] local.INFO: Processing buffer {"connection_id":132252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f582a5c58012d7f8fc005afdd900000013824..."} 
[2026-07-13 02:41:13] local.INFO: Packet analysis {"connection_id":132252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f582a"} 
[2026-07-13 02:41:13] local.INFO: Extracted packet for processing {"connection_id":132252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f582a"} 
[2026-07-13 02:41:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":36,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675916288001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783890599000,"timestamp_ms":1783890599000,"timestamp_seconds":1783890599,"priority":1,"record_length":96,"hex_timestamp":"0000019f582a5c58"} 
[2026-07-13 02:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 02:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675916288001,"66":25060,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675916288001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:41:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:41:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675916288001,"power":25060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":132252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:41:13] local.INFO: GPS data processed {"connection_id":132252,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:41:13] local.INFO: Acknowledgment sent {"connection_id":132252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:41:36] local.INFO: TCP Data received {"connection_id":130144,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:41:36] local.INFO: Processing buffer {"connection_id":130144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:41:36] local.INFO: IMEI packet received {"connection_id":130144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":130144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:41:41] local.INFO: TCP Data received {"connection_id":130144,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:41:41] local.INFO: Processing buffer {"connection_id":130144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:41:41] local.INFO: IMEI packet received {"connection_id":130144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":130144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:41:42] local.INFO: TCP Data received {"connection_id":130144,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f582a5c58012d7f8fc005afdd900000013824..."} 
[2026-07-13 02:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f582a5c58012d7f8fc005afdd900000013824..."} 
[2026-07-13 02:41:42] local.INFO: Processing buffer {"connection_id":130144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f582a5c58012d7f8fc005afdd900000013824..."} 
[2026-07-13 02:41:42] local.INFO: Packet analysis {"connection_id":130144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f582a"} 
[2026-07-13 02:41:42] local.INFO: Extracted packet for processing {"connection_id":130144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f582a"} 
[2026-07-13 02:41:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":36,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675916288001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783890599000,"timestamp_ms":1783890599000,"timestamp_seconds":1783890599,"priority":1,"record_length":96,"hex_timestamp":"0000019f582a5c58"} 
[2026-07-13 02:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 02:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675916288001,"66":25060,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675916288001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:41:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:41:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675916288001,"power":25060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":130144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:41:42] local.INFO: GPS data processed {"connection_id":130144,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:41:42] local.INFO: Acknowledgment sent {"connection_id":130144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:42:13] local.INFO: TCP Data received {"connection_id":130144,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f582a5c58012d7f8fc005afdd900000013824..."} 
[2026-07-13 02:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f582a5c58012d7f8fc005afdd900000013824..."} 
[2026-07-13 02:42:13] local.INFO: Processing buffer {"connection_id":130144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f582a5c58012d7f8fc005afdd900000013824..."} 
[2026-07-13 02:42:13] local.INFO: Packet analysis {"connection_id":130144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f582a"} 
[2026-07-13 02:42:13] local.INFO: Extracted packet for processing {"connection_id":130144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f582a"} 
[2026-07-13 02:42:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":36,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675916288001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783890599000,"timestamp_ms":1783890599000,"timestamp_seconds":1783890599,"priority":1,"record_length":96,"hex_timestamp":"0000019f582a5c58"} 
[2026-07-13 02:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 02:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675916288001,"66":25060,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675916288001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:42:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:42:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675916288001,"power":25060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":130144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:42:13] local.INFO: GPS data processed {"connection_id":130144,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:42:13] local.INFO: Acknowledgment sent {"connection_id":130144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:42:36] local.INFO: TCP Data received {"connection_id":130145,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:42:36] local.INFO: Processing buffer {"connection_id":130145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:42:36] local.INFO: IMEI packet received {"connection_id":130145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":130145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:42:41] local.INFO: TCP Data received {"connection_id":130145,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:42:41] local.INFO: Processing buffer {"connection_id":130145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:42:41] local.INFO: IMEI packet received {"connection_id":130145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":130145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:42:42] local.INFO: TCP Data received {"connection_id":130145,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f582a5c58012d7f8fc005afdd900000013824..."} 
[2026-07-13 02:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f582a5c58012d7f8fc005afdd900000013824..."} 
[2026-07-13 02:42:42] local.INFO: Processing buffer {"connection_id":130145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f582a5c58012d7f8fc005afdd900000013824..."} 
[2026-07-13 02:42:42] local.INFO: Packet analysis {"connection_id":130145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f582a"} 
[2026-07-13 02:42:42] local.INFO: Extracted packet for processing {"connection_id":130145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f582a"} 
[2026-07-13 02:42:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":36,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675916288001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783890599000,"timestamp_ms":1783890599000,"timestamp_seconds":1783890599,"priority":1,"record_length":96,"hex_timestamp":"0000019f582a5c58"} 
[2026-07-13 02:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 02:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675916288001,"66":25060,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675916288001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:42:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:42:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675916288001,"power":25060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":130145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:42:42] local.INFO: GPS data processed {"connection_id":130145,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:42:42] local.INFO: Acknowledgment sent {"connection_id":130145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:43:01] local.INFO: TCP Data received {"connection_id":129933,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:43:01] local.INFO: Processing buffer {"connection_id":129933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:43:01] local.INFO: IMEI packet received {"connection_id":129933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 02:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":129933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:43:13] local.INFO: TCP Data received {"connection_id":130145,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f582a5c58012d7f8fc005afdd900000013824..."} 
[2026-07-13 02:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f582a5c58012d7f8fc005afdd900000013824..."} 
[2026-07-13 02:43:13] local.INFO: Processing buffer {"connection_id":130145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f582a5c58012d7f8fc005afdd900000013824..."} 
[2026-07-13 02:43:13] local.INFO: Packet analysis {"connection_id":130145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f582a"} 
[2026-07-13 02:43:13] local.INFO: Extracted packet for processing {"connection_id":130145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f582a"} 
[2026-07-13 02:43:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":36,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675916288001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783890599000,"timestamp_ms":1783890599000,"timestamp_seconds":1783890599,"priority":1,"record_length":96,"hex_timestamp":"0000019f582a5c58"} 
[2026-07-13 02:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 02:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675916288001,"66":25060,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675916288001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:43:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:43:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675916288001,"power":25060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":130145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:43:13] local.INFO: GPS data processed {"connection_id":130145,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:43:13] local.INFO: Acknowledgment sent {"connection_id":130145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:43:41] local.INFO: TCP Data received {"connection_id":129934,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:43:41] local.INFO: Processing buffer {"connection_id":129934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:43:41] local.INFO: IMEI packet received {"connection_id":129934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":129934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:43:41] local.INFO: TCP Data received {"connection_id":129935,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129935,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:43:41] local.INFO: Processing buffer {"connection_id":129935,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:43:41] local.INFO: IMEI packet received {"connection_id":129935,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 02:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":129935,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:43:46] local.INFO: TCP Data received {"connection_id":129934,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:43:46] local.INFO: Processing buffer {"connection_id":129934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:43:46] local.INFO: IMEI packet received {"connection_id":129934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":129934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:43:47] local.INFO: TCP Data received {"connection_id":129934,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f582a5c58012d7f8fc005afdd900000013824..."} 
[2026-07-13 02:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f582a5c58012d7f8fc005afdd900000013824..."} 
[2026-07-13 02:43:47] local.INFO: Processing buffer {"connection_id":129934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f582a5c58012d7f8fc005afdd900000013824..."} 
[2026-07-13 02:43:47] local.INFO: Packet analysis {"connection_id":129934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f582a"} 
[2026-07-13 02:43:47] local.INFO: Extracted packet for processing {"connection_id":129934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f582a"} 
[2026-07-13 02:43:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":36,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675916288001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783890599000,"timestamp_ms":1783890599000,"timestamp_seconds":1783890599,"priority":1,"record_length":96,"hex_timestamp":"0000019f582a5c58"} 
[2026-07-13 02:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 02:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":129934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":129934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":129934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675916288001,"66":25060,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675916288001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:43:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:43:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675916288001,"power":25060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":129934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:43:47] local.INFO: GPS data processed {"connection_id":129934,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:43:47] local.INFO: Acknowledgment sent {"connection_id":129934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:43:51] local.INFO: TCP Data received {"connection_id":129934,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f582a5c58012d7f8fc005afdd900000013824..."} 
[2026-07-13 02:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f582a5c58012d7f8fc005afdd900000013824..."} 
[2026-07-13 02:43:51] local.INFO: Processing buffer {"connection_id":129934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f582a5c58012d7f8fc005afdd900000013824..."} 
[2026-07-13 02:43:51] local.INFO: Packet analysis {"connection_id":129934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f582a"} 
[2026-07-13 02:43:51] local.INFO: Extracted packet for processing {"connection_id":129934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f582a"} 
[2026-07-13 02:43:51] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":36,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 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-07-13 02:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675916288001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783890599000,"timestamp_ms":1783890599000,"timestamp_seconds":1783890599,"priority":1,"record_length":96,"hex_timestamp":"0000019f582a5c58"} 
[2026-07-13 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-07-13 02:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 02:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 02:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":129934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":129934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":129934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:43: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-07-13 02:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675916288001,"66":25060,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675916288001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:43:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:43:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675916288001,"power":25060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":129934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:43:51] local.INFO: GPS data processed {"connection_id":129934,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:43:51] local.INFO: Acknowledgment sent {"connection_id":129934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:44:36] local.INFO: TCP Data received {"connection_id":130925,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:44:36] local.INFO: Processing buffer {"connection_id":130925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:44:36] local.INFO: IMEI packet received {"connection_id":130925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":130925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:44:41] local.INFO: TCP Data received {"connection_id":130925,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:44:41] local.INFO: Processing buffer {"connection_id":130925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:44:41] local.INFO: IMEI packet received {"connection_id":130925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":130925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:44:42] local.INFO: TCP Data received {"connection_id":130925,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f582a5c58012d7f8fc005afdd900000013824..."} 
[2026-07-13 02:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f582a5c58012d7f8fc005afdd900000013824..."} 
[2026-07-13 02:44:42] local.INFO: Processing buffer {"connection_id":130925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f582a5c58012d7f8fc005afdd900000013824..."} 
[2026-07-13 02:44:42] local.INFO: Packet analysis {"connection_id":130925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f582a"} 
[2026-07-13 02:44:42] local.INFO: Extracted packet for processing {"connection_id":130925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f582a"} 
[2026-07-13 02:44:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":36,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675916288001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783890599000,"timestamp_ms":1783890599000,"timestamp_seconds":1783890599,"priority":1,"record_length":96,"hex_timestamp":"0000019f582a5c58"} 
[2026-07-13 02:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 02:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675916288001,"66":25060,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675916288001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:44:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:44:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675916288001,"power":25060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":130925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:44:42] local.INFO: GPS data processed {"connection_id":130925,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:44:42] local.INFO: Acknowledgment sent {"connection_id":130925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:45:13] local.INFO: TCP Data received {"connection_id":130925,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f582a5c58012d7f8fc005afdd900000013824..."} 
[2026-07-13 02:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f582a5c58012d7f8fc005afdd900000013824..."} 
[2026-07-13 02:45:13] local.INFO: Processing buffer {"connection_id":130925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f582a5c58012d7f8fc005afdd900000013824..."} 
[2026-07-13 02:45:13] local.INFO: Packet analysis {"connection_id":130925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f582a"} 
[2026-07-13 02:45:13] local.INFO: Extracted packet for processing {"connection_id":130925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f582a"} 
[2026-07-13 02:45:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":36,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675916288001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783890599000,"timestamp_ms":1783890599000,"timestamp_seconds":1783890599,"priority":1,"record_length":96,"hex_timestamp":"0000019f582a5c58"} 
[2026-07-13 02:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 02:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675916288001,"66":25060,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675916288001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:45:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:45:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675916288001,"power":25060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":130925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:45:13] local.INFO: GPS data processed {"connection_id":130925,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:45:13] local.INFO: Acknowledgment sent {"connection_id":130925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:45:36] local.INFO: TCP Data received {"connection_id":130146,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:45:36] local.INFO: Processing buffer {"connection_id":130146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:45:36] local.INFO: IMEI packet received {"connection_id":130146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":130146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:45:38] local.INFO: TCP Data received {"connection_id":130146,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:45:38] local.INFO: Processing buffer {"connection_id":130146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:45:38] local.INFO: IMEI packet received {"connection_id":130146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":130146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:45:38] local.INFO: TCP Data received {"connection_id":130146,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f582ef420012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f582ef420012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:45:38] local.INFO: Processing buffer {"connection_id":130146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f582ef420012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:45:38] local.INFO: Packet analysis {"connection_id":130146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f582e"} 
[2026-07-13 02:45:38] local.INFO: Extracted packet for processing {"connection_id":130146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f582e"} 
[2026-07-13 02:45:38] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675993344001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783890900000,"timestamp_ms":1783890900000,"timestamp_seconds":1783890900,"priority":1,"record_length":96,"hex_timestamp":"0000019f582ef420"} 
[2026-07-13 02:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-13 02:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":130146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":130146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":130146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675993344001,"66":25038,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675993344001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:45:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:45:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675993344001,"power":25038,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":130146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:45:38] local.INFO: GPS data processed {"connection_id":130146,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:45:38] local.INFO: Acknowledgment sent {"connection_id":130146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:46:10] local.INFO: TCP Data received {"connection_id":130146,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f582ef420012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f582ef420012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:46:10] local.INFO: Processing buffer {"connection_id":130146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f582ef420012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:46:10] local.INFO: Packet analysis {"connection_id":130146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f582e"} 
[2026-07-13 02:46:10] local.INFO: Extracted packet for processing {"connection_id":130146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f582e"} 
[2026-07-13 02:46:10] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675993344001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783890900000,"timestamp_ms":1783890900000,"timestamp_seconds":1783890900,"priority":1,"record_length":96,"hex_timestamp":"0000019f582ef420"} 
[2026-07-13 02:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-13 02:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675993344001,"66":25038,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675993344001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:46:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675993344001,"power":25038,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":130146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:46:10] local.INFO: GPS data processed {"connection_id":130146,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:46:10] local.INFO: Acknowledgment sent {"connection_id":130146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:46:36] local.INFO: TCP Data received {"connection_id":132254,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:46:36] local.INFO: Processing buffer {"connection_id":132254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:46:36] local.INFO: IMEI packet received {"connection_id":132254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":132254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:46:41] local.INFO: TCP Data received {"connection_id":132254,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:46:41] local.INFO: Processing buffer {"connection_id":132254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:46:41] local.INFO: IMEI packet received {"connection_id":132254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":132254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:46:42] local.INFO: TCP Data received {"connection_id":132254,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f582ef420012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f582ef420012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:46:42] local.INFO: Processing buffer {"connection_id":132254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f582ef420012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:46:42] local.INFO: Packet analysis {"connection_id":132254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f582e"} 
[2026-07-13 02:46:42] local.INFO: Extracted packet for processing {"connection_id":132254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f582e"} 
[2026-07-13 02:46:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675993344001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783890900000,"timestamp_ms":1783890900000,"timestamp_seconds":1783890900,"priority":1,"record_length":96,"hex_timestamp":"0000019f582ef420"} 
[2026-07-13 02:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-13 02:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675993344001,"66":25038,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675993344001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:46:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:46:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675993344001,"power":25038,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":132254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:46:42] local.INFO: GPS data processed {"connection_id":132254,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:46:42] local.INFO: Acknowledgment sent {"connection_id":132254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:47:13] local.INFO: TCP Data received {"connection_id":132254,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f582ef420012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f582ef420012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:47:13] local.INFO: Processing buffer {"connection_id":132254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f582ef420012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:47:13] local.INFO: Packet analysis {"connection_id":132254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f582e"} 
[2026-07-13 02:47:13] local.INFO: Extracted packet for processing {"connection_id":132254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f582e"} 
[2026-07-13 02:47:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675993344001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783890900000,"timestamp_ms":1783890900000,"timestamp_seconds":1783890900,"priority":1,"record_length":96,"hex_timestamp":"0000019f582ef420"} 
[2026-07-13 02:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-13 02:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675993344001,"66":25038,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675993344001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:47:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:47:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675993344001,"power":25038,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":132254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:47:13] local.INFO: GPS data processed {"connection_id":132254,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:47:13] local.INFO: Acknowledgment sent {"connection_id":132254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:47:36] local.INFO: TCP Data received {"connection_id":130927,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:47:36] local.INFO: Processing buffer {"connection_id":130927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:47:36] local.INFO: IMEI packet received {"connection_id":130927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":130927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:47:41] local.INFO: TCP Data received {"connection_id":130927,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:47:41] local.INFO: Processing buffer {"connection_id":130927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:47:41] local.INFO: IMEI packet received {"connection_id":130927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":130927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:47:42] local.INFO: TCP Data received {"connection_id":130927,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f582ef420012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f582ef420012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:47:42] local.INFO: Processing buffer {"connection_id":130927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f582ef420012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:47:42] local.INFO: Packet analysis {"connection_id":130927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f582e"} 
[2026-07-13 02:47:42] local.INFO: Extracted packet for processing {"connection_id":130927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f582e"} 
[2026-07-13 02:47:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675993344001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783890900000,"timestamp_ms":1783890900000,"timestamp_seconds":1783890900,"priority":1,"record_length":96,"hex_timestamp":"0000019f582ef420"} 
[2026-07-13 02:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-13 02:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675993344001,"66":25038,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675993344001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:47:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:47:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675993344001,"power":25038,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":130927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:47:42] local.INFO: GPS data processed {"connection_id":130927,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:47:42] local.INFO: Acknowledgment sent {"connection_id":130927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:48:13] local.INFO: TCP Data received {"connection_id":130927,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f582ef420012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f582ef420012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:48:13] local.INFO: Processing buffer {"connection_id":130927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f582ef420012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:48:13] local.INFO: Packet analysis {"connection_id":130927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f582e"} 
[2026-07-13 02:48:13] local.INFO: Extracted packet for processing {"connection_id":130927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f582e"} 
[2026-07-13 02:48:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675993344001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783890900000,"timestamp_ms":1783890900000,"timestamp_seconds":1783890900,"priority":1,"record_length":96,"hex_timestamp":"0000019f582ef420"} 
[2026-07-13 02:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-13 02:48:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675993344001,"66":25038,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675993344001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:48:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:48:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675993344001,"power":25038,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":130927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:48:13] local.INFO: GPS data processed {"connection_id":130927,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:48:13] local.INFO: Acknowledgment sent {"connection_id":130927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:48:41] local.INFO: TCP Data received {"connection_id":129936,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:48:41] local.INFO: Processing buffer {"connection_id":129936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:48:41] local.INFO: IMEI packet received {"connection_id":129936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":129936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:48:46] local.INFO: TCP Data received {"connection_id":129936,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:48:46] local.INFO: Processing buffer {"connection_id":129936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:48:46] local.INFO: IMEI packet received {"connection_id":129936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":129936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:48:47] local.INFO: TCP Data received {"connection_id":129936,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f582ef420012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f582ef420012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:48:47] local.INFO: Processing buffer {"connection_id":129936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f582ef420012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:48:47] local.INFO: Packet analysis {"connection_id":129936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f582e"} 
[2026-07-13 02:48:47] local.INFO: Extracted packet for processing {"connection_id":129936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f582e"} 
[2026-07-13 02:48:47] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675993344001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783890900000,"timestamp_ms":1783890900000,"timestamp_seconds":1783890900,"priority":1,"record_length":96,"hex_timestamp":"0000019f582ef420"} 
[2026-07-13 02:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-13 02:48:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":129936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":129936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":129936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675993344001,"66":25038,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675993344001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:48:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:48:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675993344001,"power":25038,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":129936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:48:47] local.INFO: GPS data processed {"connection_id":129936,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:48:47] local.INFO: Acknowledgment sent {"connection_id":129936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:48:51] local.INFO: TCP Data received {"connection_id":129936,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f582ef420012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f582ef420012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:48:51] local.INFO: Processing buffer {"connection_id":129936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f582ef420012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:48:51] local.INFO: Packet analysis {"connection_id":129936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f582e"} 
[2026-07-13 02:48:51] local.INFO: Extracted packet for processing {"connection_id":129936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f582e"} 
[2026-07-13 02:48:51] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 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-07-13 02:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675993344001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783890900000,"timestamp_ms":1783890900000,"timestamp_seconds":1783890900,"priority":1,"record_length":96,"hex_timestamp":"0000019f582ef420"} 
[2026-07-13 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-07-13 02:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-13 02:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 02:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":129936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":129936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":129936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:48: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-07-13 02:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675993344001,"66":25038,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675993344001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:48:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:48:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675993344001,"power":25038,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":129936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:48:51] local.INFO: GPS data processed {"connection_id":129936,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:48:51] local.INFO: Acknowledgment sent {"connection_id":129936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:49:06] local.INFO: TCP Data received {"connection_id":129937,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:49:06] local.INFO: Processing buffer {"connection_id":129937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:49:06] local.INFO: IMEI packet received {"connection_id":129937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 02:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":129937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:49:36] local.INFO: TCP Data received {"connection_id":132256,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:49:36] local.INFO: Processing buffer {"connection_id":132256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:49:36] local.INFO: IMEI packet received {"connection_id":132256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":132256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:49:41] local.INFO: TCP Data received {"connection_id":132256,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:49:41] local.INFO: Processing buffer {"connection_id":132256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:49:41] local.INFO: IMEI packet received {"connection_id":132256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":132256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:49:41] local.INFO: TCP Data received {"connection_id":130929,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:49:41] local.INFO: Processing buffer {"connection_id":130929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:49:41] local.INFO: IMEI packet received {"connection_id":130929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 02:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":130929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:49:42] local.INFO: TCP Data received {"connection_id":132256,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f582ef420012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f582ef420012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:49:42] local.INFO: Processing buffer {"connection_id":132256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f582ef420012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:49:42] local.INFO: Packet analysis {"connection_id":132256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f582e"} 
[2026-07-13 02:49:42] local.INFO: Extracted packet for processing {"connection_id":132256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f582e"} 
[2026-07-13 02:49:42] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675993344001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783890900000,"timestamp_ms":1783890900000,"timestamp_seconds":1783890900,"priority":1,"record_length":96,"hex_timestamp":"0000019f582ef420"} 
[2026-07-13 02:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-13 02:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675993344001,"66":25038,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675993344001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:49:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:49:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675993344001,"power":25038,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":132256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:49:42] local.INFO: GPS data processed {"connection_id":132256,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:49:42] local.INFO: Acknowledgment sent {"connection_id":132256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:50:13] local.INFO: TCP Data received {"connection_id":132256,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f582ef420012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f582ef420012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:50:13] local.INFO: Processing buffer {"connection_id":132256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f582ef420012d7f8fc005afdd900000013821..."} 
[2026-07-13 02:50:13] local.INFO: Packet analysis {"connection_id":132256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f582e"} 
[2026-07-13 02:50:13] local.INFO: Extracted packet for processing {"connection_id":132256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f582e"} 
[2026-07-13 02:50:13] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456675993344001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783890900000,"timestamp_ms":1783890900000,"timestamp_seconds":1783890900,"priority":1,"record_length":96,"hex_timestamp":"0000019f582ef420"} 
[2026-07-13 02:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:50:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-13 02:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456675993344001,"66":25038,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456675993344001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:50:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:50:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456675993344001,"power":25038,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":132256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:50:13] local.INFO: GPS data processed {"connection_id":132256,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:50:13] local.INFO: Acknowledgment sent {"connection_id":132256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:50:36] local.INFO: TCP Data received {"connection_id":129938,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:50:36] local.INFO: Processing buffer {"connection_id":129938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:50:36] local.INFO: IMEI packet received {"connection_id":129938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":129938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:50:39] local.INFO: TCP Data received {"connection_id":129938,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:50:39] local.INFO: Processing buffer {"connection_id":129938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:50:39] local.INFO: IMEI packet received {"connection_id":129938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":129938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:50:39] local.INFO: TCP Data received {"connection_id":129938,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f58338be8012d7f8fc005afdd900000013822..."} 
[2026-07-13 02:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58338be8012d7f8fc005afdd900000013822..."} 
[2026-07-13 02:50:39] local.INFO: Processing buffer {"connection_id":129938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58338be8012d7f8fc005afdd900000013822..."} 
[2026-07-13 02:50:39] local.INFO: Packet analysis {"connection_id":129938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5833"} 
[2026-07-13 02:50:39] local.INFO: Extracted packet for processing {"connection_id":129938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5833"} 
[2026-07-13 02:50:39] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676070400001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783891201000,"timestamp_ms":1783891201000,"timestamp_seconds":1783891201,"priority":1,"record_length":96,"hex_timestamp":"0000019f58338be8"} 
[2026-07-13 02:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-07-13 02:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":129938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":129938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":129938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676070400001,"66":25071,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676070400001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:50:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:50:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676070400001,"power":25071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":129938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:50:39] local.INFO: GPS data processed {"connection_id":129938,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:50:39] local.INFO: Acknowledgment sent {"connection_id":129938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:51:11] local.INFO: TCP Data received {"connection_id":129938,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f58338be8012d7f8fc005afdd900000013822..."} 
[2026-07-13 02:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58338be8012d7f8fc005afdd900000013822..."} 
[2026-07-13 02:51:11] local.INFO: Processing buffer {"connection_id":129938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58338be8012d7f8fc005afdd900000013822..."} 
[2026-07-13 02:51:11] local.INFO: Packet analysis {"connection_id":129938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5833"} 
[2026-07-13 02:51:11] local.INFO: Extracted packet for processing {"connection_id":129938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5833"} 
[2026-07-13 02:51:11] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95411600,"longitude_deg":76.3334592,"latitude_deg":9.54116,"altitude":0,"angle":312,"satellites":34,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afdd90","is_valid_coordinates":true} 
[2026-07-13 02:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676070400001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783891201000,"timestamp_ms":1783891201000,"timestamp_seconds":1783891201,"priority":1,"record_length":96,"hex_timestamp":"0000019f58338be8"} 
[2026-07-13 02:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-07-13 02:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":129938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":129938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":129938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676070400001,"66":25071,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676070400001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:51:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:51:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676070400001,"power":25071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":129938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:51:11] local.INFO: GPS data processed {"connection_id":129938,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:51:11] local.INFO: Acknowledgment sent {"connection_id":129938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:51:36] local.INFO: TCP Data received {"connection_id":129939,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:51:36] local.INFO: Processing buffer {"connection_id":129939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:51:36] local.INFO: IMEI packet received {"connection_id":129939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":129939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:51:41] local.INFO: TCP Data received {"connection_id":129939,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:51:41] local.INFO: Processing buffer {"connection_id":129939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:51:41] local.INFO: IMEI packet received {"connection_id":129939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":129939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:51:42] local.INFO: TCP Data received {"connection_id":129939,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5834f348012d7f914005afd8b80000011b17..."} 
[2026-07-13 02:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5834f348012d7f914005afd8b80000011b17..."} 
[2026-07-13 02:51:42] local.INFO: Processing buffer {"connection_id":129939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5834f348012d7f914005afd8b80000011b17..."} 
[2026-07-13 02:51:42] local.INFO: Packet analysis {"connection_id":129939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5834"} 
[2026-07-13 02:51:42] local.INFO: Extracted packet for processing {"connection_id":129939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5834"} 
[2026-07-13 02:51:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410360,"longitude_deg":76.3334976,"latitude_deg":9.541036,"altitude":0,"angle":283,"satellites":23,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd8b8","is_valid_coordinates":true} 
[2026-07-13 02:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676147456001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783891293000,"timestamp_ms":1783891293000,"timestamp_seconds":1783891293,"priority":1,"record_length":96,"hex_timestamp":"0000019f5834f348"} 
[2026-07-13 02:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-13 02:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676147456001,"66":25180,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676147456001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:51:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:51:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676147456001,"power":25180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":129939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:51:42] local.INFO: GPS data processed {"connection_id":129939,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:51:42] local.INFO: Acknowledgment sent {"connection_id":129939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:52:13] local.INFO: TCP Data received {"connection_id":129939,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5834f348012d7f914005afd8b80000011b17..."} 
[2026-07-13 02:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5834f348012d7f914005afd8b80000011b17..."} 
[2026-07-13 02:52:13] local.INFO: Processing buffer {"connection_id":129939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5834f348012d7f914005afd8b80000011b17..."} 
[2026-07-13 02:52:13] local.INFO: Packet analysis {"connection_id":129939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5834"} 
[2026-07-13 02:52:13] local.INFO: Extracted packet for processing {"connection_id":129939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5834"} 
[2026-07-13 02:52:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410360,"longitude_deg":76.3334976,"latitude_deg":9.541036,"altitude":0,"angle":283,"satellites":23,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd8b8","is_valid_coordinates":true} 
[2026-07-13 02:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676147456001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783891293000,"timestamp_ms":1783891293000,"timestamp_seconds":1783891293,"priority":1,"record_length":96,"hex_timestamp":"0000019f5834f348"} 
[2026-07-13 02:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:52:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-13 02:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:52:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676147456001,"66":25180,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676147456001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:52:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:52:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676147456001,"power":25180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":129939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:52:13] local.INFO: GPS data processed {"connection_id":129939,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:52:13] local.INFO: Acknowledgment sent {"connection_id":129939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:52:36] local.INFO: TCP Data received {"connection_id":130148,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:52:36] local.INFO: Processing buffer {"connection_id":130148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:52:36] local.INFO: IMEI packet received {"connection_id":130148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":130148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:52:41] local.INFO: TCP Data received {"connection_id":130148,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:52:41] local.INFO: Processing buffer {"connection_id":130148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:52:41] local.INFO: IMEI packet received {"connection_id":130148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":130148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:52:42] local.INFO: TCP Data received {"connection_id":130148,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5834f348012d7f914005afd8b80000011b17..."} 
[2026-07-13 02:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5834f348012d7f914005afd8b80000011b17..."} 
[2026-07-13 02:52:42] local.INFO: Processing buffer {"connection_id":130148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5834f348012d7f914005afd8b80000011b17..."} 
[2026-07-13 02:52:42] local.INFO: Packet analysis {"connection_id":130148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5834"} 
[2026-07-13 02:52:42] local.INFO: Extracted packet for processing {"connection_id":130148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5834"} 
[2026-07-13 02:52:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410360,"longitude_deg":76.3334976,"latitude_deg":9.541036,"altitude":0,"angle":283,"satellites":23,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd8b8","is_valid_coordinates":true} 
[2026-07-13 02:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676147456001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783891293000,"timestamp_ms":1783891293000,"timestamp_seconds":1783891293,"priority":1,"record_length":96,"hex_timestamp":"0000019f5834f348"} 
[2026-07-13 02:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-13 02:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676147456001,"66":25180,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676147456001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:52:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:52:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676147456001,"power":25180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":130148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:52:42] local.INFO: GPS data processed {"connection_id":130148,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:52:42] local.INFO: Acknowledgment sent {"connection_id":130148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:53:13] local.INFO: TCP Data received {"connection_id":130148,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5834f348012d7f914005afd8b80000011b17..."} 
[2026-07-13 02:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5834f348012d7f914005afd8b80000011b17..."} 
[2026-07-13 02:53:13] local.INFO: Processing buffer {"connection_id":130148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5834f348012d7f914005afd8b80000011b17..."} 
[2026-07-13 02:53:13] local.INFO: Packet analysis {"connection_id":130148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5834"} 
[2026-07-13 02:53:13] local.INFO: Extracted packet for processing {"connection_id":130148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5834"} 
[2026-07-13 02:53:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410360,"longitude_deg":76.3334976,"latitude_deg":9.541036,"altitude":0,"angle":283,"satellites":23,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd8b8","is_valid_coordinates":true} 
[2026-07-13 02:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676147456001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783891293000,"timestamp_ms":1783891293000,"timestamp_seconds":1783891293,"priority":1,"record_length":96,"hex_timestamp":"0000019f5834f348"} 
[2026-07-13 02:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-13 02:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676147456001,"66":25180,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676147456001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:53:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:53:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676147456001,"power":25180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":130148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:53:13] local.INFO: GPS data processed {"connection_id":130148,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:53:13] local.INFO: Acknowledgment sent {"connection_id":130148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:53:36] local.INFO: TCP Data received {"connection_id":130930,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:53:36] local.INFO: Processing buffer {"connection_id":130930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:53:36] local.INFO: IMEI packet received {"connection_id":130930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":130930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:53:42] local.INFO: TCP Data received {"connection_id":130930,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:53:42] local.INFO: Processing buffer {"connection_id":130930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:53:42] local.INFO: IMEI packet received {"connection_id":130930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":130930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:53:43] local.INFO: TCP Data received {"connection_id":130930,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5834f348012d7f914005afd8b80000011b17..."} 
[2026-07-13 02:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5834f348012d7f914005afd8b80000011b17..."} 
[2026-07-13 02:53:43] local.INFO: Processing buffer {"connection_id":130930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5834f348012d7f914005afd8b80000011b17..."} 
[2026-07-13 02:53:43] local.INFO: Packet analysis {"connection_id":130930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5834"} 
[2026-07-13 02:53:43] local.INFO: Extracted packet for processing {"connection_id":130930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5834"} 
[2026-07-13 02:53:43] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410360,"longitude_deg":76.3334976,"latitude_deg":9.541036,"altitude":0,"angle":283,"satellites":23,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd8b8","is_valid_coordinates":true} 
[2026-07-13 02:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676147456001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783891293000,"timestamp_ms":1783891293000,"timestamp_seconds":1783891293,"priority":1,"record_length":96,"hex_timestamp":"0000019f5834f348"} 
[2026-07-13 02:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:53:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-13 02:53:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676147456001,"66":25180,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676147456001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:53:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:53:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676147456001,"power":25180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":130930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:53:43] local.INFO: GPS data processed {"connection_id":130930,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:53:43] local.INFO: Acknowledgment sent {"connection_id":130930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:54:14] local.INFO: TCP Data received {"connection_id":130930,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5834f348012d7f914005afd8b80000011b17..."} 
[2026-07-13 02:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5834f348012d7f914005afd8b80000011b17..."} 
[2026-07-13 02:54:14] local.INFO: Processing buffer {"connection_id":130930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5834f348012d7f914005afd8b80000011b17..."} 
[2026-07-13 02:54:14] local.INFO: Packet analysis {"connection_id":130930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5834"} 
[2026-07-13 02:54:14] local.INFO: Extracted packet for processing {"connection_id":130930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5834"} 
[2026-07-13 02:54:14] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410360,"longitude_deg":76.3334976,"latitude_deg":9.541036,"altitude":0,"angle":283,"satellites":23,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd8b8","is_valid_coordinates":true} 
[2026-07-13 02:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676147456001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783891293000,"timestamp_ms":1783891293000,"timestamp_seconds":1783891293,"priority":1,"record_length":96,"hex_timestamp":"0000019f5834f348"} 
[2026-07-13 02:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-13 02:54:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676147456001,"66":25180,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676147456001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:54:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:54:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676147456001,"power":25180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":130930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:54:14] local.INFO: GPS data processed {"connection_id":130930,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:54:14] local.INFO: Acknowledgment sent {"connection_id":130930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:54:36] local.INFO: TCP Data received {"connection_id":132257,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:54:36] local.INFO: Processing buffer {"connection_id":132257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:54:36] local.INFO: IMEI packet received {"connection_id":132257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":132257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:54:41] local.INFO: TCP Data received {"connection_id":132257,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:54:41] local.INFO: Processing buffer {"connection_id":132257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:54:41] local.INFO: IMEI packet received {"connection_id":132257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":132257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:54:42] local.INFO: TCP Data received {"connection_id":132257,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5834f348012d7f914005afd8b80000011b17..."} 
[2026-07-13 02:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5834f348012d7f914005afd8b80000011b17..."} 
[2026-07-13 02:54:42] local.INFO: Processing buffer {"connection_id":132257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5834f348012d7f914005afd8b80000011b17..."} 
[2026-07-13 02:54:42] local.INFO: Packet analysis {"connection_id":132257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5834"} 
[2026-07-13 02:54:42] local.INFO: Extracted packet for processing {"connection_id":132257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5834"} 
[2026-07-13 02:54:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410360,"longitude_deg":76.3334976,"latitude_deg":9.541036,"altitude":0,"angle":283,"satellites":23,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd8b8","is_valid_coordinates":true} 
[2026-07-13 02:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676147456001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783891293000,"timestamp_ms":1783891293000,"timestamp_seconds":1783891293,"priority":1,"record_length":96,"hex_timestamp":"0000019f5834f348"} 
[2026-07-13 02:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-13 02:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676147456001,"66":25180,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676147456001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:54:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:54:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676147456001,"power":25180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":132257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:54:42] local.INFO: GPS data processed {"connection_id":132257,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:54:42] local.INFO: Acknowledgment sent {"connection_id":132257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:55:06] local.INFO: TCP Data received {"connection_id":129942,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129942,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:55:06] local.INFO: Processing buffer {"connection_id":129942,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:55:06] local.INFO: IMEI packet received {"connection_id":129942,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 02:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":129942,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:55:13] local.INFO: TCP Data received {"connection_id":132257,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5834f348012d7f914005afd8b80000011b17..."} 
[2026-07-13 02:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5834f348012d7f914005afd8b80000011b17..."} 
[2026-07-13 02:55:13] local.INFO: Processing buffer {"connection_id":132257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5834f348012d7f914005afd8b80000011b17..."} 
[2026-07-13 02:55:13] local.INFO: Packet analysis {"connection_id":132257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5834"} 
[2026-07-13 02:55:13] local.INFO: Extracted packet for processing {"connection_id":132257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5834"} 
[2026-07-13 02:55:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410360,"longitude_deg":76.3334976,"latitude_deg":9.541036,"altitude":0,"angle":283,"satellites":23,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd8b8","is_valid_coordinates":true} 
[2026-07-13 02:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676147456001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783891293000,"timestamp_ms":1783891293000,"timestamp_seconds":1783891293,"priority":1,"record_length":96,"hex_timestamp":"0000019f5834f348"} 
[2026-07-13 02:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:55:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-13 02:55:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:55:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676147456001,"66":25180,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676147456001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:55:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:55:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676147456001,"power":25180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":132257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:55:13] local.INFO: GPS data processed {"connection_id":132257,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:55:13] local.INFO: Acknowledgment sent {"connection_id":132257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:55:36] local.INFO: TCP Data received {"connection_id":129943,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:55:36] local.INFO: Processing buffer {"connection_id":129943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:55:36] local.INFO: IMEI packet received {"connection_id":129943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":129943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:55:41] local.INFO: TCP Data received {"connection_id":129943,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:55:41] local.INFO: Processing buffer {"connection_id":129943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:55:41] local.INFO: IMEI packet received {"connection_id":129943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":129943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:55:42] local.INFO: TCP Data received {"connection_id":129943,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5834f348012d7f914005afd8b80000011b17..."} 
[2026-07-13 02:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5834f348012d7f914005afd8b80000011b17..."} 
[2026-07-13 02:55:42] local.INFO: Processing buffer {"connection_id":129943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5834f348012d7f914005afd8b80000011b17..."} 
[2026-07-13 02:55:42] local.INFO: Packet analysis {"connection_id":129943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5834"} 
[2026-07-13 02:55:42] local.INFO: Extracted packet for processing {"connection_id":129943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5834"} 
[2026-07-13 02:55:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410360,"longitude_deg":76.3334976,"latitude_deg":9.541036,"altitude":0,"angle":283,"satellites":23,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd8b8","is_valid_coordinates":true} 
[2026-07-13 02:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676147456001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783891293000,"timestamp_ms":1783891293000,"timestamp_seconds":1783891293,"priority":1,"record_length":96,"hex_timestamp":"0000019f5834f348"} 
[2026-07-13 02:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-13 02:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676147456001,"66":25180,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676147456001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:55:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:55:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676147456001,"power":25180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":129943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:55:42] local.INFO: GPS data processed {"connection_id":129943,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:55:42] local.INFO: Acknowledgment sent {"connection_id":129943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:55:42] local.INFO: TCP Data received {"connection_id":132258,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132258,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:55:42] local.INFO: Processing buffer {"connection_id":132258,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 02:55:42] local.INFO: IMEI packet received {"connection_id":132258,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 02:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":132258,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:56:13] local.INFO: TCP Data received {"connection_id":129943,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5834f348012d7f914005afd8b80000011b17..."} 
[2026-07-13 02:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5834f348012d7f914005afd8b80000011b17..."} 
[2026-07-13 02:56:13] local.INFO: Processing buffer {"connection_id":129943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5834f348012d7f914005afd8b80000011b17..."} 
[2026-07-13 02:56:13] local.INFO: Packet analysis {"connection_id":129943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5834"} 
[2026-07-13 02:56:13] local.INFO: Extracted packet for processing {"connection_id":129943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5834"} 
[2026-07-13 02:56:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410360,"longitude_deg":76.3334976,"latitude_deg":9.541036,"altitude":0,"angle":283,"satellites":23,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd8b8","is_valid_coordinates":true} 
[2026-07-13 02:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676147456001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144374272,"note":"Value kept but may cause issues"} 
[2026-07-13 02:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783891293000,"timestamp_ms":1783891293000,"timestamp_seconds":1783891293,"priority":1,"record_length":96,"hex_timestamp":"0000019f5834f348"} 
[2026-07-13 02:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-13 02:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676147456001,"66":25180,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9191776495144374272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676147456001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:56:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:56:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144374272,"description":"Unknown IO ID 45"} 
[2026-07-13 02:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676147456001,"power":25180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144374272}} 
[2026-07-13 02:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":129943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:56:13] local.INFO: GPS data processed {"connection_id":129943,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:56:13] local.INFO: Acknowledgment sent {"connection_id":129943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:56:36] local.INFO: TCP Data received {"connection_id":132259,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:56:36] local.INFO: Processing buffer {"connection_id":132259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:56:36] local.INFO: IMEI packet received {"connection_id":132259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":132259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:56:36] local.INFO: TCP Data received {"connection_id":132259,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:56:36] local.INFO: Processing buffer {"connection_id":132259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:56:36] local.INFO: IMEI packet received {"connection_id":132259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":132259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:56:41] local.INFO: TCP Data received {"connection_id":132259,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:56:41] local.INFO: Processing buffer {"connection_id":132259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:56:41] local.INFO: IMEI packet received {"connection_id":132259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":132259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:56:42] local.INFO: TCP Data received {"connection_id":132259,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f58391db0012d7f914005afd9380000011b27..."} 
[2026-07-13 02:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58391db0012d7f914005afd9380000011b27..."} 
[2026-07-13 02:56:42] local.INFO: Processing buffer {"connection_id":132259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58391db0012d7f914005afd9380000011b27..."} 
[2026-07-13 02:56:42] local.INFO: Packet analysis {"connection_id":132259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5839"} 
[2026-07-13 02:56:42] local.INFO: Extracted packet for processing {"connection_id":132259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5839"} 
[2026-07-13 02:56:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 02:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676171008001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609122816,"note":"Value kept but may cause issues"} 
[2026-07-13 02:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783891566000,"timestamp_ms":1783891566000,"timestamp_seconds":1783891566,"priority":1,"record_length":96,"hex_timestamp":"0000019f58391db0"} 
[2026-07-13 02:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 02:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676171008001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609122816},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676171008001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:56:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:56:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609122816,"description":"Unknown IO ID 45"} 
[2026-07-13 02:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676171008001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609122816}} 
[2026-07-13 02:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":132259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:56:42] local.INFO: GPS data processed {"connection_id":132259,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:56:42] local.INFO: Acknowledgment sent {"connection_id":132259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:57:13] local.INFO: TCP Data received {"connection_id":132259,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f58391db0012d7f914005afd9380000011b27..."} 
[2026-07-13 02:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58391db0012d7f914005afd9380000011b27..."} 
[2026-07-13 02:57:13] local.INFO: Processing buffer {"connection_id":132259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58391db0012d7f914005afd9380000011b27..."} 
[2026-07-13 02:57:13] local.INFO: Packet analysis {"connection_id":132259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5839"} 
[2026-07-13 02:57:13] local.INFO: Extracted packet for processing {"connection_id":132259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5839"} 
[2026-07-13 02:57:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 02:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676171008001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609122816,"note":"Value kept but may cause issues"} 
[2026-07-13 02:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783891566000,"timestamp_ms":1783891566000,"timestamp_seconds":1783891566,"priority":1,"record_length":96,"hex_timestamp":"0000019f58391db0"} 
[2026-07-13 02:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 02:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676171008001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609122816},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676171008001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:57:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:57:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609122816,"description":"Unknown IO ID 45"} 
[2026-07-13 02:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676171008001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609122816}} 
[2026-07-13 02:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":132259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:57:13] local.INFO: GPS data processed {"connection_id":132259,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:57:13] local.INFO: Acknowledgment sent {"connection_id":132259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:57:36] local.INFO: TCP Data received {"connection_id":129944,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:57:36] local.INFO: Processing buffer {"connection_id":129944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:57:36] local.INFO: IMEI packet received {"connection_id":129944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":129944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:57:41] local.INFO: TCP Data received {"connection_id":129944,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:57:41] local.INFO: Processing buffer {"connection_id":129944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:57:41] local.INFO: IMEI packet received {"connection_id":129944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":129944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:57:42] local.INFO: TCP Data received {"connection_id":129944,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f58391db0012d7f914005afd9380000011b27..."} 
[2026-07-13 02:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58391db0012d7f914005afd9380000011b27..."} 
[2026-07-13 02:57:42] local.INFO: Processing buffer {"connection_id":129944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58391db0012d7f914005afd9380000011b27..."} 
[2026-07-13 02:57:42] local.INFO: Packet analysis {"connection_id":129944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5839"} 
[2026-07-13 02:57:42] local.INFO: Extracted packet for processing {"connection_id":129944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5839"} 
[2026-07-13 02:57:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 02:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676171008001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609122816,"note":"Value kept but may cause issues"} 
[2026-07-13 02:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783891566000,"timestamp_ms":1783891566000,"timestamp_seconds":1783891566,"priority":1,"record_length":96,"hex_timestamp":"0000019f58391db0"} 
[2026-07-13 02:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 02:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676171008001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609122816},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676171008001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:57:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:57:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609122816,"description":"Unknown IO ID 45"} 
[2026-07-13 02:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676171008001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609122816}} 
[2026-07-13 02:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":129944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:57:42] local.INFO: GPS data processed {"connection_id":129944,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:57:42] local.INFO: Acknowledgment sent {"connection_id":129944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:58:13] local.INFO: TCP Data received {"connection_id":129944,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f58391db0012d7f914005afd9380000011b27..."} 
[2026-07-13 02:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58391db0012d7f914005afd9380000011b27..."} 
[2026-07-13 02:58:13] local.INFO: Processing buffer {"connection_id":129944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58391db0012d7f914005afd9380000011b27..."} 
[2026-07-13 02:58:13] local.INFO: Packet analysis {"connection_id":129944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5839"} 
[2026-07-13 02:58:13] local.INFO: Extracted packet for processing {"connection_id":129944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5839"} 
[2026-07-13 02:58:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 02:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676171008001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609122816,"note":"Value kept but may cause issues"} 
[2026-07-13 02:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783891566000,"timestamp_ms":1783891566000,"timestamp_seconds":1783891566,"priority":1,"record_length":96,"hex_timestamp":"0000019f58391db0"} 
[2026-07-13 02:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 02:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676171008001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609122816},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676171008001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:58:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:58:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609122816,"description":"Unknown IO ID 45"} 
[2026-07-13 02:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676171008001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609122816}} 
[2026-07-13 02:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":129944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:58:13] local.INFO: GPS data processed {"connection_id":129944,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:58:13] local.INFO: Acknowledgment sent {"connection_id":129944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:58:36] local.INFO: TCP Data received {"connection_id":132262,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:58:36] local.INFO: Processing buffer {"connection_id":132262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:58:36] local.INFO: IMEI packet received {"connection_id":132262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":132262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:58:41] local.INFO: TCP Data received {"connection_id":132262,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:58:41] local.INFO: Processing buffer {"connection_id":132262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:58:41] local.INFO: IMEI packet received {"connection_id":132262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":132262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:58:42] local.INFO: TCP Data received {"connection_id":132262,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f58391db0012d7f914005afd9380000011b27..."} 
[2026-07-13 02:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58391db0012d7f914005afd9380000011b27..."} 
[2026-07-13 02:58:42] local.INFO: Processing buffer {"connection_id":132262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58391db0012d7f914005afd9380000011b27..."} 
[2026-07-13 02:58:42] local.INFO: Packet analysis {"connection_id":132262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5839"} 
[2026-07-13 02:58:42] local.INFO: Extracted packet for processing {"connection_id":132262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5839"} 
[2026-07-13 02:58:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 02:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676171008001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609122816,"note":"Value kept but may cause issues"} 
[2026-07-13 02:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783891566000,"timestamp_ms":1783891566000,"timestamp_seconds":1783891566,"priority":1,"record_length":96,"hex_timestamp":"0000019f58391db0"} 
[2026-07-13 02:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 02:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676171008001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609122816},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676171008001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:58:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:58:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609122816,"description":"Unknown IO ID 45"} 
[2026-07-13 02:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676171008001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609122816}} 
[2026-07-13 02:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":132262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:58:42] local.INFO: GPS data processed {"connection_id":132262,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:58:42] local.INFO: Acknowledgment sent {"connection_id":132262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:59:13] local.INFO: TCP Data received {"connection_id":132262,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f58391db0012d7f914005afd9380000011b27..."} 
[2026-07-13 02:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58391db0012d7f914005afd9380000011b27..."} 
[2026-07-13 02:59:13] local.INFO: Processing buffer {"connection_id":132262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58391db0012d7f914005afd9380000011b27..."} 
[2026-07-13 02:59:13] local.INFO: Packet analysis {"connection_id":132262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5839"} 
[2026-07-13 02:59:13] local.INFO: Extracted packet for processing {"connection_id":132262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5839"} 
[2026-07-13 02:59:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 02:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676171008001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609122816,"note":"Value kept but may cause issues"} 
[2026-07-13 02:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783891566000,"timestamp_ms":1783891566000,"timestamp_seconds":1783891566,"priority":1,"record_length":96,"hex_timestamp":"0000019f58391db0"} 
[2026-07-13 02:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 02:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:59:13] 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-07-13 02:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676171008001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609122816},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676171008001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:59:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:59:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609122816,"description":"Unknown IO ID 45"} 
[2026-07-13 02:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676171008001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609122816}} 
[2026-07-13 02:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":132262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:59:13] local.INFO: GPS data processed {"connection_id":132262,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:59:13] local.INFO: Acknowledgment sent {"connection_id":132262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 02:59:36] local.INFO: TCP Data received {"connection_id":129945,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:59:36] local.INFO: Processing buffer {"connection_id":129945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:59:36] local.INFO: IMEI packet received {"connection_id":129945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 02:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":129945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 02:59:41] local.INFO: TCP Data received {"connection_id":129945,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:59:41] local.INFO: Processing buffer {"connection_id":129945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 02:59:41] local.INFO: IMEI packet received {"connection_id":129945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 02:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":129945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 02:59:42] local.INFO: TCP Data received {"connection_id":129945,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f58391db0012d7f914005afd9380000011b27..."} 
[2026-07-13 02:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58391db0012d7f914005afd9380000011b27..."} 
[2026-07-13 02:59:42] local.INFO: Processing buffer {"connection_id":129945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58391db0012d7f914005afd9380000011b27..."} 
[2026-07-13 02:59:42] local.INFO: Packet analysis {"connection_id":129945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5839"} 
[2026-07-13 02:59:42] local.INFO: Extracted packet for processing {"connection_id":129945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5839"} 
[2026-07-13 02:59:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 02:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 02:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676171008001,"note":"Value kept but may cause issues"} 
[2026-07-13 02:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 02:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609122816,"note":"Value kept but may cause issues"} 
[2026-07-13 02:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 02:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783891566000,"timestamp_ms":1783891566000,"timestamp_seconds":1783891566,"priority":1,"record_length":96,"hex_timestamp":"0000019f58391db0"} 
[2026-07-13 02:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 02:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 02:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 02:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 02:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 02:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 02:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 02:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 02:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 02:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 02:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 02:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 02:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676171008001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609122816},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 02:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 02:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 02:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676171008001,"description":"Unknown IO ID 0"} 
[2026-07-13 02:59:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 02:59:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 02:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 02:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609122816,"description":"Unknown IO ID 45"} 
[2026-07-13 02:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676171008001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609122816}} 
[2026-07-13 02:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":129945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 02:59:42] local.INFO: GPS data processed {"connection_id":129945,"processed":1,"errors":0,"total":1} 
[2026-07-13 02:59:42] local.INFO: Acknowledgment sent {"connection_id":129945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:00:13] local.INFO: TCP Data received {"connection_id":129945,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f58391db0012d7f914005afd9380000011b27..."} 
[2026-07-13 03:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58391db0012d7f914005afd9380000011b27..."} 
[2026-07-13 03:00:13] local.INFO: Processing buffer {"connection_id":129945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58391db0012d7f914005afd9380000011b27..."} 
[2026-07-13 03:00:13] local.INFO: Packet analysis {"connection_id":129945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5839"} 
[2026-07-13 03:00:13] local.INFO: Extracted packet for processing {"connection_id":129945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5839"} 
[2026-07-13 03:00:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676171008001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609122816,"note":"Value kept but may cause issues"} 
[2026-07-13 03:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783891566000,"timestamp_ms":1783891566000,"timestamp_seconds":1783891566,"priority":1,"record_length":96,"hex_timestamp":"0000019f58391db0"} 
[2026-07-13 03:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 03:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676171008001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609122816},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676171008001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:00:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:00:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609122816,"description":"Unknown IO ID 45"} 
[2026-07-13 03:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676171008001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609122816}} 
[2026-07-13 03:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":129945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:00:13] local.INFO: GPS data processed {"connection_id":129945,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:00:13] local.INFO: Acknowledgment sent {"connection_id":129945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:00:36] local.INFO: TCP Data received {"connection_id":130150,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:00:36] local.INFO: Processing buffer {"connection_id":130150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:00:36] local.INFO: IMEI packet received {"connection_id":130150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":130150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:00:41] local.INFO: TCP Data received {"connection_id":130150,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:00:41] local.INFO: Processing buffer {"connection_id":130150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:00:41] local.INFO: IMEI packet received {"connection_id":130150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":130150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:00:42] local.INFO: TCP Data received {"connection_id":130150,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f58391db0012d7f914005afd9380000011b27..."} 
[2026-07-13 03:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58391db0012d7f914005afd9380000011b27..."} 
[2026-07-13 03:00:42] local.INFO: Processing buffer {"connection_id":130150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58391db0012d7f914005afd9380000011b27..."} 
[2026-07-13 03:00:42] local.INFO: Packet analysis {"connection_id":130150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5839"} 
[2026-07-13 03:00:42] local.INFO: Extracted packet for processing {"connection_id":130150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5839"} 
[2026-07-13 03:00:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676171008001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609122816,"note":"Value kept but may cause issues"} 
[2026-07-13 03:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783891566000,"timestamp_ms":1783891566000,"timestamp_seconds":1783891566,"priority":1,"record_length":96,"hex_timestamp":"0000019f58391db0"} 
[2026-07-13 03:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 03:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676171008001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609122816},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676171008001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:00:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:00:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609122816,"description":"Unknown IO ID 45"} 
[2026-07-13 03:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676171008001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609122816}} 
[2026-07-13 03:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":130150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:00:42] local.INFO: GPS data processed {"connection_id":130150,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:00:42] local.INFO: Acknowledgment sent {"connection_id":130150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:01:01] local.INFO: TCP Data received {"connection_id":130932,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130932,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:01:01] local.INFO: Processing buffer {"connection_id":130932,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:01:01] local.INFO: IMEI packet received {"connection_id":130932,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 03:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":130932,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:01:13] local.INFO: TCP Data received {"connection_id":130150,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f58391db0012d7f914005afd9380000011b27..."} 
[2026-07-13 03:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58391db0012d7f914005afd9380000011b27..."} 
[2026-07-13 03:01:13] local.INFO: Processing buffer {"connection_id":130150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58391db0012d7f914005afd9380000011b27..."} 
[2026-07-13 03:01:13] local.INFO: Packet analysis {"connection_id":130150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5839"} 
[2026-07-13 03:01:13] local.INFO: Extracted packet for processing {"connection_id":130150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5839"} 
[2026-07-13 03:01:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676171008001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609122816,"note":"Value kept but may cause issues"} 
[2026-07-13 03:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783891566000,"timestamp_ms":1783891566000,"timestamp_seconds":1783891566,"priority":1,"record_length":96,"hex_timestamp":"0000019f58391db0"} 
[2026-07-13 03:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 03:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:01:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676171008001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609122816},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676171008001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:01:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:01:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609122816,"description":"Unknown IO ID 45"} 
[2026-07-13 03:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676171008001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609122816}} 
[2026-07-13 03:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":130150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:01:13] local.INFO: GPS data processed {"connection_id":130150,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:01:13] local.INFO: Acknowledgment sent {"connection_id":130150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:01:36] local.INFO: TCP Data received {"connection_id":129947,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:01:36] local.INFO: Processing buffer {"connection_id":129947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:01:36] local.INFO: IMEI packet received {"connection_id":129947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":129947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:01:37] local.INFO: TCP Data received {"connection_id":129947,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:01:37] local.INFO: Processing buffer {"connection_id":129947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:01:37] local.INFO: IMEI packet received {"connection_id":129947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":129947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:01:41] local.INFO: TCP Data received {"connection_id":129947,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:01:41] local.INFO: Processing buffer {"connection_id":129947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:01:41] local.INFO: IMEI packet received {"connection_id":129947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":129947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:01:42] local.INFO: TCP Data received {"connection_id":129947,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f583d9638012d7f914005afd9380000011b26..."} 
[2026-07-13 03:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f583d9638012d7f914005afd9380000011b26..."} 
[2026-07-13 03:01:42] local.INFO: Processing buffer {"connection_id":129947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f583d9638012d7f914005afd9380000011b26..."} 
[2026-07-13 03:01:42] local.INFO: Packet analysis {"connection_id":129947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f583d"} 
[2026-07-13 03:01:42] local.INFO: Extracted packet for processing {"connection_id":129947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f583d"} 
[2026-07-13 03:01:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676240896001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783891859000,"timestamp_ms":1783891859000,"timestamp_seconds":1783891859,"priority":1,"record_length":96,"hex_timestamp":"0000019f583d9638"} 
[2026-07-13 03:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 03:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676240896001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676240896001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:01:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:01:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676240896001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":129947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:01:42] local.INFO: GPS data processed {"connection_id":129947,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:01:42] local.INFO: Acknowledgment sent {"connection_id":129947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:01:51] local.INFO: TCP Data received {"connection_id":130151,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130151,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:01:51] local.INFO: Processing buffer {"connection_id":130151,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:01:51] local.INFO: IMEI packet received {"connection_id":130151,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 03:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":130151,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:02:13] local.INFO: TCP Data received {"connection_id":129947,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f583d9638012d7f914005afd9380000011b26..."} 
[2026-07-13 03:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f583d9638012d7f914005afd9380000011b26..."} 
[2026-07-13 03:02:13] local.INFO: Processing buffer {"connection_id":129947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f583d9638012d7f914005afd9380000011b26..."} 
[2026-07-13 03:02:13] local.INFO: Packet analysis {"connection_id":129947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f583d"} 
[2026-07-13 03:02:13] local.INFO: Extracted packet for processing {"connection_id":129947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f583d"} 
[2026-07-13 03:02:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676240896001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783891859000,"timestamp_ms":1783891859000,"timestamp_seconds":1783891859,"priority":1,"record_length":96,"hex_timestamp":"0000019f583d9638"} 
[2026-07-13 03:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 03:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676240896001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676240896001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:02:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:02:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676240896001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":129947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:02:13] local.INFO: GPS data processed {"connection_id":129947,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:02:13] local.INFO: Acknowledgment sent {"connection_id":129947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:02:36] local.INFO: TCP Data received {"connection_id":130152,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:02:36] local.INFO: Processing buffer {"connection_id":130152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:02:36] local.INFO: IMEI packet received {"connection_id":130152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":130152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:02:41] local.INFO: TCP Data received {"connection_id":130152,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:02:41] local.INFO: Processing buffer {"connection_id":130152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:02:41] local.INFO: IMEI packet received {"connection_id":130152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":130152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:02:42] local.INFO: TCP Data received {"connection_id":130152,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f583d9638012d7f914005afd9380000011b26..."} 
[2026-07-13 03:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f583d9638012d7f914005afd9380000011b26..."} 
[2026-07-13 03:02:42] local.INFO: Processing buffer {"connection_id":130152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f583d9638012d7f914005afd9380000011b26..."} 
[2026-07-13 03:02:42] local.INFO: Packet analysis {"connection_id":130152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f583d"} 
[2026-07-13 03:02:42] local.INFO: Extracted packet for processing {"connection_id":130152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f583d"} 
[2026-07-13 03:02:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676240896001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783891859000,"timestamp_ms":1783891859000,"timestamp_seconds":1783891859,"priority":1,"record_length":96,"hex_timestamp":"0000019f583d9638"} 
[2026-07-13 03:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 03:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676240896001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676240896001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:02:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:02:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676240896001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":130152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:02:42] local.INFO: GPS data processed {"connection_id":130152,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:02:42] local.INFO: Acknowledgment sent {"connection_id":130152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:03:13] local.INFO: TCP Data received {"connection_id":130152,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f583d9638012d7f914005afd9380000011b26..."} 
[2026-07-13 03:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f583d9638012d7f914005afd9380000011b26..."} 
[2026-07-13 03:03:13] local.INFO: Processing buffer {"connection_id":130152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f583d9638012d7f914005afd9380000011b26..."} 
[2026-07-13 03:03:13] local.INFO: Packet analysis {"connection_id":130152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f583d"} 
[2026-07-13 03:03:13] local.INFO: Extracted packet for processing {"connection_id":130152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f583d"} 
[2026-07-13 03:03:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676240896001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783891859000,"timestamp_ms":1783891859000,"timestamp_seconds":1783891859,"priority":1,"record_length":96,"hex_timestamp":"0000019f583d9638"} 
[2026-07-13 03:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 03:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676240896001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676240896001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:03:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:03:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676240896001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":130152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:03:13] local.INFO: GPS data processed {"connection_id":130152,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:03:13] local.INFO: Acknowledgment sent {"connection_id":130152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:03:36] local.INFO: TCP Data received {"connection_id":129948,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:03:36] local.INFO: Processing buffer {"connection_id":129948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:03:36] local.INFO: IMEI packet received {"connection_id":129948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":129948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:03:41] local.INFO: TCP Data received {"connection_id":129948,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:03:41] local.INFO: Processing buffer {"connection_id":129948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:03:41] local.INFO: IMEI packet received {"connection_id":129948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":129948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:03:42] local.INFO: TCP Data received {"connection_id":129948,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f583d9638012d7f914005afd9380000011b26..."} 
[2026-07-13 03:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f583d9638012d7f914005afd9380000011b26..."} 
[2026-07-13 03:03:42] local.INFO: Processing buffer {"connection_id":129948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f583d9638012d7f914005afd9380000011b26..."} 
[2026-07-13 03:03:42] local.INFO: Packet analysis {"connection_id":129948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f583d"} 
[2026-07-13 03:03:42] local.INFO: Extracted packet for processing {"connection_id":129948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f583d"} 
[2026-07-13 03:03:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676240896001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783891859000,"timestamp_ms":1783891859000,"timestamp_seconds":1783891859,"priority":1,"record_length":96,"hex_timestamp":"0000019f583d9638"} 
[2026-07-13 03:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 03:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676240896001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676240896001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:03:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:03:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676240896001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":129948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:03:42] local.INFO: GPS data processed {"connection_id":129948,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:03:42] local.INFO: Acknowledgment sent {"connection_id":129948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:04:13] local.INFO: TCP Data received {"connection_id":129948,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f583d9638012d7f914005afd9380000011b26..."} 
[2026-07-13 03:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f583d9638012d7f914005afd9380000011b26..."} 
[2026-07-13 03:04:13] local.INFO: Processing buffer {"connection_id":129948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f583d9638012d7f914005afd9380000011b26..."} 
[2026-07-13 03:04:13] local.INFO: Packet analysis {"connection_id":129948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f583d"} 
[2026-07-13 03:04:13] local.INFO: Extracted packet for processing {"connection_id":129948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f583d"} 
[2026-07-13 03:04:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676240896001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783891859000,"timestamp_ms":1783891859000,"timestamp_seconds":1783891859,"priority":1,"record_length":96,"hex_timestamp":"0000019f583d9638"} 
[2026-07-13 03:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 03:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676240896001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676240896001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:04:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:04:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676240896001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":129948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:04:13] local.INFO: GPS data processed {"connection_id":129948,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:04:13] local.INFO: Acknowledgment sent {"connection_id":129948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:04:36] local.INFO: TCP Data received {"connection_id":132263,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:04:36] local.INFO: Processing buffer {"connection_id":132263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:04:36] local.INFO: IMEI packet received {"connection_id":132263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":132263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:04:41] local.INFO: TCP Data received {"connection_id":132263,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:04:41] local.INFO: Processing buffer {"connection_id":132263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:04:41] local.INFO: IMEI packet received {"connection_id":132263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":132263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:04:42] local.INFO: TCP Data received {"connection_id":132263,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f583d9638012d7f914005afd9380000011b26..."} 
[2026-07-13 03:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f583d9638012d7f914005afd9380000011b26..."} 
[2026-07-13 03:04:42] local.INFO: Processing buffer {"connection_id":132263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f583d9638012d7f914005afd9380000011b26..."} 
[2026-07-13 03:04:42] local.INFO: Packet analysis {"connection_id":132263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f583d"} 
[2026-07-13 03:04:42] local.INFO: Extracted packet for processing {"connection_id":132263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f583d"} 
[2026-07-13 03:04:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676240896001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783891859000,"timestamp_ms":1783891859000,"timestamp_seconds":1783891859,"priority":1,"record_length":96,"hex_timestamp":"0000019f583d9638"} 
[2026-07-13 03:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 03:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676240896001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676240896001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:04:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:04:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676240896001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":132263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:04:42] local.INFO: GPS data processed {"connection_id":132263,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:04:42] local.INFO: Acknowledgment sent {"connection_id":132263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:05:13] local.INFO: TCP Data received {"connection_id":132263,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f583d9638012d7f914005afd9380000011b26..."} 
[2026-07-13 03:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f583d9638012d7f914005afd9380000011b26..."} 
[2026-07-13 03:05:13] local.INFO: Processing buffer {"connection_id":132263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f583d9638012d7f914005afd9380000011b26..."} 
[2026-07-13 03:05:13] local.INFO: Packet analysis {"connection_id":132263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f583d"} 
[2026-07-13 03:05:13] local.INFO: Extracted packet for processing {"connection_id":132263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f583d"} 
[2026-07-13 03:05:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676240896001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783891859000,"timestamp_ms":1783891859000,"timestamp_seconds":1783891859,"priority":1,"record_length":96,"hex_timestamp":"0000019f583d9638"} 
[2026-07-13 03:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 03:05:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676240896001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676240896001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:05:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:05:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676240896001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":132263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:05:13] local.INFO: GPS data processed {"connection_id":132263,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:05:13] local.INFO: Acknowledgment sent {"connection_id":132263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:05:36] local.INFO: TCP Data received {"connection_id":130155,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:05:36] local.INFO: Processing buffer {"connection_id":130155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:05:36] local.INFO: IMEI packet received {"connection_id":130155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":130155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:05:41] local.INFO: TCP Data received {"connection_id":130155,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:05:41] local.INFO: Processing buffer {"connection_id":130155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:05:41] local.INFO: IMEI packet received {"connection_id":130155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":130155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:05:42] local.INFO: TCP Data received {"connection_id":130155,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f583d9638012d7f914005afd9380000011b26..."} 
[2026-07-13 03:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f583d9638012d7f914005afd9380000011b26..."} 
[2026-07-13 03:05:42] local.INFO: Processing buffer {"connection_id":130155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f583d9638012d7f914005afd9380000011b26..."} 
[2026-07-13 03:05:42] local.INFO: Packet analysis {"connection_id":130155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f583d"} 
[2026-07-13 03:05:42] local.INFO: Extracted packet for processing {"connection_id":130155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f583d"} 
[2026-07-13 03:05:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676240896001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783891859000,"timestamp_ms":1783891859000,"timestamp_seconds":1783891859,"priority":1,"record_length":96,"hex_timestamp":"0000019f583d9638"} 
[2026-07-13 03:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 03:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676240896001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676240896001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:05:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:05:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676240896001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":130155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:05:42] local.INFO: GPS data processed {"connection_id":130155,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:05:42] local.INFO: Acknowledgment sent {"connection_id":130155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:06:13] local.INFO: TCP Data received {"connection_id":130155,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f583d9638012d7f914005afd9380000011b26..."} 
[2026-07-13 03:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f583d9638012d7f914005afd9380000011b26..."} 
[2026-07-13 03:06:13] local.INFO: Processing buffer {"connection_id":130155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f583d9638012d7f914005afd9380000011b26..."} 
[2026-07-13 03:06:13] local.INFO: Packet analysis {"connection_id":130155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f583d"} 
[2026-07-13 03:06:13] local.INFO: Extracted packet for processing {"connection_id":130155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f583d"} 
[2026-07-13 03:06:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676240896001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783891859000,"timestamp_ms":1783891859000,"timestamp_seconds":1783891859,"priority":1,"record_length":96,"hex_timestamp":"0000019f583d9638"} 
[2026-07-13 03:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:06:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 03:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:06:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676240896001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676240896001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:06:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:06:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676240896001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":130155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:06:13] local.INFO: GPS data processed {"connection_id":130155,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:06:13] local.INFO: Acknowledgment sent {"connection_id":130155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:06:38] local.INFO: TCP Data received {"connection_id":129949,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:06:38] local.INFO: Processing buffer {"connection_id":129949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:06:38] local.INFO: IMEI packet received {"connection_id":129949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":129949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:06:41] local.INFO: TCP Data received {"connection_id":129949,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:06:41] local.INFO: Processing buffer {"connection_id":129949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:06:41] local.INFO: IMEI packet received {"connection_id":129949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":129949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:06:46] local.INFO: TCP Data received {"connection_id":129949,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:06:46] local.INFO: Processing buffer {"connection_id":129949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:06:46] local.INFO: IMEI packet received {"connection_id":129949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":129949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:06:47] local.INFO: TCP Data received {"connection_id":129949,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f58422e00012d7f914005afd9380000011b23..."} 
[2026-07-13 03:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58422e00012d7f914005afd9380000011b23..."} 
[2026-07-13 03:06:47] local.INFO: Processing buffer {"connection_id":129949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58422e00012d7f914005afd9380000011b23..."} 
[2026-07-13 03:06:47] local.INFO: Packet analysis {"connection_id":129949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5842"} 
[2026-07-13 03:06:47] local.INFO: Extracted packet for processing {"connection_id":129949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5842"} 
[2026-07-13 03:06:47] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676315904001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783892160000,"timestamp_ms":1783892160000,"timestamp_seconds":1783892160,"priority":1,"record_length":96,"hex_timestamp":"0000019f58422e00"} 
[2026-07-13 03:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":129949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":129949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":129949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676315904001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676315904001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:06:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:06:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676315904001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":129949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:06:47] local.INFO: GPS data processed {"connection_id":129949,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:06:47] local.INFO: Acknowledgment sent {"connection_id":129949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:06:51] local.INFO: TCP Data received {"connection_id":129949,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f58422e00012d7f914005afd9380000011b23..."} 
[2026-07-13 03:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58422e00012d7f914005afd9380000011b23..."} 
[2026-07-13 03:06:51] local.INFO: Processing buffer {"connection_id":129949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58422e00012d7f914005afd9380000011b23..."} 
[2026-07-13 03:06:51] local.INFO: Packet analysis {"connection_id":129949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5842"} 
[2026-07-13 03:06:51] local.INFO: Extracted packet for processing {"connection_id":129949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5842"} 
[2026-07-13 03:06:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 03:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676315904001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783892160000,"timestamp_ms":1783892160000,"timestamp_seconds":1783892160,"priority":1,"record_length":96,"hex_timestamp":"0000019f58422e00"} 
[2026-07-13 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-07-13 03:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 03:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":129949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":129949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":129949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:06: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-07-13 03:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676315904001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676315904001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:06:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:06:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676315904001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":129949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:06:51] local.INFO: GPS data processed {"connection_id":129949,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:06:51] local.INFO: Acknowledgment sent {"connection_id":129949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:07:36] local.INFO: TCP Data received {"connection_id":132264,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:07:36] local.INFO: Processing buffer {"connection_id":132264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:07:36] local.INFO: IMEI packet received {"connection_id":132264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":132264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:07:41] local.INFO: TCP Data received {"connection_id":132264,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:07:41] local.INFO: Processing buffer {"connection_id":132264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:07:41] local.INFO: IMEI packet received {"connection_id":132264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":132264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:07:42] local.INFO: TCP Data received {"connection_id":132264,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f58422e00012d7f914005afd9380000011b23..."} 
[2026-07-13 03:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58422e00012d7f914005afd9380000011b23..."} 
[2026-07-13 03:07:42] local.INFO: Processing buffer {"connection_id":132264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58422e00012d7f914005afd9380000011b23..."} 
[2026-07-13 03:07:42] local.INFO: Packet analysis {"connection_id":132264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5842"} 
[2026-07-13 03:07:42] local.INFO: Extracted packet for processing {"connection_id":132264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5842"} 
[2026-07-13 03:07:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676315904001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783892160000,"timestamp_ms":1783892160000,"timestamp_seconds":1783892160,"priority":1,"record_length":96,"hex_timestamp":"0000019f58422e00"} 
[2026-07-13 03:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676315904001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676315904001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:07:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:07:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676315904001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":132264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:07:42] local.INFO: GPS data processed {"connection_id":132264,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:07:42] local.INFO: Acknowledgment sent {"connection_id":132264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:07:44] local.INFO: TCP Data received {"connection_id":132265,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132265,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:07:44] local.INFO: Processing buffer {"connection_id":132265,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:07:44] local.INFO: IMEI packet received {"connection_id":132265,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 03:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":132265,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:08:13] local.INFO: TCP Data received {"connection_id":132264,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f58422e00012d7f914005afd9380000011b23..."} 
[2026-07-13 03:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58422e00012d7f914005afd9380000011b23..."} 
[2026-07-13 03:08:13] local.INFO: Processing buffer {"connection_id":132264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58422e00012d7f914005afd9380000011b23..."} 
[2026-07-13 03:08:13] local.INFO: Packet analysis {"connection_id":132264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5842"} 
[2026-07-13 03:08:13] local.INFO: Extracted packet for processing {"connection_id":132264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5842"} 
[2026-07-13 03:08:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676315904001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783892160000,"timestamp_ms":1783892160000,"timestamp_seconds":1783892160,"priority":1,"record_length":96,"hex_timestamp":"0000019f58422e00"} 
[2026-07-13 03:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676315904001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676315904001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:08:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:08:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676315904001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":132264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:08:13] local.INFO: GPS data processed {"connection_id":132264,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:08:13] local.INFO: Acknowledgment sent {"connection_id":132264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:08:36] local.INFO: TCP Data received {"connection_id":129950,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:08:36] local.INFO: Processing buffer {"connection_id":129950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:08:36] local.INFO: IMEI packet received {"connection_id":129950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":129950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:08:41] local.INFO: TCP Data received {"connection_id":129950,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:08:41] local.INFO: Processing buffer {"connection_id":129950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:08:41] local.INFO: IMEI packet received {"connection_id":129950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":129950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:08:42] local.INFO: TCP Data received {"connection_id":129950,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f58422e00012d7f914005afd9380000011b23..."} 
[2026-07-13 03:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58422e00012d7f914005afd9380000011b23..."} 
[2026-07-13 03:08:42] local.INFO: Processing buffer {"connection_id":129950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58422e00012d7f914005afd9380000011b23..."} 
[2026-07-13 03:08:42] local.INFO: Packet analysis {"connection_id":129950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5842"} 
[2026-07-13 03:08:42] local.INFO: Extracted packet for processing {"connection_id":129950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5842"} 
[2026-07-13 03:08:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676315904001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783892160000,"timestamp_ms":1783892160000,"timestamp_seconds":1783892160,"priority":1,"record_length":96,"hex_timestamp":"0000019f58422e00"} 
[2026-07-13 03:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676315904001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676315904001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:08:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:08:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676315904001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":129950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:08:42] local.INFO: GPS data processed {"connection_id":129950,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:08:42] local.INFO: Acknowledgment sent {"connection_id":129950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:09:13] local.INFO: TCP Data received {"connection_id":129950,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f58422e00012d7f914005afd9380000011b23..."} 
[2026-07-13 03:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58422e00012d7f914005afd9380000011b23..."} 
[2026-07-13 03:09:13] local.INFO: Processing buffer {"connection_id":129950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58422e00012d7f914005afd9380000011b23..."} 
[2026-07-13 03:09:13] local.INFO: Packet analysis {"connection_id":129950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5842"} 
[2026-07-13 03:09:13] local.INFO: Extracted packet for processing {"connection_id":129950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5842"} 
[2026-07-13 03:09:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676315904001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783892160000,"timestamp_ms":1783892160000,"timestamp_seconds":1783892160,"priority":1,"record_length":96,"hex_timestamp":"0000019f58422e00"} 
[2026-07-13 03:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676315904001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676315904001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:09:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:09:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676315904001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":129950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:09:13] local.INFO: GPS data processed {"connection_id":129950,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:09:13] local.INFO: Acknowledgment sent {"connection_id":129950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:09:36] local.INFO: TCP Data received {"connection_id":129951,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:09:36] local.INFO: Processing buffer {"connection_id":129951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:09:36] local.INFO: IMEI packet received {"connection_id":129951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":129951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:09:41] local.INFO: TCP Data received {"connection_id":129951,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:09:41] local.INFO: Processing buffer {"connection_id":129951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:09:41] local.INFO: IMEI packet received {"connection_id":129951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":129951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:09:42] local.INFO: TCP Data received {"connection_id":129951,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f58422e00012d7f914005afd9380000011b23..."} 
[2026-07-13 03:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58422e00012d7f914005afd9380000011b23..."} 
[2026-07-13 03:09:42] local.INFO: Processing buffer {"connection_id":129951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58422e00012d7f914005afd9380000011b23..."} 
[2026-07-13 03:09:42] local.INFO: Packet analysis {"connection_id":129951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5842"} 
[2026-07-13 03:09:42] local.INFO: Extracted packet for processing {"connection_id":129951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5842"} 
[2026-07-13 03:09:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676315904001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783892160000,"timestamp_ms":1783892160000,"timestamp_seconds":1783892160,"priority":1,"record_length":96,"hex_timestamp":"0000019f58422e00"} 
[2026-07-13 03:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676315904001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676315904001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:09:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:09:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676315904001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":129951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:09:42] local.INFO: GPS data processed {"connection_id":129951,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:09:42] local.INFO: Acknowledgment sent {"connection_id":129951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:10:13] local.INFO: TCP Data received {"connection_id":129951,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f58422e00012d7f914005afd9380000011b23..."} 
[2026-07-13 03:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58422e00012d7f914005afd9380000011b23..."} 
[2026-07-13 03:10:13] local.INFO: Processing buffer {"connection_id":129951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58422e00012d7f914005afd9380000011b23..."} 
[2026-07-13 03:10:13] local.INFO: Packet analysis {"connection_id":129951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5842"} 
[2026-07-13 03:10:13] local.INFO: Extracted packet for processing {"connection_id":129951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5842"} 
[2026-07-13 03:10:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676315904001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783892160000,"timestamp_ms":1783892160000,"timestamp_seconds":1783892160,"priority":1,"record_length":96,"hex_timestamp":"0000019f58422e00"} 
[2026-07-13 03:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676315904001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676315904001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:10:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:10:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676315904001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":129951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:10:13] local.INFO: GPS data processed {"connection_id":129951,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:10:13] local.INFO: Acknowledgment sent {"connection_id":129951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:11:11] local.INFO: TCP Data received {"connection_id":129954,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:11:11] local.INFO: Processing buffer {"connection_id":129954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:11:11] local.INFO: IMEI packet received {"connection_id":129954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":129954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:11:16] local.INFO: TCP Data received {"connection_id":129954,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:11:16] local.INFO: Processing buffer {"connection_id":129954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:11:16] local.INFO: IMEI packet received {"connection_id":129954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":129954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:11:17] local.INFO: TCP Data received {"connection_id":129954,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f58422e00012d7f914005afd9380000011b23..."} 
[2026-07-13 03:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58422e00012d7f914005afd9380000011b23..."} 
[2026-07-13 03:11:17] local.INFO: Processing buffer {"connection_id":129954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58422e00012d7f914005afd9380000011b23..."} 
[2026-07-13 03:11:17] local.INFO: Packet analysis {"connection_id":129954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5842"} 
[2026-07-13 03:11:17] local.INFO: Extracted packet for processing {"connection_id":129954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5842"} 
[2026-07-13 03:11:17] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03: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-07-13 03:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676315904001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783892160000,"timestamp_ms":1783892160000,"timestamp_seconds":1783892160,"priority":1,"record_length":96,"hex_timestamp":"0000019f58422e00"} 
[2026-07-13 03:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:11:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03: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-07-13 03:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":129954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":129954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":129954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676315904001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676315904001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:11:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:11:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676315904001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":129954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:11:17] local.INFO: GPS data processed {"connection_id":129954,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:11:17] local.INFO: Acknowledgment sent {"connection_id":129954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:11:39] local.INFO: TCP Data received {"connection_id":132266,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:11:39] local.INFO: Processing buffer {"connection_id":132266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:11:39] local.INFO: IMEI packet received {"connection_id":132266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":132266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:11:41] local.INFO: TCP Data received {"connection_id":132266,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:11:41] local.INFO: Processing buffer {"connection_id":132266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:11:41] local.INFO: IMEI packet received {"connection_id":132266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":132266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:11:46] local.INFO: TCP Data received {"connection_id":132266,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:11:46] local.INFO: Processing buffer {"connection_id":132266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:11:46] local.INFO: IMEI packet received {"connection_id":132266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":132266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:11:47] local.INFO: TCP Data received {"connection_id":132266,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5846c5c8012d7f914005afd9380000011b20..."} 
[2026-07-13 03:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5846c5c8012d7f914005afd9380000011b20..."} 
[2026-07-13 03:11:47] local.INFO: Processing buffer {"connection_id":132266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5846c5c8012d7f914005afd9380000011b20..."} 
[2026-07-13 03:11:47] local.INFO: Packet analysis {"connection_id":132266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5846"} 
[2026-07-13 03:11:47] local.INFO: Extracted packet for processing {"connection_id":132266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5846"} 
[2026-07-13 03:11:47] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676392960001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783892461000,"timestamp_ms":1783892461000,"timestamp_seconds":1783892461,"priority":1,"record_length":96,"hex_timestamp":"0000019f5846c5c8"} 
[2026-07-13 03:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 03:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676392960001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676392960001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:11:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:11:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676392960001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":132266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:11:47] local.INFO: GPS data processed {"connection_id":132266,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:11:47] local.INFO: Acknowledgment sent {"connection_id":132266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:11:51] local.INFO: TCP Data received {"connection_id":132266,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5846c5c8012d7f914005afd9380000011b20..."} 
[2026-07-13 03:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5846c5c8012d7f914005afd9380000011b20..."} 
[2026-07-13 03:11:51] local.INFO: Processing buffer {"connection_id":132266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5846c5c8012d7f914005afd9380000011b20..."} 
[2026-07-13 03:11:51] local.INFO: Packet analysis {"connection_id":132266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5846"} 
[2026-07-13 03:11:51] local.INFO: Extracted packet for processing {"connection_id":132266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5846"} 
[2026-07-13 03:11:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 03:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676392960001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783892461000,"timestamp_ms":1783892461000,"timestamp_seconds":1783892461,"priority":1,"record_length":96,"hex_timestamp":"0000019f5846c5c8"} 
[2026-07-13 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-07-13 03:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 03:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 03:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:11: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-07-13 03:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676392960001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676392960001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:11:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:11:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676392960001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":132266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:11:51] local.INFO: GPS data processed {"connection_id":132266,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:11:51] local.INFO: Acknowledgment sent {"connection_id":132266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:12:36] local.INFO: TCP Data received {"connection_id":130935,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:12:36] local.INFO: Processing buffer {"connection_id":130935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:12:36] local.INFO: IMEI packet received {"connection_id":130935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":130935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:12:41] local.INFO: TCP Data received {"connection_id":130935,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:12:41] local.INFO: Processing buffer {"connection_id":130935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:12:41] local.INFO: IMEI packet received {"connection_id":130935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":130935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:12:42] local.INFO: TCP Data received {"connection_id":130935,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5846c5c8012d7f914005afd9380000011b20..."} 
[2026-07-13 03:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5846c5c8012d7f914005afd9380000011b20..."} 
[2026-07-13 03:12:42] local.INFO: Processing buffer {"connection_id":130935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5846c5c8012d7f914005afd9380000011b20..."} 
[2026-07-13 03:12:42] local.INFO: Packet analysis {"connection_id":130935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5846"} 
[2026-07-13 03:12:42] local.INFO: Extracted packet for processing {"connection_id":130935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5846"} 
[2026-07-13 03:12:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03: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-07-13 03:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676392960001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783892461000,"timestamp_ms":1783892461000,"timestamp_seconds":1783892461,"priority":1,"record_length":96,"hex_timestamp":"0000019f5846c5c8"} 
[2026-07-13 03:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 03:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03: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-07-13 03:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676392960001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676392960001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:12:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:12:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676392960001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":130935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:12:42] local.INFO: GPS data processed {"connection_id":130935,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:12:42] local.INFO: Acknowledgment sent {"connection_id":130935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:13:01] local.INFO: TCP Data received {"connection_id":130936,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130936,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:13:01] local.INFO: Processing buffer {"connection_id":130936,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:13:01] local.INFO: IMEI packet received {"connection_id":130936,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 03:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":130936,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:13:13] local.INFO: TCP Data received {"connection_id":130935,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5846c5c8012d7f914005afd9380000011b20..."} 
[2026-07-13 03:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5846c5c8012d7f914005afd9380000011b20..."} 
[2026-07-13 03:13:13] local.INFO: Processing buffer {"connection_id":130935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5846c5c8012d7f914005afd9380000011b20..."} 
[2026-07-13 03:13:13] local.INFO: Packet analysis {"connection_id":130935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5846"} 
[2026-07-13 03:13:13] local.INFO: Extracted packet for processing {"connection_id":130935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5846"} 
[2026-07-13 03:13:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676392960001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783892461000,"timestamp_ms":1783892461000,"timestamp_seconds":1783892461,"priority":1,"record_length":96,"hex_timestamp":"0000019f5846c5c8"} 
[2026-07-13 03:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 03:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676392960001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676392960001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:13:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:13:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676392960001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":130935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:13:13] local.INFO: GPS data processed {"connection_id":130935,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:13:13] local.INFO: Acknowledgment sent {"connection_id":130935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:13:36] local.INFO: TCP Data received {"connection_id":130937,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:13:36] local.INFO: Processing buffer {"connection_id":130937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:13:36] local.INFO: IMEI packet received {"connection_id":130937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":130937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:13:41] local.INFO: TCP Data received {"connection_id":130937,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:13:41] local.INFO: Processing buffer {"connection_id":130937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:13:41] local.INFO: IMEI packet received {"connection_id":130937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":130937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:13:41] local.INFO: TCP Data received {"connection_id":129955,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:13:41] local.INFO: Processing buffer {"connection_id":129955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:13:41] local.INFO: IMEI packet received {"connection_id":129955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 03:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":129955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:13:42] local.INFO: TCP Data received {"connection_id":130937,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5846c5c8012d7f914005afd9380000011b20..."} 
[2026-07-13 03:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5846c5c8012d7f914005afd9380000011b20..."} 
[2026-07-13 03:13:42] local.INFO: Processing buffer {"connection_id":130937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5846c5c8012d7f914005afd9380000011b20..."} 
[2026-07-13 03:13:42] local.INFO: Packet analysis {"connection_id":130937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5846"} 
[2026-07-13 03:13:42] local.INFO: Extracted packet for processing {"connection_id":130937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5846"} 
[2026-07-13 03:13:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676392960001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783892461000,"timestamp_ms":1783892461000,"timestamp_seconds":1783892461,"priority":1,"record_length":96,"hex_timestamp":"0000019f5846c5c8"} 
[2026-07-13 03:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 03:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676392960001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676392960001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:13:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:13:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676392960001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":130937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:13:42] local.INFO: GPS data processed {"connection_id":130937,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:13:42] local.INFO: Acknowledgment sent {"connection_id":130937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:14:13] local.INFO: TCP Data received {"connection_id":130937,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5846c5c8012d7f914005afd9380000011b20..."} 
[2026-07-13 03:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5846c5c8012d7f914005afd9380000011b20..."} 
[2026-07-13 03:14:13] local.INFO: Processing buffer {"connection_id":130937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5846c5c8012d7f914005afd9380000011b20..."} 
[2026-07-13 03:14:13] local.INFO: Packet analysis {"connection_id":130937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5846"} 
[2026-07-13 03:14:13] local.INFO: Extracted packet for processing {"connection_id":130937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5846"} 
[2026-07-13 03:14:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676392960001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783892461000,"timestamp_ms":1783892461000,"timestamp_seconds":1783892461,"priority":1,"record_length":96,"hex_timestamp":"0000019f5846c5c8"} 
[2026-07-13 03:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 03:14:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676392960001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676392960001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:14:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:14:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676392960001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":130937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:14:13] local.INFO: GPS data processed {"connection_id":130937,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:14:13] local.INFO: Acknowledgment sent {"connection_id":130937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:14:36] local.INFO: TCP Data received {"connection_id":130157,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:14:36] local.INFO: Processing buffer {"connection_id":130157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:14:36] local.INFO: IMEI packet received {"connection_id":130157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":130157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:14:41] local.INFO: TCP Data received {"connection_id":130157,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:14:41] local.INFO: Processing buffer {"connection_id":130157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:14:41] local.INFO: IMEI packet received {"connection_id":130157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":130157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:14:42] local.INFO: TCP Data received {"connection_id":130157,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5846c5c8012d7f914005afd9380000011b20..."} 
[2026-07-13 03:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5846c5c8012d7f914005afd9380000011b20..."} 
[2026-07-13 03:14:42] local.INFO: Processing buffer {"connection_id":130157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5846c5c8012d7f914005afd9380000011b20..."} 
[2026-07-13 03:14:42] local.INFO: Packet analysis {"connection_id":130157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5846"} 
[2026-07-13 03:14:42] local.INFO: Extracted packet for processing {"connection_id":130157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5846"} 
[2026-07-13 03:14:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676392960001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783892461000,"timestamp_ms":1783892461000,"timestamp_seconds":1783892461,"priority":1,"record_length":96,"hex_timestamp":"0000019f5846c5c8"} 
[2026-07-13 03:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 03:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676392960001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676392960001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:14:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:14:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676392960001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":130157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:14:42] local.INFO: GPS data processed {"connection_id":130157,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:14:42] local.INFO: Acknowledgment sent {"connection_id":130157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:15:13] local.INFO: TCP Data received {"connection_id":130157,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5846c5c8012d7f914005afd9380000011b20..."} 
[2026-07-13 03:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5846c5c8012d7f914005afd9380000011b20..."} 
[2026-07-13 03:15:13] local.INFO: Processing buffer {"connection_id":130157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5846c5c8012d7f914005afd9380000011b20..."} 
[2026-07-13 03:15:13] local.INFO: Packet analysis {"connection_id":130157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5846"} 
[2026-07-13 03:15:13] local.INFO: Extracted packet for processing {"connection_id":130157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5846"} 
[2026-07-13 03:15:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676392960001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783892461000,"timestamp_ms":1783892461000,"timestamp_seconds":1783892461,"priority":1,"record_length":96,"hex_timestamp":"0000019f5846c5c8"} 
[2026-07-13 03:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 03:15:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676392960001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676392960001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:15:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:15:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676392960001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":130157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:15:13] local.INFO: GPS data processed {"connection_id":130157,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:15:13] local.INFO: Acknowledgment sent {"connection_id":130157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:15:36] local.INFO: TCP Data received {"connection_id":132267,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:15:36] local.INFO: Processing buffer {"connection_id":132267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:15:36] local.INFO: IMEI packet received {"connection_id":132267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":132267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:15:41] local.INFO: TCP Data received {"connection_id":132267,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:15:41] local.INFO: Processing buffer {"connection_id":132267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:15:41] local.INFO: IMEI packet received {"connection_id":132267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":132267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:15:42] local.INFO: TCP Data received {"connection_id":132267,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5846c5c8012d7f914005afd9380000011b20..."} 
[2026-07-13 03:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5846c5c8012d7f914005afd9380000011b20..."} 
[2026-07-13 03:15:42] local.INFO: Processing buffer {"connection_id":132267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5846c5c8012d7f914005afd9380000011b20..."} 
[2026-07-13 03:15:42] local.INFO: Packet analysis {"connection_id":132267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5846"} 
[2026-07-13 03:15:42] local.INFO: Extracted packet for processing {"connection_id":132267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5846"} 
[2026-07-13 03:15:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676392960001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783892461000,"timestamp_ms":1783892461000,"timestamp_seconds":1783892461,"priority":1,"record_length":96,"hex_timestamp":"0000019f5846c5c8"} 
[2026-07-13 03:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 03:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676392960001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676392960001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:15:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:15:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676392960001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":132267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:15:42] local.INFO: GPS data processed {"connection_id":132267,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:15:42] local.INFO: Acknowledgment sent {"connection_id":132267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:16:13] local.INFO: TCP Data received {"connection_id":132267,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5846c5c8012d7f914005afd9380000011b20..."} 
[2026-07-13 03:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5846c5c8012d7f914005afd9380000011b20..."} 
[2026-07-13 03:16:13] local.INFO: Processing buffer {"connection_id":132267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5846c5c8012d7f914005afd9380000011b20..."} 
[2026-07-13 03:16:13] local.INFO: Packet analysis {"connection_id":132267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5846"} 
[2026-07-13 03:16:13] local.INFO: Extracted packet for processing {"connection_id":132267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5846"} 
[2026-07-13 03:16:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676392960001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783892461000,"timestamp_ms":1783892461000,"timestamp_seconds":1783892461,"priority":1,"record_length":96,"hex_timestamp":"0000019f5846c5c8"} 
[2026-07-13 03:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 03:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:16:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676392960001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676392960001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:16:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:16:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676392960001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":132267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:16:13] local.INFO: GPS data processed {"connection_id":132267,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:16:13] local.INFO: Acknowledgment sent {"connection_id":132267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:16:40] local.INFO: TCP Data received {"connection_id":130940,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:16:40] local.INFO: Processing buffer {"connection_id":130940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:16:40] local.INFO: IMEI packet received {"connection_id":130940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":130940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:16:41] local.INFO: TCP Data received {"connection_id":130940,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:16:41] local.INFO: Processing buffer {"connection_id":130940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:16:41] local.INFO: IMEI packet received {"connection_id":130940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":130940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:16:46] local.INFO: TCP Data received {"connection_id":130940,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:16:46] local.INFO: Processing buffer {"connection_id":130940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:16:46] local.INFO: IMEI packet received {"connection_id":130940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":130940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:16:47] local.INFO: TCP Data received {"connection_id":130940,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f584b5d90012d7f914005afd9380000011b25..."} 
[2026-07-13 03:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f584b5d90012d7f914005afd9380000011b25..."} 
[2026-07-13 03:16:47] local.INFO: Processing buffer {"connection_id":130940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f584b5d90012d7f914005afd9380000011b25..."} 
[2026-07-13 03:16:47] local.INFO: Packet analysis {"connection_id":130940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f584b"} 
[2026-07-13 03:16:47] local.INFO: Extracted packet for processing {"connection_id":130940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f584b"} 
[2026-07-13 03:16:47] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676470016001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783892762000,"timestamp_ms":1783892762000,"timestamp_seconds":1783892762,"priority":1,"record_length":96,"hex_timestamp":"0000019f584b5d90"} 
[2026-07-13 03:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676470016001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676470016001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:16:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:16:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676470016001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":130940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:16:47] local.INFO: GPS data processed {"connection_id":130940,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:16:47] local.INFO: Acknowledgment sent {"connection_id":130940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:17:18] local.INFO: TCP Data received {"connection_id":130940,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f584b5d90012d7f914005afd9380000011b25..."} 
[2026-07-13 03:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f584b5d90012d7f914005afd9380000011b25..."} 
[2026-07-13 03:17:18] local.INFO: Processing buffer {"connection_id":130940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f584b5d90012d7f914005afd9380000011b25..."} 
[2026-07-13 03:17:18] local.INFO: Packet analysis {"connection_id":130940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f584b"} 
[2026-07-13 03:17:18] local.INFO: Extracted packet for processing {"connection_id":130940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f584b"} 
[2026-07-13 03:17:18] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03: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-07-13 03:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676470016001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783892762000,"timestamp_ms":1783892762000,"timestamp_seconds":1783892762,"priority":1,"record_length":96,"hex_timestamp":"0000019f584b5d90"} 
[2026-07-13 03:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03: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-07-13 03:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:17: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-07-13 03:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676470016001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676470016001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:17:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:17:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676470016001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":130940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:17:18] local.INFO: GPS data processed {"connection_id":130940,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:17:18] local.INFO: Acknowledgment sent {"connection_id":130940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:17:35] local.INFO: TCP Data received {"connection_id":130158,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:17:36] local.INFO: Processing buffer {"connection_id":130158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:17:36] local.INFO: IMEI packet received {"connection_id":130158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":130158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:17:41] local.INFO: TCP Data received {"connection_id":130158,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:17:41] local.INFO: Processing buffer {"connection_id":130158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:17:41] local.INFO: IMEI packet received {"connection_id":130158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":130158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:17:42] local.INFO: TCP Data received {"connection_id":130158,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f584b5d90012d7f914005afd9380000011b25..."} 
[2026-07-13 03:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f584b5d90012d7f914005afd9380000011b25..."} 
[2026-07-13 03:17:42] local.INFO: Processing buffer {"connection_id":130158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f584b5d90012d7f914005afd9380000011b25..."} 
[2026-07-13 03:17:42] local.INFO: Packet analysis {"connection_id":130158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f584b"} 
[2026-07-13 03:17:42] local.INFO: Extracted packet for processing {"connection_id":130158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f584b"} 
[2026-07-13 03:17:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676470016001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783892762000,"timestamp_ms":1783892762000,"timestamp_seconds":1783892762,"priority":1,"record_length":96,"hex_timestamp":"0000019f584b5d90"} 
[2026-07-13 03:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676470016001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676470016001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:17:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676470016001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":130158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:17:42] local.INFO: GPS data processed {"connection_id":130158,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:17:42] local.INFO: Acknowledgment sent {"connection_id":130158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:18:13] local.INFO: TCP Data received {"connection_id":130158,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f584b5d90012d7f914005afd9380000011b25..."} 
[2026-07-13 03:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f584b5d90012d7f914005afd9380000011b25..."} 
[2026-07-13 03:18:13] local.INFO: Processing buffer {"connection_id":130158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f584b5d90012d7f914005afd9380000011b25..."} 
[2026-07-13 03:18:13] local.INFO: Packet analysis {"connection_id":130158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f584b"} 
[2026-07-13 03:18:13] local.INFO: Extracted packet for processing {"connection_id":130158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f584b"} 
[2026-07-13 03:18:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676470016001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783892762000,"timestamp_ms":1783892762000,"timestamp_seconds":1783892762,"priority":1,"record_length":96,"hex_timestamp":"0000019f584b5d90"} 
[2026-07-13 03:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676470016001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676470016001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:18:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:18:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676470016001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":130158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:18:13] local.INFO: GPS data processed {"connection_id":130158,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:18:13] local.INFO: Acknowledgment sent {"connection_id":130158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:18:35] local.INFO: TCP Data received {"connection_id":132269,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:18:36] local.INFO: Processing buffer {"connection_id":132269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:18:36] local.INFO: IMEI packet received {"connection_id":132269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":132269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:18:41] local.INFO: TCP Data received {"connection_id":132269,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:18:41] local.INFO: Processing buffer {"connection_id":132269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:18:41] local.INFO: IMEI packet received {"connection_id":132269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":132269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:18:42] local.INFO: TCP Data received {"connection_id":132269,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f584b5d90012d7f914005afd9380000011b25..."} 
[2026-07-13 03:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f584b5d90012d7f914005afd9380000011b25..."} 
[2026-07-13 03:18:42] local.INFO: Processing buffer {"connection_id":132269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f584b5d90012d7f914005afd9380000011b25..."} 
[2026-07-13 03:18:42] local.INFO: Packet analysis {"connection_id":132269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f584b"} 
[2026-07-13 03:18:42] local.INFO: Extracted packet for processing {"connection_id":132269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f584b"} 
[2026-07-13 03:18:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676470016001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783892762000,"timestamp_ms":1783892762000,"timestamp_seconds":1783892762,"priority":1,"record_length":96,"hex_timestamp":"0000019f584b5d90"} 
[2026-07-13 03:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676470016001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676470016001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:18:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:18:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676470016001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":132269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:18:42] local.INFO: GPS data processed {"connection_id":132269,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:18:42] local.INFO: Acknowledgment sent {"connection_id":132269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:18:56] local.INFO: TCP Data received {"connection_id":129956,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129956,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:18:56] local.INFO: Processing buffer {"connection_id":129956,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:18:56] local.INFO: IMEI packet received {"connection_id":129956,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 03:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":129956,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:19:13] local.INFO: TCP Data received {"connection_id":132269,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f584b5d90012d7f914005afd9380000011b25..."} 
[2026-07-13 03:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f584b5d90012d7f914005afd9380000011b25..."} 
[2026-07-13 03:19:13] local.INFO: Processing buffer {"connection_id":132269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f584b5d90012d7f914005afd9380000011b25..."} 
[2026-07-13 03:19:13] local.INFO: Packet analysis {"connection_id":132269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f584b"} 
[2026-07-13 03:19:13] local.INFO: Extracted packet for processing {"connection_id":132269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f584b"} 
[2026-07-13 03:19:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676470016001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783892762000,"timestamp_ms":1783892762000,"timestamp_seconds":1783892762,"priority":1,"record_length":96,"hex_timestamp":"0000019f584b5d90"} 
[2026-07-13 03:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676470016001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676470016001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:19:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:19:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676470016001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":132269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:19:13] local.INFO: GPS data processed {"connection_id":132269,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:19:13] local.INFO: Acknowledgment sent {"connection_id":132269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:19:36] local.INFO: TCP Data received {"connection_id":130159,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:19:36] local.INFO: Processing buffer {"connection_id":130159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:19:36] local.INFO: IMEI packet received {"connection_id":130159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":130159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:19:41] local.INFO: TCP Data received {"connection_id":130159,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:19:41] local.INFO: Processing buffer {"connection_id":130159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:19:41] local.INFO: IMEI packet received {"connection_id":130159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":130159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:19:41] local.INFO: TCP Data received {"connection_id":130942,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130942,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:19:41] local.INFO: Processing buffer {"connection_id":130942,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:19:41] local.INFO: IMEI packet received {"connection_id":130942,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 03:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":130942,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:19:42] local.INFO: TCP Data received {"connection_id":130159,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f584b5d90012d7f914005afd9380000011b25..."} 
[2026-07-13 03:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f584b5d90012d7f914005afd9380000011b25..."} 
[2026-07-13 03:19:42] local.INFO: Processing buffer {"connection_id":130159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f584b5d90012d7f914005afd9380000011b25..."} 
[2026-07-13 03:19:42] local.INFO: Packet analysis {"connection_id":130159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f584b"} 
[2026-07-13 03:19:42] local.INFO: Extracted packet for processing {"connection_id":130159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f584b"} 
[2026-07-13 03:19:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676470016001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783892762000,"timestamp_ms":1783892762000,"timestamp_seconds":1783892762,"priority":1,"record_length":96,"hex_timestamp":"0000019f584b5d90"} 
[2026-07-13 03:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676470016001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676470016001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:19:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:19:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676470016001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":130159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:19:42] local.INFO: GPS data processed {"connection_id":130159,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:19:42] local.INFO: Acknowledgment sent {"connection_id":130159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:20:13] local.INFO: TCP Data received {"connection_id":130159,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f584b5d90012d7f914005afd9380000011b25..."} 
[2026-07-13 03:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f584b5d90012d7f914005afd9380000011b25..."} 
[2026-07-13 03:20:13] local.INFO: Processing buffer {"connection_id":130159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f584b5d90012d7f914005afd9380000011b25..."} 
[2026-07-13 03:20:13] local.INFO: Packet analysis {"connection_id":130159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f584b"} 
[2026-07-13 03:20:13] local.INFO: Extracted packet for processing {"connection_id":130159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f584b"} 
[2026-07-13 03:20:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676470016001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783892762000,"timestamp_ms":1783892762000,"timestamp_seconds":1783892762,"priority":1,"record_length":96,"hex_timestamp":"0000019f584b5d90"} 
[2026-07-13 03:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676470016001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676470016001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:20:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:20:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676470016001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":130159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:20:13] local.INFO: GPS data processed {"connection_id":130159,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:20:13] local.INFO: Acknowledgment sent {"connection_id":130159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:20:41] local.INFO: TCP Data received {"connection_id":130160,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:20:41] local.INFO: Processing buffer {"connection_id":130160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:20:41] local.INFO: IMEI packet received {"connection_id":130160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":130160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:20:46] local.INFO: TCP Data received {"connection_id":130160,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:20:46] local.INFO: Processing buffer {"connection_id":130160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:20:46] local.INFO: IMEI packet received {"connection_id":130160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":130160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:20:47] local.INFO: TCP Data received {"connection_id":130160,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f584b5d90012d7f914005afd9380000011b25..."} 
[2026-07-13 03:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f584b5d90012d7f914005afd9380000011b25..."} 
[2026-07-13 03:20:47] local.INFO: Processing buffer {"connection_id":130160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f584b5d90012d7f914005afd9380000011b25..."} 
[2026-07-13 03:20:47] local.INFO: Packet analysis {"connection_id":130160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f584b"} 
[2026-07-13 03:20:47] local.INFO: Extracted packet for processing {"connection_id":130160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f584b"} 
[2026-07-13 03:20:47] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676470016001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783892762000,"timestamp_ms":1783892762000,"timestamp_seconds":1783892762,"priority":1,"record_length":96,"hex_timestamp":"0000019f584b5d90"} 
[2026-07-13 03:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676470016001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676470016001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:20:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:20:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676470016001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":130160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:20:47] local.INFO: GPS data processed {"connection_id":130160,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:20:47] local.INFO: Acknowledgment sent {"connection_id":130160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:20:51] local.INFO: TCP Data received {"connection_id":130160,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f584b5d90012d7f914005afd9380000011b25..."} 
[2026-07-13 03:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f584b5d90012d7f914005afd9380000011b25..."} 
[2026-07-13 03:20:51] local.INFO: Processing buffer {"connection_id":130160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f584b5d90012d7f914005afd9380000011b25..."} 
[2026-07-13 03:20:51] local.INFO: Packet analysis {"connection_id":130160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f584b"} 
[2026-07-13 03:20:51] local.INFO: Extracted packet for processing {"connection_id":130160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f584b"} 
[2026-07-13 03:20:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676470016001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783892762000,"timestamp_ms":1783892762000,"timestamp_seconds":1783892762,"priority":1,"record_length":96,"hex_timestamp":"0000019f584b5d90"} 
[2026-07-13 03:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03: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-07-13 03:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676470016001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676470016001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:20:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:20:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676470016001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":130160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:20:51] local.INFO: GPS data processed {"connection_id":130160,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:20:51] local.INFO: Acknowledgment sent {"connection_id":130160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:21:36] local.INFO: TCP Data received {"connection_id":129958,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:21:36] local.INFO: Processing buffer {"connection_id":129958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:21:36] local.INFO: IMEI packet received {"connection_id":129958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":129958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:21:41] local.INFO: TCP Data received {"connection_id":129958,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:21:41] local.INFO: Processing buffer {"connection_id":129958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:21:41] local.INFO: IMEI packet received {"connection_id":129958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":129958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:21:42] local.INFO: TCP Data received {"connection_id":129958,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f584ff558012d7f914005afd9380000011b26..."} 
[2026-07-13 03:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f584ff558012d7f914005afd9380000011b26..."} 
[2026-07-13 03:21:42] local.INFO: Processing buffer {"connection_id":129958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f584ff558012d7f914005afd9380000011b26..."} 
[2026-07-13 03:21:42] local.INFO: Packet analysis {"connection_id":129958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f584f"} 
[2026-07-13 03:21:42] local.INFO: Extracted packet for processing {"connection_id":129958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f584f"} 
[2026-07-13 03:21:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676547072001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783893063000,"timestamp_ms":1783893063000,"timestamp_seconds":1783893063,"priority":1,"record_length":96,"hex_timestamp":"0000019f584ff558"} 
[2026-07-13 03:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 03:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676547072001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676547072001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:21:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:21:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676547072001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":129958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:21:42] local.INFO: GPS data processed {"connection_id":129958,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:21:42] local.INFO: Acknowledgment sent {"connection_id":129958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:22:13] local.INFO: TCP Data received {"connection_id":129958,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f584ff558012d7f914005afd9380000011b26..."} 
[2026-07-13 03:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f584ff558012d7f914005afd9380000011b26..."} 
[2026-07-13 03:22:13] local.INFO: Processing buffer {"connection_id":129958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f584ff558012d7f914005afd9380000011b26..."} 
[2026-07-13 03:22:13] local.INFO: Packet analysis {"connection_id":129958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f584f"} 
[2026-07-13 03:22:13] local.INFO: Extracted packet for processing {"connection_id":129958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f584f"} 
[2026-07-13 03:22:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676547072001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783893063000,"timestamp_ms":1783893063000,"timestamp_seconds":1783893063,"priority":1,"record_length":96,"hex_timestamp":"0000019f584ff558"} 
[2026-07-13 03:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 03:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676547072001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676547072001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:22:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:22:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676547072001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":129958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:22:13] local.INFO: GPS data processed {"connection_id":129958,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:22:13] local.INFO: Acknowledgment sent {"connection_id":129958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:22:35] local.INFO: TCP Data received {"connection_id":132270,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:22:36] local.INFO: Processing buffer {"connection_id":132270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:22:36] local.INFO: IMEI packet received {"connection_id":132270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":132270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:22:41] local.INFO: TCP Data received {"connection_id":132270,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:22:41] local.INFO: Processing buffer {"connection_id":132270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:22:41] local.INFO: IMEI packet received {"connection_id":132270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":132270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:22:42] local.INFO: TCP Data received {"connection_id":132270,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f584ff558012d7f914005afd9380000011b26..."} 
[2026-07-13 03:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f584ff558012d7f914005afd9380000011b26..."} 
[2026-07-13 03:22:42] local.INFO: Processing buffer {"connection_id":132270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f584ff558012d7f914005afd9380000011b26..."} 
[2026-07-13 03:22:42] local.INFO: Packet analysis {"connection_id":132270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f584f"} 
[2026-07-13 03:22:42] local.INFO: Extracted packet for processing {"connection_id":132270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f584f"} 
[2026-07-13 03:22:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676547072001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783893063000,"timestamp_ms":1783893063000,"timestamp_seconds":1783893063,"priority":1,"record_length":96,"hex_timestamp":"0000019f584ff558"} 
[2026-07-13 03:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 03:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676547072001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676547072001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:22:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:22:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676547072001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":132270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:22:42] local.INFO: GPS data processed {"connection_id":132270,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:22:42] local.INFO: Acknowledgment sent {"connection_id":132270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:23:13] local.INFO: TCP Data received {"connection_id":132270,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f584ff558012d7f914005afd9380000011b26..."} 
[2026-07-13 03:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f584ff558012d7f914005afd9380000011b26..."} 
[2026-07-13 03:23:13] local.INFO: Processing buffer {"connection_id":132270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f584ff558012d7f914005afd9380000011b26..."} 
[2026-07-13 03:23:13] local.INFO: Packet analysis {"connection_id":132270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f584f"} 
[2026-07-13 03:23:13] local.INFO: Extracted packet for processing {"connection_id":132270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f584f"} 
[2026-07-13 03:23:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676547072001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783893063000,"timestamp_ms":1783893063000,"timestamp_seconds":1783893063,"priority":1,"record_length":96,"hex_timestamp":"0000019f584ff558"} 
[2026-07-13 03:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 03:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676547072001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676547072001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:23:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:23:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676547072001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":132270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:23:13] local.INFO: GPS data processed {"connection_id":132270,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:23:13] local.INFO: Acknowledgment sent {"connection_id":132270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:23:36] local.INFO: TCP Data received {"connection_id":132272,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:23:36] local.INFO: Processing buffer {"connection_id":132272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:23:36] local.INFO: IMEI packet received {"connection_id":132272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":132272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:23:41] local.INFO: TCP Data received {"connection_id":132272,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:23:41] local.INFO: Processing buffer {"connection_id":132272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:23:41] local.INFO: IMEI packet received {"connection_id":132272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":132272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:23:42] local.INFO: TCP Data received {"connection_id":132272,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f584ff558012d7f914005afd9380000011b26..."} 
[2026-07-13 03:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f584ff558012d7f914005afd9380000011b26..."} 
[2026-07-13 03:23:42] local.INFO: Processing buffer {"connection_id":132272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f584ff558012d7f914005afd9380000011b26..."} 
[2026-07-13 03:23:42] local.INFO: Packet analysis {"connection_id":132272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f584f"} 
[2026-07-13 03:23:42] local.INFO: Extracted packet for processing {"connection_id":132272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f584f"} 
[2026-07-13 03:23:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676547072001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783893063000,"timestamp_ms":1783893063000,"timestamp_seconds":1783893063,"priority":1,"record_length":96,"hex_timestamp":"0000019f584ff558"} 
[2026-07-13 03:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 03:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676547072001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676547072001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:23:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:23:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676547072001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":132272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:23:42] local.INFO: GPS data processed {"connection_id":132272,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:23:42] local.INFO: Acknowledgment sent {"connection_id":132272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:24:13] local.INFO: TCP Data received {"connection_id":132272,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f584ff558012d7f914005afd9380000011b26..."} 
[2026-07-13 03:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f584ff558012d7f914005afd9380000011b26..."} 
[2026-07-13 03:24:13] local.INFO: Processing buffer {"connection_id":132272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f584ff558012d7f914005afd9380000011b26..."} 
[2026-07-13 03:24:13] local.INFO: Packet analysis {"connection_id":132272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f584f"} 
[2026-07-13 03:24:13] local.INFO: Extracted packet for processing {"connection_id":132272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f584f"} 
[2026-07-13 03:24:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676547072001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783893063000,"timestamp_ms":1783893063000,"timestamp_seconds":1783893063,"priority":1,"record_length":96,"hex_timestamp":"0000019f584ff558"} 
[2026-07-13 03:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 03:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676547072001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676547072001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:24:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:24:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676547072001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":132272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:24:13] local.INFO: GPS data processed {"connection_id":132272,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:24:13] local.INFO: Acknowledgment sent {"connection_id":132272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:24:36] local.INFO: TCP Data received {"connection_id":132273,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:24:36] local.INFO: Processing buffer {"connection_id":132273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:24:36] local.INFO: IMEI packet received {"connection_id":132273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":132273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:24:41] local.INFO: TCP Data received {"connection_id":132273,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:24:41] local.INFO: Processing buffer {"connection_id":132273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:24:41] local.INFO: IMEI packet received {"connection_id":132273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":132273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:24:42] local.INFO: TCP Data received {"connection_id":132273,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f584ff558012d7f914005afd9380000011b26..."} 
[2026-07-13 03:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f584ff558012d7f914005afd9380000011b26..."} 
[2026-07-13 03:24:42] local.INFO: Processing buffer {"connection_id":132273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f584ff558012d7f914005afd9380000011b26..."} 
[2026-07-13 03:24:42] local.INFO: Packet analysis {"connection_id":132273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f584f"} 
[2026-07-13 03:24:42] local.INFO: Extracted packet for processing {"connection_id":132273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f584f"} 
[2026-07-13 03:24:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676547072001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783893063000,"timestamp_ms":1783893063000,"timestamp_seconds":1783893063,"priority":1,"record_length":96,"hex_timestamp":"0000019f584ff558"} 
[2026-07-13 03:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 03:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676547072001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676547072001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:24:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:24:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676547072001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":132273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:24:42] local.INFO: GPS data processed {"connection_id":132273,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:24:42] local.INFO: Acknowledgment sent {"connection_id":132273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:25:11] local.INFO: TCP Data received {"connection_id":130943,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130943,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:25:11] local.INFO: Processing buffer {"connection_id":130943,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:25:11] local.INFO: IMEI packet received {"connection_id":130943,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 03:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":130943,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:25:13] local.INFO: TCP Data received {"connection_id":132273,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f584ff558012d7f914005afd9380000011b26..."} 
[2026-07-13 03:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f584ff558012d7f914005afd9380000011b26..."} 
[2026-07-13 03:25:13] local.INFO: Processing buffer {"connection_id":132273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f584ff558012d7f914005afd9380000011b26..."} 
[2026-07-13 03:25:13] local.INFO: Packet analysis {"connection_id":132273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f584f"} 
[2026-07-13 03:25:13] local.INFO: Extracted packet for processing {"connection_id":132273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f584f"} 
[2026-07-13 03:25:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676547072001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783893063000,"timestamp_ms":1783893063000,"timestamp_seconds":1783893063,"priority":1,"record_length":96,"hex_timestamp":"0000019f584ff558"} 
[2026-07-13 03:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 03:25:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676547072001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676547072001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:25:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:25:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676547072001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":132273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:25:13] local.INFO: GPS data processed {"connection_id":132273,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:25:13] local.INFO: Acknowledgment sent {"connection_id":132273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:25:36] local.INFO: TCP Data received {"connection_id":129960,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:25:36] local.INFO: Processing buffer {"connection_id":129960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:25:36] local.INFO: IMEI packet received {"connection_id":129960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":129960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:25:41] local.INFO: TCP Data received {"connection_id":130163,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130163,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:25:41] local.INFO: Processing buffer {"connection_id":130163,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:25:41] local.INFO: IMEI packet received {"connection_id":130163,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 03:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":130163,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:25:41] local.INFO: TCP Data received {"connection_id":129960,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:25:41] local.INFO: Processing buffer {"connection_id":129960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:25:41] local.INFO: IMEI packet received {"connection_id":129960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":129960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:25:42] local.INFO: TCP Data received {"connection_id":129960,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f584ff558012d7f914005afd9380000011b26..."} 
[2026-07-13 03:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f584ff558012d7f914005afd9380000011b26..."} 
[2026-07-13 03:25:42] local.INFO: Processing buffer {"connection_id":129960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f584ff558012d7f914005afd9380000011b26..."} 
[2026-07-13 03:25:42] local.INFO: Packet analysis {"connection_id":129960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f584f"} 
[2026-07-13 03:25:42] local.INFO: Extracted packet for processing {"connection_id":129960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f584f"} 
[2026-07-13 03:25:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676547072001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783893063000,"timestamp_ms":1783893063000,"timestamp_seconds":1783893063,"priority":1,"record_length":96,"hex_timestamp":"0000019f584ff558"} 
[2026-07-13 03:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 03:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676547072001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676547072001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:25:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:25:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676547072001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":129960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:25:42] local.INFO: GPS data processed {"connection_id":129960,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:25:42] local.INFO: Acknowledgment sent {"connection_id":129960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:26:18] local.INFO: TCP Data received {"connection_id":129960,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f584ff558012d7f914005afd9380000011b26..."} 
[2026-07-13 03:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f584ff558012d7f914005afd9380000011b26..."} 
[2026-07-13 03:26:18] local.INFO: Processing buffer {"connection_id":129960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f584ff558012d7f914005afd9380000011b26..."} 
[2026-07-13 03:26:18] local.INFO: Packet analysis {"connection_id":129960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f584f"} 
[2026-07-13 03:26:18] local.INFO: Extracted packet for processing {"connection_id":129960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f584f"} 
[2026-07-13 03:26:18] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03: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-07-13 03:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676547072001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783893063000,"timestamp_ms":1783893063000,"timestamp_seconds":1783893063,"priority":1,"record_length":96,"hex_timestamp":"0000019f584ff558"} 
[2026-07-13 03:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 03:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03: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-07-13 03:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":129960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":129960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":129960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:26: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-07-13 03:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676547072001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676547072001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:26:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:26:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676547072001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":129960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:26:18] local.INFO: GPS data processed {"connection_id":129960,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:26:18] local.INFO: Acknowledgment sent {"connection_id":129960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:26:41] local.INFO: TCP Data received {"connection_id":130164,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:26:41] local.INFO: Processing buffer {"connection_id":130164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:26:41] local.INFO: IMEI packet received {"connection_id":130164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":130164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:26:42] local.INFO: TCP Data received {"connection_id":130164,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:26:42] local.INFO: Processing buffer {"connection_id":130164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:26:42] local.INFO: IMEI packet received {"connection_id":130164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":130164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:26:43] local.INFO: TCP Data received {"connection_id":130164,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:26:43] local.INFO: Processing buffer {"connection_id":130164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:26:43] local.INFO: Packet analysis {"connection_id":130164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5854"} 
[2026-07-13 03:26:43] local.INFO: Extracted packet for processing {"connection_id":130164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5854"} 
[2026-07-13 03:26:43] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676624128001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783893364000,"timestamp_ms":1783893364000,"timestamp_seconds":1783893364,"priority":1,"record_length":96,"hex_timestamp":"0000019f58548d20"} 
[2026-07-13 03:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676624128001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676624128001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:26:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:26:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676624128001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":130164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:26:43] local.INFO: GPS data processed {"connection_id":130164,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:26:43] local.INFO: Acknowledgment sent {"connection_id":130164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:26:46] local.INFO: TCP Data received {"connection_id":130164,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:26:46] local.INFO: Processing buffer {"connection_id":130164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:26:46] local.INFO: Packet analysis {"connection_id":130164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5854"} 
[2026-07-13 03:26:46] local.INFO: Extracted packet for processing {"connection_id":130164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5854"} 
[2026-07-13 03:26:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676624128001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783893364000,"timestamp_ms":1783893364000,"timestamp_seconds":1783893364,"priority":1,"record_length":96,"hex_timestamp":"0000019f58548d20"} 
[2026-07-13 03:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676624128001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676624128001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:26:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:26:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676624128001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":130164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:26:46] local.INFO: GPS data processed {"connection_id":130164,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:26:46] local.INFO: Acknowledgment sent {"connection_id":130164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:27:18] local.INFO: TCP Data received {"connection_id":130164,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:27:18] local.INFO: Processing buffer {"connection_id":130164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:27:18] local.INFO: Packet analysis {"connection_id":130164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5854"} 
[2026-07-13 03:27:18] local.INFO: Extracted packet for processing {"connection_id":130164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5854"} 
[2026-07-13 03:27:18] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676624128001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783893364000,"timestamp_ms":1783893364000,"timestamp_seconds":1783893364,"priority":1,"record_length":96,"hex_timestamp":"0000019f58548d20"} 
[2026-07-13 03:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03: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-07-13 03:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03: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-07-13 03:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676624128001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676624128001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:27:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:27:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676624128001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":130164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:27:18] local.INFO: GPS data processed {"connection_id":130164,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:27:18] local.INFO: Acknowledgment sent {"connection_id":130164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:27:36] local.INFO: TCP Data received {"connection_id":132275,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:27:36] local.INFO: Processing buffer {"connection_id":132275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:27:36] local.INFO: IMEI packet received {"connection_id":132275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":132275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:27:41] local.INFO: TCP Data received {"connection_id":132275,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:27:41] local.INFO: Processing buffer {"connection_id":132275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:27:41] local.INFO: IMEI packet received {"connection_id":132275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":132275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:27:42] local.INFO: TCP Data received {"connection_id":132275,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:27:42] local.INFO: Processing buffer {"connection_id":132275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:27:42] local.INFO: Packet analysis {"connection_id":132275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5854"} 
[2026-07-13 03:27:42] local.INFO: Extracted packet for processing {"connection_id":132275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5854"} 
[2026-07-13 03:27:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676624128001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783893364000,"timestamp_ms":1783893364000,"timestamp_seconds":1783893364,"priority":1,"record_length":96,"hex_timestamp":"0000019f58548d20"} 
[2026-07-13 03:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676624128001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676624128001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:27:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:27:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676624128001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":132275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:27:42] local.INFO: GPS data processed {"connection_id":132275,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:27:42] local.INFO: Acknowledgment sent {"connection_id":132275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:28:13] local.INFO: TCP Data received {"connection_id":132275,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:28:13] local.INFO: Processing buffer {"connection_id":132275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:28:13] local.INFO: Packet analysis {"connection_id":132275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5854"} 
[2026-07-13 03:28:13] local.INFO: Extracted packet for processing {"connection_id":132275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5854"} 
[2026-07-13 03:28:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676624128001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783893364000,"timestamp_ms":1783893364000,"timestamp_seconds":1783893364,"priority":1,"record_length":96,"hex_timestamp":"0000019f58548d20"} 
[2026-07-13 03:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676624128001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676624128001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:28:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:28:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676624128001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":132275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:28:13] local.INFO: GPS data processed {"connection_id":132275,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:28:13] local.INFO: Acknowledgment sent {"connection_id":132275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:28:35] local.INFO: TCP Data received {"connection_id":132276,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:28:35] local.INFO: Processing buffer {"connection_id":132276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:28:35] local.INFO: IMEI packet received {"connection_id":132276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":132276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:28:41] local.INFO: TCP Data received {"connection_id":132276,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:28:41] local.INFO: Processing buffer {"connection_id":132276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:28:41] local.INFO: IMEI packet received {"connection_id":132276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":132276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:28:42] local.INFO: TCP Data received {"connection_id":132276,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:28:42] local.INFO: Processing buffer {"connection_id":132276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:28:42] local.INFO: Packet analysis {"connection_id":132276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5854"} 
[2026-07-13 03:28:42] local.INFO: Extracted packet for processing {"connection_id":132276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5854"} 
[2026-07-13 03:28:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676624128001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783893364000,"timestamp_ms":1783893364000,"timestamp_seconds":1783893364,"priority":1,"record_length":96,"hex_timestamp":"0000019f58548d20"} 
[2026-07-13 03:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676624128001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676624128001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:28:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:28:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676624128001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":132276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:28:42] local.INFO: GPS data processed {"connection_id":132276,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:28:42] local.INFO: Acknowledgment sent {"connection_id":132276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:29:13] local.INFO: TCP Data received {"connection_id":132276,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:29:13] local.INFO: Processing buffer {"connection_id":132276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:29:13] local.INFO: Packet analysis {"connection_id":132276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5854"} 
[2026-07-13 03:29:13] local.INFO: Extracted packet for processing {"connection_id":132276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5854"} 
[2026-07-13 03:29:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676624128001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783893364000,"timestamp_ms":1783893364000,"timestamp_seconds":1783893364,"priority":1,"record_length":96,"hex_timestamp":"0000019f58548d20"} 
[2026-07-13 03:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676624128001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676624128001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:29:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:29:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676624128001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":132276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:29:13] local.INFO: GPS data processed {"connection_id":132276,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:29:13] local.INFO: Acknowledgment sent {"connection_id":132276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:29:36] local.INFO: TCP Data received {"connection_id":129962,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:29:36] local.INFO: Processing buffer {"connection_id":129962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:29:36] local.INFO: IMEI packet received {"connection_id":129962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":129962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:29:41] local.INFO: TCP Data received {"connection_id":129962,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:29:41] local.INFO: Processing buffer {"connection_id":129962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:29:41] local.INFO: IMEI packet received {"connection_id":129962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":129962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:29:42] local.INFO: TCP Data received {"connection_id":129962,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:29:42] local.INFO: Processing buffer {"connection_id":129962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:29:42] local.INFO: Packet analysis {"connection_id":129962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5854"} 
[2026-07-13 03:29:42] local.INFO: Extracted packet for processing {"connection_id":129962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5854"} 
[2026-07-13 03:29:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676624128001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783893364000,"timestamp_ms":1783893364000,"timestamp_seconds":1783893364,"priority":1,"record_length":96,"hex_timestamp":"0000019f58548d20"} 
[2026-07-13 03:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676624128001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676624128001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:29:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:29:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676624128001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":129962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:29:42] local.INFO: GPS data processed {"connection_id":129962,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:29:42] local.INFO: Acknowledgment sent {"connection_id":129962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:30:13] local.INFO: TCP Data received {"connection_id":129962,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:30:13] local.INFO: Processing buffer {"connection_id":129962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:30:13] local.INFO: Packet analysis {"connection_id":129962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5854"} 
[2026-07-13 03:30:13] local.INFO: Extracted packet for processing {"connection_id":129962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5854"} 
[2026-07-13 03:30:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676624128001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783893364000,"timestamp_ms":1783893364000,"timestamp_seconds":1783893364,"priority":1,"record_length":96,"hex_timestamp":"0000019f58548d20"} 
[2026-07-13 03:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676624128001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676624128001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:30:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:30:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676624128001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":129962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:30:13] local.INFO: GPS data processed {"connection_id":129962,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:30:13] local.INFO: Acknowledgment sent {"connection_id":129962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:30:41] local.INFO: TCP Data received {"connection_id":132277,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:30:41] local.INFO: Processing buffer {"connection_id":132277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:30:41] local.INFO: IMEI packet received {"connection_id":132277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":132277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:30:46] local.INFO: TCP Data received {"connection_id":132277,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:30:46] local.INFO: Processing buffer {"connection_id":132277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:30:46] local.INFO: IMEI packet received {"connection_id":132277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":132277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:30:47] local.INFO: TCP Data received {"connection_id":132277,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:30:47] local.INFO: Processing buffer {"connection_id":132277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:30:47] local.INFO: Packet analysis {"connection_id":132277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5854"} 
[2026-07-13 03:30:47] local.INFO: Extracted packet for processing {"connection_id":132277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5854"} 
[2026-07-13 03:30:47] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676624128001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783893364000,"timestamp_ms":1783893364000,"timestamp_seconds":1783893364,"priority":1,"record_length":96,"hex_timestamp":"0000019f58548d20"} 
[2026-07-13 03:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:30:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:30:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:30:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676624128001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676624128001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:30:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:30:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676624128001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":132277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:30:47] local.INFO: GPS data processed {"connection_id":132277,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:30:47] local.INFO: Acknowledgment sent {"connection_id":132277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:30:51] local.INFO: TCP Data received {"connection_id":132277,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:30:51] local.INFO: Processing buffer {"connection_id":132277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:30:51] local.INFO: Packet analysis {"connection_id":132277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5854"} 
[2026-07-13 03:30:51] local.INFO: Extracted packet for processing {"connection_id":132277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5854"} 
[2026-07-13 03:30:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 03:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676624128001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783893364000,"timestamp_ms":1783893364000,"timestamp_seconds":1783893364,"priority":1,"record_length":96,"hex_timestamp":"0000019f58548d20"} 
[2026-07-13 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-07-13 03:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 03:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:30: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-07-13 03:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676624128001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676624128001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:30:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:30:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676624128001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":132277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:30:51] local.INFO: GPS data processed {"connection_id":132277,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:30:51] local.INFO: Acknowledgment sent {"connection_id":132277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:31:01] local.INFO: TCP Data received {"connection_id":130944,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130944,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:31:01] local.INFO: Processing buffer {"connection_id":130944,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:31:01] local.INFO: IMEI packet received {"connection_id":130944,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 03:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":130944,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:31:35] local.INFO: TCP Data received {"connection_id":129964,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:31:35] local.INFO: Processing buffer {"connection_id":129964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:31:35] local.INFO: IMEI packet received {"connection_id":129964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":129964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:31:41] local.INFO: TCP Data received {"connection_id":129965,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129965,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:31:41] local.INFO: Processing buffer {"connection_id":129965,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:31:41] local.INFO: IMEI packet received {"connection_id":129965,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 03:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":129965,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:31:41] local.INFO: TCP Data received {"connection_id":129964,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:31:41] local.INFO: Processing buffer {"connection_id":129964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:31:41] local.INFO: IMEI packet received {"connection_id":129964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":129964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:31:42] local.INFO: TCP Data received {"connection_id":129964,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:31:42] local.INFO: Processing buffer {"connection_id":129964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58548d20012d7f914005afd9380000011b25..."} 
[2026-07-13 03:31:42] local.INFO: Packet analysis {"connection_id":129964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5854"} 
[2026-07-13 03:31:42] local.INFO: Extracted packet for processing {"connection_id":129964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5854"} 
[2026-07-13 03:31:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676624128001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783893364000,"timestamp_ms":1783893364000,"timestamp_seconds":1783893364,"priority":1,"record_length":96,"hex_timestamp":"0000019f58548d20"} 
[2026-07-13 03:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676624128001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676624128001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:31:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:31:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676624128001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":129964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:31:42] local.INFO: GPS data processed {"connection_id":129964,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:31:42] local.INFO: Acknowledgment sent {"connection_id":129964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:32:13] local.INFO: TCP Data received {"connection_id":129964,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f585924e8012d7f914005afd9380000011b22..."} 
[2026-07-13 03:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f585924e8012d7f914005afd9380000011b22..."} 
[2026-07-13 03:32:13] local.INFO: Processing buffer {"connection_id":129964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f585924e8012d7f914005afd9380000011b22..."} 
[2026-07-13 03:32:13] local.INFO: Packet analysis {"connection_id":129964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5859"} 
[2026-07-13 03:32:13] local.INFO: Extracted packet for processing {"connection_id":129964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5859"} 
[2026-07-13 03:32:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676701184001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783893665000,"timestamp_ms":1783893665000,"timestamp_seconds":1783893665,"priority":1,"record_length":96,"hex_timestamp":"0000019f585924e8"} 
[2026-07-13 03:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676701184001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676701184001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:32:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:32:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676701184001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":129964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:32:13] local.INFO: GPS data processed {"connection_id":129964,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:32:13] local.INFO: Acknowledgment sent {"connection_id":129964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:32:35] local.INFO: TCP Data received {"connection_id":130945,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:32:35] local.INFO: Processing buffer {"connection_id":130945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:32:35] local.INFO: IMEI packet received {"connection_id":130945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":130945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:32:41] local.INFO: TCP Data received {"connection_id":130945,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:32:41] local.INFO: Processing buffer {"connection_id":130945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:32:41] local.INFO: IMEI packet received {"connection_id":130945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":130945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:32:42] local.INFO: TCP Data received {"connection_id":130945,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f585924e8012d7f914005afd9380000011b22..."} 
[2026-07-13 03:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f585924e8012d7f914005afd9380000011b22..."} 
[2026-07-13 03:32:42] local.INFO: Processing buffer {"connection_id":130945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f585924e8012d7f914005afd9380000011b22..."} 
[2026-07-13 03:32:42] local.INFO: Packet analysis {"connection_id":130945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5859"} 
[2026-07-13 03:32:42] local.INFO: Extracted packet for processing {"connection_id":130945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5859"} 
[2026-07-13 03:32:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676701184001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783893665000,"timestamp_ms":1783893665000,"timestamp_seconds":1783893665,"priority":1,"record_length":96,"hex_timestamp":"0000019f585924e8"} 
[2026-07-13 03:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676701184001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676701184001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:32:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:32:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676701184001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":130945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:32:42] local.INFO: GPS data processed {"connection_id":130945,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:32:42] local.INFO: Acknowledgment sent {"connection_id":130945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:33:13] local.INFO: TCP Data received {"connection_id":130945,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f585924e8012d7f914005afd9380000011b22..."} 
[2026-07-13 03:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f585924e8012d7f914005afd9380000011b22..."} 
[2026-07-13 03:33:13] local.INFO: Processing buffer {"connection_id":130945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f585924e8012d7f914005afd9380000011b22..."} 
[2026-07-13 03:33:13] local.INFO: Packet analysis {"connection_id":130945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5859"} 
[2026-07-13 03:33:13] local.INFO: Extracted packet for processing {"connection_id":130945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5859"} 
[2026-07-13 03:33:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676701184001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783893665000,"timestamp_ms":1783893665000,"timestamp_seconds":1783893665,"priority":1,"record_length":96,"hex_timestamp":"0000019f585924e8"} 
[2026-07-13 03:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676701184001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676701184001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:33:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:33:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676701184001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":130945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:33:13] local.INFO: GPS data processed {"connection_id":130945,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:33:13] local.INFO: Acknowledgment sent {"connection_id":130945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:33:35] local.INFO: TCP Data received {"connection_id":130947,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:33:36] local.INFO: Processing buffer {"connection_id":130947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:33:36] local.INFO: IMEI packet received {"connection_id":130947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":130947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:33:41] local.INFO: TCP Data received {"connection_id":130947,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:33:41] local.INFO: Processing buffer {"connection_id":130947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:33:41] local.INFO: IMEI packet received {"connection_id":130947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":130947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:33:42] local.INFO: TCP Data received {"connection_id":130947,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f585924e8012d7f914005afd9380000011b22..."} 
[2026-07-13 03:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f585924e8012d7f914005afd9380000011b22..."} 
[2026-07-13 03:33:42] local.INFO: Processing buffer {"connection_id":130947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f585924e8012d7f914005afd9380000011b22..."} 
[2026-07-13 03:33:42] local.INFO: Packet analysis {"connection_id":130947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5859"} 
[2026-07-13 03:33:42] local.INFO: Extracted packet for processing {"connection_id":130947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5859"} 
[2026-07-13 03:33:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676701184001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783893665000,"timestamp_ms":1783893665000,"timestamp_seconds":1783893665,"priority":1,"record_length":96,"hex_timestamp":"0000019f585924e8"} 
[2026-07-13 03:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676701184001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676701184001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:33:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:33:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676701184001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":130947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:33:42] local.INFO: GPS data processed {"connection_id":130947,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:33:42] local.INFO: Acknowledgment sent {"connection_id":130947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:34:13] local.INFO: TCP Data received {"connection_id":130947,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f585924e8012d7f914005afd9380000011b22..."} 
[2026-07-13 03:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f585924e8012d7f914005afd9380000011b22..."} 
[2026-07-13 03:34:13] local.INFO: Processing buffer {"connection_id":130947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f585924e8012d7f914005afd9380000011b22..."} 
[2026-07-13 03:34:13] local.INFO: Packet analysis {"connection_id":130947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5859"} 
[2026-07-13 03:34:13] local.INFO: Extracted packet for processing {"connection_id":130947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5859"} 
[2026-07-13 03:34:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676701184001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783893665000,"timestamp_ms":1783893665000,"timestamp_seconds":1783893665,"priority":1,"record_length":96,"hex_timestamp":"0000019f585924e8"} 
[2026-07-13 03:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676701184001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676701184001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:34:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:34:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676701184001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":130947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:34:13] local.INFO: GPS data processed {"connection_id":130947,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:34:13] local.INFO: Acknowledgment sent {"connection_id":130947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:34:35] local.INFO: TCP Data received {"connection_id":129966,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:34:35] local.INFO: Processing buffer {"connection_id":129966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:34:35] local.INFO: IMEI packet received {"connection_id":129966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":129966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:34:41] local.INFO: TCP Data received {"connection_id":129966,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:34:41] local.INFO: Processing buffer {"connection_id":129966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:34:41] local.INFO: IMEI packet received {"connection_id":129966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":129966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:34:42] local.INFO: TCP Data received {"connection_id":129966,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f585924e8012d7f914005afd9380000011b22..."} 
[2026-07-13 03:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f585924e8012d7f914005afd9380000011b22..."} 
[2026-07-13 03:34:42] local.INFO: Processing buffer {"connection_id":129966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f585924e8012d7f914005afd9380000011b22..."} 
[2026-07-13 03:34:42] local.INFO: Packet analysis {"connection_id":129966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5859"} 
[2026-07-13 03:34:42] local.INFO: Extracted packet for processing {"connection_id":129966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5859"} 
[2026-07-13 03:34:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676701184001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783893665000,"timestamp_ms":1783893665000,"timestamp_seconds":1783893665,"priority":1,"record_length":96,"hex_timestamp":"0000019f585924e8"} 
[2026-07-13 03:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676701184001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676701184001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:34:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:34:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676701184001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":129966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:34:42] local.INFO: GPS data processed {"connection_id":129966,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:34:42] local.INFO: Acknowledgment sent {"connection_id":129966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:35:13] local.INFO: TCP Data received {"connection_id":129966,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f585924e8012d7f914005afd9380000011b22..."} 
[2026-07-13 03:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f585924e8012d7f914005afd9380000011b22..."} 
[2026-07-13 03:35:13] local.INFO: Processing buffer {"connection_id":129966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f585924e8012d7f914005afd9380000011b22..."} 
[2026-07-13 03:35:13] local.INFO: Packet analysis {"connection_id":129966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5859"} 
[2026-07-13 03:35:13] local.INFO: Extracted packet for processing {"connection_id":129966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5859"} 
[2026-07-13 03:35:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676701184001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783893665000,"timestamp_ms":1783893665000,"timestamp_seconds":1783893665,"priority":1,"record_length":96,"hex_timestamp":"0000019f585924e8"} 
[2026-07-13 03:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676701184001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676701184001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:35:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:35:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676701184001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":129966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:35:13] local.INFO: GPS data processed {"connection_id":129966,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:35:13] local.INFO: Acknowledgment sent {"connection_id":129966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:35:41] local.INFO: TCP Data received {"connection_id":129967,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:35:41] local.INFO: Processing buffer {"connection_id":129967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:35:41] local.INFO: IMEI packet received {"connection_id":129967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":129967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:35:46] local.INFO: TCP Data received {"connection_id":129967,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:35:46] local.INFO: Processing buffer {"connection_id":129967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:35:46] local.INFO: IMEI packet received {"connection_id":129967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":129967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:35:47] local.INFO: TCP Data received {"connection_id":129967,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f585924e8012d7f914005afd9380000011b22..."} 
[2026-07-13 03:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f585924e8012d7f914005afd9380000011b22..."} 
[2026-07-13 03:35:47] local.INFO: Processing buffer {"connection_id":129967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f585924e8012d7f914005afd9380000011b22..."} 
[2026-07-13 03:35:47] local.INFO: Packet analysis {"connection_id":129967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5859"} 
[2026-07-13 03:35:47] local.INFO: Extracted packet for processing {"connection_id":129967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5859"} 
[2026-07-13 03:35:47] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03: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-07-13 03:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676701184001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783893665000,"timestamp_ms":1783893665000,"timestamp_seconds":1783893665,"priority":1,"record_length":96,"hex_timestamp":"0000019f585924e8"} 
[2026-07-13 03:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:35:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03: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-07-13 03:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":129967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":129967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":129967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676701184001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676701184001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:35:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:35:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676701184001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":129967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:35:47] local.INFO: GPS data processed {"connection_id":129967,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:35:47] local.INFO: Acknowledgment sent {"connection_id":129967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:35:51] local.INFO: TCP Data received {"connection_id":129967,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f585924e8012d7f914005afd9380000011b22..."} 
[2026-07-13 03:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f585924e8012d7f914005afd9380000011b22..."} 
[2026-07-13 03:35:51] local.INFO: Processing buffer {"connection_id":129967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f585924e8012d7f914005afd9380000011b22..."} 
[2026-07-13 03:35:51] local.INFO: Packet analysis {"connection_id":129967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5859"} 
[2026-07-13 03:35:51] local.INFO: Extracted packet for processing {"connection_id":129967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5859"} 
[2026-07-13 03:35:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03: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-07-13 03:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676701184001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783893665000,"timestamp_ms":1783893665000,"timestamp_seconds":1783893665,"priority":1,"record_length":96,"hex_timestamp":"0000019f585924e8"} 
[2026-07-13 03:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:35: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-07-13 03: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-07-13 03:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":129967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":129967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":129967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:35: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-07-13 03:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676701184001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676701184001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:35:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:35:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676701184001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":129967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:35:51] local.INFO: GPS data processed {"connection_id":129967,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:35:51] local.INFO: Acknowledgment sent {"connection_id":129967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:36:36] local.INFO: TCP Data received {"connection_id":130948,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:36:36] local.INFO: Processing buffer {"connection_id":130948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:36:36] local.INFO: IMEI packet received {"connection_id":130948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":130948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:36:41] local.INFO: TCP Data received {"connection_id":130948,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:36:41] local.INFO: Processing buffer {"connection_id":130948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:36:41] local.INFO: IMEI packet received {"connection_id":130948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":130948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:36:42] local.INFO: TCP Data received {"connection_id":130948,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f585924e8012d7f914005afd9380000011b22..."} 
[2026-07-13 03:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f585924e8012d7f914005afd9380000011b22..."} 
[2026-07-13 03:36:42] local.INFO: Processing buffer {"connection_id":130948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f585924e8012d7f914005afd9380000011b22..."} 
[2026-07-13 03:36:42] local.INFO: Packet analysis {"connection_id":130948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5859"} 
[2026-07-13 03:36:42] local.INFO: Extracted packet for processing {"connection_id":130948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5859"} 
[2026-07-13 03:36:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676701184001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783893665000,"timestamp_ms":1783893665000,"timestamp_seconds":1783893665,"priority":1,"record_length":96,"hex_timestamp":"0000019f585924e8"} 
[2026-07-13 03:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676701184001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676701184001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:36:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:36:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676701184001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":130948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:36:42] local.INFO: GPS data processed {"connection_id":130948,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:36:42] local.INFO: Acknowledgment sent {"connection_id":130948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:36:56] local.INFO: TCP Data received {"connection_id":132280,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132280,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:36:56] local.INFO: Processing buffer {"connection_id":132280,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:36:56] local.INFO: IMEI packet received {"connection_id":132280,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 03:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":132280,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:37:13] local.INFO: TCP Data received {"connection_id":130948,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f585dbcb0012d7f914005afd9380000011b23..."} 
[2026-07-13 03:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f585dbcb0012d7f914005afd9380000011b23..."} 
[2026-07-13 03:37:13] local.INFO: Processing buffer {"connection_id":130948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f585dbcb0012d7f914005afd9380000011b23..."} 
[2026-07-13 03:37:13] local.INFO: Packet analysis {"connection_id":130948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f585d"} 
[2026-07-13 03:37:13] local.INFO: Extracted packet for processing {"connection_id":130948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f585d"} 
[2026-07-13 03:37:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676778240001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783893966000,"timestamp_ms":1783893966000,"timestamp_seconds":1783893966,"priority":1,"record_length":96,"hex_timestamp":"0000019f585dbcb0"} 
[2026-07-13 03:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676778240001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676778240001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:37:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:37:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676778240001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":130948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:37:13] local.INFO: GPS data processed {"connection_id":130948,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:37:13] local.INFO: Acknowledgment sent {"connection_id":130948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:37:35] local.INFO: TCP Data received {"connection_id":132281,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:37:35] local.INFO: Processing buffer {"connection_id":132281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:37:35] local.INFO: IMEI packet received {"connection_id":132281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":132281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:37:41] local.INFO: TCP Data received {"connection_id":130167,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130167,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:37:41] local.INFO: Processing buffer {"connection_id":130167,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:37:41] local.INFO: IMEI packet received {"connection_id":130167,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 03:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":130167,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:37:41] local.INFO: TCP Data received {"connection_id":132281,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:37:41] local.INFO: Processing buffer {"connection_id":132281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:37:41] local.INFO: IMEI packet received {"connection_id":132281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":132281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:37:42] local.INFO: TCP Data received {"connection_id":132281,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f585dbcb0012d7f914005afd9380000011b23..."} 
[2026-07-13 03:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f585dbcb0012d7f914005afd9380000011b23..."} 
[2026-07-13 03:37:42] local.INFO: Processing buffer {"connection_id":132281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f585dbcb0012d7f914005afd9380000011b23..."} 
[2026-07-13 03:37:42] local.INFO: Packet analysis {"connection_id":132281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f585d"} 
[2026-07-13 03:37:42] local.INFO: Extracted packet for processing {"connection_id":132281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f585d"} 
[2026-07-13 03:37:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676778240001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783893966000,"timestamp_ms":1783893966000,"timestamp_seconds":1783893966,"priority":1,"record_length":96,"hex_timestamp":"0000019f585dbcb0"} 
[2026-07-13 03:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676778240001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676778240001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:37:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:37:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676778240001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":132281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:37:42] local.INFO: GPS data processed {"connection_id":132281,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:37:42] local.INFO: Acknowledgment sent {"connection_id":132281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:38:13] local.INFO: TCP Data received {"connection_id":132281,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f585dbcb0012d7f914005afd9380000011b23..."} 
[2026-07-13 03:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f585dbcb0012d7f914005afd9380000011b23..."} 
[2026-07-13 03:38:13] local.INFO: Processing buffer {"connection_id":132281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f585dbcb0012d7f914005afd9380000011b23..."} 
[2026-07-13 03:38:13] local.INFO: Packet analysis {"connection_id":132281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f585d"} 
[2026-07-13 03:38:13] local.INFO: Extracted packet for processing {"connection_id":132281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f585d"} 
[2026-07-13 03:38:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676778240001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783893966000,"timestamp_ms":1783893966000,"timestamp_seconds":1783893966,"priority":1,"record_length":96,"hex_timestamp":"0000019f585dbcb0"} 
[2026-07-13 03:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676778240001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676778240001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:38:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:38:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676778240001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":132281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:38:13] local.INFO: GPS data processed {"connection_id":132281,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:38:13] local.INFO: Acknowledgment sent {"connection_id":132281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:38:35] local.INFO: TCP Data received {"connection_id":130168,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:38:35] local.INFO: Processing buffer {"connection_id":130168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:38:35] local.INFO: IMEI packet received {"connection_id":130168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":130168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:38:41] local.INFO: TCP Data received {"connection_id":130168,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:38:41] local.INFO: Processing buffer {"connection_id":130168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:38:41] local.INFO: IMEI packet received {"connection_id":130168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":130168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:38:42] local.INFO: TCP Data received {"connection_id":130168,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f585dbcb0012d7f914005afd9380000011b23..."} 
[2026-07-13 03:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f585dbcb0012d7f914005afd9380000011b23..."} 
[2026-07-13 03:38:42] local.INFO: Processing buffer {"connection_id":130168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f585dbcb0012d7f914005afd9380000011b23..."} 
[2026-07-13 03:38:42] local.INFO: Packet analysis {"connection_id":130168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f585d"} 
[2026-07-13 03:38:42] local.INFO: Extracted packet for processing {"connection_id":130168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f585d"} 
[2026-07-13 03:38:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676778240001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783893966000,"timestamp_ms":1783893966000,"timestamp_seconds":1783893966,"priority":1,"record_length":96,"hex_timestamp":"0000019f585dbcb0"} 
[2026-07-13 03:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676778240001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676778240001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:38:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:38:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676778240001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":130168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:38:42] local.INFO: GPS data processed {"connection_id":130168,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:38:42] local.INFO: Acknowledgment sent {"connection_id":130168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:39:13] local.INFO: TCP Data received {"connection_id":130168,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f585dbcb0012d7f914005afd9380000011b23..."} 
[2026-07-13 03:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f585dbcb0012d7f914005afd9380000011b23..."} 
[2026-07-13 03:39:13] local.INFO: Processing buffer {"connection_id":130168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f585dbcb0012d7f914005afd9380000011b23..."} 
[2026-07-13 03:39:13] local.INFO: Packet analysis {"connection_id":130168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f585d"} 
[2026-07-13 03:39:13] local.INFO: Extracted packet for processing {"connection_id":130168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f585d"} 
[2026-07-13 03:39:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676778240001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783893966000,"timestamp_ms":1783893966000,"timestamp_seconds":1783893966,"priority":1,"record_length":96,"hex_timestamp":"0000019f585dbcb0"} 
[2026-07-13 03:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676778240001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676778240001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:39:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:39:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676778240001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":130168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:39:13] local.INFO: GPS data processed {"connection_id":130168,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:39:13] local.INFO: Acknowledgment sent {"connection_id":130168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:39:36] local.INFO: TCP Data received {"connection_id":129969,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:39:36] local.INFO: Processing buffer {"connection_id":129969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:39:36] local.INFO: IMEI packet received {"connection_id":129969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":129969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:39:41] local.INFO: TCP Data received {"connection_id":129969,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:39:41] local.INFO: Processing buffer {"connection_id":129969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:39:41] local.INFO: IMEI packet received {"connection_id":129969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":129969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:39:42] local.INFO: TCP Data received {"connection_id":129969,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f585dbcb0012d7f914005afd9380000011b23..."} 
[2026-07-13 03:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f585dbcb0012d7f914005afd9380000011b23..."} 
[2026-07-13 03:39:42] local.INFO: Processing buffer {"connection_id":129969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f585dbcb0012d7f914005afd9380000011b23..."} 
[2026-07-13 03:39:42] local.INFO: Packet analysis {"connection_id":129969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f585d"} 
[2026-07-13 03:39:42] local.INFO: Extracted packet for processing {"connection_id":129969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f585d"} 
[2026-07-13 03:39:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676778240001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783893966000,"timestamp_ms":1783893966000,"timestamp_seconds":1783893966,"priority":1,"record_length":96,"hex_timestamp":"0000019f585dbcb0"} 
[2026-07-13 03:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676778240001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676778240001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:39:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:39:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676778240001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":129969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:39:42] local.INFO: GPS data processed {"connection_id":129969,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:39:42] local.INFO: Acknowledgment sent {"connection_id":129969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:40:13] local.INFO: TCP Data received {"connection_id":129969,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f585dbcb0012d7f914005afd9380000011b23..."} 
[2026-07-13 03:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f585dbcb0012d7f914005afd9380000011b23..."} 
[2026-07-13 03:40:13] local.INFO: Processing buffer {"connection_id":129969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f585dbcb0012d7f914005afd9380000011b23..."} 
[2026-07-13 03:40:13] local.INFO: Packet analysis {"connection_id":129969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f585d"} 
[2026-07-13 03:40:13] local.INFO: Extracted packet for processing {"connection_id":129969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f585d"} 
[2026-07-13 03:40:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676778240001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783893966000,"timestamp_ms":1783893966000,"timestamp_seconds":1783893966,"priority":1,"record_length":96,"hex_timestamp":"0000019f585dbcb0"} 
[2026-07-13 03:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:40:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:40:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676778240001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676778240001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:40:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:40:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676778240001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":129969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:40:13] local.INFO: GPS data processed {"connection_id":129969,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:40:13] local.INFO: Acknowledgment sent {"connection_id":129969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:40:41] local.INFO: TCP Data received {"connection_id":130949,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:40:41] local.INFO: Processing buffer {"connection_id":130949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:40:41] local.INFO: IMEI packet received {"connection_id":130949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":130949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:40:46] local.INFO: TCP Data received {"connection_id":130949,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:40:46] local.INFO: Processing buffer {"connection_id":130949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:40:46] local.INFO: IMEI packet received {"connection_id":130949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":130949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:40:47] local.INFO: TCP Data received {"connection_id":130949,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f585dbcb0012d7f914005afd9380000011b23..."} 
[2026-07-13 03:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f585dbcb0012d7f914005afd9380000011b23..."} 
[2026-07-13 03:40:47] local.INFO: Processing buffer {"connection_id":130949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f585dbcb0012d7f914005afd9380000011b23..."} 
[2026-07-13 03:40:47] local.INFO: Packet analysis {"connection_id":130949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f585d"} 
[2026-07-13 03:40:47] local.INFO: Extracted packet for processing {"connection_id":130949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f585d"} 
[2026-07-13 03:40:47] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676778240001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783893966000,"timestamp_ms":1783893966000,"timestamp_seconds":1783893966,"priority":1,"record_length":96,"hex_timestamp":"0000019f585dbcb0"} 
[2026-07-13 03:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676778240001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676778240001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:40:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:40:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676778240001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":130949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:40:47] local.INFO: GPS data processed {"connection_id":130949,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:40:47] local.INFO: Acknowledgment sent {"connection_id":130949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:40:51] local.INFO: TCP Data received {"connection_id":130949,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f585dbcb0012d7f914005afd9380000011b23..."} 
[2026-07-13 03:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f585dbcb0012d7f914005afd9380000011b23..."} 
[2026-07-13 03:40:51] local.INFO: Processing buffer {"connection_id":130949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f585dbcb0012d7f914005afd9380000011b23..."} 
[2026-07-13 03:40:51] local.INFO: Packet analysis {"connection_id":130949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f585d"} 
[2026-07-13 03:40:51] local.INFO: Extracted packet for processing {"connection_id":130949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f585d"} 
[2026-07-13 03:40:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 03:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676778240001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783893966000,"timestamp_ms":1783893966000,"timestamp_seconds":1783893966,"priority":1,"record_length":96,"hex_timestamp":"0000019f585dbcb0"} 
[2026-07-13 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-07-13 03:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:40: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-07-13 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-07-13 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-07-13 03:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:40: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-07-13 03:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676778240001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676778240001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:40:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:40:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676778240001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":130949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:40:51] local.INFO: GPS data processed {"connection_id":130949,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:40:51] local.INFO: Acknowledgment sent {"connection_id":130949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:41:35] local.INFO: TCP Data received {"connection_id":129971,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:41:35] local.INFO: Processing buffer {"connection_id":129971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:41:35] local.INFO: IMEI packet received {"connection_id":129971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":129971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:41:41] local.INFO: TCP Data received {"connection_id":129971,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:41:41] local.INFO: Processing buffer {"connection_id":129971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:41:41] local.INFO: IMEI packet received {"connection_id":129971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":129971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:41:42] local.INFO: TCP Data received {"connection_id":129971,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f585dbcb0012d7f914005afd9380000011b23..."} 
[2026-07-13 03:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f585dbcb0012d7f914005afd9380000011b23..."} 
[2026-07-13 03:41:42] local.INFO: Processing buffer {"connection_id":129971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f585dbcb0012d7f914005afd9380000011b23..."} 
[2026-07-13 03:41:42] local.INFO: Packet analysis {"connection_id":129971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f585d"} 
[2026-07-13 03:41:42] local.INFO: Extracted packet for processing {"connection_id":129971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f585d"} 
[2026-07-13 03:41:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676778240001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783893966000,"timestamp_ms":1783893966000,"timestamp_seconds":1783893966,"priority":1,"record_length":96,"hex_timestamp":"0000019f585dbcb0"} 
[2026-07-13 03:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676778240001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676778240001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:41:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:41:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676778240001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":129971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:41:42] local.INFO: GPS data processed {"connection_id":129971,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:41:42] local.INFO: Acknowledgment sent {"connection_id":129971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:42:13] local.INFO: TCP Data received {"connection_id":129971,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f58625478012d7f914005afd9380000011b26..."} 
[2026-07-13 03:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58625478012d7f914005afd9380000011b26..."} 
[2026-07-13 03:42:13] local.INFO: Processing buffer {"connection_id":129971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58625478012d7f914005afd9380000011b26..."} 
[2026-07-13 03:42:13] local.INFO: Packet analysis {"connection_id":129971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5862"} 
[2026-07-13 03:42:13] local.INFO: Extracted packet for processing {"connection_id":129971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5862"} 
[2026-07-13 03:42:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676855296001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783894267000,"timestamp_ms":1783894267000,"timestamp_seconds":1783894267,"priority":1,"record_length":96,"hex_timestamp":"0000019f58625478"} 
[2026-07-13 03:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 03:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676855296001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676855296001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:42:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:42:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676855296001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":129971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:42:13] local.INFO: GPS data processed {"connection_id":129971,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:42:13] local.INFO: Acknowledgment sent {"connection_id":129971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:42:35] local.INFO: TCP Data received {"connection_id":130172,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:42:36] local.INFO: Processing buffer {"connection_id":130172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:42:36] local.INFO: IMEI packet received {"connection_id":130172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":130172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:42:41] local.INFO: TCP Data received {"connection_id":130172,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:42:41] local.INFO: Processing buffer {"connection_id":130172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:42:41] local.INFO: IMEI packet received {"connection_id":130172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":130172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:42:42] local.INFO: TCP Data received {"connection_id":130172,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f58625478012d7f914005afd9380000011b26..."} 
[2026-07-13 03:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58625478012d7f914005afd9380000011b26..."} 
[2026-07-13 03:42:42] local.INFO: Processing buffer {"connection_id":130172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58625478012d7f914005afd9380000011b26..."} 
[2026-07-13 03:42:42] local.INFO: Packet analysis {"connection_id":130172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5862"} 
[2026-07-13 03:42:42] local.INFO: Extracted packet for processing {"connection_id":130172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5862"} 
[2026-07-13 03:42:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676855296001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783894267000,"timestamp_ms":1783894267000,"timestamp_seconds":1783894267,"priority":1,"record_length":96,"hex_timestamp":"0000019f58625478"} 
[2026-07-13 03:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 03:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676855296001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676855296001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:42:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:42:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676855296001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":130172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:42:42] local.INFO: GPS data processed {"connection_id":130172,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:42:42] local.INFO: Acknowledgment sent {"connection_id":130172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:43:06] local.INFO: TCP Data received {"connection_id":130173,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130173,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:43:06] local.INFO: Processing buffer {"connection_id":130173,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:43:06] local.INFO: IMEI packet received {"connection_id":130173,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 03:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":130173,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:43:13] local.INFO: TCP Data received {"connection_id":130172,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f58625478012d7f914005afd9380000011b26..."} 
[2026-07-13 03:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58625478012d7f914005afd9380000011b26..."} 
[2026-07-13 03:43:13] local.INFO: Processing buffer {"connection_id":130172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58625478012d7f914005afd9380000011b26..."} 
[2026-07-13 03:43:13] local.INFO: Packet analysis {"connection_id":130172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5862"} 
[2026-07-13 03:43:13] local.INFO: Extracted packet for processing {"connection_id":130172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5862"} 
[2026-07-13 03:43:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676855296001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783894267000,"timestamp_ms":1783894267000,"timestamp_seconds":1783894267,"priority":1,"record_length":96,"hex_timestamp":"0000019f58625478"} 
[2026-07-13 03:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 03:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676855296001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676855296001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:43:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:43:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676855296001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":130172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:43:13] local.INFO: GPS data processed {"connection_id":130172,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:43:13] local.INFO: Acknowledgment sent {"connection_id":130172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:43:36] local.INFO: TCP Data received {"connection_id":132282,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:43:36] local.INFO: Processing buffer {"connection_id":132282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:43:36] local.INFO: IMEI packet received {"connection_id":132282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":132282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:43:41] local.INFO: TCP Data received {"connection_id":132282,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:43:41] local.INFO: Processing buffer {"connection_id":132282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:43:41] local.INFO: IMEI packet received {"connection_id":132282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":132282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:43:41] local.INFO: TCP Data received {"connection_id":129972,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:43:41] local.INFO: Processing buffer {"connection_id":129972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:43:41] local.INFO: IMEI packet received {"connection_id":129972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 03:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":129972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:43:42] local.INFO: TCP Data received {"connection_id":132282,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f58625478012d7f914005afd9380000011b26..."} 
[2026-07-13 03:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58625478012d7f914005afd9380000011b26..."} 
[2026-07-13 03:43:42] local.INFO: Processing buffer {"connection_id":132282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58625478012d7f914005afd9380000011b26..."} 
[2026-07-13 03:43:42] local.INFO: Packet analysis {"connection_id":132282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5862"} 
[2026-07-13 03:43:42] local.INFO: Extracted packet for processing {"connection_id":132282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5862"} 
[2026-07-13 03:43:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676855296001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783894267000,"timestamp_ms":1783894267000,"timestamp_seconds":1783894267,"priority":1,"record_length":96,"hex_timestamp":"0000019f58625478"} 
[2026-07-13 03:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 03:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676855296001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676855296001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:43:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:43:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676855296001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":132282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:43:42] local.INFO: GPS data processed {"connection_id":132282,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:43:42] local.INFO: Acknowledgment sent {"connection_id":132282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:44:13] local.INFO: TCP Data received {"connection_id":132282,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f58625478012d7f914005afd9380000011b26..."} 
[2026-07-13 03:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58625478012d7f914005afd9380000011b26..."} 
[2026-07-13 03:44:13] local.INFO: Processing buffer {"connection_id":132282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58625478012d7f914005afd9380000011b26..."} 
[2026-07-13 03:44:13] local.INFO: Packet analysis {"connection_id":132282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5862"} 
[2026-07-13 03:44:13] local.INFO: Extracted packet for processing {"connection_id":132282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5862"} 
[2026-07-13 03:44:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676855296001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783894267000,"timestamp_ms":1783894267000,"timestamp_seconds":1783894267,"priority":1,"record_length":96,"hex_timestamp":"0000019f58625478"} 
[2026-07-13 03:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 03:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676855296001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676855296001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:44:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:44:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676855296001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":132282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:44:13] local.INFO: GPS data processed {"connection_id":132282,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:44:13] local.INFO: Acknowledgment sent {"connection_id":132282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:44:41] local.INFO: TCP Data received {"connection_id":129973,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:44:41] local.INFO: Processing buffer {"connection_id":129973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:44:41] local.INFO: IMEI packet received {"connection_id":129973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":129973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:44:46] local.INFO: TCP Data received {"connection_id":129973,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:44:46] local.INFO: Processing buffer {"connection_id":129973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:44:46] local.INFO: IMEI packet received {"connection_id":129973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":129973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:44:46] local.INFO: TCP Data received {"connection_id":129973,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f58625478012d7f914005afd9380000011b26..."} 
[2026-07-13 03:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58625478012d7f914005afd9380000011b26..."} 
[2026-07-13 03:44:46] local.INFO: Processing buffer {"connection_id":129973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58625478012d7f914005afd9380000011b26..."} 
[2026-07-13 03:44:46] local.INFO: Packet analysis {"connection_id":129973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5862"} 
[2026-07-13 03:44:46] local.INFO: Extracted packet for processing {"connection_id":129973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5862"} 
[2026-07-13 03:44:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676855296001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783894267000,"timestamp_ms":1783894267000,"timestamp_seconds":1783894267,"priority":1,"record_length":96,"hex_timestamp":"0000019f58625478"} 
[2026-07-13 03:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 03:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":129973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":129973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":129973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676855296001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676855296001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:44:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:44:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676855296001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":129973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:44:46] local.INFO: GPS data processed {"connection_id":129973,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:44:46] local.INFO: Acknowledgment sent {"connection_id":129973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:44:51] local.INFO: TCP Data received {"connection_id":129973,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f58625478012d7f914005afd9380000011b26..."} 
[2026-07-13 03:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58625478012d7f914005afd9380000011b26..."} 
[2026-07-13 03:44:51] local.INFO: Processing buffer {"connection_id":129973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58625478012d7f914005afd9380000011b26..."} 
[2026-07-13 03:44:51] local.INFO: Packet analysis {"connection_id":129973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5862"} 
[2026-07-13 03:44:51] local.INFO: Extracted packet for processing {"connection_id":129973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5862"} 
[2026-07-13 03:44:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 03:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676855296001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783894267000,"timestamp_ms":1783894267000,"timestamp_seconds":1783894267,"priority":1,"record_length":96,"hex_timestamp":"0000019f58625478"} 
[2026-07-13 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-07-13 03:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 03:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 03:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":129973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":129973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":129973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676855296001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676855296001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:44:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:44:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676855296001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":129973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:44:51] local.INFO: GPS data processed {"connection_id":129973,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:44:51] local.INFO: Acknowledgment sent {"connection_id":129973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:45:35] local.INFO: TCP Data received {"connection_id":132283,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:45:35] local.INFO: Processing buffer {"connection_id":132283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:45:35] local.INFO: IMEI packet received {"connection_id":132283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":132283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:45:41] local.INFO: TCP Data received {"connection_id":132283,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:45:41] local.INFO: Processing buffer {"connection_id":132283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:45:41] local.INFO: IMEI packet received {"connection_id":132283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":132283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:45:42] local.INFO: TCP Data received {"connection_id":132283,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f58625478012d7f914005afd9380000011b26..."} 
[2026-07-13 03:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58625478012d7f914005afd9380000011b26..."} 
[2026-07-13 03:45:42] local.INFO: Processing buffer {"connection_id":132283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58625478012d7f914005afd9380000011b26..."} 
[2026-07-13 03:45:42] local.INFO: Packet analysis {"connection_id":132283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5862"} 
[2026-07-13 03:45:42] local.INFO: Extracted packet for processing {"connection_id":132283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5862"} 
[2026-07-13 03:45:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676855296001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783894267000,"timestamp_ms":1783894267000,"timestamp_seconds":1783894267,"priority":1,"record_length":96,"hex_timestamp":"0000019f58625478"} 
[2026-07-13 03:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 03:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676855296001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676855296001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:45:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:45:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676855296001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":132283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:45:42] local.INFO: GPS data processed {"connection_id":132283,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:45:42] local.INFO: Acknowledgment sent {"connection_id":132283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:46:13] local.INFO: TCP Data received {"connection_id":132283,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f58625478012d7f914005afd9380000011b26..."} 
[2026-07-13 03:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58625478012d7f914005afd9380000011b26..."} 
[2026-07-13 03:46:13] local.INFO: Processing buffer {"connection_id":132283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58625478012d7f914005afd9380000011b26..."} 
[2026-07-13 03:46:13] local.INFO: Packet analysis {"connection_id":132283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5862"} 
[2026-07-13 03:46:13] local.INFO: Extracted packet for processing {"connection_id":132283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5862"} 
[2026-07-13 03:46:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676855296001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783894267000,"timestamp_ms":1783894267000,"timestamp_seconds":1783894267,"priority":1,"record_length":96,"hex_timestamp":"0000019f58625478"} 
[2026-07-13 03:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 03:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676855296001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676855296001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:46:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:46:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676855296001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":132283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:46:13] local.INFO: GPS data processed {"connection_id":132283,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:46:13] local.INFO: Acknowledgment sent {"connection_id":132283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:46:36] local.INFO: TCP Data received {"connection_id":129975,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:46:36] local.INFO: Processing buffer {"connection_id":129975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:46:36] local.INFO: IMEI packet received {"connection_id":129975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":129975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:46:41] local.INFO: TCP Data received {"connection_id":129975,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:46:41] local.INFO: Processing buffer {"connection_id":129975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:46:41] local.INFO: IMEI packet received {"connection_id":129975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":129975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:46:42] local.INFO: TCP Data received {"connection_id":129975,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f58625478012d7f914005afd9380000011b26..."} 
[2026-07-13 03:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58625478012d7f914005afd9380000011b26..."} 
[2026-07-13 03:46:42] local.INFO: Processing buffer {"connection_id":129975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58625478012d7f914005afd9380000011b26..."} 
[2026-07-13 03:46:42] local.INFO: Packet analysis {"connection_id":129975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5862"} 
[2026-07-13 03:46:42] local.INFO: Extracted packet for processing {"connection_id":129975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5862"} 
[2026-07-13 03:46:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676855296001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783894267000,"timestamp_ms":1783894267000,"timestamp_seconds":1783894267,"priority":1,"record_length":96,"hex_timestamp":"0000019f58625478"} 
[2026-07-13 03:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 03:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676855296001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676855296001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:46:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:46:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676855296001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":129975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:46:42] local.INFO: GPS data processed {"connection_id":129975,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:46:42] local.INFO: Acknowledgment sent {"connection_id":129975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:47:13] local.INFO: TCP Data received {"connection_id":129975,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5866ec40012d7f914005afd9380000011b22..."} 
[2026-07-13 03:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5866ec40012d7f914005afd9380000011b22..."} 
[2026-07-13 03:47:13] local.INFO: Processing buffer {"connection_id":129975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5866ec40012d7f914005afd9380000011b22..."} 
[2026-07-13 03:47:13] local.INFO: Packet analysis {"connection_id":129975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5866"} 
[2026-07-13 03:47:13] local.INFO: Extracted packet for processing {"connection_id":129975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5866"} 
[2026-07-13 03:47:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676932352001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783894568000,"timestamp_ms":1783894568000,"timestamp_seconds":1783894568,"priority":1,"record_length":96,"hex_timestamp":"0000019f5866ec40"} 
[2026-07-13 03:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676932352001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676932352001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:47:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:47:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676932352001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":129975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:47:13] local.INFO: GPS data processed {"connection_id":129975,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:47:13] local.INFO: Acknowledgment sent {"connection_id":129975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:47:35] local.INFO: TCP Data received {"connection_id":130951,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:47:35] local.INFO: Processing buffer {"connection_id":130951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:47:35] local.INFO: IMEI packet received {"connection_id":130951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":130951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:47:41] local.INFO: TCP Data received {"connection_id":130951,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:47:41] local.INFO: Processing buffer {"connection_id":130951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:47:41] local.INFO: IMEI packet received {"connection_id":130951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":130951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:47:42] local.INFO: TCP Data received {"connection_id":130951,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5866ec40012d7f914005afd9380000011b22..."} 
[2026-07-13 03:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5866ec40012d7f914005afd9380000011b22..."} 
[2026-07-13 03:47:42] local.INFO: Processing buffer {"connection_id":130951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5866ec40012d7f914005afd9380000011b22..."} 
[2026-07-13 03:47:42] local.INFO: Packet analysis {"connection_id":130951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5866"} 
[2026-07-13 03:47:42] local.INFO: Extracted packet for processing {"connection_id":130951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5866"} 
[2026-07-13 03:47:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676932352001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783894568000,"timestamp_ms":1783894568000,"timestamp_seconds":1783894568,"priority":1,"record_length":96,"hex_timestamp":"0000019f5866ec40"} 
[2026-07-13 03:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676932352001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676932352001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:47:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:47:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676932352001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":130951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:47:42] local.INFO: GPS data processed {"connection_id":130951,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:47:42] local.INFO: Acknowledgment sent {"connection_id":130951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:48:13] local.INFO: TCP Data received {"connection_id":130951,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5866ec40012d7f914005afd9380000011b22..."} 
[2026-07-13 03:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5866ec40012d7f914005afd9380000011b22..."} 
[2026-07-13 03:48:13] local.INFO: Processing buffer {"connection_id":130951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5866ec40012d7f914005afd9380000011b22..."} 
[2026-07-13 03:48:13] local.INFO: Packet analysis {"connection_id":130951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5866"} 
[2026-07-13 03:48:13] local.INFO: Extracted packet for processing {"connection_id":130951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5866"} 
[2026-07-13 03:48:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676932352001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783894568000,"timestamp_ms":1783894568000,"timestamp_seconds":1783894568,"priority":1,"record_length":96,"hex_timestamp":"0000019f5866ec40"} 
[2026-07-13 03:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:48:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676932352001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676932352001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:48:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:48:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676932352001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":130951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:48:13] local.INFO: GPS data processed {"connection_id":130951,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:48:13] local.INFO: Acknowledgment sent {"connection_id":130951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:48:35] local.INFO: TCP Data received {"connection_id":130174,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:48:35] local.INFO: Processing buffer {"connection_id":130174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:48:35] local.INFO: IMEI packet received {"connection_id":130174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":130174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:48:41] local.INFO: TCP Data received {"connection_id":130174,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:48:41] local.INFO: Processing buffer {"connection_id":130174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:48:41] local.INFO: IMEI packet received {"connection_id":130174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":130174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:48:42] local.INFO: TCP Data received {"connection_id":130174,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5866ec40012d7f914005afd9380000011b22..."} 
[2026-07-13 03:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5866ec40012d7f914005afd9380000011b22..."} 
[2026-07-13 03:48:42] local.INFO: Processing buffer {"connection_id":130174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5866ec40012d7f914005afd9380000011b22..."} 
[2026-07-13 03:48:42] local.INFO: Packet analysis {"connection_id":130174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5866"} 
[2026-07-13 03:48:42] local.INFO: Extracted packet for processing {"connection_id":130174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5866"} 
[2026-07-13 03:48:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676932352001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783894568000,"timestamp_ms":1783894568000,"timestamp_seconds":1783894568,"priority":1,"record_length":96,"hex_timestamp":"0000019f5866ec40"} 
[2026-07-13 03:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676932352001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676932352001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:48:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:48:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676932352001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":130174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:48:42] local.INFO: GPS data processed {"connection_id":130174,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:48:42] local.INFO: Acknowledgment sent {"connection_id":130174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:49:06] local.INFO: TCP Data received {"connection_id":130952,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130952,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:49:06] local.INFO: Processing buffer {"connection_id":130952,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:49:06] local.INFO: IMEI packet received {"connection_id":130952,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 03:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":130952,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:49:13] local.INFO: TCP Data received {"connection_id":130174,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5866ec40012d7f914005afd9380000011b22..."} 
[2026-07-13 03:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5866ec40012d7f914005afd9380000011b22..."} 
[2026-07-13 03:49:13] local.INFO: Processing buffer {"connection_id":130174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5866ec40012d7f914005afd9380000011b22..."} 
[2026-07-13 03:49:13] local.INFO: Packet analysis {"connection_id":130174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5866"} 
[2026-07-13 03:49:13] local.INFO: Extracted packet for processing {"connection_id":130174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5866"} 
[2026-07-13 03:49:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676932352001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783894568000,"timestamp_ms":1783894568000,"timestamp_seconds":1783894568,"priority":1,"record_length":96,"hex_timestamp":"0000019f5866ec40"} 
[2026-07-13 03:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676932352001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676932352001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:49:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:49:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676932352001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":130174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:49:13] local.INFO: GPS data processed {"connection_id":130174,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:49:13] local.INFO: Acknowledgment sent {"connection_id":130174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:49:41] local.INFO: TCP Data received {"connection_id":130175,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:49:41] local.INFO: Processing buffer {"connection_id":130175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:49:41] local.INFO: IMEI packet received {"connection_id":130175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":130175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:49:41] local.INFO: TCP Data received {"connection_id":129978,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:49:41] local.INFO: Processing buffer {"connection_id":129978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:49:41] local.INFO: IMEI packet received {"connection_id":129978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 03:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":129978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:49:46] local.INFO: TCP Data received {"connection_id":130175,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:49:46] local.INFO: Processing buffer {"connection_id":130175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:49:46] local.INFO: IMEI packet received {"connection_id":130175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":130175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:49:46] local.INFO: TCP Data received {"connection_id":130175,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5866ec40012d7f914005afd9380000011b22..."} 
[2026-07-13 03:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5866ec40012d7f914005afd9380000011b22..."} 
[2026-07-13 03:49:47] local.INFO: Processing buffer {"connection_id":130175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5866ec40012d7f914005afd9380000011b22..."} 
[2026-07-13 03:49:47] local.INFO: Packet analysis {"connection_id":130175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5866"} 
[2026-07-13 03:49:47] local.INFO: Extracted packet for processing {"connection_id":130175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5866"} 
[2026-07-13 03:49:47] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676932352001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783894568000,"timestamp_ms":1783894568000,"timestamp_seconds":1783894568,"priority":1,"record_length":96,"hex_timestamp":"0000019f5866ec40"} 
[2026-07-13 03:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676932352001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676932352001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:49:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:49:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676932352001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":130175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:49:47] local.INFO: GPS data processed {"connection_id":130175,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:49:47] local.INFO: Acknowledgment sent {"connection_id":130175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:49:51] local.INFO: TCP Data received {"connection_id":130175,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5866ec40012d7f914005afd9380000011b22..."} 
[2026-07-13 03:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5866ec40012d7f914005afd9380000011b22..."} 
[2026-07-13 03:49:51] local.INFO: Processing buffer {"connection_id":130175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5866ec40012d7f914005afd9380000011b22..."} 
[2026-07-13 03:49:51] local.INFO: Packet analysis {"connection_id":130175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5866"} 
[2026-07-13 03:49:51] local.INFO: Extracted packet for processing {"connection_id":130175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5866"} 
[2026-07-13 03:49:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676932352001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783894568000,"timestamp_ms":1783894568000,"timestamp_seconds":1783894568,"priority":1,"record_length":96,"hex_timestamp":"0000019f5866ec40"} 
[2026-07-13 03:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:49: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-07-13 03:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:49: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-07-13 03:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676932352001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676932352001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:49:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:49:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676932352001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":130175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:49:51] local.INFO: GPS data processed {"connection_id":130175,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:49:51] local.INFO: Acknowledgment sent {"connection_id":130175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:50:36] local.INFO: TCP Data received {"connection_id":132284,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:50:36] local.INFO: Processing buffer {"connection_id":132284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:50:36] local.INFO: IMEI packet received {"connection_id":132284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":132284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:50:41] local.INFO: TCP Data received {"connection_id":132284,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:50:41] local.INFO: Processing buffer {"connection_id":132284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:50:41] local.INFO: IMEI packet received {"connection_id":132284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":132284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:50:42] local.INFO: TCP Data received {"connection_id":132284,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5866ec40012d7f914005afd9380000011b22..."} 
[2026-07-13 03:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5866ec40012d7f914005afd9380000011b22..."} 
[2026-07-13 03:50:42] local.INFO: Processing buffer {"connection_id":132284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5866ec40012d7f914005afd9380000011b22..."} 
[2026-07-13 03:50:42] local.INFO: Packet analysis {"connection_id":132284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5866"} 
[2026-07-13 03:50:42] local.INFO: Extracted packet for processing {"connection_id":132284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5866"} 
[2026-07-13 03:50:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676932352001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783894568000,"timestamp_ms":1783894568000,"timestamp_seconds":1783894568,"priority":1,"record_length":96,"hex_timestamp":"0000019f5866ec40"} 
[2026-07-13 03:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676932352001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676932352001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:50:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:50:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676932352001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":132284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:50:42] local.INFO: GPS data processed {"connection_id":132284,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:50:42] local.INFO: Acknowledgment sent {"connection_id":132284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:51:13] local.INFO: TCP Data received {"connection_id":132284,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5866ec40012d7f914005afd9380000011b22..."} 
[2026-07-13 03:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5866ec40012d7f914005afd9380000011b22..."} 
[2026-07-13 03:51:13] local.INFO: Processing buffer {"connection_id":132284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5866ec40012d7f914005afd9380000011b22..."} 
[2026-07-13 03:51:13] local.INFO: Packet analysis {"connection_id":132284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5866"} 
[2026-07-13 03:51:13] local.INFO: Extracted packet for processing {"connection_id":132284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5866"} 
[2026-07-13 03:51:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676932352001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783894568000,"timestamp_ms":1783894568000,"timestamp_seconds":1783894568,"priority":1,"record_length":96,"hex_timestamp":"0000019f5866ec40"} 
[2026-07-13 03:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676932352001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676932352001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:51:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:51:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676932352001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":132284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:51:13] local.INFO: GPS data processed {"connection_id":132284,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:51:13] local.INFO: Acknowledgment sent {"connection_id":132284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:51:35] local.INFO: TCP Data received {"connection_id":130953,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:51:35] local.INFO: Processing buffer {"connection_id":130953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:51:35] local.INFO: IMEI packet received {"connection_id":130953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":130953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:51:41] local.INFO: TCP Data received {"connection_id":130953,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:51:41] local.INFO: Processing buffer {"connection_id":130953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:51:41] local.INFO: IMEI packet received {"connection_id":130953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":130953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:51:42] local.INFO: TCP Data received {"connection_id":130953,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5866ec40012d7f914005afd9380000011b22..."} 
[2026-07-13 03:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5866ec40012d7f914005afd9380000011b22..."} 
[2026-07-13 03:51:42] local.INFO: Processing buffer {"connection_id":130953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5866ec40012d7f914005afd9380000011b22..."} 
[2026-07-13 03:51:42] local.INFO: Packet analysis {"connection_id":130953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5866"} 
[2026-07-13 03:51:42] local.INFO: Extracted packet for processing {"connection_id":130953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5866"} 
[2026-07-13 03:51:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456676932352001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783894568000,"timestamp_ms":1783894568000,"timestamp_seconds":1783894568,"priority":1,"record_length":96,"hex_timestamp":"0000019f5866ec40"} 
[2026-07-13 03:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456676932352001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456676932352001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:51:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:51:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456676932352001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":130953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:51:42] local.INFO: GPS data processed {"connection_id":130953,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:51:42] local.INFO: Acknowledgment sent {"connection_id":130953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:52:12] local.INFO: TCP Data received {"connection_id":130953,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f586b8408012d7f914005afd9380000011b23..."} 
[2026-07-13 03:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f586b8408012d7f914005afd9380000011b23..."} 
[2026-07-13 03:52:12] local.INFO: Processing buffer {"connection_id":130953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f586b8408012d7f914005afd9380000011b23..."} 
[2026-07-13 03:52:12] local.INFO: Packet analysis {"connection_id":130953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f586b"} 
[2026-07-13 03:52:12] local.INFO: Extracted packet for processing {"connection_id":130953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f586b"} 
[2026-07-13 03:52:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677009408001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783894869000,"timestamp_ms":1783894869000,"timestamp_seconds":1783894869,"priority":1,"record_length":96,"hex_timestamp":"0000019f586b8408"} 
[2026-07-13 03:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677009408001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677009408001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:52:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:52:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677009408001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":130953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:52:12] local.INFO: GPS data processed {"connection_id":130953,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:52:12] local.INFO: Acknowledgment sent {"connection_id":130953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:52:35] local.INFO: TCP Data received {"connection_id":129980,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:52:35] local.INFO: Processing buffer {"connection_id":129980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:52:35] local.INFO: IMEI packet received {"connection_id":129980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":129980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:52:41] local.INFO: TCP Data received {"connection_id":129980,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:52:41] local.INFO: Processing buffer {"connection_id":129980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:52:41] local.INFO: IMEI packet received {"connection_id":129980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":129980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:52:42] local.INFO: TCP Data received {"connection_id":129980,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f586b8408012d7f914005afd9380000011b23..."} 
[2026-07-13 03:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f586b8408012d7f914005afd9380000011b23..."} 
[2026-07-13 03:52:42] local.INFO: Processing buffer {"connection_id":129980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f586b8408012d7f914005afd9380000011b23..."} 
[2026-07-13 03:52:42] local.INFO: Packet analysis {"connection_id":129980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f586b"} 
[2026-07-13 03:52:42] local.INFO: Extracted packet for processing {"connection_id":129980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f586b"} 
[2026-07-13 03:52:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677009408001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783894869000,"timestamp_ms":1783894869000,"timestamp_seconds":1783894869,"priority":1,"record_length":96,"hex_timestamp":"0000019f586b8408"} 
[2026-07-13 03:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677009408001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677009408001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:52:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:52:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677009408001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":129980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:52:42] local.INFO: GPS data processed {"connection_id":129980,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:52:42] local.INFO: Acknowledgment sent {"connection_id":129980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:53:13] local.INFO: TCP Data received {"connection_id":129980,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f586b8408012d7f914005afd9380000011b23..."} 
[2026-07-13 03:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f586b8408012d7f914005afd9380000011b23..."} 
[2026-07-13 03:53:13] local.INFO: Processing buffer {"connection_id":129980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f586b8408012d7f914005afd9380000011b23..."} 
[2026-07-13 03:53:13] local.INFO: Packet analysis {"connection_id":129980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f586b"} 
[2026-07-13 03:53:13] local.INFO: Extracted packet for processing {"connection_id":129980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f586b"} 
[2026-07-13 03:53:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677009408001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783894869000,"timestamp_ms":1783894869000,"timestamp_seconds":1783894869,"priority":1,"record_length":96,"hex_timestamp":"0000019f586b8408"} 
[2026-07-13 03:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677009408001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677009408001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:53:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:53:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677009408001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":129980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:53:13] local.INFO: GPS data processed {"connection_id":129980,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:53:13] local.INFO: Acknowledgment sent {"connection_id":129980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:53:35] local.INFO: TCP Data received {"connection_id":132285,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:53:35] local.INFO: Processing buffer {"connection_id":132285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:53:35] local.INFO: IMEI packet received {"connection_id":132285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":132285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:53:41] local.INFO: TCP Data received {"connection_id":132285,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:53:41] local.INFO: Processing buffer {"connection_id":132285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:53:41] local.INFO: IMEI packet received {"connection_id":132285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":132285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:53:42] local.INFO: TCP Data received {"connection_id":132285,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f586b8408012d7f914005afd9380000011b23..."} 
[2026-07-13 03:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f586b8408012d7f914005afd9380000011b23..."} 
[2026-07-13 03:53:42] local.INFO: Processing buffer {"connection_id":132285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f586b8408012d7f914005afd9380000011b23..."} 
[2026-07-13 03:53:42] local.INFO: Packet analysis {"connection_id":132285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f586b"} 
[2026-07-13 03:53:42] local.INFO: Extracted packet for processing {"connection_id":132285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f586b"} 
[2026-07-13 03:53:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03: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-07-13 03:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677009408001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783894869000,"timestamp_ms":1783894869000,"timestamp_seconds":1783894869,"priority":1,"record_length":96,"hex_timestamp":"0000019f586b8408"} 
[2026-07-13 03:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03: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-07-13 03:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677009408001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677009408001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:53:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:53:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677009408001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":132285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:53:42] local.INFO: GPS data processed {"connection_id":132285,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:53:42] local.INFO: Acknowledgment sent {"connection_id":132285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:54:13] local.INFO: TCP Data received {"connection_id":132285,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f586b8408012d7f914005afd9380000011b23..."} 
[2026-07-13 03:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f586b8408012d7f914005afd9380000011b23..."} 
[2026-07-13 03:54:13] local.INFO: Processing buffer {"connection_id":132285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f586b8408012d7f914005afd9380000011b23..."} 
[2026-07-13 03:54:13] local.INFO: Packet analysis {"connection_id":132285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f586b"} 
[2026-07-13 03:54:13] local.INFO: Extracted packet for processing {"connection_id":132285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f586b"} 
[2026-07-13 03:54:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677009408001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783894869000,"timestamp_ms":1783894869000,"timestamp_seconds":1783894869,"priority":1,"record_length":96,"hex_timestamp":"0000019f586b8408"} 
[2026-07-13 03:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677009408001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677009408001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:54:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:54:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677009408001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":132285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:54:13] local.INFO: GPS data processed {"connection_id":132285,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:54:13] local.INFO: Acknowledgment sent {"connection_id":132285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:54:41] local.INFO: TCP Data received {"connection_id":130176,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:54:41] local.INFO: Processing buffer {"connection_id":130176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:54:41] local.INFO: IMEI packet received {"connection_id":130176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":130176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:54:46] local.INFO: TCP Data received {"connection_id":130176,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:54:46] local.INFO: Processing buffer {"connection_id":130176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:54:46] local.INFO: IMEI packet received {"connection_id":130176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":130176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:54:46] local.INFO: TCP Data received {"connection_id":130176,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f586b8408012d7f914005afd9380000011b23..."} 
[2026-07-13 03:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f586b8408012d7f914005afd9380000011b23..."} 
[2026-07-13 03:54:46] local.INFO: Processing buffer {"connection_id":130176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f586b8408012d7f914005afd9380000011b23..."} 
[2026-07-13 03:54:46] local.INFO: Packet analysis {"connection_id":130176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f586b"} 
[2026-07-13 03:54:46] local.INFO: Extracted packet for processing {"connection_id":130176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f586b"} 
[2026-07-13 03:54:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677009408001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783894869000,"timestamp_ms":1783894869000,"timestamp_seconds":1783894869,"priority":1,"record_length":96,"hex_timestamp":"0000019f586b8408"} 
[2026-07-13 03:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677009408001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677009408001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:54:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:54:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677009408001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":130176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:54:47] local.INFO: GPS data processed {"connection_id":130176,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:54:47] local.INFO: Acknowledgment sent {"connection_id":130176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:54:51] local.INFO: TCP Data received {"connection_id":130176,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f586b8408012d7f914005afd9380000011b23..."} 
[2026-07-13 03:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f586b8408012d7f914005afd9380000011b23..."} 
[2026-07-13 03:54:51] local.INFO: Processing buffer {"connection_id":130176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f586b8408012d7f914005afd9380000011b23..."} 
[2026-07-13 03:54:51] local.INFO: Packet analysis {"connection_id":130176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f586b"} 
[2026-07-13 03:54:51] local.INFO: Extracted packet for processing {"connection_id":130176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f586b"} 
[2026-07-13 03:54:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03: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-07-13 03:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677009408001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783894869000,"timestamp_ms":1783894869000,"timestamp_seconds":1783894869,"priority":1,"record_length":96,"hex_timestamp":"0000019f586b8408"} 
[2026-07-13 03:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03: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-07-13 03:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677009408001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677009408001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:54:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:54:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677009408001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":130176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:54:51] local.INFO: GPS data processed {"connection_id":130176,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:54:51] local.INFO: Acknowledgment sent {"connection_id":130176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:54:56] local.INFO: TCP Data received {"connection_id":130955,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:54:56] local.INFO: Processing buffer {"connection_id":130955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:54:56] local.INFO: IMEI packet received {"connection_id":130955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 03:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":130955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:55:35] local.INFO: TCP Data received {"connection_id":130956,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:55:35] local.INFO: Processing buffer {"connection_id":130956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:55:35] local.INFO: IMEI packet received {"connection_id":130956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":130956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:55:41] local.INFO: TCP Data received {"connection_id":130956,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:55:41] local.INFO: Processing buffer {"connection_id":130956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:55:41] local.INFO: IMEI packet received {"connection_id":130956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":130956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:55:41] local.INFO: TCP Data received {"connection_id":130957,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130957,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:55:41] local.INFO: Processing buffer {"connection_id":130957,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 03:55:41] local.INFO: IMEI packet received {"connection_id":130957,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 03:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":130957,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:55:42] local.INFO: TCP Data received {"connection_id":130956,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f586b8408012d7f914005afd9380000011b23..."} 
[2026-07-13 03:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f586b8408012d7f914005afd9380000011b23..."} 
[2026-07-13 03:55:42] local.INFO: Processing buffer {"connection_id":130956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f586b8408012d7f914005afd9380000011b23..."} 
[2026-07-13 03:55:42] local.INFO: Packet analysis {"connection_id":130956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f586b"} 
[2026-07-13 03:55:42] local.INFO: Extracted packet for processing {"connection_id":130956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f586b"} 
[2026-07-13 03:55:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677009408001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783894869000,"timestamp_ms":1783894869000,"timestamp_seconds":1783894869,"priority":1,"record_length":96,"hex_timestamp":"0000019f586b8408"} 
[2026-07-13 03:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677009408001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677009408001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:55:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:55:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677009408001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":130956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:55:42] local.INFO: GPS data processed {"connection_id":130956,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:55:42] local.INFO: Acknowledgment sent {"connection_id":130956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:56:13] local.INFO: TCP Data received {"connection_id":130956,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f586b8408012d7f914005afd9380000011b23..."} 
[2026-07-13 03:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f586b8408012d7f914005afd9380000011b23..."} 
[2026-07-13 03:56:13] local.INFO: Processing buffer {"connection_id":130956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f586b8408012d7f914005afd9380000011b23..."} 
[2026-07-13 03:56:13] local.INFO: Packet analysis {"connection_id":130956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f586b"} 
[2026-07-13 03:56:13] local.INFO: Extracted packet for processing {"connection_id":130956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f586b"} 
[2026-07-13 03:56:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677009408001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783894869000,"timestamp_ms":1783894869000,"timestamp_seconds":1783894869,"priority":1,"record_length":96,"hex_timestamp":"0000019f586b8408"} 
[2026-07-13 03:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677009408001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677009408001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:56:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:56:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677009408001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":130956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:56:13] local.INFO: GPS data processed {"connection_id":130956,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:56:13] local.INFO: Acknowledgment sent {"connection_id":130956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:56:35] local.INFO: TCP Data received {"connection_id":130177,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:56:35] local.INFO: Processing buffer {"connection_id":130177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:56:35] local.INFO: IMEI packet received {"connection_id":130177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":130177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:56:41] local.INFO: TCP Data received {"connection_id":130177,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:56:41] local.INFO: Processing buffer {"connection_id":130177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:56:41] local.INFO: IMEI packet received {"connection_id":130177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":130177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:56:42] local.INFO: TCP Data received {"connection_id":130177,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f586b8408012d7f914005afd9380000011b23..."} 
[2026-07-13 03:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f586b8408012d7f914005afd9380000011b23..."} 
[2026-07-13 03:56:42] local.INFO: Processing buffer {"connection_id":130177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f586b8408012d7f914005afd9380000011b23..."} 
[2026-07-13 03:56:42] local.INFO: Packet analysis {"connection_id":130177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f586b"} 
[2026-07-13 03:56:42] local.INFO: Extracted packet for processing {"connection_id":130177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f586b"} 
[2026-07-13 03:56:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677009408001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783894869000,"timestamp_ms":1783894869000,"timestamp_seconds":1783894869,"priority":1,"record_length":96,"hex_timestamp":"0000019f586b8408"} 
[2026-07-13 03:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 03:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677009408001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677009408001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:56:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:56:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677009408001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":130177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:56:42] local.INFO: GPS data processed {"connection_id":130177,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:56:42] local.INFO: Acknowledgment sent {"connection_id":130177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:57:12] local.INFO: TCP Data received {"connection_id":130177,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58701bd0012d7f914005afd9380000011b20..."} 
[2026-07-13 03:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58701bd0012d7f914005afd9380000011b20..."} 
[2026-07-13 03:57:12] local.INFO: Processing buffer {"connection_id":130177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58701bd0012d7f914005afd9380000011b20..."} 
[2026-07-13 03:57:12] local.INFO: Packet analysis {"connection_id":130177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5870"} 
[2026-07-13 03:57:12] local.INFO: Extracted packet for processing {"connection_id":130177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5870"} 
[2026-07-13 03:57:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677086464001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783895170000,"timestamp_ms":1783895170000,"timestamp_seconds":1783895170,"priority":1,"record_length":96,"hex_timestamp":"0000019f58701bd0"} 
[2026-07-13 03:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677086464001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677086464001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:57:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:57:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677086464001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":130177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:57:12] local.INFO: GPS data processed {"connection_id":130177,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:57:12] local.INFO: Acknowledgment sent {"connection_id":130177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:57:35] local.INFO: TCP Data received {"connection_id":130958,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:57:35] local.INFO: Processing buffer {"connection_id":130958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:57:35] local.INFO: IMEI packet received {"connection_id":130958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":130958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:57:40] local.INFO: TCP Data received {"connection_id":130958,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:57:40] local.INFO: Processing buffer {"connection_id":130958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:57:40] local.INFO: IMEI packet received {"connection_id":130958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":130958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:57:41] local.INFO: TCP Data received {"connection_id":130958,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58701bd0012d7f914005afd9380000011b20..."} 
[2026-07-13 03:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58701bd0012d7f914005afd9380000011b20..."} 
[2026-07-13 03:57:41] local.INFO: Processing buffer {"connection_id":130958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58701bd0012d7f914005afd9380000011b20..."} 
[2026-07-13 03:57:41] local.INFO: Packet analysis {"connection_id":130958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5870"} 
[2026-07-13 03:57:41] local.INFO: Extracted packet for processing {"connection_id":130958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5870"} 
[2026-07-13 03:57:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677086464001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783895170000,"timestamp_ms":1783895170000,"timestamp_seconds":1783895170,"priority":1,"record_length":96,"hex_timestamp":"0000019f58701bd0"} 
[2026-07-13 03:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677086464001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677086464001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:57:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:57:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677086464001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":130958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:57:41] local.INFO: GPS data processed {"connection_id":130958,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:57:41] local.INFO: Acknowledgment sent {"connection_id":130958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:58:12] local.INFO: TCP Data received {"connection_id":130958,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58701bd0012d7f914005afd9380000011b20..."} 
[2026-07-13 03:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58701bd0012d7f914005afd9380000011b20..."} 
[2026-07-13 03:58:12] local.INFO: Processing buffer {"connection_id":130958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58701bd0012d7f914005afd9380000011b20..."} 
[2026-07-13 03:58:12] local.INFO: Packet analysis {"connection_id":130958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5870"} 
[2026-07-13 03:58:12] local.INFO: Extracted packet for processing {"connection_id":130958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5870"} 
[2026-07-13 03:58:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677086464001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783895170000,"timestamp_ms":1783895170000,"timestamp_seconds":1783895170,"priority":1,"record_length":96,"hex_timestamp":"0000019f58701bd0"} 
[2026-07-13 03:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677086464001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677086464001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:58:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:58:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677086464001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":130958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:58:12] local.INFO: GPS data processed {"connection_id":130958,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:58:12] local.INFO: Acknowledgment sent {"connection_id":130958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:58:35] local.INFO: TCP Data received {"connection_id":130959,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:58:35] local.INFO: Processing buffer {"connection_id":130959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:58:35] local.INFO: IMEI packet received {"connection_id":130959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":130959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:58:40] local.INFO: TCP Data received {"connection_id":130959,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:58:40] local.INFO: Processing buffer {"connection_id":130959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:58:40] local.INFO: IMEI packet received {"connection_id":130959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":130959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:58:41] local.INFO: TCP Data received {"connection_id":130959,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58701bd0012d7f914005afd9380000011b20..."} 
[2026-07-13 03:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58701bd0012d7f914005afd9380000011b20..."} 
[2026-07-13 03:58:41] local.INFO: Processing buffer {"connection_id":130959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58701bd0012d7f914005afd9380000011b20..."} 
[2026-07-13 03:58:41] local.INFO: Packet analysis {"connection_id":130959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5870"} 
[2026-07-13 03:58:41] local.INFO: Extracted packet for processing {"connection_id":130959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5870"} 
[2026-07-13 03:58:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677086464001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783895170000,"timestamp_ms":1783895170000,"timestamp_seconds":1783895170,"priority":1,"record_length":96,"hex_timestamp":"0000019f58701bd0"} 
[2026-07-13 03:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677086464001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677086464001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:58:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:58:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677086464001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":130959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:58:41] local.INFO: GPS data processed {"connection_id":130959,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:58:41] local.INFO: Acknowledgment sent {"connection_id":130959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:59:13] local.INFO: TCP Data received {"connection_id":130959,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58701bd0012d7f914005afd9380000011b20..."} 
[2026-07-13 03:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58701bd0012d7f914005afd9380000011b20..."} 
[2026-07-13 03:59:13] local.INFO: Processing buffer {"connection_id":130959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58701bd0012d7f914005afd9380000011b20..."} 
[2026-07-13 03:59:13] local.INFO: Packet analysis {"connection_id":130959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5870"} 
[2026-07-13 03:59:13] local.INFO: Extracted packet for processing {"connection_id":130959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5870"} 
[2026-07-13 03:59:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677086464001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783895170000,"timestamp_ms":1783895170000,"timestamp_seconds":1783895170,"priority":1,"record_length":96,"hex_timestamp":"0000019f58701bd0"} 
[2026-07-13 03:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677086464001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677086464001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:59:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:59:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677086464001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":130959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:59:13] local.INFO: GPS data processed {"connection_id":130959,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:59:13] local.INFO: Acknowledgment sent {"connection_id":130959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:59:41] local.INFO: TCP Data received {"connection_id":129983,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:59:41] local.INFO: Processing buffer {"connection_id":129983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:59:41] local.INFO: IMEI packet received {"connection_id":129983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 03:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":129983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 03:59:46] local.INFO: TCP Data received {"connection_id":129983,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:59:46] local.INFO: Processing buffer {"connection_id":129983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 03:59:46] local.INFO: IMEI packet received {"connection_id":129983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 03:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":129983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 03:59:47] local.INFO: TCP Data received {"connection_id":129983,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f58701bd0012d7f914005afd9380000011b20..."} 
[2026-07-13 03:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58701bd0012d7f914005afd9380000011b20..."} 
[2026-07-13 03:59:47] local.INFO: Processing buffer {"connection_id":129983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58701bd0012d7f914005afd9380000011b20..."} 
[2026-07-13 03:59:47] local.INFO: Packet analysis {"connection_id":129983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5870"} 
[2026-07-13 03:59:47] local.INFO: Extracted packet for processing {"connection_id":129983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5870"} 
[2026-07-13 03:59:47] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 03:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 03:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677086464001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783895170000,"timestamp_ms":1783895170000,"timestamp_seconds":1783895170,"priority":1,"record_length":96,"hex_timestamp":"0000019f58701bd0"} 
[2026-07-13 03:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 03:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 03:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 03:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 03:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 03:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":129983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":129983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":129983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677086464001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677086464001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:59:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:59:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677086464001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":129983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:59:47] local.INFO: GPS data processed {"connection_id":129983,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:59:47] local.INFO: Acknowledgment sent {"connection_id":129983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 03:59:51] local.INFO: TCP Data received {"connection_id":129983,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f58701bd0012d7f914005afd9380000011b20..."} 
[2026-07-13 03:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58701bd0012d7f914005afd9380000011b20..."} 
[2026-07-13 03:59:51] local.INFO: Processing buffer {"connection_id":129983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58701bd0012d7f914005afd9380000011b20..."} 
[2026-07-13 03:59:51] local.INFO: Packet analysis {"connection_id":129983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5870"} 
[2026-07-13 03:59:51] local.INFO: Extracted packet for processing {"connection_id":129983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5870"} 
[2026-07-13 03:59:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 03:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677086464001,"note":"Value kept but may cause issues"} 
[2026-07-13 03:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 03:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 03:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 03:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783895170000,"timestamp_ms":1783895170000,"timestamp_seconds":1783895170,"priority":1,"record_length":96,"hex_timestamp":"0000019f58701bd0"} 
[2026-07-13 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-07-13 03:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 03:59: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-07-13 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-07-13 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-07-13 03:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 03:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":129983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 03:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":129983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":129983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 03:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 03:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 03:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 03:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677086464001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 03:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 03:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 03:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677086464001,"description":"Unknown IO ID 0"} 
[2026-07-13 03:59:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 03:59:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 03:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 03:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 03:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677086464001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 03:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":129983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 03:59:51] local.INFO: GPS data processed {"connection_id":129983,"processed":1,"errors":0,"total":1} 
[2026-07-13 03:59:51] local.INFO: Acknowledgment sent {"connection_id":129983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:00:36] local.INFO: TCP Data received {"connection_id":130960,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:00:36] local.INFO: Processing buffer {"connection_id":130960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:00:36] local.INFO: IMEI packet received {"connection_id":130960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":130960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:00:41] local.INFO: TCP Data received {"connection_id":130960,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:00:41] local.INFO: Processing buffer {"connection_id":130960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:00:41] local.INFO: IMEI packet received {"connection_id":130960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":130960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:00:42] local.INFO: TCP Data received {"connection_id":130960,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f58701bd0012d7f914005afd9380000011b20..."} 
[2026-07-13 04:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58701bd0012d7f914005afd9380000011b20..."} 
[2026-07-13 04:00:42] local.INFO: Processing buffer {"connection_id":130960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58701bd0012d7f914005afd9380000011b20..."} 
[2026-07-13 04:00:42] local.INFO: Packet analysis {"connection_id":130960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5870"} 
[2026-07-13 04:00:42] local.INFO: Extracted packet for processing {"connection_id":130960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5870"} 
[2026-07-13 04:00:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677086464001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783895170000,"timestamp_ms":1783895170000,"timestamp_seconds":1783895170,"priority":1,"record_length":96,"hex_timestamp":"0000019f58701bd0"} 
[2026-07-13 04:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 04:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677086464001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677086464001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:00:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:00:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677086464001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":130960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:00:42] local.INFO: GPS data processed {"connection_id":130960,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:00:42] local.INFO: Acknowledgment sent {"connection_id":130960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:01:13] local.INFO: TCP Data received {"connection_id":130960,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f58701bd0012d7f914005afd9380000011b20..."} 
[2026-07-13 04:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58701bd0012d7f914005afd9380000011b20..."} 
[2026-07-13 04:01:13] local.INFO: Processing buffer {"connection_id":130960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58701bd0012d7f914005afd9380000011b20..."} 
[2026-07-13 04:01:13] local.INFO: Packet analysis {"connection_id":130960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5870"} 
[2026-07-13 04:01:13] local.INFO: Extracted packet for processing {"connection_id":130960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5870"} 
[2026-07-13 04:01:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677086464001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783895170000,"timestamp_ms":1783895170000,"timestamp_seconds":1783895170,"priority":1,"record_length":96,"hex_timestamp":"0000019f58701bd0"} 
[2026-07-13 04:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 04:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:01:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677086464001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677086464001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:01:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:01:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677086464001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":130960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:01:13] local.INFO: GPS data processed {"connection_id":130960,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:01:13] local.INFO: Acknowledgment sent {"connection_id":130960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:01:13] local.INFO: TCP Data received {"connection_id":130179,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130179,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:01:13] local.INFO: Processing buffer {"connection_id":130179,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:01:13] local.INFO: IMEI packet received {"connection_id":130179,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 04:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":130179,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:01:35] local.INFO: TCP Data received {"connection_id":132290,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:01:35] local.INFO: Processing buffer {"connection_id":132290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:01:35] local.INFO: IMEI packet received {"connection_id":132290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":132290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:01:41] local.INFO: TCP Data received {"connection_id":130961,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:01:41] local.INFO: Processing buffer {"connection_id":130961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:01:41] local.INFO: IMEI packet received {"connection_id":130961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 04:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":130961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:01:41] local.INFO: TCP Data received {"connection_id":132290,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:01:41] local.INFO: Processing buffer {"connection_id":132290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:01:41] local.INFO: IMEI packet received {"connection_id":132290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":132290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:01:41] local.INFO: TCP Data received {"connection_id":132290,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f58701bd0012d7f914005afd9380000011b20..."} 
[2026-07-13 04:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58701bd0012d7f914005afd9380000011b20..."} 
[2026-07-13 04:01:41] local.INFO: Processing buffer {"connection_id":132290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58701bd0012d7f914005afd9380000011b20..."} 
[2026-07-13 04:01:41] local.INFO: Packet analysis {"connection_id":132290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5870"} 
[2026-07-13 04:01:41] local.INFO: Extracted packet for processing {"connection_id":132290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5870"} 
[2026-07-13 04:01:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677086464001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783895170000,"timestamp_ms":1783895170000,"timestamp_seconds":1783895170,"priority":1,"record_length":96,"hex_timestamp":"0000019f58701bd0"} 
[2026-07-13 04:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 04:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677086464001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677086464001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:01:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:01:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677086464001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":132290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:01:42] local.INFO: GPS data processed {"connection_id":132290,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:01:42] local.INFO: Acknowledgment sent {"connection_id":132290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:02:12] local.INFO: TCP Data received {"connection_id":132290,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5874b398012d7f914005afd9380000011b25..."} 
[2026-07-13 04:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5874b398012d7f914005afd9380000011b25..."} 
[2026-07-13 04:02:12] local.INFO: Processing buffer {"connection_id":132290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5874b398012d7f914005afd9380000011b25..."} 
[2026-07-13 04:02:12] local.INFO: Packet analysis {"connection_id":132290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5874"} 
[2026-07-13 04:02:12] local.INFO: Extracted packet for processing {"connection_id":132290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5874"} 
[2026-07-13 04:02:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677163520001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783895471000,"timestamp_ms":1783895471000,"timestamp_seconds":1783895471,"priority":1,"record_length":96,"hex_timestamp":"0000019f5874b398"} 
[2026-07-13 04:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677163520001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677163520001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:02:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:02:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677163520001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":132290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:02:12] local.INFO: GPS data processed {"connection_id":132290,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:02:12] local.INFO: Acknowledgment sent {"connection_id":132290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:02:35] local.INFO: TCP Data received {"connection_id":129985,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:02:35] local.INFO: Processing buffer {"connection_id":129985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:02:35] local.INFO: IMEI packet received {"connection_id":129985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":129985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:02:41] local.INFO: TCP Data received {"connection_id":129985,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:02:41] local.INFO: Processing buffer {"connection_id":129985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:02:41] local.INFO: IMEI packet received {"connection_id":129985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":129985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:02:42] local.INFO: TCP Data received {"connection_id":129985,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f5874b398012d7f914005afd9380000011b25..."} 
[2026-07-13 04:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5874b398012d7f914005afd9380000011b25..."} 
[2026-07-13 04:02:42] local.INFO: Processing buffer {"connection_id":129985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5874b398012d7f914005afd9380000011b25..."} 
[2026-07-13 04:02:42] local.INFO: Packet analysis {"connection_id":129985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5874"} 
[2026-07-13 04:02:42] local.INFO: Extracted packet for processing {"connection_id":129985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5874"} 
[2026-07-13 04:02:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677163520001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783895471000,"timestamp_ms":1783895471000,"timestamp_seconds":1783895471,"priority":1,"record_length":96,"hex_timestamp":"0000019f5874b398"} 
[2026-07-13 04:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677163520001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677163520001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:02:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:02:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677163520001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":129985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:02:42] local.INFO: GPS data processed {"connection_id":129985,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:02:42] local.INFO: Acknowledgment sent {"connection_id":129985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:03:13] local.INFO: TCP Data received {"connection_id":129985,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f5874b398012d7f914005afd9380000011b25..."} 
[2026-07-13 04:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5874b398012d7f914005afd9380000011b25..."} 
[2026-07-13 04:03:13] local.INFO: Processing buffer {"connection_id":129985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5874b398012d7f914005afd9380000011b25..."} 
[2026-07-13 04:03:13] local.INFO: Packet analysis {"connection_id":129985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5874"} 
[2026-07-13 04:03:13] local.INFO: Extracted packet for processing {"connection_id":129985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5874"} 
[2026-07-13 04:03:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677163520001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783895471000,"timestamp_ms":1783895471000,"timestamp_seconds":1783895471,"priority":1,"record_length":96,"hex_timestamp":"0000019f5874b398"} 
[2026-07-13 04:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:03:13] 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-07-13 04:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677163520001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677163520001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:03:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:03:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677163520001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":129985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:03:13] local.INFO: GPS data processed {"connection_id":129985,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:03:13] local.INFO: Acknowledgment sent {"connection_id":129985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:03:35] local.INFO: TCP Data received {"connection_id":130180,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:03:35] local.INFO: Processing buffer {"connection_id":130180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:03:35] local.INFO: IMEI packet received {"connection_id":130180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":130180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:03:41] local.INFO: TCP Data received {"connection_id":130180,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:03:41] local.INFO: Processing buffer {"connection_id":130180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:03:41] local.INFO: IMEI packet received {"connection_id":130180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":130180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:03:41] local.INFO: TCP Data received {"connection_id":130180,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5874b398012d7f914005afd9380000011b25..."} 
[2026-07-13 04:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5874b398012d7f914005afd9380000011b25..."} 
[2026-07-13 04:03:41] local.INFO: Processing buffer {"connection_id":130180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5874b398012d7f914005afd9380000011b25..."} 
[2026-07-13 04:03:41] local.INFO: Packet analysis {"connection_id":130180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5874"} 
[2026-07-13 04:03:41] local.INFO: Extracted packet for processing {"connection_id":130180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5874"} 
[2026-07-13 04:03:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677163520001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783895471000,"timestamp_ms":1783895471000,"timestamp_seconds":1783895471,"priority":1,"record_length":96,"hex_timestamp":"0000019f5874b398"} 
[2026-07-13 04:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677163520001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677163520001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:03:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677163520001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":130180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:03:41] local.INFO: GPS data processed {"connection_id":130180,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:03:41] local.INFO: Acknowledgment sent {"connection_id":130180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:04:12] local.INFO: TCP Data received {"connection_id":130180,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5874b398012d7f914005afd9380000011b25..."} 
[2026-07-13 04:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5874b398012d7f914005afd9380000011b25..."} 
[2026-07-13 04:04:12] local.INFO: Processing buffer {"connection_id":130180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5874b398012d7f914005afd9380000011b25..."} 
[2026-07-13 04:04:12] local.INFO: Packet analysis {"connection_id":130180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5874"} 
[2026-07-13 04:04:12] local.INFO: Extracted packet for processing {"connection_id":130180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5874"} 
[2026-07-13 04:04:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677163520001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783895471000,"timestamp_ms":1783895471000,"timestamp_seconds":1783895471,"priority":1,"record_length":96,"hex_timestamp":"0000019f5874b398"} 
[2026-07-13 04:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677163520001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677163520001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:04:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:04:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677163520001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":130180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:04:12] local.INFO: GPS data processed {"connection_id":130180,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:04:12] local.INFO: Acknowledgment sent {"connection_id":130180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:04:35] local.INFO: TCP Data received {"connection_id":130181,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:04:35] local.INFO: Processing buffer {"connection_id":130181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:04:35] local.INFO: IMEI packet received {"connection_id":130181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":130181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:04:40] local.INFO: TCP Data received {"connection_id":130181,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:04:40] local.INFO: Processing buffer {"connection_id":130181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:04:40] local.INFO: IMEI packet received {"connection_id":130181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":130181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:04:41] local.INFO: TCP Data received {"connection_id":130181,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5874b398012d7f914005afd9380000011b25..."} 
[2026-07-13 04:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5874b398012d7f914005afd9380000011b25..."} 
[2026-07-13 04:04:41] local.INFO: Processing buffer {"connection_id":130181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5874b398012d7f914005afd9380000011b25..."} 
[2026-07-13 04:04:41] local.INFO: Packet analysis {"connection_id":130181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5874"} 
[2026-07-13 04:04:41] local.INFO: Extracted packet for processing {"connection_id":130181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5874"} 
[2026-07-13 04:04:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677163520001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783895471000,"timestamp_ms":1783895471000,"timestamp_seconds":1783895471,"priority":1,"record_length":96,"hex_timestamp":"0000019f5874b398"} 
[2026-07-13 04:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677163520001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677163520001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:04:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677163520001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":130181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:04:41] local.INFO: GPS data processed {"connection_id":130181,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:04:41] local.INFO: Acknowledgment sent {"connection_id":130181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:05:13] local.INFO: TCP Data received {"connection_id":130181,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5874b398012d7f914005afd9380000011b25..."} 
[2026-07-13 04:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5874b398012d7f914005afd9380000011b25..."} 
[2026-07-13 04:05:13] local.INFO: Processing buffer {"connection_id":130181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5874b398012d7f914005afd9380000011b25..."} 
[2026-07-13 04:05:13] local.INFO: Packet analysis {"connection_id":130181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5874"} 
[2026-07-13 04:05:13] local.INFO: Extracted packet for processing {"connection_id":130181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5874"} 
[2026-07-13 04:05:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677163520001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783895471000,"timestamp_ms":1783895471000,"timestamp_seconds":1783895471,"priority":1,"record_length":96,"hex_timestamp":"0000019f5874b398"} 
[2026-07-13 04:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:05:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677163520001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677163520001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:05:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:05:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677163520001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":130181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:05:13] local.INFO: GPS data processed {"connection_id":130181,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:05:13] local.INFO: Acknowledgment sent {"connection_id":130181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:05:41] local.INFO: TCP Data received {"connection_id":129986,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:05:41] local.INFO: Processing buffer {"connection_id":129986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:05:41] local.INFO: IMEI packet received {"connection_id":129986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":129986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:05:46] local.INFO: TCP Data received {"connection_id":129986,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:05:46] local.INFO: Processing buffer {"connection_id":129986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:05:46] local.INFO: IMEI packet received {"connection_id":129986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":129986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:05:47] local.INFO: TCP Data received {"connection_id":129986,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5874b398012d7f914005afd9380000011b25..."} 
[2026-07-13 04:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5874b398012d7f914005afd9380000011b25..."} 
[2026-07-13 04:05:47] local.INFO: Processing buffer {"connection_id":129986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5874b398012d7f914005afd9380000011b25..."} 
[2026-07-13 04:05:47] local.INFO: Packet analysis {"connection_id":129986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5874"} 
[2026-07-13 04:05:47] local.INFO: Extracted packet for processing {"connection_id":129986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5874"} 
[2026-07-13 04:05:47] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677163520001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783895471000,"timestamp_ms":1783895471000,"timestamp_seconds":1783895471,"priority":1,"record_length":96,"hex_timestamp":"0000019f5874b398"} 
[2026-07-13 04:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":129986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":129986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":129986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677163520001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677163520001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:05:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:05:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677163520001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":129986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:05:47] local.INFO: GPS data processed {"connection_id":129986,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:05:47] local.INFO: Acknowledgment sent {"connection_id":129986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:05:51] local.INFO: TCP Data received {"connection_id":129986,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5874b398012d7f914005afd9380000011b25..."} 
[2026-07-13 04:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5874b398012d7f914005afd9380000011b25..."} 
[2026-07-13 04:05:51] local.INFO: Processing buffer {"connection_id":129986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5874b398012d7f914005afd9380000011b25..."} 
[2026-07-13 04:05:51] local.INFO: Packet analysis {"connection_id":129986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5874"} 
[2026-07-13 04:05:51] local.INFO: Extracted packet for processing {"connection_id":129986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5874"} 
[2026-07-13 04:05:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677163520001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783895471000,"timestamp_ms":1783895471000,"timestamp_seconds":1783895471,"priority":1,"record_length":96,"hex_timestamp":"0000019f5874b398"} 
[2026-07-13 04:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":129986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":129986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":129986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677163520001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677163520001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:05:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:05:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677163520001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":129986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:05:51] local.INFO: GPS data processed {"connection_id":129986,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:05:51] local.INFO: Acknowledgment sent {"connection_id":129986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:06:36] local.INFO: TCP Data received {"connection_id":130182,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:06:36] local.INFO: Processing buffer {"connection_id":130182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:06:36] local.INFO: IMEI packet received {"connection_id":130182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":130182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:06:41] local.INFO: TCP Data received {"connection_id":130182,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:06:41] local.INFO: Processing buffer {"connection_id":130182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:06:41] local.INFO: IMEI packet received {"connection_id":130182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":130182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:06:42] local.INFO: TCP Data received {"connection_id":130182,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5874b398012d7f914005afd9380000011b25..."} 
[2026-07-13 04:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5874b398012d7f914005afd9380000011b25..."} 
[2026-07-13 04:06:42] local.INFO: Processing buffer {"connection_id":130182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5874b398012d7f914005afd9380000011b25..."} 
[2026-07-13 04:06:42] local.INFO: Packet analysis {"connection_id":130182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5874"} 
[2026-07-13 04:06:42] local.INFO: Extracted packet for processing {"connection_id":130182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5874"} 
[2026-07-13 04:06:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677163520001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783895471000,"timestamp_ms":1783895471000,"timestamp_seconds":1783895471,"priority":1,"record_length":96,"hex_timestamp":"0000019f5874b398"} 
[2026-07-13 04:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677163520001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677163520001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:06:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:06:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677163520001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":130182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:06:42] local.INFO: GPS data processed {"connection_id":130182,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:06:42] local.INFO: Acknowledgment sent {"connection_id":130182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:06:56] local.INFO: TCP Data received {"connection_id":132294,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132294,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:06:56] local.INFO: Processing buffer {"connection_id":132294,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:06:56] local.INFO: IMEI packet received {"connection_id":132294,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 04:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":132294,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:07:13] local.INFO: TCP Data received {"connection_id":130182,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58794b60012d7f914005afd9380000011b26..."} 
[2026-07-13 04:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58794b60012d7f914005afd9380000011b26..."} 
[2026-07-13 04:07:13] local.INFO: Processing buffer {"connection_id":130182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58794b60012d7f914005afd9380000011b26..."} 
[2026-07-13 04:07:13] local.INFO: Packet analysis {"connection_id":130182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5879"} 
[2026-07-13 04:07:13] local.INFO: Extracted packet for processing {"connection_id":130182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5879"} 
[2026-07-13 04:07:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677240576001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783895772000,"timestamp_ms":1783895772000,"timestamp_seconds":1783895772,"priority":1,"record_length":96,"hex_timestamp":"0000019f58794b60"} 
[2026-07-13 04:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677240576001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677240576001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:07:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:07:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677240576001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":130182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:07:13] local.INFO: GPS data processed {"connection_id":130182,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:07:13] local.INFO: Acknowledgment sent {"connection_id":130182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:07:35] local.INFO: TCP Data received {"connection_id":132295,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:07:35] local.INFO: Processing buffer {"connection_id":132295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:07:35] local.INFO: IMEI packet received {"connection_id":132295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":132295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:07:41] local.INFO: TCP Data received {"connection_id":132295,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:07:41] local.INFO: Processing buffer {"connection_id":132295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:07:41] local.INFO: IMEI packet received {"connection_id":132295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":132295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:07:41] local.INFO: TCP Data received {"connection_id":132295,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f58794b60012d7f914005afd9380000011b26..."} 
[2026-07-13 04:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58794b60012d7f914005afd9380000011b26..."} 
[2026-07-13 04:07:41] local.INFO: Processing buffer {"connection_id":132295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58794b60012d7f914005afd9380000011b26..."} 
[2026-07-13 04:07:41] local.INFO: Packet analysis {"connection_id":132295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5879"} 
[2026-07-13 04:07:41] local.INFO: Extracted packet for processing {"connection_id":132295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5879"} 
[2026-07-13 04:07:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677240576001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783895772000,"timestamp_ms":1783895772000,"timestamp_seconds":1783895772,"priority":1,"record_length":96,"hex_timestamp":"0000019f58794b60"} 
[2026-07-13 04:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677240576001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677240576001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:07:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677240576001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":132295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:07:41] local.INFO: GPS data processed {"connection_id":132295,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:07:41] local.INFO: Acknowledgment sent {"connection_id":132295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:07:46] local.INFO: TCP Data received {"connection_id":130183,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130183,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:07:46] local.INFO: Processing buffer {"connection_id":130183,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:07:46] local.INFO: IMEI packet received {"connection_id":130183,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 04:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":130183,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:08:13] local.INFO: TCP Data received {"connection_id":132295,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f58794b60012d7f914005afd9380000011b26..."} 
[2026-07-13 04:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58794b60012d7f914005afd9380000011b26..."} 
[2026-07-13 04:08:13] local.INFO: Processing buffer {"connection_id":132295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58794b60012d7f914005afd9380000011b26..."} 
[2026-07-13 04:08:13] local.INFO: Packet analysis {"connection_id":132295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5879"} 
[2026-07-13 04:08:13] local.INFO: Extracted packet for processing {"connection_id":132295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5879"} 
[2026-07-13 04:08:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677240576001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783895772000,"timestamp_ms":1783895772000,"timestamp_seconds":1783895772,"priority":1,"record_length":96,"hex_timestamp":"0000019f58794b60"} 
[2026-07-13 04:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677240576001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677240576001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:08:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:08:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677240576001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":132295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:08:13] local.INFO: GPS data processed {"connection_id":132295,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:08:13] local.INFO: Acknowledgment sent {"connection_id":132295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:08:35] local.INFO: TCP Data received {"connection_id":132296,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:08:35] local.INFO: Processing buffer {"connection_id":132296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:08:35] local.INFO: IMEI packet received {"connection_id":132296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":132296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:08:41] local.INFO: TCP Data received {"connection_id":132296,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:08:41] local.INFO: Processing buffer {"connection_id":132296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:08:41] local.INFO: IMEI packet received {"connection_id":132296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":132296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:08:42] local.INFO: TCP Data received {"connection_id":132296,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f58794b60012d7f914005afd9380000011b26..."} 
[2026-07-13 04:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58794b60012d7f914005afd9380000011b26..."} 
[2026-07-13 04:08:42] local.INFO: Processing buffer {"connection_id":132296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58794b60012d7f914005afd9380000011b26..."} 
[2026-07-13 04:08:42] local.INFO: Packet analysis {"connection_id":132296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5879"} 
[2026-07-13 04:08:42] local.INFO: Extracted packet for processing {"connection_id":132296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5879"} 
[2026-07-13 04:08:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677240576001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783895772000,"timestamp_ms":1783895772000,"timestamp_seconds":1783895772,"priority":1,"record_length":96,"hex_timestamp":"0000019f58794b60"} 
[2026-07-13 04:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677240576001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677240576001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:08:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:08:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677240576001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":132296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:08:42] local.INFO: GPS data processed {"connection_id":132296,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:08:42] local.INFO: Acknowledgment sent {"connection_id":132296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:08:58] local.INFO: TCP Data received {"connection_id":130964,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-13 04:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130964,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-13 04:08:58] local.INFO: Processing buffer {"connection_id":130964,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-07-13 04:08:58] local.INFO: Packet analysis {"connection_id":130964,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-07-13 04:08:58] local.INFO: Extracted packet for processing {"connection_id":130964,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-07-13 04:08:58] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 04:08:58] 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-07-13 04:08:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-07-13 04:08:58] 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-07-13 04:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-07-13 04:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-07-13 04:08:58] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130964,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-07-13 04:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130964,"device_imei":null,"avl_records_count":1} 
[2026-07-13 04:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130964,"device_imei":null,"avl_records_count":1} 
[2026-07-13 04:08:58] 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-07-13 04:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":130964,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 04:08:58] local.INFO: GPS data processed {"connection_id":130964,"processed":0,"errors":0,"total":1} 
[2026-07-13 04:08:58] local.INFO: Acknowledgment sent {"connection_id":130964,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:09:13] local.INFO: TCP Data received {"connection_id":132296,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f58794b60012d7f914005afd9380000011b26..."} 
[2026-07-13 04:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58794b60012d7f914005afd9380000011b26..."} 
[2026-07-13 04:09:13] local.INFO: Processing buffer {"connection_id":132296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58794b60012d7f914005afd9380000011b26..."} 
[2026-07-13 04:09:13] local.INFO: Packet analysis {"connection_id":132296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5879"} 
[2026-07-13 04:09:13] local.INFO: Extracted packet for processing {"connection_id":132296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5879"} 
[2026-07-13 04:09:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677240576001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783895772000,"timestamp_ms":1783895772000,"timestamp_seconds":1783895772,"priority":1,"record_length":96,"hex_timestamp":"0000019f58794b60"} 
[2026-07-13 04:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677240576001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677240576001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:09:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:09:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677240576001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":132296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:09:13] local.INFO: GPS data processed {"connection_id":132296,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:09:13] local.INFO: Acknowledgment sent {"connection_id":132296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:09:35] local.INFO: TCP Data received {"connection_id":130965,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:09:35] local.INFO: Processing buffer {"connection_id":130965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:09:35] local.INFO: IMEI packet received {"connection_id":130965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":130965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:09:41] local.INFO: TCP Data received {"connection_id":130965,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:09:41] local.INFO: Processing buffer {"connection_id":130965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:09:41] local.INFO: IMEI packet received {"connection_id":130965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":130965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:09:41] local.INFO: TCP Data received {"connection_id":130965,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f58794b60012d7f914005afd9380000011b26..."} 
[2026-07-13 04:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58794b60012d7f914005afd9380000011b26..."} 
[2026-07-13 04:09:41] local.INFO: Processing buffer {"connection_id":130965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58794b60012d7f914005afd9380000011b26..."} 
[2026-07-13 04:09:41] local.INFO: Packet analysis {"connection_id":130965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5879"} 
[2026-07-13 04:09:41] local.INFO: Extracted packet for processing {"connection_id":130965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5879"} 
[2026-07-13 04:09:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677240576001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783895772000,"timestamp_ms":1783895772000,"timestamp_seconds":1783895772,"priority":1,"record_length":96,"hex_timestamp":"0000019f58794b60"} 
[2026-07-13 04:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677240576001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677240576001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:09:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677240576001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":130965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:09:42] local.INFO: GPS data processed {"connection_id":130965,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:09:42] local.INFO: Acknowledgment sent {"connection_id":130965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:10:13] local.INFO: TCP Data received {"connection_id":130965,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f58794b60012d7f914005afd9380000011b26..."} 
[2026-07-13 04:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58794b60012d7f914005afd9380000011b26..."} 
[2026-07-13 04:10:13] local.INFO: Processing buffer {"connection_id":130965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58794b60012d7f914005afd9380000011b26..."} 
[2026-07-13 04:10:13] local.INFO: Packet analysis {"connection_id":130965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5879"} 
[2026-07-13 04:10:13] local.INFO: Extracted packet for processing {"connection_id":130965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5879"} 
[2026-07-13 04:10:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677240576001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783895772000,"timestamp_ms":1783895772000,"timestamp_seconds":1783895772,"priority":1,"record_length":96,"hex_timestamp":"0000019f58794b60"} 
[2026-07-13 04:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677240576001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677240576001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:10:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:10:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677240576001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":130965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:10:13] local.INFO: GPS data processed {"connection_id":130965,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:10:13] local.INFO: Acknowledgment sent {"connection_id":130965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:10:41] local.INFO: TCP Data received {"connection_id":130966,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:10:41] local.INFO: Processing buffer {"connection_id":130966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:10:41] local.INFO: IMEI packet received {"connection_id":130966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":130966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:10:46] local.INFO: TCP Data received {"connection_id":130966,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:10:46] local.INFO: Processing buffer {"connection_id":130966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:10:46] local.INFO: IMEI packet received {"connection_id":130966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":130966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:10:47] local.INFO: TCP Data received {"connection_id":130966,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f58794b60012d7f914005afd9380000011b26..."} 
[2026-07-13 04:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58794b60012d7f914005afd9380000011b26..."} 
[2026-07-13 04:10:47] local.INFO: Processing buffer {"connection_id":130966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58794b60012d7f914005afd9380000011b26..."} 
[2026-07-13 04:10:47] local.INFO: Packet analysis {"connection_id":130966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5879"} 
[2026-07-13 04:10:47] local.INFO: Extracted packet for processing {"connection_id":130966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5879"} 
[2026-07-13 04:10:47] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677240576001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783895772000,"timestamp_ms":1783895772000,"timestamp_seconds":1783895772,"priority":1,"record_length":96,"hex_timestamp":"0000019f58794b60"} 
[2026-07-13 04:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:10:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677240576001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677240576001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:10:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:10:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677240576001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":130966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:10:47] local.INFO: GPS data processed {"connection_id":130966,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:10:47] local.INFO: Acknowledgment sent {"connection_id":130966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:10:51] local.INFO: TCP Data received {"connection_id":130966,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f58794b60012d7f914005afd9380000011b26..."} 
[2026-07-13 04:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58794b60012d7f914005afd9380000011b26..."} 
[2026-07-13 04:10:51] local.INFO: Processing buffer {"connection_id":130966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58794b60012d7f914005afd9380000011b26..."} 
[2026-07-13 04:10:51] local.INFO: Packet analysis {"connection_id":130966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5879"} 
[2026-07-13 04:10:51] local.INFO: Extracted packet for processing {"connection_id":130966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5879"} 
[2026-07-13 04:10:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677240576001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783895772000,"timestamp_ms":1783895772000,"timestamp_seconds":1783895772,"priority":1,"record_length":96,"hex_timestamp":"0000019f58794b60"} 
[2026-07-13 04:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04: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-07-13 04:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:10: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-07-13 04:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677240576001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677240576001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:10:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:10:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677240576001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":130966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:10:51] local.INFO: GPS data processed {"connection_id":130966,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:10:51] local.INFO: Acknowledgment sent {"connection_id":130966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:11:35] local.INFO: TCP Data received {"connection_id":130184,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:11:35] local.INFO: Processing buffer {"connection_id":130184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:11:35] local.INFO: IMEI packet received {"connection_id":130184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":130184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:11:40] local.INFO: TCP Data received {"connection_id":130184,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:11:40] local.INFO: Processing buffer {"connection_id":130184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:11:40] local.INFO: IMEI packet received {"connection_id":130184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":130184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:11:41] local.INFO: TCP Data received {"connection_id":130184,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f58794b60012d7f914005afd9380000011b26..."} 
[2026-07-13 04:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58794b60012d7f914005afd9380000011b26..."} 
[2026-07-13 04:11:41] local.INFO: Processing buffer {"connection_id":130184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58794b60012d7f914005afd9380000011b26..."} 
[2026-07-13 04:11:41] local.INFO: Packet analysis {"connection_id":130184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5879"} 
[2026-07-13 04:11:41] local.INFO: Extracted packet for processing {"connection_id":130184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5879"} 
[2026-07-13 04:11:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677240576001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783895772000,"timestamp_ms":1783895772000,"timestamp_seconds":1783895772,"priority":1,"record_length":96,"hex_timestamp":"0000019f58794b60"} 
[2026-07-13 04:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677240576001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677240576001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:11:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:11:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677240576001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":130184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:11:41] local.INFO: GPS data processed {"connection_id":130184,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:11:41] local.INFO: Acknowledgment sent {"connection_id":130184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:12:12] local.INFO: TCP Data received {"connection_id":130184,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f587de328012d7f914005afd9380000011b23..."} 
[2026-07-13 04:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f587de328012d7f914005afd9380000011b23..."} 
[2026-07-13 04:12:12] local.INFO: Processing buffer {"connection_id":130184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f587de328012d7f914005afd9380000011b23..."} 
[2026-07-13 04:12:12] local.INFO: Packet analysis {"connection_id":130184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f587d"} 
[2026-07-13 04:12:12] local.INFO: Extracted packet for processing {"connection_id":130184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f587d"} 
[2026-07-13 04:12:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677317632001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783896073000,"timestamp_ms":1783896073000,"timestamp_seconds":1783896073,"priority":1,"record_length":96,"hex_timestamp":"0000019f587de328"} 
[2026-07-13 04:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 04:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677317632001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677317632001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:12:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:12:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677317632001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":130184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:12:12] local.INFO: GPS data processed {"connection_id":130184,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:12:12] local.INFO: Acknowledgment sent {"connection_id":130184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:12:35] local.INFO: TCP Data received {"connection_id":129989,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:12:35] local.INFO: Processing buffer {"connection_id":129989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:12:35] local.INFO: IMEI packet received {"connection_id":129989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":129989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:12:40] local.INFO: TCP Data received {"connection_id":129989,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:12:40] local.INFO: Processing buffer {"connection_id":129989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:12:40] local.INFO: IMEI packet received {"connection_id":129989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":129989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:12:42] local.INFO: TCP Data received {"connection_id":129989,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f587de328012d7f914005afd9380000011b23..."} 
[2026-07-13 04:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f587de328012d7f914005afd9380000011b23..."} 
[2026-07-13 04:12:42] local.INFO: Processing buffer {"connection_id":129989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f587de328012d7f914005afd9380000011b23..."} 
[2026-07-13 04:12:42] local.INFO: Packet analysis {"connection_id":129989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f587d"} 
[2026-07-13 04:12:42] local.INFO: Extracted packet for processing {"connection_id":129989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f587d"} 
[2026-07-13 04:12:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04: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-07-13 04:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677317632001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783896073000,"timestamp_ms":1783896073000,"timestamp_seconds":1783896073,"priority":1,"record_length":96,"hex_timestamp":"0000019f587de328"} 
[2026-07-13 04:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 04:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04: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-07-13 04:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677317632001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677317632001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:12:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:12:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677317632001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":129989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:12:42] local.INFO: GPS data processed {"connection_id":129989,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:12:42] local.INFO: Acknowledgment sent {"connection_id":129989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:13:13] local.INFO: TCP Data received {"connection_id":129989,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f587de328012d7f914005afd9380000011b23..."} 
[2026-07-13 04:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f587de328012d7f914005afd9380000011b23..."} 
[2026-07-13 04:13:13] local.INFO: Processing buffer {"connection_id":129989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f587de328012d7f914005afd9380000011b23..."} 
[2026-07-13 04:13:13] local.INFO: Packet analysis {"connection_id":129989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f587d"} 
[2026-07-13 04:13:13] local.INFO: Extracted packet for processing {"connection_id":129989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f587d"} 
[2026-07-13 04:13:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677317632001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783896073000,"timestamp_ms":1783896073000,"timestamp_seconds":1783896073,"priority":1,"record_length":96,"hex_timestamp":"0000019f587de328"} 
[2026-07-13 04:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 04:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677317632001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677317632001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:13:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:13:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677317632001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":129989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:13:13] local.INFO: GPS data processed {"connection_id":129989,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:13:13] local.INFO: Acknowledgment sent {"connection_id":129989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:13:18] local.INFO: TCP Data received {"connection_id":130968,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130968,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:13:18] local.INFO: Processing buffer {"connection_id":130968,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:13:18] local.INFO: IMEI packet received {"connection_id":130968,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 04:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":130968,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:13:35] local.INFO: TCP Data received {"connection_id":130969,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:13:35] local.INFO: Processing buffer {"connection_id":130969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:13:35] local.INFO: IMEI packet received {"connection_id":130969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":130969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:13:41] local.INFO: TCP Data received {"connection_id":130185,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130185,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:13:41] local.INFO: Processing buffer {"connection_id":130185,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:13:41] local.INFO: IMEI packet received {"connection_id":130185,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 04:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":130185,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:13:41] local.INFO: TCP Data received {"connection_id":130969,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:13:41] local.INFO: Processing buffer {"connection_id":130969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:13:41] local.INFO: IMEI packet received {"connection_id":130969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":130969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:13:41] local.INFO: TCP Data received {"connection_id":130969,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f587de328012d7f914005afd9380000011b23..."} 
[2026-07-13 04:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f587de328012d7f914005afd9380000011b23..."} 
[2026-07-13 04:13:41] local.INFO: Processing buffer {"connection_id":130969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f587de328012d7f914005afd9380000011b23..."} 
[2026-07-13 04:13:41] local.INFO: Packet analysis {"connection_id":130969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f587d"} 
[2026-07-13 04:13:41] local.INFO: Extracted packet for processing {"connection_id":130969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f587d"} 
[2026-07-13 04:13:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677317632001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783896073000,"timestamp_ms":1783896073000,"timestamp_seconds":1783896073,"priority":1,"record_length":96,"hex_timestamp":"0000019f587de328"} 
[2026-07-13 04:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 04:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677317632001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677317632001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:13:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:13:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677317632001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":130969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:13:41] local.INFO: GPS data processed {"connection_id":130969,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:13:41] local.INFO: Acknowledgment sent {"connection_id":130969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:14:13] local.INFO: TCP Data received {"connection_id":130969,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f587de328012d7f914005afd9380000011b23..."} 
[2026-07-13 04:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f587de328012d7f914005afd9380000011b23..."} 
[2026-07-13 04:14:13] local.INFO: Processing buffer {"connection_id":130969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f587de328012d7f914005afd9380000011b23..."} 
[2026-07-13 04:14:13] local.INFO: Packet analysis {"connection_id":130969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f587d"} 
[2026-07-13 04:14:13] local.INFO: Extracted packet for processing {"connection_id":130969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f587d"} 
[2026-07-13 04:14:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677317632001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783896073000,"timestamp_ms":1783896073000,"timestamp_seconds":1783896073,"priority":1,"record_length":96,"hex_timestamp":"0000019f587de328"} 
[2026-07-13 04:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 04:14:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677317632001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677317632001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:14:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:14:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677317632001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":130969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:14:13] local.INFO: GPS data processed {"connection_id":130969,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:14:13] local.INFO: Acknowledgment sent {"connection_id":130969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:14:41] local.INFO: TCP Data received {"connection_id":130970,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:14:41] local.INFO: Processing buffer {"connection_id":130970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:14:41] local.INFO: IMEI packet received {"connection_id":130970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":130970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:14:46] local.INFO: TCP Data received {"connection_id":130970,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:14:46] local.INFO: Processing buffer {"connection_id":130970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:14:46] local.INFO: IMEI packet received {"connection_id":130970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":130970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:14:47] local.INFO: TCP Data received {"connection_id":130970,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f587de328012d7f914005afd9380000011b23..."} 
[2026-07-13 04:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f587de328012d7f914005afd9380000011b23..."} 
[2026-07-13 04:14:47] local.INFO: Processing buffer {"connection_id":130970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f587de328012d7f914005afd9380000011b23..."} 
[2026-07-13 04:14:47] local.INFO: Packet analysis {"connection_id":130970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f587d"} 
[2026-07-13 04:14:47] local.INFO: Extracted packet for processing {"connection_id":130970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f587d"} 
[2026-07-13 04:14:47] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677317632001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783896073000,"timestamp_ms":1783896073000,"timestamp_seconds":1783896073,"priority":1,"record_length":96,"hex_timestamp":"0000019f587de328"} 
[2026-07-13 04:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 04:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677317632001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677317632001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:14:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:14:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677317632001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":130970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:14:47] local.INFO: GPS data processed {"connection_id":130970,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:14:47] local.INFO: Acknowledgment sent {"connection_id":130970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:14:51] local.INFO: TCP Data received {"connection_id":130970,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f587de328012d7f914005afd9380000011b23..."} 
[2026-07-13 04:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f587de328012d7f914005afd9380000011b23..."} 
[2026-07-13 04:14:51] local.INFO: Processing buffer {"connection_id":130970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f587de328012d7f914005afd9380000011b23..."} 
[2026-07-13 04:14:51] local.INFO: Packet analysis {"connection_id":130970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f587d"} 
[2026-07-13 04:14:51] local.INFO: Extracted packet for processing {"connection_id":130970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f587d"} 
[2026-07-13 04:14:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677317632001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783896073000,"timestamp_ms":1783896073000,"timestamp_seconds":1783896073,"priority":1,"record_length":96,"hex_timestamp":"0000019f587de328"} 
[2026-07-13 04:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 04:14: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-07-13 04:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:14: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-07-13 04:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677317632001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677317632001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:14:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:14:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677317632001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":130970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:14:51] local.INFO: GPS data processed {"connection_id":130970,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:14:51] local.INFO: Acknowledgment sent {"connection_id":130970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:15:35] local.INFO: TCP Data received {"connection_id":130186,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:15:35] local.INFO: Processing buffer {"connection_id":130186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:15:35] local.INFO: IMEI packet received {"connection_id":130186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":130186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:15:41] local.INFO: TCP Data received {"connection_id":130186,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:15:41] local.INFO: Processing buffer {"connection_id":130186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:15:41] local.INFO: IMEI packet received {"connection_id":130186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":130186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:15:41] local.INFO: TCP Data received {"connection_id":130186,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f587de328012d7f914005afd9380000011b23..."} 
[2026-07-13 04:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f587de328012d7f914005afd9380000011b23..."} 
[2026-07-13 04:15:41] local.INFO: Processing buffer {"connection_id":130186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f587de328012d7f914005afd9380000011b23..."} 
[2026-07-13 04:15:41] local.INFO: Packet analysis {"connection_id":130186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f587d"} 
[2026-07-13 04:15:41] local.INFO: Extracted packet for processing {"connection_id":130186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f587d"} 
[2026-07-13 04:15:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677317632001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783896073000,"timestamp_ms":1783896073000,"timestamp_seconds":1783896073,"priority":1,"record_length":96,"hex_timestamp":"0000019f587de328"} 
[2026-07-13 04:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 04:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677317632001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677317632001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:15:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:15:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677317632001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":130186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:15:42] local.INFO: GPS data processed {"connection_id":130186,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:15:42] local.INFO: Acknowledgment sent {"connection_id":130186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:16:13] local.INFO: TCP Data received {"connection_id":130186,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f587de328012d7f914005afd9380000011b23..."} 
[2026-07-13 04:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f587de328012d7f914005afd9380000011b23..."} 
[2026-07-13 04:16:13] local.INFO: Processing buffer {"connection_id":130186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f587de328012d7f914005afd9380000011b23..."} 
[2026-07-13 04:16:13] local.INFO: Packet analysis {"connection_id":130186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f587d"} 
[2026-07-13 04:16:13] local.INFO: Extracted packet for processing {"connection_id":130186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f587d"} 
[2026-07-13 04:16:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677317632001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783896073000,"timestamp_ms":1783896073000,"timestamp_seconds":1783896073,"priority":1,"record_length":96,"hex_timestamp":"0000019f587de328"} 
[2026-07-13 04:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 04:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:16:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677317632001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677317632001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:16:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:16:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677317632001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":130186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:16:13] local.INFO: GPS data processed {"connection_id":130186,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:16:13] local.INFO: Acknowledgment sent {"connection_id":130186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:16:35] local.INFO: TCP Data received {"connection_id":132299,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:16:35] local.INFO: Processing buffer {"connection_id":132299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:16:35] local.INFO: IMEI packet received {"connection_id":132299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":132299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:16:41] local.INFO: TCP Data received {"connection_id":132299,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:16:41] local.INFO: Processing buffer {"connection_id":132299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:16:41] local.INFO: IMEI packet received {"connection_id":132299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":132299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:16:42] local.INFO: TCP Data received {"connection_id":132299,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f587de328012d7f914005afd9380000011b23..."} 
[2026-07-13 04:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f587de328012d7f914005afd9380000011b23..."} 
[2026-07-13 04:16:42] local.INFO: Processing buffer {"connection_id":132299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f587de328012d7f914005afd9380000011b23..."} 
[2026-07-13 04:16:42] local.INFO: Packet analysis {"connection_id":132299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f587d"} 
[2026-07-13 04:16:42] local.INFO: Extracted packet for processing {"connection_id":132299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f587d"} 
[2026-07-13 04:16:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677317632001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783896073000,"timestamp_ms":1783896073000,"timestamp_seconds":1783896073,"priority":1,"record_length":96,"hex_timestamp":"0000019f587de328"} 
[2026-07-13 04:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 04:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677317632001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677317632001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:16:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:16:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677317632001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":132299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:16:42] local.INFO: GPS data processed {"connection_id":132299,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:16:42] local.INFO: Acknowledgment sent {"connection_id":132299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:17:12] local.INFO: TCP Data received {"connection_id":132299,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f58827af0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58827af0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:17:12] local.INFO: Processing buffer {"connection_id":132299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58827af0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:17:12] local.INFO: Packet analysis {"connection_id":132299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5882"} 
[2026-07-13 04:17:12] local.INFO: Extracted packet for processing {"connection_id":132299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5882"} 
[2026-07-13 04:17:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677394688001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783896374000,"timestamp_ms":1783896374000,"timestamp_seconds":1783896374,"priority":1,"record_length":96,"hex_timestamp":"0000019f58827af0"} 
[2026-07-13 04:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677394688001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677394688001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:17:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:17:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677394688001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":132299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:17:12] local.INFO: GPS data processed {"connection_id":132299,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:17:12] local.INFO: Acknowledgment sent {"connection_id":132299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:17:35] local.INFO: TCP Data received {"connection_id":130971,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:17:35] local.INFO: Processing buffer {"connection_id":130971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:17:35] local.INFO: IMEI packet received {"connection_id":130971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":130971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:17:41] local.INFO: TCP Data received {"connection_id":130971,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:17:41] local.INFO: Processing buffer {"connection_id":130971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:17:41] local.INFO: IMEI packet received {"connection_id":130971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":130971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:17:42] local.INFO: TCP Data received {"connection_id":130971,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f58827af0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58827af0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:17:42] local.INFO: Processing buffer {"connection_id":130971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58827af0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:17:42] local.INFO: Packet analysis {"connection_id":130971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5882"} 
[2026-07-13 04:17:42] local.INFO: Extracted packet for processing {"connection_id":130971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5882"} 
[2026-07-13 04:17:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677394688001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783896374000,"timestamp_ms":1783896374000,"timestamp_seconds":1783896374,"priority":1,"record_length":96,"hex_timestamp":"0000019f58827af0"} 
[2026-07-13 04:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677394688001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677394688001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:17:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677394688001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":130971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:17:42] local.INFO: GPS data processed {"connection_id":130971,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:17:42] local.INFO: Acknowledgment sent {"connection_id":130971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:17:44] local.INFO: TCP Data received {"connection_id":130188,"ip":"194.165.16.165","data_length":47,"data_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-13 04:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130188,"packet_length":47,"packet_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-13 04:17:44] local.INFO: Processing buffer {"connection_id":130188,"buffer_length":47,"buffer_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-13 04:17:44] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":130188,"buffer_length":47,"first_bytes_hex":"0300002f2ae00000000000436f6f6b69"} 
[2026-07-13 04:18:13] local.INFO: TCP Data received {"connection_id":130971,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f58827af0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58827af0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:18:13] local.INFO: Processing buffer {"connection_id":130971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58827af0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:18:13] local.INFO: Packet analysis {"connection_id":130971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5882"} 
[2026-07-13 04:18:13] local.INFO: Extracted packet for processing {"connection_id":130971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5882"} 
[2026-07-13 04:18:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677394688001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783896374000,"timestamp_ms":1783896374000,"timestamp_seconds":1783896374,"priority":1,"record_length":96,"hex_timestamp":"0000019f58827af0"} 
[2026-07-13 04:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677394688001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677394688001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:18:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:18:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677394688001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":130971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:18:13] local.INFO: GPS data processed {"connection_id":130971,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:18:13] local.INFO: Acknowledgment sent {"connection_id":130971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:18:35] local.INFO: TCP Data received {"connection_id":132302,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:18:35] local.INFO: Processing buffer {"connection_id":132302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:18:35] local.INFO: IMEI packet received {"connection_id":132302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":132302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:18:41] local.INFO: TCP Data received {"connection_id":132302,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:18:41] local.INFO: Processing buffer {"connection_id":132302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:18:41] local.INFO: IMEI packet received {"connection_id":132302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":132302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:18:42] local.INFO: TCP Data received {"connection_id":132302,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f58827af0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58827af0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:18:42] local.INFO: Processing buffer {"connection_id":132302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58827af0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:18:42] local.INFO: Packet analysis {"connection_id":132302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5882"} 
[2026-07-13 04:18:42] local.INFO: Extracted packet for processing {"connection_id":132302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5882"} 
[2026-07-13 04:18:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677394688001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783896374000,"timestamp_ms":1783896374000,"timestamp_seconds":1783896374,"priority":1,"record_length":96,"hex_timestamp":"0000019f58827af0"} 
[2026-07-13 04:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677394688001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677394688001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:18:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:18:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677394688001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":132302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:18:42] local.INFO: GPS data processed {"connection_id":132302,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:18:42] local.INFO: Acknowledgment sent {"connection_id":132302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:19:13] local.INFO: TCP Data received {"connection_id":132302,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f58827af0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58827af0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:19:13] local.INFO: Processing buffer {"connection_id":132302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58827af0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:19:13] local.INFO: Packet analysis {"connection_id":132302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5882"} 
[2026-07-13 04:19:13] local.INFO: Extracted packet for processing {"connection_id":132302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5882"} 
[2026-07-13 04:19:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677394688001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783896374000,"timestamp_ms":1783896374000,"timestamp_seconds":1783896374,"priority":1,"record_length":96,"hex_timestamp":"0000019f58827af0"} 
[2026-07-13 04:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677394688001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677394688001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:19:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:19:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677394688001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":132302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:19:13] local.INFO: GPS data processed {"connection_id":132302,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:19:13] local.INFO: Acknowledgment sent {"connection_id":132302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:19:13] local.INFO: TCP Data received {"connection_id":130189,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130189,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:19:13] local.INFO: Processing buffer {"connection_id":130189,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:19:13] local.INFO: IMEI packet received {"connection_id":130189,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 04:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":130189,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:19:41] local.INFO: TCP Data received {"connection_id":129990,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:19:41] local.INFO: Processing buffer {"connection_id":129990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:19:41] local.INFO: IMEI packet received {"connection_id":129990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 04:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":129990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:19:41] local.INFO: TCP Data received {"connection_id":132303,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:19:41] local.INFO: Processing buffer {"connection_id":132303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:19:41] local.INFO: IMEI packet received {"connection_id":132303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":132303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:19:46] local.INFO: TCP Data received {"connection_id":132303,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:19:46] local.INFO: Processing buffer {"connection_id":132303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:19:46] local.INFO: IMEI packet received {"connection_id":132303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":132303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:19:47] local.INFO: TCP Data received {"connection_id":132303,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f58827af0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58827af0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:19:47] local.INFO: Processing buffer {"connection_id":132303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58827af0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:19:47] local.INFO: Packet analysis {"connection_id":132303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5882"} 
[2026-07-13 04:19:47] local.INFO: Extracted packet for processing {"connection_id":132303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5882"} 
[2026-07-13 04:19:47] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677394688001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783896374000,"timestamp_ms":1783896374000,"timestamp_seconds":1783896374,"priority":1,"record_length":96,"hex_timestamp":"0000019f58827af0"} 
[2026-07-13 04:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:19:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:19:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677394688001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677394688001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:19:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:19:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677394688001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":132303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:19:47] local.INFO: GPS data processed {"connection_id":132303,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:19:47] local.INFO: Acknowledgment sent {"connection_id":132303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:19:51] local.INFO: TCP Data received {"connection_id":132303,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f58827af0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58827af0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:19:51] local.INFO: Processing buffer {"connection_id":132303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58827af0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:19:51] local.INFO: Packet analysis {"connection_id":132303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5882"} 
[2026-07-13 04:19:51] local.INFO: Extracted packet for processing {"connection_id":132303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5882"} 
[2026-07-13 04:19:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 04:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677394688001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783896374000,"timestamp_ms":1783896374000,"timestamp_seconds":1783896374,"priority":1,"record_length":96,"hex_timestamp":"0000019f58827af0"} 
[2026-07-13 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-07-13 04:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 04:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677394688001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677394688001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:19:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:19:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677394688001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":132303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:19:51] local.INFO: GPS data processed {"connection_id":132303,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:19:51] local.INFO: Acknowledgment sent {"connection_id":132303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:20:36] local.INFO: TCP Data received {"connection_id":129991,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:20:36] local.INFO: Processing buffer {"connection_id":129991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:20:36] local.INFO: IMEI packet received {"connection_id":129991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":129991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:20:41] local.INFO: TCP Data received {"connection_id":129991,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:20:41] local.INFO: Processing buffer {"connection_id":129991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:20:41] local.INFO: IMEI packet received {"connection_id":129991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":129991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:20:42] local.INFO: TCP Data received {"connection_id":129991,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f58827af0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58827af0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:20:42] local.INFO: Processing buffer {"connection_id":129991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58827af0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:20:42] local.INFO: Packet analysis {"connection_id":129991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5882"} 
[2026-07-13 04:20:42] local.INFO: Extracted packet for processing {"connection_id":129991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5882"} 
[2026-07-13 04:20:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677394688001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783896374000,"timestamp_ms":1783896374000,"timestamp_seconds":1783896374,"priority":1,"record_length":96,"hex_timestamp":"0000019f58827af0"} 
[2026-07-13 04:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677394688001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677394688001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:20:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:20:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677394688001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":129991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:20:42] local.INFO: GPS data processed {"connection_id":129991,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:20:42] local.INFO: Acknowledgment sent {"connection_id":129991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:21:13] local.INFO: TCP Data received {"connection_id":129991,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f58827af0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58827af0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:21:13] local.INFO: Processing buffer {"connection_id":129991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58827af0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:21:13] local.INFO: Packet analysis {"connection_id":129991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5882"} 
[2026-07-13 04:21:13] local.INFO: Extracted packet for processing {"connection_id":129991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5882"} 
[2026-07-13 04:21:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677394688001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783896374000,"timestamp_ms":1783896374000,"timestamp_seconds":1783896374,"priority":1,"record_length":96,"hex_timestamp":"0000019f58827af0"} 
[2026-07-13 04:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:21:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677394688001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677394688001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:21:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:21:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677394688001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":129991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:21:13] local.INFO: GPS data processed {"connection_id":129991,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:21:13] local.INFO: Acknowledgment sent {"connection_id":129991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:21:35] local.INFO: TCP Data received {"connection_id":129992,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:21:35] local.INFO: Processing buffer {"connection_id":129992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:21:35] local.INFO: IMEI packet received {"connection_id":129992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":129992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:21:41] local.INFO: TCP Data received {"connection_id":129992,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:21:41] local.INFO: Processing buffer {"connection_id":129992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:21:41] local.INFO: IMEI packet received {"connection_id":129992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":129992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:21:41] local.INFO: TCP Data received {"connection_id":129992,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f58827af0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58827af0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:21:41] local.INFO: Processing buffer {"connection_id":129992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58827af0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:21:41] local.INFO: Packet analysis {"connection_id":129992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5882"} 
[2026-07-13 04:21:41] local.INFO: Extracted packet for processing {"connection_id":129992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5882"} 
[2026-07-13 04:21:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677394688001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783896374000,"timestamp_ms":1783896374000,"timestamp_seconds":1783896374,"priority":1,"record_length":96,"hex_timestamp":"0000019f58827af0"} 
[2026-07-13 04:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":129992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":129992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":129992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677394688001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677394688001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:21:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677394688001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":129992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:21:41] local.INFO: GPS data processed {"connection_id":129992,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:21:41] local.INFO: Acknowledgment sent {"connection_id":129992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:22:12] local.INFO: TCP Data received {"connection_id":129992,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f588712b8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f588712b8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:22:12] local.INFO: Processing buffer {"connection_id":129992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f588712b8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:22:12] local.INFO: Packet analysis {"connection_id":129992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5887"} 
[2026-07-13 04:22:12] local.INFO: Extracted packet for processing {"connection_id":129992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5887"} 
[2026-07-13 04:22:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677471744001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783896675000,"timestamp_ms":1783896675000,"timestamp_seconds":1783896675,"priority":1,"record_length":96,"hex_timestamp":"0000019f588712b8"} 
[2026-07-13 04:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":129992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":129992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":129992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677471744001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677471744001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:22:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:22:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677471744001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":129992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:22:12] local.INFO: GPS data processed {"connection_id":129992,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:22:12] local.INFO: Acknowledgment sent {"connection_id":129992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:22:35] local.INFO: TCP Data received {"connection_id":132305,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:22:35] local.INFO: Processing buffer {"connection_id":132305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:22:35] local.INFO: IMEI packet received {"connection_id":132305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":132305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:22:41] local.INFO: TCP Data received {"connection_id":132305,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:22:41] local.INFO: Processing buffer {"connection_id":132305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:22:41] local.INFO: IMEI packet received {"connection_id":132305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":132305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:22:42] local.INFO: TCP Data received {"connection_id":132305,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f588712b8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f588712b8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:22:42] local.INFO: Processing buffer {"connection_id":132305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f588712b8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:22:42] local.INFO: Packet analysis {"connection_id":132305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5887"} 
[2026-07-13 04:22:42] local.INFO: Extracted packet for processing {"connection_id":132305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5887"} 
[2026-07-13 04:22:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677471744001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783896675000,"timestamp_ms":1783896675000,"timestamp_seconds":1783896675,"priority":1,"record_length":96,"hex_timestamp":"0000019f588712b8"} 
[2026-07-13 04:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677471744001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677471744001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:22:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:22:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677471744001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":132305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:22:42] local.INFO: GPS data processed {"connection_id":132305,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:22:42] local.INFO: Acknowledgment sent {"connection_id":132305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:23:13] local.INFO: TCP Data received {"connection_id":132305,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f588712b8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f588712b8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:23:13] local.INFO: Processing buffer {"connection_id":132305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f588712b8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:23:13] local.INFO: Packet analysis {"connection_id":132305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5887"} 
[2026-07-13 04:23:13] local.INFO: Extracted packet for processing {"connection_id":132305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5887"} 
[2026-07-13 04:23:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677471744001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783896675000,"timestamp_ms":1783896675000,"timestamp_seconds":1783896675,"priority":1,"record_length":96,"hex_timestamp":"0000019f588712b8"} 
[2026-07-13 04:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677471744001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677471744001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:23:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:23:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677471744001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":132305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:23:13] local.INFO: GPS data processed {"connection_id":132305,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:23:13] local.INFO: Acknowledgment sent {"connection_id":132305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:23:35] local.INFO: TCP Data received {"connection_id":129994,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:23:35] local.INFO: Processing buffer {"connection_id":129994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:23:35] local.INFO: IMEI packet received {"connection_id":129994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":129994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:23:41] local.INFO: TCP Data received {"connection_id":129994,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:23:41] local.INFO: Processing buffer {"connection_id":129994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:23:41] local.INFO: IMEI packet received {"connection_id":129994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":129994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:23:42] local.INFO: TCP Data received {"connection_id":129994,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f588712b8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f588712b8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:23:42] local.INFO: Processing buffer {"connection_id":129994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f588712b8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:23:42] local.INFO: Packet analysis {"connection_id":129994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5887"} 
[2026-07-13 04:23:42] local.INFO: Extracted packet for processing {"connection_id":129994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5887"} 
[2026-07-13 04:23:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677471744001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783896675000,"timestamp_ms":1783896675000,"timestamp_seconds":1783896675,"priority":1,"record_length":96,"hex_timestamp":"0000019f588712b8"} 
[2026-07-13 04:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677471744001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677471744001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:23:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:23:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677471744001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":129994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:23:42] local.INFO: GPS data processed {"connection_id":129994,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:23:42] local.INFO: Acknowledgment sent {"connection_id":129994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:24:13] local.INFO: TCP Data received {"connection_id":129994,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f588712b8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f588712b8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:24:13] local.INFO: Processing buffer {"connection_id":129994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f588712b8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:24:13] local.INFO: Packet analysis {"connection_id":129994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5887"} 
[2026-07-13 04:24:13] local.INFO: Extracted packet for processing {"connection_id":129994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5887"} 
[2026-07-13 04:24:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677471744001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783896675000,"timestamp_ms":1783896675000,"timestamp_seconds":1783896675,"priority":1,"record_length":96,"hex_timestamp":"0000019f588712b8"} 
[2026-07-13 04:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677471744001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677471744001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:24:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:24:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677471744001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":129994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:24:13] local.INFO: GPS data processed {"connection_id":129994,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:24:13] local.INFO: Acknowledgment sent {"connection_id":129994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:24:41] local.INFO: TCP Data received {"connection_id":132307,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:24:41] local.INFO: Processing buffer {"connection_id":132307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:24:41] local.INFO: IMEI packet received {"connection_id":132307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":132307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:24:46] local.INFO: TCP Data received {"connection_id":132307,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:24:46] local.INFO: Processing buffer {"connection_id":132307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:24:46] local.INFO: IMEI packet received {"connection_id":132307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":132307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:24:46] local.INFO: TCP Data received {"connection_id":132307,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f588712b8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f588712b8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:24:46] local.INFO: Processing buffer {"connection_id":132307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f588712b8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:24:46] local.INFO: Packet analysis {"connection_id":132307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5887"} 
[2026-07-13 04:24:46] local.INFO: Extracted packet for processing {"connection_id":132307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5887"} 
[2026-07-13 04:24:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677471744001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783896675000,"timestamp_ms":1783896675000,"timestamp_seconds":1783896675,"priority":1,"record_length":96,"hex_timestamp":"0000019f588712b8"} 
[2026-07-13 04:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677471744001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677471744001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:24:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:24:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677471744001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":132307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:24:46] local.INFO: GPS data processed {"connection_id":132307,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:24:46] local.INFO: Acknowledgment sent {"connection_id":132307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:24:51] local.INFO: TCP Data received {"connection_id":132307,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f588712b8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f588712b8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:24:51] local.INFO: Processing buffer {"connection_id":132307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f588712b8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:24:51] local.INFO: Packet analysis {"connection_id":132307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5887"} 
[2026-07-13 04:24:51] local.INFO: Extracted packet for processing {"connection_id":132307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5887"} 
[2026-07-13 04:24:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677471744001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783896675000,"timestamp_ms":1783896675000,"timestamp_seconds":1783896675,"priority":1,"record_length":96,"hex_timestamp":"0000019f588712b8"} 
[2026-07-13 04:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:24: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-07-13 04:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677471744001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677471744001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:24:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:24:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677471744001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":132307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:24:51] local.INFO: GPS data processed {"connection_id":132307,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:24:51] local.INFO: Acknowledgment sent {"connection_id":132307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:25:08] local.INFO: TCP Data received {"connection_id":129995,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129995,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:25:08] local.INFO: Processing buffer {"connection_id":129995,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:25:08] local.INFO: IMEI packet received {"connection_id":129995,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 04:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":129995,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:25:35] local.INFO: TCP Data received {"connection_id":130973,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:25:35] local.INFO: Processing buffer {"connection_id":130973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:25:35] local.INFO: IMEI packet received {"connection_id":130973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":130973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:25:41] local.INFO: TCP Data received {"connection_id":130973,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:25:41] local.INFO: Processing buffer {"connection_id":130973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:25:41] local.INFO: IMEI packet received {"connection_id":130973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":130973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:25:41] local.INFO: TCP Data received {"connection_id":130973,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f588712b8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f588712b8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:25:41] local.INFO: Processing buffer {"connection_id":130973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f588712b8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:25:41] local.INFO: Packet analysis {"connection_id":130973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5887"} 
[2026-07-13 04:25:41] local.INFO: Extracted packet for processing {"connection_id":130973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5887"} 
[2026-07-13 04:25:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677471744001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783896675000,"timestamp_ms":1783896675000,"timestamp_seconds":1783896675,"priority":1,"record_length":96,"hex_timestamp":"0000019f588712b8"} 
[2026-07-13 04:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677471744001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677471744001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:25:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:25:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677471744001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":130973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:25:41] local.INFO: GPS data processed {"connection_id":130973,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:25:41] local.INFO: Acknowledgment sent {"connection_id":130973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:25:42] local.INFO: TCP Data received {"connection_id":129996,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129996,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:25:42] local.INFO: Processing buffer {"connection_id":129996,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:25:42] local.INFO: IMEI packet received {"connection_id":129996,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 04:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":129996,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:26:12] local.INFO: TCP Data received {"connection_id":130973,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f588712b8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f588712b8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:26:12] local.INFO: Processing buffer {"connection_id":130973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f588712b8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:26:12] local.INFO: Packet analysis {"connection_id":130973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5887"} 
[2026-07-13 04:26:12] local.INFO: Extracted packet for processing {"connection_id":130973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5887"} 
[2026-07-13 04:26:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677471744001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783896675000,"timestamp_ms":1783896675000,"timestamp_seconds":1783896675,"priority":1,"record_length":96,"hex_timestamp":"0000019f588712b8"} 
[2026-07-13 04:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677471744001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677471744001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:26:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:26:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677471744001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":130973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:26:12] local.INFO: GPS data processed {"connection_id":130973,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:26:12] local.INFO: Acknowledgment sent {"connection_id":130973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:26:36] local.INFO: TCP Data received {"connection_id":132308,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:26:36] local.INFO: Processing buffer {"connection_id":132308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:26:36] local.INFO: IMEI packet received {"connection_id":132308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":132308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:26:41] local.INFO: TCP Data received {"connection_id":132308,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:26:41] local.INFO: Processing buffer {"connection_id":132308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:26:41] local.INFO: IMEI packet received {"connection_id":132308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":132308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:26:42] local.INFO: TCP Data received {"connection_id":132308,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f588712b8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f588712b8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:26:42] local.INFO: Processing buffer {"connection_id":132308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f588712b8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:26:42] local.INFO: Packet analysis {"connection_id":132308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5887"} 
[2026-07-13 04:26:42] local.INFO: Extracted packet for processing {"connection_id":132308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5887"} 
[2026-07-13 04:26:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677471744001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783896675000,"timestamp_ms":1783896675000,"timestamp_seconds":1783896675,"priority":1,"record_length":96,"hex_timestamp":"0000019f588712b8"} 
[2026-07-13 04:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677471744001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677471744001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:26:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:26:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677471744001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":132308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:26:42] local.INFO: GPS data processed {"connection_id":132308,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:26:42] local.INFO: Acknowledgment sent {"connection_id":132308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:27:12] local.INFO: TCP Data received {"connection_id":132308,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f588baa80012d7f914005afd9380000011b24..."} 
[2026-07-13 04:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f588baa80012d7f914005afd9380000011b24..."} 
[2026-07-13 04:27:12] local.INFO: Processing buffer {"connection_id":132308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f588baa80012d7f914005afd9380000011b24..."} 
[2026-07-13 04:27:12] local.INFO: Packet analysis {"connection_id":132308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f588b"} 
[2026-07-13 04:27:12] local.INFO: Extracted packet for processing {"connection_id":132308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f588b"} 
[2026-07-13 04:27:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677548800001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783896976000,"timestamp_ms":1783896976000,"timestamp_seconds":1783896976,"priority":1,"record_length":96,"hex_timestamp":"0000019f588baa80"} 
[2026-07-13 04:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677548800001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677548800001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:27:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:27:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677548800001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":132308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:27:12] local.INFO: GPS data processed {"connection_id":132308,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:27:12] local.INFO: Acknowledgment sent {"connection_id":132308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:27:35] local.INFO: TCP Data received {"connection_id":129998,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:27:35] local.INFO: Processing buffer {"connection_id":129998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:27:35] local.INFO: IMEI packet received {"connection_id":129998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":129998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:27:41] local.INFO: TCP Data received {"connection_id":129998,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:27:41] local.INFO: Processing buffer {"connection_id":129998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:27:41] local.INFO: IMEI packet received {"connection_id":129998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":129998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:27:42] local.INFO: TCP Data received {"connection_id":129998,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f588baa80012d7f914005afd9380000011b24..."} 
[2026-07-13 04:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f588baa80012d7f914005afd9380000011b24..."} 
[2026-07-13 04:27:42] local.INFO: Processing buffer {"connection_id":129998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f588baa80012d7f914005afd9380000011b24..."} 
[2026-07-13 04:27:42] local.INFO: Packet analysis {"connection_id":129998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f588b"} 
[2026-07-13 04:27:42] local.INFO: Extracted packet for processing {"connection_id":129998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f588b"} 
[2026-07-13 04:27:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677548800001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783896976000,"timestamp_ms":1783896976000,"timestamp_seconds":1783896976,"priority":1,"record_length":96,"hex_timestamp":"0000019f588baa80"} 
[2026-07-13 04:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":129998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":129998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":129998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677548800001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677548800001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:27:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:27:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677548800001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":129998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:27:42] local.INFO: GPS data processed {"connection_id":129998,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:27:42] local.INFO: Acknowledgment sent {"connection_id":129998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:28:13] local.INFO: TCP Data received {"connection_id":129998,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f588baa80012d7f914005afd9380000011b24..."} 
[2026-07-13 04:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":129998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f588baa80012d7f914005afd9380000011b24..."} 
[2026-07-13 04:28:13] local.INFO: Processing buffer {"connection_id":129998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f588baa80012d7f914005afd9380000011b24..."} 
[2026-07-13 04:28:13] local.INFO: Packet analysis {"connection_id":129998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f588b"} 
[2026-07-13 04:28:13] local.INFO: Extracted packet for processing {"connection_id":129998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f588b"} 
[2026-07-13 04:28:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677548800001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783896976000,"timestamp_ms":1783896976000,"timestamp_seconds":1783896976,"priority":1,"record_length":96,"hex_timestamp":"0000019f588baa80"} 
[2026-07-13 04:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":129998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":129998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":129998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677548800001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677548800001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:28:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:28:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677548800001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":129998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:28:13] local.INFO: GPS data processed {"connection_id":129998,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:28:13] local.INFO: Acknowledgment sent {"connection_id":129998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:28:35] local.INFO: TCP Data received {"connection_id":130190,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:28:35] local.INFO: Processing buffer {"connection_id":130190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:28:35] local.INFO: IMEI packet received {"connection_id":130190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":130190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:28:41] local.INFO: TCP Data received {"connection_id":130190,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:28:41] local.INFO: Processing buffer {"connection_id":130190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:28:41] local.INFO: IMEI packet received {"connection_id":130190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":130190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:28:42] local.INFO: TCP Data received {"connection_id":130190,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f588baa80012d7f914005afd9380000011b24..."} 
[2026-07-13 04:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f588baa80012d7f914005afd9380000011b24..."} 
[2026-07-13 04:28:42] local.INFO: Processing buffer {"connection_id":130190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f588baa80012d7f914005afd9380000011b24..."} 
[2026-07-13 04:28:42] local.INFO: Packet analysis {"connection_id":130190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f588b"} 
[2026-07-13 04:28:42] local.INFO: Extracted packet for processing {"connection_id":130190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f588b"} 
[2026-07-13 04:28:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677548800001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783896976000,"timestamp_ms":1783896976000,"timestamp_seconds":1783896976,"priority":1,"record_length":96,"hex_timestamp":"0000019f588baa80"} 
[2026-07-13 04:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677548800001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677548800001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:28:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:28:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677548800001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":130190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:28:42] local.INFO: GPS data processed {"connection_id":130190,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:28:42] local.INFO: Acknowledgment sent {"connection_id":130190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:29:13] local.INFO: TCP Data received {"connection_id":130190,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f588baa80012d7f914005afd9380000011b24..."} 
[2026-07-13 04:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f588baa80012d7f914005afd9380000011b24..."} 
[2026-07-13 04:29:13] local.INFO: Processing buffer {"connection_id":130190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f588baa80012d7f914005afd9380000011b24..."} 
[2026-07-13 04:29:13] local.INFO: Packet analysis {"connection_id":130190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f588b"} 
[2026-07-13 04:29:13] local.INFO: Extracted packet for processing {"connection_id":130190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f588b"} 
[2026-07-13 04:29:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677548800001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783896976000,"timestamp_ms":1783896976000,"timestamp_seconds":1783896976,"priority":1,"record_length":96,"hex_timestamp":"0000019f588baa80"} 
[2026-07-13 04:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677548800001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677548800001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:29:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:29:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677548800001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":130190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:29:13] local.INFO: GPS data processed {"connection_id":130190,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:29:13] local.INFO: Acknowledgment sent {"connection_id":130190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:29:40] local.INFO: TCP Data received {"connection_id":130975,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:29:40] local.INFO: Processing buffer {"connection_id":130975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:29:40] local.INFO: IMEI packet received {"connection_id":130975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":130975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:29:45] local.INFO: TCP Data received {"connection_id":130975,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:29:45] local.INFO: Processing buffer {"connection_id":130975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:29:45] local.INFO: IMEI packet received {"connection_id":130975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":130975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:29:46] local.INFO: TCP Data received {"connection_id":130975,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f588baa80012d7f914005afd9380000011b24..."} 
[2026-07-13 04:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f588baa80012d7f914005afd9380000011b24..."} 
[2026-07-13 04:29:46] local.INFO: Processing buffer {"connection_id":130975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f588baa80012d7f914005afd9380000011b24..."} 
[2026-07-13 04:29:46] local.INFO: Packet analysis {"connection_id":130975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f588b"} 
[2026-07-13 04:29:46] local.INFO: Extracted packet for processing {"connection_id":130975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f588b"} 
[2026-07-13 04:29:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677548800001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783896976000,"timestamp_ms":1783896976000,"timestamp_seconds":1783896976,"priority":1,"record_length":96,"hex_timestamp":"0000019f588baa80"} 
[2026-07-13 04:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677548800001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677548800001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:29:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:29:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677548800001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":130975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:29:46] local.INFO: GPS data processed {"connection_id":130975,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:29:46] local.INFO: Acknowledgment sent {"connection_id":130975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:29:51] local.INFO: TCP Data received {"connection_id":130975,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f588baa80012d7f914005afd9380000011b24..."} 
[2026-07-13 04:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f588baa80012d7f914005afd9380000011b24..."} 
[2026-07-13 04:29:51] local.INFO: Processing buffer {"connection_id":130975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f588baa80012d7f914005afd9380000011b24..."} 
[2026-07-13 04:29:51] local.INFO: Packet analysis {"connection_id":130975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f588b"} 
[2026-07-13 04:29:51] local.INFO: Extracted packet for processing {"connection_id":130975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f588b"} 
[2026-07-13 04:29:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04: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-07-13 04:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677548800001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783896976000,"timestamp_ms":1783896976000,"timestamp_seconds":1783896976,"priority":1,"record_length":96,"hex_timestamp":"0000019f588baa80"} 
[2026-07-13 04:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04: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-07-13 04:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:29: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-07-13 04:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677548800001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677548800001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:29:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:29:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677548800001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":130975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:29:51] local.INFO: GPS data processed {"connection_id":130975,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:29:51] local.INFO: Acknowledgment sent {"connection_id":130975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:30:35] local.INFO: TCP Data received {"connection_id":130191,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:30:35] local.INFO: Processing buffer {"connection_id":130191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:30:35] local.INFO: IMEI packet received {"connection_id":130191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":130191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:30:40] local.INFO: TCP Data received {"connection_id":130191,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:30:40] local.INFO: Processing buffer {"connection_id":130191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:30:40] local.INFO: IMEI packet received {"connection_id":130191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":130191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:30:41] local.INFO: TCP Data received {"connection_id":130191,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f588baa80012d7f914005afd9380000011b24..."} 
[2026-07-13 04:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f588baa80012d7f914005afd9380000011b24..."} 
[2026-07-13 04:30:41] local.INFO: Processing buffer {"connection_id":130191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f588baa80012d7f914005afd9380000011b24..."} 
[2026-07-13 04:30:41] local.INFO: Packet analysis {"connection_id":130191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f588b"} 
[2026-07-13 04:30:41] local.INFO: Extracted packet for processing {"connection_id":130191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f588b"} 
[2026-07-13 04:30:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677548800001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783896976000,"timestamp_ms":1783896976000,"timestamp_seconds":1783896976,"priority":1,"record_length":96,"hex_timestamp":"0000019f588baa80"} 
[2026-07-13 04:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677548800001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677548800001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:30:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:30:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677548800001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":130191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:30:41] local.INFO: GPS data processed {"connection_id":130191,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:30:41] local.INFO: Acknowledgment sent {"connection_id":130191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:31:11] local.INFO: TCP Data received {"connection_id":130001,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130001,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:31:11] local.INFO: Processing buffer {"connection_id":130001,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:31:11] local.INFO: IMEI packet received {"connection_id":130001,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 04:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":130001,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:31:12] local.INFO: TCP Data received {"connection_id":130191,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f588baa80012d7f914005afd9380000011b24..."} 
[2026-07-13 04:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f588baa80012d7f914005afd9380000011b24..."} 
[2026-07-13 04:31:12] local.INFO: Processing buffer {"connection_id":130191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f588baa80012d7f914005afd9380000011b24..."} 
[2026-07-13 04:31:12] local.INFO: Packet analysis {"connection_id":130191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f588b"} 
[2026-07-13 04:31:12] local.INFO: Extracted packet for processing {"connection_id":130191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f588b"} 
[2026-07-13 04:31:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677548800001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783896976000,"timestamp_ms":1783896976000,"timestamp_seconds":1783896976,"priority":1,"record_length":96,"hex_timestamp":"0000019f588baa80"} 
[2026-07-13 04:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677548800001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677548800001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:31:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:31:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677548800001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":130191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:31:12] local.INFO: GPS data processed {"connection_id":130191,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:31:12] local.INFO: Acknowledgment sent {"connection_id":130191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:31:35] local.INFO: TCP Data received {"connection_id":130192,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:31:35] local.INFO: Processing buffer {"connection_id":130192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:31:35] local.INFO: IMEI packet received {"connection_id":130192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":130192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:31:41] local.INFO: TCP Data received {"connection_id":130976,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130976,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:31:41] local.INFO: Processing buffer {"connection_id":130976,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:31:41] local.INFO: IMEI packet received {"connection_id":130976,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 04:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":130976,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:31:41] local.INFO: TCP Data received {"connection_id":130192,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:31:41] local.INFO: Processing buffer {"connection_id":130192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:31:41] local.INFO: IMEI packet received {"connection_id":130192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":130192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:31:42] local.INFO: TCP Data received {"connection_id":130192,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f588baa80012d7f914005afd9380000011b24..."} 
[2026-07-13 04:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f588baa80012d7f914005afd9380000011b24..."} 
[2026-07-13 04:31:42] local.INFO: Processing buffer {"connection_id":130192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f588baa80012d7f914005afd9380000011b24..."} 
[2026-07-13 04:31:42] local.INFO: Packet analysis {"connection_id":130192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f588b"} 
[2026-07-13 04:31:42] local.INFO: Extracted packet for processing {"connection_id":130192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f588b"} 
[2026-07-13 04:31:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677548800001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783896976000,"timestamp_ms":1783896976000,"timestamp_seconds":1783896976,"priority":1,"record_length":96,"hex_timestamp":"0000019f588baa80"} 
[2026-07-13 04:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677548800001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677548800001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:31:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:31:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677548800001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":130192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:31:42] local.INFO: GPS data processed {"connection_id":130192,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:31:42] local.INFO: Acknowledgment sent {"connection_id":130192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:32:12] local.INFO: TCP Data received {"connection_id":130192,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f58904248012d7f914005afd9380000011b26..."} 
[2026-07-13 04:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58904248012d7f914005afd9380000011b26..."} 
[2026-07-13 04:32:12] local.INFO: Processing buffer {"connection_id":130192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58904248012d7f914005afd9380000011b26..."} 
[2026-07-13 04:32:12] local.INFO: Packet analysis {"connection_id":130192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5890"} 
[2026-07-13 04:32:12] local.INFO: Extracted packet for processing {"connection_id":130192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5890"} 
[2026-07-13 04:32:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677625856001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783897277000,"timestamp_ms":1783897277000,"timestamp_seconds":1783897277,"priority":1,"record_length":96,"hex_timestamp":"0000019f58904248"} 
[2026-07-13 04:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 04:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:32:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677625856001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677625856001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:32:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:32:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677625856001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":130192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:32:12] local.INFO: GPS data processed {"connection_id":130192,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:32:12] local.INFO: Acknowledgment sent {"connection_id":130192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:32:35] local.INFO: TCP Data received {"connection_id":130977,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:32:35] local.INFO: Processing buffer {"connection_id":130977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:32:35] local.INFO: IMEI packet received {"connection_id":130977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":130977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:32:41] local.INFO: TCP Data received {"connection_id":130977,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:32:41] local.INFO: Processing buffer {"connection_id":130977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:32:41] local.INFO: IMEI packet received {"connection_id":130977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":130977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:32:42] local.INFO: TCP Data received {"connection_id":130977,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f58904248012d7f914005afd9380000011b26..."} 
[2026-07-13 04:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58904248012d7f914005afd9380000011b26..."} 
[2026-07-13 04:32:42] local.INFO: Processing buffer {"connection_id":130977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58904248012d7f914005afd9380000011b26..."} 
[2026-07-13 04:32:42] local.INFO: Packet analysis {"connection_id":130977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5890"} 
[2026-07-13 04:32:42] local.INFO: Extracted packet for processing {"connection_id":130977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5890"} 
[2026-07-13 04:32:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677625856001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783897277000,"timestamp_ms":1783897277000,"timestamp_seconds":1783897277,"priority":1,"record_length":96,"hex_timestamp":"0000019f58904248"} 
[2026-07-13 04:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 04:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677625856001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677625856001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:32:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:32:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677625856001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":130977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:32:42] local.INFO: GPS data processed {"connection_id":130977,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:32:42] local.INFO: Acknowledgment sent {"connection_id":130977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:33:13] local.INFO: TCP Data received {"connection_id":130977,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f58904248012d7f914005afd9380000011b26..."} 
[2026-07-13 04:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58904248012d7f914005afd9380000011b26..."} 
[2026-07-13 04:33:13] local.INFO: Processing buffer {"connection_id":130977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58904248012d7f914005afd9380000011b26..."} 
[2026-07-13 04:33:13] local.INFO: Packet analysis {"connection_id":130977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5890"} 
[2026-07-13 04:33:13] local.INFO: Extracted packet for processing {"connection_id":130977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5890"} 
[2026-07-13 04:33:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677625856001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783897277000,"timestamp_ms":1783897277000,"timestamp_seconds":1783897277,"priority":1,"record_length":96,"hex_timestamp":"0000019f58904248"} 
[2026-07-13 04:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 04:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677625856001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677625856001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:33:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:33:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677625856001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":130977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:33:13] local.INFO: GPS data processed {"connection_id":130977,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:33:13] local.INFO: Acknowledgment sent {"connection_id":130977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:33:35] local.INFO: TCP Data received {"connection_id":130002,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:33:35] local.INFO: Processing buffer {"connection_id":130002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:33:35] local.INFO: IMEI packet received {"connection_id":130002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":130002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:33:40] local.INFO: TCP Data received {"connection_id":130002,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:33:40] local.INFO: Processing buffer {"connection_id":130002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:33:40] local.INFO: IMEI packet received {"connection_id":130002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":130002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:33:41] local.INFO: TCP Data received {"connection_id":130002,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58904248012d7f914005afd9380000011b26..."} 
[2026-07-13 04:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58904248012d7f914005afd9380000011b26..."} 
[2026-07-13 04:33:41] local.INFO: Processing buffer {"connection_id":130002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58904248012d7f914005afd9380000011b26..."} 
[2026-07-13 04:33:41] local.INFO: Packet analysis {"connection_id":130002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5890"} 
[2026-07-13 04:33:41] local.INFO: Extracted packet for processing {"connection_id":130002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5890"} 
[2026-07-13 04:33:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677625856001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783897277000,"timestamp_ms":1783897277000,"timestamp_seconds":1783897277,"priority":1,"record_length":96,"hex_timestamp":"0000019f58904248"} 
[2026-07-13 04:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 04:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677625856001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677625856001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:33:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:33:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677625856001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":130002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:33:41] local.INFO: GPS data processed {"connection_id":130002,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:33:41] local.INFO: Acknowledgment sent {"connection_id":130002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:34:12] local.INFO: TCP Data received {"connection_id":130002,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58904248012d7f914005afd9380000011b26..."} 
[2026-07-13 04:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58904248012d7f914005afd9380000011b26..."} 
[2026-07-13 04:34:12] local.INFO: Processing buffer {"connection_id":130002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58904248012d7f914005afd9380000011b26..."} 
[2026-07-13 04:34:12] local.INFO: Packet analysis {"connection_id":130002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5890"} 
[2026-07-13 04:34:12] local.INFO: Extracted packet for processing {"connection_id":130002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5890"} 
[2026-07-13 04:34:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677625856001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783897277000,"timestamp_ms":1783897277000,"timestamp_seconds":1783897277,"priority":1,"record_length":96,"hex_timestamp":"0000019f58904248"} 
[2026-07-13 04:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 04:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:34:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677625856001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677625856001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:34:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:34:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677625856001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":130002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:34:12] local.INFO: GPS data processed {"connection_id":130002,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:34:12] local.INFO: Acknowledgment sent {"connection_id":130002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:34:40] local.INFO: TCP Data received {"connection_id":130978,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:34:40] local.INFO: Processing buffer {"connection_id":130978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:34:40] local.INFO: IMEI packet received {"connection_id":130978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":130978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:34:41] local.INFO: TCP Data received {"connection_id":130978,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58904248012d7f914005afd9380000011b26..."} 
[2026-07-13 04:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58904248012d7f914005afd9380000011b26..."} 
[2026-07-13 04:34:41] local.INFO: Processing buffer {"connection_id":130978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58904248012d7f914005afd9380000011b26..."} 
[2026-07-13 04:34:41] local.INFO: Packet analysis {"connection_id":130978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5890"} 
[2026-07-13 04:34:41] local.INFO: Extracted packet for processing {"connection_id":130978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5890"} 
[2026-07-13 04:34:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677625856001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783897277000,"timestamp_ms":1783897277000,"timestamp_seconds":1783897277,"priority":1,"record_length":96,"hex_timestamp":"0000019f58904248"} 
[2026-07-13 04:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 04:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677625856001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677625856001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:34:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677625856001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":130978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:34:41] local.INFO: GPS data processed {"connection_id":130978,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:34:41] local.INFO: Acknowledgment sent {"connection_id":130978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:35:12] local.INFO: TCP Data received {"connection_id":130978,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58904248012d7f914005afd9380000011b26..."} 
[2026-07-13 04:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58904248012d7f914005afd9380000011b26..."} 
[2026-07-13 04:35:12] local.INFO: Processing buffer {"connection_id":130978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58904248012d7f914005afd9380000011b26..."} 
[2026-07-13 04:35:12] local.INFO: Packet analysis {"connection_id":130978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5890"} 
[2026-07-13 04:35:12] local.INFO: Extracted packet for processing {"connection_id":130978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5890"} 
[2026-07-13 04:35:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677625856001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783897277000,"timestamp_ms":1783897277000,"timestamp_seconds":1783897277,"priority":1,"record_length":96,"hex_timestamp":"0000019f58904248"} 
[2026-07-13 04:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 04:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677625856001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677625856001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:35:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:35:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677625856001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":130978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:35:12] local.INFO: GPS data processed {"connection_id":130978,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:35:12] local.INFO: Acknowledgment sent {"connection_id":130978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:35:35] local.INFO: TCP Data received {"connection_id":130003,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:35:35] local.INFO: Processing buffer {"connection_id":130003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:35:35] local.INFO: IMEI packet received {"connection_id":130003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":130003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:35:41] local.INFO: TCP Data received {"connection_id":130003,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:35:41] local.INFO: Processing buffer {"connection_id":130003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:35:41] local.INFO: IMEI packet received {"connection_id":130003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":130003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:35:41] local.INFO: TCP Data received {"connection_id":130003,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f58904248012d7f914005afd9380000011b26..."} 
[2026-07-13 04:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58904248012d7f914005afd9380000011b26..."} 
[2026-07-13 04:35:41] local.INFO: Processing buffer {"connection_id":130003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58904248012d7f914005afd9380000011b26..."} 
[2026-07-13 04:35:41] local.INFO: Packet analysis {"connection_id":130003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5890"} 
[2026-07-13 04:35:41] local.INFO: Extracted packet for processing {"connection_id":130003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5890"} 
[2026-07-13 04:35:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677625856001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783897277000,"timestamp_ms":1783897277000,"timestamp_seconds":1783897277,"priority":1,"record_length":96,"hex_timestamp":"0000019f58904248"} 
[2026-07-13 04:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 04:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677625856001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677625856001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:35:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:35:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677625856001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":130003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:35:41] local.INFO: GPS data processed {"connection_id":130003,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:35:41] local.INFO: Acknowledgment sent {"connection_id":130003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:36:13] local.INFO: TCP Data received {"connection_id":130003,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f58904248012d7f914005afd9380000011b26..."} 
[2026-07-13 04:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58904248012d7f914005afd9380000011b26..."} 
[2026-07-13 04:36:13] local.INFO: Processing buffer {"connection_id":130003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58904248012d7f914005afd9380000011b26..."} 
[2026-07-13 04:36:13] local.INFO: Packet analysis {"connection_id":130003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5890"} 
[2026-07-13 04:36:13] local.INFO: Extracted packet for processing {"connection_id":130003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5890"} 
[2026-07-13 04:36:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677625856001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783897277000,"timestamp_ms":1783897277000,"timestamp_seconds":1783897277,"priority":1,"record_length":96,"hex_timestamp":"0000019f58904248"} 
[2026-07-13 04:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 04:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677625856001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677625856001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:36:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:36:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677625856001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":130003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:36:13] local.INFO: GPS data processed {"connection_id":130003,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:36:13] local.INFO: Acknowledgment sent {"connection_id":130003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:36:35] local.INFO: TCP Data received {"connection_id":130005,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:36:35] local.INFO: Processing buffer {"connection_id":130005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:36:35] local.INFO: IMEI packet received {"connection_id":130005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":130005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:36:41] local.INFO: TCP Data received {"connection_id":130005,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:36:41] local.INFO: Processing buffer {"connection_id":130005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:36:41] local.INFO: IMEI packet received {"connection_id":130005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":130005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:36:42] local.INFO: TCP Data received {"connection_id":130005,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f58904248012d7f914005afd9380000011b26..."} 
[2026-07-13 04:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58904248012d7f914005afd9380000011b26..."} 
[2026-07-13 04:36:42] local.INFO: Processing buffer {"connection_id":130005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58904248012d7f914005afd9380000011b26..."} 
[2026-07-13 04:36:42] local.INFO: Packet analysis {"connection_id":130005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5890"} 
[2026-07-13 04:36:42] local.INFO: Extracted packet for processing {"connection_id":130005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5890"} 
[2026-07-13 04:36:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677625856001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783897277000,"timestamp_ms":1783897277000,"timestamp_seconds":1783897277,"priority":1,"record_length":96,"hex_timestamp":"0000019f58904248"} 
[2026-07-13 04:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 04:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677625856001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677625856001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:36:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:36:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677625856001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":130005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:36:42] local.INFO: GPS data processed {"connection_id":130005,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:36:42] local.INFO: Acknowledgment sent {"connection_id":130005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:37:11] local.INFO: TCP Data received {"connection_id":130193,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:37:11] local.INFO: Processing buffer {"connection_id":130193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:37:11] local.INFO: IMEI packet received {"connection_id":130193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 04:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":130193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:37:13] local.INFO: TCP Data received {"connection_id":130005,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5894da10012d7f914005afd9380000011b26..."} 
[2026-07-13 04:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5894da10012d7f914005afd9380000011b26..."} 
[2026-07-13 04:37:13] local.INFO: Processing buffer {"connection_id":130005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5894da10012d7f914005afd9380000011b26..."} 
[2026-07-13 04:37:13] local.INFO: Packet analysis {"connection_id":130005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5894"} 
[2026-07-13 04:37:13] local.INFO: Extracted packet for processing {"connection_id":130005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5894"} 
[2026-07-13 04:37:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677702912001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783897578000,"timestamp_ms":1783897578000,"timestamp_seconds":1783897578,"priority":1,"record_length":96,"hex_timestamp":"0000019f5894da10"} 
[2026-07-13 04:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677702912001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677702912001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:37:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:37:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677702912001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":130005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:37:13] local.INFO: GPS data processed {"connection_id":130005,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:37:13] local.INFO: Acknowledgment sent {"connection_id":130005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:37:35] local.INFO: TCP Data received {"connection_id":130194,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:37:35] local.INFO: Processing buffer {"connection_id":130194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:37:35] local.INFO: IMEI packet received {"connection_id":130194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":130194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:37:41] local.INFO: TCP Data received {"connection_id":130194,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:37:41] local.INFO: Processing buffer {"connection_id":130194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:37:41] local.INFO: IMEI packet received {"connection_id":130194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":130194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:37:42] local.INFO: TCP Data received {"connection_id":130194,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5894da10012d7f914005afd9380000011b26..."} 
[2026-07-13 04:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5894da10012d7f914005afd9380000011b26..."} 
[2026-07-13 04:37:42] local.INFO: Processing buffer {"connection_id":130194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5894da10012d7f914005afd9380000011b26..."} 
[2026-07-13 04:37:42] local.INFO: Packet analysis {"connection_id":130194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5894"} 
[2026-07-13 04:37:42] local.INFO: Extracted packet for processing {"connection_id":130194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5894"} 
[2026-07-13 04:37:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677702912001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783897578000,"timestamp_ms":1783897578000,"timestamp_seconds":1783897578,"priority":1,"record_length":96,"hex_timestamp":"0000019f5894da10"} 
[2026-07-13 04:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677702912001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677702912001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:37:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:37:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677702912001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":130194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:37:42] local.INFO: GPS data processed {"connection_id":130194,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:37:42] local.INFO: Acknowledgment sent {"connection_id":130194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:37:46] local.INFO: TCP Data received {"connection_id":132313,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132313,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:37:46] local.INFO: Processing buffer {"connection_id":132313,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:37:46] local.INFO: IMEI packet received {"connection_id":132313,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 04:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":132313,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:38:13] local.INFO: TCP Data received {"connection_id":130194,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5894da10012d7f914005afd9380000011b26..."} 
[2026-07-13 04:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5894da10012d7f914005afd9380000011b26..."} 
[2026-07-13 04:38:13] local.INFO: Processing buffer {"connection_id":130194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5894da10012d7f914005afd9380000011b26..."} 
[2026-07-13 04:38:13] local.INFO: Packet analysis {"connection_id":130194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5894"} 
[2026-07-13 04:38:13] local.INFO: Extracted packet for processing {"connection_id":130194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5894"} 
[2026-07-13 04:38:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677702912001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783897578000,"timestamp_ms":1783897578000,"timestamp_seconds":1783897578,"priority":1,"record_length":96,"hex_timestamp":"0000019f5894da10"} 
[2026-07-13 04:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677702912001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677702912001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:38:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:38:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677702912001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":130194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:38:13] local.INFO: GPS data processed {"connection_id":130194,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:38:13] local.INFO: Acknowledgment sent {"connection_id":130194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:38:35] local.INFO: TCP Data received {"connection_id":132314,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:38:35] local.INFO: Processing buffer {"connection_id":132314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:38:35] local.INFO: IMEI packet received {"connection_id":132314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":132314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:38:41] local.INFO: TCP Data received {"connection_id":132314,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:38:41] local.INFO: Processing buffer {"connection_id":132314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:38:41] local.INFO: IMEI packet received {"connection_id":132314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":132314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:38:42] local.INFO: TCP Data received {"connection_id":132314,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5894da10012d7f914005afd9380000011b26..."} 
[2026-07-13 04:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5894da10012d7f914005afd9380000011b26..."} 
[2026-07-13 04:38:42] local.INFO: Processing buffer {"connection_id":132314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5894da10012d7f914005afd9380000011b26..."} 
[2026-07-13 04:38:42] local.INFO: Packet analysis {"connection_id":132314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5894"} 
[2026-07-13 04:38:42] local.INFO: Extracted packet for processing {"connection_id":132314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5894"} 
[2026-07-13 04:38:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677702912001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783897578000,"timestamp_ms":1783897578000,"timestamp_seconds":1783897578,"priority":1,"record_length":96,"hex_timestamp":"0000019f5894da10"} 
[2026-07-13 04:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677702912001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677702912001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:38:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:38:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677702912001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":132314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:38:42] local.INFO: GPS data processed {"connection_id":132314,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:38:42] local.INFO: Acknowledgment sent {"connection_id":132314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:39:13] local.INFO: TCP Data received {"connection_id":132314,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5894da10012d7f914005afd9380000011b26..."} 
[2026-07-13 04:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5894da10012d7f914005afd9380000011b26..."} 
[2026-07-13 04:39:13] local.INFO: Processing buffer {"connection_id":132314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5894da10012d7f914005afd9380000011b26..."} 
[2026-07-13 04:39:13] local.INFO: Packet analysis {"connection_id":132314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5894"} 
[2026-07-13 04:39:13] local.INFO: Extracted packet for processing {"connection_id":132314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5894"} 
[2026-07-13 04:39:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677702912001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783897578000,"timestamp_ms":1783897578000,"timestamp_seconds":1783897578,"priority":1,"record_length":96,"hex_timestamp":"0000019f5894da10"} 
[2026-07-13 04:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677702912001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677702912001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:39:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:39:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677702912001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":132314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:39:13] local.INFO: GPS data processed {"connection_id":132314,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:39:13] local.INFO: Acknowledgment sent {"connection_id":132314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:39:41] local.INFO: TCP Data received {"connection_id":132315,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:39:41] local.INFO: Processing buffer {"connection_id":132315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:39:41] local.INFO: IMEI packet received {"connection_id":132315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":132315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:39:47] local.INFO: TCP Data received {"connection_id":132315,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:39:47] local.INFO: Processing buffer {"connection_id":132315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:39:47] local.INFO: IMEI packet received {"connection_id":132315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":132315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:39:47] local.INFO: TCP Data received {"connection_id":132315,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5894da10012d7f914005afd9380000011b26..."} 
[2026-07-13 04:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5894da10012d7f914005afd9380000011b26..."} 
[2026-07-13 04:39:47] local.INFO: Processing buffer {"connection_id":132315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5894da10012d7f914005afd9380000011b26..."} 
[2026-07-13 04:39:47] local.INFO: Packet analysis {"connection_id":132315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5894"} 
[2026-07-13 04:39:47] local.INFO: Extracted packet for processing {"connection_id":132315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5894"} 
[2026-07-13 04:39:47] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677702912001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783897578000,"timestamp_ms":1783897578000,"timestamp_seconds":1783897578,"priority":1,"record_length":96,"hex_timestamp":"0000019f5894da10"} 
[2026-07-13 04:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677702912001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677702912001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:39:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:39:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677702912001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":132315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:39:47] local.INFO: GPS data processed {"connection_id":132315,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:39:47] local.INFO: Acknowledgment sent {"connection_id":132315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:39:51] local.INFO: TCP Data received {"connection_id":132315,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5894da10012d7f914005afd9380000011b26..."} 
[2026-07-13 04:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5894da10012d7f914005afd9380000011b26..."} 
[2026-07-13 04:39:51] local.INFO: Processing buffer {"connection_id":132315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5894da10012d7f914005afd9380000011b26..."} 
[2026-07-13 04:39:51] local.INFO: Packet analysis {"connection_id":132315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5894"} 
[2026-07-13 04:39:51] local.INFO: Extracted packet for processing {"connection_id":132315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5894"} 
[2026-07-13 04:39:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677702912001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783897578000,"timestamp_ms":1783897578000,"timestamp_seconds":1783897578,"priority":1,"record_length":96,"hex_timestamp":"0000019f5894da10"} 
[2026-07-13 04:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:39: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-07-13 04:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677702912001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677702912001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:39:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:39:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677702912001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":132315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:39:51] local.INFO: GPS data processed {"connection_id":132315,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:39:51] local.INFO: Acknowledgment sent {"connection_id":132315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:40:36] local.INFO: TCP Data received {"connection_id":130979,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:40:36] local.INFO: Processing buffer {"connection_id":130979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:40:36] local.INFO: IMEI packet received {"connection_id":130979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":130979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:40:41] local.INFO: TCP Data received {"connection_id":130979,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:40:41] local.INFO: Processing buffer {"connection_id":130979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:40:41] local.INFO: IMEI packet received {"connection_id":130979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":130979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:40:41] local.INFO: TCP Data received {"connection_id":130979,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5894da10012d7f914005afd9380000011b26..."} 
[2026-07-13 04:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5894da10012d7f914005afd9380000011b26..."} 
[2026-07-13 04:40:41] local.INFO: Processing buffer {"connection_id":130979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5894da10012d7f914005afd9380000011b26..."} 
[2026-07-13 04:40:41] local.INFO: Packet analysis {"connection_id":130979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5894"} 
[2026-07-13 04:40:41] local.INFO: Extracted packet for processing {"connection_id":130979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5894"} 
[2026-07-13 04:40:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677702912001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783897578000,"timestamp_ms":1783897578000,"timestamp_seconds":1783897578,"priority":1,"record_length":96,"hex_timestamp":"0000019f5894da10"} 
[2026-07-13 04:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677702912001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677702912001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:40:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:40:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677702912001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":130979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:40:41] local.INFO: GPS data processed {"connection_id":130979,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:40:41] local.INFO: Acknowledgment sent {"connection_id":130979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:41:12] local.INFO: TCP Data received {"connection_id":130979,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5894da10012d7f914005afd9380000011b26..."} 
[2026-07-13 04:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5894da10012d7f914005afd9380000011b26..."} 
[2026-07-13 04:41:13] local.INFO: Processing buffer {"connection_id":130979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5894da10012d7f914005afd9380000011b26..."} 
[2026-07-13 04:41:13] local.INFO: Packet analysis {"connection_id":130979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5894"} 
[2026-07-13 04:41:13] local.INFO: Extracted packet for processing {"connection_id":130979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5894"} 
[2026-07-13 04:41:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677702912001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783897578000,"timestamp_ms":1783897578000,"timestamp_seconds":1783897578,"priority":1,"record_length":96,"hex_timestamp":"0000019f5894da10"} 
[2026-07-13 04:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677702912001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677702912001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:41:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:41:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677702912001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":130979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:41:13] local.INFO: GPS data processed {"connection_id":130979,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:41:13] local.INFO: Acknowledgment sent {"connection_id":130979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:41:35] local.INFO: TCP Data received {"connection_id":130007,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:41:35] local.INFO: Processing buffer {"connection_id":130007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:41:35] local.INFO: IMEI packet received {"connection_id":130007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":130007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:41:41] local.INFO: TCP Data received {"connection_id":130007,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:41:41] local.INFO: Processing buffer {"connection_id":130007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:41:41] local.INFO: IMEI packet received {"connection_id":130007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":130007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:41:41] local.INFO: TCP Data received {"connection_id":130007,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5894da10012d7f914005afd9380000011b26..."} 
[2026-07-13 04:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5894da10012d7f914005afd9380000011b26..."} 
[2026-07-13 04:41:41] local.INFO: Processing buffer {"connection_id":130007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5894da10012d7f914005afd9380000011b26..."} 
[2026-07-13 04:41:41] local.INFO: Packet analysis {"connection_id":130007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5894"} 
[2026-07-13 04:41:41] local.INFO: Extracted packet for processing {"connection_id":130007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5894"} 
[2026-07-13 04:41:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677702912001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783897578000,"timestamp_ms":1783897578000,"timestamp_seconds":1783897578,"priority":1,"record_length":96,"hex_timestamp":"0000019f5894da10"} 
[2026-07-13 04:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677702912001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677702912001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:41:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:41:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677702912001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":130007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:41:41] local.INFO: GPS data processed {"connection_id":130007,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:41:41] local.INFO: Acknowledgment sent {"connection_id":130007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:42:12] local.INFO: TCP Data received {"connection_id":130007,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f589971d8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f589971d8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:42:12] local.INFO: Processing buffer {"connection_id":130007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f589971d8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:42:12] local.INFO: Packet analysis {"connection_id":130007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5899"} 
[2026-07-13 04:42:12] local.INFO: Extracted packet for processing {"connection_id":130007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5899"} 
[2026-07-13 04:42:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677779968001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783897879000,"timestamp_ms":1783897879000,"timestamp_seconds":1783897879,"priority":1,"record_length":96,"hex_timestamp":"0000019f589971d8"} 
[2026-07-13 04:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677779968001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677779968001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:42:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:42:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677779968001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":130007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:42:12] local.INFO: GPS data processed {"connection_id":130007,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:42:12] local.INFO: Acknowledgment sent {"connection_id":130007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:42:35] local.INFO: TCP Data received {"connection_id":130980,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:42:35] local.INFO: Processing buffer {"connection_id":130980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:42:35] local.INFO: IMEI packet received {"connection_id":130980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":130980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:42:41] local.INFO: TCP Data received {"connection_id":130980,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:42:41] local.INFO: Processing buffer {"connection_id":130980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:42:41] local.INFO: IMEI packet received {"connection_id":130980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":130980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:42:41] local.INFO: TCP Data received {"connection_id":130980,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f589971d8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f589971d8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:42:41] local.INFO: Processing buffer {"connection_id":130980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f589971d8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:42:41] local.INFO: Packet analysis {"connection_id":130980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5899"} 
[2026-07-13 04:42:41] local.INFO: Extracted packet for processing {"connection_id":130980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5899"} 
[2026-07-13 04:42:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677779968001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783897879000,"timestamp_ms":1783897879000,"timestamp_seconds":1783897879,"priority":1,"record_length":96,"hex_timestamp":"0000019f589971d8"} 
[2026-07-13 04:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677779968001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677779968001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:42:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:42:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677779968001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":130980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:42:41] local.INFO: GPS data processed {"connection_id":130980,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:42:41] local.INFO: Acknowledgment sent {"connection_id":130980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:43:01] local.INFO: TCP Data received {"connection_id":130197,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130197,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:43:01] local.INFO: Processing buffer {"connection_id":130197,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:43:01] local.INFO: IMEI packet received {"connection_id":130197,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 04:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":130197,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:43:13] local.INFO: TCP Data received {"connection_id":130980,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f589971d8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f589971d8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:43:13] local.INFO: Processing buffer {"connection_id":130980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f589971d8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:43:13] local.INFO: Packet analysis {"connection_id":130980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5899"} 
[2026-07-13 04:43:13] local.INFO: Extracted packet for processing {"connection_id":130980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5899"} 
[2026-07-13 04:43:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677779968001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783897879000,"timestamp_ms":1783897879000,"timestamp_seconds":1783897879,"priority":1,"record_length":96,"hex_timestamp":"0000019f589971d8"} 
[2026-07-13 04:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677779968001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677779968001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:43:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:43:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677779968001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":130980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:43:13] local.INFO: GPS data processed {"connection_id":130980,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:43:13] local.INFO: Acknowledgment sent {"connection_id":130980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:43:35] local.INFO: TCP Data received {"connection_id":130008,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:43:35] local.INFO: Processing buffer {"connection_id":130008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:43:35] local.INFO: IMEI packet received {"connection_id":130008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":130008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:43:41] local.INFO: TCP Data received {"connection_id":132317,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132317,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:43:41] local.INFO: Processing buffer {"connection_id":132317,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:43:41] local.INFO: IMEI packet received {"connection_id":132317,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 04:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":132317,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:43:41] local.INFO: TCP Data received {"connection_id":130008,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:43:41] local.INFO: Processing buffer {"connection_id":130008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:43:41] local.INFO: IMEI packet received {"connection_id":130008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":130008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:43:42] local.INFO: TCP Data received {"connection_id":130008,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f589971d8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f589971d8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:43:42] local.INFO: Processing buffer {"connection_id":130008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f589971d8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:43:42] local.INFO: Packet analysis {"connection_id":130008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5899"} 
[2026-07-13 04:43:42] local.INFO: Extracted packet for processing {"connection_id":130008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5899"} 
[2026-07-13 04:43:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677779968001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783897879000,"timestamp_ms":1783897879000,"timestamp_seconds":1783897879,"priority":1,"record_length":96,"hex_timestamp":"0000019f589971d8"} 
[2026-07-13 04:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677779968001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677779968001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:43:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:43:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677779968001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":130008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:43:42] local.INFO: GPS data processed {"connection_id":130008,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:43:42] local.INFO: Acknowledgment sent {"connection_id":130008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:44:13] local.INFO: TCP Data received {"connection_id":130008,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f589971d8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f589971d8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:44:13] local.INFO: Processing buffer {"connection_id":130008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f589971d8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:44:13] local.INFO: Packet analysis {"connection_id":130008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5899"} 
[2026-07-13 04:44:13] local.INFO: Extracted packet for processing {"connection_id":130008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5899"} 
[2026-07-13 04:44:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677779968001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783897879000,"timestamp_ms":1783897879000,"timestamp_seconds":1783897879,"priority":1,"record_length":96,"hex_timestamp":"0000019f589971d8"} 
[2026-07-13 04:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677779968001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677779968001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:44:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:44:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677779968001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":130008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:44:13] local.INFO: GPS data processed {"connection_id":130008,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:44:13] local.INFO: Acknowledgment sent {"connection_id":130008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:44:41] local.INFO: TCP Data received {"connection_id":130198,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:44:41] local.INFO: Processing buffer {"connection_id":130198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:44:41] local.INFO: IMEI packet received {"connection_id":130198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":130198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:44:46] local.INFO: TCP Data received {"connection_id":130198,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:44:46] local.INFO: Processing buffer {"connection_id":130198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:44:46] local.INFO: IMEI packet received {"connection_id":130198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":130198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:44:47] local.INFO: TCP Data received {"connection_id":130198,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f589971d8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f589971d8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:44:47] local.INFO: Processing buffer {"connection_id":130198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f589971d8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:44:47] local.INFO: Packet analysis {"connection_id":130198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5899"} 
[2026-07-13 04:44:47] local.INFO: Extracted packet for processing {"connection_id":130198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5899"} 
[2026-07-13 04:44:47] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677779968001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783897879000,"timestamp_ms":1783897879000,"timestamp_seconds":1783897879,"priority":1,"record_length":96,"hex_timestamp":"0000019f589971d8"} 
[2026-07-13 04:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677779968001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677779968001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:44:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:44:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677779968001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":130198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:44:47] local.INFO: GPS data processed {"connection_id":130198,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:44:47] local.INFO: Acknowledgment sent {"connection_id":130198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:44:51] local.INFO: TCP Data received {"connection_id":130198,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f589971d8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f589971d8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:44:51] local.INFO: Processing buffer {"connection_id":130198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f589971d8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:44:51] local.INFO: Packet analysis {"connection_id":130198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5899"} 
[2026-07-13 04:44:51] local.INFO: Extracted packet for processing {"connection_id":130198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5899"} 
[2026-07-13 04:44:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677779968001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783897879000,"timestamp_ms":1783897879000,"timestamp_seconds":1783897879,"priority":1,"record_length":96,"hex_timestamp":"0000019f589971d8"} 
[2026-07-13 04:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:44: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-07-13 04:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677779968001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677779968001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:44:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:44:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677779968001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":130198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:44:51] local.INFO: GPS data processed {"connection_id":130198,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:44:51] local.INFO: Acknowledgment sent {"connection_id":130198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:45:35] local.INFO: TCP Data received {"connection_id":130199,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:45:35] local.INFO: Processing buffer {"connection_id":130199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:45:35] local.INFO: IMEI packet received {"connection_id":130199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":130199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:45:42] local.INFO: TCP Data received {"connection_id":130199,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:45:42] local.INFO: Processing buffer {"connection_id":130199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:45:42] local.INFO: IMEI packet received {"connection_id":130199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":130199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:45:43] local.INFO: TCP Data received {"connection_id":130199,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f589971d8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f589971d8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:45:43] local.INFO: Processing buffer {"connection_id":130199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f589971d8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:45:43] local.INFO: Packet analysis {"connection_id":130199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5899"} 
[2026-07-13 04:45:43] local.INFO: Extracted packet for processing {"connection_id":130199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5899"} 
[2026-07-13 04:45:43] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677779968001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783897879000,"timestamp_ms":1783897879000,"timestamp_seconds":1783897879,"priority":1,"record_length":96,"hex_timestamp":"0000019f589971d8"} 
[2026-07-13 04:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677779968001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677779968001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:45:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:45:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677779968001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":130199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:45:43] local.INFO: GPS data processed {"connection_id":130199,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:45:43] local.INFO: Acknowledgment sent {"connection_id":130199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:46:14] local.INFO: TCP Data received {"connection_id":130199,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f589971d8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f589971d8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:46:14] local.INFO: Processing buffer {"connection_id":130199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f589971d8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:46:14] local.INFO: Packet analysis {"connection_id":130199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5899"} 
[2026-07-13 04:46:14] local.INFO: Extracted packet for processing {"connection_id":130199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5899"} 
[2026-07-13 04:46:14] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677779968001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783897879000,"timestamp_ms":1783897879000,"timestamp_seconds":1783897879,"priority":1,"record_length":96,"hex_timestamp":"0000019f589971d8"} 
[2026-07-13 04:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:46:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677779968001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677779968001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:46:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:46:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677779968001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":130199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:46:14] local.INFO: GPS data processed {"connection_id":130199,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:46:14] local.INFO: Acknowledgment sent {"connection_id":130199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:46:36] local.INFO: TCP Data received {"connection_id":130201,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:46:36] local.INFO: Processing buffer {"connection_id":130201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:46:36] local.INFO: IMEI packet received {"connection_id":130201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":130201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:46:41] local.INFO: TCP Data received {"connection_id":130201,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:46:41] local.INFO: Processing buffer {"connection_id":130201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:46:41] local.INFO: IMEI packet received {"connection_id":130201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":130201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:46:42] local.INFO: TCP Data received {"connection_id":130201,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f589971d8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f589971d8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:46:42] local.INFO: Processing buffer {"connection_id":130201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f589971d8012d7f914005afd9380000011b26..."} 
[2026-07-13 04:46:42] local.INFO: Packet analysis {"connection_id":130201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5899"} 
[2026-07-13 04:46:42] local.INFO: Extracted packet for processing {"connection_id":130201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5899"} 
[2026-07-13 04:46:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677779968001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783897879000,"timestamp_ms":1783897879000,"timestamp_seconds":1783897879,"priority":1,"record_length":96,"hex_timestamp":"0000019f589971d8"} 
[2026-07-13 04:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677779968001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677779968001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:46:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:46:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677779968001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":130201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:46:42] local.INFO: GPS data processed {"connection_id":130201,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:46:42] local.INFO: Acknowledgment sent {"connection_id":130201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:47:13] local.INFO: TCP Data received {"connection_id":130201,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f589e09a0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f589e09a0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:47:13] local.INFO: Processing buffer {"connection_id":130201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f589e09a0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:47:13] local.INFO: Packet analysis {"connection_id":130201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f589e"} 
[2026-07-13 04:47:13] local.INFO: Extracted packet for processing {"connection_id":130201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f589e"} 
[2026-07-13 04:47:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677857024001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783898180000,"timestamp_ms":1783898180000,"timestamp_seconds":1783898180,"priority":1,"record_length":96,"hex_timestamp":"0000019f589e09a0"} 
[2026-07-13 04:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677857024001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677857024001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:47:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:47:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677857024001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":130201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:47:13] local.INFO: GPS data processed {"connection_id":130201,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:47:13] local.INFO: Acknowledgment sent {"connection_id":130201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:47:35] local.INFO: TCP Data received {"connection_id":130982,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:47:35] local.INFO: Processing buffer {"connection_id":130982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:47:35] local.INFO: IMEI packet received {"connection_id":130982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":130982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:47:41] local.INFO: TCP Data received {"connection_id":130982,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:47:41] local.INFO: Processing buffer {"connection_id":130982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:47:41] local.INFO: IMEI packet received {"connection_id":130982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":130982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:47:41] local.INFO: TCP Data received {"connection_id":130982,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f589e09a0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f589e09a0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:47:41] local.INFO: Processing buffer {"connection_id":130982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f589e09a0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:47:41] local.INFO: Packet analysis {"connection_id":130982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f589e"} 
[2026-07-13 04:47:41] local.INFO: Extracted packet for processing {"connection_id":130982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f589e"} 
[2026-07-13 04:47:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677857024001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783898180000,"timestamp_ms":1783898180000,"timestamp_seconds":1783898180,"priority":1,"record_length":96,"hex_timestamp":"0000019f589e09a0"} 
[2026-07-13 04:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677857024001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677857024001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:47:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:47:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677857024001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":130982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:47:41] local.INFO: GPS data processed {"connection_id":130982,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:47:41] local.INFO: Acknowledgment sent {"connection_id":130982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:48:13] local.INFO: TCP Data received {"connection_id":130982,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f589e09a0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f589e09a0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:48:13] local.INFO: Processing buffer {"connection_id":130982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f589e09a0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:48:13] local.INFO: Packet analysis {"connection_id":130982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f589e"} 
[2026-07-13 04:48:13] local.INFO: Extracted packet for processing {"connection_id":130982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f589e"} 
[2026-07-13 04:48:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677857024001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783898180000,"timestamp_ms":1783898180000,"timestamp_seconds":1783898180,"priority":1,"record_length":96,"hex_timestamp":"0000019f589e09a0"} 
[2026-07-13 04:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:48:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677857024001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677857024001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:48:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:48:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677857024001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":130982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:48:13] local.INFO: GPS data processed {"connection_id":130982,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:48:13] local.INFO: Acknowledgment sent {"connection_id":130982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:48:41] local.INFO: TCP Data received {"connection_id":130202,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:48:41] local.INFO: Processing buffer {"connection_id":130202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:48:41] local.INFO: IMEI packet received {"connection_id":130202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":130202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:48:46] local.INFO: TCP Data received {"connection_id":130202,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:48:46] local.INFO: Processing buffer {"connection_id":130202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:48:46] local.INFO: IMEI packet received {"connection_id":130202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":130202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:48:46] local.INFO: TCP Data received {"connection_id":130202,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f589e09a0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f589e09a0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:48:46] local.INFO: Processing buffer {"connection_id":130202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f589e09a0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:48:46] local.INFO: Packet analysis {"connection_id":130202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f589e"} 
[2026-07-13 04:48:46] local.INFO: Extracted packet for processing {"connection_id":130202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f589e"} 
[2026-07-13 04:48:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677857024001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783898180000,"timestamp_ms":1783898180000,"timestamp_seconds":1783898180,"priority":1,"record_length":96,"hex_timestamp":"0000019f589e09a0"} 
[2026-07-13 04:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677857024001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677857024001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:48:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:48:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677857024001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":130202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:48:46] local.INFO: GPS data processed {"connection_id":130202,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:48:46] local.INFO: Acknowledgment sent {"connection_id":130202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:48:51] local.INFO: TCP Data received {"connection_id":130202,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f589e09a0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f589e09a0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:48:51] local.INFO: Processing buffer {"connection_id":130202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f589e09a0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:48:51] local.INFO: Packet analysis {"connection_id":130202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f589e"} 
[2026-07-13 04:48:51] local.INFO: Extracted packet for processing {"connection_id":130202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f589e"} 
[2026-07-13 04:48:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 04:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677857024001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783898180000,"timestamp_ms":1783898180000,"timestamp_seconds":1783898180,"priority":1,"record_length":96,"hex_timestamp":"0000019f589e09a0"} 
[2026-07-13 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-07-13 04:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 04:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:48: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-07-13 04:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677857024001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677857024001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:48:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:48:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677857024001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":130202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:48:51] local.INFO: GPS data processed {"connection_id":130202,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:48:51] local.INFO: Acknowledgment sent {"connection_id":130202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:49:13] local.INFO: TCP Data received {"connection_id":130010,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130010,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:49:13] local.INFO: Processing buffer {"connection_id":130010,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:49:13] local.INFO: IMEI packet received {"connection_id":130010,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 04:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":130010,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:49:35] local.INFO: TCP Data received {"connection_id":132319,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:49:35] local.INFO: Processing buffer {"connection_id":132319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:49:35] local.INFO: IMEI packet received {"connection_id":132319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":132319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:49:41] local.INFO: TCP Data received {"connection_id":130011,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130011,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:49:41] local.INFO: Processing buffer {"connection_id":130011,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:49:41] local.INFO: IMEI packet received {"connection_id":130011,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 04:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":130011,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:49:41] local.INFO: TCP Data received {"connection_id":132319,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:49:41] local.INFO: Processing buffer {"connection_id":132319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:49:41] local.INFO: IMEI packet received {"connection_id":132319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":132319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:49:41] local.INFO: TCP Data received {"connection_id":132319,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f589e09a0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f589e09a0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:49:41] local.INFO: Processing buffer {"connection_id":132319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f589e09a0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:49:41] local.INFO: Packet analysis {"connection_id":132319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f589e"} 
[2026-07-13 04:49:41] local.INFO: Extracted packet for processing {"connection_id":132319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f589e"} 
[2026-07-13 04:49:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677857024001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783898180000,"timestamp_ms":1783898180000,"timestamp_seconds":1783898180,"priority":1,"record_length":96,"hex_timestamp":"0000019f589e09a0"} 
[2026-07-13 04:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677857024001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677857024001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:49:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:49:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677857024001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":132319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:49:41] local.INFO: GPS data processed {"connection_id":132319,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:49:41] local.INFO: Acknowledgment sent {"connection_id":132319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:50:12] local.INFO: TCP Data received {"connection_id":132319,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f589e09a0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f589e09a0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:50:12] local.INFO: Processing buffer {"connection_id":132319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f589e09a0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:50:12] local.INFO: Packet analysis {"connection_id":132319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f589e"} 
[2026-07-13 04:50:12] local.INFO: Extracted packet for processing {"connection_id":132319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f589e"} 
[2026-07-13 04:50:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677857024001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783898180000,"timestamp_ms":1783898180000,"timestamp_seconds":1783898180,"priority":1,"record_length":96,"hex_timestamp":"0000019f589e09a0"} 
[2026-07-13 04:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677857024001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677857024001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:50:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:50:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677857024001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":132319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:50:12] local.INFO: GPS data processed {"connection_id":132319,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:50:12] local.INFO: Acknowledgment sent {"connection_id":132319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:50:36] local.INFO: TCP Data received {"connection_id":130012,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:50:36] local.INFO: Processing buffer {"connection_id":130012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:50:36] local.INFO: IMEI packet received {"connection_id":130012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":130012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:50:41] local.INFO: TCP Data received {"connection_id":130012,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:50:41] local.INFO: Processing buffer {"connection_id":130012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:50:41] local.INFO: IMEI packet received {"connection_id":130012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":130012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:50:41] local.INFO: TCP Data received {"connection_id":130012,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f589e09a0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f589e09a0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:50:41] local.INFO: Processing buffer {"connection_id":130012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f589e09a0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:50:41] local.INFO: Packet analysis {"connection_id":130012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f589e"} 
[2026-07-13 04:50:41] local.INFO: Extracted packet for processing {"connection_id":130012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f589e"} 
[2026-07-13 04:50:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04: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-07-13 04:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677857024001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783898180000,"timestamp_ms":1783898180000,"timestamp_seconds":1783898180,"priority":1,"record_length":96,"hex_timestamp":"0000019f589e09a0"} 
[2026-07-13 04:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04: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-07-13 04:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677857024001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677857024001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:50:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:50:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677857024001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":130012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:50:41] local.INFO: GPS data processed {"connection_id":130012,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:50:41] local.INFO: Acknowledgment sent {"connection_id":130012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:51:12] local.INFO: TCP Data received {"connection_id":130012,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f589e09a0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f589e09a0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:51:12] local.INFO: Processing buffer {"connection_id":130012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f589e09a0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:51:12] local.INFO: Packet analysis {"connection_id":130012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f589e"} 
[2026-07-13 04:51:12] local.INFO: Extracted packet for processing {"connection_id":130012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f589e"} 
[2026-07-13 04:51:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677857024001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783898180000,"timestamp_ms":1783898180000,"timestamp_seconds":1783898180,"priority":1,"record_length":96,"hex_timestamp":"0000019f589e09a0"} 
[2026-07-13 04:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677857024001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677857024001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:51:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:51:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677857024001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":130012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:51:13] local.INFO: GPS data processed {"connection_id":130012,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:51:13] local.INFO: Acknowledgment sent {"connection_id":130012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:51:35] local.INFO: TCP Data received {"connection_id":130203,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:51:35] local.INFO: Processing buffer {"connection_id":130203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:51:35] local.INFO: IMEI packet received {"connection_id":130203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":130203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:51:41] local.INFO: TCP Data received {"connection_id":130203,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:51:41] local.INFO: Processing buffer {"connection_id":130203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:51:41] local.INFO: IMEI packet received {"connection_id":130203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":130203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:51:41] local.INFO: TCP Data received {"connection_id":130203,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f589e09a0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f589e09a0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:51:41] local.INFO: Processing buffer {"connection_id":130203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f589e09a0012d7f914005afd9380000011b25..."} 
[2026-07-13 04:51:41] local.INFO: Packet analysis {"connection_id":130203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f589e"} 
[2026-07-13 04:51:41] local.INFO: Extracted packet for processing {"connection_id":130203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f589e"} 
[2026-07-13 04:51:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677857024001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783898180000,"timestamp_ms":1783898180000,"timestamp_seconds":1783898180,"priority":1,"record_length":96,"hex_timestamp":"0000019f589e09a0"} 
[2026-07-13 04:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677857024001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677857024001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:51:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:51:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677857024001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":130203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:51:41] local.INFO: GPS data processed {"connection_id":130203,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:51:41] local.INFO: Acknowledgment sent {"connection_id":130203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:52:13] local.INFO: TCP Data received {"connection_id":130203,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f58a2a168012d7f914005afd9380000011b23..."} 
[2026-07-13 04:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58a2a168012d7f914005afd9380000011b23..."} 
[2026-07-13 04:52:13] local.INFO: Processing buffer {"connection_id":130203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58a2a168012d7f914005afd9380000011b23..."} 
[2026-07-13 04:52:13] local.INFO: Packet analysis {"connection_id":130203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58a2"} 
[2026-07-13 04:52:13] local.INFO: Extracted packet for processing {"connection_id":130203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58a2"} 
[2026-07-13 04:52:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677934080001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783898481000,"timestamp_ms":1783898481000,"timestamp_seconds":1783898481,"priority":1,"record_length":96,"hex_timestamp":"0000019f58a2a168"} 
[2026-07-13 04:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:52:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:52:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677934080001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677934080001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:52:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:52:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677934080001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":130203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:52:13] local.INFO: GPS data processed {"connection_id":130203,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:52:13] local.INFO: Acknowledgment sent {"connection_id":130203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:52:35] local.INFO: TCP Data received {"connection_id":130984,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:52:35] local.INFO: Processing buffer {"connection_id":130984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:52:35] local.INFO: IMEI packet received {"connection_id":130984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":130984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:52:41] local.INFO: TCP Data received {"connection_id":130984,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:52:41] local.INFO: Processing buffer {"connection_id":130984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:52:41] local.INFO: IMEI packet received {"connection_id":130984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":130984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:52:41] local.INFO: TCP Data received {"connection_id":130984,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f58a2a168012d7f914005afd9380000011b23..."} 
[2026-07-13 04:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58a2a168012d7f914005afd9380000011b23..."} 
[2026-07-13 04:52:41] local.INFO: Processing buffer {"connection_id":130984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58a2a168012d7f914005afd9380000011b23..."} 
[2026-07-13 04:52:41] local.INFO: Packet analysis {"connection_id":130984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58a2"} 
[2026-07-13 04:52:41] local.INFO: Extracted packet for processing {"connection_id":130984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58a2"} 
[2026-07-13 04:52:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677934080001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783898481000,"timestamp_ms":1783898481000,"timestamp_seconds":1783898481,"priority":1,"record_length":96,"hex_timestamp":"0000019f58a2a168"} 
[2026-07-13 04:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677934080001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677934080001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:52:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:52:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677934080001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":130984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:52:41] local.INFO: GPS data processed {"connection_id":130984,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:52:41] local.INFO: Acknowledgment sent {"connection_id":130984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:53:12] local.INFO: TCP Data received {"connection_id":130984,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f58a2a168012d7f914005afd9380000011b23..."} 
[2026-07-13 04:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58a2a168012d7f914005afd9380000011b23..."} 
[2026-07-13 04:53:12] local.INFO: Processing buffer {"connection_id":130984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58a2a168012d7f914005afd9380000011b23..."} 
[2026-07-13 04:53:12] local.INFO: Packet analysis {"connection_id":130984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58a2"} 
[2026-07-13 04:53:12] local.INFO: Extracted packet for processing {"connection_id":130984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58a2"} 
[2026-07-13 04:53:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677934080001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783898481000,"timestamp_ms":1783898481000,"timestamp_seconds":1783898481,"priority":1,"record_length":96,"hex_timestamp":"0000019f58a2a168"} 
[2026-07-13 04:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677934080001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677934080001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:53:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:53:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677934080001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":130984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:53:12] local.INFO: GPS data processed {"connection_id":130984,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:53:12] local.INFO: Acknowledgment sent {"connection_id":130984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:53:35] local.INFO: TCP Data received {"connection_id":130986,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:53:35] local.INFO: Processing buffer {"connection_id":130986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:53:35] local.INFO: IMEI packet received {"connection_id":130986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":130986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:53:41] local.INFO: TCP Data received {"connection_id":130986,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:53:41] local.INFO: Processing buffer {"connection_id":130986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:53:41] local.INFO: IMEI packet received {"connection_id":130986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":130986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:53:42] local.INFO: TCP Data received {"connection_id":130986,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f58a2a168012d7f914005afd9380000011b23..."} 
[2026-07-13 04:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58a2a168012d7f914005afd9380000011b23..."} 
[2026-07-13 04:53:42] local.INFO: Processing buffer {"connection_id":130986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58a2a168012d7f914005afd9380000011b23..."} 
[2026-07-13 04:53:42] local.INFO: Packet analysis {"connection_id":130986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58a2"} 
[2026-07-13 04:53:42] local.INFO: Extracted packet for processing {"connection_id":130986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58a2"} 
[2026-07-13 04:53:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04: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-07-13 04:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677934080001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783898481000,"timestamp_ms":1783898481000,"timestamp_seconds":1783898481,"priority":1,"record_length":96,"hex_timestamp":"0000019f58a2a168"} 
[2026-07-13 04:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04: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-07-13 04:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677934080001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677934080001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:53:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:53:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677934080001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":130986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:53:42] local.INFO: GPS data processed {"connection_id":130986,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:53:42] local.INFO: Acknowledgment sent {"connection_id":130986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:54:13] local.INFO: TCP Data received {"connection_id":130986,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f58a2a168012d7f914005afd9380000011b23..."} 
[2026-07-13 04:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58a2a168012d7f914005afd9380000011b23..."} 
[2026-07-13 04:54:13] local.INFO: Processing buffer {"connection_id":130986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58a2a168012d7f914005afd9380000011b23..."} 
[2026-07-13 04:54:13] local.INFO: Packet analysis {"connection_id":130986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58a2"} 
[2026-07-13 04:54:13] local.INFO: Extracted packet for processing {"connection_id":130986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58a2"} 
[2026-07-13 04:54:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677934080001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783898481000,"timestamp_ms":1783898481000,"timestamp_seconds":1783898481,"priority":1,"record_length":96,"hex_timestamp":"0000019f58a2a168"} 
[2026-07-13 04:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677934080001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677934080001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:54:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:54:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677934080001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":130986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:54:13] local.INFO: GPS data processed {"connection_id":130986,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:54:13] local.INFO: Acknowledgment sent {"connection_id":130986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:54:41] local.INFO: TCP Data received {"connection_id":130987,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:54:41] local.INFO: Processing buffer {"connection_id":130987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:54:41] local.INFO: IMEI packet received {"connection_id":130987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":130987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:54:46] local.INFO: TCP Data received {"connection_id":130987,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:54:46] local.INFO: Processing buffer {"connection_id":130987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:54:46] local.INFO: IMEI packet received {"connection_id":130987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":130987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:54:46] local.INFO: TCP Data received {"connection_id":130987,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f58a2a168012d7f914005afd9380000011b23..."} 
[2026-07-13 04:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58a2a168012d7f914005afd9380000011b23..."} 
[2026-07-13 04:54:46] local.INFO: Processing buffer {"connection_id":130987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58a2a168012d7f914005afd9380000011b23..."} 
[2026-07-13 04:54:46] local.INFO: Packet analysis {"connection_id":130987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58a2"} 
[2026-07-13 04:54:46] local.INFO: Extracted packet for processing {"connection_id":130987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58a2"} 
[2026-07-13 04:54:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677934080001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783898481000,"timestamp_ms":1783898481000,"timestamp_seconds":1783898481,"priority":1,"record_length":96,"hex_timestamp":"0000019f58a2a168"} 
[2026-07-13 04:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:54: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-07-13 04:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677934080001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677934080001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:54:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:54:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677934080001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":130987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:54:46] local.INFO: GPS data processed {"connection_id":130987,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:54:46] local.INFO: Acknowledgment sent {"connection_id":130987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:54:51] local.INFO: TCP Data received {"connection_id":130987,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f58a2a168012d7f914005afd9380000011b23..."} 
[2026-07-13 04:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58a2a168012d7f914005afd9380000011b23..."} 
[2026-07-13 04:54:51] local.INFO: Processing buffer {"connection_id":130987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58a2a168012d7f914005afd9380000011b23..."} 
[2026-07-13 04:54:51] local.INFO: Packet analysis {"connection_id":130987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58a2"} 
[2026-07-13 04:54:51] local.INFO: Extracted packet for processing {"connection_id":130987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58a2"} 
[2026-07-13 04:54:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04: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-07-13 04:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677934080001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783898481000,"timestamp_ms":1783898481000,"timestamp_seconds":1783898481,"priority":1,"record_length":96,"hex_timestamp":"0000019f58a2a168"} 
[2026-07-13 04:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04: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-07-13 04:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:54: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-07-13 04:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677934080001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677934080001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:54:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:54:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677934080001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":130987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:54:51] local.INFO: GPS data processed {"connection_id":130987,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:54:51] local.INFO: Acknowledgment sent {"connection_id":130987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:55:06] local.INFO: TCP Data received {"connection_id":132321,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132321,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:55:06] local.INFO: Processing buffer {"connection_id":132321,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:55:06] local.INFO: IMEI packet received {"connection_id":132321,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 04:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":132321,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:55:35] local.INFO: TCP Data received {"connection_id":130205,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:55:35] local.INFO: Processing buffer {"connection_id":130205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:55:35] local.INFO: IMEI packet received {"connection_id":130205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":130205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:55:41] local.INFO: TCP Data received {"connection_id":130988,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:55:41] local.INFO: Processing buffer {"connection_id":130988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 04:55:41] local.INFO: IMEI packet received {"connection_id":130988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 04:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":130988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:55:41] local.INFO: TCP Data received {"connection_id":130205,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:55:41] local.INFO: Processing buffer {"connection_id":130205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:55:41] local.INFO: IMEI packet received {"connection_id":130205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":130205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:55:41] local.INFO: TCP Data received {"connection_id":130205,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f58a2a168012d7f914005afd9380000011b23..."} 
[2026-07-13 04:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58a2a168012d7f914005afd9380000011b23..."} 
[2026-07-13 04:55:41] local.INFO: Processing buffer {"connection_id":130205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58a2a168012d7f914005afd9380000011b23..."} 
[2026-07-13 04:55:41] local.INFO: Packet analysis {"connection_id":130205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58a2"} 
[2026-07-13 04:55:41] local.INFO: Extracted packet for processing {"connection_id":130205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58a2"} 
[2026-07-13 04:55:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04: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-07-13 04:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677934080001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783898481000,"timestamp_ms":1783898481000,"timestamp_seconds":1783898481,"priority":1,"record_length":96,"hex_timestamp":"0000019f58a2a168"} 
[2026-07-13 04:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04: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-07-13 04:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677934080001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677934080001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:55:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:55:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677934080001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":130205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:55:41] local.INFO: GPS data processed {"connection_id":130205,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:55:41] local.INFO: Acknowledgment sent {"connection_id":130205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:56:12] local.INFO: TCP Data received {"connection_id":130205,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f58a2a168012d7f914005afd9380000011b23..."} 
[2026-07-13 04:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58a2a168012d7f914005afd9380000011b23..."} 
[2026-07-13 04:56:13] local.INFO: Processing buffer {"connection_id":130205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58a2a168012d7f914005afd9380000011b23..."} 
[2026-07-13 04:56:13] local.INFO: Packet analysis {"connection_id":130205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58a2"} 
[2026-07-13 04:56:13] local.INFO: Extracted packet for processing {"connection_id":130205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58a2"} 
[2026-07-13 04:56:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677934080001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783898481000,"timestamp_ms":1783898481000,"timestamp_seconds":1783898481,"priority":1,"record_length":96,"hex_timestamp":"0000019f58a2a168"} 
[2026-07-13 04:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677934080001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677934080001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:56:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:56:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677934080001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":130205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:56:13] local.INFO: GPS data processed {"connection_id":130205,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:56:13] local.INFO: Acknowledgment sent {"connection_id":130205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:56:36] local.INFO: TCP Data received {"connection_id":130013,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:56:36] local.INFO: Processing buffer {"connection_id":130013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:56:36] local.INFO: IMEI packet received {"connection_id":130013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":130013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:56:41] local.INFO: TCP Data received {"connection_id":130013,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:56:41] local.INFO: Processing buffer {"connection_id":130013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:56:41] local.INFO: IMEI packet received {"connection_id":130013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":130013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:56:41] local.INFO: TCP Data received {"connection_id":130013,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f58a2a168012d7f914005afd9380000011b23..."} 
[2026-07-13 04:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58a2a168012d7f914005afd9380000011b23..."} 
[2026-07-13 04:56:41] local.INFO: Processing buffer {"connection_id":130013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58a2a168012d7f914005afd9380000011b23..."} 
[2026-07-13 04:56:41] local.INFO: Packet analysis {"connection_id":130013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58a2"} 
[2026-07-13 04:56:41] local.INFO: Extracted packet for processing {"connection_id":130013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58a2"} 
[2026-07-13 04:56:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456677934080001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783898481000,"timestamp_ms":1783898481000,"timestamp_seconds":1783898481,"priority":1,"record_length":96,"hex_timestamp":"0000019f58a2a168"} 
[2026-07-13 04:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456677934080001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456677934080001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:56:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456677934080001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":130013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:56:41] local.INFO: GPS data processed {"connection_id":130013,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:56:41] local.INFO: Acknowledgment sent {"connection_id":130013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:57:13] local.INFO: TCP Data received {"connection_id":130013,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f58a73930012d7f914005afd9380000011b26..."} 
[2026-07-13 04:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58a73930012d7f914005afd9380000011b26..."} 
[2026-07-13 04:57:13] local.INFO: Processing buffer {"connection_id":130013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58a73930012d7f914005afd9380000011b26..."} 
[2026-07-13 04:57:13] local.INFO: Packet analysis {"connection_id":130013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58a7"} 
[2026-07-13 04:57:13] local.INFO: Extracted packet for processing {"connection_id":130013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58a7"} 
[2026-07-13 04:57:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678011136001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783898782000,"timestamp_ms":1783898782000,"timestamp_seconds":1783898782,"priority":1,"record_length":96,"hex_timestamp":"0000019f58a73930"} 
[2026-07-13 04:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678011136001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678011136001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:57:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:57:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678011136001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":130013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:57:13] local.INFO: GPS data processed {"connection_id":130013,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:57:13] local.INFO: Acknowledgment sent {"connection_id":130013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:57:35] local.INFO: TCP Data received {"connection_id":130989,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:57:35] local.INFO: Processing buffer {"connection_id":130989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:57:35] local.INFO: IMEI packet received {"connection_id":130989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":130989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:57:41] local.INFO: TCP Data received {"connection_id":130989,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:57:41] local.INFO: Processing buffer {"connection_id":130989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:57:41] local.INFO: IMEI packet received {"connection_id":130989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":130989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:57:41] local.INFO: TCP Data received {"connection_id":130989,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f58a73930012d7f914005afd9380000011b26..."} 
[2026-07-13 04:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58a73930012d7f914005afd9380000011b26..."} 
[2026-07-13 04:57:41] local.INFO: Processing buffer {"connection_id":130989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58a73930012d7f914005afd9380000011b26..."} 
[2026-07-13 04:57:41] local.INFO: Packet analysis {"connection_id":130989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58a7"} 
[2026-07-13 04:57:41] local.INFO: Extracted packet for processing {"connection_id":130989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58a7"} 
[2026-07-13 04:57:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678011136001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783898782000,"timestamp_ms":1783898782000,"timestamp_seconds":1783898782,"priority":1,"record_length":96,"hex_timestamp":"0000019f58a73930"} 
[2026-07-13 04:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678011136001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678011136001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:57:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:57:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678011136001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":130989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:57:41] local.INFO: GPS data processed {"connection_id":130989,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:57:41] local.INFO: Acknowledgment sent {"connection_id":130989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:58:13] local.INFO: TCP Data received {"connection_id":130989,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f58a73930012d7f914005afd9380000011b26..."} 
[2026-07-13 04:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58a73930012d7f914005afd9380000011b26..."} 
[2026-07-13 04:58:13] local.INFO: Processing buffer {"connection_id":130989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58a73930012d7f914005afd9380000011b26..."} 
[2026-07-13 04:58:13] local.INFO: Packet analysis {"connection_id":130989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58a7"} 
[2026-07-13 04:58:13] local.INFO: Extracted packet for processing {"connection_id":130989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58a7"} 
[2026-07-13 04:58:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678011136001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783898782000,"timestamp_ms":1783898782000,"timestamp_seconds":1783898782,"priority":1,"record_length":96,"hex_timestamp":"0000019f58a73930"} 
[2026-07-13 04:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678011136001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678011136001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:58:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:58:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678011136001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":130989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:58:13] local.INFO: GPS data processed {"connection_id":130989,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:58:13] local.INFO: Acknowledgment sent {"connection_id":130989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:58:35] local.INFO: TCP Data received {"connection_id":132323,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:58:35] local.INFO: Processing buffer {"connection_id":132323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:58:35] local.INFO: IMEI packet received {"connection_id":132323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":132323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:58:41] local.INFO: TCP Data received {"connection_id":132323,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:58:41] local.INFO: Processing buffer {"connection_id":132323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:58:41] local.INFO: IMEI packet received {"connection_id":132323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":132323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:58:42] local.INFO: TCP Data received {"connection_id":132323,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f58a73930012d7f914005afd9380000011b26..."} 
[2026-07-13 04:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58a73930012d7f914005afd9380000011b26..."} 
[2026-07-13 04:58:42] local.INFO: Processing buffer {"connection_id":132323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58a73930012d7f914005afd9380000011b26..."} 
[2026-07-13 04:58:42] local.INFO: Packet analysis {"connection_id":132323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58a7"} 
[2026-07-13 04:58:42] local.INFO: Extracted packet for processing {"connection_id":132323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58a7"} 
[2026-07-13 04:58:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678011136001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783898782000,"timestamp_ms":1783898782000,"timestamp_seconds":1783898782,"priority":1,"record_length":96,"hex_timestamp":"0000019f58a73930"} 
[2026-07-13 04:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678011136001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678011136001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:58:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:58:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678011136001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":132323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:58:42] local.INFO: GPS data processed {"connection_id":132323,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:58:42] local.INFO: Acknowledgment sent {"connection_id":132323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:59:13] local.INFO: TCP Data received {"connection_id":132323,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f58a73930012d7f914005afd9380000011b26..."} 
[2026-07-13 04:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58a73930012d7f914005afd9380000011b26..."} 
[2026-07-13 04:59:13] local.INFO: Processing buffer {"connection_id":132323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58a73930012d7f914005afd9380000011b26..."} 
[2026-07-13 04:59:13] local.INFO: Packet analysis {"connection_id":132323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58a7"} 
[2026-07-13 04:59:13] local.INFO: Extracted packet for processing {"connection_id":132323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58a7"} 
[2026-07-13 04:59:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678011136001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783898782000,"timestamp_ms":1783898782000,"timestamp_seconds":1783898782,"priority":1,"record_length":96,"hex_timestamp":"0000019f58a73930"} 
[2026-07-13 04:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678011136001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678011136001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:59:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:59:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678011136001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":132323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:59:13] local.INFO: GPS data processed {"connection_id":132323,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:59:13] local.INFO: Acknowledgment sent {"connection_id":132323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 04:59:41] local.INFO: TCP Data received {"connection_id":130990,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:59:41] local.INFO: Processing buffer {"connection_id":130990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:59:41] local.INFO: IMEI packet received {"connection_id":130990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 04:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":130990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 04:59:46] local.INFO: TCP Data received {"connection_id":130990,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:59:46] local.INFO: Processing buffer {"connection_id":130990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 04:59:46] local.INFO: IMEI packet received {"connection_id":130990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 04:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":130990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 04:59:47] local.INFO: TCP Data received {"connection_id":130990,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f58a73930012d7f914005afd9380000011b26..."} 
[2026-07-13 04:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58a73930012d7f914005afd9380000011b26..."} 
[2026-07-13 04:59:47] local.INFO: Processing buffer {"connection_id":130990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58a73930012d7f914005afd9380000011b26..."} 
[2026-07-13 04:59:47] local.INFO: Packet analysis {"connection_id":130990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58a7"} 
[2026-07-13 04:59:47] local.INFO: Extracted packet for processing {"connection_id":130990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58a7"} 
[2026-07-13 04:59:47] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 04:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 04:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678011136001,"note":"Value kept but may cause issues"} 
[2026-07-13 04:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 04:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 04:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 04:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783898782000,"timestamp_ms":1783898782000,"timestamp_seconds":1783898782,"priority":1,"record_length":96,"hex_timestamp":"0000019f58a73930"} 
[2026-07-13 04:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 04:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 04:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 04:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 04:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 04:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 04:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 04:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 04:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 04:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 04:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 04:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 04:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678011136001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 04:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 04:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 04:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678011136001,"description":"Unknown IO ID 0"} 
[2026-07-13 04:59:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 04:59:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 04:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 04:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 04:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678011136001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 04:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":130990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 04:59:47] local.INFO: GPS data processed {"connection_id":130990,"processed":1,"errors":0,"total":1} 
[2026-07-13 04:59:47] local.INFO: Acknowledgment sent {"connection_id":130990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:00:17] local.INFO: TCP Data received {"connection_id":130990,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f58a73930012d7f914005afd9380000011b26..."} 
[2026-07-13 05:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58a73930012d7f914005afd9380000011b26..."} 
[2026-07-13 05:00:18] local.INFO: Processing buffer {"connection_id":130990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58a73930012d7f914005afd9380000011b26..."} 
[2026-07-13 05:00:18] local.INFO: Packet analysis {"connection_id":130990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58a7"} 
[2026-07-13 05:00:18] local.INFO: Extracted packet for processing {"connection_id":130990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58a7"} 
[2026-07-13 05:00:18] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05: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-07-13 05:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678011136001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783898782000,"timestamp_ms":1783898782000,"timestamp_seconds":1783898782,"priority":1,"record_length":96,"hex_timestamp":"0000019f58a73930"} 
[2026-07-13 05:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05: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-07-13 05:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678011136001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678011136001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:00:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:00:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678011136001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":130990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:00:18] local.INFO: GPS data processed {"connection_id":130990,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:00:18] local.INFO: Acknowledgment sent {"connection_id":130990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:00:36] local.INFO: TCP Data received {"connection_id":130208,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:00:36] local.INFO: Processing buffer {"connection_id":130208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:00:36] local.INFO: IMEI packet received {"connection_id":130208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":130208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:00:41] local.INFO: TCP Data received {"connection_id":130208,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:00:41] local.INFO: Processing buffer {"connection_id":130208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:00:41] local.INFO: IMEI packet received {"connection_id":130208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":130208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:00:42] local.INFO: TCP Data received {"connection_id":130208,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f58a73930012d7f914005afd9380000011b26..."} 
[2026-07-13 05:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58a73930012d7f914005afd9380000011b26..."} 
[2026-07-13 05:00:42] local.INFO: Processing buffer {"connection_id":130208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58a73930012d7f914005afd9380000011b26..."} 
[2026-07-13 05:00:42] local.INFO: Packet analysis {"connection_id":130208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58a7"} 
[2026-07-13 05:00:42] local.INFO: Extracted packet for processing {"connection_id":130208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58a7"} 
[2026-07-13 05:00:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678011136001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783898782000,"timestamp_ms":1783898782000,"timestamp_seconds":1783898782,"priority":1,"record_length":96,"hex_timestamp":"0000019f58a73930"} 
[2026-07-13 05:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678011136001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678011136001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:00:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:00:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678011136001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":130208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:00:42] local.INFO: GPS data processed {"connection_id":130208,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:00:42] local.INFO: Acknowledgment sent {"connection_id":130208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:01:01] local.INFO: TCP Data received {"connection_id":130209,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130209,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:01:01] local.INFO: Processing buffer {"connection_id":130209,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:01:01] local.INFO: IMEI packet received {"connection_id":130209,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 05:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":130209,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:01:13] local.INFO: TCP Data received {"connection_id":130208,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f58a73930012d7f914005afd9380000011b26..."} 
[2026-07-13 05:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58a73930012d7f914005afd9380000011b26..."} 
[2026-07-13 05:01:13] local.INFO: Processing buffer {"connection_id":130208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58a73930012d7f914005afd9380000011b26..."} 
[2026-07-13 05:01:13] local.INFO: Packet analysis {"connection_id":130208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58a7"} 
[2026-07-13 05:01:13] local.INFO: Extracted packet for processing {"connection_id":130208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58a7"} 
[2026-07-13 05:01:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678011136001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783898782000,"timestamp_ms":1783898782000,"timestamp_seconds":1783898782,"priority":1,"record_length":96,"hex_timestamp":"0000019f58a73930"} 
[2026-07-13 05:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:01:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678011136001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678011136001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:01:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:01:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678011136001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":130208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:01:13] local.INFO: GPS data processed {"connection_id":130208,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:01:13] local.INFO: Acknowledgment sent {"connection_id":130208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:01:35] local.INFO: TCP Data received {"connection_id":130210,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:01:35] local.INFO: Processing buffer {"connection_id":130210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:01:35] local.INFO: IMEI packet received {"connection_id":130210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":130210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:01:41] local.INFO: TCP Data received {"connection_id":130014,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130014,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:01:41] local.INFO: Processing buffer {"connection_id":130014,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:01:41] local.INFO: IMEI packet received {"connection_id":130014,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 05:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":130014,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:01:41] local.INFO: TCP Data received {"connection_id":130210,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:01:41] local.INFO: Processing buffer {"connection_id":130210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:01:41] local.INFO: IMEI packet received {"connection_id":130210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":130210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:01:42] local.INFO: TCP Data received {"connection_id":130210,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f58a73930012d7f914005afd9380000011b26..."} 
[2026-07-13 05:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58a73930012d7f914005afd9380000011b26..."} 
[2026-07-13 05:01:42] local.INFO: Processing buffer {"connection_id":130210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58a73930012d7f914005afd9380000011b26..."} 
[2026-07-13 05:01:42] local.INFO: Packet analysis {"connection_id":130210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58a7"} 
[2026-07-13 05:01:42] local.INFO: Extracted packet for processing {"connection_id":130210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58a7"} 
[2026-07-13 05:01:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678011136001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783898782000,"timestamp_ms":1783898782000,"timestamp_seconds":1783898782,"priority":1,"record_length":96,"hex_timestamp":"0000019f58a73930"} 
[2026-07-13 05:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678011136001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678011136001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:01:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:01:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678011136001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":130210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:01:42] local.INFO: GPS data processed {"connection_id":130210,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:01:42] local.INFO: Acknowledgment sent {"connection_id":130210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:02:13] local.INFO: TCP Data received {"connection_id":130210,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f58abd0f8012d7f914005afd9380000011b27..."} 
[2026-07-13 05:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58abd0f8012d7f914005afd9380000011b27..."} 
[2026-07-13 05:02:13] local.INFO: Processing buffer {"connection_id":130210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58abd0f8012d7f914005afd9380000011b27..."} 
[2026-07-13 05:02:13] local.INFO: Packet analysis {"connection_id":130210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58ab"} 
[2026-07-13 05:02:13] local.INFO: Extracted packet for processing {"connection_id":130210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58ab"} 
[2026-07-13 05:02:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678088192001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783899083000,"timestamp_ms":1783899083000,"timestamp_seconds":1783899083,"priority":1,"record_length":96,"hex_timestamp":"0000019f58abd0f8"} 
[2026-07-13 05:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 05:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678088192001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678088192001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:02:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:02:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678088192001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":130210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:02:13] local.INFO: GPS data processed {"connection_id":130210,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:02:13] local.INFO: Acknowledgment sent {"connection_id":130210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:02:35] local.INFO: TCP Data received {"connection_id":130992,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:02:35] local.INFO: Processing buffer {"connection_id":130992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:02:35] local.INFO: IMEI packet received {"connection_id":130992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":130992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:02:41] local.INFO: TCP Data received {"connection_id":130992,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:02:41] local.INFO: Processing buffer {"connection_id":130992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:02:41] local.INFO: IMEI packet received {"connection_id":130992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":130992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:02:41] local.INFO: TCP Data received {"connection_id":130992,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f58abd0f8012d7f914005afd9380000011b27..."} 
[2026-07-13 05:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58abd0f8012d7f914005afd9380000011b27..."} 
[2026-07-13 05:02:41] local.INFO: Processing buffer {"connection_id":130992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58abd0f8012d7f914005afd9380000011b27..."} 
[2026-07-13 05:02:41] local.INFO: Packet analysis {"connection_id":130992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58ab"} 
[2026-07-13 05:02:41] local.INFO: Extracted packet for processing {"connection_id":130992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58ab"} 
[2026-07-13 05:02:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678088192001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783899083000,"timestamp_ms":1783899083000,"timestamp_seconds":1783899083,"priority":1,"record_length":96,"hex_timestamp":"0000019f58abd0f8"} 
[2026-07-13 05:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 05:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678088192001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678088192001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:02:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:02:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678088192001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":130992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:02:41] local.INFO: GPS data processed {"connection_id":130992,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:02:41] local.INFO: Acknowledgment sent {"connection_id":130992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:03:12] local.INFO: TCP Data received {"connection_id":130992,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f58abd0f8012d7f914005afd9380000011b27..."} 
[2026-07-13 05:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58abd0f8012d7f914005afd9380000011b27..."} 
[2026-07-13 05:03:12] local.INFO: Processing buffer {"connection_id":130992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58abd0f8012d7f914005afd9380000011b27..."} 
[2026-07-13 05:03:12] local.INFO: Packet analysis {"connection_id":130992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58ab"} 
[2026-07-13 05:03:12] local.INFO: Extracted packet for processing {"connection_id":130992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58ab"} 
[2026-07-13 05:03:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678088192001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783899083000,"timestamp_ms":1783899083000,"timestamp_seconds":1783899083,"priority":1,"record_length":96,"hex_timestamp":"0000019f58abd0f8"} 
[2026-07-13 05:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 05:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678088192001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678088192001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:03:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:03:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678088192001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":130992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:03:12] local.INFO: GPS data processed {"connection_id":130992,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:03:12] local.INFO: Acknowledgment sent {"connection_id":130992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:03:35] local.INFO: TCP Data received {"connection_id":130015,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:03:35] local.INFO: Processing buffer {"connection_id":130015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:03:35] local.INFO: IMEI packet received {"connection_id":130015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":130015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:03:41] local.INFO: TCP Data received {"connection_id":130015,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:03:41] local.INFO: Processing buffer {"connection_id":130015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:03:41] local.INFO: IMEI packet received {"connection_id":130015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":130015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:03:41] local.INFO: TCP Data received {"connection_id":130015,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f58abd0f8012d7f914005afd9380000011b27..."} 
[2026-07-13 05:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58abd0f8012d7f914005afd9380000011b27..."} 
[2026-07-13 05:03:41] local.INFO: Processing buffer {"connection_id":130015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58abd0f8012d7f914005afd9380000011b27..."} 
[2026-07-13 05:03:41] local.INFO: Packet analysis {"connection_id":130015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58ab"} 
[2026-07-13 05:03:41] local.INFO: Extracted packet for processing {"connection_id":130015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58ab"} 
[2026-07-13 05:03:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678088192001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783899083000,"timestamp_ms":1783899083000,"timestamp_seconds":1783899083,"priority":1,"record_length":96,"hex_timestamp":"0000019f58abd0f8"} 
[2026-07-13 05:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 05:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678088192001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678088192001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:03:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678088192001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":130015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:03:41] local.INFO: GPS data processed {"connection_id":130015,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:03:41] local.INFO: Acknowledgment sent {"connection_id":130015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:04:12] local.INFO: TCP Data received {"connection_id":130015,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f58abd0f8012d7f914005afd9380000011b27..."} 
[2026-07-13 05:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58abd0f8012d7f914005afd9380000011b27..."} 
[2026-07-13 05:04:12] local.INFO: Processing buffer {"connection_id":130015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58abd0f8012d7f914005afd9380000011b27..."} 
[2026-07-13 05:04:12] local.INFO: Packet analysis {"connection_id":130015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58ab"} 
[2026-07-13 05:04:12] local.INFO: Extracted packet for processing {"connection_id":130015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58ab"} 
[2026-07-13 05:04:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678088192001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783899083000,"timestamp_ms":1783899083000,"timestamp_seconds":1783899083,"priority":1,"record_length":96,"hex_timestamp":"0000019f58abd0f8"} 
[2026-07-13 05:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 05:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678088192001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678088192001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:04:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:04:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678088192001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":130015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:04:12] local.INFO: GPS data processed {"connection_id":130015,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:04:12] local.INFO: Acknowledgment sent {"connection_id":130015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:04:41] local.INFO: TCP Data received {"connection_id":130016,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:04:41] local.INFO: Processing buffer {"connection_id":130016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:04:41] local.INFO: IMEI packet received {"connection_id":130016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":130016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:04:46] local.INFO: TCP Data received {"connection_id":130016,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:04:46] local.INFO: Processing buffer {"connection_id":130016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:04:46] local.INFO: IMEI packet received {"connection_id":130016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":130016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:04:46] local.INFO: TCP Data received {"connection_id":130016,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58abd0f8012d7f914005afd9380000011b27..."} 
[2026-07-13 05:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58abd0f8012d7f914005afd9380000011b27..."} 
[2026-07-13 05:04:46] local.INFO: Processing buffer {"connection_id":130016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58abd0f8012d7f914005afd9380000011b27..."} 
[2026-07-13 05:04:46] local.INFO: Packet analysis {"connection_id":130016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58ab"} 
[2026-07-13 05:04:46] local.INFO: Extracted packet for processing {"connection_id":130016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58ab"} 
[2026-07-13 05:04:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678088192001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783899083000,"timestamp_ms":1783899083000,"timestamp_seconds":1783899083,"priority":1,"record_length":96,"hex_timestamp":"0000019f58abd0f8"} 
[2026-07-13 05:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 05:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05: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-07-13 05:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678088192001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678088192001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:04:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:04:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678088192001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":130016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:04:46] local.INFO: GPS data processed {"connection_id":130016,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:04:46] local.INFO: Acknowledgment sent {"connection_id":130016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:04:51] local.INFO: TCP Data received {"connection_id":130016,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58abd0f8012d7f914005afd9380000011b27..."} 
[2026-07-13 05:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58abd0f8012d7f914005afd9380000011b27..."} 
[2026-07-13 05:04:51] local.INFO: Processing buffer {"connection_id":130016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58abd0f8012d7f914005afd9380000011b27..."} 
[2026-07-13 05:04:51] local.INFO: Packet analysis {"connection_id":130016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58ab"} 
[2026-07-13 05:04:51] local.INFO: Extracted packet for processing {"connection_id":130016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58ab"} 
[2026-07-13 05:04:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678088192001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783899083000,"timestamp_ms":1783899083000,"timestamp_seconds":1783899083,"priority":1,"record_length":96,"hex_timestamp":"0000019f58abd0f8"} 
[2026-07-13 05:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 05:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:04: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-07-13 05:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678088192001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678088192001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:04:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:04:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678088192001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":130016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:04:51] local.INFO: GPS data processed {"connection_id":130016,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:04:51] local.INFO: Acknowledgment sent {"connection_id":130016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:05:35] local.INFO: TCP Data received {"connection_id":130995,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:05:35] local.INFO: Processing buffer {"connection_id":130995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:05:35] local.INFO: IMEI packet received {"connection_id":130995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":130995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:05:41] local.INFO: TCP Data received {"connection_id":130995,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:05:41] local.INFO: Processing buffer {"connection_id":130995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:05:41] local.INFO: IMEI packet received {"connection_id":130995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":130995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:05:42] local.INFO: TCP Data received {"connection_id":130995,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f58abd0f8012d7f914005afd9380000011b27..."} 
[2026-07-13 05:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58abd0f8012d7f914005afd9380000011b27..."} 
[2026-07-13 05:05:42] local.INFO: Processing buffer {"connection_id":130995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58abd0f8012d7f914005afd9380000011b27..."} 
[2026-07-13 05:05:42] local.INFO: Packet analysis {"connection_id":130995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58ab"} 
[2026-07-13 05:05:42] local.INFO: Extracted packet for processing {"connection_id":130995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58ab"} 
[2026-07-13 05:05:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678088192001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783899083000,"timestamp_ms":1783899083000,"timestamp_seconds":1783899083,"priority":1,"record_length":96,"hex_timestamp":"0000019f58abd0f8"} 
[2026-07-13 05:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 05:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678088192001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678088192001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:05:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:05:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678088192001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":130995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:05:42] local.INFO: GPS data processed {"connection_id":130995,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:05:42] local.INFO: Acknowledgment sent {"connection_id":130995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:06:13] local.INFO: TCP Data received {"connection_id":130995,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f58abd0f8012d7f914005afd9380000011b27..."} 
[2026-07-13 05:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58abd0f8012d7f914005afd9380000011b27..."} 
[2026-07-13 05:06:13] local.INFO: Processing buffer {"connection_id":130995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58abd0f8012d7f914005afd9380000011b27..."} 
[2026-07-13 05:06:13] local.INFO: Packet analysis {"connection_id":130995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58ab"} 
[2026-07-13 05:06:13] local.INFO: Extracted packet for processing {"connection_id":130995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58ab"} 
[2026-07-13 05:06:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678088192001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783899083000,"timestamp_ms":1783899083000,"timestamp_seconds":1783899083,"priority":1,"record_length":96,"hex_timestamp":"0000019f58abd0f8"} 
[2026-07-13 05:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:06:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 05:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:06:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678088192001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678088192001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:06:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:06:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678088192001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":130995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:06:13] local.INFO: GPS data processed {"connection_id":130995,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:06:13] local.INFO: Acknowledgment sent {"connection_id":130995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:06:35] local.INFO: TCP Data received {"connection_id":130017,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:06:35] local.INFO: Processing buffer {"connection_id":130017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:06:35] local.INFO: IMEI packet received {"connection_id":130017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":130017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:06:41] local.INFO: TCP Data received {"connection_id":130017,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:06:41] local.INFO: Processing buffer {"connection_id":130017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:06:41] local.INFO: IMEI packet received {"connection_id":130017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":130017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:06:41] local.INFO: TCP Data received {"connection_id":130017,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f58abd0f8012d7f914005afd9380000011b27..."} 
[2026-07-13 05:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58abd0f8012d7f914005afd9380000011b27..."} 
[2026-07-13 05:06:41] local.INFO: Processing buffer {"connection_id":130017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58abd0f8012d7f914005afd9380000011b27..."} 
[2026-07-13 05:06:41] local.INFO: Packet analysis {"connection_id":130017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58ab"} 
[2026-07-13 05:06:41] local.INFO: Extracted packet for processing {"connection_id":130017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58ab"} 
[2026-07-13 05:06:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678088192001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783899083000,"timestamp_ms":1783899083000,"timestamp_seconds":1783899083,"priority":1,"record_length":96,"hex_timestamp":"0000019f58abd0f8"} 
[2026-07-13 05:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 05:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678088192001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678088192001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:06:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:06:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678088192001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":130017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:06:41] local.INFO: GPS data processed {"connection_id":130017,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:06:41] local.INFO: Acknowledgment sent {"connection_id":130017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:07:11] local.INFO: TCP Data received {"connection_id":132325,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132325,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:07:11] local.INFO: Processing buffer {"connection_id":132325,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:07:11] local.INFO: IMEI packet received {"connection_id":132325,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 05:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":132325,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:07:12] local.INFO: TCP Data received {"connection_id":130017,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f58b064d8012d7f914005afd9380000011b26..."} 
[2026-07-13 05:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58b064d8012d7f914005afd9380000011b26..."} 
[2026-07-13 05:07:12] local.INFO: Processing buffer {"connection_id":130017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58b064d8012d7f914005afd9380000011b26..."} 
[2026-07-13 05:07:12] local.INFO: Packet analysis {"connection_id":130017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58b0"} 
[2026-07-13 05:07:12] local.INFO: Extracted packet for processing {"connection_id":130017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58b0"} 
[2026-07-13 05:07:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678165248001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783899383000,"timestamp_ms":1783899383000,"timestamp_seconds":1783899383,"priority":1,"record_length":96,"hex_timestamp":"0000019f58b064d8"} 
[2026-07-13 05:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678165248001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678165248001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:07:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:07:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678165248001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":130017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:07:12] local.INFO: GPS data processed {"connection_id":130017,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:07:12] local.INFO: Acknowledgment sent {"connection_id":130017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:07:40] local.INFO: TCP Data received {"connection_id":130997,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:07:40] local.INFO: Processing buffer {"connection_id":130997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:07:40] local.INFO: IMEI packet received {"connection_id":130997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":130997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:07:41] local.INFO: TCP Data received {"connection_id":130998,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130998,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:07:41] local.INFO: Processing buffer {"connection_id":130998,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:07:41] local.INFO: IMEI packet received {"connection_id":130998,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 05:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":130998,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:07:46] local.INFO: TCP Data received {"connection_id":130997,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:07:46] local.INFO: Processing buffer {"connection_id":130997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:07:46] local.INFO: IMEI packet received {"connection_id":130997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":130997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:07:46] local.INFO: TCP Data received {"connection_id":130997,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f58b064d8012d7f914005afd9380000011b26..."} 
[2026-07-13 05:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58b064d8012d7f914005afd9380000011b26..."} 
[2026-07-13 05:07:46] local.INFO: Processing buffer {"connection_id":130997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58b064d8012d7f914005afd9380000011b26..."} 
[2026-07-13 05:07:46] local.INFO: Packet analysis {"connection_id":130997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58b0"} 
[2026-07-13 05:07:46] local.INFO: Extracted packet for processing {"connection_id":130997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58b0"} 
[2026-07-13 05:07:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678165248001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783899383000,"timestamp_ms":1783899383000,"timestamp_seconds":1783899383,"priority":1,"record_length":96,"hex_timestamp":"0000019f58b064d8"} 
[2026-07-13 05:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678165248001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678165248001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:07:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:07:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678165248001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":130997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:07:46] local.INFO: GPS data processed {"connection_id":130997,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:07:46] local.INFO: Acknowledgment sent {"connection_id":130997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:07:51] local.INFO: TCP Data received {"connection_id":130997,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f58b064d8012d7f914005afd9380000011b26..."} 
[2026-07-13 05:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58b064d8012d7f914005afd9380000011b26..."} 
[2026-07-13 05:07:51] local.INFO: Processing buffer {"connection_id":130997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58b064d8012d7f914005afd9380000011b26..."} 
[2026-07-13 05:07:51] local.INFO: Packet analysis {"connection_id":130997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58b0"} 
[2026-07-13 05:07:51] local.INFO: Extracted packet for processing {"connection_id":130997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58b0"} 
[2026-07-13 05:07:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678165248001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783899383000,"timestamp_ms":1783899383000,"timestamp_seconds":1783899383,"priority":1,"record_length":96,"hex_timestamp":"0000019f58b064d8"} 
[2026-07-13 05:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:07: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-07-13 05:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678165248001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678165248001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:07:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:07:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678165248001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":130997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:07:51] local.INFO: GPS data processed {"connection_id":130997,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:07:51] local.INFO: Acknowledgment sent {"connection_id":130997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:08:36] local.INFO: TCP Data received {"connection_id":130018,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:08:36] local.INFO: Processing buffer {"connection_id":130018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:08:36] local.INFO: IMEI packet received {"connection_id":130018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":130018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:08:41] local.INFO: TCP Data received {"connection_id":130018,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:08:41] local.INFO: Processing buffer {"connection_id":130018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:08:41] local.INFO: IMEI packet received {"connection_id":130018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":130018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:08:42] local.INFO: TCP Data received {"connection_id":130018,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f58b064d8012d7f914005afd9380000011b26..."} 
[2026-07-13 05:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58b064d8012d7f914005afd9380000011b26..."} 
[2026-07-13 05:08:42] local.INFO: Processing buffer {"connection_id":130018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58b064d8012d7f914005afd9380000011b26..."} 
[2026-07-13 05:08:42] local.INFO: Packet analysis {"connection_id":130018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58b0"} 
[2026-07-13 05:08:42] local.INFO: Extracted packet for processing {"connection_id":130018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58b0"} 
[2026-07-13 05:08:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678165248001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783899383000,"timestamp_ms":1783899383000,"timestamp_seconds":1783899383,"priority":1,"record_length":96,"hex_timestamp":"0000019f58b064d8"} 
[2026-07-13 05:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678165248001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678165248001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:08:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:08:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678165248001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":130018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:08:42] local.INFO: GPS data processed {"connection_id":130018,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:08:42] local.INFO: Acknowledgment sent {"connection_id":130018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:09:14] local.INFO: TCP Data received {"connection_id":130018,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f58b064d8012d7f914005afd9380000011b26..."} 
[2026-07-13 05:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58b064d8012d7f914005afd9380000011b26..."} 
[2026-07-13 05:09:14] local.INFO: Processing buffer {"connection_id":130018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58b064d8012d7f914005afd9380000011b26..."} 
[2026-07-13 05:09:14] local.INFO: Packet analysis {"connection_id":130018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58b0"} 
[2026-07-13 05:09:14] local.INFO: Extracted packet for processing {"connection_id":130018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58b0"} 
[2026-07-13 05:09:14] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678165248001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783899383000,"timestamp_ms":1783899383000,"timestamp_seconds":1783899383,"priority":1,"record_length":96,"hex_timestamp":"0000019f58b064d8"} 
[2026-07-13 05:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:09:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678165248001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678165248001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:09:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:09:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678165248001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":130018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:09:14] local.INFO: GPS data processed {"connection_id":130018,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:09:14] local.INFO: Acknowledgment sent {"connection_id":130018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:09:35] local.INFO: TCP Data received {"connection_id":132327,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:09:35] local.INFO: Processing buffer {"connection_id":132327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:09:35] local.INFO: IMEI packet received {"connection_id":132327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":132327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:09:41] local.INFO: TCP Data received {"connection_id":132327,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:09:41] local.INFO: Processing buffer {"connection_id":132327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:09:41] local.INFO: IMEI packet received {"connection_id":132327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":132327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:09:41] local.INFO: TCP Data received {"connection_id":132327,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f58b064d8012d7f914005afd9380000011b26..."} 
[2026-07-13 05:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58b064d8012d7f914005afd9380000011b26..."} 
[2026-07-13 05:09:41] local.INFO: Processing buffer {"connection_id":132327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58b064d8012d7f914005afd9380000011b26..."} 
[2026-07-13 05:09:41] local.INFO: Packet analysis {"connection_id":132327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58b0"} 
[2026-07-13 05:09:41] local.INFO: Extracted packet for processing {"connection_id":132327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58b0"} 
[2026-07-13 05:09:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678165248001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783899383000,"timestamp_ms":1783899383000,"timestamp_seconds":1783899383,"priority":1,"record_length":96,"hex_timestamp":"0000019f58b064d8"} 
[2026-07-13 05:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678165248001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678165248001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:09:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678165248001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":132327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:09:41] local.INFO: GPS data processed {"connection_id":132327,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:09:41] local.INFO: Acknowledgment sent {"connection_id":132327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:10:13] local.INFO: TCP Data received {"connection_id":132327,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f58b064d8012d7f914005afd9380000011b26..."} 
[2026-07-13 05:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58b064d8012d7f914005afd9380000011b26..."} 
[2026-07-13 05:10:13] local.INFO: Processing buffer {"connection_id":132327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58b064d8012d7f914005afd9380000011b26..."} 
[2026-07-13 05:10:13] local.INFO: Packet analysis {"connection_id":132327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58b0"} 
[2026-07-13 05:10:13] local.INFO: Extracted packet for processing {"connection_id":132327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58b0"} 
[2026-07-13 05:10:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678165248001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783899383000,"timestamp_ms":1783899383000,"timestamp_seconds":1783899383,"priority":1,"record_length":96,"hex_timestamp":"0000019f58b064d8"} 
[2026-07-13 05:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678165248001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678165248001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:10:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:10:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678165248001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":132327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:10:13] local.INFO: GPS data processed {"connection_id":132327,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:10:13] local.INFO: Acknowledgment sent {"connection_id":132327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:10:35] local.INFO: TCP Data received {"connection_id":130212,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:10:35] local.INFO: Processing buffer {"connection_id":130212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:10:35] local.INFO: IMEI packet received {"connection_id":130212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":130212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:10:41] local.INFO: TCP Data received {"connection_id":130212,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:10:41] local.INFO: Processing buffer {"connection_id":130212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:10:41] local.INFO: IMEI packet received {"connection_id":130212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":130212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:10:41] local.INFO: TCP Data received {"connection_id":130212,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f58b064d8012d7f914005afd9380000011b26..."} 
[2026-07-13 05:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58b064d8012d7f914005afd9380000011b26..."} 
[2026-07-13 05:10:41] local.INFO: Processing buffer {"connection_id":130212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58b064d8012d7f914005afd9380000011b26..."} 
[2026-07-13 05:10:41] local.INFO: Packet analysis {"connection_id":130212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58b0"} 
[2026-07-13 05:10:41] local.INFO: Extracted packet for processing {"connection_id":130212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58b0"} 
[2026-07-13 05:10:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678165248001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783899383000,"timestamp_ms":1783899383000,"timestamp_seconds":1783899383,"priority":1,"record_length":96,"hex_timestamp":"0000019f58b064d8"} 
[2026-07-13 05:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:10:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678165248001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678165248001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:10:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:10:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678165248001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":130212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:10:41] local.INFO: GPS data processed {"connection_id":130212,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:10:41] local.INFO: Acknowledgment sent {"connection_id":130212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:11:13] local.INFO: TCP Data received {"connection_id":130212,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f58b064d8012d7f914005afd9380000011b26..."} 
[2026-07-13 05:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58b064d8012d7f914005afd9380000011b26..."} 
[2026-07-13 05:11:13] local.INFO: Processing buffer {"connection_id":130212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58b064d8012d7f914005afd9380000011b26..."} 
[2026-07-13 05:11:13] local.INFO: Packet analysis {"connection_id":130212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58b0"} 
[2026-07-13 05:11:13] local.INFO: Extracted packet for processing {"connection_id":130212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58b0"} 
[2026-07-13 05:11:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678165248001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783899383000,"timestamp_ms":1783899383000,"timestamp_seconds":1783899383,"priority":1,"record_length":96,"hex_timestamp":"0000019f58b064d8"} 
[2026-07-13 05:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678165248001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678165248001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:11:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:11:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678165248001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":130212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:11:13] local.INFO: GPS data processed {"connection_id":130212,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:11:13] local.INFO: Acknowledgment sent {"connection_id":130212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:11:35] local.INFO: TCP Data received {"connection_id":130019,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:11:35] local.INFO: Processing buffer {"connection_id":130019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:11:35] local.INFO: IMEI packet received {"connection_id":130019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":130019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:11:41] local.INFO: TCP Data received {"connection_id":130019,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:11:41] local.INFO: Processing buffer {"connection_id":130019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:11:41] local.INFO: IMEI packet received {"connection_id":130019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":130019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:11:41] local.INFO: TCP Data received {"connection_id":130019,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f58b064d8012d7f914005afd9380000011b26..."} 
[2026-07-13 05:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58b064d8012d7f914005afd9380000011b26..."} 
[2026-07-13 05:11:41] local.INFO: Processing buffer {"connection_id":130019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58b064d8012d7f914005afd9380000011b26..."} 
[2026-07-13 05:11:41] local.INFO: Packet analysis {"connection_id":130019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58b0"} 
[2026-07-13 05:11:41] local.INFO: Extracted packet for processing {"connection_id":130019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58b0"} 
[2026-07-13 05:11:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678165248001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783899383000,"timestamp_ms":1783899383000,"timestamp_seconds":1783899383,"priority":1,"record_length":96,"hex_timestamp":"0000019f58b064d8"} 
[2026-07-13 05:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678165248001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678165248001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:11:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:11:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678165248001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":130019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:11:41] local.INFO: GPS data processed {"connection_id":130019,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:11:41] local.INFO: Acknowledgment sent {"connection_id":130019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:12:13] local.INFO: TCP Data received {"connection_id":130019,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f58b4fca0012d7f914005afd9380000011b24..."} 
[2026-07-13 05:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58b4fca0012d7f914005afd9380000011b24..."} 
[2026-07-13 05:12:13] local.INFO: Processing buffer {"connection_id":130019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58b4fca0012d7f914005afd9380000011b24..."} 
[2026-07-13 05:12:13] local.INFO: Packet analysis {"connection_id":130019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58b4"} 
[2026-07-13 05:12:13] local.INFO: Extracted packet for processing {"connection_id":130019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58b4"} 
[2026-07-13 05:12:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678242048001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783899684000,"timestamp_ms":1783899684000,"timestamp_seconds":1783899684,"priority":1,"record_length":96,"hex_timestamp":"0000019f58b4fca0"} 
[2026-07-13 05:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 05:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678242048001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678242048001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:12:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:12:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678242048001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":130019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:12:13] local.INFO: GPS data processed {"connection_id":130019,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:12:13] local.INFO: Acknowledgment sent {"connection_id":130019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:12:41] local.INFO: TCP Data received {"connection_id":130214,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:12:41] local.INFO: Processing buffer {"connection_id":130214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:12:41] local.INFO: IMEI packet received {"connection_id":130214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":130214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:12:46] local.INFO: TCP Data received {"connection_id":130214,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:12:46] local.INFO: Processing buffer {"connection_id":130214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:12:46] local.INFO: IMEI packet received {"connection_id":130214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":130214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:12:46] local.INFO: TCP Data received {"connection_id":130214,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f58b4fca0012d7f914005afd9380000011b24..."} 
[2026-07-13 05:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58b4fca0012d7f914005afd9380000011b24..."} 
[2026-07-13 05:12:46] local.INFO: Processing buffer {"connection_id":130214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58b4fca0012d7f914005afd9380000011b24..."} 
[2026-07-13 05:12:46] local.INFO: Packet analysis {"connection_id":130214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58b4"} 
[2026-07-13 05:12:46] local.INFO: Extracted packet for processing {"connection_id":130214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58b4"} 
[2026-07-13 05:12:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678242048001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783899684000,"timestamp_ms":1783899684000,"timestamp_seconds":1783899684,"priority":1,"record_length":96,"hex_timestamp":"0000019f58b4fca0"} 
[2026-07-13 05:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 05:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678242048001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678242048001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:12:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:12:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678242048001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":130214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:12:46] local.INFO: GPS data processed {"connection_id":130214,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:12:46] local.INFO: Acknowledgment sent {"connection_id":130214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:12:51] local.INFO: TCP Data received {"connection_id":130214,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f58b4fca0012d7f914005afd9380000011b24..."} 
[2026-07-13 05:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58b4fca0012d7f914005afd9380000011b24..."} 
[2026-07-13 05:12:51] local.INFO: Processing buffer {"connection_id":130214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58b4fca0012d7f914005afd9380000011b24..."} 
[2026-07-13 05:12:51] local.INFO: Packet analysis {"connection_id":130214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58b4"} 
[2026-07-13 05:12:51] local.INFO: Extracted packet for processing {"connection_id":130214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58b4"} 
[2026-07-13 05:12:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678242048001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783899684000,"timestamp_ms":1783899684000,"timestamp_seconds":1783899684,"priority":1,"record_length":96,"hex_timestamp":"0000019f58b4fca0"} 
[2026-07-13 05:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 05:12: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-07-13 05:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678242048001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678242048001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:12:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:12:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678242048001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":130214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:12:51] local.INFO: GPS data processed {"connection_id":130214,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:12:51] local.INFO: Acknowledgment sent {"connection_id":130214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:12:56] local.INFO: TCP Data received {"connection_id":130215,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:12:56] local.INFO: Processing buffer {"connection_id":130215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:12:56] local.INFO: IMEI packet received {"connection_id":130215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 05:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":130215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:13:35] local.INFO: TCP Data received {"connection_id":130020,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:13:35] local.INFO: Processing buffer {"connection_id":130020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:13:35] local.INFO: IMEI packet received {"connection_id":130020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":130020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:13:41] local.INFO: TCP Data received {"connection_id":130020,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:13:41] local.INFO: Processing buffer {"connection_id":130020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:13:41] local.INFO: IMEI packet received {"connection_id":130020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":130020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:13:41] local.INFO: TCP Data received {"connection_id":132329,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132329,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:13:41] local.INFO: Processing buffer {"connection_id":132329,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:13:41] local.INFO: IMEI packet received {"connection_id":132329,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 05:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":132329,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:13:41] local.INFO: TCP Data received {"connection_id":130020,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f58b4fca0012d7f914005afd9380000011b24..."} 
[2026-07-13 05:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58b4fca0012d7f914005afd9380000011b24..."} 
[2026-07-13 05:13:41] local.INFO: Processing buffer {"connection_id":130020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58b4fca0012d7f914005afd9380000011b24..."} 
[2026-07-13 05:13:41] local.INFO: Packet analysis {"connection_id":130020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58b4"} 
[2026-07-13 05:13:41] local.INFO: Extracted packet for processing {"connection_id":130020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58b4"} 
[2026-07-13 05:13:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678242048001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783899684000,"timestamp_ms":1783899684000,"timestamp_seconds":1783899684,"priority":1,"record_length":96,"hex_timestamp":"0000019f58b4fca0"} 
[2026-07-13 05:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 05:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678242048001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678242048001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:13:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:13:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678242048001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":130020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:13:41] local.INFO: GPS data processed {"connection_id":130020,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:13:41] local.INFO: Acknowledgment sent {"connection_id":130020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:14:13] local.INFO: TCP Data received {"connection_id":130020,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f58b4fca0012d7f914005afd9380000011b24..."} 
[2026-07-13 05:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58b4fca0012d7f914005afd9380000011b24..."} 
[2026-07-13 05:14:13] local.INFO: Processing buffer {"connection_id":130020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58b4fca0012d7f914005afd9380000011b24..."} 
[2026-07-13 05:14:13] local.INFO: Packet analysis {"connection_id":130020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58b4"} 
[2026-07-13 05:14:13] local.INFO: Extracted packet for processing {"connection_id":130020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58b4"} 
[2026-07-13 05:14:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678242048001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783899684000,"timestamp_ms":1783899684000,"timestamp_seconds":1783899684,"priority":1,"record_length":96,"hex_timestamp":"0000019f58b4fca0"} 
[2026-07-13 05:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 05:14:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678242048001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678242048001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:14:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:14:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678242048001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":130020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:14:13] local.INFO: GPS data processed {"connection_id":130020,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:14:13] local.INFO: Acknowledgment sent {"connection_id":130020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:14:36] local.INFO: TCP Data received {"connection_id":130216,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:14:36] local.INFO: Processing buffer {"connection_id":130216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:14:36] local.INFO: IMEI packet received {"connection_id":130216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":130216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:14:41] local.INFO: TCP Data received {"connection_id":130216,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:14:41] local.INFO: Processing buffer {"connection_id":130216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:14:41] local.INFO: IMEI packet received {"connection_id":130216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":130216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:14:41] local.INFO: TCP Data received {"connection_id":130216,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f58b4fca0012d7f914005afd9380000011b24..."} 
[2026-07-13 05:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58b4fca0012d7f914005afd9380000011b24..."} 
[2026-07-13 05:14:41] local.INFO: Processing buffer {"connection_id":130216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58b4fca0012d7f914005afd9380000011b24..."} 
[2026-07-13 05:14:41] local.INFO: Packet analysis {"connection_id":130216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58b4"} 
[2026-07-13 05:14:41] local.INFO: Extracted packet for processing {"connection_id":130216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58b4"} 
[2026-07-13 05:14:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678242048001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783899684000,"timestamp_ms":1783899684000,"timestamp_seconds":1783899684,"priority":1,"record_length":96,"hex_timestamp":"0000019f58b4fca0"} 
[2026-07-13 05:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 05:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678242048001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678242048001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:14:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:14:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678242048001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":130216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:14:41] local.INFO: GPS data processed {"connection_id":130216,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:14:41] local.INFO: Acknowledgment sent {"connection_id":130216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:15:12] local.INFO: TCP Data received {"connection_id":130216,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f58b4fca0012d7f914005afd9380000011b24..."} 
[2026-07-13 05:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58b4fca0012d7f914005afd9380000011b24..."} 
[2026-07-13 05:15:12] local.INFO: Processing buffer {"connection_id":130216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58b4fca0012d7f914005afd9380000011b24..."} 
[2026-07-13 05:15:12] local.INFO: Packet analysis {"connection_id":130216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58b4"} 
[2026-07-13 05:15:12] local.INFO: Extracted packet for processing {"connection_id":130216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58b4"} 
[2026-07-13 05:15:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678242048001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783899684000,"timestamp_ms":1783899684000,"timestamp_seconds":1783899684,"priority":1,"record_length":96,"hex_timestamp":"0000019f58b4fca0"} 
[2026-07-13 05:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 05:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678242048001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678242048001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:15:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:15:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678242048001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":130216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:15:12] local.INFO: GPS data processed {"connection_id":130216,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:15:12] local.INFO: Acknowledgment sent {"connection_id":130216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:15:35] local.INFO: TCP Data received {"connection_id":130999,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:15:35] local.INFO: Processing buffer {"connection_id":130999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:15:35] local.INFO: IMEI packet received {"connection_id":130999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":130999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:15:41] local.INFO: TCP Data received {"connection_id":130999,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:15:41] local.INFO: Processing buffer {"connection_id":130999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:15:41] local.INFO: IMEI packet received {"connection_id":130999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":130999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:15:41] local.INFO: TCP Data received {"connection_id":130999,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f58b4fca0012d7f914005afd9380000011b24..."} 
[2026-07-13 05:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58b4fca0012d7f914005afd9380000011b24..."} 
[2026-07-13 05:15:41] local.INFO: Processing buffer {"connection_id":130999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58b4fca0012d7f914005afd9380000011b24..."} 
[2026-07-13 05:15:41] local.INFO: Packet analysis {"connection_id":130999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58b4"} 
[2026-07-13 05:15:41] local.INFO: Extracted packet for processing {"connection_id":130999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58b4"} 
[2026-07-13 05:15:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678242048001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783899684000,"timestamp_ms":1783899684000,"timestamp_seconds":1783899684,"priority":1,"record_length":96,"hex_timestamp":"0000019f58b4fca0"} 
[2026-07-13 05:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 05:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678242048001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678242048001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:15:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:15:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678242048001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":130999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:15:41] local.INFO: GPS data processed {"connection_id":130999,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:15:41] local.INFO: Acknowledgment sent {"connection_id":130999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:16:13] local.INFO: TCP Data received {"connection_id":130999,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f58b4fca0012d7f914005afd9380000011b24..."} 
[2026-07-13 05:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58b4fca0012d7f914005afd9380000011b24..."} 
[2026-07-13 05:16:13] local.INFO: Processing buffer {"connection_id":130999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58b4fca0012d7f914005afd9380000011b24..."} 
[2026-07-13 05:16:13] local.INFO: Packet analysis {"connection_id":130999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58b4"} 
[2026-07-13 05:16:13] local.INFO: Extracted packet for processing {"connection_id":130999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58b4"} 
[2026-07-13 05:16:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678242048001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783899684000,"timestamp_ms":1783899684000,"timestamp_seconds":1783899684,"priority":1,"record_length":96,"hex_timestamp":"0000019f58b4fca0"} 
[2026-07-13 05:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 05:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:16:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678242048001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678242048001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:16:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:16:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678242048001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":130999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:16:13] local.INFO: GPS data processed {"connection_id":130999,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:16:13] local.INFO: Acknowledgment sent {"connection_id":130999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:16:35] local.INFO: TCP Data received {"connection_id":132331,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:16:35] local.INFO: Processing buffer {"connection_id":132331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:16:35] local.INFO: IMEI packet received {"connection_id":132331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":132331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:16:41] local.INFO: TCP Data received {"connection_id":132331,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:16:41] local.INFO: Processing buffer {"connection_id":132331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:16:41] local.INFO: IMEI packet received {"connection_id":132331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":132331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:16:41] local.INFO: TCP Data received {"connection_id":132331,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f58b4fca0012d7f914005afd9380000011b24..."} 
[2026-07-13 05:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58b4fca0012d7f914005afd9380000011b24..."} 
[2026-07-13 05:16:41] local.INFO: Processing buffer {"connection_id":132331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58b4fca0012d7f914005afd9380000011b24..."} 
[2026-07-13 05:16:41] local.INFO: Packet analysis {"connection_id":132331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58b4"} 
[2026-07-13 05:16:41] local.INFO: Extracted packet for processing {"connection_id":132331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58b4"} 
[2026-07-13 05:16:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678242048001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783899684000,"timestamp_ms":1783899684000,"timestamp_seconds":1783899684,"priority":1,"record_length":96,"hex_timestamp":"0000019f58b4fca0"} 
[2026-07-13 05:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 05:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678242048001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678242048001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:16:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:16:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678242048001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":132331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:16:41] local.INFO: GPS data processed {"connection_id":132331,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:16:41] local.INFO: Acknowledgment sent {"connection_id":132331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:17:12] local.INFO: TCP Data received {"connection_id":132331,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f58b99850012d7f914005afd9380000011b27..."} 
[2026-07-13 05:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58b99850012d7f914005afd9380000011b27..."} 
[2026-07-13 05:17:12] local.INFO: Processing buffer {"connection_id":132331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58b99850012d7f914005afd9380000011b27..."} 
[2026-07-13 05:17:12] local.INFO: Packet analysis {"connection_id":132331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58b9"} 
[2026-07-13 05:17:12] local.INFO: Extracted packet for processing {"connection_id":132331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58b9"} 
[2026-07-13 05:17:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678319104001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783899986000,"timestamp_ms":1783899986000,"timestamp_seconds":1783899986,"priority":1,"record_length":96,"hex_timestamp":"0000019f58b99850"} 
[2026-07-13 05:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 05:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678319104001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678319104001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:17:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:17:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678319104001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":132331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:17:12] local.INFO: GPS data processed {"connection_id":132331,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:17:12] local.INFO: Acknowledgment sent {"connection_id":132331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:17:41] local.INFO: TCP Data received {"connection_id":130218,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:17:41] local.INFO: Processing buffer {"connection_id":130218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:17:41] local.INFO: IMEI packet received {"connection_id":130218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":130218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:17:46] local.INFO: TCP Data received {"connection_id":130218,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:17:46] local.INFO: Processing buffer {"connection_id":130218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:17:46] local.INFO: IMEI packet received {"connection_id":130218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":130218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:17:46] local.INFO: TCP Data received {"connection_id":130218,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f58b99850012d7f914005afd9380000011b27..."} 
[2026-07-13 05:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58b99850012d7f914005afd9380000011b27..."} 
[2026-07-13 05:17:46] local.INFO: Processing buffer {"connection_id":130218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58b99850012d7f914005afd9380000011b27..."} 
[2026-07-13 05:17:46] local.INFO: Packet analysis {"connection_id":130218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58b9"} 
[2026-07-13 05:17:46] local.INFO: Extracted packet for processing {"connection_id":130218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58b9"} 
[2026-07-13 05:17:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678319104001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783899986000,"timestamp_ms":1783899986000,"timestamp_seconds":1783899986,"priority":1,"record_length":96,"hex_timestamp":"0000019f58b99850"} 
[2026-07-13 05:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 05:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678319104001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678319104001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:17:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:17:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678319104001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":130218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:17:46] local.INFO: GPS data processed {"connection_id":130218,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:17:46] local.INFO: Acknowledgment sent {"connection_id":130218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:17:52] local.INFO: TCP Data received {"connection_id":130218,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f58b99850012d7f914005afd9380000011b27..."} 
[2026-07-13 05:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58b99850012d7f914005afd9380000011b27..."} 
[2026-07-13 05:17:52] local.INFO: Processing buffer {"connection_id":130218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58b99850012d7f914005afd9380000011b27..."} 
[2026-07-13 05:17:52] local.INFO: Packet analysis {"connection_id":130218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58b9"} 
[2026-07-13 05:17:52] local.INFO: Extracted packet for processing {"connection_id":130218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58b9"} 
[2026-07-13 05:17:52] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678319104001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783899986000,"timestamp_ms":1783899986000,"timestamp_seconds":1783899986,"priority":1,"record_length":96,"hex_timestamp":"0000019f58b99850"} 
[2026-07-13 05:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 05:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":130218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":130218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":130218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678319104001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678319104001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:17:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:17:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678319104001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":130218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:17:52] local.INFO: GPS data processed {"connection_id":130218,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:17:52] local.INFO: Acknowledgment sent {"connection_id":130218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:18:36] local.INFO: TCP Data received {"connection_id":131000,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:18:36] local.INFO: Processing buffer {"connection_id":131000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:18:36] local.INFO: IMEI packet received {"connection_id":131000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":131000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:18:41] local.INFO: TCP Data received {"connection_id":131000,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:18:41] local.INFO: Processing buffer {"connection_id":131000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:18:41] local.INFO: IMEI packet received {"connection_id":131000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":131000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:18:42] local.INFO: TCP Data received {"connection_id":131000,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f58b99850012d7f914005afd9380000011b27..."} 
[2026-07-13 05:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58b99850012d7f914005afd9380000011b27..."} 
[2026-07-13 05:18:42] local.INFO: Processing buffer {"connection_id":131000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58b99850012d7f914005afd9380000011b27..."} 
[2026-07-13 05:18:42] local.INFO: Packet analysis {"connection_id":131000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58b9"} 
[2026-07-13 05:18:42] local.INFO: Extracted packet for processing {"connection_id":131000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58b9"} 
[2026-07-13 05:18:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678319104001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783899986000,"timestamp_ms":1783899986000,"timestamp_seconds":1783899986,"priority":1,"record_length":96,"hex_timestamp":"0000019f58b99850"} 
[2026-07-13 05:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 05:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":131000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":131000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":131000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678319104001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678319104001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:18:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:18:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678319104001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":131000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:18:42] local.INFO: GPS data processed {"connection_id":131000,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:18:42] local.INFO: Acknowledgment sent {"connection_id":131000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:19:12] local.INFO: TCP Data received {"connection_id":131000,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f58b99850012d7f914005afd9380000011b27..."} 
[2026-07-13 05:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58b99850012d7f914005afd9380000011b27..."} 
[2026-07-13 05:19:12] local.INFO: Processing buffer {"connection_id":131000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58b99850012d7f914005afd9380000011b27..."} 
[2026-07-13 05:19:12] local.INFO: Packet analysis {"connection_id":131000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58b9"} 
[2026-07-13 05:19:12] local.INFO: Extracted packet for processing {"connection_id":131000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58b9"} 
[2026-07-13 05:19:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678319104001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783899986000,"timestamp_ms":1783899986000,"timestamp_seconds":1783899986,"priority":1,"record_length":96,"hex_timestamp":"0000019f58b99850"} 
[2026-07-13 05:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 05:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678319104001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678319104001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:19:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:19:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678319104001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":131000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:19:13] local.INFO: GPS data processed {"connection_id":131000,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:19:13] local.INFO: Acknowledgment sent {"connection_id":131000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:19:13] local.INFO: TCP Data received {"connection_id":130219,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130219,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:19:13] local.INFO: Processing buffer {"connection_id":130219,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:19:13] local.INFO: IMEI packet received {"connection_id":130219,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 05:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":130219,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:19:35] local.INFO: TCP Data received {"connection_id":130220,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:19:35] local.INFO: Processing buffer {"connection_id":130220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:19:35] local.INFO: IMEI packet received {"connection_id":130220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":130220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:19:41] local.INFO: TCP Data received {"connection_id":130220,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:19:41] local.INFO: Processing buffer {"connection_id":130220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:19:41] local.INFO: IMEI packet received {"connection_id":130220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":130220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:19:41] local.INFO: TCP Data received {"connection_id":132332,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132332,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:19:41] local.INFO: Processing buffer {"connection_id":132332,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:19:41] local.INFO: IMEI packet received {"connection_id":132332,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 05:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":132332,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:19:41] local.INFO: TCP Data received {"connection_id":130220,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f58b99850012d7f914005afd9380000011b27..."} 
[2026-07-13 05:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58b99850012d7f914005afd9380000011b27..."} 
[2026-07-13 05:19:41] local.INFO: Processing buffer {"connection_id":130220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58b99850012d7f914005afd9380000011b27..."} 
[2026-07-13 05:19:41] local.INFO: Packet analysis {"connection_id":130220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58b9"} 
[2026-07-13 05:19:41] local.INFO: Extracted packet for processing {"connection_id":130220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58b9"} 
[2026-07-13 05:19:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05: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-07-13 05:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678319104001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783899986000,"timestamp_ms":1783899986000,"timestamp_seconds":1783899986,"priority":1,"record_length":96,"hex_timestamp":"0000019f58b99850"} 
[2026-07-13 05:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 05:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05: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-07-13 05:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678319104001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678319104001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:19:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:19:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678319104001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":130220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:19:41] local.INFO: GPS data processed {"connection_id":130220,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:19:41] local.INFO: Acknowledgment sent {"connection_id":130220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:20:13] local.INFO: TCP Data received {"connection_id":130220,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f58b99850012d7f914005afd9380000011b27..."} 
[2026-07-13 05:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58b99850012d7f914005afd9380000011b27..."} 
[2026-07-13 05:20:13] local.INFO: Processing buffer {"connection_id":130220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58b99850012d7f914005afd9380000011b27..."} 
[2026-07-13 05:20:13] local.INFO: Packet analysis {"connection_id":130220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58b9"} 
[2026-07-13 05:20:13] local.INFO: Extracted packet for processing {"connection_id":130220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58b9"} 
[2026-07-13 05:20:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678319104001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783899986000,"timestamp_ms":1783899986000,"timestamp_seconds":1783899986,"priority":1,"record_length":96,"hex_timestamp":"0000019f58b99850"} 
[2026-07-13 05:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 05:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678319104001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678319104001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:20:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:20:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678319104001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":130220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:20:13] local.INFO: GPS data processed {"connection_id":130220,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:20:13] local.INFO: Acknowledgment sent {"connection_id":130220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:20:35] local.INFO: TCP Data received {"connection_id":132333,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:20:35] local.INFO: Processing buffer {"connection_id":132333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:20:35] local.INFO: IMEI packet received {"connection_id":132333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":132333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:20:41] local.INFO: TCP Data received {"connection_id":132333,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:20:41] local.INFO: Processing buffer {"connection_id":132333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:20:41] local.INFO: IMEI packet received {"connection_id":132333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":132333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:20:41] local.INFO: TCP Data received {"connection_id":132333,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f58b99850012d7f914005afd9380000011b27..."} 
[2026-07-13 05:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58b99850012d7f914005afd9380000011b27..."} 
[2026-07-13 05:20:41] local.INFO: Processing buffer {"connection_id":132333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58b99850012d7f914005afd9380000011b27..."} 
[2026-07-13 05:20:41] local.INFO: Packet analysis {"connection_id":132333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58b9"} 
[2026-07-13 05:20:41] local.INFO: Extracted packet for processing {"connection_id":132333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58b9"} 
[2026-07-13 05:20:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678319104001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783899986000,"timestamp_ms":1783899986000,"timestamp_seconds":1783899986,"priority":1,"record_length":96,"hex_timestamp":"0000019f58b99850"} 
[2026-07-13 05:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 05:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678319104001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678319104001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:20:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:20:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678319104001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":132333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:20:42] local.INFO: GPS data processed {"connection_id":132333,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:20:42] local.INFO: Acknowledgment sent {"connection_id":132333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:21:13] local.INFO: TCP Data received {"connection_id":132333,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f58b99850012d7f914005afd9380000011b27..."} 
[2026-07-13 05:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58b99850012d7f914005afd9380000011b27..."} 
[2026-07-13 05:21:13] local.INFO: Processing buffer {"connection_id":132333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58b99850012d7f914005afd9380000011b27..."} 
[2026-07-13 05:21:13] local.INFO: Packet analysis {"connection_id":132333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58b9"} 
[2026-07-13 05:21:13] local.INFO: Extracted packet for processing {"connection_id":132333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58b9"} 
[2026-07-13 05:21:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678319104001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783899986000,"timestamp_ms":1783899986000,"timestamp_seconds":1783899986,"priority":1,"record_length":96,"hex_timestamp":"0000019f58b99850"} 
[2026-07-13 05:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 05:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:21:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678319104001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678319104001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:21:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:21:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678319104001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":132333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:21:13] local.INFO: GPS data processed {"connection_id":132333,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:21:13] local.INFO: Acknowledgment sent {"connection_id":132333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:21:35] local.INFO: TCP Data received {"connection_id":131001,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:21:35] local.INFO: Processing buffer {"connection_id":131001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:21:35] local.INFO: IMEI packet received {"connection_id":131001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":131001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:21:41] local.INFO: TCP Data received {"connection_id":131001,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:21:41] local.INFO: Processing buffer {"connection_id":131001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:21:41] local.INFO: IMEI packet received {"connection_id":131001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":131001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:21:41] local.INFO: TCP Data received {"connection_id":131001,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f58b99850012d7f914005afd9380000011b27..."} 
[2026-07-13 05:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58b99850012d7f914005afd9380000011b27..."} 
[2026-07-13 05:21:41] local.INFO: Processing buffer {"connection_id":131001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58b99850012d7f914005afd9380000011b27..."} 
[2026-07-13 05:21:41] local.INFO: Packet analysis {"connection_id":131001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58b9"} 
[2026-07-13 05:21:41] local.INFO: Extracted packet for processing {"connection_id":131001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58b9"} 
[2026-07-13 05:21:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678319104001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783899986000,"timestamp_ms":1783899986000,"timestamp_seconds":1783899986,"priority":1,"record_length":96,"hex_timestamp":"0000019f58b99850"} 
[2026-07-13 05:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 05:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678319104001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678319104001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:21:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678319104001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":131001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:21:42] local.INFO: GPS data processed {"connection_id":131001,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:21:42] local.INFO: Acknowledgment sent {"connection_id":131001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:22:13] local.INFO: TCP Data received {"connection_id":131001,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f58be3018012d7f914005afd9380000011b23..."} 
[2026-07-13 05:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58be3018012d7f914005afd9380000011b23..."} 
[2026-07-13 05:22:13] local.INFO: Processing buffer {"connection_id":131001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58be3018012d7f914005afd9380000011b23..."} 
[2026-07-13 05:22:13] local.INFO: Packet analysis {"connection_id":131001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58be"} 
[2026-07-13 05:22:13] local.INFO: Extracted packet for processing {"connection_id":131001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58be"} 
[2026-07-13 05:22:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678396416001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783900287000,"timestamp_ms":1783900287000,"timestamp_seconds":1783900287,"priority":1,"record_length":96,"hex_timestamp":"0000019f58be3018"} 
[2026-07-13 05:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678396416001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678396416001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:22:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:22:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678396416001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":131001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:22:13] local.INFO: GPS data processed {"connection_id":131001,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:22:13] local.INFO: Acknowledgment sent {"connection_id":131001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:22:41] local.INFO: TCP Data received {"connection_id":130222,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:22:41] local.INFO: Processing buffer {"connection_id":130222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:22:41] local.INFO: IMEI packet received {"connection_id":130222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":130222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:22:46] local.INFO: TCP Data received {"connection_id":130222,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:22:46] local.INFO: Processing buffer {"connection_id":130222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:22:46] local.INFO: IMEI packet received {"connection_id":130222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":130222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:22:46] local.INFO: TCP Data received {"connection_id":130222,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f58be3018012d7f914005afd9380000011b23..."} 
[2026-07-13 05:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58be3018012d7f914005afd9380000011b23..."} 
[2026-07-13 05:22:46] local.INFO: Processing buffer {"connection_id":130222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58be3018012d7f914005afd9380000011b23..."} 
[2026-07-13 05:22:46] local.INFO: Packet analysis {"connection_id":130222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58be"} 
[2026-07-13 05:22:46] local.INFO: Extracted packet for processing {"connection_id":130222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58be"} 
[2026-07-13 05:22:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678396416001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783900287000,"timestamp_ms":1783900287000,"timestamp_seconds":1783900287,"priority":1,"record_length":96,"hex_timestamp":"0000019f58be3018"} 
[2026-07-13 05:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678396416001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678396416001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:22:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:22:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678396416001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":130222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:22:46] local.INFO: GPS data processed {"connection_id":130222,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:22:46] local.INFO: Acknowledgment sent {"connection_id":130222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:22:51] local.INFO: TCP Data received {"connection_id":130222,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f58be3018012d7f914005afd9380000011b23..."} 
[2026-07-13 05:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58be3018012d7f914005afd9380000011b23..."} 
[2026-07-13 05:22:51] local.INFO: Processing buffer {"connection_id":130222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58be3018012d7f914005afd9380000011b23..."} 
[2026-07-13 05:22:51] local.INFO: Packet analysis {"connection_id":130222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58be"} 
[2026-07-13 05:22:51] local.INFO: Extracted packet for processing {"connection_id":130222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58be"} 
[2026-07-13 05:22:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05: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-07-13 05:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678396416001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783900287000,"timestamp_ms":1783900287000,"timestamp_seconds":1783900287,"priority":1,"record_length":96,"hex_timestamp":"0000019f58be3018"} 
[2026-07-13 05:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05: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-07-13 05:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:22: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-07-13 05:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678396416001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678396416001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:22:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:22:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678396416001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":130222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:22:51] local.INFO: GPS data processed {"connection_id":130222,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:22:51] local.INFO: Acknowledgment sent {"connection_id":130222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:23:35] local.INFO: TCP Data received {"connection_id":132336,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:23:35] local.INFO: Processing buffer {"connection_id":132336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:23:35] local.INFO: IMEI packet received {"connection_id":132336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":132336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:23:41] local.INFO: TCP Data received {"connection_id":132336,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:23:41] local.INFO: Processing buffer {"connection_id":132336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:23:41] local.INFO: IMEI packet received {"connection_id":132336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":132336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:23:41] local.INFO: TCP Data received {"connection_id":132336,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f58be3018012d7f914005afd9380000011b23..."} 
[2026-07-13 05:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58be3018012d7f914005afd9380000011b23..."} 
[2026-07-13 05:23:41] local.INFO: Processing buffer {"connection_id":132336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58be3018012d7f914005afd9380000011b23..."} 
[2026-07-13 05:23:41] local.INFO: Packet analysis {"connection_id":132336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58be"} 
[2026-07-13 05:23:41] local.INFO: Extracted packet for processing {"connection_id":132336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58be"} 
[2026-07-13 05:23:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678396416001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783900287000,"timestamp_ms":1783900287000,"timestamp_seconds":1783900287,"priority":1,"record_length":96,"hex_timestamp":"0000019f58be3018"} 
[2026-07-13 05:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678396416001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678396416001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:23:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:23:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678396416001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":132336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:23:41] local.INFO: GPS data processed {"connection_id":132336,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:23:41] local.INFO: Acknowledgment sent {"connection_id":132336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:24:13] local.INFO: TCP Data received {"connection_id":132336,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f58be3018012d7f914005afd9380000011b23..."} 
[2026-07-13 05:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58be3018012d7f914005afd9380000011b23..."} 
[2026-07-13 05:24:13] local.INFO: Processing buffer {"connection_id":132336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58be3018012d7f914005afd9380000011b23..."} 
[2026-07-13 05:24:13] local.INFO: Packet analysis {"connection_id":132336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58be"} 
[2026-07-13 05:24:13] local.INFO: Extracted packet for processing {"connection_id":132336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58be"} 
[2026-07-13 05:24:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678396416001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783900287000,"timestamp_ms":1783900287000,"timestamp_seconds":1783900287,"priority":1,"record_length":96,"hex_timestamp":"0000019f58be3018"} 
[2026-07-13 05:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678396416001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678396416001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:24:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:24:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678396416001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":132336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:24:13] local.INFO: GPS data processed {"connection_id":132336,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:24:13] local.INFO: Acknowledgment sent {"connection_id":132336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:24:35] local.INFO: TCP Data received {"connection_id":130025,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:24:35] local.INFO: Processing buffer {"connection_id":130025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:24:35] local.INFO: IMEI packet received {"connection_id":130025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":130025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:24:41] local.INFO: TCP Data received {"connection_id":130025,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:24:41] local.INFO: Processing buffer {"connection_id":130025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:24:41] local.INFO: IMEI packet received {"connection_id":130025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":130025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:24:42] local.INFO: TCP Data received {"connection_id":130025,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f58be3018012d7f914005afd9380000011b23..."} 
[2026-07-13 05:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58be3018012d7f914005afd9380000011b23..."} 
[2026-07-13 05:24:42] local.INFO: Processing buffer {"connection_id":130025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58be3018012d7f914005afd9380000011b23..."} 
[2026-07-13 05:24:42] local.INFO: Packet analysis {"connection_id":130025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58be"} 
[2026-07-13 05:24:42] local.INFO: Extracted packet for processing {"connection_id":130025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58be"} 
[2026-07-13 05:24:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678396416001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783900287000,"timestamp_ms":1783900287000,"timestamp_seconds":1783900287,"priority":1,"record_length":96,"hex_timestamp":"0000019f58be3018"} 
[2026-07-13 05:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678396416001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678396416001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:24:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:24:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678396416001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":130025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:24:42] local.INFO: GPS data processed {"connection_id":130025,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:24:42] local.INFO: Acknowledgment sent {"connection_id":130025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:25:13] local.INFO: TCP Data received {"connection_id":130025,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f58be3018012d7f914005afd9380000011b23..."} 
[2026-07-13 05:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58be3018012d7f914005afd9380000011b23..."} 
[2026-07-13 05:25:13] local.INFO: Processing buffer {"connection_id":130025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58be3018012d7f914005afd9380000011b23..."} 
[2026-07-13 05:25:13] local.INFO: Packet analysis {"connection_id":130025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58be"} 
[2026-07-13 05:25:13] local.INFO: Extracted packet for processing {"connection_id":130025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58be"} 
[2026-07-13 05:25:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678396416001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783900287000,"timestamp_ms":1783900287000,"timestamp_seconds":1783900287,"priority":1,"record_length":96,"hex_timestamp":"0000019f58be3018"} 
[2026-07-13 05:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:25:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678396416001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678396416001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:25:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:25:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678396416001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":130025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:25:13] local.INFO: GPS data processed {"connection_id":130025,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:25:13] local.INFO: Acknowledgment sent {"connection_id":130025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:25:13] local.INFO: TCP Data received {"connection_id":132337,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132337,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:25:13] local.INFO: Processing buffer {"connection_id":132337,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:25:13] local.INFO: IMEI packet received {"connection_id":132337,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 05:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":132337,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:25:35] local.INFO: TCP Data received {"connection_id":130223,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:25:35] local.INFO: Processing buffer {"connection_id":130223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:25:35] local.INFO: IMEI packet received {"connection_id":130223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":130223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:25:41] local.INFO: TCP Data received {"connection_id":130224,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:25:41] local.INFO: Processing buffer {"connection_id":130224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:25:41] local.INFO: IMEI packet received {"connection_id":130224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 05:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":130224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:25:41] local.INFO: TCP Data received {"connection_id":130223,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:25:41] local.INFO: Processing buffer {"connection_id":130223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:25:41] local.INFO: IMEI packet received {"connection_id":130223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":130223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:25:41] local.INFO: TCP Data received {"connection_id":130223,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f58be3018012d7f914005afd9380000011b23..."} 
[2026-07-13 05:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58be3018012d7f914005afd9380000011b23..."} 
[2026-07-13 05:25:41] local.INFO: Processing buffer {"connection_id":130223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58be3018012d7f914005afd9380000011b23..."} 
[2026-07-13 05:25:41] local.INFO: Packet analysis {"connection_id":130223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58be"} 
[2026-07-13 05:25:41] local.INFO: Extracted packet for processing {"connection_id":130223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58be"} 
[2026-07-13 05:25:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678396416001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783900287000,"timestamp_ms":1783900287000,"timestamp_seconds":1783900287,"priority":1,"record_length":96,"hex_timestamp":"0000019f58be3018"} 
[2026-07-13 05:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678396416001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678396416001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:25:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:25:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678396416001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":130223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:25:41] local.INFO: GPS data processed {"connection_id":130223,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:25:41] local.INFO: Acknowledgment sent {"connection_id":130223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:26:13] local.INFO: TCP Data received {"connection_id":130223,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f58be3018012d7f914005afd9380000011b23..."} 
[2026-07-13 05:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58be3018012d7f914005afd9380000011b23..."} 
[2026-07-13 05:26:13] local.INFO: Processing buffer {"connection_id":130223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58be3018012d7f914005afd9380000011b23..."} 
[2026-07-13 05:26:13] local.INFO: Packet analysis {"connection_id":130223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58be"} 
[2026-07-13 05:26:13] local.INFO: Extracted packet for processing {"connection_id":130223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58be"} 
[2026-07-13 05:26:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678396416001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783900287000,"timestamp_ms":1783900287000,"timestamp_seconds":1783900287,"priority":1,"record_length":96,"hex_timestamp":"0000019f58be3018"} 
[2026-07-13 05:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:26:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678396416001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678396416001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:26:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:26:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678396416001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":130223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:26:13] local.INFO: GPS data processed {"connection_id":130223,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:26:13] local.INFO: Acknowledgment sent {"connection_id":130223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:26:35] local.INFO: TCP Data received {"connection_id":130026,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:26:35] local.INFO: Processing buffer {"connection_id":130026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:26:35] local.INFO: IMEI packet received {"connection_id":130026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":130026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:26:41] local.INFO: TCP Data received {"connection_id":130026,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:26:41] local.INFO: Processing buffer {"connection_id":130026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:26:41] local.INFO: IMEI packet received {"connection_id":130026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":130026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:26:41] local.INFO: TCP Data received {"connection_id":130026,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f58be3018012d7f914005afd9380000011b23..."} 
[2026-07-13 05:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58be3018012d7f914005afd9380000011b23..."} 
[2026-07-13 05:26:41] local.INFO: Processing buffer {"connection_id":130026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58be3018012d7f914005afd9380000011b23..."} 
[2026-07-13 05:26:41] local.INFO: Packet analysis {"connection_id":130026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58be"} 
[2026-07-13 05:26:41] local.INFO: Extracted packet for processing {"connection_id":130026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58be"} 
[2026-07-13 05:26:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678396416001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783900287000,"timestamp_ms":1783900287000,"timestamp_seconds":1783900287,"priority":1,"record_length":96,"hex_timestamp":"0000019f58be3018"} 
[2026-07-13 05:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678396416001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678396416001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:26:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:26:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678396416001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":130026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:26:41] local.INFO: GPS data processed {"connection_id":130026,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:26:41] local.INFO: Acknowledgment sent {"connection_id":130026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:27:13] local.INFO: TCP Data received {"connection_id":130026,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f58c2c7e0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58c2c7e0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:27:13] local.INFO: Processing buffer {"connection_id":130026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58c2c7e0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:27:13] local.INFO: Packet analysis {"connection_id":130026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58c2"} 
[2026-07-13 05:27:13] local.INFO: Extracted packet for processing {"connection_id":130026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58c2"} 
[2026-07-13 05:27:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678473472001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783900588000,"timestamp_ms":1783900588000,"timestamp_seconds":1783900588,"priority":1,"record_length":96,"hex_timestamp":"0000019f58c2c7e0"} 
[2026-07-13 05:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 05:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678473472001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678473472001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:27:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:27:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678473472001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":130026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:27:13] local.INFO: GPS data processed {"connection_id":130026,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:27:13] local.INFO: Acknowledgment sent {"connection_id":130026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:27:41] local.INFO: TCP Data received {"connection_id":131002,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:27:41] local.INFO: Processing buffer {"connection_id":131002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:27:41] local.INFO: IMEI packet received {"connection_id":131002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":131002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:27:46] local.INFO: TCP Data received {"connection_id":131002,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:27:46] local.INFO: Processing buffer {"connection_id":131002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:27:46] local.INFO: IMEI packet received {"connection_id":131002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":131002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:27:47] local.INFO: TCP Data received {"connection_id":131002,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f58c2c7e0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58c2c7e0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:27:47] local.INFO: Processing buffer {"connection_id":131002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58c2c7e0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:27:47] local.INFO: Packet analysis {"connection_id":131002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58c2"} 
[2026-07-13 05:27:47] local.INFO: Extracted packet for processing {"connection_id":131002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58c2"} 
[2026-07-13 05:27:47] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678473472001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783900588000,"timestamp_ms":1783900588000,"timestamp_seconds":1783900588,"priority":1,"record_length":96,"hex_timestamp":"0000019f58c2c7e0"} 
[2026-07-13 05:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 05:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":131002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":131002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":131002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678473472001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678473472001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:27:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:27:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678473472001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":131002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:27:47] local.INFO: GPS data processed {"connection_id":131002,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:27:47] local.INFO: Acknowledgment sent {"connection_id":131002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:27:51] local.INFO: TCP Data received {"connection_id":131002,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f58c2c7e0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58c2c7e0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:27:51] local.INFO: Processing buffer {"connection_id":131002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58c2c7e0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:27:51] local.INFO: Packet analysis {"connection_id":131002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58c2"} 
[2026-07-13 05:27:51] local.INFO: Extracted packet for processing {"connection_id":131002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58c2"} 
[2026-07-13 05:27:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678473472001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783900588000,"timestamp_ms":1783900588000,"timestamp_seconds":1783900588,"priority":1,"record_length":96,"hex_timestamp":"0000019f58c2c7e0"} 
[2026-07-13 05:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":200,"data_length":795,"current_offset":136} 
[2026-07-13 05:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":131002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":131002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":131002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:27: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-07-13 05:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678473472001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678473472001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:27:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:27:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678473472001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":131002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:27:51] local.INFO: GPS data processed {"connection_id":131002,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:27:51] local.INFO: Acknowledgment sent {"connection_id":131002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:28:36] local.INFO: TCP Data received {"connection_id":132339,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:28:36] local.INFO: Processing buffer {"connection_id":132339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:28:36] local.INFO: IMEI packet received {"connection_id":132339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":132339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:28:41] local.INFO: TCP Data received {"connection_id":132339,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:28:41] local.INFO: Processing buffer {"connection_id":132339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:28:41] local.INFO: IMEI packet received {"connection_id":132339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":132339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:28:42] local.INFO: TCP Data received {"connection_id":132339,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f58c2c7e0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58c2c7e0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:28:42] local.INFO: Processing buffer {"connection_id":132339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58c2c7e0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:28:42] local.INFO: Packet analysis {"connection_id":132339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58c2"} 
[2026-07-13 05:28:42] local.INFO: Extracted packet for processing {"connection_id":132339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58c2"} 
[2026-07-13 05:28:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678473472001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783900588000,"timestamp_ms":1783900588000,"timestamp_seconds":1783900588,"priority":1,"record_length":96,"hex_timestamp":"0000019f58c2c7e0"} 
[2026-07-13 05:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 05:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678473472001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678473472001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:28:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:28:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678473472001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":132339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:28:42] local.INFO: GPS data processed {"connection_id":132339,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:28:42] local.INFO: Acknowledgment sent {"connection_id":132339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:29:13] local.INFO: TCP Data received {"connection_id":132339,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f58c2c7e0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58c2c7e0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:29:13] local.INFO: Processing buffer {"connection_id":132339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58c2c7e0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:29:13] local.INFO: Packet analysis {"connection_id":132339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58c2"} 
[2026-07-13 05:29:13] local.INFO: Extracted packet for processing {"connection_id":132339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58c2"} 
[2026-07-13 05:29:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678473472001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783900588000,"timestamp_ms":1783900588000,"timestamp_seconds":1783900588,"priority":1,"record_length":96,"hex_timestamp":"0000019f58c2c7e0"} 
[2026-07-13 05:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 05:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678473472001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678473472001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:29:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:29:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678473472001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":132339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:29:13] local.INFO: GPS data processed {"connection_id":132339,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:29:13] local.INFO: Acknowledgment sent {"connection_id":132339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:29:35] local.INFO: TCP Data received {"connection_id":131003,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:29:35] local.INFO: Processing buffer {"connection_id":131003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:29:35] local.INFO: IMEI packet received {"connection_id":131003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":131003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:29:41] local.INFO: TCP Data received {"connection_id":131003,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:29:41] local.INFO: Processing buffer {"connection_id":131003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:29:41] local.INFO: IMEI packet received {"connection_id":131003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":131003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:29:41] local.INFO: TCP Data received {"connection_id":131003,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f58c2c7e0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58c2c7e0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:29:41] local.INFO: Processing buffer {"connection_id":131003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58c2c7e0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:29:41] local.INFO: Packet analysis {"connection_id":131003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58c2"} 
[2026-07-13 05:29:41] local.INFO: Extracted packet for processing {"connection_id":131003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58c2"} 
[2026-07-13 05:29:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678473472001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783900588000,"timestamp_ms":1783900588000,"timestamp_seconds":1783900588,"priority":1,"record_length":96,"hex_timestamp":"0000019f58c2c7e0"} 
[2026-07-13 05:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 05:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678473472001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678473472001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:29:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:29:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678473472001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":131003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:29:42] local.INFO: GPS data processed {"connection_id":131003,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:29:42] local.INFO: Acknowledgment sent {"connection_id":131003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:30:13] local.INFO: TCP Data received {"connection_id":131003,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f58c2c7e0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58c2c7e0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:30:13] local.INFO: Processing buffer {"connection_id":131003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58c2c7e0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:30:13] local.INFO: Packet analysis {"connection_id":131003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58c2"} 
[2026-07-13 05:30:13] local.INFO: Extracted packet for processing {"connection_id":131003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58c2"} 
[2026-07-13 05:30:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678473472001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783900588000,"timestamp_ms":1783900588000,"timestamp_seconds":1783900588,"priority":1,"record_length":96,"hex_timestamp":"0000019f58c2c7e0"} 
[2026-07-13 05:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 05:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678473472001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678473472001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:30:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:30:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678473472001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":131003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:30:13] local.INFO: GPS data processed {"connection_id":131003,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:30:13] local.INFO: Acknowledgment sent {"connection_id":131003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:30:35] local.INFO: TCP Data received {"connection_id":130225,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:30:35] local.INFO: Processing buffer {"connection_id":130225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:30:35] local.INFO: IMEI packet received {"connection_id":130225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":130225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:30:41] local.INFO: TCP Data received {"connection_id":130225,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:30:41] local.INFO: Processing buffer {"connection_id":130225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:30:41] local.INFO: IMEI packet received {"connection_id":130225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":130225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:30:41] local.INFO: TCP Data received {"connection_id":130225,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f58c2c7e0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58c2c7e0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:30:41] local.INFO: Processing buffer {"connection_id":130225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58c2c7e0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:30:41] local.INFO: Packet analysis {"connection_id":130225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58c2"} 
[2026-07-13 05:30:41] local.INFO: Extracted packet for processing {"connection_id":130225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58c2"} 
[2026-07-13 05:30:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678473472001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783900588000,"timestamp_ms":1783900588000,"timestamp_seconds":1783900588,"priority":1,"record_length":96,"hex_timestamp":"0000019f58c2c7e0"} 
[2026-07-13 05:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 05:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678473472001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678473472001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:30:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:30:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678473472001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":130225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:30:42] local.INFO: GPS data processed {"connection_id":130225,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:30:42] local.INFO: Acknowledgment sent {"connection_id":130225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:31:11] local.INFO: TCP Data received {"connection_id":130226,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130226,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:31:11] local.INFO: Processing buffer {"connection_id":130226,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:31:11] local.INFO: IMEI packet received {"connection_id":130226,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 05:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":130226,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:31:13] local.INFO: TCP Data received {"connection_id":130225,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f58c2c7e0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58c2c7e0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:31:13] local.INFO: Processing buffer {"connection_id":130225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58c2c7e0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:31:13] local.INFO: Packet analysis {"connection_id":130225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58c2"} 
[2026-07-13 05:31:13] local.INFO: Extracted packet for processing {"connection_id":130225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58c2"} 
[2026-07-13 05:31:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678473472001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783900588000,"timestamp_ms":1783900588000,"timestamp_seconds":1783900588,"priority":1,"record_length":96,"hex_timestamp":"0000019f58c2c7e0"} 
[2026-07-13 05:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 05:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678473472001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678473472001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:31:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:31:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678473472001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":130225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:31:13] local.INFO: GPS data processed {"connection_id":130225,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:31:13] local.INFO: Acknowledgment sent {"connection_id":130225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:31:35] local.INFO: TCP Data received {"connection_id":131004,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:31:35] local.INFO: Processing buffer {"connection_id":131004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:31:35] local.INFO: IMEI packet received {"connection_id":131004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":131004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:31:41] local.INFO: TCP Data received {"connection_id":132341,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132341,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:31:41] local.INFO: Processing buffer {"connection_id":132341,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:31:41] local.INFO: IMEI packet received {"connection_id":132341,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 05:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":132341,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:31:41] local.INFO: TCP Data received {"connection_id":131004,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:31:41] local.INFO: Processing buffer {"connection_id":131004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:31:41] local.INFO: IMEI packet received {"connection_id":131004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":131004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:31:41] local.INFO: TCP Data received {"connection_id":131004,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f58c2c7e0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58c2c7e0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:31:41] local.INFO: Processing buffer {"connection_id":131004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58c2c7e0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:31:41] local.INFO: Packet analysis {"connection_id":131004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58c2"} 
[2026-07-13 05:31:41] local.INFO: Extracted packet for processing {"connection_id":131004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58c2"} 
[2026-07-13 05:31:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678473472001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783900588000,"timestamp_ms":1783900588000,"timestamp_seconds":1783900588,"priority":1,"record_length":96,"hex_timestamp":"0000019f58c2c7e0"} 
[2026-07-13 05:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 05:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678473472001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678473472001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:31:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:31:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678473472001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":131004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:31:41] local.INFO: GPS data processed {"connection_id":131004,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:31:41] local.INFO: Acknowledgment sent {"connection_id":131004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:32:13] local.INFO: TCP Data received {"connection_id":131004,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f58c75fa8012d7f914005afd9380000011b28..."} 
[2026-07-13 05:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58c75fa8012d7f914005afd9380000011b28..."} 
[2026-07-13 05:32:13] local.INFO: Processing buffer {"connection_id":131004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58c75fa8012d7f914005afd9380000011b28..."} 
[2026-07-13 05:32:13] local.INFO: Packet analysis {"connection_id":131004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58c7"} 
[2026-07-13 05:32:13] local.INFO: Extracted packet for processing {"connection_id":131004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58c7"} 
[2026-07-13 05:32:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678550528001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783900889000,"timestamp_ms":1783900889000,"timestamp_seconds":1783900889,"priority":1,"record_length":96,"hex_timestamp":"0000019f58c75fa8"} 
[2026-07-13 05:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678550528001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678550528001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:32:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:32:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678550528001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":131004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:32:13] local.INFO: GPS data processed {"connection_id":131004,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:32:13] local.INFO: Acknowledgment sent {"connection_id":131004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:32:41] local.INFO: TCP Data received {"connection_id":130029,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:32:41] local.INFO: Processing buffer {"connection_id":130029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:32:41] local.INFO: IMEI packet received {"connection_id":130029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":130029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:32:46] local.INFO: TCP Data received {"connection_id":130029,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:32:46] local.INFO: Processing buffer {"connection_id":130029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:32:46] local.INFO: IMEI packet received {"connection_id":130029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":130029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:32:46] local.INFO: TCP Data received {"connection_id":130029,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f58c75fa8012d7f914005afd9380000011b28..."} 
[2026-07-13 05:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58c75fa8012d7f914005afd9380000011b28..."} 
[2026-07-13 05:32:46] local.INFO: Processing buffer {"connection_id":130029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58c75fa8012d7f914005afd9380000011b28..."} 
[2026-07-13 05:32:46] local.INFO: Packet analysis {"connection_id":130029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58c7"} 
[2026-07-13 05:32:46] local.INFO: Extracted packet for processing {"connection_id":130029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58c7"} 
[2026-07-13 05:32:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678550528001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783900889000,"timestamp_ms":1783900889000,"timestamp_seconds":1783900889,"priority":1,"record_length":96,"hex_timestamp":"0000019f58c75fa8"} 
[2026-07-13 05:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678550528001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678550528001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:32:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:32:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678550528001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":130029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:32:46] local.INFO: GPS data processed {"connection_id":130029,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:32:46] local.INFO: Acknowledgment sent {"connection_id":130029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:32:51] local.INFO: TCP Data received {"connection_id":130029,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f58c75fa8012d7f914005afd9380000011b28..."} 
[2026-07-13 05:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58c75fa8012d7f914005afd9380000011b28..."} 
[2026-07-13 05:32:51] local.INFO: Processing buffer {"connection_id":130029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58c75fa8012d7f914005afd9380000011b28..."} 
[2026-07-13 05:32:51] local.INFO: Packet analysis {"connection_id":130029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58c7"} 
[2026-07-13 05:32:51] local.INFO: Extracted packet for processing {"connection_id":130029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58c7"} 
[2026-07-13 05:32:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678550528001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783900889000,"timestamp_ms":1783900889000,"timestamp_seconds":1783900889,"priority":1,"record_length":96,"hex_timestamp":"0000019f58c75fa8"} 
[2026-07-13 05:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678550528001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678550528001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:32:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:32:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678550528001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":130029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:32:51] local.INFO: GPS data processed {"connection_id":130029,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:32:51] local.INFO: Acknowledgment sent {"connection_id":130029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:33:35] local.INFO: TCP Data received {"connection_id":130228,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:33:35] local.INFO: Processing buffer {"connection_id":130228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:33:35] local.INFO: IMEI packet received {"connection_id":130228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":130228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:33:41] local.INFO: TCP Data received {"connection_id":130228,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:33:41] local.INFO: Processing buffer {"connection_id":130228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:33:41] local.INFO: IMEI packet received {"connection_id":130228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":130228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:33:41] local.INFO: TCP Data received {"connection_id":130228,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f58c75fa8012d7f914005afd9380000011b28..."} 
[2026-07-13 05:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58c75fa8012d7f914005afd9380000011b28..."} 
[2026-07-13 05:33:41] local.INFO: Processing buffer {"connection_id":130228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58c75fa8012d7f914005afd9380000011b28..."} 
[2026-07-13 05:33:41] local.INFO: Packet analysis {"connection_id":130228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58c7"} 
[2026-07-13 05:33:41] local.INFO: Extracted packet for processing {"connection_id":130228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58c7"} 
[2026-07-13 05:33:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678550528001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783900889000,"timestamp_ms":1783900889000,"timestamp_seconds":1783900889,"priority":1,"record_length":96,"hex_timestamp":"0000019f58c75fa8"} 
[2026-07-13 05:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678550528001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678550528001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:33:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:33:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678550528001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":130228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:33:41] local.INFO: GPS data processed {"connection_id":130228,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:33:41] local.INFO: Acknowledgment sent {"connection_id":130228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:34:13] local.INFO: TCP Data received {"connection_id":130228,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f58c75fa8012d7f914005afd9380000011b28..."} 
[2026-07-13 05:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58c75fa8012d7f914005afd9380000011b28..."} 
[2026-07-13 05:34:13] local.INFO: Processing buffer {"connection_id":130228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58c75fa8012d7f914005afd9380000011b28..."} 
[2026-07-13 05:34:13] local.INFO: Packet analysis {"connection_id":130228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58c7"} 
[2026-07-13 05:34:13] local.INFO: Extracted packet for processing {"connection_id":130228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58c7"} 
[2026-07-13 05:34:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678550528001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783900889000,"timestamp_ms":1783900889000,"timestamp_seconds":1783900889,"priority":1,"record_length":96,"hex_timestamp":"0000019f58c75fa8"} 
[2026-07-13 05:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678550528001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678550528001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:34:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:34:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678550528001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":130228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:34:13] local.INFO: GPS data processed {"connection_id":130228,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:34:13] local.INFO: Acknowledgment sent {"connection_id":130228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:34:36] local.INFO: TCP Data received {"connection_id":132343,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:34:36] local.INFO: Processing buffer {"connection_id":132343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:34:36] local.INFO: IMEI packet received {"connection_id":132343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":132343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:34:41] local.INFO: TCP Data received {"connection_id":132343,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:34:41] local.INFO: Processing buffer {"connection_id":132343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:34:41] local.INFO: IMEI packet received {"connection_id":132343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":132343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:34:42] local.INFO: TCP Data received {"connection_id":132343,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f58c75fa8012d7f914005afd9380000011b28..."} 
[2026-07-13 05:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58c75fa8012d7f914005afd9380000011b28..."} 
[2026-07-13 05:34:42] local.INFO: Processing buffer {"connection_id":132343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58c75fa8012d7f914005afd9380000011b28..."} 
[2026-07-13 05:34:42] local.INFO: Packet analysis {"connection_id":132343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58c7"} 
[2026-07-13 05:34:42] local.INFO: Extracted packet for processing {"connection_id":132343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58c7"} 
[2026-07-13 05:34:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678550528001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783900889000,"timestamp_ms":1783900889000,"timestamp_seconds":1783900889,"priority":1,"record_length":96,"hex_timestamp":"0000019f58c75fa8"} 
[2026-07-13 05:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678550528001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678550528001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:34:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:34:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678550528001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":132343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:34:42] local.INFO: GPS data processed {"connection_id":132343,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:34:42] local.INFO: Acknowledgment sent {"connection_id":132343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:35:13] local.INFO: TCP Data received {"connection_id":132343,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f58c75fa8012d7f914005afd9380000011b28..."} 
[2026-07-13 05:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58c75fa8012d7f914005afd9380000011b28..."} 
[2026-07-13 05:35:13] local.INFO: Processing buffer {"connection_id":132343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58c75fa8012d7f914005afd9380000011b28..."} 
[2026-07-13 05:35:13] local.INFO: Packet analysis {"connection_id":132343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58c7"} 
[2026-07-13 05:35:13] local.INFO: Extracted packet for processing {"connection_id":132343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58c7"} 
[2026-07-13 05:35:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678550528001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783900889000,"timestamp_ms":1783900889000,"timestamp_seconds":1783900889,"priority":1,"record_length":96,"hex_timestamp":"0000019f58c75fa8"} 
[2026-07-13 05:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678550528001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678550528001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:35:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:35:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678550528001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":132343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:35:13] local.INFO: GPS data processed {"connection_id":132343,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:35:13] local.INFO: Acknowledgment sent {"connection_id":132343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:35:35] local.INFO: TCP Data received {"connection_id":130229,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:35:35] local.INFO: Processing buffer {"connection_id":130229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:35:35] local.INFO: IMEI packet received {"connection_id":130229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":130229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:35:41] local.INFO: TCP Data received {"connection_id":130229,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:35:41] local.INFO: Processing buffer {"connection_id":130229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:35:41] local.INFO: IMEI packet received {"connection_id":130229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":130229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:35:41] local.INFO: TCP Data received {"connection_id":130229,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f58c75fa8012d7f914005afd9380000011b28..."} 
[2026-07-13 05:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58c75fa8012d7f914005afd9380000011b28..."} 
[2026-07-13 05:35:41] local.INFO: Processing buffer {"connection_id":130229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58c75fa8012d7f914005afd9380000011b28..."} 
[2026-07-13 05:35:41] local.INFO: Packet analysis {"connection_id":130229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58c7"} 
[2026-07-13 05:35:41] local.INFO: Extracted packet for processing {"connection_id":130229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58c7"} 
[2026-07-13 05:35:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678550528001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783900889000,"timestamp_ms":1783900889000,"timestamp_seconds":1783900889,"priority":1,"record_length":96,"hex_timestamp":"0000019f58c75fa8"} 
[2026-07-13 05:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678550528001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678550528001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:35:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:35:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678550528001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":130229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:35:41] local.INFO: GPS data processed {"connection_id":130229,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:35:41] local.INFO: Acknowledgment sent {"connection_id":130229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:36:13] local.INFO: TCP Data received {"connection_id":130229,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f58c75fa8012d7f914005afd9380000011b28..."} 
[2026-07-13 05:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58c75fa8012d7f914005afd9380000011b28..."} 
[2026-07-13 05:36:13] local.INFO: Processing buffer {"connection_id":130229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58c75fa8012d7f914005afd9380000011b28..."} 
[2026-07-13 05:36:13] local.INFO: Packet analysis {"connection_id":130229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58c7"} 
[2026-07-13 05:36:13] local.INFO: Extracted packet for processing {"connection_id":130229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58c7"} 
[2026-07-13 05:36:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678550528001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783900889000,"timestamp_ms":1783900889000,"timestamp_seconds":1783900889,"priority":1,"record_length":96,"hex_timestamp":"0000019f58c75fa8"} 
[2026-07-13 05:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678550528001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678550528001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:36:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:36:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678550528001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":130229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:36:13] local.INFO: GPS data processed {"connection_id":130229,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:36:13] local.INFO: Acknowledgment sent {"connection_id":130229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:36:35] local.INFO: TCP Data received {"connection_id":132344,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:36:35] local.INFO: Processing buffer {"connection_id":132344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:36:35] local.INFO: IMEI packet received {"connection_id":132344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":132344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:36:41] local.INFO: TCP Data received {"connection_id":132344,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:36:41] local.INFO: Processing buffer {"connection_id":132344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:36:41] local.INFO: IMEI packet received {"connection_id":132344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":132344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:36:41] local.INFO: TCP Data received {"connection_id":132344,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f58c75fa8012d7f914005afd9380000011b28..."} 
[2026-07-13 05:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58c75fa8012d7f914005afd9380000011b28..."} 
[2026-07-13 05:36:41] local.INFO: Processing buffer {"connection_id":132344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58c75fa8012d7f914005afd9380000011b28..."} 
[2026-07-13 05:36:41] local.INFO: Packet analysis {"connection_id":132344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58c7"} 
[2026-07-13 05:36:41] local.INFO: Extracted packet for processing {"connection_id":132344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58c7"} 
[2026-07-13 05:36:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678550528001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783900889000,"timestamp_ms":1783900889000,"timestamp_seconds":1783900889,"priority":1,"record_length":96,"hex_timestamp":"0000019f58c75fa8"} 
[2026-07-13 05:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 05:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678550528001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678550528001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:36:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678550528001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":132344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:36:41] local.INFO: GPS data processed {"connection_id":132344,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:36:41] local.INFO: Acknowledgment sent {"connection_id":132344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:37:11] local.INFO: TCP Data received {"connection_id":130230,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130230,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:37:11] local.INFO: Processing buffer {"connection_id":130230,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:37:11] local.INFO: IMEI packet received {"connection_id":130230,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 05:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":130230,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:37:13] local.INFO: TCP Data received {"connection_id":132344,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f58cbf770012d7f914005afd9380000011b27..."} 
[2026-07-13 05:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58cbf770012d7f914005afd9380000011b27..."} 
[2026-07-13 05:37:13] local.INFO: Processing buffer {"connection_id":132344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58cbf770012d7f914005afd9380000011b27..."} 
[2026-07-13 05:37:13] local.INFO: Packet analysis {"connection_id":132344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58cb"} 
[2026-07-13 05:37:13] local.INFO: Extracted packet for processing {"connection_id":132344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58cb"} 
[2026-07-13 05:37:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678627584001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783901190000,"timestamp_ms":1783901190000,"timestamp_seconds":1783901190,"priority":1,"record_length":96,"hex_timestamp":"0000019f58cbf770"} 
[2026-07-13 05:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 05:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678627584001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678627584001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:37:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:37:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678627584001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":132344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:37:13] local.INFO: GPS data processed {"connection_id":132344,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:37:13] local.INFO: Acknowledgment sent {"connection_id":132344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:37:40] local.INFO: TCP Data received {"connection_id":130231,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:37:40] local.INFO: Processing buffer {"connection_id":130231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:37:40] local.INFO: IMEI packet received {"connection_id":130231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":130231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:37:45] local.INFO: TCP Data received {"connection_id":130231,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:37:45] local.INFO: Processing buffer {"connection_id":130231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:37:45] local.INFO: IMEI packet received {"connection_id":130231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":130231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:37:46] local.INFO: TCP Data received {"connection_id":131006,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131006,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:37:46] local.INFO: Processing buffer {"connection_id":131006,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:37:46] local.INFO: IMEI packet received {"connection_id":131006,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 05:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":131006,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:37:46] local.INFO: TCP Data received {"connection_id":130231,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58cbf770012d7f914005afd9380000011b27..."} 
[2026-07-13 05:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58cbf770012d7f914005afd9380000011b27..."} 
[2026-07-13 05:37:46] local.INFO: Processing buffer {"connection_id":130231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58cbf770012d7f914005afd9380000011b27..."} 
[2026-07-13 05:37:46] local.INFO: Packet analysis {"connection_id":130231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58cb"} 
[2026-07-13 05:37:46] local.INFO: Extracted packet for processing {"connection_id":130231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58cb"} 
[2026-07-13 05:37:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678627584001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783901190000,"timestamp_ms":1783901190000,"timestamp_seconds":1783901190,"priority":1,"record_length":96,"hex_timestamp":"0000019f58cbf770"} 
[2026-07-13 05:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 05:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678627584001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678627584001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:37:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:37:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678627584001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":130231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:37:46] local.INFO: GPS data processed {"connection_id":130231,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:37:46] local.INFO: Acknowledgment sent {"connection_id":130231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:37:51] local.INFO: TCP Data received {"connection_id":130231,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58cbf770012d7f914005afd9380000011b27..."} 
[2026-07-13 05:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58cbf770012d7f914005afd9380000011b27..."} 
[2026-07-13 05:37:51] local.INFO: Processing buffer {"connection_id":130231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58cbf770012d7f914005afd9380000011b27..."} 
[2026-07-13 05:37:51] local.INFO: Packet analysis {"connection_id":130231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58cb"} 
[2026-07-13 05:37:51] local.INFO: Extracted packet for processing {"connection_id":130231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58cb"} 
[2026-07-13 05:37:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678627584001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783901190000,"timestamp_ms":1783901190000,"timestamp_seconds":1783901190,"priority":1,"record_length":96,"hex_timestamp":"0000019f58cbf770"} 
[2026-07-13 05:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 05:37: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-07-13 05:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:37: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-07-13 05:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678627584001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678627584001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:37:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:37:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678627584001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":130231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:37:51] local.INFO: GPS data processed {"connection_id":130231,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:37:51] local.INFO: Acknowledgment sent {"connection_id":130231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:38:35] local.INFO: TCP Data received {"connection_id":131007,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:38:35] local.INFO: Processing buffer {"connection_id":131007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:38:35] local.INFO: IMEI packet received {"connection_id":131007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":131007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:38:40] local.INFO: TCP Data received {"connection_id":131007,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:38:40] local.INFO: Processing buffer {"connection_id":131007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:38:40] local.INFO: IMEI packet received {"connection_id":131007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":131007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:38:41] local.INFO: TCP Data received {"connection_id":131007,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58cbf770012d7f914005afd9380000011b27..."} 
[2026-07-13 05:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58cbf770012d7f914005afd9380000011b27..."} 
[2026-07-13 05:38:41] local.INFO: Processing buffer {"connection_id":131007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58cbf770012d7f914005afd9380000011b27..."} 
[2026-07-13 05:38:41] local.INFO: Packet analysis {"connection_id":131007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58cb"} 
[2026-07-13 05:38:41] local.INFO: Extracted packet for processing {"connection_id":131007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58cb"} 
[2026-07-13 05:38:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678627584001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783901190000,"timestamp_ms":1783901190000,"timestamp_seconds":1783901190,"priority":1,"record_length":96,"hex_timestamp":"0000019f58cbf770"} 
[2026-07-13 05:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 05:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678627584001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678627584001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:38:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:38:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678627584001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":131007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:38:41] local.INFO: GPS data processed {"connection_id":131007,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:38:41] local.INFO: Acknowledgment sent {"connection_id":131007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:39:12] local.INFO: TCP Data received {"connection_id":131007,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58cbf770012d7f914005afd9380000011b27..."} 
[2026-07-13 05:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58cbf770012d7f914005afd9380000011b27..."} 
[2026-07-13 05:39:12] local.INFO: Processing buffer {"connection_id":131007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58cbf770012d7f914005afd9380000011b27..."} 
[2026-07-13 05:39:12] local.INFO: Packet analysis {"connection_id":131007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58cb"} 
[2026-07-13 05:39:12] local.INFO: Extracted packet for processing {"connection_id":131007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58cb"} 
[2026-07-13 05:39:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678627584001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783901190000,"timestamp_ms":1783901190000,"timestamp_seconds":1783901190,"priority":1,"record_length":96,"hex_timestamp":"0000019f58cbf770"} 
[2026-07-13 05:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 05:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:39:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678627584001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678627584001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:39:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:39:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678627584001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":131007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:39:12] local.INFO: GPS data processed {"connection_id":131007,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:39:12] local.INFO: Acknowledgment sent {"connection_id":131007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:39:35] local.INFO: TCP Data received {"connection_id":131009,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:39:35] local.INFO: Processing buffer {"connection_id":131009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:39:35] local.INFO: IMEI packet received {"connection_id":131009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":131009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:39:41] local.INFO: TCP Data received {"connection_id":131009,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:39:41] local.INFO: Processing buffer {"connection_id":131009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:39:41] local.INFO: IMEI packet received {"connection_id":131009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":131009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:39:41] local.INFO: TCP Data received {"connection_id":131009,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f58cbf770012d7f914005afd9380000011b27..."} 
[2026-07-13 05:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58cbf770012d7f914005afd9380000011b27..."} 
[2026-07-13 05:39:41] local.INFO: Processing buffer {"connection_id":131009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58cbf770012d7f914005afd9380000011b27..."} 
[2026-07-13 05:39:41] local.INFO: Packet analysis {"connection_id":131009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58cb"} 
[2026-07-13 05:39:41] local.INFO: Extracted packet for processing {"connection_id":131009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58cb"} 
[2026-07-13 05:39:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678627584001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783901190000,"timestamp_ms":1783901190000,"timestamp_seconds":1783901190,"priority":1,"record_length":96,"hex_timestamp":"0000019f58cbf770"} 
[2026-07-13 05:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 05:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678627584001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678627584001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:39:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:39:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678627584001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":131009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:39:41] local.INFO: GPS data processed {"connection_id":131009,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:39:41] local.INFO: Acknowledgment sent {"connection_id":131009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:40:12] local.INFO: TCP Data received {"connection_id":131009,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f58cbf770012d7f914005afd9380000011b27..."} 
[2026-07-13 05:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58cbf770012d7f914005afd9380000011b27..."} 
[2026-07-13 05:40:12] local.INFO: Processing buffer {"connection_id":131009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58cbf770012d7f914005afd9380000011b27..."} 
[2026-07-13 05:40:12] local.INFO: Packet analysis {"connection_id":131009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58cb"} 
[2026-07-13 05:40:12] local.INFO: Extracted packet for processing {"connection_id":131009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58cb"} 
[2026-07-13 05:40:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678627584001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783901190000,"timestamp_ms":1783901190000,"timestamp_seconds":1783901190,"priority":1,"record_length":96,"hex_timestamp":"0000019f58cbf770"} 
[2026-07-13 05:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 05:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678627584001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678627584001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:40:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:40:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678627584001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":131009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:40:12] local.INFO: GPS data processed {"connection_id":131009,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:40:12] local.INFO: Acknowledgment sent {"connection_id":131009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:40:35] local.INFO: TCP Data received {"connection_id":132346,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:40:35] local.INFO: Processing buffer {"connection_id":132346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:40:35] local.INFO: IMEI packet received {"connection_id":132346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":132346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:40:41] local.INFO: TCP Data received {"connection_id":132346,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:40:41] local.INFO: Processing buffer {"connection_id":132346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:40:41] local.INFO: IMEI packet received {"connection_id":132346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":132346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:40:41] local.INFO: TCP Data received {"connection_id":132346,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f58cbf770012d7f914005afd9380000011b27..."} 
[2026-07-13 05:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58cbf770012d7f914005afd9380000011b27..."} 
[2026-07-13 05:40:41] local.INFO: Processing buffer {"connection_id":132346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58cbf770012d7f914005afd9380000011b27..."} 
[2026-07-13 05:40:41] local.INFO: Packet analysis {"connection_id":132346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58cb"} 
[2026-07-13 05:40:41] local.INFO: Extracted packet for processing {"connection_id":132346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58cb"} 
[2026-07-13 05:40:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678627584001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783901190000,"timestamp_ms":1783901190000,"timestamp_seconds":1783901190,"priority":1,"record_length":96,"hex_timestamp":"0000019f58cbf770"} 
[2026-07-13 05:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 05:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678627584001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678627584001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:40:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:40:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678627584001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":132346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:40:42] local.INFO: GPS data processed {"connection_id":132346,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:40:42] local.INFO: Acknowledgment sent {"connection_id":132346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:41:13] local.INFO: TCP Data received {"connection_id":132346,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f58cbf770012d7f914005afd9380000011b27..."} 
[2026-07-13 05:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58cbf770012d7f914005afd9380000011b27..."} 
[2026-07-13 05:41:13] local.INFO: Processing buffer {"connection_id":132346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58cbf770012d7f914005afd9380000011b27..."} 
[2026-07-13 05:41:13] local.INFO: Packet analysis {"connection_id":132346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58cb"} 
[2026-07-13 05:41:13] local.INFO: Extracted packet for processing {"connection_id":132346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58cb"} 
[2026-07-13 05:41:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678627584001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783901190000,"timestamp_ms":1783901190000,"timestamp_seconds":1783901190,"priority":1,"record_length":96,"hex_timestamp":"0000019f58cbf770"} 
[2026-07-13 05:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 05:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678627584001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678627584001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:41:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:41:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678627584001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":132346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:41:13] local.INFO: GPS data processed {"connection_id":132346,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:41:13] local.INFO: Acknowledgment sent {"connection_id":132346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:41:35] local.INFO: TCP Data received {"connection_id":130031,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:41:35] local.INFO: Processing buffer {"connection_id":130031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:41:35] local.INFO: IMEI packet received {"connection_id":130031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":130031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:41:41] local.INFO: TCP Data received {"connection_id":130031,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:41:41] local.INFO: Processing buffer {"connection_id":130031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:41:41] local.INFO: IMEI packet received {"connection_id":130031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":130031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:41:41] local.INFO: TCP Data received {"connection_id":130031,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f58cbf770012d7f914005afd9380000011b27..."} 
[2026-07-13 05:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58cbf770012d7f914005afd9380000011b27..."} 
[2026-07-13 05:41:41] local.INFO: Processing buffer {"connection_id":130031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58cbf770012d7f914005afd9380000011b27..."} 
[2026-07-13 05:41:41] local.INFO: Packet analysis {"connection_id":130031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58cb"} 
[2026-07-13 05:41:41] local.INFO: Extracted packet for processing {"connection_id":130031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58cb"} 
[2026-07-13 05:41:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678627584001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783901190000,"timestamp_ms":1783901190000,"timestamp_seconds":1783901190,"priority":1,"record_length":96,"hex_timestamp":"0000019f58cbf770"} 
[2026-07-13 05:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 05:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678627584001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678627584001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:41:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:41:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678627584001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":130031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:41:41] local.INFO: GPS data processed {"connection_id":130031,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:41:41] local.INFO: Acknowledgment sent {"connection_id":130031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:42:13] local.INFO: TCP Data received {"connection_id":130031,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f58d08f38012d7f914005afd9380000011b28..."} 
[2026-07-13 05:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58d08f38012d7f914005afd9380000011b28..."} 
[2026-07-13 05:42:13] local.INFO: Processing buffer {"connection_id":130031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58d08f38012d7f914005afd9380000011b28..."} 
[2026-07-13 05:42:13] local.INFO: Packet analysis {"connection_id":130031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58d0"} 
[2026-07-13 05:42:13] local.INFO: Extracted packet for processing {"connection_id":130031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58d0"} 
[2026-07-13 05:42:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678704640001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783901491000,"timestamp_ms":1783901491000,"timestamp_seconds":1783901491,"priority":1,"record_length":96,"hex_timestamp":"0000019f58d08f38"} 
[2026-07-13 05:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 05:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678704640001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678704640001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:42:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:42:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678704640001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":130031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:42:13] local.INFO: GPS data processed {"connection_id":130031,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:42:13] local.INFO: Acknowledgment sent {"connection_id":130031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:42:35] local.INFO: TCP Data received {"connection_id":130033,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:42:35] local.INFO: Processing buffer {"connection_id":130033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:42:35] local.INFO: IMEI packet received {"connection_id":130033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":130033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:42:41] local.INFO: TCP Data received {"connection_id":130033,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:42:41] local.INFO: Processing buffer {"connection_id":130033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:42:41] local.INFO: IMEI packet received {"connection_id":130033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":130033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:42:42] local.INFO: TCP Data received {"connection_id":130033,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f58d08f38012d7f914005afd9380000011b28..."} 
[2026-07-13 05:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58d08f38012d7f914005afd9380000011b28..."} 
[2026-07-13 05:42:42] local.INFO: Processing buffer {"connection_id":130033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58d08f38012d7f914005afd9380000011b28..."} 
[2026-07-13 05:42:42] local.INFO: Packet analysis {"connection_id":130033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58d0"} 
[2026-07-13 05:42:42] local.INFO: Extracted packet for processing {"connection_id":130033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58d0"} 
[2026-07-13 05:42:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678704640001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783901491000,"timestamp_ms":1783901491000,"timestamp_seconds":1783901491,"priority":1,"record_length":96,"hex_timestamp":"0000019f58d08f38"} 
[2026-07-13 05:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 05:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678704640001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678704640001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:42:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:42:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678704640001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":130033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:42:42] local.INFO: GPS data processed {"connection_id":130033,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:42:42] local.INFO: Acknowledgment sent {"connection_id":130033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:43:01] local.INFO: TCP Data received {"connection_id":130034,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:43:01] local.INFO: Processing buffer {"connection_id":130034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:43:01] local.INFO: IMEI packet received {"connection_id":130034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 05:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":130034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:43:13] local.INFO: TCP Data received {"connection_id":130033,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f58d08f38012d7f914005afd9380000011b28..."} 
[2026-07-13 05:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58d08f38012d7f914005afd9380000011b28..."} 
[2026-07-13 05:43:13] local.INFO: Processing buffer {"connection_id":130033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58d08f38012d7f914005afd9380000011b28..."} 
[2026-07-13 05:43:13] local.INFO: Packet analysis {"connection_id":130033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58d0"} 
[2026-07-13 05:43:13] local.INFO: Extracted packet for processing {"connection_id":130033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58d0"} 
[2026-07-13 05:43:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678704640001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783901491000,"timestamp_ms":1783901491000,"timestamp_seconds":1783901491,"priority":1,"record_length":96,"hex_timestamp":"0000019f58d08f38"} 
[2026-07-13 05:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 05:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678704640001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678704640001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:43:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:43:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678704640001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":130033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:43:13] local.INFO: GPS data processed {"connection_id":130033,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:43:13] local.INFO: Acknowledgment sent {"connection_id":130033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:43:35] local.INFO: TCP Data received {"connection_id":130233,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:43:35] local.INFO: Processing buffer {"connection_id":130233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:43:35] local.INFO: IMEI packet received {"connection_id":130233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":130233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:43:41] local.INFO: TCP Data received {"connection_id":130233,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:43:41] local.INFO: Processing buffer {"connection_id":130233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:43:41] local.INFO: IMEI packet received {"connection_id":130233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":130233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:43:41] local.INFO: TCP Data received {"connection_id":130233,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f58d08f38012d7f914005afd9380000011b28..."} 
[2026-07-13 05:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58d08f38012d7f914005afd9380000011b28..."} 
[2026-07-13 05:43:41] local.INFO: Processing buffer {"connection_id":130233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58d08f38012d7f914005afd9380000011b28..."} 
[2026-07-13 05:43:41] local.INFO: Packet analysis {"connection_id":130233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58d0"} 
[2026-07-13 05:43:41] local.INFO: Extracted packet for processing {"connection_id":130233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58d0"} 
[2026-07-13 05:43:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678704640001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783901491000,"timestamp_ms":1783901491000,"timestamp_seconds":1783901491,"priority":1,"record_length":96,"hex_timestamp":"0000019f58d08f38"} 
[2026-07-13 05:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 05:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678704640001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678704640001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:43:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:43:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678704640001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":130233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:43:41] local.INFO: GPS data processed {"connection_id":130233,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:43:41] local.INFO: Acknowledgment sent {"connection_id":130233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:43:46] local.INFO: TCP Data received {"connection_id":131010,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131010,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:43:46] local.INFO: Processing buffer {"connection_id":131010,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:43:46] local.INFO: IMEI packet received {"connection_id":131010,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 05:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":131010,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:44:12] local.INFO: TCP Data received {"connection_id":130233,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f58d08f38012d7f914005afd9380000011b28..."} 
[2026-07-13 05:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58d08f38012d7f914005afd9380000011b28..."} 
[2026-07-13 05:44:12] local.INFO: Processing buffer {"connection_id":130233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58d08f38012d7f914005afd9380000011b28..."} 
[2026-07-13 05:44:12] local.INFO: Packet analysis {"connection_id":130233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58d0"} 
[2026-07-13 05:44:12] local.INFO: Extracted packet for processing {"connection_id":130233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58d0"} 
[2026-07-13 05:44:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05: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-07-13 05:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678704640001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783901491000,"timestamp_ms":1783901491000,"timestamp_seconds":1783901491,"priority":1,"record_length":96,"hex_timestamp":"0000019f58d08f38"} 
[2026-07-13 05:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 05:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05: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-07-13 05:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678704640001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678704640001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:44:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:44:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678704640001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":130233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:44:12] local.INFO: GPS data processed {"connection_id":130233,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:44:12] local.INFO: Acknowledgment sent {"connection_id":130233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:44:41] local.INFO: TCP Data received {"connection_id":131011,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:44:41] local.INFO: Processing buffer {"connection_id":131011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:44:41] local.INFO: IMEI packet received {"connection_id":131011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":131011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:44:46] local.INFO: TCP Data received {"connection_id":131011,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:44:46] local.INFO: Processing buffer {"connection_id":131011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:44:46] local.INFO: IMEI packet received {"connection_id":131011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":131011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:44:46] local.INFO: TCP Data received {"connection_id":131011,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f58d08f38012d7f914005afd9380000011b28..."} 
[2026-07-13 05:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58d08f38012d7f914005afd9380000011b28..."} 
[2026-07-13 05:44:46] local.INFO: Processing buffer {"connection_id":131011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58d08f38012d7f914005afd9380000011b28..."} 
[2026-07-13 05:44:46] local.INFO: Packet analysis {"connection_id":131011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58d0"} 
[2026-07-13 05:44:46] local.INFO: Extracted packet for processing {"connection_id":131011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58d0"} 
[2026-07-13 05:44:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678704640001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783901491000,"timestamp_ms":1783901491000,"timestamp_seconds":1783901491,"priority":1,"record_length":96,"hex_timestamp":"0000019f58d08f38"} 
[2026-07-13 05:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 05:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678704640001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678704640001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:44:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:44:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678704640001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":131011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:44:46] local.INFO: GPS data processed {"connection_id":131011,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:44:46] local.INFO: Acknowledgment sent {"connection_id":131011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:44:51] local.INFO: TCP Data received {"connection_id":131011,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f58d08f38012d7f914005afd9380000011b28..."} 
[2026-07-13 05:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58d08f38012d7f914005afd9380000011b28..."} 
[2026-07-13 05:44:51] local.INFO: Processing buffer {"connection_id":131011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58d08f38012d7f914005afd9380000011b28..."} 
[2026-07-13 05:44:51] local.INFO: Packet analysis {"connection_id":131011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58d0"} 
[2026-07-13 05:44:51] local.INFO: Extracted packet for processing {"connection_id":131011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58d0"} 
[2026-07-13 05:44:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678704640001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783901491000,"timestamp_ms":1783901491000,"timestamp_seconds":1783901491,"priority":1,"record_length":96,"hex_timestamp":"0000019f58d08f38"} 
[2026-07-13 05:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 05:44: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-07-13 05:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":131011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":131011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":131011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678704640001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678704640001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:44:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:44:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678704640001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":131011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:44:51] local.INFO: GPS data processed {"connection_id":131011,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:44:51] local.INFO: Acknowledgment sent {"connection_id":131011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:45:35] local.INFO: TCP Data received {"connection_id":130035,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:45:35] local.INFO: Processing buffer {"connection_id":130035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:45:35] local.INFO: IMEI packet received {"connection_id":130035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":130035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:45:40] local.INFO: TCP Data received {"connection_id":130035,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:45:40] local.INFO: Processing buffer {"connection_id":130035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:45:40] local.INFO: IMEI packet received {"connection_id":130035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":130035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:45:42] local.INFO: TCP Data received {"connection_id":130035,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58d08f38012d7f914005afd9380000011b28..."} 
[2026-07-13 05:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58d08f38012d7f914005afd9380000011b28..."} 
[2026-07-13 05:45:42] local.INFO: Processing buffer {"connection_id":130035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58d08f38012d7f914005afd9380000011b28..."} 
[2026-07-13 05:45:42] local.INFO: Packet analysis {"connection_id":130035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58d0"} 
[2026-07-13 05:45:42] local.INFO: Extracted packet for processing {"connection_id":130035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58d0"} 
[2026-07-13 05:45:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678704640001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783901491000,"timestamp_ms":1783901491000,"timestamp_seconds":1783901491,"priority":1,"record_length":96,"hex_timestamp":"0000019f58d08f38"} 
[2026-07-13 05:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 05:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678704640001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678704640001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:45:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:45:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678704640001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":130035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:45:42] local.INFO: GPS data processed {"connection_id":130035,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:45:42] local.INFO: Acknowledgment sent {"connection_id":130035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:46:13] local.INFO: TCP Data received {"connection_id":130035,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58d08f38012d7f914005afd9380000011b28..."} 
[2026-07-13 05:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58d08f38012d7f914005afd9380000011b28..."} 
[2026-07-13 05:46:13] local.INFO: Processing buffer {"connection_id":130035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58d08f38012d7f914005afd9380000011b28..."} 
[2026-07-13 05:46:13] local.INFO: Packet analysis {"connection_id":130035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58d0"} 
[2026-07-13 05:46:13] local.INFO: Extracted packet for processing {"connection_id":130035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58d0"} 
[2026-07-13 05:46:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678704640001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783901491000,"timestamp_ms":1783901491000,"timestamp_seconds":1783901491,"priority":1,"record_length":96,"hex_timestamp":"0000019f58d08f38"} 
[2026-07-13 05:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 05:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678704640001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678704640001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:46:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:46:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678704640001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":130035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:46:13] local.INFO: GPS data processed {"connection_id":130035,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:46:13] local.INFO: Acknowledgment sent {"connection_id":130035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:46:35] local.INFO: TCP Data received {"connection_id":131012,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:46:35] local.INFO: Processing buffer {"connection_id":131012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:46:35] local.INFO: IMEI packet received {"connection_id":131012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":131012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:46:40] local.INFO: TCP Data received {"connection_id":131012,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:46:40] local.INFO: Processing buffer {"connection_id":131012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:46:40] local.INFO: IMEI packet received {"connection_id":131012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":131012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:46:41] local.INFO: TCP Data received {"connection_id":131012,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58d08f38012d7f914005afd9380000011b28..."} 
[2026-07-13 05:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58d08f38012d7f914005afd9380000011b28..."} 
[2026-07-13 05:46:41] local.INFO: Processing buffer {"connection_id":131012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58d08f38012d7f914005afd9380000011b28..."} 
[2026-07-13 05:46:41] local.INFO: Packet analysis {"connection_id":131012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58d0"} 
[2026-07-13 05:46:41] local.INFO: Extracted packet for processing {"connection_id":131012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58d0"} 
[2026-07-13 05:46:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678704640001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783901491000,"timestamp_ms":1783901491000,"timestamp_seconds":1783901491,"priority":1,"record_length":96,"hex_timestamp":"0000019f58d08f38"} 
[2026-07-13 05:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 05:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678704640001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678704640001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:46:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:46:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678704640001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":131012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:46:41] local.INFO: GPS data processed {"connection_id":131012,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:46:41] local.INFO: Acknowledgment sent {"connection_id":131012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:47:12] local.INFO: TCP Data received {"connection_id":131012,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:47:12] local.INFO: Processing buffer {"connection_id":131012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:47:12] local.INFO: Packet analysis {"connection_id":131012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58d5"} 
[2026-07-13 05:47:12] local.INFO: Extracted packet for processing {"connection_id":131012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58d5"} 
[2026-07-13 05:47:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678781696001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783901792000,"timestamp_ms":1783901792000,"timestamp_seconds":1783901792,"priority":1,"record_length":96,"hex_timestamp":"0000019f58d52700"} 
[2026-07-13 05:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 05:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678781696001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678781696001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:47:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:47:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678781696001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":131012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:47:12] local.INFO: GPS data processed {"connection_id":131012,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:47:12] local.INFO: Acknowledgment sent {"connection_id":131012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:47:35] local.INFO: TCP Data received {"connection_id":130036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:47:35] local.INFO: Processing buffer {"connection_id":130036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:47:35] local.INFO: IMEI packet received {"connection_id":130036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":130036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:47:41] local.INFO: TCP Data received {"connection_id":130036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:47:41] local.INFO: Processing buffer {"connection_id":130036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:47:41] local.INFO: IMEI packet received {"connection_id":130036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":130036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:47:41] local.INFO: TCP Data received {"connection_id":130036,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:47:41] local.INFO: Processing buffer {"connection_id":130036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:47:41] local.INFO: Packet analysis {"connection_id":130036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58d5"} 
[2026-07-13 05:47:41] local.INFO: Extracted packet for processing {"connection_id":130036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58d5"} 
[2026-07-13 05:47:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678781696001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783901792000,"timestamp_ms":1783901792000,"timestamp_seconds":1783901792,"priority":1,"record_length":96,"hex_timestamp":"0000019f58d52700"} 
[2026-07-13 05:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 05:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678781696001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678781696001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:47:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:47:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678781696001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":130036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:47:41] local.INFO: GPS data processed {"connection_id":130036,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:47:41] local.INFO: Acknowledgment sent {"connection_id":130036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:48:12] local.INFO: TCP Data received {"connection_id":130036,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:48:12] local.INFO: Processing buffer {"connection_id":130036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:48:12] local.INFO: Packet analysis {"connection_id":130036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58d5"} 
[2026-07-13 05:48:12] local.INFO: Extracted packet for processing {"connection_id":130036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58d5"} 
[2026-07-13 05:48:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678781696001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783901792000,"timestamp_ms":1783901792000,"timestamp_seconds":1783901792,"priority":1,"record_length":96,"hex_timestamp":"0000019f58d52700"} 
[2026-07-13 05:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 05:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678781696001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678781696001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:48:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:48:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678781696001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":130036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:48:12] local.INFO: GPS data processed {"connection_id":130036,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:48:12] local.INFO: Acknowledgment sent {"connection_id":130036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:48:35] local.INFO: TCP Data received {"connection_id":131013,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:48:35] local.INFO: Processing buffer {"connection_id":131013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:48:35] local.INFO: IMEI packet received {"connection_id":131013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":131013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:48:41] local.INFO: TCP Data received {"connection_id":131013,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:48:41] local.INFO: Processing buffer {"connection_id":131013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:48:41] local.INFO: IMEI packet received {"connection_id":131013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":131013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:48:42] local.INFO: TCP Data received {"connection_id":131013,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:48:42] local.INFO: Processing buffer {"connection_id":131013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:48:42] local.INFO: Packet analysis {"connection_id":131013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58d5"} 
[2026-07-13 05:48:42] local.INFO: Extracted packet for processing {"connection_id":131013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58d5"} 
[2026-07-13 05:48:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678781696001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783901792000,"timestamp_ms":1783901792000,"timestamp_seconds":1783901792,"priority":1,"record_length":96,"hex_timestamp":"0000019f58d52700"} 
[2026-07-13 05:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 05:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":131013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":131013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":131013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678781696001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678781696001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:48:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:48:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678781696001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":131013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:48:42] local.INFO: GPS data processed {"connection_id":131013,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:48:42] local.INFO: Acknowledgment sent {"connection_id":131013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:49:01] local.INFO: TCP Data received {"connection_id":132347,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132347,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:49:01] local.INFO: Processing buffer {"connection_id":132347,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:49:01] local.INFO: IMEI packet received {"connection_id":132347,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 05:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":132347,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:49:13] local.INFO: TCP Data received {"connection_id":131013,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:49:13] local.INFO: Processing buffer {"connection_id":131013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:49:13] local.INFO: Packet analysis {"connection_id":131013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58d5"} 
[2026-07-13 05:49:13] local.INFO: Extracted packet for processing {"connection_id":131013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58d5"} 
[2026-07-13 05:49:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678781696001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783901792000,"timestamp_ms":1783901792000,"timestamp_seconds":1783901792,"priority":1,"record_length":96,"hex_timestamp":"0000019f58d52700"} 
[2026-07-13 05:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 05:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678781696001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678781696001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:49:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:49:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678781696001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":131013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:49:13] local.INFO: GPS data processed {"connection_id":131013,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:49:13] local.INFO: Acknowledgment sent {"connection_id":131013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:49:35] local.INFO: TCP Data received {"connection_id":130235,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:49:35] local.INFO: Processing buffer {"connection_id":130235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:49:35] local.INFO: IMEI packet received {"connection_id":130235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":130235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:49:41] local.INFO: TCP Data received {"connection_id":130235,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:49:41] local.INFO: Processing buffer {"connection_id":130235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:49:41] local.INFO: IMEI packet received {"connection_id":130235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":130235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:49:41] local.INFO: TCP Data received {"connection_id":132348,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132348,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:49:41] local.INFO: Processing buffer {"connection_id":132348,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:49:41] local.INFO: IMEI packet received {"connection_id":132348,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 05:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":132348,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:49:41] local.INFO: TCP Data received {"connection_id":130235,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:49:41] local.INFO: Processing buffer {"connection_id":130235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:49:41] local.INFO: Packet analysis {"connection_id":130235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58d5"} 
[2026-07-13 05:49:41] local.INFO: Extracted packet for processing {"connection_id":130235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58d5"} 
[2026-07-13 05:49:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678781696001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783901792000,"timestamp_ms":1783901792000,"timestamp_seconds":1783901792,"priority":1,"record_length":96,"hex_timestamp":"0000019f58d52700"} 
[2026-07-13 05:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 05:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678781696001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678781696001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:49:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:49:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678781696001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":130235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:49:41] local.INFO: GPS data processed {"connection_id":130235,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:49:41] local.INFO: Acknowledgment sent {"connection_id":130235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:50:12] local.INFO: TCP Data received {"connection_id":130235,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:50:12] local.INFO: Processing buffer {"connection_id":130235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:50:12] local.INFO: Packet analysis {"connection_id":130235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58d5"} 
[2026-07-13 05:50:12] local.INFO: Extracted packet for processing {"connection_id":130235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58d5"} 
[2026-07-13 05:50:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678781696001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783901792000,"timestamp_ms":1783901792000,"timestamp_seconds":1783901792,"priority":1,"record_length":96,"hex_timestamp":"0000019f58d52700"} 
[2026-07-13 05:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 05:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678781696001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678781696001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:50:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:50:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678781696001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":130235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:50:13] local.INFO: GPS data processed {"connection_id":130235,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:50:13] local.INFO: Acknowledgment sent {"connection_id":130235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:50:41] local.INFO: TCP Data received {"connection_id":131014,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:50:41] local.INFO: Processing buffer {"connection_id":131014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:50:41] local.INFO: IMEI packet received {"connection_id":131014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":131014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:50:46] local.INFO: TCP Data received {"connection_id":131014,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:50:46] local.INFO: Processing buffer {"connection_id":131014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:50:46] local.INFO: IMEI packet received {"connection_id":131014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":131014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:50:47] local.INFO: TCP Data received {"connection_id":131014,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:50:47] local.INFO: Processing buffer {"connection_id":131014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:50:47] local.INFO: Packet analysis {"connection_id":131014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58d5"} 
[2026-07-13 05:50:47] local.INFO: Extracted packet for processing {"connection_id":131014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58d5"} 
[2026-07-13 05:50:47] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678781696001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783901792000,"timestamp_ms":1783901792000,"timestamp_seconds":1783901792,"priority":1,"record_length":96,"hex_timestamp":"0000019f58d52700"} 
[2026-07-13 05:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 05:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":131014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":131014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":131014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678781696001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678781696001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:50:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:50:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678781696001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":131014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:50:47] local.INFO: GPS data processed {"connection_id":131014,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:50:47] local.INFO: Acknowledgment sent {"connection_id":131014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:50:51] local.INFO: TCP Data received {"connection_id":131014,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:50:51] local.INFO: Processing buffer {"connection_id":131014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:50:51] local.INFO: Packet analysis {"connection_id":131014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58d5"} 
[2026-07-13 05:50:51] local.INFO: Extracted packet for processing {"connection_id":131014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58d5"} 
[2026-07-13 05:50:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05: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-07-13 05:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678781696001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783901792000,"timestamp_ms":1783901792000,"timestamp_seconds":1783901792,"priority":1,"record_length":96,"hex_timestamp":"0000019f58d52700"} 
[2026-07-13 05:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 05:50: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-07-13 05: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-07-13 05:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":131014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":131014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":131014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:50: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-07-13 05:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678781696001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678781696001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:50:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:50:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678781696001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":131014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:50:51] local.INFO: GPS data processed {"connection_id":131014,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:50:51] local.INFO: Acknowledgment sent {"connection_id":131014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:51:35] local.INFO: TCP Data received {"connection_id":131015,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:51:35] local.INFO: Processing buffer {"connection_id":131015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:51:35] local.INFO: IMEI packet received {"connection_id":131015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":131015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:51:41] local.INFO: TCP Data received {"connection_id":131015,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:51:41] local.INFO: Processing buffer {"connection_id":131015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:51:41] local.INFO: IMEI packet received {"connection_id":131015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":131015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:51:42] local.INFO: TCP Data received {"connection_id":131015,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:51:42] local.INFO: Processing buffer {"connection_id":131015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:51:42] local.INFO: Packet analysis {"connection_id":131015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58d5"} 
[2026-07-13 05:51:42] local.INFO: Extracted packet for processing {"connection_id":131015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58d5"} 
[2026-07-13 05:51:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678781696001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783901792000,"timestamp_ms":1783901792000,"timestamp_seconds":1783901792,"priority":1,"record_length":96,"hex_timestamp":"0000019f58d52700"} 
[2026-07-13 05:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 05:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":131015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":131015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":131015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678781696001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678781696001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:51:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:51:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678781696001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":131015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:51:42] local.INFO: GPS data processed {"connection_id":131015,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:51:42] local.INFO: Acknowledgment sent {"connection_id":131015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:51:46] local.INFO: TCP Data received {"connection_id":131015,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:51:46] local.INFO: Processing buffer {"connection_id":131015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58d52700012d7f914005afd9380000011b25..."} 
[2026-07-13 05:51:46] local.INFO: Packet analysis {"connection_id":131015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58d5"} 
[2026-07-13 05:51:46] local.INFO: Extracted packet for processing {"connection_id":131015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58d5"} 
[2026-07-13 05:51:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678781696001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783901792000,"timestamp_ms":1783901792000,"timestamp_seconds":1783901792,"priority":1,"record_length":96,"hex_timestamp":"0000019f58d52700"} 
[2026-07-13 05:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 05:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:51: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-07-13 05:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678781696001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678781696001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:51:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:51:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678781696001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":131015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:51:46] local.INFO: GPS data processed {"connection_id":131015,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:51:46] local.INFO: Acknowledgment sent {"connection_id":131015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:52:17] local.INFO: TCP Data received {"connection_id":131015,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f58d9bae0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58d9bae0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:52:17] local.INFO: Processing buffer {"connection_id":131015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58d9bae0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:52:17] local.INFO: Packet analysis {"connection_id":131015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58d9"} 
[2026-07-13 05:52:17] local.INFO: Extracted packet for processing {"connection_id":131015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58d9"} 
[2026-07-13 05:52:17] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678858752001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783902092000,"timestamp_ms":1783902092000,"timestamp_seconds":1783902092,"priority":1,"record_length":96,"hex_timestamp":"0000019f58d9bae0"} 
[2026-07-13 05:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 05:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05: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-07-13 05:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678858752001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 05:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678858752001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:52:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 05:52:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678858752001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":131015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:52:17] local.INFO: GPS data processed {"connection_id":131015,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:52:17] local.INFO: Acknowledgment sent {"connection_id":131015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:52:35] local.INFO: TCP Data received {"connection_id":132350,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:52:35] local.INFO: Processing buffer {"connection_id":132350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:52:35] local.INFO: IMEI packet received {"connection_id":132350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":132350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:52:41] local.INFO: TCP Data received {"connection_id":132350,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:52:41] local.INFO: Processing buffer {"connection_id":132350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:52:41] local.INFO: IMEI packet received {"connection_id":132350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":132350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:52:41] local.INFO: TCP Data received {"connection_id":132350,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f58d9bae0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58d9bae0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:52:41] local.INFO: Processing buffer {"connection_id":132350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58d9bae0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:52:41] local.INFO: Packet analysis {"connection_id":132350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58d9"} 
[2026-07-13 05:52:41] local.INFO: Extracted packet for processing {"connection_id":132350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58d9"} 
[2026-07-13 05:52:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678858752001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783902092000,"timestamp_ms":1783902092000,"timestamp_seconds":1783902092,"priority":1,"record_length":96,"hex_timestamp":"0000019f58d9bae0"} 
[2026-07-13 05:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 05:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678858752001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 05:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678858752001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:52:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 05:52:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678858752001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":132350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:52:41] local.INFO: GPS data processed {"connection_id":132350,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:52:41] local.INFO: Acknowledgment sent {"connection_id":132350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:53:12] local.INFO: TCP Data received {"connection_id":132350,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f58d9bae0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58d9bae0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:53:12] local.INFO: Processing buffer {"connection_id":132350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58d9bae0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:53:12] local.INFO: Packet analysis {"connection_id":132350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58d9"} 
[2026-07-13 05:53:12] local.INFO: Extracted packet for processing {"connection_id":132350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58d9"} 
[2026-07-13 05:53:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678858752001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783902092000,"timestamp_ms":1783902092000,"timestamp_seconds":1783902092,"priority":1,"record_length":96,"hex_timestamp":"0000019f58d9bae0"} 
[2026-07-13 05:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 05:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678858752001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 05:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678858752001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:53:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 05:53:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678858752001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":132350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:53:12] local.INFO: GPS data processed {"connection_id":132350,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:53:12] local.INFO: Acknowledgment sent {"connection_id":132350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:53:35] local.INFO: TCP Data received {"connection_id":130237,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:53:35] local.INFO: Processing buffer {"connection_id":130237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:53:35] local.INFO: IMEI packet received {"connection_id":130237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":130237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:53:41] local.INFO: TCP Data received {"connection_id":130237,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:53:41] local.INFO: Processing buffer {"connection_id":130237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:53:41] local.INFO: IMEI packet received {"connection_id":130237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":130237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:53:42] local.INFO: TCP Data received {"connection_id":130237,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f58d9bae0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58d9bae0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:53:42] local.INFO: Processing buffer {"connection_id":130237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58d9bae0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:53:42] local.INFO: Packet analysis {"connection_id":130237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58d9"} 
[2026-07-13 05:53:42] local.INFO: Extracted packet for processing {"connection_id":130237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58d9"} 
[2026-07-13 05:53:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05: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-07-13 05:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678858752001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783902092000,"timestamp_ms":1783902092000,"timestamp_seconds":1783902092,"priority":1,"record_length":96,"hex_timestamp":"0000019f58d9bae0"} 
[2026-07-13 05:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 05:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05: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-07-13 05:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678858752001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 05:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678858752001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:53:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 05:53:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678858752001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":130237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:53:42] local.INFO: GPS data processed {"connection_id":130237,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:53:42] local.INFO: Acknowledgment sent {"connection_id":130237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:54:13] local.INFO: TCP Data received {"connection_id":130237,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f58d9bae0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58d9bae0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:54:13] local.INFO: Processing buffer {"connection_id":130237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58d9bae0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:54:13] local.INFO: Packet analysis {"connection_id":130237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58d9"} 
[2026-07-13 05:54:13] local.INFO: Extracted packet for processing {"connection_id":130237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58d9"} 
[2026-07-13 05:54:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678858752001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783902092000,"timestamp_ms":1783902092000,"timestamp_seconds":1783902092,"priority":1,"record_length":96,"hex_timestamp":"0000019f58d9bae0"} 
[2026-07-13 05:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05: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-07-13 05:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 05:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678858752001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 05:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678858752001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:54:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 05:54:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678858752001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":130237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:54:13] local.INFO: GPS data processed {"connection_id":130237,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:54:13] local.INFO: Acknowledgment sent {"connection_id":130237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:54:41] local.INFO: TCP Data received {"connection_id":132352,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:54:41] local.INFO: Processing buffer {"connection_id":132352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:54:41] local.INFO: IMEI packet received {"connection_id":132352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":132352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:54:46] local.INFO: TCP Data received {"connection_id":132352,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:54:46] local.INFO: Processing buffer {"connection_id":132352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:54:46] local.INFO: IMEI packet received {"connection_id":132352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":132352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:54:46] local.INFO: TCP Data received {"connection_id":132352,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f58d9bae0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58d9bae0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:54:46] local.INFO: Processing buffer {"connection_id":132352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58d9bae0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:54:46] local.INFO: Packet analysis {"connection_id":132352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58d9"} 
[2026-07-13 05:54:46] local.INFO: Extracted packet for processing {"connection_id":132352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58d9"} 
[2026-07-13 05:54:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678858752001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783902092000,"timestamp_ms":1783902092000,"timestamp_seconds":1783902092,"priority":1,"record_length":96,"hex_timestamp":"0000019f58d9bae0"} 
[2026-07-13 05:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 05:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678858752001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 05:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678858752001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:54:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 05:54:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678858752001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":132352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:54:46] local.INFO: GPS data processed {"connection_id":132352,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:54:46] local.INFO: Acknowledgment sent {"connection_id":132352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:54:51] local.INFO: TCP Data received {"connection_id":132352,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f58d9bae0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58d9bae0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:54:51] local.INFO: Processing buffer {"connection_id":132352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58d9bae0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:54:51] local.INFO: Packet analysis {"connection_id":132352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58d9"} 
[2026-07-13 05:54:51] local.INFO: Extracted packet for processing {"connection_id":132352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58d9"} 
[2026-07-13 05:54:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05: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-07-13 05:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678858752001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783902092000,"timestamp_ms":1783902092000,"timestamp_seconds":1783902092,"priority":1,"record_length":96,"hex_timestamp":"0000019f58d9bae0"} 
[2026-07-13 05:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 05:54: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-07-13 05: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-07-13 05:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:54: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-07-13 05:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678858752001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 05:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678858752001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:54:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 05:54:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678858752001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":132352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:54:51] local.INFO: GPS data processed {"connection_id":132352,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:54:51] local.INFO: Acknowledgment sent {"connection_id":132352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:54:56] local.INFO: TCP Data received {"connection_id":130239,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130239,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:54:56] local.INFO: Processing buffer {"connection_id":130239,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:54:56] local.INFO: IMEI packet received {"connection_id":130239,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 05:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":130239,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:55:35] local.INFO: TCP Data received {"connection_id":131016,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:55:35] local.INFO: Processing buffer {"connection_id":131016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:55:35] local.INFO: IMEI packet received {"connection_id":131016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":131016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:55:40] local.INFO: TCP Data received {"connection_id":130037,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130037,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:55:40] local.INFO: Processing buffer {"connection_id":130037,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 05:55:40] local.INFO: IMEI packet received {"connection_id":130037,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 05:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":130037,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:55:41] local.INFO: TCP Data received {"connection_id":131016,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:55:41] local.INFO: Processing buffer {"connection_id":131016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:55:41] local.INFO: IMEI packet received {"connection_id":131016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":131016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:55:41] local.INFO: TCP Data received {"connection_id":131016,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f58d9bae0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58d9bae0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:55:41] local.INFO: Processing buffer {"connection_id":131016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58d9bae0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:55:41] local.INFO: Packet analysis {"connection_id":131016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58d9"} 
[2026-07-13 05:55:41] local.INFO: Extracted packet for processing {"connection_id":131016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58d9"} 
[2026-07-13 05:55:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05: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-07-13 05:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678858752001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783902092000,"timestamp_ms":1783902092000,"timestamp_seconds":1783902092,"priority":1,"record_length":96,"hex_timestamp":"0000019f58d9bae0"} 
[2026-07-13 05:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 05:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05: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-07-13 05:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678858752001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 05:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678858752001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:55:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 05:55:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678858752001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":131016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:55:41] local.INFO: GPS data processed {"connection_id":131016,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:55:41] local.INFO: Acknowledgment sent {"connection_id":131016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:56:13] local.INFO: TCP Data received {"connection_id":131016,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f58d9bae0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58d9bae0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:56:13] local.INFO: Processing buffer {"connection_id":131016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58d9bae0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:56:13] local.INFO: Packet analysis {"connection_id":131016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58d9"} 
[2026-07-13 05:56:13] local.INFO: Extracted packet for processing {"connection_id":131016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58d9"} 
[2026-07-13 05:56:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678858752001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783902092000,"timestamp_ms":1783902092000,"timestamp_seconds":1783902092,"priority":1,"record_length":96,"hex_timestamp":"0000019f58d9bae0"} 
[2026-07-13 05:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 05:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678858752001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 05:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678858752001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:56:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 05:56:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678858752001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":131016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:56:13] local.INFO: GPS data processed {"connection_id":131016,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:56:13] local.INFO: Acknowledgment sent {"connection_id":131016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:56:36] local.INFO: TCP Data received {"connection_id":130240,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:56:36] local.INFO: Processing buffer {"connection_id":130240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:56:36] local.INFO: IMEI packet received {"connection_id":130240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":130240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:56:41] local.INFO: TCP Data received {"connection_id":130240,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:56:41] local.INFO: Processing buffer {"connection_id":130240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:56:41] local.INFO: IMEI packet received {"connection_id":130240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":130240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:56:41] local.INFO: TCP Data received {"connection_id":130240,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f58d9bae0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58d9bae0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:56:41] local.INFO: Processing buffer {"connection_id":130240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58d9bae0012d7f914005afd9380000011b29..."} 
[2026-07-13 05:56:41] local.INFO: Packet analysis {"connection_id":130240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58d9"} 
[2026-07-13 05:56:41] local.INFO: Extracted packet for processing {"connection_id":130240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58d9"} 
[2026-07-13 05:56:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678858752001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783902092000,"timestamp_ms":1783902092000,"timestamp_seconds":1783902092,"priority":1,"record_length":96,"hex_timestamp":"0000019f58d9bae0"} 
[2026-07-13 05:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 05:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678858752001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 05:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678858752001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:56:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 05:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678858752001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":130240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:56:41] local.INFO: GPS data processed {"connection_id":130240,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:56:41] local.INFO: Acknowledgment sent {"connection_id":130240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:57:12] local.INFO: TCP Data received {"connection_id":130240,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 05:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 05:57:12] local.INFO: Processing buffer {"connection_id":130240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 05:57:12] local.INFO: Packet analysis {"connection_id":130240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58de"} 
[2026-07-13 05:57:12] local.INFO: Extracted packet for processing {"connection_id":130240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58de"} 
[2026-07-13 05:57:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678935552001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783902393000,"timestamp_ms":1783902393000,"timestamp_seconds":1783902393,"priority":1,"record_length":96,"hex_timestamp":"0000019f58de52a8"} 
[2026-07-13 05:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 05:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678935552001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678935552001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:57:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:57:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678935552001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":130240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:57:12] local.INFO: GPS data processed {"connection_id":130240,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:57:12] local.INFO: Acknowledgment sent {"connection_id":130240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:57:35] local.INFO: TCP Data received {"connection_id":130242,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:57:35] local.INFO: Processing buffer {"connection_id":130242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:57:35] local.INFO: IMEI packet received {"connection_id":130242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":130242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:57:40] local.INFO: TCP Data received {"connection_id":130242,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:57:41] local.INFO: Processing buffer {"connection_id":130242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:57:41] local.INFO: IMEI packet received {"connection_id":130242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":130242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:57:41] local.INFO: TCP Data received {"connection_id":130242,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 05:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 05:57:41] local.INFO: Processing buffer {"connection_id":130242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 05:57:41] local.INFO: Packet analysis {"connection_id":130242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58de"} 
[2026-07-13 05:57:41] local.INFO: Extracted packet for processing {"connection_id":130242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58de"} 
[2026-07-13 05:57:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678935552001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783902393000,"timestamp_ms":1783902393000,"timestamp_seconds":1783902393,"priority":1,"record_length":96,"hex_timestamp":"0000019f58de52a8"} 
[2026-07-13 05:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 05:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678935552001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678935552001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:57:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:57:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678935552001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":130242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:57:41] local.INFO: GPS data processed {"connection_id":130242,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:57:41] local.INFO: Acknowledgment sent {"connection_id":130242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:58:12] local.INFO: TCP Data received {"connection_id":130242,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 05:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 05:58:12] local.INFO: Processing buffer {"connection_id":130242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 05:58:12] local.INFO: Packet analysis {"connection_id":130242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58de"} 
[2026-07-13 05:58:12] local.INFO: Extracted packet for processing {"connection_id":130242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58de"} 
[2026-07-13 05:58:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678935552001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783902393000,"timestamp_ms":1783902393000,"timestamp_seconds":1783902393,"priority":1,"record_length":96,"hex_timestamp":"0000019f58de52a8"} 
[2026-07-13 05:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 05:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678935552001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678935552001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:58:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:58:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678935552001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":130242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:58:12] local.INFO: GPS data processed {"connection_id":130242,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:58:12] local.INFO: Acknowledgment sent {"connection_id":130242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:58:40] local.INFO: TCP Data received {"connection_id":132354,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:58:40] local.INFO: Processing buffer {"connection_id":132354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:58:40] local.INFO: IMEI packet received {"connection_id":132354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":132354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:58:46] local.INFO: TCP Data received {"connection_id":132354,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:58:46] local.INFO: Processing buffer {"connection_id":132354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:58:46] local.INFO: IMEI packet received {"connection_id":132354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":132354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:58:46] local.INFO: TCP Data received {"connection_id":132354,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 05:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 05:58:46] local.INFO: Processing buffer {"connection_id":132354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 05:58:46] local.INFO: Packet analysis {"connection_id":132354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58de"} 
[2026-07-13 05:58:46] local.INFO: Extracted packet for processing {"connection_id":132354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58de"} 
[2026-07-13 05:58:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678935552001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783902393000,"timestamp_ms":1783902393000,"timestamp_seconds":1783902393,"priority":1,"record_length":96,"hex_timestamp":"0000019f58de52a8"} 
[2026-07-13 05:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 05:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678935552001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678935552001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:58:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:58:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678935552001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":132354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:58:46] local.INFO: GPS data processed {"connection_id":132354,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:58:46] local.INFO: Acknowledgment sent {"connection_id":132354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:59:17] local.INFO: TCP Data received {"connection_id":132354,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 05:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 05:59:17] local.INFO: Processing buffer {"connection_id":132354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 05:59:17] local.INFO: Packet analysis {"connection_id":132354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58de"} 
[2026-07-13 05:59:17] local.INFO: Extracted packet for processing {"connection_id":132354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58de"} 
[2026-07-13 05:59:17] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05: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-07-13 05:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678935552001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783902393000,"timestamp_ms":1783902393000,"timestamp_seconds":1783902393,"priority":1,"record_length":96,"hex_timestamp":"0000019f58de52a8"} 
[2026-07-13 05:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 05:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05: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-07-13 05:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678935552001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678935552001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:59:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:59:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678935552001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":132354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:59:17] local.INFO: GPS data processed {"connection_id":132354,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:59:17] local.INFO: Acknowledgment sent {"connection_id":132354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 05:59:35] local.INFO: TCP Data received {"connection_id":131017,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:59:35] local.INFO: Processing buffer {"connection_id":131017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:59:35] local.INFO: IMEI packet received {"connection_id":131017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 05:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":131017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 05:59:40] local.INFO: TCP Data received {"connection_id":131017,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:59:40] local.INFO: Processing buffer {"connection_id":131017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 05:59:40] local.INFO: IMEI packet received {"connection_id":131017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 05:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":131017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 05:59:41] local.INFO: TCP Data received {"connection_id":131017,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 05:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 05:59:41] local.INFO: Processing buffer {"connection_id":131017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 05:59:41] local.INFO: Packet analysis {"connection_id":131017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58de"} 
[2026-07-13 05:59:41] local.INFO: Extracted packet for processing {"connection_id":131017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58de"} 
[2026-07-13 05:59:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 05:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 05:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678935552001,"note":"Value kept but may cause issues"} 
[2026-07-13 05:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 05:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 05:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 05:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783902393000,"timestamp_ms":1783902393000,"timestamp_seconds":1783902393,"priority":1,"record_length":96,"hex_timestamp":"0000019f58de52a8"} 
[2026-07-13 05:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 05:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 05:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 05:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 05:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 05:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 05:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 05:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 05:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 05:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 05:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 05:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 05:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678935552001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 05:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 05:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 05:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678935552001,"description":"Unknown IO ID 0"} 
[2026-07-13 05:59:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 05:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 05:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 05:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 05:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678935552001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 05:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":131017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 05:59:41] local.INFO: GPS data processed {"connection_id":131017,"processed":1,"errors":0,"total":1} 
[2026-07-13 05:59:41] local.INFO: Acknowledgment sent {"connection_id":131017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:00:12] local.INFO: TCP Data received {"connection_id":131017,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 06:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 06:00:12] local.INFO: Processing buffer {"connection_id":131017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 06:00:12] local.INFO: Packet analysis {"connection_id":131017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58de"} 
[2026-07-13 06:00:12] local.INFO: Extracted packet for processing {"connection_id":131017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58de"} 
[2026-07-13 06:00:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678935552001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783902393000,"timestamp_ms":1783902393000,"timestamp_seconds":1783902393,"priority":1,"record_length":96,"hex_timestamp":"0000019f58de52a8"} 
[2026-07-13 06:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678935552001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678935552001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:00:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:00:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678935552001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":131017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:00:12] local.INFO: GPS data processed {"connection_id":131017,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:00:12] local.INFO: Acknowledgment sent {"connection_id":131017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:00:35] local.INFO: TCP Data received {"connection_id":132355,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:00:35] local.INFO: Processing buffer {"connection_id":132355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:00:35] local.INFO: IMEI packet received {"connection_id":132355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":132355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:00:40] local.INFO: TCP Data received {"connection_id":132355,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:00:40] local.INFO: Processing buffer {"connection_id":132355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:00:40] local.INFO: IMEI packet received {"connection_id":132355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":132355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:00:41] local.INFO: TCP Data received {"connection_id":132355,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 06:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 06:00:41] local.INFO: Processing buffer {"connection_id":132355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 06:00:41] local.INFO: Packet analysis {"connection_id":132355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58de"} 
[2026-07-13 06:00:41] local.INFO: Extracted packet for processing {"connection_id":132355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58de"} 
[2026-07-13 06:00:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678935552001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783902393000,"timestamp_ms":1783902393000,"timestamp_seconds":1783902393,"priority":1,"record_length":96,"hex_timestamp":"0000019f58de52a8"} 
[2026-07-13 06:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678935552001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678935552001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:00:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:00:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678935552001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":132355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:00:41] local.INFO: GPS data processed {"connection_id":132355,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:00:41] local.INFO: Acknowledgment sent {"connection_id":132355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:01:06] local.INFO: TCP Data received {"connection_id":131018,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:01:06] local.INFO: Processing buffer {"connection_id":131018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:01:06] local.INFO: IMEI packet received {"connection_id":131018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 06:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":131018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:01:13] local.INFO: TCP Data received {"connection_id":132355,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 06:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 06:01:13] local.INFO: Processing buffer {"connection_id":132355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 06:01:13] local.INFO: Packet analysis {"connection_id":132355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58de"} 
[2026-07-13 06:01:13] local.INFO: Extracted packet for processing {"connection_id":132355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58de"} 
[2026-07-13 06:01:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678935552001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783902393000,"timestamp_ms":1783902393000,"timestamp_seconds":1783902393,"priority":1,"record_length":96,"hex_timestamp":"0000019f58de52a8"} 
[2026-07-13 06:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:01:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678935552001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678935552001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:01:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:01:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678935552001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":132355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:01:13] local.INFO: GPS data processed {"connection_id":132355,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:01:13] local.INFO: Acknowledgment sent {"connection_id":132355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:01:35] local.INFO: TCP Data received {"connection_id":130243,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:01:35] local.INFO: Processing buffer {"connection_id":130243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:01:35] local.INFO: IMEI packet received {"connection_id":130243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":130243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:01:40] local.INFO: TCP Data received {"connection_id":131019,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131019,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:01:41] local.INFO: Processing buffer {"connection_id":131019,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:01:41] local.INFO: IMEI packet received {"connection_id":131019,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 06:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":131019,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:01:41] local.INFO: TCP Data received {"connection_id":130243,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:01:41] local.INFO: Processing buffer {"connection_id":130243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:01:41] local.INFO: IMEI packet received {"connection_id":130243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":130243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:01:41] local.INFO: TCP Data received {"connection_id":130243,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 06:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 06:01:41] local.INFO: Processing buffer {"connection_id":130243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 06:01:41] local.INFO: Packet analysis {"connection_id":130243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58de"} 
[2026-07-13 06:01:41] local.INFO: Extracted packet for processing {"connection_id":130243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58de"} 
[2026-07-13 06:01:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678935552001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783902393000,"timestamp_ms":1783902393000,"timestamp_seconds":1783902393,"priority":1,"record_length":96,"hex_timestamp":"0000019f58de52a8"} 
[2026-07-13 06:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678935552001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678935552001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:01:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:01:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678935552001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":130243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:01:41] local.INFO: GPS data processed {"connection_id":130243,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:01:41] local.INFO: Acknowledgment sent {"connection_id":130243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:02:13] local.INFO: TCP Data received {"connection_id":130243,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 06:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 06:02:13] local.INFO: Processing buffer {"connection_id":130243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58de52a8012d7f914005afd9380000011b29..."} 
[2026-07-13 06:02:13] local.INFO: Packet analysis {"connection_id":130243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58de"} 
[2026-07-13 06:02:13] local.INFO: Extracted packet for processing {"connection_id":130243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58de"} 
[2026-07-13 06:02:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456678935552001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783902393000,"timestamp_ms":1783902393000,"timestamp_seconds":1783902393,"priority":1,"record_length":96,"hex_timestamp":"0000019f58de52a8"} 
[2026-07-13 06:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456678935552001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456678935552001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:02:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:02:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456678935552001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":130243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:02:13] local.INFO: GPS data processed {"connection_id":130243,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:02:13] local.INFO: Acknowledgment sent {"connection_id":130243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:02:35] local.INFO: TCP Data received {"connection_id":132356,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:02:35] local.INFO: Processing buffer {"connection_id":132356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:02:35] local.INFO: IMEI packet received {"connection_id":132356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":132356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:02:41] local.INFO: TCP Data received {"connection_id":132356,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:02:41] local.INFO: Processing buffer {"connection_id":132356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:02:41] local.INFO: IMEI packet received {"connection_id":132356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":132356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:02:41] local.INFO: TCP Data received {"connection_id":132356,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f58e2ea70012d7f914005afd9380000011b28..."} 
[2026-07-13 06:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58e2ea70012d7f914005afd9380000011b28..."} 
[2026-07-13 06:02:41] local.INFO: Processing buffer {"connection_id":132356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58e2ea70012d7f914005afd9380000011b28..."} 
[2026-07-13 06:02:41] local.INFO: Packet analysis {"connection_id":132356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58e2"} 
[2026-07-13 06:02:41] local.INFO: Extracted packet for processing {"connection_id":132356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58e2"} 
[2026-07-13 06:02:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679012608001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783902694000,"timestamp_ms":1783902694000,"timestamp_seconds":1783902694,"priority":1,"record_length":96,"hex_timestamp":"0000019f58e2ea70"} 
[2026-07-13 06:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 06:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679012608001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679012608001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:02:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:02:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679012608001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":132356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:02:41] local.INFO: GPS data processed {"connection_id":132356,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:02:41] local.INFO: Acknowledgment sent {"connection_id":132356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:03:12] local.INFO: TCP Data received {"connection_id":132356,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f58e2ea70012d7f914005afd9380000011b28..."} 
[2026-07-13 06:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58e2ea70012d7f914005afd9380000011b28..."} 
[2026-07-13 06:03:12] local.INFO: Processing buffer {"connection_id":132356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58e2ea70012d7f914005afd9380000011b28..."} 
[2026-07-13 06:03:12] local.INFO: Packet analysis {"connection_id":132356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58e2"} 
[2026-07-13 06:03:12] local.INFO: Extracted packet for processing {"connection_id":132356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58e2"} 
[2026-07-13 06:03:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679012608001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783902694000,"timestamp_ms":1783902694000,"timestamp_seconds":1783902694,"priority":1,"record_length":96,"hex_timestamp":"0000019f58e2ea70"} 
[2026-07-13 06:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 06:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679012608001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679012608001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:03:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:03:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679012608001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":132356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:03:12] local.INFO: GPS data processed {"connection_id":132356,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:03:12] local.INFO: Acknowledgment sent {"connection_id":132356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:03:41] local.INFO: TCP Data received {"connection_id":130244,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:03:41] local.INFO: Processing buffer {"connection_id":130244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:03:41] local.INFO: IMEI packet received {"connection_id":130244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":130244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:03:46] local.INFO: TCP Data received {"connection_id":130244,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:03:46] local.INFO: Processing buffer {"connection_id":130244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:03:46] local.INFO: IMEI packet received {"connection_id":130244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":130244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:03:46] local.INFO: TCP Data received {"connection_id":130244,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f58e2ea70012d7f914005afd9380000011b28..."} 
[2026-07-13 06:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58e2ea70012d7f914005afd9380000011b28..."} 
[2026-07-13 06:03:46] local.INFO: Processing buffer {"connection_id":130244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58e2ea70012d7f914005afd9380000011b28..."} 
[2026-07-13 06:03:46] local.INFO: Packet analysis {"connection_id":130244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58e2"} 
[2026-07-13 06:03:46] local.INFO: Extracted packet for processing {"connection_id":130244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58e2"} 
[2026-07-13 06:03:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679012608001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783902694000,"timestamp_ms":1783902694000,"timestamp_seconds":1783902694,"priority":1,"record_length":96,"hex_timestamp":"0000019f58e2ea70"} 
[2026-07-13 06:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 06:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679012608001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679012608001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:03:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:03:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679012608001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":130244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:03:46] local.INFO: GPS data processed {"connection_id":130244,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:03:46] local.INFO: Acknowledgment sent {"connection_id":130244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:03:51] local.INFO: TCP Data received {"connection_id":130244,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f58e2ea70012d7f914005afd9380000011b28..."} 
[2026-07-13 06:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58e2ea70012d7f914005afd9380000011b28..."} 
[2026-07-13 06:03:51] local.INFO: Processing buffer {"connection_id":130244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58e2ea70012d7f914005afd9380000011b28..."} 
[2026-07-13 06:03:51] local.INFO: Packet analysis {"connection_id":130244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58e2"} 
[2026-07-13 06:03:51] local.INFO: Extracted packet for processing {"connection_id":130244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58e2"} 
[2026-07-13 06:03:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679012608001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783902694000,"timestamp_ms":1783902694000,"timestamp_seconds":1783902694,"priority":1,"record_length":96,"hex_timestamp":"0000019f58e2ea70"} 
[2026-07-13 06:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 06:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:03: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-07-13 06:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679012608001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679012608001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:03:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:03:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679012608001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":130244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:03:51] local.INFO: GPS data processed {"connection_id":130244,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:03:51] local.INFO: Acknowledgment sent {"connection_id":130244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:04:36] local.INFO: TCP Data received {"connection_id":130246,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:04:36] local.INFO: Processing buffer {"connection_id":130246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:04:36] local.INFO: IMEI packet received {"connection_id":130246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":130246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:04:41] local.INFO: TCP Data received {"connection_id":130246,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:04:41] local.INFO: Processing buffer {"connection_id":130246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:04:41] local.INFO: IMEI packet received {"connection_id":130246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":130246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:04:41] local.INFO: TCP Data received {"connection_id":130246,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f58e2ea70012d7f914005afd9380000011b28..."} 
[2026-07-13 06:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58e2ea70012d7f914005afd9380000011b28..."} 
[2026-07-13 06:04:41] local.INFO: Processing buffer {"connection_id":130246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58e2ea70012d7f914005afd9380000011b28..."} 
[2026-07-13 06:04:41] local.INFO: Packet analysis {"connection_id":130246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58e2"} 
[2026-07-13 06:04:41] local.INFO: Extracted packet for processing {"connection_id":130246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58e2"} 
[2026-07-13 06:04:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679012608001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783902694000,"timestamp_ms":1783902694000,"timestamp_seconds":1783902694,"priority":1,"record_length":96,"hex_timestamp":"0000019f58e2ea70"} 
[2026-07-13 06:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 06:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679012608001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679012608001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:04:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679012608001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":130246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:04:41] local.INFO: GPS data processed {"connection_id":130246,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:04:41] local.INFO: Acknowledgment sent {"connection_id":130246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:05:12] local.INFO: TCP Data received {"connection_id":130246,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f58e2ea70012d7f914005afd9380000011b28..."} 
[2026-07-13 06:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58e2ea70012d7f914005afd9380000011b28..."} 
[2026-07-13 06:05:12] local.INFO: Processing buffer {"connection_id":130246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58e2ea70012d7f914005afd9380000011b28..."} 
[2026-07-13 06:05:12] local.INFO: Packet analysis {"connection_id":130246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58e2"} 
[2026-07-13 06:05:12] local.INFO: Extracted packet for processing {"connection_id":130246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58e2"} 
[2026-07-13 06:05:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679012608001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783902694000,"timestamp_ms":1783902694000,"timestamp_seconds":1783902694,"priority":1,"record_length":96,"hex_timestamp":"0000019f58e2ea70"} 
[2026-07-13 06:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 06:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679012608001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679012608001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:05:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:05:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679012608001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":130246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:05:12] local.INFO: GPS data processed {"connection_id":130246,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:05:12] local.INFO: Acknowledgment sent {"connection_id":130246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:05:35] local.INFO: TCP Data received {"connection_id":130042,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:05:35] local.INFO: Processing buffer {"connection_id":130042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:05:35] local.INFO: IMEI packet received {"connection_id":130042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":130042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:05:41] local.INFO: TCP Data received {"connection_id":130042,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:05:41] local.INFO: Processing buffer {"connection_id":130042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:05:41] local.INFO: IMEI packet received {"connection_id":130042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":130042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:05:41] local.INFO: TCP Data received {"connection_id":130042,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f58e2ea70012d7f914005afd9380000011b28..."} 
[2026-07-13 06:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58e2ea70012d7f914005afd9380000011b28..."} 
[2026-07-13 06:05:41] local.INFO: Processing buffer {"connection_id":130042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58e2ea70012d7f914005afd9380000011b28..."} 
[2026-07-13 06:05:41] local.INFO: Packet analysis {"connection_id":130042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58e2"} 
[2026-07-13 06:05:41] local.INFO: Extracted packet for processing {"connection_id":130042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58e2"} 
[2026-07-13 06:05:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679012608001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783902694000,"timestamp_ms":1783902694000,"timestamp_seconds":1783902694,"priority":1,"record_length":96,"hex_timestamp":"0000019f58e2ea70"} 
[2026-07-13 06:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 06:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679012608001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679012608001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:05:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:05:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679012608001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":130042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:05:41] local.INFO: GPS data processed {"connection_id":130042,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:05:41] local.INFO: Acknowledgment sent {"connection_id":130042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:06:12] local.INFO: TCP Data received {"connection_id":130042,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f58e2ea70012d7f914005afd9380000011b28..."} 
[2026-07-13 06:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58e2ea70012d7f914005afd9380000011b28..."} 
[2026-07-13 06:06:12] local.INFO: Processing buffer {"connection_id":130042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58e2ea70012d7f914005afd9380000011b28..."} 
[2026-07-13 06:06:12] local.INFO: Packet analysis {"connection_id":130042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58e2"} 
[2026-07-13 06:06:12] local.INFO: Extracted packet for processing {"connection_id":130042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58e2"} 
[2026-07-13 06:06:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679012608001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783902694000,"timestamp_ms":1783902694000,"timestamp_seconds":1783902694,"priority":1,"record_length":96,"hex_timestamp":"0000019f58e2ea70"} 
[2026-07-13 06:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 06:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679012608001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679012608001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:06:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:06:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679012608001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":130042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:06:12] local.INFO: GPS data processed {"connection_id":130042,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:06:12] local.INFO: Acknowledgment sent {"connection_id":130042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:06:35] local.INFO: TCP Data received {"connection_id":132357,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:06:35] local.INFO: Processing buffer {"connection_id":132357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:06:35] local.INFO: IMEI packet received {"connection_id":132357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":132357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:06:40] local.INFO: TCP Data received {"connection_id":132357,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:06:41] local.INFO: Processing buffer {"connection_id":132357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:06:41] local.INFO: IMEI packet received {"connection_id":132357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":132357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:06:41] local.INFO: TCP Data received {"connection_id":132357,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f58e2ea70012d7f914005afd9380000011b28..."} 
[2026-07-13 06:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58e2ea70012d7f914005afd9380000011b28..."} 
[2026-07-13 06:06:41] local.INFO: Processing buffer {"connection_id":132357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58e2ea70012d7f914005afd9380000011b28..."} 
[2026-07-13 06:06:41] local.INFO: Packet analysis {"connection_id":132357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58e2"} 
[2026-07-13 06:06:41] local.INFO: Extracted packet for processing {"connection_id":132357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58e2"} 
[2026-07-13 06:06:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679012608001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783902694000,"timestamp_ms":1783902694000,"timestamp_seconds":1783902694,"priority":1,"record_length":96,"hex_timestamp":"0000019f58e2ea70"} 
[2026-07-13 06:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 06:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679012608001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679012608001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:06:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:06:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679012608001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":132357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:06:41] local.INFO: GPS data processed {"connection_id":132357,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:06:41] local.INFO: Acknowledgment sent {"connection_id":132357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:06:56] local.INFO: TCP Data received {"connection_id":130248,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130248,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:06:56] local.INFO: Processing buffer {"connection_id":130248,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:06:56] local.INFO: IMEI packet received {"connection_id":130248,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 06:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":130248,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:07:13] local.INFO: TCP Data received {"connection_id":132357,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f58e2ea70012d7f914005afd9380000011b28..."} 
[2026-07-13 06:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58e2ea70012d7f914005afd9380000011b28..."} 
[2026-07-13 06:07:13] local.INFO: Processing buffer {"connection_id":132357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58e2ea70012d7f914005afd9380000011b28..."} 
[2026-07-13 06:07:13] local.INFO: Packet analysis {"connection_id":132357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58e2"} 
[2026-07-13 06:07:13] local.INFO: Extracted packet for processing {"connection_id":132357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58e2"} 
[2026-07-13 06:07:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679012608001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783902694000,"timestamp_ms":1783902694000,"timestamp_seconds":1783902694,"priority":1,"record_length":96,"hex_timestamp":"0000019f58e2ea70"} 
[2026-07-13 06:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 06:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679012608001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679012608001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:07:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:07:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679012608001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":132357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:07:13] local.INFO: GPS data processed {"connection_id":132357,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:07:13] local.INFO: Acknowledgment sent {"connection_id":132357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:07:40] local.INFO: TCP Data received {"connection_id":130249,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:07:40] local.INFO: Processing buffer {"connection_id":130249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:07:40] local.INFO: IMEI packet received {"connection_id":130249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":130249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:07:45] local.INFO: TCP Data received {"connection_id":130249,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:07:45] local.INFO: Processing buffer {"connection_id":130249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:07:45] local.INFO: IMEI packet received {"connection_id":130249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":130249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:07:46] local.INFO: TCP Data received {"connection_id":132358,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:07:46] local.INFO: Processing buffer {"connection_id":132358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:07:46] local.INFO: IMEI packet received {"connection_id":132358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 06:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":132358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:07:46] local.INFO: TCP Data received {"connection_id":130249,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f58e78238012d7f914005afd9380000011b27..."} 
[2026-07-13 06:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58e78238012d7f914005afd9380000011b27..."} 
[2026-07-13 06:07:46] local.INFO: Processing buffer {"connection_id":130249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58e78238012d7f914005afd9380000011b27..."} 
[2026-07-13 06:07:46] local.INFO: Packet analysis {"connection_id":130249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58e7"} 
[2026-07-13 06:07:46] local.INFO: Extracted packet for processing {"connection_id":130249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58e7"} 
[2026-07-13 06:07:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679089664001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783902995000,"timestamp_ms":1783902995000,"timestamp_seconds":1783902995,"priority":1,"record_length":96,"hex_timestamp":"0000019f58e78238"} 
[2026-07-13 06:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679089664001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679089664001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:07:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:07:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679089664001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":130249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:07:46] local.INFO: GPS data processed {"connection_id":130249,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:07:46] local.INFO: Acknowledgment sent {"connection_id":130249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:07:51] local.INFO: TCP Data received {"connection_id":130249,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f58e78238012d7f914005afd9380000011b27..."} 
[2026-07-13 06:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58e78238012d7f914005afd9380000011b27..."} 
[2026-07-13 06:07:51] local.INFO: Processing buffer {"connection_id":130249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58e78238012d7f914005afd9380000011b27..."} 
[2026-07-13 06:07:51] local.INFO: Packet analysis {"connection_id":130249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58e7"} 
[2026-07-13 06:07:51] local.INFO: Extracted packet for processing {"connection_id":130249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58e7"} 
[2026-07-13 06:07:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 06:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679089664001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783902995000,"timestamp_ms":1783902995000,"timestamp_seconds":1783902995,"priority":1,"record_length":96,"hex_timestamp":"0000019f58e78238"} 
[2026-07-13 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-07-13 06:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 06:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679089664001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679089664001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:07:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:07:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679089664001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":130249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:07:51] local.INFO: GPS data processed {"connection_id":130249,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:07:51] local.INFO: Acknowledgment sent {"connection_id":130249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:08:35] local.INFO: TCP Data received {"connection_id":132359,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:08:36] local.INFO: Processing buffer {"connection_id":132359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:08:36] local.INFO: IMEI packet received {"connection_id":132359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":132359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:08:40] local.INFO: TCP Data received {"connection_id":132359,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:08:40] local.INFO: Processing buffer {"connection_id":132359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:08:40] local.INFO: IMEI packet received {"connection_id":132359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":132359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:08:41] local.INFO: TCP Data received {"connection_id":132359,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f58e78238012d7f914005afd9380000011b27..."} 
[2026-07-13 06:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58e78238012d7f914005afd9380000011b27..."} 
[2026-07-13 06:08:41] local.INFO: Processing buffer {"connection_id":132359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58e78238012d7f914005afd9380000011b27..."} 
[2026-07-13 06:08:41] local.INFO: Packet analysis {"connection_id":132359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58e7"} 
[2026-07-13 06:08:41] local.INFO: Extracted packet for processing {"connection_id":132359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58e7"} 
[2026-07-13 06:08:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679089664001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783902995000,"timestamp_ms":1783902995000,"timestamp_seconds":1783902995,"priority":1,"record_length":96,"hex_timestamp":"0000019f58e78238"} 
[2026-07-13 06:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679089664001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679089664001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:08:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679089664001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":132359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:08:41] local.INFO: GPS data processed {"connection_id":132359,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:08:41] local.INFO: Acknowledgment sent {"connection_id":132359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:09:13] local.INFO: TCP Data received {"connection_id":132359,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f58e78238012d7f914005afd9380000011b27..."} 
[2026-07-13 06:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58e78238012d7f914005afd9380000011b27..."} 
[2026-07-13 06:09:13] local.INFO: Processing buffer {"connection_id":132359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58e78238012d7f914005afd9380000011b27..."} 
[2026-07-13 06:09:13] local.INFO: Packet analysis {"connection_id":132359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58e7"} 
[2026-07-13 06:09:13] local.INFO: Extracted packet for processing {"connection_id":132359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58e7"} 
[2026-07-13 06:09:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679089664001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783902995000,"timestamp_ms":1783902995000,"timestamp_seconds":1783902995,"priority":1,"record_length":96,"hex_timestamp":"0000019f58e78238"} 
[2026-07-13 06:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679089664001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679089664001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:09:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:09:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679089664001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":132359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:09:13] local.INFO: GPS data processed {"connection_id":132359,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:09:13] local.INFO: Acknowledgment sent {"connection_id":132359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:09:35] local.INFO: TCP Data received {"connection_id":130044,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:09:35] local.INFO: Processing buffer {"connection_id":130044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:09:35] local.INFO: IMEI packet received {"connection_id":130044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":130044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:09:40] local.INFO: TCP Data received {"connection_id":130044,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:09:41] local.INFO: Processing buffer {"connection_id":130044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:09:41] local.INFO: IMEI packet received {"connection_id":130044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":130044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:09:41] local.INFO: TCP Data received {"connection_id":130044,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f58e78238012d7f914005afd9380000011b27..."} 
[2026-07-13 06:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58e78238012d7f914005afd9380000011b27..."} 
[2026-07-13 06:09:41] local.INFO: Processing buffer {"connection_id":130044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58e78238012d7f914005afd9380000011b27..."} 
[2026-07-13 06:09:41] local.INFO: Packet analysis {"connection_id":130044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58e7"} 
[2026-07-13 06:09:41] local.INFO: Extracted packet for processing {"connection_id":130044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58e7"} 
[2026-07-13 06:09:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679089664001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783902995000,"timestamp_ms":1783902995000,"timestamp_seconds":1783902995,"priority":1,"record_length":96,"hex_timestamp":"0000019f58e78238"} 
[2026-07-13 06:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679089664001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679089664001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:09:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679089664001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":130044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:09:41] local.INFO: GPS data processed {"connection_id":130044,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:09:41] local.INFO: Acknowledgment sent {"connection_id":130044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:10:12] local.INFO: TCP Data received {"connection_id":130044,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f58e78238012d7f914005afd9380000011b27..."} 
[2026-07-13 06:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58e78238012d7f914005afd9380000011b27..."} 
[2026-07-13 06:10:12] local.INFO: Processing buffer {"connection_id":130044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58e78238012d7f914005afd9380000011b27..."} 
[2026-07-13 06:10:12] local.INFO: Packet analysis {"connection_id":130044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58e7"} 
[2026-07-13 06:10:12] local.INFO: Extracted packet for processing {"connection_id":130044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58e7"} 
[2026-07-13 06:10:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679089664001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783902995000,"timestamp_ms":1783902995000,"timestamp_seconds":1783902995,"priority":1,"record_length":96,"hex_timestamp":"0000019f58e78238"} 
[2026-07-13 06:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679089664001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679089664001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:10:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:10:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679089664001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":130044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:10:12] local.INFO: GPS data processed {"connection_id":130044,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:10:12] local.INFO: Acknowledgment sent {"connection_id":130044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:10:35] local.INFO: TCP Data received {"connection_id":130251,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:10:35] local.INFO: Processing buffer {"connection_id":130251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:10:35] local.INFO: IMEI packet received {"connection_id":130251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":130251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:10:41] local.INFO: TCP Data received {"connection_id":130251,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:10:41] local.INFO: Processing buffer {"connection_id":130251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:10:41] local.INFO: IMEI packet received {"connection_id":130251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":130251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:10:42] local.INFO: TCP Data received {"connection_id":130251,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58e78238012d7f914005afd9380000011b27..."} 
[2026-07-13 06:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58e78238012d7f914005afd9380000011b27..."} 
[2026-07-13 06:10:42] local.INFO: Processing buffer {"connection_id":130251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58e78238012d7f914005afd9380000011b27..."} 
[2026-07-13 06:10:42] local.INFO: Packet analysis {"connection_id":130251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58e7"} 
[2026-07-13 06:10:42] local.INFO: Extracted packet for processing {"connection_id":130251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58e7"} 
[2026-07-13 06:10:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679089664001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783902995000,"timestamp_ms":1783902995000,"timestamp_seconds":1783902995,"priority":1,"record_length":96,"hex_timestamp":"0000019f58e78238"} 
[2026-07-13 06:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679089664001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679089664001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:10:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:10:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679089664001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":130251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:10:42] local.INFO: GPS data processed {"connection_id":130251,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:10:42] local.INFO: Acknowledgment sent {"connection_id":130251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:11:13] local.INFO: TCP Data received {"connection_id":130251,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f58e78238012d7f914005afd9380000011b27..."} 
[2026-07-13 06:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58e78238012d7f914005afd9380000011b27..."} 
[2026-07-13 06:11:13] local.INFO: Processing buffer {"connection_id":130251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58e78238012d7f914005afd9380000011b27..."} 
[2026-07-13 06:11:13] local.INFO: Packet analysis {"connection_id":130251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58e7"} 
[2026-07-13 06:11:13] local.INFO: Extracted packet for processing {"connection_id":130251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58e7"} 
[2026-07-13 06:11:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679089664001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783902995000,"timestamp_ms":1783902995000,"timestamp_seconds":1783902995,"priority":1,"record_length":96,"hex_timestamp":"0000019f58e78238"} 
[2026-07-13 06:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679089664001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679089664001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:11:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:11:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679089664001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":130251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:11:13] local.INFO: GPS data processed {"connection_id":130251,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:11:13] local.INFO: Acknowledgment sent {"connection_id":130251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:11:35] local.INFO: TCP Data received {"connection_id":132362,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:11:35] local.INFO: Processing buffer {"connection_id":132362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:11:35] local.INFO: IMEI packet received {"connection_id":132362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":132362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:11:40] local.INFO: TCP Data received {"connection_id":132362,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:11:41] local.INFO: Processing buffer {"connection_id":132362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:11:41] local.INFO: IMEI packet received {"connection_id":132362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":132362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:11:41] local.INFO: TCP Data received {"connection_id":132362,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f58e78238012d7f914005afd9380000011b27..."} 
[2026-07-13 06:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58e78238012d7f914005afd9380000011b27..."} 
[2026-07-13 06:11:41] local.INFO: Processing buffer {"connection_id":132362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58e78238012d7f914005afd9380000011b27..."} 
[2026-07-13 06:11:41] local.INFO: Packet analysis {"connection_id":132362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58e7"} 
[2026-07-13 06:11:41] local.INFO: Extracted packet for processing {"connection_id":132362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58e7"} 
[2026-07-13 06:11:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679089664001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783902995000,"timestamp_ms":1783902995000,"timestamp_seconds":1783902995,"priority":1,"record_length":96,"hex_timestamp":"0000019f58e78238"} 
[2026-07-13 06:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679089664001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679089664001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:11:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:11:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679089664001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":132362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:11:41] local.INFO: GPS data processed {"connection_id":132362,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:11:41] local.INFO: Acknowledgment sent {"connection_id":132362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:12:13] local.INFO: TCP Data received {"connection_id":132362,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f58e78238012d7f914005afd9380000011b27..."} 
[2026-07-13 06:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58e78238012d7f914005afd9380000011b27..."} 
[2026-07-13 06:12:13] local.INFO: Processing buffer {"connection_id":132362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58e78238012d7f914005afd9380000011b27..."} 
[2026-07-13 06:12:13] local.INFO: Packet analysis {"connection_id":132362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58e7"} 
[2026-07-13 06:12:13] local.INFO: Extracted packet for processing {"connection_id":132362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58e7"} 
[2026-07-13 06:12:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679089664001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783902995000,"timestamp_ms":1783902995000,"timestamp_seconds":1783902995,"priority":1,"record_length":96,"hex_timestamp":"0000019f58e78238"} 
[2026-07-13 06:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679089664001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679089664001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:12:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:12:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679089664001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":132362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:12:13] local.INFO: GPS data processed {"connection_id":132362,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:12:13] local.INFO: Acknowledgment sent {"connection_id":132362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:12:42] local.INFO: TCP Data received {"connection_id":130045,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:12:42] local.INFO: Processing buffer {"connection_id":130045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:12:42] local.INFO: IMEI packet received {"connection_id":130045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":130045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:12:45] local.INFO: TCP Data received {"connection_id":130045,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:12:45] local.INFO: Processing buffer {"connection_id":130045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:12:45] local.INFO: IMEI packet received {"connection_id":130045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":130045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:12:46] local.INFO: TCP Data received {"connection_id":130045,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f58ec1a00012d7f914005afd9380000011b28..."} 
[2026-07-13 06:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58ec1a00012d7f914005afd9380000011b28..."} 
[2026-07-13 06:12:46] local.INFO: Processing buffer {"connection_id":130045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58ec1a00012d7f914005afd9380000011b28..."} 
[2026-07-13 06:12:46] local.INFO: Packet analysis {"connection_id":130045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58ec"} 
[2026-07-13 06:12:46] local.INFO: Extracted packet for processing {"connection_id":130045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58ec"} 
[2026-07-13 06:12:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679166720001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783903296000,"timestamp_ms":1783903296000,"timestamp_seconds":1783903296,"priority":1,"record_length":96,"hex_timestamp":"0000019f58ec1a00"} 
[2026-07-13 06:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679166720001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679166720001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:12:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:12:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679166720001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":130045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:12:46] local.INFO: GPS data processed {"connection_id":130045,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:12:46] local.INFO: Acknowledgment sent {"connection_id":130045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:12:51] local.INFO: TCP Data received {"connection_id":130045,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f58ec1a00012d7f914005afd9380000011b28..."} 
[2026-07-13 06:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58ec1a00012d7f914005afd9380000011b28..."} 
[2026-07-13 06:12:51] local.INFO: Processing buffer {"connection_id":130045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58ec1a00012d7f914005afd9380000011b28..."} 
[2026-07-13 06:12:51] local.INFO: Packet analysis {"connection_id":130045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58ec"} 
[2026-07-13 06:12:51] local.INFO: Extracted packet for processing {"connection_id":130045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58ec"} 
[2026-07-13 06:12:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679166720001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783903296000,"timestamp_ms":1783903296000,"timestamp_seconds":1783903296,"priority":1,"record_length":96,"hex_timestamp":"0000019f58ec1a00"} 
[2026-07-13 06:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:12: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-07-13 06:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:12: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-07-13 06:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679166720001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679166720001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:12:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:12:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679166720001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":130045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:12:51] local.INFO: GPS data processed {"connection_id":130045,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:12:51] local.INFO: Acknowledgment sent {"connection_id":130045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:12:56] local.INFO: TCP Data received {"connection_id":131022,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131022,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:12:56] local.INFO: Processing buffer {"connection_id":131022,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:12:56] local.INFO: IMEI packet received {"connection_id":131022,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 06:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":131022,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:13:35] local.INFO: TCP Data received {"connection_id":132363,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:13:35] local.INFO: Processing buffer {"connection_id":132363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:13:35] local.INFO: IMEI packet received {"connection_id":132363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":132363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:13:40] local.INFO: TCP Data received {"connection_id":132363,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:13:40] local.INFO: Processing buffer {"connection_id":132363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:13:40] local.INFO: IMEI packet received {"connection_id":132363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":132363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:13:41] local.INFO: TCP Data received {"connection_id":130046,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130046,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:13:41] local.INFO: Processing buffer {"connection_id":130046,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:13:41] local.INFO: IMEI packet received {"connection_id":130046,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 06:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":130046,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:13:41] local.INFO: TCP Data received {"connection_id":132363,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f58ec1a00012d7f914005afd9380000011b28..."} 
[2026-07-13 06:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58ec1a00012d7f914005afd9380000011b28..."} 
[2026-07-13 06:13:41] local.INFO: Processing buffer {"connection_id":132363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58ec1a00012d7f914005afd9380000011b28..."} 
[2026-07-13 06:13:41] local.INFO: Packet analysis {"connection_id":132363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58ec"} 
[2026-07-13 06:13:41] local.INFO: Extracted packet for processing {"connection_id":132363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58ec"} 
[2026-07-13 06:13:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679166720001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783903296000,"timestamp_ms":1783903296000,"timestamp_seconds":1783903296,"priority":1,"record_length":96,"hex_timestamp":"0000019f58ec1a00"} 
[2026-07-13 06:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679166720001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679166720001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:13:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:13:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679166720001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":132363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:13:41] local.INFO: GPS data processed {"connection_id":132363,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:13:41] local.INFO: Acknowledgment sent {"connection_id":132363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:14:12] local.INFO: TCP Data received {"connection_id":131024,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:14:12] local.INFO: Processing buffer {"connection_id":131024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:14:12] local.INFO: IMEI packet received {"connection_id":131024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 06:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":131024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:14:12] local.INFO: TCP Data received {"connection_id":132363,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f58ec1a00012d7f914005afd9380000011b28..."} 
[2026-07-13 06:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58ec1a00012d7f914005afd9380000011b28..."} 
[2026-07-13 06:14:12] local.INFO: Processing buffer {"connection_id":132363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58ec1a00012d7f914005afd9380000011b28..."} 
[2026-07-13 06:14:12] local.INFO: Packet analysis {"connection_id":132363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58ec"} 
[2026-07-13 06:14:12] local.INFO: Extracted packet for processing {"connection_id":132363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58ec"} 
[2026-07-13 06:14:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679166720001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783903296000,"timestamp_ms":1783903296000,"timestamp_seconds":1783903296,"priority":1,"record_length":96,"hex_timestamp":"0000019f58ec1a00"} 
[2026-07-13 06:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679166720001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679166720001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:14:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:14:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679166720001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":132363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:14:12] local.INFO: GPS data processed {"connection_id":132363,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:14:12] local.INFO: Acknowledgment sent {"connection_id":132363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:14:13] local.INFO: TCP Data received {"connection_id":131024,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:14:13] local.INFO: Processing buffer {"connection_id":131024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:14:13] local.INFO: IMEI packet received {"connection_id":131024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 06:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":131024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:14:13] local.INFO: TCP Data received {"connection_id":131024,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:14:13] local.INFO: Processing buffer {"connection_id":131024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:14:13] local.INFO: IMEI packet received {"connection_id":131024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 06:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":131024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:14:14] local.INFO: TCP Data received {"connection_id":131024,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:14:14] local.INFO: Processing buffer {"connection_id":131024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:14:14] local.INFO: IMEI packet received {"connection_id":131024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 06:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":131024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:14:36] local.INFO: TCP Data received {"connection_id":130252,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:14:36] local.INFO: Processing buffer {"connection_id":130252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:14:36] local.INFO: IMEI packet received {"connection_id":130252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":130252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:14:40] local.INFO: TCP Data received {"connection_id":130252,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:14:40] local.INFO: Processing buffer {"connection_id":130252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:14:40] local.INFO: IMEI packet received {"connection_id":130252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":130252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:14:41] local.INFO: TCP Data received {"connection_id":130252,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f58ec1a00012d7f914005afd9380000011b28..."} 
[2026-07-13 06:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58ec1a00012d7f914005afd9380000011b28..."} 
[2026-07-13 06:14:41] local.INFO: Processing buffer {"connection_id":130252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58ec1a00012d7f914005afd9380000011b28..."} 
[2026-07-13 06:14:41] local.INFO: Packet analysis {"connection_id":130252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58ec"} 
[2026-07-13 06:14:41] local.INFO: Extracted packet for processing {"connection_id":130252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58ec"} 
[2026-07-13 06:14:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679166720001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783903296000,"timestamp_ms":1783903296000,"timestamp_seconds":1783903296,"priority":1,"record_length":96,"hex_timestamp":"0000019f58ec1a00"} 
[2026-07-13 06:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679166720001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679166720001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:14:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:14:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679166720001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":130252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:14:41] local.INFO: GPS data processed {"connection_id":130252,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:14:41] local.INFO: Acknowledgment sent {"connection_id":130252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:15:12] local.INFO: TCP Data received {"connection_id":130252,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f58ec1a00012d7f914005afd9380000011b28..."} 
[2026-07-13 06:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58ec1a00012d7f914005afd9380000011b28..."} 
[2026-07-13 06:15:12] local.INFO: Processing buffer {"connection_id":130252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58ec1a00012d7f914005afd9380000011b28..."} 
[2026-07-13 06:15:12] local.INFO: Packet analysis {"connection_id":130252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58ec"} 
[2026-07-13 06:15:12] local.INFO: Extracted packet for processing {"connection_id":130252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58ec"} 
[2026-07-13 06:15:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679166720001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783903296000,"timestamp_ms":1783903296000,"timestamp_seconds":1783903296,"priority":1,"record_length":96,"hex_timestamp":"0000019f58ec1a00"} 
[2026-07-13 06:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679166720001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679166720001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:15:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:15:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679166720001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":130252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:15:12] local.INFO: GPS data processed {"connection_id":130252,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:15:12] local.INFO: Acknowledgment sent {"connection_id":130252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:15:35] local.INFO: TCP Data received {"connection_id":130047,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:15:35] local.INFO: Processing buffer {"connection_id":130047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:15:35] local.INFO: IMEI packet received {"connection_id":130047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":130047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:15:40] local.INFO: TCP Data received {"connection_id":130047,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:15:40] local.INFO: Processing buffer {"connection_id":130047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:15:40] local.INFO: IMEI packet received {"connection_id":130047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":130047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:15:41] local.INFO: TCP Data received {"connection_id":130047,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f58ec1a00012d7f914005afd9380000011b28..."} 
[2026-07-13 06:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58ec1a00012d7f914005afd9380000011b28..."} 
[2026-07-13 06:15:41] local.INFO: Processing buffer {"connection_id":130047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58ec1a00012d7f914005afd9380000011b28..."} 
[2026-07-13 06:15:41] local.INFO: Packet analysis {"connection_id":130047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58ec"} 
[2026-07-13 06:15:41] local.INFO: Extracted packet for processing {"connection_id":130047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58ec"} 
[2026-07-13 06:15:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679166720001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783903296000,"timestamp_ms":1783903296000,"timestamp_seconds":1783903296,"priority":1,"record_length":96,"hex_timestamp":"0000019f58ec1a00"} 
[2026-07-13 06:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679166720001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679166720001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:15:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:15:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679166720001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":130047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:15:41] local.INFO: GPS data processed {"connection_id":130047,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:15:41] local.INFO: Acknowledgment sent {"connection_id":130047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:16:12] local.INFO: TCP Data received {"connection_id":130047,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f58ec1a00012d7f914005afd9380000011b28..."} 
[2026-07-13 06:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58ec1a00012d7f914005afd9380000011b28..."} 
[2026-07-13 06:16:12] local.INFO: Processing buffer {"connection_id":130047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58ec1a00012d7f914005afd9380000011b28..."} 
[2026-07-13 06:16:12] local.INFO: Packet analysis {"connection_id":130047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58ec"} 
[2026-07-13 06:16:12] local.INFO: Extracted packet for processing {"connection_id":130047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58ec"} 
[2026-07-13 06:16:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679166720001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783903296000,"timestamp_ms":1783903296000,"timestamp_seconds":1783903296,"priority":1,"record_length":96,"hex_timestamp":"0000019f58ec1a00"} 
[2026-07-13 06:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679166720001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679166720001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:16:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:16:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679166720001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":130047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:16:12] local.INFO: GPS data processed {"connection_id":130047,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:16:12] local.INFO: Acknowledgment sent {"connection_id":130047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:16:35] local.INFO: TCP Data received {"connection_id":130048,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:16:35] local.INFO: Processing buffer {"connection_id":130048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:16:35] local.INFO: IMEI packet received {"connection_id":130048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":130048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:16:40] local.INFO: TCP Data received {"connection_id":130048,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:16:40] local.INFO: Processing buffer {"connection_id":130048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:16:40] local.INFO: IMEI packet received {"connection_id":130048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":130048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:16:41] local.INFO: TCP Data received {"connection_id":130048,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f58ec1a00012d7f914005afd9380000011b28..."} 
[2026-07-13 06:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58ec1a00012d7f914005afd9380000011b28..."} 
[2026-07-13 06:16:41] local.INFO: Processing buffer {"connection_id":130048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58ec1a00012d7f914005afd9380000011b28..."} 
[2026-07-13 06:16:41] local.INFO: Packet analysis {"connection_id":130048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58ec"} 
[2026-07-13 06:16:41] local.INFO: Extracted packet for processing {"connection_id":130048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58ec"} 
[2026-07-13 06:16:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679166720001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783903296000,"timestamp_ms":1783903296000,"timestamp_seconds":1783903296,"priority":1,"record_length":96,"hex_timestamp":"0000019f58ec1a00"} 
[2026-07-13 06:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679166720001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679166720001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:16:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:16:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679166720001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":130048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:16:41] local.INFO: GPS data processed {"connection_id":130048,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:16:41] local.INFO: Acknowledgment sent {"connection_id":130048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:17:12] local.INFO: TCP Data received {"connection_id":130048,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f58ec1a00012d7f914005afd9380000011b28..."} 
[2026-07-13 06:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58ec1a00012d7f914005afd9380000011b28..."} 
[2026-07-13 06:17:12] local.INFO: Processing buffer {"connection_id":130048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58ec1a00012d7f914005afd9380000011b28..."} 
[2026-07-13 06:17:12] local.INFO: Packet analysis {"connection_id":130048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58ec"} 
[2026-07-13 06:17:12] local.INFO: Extracted packet for processing {"connection_id":130048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58ec"} 
[2026-07-13 06:17:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679166720001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783903296000,"timestamp_ms":1783903296000,"timestamp_seconds":1783903296,"priority":1,"record_length":96,"hex_timestamp":"0000019f58ec1a00"} 
[2026-07-13 06:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679166720001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679166720001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:17:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:17:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679166720001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":130048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:17:12] local.INFO: GPS data processed {"connection_id":130048,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:17:12] local.INFO: Acknowledgment sent {"connection_id":130048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:17:40] local.INFO: TCP Data received {"connection_id":132364,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:17:40] local.INFO: Processing buffer {"connection_id":132364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:17:40] local.INFO: IMEI packet received {"connection_id":132364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":132364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:17:46] local.INFO: TCP Data received {"connection_id":132364,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:17:46] local.INFO: Processing buffer {"connection_id":132364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:17:46] local.INFO: IMEI packet received {"connection_id":132364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":132364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:17:46] local.INFO: TCP Data received {"connection_id":132364,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f0b1c8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f0b1c8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:17:46] local.INFO: Processing buffer {"connection_id":132364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f0b1c8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:17:46] local.INFO: Packet analysis {"connection_id":132364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f0"} 
[2026-07-13 06:17:46] local.INFO: Extracted packet for processing {"connection_id":132364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f0"} 
[2026-07-13 06:17:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679243776001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783903597000,"timestamp_ms":1783903597000,"timestamp_seconds":1783903597,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f0b1c8"} 
[2026-07-13 06:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 06:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679243776001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679243776001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:17:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:17:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679243776001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":132364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:17:46] local.INFO: GPS data processed {"connection_id":132364,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:17:46] local.INFO: Acknowledgment sent {"connection_id":132364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:17:51] local.INFO: TCP Data received {"connection_id":132364,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f0b1c8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f0b1c8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:17:51] local.INFO: Processing buffer {"connection_id":132364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f0b1c8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:17:51] local.INFO: Packet analysis {"connection_id":132364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f0"} 
[2026-07-13 06:17:51] local.INFO: Extracted packet for processing {"connection_id":132364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f0"} 
[2026-07-13 06:17:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679243776001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783903597000,"timestamp_ms":1783903597000,"timestamp_seconds":1783903597,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f0b1c8"} 
[2026-07-13 06:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 06:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:17: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-07-13 06:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679243776001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679243776001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:17:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:17:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679243776001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":132364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:17:51] local.INFO: GPS data processed {"connection_id":132364,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:17:51] local.INFO: Acknowledgment sent {"connection_id":132364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:18:35] local.INFO: TCP Data received {"connection_id":130049,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:18:35] local.INFO: Processing buffer {"connection_id":130049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:18:35] local.INFO: IMEI packet received {"connection_id":130049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":130049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:18:40] local.INFO: TCP Data received {"connection_id":130049,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:18:40] local.INFO: Processing buffer {"connection_id":130049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:18:40] local.INFO: IMEI packet received {"connection_id":130049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":130049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:18:41] local.INFO: TCP Data received {"connection_id":130049,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f0b1c8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f0b1c8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:18:41] local.INFO: Processing buffer {"connection_id":130049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f0b1c8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:18:41] local.INFO: Packet analysis {"connection_id":130049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f0"} 
[2026-07-13 06:18:41] local.INFO: Extracted packet for processing {"connection_id":130049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f0"} 
[2026-07-13 06:18:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679243776001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783903597000,"timestamp_ms":1783903597000,"timestamp_seconds":1783903597,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f0b1c8"} 
[2026-07-13 06:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 06:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679243776001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679243776001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:18:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:18:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679243776001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":130049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:18:41] local.INFO: GPS data processed {"connection_id":130049,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:18:41] local.INFO: Acknowledgment sent {"connection_id":130049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:19:01] local.INFO: TCP Data received {"connection_id":130050,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130050,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:19:01] local.INFO: Processing buffer {"connection_id":130050,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:19:01] local.INFO: IMEI packet received {"connection_id":130050,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 06:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":130050,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:19:12] local.INFO: TCP Data received {"connection_id":130049,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f0b1c8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f0b1c8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:19:12] local.INFO: Processing buffer {"connection_id":130049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f0b1c8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:19:12] local.INFO: Packet analysis {"connection_id":130049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f0"} 
[2026-07-13 06:19:12] local.INFO: Extracted packet for processing {"connection_id":130049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f0"} 
[2026-07-13 06:19:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679243776001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783903597000,"timestamp_ms":1783903597000,"timestamp_seconds":1783903597,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f0b1c8"} 
[2026-07-13 06:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 06:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679243776001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679243776001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:19:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:19:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679243776001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":130049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:19:12] local.INFO: GPS data processed {"connection_id":130049,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:19:12] local.INFO: Acknowledgment sent {"connection_id":130049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:19:17] local.INFO: TCP Data received {"connection_id":131027,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131027,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:19:17] local.INFO: Processing buffer {"connection_id":131027,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:19:17] local.INFO: IMEI packet received {"connection_id":131027,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 06:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":131027,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:19:20] local.INFO: TCP Data received {"connection_id":131027,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f28688012d7efe4005d331e80006005513..."} 
[2026-07-13 06:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f28688012d7efe4005d331e80006005513..."} 
[2026-07-13 06:19:20] local.INFO: Processing buffer {"connection_id":131027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f28688012d7efe4005d331e80006005513..."} 
[2026-07-13 06:19:20] local.INFO: Packet analysis {"connection_id":131027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f2"} 
[2026-07-13 06:19:20] local.INFO: Extracted packet for processing {"connection_id":131027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f2"} 
[2026-07-13 06:19:20] local.INFO: GPS Element Parsed {"raw_longitude":763297344,"raw_latitude":97726952,"longitude_deg":76.3297344,"latitude_deg":9.7726952,"altitude":6,"angle":85,"satellites":19,"speed":8,"hex_longitude":"2d7efe40","hex_latitude":"05d331e8","is_valid_coordinates":true} 
[2026-07-13 06: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-07-13 06:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679346432001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105500133549932544,"note":"Value kept but may cause issues"} 
[2026-07-13 06:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143644274719332352,"note":"Value kept but may cause issues"} 
[2026-07-13 06:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783903717000,"timestamp_ms":1783903717000,"timestamp_seconds":1783903717,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f28688"} 
[2026-07-13 06:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 06: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-13 06:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06: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-07-13 06:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":131027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":131027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":131027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 06:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 06:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679346432001,"66":12939,"109":206,"85":15104,"24":8,"16":105500133549932544,"45":9143644274719332352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-13 06:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 06:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 06:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679346432001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:19:20] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-13 06:19:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 06:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105500133549932544,"km_value":105500133549932.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143644274719332352,"description":"Unknown IO ID 45"} 
[2026-07-13 06:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679346432001,"power":12939,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9143644274719332352}} 
[2026-07-13 06:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":131027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478596,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:19:20] local.INFO: GPS data processed {"connection_id":131027,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:19:20] local.INFO: Acknowledgment sent {"connection_id":131027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:19:35] local.INFO: TCP Data received {"connection_id":132366,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:19:35] local.INFO: Processing buffer {"connection_id":132366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:19:35] local.INFO: IMEI packet received {"connection_id":132366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":132366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:19:40] local.INFO: TCP Data received {"connection_id":131028,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131028,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:19:40] local.INFO: Processing buffer {"connection_id":131028,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:19:40] local.INFO: IMEI packet received {"connection_id":131028,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 06:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":131028,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:19:40] local.INFO: TCP Data received {"connection_id":132366,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:19:40] local.INFO: Processing buffer {"connection_id":132366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:19:40] local.INFO: IMEI packet received {"connection_id":132366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":132366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:19:41] local.INFO: TCP Data received {"connection_id":132366,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f0b1c8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f0b1c8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:19:41] local.INFO: Processing buffer {"connection_id":132366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f0b1c8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:19:41] local.INFO: Packet analysis {"connection_id":132366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f0"} 
[2026-07-13 06:19:41] local.INFO: Extracted packet for processing {"connection_id":132366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f0"} 
[2026-07-13 06:19:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06: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-07-13 06:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679243776001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783903597000,"timestamp_ms":1783903597000,"timestamp_seconds":1783903597,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f0b1c8"} 
[2026-07-13 06:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 06:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06: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-07-13 06:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679243776001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679243776001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:19:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:19:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679243776001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":132366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:19:41] local.INFO: GPS data processed {"connection_id":132366,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:19:41] local.INFO: Acknowledgment sent {"connection_id":132366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:19:51] local.INFO: TCP Data received {"connection_id":131027,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f29a10012d7f034005d332a00005004813..."} 
[2026-07-13 06:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f29a10012d7f034005d332a00005004813..."} 
[2026-07-13 06:19:51] local.INFO: Processing buffer {"connection_id":131027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f29a10012d7f034005d332a00005004813..."} 
[2026-07-13 06:19:51] local.INFO: Packet analysis {"connection_id":131027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f2"} 
[2026-07-13 06:19:51] local.INFO: Extracted packet for processing {"connection_id":131027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f2"} 
[2026-07-13 06:19:51] local.INFO: GPS Element Parsed {"raw_longitude":763298624,"raw_latitude":97727136,"longitude_deg":76.3298624,"latitude_deg":9.7727136,"altitude":5,"angle":72,"satellites":19,"speed":11,"hex_longitude":"2d7f0340","hex_latitude":"05d332a0","is_valid_coordinates":true} 
[2026-07-13 06:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679351552001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105500193679474688,"note":"Value kept but may cause issues"} 
[2026-07-13 06:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150821886625703936,"note":"Value kept but may cause issues"} 
[2026-07-13 06:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783903722000,"timestamp_ms":1783903722000,"timestamp_seconds":1783903722,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f29a10"} 
[2026-07-13 06:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 06: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-13 06:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":131027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":131027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":131027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 06:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 06:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679351552001,"66":13678,"109":206,"85":15104,"24":11,"16":105500193679474688,"45":9150821886625703936},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-13 06:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 06:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 06:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679351552001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:19:51] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-13 06:19:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 06:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105500193679474688,"km_value":105500193679474.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150821886625703936,"description":"Unknown IO ID 45"} 
[2026-07-13 06:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679351552001,"power":13678,"unknown_109":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9150821886625703936}} 
[2026-07-13 06:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":131027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478598,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:19:51] local.INFO: GPS data processed {"connection_id":131027,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:19:51] local.INFO: Acknowledgment sent {"connection_id":131027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:20:12] local.INFO: TCP Data received {"connection_id":132366,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f0b1c8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f0b1c8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:20:12] local.INFO: Processing buffer {"connection_id":132366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f0b1c8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:20:12] local.INFO: Packet analysis {"connection_id":132366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f0"} 
[2026-07-13 06:20:12] local.INFO: Extracted packet for processing {"connection_id":132366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f0"} 
[2026-07-13 06:20:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679243776001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783903597000,"timestamp_ms":1783903597000,"timestamp_seconds":1783903597,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f0b1c8"} 
[2026-07-13 06:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 06:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679243776001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679243776001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:20:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:20:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679243776001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":132366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:20:12] local.INFO: GPS data processed {"connection_id":132366,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:20:12] local.INFO: Acknowledgment sent {"connection_id":132366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:20:22] local.INFO: TCP Data received {"connection_id":131027,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f3e230012d7f480005d381b0000000e814..."} 
[2026-07-13 06:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f3e230012d7f480005d381b0000000e814..."} 
[2026-07-13 06:20:22] local.INFO: Processing buffer {"connection_id":131027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f3e230012d7f480005d381b0000000e814..."} 
[2026-07-13 06:20:22] local.INFO: Packet analysis {"connection_id":131027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f3"} 
[2026-07-13 06:20:22] local.INFO: Extracted packet for processing {"connection_id":131027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f3"} 
[2026-07-13 06:20:22] local.INFO: GPS Element Parsed {"raw_longitude":763316224,"raw_latitude":97747376,"longitude_deg":76.3316224,"latitude_deg":9.7747376,"altitude":0,"angle":232,"satellites":20,"speed":42,"hex_longitude":"2d7f4800","hex_latitude":"05d381b0","is_valid_coordinates":true} 
[2026-07-13 06: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-07-13 06:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679372800001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105502641810833408,"note":"Value kept but may cause issues"} 
[2026-07-13 06:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9176928690721615872,"note":"Value kept but may cause issues"} 
[2026-07-13 06:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783903806000,"timestamp_ms":1783903806000,"timestamp_seconds":1783903806,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f3e230"} 
[2026-07-13 06:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:20:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 06: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-07-13 06:20: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-07-13 06: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-07-13 06:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":131027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":131027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":131027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 06:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 06:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679372800001,"66":13678,"167":206,"85":15104,"24":42,"16":105502641810833408,"45":9176928690721615872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-13 06:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 06:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 06:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679372800001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:20:22] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-13 06:20:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 06:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105502641810833408,"km_value":105502641810833.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9176928690721615872,"description":"Unknown IO ID 45"} 
[2026-07-13 06:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679372800001,"power":13678,"unknown_167":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9176928690721615872}} 
[2026-07-13 06:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":131027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478600,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:20:22] local.INFO: GPS data processed {"connection_id":131027,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:20:22] local.INFO: Acknowledgment sent {"connection_id":131027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:20:35] local.INFO: TCP Data received {"connection_id":131029,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:20:35] local.INFO: Processing buffer {"connection_id":131029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:20:35] local.INFO: IMEI packet received {"connection_id":131029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":131029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:20:40] local.INFO: TCP Data received {"connection_id":131029,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:20:40] local.INFO: Processing buffer {"connection_id":131029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:20:40] local.INFO: IMEI packet received {"connection_id":131029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":131029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:20:41] local.INFO: TCP Data received {"connection_id":131029,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f0b1c8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f0b1c8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:20:41] local.INFO: Processing buffer {"connection_id":131029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f0b1c8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:20:41] local.INFO: Packet analysis {"connection_id":131029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f0"} 
[2026-07-13 06:20:41] local.INFO: Extracted packet for processing {"connection_id":131029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f0"} 
[2026-07-13 06:20:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679243776001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783903597000,"timestamp_ms":1783903597000,"timestamp_seconds":1783903597,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f0b1c8"} 
[2026-07-13 06:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 06:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679243776001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679243776001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:20:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:20:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679243776001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":131029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:20:41] local.INFO: GPS data processed {"connection_id":131029,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:20:41] local.INFO: Acknowledgment sent {"connection_id":131029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:20:58] local.INFO: TCP Data received {"connection_id":131027,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f3f5b8012d7f378005d37370000000db14..."} 
[2026-07-13 06:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f3f5b8012d7f378005d37370000000db14..."} 
[2026-07-13 06:20:58] local.INFO: Processing buffer {"connection_id":131027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f3f5b8012d7f378005d37370000000db14..."} 
[2026-07-13 06:20:58] local.INFO: Packet analysis {"connection_id":131027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f3"} 
[2026-07-13 06:20:58] local.INFO: Extracted packet for processing {"connection_id":131027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f3"} 
[2026-07-13 06:20:58] local.INFO: GPS Element Parsed {"raw_longitude":763312000,"raw_latitude":97743728,"longitude_deg":76.3312,"latitude_deg":9.7743728,"altitude":0,"angle":219,"satellites":20,"speed":44,"hex_longitude":"2d7f3780","hex_latitude":"05d37370","is_valid_coordinates":true} 
[2026-07-13 06:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679374336001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105502908098805760,"note":"Value kept but may cause issues"} 
[2026-07-13 06:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171580666163343360,"note":"Value kept but may cause issues"} 
[2026-07-13 06:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783903811000,"timestamp_ms":1783903811000,"timestamp_seconds":1783903811,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f3f5b8"} 
[2026-07-13 06:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 06:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-07-13 06:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:20:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 06:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 06:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679374336001,"66":13678,"167":206,"85":15104,"24":44,"16":105502908098805760,"45":9171580666163343360},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-13 06:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 06:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 06:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679374336001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:20:58] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-13 06:20:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 06:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105502908098805760,"km_value":105502908098805.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171580666163343360,"description":"Unknown IO ID 45"} 
[2026-07-13 06:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679374336001,"power":13678,"unknown_167":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9171580666163343360}} 
[2026-07-13 06:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":131027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478602,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:20:58] local.INFO: GPS data processed {"connection_id":131027,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:20:58] local.INFO: Acknowledgment sent {"connection_id":131027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:21:12] local.INFO: TCP Data received {"connection_id":131029,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f0b1c8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f0b1c8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:21:12] local.INFO: Processing buffer {"connection_id":131029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f0b1c8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:21:12] local.INFO: Packet analysis {"connection_id":131029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f0"} 
[2026-07-13 06:21:12] local.INFO: Extracted packet for processing {"connection_id":131029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f0"} 
[2026-07-13 06:21:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679243776001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783903597000,"timestamp_ms":1783903597000,"timestamp_seconds":1783903597,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f0b1c8"} 
[2026-07-13 06:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 06:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679243776001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679243776001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:21:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:21:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679243776001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":131029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:21:12] local.INFO: GPS data processed {"connection_id":131029,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:21:12] local.INFO: Acknowledgment sent {"connection_id":131029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:21:29] local.INFO: TCP Data received {"connection_id":131027,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f4ad50012d7f448005d344300003001214..."} 
[2026-07-13 06:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f4ad50012d7f448005d344300003001214..."} 
[2026-07-13 06:21:29] local.INFO: Processing buffer {"connection_id":131027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f4ad50012d7f448005d344300003001214..."} 
[2026-07-13 06:21:29] local.INFO: Packet analysis {"connection_id":131027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f4"} 
[2026-07-13 06:21:29] local.INFO: Extracted packet for processing {"connection_id":131027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f4"} 
[2026-07-13 06:21:29] local.INFO: GPS Element Parsed {"raw_longitude":763315328,"raw_latitude":97731632,"longitude_deg":76.3315328,"latitude_deg":9.7731632,"altitude":3,"angle":18,"satellites":20,"speed":17,"hex_longitude":"2d7f4480","hex_latitude":"05d34430","is_valid_coordinates":true} 
[2026-07-13 06: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-07-13 06:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679387136001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105504591725985792,"note":"Value kept but may cause issues"} 
[2026-07-13 06:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9170102922531328000,"note":"Value kept but may cause issues"} 
[2026-07-13 06:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783903858000,"timestamp_ms":1783903858000,"timestamp_seconds":1783903858,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f4ad50"} 
[2026-07-13 06:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 06: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 06:21: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-07-13 06: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-07-13 06:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":131027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":131027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":131027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:21:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 06:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 06:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679387136001,"66":13059,"209":206,"85":15104,"24":17,"16":105504591725985792,"45":9170102922531328000},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-07-13 06:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 06:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 06:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679387136001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:21:29] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-13 06:21:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 06:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105504591725985792,"km_value":105504591725985.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9170102922531328000,"description":"Unknown IO ID 45"} 
[2026-07-13 06:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679387136001,"power":13059,"unknown_209":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9170102922531328000}} 
[2026-07-13 06:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":131027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478604,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:21:29] local.INFO: GPS data processed {"connection_id":131027,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:21:29] local.INFO: Acknowledgment sent {"connection_id":131027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:21:35] local.INFO: TCP Data received {"connection_id":130052,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:21:35] local.INFO: Processing buffer {"connection_id":130052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:21:35] local.INFO: IMEI packet received {"connection_id":130052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":130052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:21:40] local.INFO: TCP Data received {"connection_id":130052,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:21:40] local.INFO: Processing buffer {"connection_id":130052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:21:40] local.INFO: IMEI packet received {"connection_id":130052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":130052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:21:41] local.INFO: TCP Data received {"connection_id":130052,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f0b1c8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f0b1c8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:21:41] local.INFO: Processing buffer {"connection_id":130052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f0b1c8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:21:41] local.INFO: Packet analysis {"connection_id":130052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f0"} 
[2026-07-13 06:21:41] local.INFO: Extracted packet for processing {"connection_id":130052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f0"} 
[2026-07-13 06:21:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679243776001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783903597000,"timestamp_ms":1783903597000,"timestamp_seconds":1783903597,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f0b1c8"} 
[2026-07-13 06:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 06:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679243776001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679243776001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:21:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679243776001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":130052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:21:41] local.INFO: GPS data processed {"connection_id":130052,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:21:41] local.INFO: Acknowledgment sent {"connection_id":130052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:22:00] local.INFO: TCP Data received {"connection_id":131027,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f4bcf0012d7f45c005d34b380003000614..."} 
[2026-07-13 06:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f4bcf0012d7f45c005d34b380003000614..."} 
[2026-07-13 06:22:00] local.INFO: Processing buffer {"connection_id":131027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f4bcf0012d7f45c005d34b380003000614..."} 
[2026-07-13 06:22:00] local.INFO: Packet analysis {"connection_id":131027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f4"} 
[2026-07-13 06:22:00] local.INFO: Extracted packet for processing {"connection_id":131027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f4"} 
[2026-07-13 06:22:00] local.INFO: GPS Element Parsed {"raw_longitude":763315648,"raw_latitude":97733432,"longitude_deg":76.3315648,"latitude_deg":9.7733432,"altitude":3,"angle":6,"satellites":20,"speed":22,"hex_longitude":"2d7f45c0","hex_latitude":"05d34b38","is_valid_coordinates":true} 
[2026-07-13 06:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679387648001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105504681920299008,"note":"Value kept but may cause issues"} 
[2026-07-13 06:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9170595503740825600,"note":"Value kept but may cause issues"} 
[2026-07-13 06:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783903862000,"timestamp_ms":1783903862000,"timestamp_seconds":1783903862,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f4bcf0"} 
[2026-07-13 06:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 06:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-13 06:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303175411223974,"note":"Value kept but may cause issues"} 
[2026-07-13 06:22:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 06:22:00] local.WARNING: Large IO value detected {"io_id":88,"raw_value":4103718913,"note":"Value kept but may cause issues"} 
[2026-07-13 06:22:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010185934,"corrected_to":0} 
[2026-07-13 06:22:00] local.WARNING: Large IO value detected {"io_id":110,"raw_value":3489738111,"note":"Value kept but may cause issues"} 
[2026-07-13 06:22:00] local.WARNING: Large IO value detected {"io_id":118,"raw_value":3546808320,"note":"Value kept but may cause issues"} 
[2026-07-13 06:22:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3543400448,"note":"Value kept but may cause issues"} 
[2026-07-13 06:22:00] local.WARNING: Large IO value detected {"io_id":167,"raw_value":58077557095399434,"note":"Value kept but may cause issues"} 
[2026-07-13 06:22:00] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,209,85,24,241,157,16,211,159,165,45,192,64,2,20,10,66,161,62,1,240,154,227,88,4,113,205,110,32,224,239,54,118,5,167],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2010185934,"validated":0}]} 
[2026-07-13 06:22:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216192659223543808,"timestamp_seconds":216192659223543.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 06:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":131027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":131027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":131027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 06:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 06:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679387648001,"66":13765,"209":206,"85":15104,"24":22,"16":105504681920299008,"45":9170595503740825600},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-07-13 06:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 06:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 06:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679387648001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:22:00] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-13 06:22:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 06:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105504681920299008,"km_value":105504681920299.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9170595503740825600,"description":"Unknown IO ID 45"} 
[2026-07-13 06:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679387648001,"power":13765,"unknown_209":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9170595503740825600}} 
[2026-07-13 06:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":131027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:22:00] local.INFO: GPS data processed {"connection_id":131027,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:22:00] local.INFO: Acknowledgment sent {"connection_id":131027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:22:12] local.INFO: TCP Data received {"connection_id":130052,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f0b1c8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f0b1c8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:22:12] local.INFO: Processing buffer {"connection_id":130052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f0b1c8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:22:12] local.INFO: Packet analysis {"connection_id":130052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f0"} 
[2026-07-13 06:22:12] local.INFO: Extracted packet for processing {"connection_id":130052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f0"} 
[2026-07-13 06:22:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679243776001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783903597000,"timestamp_ms":1783903597000,"timestamp_seconds":1783903597,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f0b1c8"} 
[2026-07-13 06:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 06:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679243776001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679243776001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:22:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:22:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679243776001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":130052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:22:12] local.INFO: GPS data processed {"connection_id":130052,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:22:12] local.INFO: Acknowledgment sent {"connection_id":130052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:22:34] local.INFO: TCP Data received {"connection_id":131027,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f4d848012d7f46c005d35bd80003016414..."} 
[2026-07-13 06:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f4d848012d7f46c005d35bd80003016414..."} 
[2026-07-13 06:22:34] local.INFO: Processing buffer {"connection_id":131027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f4d848012d7f46c005d35bd80003016414..."} 
[2026-07-13 06:22:34] local.INFO: Packet analysis {"connection_id":131027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f4"} 
[2026-07-13 06:22:34] local.INFO: Extracted packet for processing {"connection_id":131027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f4"} 
[2026-07-13 06:22:34] local.INFO: GPS Element Parsed {"raw_longitude":763315904,"raw_latitude":97737688,"longitude_deg":76.3315904,"latitude_deg":9.7737688,"altitude":3,"angle":356,"satellites":20,"speed":19,"hex_longitude":"2d7f46c0","hex_latitude":"05d35bd8","is_valid_coordinates":true} 
[2026-07-13 06:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679388672001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105504888078729216,"note":"Value kept but may cause issues"} 
[2026-07-13 06:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9170947347462174720,"note":"Value kept but may cause issues"} 
[2026-07-13 06:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783903869000,"timestamp_ms":1783903869000,"timestamp_seconds":1783903869,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f4d848"} 
[2026-07-13 06:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 06: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-07-13 06:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":131027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":131027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":131027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:22: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-07-13 06:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 06:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 06:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679388672001,"66":13580,"209":206,"85":15104,"24":19,"16":105504888078729216,"45":9170947347462174720},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-07-13 06:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 06:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 06:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679388672001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:22:34] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-13 06:22:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 06:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105504888078729216,"km_value":105504888078729.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9170947347462174720,"description":"Unknown IO ID 45"} 
[2026-07-13 06:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679388672001,"power":13580,"unknown_209":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9170947347462174720}} 
[2026-07-13 06:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":131027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:22:34] local.INFO: GPS data processed {"connection_id":131027,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:22:34] local.INFO: Acknowledgment sent {"connection_id":131027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:22:40] local.INFO: TCP Data received {"connection_id":132367,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:22:40] local.INFO: Processing buffer {"connection_id":132367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:22:40] local.INFO: IMEI packet received {"connection_id":132367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":132367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:22:45] local.INFO: TCP Data received {"connection_id":132367,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:22:45] local.INFO: Processing buffer {"connection_id":132367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:22:45] local.INFO: IMEI packet received {"connection_id":132367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":132367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:22:46] local.INFO: TCP Data received {"connection_id":132367,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f54990012d7f914005afd9380000011b26..."} 
[2026-07-13 06:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f54990012d7f914005afd9380000011b26..."} 
[2026-07-13 06:22:46] local.INFO: Processing buffer {"connection_id":132367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f54990012d7f914005afd9380000011b26..."} 
[2026-07-13 06:22:46] local.INFO: Packet analysis {"connection_id":132367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f5"} 
[2026-07-13 06:22:46] local.INFO: Extracted packet for processing {"connection_id":132367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f5"} 
[2026-07-13 06:22:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679320832001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783903898000,"timestamp_ms":1783903898000,"timestamp_seconds":1783903898,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f54990"} 
[2026-07-13 06:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679320832001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679320832001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:22:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:22:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679320832001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":132367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:22:46] local.INFO: GPS data processed {"connection_id":132367,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:22:46] local.INFO: Acknowledgment sent {"connection_id":132367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:22:51] local.INFO: TCP Data received {"connection_id":132367,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f54990012d7f914005afd9380000011b26..."} 
[2026-07-13 06:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f54990012d7f914005afd9380000011b26..."} 
[2026-07-13 06:22:51] local.INFO: Processing buffer {"connection_id":132367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f54990012d7f914005afd9380000011b26..."} 
[2026-07-13 06:22:51] local.INFO: Packet analysis {"connection_id":132367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f5"} 
[2026-07-13 06:22:51] local.INFO: Extracted packet for processing {"connection_id":132367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f5"} 
[2026-07-13 06:22:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06: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-07-13 06:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679320832001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783903898000,"timestamp_ms":1783903898000,"timestamp_seconds":1783903898,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f54990"} 
[2026-07-13 06:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:22: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-07-13 06: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-07-13 06:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:22: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-07-13 06:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679320832001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679320832001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:22:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:22:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679320832001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":132367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:22:51] local.INFO: GPS data processed {"connection_id":132367,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:22:51] local.INFO: Acknowledgment sent {"connection_id":132367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:23:05] local.INFO: TCP Data received {"connection_id":131027,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f52668012d7f478005d361480003000114..."} 
[2026-07-13 06:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f52668012d7f478005d361480003000114..."} 
[2026-07-13 06:23:05] local.INFO: Processing buffer {"connection_id":131027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f52668012d7f478005d361480003000114..."} 
[2026-07-13 06:23:05] local.INFO: Packet analysis {"connection_id":131027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f5"} 
[2026-07-13 06:23:05] local.INFO: Extracted packet for processing {"connection_id":131027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f5"} 
[2026-07-13 06:23:05] local.INFO: GPS Element Parsed {"raw_longitude":763316096,"raw_latitude":97739080,"longitude_deg":76.3316096,"latitude_deg":9.773908,"altitude":3,"angle":1,"satellites":20,"speed":0,"hex_longitude":"2d7f4780","hex_latitude":"05d36148","is_valid_coordinates":true} 
[2026-07-13 06:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679390464001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105504969683107840,"note":"Value kept but may cause issues"} 
[2026-07-13 06:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171228822439974912,"note":"Value kept but may cause issues"} 
[2026-07-13 06:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783903889000,"timestamp_ms":1783903889000,"timestamp_seconds":1783903889,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f52668"} 
[2026-07-13 06:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 06: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-13 06:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751609555,"note":"Value kept but may cause issues"} 
[2026-07-13 06:23:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 06:23:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":8562395124259094528,"note":"Value kept but may cause issues"} 
[2026-07-13 06:23:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-13 06:23:05] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13465553,"corrected_to":0} 
[2026-07-13 06:23:05] local.WARNING: Large IO value detected {"io_id":88,"raw_value":4104230913,"note":"Value kept but may cause issues"} 
[2026-07-13 06:23:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636704924399569,"note":"Value kept but may cause issues"} 
[2026-07-13 06:23:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010185934,"corrected_to":0} 
[2026-07-13 06:23:05] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3221607228,"note":"Value kept but may cause issues"} 
[2026-07-13 06:23:05] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743863,"note":"Value kept but may cause issues"} 
[2026-07-13 06:23:05] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-13 06:23:05] local.WARNING: Large IO value detected {"io_id":118,"raw_value":3552837632,"note":"Value kept but may cause issues"} 
[2026-07-13 06:23:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3543898112,"note":"Value kept but may cause issues"} 
[2026-07-13 06:23:05] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2323863812423286784,"note":"Value kept but may cause issues"} 
[2026-07-13 06:23:05] local.WARNING: Large IO value detected {"io_id":54,"raw_value":5908948625601384021,"note":"Value kept but may cause issues"} 
[2026-07-13 06:23:05] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755523995238641,"note":"Value kept but may cause issues"} 
[2026-07-13 06:23:05] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,209,85,24,241,157,16,212,159,188,45,192,75,3,20,10,66,211,173,128,68,165,1,240,203,227,88,4,113,205,23,63,176,239,53,2,118,5,127,54,59],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":203,"original":13465553,"validated":0},{"io_id":205,"original":2010185934,"validated":0}]} 
[2026-07-13 06:23:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216564294153863168,"timestamp_seconds":216564294153863.16,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 06:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":131027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":131027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":131027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:23: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-07-13 06:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 06:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 06:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679390464001,"66":13624,"167":206,"85":15104,"24":0,"16":105504969683107840,"45":9171228822439974912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-13 06:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 06:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 06:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679390464001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:23:05] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-13 06:23:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 06:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105504969683107840,"km_value":105504969683107.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171228822439974912,"description":"Unknown IO ID 45"} 
[2026-07-13 06:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679390464001,"power":13624,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9171228822439974912}} 
[2026-07-13 06:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":131027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:23:05] local.INFO: GPS data processed {"connection_id":131027,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:23:05] local.INFO: Acknowledgment sent {"connection_id":131027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:23:35] local.INFO: TCP Data received {"connection_id":130054,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:23:35] local.INFO: Processing buffer {"connection_id":130054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:23:35] local.INFO: IMEI packet received {"connection_id":130054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":130054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:23:36] local.INFO: TCP Data received {"connection_id":131027,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f55d18012d7f470005d360100002007d14..."} 
[2026-07-13 06:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f55d18012d7f470005d360100002007d14..."} 
[2026-07-13 06:23:36] local.INFO: Processing buffer {"connection_id":131027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f55d18012d7f470005d360100002007d14..."} 
[2026-07-13 06:23:36] local.INFO: Packet analysis {"connection_id":131027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f5"} 
[2026-07-13 06:23:36] local.INFO: Extracted packet for processing {"connection_id":131027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f5"} 
[2026-07-13 06:23:36] local.INFO: GPS Element Parsed {"raw_longitude":763315968,"raw_latitude":97738768,"longitude_deg":76.3315968,"latitude_deg":9.7738768,"altitude":2,"angle":125,"satellites":20,"speed":2,"hex_longitude":"2d7f4700","hex_latitude":"05d36010","is_valid_coordinates":true} 
[2026-07-13 06:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679395584001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105504999747878912,"note":"Value kept but may cause issues"} 
[2026-07-13 06:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171439928672864256,"note":"Value kept but may cause issues"} 
[2026-07-13 06:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783903903000,"timestamp_ms":1783903903000,"timestamp_seconds":1783903903,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f55d18"} 
[2026-07-13 06:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 06: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-13 06:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":131027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":131027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":131027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:23: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-07-13 06:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 06:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 06:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679395584001,"66":13406,"167":206,"85":15104,"24":2,"16":105504999747878912,"45":9171439928672864256},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-13 06:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 06:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 06:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679395584001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:23:36] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-13 06:23:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 06:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105504999747878912,"km_value":105504999747878.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171439928672864256,"description":"Unknown IO ID 45"} 
[2026-07-13 06:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679395584001,"power":13406,"unknown_167":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9171439928672864256}} 
[2026-07-13 06:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":131027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478612,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:23:36] local.INFO: GPS data processed {"connection_id":131027,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:23:36] local.INFO: Acknowledgment sent {"connection_id":131027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:23:40] local.INFO: TCP Data received {"connection_id":130054,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:23:40] local.INFO: Processing buffer {"connection_id":130054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:23:40] local.INFO: IMEI packet received {"connection_id":130054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":130054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:23:41] local.INFO: TCP Data received {"connection_id":130054,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f54990012d7f914005afd9380000011b26..."} 
[2026-07-13 06:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f54990012d7f914005afd9380000011b26..."} 
[2026-07-13 06:23:41] local.INFO: Processing buffer {"connection_id":130054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f54990012d7f914005afd9380000011b26..."} 
[2026-07-13 06:23:41] local.INFO: Packet analysis {"connection_id":130054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f5"} 
[2026-07-13 06:23:41] local.INFO: Extracted packet for processing {"connection_id":130054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f5"} 
[2026-07-13 06:23:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679320832001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783903898000,"timestamp_ms":1783903898000,"timestamp_seconds":1783903898,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f54990"} 
[2026-07-13 06:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679320832001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679320832001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:23:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:23:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679320832001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":130054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:23:41] local.INFO: GPS data processed {"connection_id":130054,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:23:41] local.INFO: Acknowledgment sent {"connection_id":130054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:24:07] local.INFO: TCP Data received {"connection_id":131027,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f5ab38012d7f470005d360100001007713..."} 
[2026-07-13 06:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f5ab38012d7f470005d360100001007713..."} 
[2026-07-13 06:24:07] local.INFO: Processing buffer {"connection_id":131027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f5ab38012d7f470005d360100001007713..."} 
[2026-07-13 06:24:07] local.INFO: Packet analysis {"connection_id":131027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f5"} 
[2026-07-13 06:24:07] local.INFO: Extracted packet for processing {"connection_id":131027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f5"} 
[2026-07-13 06:24:07] local.INFO: GPS Element Parsed {"raw_longitude":763315968,"raw_latitude":97738768,"longitude_deg":76.3315968,"latitude_deg":9.7738768,"altitude":1,"angle":119,"satellites":19,"speed":0,"hex_longitude":"2d7f4700","hex_latitude":"05d36010","is_valid_coordinates":true} 
[2026-07-13 06:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679399168001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105505004042846208,"note":"Value kept but may cause issues"} 
[2026-07-13 06:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171299191184429056,"note":"Value kept but may cause issues"} 
[2026-07-13 06:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783903923000,"timestamp_ms":1783903923000,"timestamp_seconds":1783903923,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f5ab38"} 
[2026-07-13 06:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 06: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-13 06:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":131027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":131027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":131027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:24: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-07-13 06:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 06:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 06:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679399168001,"66":13363,"167":206,"85":15104,"24":0,"16":105505004042846208,"45":9171299191184429056},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-13 06:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 06:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 06:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679399168001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:24:07] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-13 06:24:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 06:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105505004042846208,"km_value":105505004042846.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171299191184429056,"description":"Unknown IO ID 45"} 
[2026-07-13 06:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679399168001,"power":13363,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9171299191184429056}} 
[2026-07-13 06:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":131027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:24:07] local.INFO: GPS data processed {"connection_id":131027,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:24:07] local.INFO: Acknowledgment sent {"connection_id":131027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:24:12] local.INFO: TCP Data received {"connection_id":130054,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f54990012d7f914005afd9380000011b26..."} 
[2026-07-13 06:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f54990012d7f914005afd9380000011b26..."} 
[2026-07-13 06:24:12] local.INFO: Processing buffer {"connection_id":130054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f54990012d7f914005afd9380000011b26..."} 
[2026-07-13 06:24:12] local.INFO: Packet analysis {"connection_id":130054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f5"} 
[2026-07-13 06:24:12] local.INFO: Extracted packet for processing {"connection_id":130054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f5"} 
[2026-07-13 06:24:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679320832001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783903898000,"timestamp_ms":1783903898000,"timestamp_seconds":1783903898,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f54990"} 
[2026-07-13 06:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679320832001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679320832001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:24:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:24:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679320832001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":130054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:24:12] local.INFO: GPS data processed {"connection_id":130054,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:24:12] local.INFO: Acknowledgment sent {"connection_id":130054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:24:35] local.INFO: TCP Data received {"connection_id":131031,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:24:35] local.INFO: Processing buffer {"connection_id":131031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:24:35] local.INFO: IMEI packet received {"connection_id":131031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":131031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:24:38] local.INFO: TCP Data received {"connection_id":131027,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f5b308012d7f474005d35fc80001009114..."} 
[2026-07-13 06:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f5b308012d7f474005d35fc80001009114..."} 
[2026-07-13 06:24:38] local.INFO: Processing buffer {"connection_id":131027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f5b308012d7f474005d35fc80001009114..."} 
[2026-07-13 06:24:38] local.INFO: Packet analysis {"connection_id":131027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f5"} 
[2026-07-13 06:24:38] local.INFO: Extracted packet for processing {"connection_id":131027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f5"} 
[2026-07-13 06:24:38] local.INFO: GPS Element Parsed {"raw_longitude":763316032,"raw_latitude":97738696,"longitude_deg":76.3316032,"latitude_deg":9.7738696,"altitude":1,"angle":145,"satellites":20,"speed":1,"hex_longitude":"2d7f4740","hex_latitude":"05d35fc8","is_valid_coordinates":true} 
[2026-07-13 06:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679404288001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105505008337813504,"note":"Value kept but may cause issues"} 
[2026-07-13 06:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171299191184429056,"note":"Value kept but may cause issues"} 
[2026-07-13 06:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783903925000,"timestamp_ms":1783903925000,"timestamp_seconds":1783903925,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f5b308"} 
[2026-07-13 06:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 06: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":51,"data_length":795,"current_offset":136} 
[2026-07-13 06:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":131027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":131027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":131027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06: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-07-13 06:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 06:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 06:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679404288001,"66":13493,"167":206,"85":15104,"24":1,"16":105505008337813504,"45":9171299191184429056},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-13 06:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 06:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 06:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679404288001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:24:38] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-13 06:24:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 06:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105505008337813504,"km_value":105505008337813.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171299191184429056,"description":"Unknown IO ID 45"} 
[2026-07-13 06:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679404288001,"power":13493,"unknown_167":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9171299191184429056}} 
[2026-07-13 06:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":131027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:24:38] local.INFO: GPS data processed {"connection_id":131027,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:24:38] local.INFO: Acknowledgment sent {"connection_id":131027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:24:40] local.INFO: TCP Data received {"connection_id":131031,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:24:40] local.INFO: Processing buffer {"connection_id":131031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:24:40] local.INFO: IMEI packet received {"connection_id":131031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":131031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:24:41] local.INFO: TCP Data received {"connection_id":131031,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f54990012d7f914005afd9380000011b26..."} 
[2026-07-13 06:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f54990012d7f914005afd9380000011b26..."} 
[2026-07-13 06:24:41] local.INFO: Processing buffer {"connection_id":131031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f54990012d7f914005afd9380000011b26..."} 
[2026-07-13 06:24:41] local.INFO: Packet analysis {"connection_id":131031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f5"} 
[2026-07-13 06:24:41] local.INFO: Extracted packet for processing {"connection_id":131031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f5"} 
[2026-07-13 06:24:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679320832001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783903898000,"timestamp_ms":1783903898000,"timestamp_seconds":1783903898,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f54990"} 
[2026-07-13 06:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679320832001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679320832001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:24:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:24:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679320832001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":131031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:24:41] local.INFO: GPS data processed {"connection_id":131031,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:24:41] local.INFO: Acknowledgment sent {"connection_id":131031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:25:09] local.INFO: TCP Data received {"connection_id":131027,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f60128012d7f478005d35f680001009015..."} 
[2026-07-13 06:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f60128012d7f478005d35f680001009015..."} 
[2026-07-13 06:25:09] local.INFO: Processing buffer {"connection_id":131027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f60128012d7f478005d35f680001009015..."} 
[2026-07-13 06:25:09] local.INFO: Packet analysis {"connection_id":131027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f6"} 
[2026-07-13 06:25:09] local.INFO: Extracted packet for processing {"connection_id":131027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f6"} 
[2026-07-13 06:25:09] local.INFO: GPS Element Parsed {"raw_longitude":763316096,"raw_latitude":97738600,"longitude_deg":76.3316096,"latitude_deg":9.77386,"altitude":1,"angle":144,"satellites":21,"speed":0,"hex_longitude":"2d7f4780","hex_latitude":"05d35f68","is_valid_coordinates":true} 
[2026-07-13 06:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679404800001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105505016927748096,"note":"Value kept but may cause issues"} 
[2026-07-13 06:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171369559928588288,"note":"Value kept but may cause issues"} 
[2026-07-13 06:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783903945000,"timestamp_ms":1783903945000,"timestamp_seconds":1783903945,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f60128"} 
[2026-07-13 06:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 06: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-13 06:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":131027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":131027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":131027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06: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-07-13 06:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 06:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 06:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679404800001,"66":13656,"167":206,"85":15104,"24":0,"16":105505016927748096,"45":9171369559928588288},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-13 06:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 06:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 06:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679404800001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:25:09] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-13 06:25:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 06:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105505016927748096,"km_value":105505016927748.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171369559928588288,"description":"Unknown IO ID 45"} 
[2026-07-13 06:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679404800001,"power":13656,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9171369559928588288}} 
[2026-07-13 06:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":131027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478618,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:25:09] local.INFO: GPS data processed {"connection_id":131027,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:25:09] local.INFO: Acknowledgment sent {"connection_id":131027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:25:11] local.INFO: TCP Data received {"connection_id":130055,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130055,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:25:11] local.INFO: Processing buffer {"connection_id":130055,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:25:11] local.INFO: IMEI packet received {"connection_id":130055,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 06:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":130055,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:25:13] local.INFO: TCP Data received {"connection_id":131031,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f54990012d7f914005afd9380000011b26..."} 
[2026-07-13 06:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f54990012d7f914005afd9380000011b26..."} 
[2026-07-13 06:25:13] local.INFO: Processing buffer {"connection_id":131031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f54990012d7f914005afd9380000011b26..."} 
[2026-07-13 06:25:13] local.INFO: Packet analysis {"connection_id":131031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f5"} 
[2026-07-13 06:25:13] local.INFO: Extracted packet for processing {"connection_id":131031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f5"} 
[2026-07-13 06:25:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679320832001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783903898000,"timestamp_ms":1783903898000,"timestamp_seconds":1783903898,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f54990"} 
[2026-07-13 06:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:25:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679320832001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679320832001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:25:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:25:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679320832001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":131031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:25:13] local.INFO: GPS data processed {"connection_id":131031,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:25:13] local.INFO: Acknowledgment sent {"connection_id":131031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:25:35] local.INFO: TCP Data received {"connection_id":130056,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:25:35] local.INFO: Processing buffer {"connection_id":130056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:25:35] local.INFO: IMEI packet received {"connection_id":130056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":130056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:25:40] local.INFO: TCP Data received {"connection_id":130057,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130057,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:25:40] local.INFO: Processing buffer {"connection_id":130057,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:25:40] local.INFO: IMEI packet received {"connection_id":130057,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 06:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":130057,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:25:40] local.INFO: TCP Data received {"connection_id":130056,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:25:40] local.INFO: Processing buffer {"connection_id":130056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:25:40] local.INFO: IMEI packet received {"connection_id":130056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":130056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:25:41] local.INFO: TCP Data received {"connection_id":130056,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f54990012d7f914005afd9380000011b26..."} 
[2026-07-13 06:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f54990012d7f914005afd9380000011b26..."} 
[2026-07-13 06:25:41] local.INFO: Processing buffer {"connection_id":130056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f54990012d7f914005afd9380000011b26..."} 
[2026-07-13 06:25:41] local.INFO: Packet analysis {"connection_id":130056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f5"} 
[2026-07-13 06:25:41] local.INFO: Extracted packet for processing {"connection_id":130056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f5"} 
[2026-07-13 06:25:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679320832001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783903898000,"timestamp_ms":1783903898000,"timestamp_seconds":1783903898,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f54990"} 
[2026-07-13 06:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679320832001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679320832001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:25:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:25:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679320832001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":130056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:25:41] local.INFO: GPS data processed {"connection_id":130056,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:25:41] local.INFO: Acknowledgment sent {"connection_id":130056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:25:52] local.INFO: TCP Data received {"connection_id":130254,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130254,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:25:52] local.INFO: Processing buffer {"connection_id":130254,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:25:52] local.INFO: IMEI packet received {"connection_id":130254,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 06:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":130254,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:25:57] local.INFO: TCP Data received {"connection_id":130254,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130254,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:25:57] local.INFO: Processing buffer {"connection_id":130254,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:25:57] local.INFO: IMEI packet received {"connection_id":130254,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 06:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":130254,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:25:57] local.INFO: TCP Data received {"connection_id":130254,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f61898012d7f478005d35ec8000100c615..."} 
[2026-07-13 06:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f61898012d7f478005d35ec8000100c615..."} 
[2026-07-13 06:25:57] local.INFO: Processing buffer {"connection_id":130254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f61898012d7f478005d35ec8000100c615..."} 
[2026-07-13 06:25:57] local.INFO: Packet analysis {"connection_id":130254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f6"} 
[2026-07-13 06:25:57] local.INFO: Extracted packet for processing {"connection_id":130254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f6"} 
[2026-07-13 06:25:57] local.INFO: GPS Element Parsed {"raw_longitude":763316096,"raw_latitude":97738440,"longitude_deg":76.3316096,"latitude_deg":9.773844,"altitude":1,"angle":198,"satellites":21,"speed":2,"hex_longitude":"2d7f4780","hex_latitude":"05d35ec8","is_valid_coordinates":true} 
[2026-07-13 06: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-07-13 06:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679409920001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105505021222715392,"note":"Value kept but may cause issues"} 
[2026-07-13 06:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171439928672741376,"note":"Value kept but may cause issues"} 
[2026-07-13 06:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783903951000,"timestamp_ms":1783903951000,"timestamp_seconds":1783903951,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f61898"} 
[2026-07-13 06:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:25:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 06: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-13 06:25: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-07-13 06: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-07-13 06:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":130254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":130254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":130254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 06:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 06:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679409920001,"66":13450,"167":206,"85":15104,"24":2,"16":105505021222715392,"45":9171439928672741376},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-13 06:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 06:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 06:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679409920001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:25:57] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-13 06:25:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 06:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105505021222715392,"km_value":105505021222715.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171439928672741376,"description":"Unknown IO ID 45"} 
[2026-07-13 06:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679409920001,"power":13450,"unknown_167":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9171439928672741376}} 
[2026-07-13 06:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":130254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:25:57] local.INFO: GPS data processed {"connection_id":130254,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:25:57] local.INFO: Acknowledgment sent {"connection_id":130254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:26:13] local.INFO: TCP Data received {"connection_id":130056,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f54990012d7f914005afd9380000011b26..."} 
[2026-07-13 06:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f54990012d7f914005afd9380000011b26..."} 
[2026-07-13 06:26:13] local.INFO: Processing buffer {"connection_id":130056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f54990012d7f914005afd9380000011b26..."} 
[2026-07-13 06:26:13] local.INFO: Packet analysis {"connection_id":130056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f5"} 
[2026-07-13 06:26:13] local.INFO: Extracted packet for processing {"connection_id":130056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f5"} 
[2026-07-13 06:26:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679320832001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783903898000,"timestamp_ms":1783903898000,"timestamp_seconds":1783903898,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f54990"} 
[2026-07-13 06:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:26:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679320832001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679320832001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:26:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:26:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679320832001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":130056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:26:13] local.INFO: GPS data processed {"connection_id":130056,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:26:13] local.INFO: Acknowledgment sent {"connection_id":130056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:26:28] local.INFO: TCP Data received {"connection_id":130254,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f62838012d7f470005d35c70000100bb15..."} 
[2026-07-13 06:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f62838012d7f470005d35c70000100bb15..."} 
[2026-07-13 06:26:28] local.INFO: Processing buffer {"connection_id":130254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f62838012d7f470005d35c70000100bb15..."} 
[2026-07-13 06:26:28] local.INFO: Packet analysis {"connection_id":130254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f6"} 
[2026-07-13 06:26:28] local.INFO: Extracted packet for processing {"connection_id":130254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f6"} 
[2026-07-13 06:26:28] local.INFO: GPS Element Parsed {"raw_longitude":763315968,"raw_latitude":97737840,"longitude_deg":76.3315968,"latitude_deg":9.773784,"altitude":1,"angle":187,"satellites":21,"speed":8,"hex_longitude":"2d7f4700","hex_latitude":"05d35c70","is_valid_coordinates":true} 
[2026-07-13 06: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-07-13 06:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679411456001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105505055582453760,"note":"Value kept but may cause issues"} 
[2026-07-13 06:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171439928672700416,"note":"Value kept but may cause issues"} 
[2026-07-13 06:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783903955000,"timestamp_ms":1783903955000,"timestamp_seconds":1783903955,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f62838"} 
[2026-07-13 06:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 06: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-13 06:26:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06: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-07-13 06:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":130254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":130254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":130254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 06:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 06:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679411456001,"66":13472,"167":206,"85":15104,"24":8,"16":105505055582453760,"45":9171439928672700416},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-13 06:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 06:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 06:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679411456001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:26:28] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-13 06:26:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 06:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105505055582453760,"km_value":105505055582453.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171439928672700416,"description":"Unknown IO ID 45"} 
[2026-07-13 06:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679411456001,"power":13472,"unknown_167":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9171439928672700416}} 
[2026-07-13 06:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":130254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:26:28] local.INFO: GPS data processed {"connection_id":130254,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:26:28] local.INFO: Acknowledgment sent {"connection_id":130254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:26:40] local.INFO: TCP Data received {"connection_id":130058,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:26:40] local.INFO: Processing buffer {"connection_id":130058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:26:40] local.INFO: IMEI packet received {"connection_id":130058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":130058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:26:45] local.INFO: TCP Data received {"connection_id":130058,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:26:45] local.INFO: Processing buffer {"connection_id":130058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:26:45] local.INFO: IMEI packet received {"connection_id":130058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":130058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:26:46] local.INFO: TCP Data received {"connection_id":130058,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f54990012d7f914005afd9380000011b26..."} 
[2026-07-13 06:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f54990012d7f914005afd9380000011b26..."} 
[2026-07-13 06:26:46] local.INFO: Processing buffer {"connection_id":130058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f54990012d7f914005afd9380000011b26..."} 
[2026-07-13 06:26:46] local.INFO: Packet analysis {"connection_id":130058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f5"} 
[2026-07-13 06:26:46] local.INFO: Extracted packet for processing {"connection_id":130058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f5"} 
[2026-07-13 06:26:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679320832001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783903898000,"timestamp_ms":1783903898000,"timestamp_seconds":1783903898,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f54990"} 
[2026-07-13 06:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679320832001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679320832001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:26:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:26:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679320832001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":130058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:26:46] local.INFO: GPS data processed {"connection_id":130058,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:26:46] local.INFO: Acknowledgment sent {"connection_id":130058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:26:51] local.INFO: TCP Data received {"connection_id":130058,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f54990012d7f914005afd9380000011b26..."} 
[2026-07-13 06:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f54990012d7f914005afd9380000011b26..."} 
[2026-07-13 06:26:51] local.INFO: Processing buffer {"connection_id":130058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f54990012d7f914005afd9380000011b26..."} 
[2026-07-13 06:26:51] local.INFO: Packet analysis {"connection_id":130058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f5"} 
[2026-07-13 06:26:51] local.INFO: Extracted packet for processing {"connection_id":130058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f5"} 
[2026-07-13 06:26:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 06:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679320832001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783903898000,"timestamp_ms":1783903898000,"timestamp_seconds":1783903898,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f54990"} 
[2026-07-13 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-07-13 06:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:26: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-07-13 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-07-13 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-07-13 06:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:26: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-07-13 06:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679320832001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679320832001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:26:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:26:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679320832001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":130058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:26:51] local.INFO: GPS data processed {"connection_id":130058,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:26:51] local.INFO: Acknowledgment sent {"connection_id":130058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:26:56] local.INFO: TCP Data received {"connection_id":130255,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130255,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:26:56] local.INFO: Processing buffer {"connection_id":130255,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:26:56] local.INFO: IMEI packet received {"connection_id":130255,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 06:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":130255,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:27:02] local.INFO: TCP Data received {"connection_id":130255,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130255,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:27:02] local.INFO: Processing buffer {"connection_id":130255,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:27:02] local.INFO: IMEI packet received {"connection_id":130255,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 06:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":130255,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:27:03] local.INFO: TCP Data received {"connection_id":130255,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f62c20012d7f46c005d35b98000100b415..."} 
[2026-07-13 06:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f62c20012d7f46c005d35b98000100b415..."} 
[2026-07-13 06:27:03] local.INFO: Processing buffer {"connection_id":130255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f62c20012d7f46c005d35b98000100b415..."} 
[2026-07-13 06:27:03] local.INFO: Packet analysis {"connection_id":130255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f6"} 
[2026-07-13 06:27:03] local.INFO: Extracted packet for processing {"connection_id":130255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f6"} 
[2026-07-13 06:27:03] local.INFO: GPS Element Parsed {"raw_longitude":763315904,"raw_latitude":97737624,"longitude_deg":76.3315904,"latitude_deg":9.7737624,"altitude":1,"angle":180,"satellites":21,"speed":7,"hex_longitude":"2d7f46c0","hex_latitude":"05d35b98","is_valid_coordinates":true} 
[2026-07-13 06:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679412480001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105505064172388352,"note":"Value kept but may cause issues"} 
[2026-07-13 06:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171299191184191488,"note":"Value kept but may cause issues"} 
[2026-07-13 06:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783903956000,"timestamp_ms":1783903956000,"timestamp_seconds":1783903956,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f62c20"} 
[2026-07-13 06:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 06: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-13 06:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":130255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":130255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":130255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 06:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 06:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679412480001,"66":13515,"167":206,"85":15104,"24":7,"16":105505064172388352,"45":9171299191184191488},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-13 06:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 06:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 06:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679412480001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:27:03] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-13 06:27:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 06:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105505064172388352,"km_value":105505064172388.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171299191184191488,"description":"Unknown IO ID 45"} 
[2026-07-13 06:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679412480001,"power":13515,"unknown_167":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9171299191184191488}} 
[2026-07-13 06:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":130255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:27:03] local.INFO: GPS data processed {"connection_id":130255,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:27:03] local.INFO: Acknowledgment sent {"connection_id":130255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:27:33] local.INFO: TCP Data received {"connection_id":130255,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f62c20012d7f46c005d35b98000100b415..."} 
[2026-07-13 06:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f62c20012d7f46c005d35b98000100b415..."} 
[2026-07-13 06:27:33] local.INFO: Processing buffer {"connection_id":130255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f62c20012d7f46c005d35b98000100b415..."} 
[2026-07-13 06:27:33] local.INFO: Packet analysis {"connection_id":130255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f6"} 
[2026-07-13 06:27:33] local.INFO: Extracted packet for processing {"connection_id":130255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f6"} 
[2026-07-13 06:27:33] local.INFO: GPS Element Parsed {"raw_longitude":763315904,"raw_latitude":97737624,"longitude_deg":76.3315904,"latitude_deg":9.7737624,"altitude":1,"angle":180,"satellites":21,"speed":7,"hex_longitude":"2d7f46c0","hex_latitude":"05d35b98","is_valid_coordinates":true} 
[2026-07-13 06:27: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-07-13 06:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679412736001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105505064172388352,"note":"Value kept but may cause issues"} 
[2026-07-13 06:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171228822439958528,"note":"Value kept but may cause issues"} 
[2026-07-13 06:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783903956000,"timestamp_ms":1783903956000,"timestamp_seconds":1783903956,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f62c20"} 
[2026-07-13 06:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 06:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":130255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":130255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":130255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 06:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 06:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679412736001,"66":13515,"167":206,"85":15104,"24":7,"16":105505064172388352,"45":9171228822439958528},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-13 06:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 06:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 06:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679412736001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:27:33] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-13 06:27:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 06:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105505064172388352,"km_value":105505064172388.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171228822439958528,"description":"Unknown IO ID 45"} 
[2026-07-13 06:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679412736001,"power":13515,"unknown_167":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9171228822439958528}} 
[2026-07-13 06:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":130255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478627,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:27:33] local.INFO: GPS data processed {"connection_id":130255,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:27:33] local.INFO: Acknowledgment sent {"connection_id":130255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:27:35] local.INFO: TCP Data received {"connection_id":132369,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:27:35] local.INFO: Processing buffer {"connection_id":132369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:27:35] local.INFO: IMEI packet received {"connection_id":132369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":132369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:27:40] local.INFO: TCP Data received {"connection_id":132369,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:27:40] local.INFO: Processing buffer {"connection_id":132369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:27:40] local.INFO: IMEI packet received {"connection_id":132369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":132369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:27:41] local.INFO: TCP Data received {"connection_id":132369,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f9e158012d7f914005afd9380000011b24..."} 
[2026-07-13 06:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f9e158012d7f914005afd9380000011b24..."} 
[2026-07-13 06:27:41] local.INFO: Processing buffer {"connection_id":132369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f9e158012d7f914005afd9380000011b24..."} 
[2026-07-13 06:27:41] local.INFO: Packet analysis {"connection_id":132369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f9"} 
[2026-07-13 06:27:41] local.INFO: Extracted packet for processing {"connection_id":132369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f9"} 
[2026-07-13 06:27:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679397888001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783904199000,"timestamp_ms":1783904199000,"timestamp_seconds":1783904199,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f9e158"} 
[2026-07-13 06:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679397888001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679397888001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:27:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:27:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679397888001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":132369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:27:41] local.INFO: GPS data processed {"connection_id":132369,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:27:41] local.INFO: Acknowledgment sent {"connection_id":132369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:27:52] local.INFO: TCP Data received {"connection_id":130257,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130257,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:27:52] local.INFO: Processing buffer {"connection_id":130257,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:27:52] local.INFO: IMEI packet received {"connection_id":130257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 06:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":130257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:27:57] local.INFO: TCP Data received {"connection_id":130257,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130257,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:27:57] local.INFO: Processing buffer {"connection_id":130257,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:27:57] local.INFO: IMEI packet received {"connection_id":130257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 06:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":130257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:27:58] local.INFO: TCP Data received {"connection_id":130257,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f58facfa0012d7f458005d35ac0000100b21f..."} 
[2026-07-13 06:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58facfa0012d7f458005d35ac0000100b21f..."} 
[2026-07-13 06:27:58] local.INFO: Processing buffer {"connection_id":130257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58facfa0012d7f458005d35ac0000100b21f..."} 
[2026-07-13 06:27:58] local.INFO: Packet analysis {"connection_id":130257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58fa"} 
[2026-07-13 06:27:58] local.INFO: Extracted packet for processing {"connection_id":130257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58fa"} 
[2026-07-13 06:27:58] local.INFO: GPS Element Parsed {"raw_longitude":763315584,"raw_latitude":97737408,"longitude_deg":76.3315584,"latitude_deg":9.7737408,"altitude":1,"angle":178,"satellites":31,"speed":0,"hex_longitude":"2d7f4580","hex_latitude":"05d35ac0","is_valid_coordinates":true} 
[2026-07-13 06:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679412736001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105505064172388352,"note":"Value kept but may cause issues"} 
[2026-07-13 06:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171228822439958528,"note":"Value kept but may cause issues"} 
[2026-07-13 06:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783904260000,"timestamp_ms":1783904260000,"timestamp_seconds":1783904260,"priority":1,"record_length":96,"hex_timestamp":"0000019f58facfa0"} 
[2026-07-13 06:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 06:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 06:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 06:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679412736001,"66":12798,"167":206,"85":15104,"24":0,"16":105505064172388352,"45":9171228822439958528},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-13 06:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 06:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 06:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679412736001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:27:58] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-13 06:27:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 06:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105505064172388352,"km_value":105505064172388.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171228822439958528,"description":"Unknown IO ID 45"} 
[2026-07-13 06:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679412736001,"power":12798,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9171228822439958528}} 
[2026-07-13 06:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":130257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:27:58] local.INFO: GPS data processed {"connection_id":130257,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:27:58] local.INFO: Acknowledgment sent {"connection_id":130257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:28:12] local.INFO: TCP Data received {"connection_id":132369,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f9e158012d7f914005afd9380000011b24..."} 
[2026-07-13 06:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f9e158012d7f914005afd9380000011b24..."} 
[2026-07-13 06:28:12] local.INFO: Processing buffer {"connection_id":132369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f9e158012d7f914005afd9380000011b24..."} 
[2026-07-13 06:28:12] local.INFO: Packet analysis {"connection_id":132369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f9"} 
[2026-07-13 06:28:12] local.INFO: Extracted packet for processing {"connection_id":132369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f9"} 
[2026-07-13 06:28:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679397888001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783904199000,"timestamp_ms":1783904199000,"timestamp_seconds":1783904199,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f9e158"} 
[2026-07-13 06:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679397888001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679397888001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:28:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:28:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679397888001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":132369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:28:12] local.INFO: GPS data processed {"connection_id":132369,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:28:12] local.INFO: Acknowledgment sent {"connection_id":132369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:28:29] local.INFO: TCP Data received {"connection_id":130257,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f58facfa0012d7f458005d35ac0000100b21f..."} 
[2026-07-13 06:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58facfa0012d7f458005d35ac0000100b21f..."} 
[2026-07-13 06:28:29] local.INFO: Processing buffer {"connection_id":130257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58facfa0012d7f458005d35ac0000100b21f..."} 
[2026-07-13 06:28:29] local.INFO: Packet analysis {"connection_id":130257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58fa"} 
[2026-07-13 06:28:29] local.INFO: Extracted packet for processing {"connection_id":130257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58fa"} 
[2026-07-13 06:28:29] local.INFO: GPS Element Parsed {"raw_longitude":763315584,"raw_latitude":97737408,"longitude_deg":76.3315584,"latitude_deg":9.7737408,"altitude":1,"angle":178,"satellites":31,"speed":0,"hex_longitude":"2d7f4580","hex_latitude":"05d35ac0","is_valid_coordinates":true} 
[2026-07-13 06:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679412736001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105505064172388352,"note":"Value kept but may cause issues"} 
[2026-07-13 06:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171228822439958528,"note":"Value kept but may cause issues"} 
[2026-07-13 06:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783904260000,"timestamp_ms":1783904260000,"timestamp_seconds":1783904260,"priority":1,"record_length":96,"hex_timestamp":"0000019f58facfa0"} 
[2026-07-13 06:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 06:28: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-07-13 06:28:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 06:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 06:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679412736001,"66":12798,"167":206,"85":15104,"24":0,"16":105505064172388352,"45":9171228822439958528},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-13 06:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 06:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 06:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679412736001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:28:29] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-13 06:28:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 06:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105505064172388352,"km_value":105505064172388.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171228822439958528,"description":"Unknown IO ID 45"} 
[2026-07-13 06:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679412736001,"power":12798,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9171228822439958528}} 
[2026-07-13 06:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":130257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:28:29] local.INFO: GPS data processed {"connection_id":130257,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:28:29] local.INFO: Acknowledgment sent {"connection_id":130257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:28:35] local.INFO: TCP Data received {"connection_id":130258,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:28:35] local.INFO: Processing buffer {"connection_id":130258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:28:35] local.INFO: IMEI packet received {"connection_id":130258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":130258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:28:40] local.INFO: TCP Data received {"connection_id":130258,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:28:40] local.INFO: Processing buffer {"connection_id":130258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:28:40] local.INFO: IMEI packet received {"connection_id":130258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":130258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:28:41] local.INFO: TCP Data received {"connection_id":130258,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f9e158012d7f914005afd9380000011b24..."} 
[2026-07-13 06:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f9e158012d7f914005afd9380000011b24..."} 
[2026-07-13 06:28:41] local.INFO: Processing buffer {"connection_id":130258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f9e158012d7f914005afd9380000011b24..."} 
[2026-07-13 06:28:41] local.INFO: Packet analysis {"connection_id":130258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f9"} 
[2026-07-13 06:28:41] local.INFO: Extracted packet for processing {"connection_id":130258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f9"} 
[2026-07-13 06:28:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679397888001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783904199000,"timestamp_ms":1783904199000,"timestamp_seconds":1783904199,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f9e158"} 
[2026-07-13 06:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679397888001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679397888001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:28:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:28:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679397888001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":130258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:28:41] local.INFO: GPS data processed {"connection_id":130258,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:28:41] local.INFO: Acknowledgment sent {"connection_id":130258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:28:52] local.INFO: TCP Data received {"connection_id":131034,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131034,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:28:52] local.INFO: Processing buffer {"connection_id":131034,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:28:52] local.INFO: IMEI packet received {"connection_id":131034,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 06:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":131034,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:28:57] local.INFO: TCP Data received {"connection_id":131034,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131034,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:28:57] local.INFO: Processing buffer {"connection_id":131034,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:28:57] local.INFO: IMEI packet received {"connection_id":131034,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 06:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":131034,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:28:58] local.INFO: TCP Data received {"connection_id":131034,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f58facfa0012d7f458005d35ac0000100b21f..."} 
[2026-07-13 06:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58facfa0012d7f458005d35ac0000100b21f..."} 
[2026-07-13 06:28:58] local.INFO: Processing buffer {"connection_id":131034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58facfa0012d7f458005d35ac0000100b21f..."} 
[2026-07-13 06:28:58] local.INFO: Packet analysis {"connection_id":131034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58fa"} 
[2026-07-13 06:28:58] local.INFO: Extracted packet for processing {"connection_id":131034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58fa"} 
[2026-07-13 06:28:58] local.INFO: GPS Element Parsed {"raw_longitude":763315584,"raw_latitude":97737408,"longitude_deg":76.3315584,"latitude_deg":9.7737408,"altitude":1,"angle":178,"satellites":31,"speed":0,"hex_longitude":"2d7f4580","hex_latitude":"05d35ac0","is_valid_coordinates":true} 
[2026-07-13 06:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679412736001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105505064172388352,"note":"Value kept but may cause issues"} 
[2026-07-13 06:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171228822439958528,"note":"Value kept but may cause issues"} 
[2026-07-13 06:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783904260000,"timestamp_ms":1783904260000,"timestamp_seconds":1783904260,"priority":1,"record_length":96,"hex_timestamp":"0000019f58facfa0"} 
[2026-07-13 06:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 06:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 06:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 06:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679412736001,"66":12798,"167":206,"85":15104,"24":0,"16":105505064172388352,"45":9171228822439958528},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-13 06:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 06:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 06:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679412736001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:28:58] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-13 06:28:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 06:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105505064172388352,"km_value":105505064172388.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171228822439958528,"description":"Unknown IO ID 45"} 
[2026-07-13 06:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679412736001,"power":12798,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9171228822439958528}} 
[2026-07-13 06:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":131034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478633,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:28:58] local.INFO: GPS data processed {"connection_id":131034,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:28:58] local.INFO: Acknowledgment sent {"connection_id":131034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:29:12] local.INFO: TCP Data received {"connection_id":130258,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f9e158012d7f914005afd9380000011b24..."} 
[2026-07-13 06:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f9e158012d7f914005afd9380000011b24..."} 
[2026-07-13 06:29:12] local.INFO: Processing buffer {"connection_id":130258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f9e158012d7f914005afd9380000011b24..."} 
[2026-07-13 06:29:12] local.INFO: Packet analysis {"connection_id":130258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f9"} 
[2026-07-13 06:29:12] local.INFO: Extracted packet for processing {"connection_id":130258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f9"} 
[2026-07-13 06:29:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679397888001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783904199000,"timestamp_ms":1783904199000,"timestamp_seconds":1783904199,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f9e158"} 
[2026-07-13 06:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679397888001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679397888001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:29:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:29:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679397888001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":130258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:29:12] local.INFO: GPS data processed {"connection_id":130258,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:29:12] local.INFO: Acknowledgment sent {"connection_id":130258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:29:29] local.INFO: TCP Data received {"connection_id":131034,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f58facfa0012d7f458005d35ac0000100b21f..."} 
[2026-07-13 06:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58facfa0012d7f458005d35ac0000100b21f..."} 
[2026-07-13 06:29:29] local.INFO: Processing buffer {"connection_id":131034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58facfa0012d7f458005d35ac0000100b21f..."} 
[2026-07-13 06:29:29] local.INFO: Packet analysis {"connection_id":131034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58fa"} 
[2026-07-13 06:29:29] local.INFO: Extracted packet for processing {"connection_id":131034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58fa"} 
[2026-07-13 06:29:29] local.INFO: GPS Element Parsed {"raw_longitude":763315584,"raw_latitude":97737408,"longitude_deg":76.3315584,"latitude_deg":9.7737408,"altitude":1,"angle":178,"satellites":31,"speed":0,"hex_longitude":"2d7f4580","hex_latitude":"05d35ac0","is_valid_coordinates":true} 
[2026-07-13 06: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-07-13 06:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679412736001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105505064172388352,"note":"Value kept but may cause issues"} 
[2026-07-13 06:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171228822439958528,"note":"Value kept but may cause issues"} 
[2026-07-13 06:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783904260000,"timestamp_ms":1783904260000,"timestamp_seconds":1783904260,"priority":1,"record_length":96,"hex_timestamp":"0000019f58facfa0"} 
[2026-07-13 06:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 06:29: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-07-13 06: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-07-13 06:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":131034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":131034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":131034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 06:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 06:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679412736001,"66":12798,"167":206,"85":15104,"24":0,"16":105505064172388352,"45":9171228822439958528},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-13 06:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 06:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 06:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679412736001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:29:29] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-13 06:29:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 06:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105505064172388352,"km_value":105505064172388.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171228822439958528,"description":"Unknown IO ID 45"} 
[2026-07-13 06:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679412736001,"power":12798,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9171228822439958528}} 
[2026-07-13 06:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":131034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:29:29] local.INFO: GPS data processed {"connection_id":131034,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:29:29] local.INFO: Acknowledgment sent {"connection_id":131034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:29:35] local.INFO: TCP Data received {"connection_id":130259,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:29:35] local.INFO: Processing buffer {"connection_id":130259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:29:35] local.INFO: IMEI packet received {"connection_id":130259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":130259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:29:40] local.INFO: TCP Data received {"connection_id":130259,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:29:40] local.INFO: Processing buffer {"connection_id":130259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:29:40] local.INFO: IMEI packet received {"connection_id":130259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":130259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:29:41] local.INFO: TCP Data received {"connection_id":130259,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f9e158012d7f914005afd9380000011b24..."} 
[2026-07-13 06:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f9e158012d7f914005afd9380000011b24..."} 
[2026-07-13 06:29:41] local.INFO: Processing buffer {"connection_id":130259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f9e158012d7f914005afd9380000011b24..."} 
[2026-07-13 06:29:41] local.INFO: Packet analysis {"connection_id":130259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f9"} 
[2026-07-13 06:29:41] local.INFO: Extracted packet for processing {"connection_id":130259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f9"} 
[2026-07-13 06:29:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679397888001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783904199000,"timestamp_ms":1783904199000,"timestamp_seconds":1783904199,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f9e158"} 
[2026-07-13 06:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679397888001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679397888001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:29:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:29:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679397888001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":130259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:29:41] local.INFO: GPS data processed {"connection_id":130259,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:29:41] local.INFO: Acknowledgment sent {"connection_id":130259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:29:52] local.INFO: TCP Data received {"connection_id":130260,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130260,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:29:52] local.INFO: Processing buffer {"connection_id":130260,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:29:52] local.INFO: IMEI packet received {"connection_id":130260,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 06:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":130260,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:29:57] local.INFO: TCP Data received {"connection_id":130260,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130260,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:29:57] local.INFO: Processing buffer {"connection_id":130260,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:29:57] local.INFO: IMEI packet received {"connection_id":130260,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 06:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":130260,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:29:58] local.INFO: TCP Data received {"connection_id":130260,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f58facfa0012d7f458005d35ac0000100b21f..."} 
[2026-07-13 06:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58facfa0012d7f458005d35ac0000100b21f..."} 
[2026-07-13 06:29:58] local.INFO: Processing buffer {"connection_id":130260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58facfa0012d7f458005d35ac0000100b21f..."} 
[2026-07-13 06:29:58] local.INFO: Packet analysis {"connection_id":130260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58fa"} 
[2026-07-13 06:29:58] local.INFO: Extracted packet for processing {"connection_id":130260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58fa"} 
[2026-07-13 06:29:58] local.INFO: GPS Element Parsed {"raw_longitude":763315584,"raw_latitude":97737408,"longitude_deg":76.3315584,"latitude_deg":9.7737408,"altitude":1,"angle":178,"satellites":31,"speed":0,"hex_longitude":"2d7f4580","hex_latitude":"05d35ac0","is_valid_coordinates":true} 
[2026-07-13 06:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679412736001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105505064172388352,"note":"Value kept but may cause issues"} 
[2026-07-13 06:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171228822439958528,"note":"Value kept but may cause issues"} 
[2026-07-13 06:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783904260000,"timestamp_ms":1783904260000,"timestamp_seconds":1783904260,"priority":1,"record_length":96,"hex_timestamp":"0000019f58facfa0"} 
[2026-07-13 06:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 06:29:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:29:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 06:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 06:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679412736001,"66":12798,"167":206,"85":15104,"24":0,"16":105505064172388352,"45":9171228822439958528},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-13 06:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 06:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 06:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679412736001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:29:58] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-13 06:29:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 06:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105505064172388352,"km_value":105505064172388.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171228822439958528,"description":"Unknown IO ID 45"} 
[2026-07-13 06:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679412736001,"power":12798,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9171228822439958528}} 
[2026-07-13 06:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":130260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478637,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:29:58] local.INFO: GPS data processed {"connection_id":130260,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:29:58] local.INFO: Acknowledgment sent {"connection_id":130260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:30:13] local.INFO: TCP Data received {"connection_id":130259,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f9e158012d7f914005afd9380000011b24..."} 
[2026-07-13 06:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f9e158012d7f914005afd9380000011b24..."} 
[2026-07-13 06:30:13] local.INFO: Processing buffer {"connection_id":130259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f9e158012d7f914005afd9380000011b24..."} 
[2026-07-13 06:30:13] local.INFO: Packet analysis {"connection_id":130259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f9"} 
[2026-07-13 06:30:13] local.INFO: Extracted packet for processing {"connection_id":130259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f9"} 
[2026-07-13 06:30:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679397888001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783904199000,"timestamp_ms":1783904199000,"timestamp_seconds":1783904199,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f9e158"} 
[2026-07-13 06:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679397888001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679397888001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:30:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:30:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679397888001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":130259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:30:13] local.INFO: GPS data processed {"connection_id":130259,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:30:13] local.INFO: Acknowledgment sent {"connection_id":130259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:30:29] local.INFO: TCP Data received {"connection_id":130260,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f58facfa0012d7f458005d35ac0000100b21f..."} 
[2026-07-13 06:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58facfa0012d7f458005d35ac0000100b21f..."} 
[2026-07-13 06:30:29] local.INFO: Processing buffer {"connection_id":130260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58facfa0012d7f458005d35ac0000100b21f..."} 
[2026-07-13 06:30:29] local.INFO: Packet analysis {"connection_id":130260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58fa"} 
[2026-07-13 06:30:29] local.INFO: Extracted packet for processing {"connection_id":130260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58fa"} 
[2026-07-13 06:30:29] local.INFO: GPS Element Parsed {"raw_longitude":763315584,"raw_latitude":97737408,"longitude_deg":76.3315584,"latitude_deg":9.7737408,"altitude":1,"angle":178,"satellites":31,"speed":0,"hex_longitude":"2d7f4580","hex_latitude":"05d35ac0","is_valid_coordinates":true} 
[2026-07-13 06: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-07-13 06:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679412736001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105505064172388352,"note":"Value kept but may cause issues"} 
[2026-07-13 06:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171228822439958528,"note":"Value kept but may cause issues"} 
[2026-07-13 06:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783904260000,"timestamp_ms":1783904260000,"timestamp_seconds":1783904260,"priority":1,"record_length":96,"hex_timestamp":"0000019f58facfa0"} 
[2026-07-13 06:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":203,"data_length":795,"current_offset":136} 
[2026-07-13 06:30: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-07-13 06: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-07-13 06:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 06:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 06:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679412736001,"66":12798,"167":206,"85":15104,"24":0,"16":105505064172388352,"45":9171228822439958528},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-13 06:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 06:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 06:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679412736001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:30:29] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-13 06:30:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 06:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105505064172388352,"km_value":105505064172388.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171228822439958528,"description":"Unknown IO ID 45"} 
[2026-07-13 06:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679412736001,"power":12798,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9171228822439958528}} 
[2026-07-13 06:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":130260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478639,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:30:29] local.INFO: GPS data processed {"connection_id":130260,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:30:29] local.INFO: Acknowledgment sent {"connection_id":130260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:30:36] local.INFO: TCP Data received {"connection_id":132371,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:30:36] local.INFO: Processing buffer {"connection_id":132371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:30:36] local.INFO: IMEI packet received {"connection_id":132371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":132371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:30:40] local.INFO: TCP Data received {"connection_id":132371,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:30:40] local.INFO: Processing buffer {"connection_id":132371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:30:40] local.INFO: IMEI packet received {"connection_id":132371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":132371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:30:41] local.INFO: TCP Data received {"connection_id":132371,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f9e158012d7f914005afd9380000011b24..."} 
[2026-07-13 06:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f9e158012d7f914005afd9380000011b24..."} 
[2026-07-13 06:30:41] local.INFO: Processing buffer {"connection_id":132371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f9e158012d7f914005afd9380000011b24..."} 
[2026-07-13 06:30:41] local.INFO: Packet analysis {"connection_id":132371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f9"} 
[2026-07-13 06:30:41] local.INFO: Extracted packet for processing {"connection_id":132371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f9"} 
[2026-07-13 06:30:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679397888001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783904199000,"timestamp_ms":1783904199000,"timestamp_seconds":1783904199,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f9e158"} 
[2026-07-13 06:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679397888001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679397888001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:30:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:30:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679397888001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":132371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:30:41] local.INFO: GPS data processed {"connection_id":132371,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:30:41] local.INFO: Acknowledgment sent {"connection_id":132371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:30:52] local.INFO: TCP Data received {"connection_id":132372,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132372,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:30:52] local.INFO: Processing buffer {"connection_id":132372,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:30:52] local.INFO: IMEI packet received {"connection_id":132372,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 06:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":132372,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:30:56] local.INFO: TCP Data received {"connection_id":132372,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132372,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:30:57] local.INFO: Processing buffer {"connection_id":132372,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:30:57] local.INFO: IMEI packet received {"connection_id":132372,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 06:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":132372,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:30:57] local.INFO: TCP Data received {"connection_id":132372,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f58facfa0012d7f458005d35ac0000100b21f..."} 
[2026-07-13 06:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58facfa0012d7f458005d35ac0000100b21f..."} 
[2026-07-13 06:30:57] local.INFO: Processing buffer {"connection_id":132372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58facfa0012d7f458005d35ac0000100b21f..."} 
[2026-07-13 06:30:57] local.INFO: Packet analysis {"connection_id":132372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58fa"} 
[2026-07-13 06:30:57] local.INFO: Extracted packet for processing {"connection_id":132372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58fa"} 
[2026-07-13 06:30:57] local.INFO: GPS Element Parsed {"raw_longitude":763315584,"raw_latitude":97737408,"longitude_deg":76.3315584,"latitude_deg":9.7737408,"altitude":1,"angle":178,"satellites":31,"speed":0,"hex_longitude":"2d7f4580","hex_latitude":"05d35ac0","is_valid_coordinates":true} 
[2026-07-13 06: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-07-13 06:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679412736001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105505064172388352,"note":"Value kept but may cause issues"} 
[2026-07-13 06:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171228822439958528,"note":"Value kept but may cause issues"} 
[2026-07-13 06:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783904260000,"timestamp_ms":1783904260000,"timestamp_seconds":1783904260,"priority":1,"record_length":96,"hex_timestamp":"0000019f58facfa0"} 
[2026-07-13 06:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 06:30:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06: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-07-13 06:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 06:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 06:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679412736001,"66":12798,"167":206,"85":15104,"24":0,"16":105505064172388352,"45":9171228822439958528},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-13 06:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 06:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 06:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679412736001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:30:57] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-13 06:30:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 06:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105505064172388352,"km_value":105505064172388.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171228822439958528,"description":"Unknown IO ID 45"} 
[2026-07-13 06:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679412736001,"power":12798,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9171228822439958528}} 
[2026-07-13 06:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":132372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478641,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:30:57] local.INFO: GPS data processed {"connection_id":132372,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:30:57] local.INFO: Acknowledgment sent {"connection_id":132372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:31:06] local.INFO: TCP Data received {"connection_id":131035,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:31:06] local.INFO: Processing buffer {"connection_id":131035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:31:06] local.INFO: IMEI packet received {"connection_id":131035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 06:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":131035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:31:13] local.INFO: TCP Data received {"connection_id":132371,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f9e158012d7f914005afd9380000011b24..."} 
[2026-07-13 06:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f9e158012d7f914005afd9380000011b24..."} 
[2026-07-13 06:31:13] local.INFO: Processing buffer {"connection_id":132371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f9e158012d7f914005afd9380000011b24..."} 
[2026-07-13 06:31:13] local.INFO: Packet analysis {"connection_id":132371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f9"} 
[2026-07-13 06:31:13] local.INFO: Extracted packet for processing {"connection_id":132371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f9"} 
[2026-07-13 06:31:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679397888001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783904199000,"timestamp_ms":1783904199000,"timestamp_seconds":1783904199,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f9e158"} 
[2026-07-13 06:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679397888001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679397888001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:31:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:31:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679397888001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":132371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:31:13] local.INFO: GPS data processed {"connection_id":132371,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:31:13] local.INFO: Acknowledgment sent {"connection_id":132371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:31:28] local.INFO: TCP Data received {"connection_id":132372,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f58facfa0012d7f458005d35ac0000100b21f..."} 
[2026-07-13 06:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58facfa0012d7f458005d35ac0000100b21f..."} 
[2026-07-13 06:31:28] local.INFO: Processing buffer {"connection_id":132372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58facfa0012d7f458005d35ac0000100b21f..."} 
[2026-07-13 06:31:28] local.INFO: Packet analysis {"connection_id":132372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58fa"} 
[2026-07-13 06:31:28] local.INFO: Extracted packet for processing {"connection_id":132372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58fa"} 
[2026-07-13 06:31:28] local.INFO: GPS Element Parsed {"raw_longitude":763315584,"raw_latitude":97737408,"longitude_deg":76.3315584,"latitude_deg":9.7737408,"altitude":1,"angle":178,"satellites":31,"speed":0,"hex_longitude":"2d7f4580","hex_latitude":"05d35ac0","is_valid_coordinates":true} 
[2026-07-13 06: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-07-13 06:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679412736001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105505064172388352,"note":"Value kept but may cause issues"} 
[2026-07-13 06:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171228822439958528,"note":"Value kept but may cause issues"} 
[2026-07-13 06:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783904260000,"timestamp_ms":1783904260000,"timestamp_seconds":1783904260,"priority":1,"record_length":96,"hex_timestamp":"0000019f58facfa0"} 
[2026-07-13 06:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 06:31:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06: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-07-13 06:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 06:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 06:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679412736001,"66":12798,"167":206,"85":15104,"24":0,"16":105505064172388352,"45":9171228822439958528},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-13 06:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 06:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 06:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679412736001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:31:28] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-13 06:31:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 06:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105505064172388352,"km_value":105505064172388.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171228822439958528,"description":"Unknown IO ID 45"} 
[2026-07-13 06:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679412736001,"power":12798,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9171228822439958528}} 
[2026-07-13 06:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":132372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:31:28] local.INFO: GPS data processed {"connection_id":132372,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:31:28] local.INFO: Acknowledgment sent {"connection_id":132372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:31:35] local.INFO: TCP Data received {"connection_id":131036,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:31:35] local.INFO: Processing buffer {"connection_id":131036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:31:35] local.INFO: IMEI packet received {"connection_id":131036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":131036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:31:40] local.INFO: TCP Data received {"connection_id":131036,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:31:40] local.INFO: Processing buffer {"connection_id":131036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:31:40] local.INFO: IMEI packet received {"connection_id":131036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":131036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:31:41] local.INFO: TCP Data received {"connection_id":131036,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f9e158012d7f914005afd9380000011b24..."} 
[2026-07-13 06:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f9e158012d7f914005afd9380000011b24..."} 
[2026-07-13 06:31:41] local.INFO: Processing buffer {"connection_id":131036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f9e158012d7f914005afd9380000011b24..."} 
[2026-07-13 06:31:41] local.INFO: Packet analysis {"connection_id":131036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f9"} 
[2026-07-13 06:31:41] local.INFO: Extracted packet for processing {"connection_id":131036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f9"} 
[2026-07-13 06:31:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679397888001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783904199000,"timestamp_ms":1783904199000,"timestamp_seconds":1783904199,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f9e158"} 
[2026-07-13 06:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679397888001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679397888001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:31:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:31:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679397888001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":131036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:31:41] local.INFO: GPS data processed {"connection_id":131036,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:31:41] local.INFO: Acknowledgment sent {"connection_id":131036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:31:46] local.INFO: TCP Data received {"connection_id":130261,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130261,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:31:46] local.INFO: Processing buffer {"connection_id":130261,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:31:46] local.INFO: IMEI packet received {"connection_id":130261,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 06:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":130261,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:31:57] local.INFO: TCP Data received {"connection_id":131037,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:31:57] local.INFO: Processing buffer {"connection_id":131037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:31:57] local.INFO: IMEI packet received {"connection_id":131037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 06:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":131037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:32:02] local.INFO: TCP Data received {"connection_id":131037,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:32:02] local.INFO: Processing buffer {"connection_id":131037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:32:02] local.INFO: IMEI packet received {"connection_id":131037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 06:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":131037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:32:03] local.INFO: TCP Data received {"connection_id":131037,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f58facfa0012d7f458005d35ac0000100b21f..."} 
[2026-07-13 06:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58facfa0012d7f458005d35ac0000100b21f..."} 
[2026-07-13 06:32:03] local.INFO: Processing buffer {"connection_id":131037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58facfa0012d7f458005d35ac0000100b21f..."} 
[2026-07-13 06:32:03] local.INFO: Packet analysis {"connection_id":131037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58fa"} 
[2026-07-13 06:32:03] local.INFO: Extracted packet for processing {"connection_id":131037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58fa"} 
[2026-07-13 06:32:03] local.INFO: GPS Element Parsed {"raw_longitude":763315584,"raw_latitude":97737408,"longitude_deg":76.3315584,"latitude_deg":9.7737408,"altitude":1,"angle":178,"satellites":31,"speed":0,"hex_longitude":"2d7f4580","hex_latitude":"05d35ac0","is_valid_coordinates":true} 
[2026-07-13 06:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679412736001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105505064172388352,"note":"Value kept but may cause issues"} 
[2026-07-13 06:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171228822439958528,"note":"Value kept but may cause issues"} 
[2026-07-13 06:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783904260000,"timestamp_ms":1783904260000,"timestamp_seconds":1783904260,"priority":1,"record_length":96,"hex_timestamp":"0000019f58facfa0"} 
[2026-07-13 06:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 06:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:32:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":131037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":131037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":131037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 06:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 06:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679412736001,"66":12798,"167":206,"85":15104,"24":0,"16":105505064172388352,"45":9171228822439958528},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-13 06:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 06:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 06:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679412736001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:32:03] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-13 06:32:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 06:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105505064172388352,"km_value":105505064172388.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171228822439958528,"description":"Unknown IO ID 45"} 
[2026-07-13 06:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679412736001,"power":12798,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9171228822439958528}} 
[2026-07-13 06:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":131037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478645,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:32:03] local.INFO: GPS data processed {"connection_id":131037,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:32:03] local.INFO: Acknowledgment sent {"connection_id":131037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:32:07] local.INFO: TCP Data received {"connection_id":131037,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f58facfa0012d7f458005d35ac0000100b21f..."} 
[2026-07-13 06:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58facfa0012d7f458005d35ac0000100b21f..."} 
[2026-07-13 06:32:07] local.INFO: Processing buffer {"connection_id":131037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58facfa0012d7f458005d35ac0000100b21f..."} 
[2026-07-13 06:32:07] local.INFO: Packet analysis {"connection_id":131037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58fa"} 
[2026-07-13 06:32:07] local.INFO: Extracted packet for processing {"connection_id":131037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58fa"} 
[2026-07-13 06:32:07] local.INFO: GPS Element Parsed {"raw_longitude":763315584,"raw_latitude":97737408,"longitude_deg":76.3315584,"latitude_deg":9.7737408,"altitude":1,"angle":178,"satellites":31,"speed":0,"hex_longitude":"2d7f4580","hex_latitude":"05d35ac0","is_valid_coordinates":true} 
[2026-07-13 06:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679412736001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105505064172388352,"note":"Value kept but may cause issues"} 
[2026-07-13 06:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171228822439958528,"note":"Value kept but may cause issues"} 
[2026-07-13 06:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783904260000,"timestamp_ms":1783904260000,"timestamp_seconds":1783904260,"priority":1,"record_length":96,"hex_timestamp":"0000019f58facfa0"} 
[2026-07-13 06:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 06:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":131037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":131037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":131037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:32: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-07-13 06:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 06:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 06:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679412736001,"66":12798,"167":206,"85":15104,"24":0,"16":105505064172388352,"45":9171228822439958528},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-13 06:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 06:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 06:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679412736001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:32:07] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-13 06:32:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 06:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105505064172388352,"km_value":105505064172388.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171228822439958528,"description":"Unknown IO ID 45"} 
[2026-07-13 06:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679412736001,"power":12798,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9171228822439958528}} 
[2026-07-13 06:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":131037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478646,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:32:07] local.INFO: GPS data processed {"connection_id":131037,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:32:07] local.INFO: Acknowledgment sent {"connection_id":131037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:32:12] local.INFO: TCP Data received {"connection_id":131036,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f58f9e158012d7f914005afd9380000011b24..."} 
[2026-07-13 06:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58f9e158012d7f914005afd9380000011b24..."} 
[2026-07-13 06:32:12] local.INFO: Processing buffer {"connection_id":131036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58f9e158012d7f914005afd9380000011b24..."} 
[2026-07-13 06:32:12] local.INFO: Packet analysis {"connection_id":131036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58f9"} 
[2026-07-13 06:32:12] local.INFO: Extracted packet for processing {"connection_id":131036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58f9"} 
[2026-07-13 06:32:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679397888001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783904199000,"timestamp_ms":1783904199000,"timestamp_seconds":1783904199,"priority":1,"record_length":96,"hex_timestamp":"0000019f58f9e158"} 
[2026-07-13 06:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:32:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679397888001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679397888001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:32:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:32:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679397888001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":131036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:32:12] local.INFO: GPS data processed {"connection_id":131036,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:32:12] local.INFO: Acknowledgment sent {"connection_id":131036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:32:40] local.INFO: TCP Data received {"connection_id":131038,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:32:40] local.INFO: Processing buffer {"connection_id":131038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:32:40] local.INFO: IMEI packet received {"connection_id":131038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":131038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:32:45] local.INFO: TCP Data received {"connection_id":131038,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:32:45] local.INFO: Processing buffer {"connection_id":131038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:32:45] local.INFO: IMEI packet received {"connection_id":131038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":131038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:32:46] local.INFO: TCP Data received {"connection_id":131038,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f58fe7920012d7f914005afd9380000011b22..."} 
[2026-07-13 06:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58fe7920012d7f914005afd9380000011b22..."} 
[2026-07-13 06:32:46] local.INFO: Processing buffer {"connection_id":131038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58fe7920012d7f914005afd9380000011b22..."} 
[2026-07-13 06:32:46] local.INFO: Packet analysis {"connection_id":131038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58fe"} 
[2026-07-13 06:32:46] local.INFO: Extracted packet for processing {"connection_id":131038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58fe"} 
[2026-07-13 06:32:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679474944001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783904500000,"timestamp_ms":1783904500000,"timestamp_seconds":1783904500,"priority":1,"record_length":96,"hex_timestamp":"0000019f58fe7920"} 
[2026-07-13 06:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679474944001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679474944001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:32:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:32:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679474944001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":131038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:32:46] local.INFO: GPS data processed {"connection_id":131038,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:32:46] local.INFO: Acknowledgment sent {"connection_id":131038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:33:17] local.INFO: TCP Data received {"connection_id":131038,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f58fe7920012d7f914005afd9380000011b22..."} 
[2026-07-13 06:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58fe7920012d7f914005afd9380000011b22..."} 
[2026-07-13 06:33:17] local.INFO: Processing buffer {"connection_id":131038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58fe7920012d7f914005afd9380000011b22..."} 
[2026-07-13 06:33:17] local.INFO: Packet analysis {"connection_id":131038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58fe"} 
[2026-07-13 06:33:17] local.INFO: Extracted packet for processing {"connection_id":131038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58fe"} 
[2026-07-13 06:33:17] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679474944001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783904500000,"timestamp_ms":1783904500000,"timestamp_seconds":1783904500,"priority":1,"record_length":96,"hex_timestamp":"0000019f58fe7920"} 
[2026-07-13 06:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679474944001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679474944001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:33:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:33:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679474944001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":131038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:33:17] local.INFO: GPS data processed {"connection_id":131038,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:33:17] local.INFO: Acknowledgment sent {"connection_id":131038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:33:35] local.INFO: TCP Data received {"connection_id":130262,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:33:35] local.INFO: Processing buffer {"connection_id":130262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:33:35] local.INFO: IMEI packet received {"connection_id":130262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":130262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:33:40] local.INFO: TCP Data received {"connection_id":130262,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:33:40] local.INFO: Processing buffer {"connection_id":130262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:33:40] local.INFO: IMEI packet received {"connection_id":130262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":130262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:33:41] local.INFO: TCP Data received {"connection_id":130262,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f58fe7920012d7f914005afd9380000011b22..."} 
[2026-07-13 06:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58fe7920012d7f914005afd9380000011b22..."} 
[2026-07-13 06:33:41] local.INFO: Processing buffer {"connection_id":130262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58fe7920012d7f914005afd9380000011b22..."} 
[2026-07-13 06:33:41] local.INFO: Packet analysis {"connection_id":130262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58fe"} 
[2026-07-13 06:33:41] local.INFO: Extracted packet for processing {"connection_id":130262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58fe"} 
[2026-07-13 06:33:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679474944001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783904500000,"timestamp_ms":1783904500000,"timestamp_seconds":1783904500,"priority":1,"record_length":96,"hex_timestamp":"0000019f58fe7920"} 
[2026-07-13 06:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679474944001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679474944001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:33:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:33:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679474944001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":130262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:33:41] local.INFO: GPS data processed {"connection_id":130262,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:33:41] local.INFO: Acknowledgment sent {"connection_id":130262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:34:12] local.INFO: TCP Data received {"connection_id":130262,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f58fe7920012d7f914005afd9380000011b22..."} 
[2026-07-13 06:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58fe7920012d7f914005afd9380000011b22..."} 
[2026-07-13 06:34:12] local.INFO: Processing buffer {"connection_id":130262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58fe7920012d7f914005afd9380000011b22..."} 
[2026-07-13 06:34:12] local.INFO: Packet analysis {"connection_id":130262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58fe"} 
[2026-07-13 06:34:12] local.INFO: Extracted packet for processing {"connection_id":130262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58fe"} 
[2026-07-13 06:34:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679474944001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783904500000,"timestamp_ms":1783904500000,"timestamp_seconds":1783904500,"priority":1,"record_length":96,"hex_timestamp":"0000019f58fe7920"} 
[2026-07-13 06:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:34:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679474944001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679474944001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:34:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:34:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679474944001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":130262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:34:13] local.INFO: GPS data processed {"connection_id":130262,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:34:13] local.INFO: Acknowledgment sent {"connection_id":130262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:34:35] local.INFO: TCP Data received {"connection_id":130061,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:34:35] local.INFO: Processing buffer {"connection_id":130061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:34:35] local.INFO: IMEI packet received {"connection_id":130061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":130061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:34:40] local.INFO: TCP Data received {"connection_id":130061,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:34:40] local.INFO: Processing buffer {"connection_id":130061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:34:40] local.INFO: IMEI packet received {"connection_id":130061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":130061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:34:41] local.INFO: TCP Data received {"connection_id":130061,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f58fe7920012d7f914005afd9380000011b22..."} 
[2026-07-13 06:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58fe7920012d7f914005afd9380000011b22..."} 
[2026-07-13 06:34:41] local.INFO: Processing buffer {"connection_id":130061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58fe7920012d7f914005afd9380000011b22..."} 
[2026-07-13 06:34:41] local.INFO: Packet analysis {"connection_id":130061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58fe"} 
[2026-07-13 06:34:41] local.INFO: Extracted packet for processing {"connection_id":130061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58fe"} 
[2026-07-13 06:34:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679474944001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783904500000,"timestamp_ms":1783904500000,"timestamp_seconds":1783904500,"priority":1,"record_length":96,"hex_timestamp":"0000019f58fe7920"} 
[2026-07-13 06:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679474944001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679474944001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:34:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679474944001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":130061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:34:41] local.INFO: GPS data processed {"connection_id":130061,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:34:41] local.INFO: Acknowledgment sent {"connection_id":130061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:35:13] local.INFO: TCP Data received {"connection_id":130061,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f58fe7920012d7f914005afd9380000011b22..."} 
[2026-07-13 06:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58fe7920012d7f914005afd9380000011b22..."} 
[2026-07-13 06:35:13] local.INFO: Processing buffer {"connection_id":130061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58fe7920012d7f914005afd9380000011b22..."} 
[2026-07-13 06:35:13] local.INFO: Packet analysis {"connection_id":130061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58fe"} 
[2026-07-13 06:35:13] local.INFO: Extracted packet for processing {"connection_id":130061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58fe"} 
[2026-07-13 06:35:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679474944001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783904500000,"timestamp_ms":1783904500000,"timestamp_seconds":1783904500,"priority":1,"record_length":96,"hex_timestamp":"0000019f58fe7920"} 
[2026-07-13 06:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679474944001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679474944001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:35:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:35:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679474944001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":130061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:35:13] local.INFO: GPS data processed {"connection_id":130061,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:35:13] local.INFO: Acknowledgment sent {"connection_id":130061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:35:35] local.INFO: TCP Data received {"connection_id":132373,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:35:35] local.INFO: Processing buffer {"connection_id":132373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:35:35] local.INFO: IMEI packet received {"connection_id":132373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":132373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:35:40] local.INFO: TCP Data received {"connection_id":132373,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:35:40] local.INFO: Processing buffer {"connection_id":132373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:35:40] local.INFO: IMEI packet received {"connection_id":132373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":132373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:35:41] local.INFO: TCP Data received {"connection_id":132373,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f58fe7920012d7f914005afd9380000011b22..."} 
[2026-07-13 06:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58fe7920012d7f914005afd9380000011b22..."} 
[2026-07-13 06:35:41] local.INFO: Processing buffer {"connection_id":132373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58fe7920012d7f914005afd9380000011b22..."} 
[2026-07-13 06:35:41] local.INFO: Packet analysis {"connection_id":132373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58fe"} 
[2026-07-13 06:35:41] local.INFO: Extracted packet for processing {"connection_id":132373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58fe"} 
[2026-07-13 06:35:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679474944001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783904500000,"timestamp_ms":1783904500000,"timestamp_seconds":1783904500,"priority":1,"record_length":96,"hex_timestamp":"0000019f58fe7920"} 
[2026-07-13 06:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679474944001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679474944001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:35:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:35:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679474944001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":132373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:35:41] local.INFO: GPS data processed {"connection_id":132373,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:35:41] local.INFO: Acknowledgment sent {"connection_id":132373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:36:12] local.INFO: TCP Data received {"connection_id":132373,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f58fe7920012d7f914005afd9380000011b22..."} 
[2026-07-13 06:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58fe7920012d7f914005afd9380000011b22..."} 
[2026-07-13 06:36:12] local.INFO: Processing buffer {"connection_id":132373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58fe7920012d7f914005afd9380000011b22..."} 
[2026-07-13 06:36:12] local.INFO: Packet analysis {"connection_id":132373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58fe"} 
[2026-07-13 06:36:12] local.INFO: Extracted packet for processing {"connection_id":132373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58fe"} 
[2026-07-13 06:36:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679474944001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783904500000,"timestamp_ms":1783904500000,"timestamp_seconds":1783904500,"priority":1,"record_length":96,"hex_timestamp":"0000019f58fe7920"} 
[2026-07-13 06:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679474944001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679474944001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:36:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:36:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679474944001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":132373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:36:12] local.INFO: GPS data processed {"connection_id":132373,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:36:12] local.INFO: Acknowledgment sent {"connection_id":132373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:36:35] local.INFO: TCP Data received {"connection_id":131039,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:36:35] local.INFO: Processing buffer {"connection_id":131039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:36:35] local.INFO: IMEI packet received {"connection_id":131039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":131039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:36:40] local.INFO: TCP Data received {"connection_id":131039,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:36:40] local.INFO: Processing buffer {"connection_id":131039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:36:40] local.INFO: IMEI packet received {"connection_id":131039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":131039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:36:41] local.INFO: TCP Data received {"connection_id":131039,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f58fe7920012d7f914005afd9380000011b22..."} 
[2026-07-13 06:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58fe7920012d7f914005afd9380000011b22..."} 
[2026-07-13 06:36:41] local.INFO: Processing buffer {"connection_id":131039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58fe7920012d7f914005afd9380000011b22..."} 
[2026-07-13 06:36:41] local.INFO: Packet analysis {"connection_id":131039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58fe"} 
[2026-07-13 06:36:41] local.INFO: Extracted packet for processing {"connection_id":131039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58fe"} 
[2026-07-13 06:36:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679474944001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783904500000,"timestamp_ms":1783904500000,"timestamp_seconds":1783904500,"priority":1,"record_length":96,"hex_timestamp":"0000019f58fe7920"} 
[2026-07-13 06:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679474944001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679474944001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:36:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679474944001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":131039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:36:41] local.INFO: GPS data processed {"connection_id":131039,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:36:41] local.INFO: Acknowledgment sent {"connection_id":131039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:37:01] local.INFO: TCP Data received {"connection_id":131040,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131040,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:37:01] local.INFO: Processing buffer {"connection_id":131040,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:37:01] local.INFO: IMEI packet received {"connection_id":131040,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 06:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":131040,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:37:13] local.INFO: TCP Data received {"connection_id":131039,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f58fe7920012d7f914005afd9380000011b22..."} 
[2026-07-13 06:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f58fe7920012d7f914005afd9380000011b22..."} 
[2026-07-13 06:37:13] local.INFO: Processing buffer {"connection_id":131039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f58fe7920012d7f914005afd9380000011b22..."} 
[2026-07-13 06:37:13] local.INFO: Packet analysis {"connection_id":131039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f58fe"} 
[2026-07-13 06:37:13] local.INFO: Extracted packet for processing {"connection_id":131039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f58fe"} 
[2026-07-13 06:37:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679474944001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783904500000,"timestamp_ms":1783904500000,"timestamp_seconds":1783904500,"priority":1,"record_length":96,"hex_timestamp":"0000019f58fe7920"} 
[2026-07-13 06:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679474944001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679474944001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:37:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:37:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679474944001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":131039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:37:13] local.INFO: GPS data processed {"connection_id":131039,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:37:13] local.INFO: Acknowledgment sent {"connection_id":131039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:37:40] local.INFO: TCP Data received {"connection_id":132375,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:37:40] local.INFO: Processing buffer {"connection_id":132375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:37:40] local.INFO: IMEI packet received {"connection_id":132375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":132375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:37:42] local.INFO: TCP Data received {"connection_id":132376,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132376,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:37:42] local.INFO: Processing buffer {"connection_id":132376,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:37:42] local.INFO: IMEI packet received {"connection_id":132376,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 06:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":132376,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:37:45] local.INFO: TCP Data received {"connection_id":132375,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:37:45] local.INFO: Processing buffer {"connection_id":132375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:37:45] local.INFO: IMEI packet received {"connection_id":132375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":132375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:37:46] local.INFO: TCP Data received {"connection_id":132375,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f590310e8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f590310e8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:37:46] local.INFO: Processing buffer {"connection_id":132375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f590310e8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:37:46] local.INFO: Packet analysis {"connection_id":132375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5903"} 
[2026-07-13 06:37:46] local.INFO: Extracted packet for processing {"connection_id":132375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5903"} 
[2026-07-13 06:37:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679552000001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783904801000,"timestamp_ms":1783904801000,"timestamp_seconds":1783904801,"priority":1,"record_length":96,"hex_timestamp":"0000019f590310e8"} 
[2026-07-13 06:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:37: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-07-13 06:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679552000001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679552000001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:37:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:37:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679552000001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":132375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:37:46] local.INFO: GPS data processed {"connection_id":132375,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:37:46] local.INFO: Acknowledgment sent {"connection_id":132375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:37:51] local.INFO: TCP Data received {"connection_id":132375,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f590310e8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f590310e8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:37:51] local.INFO: Processing buffer {"connection_id":132375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f590310e8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:37:51] local.INFO: Packet analysis {"connection_id":132375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5903"} 
[2026-07-13 06:37:51] local.INFO: Extracted packet for processing {"connection_id":132375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5903"} 
[2026-07-13 06:37:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 06:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679552000001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783904801000,"timestamp_ms":1783904801000,"timestamp_seconds":1783904801,"priority":1,"record_length":96,"hex_timestamp":"0000019f590310e8"} 
[2026-07-13 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-07-13 06:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 06:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:37: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-07-13 06:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679552000001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679552000001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:37:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:37:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679552000001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":132375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:37:51] local.INFO: GPS data processed {"connection_id":132375,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:37:51] local.INFO: Acknowledgment sent {"connection_id":132375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:38:35] local.INFO: TCP Data received {"connection_id":132377,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:38:36] local.INFO: Processing buffer {"connection_id":132377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:38:36] local.INFO: IMEI packet received {"connection_id":132377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":132377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:38:40] local.INFO: TCP Data received {"connection_id":132377,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:38:40] local.INFO: Processing buffer {"connection_id":132377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:38:40] local.INFO: IMEI packet received {"connection_id":132377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":132377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:38:41] local.INFO: TCP Data received {"connection_id":132377,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f590310e8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f590310e8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:38:41] local.INFO: Processing buffer {"connection_id":132377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f590310e8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:38:41] local.INFO: Packet analysis {"connection_id":132377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5903"} 
[2026-07-13 06:38:41] local.INFO: Extracted packet for processing {"connection_id":132377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5903"} 
[2026-07-13 06:38:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679552000001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783904801000,"timestamp_ms":1783904801000,"timestamp_seconds":1783904801,"priority":1,"record_length":96,"hex_timestamp":"0000019f590310e8"} 
[2026-07-13 06:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679552000001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679552000001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:38:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:38:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679552000001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":132377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:38:41] local.INFO: GPS data processed {"connection_id":132377,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:38:41] local.INFO: Acknowledgment sent {"connection_id":132377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:39:12] local.INFO: TCP Data received {"connection_id":132377,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f590310e8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f590310e8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:39:12] local.INFO: Processing buffer {"connection_id":132377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f590310e8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:39:12] local.INFO: Packet analysis {"connection_id":132377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5903"} 
[2026-07-13 06:39:12] local.INFO: Extracted packet for processing {"connection_id":132377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5903"} 
[2026-07-13 06:39:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679552000001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783904801000,"timestamp_ms":1783904801000,"timestamp_seconds":1783904801,"priority":1,"record_length":96,"hex_timestamp":"0000019f590310e8"} 
[2026-07-13 06:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:39:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679552000001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679552000001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:39:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:39:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679552000001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":132377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:39:12] local.INFO: GPS data processed {"connection_id":132377,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:39:12] local.INFO: Acknowledgment sent {"connection_id":132377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:39:35] local.INFO: TCP Data received {"connection_id":130063,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:39:35] local.INFO: Processing buffer {"connection_id":130063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:39:35] local.INFO: IMEI packet received {"connection_id":130063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":130063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:39:40] local.INFO: TCP Data received {"connection_id":130063,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:39:40] local.INFO: Processing buffer {"connection_id":130063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:39:40] local.INFO: IMEI packet received {"connection_id":130063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":130063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:39:41] local.INFO: TCP Data received {"connection_id":130063,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f590310e8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f590310e8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:39:41] local.INFO: Processing buffer {"connection_id":130063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f590310e8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:39:41] local.INFO: Packet analysis {"connection_id":130063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5903"} 
[2026-07-13 06:39:41] local.INFO: Extracted packet for processing {"connection_id":130063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5903"} 
[2026-07-13 06:39:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679552000001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783904801000,"timestamp_ms":1783904801000,"timestamp_seconds":1783904801,"priority":1,"record_length":96,"hex_timestamp":"0000019f590310e8"} 
[2026-07-13 06:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679552000001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679552000001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:39:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:39:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679552000001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":130063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:39:41] local.INFO: GPS data processed {"connection_id":130063,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:39:41] local.INFO: Acknowledgment sent {"connection_id":130063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:40:12] local.INFO: TCP Data received {"connection_id":130063,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f590310e8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f590310e8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:40:12] local.INFO: Processing buffer {"connection_id":130063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f590310e8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:40:12] local.INFO: Packet analysis {"connection_id":130063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5903"} 
[2026-07-13 06:40:12] local.INFO: Extracted packet for processing {"connection_id":130063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5903"} 
[2026-07-13 06:40:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679552000001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783904801000,"timestamp_ms":1783904801000,"timestamp_seconds":1783904801,"priority":1,"record_length":96,"hex_timestamp":"0000019f590310e8"} 
[2026-07-13 06:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679552000001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679552000001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:40:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:40:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679552000001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":130063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:40:12] local.INFO: GPS data processed {"connection_id":130063,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:40:12] local.INFO: Acknowledgment sent {"connection_id":130063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:40:35] local.INFO: TCP Data received {"connection_id":132378,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:40:35] local.INFO: Processing buffer {"connection_id":132378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:40:35] local.INFO: IMEI packet received {"connection_id":132378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":132378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:40:40] local.INFO: TCP Data received {"connection_id":132378,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:40:40] local.INFO: Processing buffer {"connection_id":132378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:40:40] local.INFO: IMEI packet received {"connection_id":132378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":132378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:40:41] local.INFO: TCP Data received {"connection_id":132378,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f590310e8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f590310e8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:40:41] local.INFO: Processing buffer {"connection_id":132378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f590310e8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:40:41] local.INFO: Packet analysis {"connection_id":132378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5903"} 
[2026-07-13 06:40:41] local.INFO: Extracted packet for processing {"connection_id":132378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5903"} 
[2026-07-13 06:40:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679552000001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783904801000,"timestamp_ms":1783904801000,"timestamp_seconds":1783904801,"priority":1,"record_length":96,"hex_timestamp":"0000019f590310e8"} 
[2026-07-13 06:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679552000001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679552000001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:40:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:40:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679552000001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":132378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:40:41] local.INFO: GPS data processed {"connection_id":132378,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:40:41] local.INFO: Acknowledgment sent {"connection_id":132378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:41:13] local.INFO: TCP Data received {"connection_id":132378,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f590310e8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f590310e8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:41:13] local.INFO: Processing buffer {"connection_id":132378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f590310e8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:41:13] local.INFO: Packet analysis {"connection_id":132378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5903"} 
[2026-07-13 06:41:13] local.INFO: Extracted packet for processing {"connection_id":132378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5903"} 
[2026-07-13 06:41:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679552000001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783904801000,"timestamp_ms":1783904801000,"timestamp_seconds":1783904801,"priority":1,"record_length":96,"hex_timestamp":"0000019f590310e8"} 
[2026-07-13 06:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679552000001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679552000001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:41:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:41:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679552000001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":132378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:41:13] local.INFO: GPS data processed {"connection_id":132378,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:41:13] local.INFO: Acknowledgment sent {"connection_id":132378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:41:35] local.INFO: TCP Data received {"connection_id":130064,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:41:35] local.INFO: Processing buffer {"connection_id":130064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:41:35] local.INFO: IMEI packet received {"connection_id":130064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":130064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:41:40] local.INFO: TCP Data received {"connection_id":130064,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:41:40] local.INFO: Processing buffer {"connection_id":130064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:41:40] local.INFO: IMEI packet received {"connection_id":130064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":130064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:41:41] local.INFO: TCP Data received {"connection_id":130064,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f590310e8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f590310e8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:41:41] local.INFO: Processing buffer {"connection_id":130064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f590310e8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:41:41] local.INFO: Packet analysis {"connection_id":130064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5903"} 
[2026-07-13 06:41:41] local.INFO: Extracted packet for processing {"connection_id":130064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5903"} 
[2026-07-13 06:41:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679552000001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783904801000,"timestamp_ms":1783904801000,"timestamp_seconds":1783904801,"priority":1,"record_length":96,"hex_timestamp":"0000019f590310e8"} 
[2026-07-13 06:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679552000001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679552000001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:41:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:41:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679552000001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":130064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:41:41] local.INFO: GPS data processed {"connection_id":130064,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:41:41] local.INFO: Acknowledgment sent {"connection_id":130064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:42:13] local.INFO: TCP Data received {"connection_id":130064,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f590310e8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f590310e8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:42:13] local.INFO: Processing buffer {"connection_id":130064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f590310e8012d7f914005afd9380000011b27..."} 
[2026-07-13 06:42:13] local.INFO: Packet analysis {"connection_id":130064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5903"} 
[2026-07-13 06:42:13] local.INFO: Extracted packet for processing {"connection_id":130064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5903"} 
[2026-07-13 06:42:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679552000001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783904801000,"timestamp_ms":1783904801000,"timestamp_seconds":1783904801,"priority":1,"record_length":96,"hex_timestamp":"0000019f590310e8"} 
[2026-07-13 06:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679552000001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679552000001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:42:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:42:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679552000001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":130064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:42:13] local.INFO: GPS data processed {"connection_id":130064,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:42:13] local.INFO: Acknowledgment sent {"connection_id":130064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:42:40] local.INFO: TCP Data received {"connection_id":130264,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:42:40] local.INFO: Processing buffer {"connection_id":130264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:42:40] local.INFO: IMEI packet received {"connection_id":130264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":130264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:42:45] local.INFO: TCP Data received {"connection_id":130264,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:42:45] local.INFO: Processing buffer {"connection_id":130264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:42:45] local.INFO: IMEI packet received {"connection_id":130264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":130264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:42:46] local.INFO: TCP Data received {"connection_id":130264,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5907a8b0012d7f914005afd9380000011b24..."} 
[2026-07-13 06:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5907a8b0012d7f914005afd9380000011b24..."} 
[2026-07-13 06:42:46] local.INFO: Processing buffer {"connection_id":130264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5907a8b0012d7f914005afd9380000011b24..."} 
[2026-07-13 06:42:46] local.INFO: Packet analysis {"connection_id":130264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5907"} 
[2026-07-13 06:42:46] local.INFO: Extracted packet for processing {"connection_id":130264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5907"} 
[2026-07-13 06:42:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679629056001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783905102000,"timestamp_ms":1783905102000,"timestamp_seconds":1783905102,"priority":1,"record_length":96,"hex_timestamp":"0000019f5907a8b0"} 
[2026-07-13 06:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679629056001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679629056001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:42:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:42:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679629056001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":130264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:42:46] local.INFO: GPS data processed {"connection_id":130264,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:42:46] local.INFO: Acknowledgment sent {"connection_id":130264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:43:06] local.INFO: TCP Data received {"connection_id":131042,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:43:06] local.INFO: Processing buffer {"connection_id":131042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:43:06] local.INFO: IMEI packet received {"connection_id":131042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 06:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":131042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:43:17] local.INFO: TCP Data received {"connection_id":130264,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5907a8b0012d7f914005afd9380000011b24..."} 
[2026-07-13 06:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5907a8b0012d7f914005afd9380000011b24..."} 
[2026-07-13 06:43:17] local.INFO: Processing buffer {"connection_id":130264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5907a8b0012d7f914005afd9380000011b24..."} 
[2026-07-13 06:43:17] local.INFO: Packet analysis {"connection_id":130264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5907"} 
[2026-07-13 06:43:17] local.INFO: Extracted packet for processing {"connection_id":130264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5907"} 
[2026-07-13 06:43:17] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679629056001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783905102000,"timestamp_ms":1783905102000,"timestamp_seconds":1783905102,"priority":1,"record_length":96,"hex_timestamp":"0000019f5907a8b0"} 
[2026-07-13 06:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:43: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-07-13 06:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679629056001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679629056001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:43:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:43:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679629056001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":130264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:43:17] local.INFO: GPS data processed {"connection_id":130264,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:43:17] local.INFO: Acknowledgment sent {"connection_id":130264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:43:35] local.INFO: TCP Data received {"connection_id":131043,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:43:35] local.INFO: Processing buffer {"connection_id":131043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:43:35] local.INFO: IMEI packet received {"connection_id":131043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":131043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:43:40] local.INFO: TCP Data received {"connection_id":131043,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:43:40] local.INFO: Processing buffer {"connection_id":131043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:43:40] local.INFO: IMEI packet received {"connection_id":131043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":131043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:43:41] local.INFO: TCP Data received {"connection_id":131043,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5907a8b0012d7f914005afd9380000011b24..."} 
[2026-07-13 06:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5907a8b0012d7f914005afd9380000011b24..."} 
[2026-07-13 06:43:41] local.INFO: Processing buffer {"connection_id":131043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5907a8b0012d7f914005afd9380000011b24..."} 
[2026-07-13 06:43:41] local.INFO: Packet analysis {"connection_id":131043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5907"} 
[2026-07-13 06:43:41] local.INFO: Extracted packet for processing {"connection_id":131043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5907"} 
[2026-07-13 06:43:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679629056001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783905102000,"timestamp_ms":1783905102000,"timestamp_seconds":1783905102,"priority":1,"record_length":96,"hex_timestamp":"0000019f5907a8b0"} 
[2026-07-13 06:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679629056001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679629056001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:43:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:43:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679629056001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":131043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:43:41] local.INFO: GPS data processed {"connection_id":131043,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:43:41] local.INFO: Acknowledgment sent {"connection_id":131043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:43:44] local.INFO: TCP Data received {"connection_id":132381,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132381,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:43:44] local.INFO: Processing buffer {"connection_id":132381,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:43:44] local.INFO: IMEI packet received {"connection_id":132381,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 06:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":132381,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:44:12] local.INFO: TCP Data received {"connection_id":131043,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5907a8b0012d7f914005afd9380000011b24..."} 
[2026-07-13 06:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5907a8b0012d7f914005afd9380000011b24..."} 
[2026-07-13 06:44:12] local.INFO: Processing buffer {"connection_id":131043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5907a8b0012d7f914005afd9380000011b24..."} 
[2026-07-13 06:44:12] local.INFO: Packet analysis {"connection_id":131043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5907"} 
[2026-07-13 06:44:12] local.INFO: Extracted packet for processing {"connection_id":131043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5907"} 
[2026-07-13 06:44:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06: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-07-13 06:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679629056001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783905102000,"timestamp_ms":1783905102000,"timestamp_seconds":1783905102,"priority":1,"record_length":96,"hex_timestamp":"0000019f5907a8b0"} 
[2026-07-13 06:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06: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-07-13 06:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679629056001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679629056001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:44:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:44:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679629056001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":131043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:44:12] local.INFO: GPS data processed {"connection_id":131043,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:44:12] local.INFO: Acknowledgment sent {"connection_id":131043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:44:35] local.INFO: TCP Data received {"connection_id":130065,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:44:35] local.INFO: Processing buffer {"connection_id":130065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:44:35] local.INFO: IMEI packet received {"connection_id":130065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":130065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:44:40] local.INFO: TCP Data received {"connection_id":130065,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:44:40] local.INFO: Processing buffer {"connection_id":130065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:44:40] local.INFO: IMEI packet received {"connection_id":130065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":130065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:44:41] local.INFO: TCP Data received {"connection_id":130065,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5907a8b0012d7f914005afd9380000011b24..."} 
[2026-07-13 06:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5907a8b0012d7f914005afd9380000011b24..."} 
[2026-07-13 06:44:41] local.INFO: Processing buffer {"connection_id":130065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5907a8b0012d7f914005afd9380000011b24..."} 
[2026-07-13 06:44:41] local.INFO: Packet analysis {"connection_id":130065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5907"} 
[2026-07-13 06:44:41] local.INFO: Extracted packet for processing {"connection_id":130065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5907"} 
[2026-07-13 06:44:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679629056001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783905102000,"timestamp_ms":1783905102000,"timestamp_seconds":1783905102,"priority":1,"record_length":96,"hex_timestamp":"0000019f5907a8b0"} 
[2026-07-13 06:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679629056001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679629056001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:44:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:44:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679629056001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":130065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:44:41] local.INFO: GPS data processed {"connection_id":130065,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:44:41] local.INFO: Acknowledgment sent {"connection_id":130065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:45:12] local.INFO: TCP Data received {"connection_id":130065,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5907a8b0012d7f914005afd9380000011b24..."} 
[2026-07-13 06:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5907a8b0012d7f914005afd9380000011b24..."} 
[2026-07-13 06:45:12] local.INFO: Processing buffer {"connection_id":130065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5907a8b0012d7f914005afd9380000011b24..."} 
[2026-07-13 06:45:12] local.INFO: Packet analysis {"connection_id":130065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5907"} 
[2026-07-13 06:45:12] local.INFO: Extracted packet for processing {"connection_id":130065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5907"} 
[2026-07-13 06:45:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679629056001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783905102000,"timestamp_ms":1783905102000,"timestamp_seconds":1783905102,"priority":1,"record_length":96,"hex_timestamp":"0000019f5907a8b0"} 
[2026-07-13 06:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679629056001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679629056001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:45:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:45:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679629056001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":130065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:45:12] local.INFO: GPS data processed {"connection_id":130065,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:45:12] local.INFO: Acknowledgment sent {"connection_id":130065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:45:35] local.INFO: TCP Data received {"connection_id":130066,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:45:35] local.INFO: Processing buffer {"connection_id":130066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:45:35] local.INFO: IMEI packet received {"connection_id":130066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":130066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:45:40] local.INFO: TCP Data received {"connection_id":130066,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:45:40] local.INFO: Processing buffer {"connection_id":130066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:45:40] local.INFO: IMEI packet received {"connection_id":130066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":130066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:45:41] local.INFO: TCP Data received {"connection_id":130066,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5907a8b0012d7f914005afd9380000011b24..."} 
[2026-07-13 06:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5907a8b0012d7f914005afd9380000011b24..."} 
[2026-07-13 06:45:41] local.INFO: Processing buffer {"connection_id":130066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5907a8b0012d7f914005afd9380000011b24..."} 
[2026-07-13 06:45:41] local.INFO: Packet analysis {"connection_id":130066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5907"} 
[2026-07-13 06:45:41] local.INFO: Extracted packet for processing {"connection_id":130066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5907"} 
[2026-07-13 06:45:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679629056001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783905102000,"timestamp_ms":1783905102000,"timestamp_seconds":1783905102,"priority":1,"record_length":96,"hex_timestamp":"0000019f5907a8b0"} 
[2026-07-13 06:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679629056001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679629056001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:45:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:45:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679629056001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":130066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:45:41] local.INFO: GPS data processed {"connection_id":130066,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:45:41] local.INFO: Acknowledgment sent {"connection_id":130066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:46:12] local.INFO: TCP Data received {"connection_id":130066,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5907a8b0012d7f914005afd9380000011b24..."} 
[2026-07-13 06:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5907a8b0012d7f914005afd9380000011b24..."} 
[2026-07-13 06:46:12] local.INFO: Processing buffer {"connection_id":130066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5907a8b0012d7f914005afd9380000011b24..."} 
[2026-07-13 06:46:12] local.INFO: Packet analysis {"connection_id":130066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5907"} 
[2026-07-13 06:46:12] local.INFO: Extracted packet for processing {"connection_id":130066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5907"} 
[2026-07-13 06:46:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679629056001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783905102000,"timestamp_ms":1783905102000,"timestamp_seconds":1783905102,"priority":1,"record_length":96,"hex_timestamp":"0000019f5907a8b0"} 
[2026-07-13 06:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679629056001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679629056001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:46:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:46:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679629056001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":130066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:46:12] local.INFO: GPS data processed {"connection_id":130066,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:46:12] local.INFO: Acknowledgment sent {"connection_id":130066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:46:35] local.INFO: TCP Data received {"connection_id":132383,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:46:35] local.INFO: Processing buffer {"connection_id":132383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:46:35] local.INFO: IMEI packet received {"connection_id":132383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":132383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:46:40] local.INFO: TCP Data received {"connection_id":132383,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:46:40] local.INFO: Processing buffer {"connection_id":132383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:46:40] local.INFO: IMEI packet received {"connection_id":132383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":132383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:46:41] local.INFO: TCP Data received {"connection_id":132383,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5907a8b0012d7f914005afd9380000011b24..."} 
[2026-07-13 06:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5907a8b0012d7f914005afd9380000011b24..."} 
[2026-07-13 06:46:41] local.INFO: Processing buffer {"connection_id":132383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5907a8b0012d7f914005afd9380000011b24..."} 
[2026-07-13 06:46:41] local.INFO: Packet analysis {"connection_id":132383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5907"} 
[2026-07-13 06:46:41] local.INFO: Extracted packet for processing {"connection_id":132383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5907"} 
[2026-07-13 06:46:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679629056001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783905102000,"timestamp_ms":1783905102000,"timestamp_seconds":1783905102,"priority":1,"record_length":96,"hex_timestamp":"0000019f5907a8b0"} 
[2026-07-13 06:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679629056001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679629056001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:46:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:46:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679629056001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":132383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:46:41] local.INFO: GPS data processed {"connection_id":132383,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:46:41] local.INFO: Acknowledgment sent {"connection_id":132383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:47:12] local.INFO: TCP Data received {"connection_id":132383,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5907a8b0012d7f914005afd9380000011b24..."} 
[2026-07-13 06:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5907a8b0012d7f914005afd9380000011b24..."} 
[2026-07-13 06:47:12] local.INFO: Processing buffer {"connection_id":132383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5907a8b0012d7f914005afd9380000011b24..."} 
[2026-07-13 06:47:12] local.INFO: Packet analysis {"connection_id":132383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5907"} 
[2026-07-13 06:47:12] local.INFO: Extracted packet for processing {"connection_id":132383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5907"} 
[2026-07-13 06:47:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679629056001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783905102000,"timestamp_ms":1783905102000,"timestamp_seconds":1783905102,"priority":1,"record_length":96,"hex_timestamp":"0000019f5907a8b0"} 
[2026-07-13 06:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 06:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679629056001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679629056001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:47:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:47:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679629056001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":132383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:47:12] local.INFO: GPS data processed {"connection_id":132383,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:47:12] local.INFO: Acknowledgment sent {"connection_id":132383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:47:35] local.INFO: TCP Data received {"connection_id":130265,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:47:35] local.INFO: Processing buffer {"connection_id":130265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:47:35] local.INFO: IMEI packet received {"connection_id":130265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":130265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:47:40] local.INFO: TCP Data received {"connection_id":130265,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:47:40] local.INFO: Processing buffer {"connection_id":130265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:47:40] local.INFO: IMEI packet received {"connection_id":130265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":130265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:47:41] local.INFO: TCP Data received {"connection_id":130265,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f590c4078012d7f914005afd9380000011b2b..."} 
[2026-07-13 06:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f590c4078012d7f914005afd9380000011b2b..."} 
[2026-07-13 06:47:41] local.INFO: Processing buffer {"connection_id":130265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f590c4078012d7f914005afd9380000011b2b..."} 
[2026-07-13 06:47:41] local.INFO: Packet analysis {"connection_id":130265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f590c"} 
[2026-07-13 06:47:41] local.INFO: Extracted packet for processing {"connection_id":130265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f590c"} 
[2026-07-13 06:47:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679706112001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783905403000,"timestamp_ms":1783905403000,"timestamp_seconds":1783905403,"priority":1,"record_length":96,"hex_timestamp":"0000019f590c4078"} 
[2026-07-13 06:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 06:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679706112001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679706112001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:47:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:47:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679706112001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":130265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:47:41] local.INFO: GPS data processed {"connection_id":130265,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:47:41] local.INFO: Acknowledgment sent {"connection_id":130265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:47:53] local.INFO: TCP Data received {"connection_id":132384,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:47:53] local.INFO: Processing buffer {"connection_id":132384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:47:53] local.INFO: IMEI packet received {"connection_id":132384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 06:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":132384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:47:58] local.INFO: TCP Data received {"connection_id":132384,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:47:58] local.INFO: Processing buffer {"connection_id":132384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:47:58] local.INFO: IMEI packet received {"connection_id":132384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 06:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":132384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:47:59] local.INFO: TCP Data received {"connection_id":132384,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-13 06:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132384,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-13 06:47:59] local.INFO: Processing buffer {"connection_id":132384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-13 06:47:59] local.INFO: Packet analysis {"connection_id":132384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-13 06:47:59] local.INFO: Extracted packet for processing {"connection_id":132384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-13 06:47:59] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 06:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105505064172388352,"note":"Value kept but may cause issues"} 
[2026-07-13 06:47:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,209,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 06:47:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 06:47:59] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-13 06:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":132384,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":132384,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-13 06:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":132384,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-13 06:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-13 06:47:59] local.WARNING: DEBUG: No valid data to process  
[2026-07-13 06:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":132384,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-13 06:47:59] local.ERROR: GPS data processing failed {"connection_id":132384,"error":"No valid data to process"} 
[2026-07-13 06:47:59] local.INFO: Acknowledgment sent {"connection_id":132384,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-13 06:48:12] local.INFO: TCP Data received {"connection_id":130265,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f590c4078012d7f914005afd9380000011b2b..."} 
[2026-07-13 06:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f590c4078012d7f914005afd9380000011b2b..."} 
[2026-07-13 06:48:12] local.INFO: Processing buffer {"connection_id":130265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f590c4078012d7f914005afd9380000011b2b..."} 
[2026-07-13 06:48:12] local.INFO: Packet analysis {"connection_id":130265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f590c"} 
[2026-07-13 06:48:12] local.INFO: Extracted packet for processing {"connection_id":130265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f590c"} 
[2026-07-13 06:48:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679706112001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783905403000,"timestamp_ms":1783905403000,"timestamp_seconds":1783905403,"priority":1,"record_length":96,"hex_timestamp":"0000019f590c4078"} 
[2026-07-13 06:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 06:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679706112001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679706112001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:48:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:48:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679706112001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":130265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:48:12] local.INFO: GPS data processed {"connection_id":130265,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:48:12] local.INFO: Acknowledgment sent {"connection_id":130265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:48:30] local.INFO: TCP Data received {"connection_id":132384,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-07-13 06:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-07-13 06:48:30] local.INFO: Processing buffer {"connection_id":132384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-07-13 06:48:30] local.INFO: Packet analysis {"connection_id":132384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-13 06:48:30] local.INFO: Extracted packet for processing {"connection_id":132384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-13 06:48:30] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 06:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105505064172388352,"note":"Value kept but may cause issues"} 
[2026-07-13 06:48:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,209,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 06:48:30] 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-07-13 06:48:30] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-13 06:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":132384,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":132384,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-13 06:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":132384,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-13 06:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-13 06:48:30] local.WARNING: DEBUG: No valid data to process  
[2026-07-13 06:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":132384,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-13 06:48:30] local.ERROR: GPS data processing failed {"connection_id":132384,"error":"No valid data to process"} 
[2026-07-13 06:48:30] local.INFO: Acknowledgment sent {"connection_id":132384,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-13 06:48:35] local.INFO: TCP Data received {"connection_id":131045,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:48:35] local.INFO: Processing buffer {"connection_id":131045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:48:35] local.INFO: IMEI packet received {"connection_id":131045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":131045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:48:40] local.INFO: TCP Data received {"connection_id":131045,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:48:40] local.INFO: Processing buffer {"connection_id":131045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:48:40] local.INFO: IMEI packet received {"connection_id":131045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":131045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:48:41] local.INFO: TCP Data received {"connection_id":131045,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f590c4078012d7f914005afd9380000011b2b..."} 
[2026-07-13 06:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f590c4078012d7f914005afd9380000011b2b..."} 
[2026-07-13 06:48:41] local.INFO: Processing buffer {"connection_id":131045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f590c4078012d7f914005afd9380000011b2b..."} 
[2026-07-13 06:48:41] local.INFO: Packet analysis {"connection_id":131045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f590c"} 
[2026-07-13 06:48:41] local.INFO: Extracted packet for processing {"connection_id":131045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f590c"} 
[2026-07-13 06:48:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679706112001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783905403000,"timestamp_ms":1783905403000,"timestamp_seconds":1783905403,"priority":1,"record_length":96,"hex_timestamp":"0000019f590c4078"} 
[2026-07-13 06:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 06:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679706112001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679706112001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:48:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:48:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679706112001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":131045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:48:41] local.INFO: GPS data processed {"connection_id":131045,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:48:41] local.INFO: Acknowledgment sent {"connection_id":131045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:49:09] local.INFO: TCP Data received {"connection_id":132384,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-07-13 06:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132384,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-07-13 06:49:09] local.INFO: Processing buffer {"connection_id":132384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-07-13 06:49:09] local.INFO: Packet analysis {"connection_id":132384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-13 06:49:09] local.INFO: Extracted packet for processing {"connection_id":132384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-13 06:49: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-07-13 06:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105505064172388352,"note":"Value kept but may cause issues"} 
[2026-07-13 06:49:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,209,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 06:49:09] 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-07-13 06:49:09] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-13 06:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132384,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132384,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-13 06:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132384,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-13 06:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-13 06:49:09] local.WARNING: DEBUG: No valid data to process  
[2026-07-13 06:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":132384,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-13 06:49:09] local.ERROR: GPS data processing failed {"connection_id":132384,"error":"No valid data to process"} 
[2026-07-13 06:49:09] local.INFO: Acknowledgment sent {"connection_id":132384,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-13 06:49:11] local.INFO: TCP Data received {"connection_id":130266,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130266,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:49:11] local.INFO: Processing buffer {"connection_id":130266,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:49:11] local.INFO: IMEI packet received {"connection_id":130266,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 06:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":130266,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:49:12] local.INFO: TCP Data received {"connection_id":131045,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f590c4078012d7f914005afd9380000011b2b..."} 
[2026-07-13 06:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f590c4078012d7f914005afd9380000011b2b..."} 
[2026-07-13 06:49:12] local.INFO: Processing buffer {"connection_id":131045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f590c4078012d7f914005afd9380000011b2b..."} 
[2026-07-13 06:49:12] local.INFO: Packet analysis {"connection_id":131045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f590c"} 
[2026-07-13 06:49:12] local.INFO: Extracted packet for processing {"connection_id":131045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f590c"} 
[2026-07-13 06:49:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679706112001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783905403000,"timestamp_ms":1783905403000,"timestamp_seconds":1783905403,"priority":1,"record_length":96,"hex_timestamp":"0000019f590c4078"} 
[2026-07-13 06:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 06:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679706112001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679706112001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:49:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:49:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679706112001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":131045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:49:12] local.INFO: GPS data processed {"connection_id":131045,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:49:12] local.INFO: Acknowledgment sent {"connection_id":131045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:49:35] local.INFO: TCP Data received {"connection_id":130267,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:49:35] local.INFO: Processing buffer {"connection_id":130267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:49:35] local.INFO: IMEI packet received {"connection_id":130267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":130267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:49:40] local.INFO: TCP Data received {"connection_id":132384,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f590e20f00100000000000000000000000000..."} 
[2026-07-13 06:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f590e20f00100000000000000000000000000..."} 
[2026-07-13 06:49:40] local.INFO: Processing buffer {"connection_id":132384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f590e20f00100000000000000000000000000..."} 
[2026-07-13 06:49:40] local.INFO: Packet analysis {"connection_id":132384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f590e"} 
[2026-07-13 06:49:40] local.INFO: Extracted packet for processing {"connection_id":132384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f590e"} 
[2026-07-13 06:49: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-07-13 06:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105505064172388352,"note":"Value kept but may cause issues"} 
[2026-07-13 06:49:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,209,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 06:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783905526000,"timestamp_ms":1783905526000,"timestamp_seconds":1783905526,"priority":1,"record_length":96,"hex_timestamp":"0000019f590e20f0"} 
[2026-07-13 06:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1024,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 06:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-13 06:49: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-07-13 06:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 06:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 06:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":132384,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 06:49:40] local.INFO: GPS data processed {"connection_id":132384,"processed":0,"errors":0,"total":1} 
[2026-07-13 06:49:40] local.INFO: Acknowledgment sent {"connection_id":132384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:49:40] local.INFO: TCP Data received {"connection_id":130069,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130069,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:49:40] local.INFO: Processing buffer {"connection_id":130069,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:49:40] local.INFO: IMEI packet received {"connection_id":130069,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 06:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":130069,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:49:40] local.INFO: TCP Data received {"connection_id":130267,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:49:40] local.INFO: Processing buffer {"connection_id":130267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:49:40] local.INFO: IMEI packet received {"connection_id":130267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":130267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:49:41] local.INFO: TCP Data received {"connection_id":130267,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f590c4078012d7f914005afd9380000011b2b..."} 
[2026-07-13 06:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f590c4078012d7f914005afd9380000011b2b..."} 
[2026-07-13 06:49:41] local.INFO: Processing buffer {"connection_id":130267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f590c4078012d7f914005afd9380000011b2b..."} 
[2026-07-13 06:49:41] local.INFO: Packet analysis {"connection_id":130267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f590c"} 
[2026-07-13 06:49:41] local.INFO: Extracted packet for processing {"connection_id":130267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f590c"} 
[2026-07-13 06:49:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679706112001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783905403000,"timestamp_ms":1783905403000,"timestamp_seconds":1783905403,"priority":1,"record_length":96,"hex_timestamp":"0000019f590c4078"} 
[2026-07-13 06:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 06:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679706112001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679706112001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:49:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:49:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679706112001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":130267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:49:41] local.INFO: GPS data processed {"connection_id":130267,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:49:41] local.INFO: Acknowledgment sent {"connection_id":130267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:50:11] local.INFO: TCP Data received {"connection_id":132384,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f590f1708012d80454005d381280000006e12..."} 
[2026-07-13 06:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f590f1708012d80454005d381280000006e12..."} 
[2026-07-13 06:50:11] local.INFO: Processing buffer {"connection_id":132384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f590f1708012d80454005d381280000006e12..."} 
[2026-07-13 06:50:11] local.INFO: Packet analysis {"connection_id":132384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f590f"} 
[2026-07-13 06:50:11] local.INFO: Extracted packet for processing {"connection_id":132384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f590f"} 
[2026-07-13 06:50:11] local.INFO: GPS Element Parsed {"raw_longitude":763381056,"raw_latitude":97747240,"longitude_deg":76.3381056,"latitude_deg":9.774724,"altitude":0,"angle":110,"satellites":18,"speed":21,"hex_longitude":"2d804540","hex_latitude":"05d38128","is_valid_coordinates":true} 
[2026-07-13 06:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679830528001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105506653310287872,"note":"Value kept but may cause issues"} 
[2026-07-13 06:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9204372450903457792,"note":"Value kept but may cause issues"} 
[2026-07-13 06:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783905589000,"timestamp_ms":1783905589000,"timestamp_seconds":1783905589,"priority":1,"record_length":96,"hex_timestamp":"0000019f590f1708"} 
[2026-07-13 06:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 06:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-13 06:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 06:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 06:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679830528001,"66":13037,"167":206,"85":15104,"24":21,"16":105506653310287872,"45":-9204372450903457792},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-13 06:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 06:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 06:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679830528001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:50:11] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-13 06:50:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 06:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105506653310287872,"km_value":105506653310287.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9204372450903457792,"description":"Unknown IO ID 45"} 
[2026-07-13 06:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679830528001,"power":13037,"unknown_167":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9204372450903457792}} 
[2026-07-13 06:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":132384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478683,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:50:11] local.INFO: GPS data processed {"connection_id":132384,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:50:11] local.INFO: Acknowledgment sent {"connection_id":132384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:50:12] local.INFO: TCP Data received {"connection_id":130267,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f590c4078012d7f914005afd9380000011b2b..."} 
[2026-07-13 06:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f590c4078012d7f914005afd9380000011b2b..."} 
[2026-07-13 06:50:12] local.INFO: Processing buffer {"connection_id":130267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f590c4078012d7f914005afd9380000011b2b..."} 
[2026-07-13 06:50:12] local.INFO: Packet analysis {"connection_id":130267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f590c"} 
[2026-07-13 06:50:12] local.INFO: Extracted packet for processing {"connection_id":130267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f590c"} 
[2026-07-13 06:50:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679706112001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783905403000,"timestamp_ms":1783905403000,"timestamp_seconds":1783905403,"priority":1,"record_length":96,"hex_timestamp":"0000019f590c4078"} 
[2026-07-13 06:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 06:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679706112001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679706112001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:50:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:50:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679706112001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":130267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:50:12] local.INFO: GPS data processed {"connection_id":130267,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:50:12] local.INFO: Acknowledgment sent {"connection_id":130267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:50:35] local.INFO: TCP Data received {"connection_id":131046,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:50:35] local.INFO: Processing buffer {"connection_id":131046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:50:35] local.INFO: IMEI packet received {"connection_id":131046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":131046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:50:40] local.INFO: TCP Data received {"connection_id":131046,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:50:40] local.INFO: Processing buffer {"connection_id":131046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:50:40] local.INFO: IMEI packet received {"connection_id":131046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":131046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:50:41] local.INFO: TCP Data received {"connection_id":131046,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f590c4078012d7f914005afd9380000011b2b..."} 
[2026-07-13 06:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f590c4078012d7f914005afd9380000011b2b..."} 
[2026-07-13 06:50:41] local.INFO: Processing buffer {"connection_id":131046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f590c4078012d7f914005afd9380000011b2b..."} 
[2026-07-13 06:50:41] local.INFO: Packet analysis {"connection_id":131046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f590c"} 
[2026-07-13 06:50:41] local.INFO: Extracted packet for processing {"connection_id":131046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f590c"} 
[2026-07-13 06:50:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679706112001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783905403000,"timestamp_ms":1783905403000,"timestamp_seconds":1783905403,"priority":1,"record_length":96,"hex_timestamp":"0000019f590c4078"} 
[2026-07-13 06:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 06:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679706112001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679706112001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:50:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:50:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679706112001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":131046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:50:41] local.INFO: GPS data processed {"connection_id":131046,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:50:41] local.INFO: Acknowledgment sent {"connection_id":131046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:50:42] local.INFO: TCP Data received {"connection_id":132384,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f590f1ed8012d804a4005d380380000006012..."} 
[2026-07-13 06:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f590f1ed8012d804a4005d380380000006012..."} 
[2026-07-13 06:50:42] local.INFO: Processing buffer {"connection_id":132384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f590f1ed8012d804a4005d380380000006012..."} 
[2026-07-13 06:50:42] local.INFO: Packet analysis {"connection_id":132384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f590f"} 
[2026-07-13 06:50:42] local.INFO: Extracted packet for processing {"connection_id":132384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f590f"} 
[2026-07-13 06:50:42] local.INFO: GPS Element Parsed {"raw_longitude":763382336,"raw_latitude":97747000,"longitude_deg":76.3382336,"latitude_deg":9.7747,"altitude":0,"angle":96,"satellites":18,"speed":27,"hex_longitude":"2d804a40","hex_latitude":"05d38038","is_valid_coordinates":true} 
[2026-07-13 06:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679830784001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105506717734797312,"note":"Value kept but may cause issues"} 
[2026-07-13 06:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9203879869694269440,"note":"Value kept but may cause issues"} 
[2026-07-13 06:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783905591000,"timestamp_ms":1783905591000,"timestamp_seconds":1783905591,"priority":1,"record_length":96,"hex_timestamp":"0000019f590f1ed8"} 
[2026-07-13 06:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:50:42] 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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 06: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-13 06:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 06:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 06:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679830784001,"66":13189,"167":206,"85":15104,"24":27,"16":105506717734797312,"45":-9203879869694269440},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-13 06:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 06:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 06:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679830784001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:50:42] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-13 06:50:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 06:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105506717734797312,"km_value":105506717734797.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9203879869694269440,"description":"Unknown IO ID 45"} 
[2026-07-13 06:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679830784001,"power":13189,"unknown_167":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9203879869694269440}} 
[2026-07-13 06:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":132384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478686,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:50:42] local.INFO: GPS data processed {"connection_id":132384,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:50:42] local.INFO: Acknowledgment sent {"connection_id":132384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:51:12] local.INFO: TCP Data received {"connection_id":131046,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f590c4078012d7f914005afd9380000011b2b..."} 
[2026-07-13 06:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f590c4078012d7f914005afd9380000011b2b..."} 
[2026-07-13 06:51:12] local.INFO: Processing buffer {"connection_id":131046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f590c4078012d7f914005afd9380000011b2b..."} 
[2026-07-13 06:51:12] local.INFO: Packet analysis {"connection_id":131046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f590c"} 
[2026-07-13 06:51:12] local.INFO: Extracted packet for processing {"connection_id":131046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f590c"} 
[2026-07-13 06:51:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679706112001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783905403000,"timestamp_ms":1783905403000,"timestamp_seconds":1783905403,"priority":1,"record_length":96,"hex_timestamp":"0000019f590c4078"} 
[2026-07-13 06:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 06:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679706112001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679706112001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:51:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:51:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679706112001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":131046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:51:13] local.INFO: GPS data processed {"connection_id":131046,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:51:13] local.INFO: Acknowledgment sent {"connection_id":131046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:51:13] local.INFO: TCP Data received {"connection_id":132384,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f590f49d0012d806f8005d37da00001005c12..."} 
[2026-07-13 06:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f590f49d0012d806f8005d37da00001005c12..."} 
[2026-07-13 06:51:13] local.INFO: Processing buffer {"connection_id":132384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f590f49d0012d806f8005d37da00001005c12..."} 
[2026-07-13 06:51:13] local.INFO: Packet analysis {"connection_id":132384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f590f"} 
[2026-07-13 06:51:13] local.INFO: Extracted packet for processing {"connection_id":132384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f590f"} 
[2026-07-13 06:51:13] local.INFO: GPS Element Parsed {"raw_longitude":763391872,"raw_latitude":97746336,"longitude_deg":76.3391872,"latitude_deg":9.7746336,"altitude":1,"angle":92,"satellites":18,"speed":40,"hex_longitude":"2d806f80","hex_latitude":"05d37da0","is_valid_coordinates":true} 
[2026-07-13 06:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679831296001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105507177296297984,"note":"Value kept but may cause issues"} 
[2026-07-13 06:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9202472494810777600,"note":"Value kept but may cause issues"} 
[2026-07-13 06:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783905602000,"timestamp_ms":1783905602000,"timestamp_seconds":1783905602,"priority":1,"record_length":96,"hex_timestamp":"0000019f590f49d0"} 
[2026-07-13 06:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:51:13] 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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 06: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-13 06:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 06:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 06:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679831296001,"66":13559,"167":206,"85":15104,"24":40,"16":105507177296297984,"45":-9202472494810777600},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-13 06:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 06:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 06:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679831296001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:51:13] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-13 06:51:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 06:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105507177296297984,"km_value":105507177296297.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9202472494810777600,"description":"Unknown IO ID 45"} 
[2026-07-13 06:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679831296001,"power":13559,"unknown_167":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9202472494810777600}} 
[2026-07-13 06:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":132384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478688,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:51:13] local.INFO: GPS data processed {"connection_id":132384,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:51:13] local.INFO: Acknowledgment sent {"connection_id":132384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:51:35] local.INFO: TCP Data received {"connection_id":130268,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:51:35] local.INFO: Processing buffer {"connection_id":130268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:51:35] local.INFO: IMEI packet received {"connection_id":130268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":130268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:51:40] local.INFO: TCP Data received {"connection_id":130268,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:51:40] local.INFO: Processing buffer {"connection_id":130268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:51:40] local.INFO: IMEI packet received {"connection_id":130268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":130268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:51:41] local.INFO: TCP Data received {"connection_id":130268,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f590c4078012d7f914005afd9380000011b2b..."} 
[2026-07-13 06:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f590c4078012d7f914005afd9380000011b2b..."} 
[2026-07-13 06:51:41] local.INFO: Processing buffer {"connection_id":130268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f590c4078012d7f914005afd9380000011b2b..."} 
[2026-07-13 06:51:41] local.INFO: Packet analysis {"connection_id":130268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f590c"} 
[2026-07-13 06:51:41] local.INFO: Extracted packet for processing {"connection_id":130268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f590c"} 
[2026-07-13 06:51:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679706112001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783905403000,"timestamp_ms":1783905403000,"timestamp_seconds":1783905403,"priority":1,"record_length":96,"hex_timestamp":"0000019f590c4078"} 
[2026-07-13 06:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 06:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679706112001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679706112001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:51:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:51:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679706112001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":130268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:51:41] local.INFO: GPS data processed {"connection_id":130268,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:51:41] local.INFO: Acknowledgment sent {"connection_id":130268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:51:44] local.INFO: TCP Data received {"connection_id":132384,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f590f6910012d808a0005d37bd80002006912..."} 
[2026-07-13 06:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f590f6910012d808a0005d37bd80002006912..."} 
[2026-07-13 06:51:44] local.INFO: Processing buffer {"connection_id":132384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f590f6910012d808a0005d37bd80002006912..."} 
[2026-07-13 06:51:44] local.INFO: Packet analysis {"connection_id":132384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f590f"} 
[2026-07-13 06:51:44] local.INFO: Extracted packet for processing {"connection_id":132384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f590f"} 
[2026-07-13 06:51:44] local.INFO: GPS Element Parsed {"raw_longitude":763398656,"raw_latitude":97745880,"longitude_deg":76.3398656,"latitude_deg":9.774588,"altitude":2,"angle":105,"satellites":18,"speed":20,"hex_longitude":"2d808a00","hex_latitude":"05d37bd8","is_valid_coordinates":true} 
[2026-07-13 06:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679834112001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105507499418845184,"note":"Value kept but may cause issues"} 
[2026-07-13 06:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9191987551928475648,"note":"Value kept but may cause issues"} 
[2026-07-13 06:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783905610000,"timestamp_ms":1783905610000,"timestamp_seconds":1783905610,"priority":1,"record_length":96,"hex_timestamp":"0000019f590f6910"} 
[2026-07-13 06:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 06:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-13 06:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 06:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 06:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679834112001,"66":13319,"167":206,"85":15104,"24":20,"16":105507499418845184,"45":-9191987551928475648},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-13 06:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 06:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 06:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679834112001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:51:44] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-13 06:51:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 06:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105507499418845184,"km_value":105507499418845.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9191987551928475648,"description":"Unknown IO ID 45"} 
[2026-07-13 06:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679834112001,"power":13319,"unknown_167":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9191987551928475648}} 
[2026-07-13 06:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":132384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478690,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:51:44] local.INFO: GPS data processed {"connection_id":132384,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:51:44] local.INFO: Acknowledgment sent {"connection_id":132384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:51:59] local.INFO: TCP Data received {"connection_id":132385,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:51:59] local.INFO: Processing buffer {"connection_id":132385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:51:59] local.INFO: IMEI packet received {"connection_id":132385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 06:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":132385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:52:03] local.INFO: TCP Data received {"connection_id":132385,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:52:03] local.INFO: Processing buffer {"connection_id":132385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:52:03] local.INFO: IMEI packet received {"connection_id":132385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 06:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":132385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:52:08] local.INFO: TCP Data received {"connection_id":132385,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:52:08] local.INFO: Processing buffer {"connection_id":132385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 06:52:08] local.INFO: IMEI packet received {"connection_id":132385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 06:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":132385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:52:08] local.INFO: TCP Data received {"connection_id":132385,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5910ff50012d819b0005d33e400003004015..."} 
[2026-07-13 06:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5910ff50012d819b0005d33e400003004015..."} 
[2026-07-13 06:52:08] local.INFO: Processing buffer {"connection_id":132385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5910ff50012d819b0005d33e400003004015..."} 
[2026-07-13 06:52:08] local.INFO: Packet analysis {"connection_id":132385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5910"} 
[2026-07-13 06:52:08] local.INFO: Extracted packet for processing {"connection_id":132385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5910"} 
[2026-07-13 06:52:08] local.INFO: GPS Element Parsed {"raw_longitude":763468544,"raw_latitude":97730112,"longitude_deg":76.3468544,"latitude_deg":9.7730112,"altitude":3,"angle":64,"satellites":21,"speed":8,"hex_longitude":"2d819b00","hex_latitude":"05d33e40","is_valid_coordinates":true} 
[2026-07-13 06:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679862528001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105511021292027904,"note":"Value kept but may cause issues"} 
[2026-07-13 06:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9107896902640343040,"note":"Value kept but may cause issues"} 
[2026-07-13 06:52: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-07-13 06:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783905714000,"timestamp_ms":1783905714000,"timestamp_seconds":1783905714,"priority":1,"record_length":96,"hex_timestamp":"0000019f5910ff50"} 
[2026-07-13 06:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 06:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-13 06:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2449958197457323008,"note":"Value kept but may cause issues"} 
[2026-07-13 06:52:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 06:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2166243333,"note":"Value kept but may cause issues"} 
[2026-07-13 06:52:08] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2348810240,"note":"Value kept but may cause issues"} 
[2026-07-13 06:52:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-13 06:52:08] local.WARNING: Large IO value detected {"io_id":89,"raw_value":1152217822223457600,"note":"Value kept but may cause issues"} 
[2026-07-13 06:52:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010054862,"corrected_to":0} 
[2026-07-13 06:52:08] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2684431745,"note":"Value kept but may cause issues"} 
[2026-07-13 06:52:08] local.WARNING: Large IO value detected {"io_id":118,"raw_value":3629252608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:52:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3218077020336392684,"note":"Value kept but may cause issues"} 
[2026-07-13 06:52:08] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-6917303113183343019,"note":"Value kept but may cause issues"} 
[2026-07-13 06:52:08] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755541175107825,"note":"Value kept but may cause issues"} 
[2026-07-13 06:52:08] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,207,85,24,241,157,16,217,159,196,45,192,62,2,20,10,66,142,60,4,216,99,128,1,240,56,227,89,211,113,205,34,75,30,32,239,53,118,5,33,52,59,237],"length":535,"final_offset":665,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2010054862,"validated":0}]} 
[2026-07-13 06:52:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216257534704156672,"timestamp_seconds":216257534704156.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 06:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 06:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 06:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 06:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679862528001,"66":12809,"207":206,"85":15104,"24":8,"16":105511021292027904,"45":-9107896902640343040},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-13 06:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 06:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 06:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679862528001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:52:08] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-13 06:52:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 06:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105511021292027904,"km_value":105511021292027.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9107896902640343040,"description":"Unknown IO ID 45"} 
[2026-07-13 06:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679862528001,"power":12809,"unknown_207":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9107896902640343040}} 
[2026-07-13 06:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":132385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478691,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:52:08] local.INFO: GPS data processed {"connection_id":132385,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:52:08] local.INFO: Acknowledgment sent {"connection_id":132385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:52:12] local.INFO: TCP Data received {"connection_id":130268,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f590c4078012d7f914005afd9380000011b2b..."} 
[2026-07-13 06:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f590c4078012d7f914005afd9380000011b2b..."} 
[2026-07-13 06:52:12] local.INFO: Processing buffer {"connection_id":130268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f590c4078012d7f914005afd9380000011b2b..."} 
[2026-07-13 06:52:12] local.INFO: Packet analysis {"connection_id":130268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f590c"} 
[2026-07-13 06:52:12] local.INFO: Extracted packet for processing {"connection_id":130268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f590c"} 
[2026-07-13 06:52:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679706112001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783905403000,"timestamp_ms":1783905403000,"timestamp_seconds":1783905403,"priority":1,"record_length":96,"hex_timestamp":"0000019f590c4078"} 
[2026-07-13 06:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 06:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679706112001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679706112001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:52:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:52:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679706112001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":130268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:52:12] local.INFO: GPS data processed {"connection_id":130268,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:52:12] local.INFO: Acknowledgment sent {"connection_id":130268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:52:40] local.INFO: TCP Data received {"connection_id":131048,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:52:40] local.INFO: Processing buffer {"connection_id":131048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:52:40] local.INFO: IMEI packet received {"connection_id":131048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":131048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:52:45] local.INFO: TCP Data received {"connection_id":131048,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:52:45] local.INFO: Processing buffer {"connection_id":131048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:52:45] local.INFO: IMEI packet received {"connection_id":131048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":131048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:52:46] local.INFO: TCP Data received {"connection_id":131048,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5910d840012d7f914005afd9380000011b2a..."} 
[2026-07-13 06:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5910d840012d7f914005afd9380000011b2a..."} 
[2026-07-13 06:52:46] local.INFO: Processing buffer {"connection_id":131048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5910d840012d7f914005afd9380000011b2a..."} 
[2026-07-13 06:52:46] local.INFO: Packet analysis {"connection_id":131048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5910"} 
[2026-07-13 06:52:46] local.INFO: Extracted packet for processing {"connection_id":131048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5910"} 
[2026-07-13 06:52:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679783168001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783905704000,"timestamp_ms":1783905704000,"timestamp_seconds":1783905704,"priority":1,"record_length":96,"hex_timestamp":"0000019f5910d840"} 
[2026-07-13 06:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679783168001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679783168001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:52:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:52:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679783168001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":131048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:52:46] local.INFO: GPS data processed {"connection_id":131048,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:52:46] local.INFO: Acknowledgment sent {"connection_id":131048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:52:51] local.INFO: TCP Data received {"connection_id":131048,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5910d840012d7f914005afd9380000011b2a..."} 
[2026-07-13 06:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5910d840012d7f914005afd9380000011b2a..."} 
[2026-07-13 06:52:51] local.INFO: Processing buffer {"connection_id":131048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5910d840012d7f914005afd9380000011b2a..."} 
[2026-07-13 06:52:51] local.INFO: Packet analysis {"connection_id":131048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5910"} 
[2026-07-13 06:52:51] local.INFO: Extracted packet for processing {"connection_id":131048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5910"} 
[2026-07-13 06:52:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06: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-07-13 06:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679783168001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783905704000,"timestamp_ms":1783905704000,"timestamp_seconds":1783905704,"priority":1,"record_length":96,"hex_timestamp":"0000019f5910d840"} 
[2026-07-13 06:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06: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-07-13 06:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":131048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":131048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":131048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679783168001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679783168001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:52:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:52:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679783168001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":131048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:52:51] local.INFO: GPS data processed {"connection_id":131048,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:52:51] local.INFO: Acknowledgment sent {"connection_id":131048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:53:35] local.INFO: TCP Data received {"connection_id":130070,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:53:35] local.INFO: Processing buffer {"connection_id":130070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:53:35] local.INFO: IMEI packet received {"connection_id":130070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":130070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:53:40] local.INFO: TCP Data received {"connection_id":130070,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:53:40] local.INFO: Processing buffer {"connection_id":130070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:53:40] local.INFO: IMEI packet received {"connection_id":130070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":130070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:53:41] local.INFO: TCP Data received {"connection_id":130070,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5910d840012d7f914005afd9380000011b2a..."} 
[2026-07-13 06:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5910d840012d7f914005afd9380000011b2a..."} 
[2026-07-13 06:53:41] local.INFO: Processing buffer {"connection_id":130070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5910d840012d7f914005afd9380000011b2a..."} 
[2026-07-13 06:53:41] local.INFO: Packet analysis {"connection_id":130070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5910"} 
[2026-07-13 06:53:41] local.INFO: Extracted packet for processing {"connection_id":130070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5910"} 
[2026-07-13 06:53:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679783168001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783905704000,"timestamp_ms":1783905704000,"timestamp_seconds":1783905704,"priority":1,"record_length":96,"hex_timestamp":"0000019f5910d840"} 
[2026-07-13 06:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679783168001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679783168001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:53:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:53:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679783168001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":130070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:53:41] local.INFO: GPS data processed {"connection_id":130070,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:53:41] local.INFO: Acknowledgment sent {"connection_id":130070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:54:12] local.INFO: TCP Data received {"connection_id":130070,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5910d840012d7f914005afd9380000011b2a..."} 
[2026-07-13 06:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5910d840012d7f914005afd9380000011b2a..."} 
[2026-07-13 06:54:12] local.INFO: Processing buffer {"connection_id":130070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5910d840012d7f914005afd9380000011b2a..."} 
[2026-07-13 06:54:12] local.INFO: Packet analysis {"connection_id":130070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5910"} 
[2026-07-13 06:54:12] local.INFO: Extracted packet for processing {"connection_id":130070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5910"} 
[2026-07-13 06:54:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679783168001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783905704000,"timestamp_ms":1783905704000,"timestamp_seconds":1783905704,"priority":1,"record_length":96,"hex_timestamp":"0000019f5910d840"} 
[2026-07-13 06:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679783168001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679783168001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:54:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:54:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679783168001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":130070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:54:12] local.INFO: GPS data processed {"connection_id":130070,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:54:12] local.INFO: Acknowledgment sent {"connection_id":130070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:54:35] local.INFO: TCP Data received {"connection_id":130270,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:54:35] local.INFO: Processing buffer {"connection_id":130270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:54:35] local.INFO: IMEI packet received {"connection_id":130270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":130270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:54:40] local.INFO: TCP Data received {"connection_id":130270,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:54:40] local.INFO: Processing buffer {"connection_id":130270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:54:40] local.INFO: IMEI packet received {"connection_id":130270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":130270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:54:41] local.INFO: TCP Data received {"connection_id":130270,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5910d840012d7f914005afd9380000011b2a..."} 
[2026-07-13 06:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5910d840012d7f914005afd9380000011b2a..."} 
[2026-07-13 06:54:41] local.INFO: Processing buffer {"connection_id":130270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5910d840012d7f914005afd9380000011b2a..."} 
[2026-07-13 06:54:41] local.INFO: Packet analysis {"connection_id":130270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5910"} 
[2026-07-13 06:54:41] local.INFO: Extracted packet for processing {"connection_id":130270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5910"} 
[2026-07-13 06:54:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679783168001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783905704000,"timestamp_ms":1783905704000,"timestamp_seconds":1783905704,"priority":1,"record_length":96,"hex_timestamp":"0000019f5910d840"} 
[2026-07-13 06:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679783168001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679783168001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:54:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:54:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679783168001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":130270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:54:41] local.INFO: GPS data processed {"connection_id":130270,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:54:41] local.INFO: Acknowledgment sent {"connection_id":130270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:55:01] local.INFO: TCP Data received {"connection_id":130271,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130271,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:55:01] local.INFO: Processing buffer {"connection_id":130271,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:55:01] local.INFO: IMEI packet received {"connection_id":130271,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 06:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":130271,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:55:12] local.INFO: TCP Data received {"connection_id":130270,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5910d840012d7f914005afd9380000011b2a..."} 
[2026-07-13 06:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5910d840012d7f914005afd9380000011b2a..."} 
[2026-07-13 06:55:12] local.INFO: Processing buffer {"connection_id":130270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5910d840012d7f914005afd9380000011b2a..."} 
[2026-07-13 06:55:12] local.INFO: Packet analysis {"connection_id":130270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5910"} 
[2026-07-13 06:55:12] local.INFO: Extracted packet for processing {"connection_id":130270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5910"} 
[2026-07-13 06:55:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679783168001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783905704000,"timestamp_ms":1783905704000,"timestamp_seconds":1783905704,"priority":1,"record_length":96,"hex_timestamp":"0000019f5910d840"} 
[2026-07-13 06:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679783168001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679783168001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:55:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:55:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679783168001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":130270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:55:12] local.INFO: GPS data processed {"connection_id":130270,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:55:12] local.INFO: Acknowledgment sent {"connection_id":130270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:55:35] local.INFO: TCP Data received {"connection_id":131050,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:55:35] local.INFO: Processing buffer {"connection_id":131050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:55:35] local.INFO: IMEI packet received {"connection_id":131050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":131050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:55:40] local.INFO: TCP Data received {"connection_id":131050,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:55:40] local.INFO: Processing buffer {"connection_id":131050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:55:40] local.INFO: IMEI packet received {"connection_id":131050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":131050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:55:41] local.INFO: TCP Data received {"connection_id":131050,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5910d840012d7f914005afd9380000011b2a..."} 
[2026-07-13 06:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5910d840012d7f914005afd9380000011b2a..."} 
[2026-07-13 06:55:41] local.INFO: Processing buffer {"connection_id":131050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5910d840012d7f914005afd9380000011b2a..."} 
[2026-07-13 06:55:41] local.INFO: Packet analysis {"connection_id":131050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5910"} 
[2026-07-13 06:55:41] local.INFO: Extracted packet for processing {"connection_id":131050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5910"} 
[2026-07-13 06:55:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06: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-07-13 06:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679783168001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783905704000,"timestamp_ms":1783905704000,"timestamp_seconds":1783905704,"priority":1,"record_length":96,"hex_timestamp":"0000019f5910d840"} 
[2026-07-13 06:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06: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-07-13 06:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679783168001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679783168001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:55:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:55:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679783168001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":131050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:55:41] local.INFO: GPS data processed {"connection_id":131050,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:55:41] local.INFO: Acknowledgment sent {"connection_id":131050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:55:46] local.INFO: TCP Data received {"connection_id":132387,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132387,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:55:46] local.INFO: Processing buffer {"connection_id":132387,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 06:55:46] local.INFO: IMEI packet received {"connection_id":132387,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 06:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":132387,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:56:12] local.INFO: TCP Data received {"connection_id":131050,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5910d840012d7f914005afd9380000011b2a..."} 
[2026-07-13 06:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5910d840012d7f914005afd9380000011b2a..."} 
[2026-07-13 06:56:12] local.INFO: Processing buffer {"connection_id":131050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5910d840012d7f914005afd9380000011b2a..."} 
[2026-07-13 06:56:12] local.INFO: Packet analysis {"connection_id":131050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5910"} 
[2026-07-13 06:56:12] local.INFO: Extracted packet for processing {"connection_id":131050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5910"} 
[2026-07-13 06:56:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679783168001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783905704000,"timestamp_ms":1783905704000,"timestamp_seconds":1783905704,"priority":1,"record_length":96,"hex_timestamp":"0000019f5910d840"} 
[2026-07-13 06:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679783168001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679783168001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:56:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:56:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679783168001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":131050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:56:12] local.INFO: GPS data processed {"connection_id":131050,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:56:12] local.INFO: Acknowledgment sent {"connection_id":131050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:56:35] local.INFO: TCP Data received {"connection_id":130272,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:56:35] local.INFO: Processing buffer {"connection_id":130272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:56:35] local.INFO: IMEI packet received {"connection_id":130272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":130272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:56:40] local.INFO: TCP Data received {"connection_id":130272,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:56:40] local.INFO: Processing buffer {"connection_id":130272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:56:40] local.INFO: IMEI packet received {"connection_id":130272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":130272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:56:41] local.INFO: TCP Data received {"connection_id":130272,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5910d840012d7f914005afd9380000011b2a..."} 
[2026-07-13 06:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5910d840012d7f914005afd9380000011b2a..."} 
[2026-07-13 06:56:41] local.INFO: Processing buffer {"connection_id":130272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5910d840012d7f914005afd9380000011b2a..."} 
[2026-07-13 06:56:41] local.INFO: Packet analysis {"connection_id":130272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5910"} 
[2026-07-13 06:56:41] local.INFO: Extracted packet for processing {"connection_id":130272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5910"} 
[2026-07-13 06:56:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679783168001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783905704000,"timestamp_ms":1783905704000,"timestamp_seconds":1783905704,"priority":1,"record_length":96,"hex_timestamp":"0000019f5910d840"} 
[2026-07-13 06:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679783168001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679783168001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:56:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679783168001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":130272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:56:41] local.INFO: GPS data processed {"connection_id":130272,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:56:41] local.INFO: Acknowledgment sent {"connection_id":130272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:57:12] local.INFO: TCP Data received {"connection_id":130272,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5910d840012d7f914005afd9380000011b2a..."} 
[2026-07-13 06:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5910d840012d7f914005afd9380000011b2a..."} 
[2026-07-13 06:57:12] local.INFO: Processing buffer {"connection_id":130272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5910d840012d7f914005afd9380000011b2a..."} 
[2026-07-13 06:57:12] local.INFO: Packet analysis {"connection_id":130272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5910"} 
[2026-07-13 06:57:12] local.INFO: Extracted packet for processing {"connection_id":130272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5910"} 
[2026-07-13 06:57:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679783168001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783905704000,"timestamp_ms":1783905704000,"timestamp_seconds":1783905704,"priority":1,"record_length":96,"hex_timestamp":"0000019f5910d840"} 
[2026-07-13 06:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 06:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679783168001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679783168001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:57:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:57:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679783168001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":130272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:57:12] local.INFO: GPS data processed {"connection_id":130272,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:57:12] local.INFO: Acknowledgment sent {"connection_id":130272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:57:35] local.INFO: TCP Data received {"connection_id":130273,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:57:35] local.INFO: Processing buffer {"connection_id":130273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:57:35] local.INFO: IMEI packet received {"connection_id":130273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":130273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:57:40] local.INFO: TCP Data received {"connection_id":130273,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:57:40] local.INFO: Processing buffer {"connection_id":130273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:57:40] local.INFO: IMEI packet received {"connection_id":130273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":130273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:57:41] local.INFO: TCP Data received {"connection_id":130273,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f59157008012d7f914005afd9380000011b26..."} 
[2026-07-13 06:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59157008012d7f914005afd9380000011b26..."} 
[2026-07-13 06:57:41] local.INFO: Processing buffer {"connection_id":130273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59157008012d7f914005afd9380000011b26..."} 
[2026-07-13 06:57:41] local.INFO: Packet analysis {"connection_id":130273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5915"} 
[2026-07-13 06:57:41] local.INFO: Extracted packet for processing {"connection_id":130273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5915"} 
[2026-07-13 06:57:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679860224001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783906005000,"timestamp_ms":1783906005000,"timestamp_seconds":1783906005,"priority":1,"record_length":96,"hex_timestamp":"0000019f59157008"} 
[2026-07-13 06:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 06:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679860224001,"66":24658,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679860224001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:57:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:57:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679860224001,"power":24658,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":130273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:57:41] local.INFO: GPS data processed {"connection_id":130273,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:57:41] local.INFO: Acknowledgment sent {"connection_id":130273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:58:12] local.INFO: TCP Data received {"connection_id":130273,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f59157008012d7f914005afd9380000011b26..."} 
[2026-07-13 06:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59157008012d7f914005afd9380000011b26..."} 
[2026-07-13 06:58:12] local.INFO: Processing buffer {"connection_id":130273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59157008012d7f914005afd9380000011b26..."} 
[2026-07-13 06:58:12] local.INFO: Packet analysis {"connection_id":130273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5915"} 
[2026-07-13 06:58:12] local.INFO: Extracted packet for processing {"connection_id":130273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5915"} 
[2026-07-13 06:58:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679860224001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783906005000,"timestamp_ms":1783906005000,"timestamp_seconds":1783906005,"priority":1,"record_length":96,"hex_timestamp":"0000019f59157008"} 
[2026-07-13 06:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 06:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679860224001,"66":24658,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679860224001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:58:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:58:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679860224001,"power":24658,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":130273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:58:12] local.INFO: GPS data processed {"connection_id":130273,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:58:12] local.INFO: Acknowledgment sent {"connection_id":130273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:58:35] local.INFO: TCP Data received {"connection_id":130071,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:58:35] local.INFO: Processing buffer {"connection_id":130071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:58:35] local.INFO: IMEI packet received {"connection_id":130071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":130071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:58:40] local.INFO: TCP Data received {"connection_id":130071,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:58:40] local.INFO: Processing buffer {"connection_id":130071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:58:40] local.INFO: IMEI packet received {"connection_id":130071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":130071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:58:41] local.INFO: TCP Data received {"connection_id":130071,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59157008012d7f914005afd9380000011b26..."} 
[2026-07-13 06:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59157008012d7f914005afd9380000011b26..."} 
[2026-07-13 06:58:41] local.INFO: Processing buffer {"connection_id":130071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59157008012d7f914005afd9380000011b26..."} 
[2026-07-13 06:58:41] local.INFO: Packet analysis {"connection_id":130071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5915"} 
[2026-07-13 06:58:41] local.INFO: Extracted packet for processing {"connection_id":130071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5915"} 
[2026-07-13 06:58:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679860224001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783906005000,"timestamp_ms":1783906005000,"timestamp_seconds":1783906005,"priority":1,"record_length":96,"hex_timestamp":"0000019f59157008"} 
[2026-07-13 06:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 06:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679860224001,"66":24658,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679860224001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:58:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:58:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679860224001,"power":24658,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":130071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:58:41] local.INFO: GPS data processed {"connection_id":130071,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:58:41] local.INFO: Acknowledgment sent {"connection_id":130071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:59:12] local.INFO: TCP Data received {"connection_id":130071,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59157008012d7f914005afd9380000011b26..."} 
[2026-07-13 06:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59157008012d7f914005afd9380000011b26..."} 
[2026-07-13 06:59:12] local.INFO: Processing buffer {"connection_id":130071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59157008012d7f914005afd9380000011b26..."} 
[2026-07-13 06:59:12] local.INFO: Packet analysis {"connection_id":130071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5915"} 
[2026-07-13 06:59:12] local.INFO: Extracted packet for processing {"connection_id":130071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5915"} 
[2026-07-13 06:59:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679860224001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783906005000,"timestamp_ms":1783906005000,"timestamp_seconds":1783906005,"priority":1,"record_length":96,"hex_timestamp":"0000019f59157008"} 
[2026-07-13 06:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 06:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679860224001,"66":24658,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679860224001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:59:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:59:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679860224001,"power":24658,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":130071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:59:12] local.INFO: GPS data processed {"connection_id":130071,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:59:12] local.INFO: Acknowledgment sent {"connection_id":130071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 06:59:35] local.INFO: TCP Data received {"connection_id":132390,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:59:35] local.INFO: Processing buffer {"connection_id":132390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:59:35] local.INFO: IMEI packet received {"connection_id":132390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 06:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":132390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 06:59:40] local.INFO: TCP Data received {"connection_id":132390,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:59:40] local.INFO: Processing buffer {"connection_id":132390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 06:59:40] local.INFO: IMEI packet received {"connection_id":132390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 06:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":132390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 06:59:41] local.INFO: TCP Data received {"connection_id":132390,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f59157008012d7f914005afd9380000011b26..."} 
[2026-07-13 06:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59157008012d7f914005afd9380000011b26..."} 
[2026-07-13 06:59:41] local.INFO: Processing buffer {"connection_id":132390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59157008012d7f914005afd9380000011b26..."} 
[2026-07-13 06:59:41] local.INFO: Packet analysis {"connection_id":132390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5915"} 
[2026-07-13 06:59:41] local.INFO: Extracted packet for processing {"connection_id":132390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5915"} 
[2026-07-13 06:59:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 06:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 06:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679860224001,"note":"Value kept but may cause issues"} 
[2026-07-13 06:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 06:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 06:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 06:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783906005000,"timestamp_ms":1783906005000,"timestamp_seconds":1783906005,"priority":1,"record_length":96,"hex_timestamp":"0000019f59157008"} 
[2026-07-13 06:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 06:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 06:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 06:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 06:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 06:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 06:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 06:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 06:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 06:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 06:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 06:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 06:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679860224001,"66":24658,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 06:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 06:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 06:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679860224001,"description":"Unknown IO ID 0"} 
[2026-07-13 06:59:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 06:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 06:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 06:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 06:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679860224001,"power":24658,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 06:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":132390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 06:59:41] local.INFO: GPS data processed {"connection_id":132390,"processed":1,"errors":0,"total":1} 
[2026-07-13 06:59:41] local.INFO: Acknowledgment sent {"connection_id":132390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:00:03] local.INFO: TCP Data received {"connection_id":131052,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:00:03] local.INFO: Processing buffer {"connection_id":131052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:00:03] local.INFO: IMEI packet received {"connection_id":131052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":131052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:00:04] local.INFO: TCP Data received {"connection_id":131052,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:00:04] local.INFO: Processing buffer {"connection_id":131052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:00:04] local.INFO: IMEI packet received {"connection_id":131052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":131052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:00:08] local.INFO: TCP Data received {"connection_id":131052,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:00:08] local.INFO: Processing buffer {"connection_id":131052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:00:08] local.INFO: IMEI packet received {"connection_id":131052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":131052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:00:09] local.INFO: TCP Data received {"connection_id":131052,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-13 07:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131052,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-13 07:00:09] local.INFO: Processing buffer {"connection_id":131052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-13 07:00:09] local.INFO: Packet analysis {"connection_id":131052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-13 07:00:09] local.INFO: Extracted packet for processing {"connection_id":131052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-13 07:00: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-07-13 07:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105511094306471936,"note":"Value kept but may cause issues"} 
[2026-07-13 07:00:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,207,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 07:00:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 07:00:09] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-13 07:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":131052,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":131052,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-13 07:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":131052,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-13 07:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-13 07:00:09] local.WARNING: DEBUG: No valid data to process  
[2026-07-13 07:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":131052,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-13 07:00:09] local.ERROR: GPS data processing failed {"connection_id":131052,"error":"No valid data to process"} 
[2026-07-13 07:00:09] local.INFO: Acknowledgment sent {"connection_id":131052,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-13 07:00:12] local.INFO: TCP Data received {"connection_id":132390,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f59157008012d7f914005afd9380000011b26..."} 
[2026-07-13 07:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59157008012d7f914005afd9380000011b26..."} 
[2026-07-13 07:00:12] local.INFO: Processing buffer {"connection_id":132390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59157008012d7f914005afd9380000011b26..."} 
[2026-07-13 07:00:12] local.INFO: Packet analysis {"connection_id":132390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5915"} 
[2026-07-13 07:00:12] local.INFO: Extracted packet for processing {"connection_id":132390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5915"} 
[2026-07-13 07:00:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679860224001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783906005000,"timestamp_ms":1783906005000,"timestamp_seconds":1783906005,"priority":1,"record_length":96,"hex_timestamp":"0000019f59157008"} 
[2026-07-13 07:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679860224001,"66":24658,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 07:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679860224001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:00:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 07:00:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679860224001,"power":24658,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":132390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:00:12] local.INFO: GPS data processed {"connection_id":132390,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:00:12] local.INFO: Acknowledgment sent {"connection_id":132390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:00:35] local.INFO: TCP Data received {"connection_id":130275,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:00:35] local.INFO: Processing buffer {"connection_id":130275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:00:35] local.INFO: IMEI packet received {"connection_id":130275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":130275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:00:40] local.INFO: TCP Data received {"connection_id":131052,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-13 07:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131052,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-13 07:00:40] local.INFO: Processing buffer {"connection_id":131052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-13 07:00:40] local.INFO: Packet analysis {"connection_id":131052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-13 07:00:40] local.INFO: Extracted packet for processing {"connection_id":131052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-13 07:00: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-07-13 07:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105511094306471936,"note":"Value kept but may cause issues"} 
[2026-07-13 07:00:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,207,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 07:00:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 07:00:40] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-13 07:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131052,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131052,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-13 07:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131052,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-13 07:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-13 07:00:40] local.WARNING: DEBUG: No valid data to process  
[2026-07-13 07:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":131052,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-13 07:00:40] local.ERROR: GPS data processing failed {"connection_id":131052,"error":"No valid data to process"} 
[2026-07-13 07:00:40] local.INFO: Acknowledgment sent {"connection_id":131052,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-13 07:00:40] local.INFO: TCP Data received {"connection_id":130275,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:00:40] local.INFO: Processing buffer {"connection_id":130275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:00:40] local.INFO: IMEI packet received {"connection_id":130275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":130275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:00:41] local.INFO: TCP Data received {"connection_id":130275,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f59157008012d7f914005afd9380000011b26..."} 
[2026-07-13 07:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59157008012d7f914005afd9380000011b26..."} 
[2026-07-13 07:00:41] local.INFO: Processing buffer {"connection_id":130275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59157008012d7f914005afd9380000011b26..."} 
[2026-07-13 07:00:41] local.INFO: Packet analysis {"connection_id":130275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5915"} 
[2026-07-13 07:00:41] local.INFO: Extracted packet for processing {"connection_id":130275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5915"} 
[2026-07-13 07:00:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679860224001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783906005000,"timestamp_ms":1783906005000,"timestamp_seconds":1783906005,"priority":1,"record_length":96,"hex_timestamp":"0000019f59157008"} 
[2026-07-13 07:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679860224001,"66":24658,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 07:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679860224001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:00:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 07:00:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679860224001,"power":24658,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":130275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:00:41] local.INFO: GPS data processed {"connection_id":130275,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:00:41] local.INFO: Acknowledgment sent {"connection_id":130275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:01:11] local.INFO: TCP Data received {"connection_id":131052,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f591919880100000000000000000000000000..."} 
[2026-07-13 07:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591919880100000000000000000000000000..."} 
[2026-07-13 07:01:11] local.INFO: Processing buffer {"connection_id":131052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591919880100000000000000000000000000..."} 
[2026-07-13 07:01:11] local.INFO: Packet analysis {"connection_id":131052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5919"} 
[2026-07-13 07:01:11] local.INFO: Extracted packet for processing {"connection_id":131052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5919"} 
[2026-07-13 07:01:11] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 07:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105511094306471936,"note":"Value kept but may cause issues"} 
[2026-07-13 07:01:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,207,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 07:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783906245000,"timestamp_ms":1783906245000,"timestamp_seconds":1783906245,"priority":1,"record_length":96,"hex_timestamp":"0000019f59191988"} 
[2026-07-13 07:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-13 07:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:01: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-07-13 07:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":131052,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 07:01:11] local.INFO: GPS data processed {"connection_id":131052,"processed":0,"errors":0,"total":1} 
[2026-07-13 07:01:11] local.INFO: Acknowledgment sent {"connection_id":131052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:01:13] local.INFO: TCP Data received {"connection_id":130275,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f59157008012d7f914005afd9380000011b26..."} 
[2026-07-13 07:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59157008012d7f914005afd9380000011b26..."} 
[2026-07-13 07:01:13] local.INFO: Processing buffer {"connection_id":130275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59157008012d7f914005afd9380000011b26..."} 
[2026-07-13 07:01:13] local.INFO: Packet analysis {"connection_id":130275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5915"} 
[2026-07-13 07:01:13] local.INFO: Extracted packet for processing {"connection_id":130275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5915"} 
[2026-07-13 07:01:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679860224001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783906005000,"timestamp_ms":1783906005000,"timestamp_seconds":1783906005,"priority":1,"record_length":96,"hex_timestamp":"0000019f59157008"} 
[2026-07-13 07:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:01:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679860224001,"66":24658,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 07:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679860224001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:01:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 07:01:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679860224001,"power":24658,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":130275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:01:13] local.INFO: GPS data processed {"connection_id":130275,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:01:13] local.INFO: Acknowledgment sent {"connection_id":130275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:01:16] local.INFO: TCP Data received {"connection_id":130276,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:01:16] local.INFO: Processing buffer {"connection_id":130276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:01:16] local.INFO: IMEI packet received {"connection_id":130276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 07:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":130276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:01:40] local.INFO: TCP Data received {"connection_id":130277,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130277,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:01:40] local.INFO: Processing buffer {"connection_id":130277,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:01:40] local.INFO: IMEI packet received {"connection_id":130277,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 07:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":130277,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:01:42] local.INFO: TCP Data received {"connection_id":131052,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59196b900100000000000000000000000000..."} 
[2026-07-13 07:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59196b900100000000000000000000000000..."} 
[2026-07-13 07:01:42] local.INFO: Processing buffer {"connection_id":131052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59196b900100000000000000000000000000..."} 
[2026-07-13 07:01:42] local.INFO: Packet analysis {"connection_id":131052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5919"} 
[2026-07-13 07:01:42] local.INFO: Extracted packet for processing {"connection_id":131052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5919"} 
[2026-07-13 07:01:42] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 07:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105511094306471936,"note":"Value kept but may cause issues"} 
[2026-07-13 07:01:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,207,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 07:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783906266000,"timestamp_ms":1783906266000,"timestamp_seconds":1783906266,"priority":1,"record_length":96,"hex_timestamp":"0000019f59196b90"} 
[2026-07-13 07:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1024,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-13 07:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":131052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":131052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":131052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:01: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-07-13 07:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":131052,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 07:01:42] local.INFO: GPS data processed {"connection_id":131052,"processed":0,"errors":0,"total":1} 
[2026-07-13 07:01:42] local.INFO: Acknowledgment sent {"connection_id":131052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:01:50] local.INFO: TCP Data received {"connection_id":131053,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:01:50] local.INFO: Processing buffer {"connection_id":131053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:01:50] local.INFO: IMEI packet received {"connection_id":131053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":131053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:02:00] local.INFO: TCP Data received {"connection_id":131053,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:02:00] local.INFO: Processing buffer {"connection_id":131053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:02:00] local.INFO: IMEI packet received {"connection_id":131053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":131053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:02:01] local.INFO: TCP Data received {"connection_id":131053,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:02:01] local.INFO: Processing buffer {"connection_id":131053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:02:01] local.INFO: IMEI packet received {"connection_id":131053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":131053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:02:02] local.INFO: TCP Data received {"connection_id":131053,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f59157008012d7f914005afd9380000011b26..."} 
[2026-07-13 07:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59157008012d7f914005afd9380000011b26..."} 
[2026-07-13 07:02:02] local.INFO: Processing buffer {"connection_id":131053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59157008012d7f914005afd9380000011b26..."} 
[2026-07-13 07:02:02] local.INFO: Packet analysis {"connection_id":131053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5915"} 
[2026-07-13 07:02:02] local.INFO: Extracted packet for processing {"connection_id":131053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5915"} 
[2026-07-13 07:02:02] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679860224001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783906005000,"timestamp_ms":1783906005000,"timestamp_seconds":1783906005,"priority":1,"record_length":96,"hex_timestamp":"0000019f59157008"} 
[2026-07-13 07:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:02:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":131053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":131053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":131053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679860224001,"66":24658,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 07:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679860224001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:02:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 07:02:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679860224001,"power":24658,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":131053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:02:02] local.INFO: GPS data processed {"connection_id":131053,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:02:02] local.INFO: Acknowledgment sent {"connection_id":131053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:02:05] local.INFO: TCP Data received {"connection_id":131053,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f59157008012d7f914005afd9380000011b26..."} 
[2026-07-13 07:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59157008012d7f914005afd9380000011b26..."} 
[2026-07-13 07:02:05] local.INFO: Processing buffer {"connection_id":131053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59157008012d7f914005afd9380000011b26..."} 
[2026-07-13 07:02:05] local.INFO: Packet analysis {"connection_id":131053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5915"} 
[2026-07-13 07:02:05] local.INFO: Extracted packet for processing {"connection_id":131053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5915"} 
[2026-07-13 07:02:05] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679860224001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783906005000,"timestamp_ms":1783906005000,"timestamp_seconds":1783906005,"priority":1,"record_length":96,"hex_timestamp":"0000019f59157008"} 
[2026-07-13 07:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":131053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":131053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":131053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679860224001,"66":24658,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 07:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679860224001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:02:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 07:02:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679860224001,"power":24658,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":131053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:02:05] local.INFO: GPS data processed {"connection_id":131053,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:02:05] local.INFO: Acknowledgment sent {"connection_id":131053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:02:13] local.INFO: TCP Data received {"connection_id":131052,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5919bd980100000000000000000000000000..."} 
[2026-07-13 07:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5919bd980100000000000000000000000000..."} 
[2026-07-13 07:02:13] local.INFO: Processing buffer {"connection_id":131052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5919bd980100000000000000000000000000..."} 
[2026-07-13 07:02:13] local.INFO: Packet analysis {"connection_id":131052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5919"} 
[2026-07-13 07:02:13] local.INFO: Extracted packet for processing {"connection_id":131052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5919"} 
[2026-07-13 07:02:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 07:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105511094306471936,"note":"Value kept but may cause issues"} 
[2026-07-13 07:02:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,207,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 07:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783906287000,"timestamp_ms":1783906287000,"timestamp_seconds":1783906287,"priority":1,"record_length":96,"hex_timestamp":"0000019f5919bd98"} 
[2026-07-13 07:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2048,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-13 07:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:02: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-07-13 07:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":131052,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 07:02:13] local.INFO: GPS data processed {"connection_id":131052,"processed":0,"errors":0,"total":1} 
[2026-07-13 07:02:13] local.INFO: Acknowledgment sent {"connection_id":131052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:02:40] local.INFO: TCP Data received {"connection_id":130073,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:02:40] local.INFO: Processing buffer {"connection_id":130073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:02:40] local.INFO: IMEI packet received {"connection_id":130073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":130073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:02:44] local.INFO: TCP Data received {"connection_id":131052,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f591a0fa00100000000000000000000000000..."} 
[2026-07-13 07:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591a0fa00100000000000000000000000000..."} 
[2026-07-13 07:02:44] local.INFO: Processing buffer {"connection_id":131052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591a0fa00100000000000000000000000000..."} 
[2026-07-13 07:02:44] local.INFO: Packet analysis {"connection_id":131052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591a"} 
[2026-07-13 07:02:44] local.INFO: Extracted packet for processing {"connection_id":131052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591a"} 
[2026-07-13 07:02:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 07:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105511094306471936,"note":"Value kept but may cause issues"} 
[2026-07-13 07:02:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,207,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 07:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783906308000,"timestamp_ms":1783906308000,"timestamp_seconds":1783906308,"priority":1,"record_length":96,"hex_timestamp":"0000019f591a0fa0"} 
[2026-07-13 07:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 07:02:44] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3355443200,"note":"Value kept but may cause issues"} 
[2026-07-13 07:02:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19423972483416624,"note":"Value kept but may cause issues"} 
[2026-07-13 07:02:44] local.WARNING: Large IO value detected {"io_id":227,"raw_value":57702370239184896,"note":"Value kept but may cause issues"} 
[2026-07-13 07:02:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010054862,"corrected_to":0} 
[2026-07-13 07:02:44] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3808480512,"note":"Value kept but may cause issues"} 
[2026-07-13 07:02:44] local.WARNING: Large IO value detected {"io_id":118,"raw_value":3653763072,"note":"Value kept but may cause issues"} 
[2026-07-13 07:02:44] local.INFO: IO Element Parsed {"io_data_count":26,"io_data_keys":[0,207,85,24,241,157,16,217,159,107,10,66,25,9,1,240,51,227,4,113,205,27,239,2,48,118],"length":527,"final_offset":657,"validated_count":26,"validation_warnings":[{"io_id":205,"original":2010054862,"validated":0}]} 
[2026-07-13 07:02:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 07:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":131052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":131052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":131052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:02: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-07-13 07:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":131052,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 07:02:44] local.INFO: GPS data processed {"connection_id":131052,"processed":0,"errors":0,"total":1} 
[2026-07-13 07:02:44] local.INFO: Acknowledgment sent {"connection_id":131052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:02:45] local.INFO: TCP Data received {"connection_id":130073,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:02:45] local.INFO: Processing buffer {"connection_id":130073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:02:45] local.INFO: IMEI packet received {"connection_id":130073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":130073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:02:46] local.INFO: TCP Data received {"connection_id":130073,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f591a07d0012d7f914005afd9380000011b29..."} 
[2026-07-13 07:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591a07d0012d7f914005afd9380000011b29..."} 
[2026-07-13 07:02:46] local.INFO: Processing buffer {"connection_id":130073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591a07d0012d7f914005afd9380000011b29..."} 
[2026-07-13 07:02:46] local.INFO: Packet analysis {"connection_id":130073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591a"} 
[2026-07-13 07:02:46] local.INFO: Extracted packet for processing {"connection_id":130073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591a"} 
[2026-07-13 07:02:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679937280001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783906306000,"timestamp_ms":1783906306000,"timestamp_seconds":1783906306,"priority":1,"record_length":96,"hex_timestamp":"0000019f591a07d0"} 
[2026-07-13 07:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-13 07:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679937280001,"66":25201,"199":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-13 07:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679937280001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:02:46] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-13 07:02:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679937280001,"power":25201,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":130073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:02:46] local.INFO: GPS data processed {"connection_id":130073,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:02:46] local.INFO: Acknowledgment sent {"connection_id":130073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:03:15] local.INFO: TCP Data received {"connection_id":131052,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f591a61a80100000000000000000000000000..."} 
[2026-07-13 07:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591a61a80100000000000000000000000000..."} 
[2026-07-13 07:03:15] local.INFO: Processing buffer {"connection_id":131052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591a61a80100000000000000000000000000..."} 
[2026-07-13 07:03:15] local.INFO: Packet analysis {"connection_id":131052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591a"} 
[2026-07-13 07:03:15] local.INFO: Extracted packet for processing {"connection_id":131052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591a"} 
[2026-07-13 07:03: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-07-13 07:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105511094306471936,"note":"Value kept but may cause issues"} 
[2026-07-13 07:03:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,207,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 07:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783906329000,"timestamp_ms":1783906329000,"timestamp_seconds":1783906329,"priority":1,"record_length":96,"hex_timestamp":"0000019f591a61a8"} 
[2026-07-13 07:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-13 07:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":131052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":131052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":131052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:03: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-07-13 07:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":131052,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 07:03:15] local.INFO: GPS data processed {"connection_id":131052,"processed":0,"errors":0,"total":1} 
[2026-07-13 07:03:15] local.INFO: Acknowledgment sent {"connection_id":131052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:03:17] local.INFO: TCP Data received {"connection_id":130073,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f591a07d0012d7f914005afd9380000011b29..."} 
[2026-07-13 07:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591a07d0012d7f914005afd9380000011b29..."} 
[2026-07-13 07:03:17] local.INFO: Processing buffer {"connection_id":130073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591a07d0012d7f914005afd9380000011b29..."} 
[2026-07-13 07:03:17] local.INFO: Packet analysis {"connection_id":130073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591a"} 
[2026-07-13 07:03:17] local.INFO: Extracted packet for processing {"connection_id":130073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591a"} 
[2026-07-13 07:03:17] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679937280001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783906306000,"timestamp_ms":1783906306000,"timestamp_seconds":1783906306,"priority":1,"record_length":96,"hex_timestamp":"0000019f591a07d0"} 
[2026-07-13 07:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-13 07:03:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:03:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07: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-07-13 07:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679937280001,"66":25201,"199":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-13 07:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679937280001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:03:17] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-13 07:03:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679937280001,"power":25201,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":130073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:03:17] local.INFO: GPS data processed {"connection_id":130073,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:03:17] local.INFO: Acknowledgment sent {"connection_id":130073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:03:35] local.INFO: TCP Data received {"connection_id":132391,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:03:35] local.INFO: Processing buffer {"connection_id":132391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:03:35] local.INFO: IMEI packet received {"connection_id":132391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":132391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:03:45] local.INFO: TCP Data received {"connection_id":132391,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:03:45] local.INFO: Processing buffer {"connection_id":132391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:03:45] local.INFO: IMEI packet received {"connection_id":132391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":132391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:03:46] local.INFO: TCP Data received {"connection_id":131052,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f591ab3b00100000000000000000000000000..."} 
[2026-07-13 07:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591ab3b00100000000000000000000000000..."} 
[2026-07-13 07:03:46] local.INFO: Processing buffer {"connection_id":131052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591ab3b00100000000000000000000000000..."} 
[2026-07-13 07:03:46] local.INFO: Packet analysis {"connection_id":131052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591a"} 
[2026-07-13 07:03:46] local.INFO: Extracted packet for processing {"connection_id":131052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591a"} 
[2026-07-13 07:03: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-07-13 07:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105511094306471936,"note":"Value kept but may cause issues"} 
[2026-07-13 07:03:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,208,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 07:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783906350000,"timestamp_ms":1783906350000,"timestamp_seconds":1783906350,"priority":1,"record_length":96,"hex_timestamp":"0000019f591ab3b0"} 
[2026-07-13 07:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-13 07:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:03: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-07-13 07:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":131052,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 07:03:46] local.INFO: GPS data processed {"connection_id":131052,"processed":0,"errors":0,"total":1} 
[2026-07-13 07:03:46] local.INFO: Acknowledgment sent {"connection_id":131052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:03:46] local.INFO: TCP Data received {"connection_id":132391,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f591a07d0012d7f914005afd9380000011b29..."} 
[2026-07-13 07:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591a07d0012d7f914005afd9380000011b29..."} 
[2026-07-13 07:03:46] local.INFO: Processing buffer {"connection_id":132391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591a07d0012d7f914005afd9380000011b29..."} 
[2026-07-13 07:03:46] local.INFO: Packet analysis {"connection_id":132391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591a"} 
[2026-07-13 07:03:46] local.INFO: Extracted packet for processing {"connection_id":132391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591a"} 
[2026-07-13 07:03:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679937280001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783906306000,"timestamp_ms":1783906306000,"timestamp_seconds":1783906306,"priority":1,"record_length":96,"hex_timestamp":"0000019f591a07d0"} 
[2026-07-13 07:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-13 07:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679937280001,"66":25201,"199":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-13 07:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679937280001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:03:46] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-13 07:03:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679937280001,"power":25201,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":132391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:03:46] local.INFO: GPS data processed {"connection_id":132391,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:03:46] local.INFO: Acknowledgment sent {"connection_id":132391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:04:16] local.INFO: TCP Data received {"connection_id":131052,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f591b05b80100000000000000000000000000..."} 
[2026-07-13 07:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591b05b80100000000000000000000000000..."} 
[2026-07-13 07:04:16] local.INFO: Processing buffer {"connection_id":131052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591b05b80100000000000000000000000000..."} 
[2026-07-13 07:04:16] local.INFO: Packet analysis {"connection_id":131052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591b"} 
[2026-07-13 07:04:16] local.INFO: Extracted packet for processing {"connection_id":131052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591b"} 
[2026-07-13 07:04:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 07:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105511094306471936,"note":"Value kept but may cause issues"} 
[2026-07-13 07:04:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,208,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 07:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783906371000,"timestamp_ms":1783906371000,"timestamp_seconds":1783906371,"priority":1,"record_length":96,"hex_timestamp":"0000019f591b05b8"} 
[2026-07-13 07:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-13 07:04:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":131052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":131052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":131052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:04: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-07-13 07:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":131052,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 07:04:16] local.INFO: GPS data processed {"connection_id":131052,"processed":0,"errors":0,"total":1} 
[2026-07-13 07:04:16] local.INFO: Acknowledgment sent {"connection_id":131052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:04:18] local.INFO: TCP Data received {"connection_id":132391,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f591a07d0012d7f914005afd9380000011b29..."} 
[2026-07-13 07:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591a07d0012d7f914005afd9380000011b29..."} 
[2026-07-13 07:04:18] local.INFO: Processing buffer {"connection_id":132391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591a07d0012d7f914005afd9380000011b29..."} 
[2026-07-13 07:04:18] local.INFO: Packet analysis {"connection_id":132391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591a"} 
[2026-07-13 07:04:18] local.INFO: Extracted packet for processing {"connection_id":132391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591a"} 
[2026-07-13 07:04:18] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679937280001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783906306000,"timestamp_ms":1783906306000,"timestamp_seconds":1783906306,"priority":1,"record_length":96,"hex_timestamp":"0000019f591a07d0"} 
[2026-07-13 07:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:04: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-07-13 07:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-13 07:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679937280001,"66":25201,"199":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-13 07:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679937280001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:04:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-13 07:04:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679937280001,"power":25201,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":132391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:04:18] local.INFO: GPS data processed {"connection_id":132391,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:04:18] local.INFO: Acknowledgment sent {"connection_id":132391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:04:35] local.INFO: TCP Data received {"connection_id":131055,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:04:35] local.INFO: Processing buffer {"connection_id":131055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:04:35] local.INFO: IMEI packet received {"connection_id":131055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":131055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:04:40] local.INFO: TCP Data received {"connection_id":131055,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:04:40] local.INFO: Processing buffer {"connection_id":131055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:04:40] local.INFO: IMEI packet received {"connection_id":131055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":131055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:04:41] local.INFO: TCP Data received {"connection_id":131055,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f591a07d0012d7f914005afd9380000011b29..."} 
[2026-07-13 07:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591a07d0012d7f914005afd9380000011b29..."} 
[2026-07-13 07:04:41] local.INFO: Processing buffer {"connection_id":131055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591a07d0012d7f914005afd9380000011b29..."} 
[2026-07-13 07:04:41] local.INFO: Packet analysis {"connection_id":131055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591a"} 
[2026-07-13 07:04:41] local.INFO: Extracted packet for processing {"connection_id":131055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591a"} 
[2026-07-13 07:04:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679937280001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783906306000,"timestamp_ms":1783906306000,"timestamp_seconds":1783906306,"priority":1,"record_length":96,"hex_timestamp":"0000019f591a07d0"} 
[2026-07-13 07:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-13 07:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679937280001,"66":25201,"199":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-13 07:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679937280001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:04:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-13 07:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679937280001,"power":25201,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":131055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:04:41] local.INFO: GPS data processed {"connection_id":131055,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:04:41] local.INFO: Acknowledgment sent {"connection_id":131055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:04:43] local.INFO: TCP Data received {"connection_id":130074,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:04:43] local.INFO: Processing buffer {"connection_id":130074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:04:43] local.INFO: IMEI packet received {"connection_id":130074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":130074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:04:48] local.INFO: TCP Data received {"connection_id":130074,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:04:48] local.INFO: Processing buffer {"connection_id":130074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:04:48] local.INFO: IMEI packet received {"connection_id":130074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":130074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:04:49] local.INFO: TCP Data received {"connection_id":130074,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f591b57c00100000000000000000000000000..."} 
[2026-07-13 07:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591b57c00100000000000000000000000000..."} 
[2026-07-13 07:04:49] local.INFO: Processing buffer {"connection_id":130074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591b57c00100000000000000000000000000..."} 
[2026-07-13 07:04:49] local.INFO: Packet analysis {"connection_id":130074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591b"} 
[2026-07-13 07:04:49] local.INFO: Extracted packet for processing {"connection_id":130074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591b"} 
[2026-07-13 07:04:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 07:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105511094306471936,"note":"Value kept but may cause issues"} 
[2026-07-13 07:04:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,208,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 07:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783906392000,"timestamp_ms":1783906392000,"timestamp_seconds":1783906392,"priority":1,"record_length":96,"hex_timestamp":"0000019f591b57c0"} 
[2026-07-13 07:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-13 07:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":130074,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 07:04:49] local.INFO: GPS data processed {"connection_id":130074,"processed":0,"errors":0,"total":1} 
[2026-07-13 07:04:49] local.INFO: Acknowledgment sent {"connection_id":130074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:05:12] local.INFO: TCP Data received {"connection_id":131055,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f591a07d0012d7f914005afd9380000011b29..."} 
[2026-07-13 07:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591a07d0012d7f914005afd9380000011b29..."} 
[2026-07-13 07:05:12] local.INFO: Processing buffer {"connection_id":131055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591a07d0012d7f914005afd9380000011b29..."} 
[2026-07-13 07:05:12] local.INFO: Packet analysis {"connection_id":131055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591a"} 
[2026-07-13 07:05:12] local.INFO: Extracted packet for processing {"connection_id":131055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591a"} 
[2026-07-13 07:05:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679937280001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783906306000,"timestamp_ms":1783906306000,"timestamp_seconds":1783906306,"priority":1,"record_length":96,"hex_timestamp":"0000019f591a07d0"} 
[2026-07-13 07:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-13 07:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679937280001,"66":25201,"199":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-13 07:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679937280001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:05:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-13 07:05:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679937280001,"power":25201,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":131055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:05:12] local.INFO: GPS data processed {"connection_id":131055,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:05:12] local.INFO: Acknowledgment sent {"connection_id":131055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:05:20] local.INFO: TCP Data received {"connection_id":130074,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f591ba9c80100000000000000000000000000..."} 
[2026-07-13 07:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591ba9c80100000000000000000000000000..."} 
[2026-07-13 07:05:20] local.INFO: Processing buffer {"connection_id":130074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591ba9c80100000000000000000000000000..."} 
[2026-07-13 07:05:20] local.INFO: Packet analysis {"connection_id":130074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591b"} 
[2026-07-13 07:05:20] local.INFO: Extracted packet for processing {"connection_id":130074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591b"} 
[2026-07-13 07:05: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-07-13 07:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105511094306471936,"note":"Value kept but may cause issues"} 
[2026-07-13 07:05:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,208,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 07:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783906413000,"timestamp_ms":1783906413000,"timestamp_seconds":1783906413,"priority":1,"record_length":96,"hex_timestamp":"0000019f591ba9c8"} 
[2026-07-13 07:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-13 07:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":130074,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 07:05:20] local.INFO: GPS data processed {"connection_id":130074,"processed":0,"errors":0,"total":1} 
[2026-07-13 07:05:20] local.INFO: Acknowledgment sent {"connection_id":130074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:05:35] local.INFO: TCP Data received {"connection_id":132393,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:05:35] local.INFO: Processing buffer {"connection_id":132393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:05:35] local.INFO: IMEI packet received {"connection_id":132393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":132393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:05:40] local.INFO: TCP Data received {"connection_id":132393,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:05:40] local.INFO: Processing buffer {"connection_id":132393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:05:40] local.INFO: IMEI packet received {"connection_id":132393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":132393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:05:41] local.INFO: TCP Data received {"connection_id":132393,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f591a07d0012d7f914005afd9380000011b29..."} 
[2026-07-13 07:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591a07d0012d7f914005afd9380000011b29..."} 
[2026-07-13 07:05:41] local.INFO: Processing buffer {"connection_id":132393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591a07d0012d7f914005afd9380000011b29..."} 
[2026-07-13 07:05:41] local.INFO: Packet analysis {"connection_id":132393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591a"} 
[2026-07-13 07:05:41] local.INFO: Extracted packet for processing {"connection_id":132393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591a"} 
[2026-07-13 07:05:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679937280001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783906306000,"timestamp_ms":1783906306000,"timestamp_seconds":1783906306,"priority":1,"record_length":96,"hex_timestamp":"0000019f591a07d0"} 
[2026-07-13 07:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-13 07:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679937280001,"66":25201,"199":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-13 07:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679937280001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:05:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-13 07:05:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679937280001,"power":25201,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":132393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:05:41] local.INFO: GPS data processed {"connection_id":132393,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:05:41] local.INFO: Acknowledgment sent {"connection_id":132393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:05:50] local.INFO: TCP Data received {"connection_id":130074,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f591bfbd00100000000000000000000000000..."} 
[2026-07-13 07:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591bfbd00100000000000000000000000000..."} 
[2026-07-13 07:05:50] local.INFO: Processing buffer {"connection_id":130074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591bfbd00100000000000000000000000000..."} 
[2026-07-13 07:05:50] local.INFO: Packet analysis {"connection_id":130074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591b"} 
[2026-07-13 07:05:50] local.INFO: Extracted packet for processing {"connection_id":130074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591b"} 
[2026-07-13 07:05:50] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 07:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105511094306471936,"note":"Value kept but may cause issues"} 
[2026-07-13 07:05:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,208,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 07:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783906434000,"timestamp_ms":1783906434000,"timestamp_seconds":1783906434,"priority":1,"record_length":96,"hex_timestamp":"0000019f591bfbd0"} 
[2026-07-13 07:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-07-13 07:05: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-07-13 07:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":130074,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 07:05:50] local.INFO: GPS data processed {"connection_id":130074,"processed":0,"errors":0,"total":1} 
[2026-07-13 07:05:50] local.INFO: Acknowledgment sent {"connection_id":130074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:06:12] local.INFO: TCP Data received {"connection_id":132393,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f591a07d0012d7f914005afd9380000011b29..."} 
[2026-07-13 07:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591a07d0012d7f914005afd9380000011b29..."} 
[2026-07-13 07:06:12] local.INFO: Processing buffer {"connection_id":132393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591a07d0012d7f914005afd9380000011b29..."} 
[2026-07-13 07:06:12] local.INFO: Packet analysis {"connection_id":132393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591a"} 
[2026-07-13 07:06:12] local.INFO: Extracted packet for processing {"connection_id":132393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591a"} 
[2026-07-13 07:06:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679937280001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783906306000,"timestamp_ms":1783906306000,"timestamp_seconds":1783906306,"priority":1,"record_length":96,"hex_timestamp":"0000019f591a07d0"} 
[2026-07-13 07:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-13 07:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679937280001,"66":25201,"199":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-13 07:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679937280001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:06:12] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-13 07:06:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679937280001,"power":25201,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":132393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:06:13] local.INFO: GPS data processed {"connection_id":132393,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:06:13] local.INFO: Acknowledgment sent {"connection_id":132393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:06:21] local.INFO: TCP Data received {"connection_id":130074,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f591e0740012d81868005d18670000000760a..."} 
[2026-07-13 07:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591e0740012d81868005d18670000000760a..."} 
[2026-07-13 07:06:21] local.INFO: Processing buffer {"connection_id":130074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591e0740012d81868005d18670000000760a..."} 
[2026-07-13 07:06:21] local.INFO: Packet analysis {"connection_id":130074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591e"} 
[2026-07-13 07:06:21] local.INFO: Extracted packet for processing {"connection_id":130074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591e"} 
[2026-07-13 07:06:21] local.INFO: GPS Element Parsed {"raw_longitude":763463296,"raw_latitude":97617520,"longitude_deg":76.3463296,"latitude_deg":9.761752,"altitude":0,"angle":118,"satellites":10,"speed":18,"hex_longitude":"2d818680","hex_latitude":"05d18670","is_valid_coordinates":true} 
[2026-07-13 07:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680080896001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105511566752874496,"note":"Value kept but may cause issues"} 
[2026-07-13 07:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9114441195877597184,"note":"Value kept but may cause issues"} 
[2026-07-13 07:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783906568000,"timestamp_ms":1783906568000,"timestamp_seconds":1783906568,"priority":1,"record_length":96,"hex_timestamp":"0000019f591e0740"} 
[2026-07-13 07:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-13 07:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":130074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":130074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":130074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680080896001,"66":12461,"208":206,"85":15104,"24":18,"16":105511566752874496,"45":-9114441195877597184},"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-07-13 07:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680080896001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:06:21] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-13 07:06:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105511566752874496,"km_value":105511566752874.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9114441195877597184,"description":"Unknown IO ID 45"} 
[2026-07-13 07:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680080896001,"power":12461,"unknown_208":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":-9114441195877597184}} 
[2026-07-13 07:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":130074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478721,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:06:21] local.INFO: GPS data processed {"connection_id":130074,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:06:21] local.INFO: Acknowledgment sent {"connection_id":130074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:06:35] local.INFO: TCP Data received {"connection_id":130278,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:06:35] local.INFO: Processing buffer {"connection_id":130278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:06:35] local.INFO: IMEI packet received {"connection_id":130278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":130278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:06:40] local.INFO: TCP Data received {"connection_id":130278,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:06:40] local.INFO: Processing buffer {"connection_id":130278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:06:40] local.INFO: IMEI packet received {"connection_id":130278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":130278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:06:41] local.INFO: TCP Data received {"connection_id":130278,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f591a07d0012d7f914005afd9380000011b29..."} 
[2026-07-13 07:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591a07d0012d7f914005afd9380000011b29..."} 
[2026-07-13 07:06:41] local.INFO: Processing buffer {"connection_id":130278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591a07d0012d7f914005afd9380000011b29..."} 
[2026-07-13 07:06:41] local.INFO: Packet analysis {"connection_id":130278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591a"} 
[2026-07-13 07:06:41] local.INFO: Extracted packet for processing {"connection_id":130278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591a"} 
[2026-07-13 07:06:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679937280001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783906306000,"timestamp_ms":1783906306000,"timestamp_seconds":1783906306,"priority":1,"record_length":96,"hex_timestamp":"0000019f591a07d0"} 
[2026-07-13 07:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-13 07:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679937280001,"66":25201,"199":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-13 07:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679937280001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:06:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-13 07:06:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679937280001,"power":25201,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":130278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:06:41] local.INFO: GPS data processed {"connection_id":130278,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:06:41] local.INFO: Acknowledgment sent {"connection_id":130278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:06:48] local.INFO: TCP Data received {"connection_id":132395,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:06:48] local.INFO: Processing buffer {"connection_id":132395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:06:48] local.INFO: IMEI packet received {"connection_id":132395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":132395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:06:53] local.INFO: TCP Data received {"connection_id":132395,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:06:53] local.INFO: Processing buffer {"connection_id":132395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:06:53] local.INFO: IMEI packet received {"connection_id":132395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":132395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:06:54] local.INFO: TCP Data received {"connection_id":132395,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f591e1eb0012d81918005d181f8000000670a..."} 
[2026-07-13 07:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591e1eb0012d81918005d181f8000000670a..."} 
[2026-07-13 07:06:54] local.INFO: Processing buffer {"connection_id":132395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591e1eb0012d81918005d181f8000000670a..."} 
[2026-07-13 07:06:54] local.INFO: Packet analysis {"connection_id":132395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591e"} 
[2026-07-13 07:06:54] local.INFO: Extracted packet for processing {"connection_id":132395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591e"} 
[2026-07-13 07:06:54] local.INFO: GPS Element Parsed {"raw_longitude":763466112,"raw_latitude":97616376,"longitude_deg":76.3466112,"latitude_deg":9.7616376,"altitude":0,"angle":103,"satellites":10,"speed":21,"hex_longitude":"2d819180","hex_latitude":"05d181f8","is_valid_coordinates":true} 
[2026-07-13 07:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680081408001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105511712781762560,"note":"Value kept but may cause issues"} 
[2026-07-13 07:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9113456033459179520,"note":"Value kept but may cause issues"} 
[2026-07-13 07:06: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-07-13 07:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783906574000,"timestamp_ms":1783906574000,"timestamp_seconds":1783906574,"priority":1,"record_length":96,"hex_timestamp":"0000019f591e1eb0"} 
[2026-07-13 07:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-13 07:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":132395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":132395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":132395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680081408001,"66":13243,"208":206,"85":15104,"24":21,"16":105511712781762560,"45":-9113456033459179520},"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-07-13 07:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680081408001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:06:54] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-13 07:06:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105511712781762560,"km_value":105511712781762.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9113456033459179520,"description":"Unknown IO ID 45"} 
[2026-07-13 07:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680081408001,"power":13243,"unknown_208":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9113456033459179520}} 
[2026-07-13 07:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":132395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478723,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:06:54] local.INFO: GPS data processed {"connection_id":132395,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:06:54] local.INFO: Acknowledgment sent {"connection_id":132395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:06:55] local.INFO: TCP Data received {"connection_id":132394,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132394,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:06:55] local.INFO: Processing buffer {"connection_id":132394,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:06:55] local.INFO: IMEI packet received {"connection_id":132394,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 07:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":132394,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:06:57] local.INFO: TCP Data received {"connection_id":132395,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f591e3238012d819fc005d181c80000005a0a..."} 
[2026-07-13 07:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591e3238012d819fc005d181c80000005a0a..."} 
[2026-07-13 07:06:57] local.INFO: Processing buffer {"connection_id":132395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591e3238012d819fc005d181c80000005a0a..."} 
[2026-07-13 07:06:57] local.INFO: Packet analysis {"connection_id":132395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591e"} 
[2026-07-13 07:06:57] local.INFO: Extracted packet for processing {"connection_id":132395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591e"} 
[2026-07-13 07:06:57] local.INFO: GPS Element Parsed {"raw_longitude":763469760,"raw_latitude":97616328,"longitude_deg":76.346976,"latitude_deg":9.7616328,"altitude":0,"angle":90,"satellites":10,"speed":26,"hex_longitude":"2d819fc0","hex_latitude":"05d181c8","is_valid_coordinates":true} 
[2026-07-13 07:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680082944001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105511888875421696,"note":"Value kept but may cause issues"} 
[2026-07-13 07:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9110359808715655168,"note":"Value kept but may cause issues"} 
[2026-07-13 07:06: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-07-13 07:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783906579000,"timestamp_ms":1783906579000,"timestamp_seconds":1783906579,"priority":1,"record_length":96,"hex_timestamp":"0000019f591e3238"} 
[2026-07-13 07:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 07:06:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:06:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680082944001,"66":13406,"208":206,"85":15104,"24":26,"16":105511888875421696,"45":-9110359808715655168},"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-07-13 07:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680082944001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:06:57] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-13 07:06:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105511888875421696,"km_value":105511888875421.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9110359808715655168,"description":"Unknown IO ID 45"} 
[2026-07-13 07:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680082944001,"power":13406,"unknown_208":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9110359808715655168}} 
[2026-07-13 07:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":132395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478724,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:06:57] local.INFO: GPS data processed {"connection_id":132395,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:06:57] local.INFO: Acknowledgment sent {"connection_id":132395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:07:13] local.INFO: TCP Data received {"connection_id":130278,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f591a07d0012d7f914005afd9380000011b29..."} 
[2026-07-13 07:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591a07d0012d7f914005afd9380000011b29..."} 
[2026-07-13 07:07:13] local.INFO: Processing buffer {"connection_id":130278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591a07d0012d7f914005afd9380000011b29..."} 
[2026-07-13 07:07:13] local.INFO: Packet analysis {"connection_id":130278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591a"} 
[2026-07-13 07:07:13] local.INFO: Extracted packet for processing {"connection_id":130278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591a"} 
[2026-07-13 07:07:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456679937280001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783906306000,"timestamp_ms":1783906306000,"timestamp_seconds":1783906306,"priority":1,"record_length":96,"hex_timestamp":"0000019f591a07d0"} 
[2026-07-13 07:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-13 07:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456679937280001,"66":25201,"199":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-13 07:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456679937280001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:07:13] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-13 07:07:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456679937280001,"power":25201,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":130278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:07:13] local.INFO: GPS data processed {"connection_id":130278,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:07:13] local.INFO: Acknowledgment sent {"connection_id":130278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:07:28] local.INFO: TCP Data received {"connection_id":132395,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f591e74a0012d81c30005d181300000005e0a..."} 
[2026-07-13 07:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591e74a0012d81c30005d181300000005e0a..."} 
[2026-07-13 07:07:28] local.INFO: Processing buffer {"connection_id":132395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591e74a0012d81c30005d181300000005e0a..."} 
[2026-07-13 07:07:28] local.INFO: Packet analysis {"connection_id":132395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591e"} 
[2026-07-13 07:07:28] local.INFO: Extracted packet for processing {"connection_id":132395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591e"} 
[2026-07-13 07:07:28] local.INFO: GPS Element Parsed {"raw_longitude":763478784,"raw_latitude":97616176,"longitude_deg":76.3478784,"latitude_deg":9.7616176,"altitude":0,"angle":94,"satellites":10,"speed":0,"hex_longitude":"2d81c300","hex_latitude":"05d18130","is_valid_coordinates":true} 
[2026-07-13 07:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680084224001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105512318372151296,"note":"Value kept but may cause issues"} 
[2026-07-13 07:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9106348790297540608,"note":"Value kept but may cause issues"} 
[2026-07-13 07: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-07-13 07:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783906596000,"timestamp_ms":1783906596000,"timestamp_seconds":1783906596,"priority":1,"record_length":96,"hex_timestamp":"0000019f591e74a0"} 
[2026-07-13 07:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":94,"data_length":795,"current_offset":136} 
[2026-07-13 07:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680084224001,"66":13319,"208":206,"85":15104,"24":0,"16":105512318372151296,"45":-9106348790297540608},"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-07-13 07:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680084224001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:07:28] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-13 07:07:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105512318372151296,"km_value":105512318372151.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9106348790297540608,"description":"Unknown IO ID 45"} 
[2026-07-13 07:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680084224001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9106348790297540608}} 
[2026-07-13 07:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":132395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478726,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:07:28] local.INFO: GPS data processed {"connection_id":132395,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:07:28] local.INFO: Acknowledgment sent {"connection_id":132395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:07:35] local.INFO: TCP Data received {"connection_id":131057,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:07:35] local.INFO: Processing buffer {"connection_id":131057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:07:35] local.INFO: IMEI packet received {"connection_id":131057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":131057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:07:40] local.INFO: TCP Data received {"connection_id":131057,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:07:40] local.INFO: Processing buffer {"connection_id":131057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:07:40] local.INFO: IMEI packet received {"connection_id":131057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":131057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:07:42] local.INFO: TCP Data received {"connection_id":131057,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:07:42] local.INFO: Processing buffer {"connection_id":131057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:07:42] local.INFO: Packet analysis {"connection_id":131057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591e"} 
[2026-07-13 07:07:42] local.INFO: Extracted packet for processing {"connection_id":131057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591e"} 
[2026-07-13 07:07:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680014336001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783906607000,"timestamp_ms":1783906607000,"timestamp_seconds":1783906607,"priority":1,"record_length":96,"hex_timestamp":"0000019f591e9f98"} 
[2026-07-13 07:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 07:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":131057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":131057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":131057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680014336001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680014336001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:07:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:07:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680014336001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":131057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:07:42] local.INFO: GPS data processed {"connection_id":131057,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:07:42] local.INFO: Acknowledgment sent {"connection_id":131057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:07:42] local.INFO: TCP Data received {"connection_id":130279,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130279,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:07:42] local.INFO: Processing buffer {"connection_id":130279,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:07:42] local.INFO: IMEI packet received {"connection_id":130279,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":130279,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:07:43] local.INFO: TCP Data received {"connection_id":130279,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130279,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:07:43] local.INFO: Processing buffer {"connection_id":130279,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:07:43] local.INFO: IMEI packet received {"connection_id":130279,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":130279,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:07:45] local.INFO: TCP Data received {"connection_id":132396,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:07:45] local.INFO: Processing buffer {"connection_id":132396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:07:45] local.INFO: IMEI packet received {"connection_id":132396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 07:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":132396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:07:46] local.INFO: TCP Data received {"connection_id":131057,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:07:46] local.INFO: Processing buffer {"connection_id":131057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:07:46] local.INFO: Packet analysis {"connection_id":131057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591e"} 
[2026-07-13 07:07:46] local.INFO: Extracted packet for processing {"connection_id":131057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591e"} 
[2026-07-13 07:07:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680014336001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783906607000,"timestamp_ms":1783906607000,"timestamp_seconds":1783906607,"priority":1,"record_length":96,"hex_timestamp":"0000019f591e9f98"} 
[2026-07-13 07:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 07:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680014336001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680014336001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:07:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:07:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680014336001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":131057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:07:46] local.INFO: GPS data processed {"connection_id":131057,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:07:46] local.INFO: Acknowledgment sent {"connection_id":131057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:07:48] local.INFO: TCP Data received {"connection_id":130279,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130279,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:07:48] local.INFO: Processing buffer {"connection_id":130279,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:07:48] local.INFO: IMEI packet received {"connection_id":130279,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":130279,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:07:49] local.INFO: TCP Data received {"connection_id":130279,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f591ebed8012d81d24005d18110000000720a..."} 
[2026-07-13 07:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591ebed8012d81d24005d18110000000720a..."} 
[2026-07-13 07:07:49] local.INFO: Processing buffer {"connection_id":130279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591ebed8012d81d24005d18110000000720a..."} 
[2026-07-13 07:07:49] local.INFO: Packet analysis {"connection_id":130279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591e"} 
[2026-07-13 07:07:49] local.INFO: Extracted packet for processing {"connection_id":130279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591e"} 
[2026-07-13 07:07:49] local.INFO: GPS Element Parsed {"raw_longitude":763482688,"raw_latitude":97616144,"longitude_deg":76.3482688,"latitude_deg":9.7616144,"altitude":0,"angle":114,"satellites":10,"speed":17,"hex_longitude":"2d81d240","hex_latitude":"05d18110","is_valid_coordinates":true} 
[2026-07-13 07:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680088576001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105512515940646912,"note":"Value kept but may cause issues"} 
[2026-07-13 07:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096426797368528896,"note":"Value kept but may cause issues"} 
[2026-07-13 07:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783906615000,"timestamp_ms":1783906615000,"timestamp_seconds":1783906615,"priority":1,"record_length":96,"hex_timestamp":"0000019f591ebed8"} 
[2026-07-13 07:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 07:07:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 07:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2172846085,"note":"Value kept but may cause issues"} 
[2026-07-13 07:07:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788848,"note":"Value kept but may cause issues"} 
[2026-07-13 07:07:49] local.WARNING: Large IO value detected {"io_id":209,"raw_value":-8815796270573876736,"note":"Value kept but may cause issues"} 
[2026-07-13 07:07:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010120398,"corrected_to":0} 
[2026-07-13 07:07:49] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":2684431745,"corrected_to":0} 
[2026-07-13 07:07:49] local.WARNING: Large IO value detected {"io_id":118,"raw_value":3659595776,"note":"Value kept but may cause issues"} 
[2026-07-13 07:07:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3515293696,"note":"Value kept but may cause issues"} 
[2026-07-13 07:07:49] local.WARNING: Large IO value detected {"io_id":216,"raw_value":57834105476109627,"note":"Value kept but may cause issues"} 
[2026-07-13 07:07:49] local.WARNING: Large IO value detected {"io_id":29,"raw_value":-2292330915374170107,"note":"Value kept but may cause issues"} 
[2026-07-13 07:07:49] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,208,85,24,241,157,16,218,159,50,45,192,129,10,66,30,128,7,1,240,173,227,89,209,4,113,205,17,247,127,160,239,51,2,118,5,216,29],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2010120398,"validated":0},{"io_id":247,"original":2684431745,"validated":0}]} 
[2026-07-13 07:07:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":103397042683904,"timestamp_seconds":103397042683.904,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 07:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680088576001,"66":13189,"65":206,"85":15104,"24":17,"16":105512515940646912,"45":-9096426797368528896},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-07-13 07:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680088576001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:07:49] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-13 07:07:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105512515940646912,"km_value":105512515940646.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096426797368528896,"description":"Unknown IO ID 45"} 
[2026-07-13 07:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680088576001,"power":13189,"unknown_65":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9096426797368528896}} 
[2026-07-13 07:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":130279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478729,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:07:49] local.INFO: GPS data processed {"connection_id":130279,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:07:49] local.INFO: Acknowledgment sent {"connection_id":130279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:08:17] local.INFO: TCP Data received {"connection_id":131057,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:08:17] local.INFO: Processing buffer {"connection_id":131057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:08:17] local.INFO: Packet analysis {"connection_id":131057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591e"} 
[2026-07-13 07:08:17] local.INFO: Extracted packet for processing {"connection_id":131057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591e"} 
[2026-07-13 07:08:17] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680014336001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783906607000,"timestamp_ms":1783906607000,"timestamp_seconds":1783906607,"priority":1,"record_length":96,"hex_timestamp":"0000019f591e9f98"} 
[2026-07-13 07:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 07:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:08: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-07-13 07:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680014336001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680014336001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:08:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:08:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680014336001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":131057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:08:17] local.INFO: GPS data processed {"connection_id":131057,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:08:17] local.INFO: Acknowledgment sent {"connection_id":131057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:08:20] local.INFO: TCP Data received {"connection_id":130279,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f591fdc00012d82960005d16f98002500230a..."} 
[2026-07-13 07:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591fdc00012d82960005d16f98002500230a..."} 
[2026-07-13 07:08:20] local.INFO: Processing buffer {"connection_id":130279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591fdc00012d82960005d16f98002500230a..."} 
[2026-07-13 07:08:20] local.INFO: Packet analysis {"connection_id":130279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591f"} 
[2026-07-13 07:08:20] local.INFO: Extracted packet for processing {"connection_id":130279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591f"} 
[2026-07-13 07:08:20] local.INFO: GPS Element Parsed {"raw_longitude":763532800,"raw_latitude":97611672,"longitude_deg":76.35328,"latitude_deg":9.7611672,"altitude":37,"angle":35,"satellites":10,"speed":10,"hex_longitude":"2d829600","hex_latitude":"05d16f98","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680111872001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105514989841809408,"note":"Value kept but may cause issues"} 
[2026-07-13 07:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037246683516323840,"note":"Value kept but may cause issues"} 
[2026-07-13 07:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783906688000,"timestamp_ms":1783906688000,"timestamp_seconds":1783906688,"priority":1,"record_length":96,"hex_timestamp":"0000019f591fdc00"} 
[2026-07-13 07:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-13 07:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680111872001,"66":13352,"64":206,"85":15104,"24":10,"16":105514989841809408,"45":-9037246683516323840},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-13 07:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680111872001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:08:20] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-13 07:08:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105514989841809408,"km_value":105514989841809.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037246683516323840,"description":"Unknown IO ID 45"} 
[2026-07-13 07:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680111872001,"power":13352,"unknown_64":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9037246683516323840}} 
[2026-07-13 07:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":130279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478731,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:08:20] local.INFO: GPS data processed {"connection_id":130279,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:08:20] local.INFO: Acknowledgment sent {"connection_id":130279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:08:37] local.INFO: TCP Data received {"connection_id":130075,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:08:37] local.INFO: Processing buffer {"connection_id":130075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:08:37] local.INFO: IMEI packet received {"connection_id":130075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":130075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:08:40] local.INFO: TCP Data received {"connection_id":130075,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:08:40] local.INFO: Processing buffer {"connection_id":130075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:08:40] local.INFO: IMEI packet received {"connection_id":130075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":130075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:08:41] local.INFO: TCP Data received {"connection_id":130075,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:08:41] local.INFO: Processing buffer {"connection_id":130075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:08:41] local.INFO: Packet analysis {"connection_id":130075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591e"} 
[2026-07-13 07:08:41] local.INFO: Extracted packet for processing {"connection_id":130075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591e"} 
[2026-07-13 07:08:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680014336001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783906607000,"timestamp_ms":1783906607000,"timestamp_seconds":1783906607,"priority":1,"record_length":96,"hex_timestamp":"0000019f591e9f98"} 
[2026-07-13 07:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 07:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680014336001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680014336001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:08:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680014336001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":130075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:08:41] local.INFO: GPS data processed {"connection_id":130075,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:08:41] local.INFO: Acknowledgment sent {"connection_id":130075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:08:43] local.INFO: TCP Data received {"connection_id":131058,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131058,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:08:43] local.INFO: Processing buffer {"connection_id":131058,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:08:43] local.INFO: IMEI packet received {"connection_id":131058,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":131058,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:08:48] local.INFO: TCP Data received {"connection_id":131058,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131058,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:08:48] local.INFO: Processing buffer {"connection_id":131058,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:08:48] local.INFO: IMEI packet received {"connection_id":131058,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":131058,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:08:49] local.INFO: TCP Data received {"connection_id":131058,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f591fdfe8012d82960005d17058002500060a..."} 
[2026-07-13 07:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591fdfe8012d82960005d17058002500060a..."} 
[2026-07-13 07:08:49] local.INFO: Processing buffer {"connection_id":131058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591fdfe8012d82960005d17058002500060a..."} 
[2026-07-13 07:08:49] local.INFO: Packet analysis {"connection_id":131058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591f"} 
[2026-07-13 07:08:49] local.INFO: Extracted packet for processing {"connection_id":131058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591f"} 
[2026-07-13 07:08:49] local.INFO: GPS Element Parsed {"raw_longitude":763532800,"raw_latitude":97611864,"longitude_deg":76.35328,"latitude_deg":9.7611864,"altitude":37,"angle":6,"satellites":10,"speed":10,"hex_longitude":"2d829600","hex_latitude":"05d17058","is_valid_coordinates":true} 
[2026-07-13 07:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680112128001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105514998431744000,"note":"Value kept but may cause issues"} 
[2026-07-13 07:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037035577283733504,"note":"Value kept but may cause issues"} 
[2026-07-13 07:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783906689000,"timestamp_ms":1783906689000,"timestamp_seconds":1783906689,"priority":1,"record_length":96,"hex_timestamp":"0000019f591fdfe8"} 
[2026-07-13 07:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-13 07:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680112128001,"66":13352,"64":206,"85":15104,"24":10,"16":105514998431744000,"45":-9037035577283733504},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-13 07:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680112128001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:08:49] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-13 07:08:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105514998431744000,"km_value":105514998431744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037035577283733504,"description":"Unknown IO ID 45"} 
[2026-07-13 07:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680112128001,"power":13352,"unknown_64":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9037035577283733504}} 
[2026-07-13 07:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":131058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478733,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:08:49] local.INFO: GPS data processed {"connection_id":131058,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:08:49] local.INFO: Acknowledgment sent {"connection_id":131058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:09:12] local.INFO: TCP Data received {"connection_id":130075,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:09:12] local.INFO: Processing buffer {"connection_id":130075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:09:12] local.INFO: Packet analysis {"connection_id":130075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591e"} 
[2026-07-13 07:09:12] local.INFO: Extracted packet for processing {"connection_id":130075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591e"} 
[2026-07-13 07:09:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680014336001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783906607000,"timestamp_ms":1783906607000,"timestamp_seconds":1783906607,"priority":1,"record_length":96,"hex_timestamp":"0000019f591e9f98"} 
[2026-07-13 07:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 07:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680014336001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680014336001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:09:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:09:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680014336001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":130075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:09:12] local.INFO: GPS data processed {"connection_id":130075,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:09:12] local.INFO: Acknowledgment sent {"connection_id":130075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:09:20] local.INFO: TCP Data received {"connection_id":131058,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f591fe7b8012d82960005d172d0002601630a..."} 
[2026-07-13 07:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591fe7b8012d82960005d172d0002601630a..."} 
[2026-07-13 07:09:20] local.INFO: Processing buffer {"connection_id":131058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591fe7b8012d82960005d172d0002601630a..."} 
[2026-07-13 07:09:20] local.INFO: Packet analysis {"connection_id":131058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591f"} 
[2026-07-13 07:09:20] local.INFO: Extracted packet for processing {"connection_id":131058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591f"} 
[2026-07-13 07:09:20] local.INFO: GPS Element Parsed {"raw_longitude":763532800,"raw_latitude":97612496,"longitude_deg":76.35328,"latitude_deg":9.7612496,"altitude":38,"angle":355,"satellites":10,"speed":14,"hex_longitude":"2d829600","hex_latitude":"05d172d0","is_valid_coordinates":true} 
[2026-07-13 07:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680112384001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105515028496515072,"note":"Value kept but may cause issues"} 
[2026-07-13 07:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037035577283684352,"note":"Value kept but may cause issues"} 
[2026-07-13 07:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783906691000,"timestamp_ms":1783906691000,"timestamp_seconds":1783906691,"priority":1,"record_length":96,"hex_timestamp":"0000019f591fe7b8"} 
[2026-07-13 07:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-13 07:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":131058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":131058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":131058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680112384001,"66":13330,"64":206,"85":15104,"24":14,"16":105515028496515072,"45":-9037035577283684352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-13 07:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680112384001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:09:20] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-13 07:09:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105515028496515072,"km_value":105515028496515.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037035577283684352,"description":"Unknown IO ID 45"} 
[2026-07-13 07:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680112384001,"power":13330,"unknown_64":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9037035577283684352}} 
[2026-07-13 07:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":131058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478735,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:09:20] local.INFO: GPS data processed {"connection_id":131058,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:09:20] local.INFO: Acknowledgment sent {"connection_id":131058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:09:35] local.INFO: TCP Data received {"connection_id":130076,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:09:35] local.INFO: Processing buffer {"connection_id":130076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:09:35] local.INFO: IMEI packet received {"connection_id":130076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":130076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:09:40] local.INFO: TCP Data received {"connection_id":130076,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:09:40] local.INFO: Processing buffer {"connection_id":130076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:09:40] local.INFO: IMEI packet received {"connection_id":130076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":130076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:09:41] local.INFO: TCP Data received {"connection_id":130076,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:09:41] local.INFO: Processing buffer {"connection_id":130076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:09:41] local.INFO: Packet analysis {"connection_id":130076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591e"} 
[2026-07-13 07:09:41] local.INFO: Extracted packet for processing {"connection_id":130076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591e"} 
[2026-07-13 07:09:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680014336001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783906607000,"timestamp_ms":1783906607000,"timestamp_seconds":1783906607,"priority":1,"record_length":96,"hex_timestamp":"0000019f591e9f98"} 
[2026-07-13 07:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 07:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680014336001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680014336001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:09:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680014336001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":130076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:09:41] local.INFO: GPS data processed {"connection_id":130076,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:09:41] local.INFO: Acknowledgment sent {"connection_id":130076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:09:43] local.INFO: TCP Data received {"connection_id":130281,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:09:43] local.INFO: Processing buffer {"connection_id":130281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:09:43] local.INFO: IMEI packet received {"connection_id":130281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":130281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:09:48] local.INFO: TCP Data received {"connection_id":130281,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:09:48] local.INFO: Processing buffer {"connection_id":130281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:09:48] local.INFO: IMEI packet received {"connection_id":130281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":130281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:09:49] local.INFO: TCP Data received {"connection_id":130281,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59201e68012d82954005d195e0002e01610a..."} 
[2026-07-13 07:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59201e68012d82954005d195e0002e01610a..."} 
[2026-07-13 07:09:49] local.INFO: Processing buffer {"connection_id":130281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59201e68012d82954005d195e0002e01610a..."} 
[2026-07-13 07:09:49] local.INFO: Packet analysis {"connection_id":130281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5920"} 
[2026-07-13 07:09:49] local.INFO: Extracted packet for processing {"connection_id":130281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5920"} 
[2026-07-13 07:09:49] local.INFO: GPS Element Parsed {"raw_longitude":763532608,"raw_latitude":97621472,"longitude_deg":76.3532608,"latitude_deg":9.7621472,"altitude":46,"angle":353,"satellites":10,"speed":29,"hex_longitude":"2d829540","hex_latitude":"05d195e0","is_valid_coordinates":true} 
[2026-07-13 07:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680112896001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105515466583179264,"note":"Value kept but may cause issues"} 
[2026-07-13 07:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037035577283522560,"note":"Value kept but may cause issues"} 
[2026-07-13 07:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783906705000,"timestamp_ms":1783906705000,"timestamp_seconds":1783906705,"priority":1,"record_length":96,"hex_timestamp":"0000019f59201e68"} 
[2026-07-13 07:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-13 07:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-13 07:09:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 07:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2188787717,"note":"Value kept but may cause issues"} 
[2026-07-13 07:09:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3279218663148844368,"note":"Value kept but may cause issues"} 
[2026-07-13 07:09:49] local.WARNING: Large IO value detected {"io_id":209,"raw_value":8203306751327603200,"note":"Value kept but may cause issues"} 
[2026-07-13 07:09:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312817358,"corrected_to":0} 
[2026-07-13 07:09:49] local.WARNING: Large IO value detected {"io_id":114,"raw_value":2281778562,"note":"Value kept but may cause issues"} 
[2026-07-13 07:09:49] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2147864935,"note":"Value kept but may cause issues"} 
[2026-07-13 07:09:49] local.WARNING: Large IO value detected {"io_id":118,"raw_value":3700162560,"note":"Value kept but may cause issues"} 
[2026-07-13 07:09:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3513292800,"note":"Value kept but may cause issues"} 
[2026-07-13 07:09:49] local.WARNING: Large IO value detected {"io_id":198,"raw_value":57788411319047483,"note":"Value kept but may cause issues"} 
[2026-07-13 07:09:49] local.WARNING: Large IO value detected {"io_id":31,"raw_value":5156622868308459525,"note":"Value kept but may cause issues"} 
[2026-07-13 07:09:49] local.WARNING: Large IO value detected {"io_id":29,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-13 07:09:49] local.WARNING: Large IO value detected {"io_id":78,"raw_value":4683970477922719744,"note":"Value kept but may cause issues"} 
[2026-07-13 07:09:49] local.WARNING: Large IO value detected {"io_id":49,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-13 07:09:49] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,64,85,24,241,157,16,221,159,223,45,112,37,10,66,220,111,216,1,240,40,227,89,209,4,113,205,27,114,81,128,239,51,65,2,118,5,13,32,198,31,29,78,49],"length":626,"final_offset":756,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1312817358,"validated":0}]} 
[2026-07-13 07:09:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2738578943019712512,"timestamp_seconds":2738578943019712.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 07:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680112896001,"66":13428,"64":206,"85":15104,"24":29,"16":105515466583179264,"45":-9037035577283522560},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-13 07:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680112896001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:09:49] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-13 07:09:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105515466583179264,"km_value":105515466583179.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037035577283522560,"description":"Unknown IO ID 45"} 
[2026-07-13 07:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680112896001,"power":13428,"unknown_64":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9037035577283522560}} 
[2026-07-13 07:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":130281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478737,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:09:49] local.INFO: GPS data processed {"connection_id":130281,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:09:49] local.INFO: Acknowledgment sent {"connection_id":130281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:10:12] local.INFO: TCP Data received {"connection_id":130076,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:10:12] local.INFO: Processing buffer {"connection_id":130076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:10:12] local.INFO: Packet analysis {"connection_id":130076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591e"} 
[2026-07-13 07:10:12] local.INFO: Extracted packet for processing {"connection_id":130076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591e"} 
[2026-07-13 07:10:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680014336001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783906607000,"timestamp_ms":1783906607000,"timestamp_seconds":1783906607,"priority":1,"record_length":96,"hex_timestamp":"0000019f591e9f98"} 
[2026-07-13 07:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 07:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680014336001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680014336001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:10:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:10:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680014336001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":130076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:10:12] local.INFO: GPS data processed {"connection_id":130076,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:10:12] local.INFO: Acknowledgment sent {"connection_id":130076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:10:20] local.INFO: TCP Data received {"connection_id":130281,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59204960012d82930005d1ba20003501670a..."} 
[2026-07-13 07:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59204960012d82930005d1ba20003501670a..."} 
[2026-07-13 07:10:20] local.INFO: Processing buffer {"connection_id":130281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59204960012d82930005d1ba20003501670a..."} 
[2026-07-13 07:10:20] local.INFO: Packet analysis {"connection_id":130281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5920"} 
[2026-07-13 07:10:20] local.INFO: Extracted packet for processing {"connection_id":130281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5920"} 
[2026-07-13 07:10:20] local.INFO: GPS Element Parsed {"raw_longitude":763532032,"raw_latitude":97630752,"longitude_deg":76.3532032,"latitude_deg":9.7630752,"altitude":53,"angle":359,"satellites":10,"speed":35,"hex_longitude":"2d829300","hex_latitude":"05d1ba20","is_valid_coordinates":true} 
[2026-07-13 07:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680116480001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105515917554745344,"note":"Value kept but may cause issues"} 
[2026-07-13 07:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037246683513757696,"note":"Value kept but may cause issues"} 
[2026-07-13 07:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783906716000,"timestamp_ms":1783906716000,"timestamp_seconds":1783906716,"priority":1,"record_length":96,"hex_timestamp":"0000019f59204960"} 
[2026-07-13 07:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-13 07:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680116480001,"66":13276,"63":206,"85":15104,"24":35,"16":105515917554745344,"45":-9037246683513757696},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-13 07:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680116480001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:10:20] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-13 07:10:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105515917554745344,"km_value":105515917554745.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037246683513757696,"description":"Unknown IO ID 45"} 
[2026-07-13 07:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680116480001,"power":13276,"unknown_63":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9037246683513757696}} 
[2026-07-13 07:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":130281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478739,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:10:20] local.INFO: GPS data processed {"connection_id":130281,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:10:20] local.INFO: Acknowledgment sent {"connection_id":130281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:10:35] local.INFO: TCP Data received {"connection_id":132399,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:10:35] local.INFO: Processing buffer {"connection_id":132399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:10:35] local.INFO: IMEI packet received {"connection_id":132399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":132399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:10:40] local.INFO: TCP Data received {"connection_id":132399,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:10:40] local.INFO: Processing buffer {"connection_id":132399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:10:40] local.INFO: IMEI packet received {"connection_id":132399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":132399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:10:41] local.INFO: TCP Data received {"connection_id":132399,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:10:41] local.INFO: Processing buffer {"connection_id":132399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:10:41] local.INFO: Packet analysis {"connection_id":132399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591e"} 
[2026-07-13 07:10:41] local.INFO: Extracted packet for processing {"connection_id":132399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591e"} 
[2026-07-13 07:10:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680014336001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783906607000,"timestamp_ms":1783906607000,"timestamp_seconds":1783906607,"priority":1,"record_length":96,"hex_timestamp":"0000019f591e9f98"} 
[2026-07-13 07:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 07:10:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680014336001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680014336001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:10:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:10:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680014336001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":132399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:10:41] local.INFO: GPS data processed {"connection_id":132399,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:10:41] local.INFO: Acknowledgment sent {"connection_id":132399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:10:43] local.INFO: TCP Data received {"connection_id":132400,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:10:43] local.INFO: Processing buffer {"connection_id":132400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:10:43] local.INFO: IMEI packet received {"connection_id":132400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":132400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:10:46] local.INFO: TCP Data received {"connection_id":132400,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:10:46] local.INFO: Processing buffer {"connection_id":132400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:10:46] local.INFO: IMEI packet received {"connection_id":132400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":132400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:10:47] local.INFO: TCP Data received {"connection_id":132400,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59207c28012d8294c005d1dd80003601640c..."} 
[2026-07-13 07:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59207c28012d8294c005d1dd80003601640c..."} 
[2026-07-13 07:10:47] local.INFO: Processing buffer {"connection_id":132400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59207c28012d8294c005d1dd80003601640c..."} 
[2026-07-13 07:10:47] local.INFO: Packet analysis {"connection_id":132400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5920"} 
[2026-07-13 07:10:47] local.INFO: Extracted packet for processing {"connection_id":132400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5920"} 
[2026-07-13 07:10:47] local.INFO: GPS Element Parsed {"raw_longitude":763532480,"raw_latitude":97639808,"longitude_deg":76.353248,"latitude_deg":9.7639808,"altitude":54,"angle":356,"satellites":12,"speed":17,"hex_longitude":"2d8294c0","hex_latitude":"05d1dd80","is_valid_coordinates":true} 
[2026-07-13 07:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680119296001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105516355641409536,"note":"Value kept but may cause issues"} 
[2026-07-13 07:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037880002208980992,"note":"Value kept but may cause issues"} 
[2026-07-13 07:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783906729000,"timestamp_ms":1783906729000,"timestamp_seconds":1783906729,"priority":1,"record_length":96,"hex_timestamp":"0000019f59207c28"} 
[2026-07-13 07:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-13 07:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:10:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:10: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-07-13 07:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680119296001,"66":13341,"63":206,"85":15104,"24":17,"16":105516355641409536,"45":-9037880002208980992},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-13 07:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680119296001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:10:47] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-13 07:10:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105516355641409536,"km_value":105516355641409.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037880002208980992,"description":"Unknown IO ID 45"} 
[2026-07-13 07:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680119296001,"power":13341,"unknown_63":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9037880002208980992}} 
[2026-07-13 07:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":132400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478741,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:10:47] local.INFO: GPS data processed {"connection_id":132400,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:10:47] local.INFO: Acknowledgment sent {"connection_id":132400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:11:10] local.INFO: TCP Data received {"connection_id":131060,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:11:10] local.INFO: Processing buffer {"connection_id":131060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:11:10] local.INFO: IMEI packet received {"connection_id":131060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":131060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:11:15] local.INFO: TCP Data received {"connection_id":131060,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:11:15] local.INFO: Processing buffer {"connection_id":131060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:11:15] local.INFO: IMEI packet received {"connection_id":131060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":131060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:11:16] local.INFO: TCP Data received {"connection_id":131060,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:11:16] local.INFO: Processing buffer {"connection_id":131060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:11:16] local.INFO: Packet analysis {"connection_id":131060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591e"} 
[2026-07-13 07:11:16] local.INFO: Extracted packet for processing {"connection_id":131060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591e"} 
[2026-07-13 07:11:16] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680014336001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783906607000,"timestamp_ms":1783906607000,"timestamp_seconds":1783906607,"priority":1,"record_length":96,"hex_timestamp":"0000019f591e9f98"} 
[2026-07-13 07:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 07:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":131060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":131060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":131060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680014336001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680014336001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:11:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:11:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680014336001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":131060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:11:16] local.INFO: GPS data processed {"connection_id":131060,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:11:16] local.INFO: Acknowledgment sent {"connection_id":131060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:11:18] local.INFO: TCP Data received {"connection_id":132400,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59208010012d8294c005d1dec8003601590c..."} 
[2026-07-13 07:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59208010012d8294c005d1dec8003601590c..."} 
[2026-07-13 07:11:18] local.INFO: Processing buffer {"connection_id":132400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59208010012d8294c005d1dec8003601590c..."} 
[2026-07-13 07:11:18] local.INFO: Packet analysis {"connection_id":132400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5920"} 
[2026-07-13 07:11:18] local.INFO: Extracted packet for processing {"connection_id":132400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5920"} 
[2026-07-13 07:11:18] local.INFO: GPS Element Parsed {"raw_longitude":763532480,"raw_latitude":97640136,"longitude_deg":76.353248,"latitude_deg":9.7640136,"altitude":54,"angle":345,"satellites":12,"speed":14,"hex_longitude":"2d8294c0","hex_latitude":"05d1dec8","is_valid_coordinates":true} 
[2026-07-13 07:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680122624001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105516372821278720,"note":"Value kept but may cause issues"} 
[2026-07-13 07:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037387420997419008,"note":"Value kept but may cause issues"} 
[2026-07-13 07:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783906730000,"timestamp_ms":1783906730000,"timestamp_seconds":1783906730,"priority":1,"record_length":96,"hex_timestamp":"0000019f59208010"} 
[2026-07-13 07:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-13 07:11:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:11:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680122624001,"66":12906,"63":206,"85":15104,"24":14,"16":105516372821278720,"45":-9037387420997419008},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-13 07:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680122624001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:11:18] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-13 07:11:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105516372821278720,"km_value":105516372821278.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037387420997419008,"description":"Unknown IO ID 45"} 
[2026-07-13 07:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680122624001,"power":12906,"unknown_63":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9037387420997419008}} 
[2026-07-13 07:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":132400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478743,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:11:18] local.INFO: GPS data processed {"connection_id":132400,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:11:18] local.INFO: Acknowledgment sent {"connection_id":132400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:11:40] local.INFO: TCP Data received {"connection_id":131061,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:11:40] local.INFO: Processing buffer {"connection_id":131061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:11:40] local.INFO: IMEI packet received {"connection_id":131061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":131061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:11:43] local.INFO: TCP Data received {"connection_id":131062,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:11:43] local.INFO: Processing buffer {"connection_id":131062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:11:43] local.INFO: IMEI packet received {"connection_id":131062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":131062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:11:43] local.INFO: TCP Data received {"connection_id":131062,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:11:43] local.INFO: Processing buffer {"connection_id":131062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:11:43] local.INFO: IMEI packet received {"connection_id":131062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":131062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:11:46] local.INFO: TCP Data received {"connection_id":131061,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:11:46] local.INFO: Processing buffer {"connection_id":131061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:11:46] local.INFO: IMEI packet received {"connection_id":131061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":131061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:11:47] local.INFO: TCP Data received {"connection_id":131061,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:11:47] local.INFO: Processing buffer {"connection_id":131061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:11:47] local.INFO: Packet analysis {"connection_id":131061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591e"} 
[2026-07-13 07:11:47] local.INFO: Extracted packet for processing {"connection_id":131061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591e"} 
[2026-07-13 07:11:47] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680014336001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783906607000,"timestamp_ms":1783906607000,"timestamp_seconds":1783906607,"priority":1,"record_length":96,"hex_timestamp":"0000019f591e9f98"} 
[2026-07-13 07:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 07:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":131061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":131061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":131061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680014336001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680014336001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:11:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:11:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680014336001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":131061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:11:47] local.INFO: GPS data processed {"connection_id":131061,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:11:47] local.INFO: Acknowledgment sent {"connection_id":131061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:11:48] local.INFO: TCP Data received {"connection_id":131062,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:11:48] local.INFO: Processing buffer {"connection_id":131062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:11:48] local.INFO: IMEI packet received {"connection_id":131062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":131062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:11:49] local.INFO: TCP Data received {"connection_id":131062,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5922d5b8012d82920005d27328000c01611b..."} 
[2026-07-13 07:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5922d5b8012d82920005d27328000c01611b..."} 
[2026-07-13 07:11:49] local.INFO: Processing buffer {"connection_id":131062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5922d5b8012d82920005d27328000c01611b..."} 
[2026-07-13 07:11:49] local.INFO: Packet analysis {"connection_id":131062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5922"} 
[2026-07-13 07:11:49] local.INFO: Extracted packet for processing {"connection_id":131062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5922"} 
[2026-07-13 07:11:49] local.INFO: GPS Element Parsed {"raw_longitude":763531776,"raw_latitude":97678120,"longitude_deg":76.3531776,"latitude_deg":9.767812,"altitude":12,"angle":353,"satellites":27,"speed":27,"hex_longitude":"2d829200","hex_latitude":"05d27328","is_valid_coordinates":true} 
[2026-07-13 07:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680158720001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105518271196823552,"note":"Value kept but may cause issues"} 
[2026-07-13 07:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036824471036485632,"note":"Value kept but may cause issues"} 
[2026-07-13 07:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783906883000,"timestamp_ms":1783906883000,"timestamp_seconds":1783906883,"priority":1,"record_length":96,"hex_timestamp":"0000019f5922d5b8"} 
[2026-07-13 07:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-13 07:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:11:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680158720001,"66":13276,"63":206,"85":15104,"24":27,"16":105518271196823552,"45":-9036824471036485632},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-13 07:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680158720001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:11:49] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-13 07:11:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105518271196823552,"km_value":105518271196823.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036824471036485632,"description":"Unknown IO ID 45"} 
[2026-07-13 07:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680158720001,"power":13276,"unknown_63":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9036824471036485632}} 
[2026-07-13 07:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":131062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478745,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:11:49] local.INFO: GPS data processed {"connection_id":131062,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:11:49] local.INFO: Acknowledgment sent {"connection_id":131062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:11:51] local.INFO: TCP Data received {"connection_id":131061,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:11:51] local.INFO: Processing buffer {"connection_id":131061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f591e9f98012d7f914005afd9380000011b26..."} 
[2026-07-13 07:11:51] local.INFO: Packet analysis {"connection_id":131061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f591e"} 
[2026-07-13 07:11:51] local.INFO: Extracted packet for processing {"connection_id":131061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f591e"} 
[2026-07-13 07:11:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680014336001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783906607000,"timestamp_ms":1783906607000,"timestamp_seconds":1783906607,"priority":1,"record_length":96,"hex_timestamp":"0000019f591e9f98"} 
[2026-07-13 07:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 07:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":131061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":131061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":131061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:11: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-07-13 07:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680014336001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680014336001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:11:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:11:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680014336001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":131061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:11:51] local.INFO: GPS data processed {"connection_id":131061,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:11:51] local.INFO: Acknowledgment sent {"connection_id":131061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:12:20] local.INFO: TCP Data received {"connection_id":131062,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59230c68012d828e8005d29738000901601c..."} 
[2026-07-13 07:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59230c68012d828e8005d29738000901601c..."} 
[2026-07-13 07:12:20] local.INFO: Processing buffer {"connection_id":131062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59230c68012d828e8005d29738000901601c..."} 
[2026-07-13 07:12:20] local.INFO: Packet analysis {"connection_id":131062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5923"} 
[2026-07-13 07:12:20] local.INFO: Extracted packet for processing {"connection_id":131062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5923"} 
[2026-07-13 07:12:20] local.INFO: GPS Element Parsed {"raw_longitude":763530880,"raw_latitude":97687352,"longitude_deg":76.353088,"latitude_deg":9.7687352,"altitude":9,"angle":352,"satellites":28,"speed":26,"hex_longitude":"2d828e80","hex_latitude":"05d29738","is_valid_coordinates":true} 
[2026-07-13 07:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680162048001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105518722168389632,"note":"Value kept but may cause issues"} 
[2026-07-13 07:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9038161477173565440,"note":"Value kept but may cause issues"} 
[2026-07-13 07:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783906897000,"timestamp_ms":1783906897000,"timestamp_seconds":1783906897,"priority":1,"record_length":96,"hex_timestamp":"0000019f59230c68"} 
[2026-07-13 07:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-13 07:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":131062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":131062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":131062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680162048001,"66":13124,"63":206,"85":15104,"24":26,"16":105518722168389632,"45":-9038161477173565440},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-13 07:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680162048001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:12:20] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-13 07:12:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105518722168389632,"km_value":105518722168389.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9038161477173565440,"description":"Unknown IO ID 45"} 
[2026-07-13 07:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680162048001,"power":13124,"unknown_63":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9038161477173565440}} 
[2026-07-13 07:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":131062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478747,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:12:20] local.INFO: GPS data processed {"connection_id":131062,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:12:20] local.INFO: Acknowledgment sent {"connection_id":131062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:12:35] local.INFO: TCP Data received {"connection_id":131063,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:12:35] local.INFO: Processing buffer {"connection_id":131063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:12:35] local.INFO: IMEI packet received {"connection_id":131063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":131063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:12:40] local.INFO: TCP Data received {"connection_id":131063,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:12:40] local.INFO: Processing buffer {"connection_id":131063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:12:40] local.INFO: IMEI packet received {"connection_id":131063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":131063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:12:42] local.INFO: TCP Data received {"connection_id":131063,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f59233760012d7f914005afd9380000011b27..."} 
[2026-07-13 07:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59233760012d7f914005afd9380000011b27..."} 
[2026-07-13 07:12:42] local.INFO: Processing buffer {"connection_id":131063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59233760012d7f914005afd9380000011b27..."} 
[2026-07-13 07:12:42] local.INFO: Packet analysis {"connection_id":131063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5923"} 
[2026-07-13 07:12:42] local.INFO: Extracted packet for processing {"connection_id":131063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5923"} 
[2026-07-13 07:12:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680091392001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783906908000,"timestamp_ms":1783906908000,"timestamp_seconds":1783906908,"priority":1,"record_length":96,"hex_timestamp":"0000019f59233760"} 
[2026-07-13 07:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":131063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":131063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":131063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680091392001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680091392001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:12:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:12:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680091392001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":131063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:12:42] local.INFO: GPS data processed {"connection_id":131063,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:12:42] local.INFO: Acknowledgment sent {"connection_id":131063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:12:43] local.INFO: TCP Data received {"connection_id":131064,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:12:43] local.INFO: Processing buffer {"connection_id":131064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:12:43] local.INFO: IMEI packet received {"connection_id":131064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":131064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:12:46] local.INFO: TCP Data received {"connection_id":131064,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:12:46] local.INFO: Processing buffer {"connection_id":131064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:12:46] local.INFO: IMEI packet received {"connection_id":131064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":131064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:12:49] local.INFO: TCP Data received {"connection_id":131064,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:12:49] local.INFO: Processing buffer {"connection_id":131064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:12:49] local.INFO: IMEI packet received {"connection_id":131064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":131064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:12:50] local.INFO: TCP Data received {"connection_id":131064,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59231ff0012d828e0005d2a440000800061c..."} 
[2026-07-13 07:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59231ff0012d828e0005d2a440000800061c..."} 
[2026-07-13 07:12:50] local.INFO: Processing buffer {"connection_id":131064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59231ff0012d828e0005d2a440000800061c..."} 
[2026-07-13 07:12:50] local.INFO: Packet analysis {"connection_id":131064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5923"} 
[2026-07-13 07:12:50] local.INFO: Extracted packet for processing {"connection_id":131064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5923"} 
[2026-07-13 07:12:50] local.INFO: GPS Element Parsed {"raw_longitude":763530752,"raw_latitude":97690688,"longitude_deg":76.3530752,"latitude_deg":9.7690688,"altitude":8,"angle":6,"satellites":28,"speed":25,"hex_longitude":"2d828e00","hex_latitude":"05d2a440","is_valid_coordinates":true} 
[2026-07-13 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-07-13 07:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680165632001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105518885377146880,"note":"Value kept but may cause issues"} 
[2026-07-13 07:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9039146639589689344,"note":"Value kept but may cause issues"} 
[2026-07-13 07:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783906902000,"timestamp_ms":1783906902000,"timestamp_seconds":1783906902,"priority":1,"record_length":96,"hex_timestamp":"0000019f59231ff0"} 
[2026-07-13 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-07-13 07:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-13 07:12:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 07:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:12:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680165632001,"66":13222,"68":206,"85":15104,"24":25,"16":105518885377146880,"45":-9039146639589689344},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-07-13 07:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680165632001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:12:50] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-13 07:12:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105518885377146880,"km_value":105518885377146.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9039146639589689344,"description":"Unknown IO ID 45"} 
[2026-07-13 07:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680165632001,"power":13222,"unknown_68":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9039146639589689344}} 
[2026-07-13 07:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":131064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:12:50] local.INFO: GPS data processed {"connection_id":131064,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:12:50] local.INFO: Acknowledgment sent {"connection_id":131064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:13:06] local.INFO: TCP Data received {"connection_id":130282,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130282,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:13:06] local.INFO: Processing buffer {"connection_id":130282,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:13:06] local.INFO: IMEI packet received {"connection_id":130282,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 07:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":130282,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:13:13] local.INFO: TCP Data received {"connection_id":131063,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f59233760012d7f914005afd9380000011b27..."} 
[2026-07-13 07:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59233760012d7f914005afd9380000011b27..."} 
[2026-07-13 07:13:13] local.INFO: Processing buffer {"connection_id":131063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59233760012d7f914005afd9380000011b27..."} 
[2026-07-13 07:13:13] local.INFO: Packet analysis {"connection_id":131063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5923"} 
[2026-07-13 07:13:13] local.INFO: Extracted packet for processing {"connection_id":131063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5923"} 
[2026-07-13 07:13:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680091392001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783906908000,"timestamp_ms":1783906908000,"timestamp_seconds":1783906908,"priority":1,"record_length":96,"hex_timestamp":"0000019f59233760"} 
[2026-07-13 07:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680091392001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680091392001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:13:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:13:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680091392001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":131063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:13:14] local.INFO: GPS data processed {"connection_id":131063,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:13:14] local.INFO: Acknowledgment sent {"connection_id":131063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:13:21] local.INFO: TCP Data received {"connection_id":131064,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59233b48012d828f0005d2b458000801611c..."} 
[2026-07-13 07:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59233b48012d828f0005d2b458000801611c..."} 
[2026-07-13 07:13:21] local.INFO: Processing buffer {"connection_id":131064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59233b48012d828f0005d2b458000801611c..."} 
[2026-07-13 07:13:21] local.INFO: Packet analysis {"connection_id":131064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5923"} 
[2026-07-13 07:13:21] local.INFO: Extracted packet for processing {"connection_id":131064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5923"} 
[2026-07-13 07:13:21] local.INFO: GPS Element Parsed {"raw_longitude":763531008,"raw_latitude":97694808,"longitude_deg":76.3531008,"latitude_deg":9.7694808,"altitude":8,"angle":353,"satellites":28,"speed":13,"hex_longitude":"2d828f00","hex_latitude":"05d2b458","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680166912001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105519087240609792,"note":"Value kept but may cause issues"} 
[2026-07-13 07:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9039287377077190656,"note":"Value kept but may cause issues"} 
[2026-07-13 07:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783906909000,"timestamp_ms":1783906909000,"timestamp_seconds":1783906909,"priority":1,"record_length":96,"hex_timestamp":"0000019f59233b48"} 
[2026-07-13 07:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-13 07:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":131064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":131064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":131064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680166912001,"66":13015,"68":206,"85":15104,"24":13,"16":105519087240609792,"45":-9039287377077190656},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-07-13 07:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680166912001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:13:21] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-13 07:13:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105519087240609792,"km_value":105519087240609.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9039287377077190656,"description":"Unknown IO ID 45"} 
[2026-07-13 07:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680166912001,"power":13015,"unknown_68":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9039287377077190656}} 
[2026-07-13 07:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":131064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478751,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:13:21] local.INFO: GPS data processed {"connection_id":131064,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:13:21] local.INFO: Acknowledgment sent {"connection_id":131064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:13:35] local.INFO: TCP Data received {"connection_id":132401,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:13:35] local.INFO: Processing buffer {"connection_id":132401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:13:35] local.INFO: IMEI packet received {"connection_id":132401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":132401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:13:40] local.INFO: TCP Data received {"connection_id":132401,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:13:40] local.INFO: Processing buffer {"connection_id":132401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:13:40] local.INFO: IMEI packet received {"connection_id":132401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":132401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:13:41] local.INFO: TCP Data received {"connection_id":130078,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:13:41] local.INFO: Processing buffer {"connection_id":130078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:13:41] local.INFO: IMEI packet received {"connection_id":130078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 07:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":130078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:13:41] local.INFO: TCP Data received {"connection_id":132401,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f59233760012d7f914005afd9380000011b27..."} 
[2026-07-13 07:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59233760012d7f914005afd9380000011b27..."} 
[2026-07-13 07:13:41] local.INFO: Processing buffer {"connection_id":132401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59233760012d7f914005afd9380000011b27..."} 
[2026-07-13 07:13:41] local.INFO: Packet analysis {"connection_id":132401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5923"} 
[2026-07-13 07:13:41] local.INFO: Extracted packet for processing {"connection_id":132401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5923"} 
[2026-07-13 07:13:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680091392001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783906908000,"timestamp_ms":1783906908000,"timestamp_seconds":1783906908,"priority":1,"record_length":96,"hex_timestamp":"0000019f59233760"} 
[2026-07-13 07:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680091392001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680091392001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:13:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:13:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680091392001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":132401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:13:41] local.INFO: GPS data processed {"connection_id":132401,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:13:41] local.INFO: Acknowledgment sent {"connection_id":132401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:13:48] local.INFO: TCP Data received {"connection_id":132402,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132402,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:13:48] local.INFO: Processing buffer {"connection_id":132402,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:13:48] local.INFO: IMEI packet received {"connection_id":132402,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":132402,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:13:49] local.INFO: TCP Data received {"connection_id":132402,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132402,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:13:49] local.INFO: Processing buffer {"connection_id":132402,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:13:49] local.INFO: IMEI packet received {"connection_id":132402,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":132402,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:13:51] local.INFO: TCP Data received {"connection_id":132402,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59238580012d828b0005d2d818000801621c..."} 
[2026-07-13 07:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59238580012d828b0005d2d818000801621c..."} 
[2026-07-13 07:13:51] local.INFO: Processing buffer {"connection_id":132402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59238580012d828b0005d2d818000801621c..."} 
[2026-07-13 07:13:51] local.INFO: Packet analysis {"connection_id":132402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5923"} 
[2026-07-13 07:13:51] local.INFO: Extracted packet for processing {"connection_id":132402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5923"} 
[2026-07-13 07:13:51] local.INFO: GPS Element Parsed {"raw_longitude":763529984,"raw_latitude":97703960,"longitude_deg":76.3529984,"latitude_deg":9.770396,"altitude":8,"angle":354,"satellites":28,"speed":22,"hex_longitude":"2d828b00","hex_latitude":"05d2d818","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680168704001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105519533917208576,"note":"Value kept but may cause issues"} 
[2026-07-13 07:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9039005902099425280,"note":"Value kept but may cause issues"} 
[2026-07-13 07:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783906928000,"timestamp_ms":1783906928000,"timestamp_seconds":1783906928,"priority":1,"record_length":96,"hex_timestamp":"0000019f59238580"} 
[2026-07-13 07:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-13 07:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132402,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132402,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680168704001,"66":13428,"68":206,"85":15104,"24":22,"16":105519533917208576,"45":-9039005902099425280},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-07-13 07:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680168704001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:13:51] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-13 07:13:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105519533917208576,"km_value":105519533917208.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9039005902099425280,"description":"Unknown IO ID 45"} 
[2026-07-13 07:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680168704001,"power":13428,"unknown_68":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9039005902099425280}} 
[2026-07-13 07:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":132402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478753,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:13:51] local.INFO: GPS data processed {"connection_id":132402,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:13:51] local.INFO: Acknowledgment sent {"connection_id":132402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:13:53] local.INFO: TCP Data received {"connection_id":132402,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5923c018012d82848005d2fab8000a015e1c..."} 
[2026-07-13 07:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5923c018012d82848005d2fab8000a015e1c..."} 
[2026-07-13 07:13:53] local.INFO: Processing buffer {"connection_id":132402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5923c018012d82848005d2fab8000a015e1c..."} 
[2026-07-13 07:13:53] local.INFO: Packet analysis {"connection_id":132402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5923"} 
[2026-07-13 07:13:53] local.INFO: Extracted packet for processing {"connection_id":132402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5923"} 
[2026-07-13 07:13:53] local.INFO: GPS Element Parsed {"raw_longitude":763528320,"raw_latitude":97712824,"longitude_deg":76.352832,"latitude_deg":9.7712824,"altitude":10,"angle":350,"satellites":28,"speed":21,"hex_longitude":"2d828480","hex_latitude":"05d2fab8","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680173568001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105519972003872768,"note":"Value kept but may cause issues"} 
[2026-07-13 07:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040131802003924992,"note":"Value kept but may cause issues"} 
[2026-07-13 07:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783906943000,"timestamp_ms":1783906943000,"timestamp_seconds":1783906943,"priority":1,"record_length":96,"hex_timestamp":"0000019f5923c018"} 
[2026-07-13 07:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-13 07:13:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":132402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":132402,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":132402,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:13:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680173568001,"66":13254,"68":206,"85":15104,"24":21,"16":105519972003872768,"45":-9040131802003924992},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-07-13 07:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680173568001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:13:53] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-13 07:13:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105519972003872768,"km_value":105519972003872.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040131802003924992,"description":"Unknown IO ID 45"} 
[2026-07-13 07:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680173568001,"power":13254,"unknown_68":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9040131802003924992}} 
[2026-07-13 07:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":132402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478754,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:13:53] local.INFO: GPS data processed {"connection_id":132402,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:13:53] local.INFO: Acknowledgment sent {"connection_id":132402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:14:12] local.INFO: TCP Data received {"connection_id":132401,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f59233760012d7f914005afd9380000011b27..."} 
[2026-07-13 07:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59233760012d7f914005afd9380000011b27..."} 
[2026-07-13 07:14:12] local.INFO: Processing buffer {"connection_id":132401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59233760012d7f914005afd9380000011b27..."} 
[2026-07-13 07:14:12] local.INFO: Packet analysis {"connection_id":132401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5923"} 
[2026-07-13 07:14:12] local.INFO: Extracted packet for processing {"connection_id":132401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5923"} 
[2026-07-13 07:14:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680091392001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783906908000,"timestamp_ms":1783906908000,"timestamp_seconds":1783906908,"priority":1,"record_length":96,"hex_timestamp":"0000019f59233760"} 
[2026-07-13 07:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680091392001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680091392001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:14:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:14:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680091392001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":132401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:14:12] local.INFO: GPS data processed {"connection_id":132401,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:14:12] local.INFO: Acknowledgment sent {"connection_id":132401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:14:34] local.INFO: TCP Data received {"connection_id":132402,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f592565f8012d81c5c005d34740000301471d..."} 
[2026-07-13 07:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f592565f8012d81c5c005d34740000301471d..."} 
[2026-07-13 07:14:34] local.INFO: Processing buffer {"connection_id":132402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f592565f8012d81c5c005d34740000301471d..."} 
[2026-07-13 07:14:34] local.INFO: Packet analysis {"connection_id":132402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5925"} 
[2026-07-13 07:14:34] local.INFO: Extracted packet for processing {"connection_id":132402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5925"} 
[2026-07-13 07:14:34] local.INFO: GPS Element Parsed {"raw_longitude":763479488,"raw_latitude":97732416,"longitude_deg":76.3479488,"latitude_deg":9.7732416,"altitude":3,"angle":327,"satellites":29,"speed":12,"hex_longitude":"2d81c5c0","hex_latitude":"05d34740","is_valid_coordinates":true} 
[2026-07-13 07:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680204800001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105523283423657984,"note":"Value kept but may cause issues"} 
[2026-07-13 07:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9095441634920341504,"note":"Value kept but may cause issues"} 
[2026-07-13 07:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783907051000,"timestamp_ms":1783907051000,"timestamp_seconds":1783907051,"priority":1,"record_length":96,"hex_timestamp":"0000019f592565f8"} 
[2026-07-13 07:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-13 07:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":132402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":132402,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":132402,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:14: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-07-13 07:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680204800001,"66":13037,"68":206,"85":15104,"24":12,"16":105523283423657984,"45":-9095441634920341504},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-07-13 07:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680204800001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:14:34] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-13 07:14:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105523283423657984,"km_value":105523283423657.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9095441634920341504,"description":"Unknown IO ID 45"} 
[2026-07-13 07:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680204800001,"power":13037,"unknown_68":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9095441634920341504}} 
[2026-07-13 07:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":132402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478756,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:14:34] local.INFO: GPS data processed {"connection_id":132402,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:14:34] local.INFO: Acknowledgment sent {"connection_id":132402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:14:35] local.INFO: TCP Data received {"connection_id":132403,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:14:35] local.INFO: Processing buffer {"connection_id":132403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:14:35] local.INFO: IMEI packet received {"connection_id":132403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":132403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:14:40] local.INFO: TCP Data received {"connection_id":132403,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:14:40] local.INFO: Processing buffer {"connection_id":132403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:14:40] local.INFO: IMEI packet received {"connection_id":132403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":132403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:14:42] local.INFO: TCP Data received {"connection_id":132403,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f59233760012d7f914005afd9380000011b27..."} 
[2026-07-13 07:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59233760012d7f914005afd9380000011b27..."} 
[2026-07-13 07:14:42] local.INFO: Processing buffer {"connection_id":132403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59233760012d7f914005afd9380000011b27..."} 
[2026-07-13 07:14:42] local.INFO: Packet analysis {"connection_id":132403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5923"} 
[2026-07-13 07:14:42] local.INFO: Extracted packet for processing {"connection_id":132403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5923"} 
[2026-07-13 07:14:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680091392001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783906908000,"timestamp_ms":1783906908000,"timestamp_seconds":1783906908,"priority":1,"record_length":96,"hex_timestamp":"0000019f59233760"} 
[2026-07-13 07:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680091392001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680091392001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:14:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:14:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680091392001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":132403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:14:42] local.INFO: GPS data processed {"connection_id":132403,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:14:42] local.INFO: Acknowledgment sent {"connection_id":132403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:14:47] local.INFO: TCP Data received {"connection_id":132404,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:14:47] local.INFO: Processing buffer {"connection_id":132404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:14:47] local.INFO: IMEI packet received {"connection_id":132404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":132404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:14:48] local.INFO: TCP Data received {"connection_id":132404,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:14:48] local.INFO: Processing buffer {"connection_id":132404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:14:48] local.INFO: IMEI packet received {"connection_id":132404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":132404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:14:53] local.INFO: TCP Data received {"connection_id":132404,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:14:53] local.INFO: Processing buffer {"connection_id":132404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:14:53] local.INFO: IMEI packet received {"connection_id":132404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":132404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:14:54] local.INFO: TCP Data received {"connection_id":132404,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f592569e0012d81c54005d34888000401561d..."} 
[2026-07-13 07:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f592569e0012d81c54005d34888000401561d..."} 
[2026-07-13 07:14:54] local.INFO: Processing buffer {"connection_id":132404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f592569e0012d81c54005d34888000401561d..."} 
[2026-07-13 07:14:54] local.INFO: Packet analysis {"connection_id":132404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5925"} 
[2026-07-13 07:14:54] local.INFO: Extracted packet for processing {"connection_id":132404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5925"} 
[2026-07-13 07:14:54] local.INFO: GPS Element Parsed {"raw_longitude":763479360,"raw_latitude":97732744,"longitude_deg":76.347936,"latitude_deg":9.7732744,"altitude":4,"angle":342,"satellites":29,"speed":14,"hex_longitude":"2d81c540","hex_latitude":"05d34888","is_valid_coordinates":true} 
[2026-07-13 07:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680205056001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105523300603527168,"note":"Value kept but may cause issues"} 
[2026-07-13 07:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9095652741152817152,"note":"Value kept but may cause issues"} 
[2026-07-13 07:14: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-07-13 07:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783907052000,"timestamp_ms":1783907052000,"timestamp_seconds":1783907052,"priority":1,"record_length":96,"hex_timestamp":"0000019f592569e0"} 
[2026-07-13 07:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-13 07:14:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":132404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":132404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":132404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680205056001,"66":13037,"68":206,"85":15104,"24":14,"16":105523300603527168,"45":-9095652741152817152},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-07-13 07:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680205056001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:14:54] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-13 07:14:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105523300603527168,"km_value":105523300603527.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9095652741152817152,"description":"Unknown IO ID 45"} 
[2026-07-13 07:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680205056001,"power":13037,"unknown_68":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9095652741152817152}} 
[2026-07-13 07:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":132404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478758,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:14:54] local.INFO: GPS data processed {"connection_id":132404,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:14:54] local.INFO: Acknowledgment sent {"connection_id":132404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:15:15] local.INFO: TCP Data received {"connection_id":132403,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f59233760012d7f914005afd9380000011b27..."} 
[2026-07-13 07:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59233760012d7f914005afd9380000011b27..."} 
[2026-07-13 07:15:15] local.INFO: Processing buffer {"connection_id":132403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59233760012d7f914005afd9380000011b27..."} 
[2026-07-13 07:15:15] local.INFO: Packet analysis {"connection_id":132403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5923"} 
[2026-07-13 07:15:15] local.INFO: Extracted packet for processing {"connection_id":132403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5923"} 
[2026-07-13 07:15:15] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680091392001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783906908000,"timestamp_ms":1783906908000,"timestamp_seconds":1783906908,"priority":1,"record_length":96,"hex_timestamp":"0000019f59233760"} 
[2026-07-13 07:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":132403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":132403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":132403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680091392001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680091392001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:15:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:15:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680091392001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":132403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:15:15] local.INFO: GPS data processed {"connection_id":132403,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:15:15] local.INFO: Acknowledgment sent {"connection_id":132403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:15:26] local.INFO: TCP Data received {"connection_id":132404,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59265058012d81a8c005d40280000101671d..."} 
[2026-07-13 07:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59265058012d81a8c005d40280000101671d..."} 
[2026-07-13 07:15:26] local.INFO: Processing buffer {"connection_id":132404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59265058012d81a8c005d40280000101671d..."} 
[2026-07-13 07:15:26] local.INFO: Packet analysis {"connection_id":132404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5926"} 
[2026-07-13 07:15:26] local.INFO: Extracted packet for processing {"connection_id":132404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5926"} 
[2026-07-13 07:15:26] local.INFO: GPS Element Parsed {"raw_longitude":763472064,"raw_latitude":97780352,"longitude_deg":76.3472064,"latitude_deg":9.7780352,"altitude":1,"angle":359,"satellites":29,"speed":31,"hex_longitude":"2d81a8c0","hex_latitude":"05d40280","is_valid_coordinates":true} 
[2026-07-13 07:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680220160001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105525740144951296,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9103815515465353216,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783907111000,"timestamp_ms":1783907111000,"timestamp_seconds":1783907111,"priority":1,"record_length":96,"hex_timestamp":"0000019f59265058"} 
[2026-07-13 07:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:15:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-13 07:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":419835973761892696,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:26] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424437187904000,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:26] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185974,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:26] local.WARNING: Large IO value detected {"io_id":159,"raw_value":6423777113411518895,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2174894085,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:26] local.WARNING: Large IO value detected {"io_id":29,"raw_value":9288674232107012,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:26] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832578,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:26] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3764447221006663886,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:26] local.WARNING: Large IO value detected {"io_id":230,"raw_value":288230376151711745,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:26] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3922722817,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:26] local.WARNING: Large IO value detected {"io_id":4,"raw_value":100799928170708992,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010054862,"corrected_to":0} 
[2026-07-13 07:15:26] local.WARNING: Large IO value detected {"io_id":13,"raw_value":4026609025,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:26] local.WARNING: Large IO value detected {"io_id":170,"raw_value":2147865542,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:26] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085623,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:26] local.WARNING: Large IO value detected {"io_id":118,"raw_value":3865444352,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3550787584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:26] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,207,85,24,241,157,16,231,159,68,45,192,249,1,29,10,66,56,128,240,230,49,64,62,227,89,211,4,113,205,34,13,170,239,50,2,118,5],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2010054862,"validated":0}]} 
[2026-07-13 07:15:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72068713710223360,"timestamp_seconds":72068713710223.36,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 07:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":132404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":132404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":132404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:15:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680220160001,"66":12298,"207":206,"85":15104,"24":31,"16":105525740144951296,"45":-9103815515465353216},"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-07-13 07:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680220160001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:15:26] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-13 07:15:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105525740144951296,"km_value":105525740144951.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9103815515465353216,"description":"Unknown IO ID 45"} 
[2026-07-13 07:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680220160001,"power":12298,"unknown_207":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9103815515465353216}} 
[2026-07-13 07:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":132404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478760,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:15:26] local.INFO: GPS data processed {"connection_id":132404,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:15:26] local.INFO: Acknowledgment sent {"connection_id":132404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:15:35] local.INFO: TCP Data received {"connection_id":132405,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:15:35] local.INFO: Processing buffer {"connection_id":132405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:15:35] local.INFO: IMEI packet received {"connection_id":132405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":132405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:15:40] local.INFO: TCP Data received {"connection_id":132405,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:15:40] local.INFO: Processing buffer {"connection_id":132405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:15:40] local.INFO: IMEI packet received {"connection_id":132405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":132405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:15:42] local.INFO: TCP Data received {"connection_id":132405,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59233760012d7f914005afd9380000011b27..."} 
[2026-07-13 07:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59233760012d7f914005afd9380000011b27..."} 
[2026-07-13 07:15:42] local.INFO: Processing buffer {"connection_id":132405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59233760012d7f914005afd9380000011b27..."} 
[2026-07-13 07:15:42] local.INFO: Packet analysis {"connection_id":132405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5923"} 
[2026-07-13 07:15:42] local.INFO: Extracted packet for processing {"connection_id":132405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5923"} 
[2026-07-13 07:15:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680091392001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783906908000,"timestamp_ms":1783906908000,"timestamp_seconds":1783906908,"priority":1,"record_length":96,"hex_timestamp":"0000019f59233760"} 
[2026-07-13 07:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680091392001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680091392001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:15:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:15:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680091392001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":132405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:15:42] local.INFO: GPS data processed {"connection_id":132405,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:15:42] local.INFO: Acknowledgment sent {"connection_id":132405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:15:43] local.INFO: TCP Data received {"connection_id":130284,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:15:43] local.INFO: Processing buffer {"connection_id":130284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:15:43] local.INFO: IMEI packet received {"connection_id":130284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":130284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:15:44] local.INFO: TCP Data received {"connection_id":130284,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:15:44] local.INFO: Processing buffer {"connection_id":130284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:15:44] local.INFO: IMEI packet received {"connection_id":130284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":130284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:15:45] local.INFO: TCP Data received {"connection_id":130284,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59267380012d81a6c005d42570000101671d..."} 
[2026-07-13 07:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59267380012d81a6c005d42570000101671d..."} 
[2026-07-13 07:15:45] local.INFO: Processing buffer {"connection_id":130284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59267380012d81a6c005d42570000101671d..."} 
[2026-07-13 07:15:45] local.INFO: Packet analysis {"connection_id":130284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5926"} 
[2026-07-13 07:15:45] local.INFO: Extracted packet for processing {"connection_id":130284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5926"} 
[2026-07-13 07:15:45] local.INFO: GPS Element Parsed {"raw_longitude":763471552,"raw_latitude":97789296,"longitude_deg":76.3471552,"latitude_deg":9.7789296,"altitude":1,"angle":359,"satellites":29,"speed":35,"hex_longitude":"2d81a6c0","hex_latitude":"05d42570","is_valid_coordinates":true} 
[2026-07-13 07:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680220416001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105526173936648192,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9103815515465154560,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783907120000,"timestamp_ms":1783907120000,"timestamp_seconds":1783907120,"priority":1,"record_length":96,"hex_timestamp":"0000019f59267380"} 
[2026-07-13 07:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-13 07:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:45] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424437238235648,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:45] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185974,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:45] local.WARNING: Large IO value detected {"io_id":159,"raw_value":6423802883215294891,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2174894085,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:45] local.WARNING: Large IO value detected {"io_id":192,"raw_value":419860300456788326,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:45] local.WARNING: Large IO value detected {"io_id":29,"raw_value":11258999069081604,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:45] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832578,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:45] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3642005606137528526,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:45] local.WARNING: Large IO value detected {"io_id":230,"raw_value":7349874591868649473,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:45] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3922722817,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010054862,"corrected_to":0} 
[2026-07-13 07:15:45] local.WARNING: Large IO value detected {"io_id":2,"raw_value":97422228500512768,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:45] local.WARNING: Large IO value detected {"io_id":118,"raw_value":3872325632,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:45] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3552985088,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:45] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,207,85,24,241,157,16,231,159,76,45,192,255,1,29,10,66,68,249,56,128,240,62,227,230,89,211,4,113,205,34,49,162,208,239,52,2,118,5],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2010054862,"validated":0}]} 
[2026-07-13 07:15:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72452443268382720,"timestamp_seconds":72452443268382.72,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 07:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:15: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-07-13 07:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680220416001,"66":13287,"166":206,"85":15104,"24":35,"16":105526173936648192,"45":-9103815515465154560},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-13 07:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680220416001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:15:45] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-13 07:15:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105526173936648192,"km_value":105526173936648.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9103815515465154560,"description":"Unknown IO ID 45"} 
[2026-07-13 07:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680220416001,"power":13287,"unknown_166":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9103815515465154560}} 
[2026-07-13 07:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":130284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478762,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:15:45] local.INFO: GPS data processed {"connection_id":130284,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:15:45] local.INFO: Acknowledgment sent {"connection_id":130284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:15:48] local.INFO: TCP Data received {"connection_id":130284,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59267b50012d81a60005d42c08000101581d..."} 
[2026-07-13 07:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59267b50012d81a60005d42c08000101581d..."} 
[2026-07-13 07:15:49] local.INFO: Processing buffer {"connection_id":130284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59267b50012d81a60005d42c08000101581d..."} 
[2026-07-13 07:15:49] local.INFO: Packet analysis {"connection_id":130284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5926"} 
[2026-07-13 07:15:49] local.INFO: Extracted packet for processing {"connection_id":130284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5926"} 
[2026-07-13 07:15:49] local.INFO: GPS Element Parsed {"raw_longitude":763471360,"raw_latitude":97790984,"longitude_deg":76.347136,"latitude_deg":9.7790984,"altitude":1,"angle":344,"satellites":29,"speed":32,"hex_longitude":"2d81a600","hex_latitude":"05d42c08","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680222720001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105526259835994112,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9104378465416286208,"note":"Value kept but may cause issues"} 
[2026-07-13 07:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783907122000,"timestamp_ms":1783907122000,"timestamp_seconds":1783907122,"priority":1,"record_length":96,"hex_timestamp":"0000019f59267b50"} 
[2026-07-13 07:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-07-13 07:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680222720001,"66":13222,"166":206,"85":15104,"24":32,"16":105526259835994112,"45":-9104378465416286208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-13 07:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680222720001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:15:49] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-13 07:15:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105526259835994112,"km_value":105526259835994.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9104378465416286208,"description":"Unknown IO ID 45"} 
[2026-07-13 07:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680222720001,"power":13222,"unknown_166":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9104378465416286208}} 
[2026-07-13 07:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":130284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478763,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:15:49] local.INFO: GPS data processed {"connection_id":130284,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:15:49] local.INFO: Acknowledgment sent {"connection_id":130284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:16:14] local.INFO: TCP Data received {"connection_id":132405,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59233760012d7f914005afd9380000011b27..."} 
[2026-07-13 07:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59233760012d7f914005afd9380000011b27..."} 
[2026-07-13 07:16:14] local.INFO: Processing buffer {"connection_id":132405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59233760012d7f914005afd9380000011b27..."} 
[2026-07-13 07:16:14] local.INFO: Packet analysis {"connection_id":132405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5923"} 
[2026-07-13 07:16:14] local.INFO: Extracted packet for processing {"connection_id":132405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5923"} 
[2026-07-13 07:16:14] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680091392001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783906908000,"timestamp_ms":1783906908000,"timestamp_seconds":1783906908,"priority":1,"record_length":96,"hex_timestamp":"0000019f59233760"} 
[2026-07-13 07:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:16:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:16:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":132405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":132405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":132405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680091392001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680091392001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:16:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:16:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680091392001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":132405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:16:14] local.INFO: GPS data processed {"connection_id":132405,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:16:14] local.INFO: Acknowledgment sent {"connection_id":132405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:16:20] local.INFO: TCP Data received {"connection_id":130284,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59273ab8012d81c14005d4bf08000a001b1d..."} 
[2026-07-13 07:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59273ab8012d81c14005d4bf08000a001b1d..."} 
[2026-07-13 07:16:20] local.INFO: Processing buffer {"connection_id":130284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59273ab8012d81c14005d4bf08000a001b1d..."} 
[2026-07-13 07:16:20] local.INFO: Packet analysis {"connection_id":130284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5927"} 
[2026-07-13 07:16:20] local.INFO: Extracted packet for processing {"connection_id":130284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5927"} 
[2026-07-13 07:16:20] local.INFO: GPS Element Parsed {"raw_longitude":763478336,"raw_latitude":97828616,"longitude_deg":76.3478336,"latitude_deg":9.7828616,"altitude":10,"angle":27,"satellites":29,"speed":20,"hex_longitude":"2d81c140","hex_latitude":"05d4bf08","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680235520001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105528480334086144,"note":"Value kept but may cause issues"} 
[2026-07-13 07:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9097200853500209152,"note":"Value kept but may cause issues"} 
[2026-07-13 07:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783907171000,"timestamp_ms":1783907171000,"timestamp_seconds":1783907171,"priority":1,"record_length":96,"hex_timestamp":"0000019f59273ab8"} 
[2026-07-13 07:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-07-13 07:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680235520001,"66":13602,"166":206,"85":15104,"24":20,"16":105528480334086144,"45":-9097200853500209152},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-13 07:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680235520001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:16:20] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-13 07:16:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105528480334086144,"km_value":105528480334086.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9097200853500209152,"description":"Unknown IO ID 45"} 
[2026-07-13 07:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680235520001,"power":13602,"unknown_166":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9097200853500209152}} 
[2026-07-13 07:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":130284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478765,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:16:20] local.INFO: GPS data processed {"connection_id":130284,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:16:20] local.INFO: Acknowledgment sent {"connection_id":130284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:16:40] local.INFO: TCP Data received {"connection_id":131065,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:16:40] local.INFO: Processing buffer {"connection_id":131065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:16:40] local.INFO: IMEI packet received {"connection_id":131065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":131065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:16:43] local.INFO: TCP Data received {"connection_id":130080,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130080,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:16:43] local.INFO: Processing buffer {"connection_id":130080,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:16:43] local.INFO: IMEI packet received {"connection_id":130080,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":130080,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:16:45] local.INFO: TCP Data received {"connection_id":131065,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:16:45] local.INFO: Processing buffer {"connection_id":131065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:16:45] local.INFO: IMEI packet received {"connection_id":131065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":131065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:16:46] local.INFO: TCP Data received {"connection_id":131065,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59233760012d7f914005afd9380000011b27..."} 
[2026-07-13 07:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59233760012d7f914005afd9380000011b27..."} 
[2026-07-13 07:16:46] local.INFO: Processing buffer {"connection_id":131065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59233760012d7f914005afd9380000011b27..."} 
[2026-07-13 07:16:46] local.INFO: Packet analysis {"connection_id":131065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5923"} 
[2026-07-13 07:16:46] local.INFO: Extracted packet for processing {"connection_id":131065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5923"} 
[2026-07-13 07:16:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680091392001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783906908000,"timestamp_ms":1783906908000,"timestamp_seconds":1783906908,"priority":1,"record_length":96,"hex_timestamp":"0000019f59233760"} 
[2026-07-13 07:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680091392001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680091392001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:16:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:16:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680091392001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":131065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:16:46] local.INFO: GPS data processed {"connection_id":131065,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:16:46] local.INFO: Acknowledgment sent {"connection_id":131065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:16:47] local.INFO: TCP Data received {"connection_id":130080,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130080,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:16:47] local.INFO: Processing buffer {"connection_id":130080,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:16:47] local.INFO: IMEI packet received {"connection_id":130080,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":130080,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:16:48] local.INFO: TCP Data received {"connection_id":130080,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59273ea0012d81c18005d4c0f0000a000a1d..."} 
[2026-07-13 07:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59273ea0012d81c18005d4c0f0000a000a1d..."} 
[2026-07-13 07:16:48] local.INFO: Processing buffer {"connection_id":130080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59273ea0012d81c18005d4c0f0000a000a1d..."} 
[2026-07-13 07:16:48] local.INFO: Packet analysis {"connection_id":130080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5927"} 
[2026-07-13 07:16:48] local.INFO: Extracted packet for processing {"connection_id":130080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5927"} 
[2026-07-13 07:16:48] local.INFO: GPS Element Parsed {"raw_longitude":763478400,"raw_latitude":97829104,"longitude_deg":76.34784,"latitude_deg":9.7829104,"altitude":10,"angle":10,"satellites":29,"speed":20,"hex_longitude":"2d81c180","hex_latitude":"05d4c0f0","is_valid_coordinates":true} 
[2026-07-13 07:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680235776001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105528501808922624,"note":"Value kept but may cause issues"} 
[2026-07-13 07:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096919378523387904,"note":"Value kept but may cause issues"} 
[2026-07-13 07:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783907172000,"timestamp_ms":1783907172000,"timestamp_seconds":1783907172,"priority":1,"record_length":96,"hex_timestamp":"0000019f59273ea0"} 
[2026-07-13 07:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-07-13 07:16:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:16:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":130080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":130080,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":130080,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680235776001,"66":13472,"166":206,"85":15104,"24":20,"16":105528501808922624,"45":-9096919378523387904},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-13 07:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680235776001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:16:48] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-13 07:16:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105528501808922624,"km_value":105528501808922.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096919378523387904,"description":"Unknown IO ID 45"} 
[2026-07-13 07:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680235776001,"power":13472,"unknown_166":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9096919378523387904}} 
[2026-07-13 07:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":130080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478767,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:16:48] local.INFO: GPS data processed {"connection_id":130080,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:16:48] local.INFO: Acknowledgment sent {"connection_id":130080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:16:51] local.INFO: TCP Data received {"connection_id":131065,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59233760012d7f914005afd9380000011b27..."} 
[2026-07-13 07:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59233760012d7f914005afd9380000011b27..."} 
[2026-07-13 07:16:51] local.INFO: Processing buffer {"connection_id":131065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59233760012d7f914005afd9380000011b27..."} 
[2026-07-13 07:16:51] local.INFO: Packet analysis {"connection_id":131065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5923"} 
[2026-07-13 07:16:51] local.INFO: Extracted packet for processing {"connection_id":131065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5923"} 
[2026-07-13 07:16:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680091392001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783906908000,"timestamp_ms":1783906908000,"timestamp_seconds":1783906908,"priority":1,"record_length":96,"hex_timestamp":"0000019f59233760"} 
[2026-07-13 07:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":131065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":131065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":131065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:16: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-07-13 07:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680091392001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680091392001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:16:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:16:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680091392001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":131065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:16:51] local.INFO: GPS data processed {"connection_id":131065,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:16:51] local.INFO: Acknowledgment sent {"connection_id":131065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:17:29] local.INFO: TCP Data received {"connection_id":130080,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59274670012d81c18005d4c4f8000901651d..."} 
[2026-07-13 07:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59274670012d81c18005d4c4f8000901651d..."} 
[2026-07-13 07:17:29] local.INFO: Processing buffer {"connection_id":130080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59274670012d81c18005d4c4f8000901651d..."} 
[2026-07-13 07:17:29] local.INFO: Packet analysis {"connection_id":130080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5927"} 
[2026-07-13 07:17:29] local.INFO: Extracted packet for processing {"connection_id":130080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5927"} 
[2026-07-13 07:17:29] local.INFO: GPS Element Parsed {"raw_longitude":763478400,"raw_latitude":97830136,"longitude_deg":76.34784,"latitude_deg":9.7830136,"altitude":9,"angle":357,"satellites":29,"speed":20,"hex_longitude":"2d81c180","hex_latitude":"05d4c4f8","is_valid_coordinates":true} 
[2026-07-13 07:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680236032001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105528553348530176,"note":"Value kept but may cause issues"} 
[2026-07-13 07:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096849009779085312,"note":"Value kept but may cause issues"} 
[2026-07-13 07:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783907174000,"timestamp_ms":1783907174000,"timestamp_seconds":1783907174,"priority":1,"record_length":96,"hex_timestamp":"0000019f59274670"} 
[2026-07-13 07:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-13 07:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130080,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130080,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680236032001,"66":13396,"166":206,"85":15104,"24":20,"16":105528553348530176,"45":-9096849009779085312},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-13 07:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680236032001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:17:29] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-13 07:17:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105528553348530176,"km_value":105528553348530.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096849009779085312,"description":"Unknown IO ID 45"} 
[2026-07-13 07:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680236032001,"power":13396,"unknown_166":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9096849009779085312}} 
[2026-07-13 07:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":130080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478769,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:17:29] local.INFO: GPS data processed {"connection_id":130080,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:17:29] local.INFO: Acknowledgment sent {"connection_id":130080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:17:35] local.INFO: TCP Data received {"connection_id":130285,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:17:35] local.INFO: Processing buffer {"connection_id":130285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:17:35] local.INFO: IMEI packet received {"connection_id":130285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":130285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:17:40] local.INFO: TCP Data received {"connection_id":130285,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:17:40] local.INFO: Processing buffer {"connection_id":130285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:17:40] local.INFO: IMEI packet received {"connection_id":130285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":130285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:17:41] local.INFO: TCP Data received {"connection_id":131067,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:17:41] local.INFO: Processing buffer {"connection_id":131067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:17:41] local.INFO: IMEI packet received {"connection_id":131067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":131067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:17:42] local.INFO: TCP Data received {"connection_id":131067,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:17:42] local.INFO: Processing buffer {"connection_id":131067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:17:42] local.INFO: IMEI packet received {"connection_id":131067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":131067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:17:42] local.INFO: TCP Data received {"connection_id":130285,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5927cf28012d7f914005afd9380000011b24..."} 
[2026-07-13 07:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5927cf28012d7f914005afd9380000011b24..."} 
[2026-07-13 07:17:42] local.INFO: Processing buffer {"connection_id":130285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5927cf28012d7f914005afd9380000011b24..."} 
[2026-07-13 07:17:42] local.INFO: Packet analysis {"connection_id":130285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5927"} 
[2026-07-13 07:17:42] local.INFO: Extracted packet for processing {"connection_id":130285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5927"} 
[2026-07-13 07:17:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680168448001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783907209000,"timestamp_ms":1783907209000,"timestamp_seconds":1783907209,"priority":1,"record_length":96,"hex_timestamp":"0000019f5927cf28"} 
[2026-07-13 07:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 07:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680168448001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680168448001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:17:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680168448001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":130285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:17:42] local.INFO: GPS data processed {"connection_id":130285,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:17:42] local.INFO: Acknowledgment sent {"connection_id":130285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:17:43] local.INFO: TCP Data received {"connection_id":131067,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:17:43] local.INFO: Processing buffer {"connection_id":131067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:17:43] local.INFO: IMEI packet received {"connection_id":131067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":131067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:17:44] local.INFO: TCP Data received {"connection_id":131067,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:17:44] local.INFO: Processing buffer {"connection_id":131067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:17:44] local.INFO: IMEI packet received {"connection_id":131067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":131067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:18:13] local.INFO: TCP Data received {"connection_id":130285,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5927cf28012d7f914005afd9380000011b24..."} 
[2026-07-13 07:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5927cf28012d7f914005afd9380000011b24..."} 
[2026-07-13 07:18:13] local.INFO: Processing buffer {"connection_id":130285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5927cf28012d7f914005afd9380000011b24..."} 
[2026-07-13 07:18:13] local.INFO: Packet analysis {"connection_id":130285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5927"} 
[2026-07-13 07:18:13] local.INFO: Extracted packet for processing {"connection_id":130285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5927"} 
[2026-07-13 07:18:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680168448001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783907209000,"timestamp_ms":1783907209000,"timestamp_seconds":1783907209,"priority":1,"record_length":96,"hex_timestamp":"0000019f5927cf28"} 
[2026-07-13 07:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 07:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680168448001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680168448001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:18:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:18:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680168448001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":130285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:18:13] local.INFO: GPS data processed {"connection_id":130285,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:18:13] local.INFO: Acknowledgment sent {"connection_id":130285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:18:35] local.INFO: TCP Data received {"connection_id":131069,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:18:35] local.INFO: Processing buffer {"connection_id":131069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:18:35] local.INFO: IMEI packet received {"connection_id":131069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":131069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:18:40] local.INFO: TCP Data received {"connection_id":131069,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:18:40] local.INFO: Processing buffer {"connection_id":131069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:18:40] local.INFO: IMEI packet received {"connection_id":131069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":131069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:18:41] local.INFO: TCP Data received {"connection_id":131069,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5927cf28012d7f914005afd9380000011b24..."} 
[2026-07-13 07:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5927cf28012d7f914005afd9380000011b24..."} 
[2026-07-13 07:18:41] local.INFO: Processing buffer {"connection_id":131069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5927cf28012d7f914005afd9380000011b24..."} 
[2026-07-13 07:18:41] local.INFO: Packet analysis {"connection_id":131069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5927"} 
[2026-07-13 07:18:41] local.INFO: Extracted packet for processing {"connection_id":131069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5927"} 
[2026-07-13 07:18:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680168448001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783907209000,"timestamp_ms":1783907209000,"timestamp_seconds":1783907209,"priority":1,"record_length":96,"hex_timestamp":"0000019f5927cf28"} 
[2026-07-13 07:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 07:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680168448001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680168448001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:18:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:18:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680168448001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":131069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:18:41] local.INFO: GPS data processed {"connection_id":131069,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:18:41] local.INFO: Acknowledgment sent {"connection_id":131069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:19:12] local.INFO: TCP Data received {"connection_id":131069,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5927cf28012d7f914005afd9380000011b24..."} 
[2026-07-13 07:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5927cf28012d7f914005afd9380000011b24..."} 
[2026-07-13 07:19:12] local.INFO: Processing buffer {"connection_id":131069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5927cf28012d7f914005afd9380000011b24..."} 
[2026-07-13 07:19:12] local.INFO: Packet analysis {"connection_id":131069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5927"} 
[2026-07-13 07:19:12] local.INFO: Extracted packet for processing {"connection_id":131069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5927"} 
[2026-07-13 07:19:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680168448001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783907209000,"timestamp_ms":1783907209000,"timestamp_seconds":1783907209,"priority":1,"record_length":96,"hex_timestamp":"0000019f5927cf28"} 
[2026-07-13 07:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 07:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680168448001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680168448001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:19:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:19:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680168448001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":131069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:19:12] local.INFO: GPS data processed {"connection_id":131069,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:19:12] local.INFO: Acknowledgment sent {"connection_id":131069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:19:14] local.INFO: TCP Data received {"connection_id":130081,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:19:14] local.INFO: Processing buffer {"connection_id":130081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:19:14] local.INFO: IMEI packet received {"connection_id":130081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 07:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":130081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:19:35] local.INFO: TCP Data received {"connection_id":132406,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:19:35] local.INFO: Processing buffer {"connection_id":132406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:19:35] local.INFO: IMEI packet received {"connection_id":132406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":132406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:19:40] local.INFO: TCP Data received {"connection_id":132406,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:19:40] local.INFO: Processing buffer {"connection_id":132406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:19:40] local.INFO: IMEI packet received {"connection_id":132406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":132406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:19:41] local.INFO: TCP Data received {"connection_id":132406,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5927cf28012d7f914005afd9380000011b24..."} 
[2026-07-13 07:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5927cf28012d7f914005afd9380000011b24..."} 
[2026-07-13 07:19:41] local.INFO: Processing buffer {"connection_id":132406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5927cf28012d7f914005afd9380000011b24..."} 
[2026-07-13 07:19:41] local.INFO: Packet analysis {"connection_id":132406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5927"} 
[2026-07-13 07:19:41] local.INFO: Extracted packet for processing {"connection_id":132406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5927"} 
[2026-07-13 07:19:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680168448001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783907209000,"timestamp_ms":1783907209000,"timestamp_seconds":1783907209,"priority":1,"record_length":96,"hex_timestamp":"0000019f5927cf28"} 
[2026-07-13 07:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 07:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680168448001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680168448001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:19:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:19:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680168448001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:19:41] local.INFO: TCP Data received {"connection_id":130286,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130286,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:19:41] local.INFO: Processing buffer {"connection_id":130286,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:19:41] local.INFO: IMEI packet received {"connection_id":130286,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 07:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":130286,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":132406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:19:41] local.INFO: GPS data processed {"connection_id":132406,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:19:41] local.INFO: Acknowledgment sent {"connection_id":132406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:20:12] local.INFO: TCP Data received {"connection_id":132406,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5927cf28012d7f914005afd9380000011b24..."} 
[2026-07-13 07:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5927cf28012d7f914005afd9380000011b24..."} 
[2026-07-13 07:20:12] local.INFO: Processing buffer {"connection_id":132406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5927cf28012d7f914005afd9380000011b24..."} 
[2026-07-13 07:20:12] local.INFO: Packet analysis {"connection_id":132406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5927"} 
[2026-07-13 07:20:12] local.INFO: Extracted packet for processing {"connection_id":132406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5927"} 
[2026-07-13 07:20:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680168448001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783907209000,"timestamp_ms":1783907209000,"timestamp_seconds":1783907209,"priority":1,"record_length":96,"hex_timestamp":"0000019f5927cf28"} 
[2026-07-13 07:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 07:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680168448001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680168448001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:20:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:20:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680168448001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":132406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:20:12] local.INFO: GPS data processed {"connection_id":132406,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:20:12] local.INFO: Acknowledgment sent {"connection_id":132406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:20:40] local.INFO: TCP Data received {"connection_id":131071,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:20:40] local.INFO: Processing buffer {"connection_id":131071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:20:40] local.INFO: IMEI packet received {"connection_id":131071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":131071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:20:45] local.INFO: TCP Data received {"connection_id":131071,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:20:45] local.INFO: Processing buffer {"connection_id":131071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:20:45] local.INFO: IMEI packet received {"connection_id":131071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":131071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:20:46] local.INFO: TCP Data received {"connection_id":131071,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5927cf28012d7f914005afd9380000011b24..."} 
[2026-07-13 07:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5927cf28012d7f914005afd9380000011b24..."} 
[2026-07-13 07:20:46] local.INFO: Processing buffer {"connection_id":131071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5927cf28012d7f914005afd9380000011b24..."} 
[2026-07-13 07:20:46] local.INFO: Packet analysis {"connection_id":131071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5927"} 
[2026-07-13 07:20:46] local.INFO: Extracted packet for processing {"connection_id":131071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5927"} 
[2026-07-13 07:20:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680168448001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783907209000,"timestamp_ms":1783907209000,"timestamp_seconds":1783907209,"priority":1,"record_length":96,"hex_timestamp":"0000019f5927cf28"} 
[2026-07-13 07:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 07:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680168448001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680168448001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:20:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:20:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680168448001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":131071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:20:46] local.INFO: GPS data processed {"connection_id":131071,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:20:46] local.INFO: Acknowledgment sent {"connection_id":131071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:20:52] local.INFO: TCP Data received {"connection_id":131071,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5927cf28012d7f914005afd9380000011b24..."} 
[2026-07-13 07:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5927cf28012d7f914005afd9380000011b24..."} 
[2026-07-13 07:20:52] local.INFO: Processing buffer {"connection_id":131071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5927cf28012d7f914005afd9380000011b24..."} 
[2026-07-13 07:20:52] local.INFO: Packet analysis {"connection_id":131071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5927"} 
[2026-07-13 07:20:52] local.INFO: Extracted packet for processing {"connection_id":131071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5927"} 
[2026-07-13 07:20:52] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680168448001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783907209000,"timestamp_ms":1783907209000,"timestamp_seconds":1783907209,"priority":1,"record_length":96,"hex_timestamp":"0000019f5927cf28"} 
[2026-07-13 07:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 07:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":131071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":131071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":131071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680168448001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680168448001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:20:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:20:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680168448001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":131071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:20:52] local.INFO: GPS data processed {"connection_id":131071,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:20:52] local.INFO: Acknowledgment sent {"connection_id":131071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:21:35] local.INFO: TCP Data received {"connection_id":132408,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:21:35] local.INFO: Processing buffer {"connection_id":132408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:21:35] local.INFO: IMEI packet received {"connection_id":132408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":132408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:21:40] local.INFO: TCP Data received {"connection_id":132408,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:21:40] local.INFO: Processing buffer {"connection_id":132408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:21:40] local.INFO: IMEI packet received {"connection_id":132408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":132408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:21:42] local.INFO: TCP Data received {"connection_id":132408,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5927cf28012d7f914005afd9380000011b24..."} 
[2026-07-13 07:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5927cf28012d7f914005afd9380000011b24..."} 
[2026-07-13 07:21:42] local.INFO: Processing buffer {"connection_id":132408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5927cf28012d7f914005afd9380000011b24..."} 
[2026-07-13 07:21:42] local.INFO: Packet analysis {"connection_id":132408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5927"} 
[2026-07-13 07:21:42] local.INFO: Extracted packet for processing {"connection_id":132408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5927"} 
[2026-07-13 07:21:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680168448001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783907209000,"timestamp_ms":1783907209000,"timestamp_seconds":1783907209,"priority":1,"record_length":96,"hex_timestamp":"0000019f5927cf28"} 
[2026-07-13 07:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 07:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680168448001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680168448001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:21:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:21:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680168448001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":132408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:21:42] local.INFO: GPS data processed {"connection_id":132408,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:21:42] local.INFO: Acknowledgment sent {"connection_id":132408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:22:13] local.INFO: TCP Data received {"connection_id":132408,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5927cf28012d7f914005afd9380000011b24..."} 
[2026-07-13 07:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5927cf28012d7f914005afd9380000011b24..."} 
[2026-07-13 07:22:13] local.INFO: Processing buffer {"connection_id":132408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5927cf28012d7f914005afd9380000011b24..."} 
[2026-07-13 07:22:13] local.INFO: Packet analysis {"connection_id":132408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5927"} 
[2026-07-13 07:22:13] local.INFO: Extracted packet for processing {"connection_id":132408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5927"} 
[2026-07-13 07:22:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680168448001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783907209000,"timestamp_ms":1783907209000,"timestamp_seconds":1783907209,"priority":1,"record_length":96,"hex_timestamp":"0000019f5927cf28"} 
[2026-07-13 07:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 07:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680168448001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680168448001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:22:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:22:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680168448001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":132408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:22:14] local.INFO: GPS data processed {"connection_id":132408,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:22:14] local.INFO: Acknowledgment sent {"connection_id":132408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:22:35] local.INFO: TCP Data received {"connection_id":132409,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:22:35] local.INFO: Processing buffer {"connection_id":132409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:22:35] local.INFO: IMEI packet received {"connection_id":132409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":132409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:22:40] local.INFO: TCP Data received {"connection_id":132409,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:22:40] local.INFO: Processing buffer {"connection_id":132409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:22:40] local.INFO: IMEI packet received {"connection_id":132409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":132409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:22:41] local.INFO: TCP Data received {"connection_id":132409,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f592c66f0012d7f914005afd9380001011b24..."} 
[2026-07-13 07:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f592c66f0012d7f914005afd9380001011b24..."} 
[2026-07-13 07:22:41] local.INFO: Processing buffer {"connection_id":132409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f592c66f0012d7f914005afd9380001011b24..."} 
[2026-07-13 07:22:41] local.INFO: Packet analysis {"connection_id":132409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:22:41] local.INFO: Extracted packet for processing {"connection_id":132409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:22:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680245504001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783907510000,"timestamp_ms":1783907510000,"timestamp_seconds":1783907510,"priority":1,"record_length":96,"hex_timestamp":"0000019f592c66f0"} 
[2026-07-13 07:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680245504001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680245504001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:22:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680245504001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":132409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:22:41] local.INFO: GPS data processed {"connection_id":132409,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:22:41] local.INFO: Acknowledgment sent {"connection_id":132409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:22:48] local.INFO: TCP Data received {"connection_id":131074,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:22:48] local.INFO: Processing buffer {"connection_id":131074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:22:48] local.INFO: IMEI packet received {"connection_id":131074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":131074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:22:49] local.INFO: TCP Data received {"connection_id":131074,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f592c0160012d82b7c005d69cb8000901591e..."} 
[2026-07-13 07:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f592c0160012d82b7c005d69cb8000901591e..."} 
[2026-07-13 07:22:49] local.INFO: Processing buffer {"connection_id":131074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f592c0160012d82b7c005d69cb8000901591e..."} 
[2026-07-13 07:22:49] local.INFO: Packet analysis {"connection_id":131074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:22:49] local.INFO: Extracted packet for processing {"connection_id":131074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:22:49] local.INFO: GPS Element Parsed {"raw_longitude":763541440,"raw_latitude":97950904,"longitude_deg":76.354144,"latitude_deg":9.7950904,"altitude":9,"angle":345,"satellites":30,"speed":9,"hex_longitude":"2d82b7c0","hex_latitude":"05d69cb8","is_valid_coordinates":true} 
[2026-07-13 07:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680314880001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105537448225800192,"note":"Value kept but may cause issues"} 
[2026-07-13 07:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026902478035703808,"note":"Value kept but may cause issues"} 
[2026-07-13 07:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783907484000,"timestamp_ms":1783907484000,"timestamp_seconds":1783907484,"priority":1,"record_length":96,"hex_timestamp":"0000019f592c0160"} 
[2026-07-13 07:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-13 07:22: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-07-13 07:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680314880001,"66":12809,"157":206,"85":15104,"24":9,"16":105537448225800192,"45":-9026902478035703808},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-13 07:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680314880001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:22:49] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 07:22:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105537448225800192,"km_value":105537448225800.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026902478035703808,"description":"Unknown IO ID 45"} 
[2026-07-13 07:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680314880001,"power":12809,"unknown_157":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9026902478035703808}} 
[2026-07-13 07:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":131074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478781,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:22:49] local.INFO: GPS data processed {"connection_id":131074,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:22:49] local.INFO: Acknowledgment sent {"connection_id":131074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:23:12] local.INFO: TCP Data received {"connection_id":132409,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f592c66f0012d7f914005afd9380001011b24..."} 
[2026-07-13 07:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f592c66f0012d7f914005afd9380001011b24..."} 
[2026-07-13 07:23:12] local.INFO: Processing buffer {"connection_id":132409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f592c66f0012d7f914005afd9380001011b24..."} 
[2026-07-13 07:23:12] local.INFO: Packet analysis {"connection_id":132409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:23:12] local.INFO: Extracted packet for processing {"connection_id":132409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:23:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680245504001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783907510000,"timestamp_ms":1783907510000,"timestamp_seconds":1783907510,"priority":1,"record_length":96,"hex_timestamp":"0000019f592c66f0"} 
[2026-07-13 07:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680245504001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680245504001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:23:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:23:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680245504001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":132409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:23:13] local.INFO: GPS data processed {"connection_id":132409,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:23:13] local.INFO: Acknowledgment sent {"connection_id":132409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:23:20] local.INFO: TCP Data received {"connection_id":131074,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f592c1100012d82b70005d6a048000901651e..."} 
[2026-07-13 07:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f592c1100012d82b70005d6a048000901651e..."} 
[2026-07-13 07:23:20] local.INFO: Processing buffer {"connection_id":131074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f592c1100012d82b70005d6a048000901651e..."} 
[2026-07-13 07:23:20] local.INFO: Packet analysis {"connection_id":131074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:23:20] local.INFO: Extracted packet for processing {"connection_id":131074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:23:20] local.INFO: GPS Element Parsed {"raw_longitude":763541248,"raw_latitude":97951816,"longitude_deg":76.3541248,"latitude_deg":9.7951816,"altitude":9,"angle":357,"satellites":30,"speed":13,"hex_longitude":"2d82b700","hex_latitude":"05d6a048","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680315904001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105537491175473152,"note":"Value kept but may cause issues"} 
[2026-07-13 07:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027535796732905472,"note":"Value kept but may cause issues"} 
[2026-07-13 07:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783907488000,"timestamp_ms":1783907488000,"timestamp_seconds":1783907488,"priority":1,"record_length":96,"hex_timestamp":"0000019f592c1100"} 
[2026-07-13 07:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-13 07:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2449958197457323008,"note":"Value kept but may cause issues"} 
[2026-07-13 07:23:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 07:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2194554885,"note":"Value kept but may cause issues"} 
[2026-07-13 07:23:20] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-13 07:23:20] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3131338752220384512,"note":"Value kept but may cause issues"} 
[2026-07-13 07:23:20] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2257584134,"note":"Value kept but may cause issues"} 
[2026-07-13 07:23:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795307214,"corrected_to":0} 
[2026-07-13 07:23:20] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2147866246,"note":"Value kept but may cause issues"} 
[2026-07-13 07:23:20] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-6412899753893245355,"note":"Value kept but may cause issues"} 
[2026-07-13 07:23:20] local.WARNING: Large IO value detected {"io_id":118,"raw_value":4049338368,"note":"Value kept but may cause issues"} 
[2026-07-13 07:23:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2992571583542851556,"note":"Value kept but may cause issues"} 
[2026-07-13 07:23:20] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-07-13 07:23:20] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,157,85,24,241,16,159,45,150,9,30,10,66,230,128,145,8,155,192,1,240,184,227,89,214,4,113,205,6,148,206,239,49,2,118,5,7,59,91],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2795307214,"validated":0}]} 
[2026-07-13 07:23:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648897806702542848,"timestamp_seconds":648897806702542.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 07:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":131074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":131074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":131074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:23:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680315904001,"66":12689,"157":206,"85":15104,"24":13,"16":105537491175473152,"45":-9027535796732905472},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-13 07:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680315904001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:23:20] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 07:23:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105537491175473152,"km_value":105537491175473.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027535796732905472,"description":"Unknown IO ID 45"} 
[2026-07-13 07:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680315904001,"power":12689,"unknown_157":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9027535796732905472}} 
[2026-07-13 07:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":131074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478783,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:23:20] local.INFO: GPS data processed {"connection_id":131074,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:23:20] local.INFO: Acknowledgment sent {"connection_id":131074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:23:35] local.INFO: TCP Data received {"connection_id":130084,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:23:35] local.INFO: Processing buffer {"connection_id":130084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:23:35] local.INFO: IMEI packet received {"connection_id":130084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":130084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:23:40] local.INFO: TCP Data received {"connection_id":130084,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:23:40] local.INFO: Processing buffer {"connection_id":130084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:23:40] local.INFO: IMEI packet received {"connection_id":130084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":130084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:23:41] local.INFO: TCP Data received {"connection_id":130084,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f592c66f0012d7f914005afd9380001011b24..."} 
[2026-07-13 07:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f592c66f0012d7f914005afd9380001011b24..."} 
[2026-07-13 07:23:41] local.INFO: Processing buffer {"connection_id":130084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f592c66f0012d7f914005afd9380001011b24..."} 
[2026-07-13 07:23:41] local.INFO: Packet analysis {"connection_id":130084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:23:41] local.INFO: Extracted packet for processing {"connection_id":130084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:23:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680245504001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783907510000,"timestamp_ms":1783907510000,"timestamp_seconds":1783907510,"priority":1,"record_length":96,"hex_timestamp":"0000019f592c66f0"} 
[2026-07-13 07:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680245504001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680245504001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:23:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:23:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680245504001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":130084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:23:41] local.INFO: GPS data processed {"connection_id":130084,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:23:41] local.INFO: Acknowledgment sent {"connection_id":130084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:23:43] local.INFO: TCP Data received {"connection_id":130288,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:23:43] local.INFO: Processing buffer {"connection_id":130288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:23:43] local.INFO: IMEI packet received {"connection_id":130288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":130288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:23:48] local.INFO: TCP Data received {"connection_id":130288,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:23:48] local.INFO: Processing buffer {"connection_id":130288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:23:48] local.INFO: IMEI packet received {"connection_id":130288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":130288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:23:49] local.INFO: TCP Data received {"connection_id":130288,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f592c4b98012d82b98005d6c618000800021e..."} 
[2026-07-13 07:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f592c4b98012d82b98005d6c618000800021e..."} 
[2026-07-13 07:23:49] local.INFO: Processing buffer {"connection_id":130288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f592c4b98012d82b98005d6c618000800021e..."} 
[2026-07-13 07:23:49] local.INFO: Packet analysis {"connection_id":130288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:23:49] local.INFO: Extracted packet for processing {"connection_id":130288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:23:49] local.INFO: GPS Element Parsed {"raw_longitude":763541888,"raw_latitude":97961496,"longitude_deg":76.3541888,"latitude_deg":9.7961496,"altitude":8,"angle":2,"satellites":30,"speed":34,"hex_longitude":"2d82b980","hex_latitude":"05d6c618","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680316928001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105537963621875712,"note":"Value kept but may cause issues"} 
[2026-07-13 07:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027746902965204992,"note":"Value kept but may cause issues"} 
[2026-07-13 07:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783907503000,"timestamp_ms":1783907503000,"timestamp_seconds":1783907503,"priority":1,"record_length":96,"hex_timestamp":"0000019f592c4b98"} 
[2026-07-13 07:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-13 07:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680316928001,"66":12667,"157":206,"85":15104,"24":34,"16":105537963621875712,"45":-9027746902965204992},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-13 07:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680316928001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:23:49] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 07:23:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105537963621875712,"km_value":105537963621875.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027746902965204992,"description":"Unknown IO ID 45"} 
[2026-07-13 07:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680316928001,"power":12667,"unknown_157":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9027746902965204992}} 
[2026-07-13 07:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":130288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478785,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:23:49] local.INFO: GPS data processed {"connection_id":130288,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:23:49] local.INFO: Acknowledgment sent {"connection_id":130288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:24:12] local.INFO: TCP Data received {"connection_id":130084,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f592c66f0012d7f914005afd9380001011b24..."} 
[2026-07-13 07:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f592c66f0012d7f914005afd9380001011b24..."} 
[2026-07-13 07:24:12] local.INFO: Processing buffer {"connection_id":130084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f592c66f0012d7f914005afd9380001011b24..."} 
[2026-07-13 07:24:12] local.INFO: Packet analysis {"connection_id":130084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:24:12] local.INFO: Extracted packet for processing {"connection_id":130084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:24:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680245504001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783907510000,"timestamp_ms":1783907510000,"timestamp_seconds":1783907510,"priority":1,"record_length":96,"hex_timestamp":"0000019f592c66f0"} 
[2026-07-13 07:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680245504001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680245504001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:24:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:24:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680245504001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":130084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:24:12] local.INFO: GPS data processed {"connection_id":130084,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:24:12] local.INFO: Acknowledgment sent {"connection_id":130084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:24:20] local.INFO: TCP Data received {"connection_id":130288,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f592c6ad8012d82b8c005d6da680007015e1e..."} 
[2026-07-13 07:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f592c6ad8012d82b8c005d6da680007015e1e..."} 
[2026-07-13 07:24:20] local.INFO: Processing buffer {"connection_id":130288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f592c6ad8012d82b8c005d6da680007015e1e..."} 
[2026-07-13 07:24:20] local.INFO: Packet analysis {"connection_id":130288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:24:20] local.INFO: Extracted packet for processing {"connection_id":130288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:24:20] local.INFO: GPS Element Parsed {"raw_longitude":763541696,"raw_latitude":97966696,"longitude_deg":76.3541696,"latitude_deg":9.7966696,"altitude":7,"angle":350,"satellites":30,"speed":15,"hex_longitude":"2d82b8c0","hex_latitude":"05d6da68","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680320768001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105538217024946176,"note":"Value kept but may cause issues"} 
[2026-07-13 07:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027043215520950272,"note":"Value kept but may cause issues"} 
[2026-07-13 07:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783907511000,"timestamp_ms":1783907511000,"timestamp_seconds":1783907511,"priority":1,"record_length":96,"hex_timestamp":"0000019f592c6ad8"} 
[2026-07-13 07:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-13 07:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680320768001,"66":12743,"157":206,"85":15104,"24":15,"16":105538217024946176,"45":-9027043215520950272},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-13 07:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680320768001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:24:20] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 07:24:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105538217024946176,"km_value":105538217024946.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027043215520950272,"description":"Unknown IO ID 45"} 
[2026-07-13 07:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680320768001,"power":12743,"unknown_157":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":-9027043215520950272}} 
[2026-07-13 07:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":130288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478787,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:24:20] local.INFO: GPS data processed {"connection_id":130288,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:24:20] local.INFO: Acknowledgment sent {"connection_id":130288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:24:35] local.INFO: TCP Data received {"connection_id":131075,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:24:35] local.INFO: Processing buffer {"connection_id":131075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:24:35] local.INFO: IMEI packet received {"connection_id":131075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":131075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:24:40] local.INFO: TCP Data received {"connection_id":131075,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:24:40] local.INFO: Processing buffer {"connection_id":131075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:24:40] local.INFO: IMEI packet received {"connection_id":131075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":131075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:24:41] local.INFO: TCP Data received {"connection_id":131075,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f592c66f0012d7f914005afd9380001011b24..."} 
[2026-07-13 07:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f592c66f0012d7f914005afd9380001011b24..."} 
[2026-07-13 07:24:41] local.INFO: Processing buffer {"connection_id":131075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f592c66f0012d7f914005afd9380001011b24..."} 
[2026-07-13 07:24:41] local.INFO: Packet analysis {"connection_id":131075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:24:41] local.INFO: Extracted packet for processing {"connection_id":131075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:24:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680245504001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783907510000,"timestamp_ms":1783907510000,"timestamp_seconds":1783907510,"priority":1,"record_length":96,"hex_timestamp":"0000019f592c66f0"} 
[2026-07-13 07:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680245504001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680245504001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:24:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:24:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680245504001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":131075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:24:41] local.INFO: GPS data processed {"connection_id":131075,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:24:41] local.INFO: Acknowledgment sent {"connection_id":131075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:24:48] local.INFO: TCP Data received {"connection_id":130087,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130087,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:24:48] local.INFO: Processing buffer {"connection_id":130087,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:24:48] local.INFO: IMEI packet received {"connection_id":130087,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":130087,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:24:49] local.INFO: TCP Data received {"connection_id":130087,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130087,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:24:49] local.INFO: Processing buffer {"connection_id":130087,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:24:49] local.INFO: IMEI packet received {"connection_id":130087,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":130087,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:24:49] local.INFO: TCP Data received {"connection_id":130087,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f592c72a8012d82b80005d6dca8000501501e..."} 
[2026-07-13 07:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f592c72a8012d82b80005d6dca8000501501e..."} 
[2026-07-13 07:24:49] local.INFO: Processing buffer {"connection_id":130087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f592c72a8012d82b80005d6dca8000501501e..."} 
[2026-07-13 07:24:49] local.INFO: Packet analysis {"connection_id":130087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:24:49] local.INFO: Extracted packet for processing {"connection_id":130087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:24:49] local.INFO: GPS Element Parsed {"raw_longitude":763541504,"raw_latitude":97967272,"longitude_deg":76.3541504,"latitude_deg":9.7967272,"altitude":5,"angle":336,"satellites":30,"speed":9,"hex_longitude":"2d82b800","hex_latitude":"05d6dca8","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680322816001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105538247089717248,"note":"Value kept but may cause issues"} 
[2026-07-13 07:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027254321752152064,"note":"Value kept but may cause issues"} 
[2026-07-13 07:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783907513000,"timestamp_ms":1783907513000,"timestamp_seconds":1783907513,"priority":1,"record_length":96,"hex_timestamp":"0000019f592c72a8"} 
[2026-07-13 07:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-13 07:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680322816001,"66":12624,"157":206,"85":15104,"24":9,"16":105538247089717248,"45":-9027254321752152064},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-13 07:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680322816001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:24:49] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 07:24:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105538247089717248,"km_value":105538247089717.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027254321752152064,"description":"Unknown IO ID 45"} 
[2026-07-13 07:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680322816001,"power":12624,"unknown_157":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9027254321752152064}} 
[2026-07-13 07:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":130087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478789,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:24:50] local.INFO: GPS data processed {"connection_id":130087,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:24:50] local.INFO: Acknowledgment sent {"connection_id":130087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:24:53] local.INFO: TCP Data received {"connection_id":130087,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f592c7e60012d82b74005d6df10000501671e..."} 
[2026-07-13 07:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f592c7e60012d82b74005d6df10000501671e..."} 
[2026-07-13 07:24:53] local.INFO: Processing buffer {"connection_id":130087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f592c7e60012d82b74005d6df10000501671e..."} 
[2026-07-13 07:24:53] local.INFO: Packet analysis {"connection_id":130087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:24:53] local.INFO: Extracted packet for processing {"connection_id":130087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:24:53] local.INFO: GPS Element Parsed {"raw_longitude":763541312,"raw_latitude":97967888,"longitude_deg":76.3541312,"latitude_deg":9.7967888,"altitude":5,"angle":359,"satellites":30,"speed":7,"hex_longitude":"2d82b740","hex_latitude":"05d6df10","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680323328001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105538277154488320,"note":"Value kept but may cause issues"} 
[2026-07-13 07:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027465427984537600,"note":"Value kept but may cause issues"} 
[2026-07-13 07:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783907516000,"timestamp_ms":1783907516000,"timestamp_seconds":1783907516,"priority":1,"record_length":96,"hex_timestamp":"0000019f592c7e60"} 
[2026-07-13 07:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-13 07:24:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":130087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":130087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":130087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680323328001,"66":12982,"157":206,"85":15104,"24":7,"16":105538277154488320,"45":-9027465427984537600},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-13 07:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680323328001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:24:53] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 07:24:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105538277154488320,"km_value":105538277154488.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027465427984537600,"description":"Unknown IO ID 45"} 
[2026-07-13 07:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680323328001,"power":12982,"unknown_157":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9027465427984537600}} 
[2026-07-13 07:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":130087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478790,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:24:53] local.INFO: GPS data processed {"connection_id":130087,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:24:53] local.INFO: Acknowledgment sent {"connection_id":130087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:25:11] local.INFO: TCP Data received {"connection_id":130086,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130086,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:25:11] local.INFO: Processing buffer {"connection_id":130086,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:25:11] local.INFO: IMEI packet received {"connection_id":130086,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 07:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":130086,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:25:13] local.INFO: TCP Data received {"connection_id":131075,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f592c66f0012d7f914005afd9380001011b24..."} 
[2026-07-13 07:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f592c66f0012d7f914005afd9380001011b24..."} 
[2026-07-13 07:25:13] local.INFO: Processing buffer {"connection_id":131075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f592c66f0012d7f914005afd9380001011b24..."} 
[2026-07-13 07:25:13] local.INFO: Packet analysis {"connection_id":131075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:25:13] local.INFO: Extracted packet for processing {"connection_id":131075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:25:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680245504001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783907510000,"timestamp_ms":1783907510000,"timestamp_seconds":1783907510,"priority":1,"record_length":96,"hex_timestamp":"0000019f592c66f0"} 
[2026-07-13 07:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:25:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680245504001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680245504001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:25:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:25:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680245504001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":131075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:25:13] local.INFO: GPS data processed {"connection_id":131075,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:25:13] local.INFO: Acknowledgment sent {"connection_id":131075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:25:24] local.INFO: TCP Data received {"connection_id":130087,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f592cad40012d82b70005d6e058000601631d..."} 
[2026-07-13 07:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f592cad40012d82b70005d6e058000601631d..."} 
[2026-07-13 07:25:24] local.INFO: Processing buffer {"connection_id":130087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f592cad40012d82b70005d6e058000601631d..."} 
[2026-07-13 07:25:24] local.INFO: Packet analysis {"connection_id":130087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:25:24] local.INFO: Extracted packet for processing {"connection_id":130087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:25:24] local.INFO: GPS Element Parsed {"raw_longitude":763541248,"raw_latitude":97968216,"longitude_deg":76.3541248,"latitude_deg":9.7968216,"altitude":6,"angle":355,"satellites":29,"speed":0,"hex_longitude":"2d82b700","hex_latitude":"05d6e058","is_valid_coordinates":true} 
[2026-07-13 07:25: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-07-13 07:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680324096001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105538294334357504,"note":"Value kept but may cause issues"} 
[2026-07-13 07:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027676534216912896,"note":"Value kept but may cause issues"} 
[2026-07-13 07:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783907528000,"timestamp_ms":1783907528000,"timestamp_seconds":1783907528,"priority":1,"record_length":96,"hex_timestamp":"0000019f592cad40"} 
[2026-07-13 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-07-13 07:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-13 07:25:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 07:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":130087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":130087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":130087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680324096001,"66":13200,"157":206,"85":15104,"24":0,"16":105538294334357504,"45":-9027676534216912896},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-13 07:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680324096001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:25:24] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 07:25:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105538294334357504,"km_value":105538294334357.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027676534216912896,"description":"Unknown IO ID 45"} 
[2026-07-13 07:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680324096001,"power":13200,"unknown_157":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9027676534216912896}} 
[2026-07-13 07:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":130087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478792,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:25:25] local.INFO: GPS data processed {"connection_id":130087,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:25:25] local.INFO: Acknowledgment sent {"connection_id":130087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:25:35] local.INFO: TCP Data received {"connection_id":131076,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:25:35] local.INFO: Processing buffer {"connection_id":131076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:25:35] local.INFO: IMEI packet received {"connection_id":131076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":131076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:25:40] local.INFO: TCP Data received {"connection_id":130289,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:25:40] local.INFO: Processing buffer {"connection_id":130289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:25:40] local.INFO: IMEI packet received {"connection_id":130289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 07:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":130289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:25:40] local.INFO: TCP Data received {"connection_id":131076,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:25:40] local.INFO: Processing buffer {"connection_id":131076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:25:40] local.INFO: IMEI packet received {"connection_id":131076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":131076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:25:41] local.INFO: TCP Data received {"connection_id":131076,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f592c66f0012d7f914005afd9380001011b24..."} 
[2026-07-13 07:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f592c66f0012d7f914005afd9380001011b24..."} 
[2026-07-13 07:25:41] local.INFO: Processing buffer {"connection_id":131076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f592c66f0012d7f914005afd9380001011b24..."} 
[2026-07-13 07:25:41] local.INFO: Packet analysis {"connection_id":131076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:25:41] local.INFO: Extracted packet for processing {"connection_id":131076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:25:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680245504001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783907510000,"timestamp_ms":1783907510000,"timestamp_seconds":1783907510,"priority":1,"record_length":96,"hex_timestamp":"0000019f592c66f0"} 
[2026-07-13 07:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680245504001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680245504001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:25:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:25:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680245504001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":131076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:25:41] local.INFO: GPS data processed {"connection_id":131076,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:25:41] local.INFO: Acknowledgment sent {"connection_id":131076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:25:43] local.INFO: TCP Data received {"connection_id":130290,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:25:43] local.INFO: Processing buffer {"connection_id":130290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:25:43] local.INFO: IMEI packet received {"connection_id":130290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":130290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:25:48] local.INFO: TCP Data received {"connection_id":130290,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:25:48] local.INFO: Processing buffer {"connection_id":130290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:25:48] local.INFO: IMEI packet received {"connection_id":130290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":130290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:25:49] local.INFO: TCP Data received {"connection_id":130290,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f592cad40012d82b70005d6e058000601631d..."} 
[2026-07-13 07:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f592cad40012d82b70005d6e058000601631d..."} 
[2026-07-13 07:25:49] local.INFO: Processing buffer {"connection_id":130290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f592cad40012d82b70005d6e058000601631d..."} 
[2026-07-13 07:25:49] local.INFO: Packet analysis {"connection_id":130290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:25:49] local.INFO: Extracted packet for processing {"connection_id":130290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:25:49] local.INFO: GPS Element Parsed {"raw_longitude":763541248,"raw_latitude":97968216,"longitude_deg":76.3541248,"latitude_deg":9.7968216,"altitude":6,"angle":355,"satellites":29,"speed":0,"hex_longitude":"2d82b700","hex_latitude":"05d6e058","is_valid_coordinates":true} 
[2026-07-13 07:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680327168001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105538294334357504,"note":"Value kept but may cause issues"} 
[2026-07-13 07:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027746902961006592,"note":"Value kept but may cause issues"} 
[2026-07-13 07:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783907528000,"timestamp_ms":1783907528000,"timestamp_seconds":1783907528,"priority":1,"record_length":96,"hex_timestamp":"0000019f592cad40"} 
[2026-07-13 07:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-13 07:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:25:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680327168001,"66":13200,"157":206,"85":15104,"24":0,"16":105538294334357504,"45":-9027746902961006592},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-13 07:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680327168001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:25:49] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 07:25:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105538294334357504,"km_value":105538294334357.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027746902961006592,"description":"Unknown IO ID 45"} 
[2026-07-13 07:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680327168001,"power":13200,"unknown_157":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9027746902961006592}} 
[2026-07-13 07:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":130290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478794,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:25:49] local.INFO: GPS data processed {"connection_id":130290,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:25:49] local.INFO: Acknowledgment sent {"connection_id":130290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:26:12] local.INFO: TCP Data received {"connection_id":131076,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f592c66f0012d7f914005afd9380001011b24..."} 
[2026-07-13 07:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f592c66f0012d7f914005afd9380001011b24..."} 
[2026-07-13 07:26:12] local.INFO: Processing buffer {"connection_id":131076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f592c66f0012d7f914005afd9380001011b24..."} 
[2026-07-13 07:26:12] local.INFO: Packet analysis {"connection_id":131076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:26:12] local.INFO: Extracted packet for processing {"connection_id":131076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:26:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680245504001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783907510000,"timestamp_ms":1783907510000,"timestamp_seconds":1783907510,"priority":1,"record_length":96,"hex_timestamp":"0000019f592c66f0"} 
[2026-07-13 07:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680245504001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680245504001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:26:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:26:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680245504001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":131076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:26:12] local.INFO: GPS data processed {"connection_id":131076,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:26:12] local.INFO: Acknowledgment sent {"connection_id":131076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:26:20] local.INFO: TCP Data received {"connection_id":130290,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f592ec850012d82b44005d6e0200006016320..."} 
[2026-07-13 07:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f592ec850012d82b44005d6e0200006016320..."} 
[2026-07-13 07:26:20] local.INFO: Processing buffer {"connection_id":130290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f592ec850012d82b44005d6e0200006016320..."} 
[2026-07-13 07:26:20] local.INFO: Packet analysis {"connection_id":130290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f592e"} 
[2026-07-13 07:26:20] local.INFO: Extracted packet for processing {"connection_id":130290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f592e"} 
[2026-07-13 07:26:20] local.INFO: GPS Element Parsed {"raw_longitude":763540544,"raw_latitude":97968160,"longitude_deg":76.3540544,"latitude_deg":9.796816,"altitude":6,"angle":355,"satellites":32,"speed":0,"hex_longitude":"2d82b440","hex_latitude":"05d6e020","is_valid_coordinates":true} 
[2026-07-13 07:26: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-07-13 07:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680327168001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105538294334357504,"note":"Value kept but may cause issues"} 
[2026-07-13 07:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027746902961006592,"note":"Value kept but may cause issues"} 
[2026-07-13 07:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783907666000,"timestamp_ms":1783907666000,"timestamp_seconds":1783907666,"priority":1,"record_length":96,"hex_timestamp":"0000019f592ec850"} 
[2026-07-13 07:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-13 07:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680327168001,"66":12743,"157":206,"85":15104,"24":0,"16":105538294334357504,"45":-9027746902961006592},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-13 07:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680327168001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:26:20] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 07:26:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105538294334357504,"km_value":105538294334357.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027746902961006592,"description":"Unknown IO ID 45"} 
[2026-07-13 07:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680327168001,"power":12743,"unknown_157":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9027746902961006592}} 
[2026-07-13 07:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":130290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478796,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:26:20] local.INFO: GPS data processed {"connection_id":130290,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:26:20] local.INFO: Acknowledgment sent {"connection_id":130290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:26:40] local.INFO: TCP Data received {"connection_id":130088,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:26:40] local.INFO: Processing buffer {"connection_id":130088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:26:40] local.INFO: IMEI packet received {"connection_id":130088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":130088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:26:44] local.INFO: TCP Data received {"connection_id":132410,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:26:44] local.INFO: Processing buffer {"connection_id":132410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:26:44] local.INFO: IMEI packet received {"connection_id":132410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":132410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:26:45] local.INFO: TCP Data received {"connection_id":130088,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:26:45] local.INFO: Processing buffer {"connection_id":130088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:26:45] local.INFO: IMEI packet received {"connection_id":130088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":130088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:26:48] local.INFO: TCP Data received {"connection_id":130088,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f592c66f0012d7f914005afd9380001011b24..."} 
[2026-07-13 07:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f592c66f0012d7f914005afd9380001011b24..."} 
[2026-07-13 07:26:48] local.INFO: Processing buffer {"connection_id":130088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f592c66f0012d7f914005afd9380001011b24..."} 
[2026-07-13 07:26:48] local.INFO: Packet analysis {"connection_id":130088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:26:48] local.INFO: Extracted packet for processing {"connection_id":130088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:26:48] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680245504001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783907510000,"timestamp_ms":1783907510000,"timestamp_seconds":1783907510,"priority":1,"record_length":96,"hex_timestamp":"0000019f592c66f0"} 
[2026-07-13 07:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:26:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":130088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":130088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":130088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680245504001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680245504001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:26:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:26:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680245504001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":130088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:26:48] local.INFO: GPS data processed {"connection_id":130088,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:26:48] local.INFO: Acknowledgment sent {"connection_id":130088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:26:48] local.INFO: TCP Data received {"connection_id":132410,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:26:48] local.INFO: Processing buffer {"connection_id":132410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:26:48] local.INFO: IMEI packet received {"connection_id":132410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":132410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:26:49] local.INFO: TCP Data received {"connection_id":132410,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f592ec850012d82b44005d6e0200006016320..."} 
[2026-07-13 07:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f592ec850012d82b44005d6e0200006016320..."} 
[2026-07-13 07:26:49] local.INFO: Processing buffer {"connection_id":132410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f592ec850012d82b44005d6e0200006016320..."} 
[2026-07-13 07:26:49] local.INFO: Packet analysis {"connection_id":132410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f592e"} 
[2026-07-13 07:26:49] local.INFO: Extracted packet for processing {"connection_id":132410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f592e"} 
[2026-07-13 07:26:49] local.INFO: GPS Element Parsed {"raw_longitude":763540544,"raw_latitude":97968160,"longitude_deg":76.3540544,"latitude_deg":9.796816,"altitude":6,"angle":355,"satellites":32,"speed":0,"hex_longitude":"2d82b440","hex_latitude":"05d6e020","is_valid_coordinates":true} 
[2026-07-13 07:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680362496001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105538294334357504,"note":"Value kept but may cause issues"} 
[2026-07-13 07:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9028520959146975232,"note":"Value kept but may cause issues"} 
[2026-07-13 07:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783907666000,"timestamp_ms":1783907666000,"timestamp_seconds":1783907666,"priority":1,"record_length":96,"hex_timestamp":"0000019f592ec850"} 
[2026-07-13 07:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-13 07:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680362496001,"66":12743,"157":206,"85":15104,"24":0,"16":105538294334357504,"45":-9028520959146975232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-13 07:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680362496001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:26:49] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 07:26:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105538294334357504,"km_value":105538294334357.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9028520959146975232,"description":"Unknown IO ID 45"} 
[2026-07-13 07:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680362496001,"power":12743,"unknown_157":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9028520959146975232}} 
[2026-07-13 07:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":132410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478798,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:26:49] local.INFO: GPS data processed {"connection_id":132410,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:26:49] local.INFO: Acknowledgment sent {"connection_id":132410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:26:50] local.INFO: TCP Data received {"connection_id":130088,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f592c66f0012d7f914005afd9380001011b24..."} 
[2026-07-13 07:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f592c66f0012d7f914005afd9380001011b24..."} 
[2026-07-13 07:26:50] local.INFO: Processing buffer {"connection_id":130088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f592c66f0012d7f914005afd9380001011b24..."} 
[2026-07-13 07:26:50] local.INFO: Packet analysis {"connection_id":130088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:26:50] local.INFO: Extracted packet for processing {"connection_id":130088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f592c"} 
[2026-07-13 07:26:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 07:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680245504001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783907510000,"timestamp_ms":1783907510000,"timestamp_seconds":1783907510,"priority":1,"record_length":96,"hex_timestamp":"0000019f592c66f0"} 
[2026-07-13 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-07-13 07:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:26:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 07:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:26: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-07-13 07:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680245504001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680245504001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:26:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:26:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680245504001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":130088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:26:50] local.INFO: GPS data processed {"connection_id":130088,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:26:50] local.INFO: Acknowledgment sent {"connection_id":130088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:27:20] local.INFO: TCP Data received {"connection_id":132410,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f592f1e40012d82b68005d6f250000a016221..."} 
[2026-07-13 07:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f592f1e40012d82b68005d6f250000a016221..."} 
[2026-07-13 07:27:20] local.INFO: Processing buffer {"connection_id":132410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f592f1e40012d82b68005d6f250000a016221..."} 
[2026-07-13 07:27:20] local.INFO: Packet analysis {"connection_id":132410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f592f"} 
[2026-07-13 07:27:20] local.INFO: Extracted packet for processing {"connection_id":132410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f592f"} 
[2026-07-13 07:27:20] local.INFO: GPS Element Parsed {"raw_longitude":763541120,"raw_latitude":97972816,"longitude_deg":76.354112,"latitude_deg":9.7972816,"altitude":10,"angle":354,"satellites":33,"speed":26,"hex_longitude":"2d82b680","hex_latitude":"05d6f250","is_valid_coordinates":true} 
[2026-07-13 07:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680362496001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105538521967624192,"note":"Value kept but may cause issues"} 
[2026-07-13 07:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9028520959146975232,"note":"Value kept but may cause issues"} 
[2026-07-13 07:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783907688000,"timestamp_ms":1783907688000,"timestamp_seconds":1783907688,"priority":1,"record_length":96,"hex_timestamp":"0000019f592f1e40"} 
[2026-07-13 07:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-13 07:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":132410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":132410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":132410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680362496001,"66":12472,"157":206,"85":15104,"24":26,"16":105538521967624192,"45":-9028520959146975232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-13 07:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680362496001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:27:20] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 07:27:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105538521967624192,"km_value":105538521967624.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9028520959146975232,"description":"Unknown IO ID 45"} 
[2026-07-13 07:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680362496001,"power":12472,"unknown_157":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9028520959146975232}} 
[2026-07-13 07:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":132410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478800,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:27:20] local.INFO: GPS data processed {"connection_id":132410,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:27:20] local.INFO: Acknowledgment sent {"connection_id":132410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:27:35] local.INFO: TCP Data received {"connection_id":131078,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:27:35] local.INFO: Processing buffer {"connection_id":131078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:27:35] local.INFO: IMEI packet received {"connection_id":131078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":131078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:27:40] local.INFO: TCP Data received {"connection_id":131078,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:27:40] local.INFO: Processing buffer {"connection_id":131078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:27:40] local.INFO: IMEI packet received {"connection_id":131078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":131078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:27:41] local.INFO: TCP Data received {"connection_id":131078,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5930feb8012d7f914005afd9380001011b24..."} 
[2026-07-13 07:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5930feb8012d7f914005afd9380001011b24..."} 
[2026-07-13 07:27:41] local.INFO: Processing buffer {"connection_id":131078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5930feb8012d7f914005afd9380001011b24..."} 
[2026-07-13 07:27:41] local.INFO: Packet analysis {"connection_id":131078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5930"} 
[2026-07-13 07:27:41] local.INFO: Extracted packet for processing {"connection_id":131078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5930"} 
[2026-07-13 07:27:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680322560001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783907811000,"timestamp_ms":1783907811000,"timestamp_seconds":1783907811,"priority":1,"record_length":96,"hex_timestamp":"0000019f5930feb8"} 
[2026-07-13 07:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 07:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680322560001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680322560001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:27:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:27:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680322560001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":131078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:27:41] local.INFO: GPS data processed {"connection_id":131078,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:27:41] local.INFO: Acknowledgment sent {"connection_id":131078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:27:43] local.INFO: TCP Data received {"connection_id":131079,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:27:43] local.INFO: Processing buffer {"connection_id":131079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:27:43] local.INFO: IMEI packet received {"connection_id":131079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":131079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:27:44] local.INFO: TCP Data received {"connection_id":131079,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:27:44] local.INFO: Processing buffer {"connection_id":131079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:27:44] local.INFO: IMEI packet received {"connection_id":131079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":131079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:27:48] local.INFO: TCP Data received {"connection_id":131079,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:27:48] local.INFO: Processing buffer {"connection_id":131079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:27:48] local.INFO: IMEI packet received {"connection_id":131079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":131079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:27:49] local.INFO: TCP Data received {"connection_id":131079,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59316448012d8297c005d86178000e015d1e..."} 
[2026-07-13 07:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59316448012d8297c005d86178000e015d1e..."} 
[2026-07-13 07:27:49] local.INFO: Processing buffer {"connection_id":131079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59316448012d8297c005d86178000e015d1e..."} 
[2026-07-13 07:27:49] local.INFO: Packet analysis {"connection_id":131079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5931"} 
[2026-07-13 07:27:49] local.INFO: Extracted packet for processing {"connection_id":131079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5931"} 
[2026-07-13 07:27:49] local.INFO: GPS Element Parsed {"raw_longitude":763533248,"raw_latitude":98066808,"longitude_deg":76.3533248,"latitude_deg":9.8066808,"altitude":14,"angle":349,"satellites":30,"speed":0,"hex_longitude":"2d8297c0","hex_latitude":"05d86178","is_valid_coordinates":true} 
[2026-07-13 07:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680401152001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105543108992696320,"note":"Value kept but may cause issues"} 
[2026-07-13 07:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035768939773192192,"note":"Value kept but may cause issues"} 
[2026-07-13 07:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783907837000,"timestamp_ms":1783907837000,"timestamp_seconds":1783907837,"priority":1,"record_length":96,"hex_timestamp":"0000019f59316448"} 
[2026-07-13 07:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-13 07:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680401152001,"66":13276,"47":206,"85":15104,"24":0,"16":105543108992696320,"45":-9035768939773192192},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-13 07:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680401152001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:27:49] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-13 07:27:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105543108992696320,"km_value":105543108992696.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035768939773192192,"description":"Unknown IO ID 45"} 
[2026-07-13 07:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680401152001,"power":13276,"unknown_47":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9035768939773192192}} 
[2026-07-13 07:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":131079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478802,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:27:49] local.INFO: GPS data processed {"connection_id":131079,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:27:49] local.INFO: Acknowledgment sent {"connection_id":131079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:28:12] local.INFO: TCP Data received {"connection_id":131078,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5930feb8012d7f914005afd9380001011b24..."} 
[2026-07-13 07:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5930feb8012d7f914005afd9380001011b24..."} 
[2026-07-13 07:28:12] local.INFO: Processing buffer {"connection_id":131078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5930feb8012d7f914005afd9380001011b24..."} 
[2026-07-13 07:28:12] local.INFO: Packet analysis {"connection_id":131078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5930"} 
[2026-07-13 07:28:12] local.INFO: Extracted packet for processing {"connection_id":131078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5930"} 
[2026-07-13 07:28:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680322560001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783907811000,"timestamp_ms":1783907811000,"timestamp_seconds":1783907811,"priority":1,"record_length":96,"hex_timestamp":"0000019f5930feb8"} 
[2026-07-13 07:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 07:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680322560001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680322560001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:28:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:28:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680322560001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":131078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:28:12] local.INFO: GPS data processed {"connection_id":131078,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:28:12] local.INFO: Acknowledgment sent {"connection_id":131078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:28:20] local.INFO: TCP Data received {"connection_id":131079,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5931a2c8012d82918005d87338000f015120..."} 
[2026-07-13 07:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5931a2c8012d82918005d87338000f015120..."} 
[2026-07-13 07:28:20] local.INFO: Processing buffer {"connection_id":131079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5931a2c8012d82918005d87338000f015120..."} 
[2026-07-13 07:28:20] local.INFO: Packet analysis {"connection_id":131079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5931"} 
[2026-07-13 07:28:20] local.INFO: Extracted packet for processing {"connection_id":131079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5931"} 
[2026-07-13 07:28:20] local.INFO: GPS Element Parsed {"raw_longitude":763531648,"raw_latitude":98071352,"longitude_deg":76.3531648,"latitude_deg":9.8071352,"altitude":15,"angle":337,"satellites":32,"speed":25,"hex_longitude":"2d829180","hex_latitude":"05d87338","is_valid_coordinates":true} 
[2026-07-13 07:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680406272001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105543345215897600,"note":"Value kept but may cause issues"} 
[2026-07-13 07:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036542995957975040,"note":"Value kept but may cause issues"} 
[2026-07-13 07:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783907853000,"timestamp_ms":1783907853000,"timestamp_seconds":1783907853,"priority":1,"record_length":96,"hex_timestamp":"0000019f5931a2c8"} 
[2026-07-13 07:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-13 07:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":131079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":131079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":131079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680406272001,"66":13276,"47":206,"85":15104,"24":25,"16":105543345215897600,"45":-9036542995957975040},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-13 07:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680406272001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:28:20] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-13 07:28:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105543345215897600,"km_value":105543345215897.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036542995957975040,"description":"Unknown IO ID 45"} 
[2026-07-13 07:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680406272001,"power":13276,"unknown_47":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9036542995957975040}} 
[2026-07-13 07:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":131079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478804,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:28:20] local.INFO: GPS data processed {"connection_id":131079,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:28:20] local.INFO: Acknowledgment sent {"connection_id":131079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:28:35] local.INFO: TCP Data received {"connection_id":130291,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:28:35] local.INFO: Processing buffer {"connection_id":130291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:28:35] local.INFO: IMEI packet received {"connection_id":130291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":130291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:28:40] local.INFO: TCP Data received {"connection_id":130291,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:28:40] local.INFO: Processing buffer {"connection_id":130291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:28:40] local.INFO: IMEI packet received {"connection_id":130291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":130291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:28:41] local.INFO: TCP Data received {"connection_id":130291,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5930feb8012d7f914005afd9380001011b24..."} 
[2026-07-13 07:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5930feb8012d7f914005afd9380001011b24..."} 
[2026-07-13 07:28:41] local.INFO: Processing buffer {"connection_id":130291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5930feb8012d7f914005afd9380001011b24..."} 
[2026-07-13 07:28:41] local.INFO: Packet analysis {"connection_id":130291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5930"} 
[2026-07-13 07:28:41] local.INFO: Extracted packet for processing {"connection_id":130291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5930"} 
[2026-07-13 07:28:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680322560001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783907811000,"timestamp_ms":1783907811000,"timestamp_seconds":1783907811,"priority":1,"record_length":96,"hex_timestamp":"0000019f5930feb8"} 
[2026-07-13 07:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 07:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680322560001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680322560001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:28:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:28:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680322560001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":130291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:28:41] local.INFO: GPS data processed {"connection_id":130291,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:28:41] local.INFO: Acknowledgment sent {"connection_id":130291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:28:46] local.INFO: TCP Data received {"connection_id":132412,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:28:46] local.INFO: Processing buffer {"connection_id":132412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:28:46] local.INFO: IMEI packet received {"connection_id":132412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":132412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:28:48] local.INFO: TCP Data received {"connection_id":132412,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:28:48] local.INFO: Processing buffer {"connection_id":132412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:28:48] local.INFO: IMEI packet received {"connection_id":132412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":132412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:28:53] local.INFO: TCP Data received {"connection_id":132412,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:28:53] local.INFO: Processing buffer {"connection_id":132412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:28:53] local.INFO: IMEI packet received {"connection_id":132412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":132412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:28:54] local.INFO: TCP Data received {"connection_id":132412,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5931c9d8012d8285c005d89110000e015e20..."} 
[2026-07-13 07:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5931c9d8012d8285c005d89110000e015e20..."} 
[2026-07-13 07:28:54] local.INFO: Processing buffer {"connection_id":132412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5931c9d8012d8285c005d89110000e015e20..."} 
[2026-07-13 07:28:54] local.INFO: Packet analysis {"connection_id":132412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5931"} 
[2026-07-13 07:28:54] local.INFO: Extracted packet for processing {"connection_id":132412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5931"} 
[2026-07-13 07:28:54] local.INFO: GPS Element Parsed {"raw_longitude":763528640,"raw_latitude":98078992,"longitude_deg":76.352864,"latitude_deg":9.8078992,"altitude":14,"angle":350,"satellites":32,"speed":35,"hex_longitude":"2d8285c0","hex_latitude":"05d89110","is_valid_coordinates":true} 
[2026-07-13 07:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680410368001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105543744647856128,"note":"Value kept but may cause issues"} 
[2026-07-13 07:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9038302214561253376,"note":"Value kept but may cause issues"} 
[2026-07-13 07:28: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-07-13 07:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783907863000,"timestamp_ms":1783907863000,"timestamp_seconds":1783907863,"priority":1,"record_length":96,"hex_timestamp":"0000019f5931c9d8"} 
[2026-07-13 07:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:28: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-07-13 07:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-13 07:28:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":132412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":132412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":132412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680410368001,"66":13124,"47":206,"85":15104,"24":35,"16":105543744647856128,"45":-9038302214561253376},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-13 07:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680410368001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:28:54] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-13 07:28:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105543744647856128,"km_value":105543744647856.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9038302214561253376,"description":"Unknown IO ID 45"} 
[2026-07-13 07:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680410368001,"power":13124,"unknown_47":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9038302214561253376}} 
[2026-07-13 07:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":132412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478806,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:28:54] local.INFO: GPS data processed {"connection_id":132412,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:28:54] local.INFO: Acknowledgment sent {"connection_id":132412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:28:55] local.INFO: TCP Data received {"connection_id":132412,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5931d978012d82850005d89fb8000c000120..."} 
[2026-07-13 07:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5931d978012d82850005d89fb8000c000120..."} 
[2026-07-13 07:28:55] local.INFO: Processing buffer {"connection_id":132412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5931d978012d82850005d89fb8000c000120..."} 
[2026-07-13 07:28:55] local.INFO: Packet analysis {"connection_id":132412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5931"} 
[2026-07-13 07:28:55] local.INFO: Extracted packet for processing {"connection_id":132412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5931"} 
[2026-07-13 07:28:55] local.INFO: GPS Element Parsed {"raw_longitude":763528448,"raw_latitude":98082744,"longitude_deg":76.3528448,"latitude_deg":9.8082744,"altitude":12,"angle":1,"satellites":32,"speed":37,"hex_longitude":"2d828500","hex_latitude":"05d89fb8","is_valid_coordinates":true} 
[2026-07-13 07:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680412928001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105543925036482560,"note":"Value kept but may cause issues"} 
[2026-07-13 07:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041609545535647744,"note":"Value kept but may cause issues"} 
[2026-07-13 07:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783907867000,"timestamp_ms":1783907867000,"timestamp_seconds":1783907867,"priority":1,"record_length":96,"hex_timestamp":"0000019f5931d978"} 
[2026-07-13 07:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-13 07:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":132412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":132412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":132412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:28: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-07-13 07:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680412928001,"66":13374,"47":206,"85":15104,"24":37,"16":105543925036482560,"45":-9041609545535647744},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-13 07:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680412928001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:28:55] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-13 07:28:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105543925036482560,"km_value":105543925036482.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041609545535647744,"description":"Unknown IO ID 45"} 
[2026-07-13 07:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680412928001,"power":13374,"unknown_47":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9041609545535647744}} 
[2026-07-13 07:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":132412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478807,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:28:55] local.INFO: GPS data processed {"connection_id":132412,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:28:55] local.INFO: Acknowledgment sent {"connection_id":132412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:29:12] local.INFO: TCP Data received {"connection_id":130291,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5930feb8012d7f914005afd9380001011b24..."} 
[2026-07-13 07:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5930feb8012d7f914005afd9380001011b24..."} 
[2026-07-13 07:29:12] local.INFO: Processing buffer {"connection_id":130291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5930feb8012d7f914005afd9380001011b24..."} 
[2026-07-13 07:29:12] local.INFO: Packet analysis {"connection_id":130291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5930"} 
[2026-07-13 07:29:12] local.INFO: Extracted packet for processing {"connection_id":130291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5930"} 
[2026-07-13 07:29:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680322560001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783907811000,"timestamp_ms":1783907811000,"timestamp_seconds":1783907811,"priority":1,"record_length":96,"hex_timestamp":"0000019f5930feb8"} 
[2026-07-13 07:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 07:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680322560001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680322560001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:29:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:29:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680322560001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":130291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:29:12] local.INFO: GPS data processed {"connection_id":130291,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:29:12] local.INFO: Acknowledgment sent {"connection_id":130291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:29:26] local.INFO: TCP Data received {"connection_id":132412,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59320088012d82848005d8c540000a016520..."} 
[2026-07-13 07:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59320088012d82848005d8c540000a016520..."} 
[2026-07-13 07:29:26] local.INFO: Processing buffer {"connection_id":132412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59320088012d82848005d8c540000a016520..."} 
[2026-07-13 07:29:26] local.INFO: Packet analysis {"connection_id":132412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5932"} 
[2026-07-13 07:29:26] local.INFO: Extracted packet for processing {"connection_id":132412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5932"} 
[2026-07-13 07:29:26] local.INFO: GPS Element Parsed {"raw_longitude":763528320,"raw_latitude":98092352,"longitude_deg":76.352832,"latitude_deg":9.8092352,"altitude":10,"angle":357,"satellites":32,"speed":38,"hex_longitude":"2d828480","hex_latitude":"05d8c540","is_valid_coordinates":true} 
[2026-07-13 07:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680413952001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105544393187917824,"note":"Value kept but may cause issues"} 
[2026-07-13 07:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041820651767220224,"note":"Value kept but may cause issues"} 
[2026-07-13 07:29: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-07-13 07:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783907877000,"timestamp_ms":1783907877000,"timestamp_seconds":1783907877,"priority":1,"record_length":96,"hex_timestamp":"0000019f59320088"} 
[2026-07-13 07:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-13 07:29: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-07-13 07:29:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":132412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":132412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":132412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680413952001,"66":13450,"47":206,"85":15104,"24":38,"16":105544393187917824,"45":-9041820651767220224},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-13 07:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680413952001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:29:26] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-13 07:29:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105544393187917824,"km_value":105544393187917.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041820651767220224,"description":"Unknown IO ID 45"} 
[2026-07-13 07:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680413952001,"power":13450,"unknown_47":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9041820651767220224}} 
[2026-07-13 07:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":132412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478809,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:29:26] local.INFO: GPS data processed {"connection_id":132412,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:29:26] local.INFO: Acknowledgment sent {"connection_id":132412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:29:35] local.INFO: TCP Data received {"connection_id":131080,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:29:35] local.INFO: Processing buffer {"connection_id":131080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:29:35] local.INFO: IMEI packet received {"connection_id":131080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":131080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:29:40] local.INFO: TCP Data received {"connection_id":131080,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:29:40] local.INFO: Processing buffer {"connection_id":131080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:29:40] local.INFO: IMEI packet received {"connection_id":131080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":131080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:29:41] local.INFO: TCP Data received {"connection_id":131080,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5930feb8012d7f914005afd9380001011b24..."} 
[2026-07-13 07:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5930feb8012d7f914005afd9380001011b24..."} 
[2026-07-13 07:29:41] local.INFO: Processing buffer {"connection_id":131080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5930feb8012d7f914005afd9380001011b24..."} 
[2026-07-13 07:29:41] local.INFO: Packet analysis {"connection_id":131080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5930"} 
[2026-07-13 07:29:41] local.INFO: Extracted packet for processing {"connection_id":131080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5930"} 
[2026-07-13 07:29:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680322560001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783907811000,"timestamp_ms":1783907811000,"timestamp_seconds":1783907811,"priority":1,"record_length":96,"hex_timestamp":"0000019f5930feb8"} 
[2026-07-13 07:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 07:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680322560001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680322560001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:29:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:29:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680322560001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":131080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:29:41] local.INFO: GPS data processed {"connection_id":131080,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:29:41] local.INFO: Acknowledgment sent {"connection_id":131080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:29:43] local.INFO: TCP Data received {"connection_id":130292,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130292,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:29:43] local.INFO: Processing buffer {"connection_id":130292,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:29:43] local.INFO: IMEI packet received {"connection_id":130292,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":130292,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:29:44] local.INFO: TCP Data received {"connection_id":130292,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130292,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:29:44] local.INFO: Processing buffer {"connection_id":130292,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:29:44] local.INFO: IMEI packet received {"connection_id":130292,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":130292,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:29:48] local.INFO: TCP Data received {"connection_id":130292,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130292,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:29:48] local.INFO: Processing buffer {"connection_id":130292,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:29:48] local.INFO: IMEI packet received {"connection_id":130292,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":130292,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:29:49] local.INFO: TCP Data received {"connection_id":130292,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f593223b0012d8281c005d8e8e8000a016320..."} 
[2026-07-13 07:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f593223b0012d8281c005d8e8e8000a016320..."} 
[2026-07-13 07:29:49] local.INFO: Processing buffer {"connection_id":130292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f593223b0012d8281c005d8e8e8000a016320..."} 
[2026-07-13 07:29:49] local.INFO: Packet analysis {"connection_id":130292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5932"} 
[2026-07-13 07:29:49] local.INFO: Extracted packet for processing {"connection_id":130292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5932"} 
[2026-07-13 07:29:49] local.INFO: GPS Element Parsed {"raw_longitude":763527616,"raw_latitude":98101480,"longitude_deg":76.3527616,"latitude_deg":9.810148,"altitude":10,"angle":355,"satellites":32,"speed":39,"hex_longitude":"2d8281c0","hex_latitude":"05d8e8e8","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680416512001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105544835569549312,"note":"Value kept but may cause issues"} 
[2026-07-13 07:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041961389253115904,"note":"Value kept but may cause issues"} 
[2026-07-13 07:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783907886000,"timestamp_ms":1783907886000,"timestamp_seconds":1783907886,"priority":1,"record_length":96,"hex_timestamp":"0000019f593223b0"} 
[2026-07-13 07:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-13 07:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680416512001,"66":13352,"47":206,"85":15104,"24":39,"16":105544835569549312,"45":-9041961389253115904},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-13 07:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680416512001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:29:49] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-13 07:29:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105544835569549312,"km_value":105544835569549.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041961389253115904,"description":"Unknown IO ID 45"} 
[2026-07-13 07:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680416512001,"power":13352,"unknown_47":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9041961389253115904}} 
[2026-07-13 07:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":130292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478811,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:29:49] local.INFO: GPS data processed {"connection_id":130292,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:29:49] local.INFO: Acknowledgment sent {"connection_id":130292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:29:53] local.INFO: TCP Data received {"connection_id":130292,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59324ac0012d827e0005d90ef0000b015c20..."} 
[2026-07-13 07:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59324ac0012d827e0005d90ef0000b015c20..."} 
[2026-07-13 07:29:53] local.INFO: Processing buffer {"connection_id":130292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59324ac0012d827e0005d90ef0000b015c20..."} 
[2026-07-13 07:29:53] local.INFO: Packet analysis {"connection_id":130292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5932"} 
[2026-07-13 07:29:53] local.INFO: Extracted packet for processing {"connection_id":130292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5932"} 
[2026-07-13 07:29:53] local.INFO: GPS Element Parsed {"raw_longitude":763526656,"raw_latitude":98111216,"longitude_deg":76.3526656,"latitude_deg":9.8111216,"altitude":11,"angle":348,"satellites":32,"speed":37,"hex_longitude":"2d827e00","hex_latitude":"05d90ef0","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680418816001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105545312310919168,"note":"Value kept but may cause issues"} 
[2026-07-13 07:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042735445436733440,"note":"Value kept but may cause issues"} 
[2026-07-13 07:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783907896000,"timestamp_ms":1783907896000,"timestamp_seconds":1783907896,"priority":1,"record_length":96,"hex_timestamp":"0000019f59324ac0"} 
[2026-07-13 07:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:29: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-07-13 07: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-13 07:29:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":130292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":130292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":130292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680418816001,"66":13254,"47":206,"85":15104,"24":37,"16":105545312310919168,"45":-9042735445436733440},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-13 07:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680418816001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:29:53] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-13 07:29:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105545312310919168,"km_value":105545312310919.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042735445436733440,"description":"Unknown IO ID 45"} 
[2026-07-13 07:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680418816001,"power":13254,"unknown_47":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9042735445436733440}} 
[2026-07-13 07:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":130292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478812,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:29:54] local.INFO: GPS data processed {"connection_id":130292,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:29:54] local.INFO: Acknowledgment sent {"connection_id":130292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:30:12] local.INFO: TCP Data received {"connection_id":131080,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5930feb8012d7f914005afd9380001011b24..."} 
[2026-07-13 07:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5930feb8012d7f914005afd9380001011b24..."} 
[2026-07-13 07:30:12] local.INFO: Processing buffer {"connection_id":131080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5930feb8012d7f914005afd9380001011b24..."} 
[2026-07-13 07:30:12] local.INFO: Packet analysis {"connection_id":131080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5930"} 
[2026-07-13 07:30:12] local.INFO: Extracted packet for processing {"connection_id":131080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5930"} 
[2026-07-13 07:30:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680322560001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783907811000,"timestamp_ms":1783907811000,"timestamp_seconds":1783907811,"priority":1,"record_length":96,"hex_timestamp":"0000019f5930feb8"} 
[2026-07-13 07:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 07:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680322560001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680322560001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:30:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:30:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680322560001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":131080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:30:12] local.INFO: GPS data processed {"connection_id":131080,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:30:12] local.INFO: Acknowledgment sent {"connection_id":131080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:30:25] local.INFO: TCP Data received {"connection_id":130292,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5933f488012d82154005da8e280005010720..."} 
[2026-07-13 07:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5933f488012d82154005da8e280005010720..."} 
[2026-07-13 07:30:25] local.INFO: Processing buffer {"connection_id":130292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5933f488012d82154005da8e280005010720..."} 
[2026-07-13 07:30:25] local.INFO: Packet analysis {"connection_id":130292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5933"} 
[2026-07-13 07:30:25] local.INFO: Extracted packet for processing {"connection_id":130292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5933"} 
[2026-07-13 07:30:25] local.INFO: GPS Element Parsed {"raw_longitude":763499840,"raw_latitude":98209320,"longitude_deg":76.349984,"latitude_deg":9.820932,"altitude":5,"angle":263,"satellites":32,"speed":23,"hex_longitude":"2d821540","hex_latitude":"05da8e28","is_valid_coordinates":true} 
[2026-07-13 07:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680449024001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105550303062917120,"note":"Value kept but may cause issues"} 
[2026-07-13 07:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9072712530428803072,"note":"Value kept but may cause issues"} 
[2026-07-13 07:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783908005000,"timestamp_ms":1783908005000,"timestamp_seconds":1783908005,"priority":1,"record_length":96,"hex_timestamp":"0000019f5933f488"} 
[2026-07-13 07:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":187,"data_length":795,"current_offset":136} 
[2026-07-13 07:30:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":130292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":130292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":130292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680449024001,"66":13243,"71":206,"85":15104,"24":23,"16":105550303062917120,"45":-9072712530428803072},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 07:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680449024001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:30:25] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 07:30:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105550303062917120,"km_value":105550303062917.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9072712530428803072,"description":"Unknown IO ID 45"} 
[2026-07-13 07:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680449024001,"power":13243,"unknown_71":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9072712530428803072}} 
[2026-07-13 07:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":130292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478814,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:30:25] local.INFO: GPS data processed {"connection_id":130292,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:30:25] local.INFO: Acknowledgment sent {"connection_id":130292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:30:35] local.INFO: TCP Data received {"connection_id":131081,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:30:35] local.INFO: Processing buffer {"connection_id":131081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:30:35] local.INFO: IMEI packet received {"connection_id":131081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":131081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:30:40] local.INFO: TCP Data received {"connection_id":131081,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:30:40] local.INFO: Processing buffer {"connection_id":131081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:30:40] local.INFO: IMEI packet received {"connection_id":131081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":131081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:30:41] local.INFO: TCP Data received {"connection_id":131081,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5930feb8012d7f914005afd9380001011b24..."} 
[2026-07-13 07:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5930feb8012d7f914005afd9380001011b24..."} 
[2026-07-13 07:30:41] local.INFO: Processing buffer {"connection_id":131081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5930feb8012d7f914005afd9380001011b24..."} 
[2026-07-13 07:30:41] local.INFO: Packet analysis {"connection_id":131081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5930"} 
[2026-07-13 07:30:41] local.INFO: Extracted packet for processing {"connection_id":131081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5930"} 
[2026-07-13 07:30:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680322560001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783907811000,"timestamp_ms":1783907811000,"timestamp_seconds":1783907811,"priority":1,"record_length":96,"hex_timestamp":"0000019f5930feb8"} 
[2026-07-13 07:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 07:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680322560001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680322560001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:30:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:30:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680322560001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":131081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:30:41] local.INFO: GPS data processed {"connection_id":131081,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:30:41] local.INFO: Acknowledgment sent {"connection_id":131081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:30:43] local.INFO: TCP Data received {"connection_id":130090,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:30:43] local.INFO: Processing buffer {"connection_id":130090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:30:43] local.INFO: IMEI packet received {"connection_id":130090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":130090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:30:47] local.INFO: TCP Data received {"connection_id":130090,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:30:47] local.INFO: Processing buffer {"connection_id":130090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:30:47] local.INFO: IMEI packet received {"connection_id":130090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":130090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:30:48] local.INFO: TCP Data received {"connection_id":130090,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59340bf8012d82044005da8978000500fc20..."} 
[2026-07-13 07:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59340bf8012d82044005da8978000500fc20..."} 
[2026-07-13 07:30:48] local.INFO: Processing buffer {"connection_id":130090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59340bf8012d82044005da8978000500fc20..."} 
[2026-07-13 07:30:48] local.INFO: Packet analysis {"connection_id":130090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5934"} 
[2026-07-13 07:30:48] local.INFO: Extracted packet for processing {"connection_id":130090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5934"} 
[2026-07-13 07:30:48] local.INFO: GPS Element Parsed {"raw_longitude":763495488,"raw_latitude":98208120,"longitude_deg":76.3495488,"latitude_deg":9.820812,"altitude":5,"angle":252,"satellites":32,"speed":32,"hex_longitude":"2d820440","hex_latitude":"05da8978","is_valid_coordinates":true} 
[2026-07-13 07:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680449280001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105550517811281920,"note":"Value kept but may cause issues"} 
[2026-07-13 07:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9073275480382232576,"note":"Value kept but may cause issues"} 
[2026-07-13 07:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783908011000,"timestamp_ms":1783908011000,"timestamp_seconds":1783908011,"priority":1,"record_length":96,"hex_timestamp":"0000019f59340bf8"} 
[2026-07-13 07:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:30:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 07:30:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:30:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":130090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":130090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":130090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680449280001,"66":13276,"71":206,"85":15104,"24":32,"16":105550517811281920,"45":-9073275480382232576},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 07:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680449280001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:30:48] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 07:30:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105550517811281920,"km_value":105550517811281.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9073275480382232576,"description":"Unknown IO ID 45"} 
[2026-07-13 07:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680449280001,"power":13276,"unknown_71":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9073275480382232576}} 
[2026-07-13 07:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":130090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478816,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:30:48] local.INFO: GPS data processed {"connection_id":130090,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:30:48] local.INFO: Acknowledgment sent {"connection_id":130090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:30:56] local.INFO: TCP Data received {"connection_id":130091,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130091,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:30:56] local.INFO: Processing buffer {"connection_id":130091,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:30:56] local.INFO: IMEI packet received {"connection_id":130091,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 07:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":130091,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:31:12] local.INFO: TCP Data received {"connection_id":131081,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5930feb8012d7f914005afd9380001011b24..."} 
[2026-07-13 07:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5930feb8012d7f914005afd9380001011b24..."} 
[2026-07-13 07:31:12] local.INFO: Processing buffer {"connection_id":131081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5930feb8012d7f914005afd9380001011b24..."} 
[2026-07-13 07:31:12] local.INFO: Packet analysis {"connection_id":131081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5930"} 
[2026-07-13 07:31:12] local.INFO: Extracted packet for processing {"connection_id":131081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5930"} 
[2026-07-13 07:31:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680322560001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783907811000,"timestamp_ms":1783907811000,"timestamp_seconds":1783907811,"priority":1,"record_length":96,"hex_timestamp":"0000019f5930feb8"} 
[2026-07-13 07:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 07:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680322560001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680322560001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:31:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:31:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680322560001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":131081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:31:12] local.INFO: GPS data processed {"connection_id":131081,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:31:12] local.INFO: Acknowledgment sent {"connection_id":131081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:31:19] local.INFO: TCP Data received {"connection_id":130090,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59343308012d81e20005da7fd8000400fb20..."} 
[2026-07-13 07:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59343308012d81e20005da7fd8000400fb20..."} 
[2026-07-13 07:31:19] local.INFO: Processing buffer {"connection_id":130090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59343308012d81e20005da7fd8000400fb20..."} 
[2026-07-13 07:31:19] local.INFO: Packet analysis {"connection_id":130090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5934"} 
[2026-07-13 07:31:19] local.INFO: Extracted packet for processing {"connection_id":130090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5934"} 
[2026-07-13 07:31:19] local.INFO: GPS Element Parsed {"raw_longitude":763486720,"raw_latitude":98205656,"longitude_deg":76.348672,"latitude_deg":9.8205656,"altitude":4,"angle":251,"satellites":32,"speed":36,"hex_longitude":"2d81e200","hex_latitude":"05da7fd8","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680450816001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105550951602978816,"note":"Value kept but may cause issues"} 
[2026-07-13 07:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9078060554986620928,"note":"Value kept but may cause issues"} 
[2026-07-13 07:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783908021000,"timestamp_ms":1783908021000,"timestamp_seconds":1783908021,"priority":1,"record_length":96,"hex_timestamp":"0000019f59343308"} 
[2026-07-13 07:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-13 07:31:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680450816001,"66":13319,"71":206,"85":15104,"24":36,"16":105550951602978816,"45":-9078060554986620928},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 07:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680450816001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:31:19] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 07:31:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105550951602978816,"km_value":105550951602978.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9078060554986620928,"description":"Unknown IO ID 45"} 
[2026-07-13 07:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680450816001,"power":13319,"unknown_71":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9078060554986620928}} 
[2026-07-13 07:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":130090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478818,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:31:19] local.INFO: GPS data processed {"connection_id":130090,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:31:19] local.INFO: Acknowledgment sent {"connection_id":130090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:31:40] local.INFO: TCP Data received {"connection_id":131082,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:31:40] local.INFO: Processing buffer {"connection_id":131082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:31:40] local.INFO: IMEI packet received {"connection_id":131082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":131082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:31:43] local.INFO: TCP Data received {"connection_id":131083,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:31:43] local.INFO: Processing buffer {"connection_id":131083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:31:43] local.INFO: IMEI packet received {"connection_id":131083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":131083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:31:44] local.INFO: TCP Data received {"connection_id":131083,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:31:44] local.INFO: Processing buffer {"connection_id":131083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:31:44] local.INFO: IMEI packet received {"connection_id":131083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":131083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:31:45] local.INFO: TCP Data received {"connection_id":131083,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:31:45] local.INFO: Processing buffer {"connection_id":131083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:31:45] local.INFO: IMEI packet received {"connection_id":131083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":131083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:31:45] local.INFO: TCP Data received {"connection_id":131082,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:31:45] local.INFO: Processing buffer {"connection_id":131082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:31:45] local.INFO: IMEI packet received {"connection_id":131082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":131082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:31:46] local.INFO: TCP Data received {"connection_id":130294,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130294,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:31:46] local.INFO: Processing buffer {"connection_id":130294,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:31:46] local.INFO: IMEI packet received {"connection_id":130294,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 07:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":130294,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:31:48] local.INFO: TCP Data received {"connection_id":131082,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5930feb8012d7f914005afd9380001011b24..."} 
[2026-07-13 07:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5930feb8012d7f914005afd9380001011b24..."} 
[2026-07-13 07:31:48] local.INFO: Processing buffer {"connection_id":131082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5930feb8012d7f914005afd9380001011b24..."} 
[2026-07-13 07:31:48] local.INFO: Packet analysis {"connection_id":131082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5930"} 
[2026-07-13 07:31:48] local.INFO: Extracted packet for processing {"connection_id":131082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5930"} 
[2026-07-13 07:31:48] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680322560001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783907811000,"timestamp_ms":1783907811000,"timestamp_seconds":1783907811,"priority":1,"record_length":96,"hex_timestamp":"0000019f5930feb8"} 
[2026-07-13 07:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 07:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":131082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":131082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":131082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07: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-07-13 07:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680322560001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680322560001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:31:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:31:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680322560001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":131082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:31:48] local.INFO: GPS data processed {"connection_id":131082,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:31:48] local.INFO: Acknowledgment sent {"connection_id":131082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:31:48] local.INFO: TCP Data received {"connection_id":131083,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:31:48] local.INFO: Processing buffer {"connection_id":131083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:31:48] local.INFO: IMEI packet received {"connection_id":131083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":131083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:31:50] local.INFO: TCP Data received {"connection_id":131083,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59355030012d814b8005dad3b80009015f20..."} 
[2026-07-13 07:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59355030012d814b8005dad3b80009015f20..."} 
[2026-07-13 07:31:50] local.INFO: Processing buffer {"connection_id":131083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59355030012d814b8005dad3b80009015f20..."} 
[2026-07-13 07:31:50] local.INFO: Packet analysis {"connection_id":131083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5935"} 
[2026-07-13 07:31:50] local.INFO: Extracted packet for processing {"connection_id":131083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5935"} 
[2026-07-13 07:31:50] local.INFO: GPS Element Parsed {"raw_longitude":763448192,"raw_latitude":98227128,"longitude_deg":76.3448192,"latitude_deg":9.8227128,"altitude":9,"angle":351,"satellites":32,"speed":38,"hex_longitude":"2d814b80","hex_latitude":"05dad3b8","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680469504001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105553558648127488,"note":"Value kept but may cause issues"} 
[2026-07-13 07:31:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9126544619722500096,"note":"Value kept but may cause issues"} 
[2026-07-13 07:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783908094000,"timestamp_ms":1783908094000,"timestamp_seconds":1783908094,"priority":1,"record_length":96,"hex_timestamp":"0000019f59355030"} 
[2026-07-13 07:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:31: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-07-13 07: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 07:31: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-07-13 07: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-07-13 07:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:31:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680469504001,"66":13243,"71":206,"85":15104,"24":38,"16":105553558648127488,"45":-9126544619722500096},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 07:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680469504001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:31:50] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 07:31:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105553558648127488,"km_value":105553558648127.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:31:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9126544619722500096,"description":"Unknown IO ID 45"} 
[2026-07-13 07:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680469504001,"power":13243,"unknown_71":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9126544619722500096}} 
[2026-07-13 07:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":131083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478820,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:31:50] local.INFO: GPS data processed {"connection_id":131083,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:31:50] local.INFO: Acknowledgment sent {"connection_id":131083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:31:50] local.INFO: TCP Data received {"connection_id":131082,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5930feb8012d7f914005afd9380001011b24..."} 
[2026-07-13 07:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5930feb8012d7f914005afd9380001011b24..."} 
[2026-07-13 07:31:50] local.INFO: Processing buffer {"connection_id":131082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5930feb8012d7f914005afd9380001011b24..."} 
[2026-07-13 07:31:50] local.INFO: Packet analysis {"connection_id":131082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5930"} 
[2026-07-13 07:31:50] local.INFO: Extracted packet for processing {"connection_id":131082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5930"} 
[2026-07-13 07:31:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680322560001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:31:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783907811000,"timestamp_ms":1783907811000,"timestamp_seconds":1783907811,"priority":1,"record_length":96,"hex_timestamp":"0000019f5930feb8"} 
[2026-07-13 07:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 07:31:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:31: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-07-13 07:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680322560001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680322560001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:31:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:31:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:31:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680322560001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":131082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:31:50] local.INFO: GPS data processed {"connection_id":131082,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:31:50] local.INFO: Acknowledgment sent {"connection_id":131082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:32:20] local.INFO: TCP Data received {"connection_id":131083,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59355030012d814b8005dad3b80009015f20..."} 
[2026-07-13 07:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59355030012d814b8005dad3b80009015f20..."} 
[2026-07-13 07:32:20] local.INFO: Processing buffer {"connection_id":131083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59355030012d814b8005dad3b80009015f20..."} 
[2026-07-13 07:32:20] local.INFO: Packet analysis {"connection_id":131083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5935"} 
[2026-07-13 07:32:20] local.INFO: Extracted packet for processing {"connection_id":131083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5935"} 
[2026-07-13 07:32:20] local.INFO: GPS Element Parsed {"raw_longitude":763448192,"raw_latitude":98227128,"longitude_deg":76.3448192,"latitude_deg":9.8227128,"altitude":9,"angle":351,"satellites":32,"speed":38,"hex_longitude":"2d814b80","hex_latitude":"05dad3b8","is_valid_coordinates":true} 
[2026-07-13 07:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680472064001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105553558648127488,"note":"Value kept but may cause issues"} 
[2026-07-13 07:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9130063056929048576,"note":"Value kept but may cause issues"} 
[2026-07-13 07:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783908094000,"timestamp_ms":1783908094000,"timestamp_seconds":1783908094,"priority":1,"record_length":96,"hex_timestamp":"0000019f59355030"} 
[2026-07-13 07:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 07:32: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-07-13 07:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":131083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":131083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":131083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680472064001,"66":13243,"71":206,"85":15104,"24":38,"16":105553558648127488,"45":-9130063056929048576},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 07:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680472064001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:32:20] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 07:32:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105553558648127488,"km_value":105553558648127.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9130063056929048576,"description":"Unknown IO ID 45"} 
[2026-07-13 07:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680472064001,"power":13243,"unknown_71":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9130063056929048576}} 
[2026-07-13 07:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":131083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478822,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:32:20] local.INFO: GPS data processed {"connection_id":131083,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:32:20] local.INFO: Acknowledgment sent {"connection_id":131083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:32:35] local.INFO: TCP Data received {"connection_id":131084,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:32:35] local.INFO: Processing buffer {"connection_id":131084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:32:35] local.INFO: IMEI packet received {"connection_id":131084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":131084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:32:40] local.INFO: TCP Data received {"connection_id":131084,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:32:40] local.INFO: Processing buffer {"connection_id":131084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:32:40] local.INFO: IMEI packet received {"connection_id":131084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":131084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:32:41] local.INFO: TCP Data received {"connection_id":131084,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f59359680012d7f914005afd9380002011b22..."} 
[2026-07-13 07:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59359680012d7f914005afd9380002011b22..."} 
[2026-07-13 07:32:41] local.INFO: Processing buffer {"connection_id":131084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59359680012d7f914005afd9380002011b22..."} 
[2026-07-13 07:32:41] local.INFO: Packet analysis {"connection_id":131084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5935"} 
[2026-07-13 07:32:41] local.INFO: Extracted packet for processing {"connection_id":131084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5935"} 
[2026-07-13 07:32:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680399616001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783908112000,"timestamp_ms":1783908112000,"timestamp_seconds":1783908112,"priority":1,"record_length":96,"hex_timestamp":"0000019f59359680"} 
[2026-07-13 07:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680399616001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680399616001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:32:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:32:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680399616001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":131084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:32:41] local.INFO: GPS data processed {"connection_id":131084,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:32:41] local.INFO: Acknowledgment sent {"connection_id":131084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:32:43] local.INFO: TCP Data received {"connection_id":130295,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:32:43] local.INFO: Processing buffer {"connection_id":130295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:32:43] local.INFO: IMEI packet received {"connection_id":130295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":130295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:32:46] local.INFO: TCP Data received {"connection_id":130295,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:32:46] local.INFO: Processing buffer {"connection_id":130295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:32:46] local.INFO: IMEI packet received {"connection_id":130295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":130295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:32:48] local.INFO: TCP Data received {"connection_id":130295,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:32:48] local.INFO: Processing buffer {"connection_id":130295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:32:48] local.INFO: IMEI packet received {"connection_id":130295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":130295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:32:49] local.INFO: TCP Data received {"connection_id":130295,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59356f70012d81448005daf2a80008014e1e..."} 
[2026-07-13 07:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59356f70012d81448005daf2a80008014e1e..."} 
[2026-07-13 07:32:49] local.INFO: Processing buffer {"connection_id":130295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59356f70012d81448005daf2a80008014e1e..."} 
[2026-07-13 07:32:49] local.INFO: Packet analysis {"connection_id":130295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5935"} 
[2026-07-13 07:32:49] local.INFO: Extracted packet for processing {"connection_id":130295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5935"} 
[2026-07-13 07:32:49] local.INFO: GPS Element Parsed {"raw_longitude":763446400,"raw_latitude":98235048,"longitude_deg":76.34464,"latitude_deg":9.8235048,"altitude":8,"angle":334,"satellites":30,"speed":37,"hex_longitude":"2d814480","hex_latitude":"05daf2a8","is_valid_coordinates":true} 
[2026-07-13 07:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680472064001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105553953785118720,"note":"Value kept but may cause issues"} 
[2026-07-13 07:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9130063056929048576,"note":"Value kept but may cause issues"} 
[2026-07-13 07:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783908102000,"timestamp_ms":1783908102000,"timestamp_seconds":1783908102,"priority":1,"record_length":96,"hex_timestamp":"0000019f59356f70"} 
[2026-07-13 07:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:32: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-07-13 07: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 07:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:32:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680472064001,"66":13178,"71":206,"85":15104,"24":37,"16":105553953785118720,"45":-9130063056929048576},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 07:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680472064001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:32:49] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 07:32:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105553953785118720,"km_value":105553953785118.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9130063056929048576,"description":"Unknown IO ID 45"} 
[2026-07-13 07:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680472064001,"power":13178,"unknown_71":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9130063056929048576}} 
[2026-07-13 07:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":130295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:32:49] local.INFO: GPS data processed {"connection_id":130295,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:32:49] local.INFO: Acknowledgment sent {"connection_id":130295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:32:53] local.INFO: TCP Data received {"connection_id":130295,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59357740012d81408005daf8200008013b1f..."} 
[2026-07-13 07:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59357740012d81408005daf8200008013b1f..."} 
[2026-07-13 07:32:53] local.INFO: Processing buffer {"connection_id":130295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59357740012d81408005daf8200008013b1f..."} 
[2026-07-13 07:32:53] local.INFO: Packet analysis {"connection_id":130295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5935"} 
[2026-07-13 07:32:53] local.INFO: Extracted packet for processing {"connection_id":130295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5935"} 
[2026-07-13 07:32:53] local.INFO: GPS Element Parsed {"raw_longitude":763445376,"raw_latitude":98236448,"longitude_deg":76.3445376,"latitude_deg":9.8236448,"altitude":8,"angle":315,"satellites":31,"speed":34,"hex_longitude":"2d814080","hex_latitude":"05daf820","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680474112001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105554039684464640,"note":"Value kept but may cause issues"} 
[2026-07-13 07:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9132033381763995648,"note":"Value kept but may cause issues"} 
[2026-07-13 07:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783908104000,"timestamp_ms":1783908104000,"timestamp_seconds":1783908104,"priority":1,"record_length":96,"hex_timestamp":"0000019f59357740"} 
[2026-07-13 07:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:32: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-07-13 07: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-13 07:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":130295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":130295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":130295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680474112001,"66":13080,"71":206,"85":15104,"24":34,"16":105554039684464640,"45":-9132033381763995648},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 07:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680474112001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:32:53] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 07:32:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105554039684464640,"km_value":105554039684464.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9132033381763995648,"description":"Unknown IO ID 45"} 
[2026-07-13 07:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680474112001,"power":13080,"unknown_71":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9132033381763995648}} 
[2026-07-13 07:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":130295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478825,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:32:54] local.INFO: GPS data processed {"connection_id":130295,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:32:54] local.INFO: Acknowledgment sent {"connection_id":130295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:33:12] local.INFO: TCP Data received {"connection_id":131084,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f59359680012d7f914005afd9380002011b22..."} 
[2026-07-13 07:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59359680012d7f914005afd9380002011b22..."} 
[2026-07-13 07:33:12] local.INFO: Processing buffer {"connection_id":131084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59359680012d7f914005afd9380002011b22..."} 
[2026-07-13 07:33:12] local.INFO: Packet analysis {"connection_id":131084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5935"} 
[2026-07-13 07:33:12] local.INFO: Extracted packet for processing {"connection_id":131084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5935"} 
[2026-07-13 07:33:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680399616001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783908112000,"timestamp_ms":1783908112000,"timestamp_seconds":1783908112,"priority":1,"record_length":96,"hex_timestamp":"0000019f59359680"} 
[2026-07-13 07:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:33:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:33:12] 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-07-13 07:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680399616001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680399616001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:33:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:33:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680399616001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":131084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:33:12] local.INFO: GPS data processed {"connection_id":131084,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:33:12] local.INFO: Acknowledgment sent {"connection_id":131084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:33:25] local.INFO: TCP Data received {"connection_id":130295,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5936a408012d80a48005dc1d40000801501f..."} 
[2026-07-13 07:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5936a408012d80a48005dc1d40000801501f..."} 
[2026-07-13 07:33:25] local.INFO: Processing buffer {"connection_id":130295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5936a408012d80a48005dc1d40000801501f..."} 
[2026-07-13 07:33:25] local.INFO: Packet analysis {"connection_id":130295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5936"} 
[2026-07-13 07:33:25] local.INFO: Extracted packet for processing {"connection_id":130295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5936"} 
[2026-07-13 07:33:25] local.INFO: GPS Element Parsed {"raw_longitude":763405440,"raw_latitude":98311488,"longitude_deg":76.340544,"latitude_deg":9.8311488,"altitude":8,"angle":336,"satellites":31,"speed":49,"hex_longitude":"2d80a480","hex_latitude":"05dc1d40","is_valid_coordinates":true} 
[2026-07-13 07:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680492288001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105558180032937984,"note":"Value kept but may cause issues"} 
[2026-07-13 07:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172776884625608704,"note":"Value kept but may cause issues"} 
[2026-07-13 07:33:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783908181000,"timestamp_ms":1783908181000,"timestamp_seconds":1783908181,"priority":1,"record_length":96,"hex_timestamp":"0000019f5936a408"} 
[2026-07-13 07:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:33:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 07:33:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:33:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":130295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":130295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":130295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:33:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680492288001,"66":13374,"154":206,"85":15104,"24":49,"16":105558180032937984,"45":-9172776884625608704},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-07-13 07:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680492288001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:33:25] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-13 07:33:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105558180032937984,"km_value":105558180032937.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172776884625608704,"description":"Unknown IO ID 45"} 
[2026-07-13 07:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680492288001,"power":13374,"unknown_154":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":-9172776884625608704}} 
[2026-07-13 07:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":130295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478827,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:33:25] local.INFO: GPS data processed {"connection_id":130295,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:33:25] local.INFO: Acknowledgment sent {"connection_id":130295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:33:35] local.INFO: TCP Data received {"connection_id":130092,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:33:35] local.INFO: Processing buffer {"connection_id":130092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:33:35] local.INFO: IMEI packet received {"connection_id":130092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":130092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:33:40] local.INFO: TCP Data received {"connection_id":130092,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:33:40] local.INFO: Processing buffer {"connection_id":130092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:33:40] local.INFO: IMEI packet received {"connection_id":130092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":130092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:33:41] local.INFO: TCP Data received {"connection_id":130092,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f59359680012d7f914005afd9380002011b22..."} 
[2026-07-13 07:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59359680012d7f914005afd9380002011b22..."} 
[2026-07-13 07:33:41] local.INFO: Processing buffer {"connection_id":130092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59359680012d7f914005afd9380002011b22..."} 
[2026-07-13 07:33:41] local.INFO: Packet analysis {"connection_id":130092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5935"} 
[2026-07-13 07:33:41] local.INFO: Extracted packet for processing {"connection_id":130092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5935"} 
[2026-07-13 07:33:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680399616001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783908112000,"timestamp_ms":1783908112000,"timestamp_seconds":1783908112,"priority":1,"record_length":96,"hex_timestamp":"0000019f59359680"} 
[2026-07-13 07:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680399616001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680399616001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:33:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:33:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680399616001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":130092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:33:41] local.INFO: GPS data processed {"connection_id":130092,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:33:41] local.INFO: Acknowledgment sent {"connection_id":130092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:33:43] local.INFO: TCP Data received {"connection_id":130094,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:33:43] local.INFO: Processing buffer {"connection_id":130094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:33:43] local.INFO: IMEI packet received {"connection_id":130094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":130094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:33:46] local.INFO: TCP Data received {"connection_id":130094,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:33:46] local.INFO: Processing buffer {"connection_id":130094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:33:46] local.INFO: IMEI packet received {"connection_id":130094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":130094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:33:48] local.INFO: TCP Data received {"connection_id":130094,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:33:48] local.INFO: Processing buffer {"connection_id":130094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:33:48] local.INFO: IMEI packet received {"connection_id":130094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":130094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:33:49] local.INFO: TCP Data received {"connection_id":130094,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5936c348012d80968005dc4218000601511f..."} 
[2026-07-13 07:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5936c348012d80968005dc4218000601511f..."} 
[2026-07-13 07:33:49] local.INFO: Processing buffer {"connection_id":130094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5936c348012d80968005dc4218000601511f..."} 
[2026-07-13 07:33:49] local.INFO: Packet analysis {"connection_id":130094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5936"} 
[2026-07-13 07:33:49] local.INFO: Extracted packet for processing {"connection_id":130094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5936"} 
[2026-07-13 07:33:49] local.INFO: GPS Element Parsed {"raw_longitude":763401856,"raw_latitude":98320920,"longitude_deg":76.3401856,"latitude_deg":9.832092,"altitude":6,"angle":337,"satellites":31,"speed":49,"hex_longitude":"2d809680","hex_latitude":"05dc4218","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680494336001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105558665364242432,"note":"Value kept but may cause issues"} 
[2026-07-13 07:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9177069378018131968,"note":"Value kept but may cause issues"} 
[2026-07-13 07:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783908189000,"timestamp_ms":1783908189000,"timestamp_seconds":1783908189,"priority":1,"record_length":96,"hex_timestamp":"0000019f5936c348"} 
[2026-07-13 07:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:33: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-07-13 07:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-13 07:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680494336001,"66":13319,"154":206,"85":15104,"24":49,"16":105558665364242432,"45":-9177069378018131968},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-07-13 07:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680494336001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:33:49] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-13 07:33:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105558665364242432,"km_value":105558665364242.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9177069378018131968,"description":"Unknown IO ID 45"} 
[2026-07-13 07:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680494336001,"power":13319,"unknown_154":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":-9177069378018131968}} 
[2026-07-13 07:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":130094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478829,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:33:49] local.INFO: GPS data processed {"connection_id":130094,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:33:49] local.INFO: Acknowledgment sent {"connection_id":130094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:34:12] local.INFO: TCP Data received {"connection_id":130092,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f59359680012d7f914005afd9380002011b22..."} 
[2026-07-13 07:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59359680012d7f914005afd9380002011b22..."} 
[2026-07-13 07:34:12] local.INFO: Processing buffer {"connection_id":130092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59359680012d7f914005afd9380002011b22..."} 
[2026-07-13 07:34:12] local.INFO: Packet analysis {"connection_id":130092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5935"} 
[2026-07-13 07:34:12] local.INFO: Extracted packet for processing {"connection_id":130092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5935"} 
[2026-07-13 07:34:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680399616001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783908112000,"timestamp_ms":1783908112000,"timestamp_seconds":1783908112,"priority":1,"record_length":96,"hex_timestamp":"0000019f59359680"} 
[2026-07-13 07:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:34:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680399616001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680399616001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:34:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:34:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680399616001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":130092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:34:12] local.INFO: GPS data processed {"connection_id":130092,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:34:12] local.INFO: Acknowledgment sent {"connection_id":130092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:34:20] local.INFO: TCP Data received {"connection_id":130094,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5936e288012d80840005dc6390000801511e..."} 
[2026-07-13 07:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5936e288012d80840005dc6390000801511e..."} 
[2026-07-13 07:34:20] local.INFO: Processing buffer {"connection_id":130094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5936e288012d80840005dc6390000801511e..."} 
[2026-07-13 07:34:20] local.INFO: Packet analysis {"connection_id":130094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5936"} 
[2026-07-13 07:34:20] local.INFO: Extracted packet for processing {"connection_id":130094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5936"} 
[2026-07-13 07:34:20] local.INFO: GPS Element Parsed {"raw_longitude":763397120,"raw_latitude":98329488,"longitude_deg":76.339712,"latitude_deg":9.8329488,"altitude":8,"angle":337,"satellites":30,"speed":48,"hex_longitude":"2d808400","hex_latitude":"05dc6390","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680496384001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105559137810644992,"note":"Value kept but may cause issues"} 
[2026-07-13 07:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9181010027689666560,"note":"Value kept but may cause issues"} 
[2026-07-13 07:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783908197000,"timestamp_ms":1783908197000,"timestamp_seconds":1783908197,"priority":1,"record_length":96,"hex_timestamp":"0000019f5936e288"} 
[2026-07-13 07:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 07:34:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 07:34:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3683622912,"note":"Value kept but may cause issues"} 
[2026-07-13 07:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2161377285,"note":"Value kept but may cause issues"} 
[2026-07-13 07:34:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-13 07:34:20] local.WARNING: Large IO value detected {"io_id":3,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-07-13 07:34:20] local.WARNING: Large IO value detected {"io_id":219,"raw_value":7822752582829481984,"note":"Value kept but may cause issues"} 
[2026-07-13 07:34:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2828665038,"corrected_to":0} 
[2026-07-13 07:34:20] local.WARNING: Large IO value detected {"io_id":232,"raw_value":3221609371,"note":"Value kept but may cause issues"} 
[2026-07-13 07:34:20] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422376,"note":"Value kept but may cause issues"} 
[2026-07-13 07:34:20] local.WARNING: Large IO value detected {"io_id":79,"raw_value":57887749617636667,"note":"Value kept but may cause issues"} 
[2026-07-13 07:34:20] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-283725481575186427,"note":"Value kept but may cause issues"} 
[2026-07-13 07:34:20] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,154,85,24,241,157,16,5,159,164,45,128,29,8,31,10,66,4,132,192,249,101,1,240,166,227,3,89,219,113,205,44,39,232,104,32,239,51,2,119,46,79,53],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2828665038,"validated":0}]} 
[2026-07-13 07:34:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432716232793325568,"timestamp_seconds":432716232793325.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 07:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680496384001,"66":13276,"250":206,"85":15104,"24":48,"16":105559137810644992,"45":-9181010027689666560},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 07:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680496384001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:34:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 07:34:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105559137810644992,"km_value":105559137810644.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9181010027689666560,"description":"Unknown IO ID 45"} 
[2026-07-13 07:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680496384001,"power":13276,"unknown_250":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":-9181010027689666560}} 
[2026-07-13 07:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":130094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478831,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:34:20] local.INFO: GPS data processed {"connection_id":130094,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:34:20] local.INFO: Acknowledgment sent {"connection_id":130094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:34:40] local.INFO: TCP Data received {"connection_id":131085,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:34:40] local.INFO: Processing buffer {"connection_id":131085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:34:40] local.INFO: IMEI packet received {"connection_id":131085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":131085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:34:45] local.INFO: TCP Data received {"connection_id":131085,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:34:45] local.INFO: Processing buffer {"connection_id":131085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:34:45] local.INFO: IMEI packet received {"connection_id":131085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":131085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:34:48] local.INFO: TCP Data received {"connection_id":131086,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131086,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:34:48] local.INFO: Processing buffer {"connection_id":131086,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:34:48] local.INFO: IMEI packet received {"connection_id":131086,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":131086,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:34:49] local.INFO: TCP Data received {"connection_id":131086,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131086,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:34:49] local.INFO: Processing buffer {"connection_id":131086,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:34:49] local.INFO: IMEI packet received {"connection_id":131086,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":131086,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:34:50] local.INFO: TCP Data received {"connection_id":131085,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f59359680012d7f914005afd9380002011b22..."} 
[2026-07-13 07:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59359680012d7f914005afd9380002011b22..."} 
[2026-07-13 07:34:50] local.INFO: Processing buffer {"connection_id":131085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59359680012d7f914005afd9380002011b22..."} 
[2026-07-13 07:34:50] local.INFO: Packet analysis {"connection_id":131085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5935"} 
[2026-07-13 07:34:50] local.INFO: Extracted packet for processing {"connection_id":131085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5935"} 
[2026-07-13 07:34:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680399616001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783908112000,"timestamp_ms":1783908112000,"timestamp_seconds":1783908112,"priority":1,"record_length":96,"hex_timestamp":"0000019f59359680"} 
[2026-07-13 07:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:34: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-07-13 07: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:34: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-07-13 07:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680399616001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680399616001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:34:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:34:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680399616001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":131085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:34:50] local.INFO: GPS data processed {"connection_id":131085,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:34:50] local.INFO: Acknowledgment sent {"connection_id":131085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:34:50] local.INFO: TCP Data received {"connection_id":131086,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f593701c8012d80774005dc86b8000801521d..."} 
[2026-07-13 07:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f593701c8012d80774005dc86b8000801521d..."} 
[2026-07-13 07:34:50] local.INFO: Processing buffer {"connection_id":131086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f593701c8012d80774005dc86b8000801521d..."} 
[2026-07-13 07:34:50] local.INFO: Packet analysis {"connection_id":131086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5937"} 
[2026-07-13 07:34:50] local.INFO: Extracted packet for processing {"connection_id":131086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5937"} 
[2026-07-13 07:34:50] local.INFO: GPS Element Parsed {"raw_longitude":763393856,"raw_latitude":98338488,"longitude_deg":76.3393856,"latitude_deg":9.8338488,"altitude":8,"angle":338,"satellites":29,"speed":42,"hex_longitude":"2d807740","hex_latitude":"05dc86b8","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680498432001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105559601667112960,"note":"Value kept but may cause issues"} 
[2026-07-13 07:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9186217314756620288,"note":"Value kept but may cause issues"} 
[2026-07-13 07:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783908205000,"timestamp_ms":1783908205000,"timestamp_seconds":1783908205,"priority":1,"record_length":96,"hex_timestamp":"0000019f593701c8"} 
[2026-07-13 07:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:34: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-07-13 07: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-13 07:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680498432001,"66":13200,"250":206,"85":15104,"24":42,"16":105559601667112960,"45":-9186217314756620288},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 07:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680498432001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:34:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 07:34:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105559601667112960,"km_value":105559601667112.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9186217314756620288,"description":"Unknown IO ID 45"} 
[2026-07-13 07:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680498432001,"power":13200,"unknown_250":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9186217314756620288}} 
[2026-07-13 07:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":131086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478833,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:34:50] local.INFO: GPS data processed {"connection_id":131086,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:34:50] local.INFO: Acknowledgment sent {"connection_id":131086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:34:51] local.INFO: TCP Data received {"connection_id":131085,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f59359680012d7f914005afd9380002011b22..."} 
[2026-07-13 07:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59359680012d7f914005afd9380002011b22..."} 
[2026-07-13 07:34:51] local.INFO: Processing buffer {"connection_id":131085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59359680012d7f914005afd9380002011b22..."} 
[2026-07-13 07:34:51] local.INFO: Packet analysis {"connection_id":131085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5935"} 
[2026-07-13 07:34:51] local.INFO: Extracted packet for processing {"connection_id":131085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5935"} 
[2026-07-13 07:34:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680399616001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783908112000,"timestamp_ms":1783908112000,"timestamp_seconds":1783908112,"priority":1,"record_length":96,"hex_timestamp":"0000019f59359680"} 
[2026-07-13 07:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":131085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":131085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":131085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:34: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-07-13 07:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680399616001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680399616001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:34:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:34:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680399616001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":131085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:34:51] local.INFO: GPS data processed {"connection_id":131085,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:34:51] local.INFO: Acknowledgment sent {"connection_id":131085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:34:54] local.INFO: TCP Data received {"connection_id":131086,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59374fe8012d806f8005dc9bd00007015120..."} 
[2026-07-13 07:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59374fe8012d806f8005dc9bd00007015120..."} 
[2026-07-13 07:34:54] local.INFO: Processing buffer {"connection_id":131086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59374fe8012d806f8005dc9bd00007015120..."} 
[2026-07-13 07:34:54] local.INFO: Packet analysis {"connection_id":131086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5937"} 
[2026-07-13 07:34:54] local.INFO: Extracted packet for processing {"connection_id":131086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5937"} 
[2026-07-13 07:34:54] local.INFO: GPS Element Parsed {"raw_longitude":763391872,"raw_latitude":98343888,"longitude_deg":76.3391872,"latitude_deg":9.8343888,"altitude":7,"angle":337,"satellites":32,"speed":0,"hex_longitude":"2d806f80","hex_latitude":"05dc9bd0","is_valid_coordinates":true} 
[2026-07-13 07:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680500480001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105559889429921792,"note":"Value kept but may cause issues"} 
[2026-07-13 07:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9189806120707377152,"note":"Value kept but may cause issues"} 
[2026-07-13 07:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783908225000,"timestamp_ms":1783908225000,"timestamp_seconds":1783908225,"priority":1,"record_length":96,"hex_timestamp":"0000019f59374fe8"} 
[2026-07-13 07:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-13 07:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":131086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":131086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":131086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680500480001,"66":13048,"251":206,"85":15104,"24":0,"16":105559889429921792,"45":-9189806120707377152},"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-07-13 07:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680500480001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:34:54] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-13 07:34:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105559889429921792,"km_value":105559889429921.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9189806120707377152,"description":"Unknown IO ID 45"} 
[2026-07-13 07:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680500480001,"power":13048,"unknown_251":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9189806120707377152}} 
[2026-07-13 07:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":131086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478835,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:34:54] local.INFO: GPS data processed {"connection_id":131086,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:34:54] local.INFO: Acknowledgment sent {"connection_id":131086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:35:31] local.INFO: TCP Data received {"connection_id":131086,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59389fd8012d7f9e8005dc7fa0000a012821..."} 
[2026-07-13 07:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59389fd8012d7f9e8005dc7fa0000a012821..."} 
[2026-07-13 07:35:31] local.INFO: Processing buffer {"connection_id":131086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59389fd8012d7f9e8005dc7fa0000a012821..."} 
[2026-07-13 07:35:31] local.INFO: Packet analysis {"connection_id":131086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5938"} 
[2026-07-13 07:35:31] local.INFO: Extracted packet for processing {"connection_id":131086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5938"} 
[2026-07-13 07:35:31] local.INFO: GPS Element Parsed {"raw_longitude":763338368,"raw_latitude":98336672,"longitude_deg":76.3338368,"latitude_deg":9.8336672,"altitude":10,"angle":296,"satellites":33,"speed":6,"hex_longitude":"2d7f9e80","hex_latitude":"05dc7fa0","is_valid_coordinates":true} 
[2026-07-13 07:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680527360001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105562569489514496,"note":"Value kept but may cause issues"} 
[2026-07-13 07:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139358032187392,"note":"Value kept but may cause issues"} 
[2026-07-13 07:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783908311000,"timestamp_ms":1783908311000,"timestamp_seconds":1783908311,"priority":1,"record_length":96,"hex_timestamp":"0000019f59389fd8"} 
[2026-07-13 07:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-13 07:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":131086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":131086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":131086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680527360001,"66":13091,"251":206,"85":15104,"24":6,"16":105562569489514496,"45":9196139358032187392},"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-07-13 07:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680527360001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:35:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-13 07:35:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105562569489514496,"km_value":105562569489514.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139358032187392,"description":"Unknown IO ID 45"} 
[2026-07-13 07:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680527360001,"power":13091,"unknown_251":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9196139358032187392}} 
[2026-07-13 07:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":131086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478836,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:35:31] local.INFO: GPS data processed {"connection_id":131086,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:35:31] local.INFO: Acknowledgment sent {"connection_id":131086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:35:35] local.INFO: TCP Data received {"connection_id":130297,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:35:35] local.INFO: Processing buffer {"connection_id":130297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:35:35] local.INFO: IMEI packet received {"connection_id":130297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":130297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:35:42] local.INFO: TCP Data received {"connection_id":130297,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:35:42] local.INFO: Processing buffer {"connection_id":130297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:35:42] local.INFO: IMEI packet received {"connection_id":130297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":130297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:35:43] local.INFO: TCP Data received {"connection_id":130297,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f59359680012d7f914005afd9380002011b22..."} 
[2026-07-13 07:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59359680012d7f914005afd9380002011b22..."} 
[2026-07-13 07:35:43] local.INFO: Processing buffer {"connection_id":130297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59359680012d7f914005afd9380002011b22..."} 
[2026-07-13 07:35:43] local.INFO: Packet analysis {"connection_id":130297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5935"} 
[2026-07-13 07:35:43] local.INFO: Extracted packet for processing {"connection_id":130297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5935"} 
[2026-07-13 07:35:43] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680399616001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783908112000,"timestamp_ms":1783908112000,"timestamp_seconds":1783908112,"priority":1,"record_length":96,"hex_timestamp":"0000019f59359680"} 
[2026-07-13 07:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680399616001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680399616001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:35:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:35:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680399616001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":130297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:35:43] local.INFO: GPS data processed {"connection_id":130297,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:35:43] local.INFO: Acknowledgment sent {"connection_id":130297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:36:15] local.INFO: TCP Data received {"connection_id":130297,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f59359680012d7f914005afd9380002011b22..."} 
[2026-07-13 07:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59359680012d7f914005afd9380002011b22..."} 
[2026-07-13 07:36:15] local.INFO: Processing buffer {"connection_id":130297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59359680012d7f914005afd9380002011b22..."} 
[2026-07-13 07:36:15] local.INFO: Packet analysis {"connection_id":130297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5935"} 
[2026-07-13 07:36:15] local.INFO: Extracted packet for processing {"connection_id":130297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5935"} 
[2026-07-13 07:36:15] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680399616001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783908112000,"timestamp_ms":1783908112000,"timestamp_seconds":1783908112,"priority":1,"record_length":96,"hex_timestamp":"0000019f59359680"} 
[2026-07-13 07:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680399616001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680399616001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:36:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:36:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680399616001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":130297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:36:15] local.INFO: GPS data processed {"connection_id":130297,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:36:15] local.INFO: Acknowledgment sent {"connection_id":130297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:36:23] local.INFO: TCP Data received {"connection_id":130095,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130095,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:36:23] local.INFO: Processing buffer {"connection_id":130095,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:36:23] local.INFO: IMEI packet received {"connection_id":130095,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":130095,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:36:27] local.INFO: TCP Data received {"connection_id":130095,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130095,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:36:27] local.INFO: Processing buffer {"connection_id":130095,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:36:27] local.INFO: IMEI packet received {"connection_id":130095,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":130095,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:36:35] local.INFO: TCP Data received {"connection_id":132415,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:36:35] local.INFO: Processing buffer {"connection_id":132415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:36:35] local.INFO: IMEI packet received {"connection_id":132415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":132415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:36:40] local.INFO: TCP Data received {"connection_id":132415,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:36:40] local.INFO: Processing buffer {"connection_id":132415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:36:40] local.INFO: IMEI packet received {"connection_id":132415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":132415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:36:41] local.INFO: TCP Data received {"connection_id":132415,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f59359680012d7f914005afd9380002011b22..."} 
[2026-07-13 07:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59359680012d7f914005afd9380002011b22..."} 
[2026-07-13 07:36:41] local.INFO: Processing buffer {"connection_id":132415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59359680012d7f914005afd9380002011b22..."} 
[2026-07-13 07:36:41] local.INFO: Packet analysis {"connection_id":132415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5935"} 
[2026-07-13 07:36:41] local.INFO: Extracted packet for processing {"connection_id":132415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5935"} 
[2026-07-13 07:36:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680399616001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783908112000,"timestamp_ms":1783908112000,"timestamp_seconds":1783908112,"priority":1,"record_length":96,"hex_timestamp":"0000019f59359680"} 
[2026-07-13 07:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680399616001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680399616001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:36:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680399616001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":132415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:36:41] local.INFO: GPS data processed {"connection_id":132415,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:36:41] local.INFO: Acknowledgment sent {"connection_id":132415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:36:47] local.INFO: TCP Data received {"connection_id":130298,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:36:47] local.INFO: Processing buffer {"connection_id":130298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:36:47] local.INFO: IMEI packet received {"connection_id":130298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":130298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:36:47] local.INFO: TCP Data received {"connection_id":130298,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:36:47] local.INFO: Processing buffer {"connection_id":130298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:36:47] local.INFO: IMEI packet received {"connection_id":130298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":130298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:37:01] local.INFO: TCP Data received {"connection_id":131088,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131088,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:37:01] local.INFO: Processing buffer {"connection_id":131088,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:37:01] local.INFO: IMEI packet received {"connection_id":131088,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 07:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":131088,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:37:12] local.INFO: TCP Data received {"connection_id":132415,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f59359680012d7f914005afd9380002011b22..."} 
[2026-07-13 07:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59359680012d7f914005afd9380002011b22..."} 
[2026-07-13 07:37:12] local.INFO: Processing buffer {"connection_id":132415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59359680012d7f914005afd9380002011b22..."} 
[2026-07-13 07:37:12] local.INFO: Packet analysis {"connection_id":132415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5935"} 
[2026-07-13 07:37:12] local.INFO: Extracted packet for processing {"connection_id":132415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5935"} 
[2026-07-13 07:37:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680399616001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783908112000,"timestamp_ms":1783908112000,"timestamp_seconds":1783908112,"priority":1,"record_length":96,"hex_timestamp":"0000019f59359680"} 
[2026-07-13 07:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680399616001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680399616001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:37:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:37:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680399616001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":132415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:37:12] local.INFO: GPS data processed {"connection_id":132415,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:37:12] local.INFO: Acknowledgment sent {"connection_id":132415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:37:35] local.INFO: TCP Data received {"connection_id":130096,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:37:35] local.INFO: Processing buffer {"connection_id":130096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:37:35] local.INFO: IMEI packet received {"connection_id":130096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":130096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:37:40] local.INFO: TCP Data received {"connection_id":130096,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:37:40] local.INFO: Processing buffer {"connection_id":130096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:37:40] local.INFO: IMEI packet received {"connection_id":130096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":130096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:37:41] local.INFO: TCP Data received {"connection_id":130096,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f593a2e48012d7f914005afd9380001011b1f..."} 
[2026-07-13 07:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f593a2e48012d7f914005afd9380001011b1f..."} 
[2026-07-13 07:37:41] local.INFO: Processing buffer {"connection_id":130096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f593a2e48012d7f914005afd9380001011b1f..."} 
[2026-07-13 07:37:41] local.INFO: Packet analysis {"connection_id":130096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f593a"} 
[2026-07-13 07:37:41] local.INFO: Extracted packet for processing {"connection_id":130096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f593a"} 
[2026-07-13 07:37:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680476672001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783908413000,"timestamp_ms":1783908413000,"timestamp_seconds":1783908413,"priority":1,"record_length":96,"hex_timestamp":"0000019f593a2e48"} 
[2026-07-13 07:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680476672001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680476672001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:37:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:37:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680476672001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":130096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:37:41] local.INFO: GPS data processed {"connection_id":130096,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:37:41] local.INFO: Acknowledgment sent {"connection_id":130096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:37:46] local.INFO: TCP Data received {"connection_id":132416,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132416,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:37:46] local.INFO: Processing buffer {"connection_id":132416,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:37:46] local.INFO: IMEI packet received {"connection_id":132416,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 07:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":132416,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:38:14] local.INFO: TCP Data received {"connection_id":130096,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f593a2e48012d7f914005afd9380001011b1f..."} 
[2026-07-13 07:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f593a2e48012d7f914005afd9380001011b1f..."} 
[2026-07-13 07:38:14] local.INFO: Processing buffer {"connection_id":130096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f593a2e48012d7f914005afd9380001011b1f..."} 
[2026-07-13 07:38:14] local.INFO: Packet analysis {"connection_id":130096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f593a"} 
[2026-07-13 07:38:14] local.INFO: Extracted packet for processing {"connection_id":130096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f593a"} 
[2026-07-13 07:38:14] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680476672001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783908413000,"timestamp_ms":1783908413000,"timestamp_seconds":1783908413,"priority":1,"record_length":96,"hex_timestamp":"0000019f593a2e48"} 
[2026-07-13 07:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:38:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680476672001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680476672001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:38:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:38:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680476672001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":130096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:38:14] local.INFO: GPS data processed {"connection_id":130096,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:38:14] local.INFO: Acknowledgment sent {"connection_id":130096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:38:35] local.INFO: TCP Data received {"connection_id":130299,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:38:35] local.INFO: Processing buffer {"connection_id":130299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:38:35] local.INFO: IMEI packet received {"connection_id":130299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":130299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:38:40] local.INFO: TCP Data received {"connection_id":130299,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:38:40] local.INFO: Processing buffer {"connection_id":130299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:38:40] local.INFO: IMEI packet received {"connection_id":130299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":130299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:38:41] local.INFO: TCP Data received {"connection_id":130299,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f593a2e48012d7f914005afd9380001011b1f..."} 
[2026-07-13 07:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f593a2e48012d7f914005afd9380001011b1f..."} 
[2026-07-13 07:38:41] local.INFO: Processing buffer {"connection_id":130299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f593a2e48012d7f914005afd9380001011b1f..."} 
[2026-07-13 07:38:41] local.INFO: Packet analysis {"connection_id":130299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f593a"} 
[2026-07-13 07:38:41] local.INFO: Extracted packet for processing {"connection_id":130299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f593a"} 
[2026-07-13 07:38:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680476672001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783908413000,"timestamp_ms":1783908413000,"timestamp_seconds":1783908413,"priority":1,"record_length":96,"hex_timestamp":"0000019f593a2e48"} 
[2026-07-13 07:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680476672001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680476672001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:38:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:38:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680476672001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":130299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:38:41] local.INFO: GPS data processed {"connection_id":130299,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:38:41] local.INFO: Acknowledgment sent {"connection_id":130299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:39:13] local.INFO: TCP Data received {"connection_id":130299,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f593a2e48012d7f914005afd9380001011b1f..."} 
[2026-07-13 07:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f593a2e48012d7f914005afd9380001011b1f..."} 
[2026-07-13 07:39:13] local.INFO: Processing buffer {"connection_id":130299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f593a2e48012d7f914005afd9380001011b1f..."} 
[2026-07-13 07:39:13] local.INFO: Packet analysis {"connection_id":130299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f593a"} 
[2026-07-13 07:39:13] local.INFO: Extracted packet for processing {"connection_id":130299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f593a"} 
[2026-07-13 07:39:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680476672001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783908413000,"timestamp_ms":1783908413000,"timestamp_seconds":1783908413,"priority":1,"record_length":96,"hex_timestamp":"0000019f593a2e48"} 
[2026-07-13 07:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680476672001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680476672001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:39:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:39:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680476672001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":130299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:39:13] local.INFO: GPS data processed {"connection_id":130299,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:39:13] local.INFO: Acknowledgment sent {"connection_id":130299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:39:35] local.INFO: TCP Data received {"connection_id":131092,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:39:35] local.INFO: Processing buffer {"connection_id":131092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:39:35] local.INFO: IMEI packet received {"connection_id":131092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":131092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:39:40] local.INFO: TCP Data received {"connection_id":131092,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:39:40] local.INFO: Processing buffer {"connection_id":131092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:39:40] local.INFO: IMEI packet received {"connection_id":131092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":131092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:39:41] local.INFO: TCP Data received {"connection_id":131092,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f593a2e48012d7f914005afd9380001011b1f..."} 
[2026-07-13 07:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f593a2e48012d7f914005afd9380001011b1f..."} 
[2026-07-13 07:39:41] local.INFO: Processing buffer {"connection_id":131092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f593a2e48012d7f914005afd9380001011b1f..."} 
[2026-07-13 07:39:41] local.INFO: Packet analysis {"connection_id":131092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f593a"} 
[2026-07-13 07:39:41] local.INFO: Extracted packet for processing {"connection_id":131092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f593a"} 
[2026-07-13 07:39:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680476672001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783908413000,"timestamp_ms":1783908413000,"timestamp_seconds":1783908413,"priority":1,"record_length":96,"hex_timestamp":"0000019f593a2e48"} 
[2026-07-13 07:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680476672001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680476672001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:39:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:39:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680476672001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":131092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:39:41] local.INFO: GPS data processed {"connection_id":131092,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:39:41] local.INFO: Acknowledgment sent {"connection_id":131092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:40:12] local.INFO: TCP Data received {"connection_id":131092,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f593a2e48012d7f914005afd9380001011b1f..."} 
[2026-07-13 07:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f593a2e48012d7f914005afd9380001011b1f..."} 
[2026-07-13 07:40:12] local.INFO: Processing buffer {"connection_id":131092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f593a2e48012d7f914005afd9380001011b1f..."} 
[2026-07-13 07:40:12] local.INFO: Packet analysis {"connection_id":131092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f593a"} 
[2026-07-13 07:40:12] local.INFO: Extracted packet for processing {"connection_id":131092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f593a"} 
[2026-07-13 07:40:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680476672001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783908413000,"timestamp_ms":1783908413000,"timestamp_seconds":1783908413,"priority":1,"record_length":96,"hex_timestamp":"0000019f593a2e48"} 
[2026-07-13 07:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680476672001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680476672001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:40:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:40:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680476672001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":131092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:40:12] local.INFO: GPS data processed {"connection_id":131092,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:40:12] local.INFO: Acknowledgment sent {"connection_id":131092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:40:35] local.INFO: TCP Data received {"connection_id":132419,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:40:35] local.INFO: Processing buffer {"connection_id":132419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:40:35] local.INFO: IMEI packet received {"connection_id":132419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":132419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:40:40] local.INFO: TCP Data received {"connection_id":132419,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:40:40] local.INFO: Processing buffer {"connection_id":132419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:40:40] local.INFO: IMEI packet received {"connection_id":132419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":132419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:40:41] local.INFO: TCP Data received {"connection_id":132419,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f593a2e48012d7f914005afd9380001011b1f..."} 
[2026-07-13 07:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f593a2e48012d7f914005afd9380001011b1f..."} 
[2026-07-13 07:40:41] local.INFO: Processing buffer {"connection_id":132419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f593a2e48012d7f914005afd9380001011b1f..."} 
[2026-07-13 07:40:41] local.INFO: Packet analysis {"connection_id":132419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f593a"} 
[2026-07-13 07:40:41] local.INFO: Extracted packet for processing {"connection_id":132419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f593a"} 
[2026-07-13 07:40:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680476672001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783908413000,"timestamp_ms":1783908413000,"timestamp_seconds":1783908413,"priority":1,"record_length":96,"hex_timestamp":"0000019f593a2e48"} 
[2026-07-13 07:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680476672001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680476672001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:40:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:40:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680476672001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":132419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:40:41] local.INFO: GPS data processed {"connection_id":132419,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:40:41] local.INFO: Acknowledgment sent {"connection_id":132419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:41:12] local.INFO: TCP Data received {"connection_id":132419,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f593a2e48012d7f914005afd9380001011b1f..."} 
[2026-07-13 07:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f593a2e48012d7f914005afd9380001011b1f..."} 
[2026-07-13 07:41:12] local.INFO: Processing buffer {"connection_id":132419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f593a2e48012d7f914005afd9380001011b1f..."} 
[2026-07-13 07:41:12] local.INFO: Packet analysis {"connection_id":132419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f593a"} 
[2026-07-13 07:41:12] local.INFO: Extracted packet for processing {"connection_id":132419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f593a"} 
[2026-07-13 07:41:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680476672001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783908413000,"timestamp_ms":1783908413000,"timestamp_seconds":1783908413,"priority":1,"record_length":96,"hex_timestamp":"0000019f593a2e48"} 
[2026-07-13 07:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680476672001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680476672001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:41:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:41:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680476672001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":132419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:41:12] local.INFO: GPS data processed {"connection_id":132419,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:41:12] local.INFO: Acknowledgment sent {"connection_id":132419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:41:35] local.INFO: TCP Data received {"connection_id":130300,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:41:35] local.INFO: Processing buffer {"connection_id":130300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:41:35] local.INFO: IMEI packet received {"connection_id":130300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":130300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:41:40] local.INFO: TCP Data received {"connection_id":130300,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:41:40] local.INFO: Processing buffer {"connection_id":130300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:41:40] local.INFO: IMEI packet received {"connection_id":130300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":130300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:41:46] local.INFO: TCP Data received {"connection_id":130300,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f593a2e48012d7f914005afd9380001011b1f..."} 
[2026-07-13 07:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f593a2e48012d7f914005afd9380001011b1f..."} 
[2026-07-13 07:41:46] local.INFO: Processing buffer {"connection_id":130300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f593a2e48012d7f914005afd9380001011b1f..."} 
[2026-07-13 07:41:46] local.INFO: Packet analysis {"connection_id":130300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f593a"} 
[2026-07-13 07:41:46] local.INFO: Extracted packet for processing {"connection_id":130300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f593a"} 
[2026-07-13 07:41:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680476672001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783908413000,"timestamp_ms":1783908413000,"timestamp_seconds":1783908413,"priority":1,"record_length":96,"hex_timestamp":"0000019f593a2e48"} 
[2026-07-13 07:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680476672001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680476672001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:41:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:41:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680476672001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":130300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:41:46] local.INFO: GPS data processed {"connection_id":130300,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:41:46] local.INFO: Acknowledgment sent {"connection_id":130300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:41:49] local.INFO: TCP Data received {"connection_id":131096,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:41:49] local.INFO: Processing buffer {"connection_id":131096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:41:49] local.INFO: IMEI packet received {"connection_id":131096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":131096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:41:50] local.INFO: TCP Data received {"connection_id":131096,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f593da8e8012d7e110005e10ba00008000c20..."} 
[2026-07-13 07:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f593da8e8012d7e110005e10ba00008000c20..."} 
[2026-07-13 07:41:50] local.INFO: Processing buffer {"connection_id":131096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f593da8e8012d7e110005e10ba00008000c20..."} 
[2026-07-13 07:41:50] local.INFO: Packet analysis {"connection_id":131096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f593d"} 
[2026-07-13 07:41:50] local.INFO: Extracted packet for processing {"connection_id":131096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f593d"} 
[2026-07-13 07:41:50] local.INFO: GPS Element Parsed {"raw_longitude":763236608,"raw_latitude":98634656,"longitude_deg":76.3236608,"latitude_deg":9.8634656,"altitude":8,"angle":12,"satellites":32,"speed":33,"hex_longitude":"2d7e1100","hex_latitude":"05e10ba0","is_valid_coordinates":true} 
[2026-07-13 07:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680609792001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105578160220798976,"note":"Value kept but may cause issues"} 
[2026-07-13 07:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084041948631414784,"note":"Value kept but may cause issues"} 
[2026-07-13 07:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783908641000,"timestamp_ms":1783908641000,"timestamp_seconds":1783908641,"priority":1,"record_length":96,"hex_timestamp":"0000019f593da8e8"} 
[2026-07-13 07:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-13 07:41:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:41:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680609792001,"66":13091,"60":206,"85":15104,"24":33,"16":105578160220798976,"45":9084041948631414784},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-13 07:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680609792001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:41:50] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-13 07:41:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105578160220798976,"km_value":105578160220798.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084041948631414784,"description":"Unknown IO ID 45"} 
[2026-07-13 07:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680609792001,"power":13091,"unknown_60":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9084041948631414784}} 
[2026-07-13 07:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":131096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478850,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:41:50] local.INFO: GPS data processed {"connection_id":131096,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:41:50] local.INFO: Acknowledgment sent {"connection_id":131096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:42:17] local.INFO: TCP Data received {"connection_id":130300,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f593a2e48012d7f914005afd9380001011b1f..."} 
[2026-07-13 07:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f593a2e48012d7f914005afd9380001011b1f..."} 
[2026-07-13 07:42:17] local.INFO: Processing buffer {"connection_id":130300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f593a2e48012d7f914005afd9380001011b1f..."} 
[2026-07-13 07:42:17] local.INFO: Packet analysis {"connection_id":130300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f593a"} 
[2026-07-13 07:42:17] local.INFO: Extracted packet for processing {"connection_id":130300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f593a"} 
[2026-07-13 07:42:17] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680476672001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783908413000,"timestamp_ms":1783908413000,"timestamp_seconds":1783908413,"priority":1,"record_length":96,"hex_timestamp":"0000019f593a2e48"} 
[2026-07-13 07:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 07:42:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:42: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-07-13 07:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680476672001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680476672001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:42:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:42:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680476672001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":130300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:42:17] local.INFO: GPS data processed {"connection_id":130300,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:42:17] local.INFO: Acknowledgment sent {"connection_id":130300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:42:21] local.INFO: TCP Data received {"connection_id":131096,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f593ec9f8012d7e1bc005e20f680006011520..."} 
[2026-07-13 07:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f593ec9f8012d7e1bc005e20f680006011520..."} 
[2026-07-13 07:42:21] local.INFO: Processing buffer {"connection_id":131096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f593ec9f8012d7e1bc005e20f680006011520..."} 
[2026-07-13 07:42:21] local.INFO: Packet analysis {"connection_id":131096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f593e"} 
[2026-07-13 07:42:21] local.INFO: Extracted packet for processing {"connection_id":131096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f593e"} 
[2026-07-13 07:42:21] local.INFO: GPS Element Parsed {"raw_longitude":763239360,"raw_latitude":98701160,"longitude_deg":76.323936,"latitude_deg":9.870116,"altitude":6,"angle":277,"satellites":32,"speed":27,"hex_longitude":"2d7e1bc0","hex_latitude":"05e20f68","is_valid_coordinates":true} 
[2026-07-13 07:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680630272001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105581617669472256,"note":"Value kept but may cause issues"} 
[2026-07-13 07:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9089389973207955456,"note":"Value kept but may cause issues"} 
[2026-07-13 07:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783908715000,"timestamp_ms":1783908715000,"timestamp_seconds":1783908715,"priority":1,"record_length":96,"hex_timestamp":"0000019f593ec9f8"} 
[2026-07-13 07:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-13 07:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162828311975,"note":"Value kept but may cause issues"} 
[2026-07-13 07:42:21] local.WARNING: Large IO value detected {"io_id":60,"raw_value":58077557095399466,"note":"Value kept but may cause issues"} 
[2026-07-13 07:42:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 07:42:21] local.WARNING: Large IO value detected {"io_id":25,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-07-13 07:42:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805727438,"corrected_to":0} 
[2026-07-13 07:42:21] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505959,"note":"Value kept but may cause issues"} 
[2026-07-13 07:42:21] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3787900928,"note":"Value kept but may cause issues"} 
[2026-07-13 07:42:21] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,60,85,24,241,157,16,25,159,186,45,128,13,4,32,10,66,182,12,178,1,240,254,227,89,226,113,205,27,139,42,88,239,50,2,119,5,6],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2805727438,"validated":0}]} 
[2026-07-13 07:42:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288547172941037568,"timestamp_seconds":288547172941037.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 07:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":131096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":131096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":131096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680630272001,"66":13254,"61":206,"85":15104,"24":27,"16":105581617669472256,"45":9089389973207955456},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-13 07:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680630272001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:42:21] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-13 07:42:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105581617669472256,"km_value":105581617669472.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9089389973207955456,"description":"Unknown IO ID 45"} 
[2026-07-13 07:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680630272001,"power":13254,"unknown_61":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9089389973207955456}} 
[2026-07-13 07:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":131096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478852,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:42:21] local.INFO: GPS data processed {"connection_id":131096,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:42:21] local.INFO: Acknowledgment sent {"connection_id":131096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:42:40] local.INFO: TCP Data received {"connection_id":130097,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:42:40] local.INFO: Processing buffer {"connection_id":130097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:42:40] local.INFO: IMEI packet received {"connection_id":130097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":130097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:42:43] local.INFO: TCP Data received {"connection_id":132420,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132420,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:42:43] local.INFO: Processing buffer {"connection_id":132420,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:42:43] local.INFO: IMEI packet received {"connection_id":132420,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":132420,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:42:45] local.INFO: TCP Data received {"connection_id":130097,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:42:45] local.INFO: Processing buffer {"connection_id":130097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:42:45] local.INFO: IMEI packet received {"connection_id":130097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":130097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:42:46] local.INFO: TCP Data received {"connection_id":130097,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f593ec610012d7f914005afd9380001011b20..."} 
[2026-07-13 07:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f593ec610012d7f914005afd9380001011b20..."} 
[2026-07-13 07:42:46] local.INFO: Processing buffer {"connection_id":130097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f593ec610012d7f914005afd9380001011b20..."} 
[2026-07-13 07:42:46] local.INFO: Packet analysis {"connection_id":130097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f593e"} 
[2026-07-13 07:42:46] local.INFO: Extracted packet for processing {"connection_id":130097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f593e"} 
[2026-07-13 07:42:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680553728001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783908714000,"timestamp_ms":1783908714000,"timestamp_seconds":1783908714,"priority":1,"record_length":96,"hex_timestamp":"0000019f593ec610"} 
[2026-07-13 07:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 07:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680553728001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680553728001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:42:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:42:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680553728001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":130097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:42:46] local.INFO: GPS data processed {"connection_id":130097,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:42:46] local.INFO: Acknowledgment sent {"connection_id":130097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:42:48] local.INFO: TCP Data received {"connection_id":132420,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132420,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:42:48] local.INFO: Processing buffer {"connection_id":132420,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:42:48] local.INFO: IMEI packet received {"connection_id":132420,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":132420,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:42:49] local.INFO: TCP Data received {"connection_id":132420,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f593f1818012d7e060005e212000006011720..."} 
[2026-07-13 07:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f593f1818012d7e060005e212000006011720..."} 
[2026-07-13 07:42:49] local.INFO: Processing buffer {"connection_id":132420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f593f1818012d7e060005e212000006011720..."} 
[2026-07-13 07:42:49] local.INFO: Packet analysis {"connection_id":132420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f593f"} 
[2026-07-13 07:42:49] local.INFO: Extracted packet for processing {"connection_id":132420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f593f"} 
[2026-07-13 07:42:49] local.INFO: GPS Element Parsed {"raw_longitude":763233792,"raw_latitude":98701824,"longitude_deg":76.3233792,"latitude_deg":9.8701824,"altitude":6,"angle":279,"satellites":32,"speed":22,"hex_longitude":"2d7e0600","hex_latitude":"05e21200","is_valid_coordinates":true} 
[2026-07-13 07:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680631040001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105581888252411904,"note":"Value kept but may cause issues"} 
[2026-07-13 07:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087067804650137600,"note":"Value kept but may cause issues"} 
[2026-07-13 07:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783908735000,"timestamp_ms":1783908735000,"timestamp_seconds":1783908735,"priority":1,"record_length":96,"hex_timestamp":"0000019f593f1818"} 
[2026-07-13 07:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-13 07:42: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-07-13 07:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680631040001,"66":13341,"61":206,"85":15104,"24":22,"16":105581888252411904,"45":9087067804650137600},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-13 07:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680631040001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:42:49] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-13 07:42:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105581888252411904,"km_value":105581888252411.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087067804650137600,"description":"Unknown IO ID 45"} 
[2026-07-13 07:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680631040001,"power":13341,"unknown_61":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9087067804650137600}} 
[2026-07-13 07:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":132420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:42:49] local.INFO: GPS data processed {"connection_id":132420,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:42:49] local.INFO: Acknowledgment sent {"connection_id":132420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:42:51] local.INFO: TCP Data received {"connection_id":130097,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f593ec610012d7f914005afd9380001011b20..."} 
[2026-07-13 07:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f593ec610012d7f914005afd9380001011b20..."} 
[2026-07-13 07:42:51] local.INFO: Processing buffer {"connection_id":130097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f593ec610012d7f914005afd9380001011b20..."} 
[2026-07-13 07:42:51] local.INFO: Packet analysis {"connection_id":130097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f593e"} 
[2026-07-13 07:42:51] local.INFO: Extracted packet for processing {"connection_id":130097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f593e"} 
[2026-07-13 07:42:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680553728001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783908714000,"timestamp_ms":1783908714000,"timestamp_seconds":1783908714,"priority":1,"record_length":96,"hex_timestamp":"0000019f593ec610"} 
[2026-07-13 07:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 07:42: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-07-13 07: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-07-13 07:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:42: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-07-13 07:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680553728001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680553728001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:42:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:42:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680553728001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":130097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:42:51] local.INFO: GPS data processed {"connection_id":130097,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:42:51] local.INFO: Acknowledgment sent {"connection_id":130097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:43:01] local.INFO: TCP Data received {"connection_id":130301,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130301,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:43:01] local.INFO: Processing buffer {"connection_id":130301,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:43:01] local.INFO: IMEI packet received {"connection_id":130301,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 07:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":130301,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:43:20] local.INFO: TCP Data received {"connection_id":132420,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f593f23d0012d7dfe8005e212100006010620..."} 
[2026-07-13 07:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f593f23d0012d7dfe8005e212100006010620..."} 
[2026-07-13 07:43:20] local.INFO: Processing buffer {"connection_id":132420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f593f23d0012d7dfe8005e212100006010620..."} 
[2026-07-13 07:43:20] local.INFO: Packet analysis {"connection_id":132420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f593f"} 
[2026-07-13 07:43:20] local.INFO: Extracted packet for processing {"connection_id":132420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f593f"} 
[2026-07-13 07:43:20] local.INFO: GPS Element Parsed {"raw_longitude":763231872,"raw_latitude":98701840,"longitude_deg":76.3231872,"latitude_deg":9.870184,"altitude":6,"angle":262,"satellites":32,"speed":25,"hex_longitude":"2d7dfe80","hex_latitude":"05e21210","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680636160001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105581978446725120,"note":"Value kept but may cause issues"} 
[2026-07-13 07:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080945723906850816,"note":"Value kept but may cause issues"} 
[2026-07-13 07:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783908738000,"timestamp_ms":1783908738000,"timestamp_seconds":1783908738,"priority":1,"record_length":96,"hex_timestamp":"0000019f593f23d0"} 
[2026-07-13 07:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-13 07:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":132420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":132420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":132420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680636160001,"66":13037,"61":206,"85":15104,"24":25,"16":105581978446725120,"45":9080945723906850816},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-13 07:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680636160001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:43:20] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-13 07:43:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105581978446725120,"km_value":105581978446725.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080945723906850816,"description":"Unknown IO ID 45"} 
[2026-07-13 07:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680636160001,"power":13037,"unknown_61":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9080945723906850816}} 
[2026-07-13 07:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":132420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478856,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:43:20] local.INFO: GPS data processed {"connection_id":132420,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:43:20] local.INFO: Acknowledgment sent {"connection_id":132420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:43:35] local.INFO: TCP Data received {"connection_id":132421,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:43:35] local.INFO: Processing buffer {"connection_id":132421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:43:35] local.INFO: IMEI packet received {"connection_id":132421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":132421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:43:40] local.INFO: TCP Data received {"connection_id":132421,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:43:40] local.INFO: Processing buffer {"connection_id":132421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:43:40] local.INFO: IMEI packet received {"connection_id":132421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":132421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:43:41] local.INFO: TCP Data received {"connection_id":131097,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131097,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:43:41] local.INFO: Processing buffer {"connection_id":131097,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:43:41] local.INFO: IMEI packet received {"connection_id":131097,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 07:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":131097,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:43:41] local.INFO: TCP Data received {"connection_id":132421,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f593ec610012d7f914005afd9380001011b20..."} 
[2026-07-13 07:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f593ec610012d7f914005afd9380001011b20..."} 
[2026-07-13 07:43:41] local.INFO: Processing buffer {"connection_id":132421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f593ec610012d7f914005afd9380001011b20..."} 
[2026-07-13 07:43:41] local.INFO: Packet analysis {"connection_id":132421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f593e"} 
[2026-07-13 07:43:41] local.INFO: Extracted packet for processing {"connection_id":132421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f593e"} 
[2026-07-13 07:43:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 07:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680553728001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783908714000,"timestamp_ms":1783908714000,"timestamp_seconds":1783908714,"priority":1,"record_length":96,"hex_timestamp":"0000019f593ec610"} 
[2026-07-13 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-07-13 07:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 07:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 07:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680553728001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680553728001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:43:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:43:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680553728001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":132421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:43:41] local.INFO: GPS data processed {"connection_id":132421,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:43:41] local.INFO: Acknowledgment sent {"connection_id":132421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:43:43] local.INFO: TCP Data received {"connection_id":130302,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:43:43] local.INFO: Processing buffer {"connection_id":130302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:43:43] local.INFO: IMEI packet received {"connection_id":130302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":130302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:43:48] local.INFO: TCP Data received {"connection_id":130302,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:43:48] local.INFO: Processing buffer {"connection_id":130302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:43:48] local.INFO: IMEI packet received {"connection_id":130302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":130302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:43:49] local.INFO: TCP Data received {"connection_id":130302,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f593f2f88012d7df68005e21040000700fa1f..."} 
[2026-07-13 07:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f593f2f88012d7df68005e21040000700fa1f..."} 
[2026-07-13 07:43:49] local.INFO: Processing buffer {"connection_id":130302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f593f2f88012d7df68005e21040000700fa1f..."} 
[2026-07-13 07:43:49] local.INFO: Packet analysis {"connection_id":130302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f593f"} 
[2026-07-13 07:43:49] local.INFO: Extracted packet for processing {"connection_id":130302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f593f"} 
[2026-07-13 07:43:49] local.INFO: GPS Element Parsed {"raw_longitude":763229824,"raw_latitude":98701376,"longitude_deg":76.3229824,"latitude_deg":9.8701376,"altitude":7,"angle":250,"satellites":31,"speed":29,"hex_longitude":"2d7df680","hex_latitude":"05e21040","is_valid_coordinates":true} 
[2026-07-13 07:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680636928001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105582081525940224,"note":"Value kept but may cause issues"} 
[2026-07-13 07:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9078834661581524992,"note":"Value kept but may cause issues"} 
[2026-07-13 07:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783908741000,"timestamp_ms":1783908741000,"timestamp_seconds":1783908741,"priority":1,"record_length":96,"hex_timestamp":"0000019f593f2f88"} 
[2026-07-13 07:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-13 07:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680636928001,"66":13254,"61":206,"85":15104,"24":29,"16":105582081525940224,"45":9078834661581524992},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-13 07:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680636928001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:43:49] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-13 07:43:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105582081525940224,"km_value":105582081525940.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9078834661581524992,"description":"Unknown IO ID 45"} 
[2026-07-13 07:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680636928001,"power":13254,"unknown_61":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9078834661581524992}} 
[2026-07-13 07:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":130302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478858,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:43:49] local.INFO: GPS data processed {"connection_id":130302,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:43:49] local.INFO: Acknowledgment sent {"connection_id":130302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:44:13] local.INFO: TCP Data received {"connection_id":132421,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f593ec610012d7f914005afd9380001011b20..."} 
[2026-07-13 07:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f593ec610012d7f914005afd9380001011b20..."} 
[2026-07-13 07:44:13] local.INFO: Processing buffer {"connection_id":132421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f593ec610012d7f914005afd9380001011b20..."} 
[2026-07-13 07:44:13] local.INFO: Packet analysis {"connection_id":132421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f593e"} 
[2026-07-13 07:44:13] local.INFO: Extracted packet for processing {"connection_id":132421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f593e"} 
[2026-07-13 07:44:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 07:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680553728001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783908714000,"timestamp_ms":1783908714000,"timestamp_seconds":1783908714,"priority":1,"record_length":96,"hex_timestamp":"0000019f593ec610"} 
[2026-07-13 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-07-13 07:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 07:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 07:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680553728001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680553728001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:44:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:44:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680553728001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":132421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:44:13] local.INFO: GPS data processed {"connection_id":132421,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:44:13] local.INFO: Acknowledgment sent {"connection_id":132421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:44:20] local.INFO: TCP Data received {"connection_id":130302,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f593f5a80012d7dd6c005e201a0000900f521..."} 
[2026-07-13 07:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f593f5a80012d7dd6c005e201a0000900f521..."} 
[2026-07-13 07:44:20] local.INFO: Processing buffer {"connection_id":130302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f593f5a80012d7dd6c005e201a0000900f521..."} 
[2026-07-13 07:44:20] local.INFO: Packet analysis {"connection_id":130302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f593f"} 
[2026-07-13 07:44:20] local.INFO: Extracted packet for processing {"connection_id":130302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f593f"} 
[2026-07-13 07:44:20] local.INFO: GPS Element Parsed {"raw_longitude":763221696,"raw_latitude":98697632,"longitude_deg":76.3221696,"latitude_deg":9.8697632,"altitude":9,"angle":245,"satellites":33,"speed":37,"hex_longitude":"2d7dd6c0","hex_latitude":"05e201a0","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680637696001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105582511022669824,"note":"Value kept but may cause issues"} 
[2026-07-13 07:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9076582861767720960,"note":"Value kept but may cause issues"} 
[2026-07-13 07:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783908752000,"timestamp_ms":1783908752000,"timestamp_seconds":1783908752,"priority":1,"record_length":96,"hex_timestamp":"0000019f593f5a80"} 
[2026-07-13 07:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-13 07:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680637696001,"66":13189,"61":206,"85":15104,"24":37,"16":105582511022669824,"45":9076582861767720960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-13 07:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680637696001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:44:20] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-13 07:44:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105582511022669824,"km_value":105582511022669.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9076582861767720960,"description":"Unknown IO ID 45"} 
[2026-07-13 07:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680637696001,"power":13189,"unknown_61":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9076582861767720960}} 
[2026-07-13 07:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":130302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478860,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:44:20] local.INFO: GPS data processed {"connection_id":130302,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:44:20] local.INFO: Acknowledgment sent {"connection_id":130302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:44:35] local.INFO: TCP Data received {"connection_id":130303,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:44:35] local.INFO: Processing buffer {"connection_id":130303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:44:35] local.INFO: IMEI packet received {"connection_id":130303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":130303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:44:40] local.INFO: TCP Data received {"connection_id":130303,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:44:40] local.INFO: Processing buffer {"connection_id":130303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:44:40] local.INFO: IMEI packet received {"connection_id":130303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":130303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:44:41] local.INFO: TCP Data received {"connection_id":130303,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f593ec610012d7f914005afd9380001011b20..."} 
[2026-07-13 07:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f593ec610012d7f914005afd9380001011b20..."} 
[2026-07-13 07:44:41] local.INFO: Processing buffer {"connection_id":130303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f593ec610012d7f914005afd9380001011b20..."} 
[2026-07-13 07:44:41] local.INFO: Packet analysis {"connection_id":130303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f593e"} 
[2026-07-13 07:44:41] local.INFO: Extracted packet for processing {"connection_id":130303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f593e"} 
[2026-07-13 07:44:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680553728001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783908714000,"timestamp_ms":1783908714000,"timestamp_seconds":1783908714,"priority":1,"record_length":96,"hex_timestamp":"0000019f593ec610"} 
[2026-07-13 07:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 07:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680553728001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680553728001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:44:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:44:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680553728001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":130303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:44:41] local.INFO: GPS data processed {"connection_id":130303,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:44:41] local.INFO: Acknowledgment sent {"connection_id":130303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:44:42] local.INFO: TCP Data received {"connection_id":131098,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:44:42] local.INFO: Processing buffer {"connection_id":131098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:44:42] local.INFO: IMEI packet received {"connection_id":131098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":131098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:44:43] local.INFO: TCP Data received {"connection_id":131098,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:44:43] local.INFO: Processing buffer {"connection_id":131098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:44:43] local.INFO: IMEI packet received {"connection_id":131098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":131098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:44:48] local.INFO: TCP Data received {"connection_id":131098,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:44:48] local.INFO: Processing buffer {"connection_id":131098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:44:48] local.INFO: IMEI packet received {"connection_id":131098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":131098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:44:49] local.INFO: TCP Data received {"connection_id":131098,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5940f0c0012d7cd94005e206d0000a010822..."} 
[2026-07-13 07:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5940f0c0012d7cd94005e206d0000a010822..."} 
[2026-07-13 07:44:49] local.INFO: Processing buffer {"connection_id":131098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5940f0c0012d7cd94005e206d0000a010822..."} 
[2026-07-13 07:44:49] local.INFO: Packet analysis {"connection_id":131098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5940"} 
[2026-07-13 07:44:49] local.INFO: Extracted packet for processing {"connection_id":131098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5940"} 
[2026-07-13 07:44:49] local.INFO: GPS Element Parsed {"raw_longitude":763156800,"raw_latitude":98698960,"longitude_deg":76.31568,"latitude_deg":9.869896,"altitude":10,"angle":264,"satellites":34,"speed":6,"hex_longitude":"2d7cd940","hex_latitude":"05e206d0","is_valid_coordinates":true} 
[2026-07-13 07:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680666624001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105585646348795904,"note":"Value kept but may cause issues"} 
[2026-07-13 07:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8996573599637090304,"note":"Value kept but may cause issues"} 
[2026-07-13 07:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783908856000,"timestamp_ms":1783908856000,"timestamp_seconds":1783908856,"priority":1,"record_length":96,"hex_timestamp":"0000019f5940f0c0"} 
[2026-07-13 07:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-13 07:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680666624001,"66":13189,"61":206,"85":15104,"24":6,"16":105585646348795904,"45":8996573599637090304},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-13 07:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680666624001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:44:49] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-13 07:44:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105585646348795904,"km_value":105585646348795.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8996573599637090304,"description":"Unknown IO ID 45"} 
[2026-07-13 07:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680666624001,"power":13189,"unknown_61":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8996573599637090304}} 
[2026-07-13 07:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":131098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478862,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:44:49] local.INFO: GPS data processed {"connection_id":131098,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:44:49] local.INFO: Acknowledgment sent {"connection_id":131098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:45:12] local.INFO: TCP Data received {"connection_id":130303,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f593ec610012d7f914005afd9380001011b20..."} 
[2026-07-13 07:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f593ec610012d7f914005afd9380001011b20..."} 
[2026-07-13 07:45:12] local.INFO: Processing buffer {"connection_id":130303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f593ec610012d7f914005afd9380001011b20..."} 
[2026-07-13 07:45:12] local.INFO: Packet analysis {"connection_id":130303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f593e"} 
[2026-07-13 07:45:12] local.INFO: Extracted packet for processing {"connection_id":130303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f593e"} 
[2026-07-13 07:45:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680553728001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783908714000,"timestamp_ms":1783908714000,"timestamp_seconds":1783908714,"priority":1,"record_length":96,"hex_timestamp":"0000019f593ec610"} 
[2026-07-13 07:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 07:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680553728001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680553728001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:45:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:45:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680553728001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":130303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:45:12] local.INFO: GPS data processed {"connection_id":130303,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:45:12] local.INFO: Acknowledgment sent {"connection_id":130303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:45:20] local.INFO: TCP Data received {"connection_id":131098,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59412770012d7cb5c005e20678000a011321..."} 
[2026-07-13 07:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59412770012d7cb5c005e20678000a011321..."} 
[2026-07-13 07:45:20] local.INFO: Processing buffer {"connection_id":131098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59412770012d7cb5c005e20678000a011321..."} 
[2026-07-13 07:45:20] local.INFO: Packet analysis {"connection_id":131098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5941"} 
[2026-07-13 07:45:20] local.INFO: Extracted packet for processing {"connection_id":131098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5941"} 
[2026-07-13 07:45:20] local.INFO: GPS Element Parsed {"raw_longitude":763147712,"raw_latitude":98698872,"longitude_deg":76.3147712,"latitude_deg":9.8698872,"altitude":10,"angle":275,"satellites":33,"speed":33,"hex_longitude":"2d7cb5c0","hex_latitude":"05e20678","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680667136001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105586084435460096,"note":"Value kept but may cause issues"} 
[2026-07-13 07:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8996292124660387840,"note":"Value kept but may cause issues"} 
[2026-07-13 07:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783908870000,"timestamp_ms":1783908870000,"timestamp_seconds":1783908870,"priority":1,"record_length":96,"hex_timestamp":"0000019f59412770"} 
[2026-07-13 07:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-13 07:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":131098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":131098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":131098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680667136001,"66":13189,"61":206,"85":15104,"24":33,"16":105586084435460096,"45":8996292124660387840},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-13 07:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680667136001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:45:20] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-13 07:45:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105586084435460096,"km_value":105586084435460.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8996292124660387840,"description":"Unknown IO ID 45"} 
[2026-07-13 07:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680667136001,"power":13189,"unknown_61":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8996292124660387840}} 
[2026-07-13 07:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":131098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:45:20] local.INFO: GPS data processed {"connection_id":131098,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:45:20] local.INFO: Acknowledgment sent {"connection_id":131098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:45:35] local.INFO: TCP Data received {"connection_id":131099,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:45:35] local.INFO: Processing buffer {"connection_id":131099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:45:35] local.INFO: IMEI packet received {"connection_id":131099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":131099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:45:40] local.INFO: TCP Data received {"connection_id":131099,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:45:40] local.INFO: Processing buffer {"connection_id":131099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:45:40] local.INFO: IMEI packet received {"connection_id":131099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":131099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:45:41] local.INFO: TCP Data received {"connection_id":131099,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f593ec610012d7f914005afd9380001011b20..."} 
[2026-07-13 07:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f593ec610012d7f914005afd9380001011b20..."} 
[2026-07-13 07:45:41] local.INFO: Processing buffer {"connection_id":131099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f593ec610012d7f914005afd9380001011b20..."} 
[2026-07-13 07:45:41] local.INFO: Packet analysis {"connection_id":131099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f593e"} 
[2026-07-13 07:45:41] local.INFO: Extracted packet for processing {"connection_id":131099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f593e"} 
[2026-07-13 07:45:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680553728001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783908714000,"timestamp_ms":1783908714000,"timestamp_seconds":1783908714,"priority":1,"record_length":96,"hex_timestamp":"0000019f593ec610"} 
[2026-07-13 07:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 07:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680553728001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680553728001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:45:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:45:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680553728001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":131099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:45:41] local.INFO: GPS data processed {"connection_id":131099,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:45:41] local.INFO: Acknowledgment sent {"connection_id":131099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:45:43] local.INFO: TCP Data received {"connection_id":131100,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:45:43] local.INFO: Processing buffer {"connection_id":131100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:45:43] local.INFO: IMEI packet received {"connection_id":131100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":131100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:45:46] local.INFO: TCP Data received {"connection_id":131100,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:45:46] local.INFO: Processing buffer {"connection_id":131100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:45:46] local.INFO: IMEI packet received {"connection_id":131100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":131100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:45:48] local.INFO: TCP Data received {"connection_id":131100,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:45:48] local.INFO: Processing buffer {"connection_id":131100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:45:48] local.INFO: IMEI packet received {"connection_id":131100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":131100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:45:49] local.INFO: TCP Data received {"connection_id":131100,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5941f290012d7c358005e1dd30000600fb20..."} 
[2026-07-13 07:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5941f290012d7c358005e1dd30000600fb20..."} 
[2026-07-13 07:45:49] local.INFO: Processing buffer {"connection_id":131100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5941f290012d7c358005e1dd30000600fb20..."} 
[2026-07-13 07:45:49] local.INFO: Packet analysis {"connection_id":131100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5941"} 
[2026-07-13 07:45:49] local.INFO: Extracted packet for processing {"connection_id":131100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5941"} 
[2026-07-13 07:45:49] local.INFO: GPS Element Parsed {"raw_longitude":763114880,"raw_latitude":98688304,"longitude_deg":76.311488,"latitude_deg":9.8688304,"altitude":6,"angle":251,"satellites":32,"speed":20,"hex_longitude":"2d7c3580","hex_latitude":"05e1dd30","is_valid_coordinates":true} 
[2026-07-13 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-07-13 07:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680683520001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105588004285841408,"note":"Value kept but may cause issues"} 
[2026-07-13 07:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951185759639937024,"note":"Value kept but may cause issues"} 
[2026-07-13 07:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783908922000,"timestamp_ms":1783908922000,"timestamp_seconds":1783908922,"priority":1,"record_length":96,"hex_timestamp":"0000019f5941f290"} 
[2026-07-13 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-07-13 07:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-13 07:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 07:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680683520001,"66":12885,"61":206,"85":15104,"24":20,"16":105588004285841408,"45":8951185759639937024},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-13 07:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680683520001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:45:49] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-13 07:45:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105588004285841408,"km_value":105588004285841.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951185759639937024,"description":"Unknown IO ID 45"} 
[2026-07-13 07:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680683520001,"power":12885,"unknown_61":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8951185759639937024}} 
[2026-07-13 07:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":131100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478866,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:45:49] local.INFO: GPS data processed {"connection_id":131100,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:45:49] local.INFO: Acknowledgment sent {"connection_id":131100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:46:14] local.INFO: TCP Data received {"connection_id":131099,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f593ec610012d7f914005afd9380001011b20..."} 
[2026-07-13 07:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f593ec610012d7f914005afd9380001011b20..."} 
[2026-07-13 07:46:14] local.INFO: Processing buffer {"connection_id":131099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f593ec610012d7f914005afd9380001011b20..."} 
[2026-07-13 07:46:14] local.INFO: Packet analysis {"connection_id":131099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f593e"} 
[2026-07-13 07:46:14] local.INFO: Extracted packet for processing {"connection_id":131099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f593e"} 
[2026-07-13 07:46:14] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680553728001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783908714000,"timestamp_ms":1783908714000,"timestamp_seconds":1783908714,"priority":1,"record_length":96,"hex_timestamp":"0000019f593ec610"} 
[2026-07-13 07:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 07:46:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":131099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":131099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":131099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680553728001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680553728001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:46:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:46:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680553728001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":131099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:46:14] local.INFO: GPS data processed {"connection_id":131099,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:46:14] local.INFO: Acknowledgment sent {"connection_id":131099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:46:19] local.INFO: TCP Data received {"connection_id":131100,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5941f678012d7c338005e1dcd00006010a20..."} 
[2026-07-13 07:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5941f678012d7c338005e1dcd00006010a20..."} 
[2026-07-13 07:46:19] local.INFO: Processing buffer {"connection_id":131100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5941f678012d7c338005e1dcd00006010a20..."} 
[2026-07-13 07:46:19] local.INFO: Packet analysis {"connection_id":131100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5941"} 
[2026-07-13 07:46:19] local.INFO: Extracted packet for processing {"connection_id":131100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5941"} 
[2026-07-13 07:46:19] local.INFO: GPS Element Parsed {"raw_longitude":763114368,"raw_latitude":98688208,"longitude_deg":76.3114368,"latitude_deg":9.8688208,"altitude":6,"angle":266,"satellites":32,"speed":19,"hex_longitude":"2d7c3380","hex_latitude":"05e1dcd0","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680684032001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105588025760677888,"note":"Value kept but may cause issues"} 
[2026-07-13 07:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950200597221289984,"note":"Value kept but may cause issues"} 
[2026-07-13 07:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783908923000,"timestamp_ms":1783908923000,"timestamp_seconds":1783908923,"priority":1,"record_length":96,"hex_timestamp":"0000019f5941f678"} 
[2026-07-13 07:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-13 07:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":131100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":131100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":131100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680684032001,"66":12885,"61":206,"85":15104,"24":19,"16":105588025760677888,"45":8950200597221289984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-13 07:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680684032001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:46:19] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-13 07:46:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105588025760677888,"km_value":105588025760677.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950200597221289984,"description":"Unknown IO ID 45"} 
[2026-07-13 07:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680684032001,"power":12885,"unknown_61":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8950200597221289984}} 
[2026-07-13 07:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":131100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478868,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:46:19] local.INFO: GPS data processed {"connection_id":131100,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:46:19] local.INFO: Acknowledgment sent {"connection_id":131100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:46:35] local.INFO: TCP Data received {"connection_id":132423,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:46:35] local.INFO: Processing buffer {"connection_id":132423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:46:35] local.INFO: IMEI packet received {"connection_id":132423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":132423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:46:40] local.INFO: TCP Data received {"connection_id":132423,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:46:40] local.INFO: Processing buffer {"connection_id":132423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:46:40] local.INFO: IMEI packet received {"connection_id":132423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":132423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:46:41] local.INFO: TCP Data received {"connection_id":132423,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f593ec610012d7f914005afd9380001011b20..."} 
[2026-07-13 07:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f593ec610012d7f914005afd9380001011b20..."} 
[2026-07-13 07:46:41] local.INFO: Processing buffer {"connection_id":132423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f593ec610012d7f914005afd9380001011b20..."} 
[2026-07-13 07:46:41] local.INFO: Packet analysis {"connection_id":132423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f593e"} 
[2026-07-13 07:46:41] local.INFO: Extracted packet for processing {"connection_id":132423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f593e"} 
[2026-07-13 07:46:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680553728001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783908714000,"timestamp_ms":1783908714000,"timestamp_seconds":1783908714,"priority":1,"record_length":96,"hex_timestamp":"0000019f593ec610"} 
[2026-07-13 07:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 07:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680553728001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680553728001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:46:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:46:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680553728001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":132423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:46:41] local.INFO: GPS data processed {"connection_id":132423,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:46:41] local.INFO: Acknowledgment sent {"connection_id":132423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:46:48] local.INFO: TCP Data received {"connection_id":130304,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:46:48] local.INFO: Processing buffer {"connection_id":130304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:46:48] local.INFO: IMEI packet received {"connection_id":130304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":130304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:46:49] local.INFO: TCP Data received {"connection_id":130304,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:46:49] local.INFO: Processing buffer {"connection_id":130304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:46:49] local.INFO: IMEI packet received {"connection_id":130304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":130304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:46:51] local.INFO: TCP Data received {"connection_id":130304,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5942f848012d7b87c005e1ba10000700f71c..."} 
[2026-07-13 07:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5942f848012d7b87c005e1ba10000700f71c..."} 
[2026-07-13 07:46:51] local.INFO: Processing buffer {"connection_id":130304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5942f848012d7b87c005e1ba10000700f71c..."} 
[2026-07-13 07:46:51] local.INFO: Packet analysis {"connection_id":130304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5942"} 
[2026-07-13 07:46:51] local.INFO: Extracted packet for processing {"connection_id":130304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5942"} 
[2026-07-13 07:46:51] local.INFO: GPS Element Parsed {"raw_longitude":763070400,"raw_latitude":98679312,"longitude_deg":76.30704,"latitude_deg":9.8679312,"altitude":7,"angle":247,"satellites":28,"speed":33,"hex_longitude":"2d7b87c0","hex_latitude":"05e1ba10","is_valid_coordinates":true} 
[2026-07-13 07:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680699904001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905797919643066368,"note":"Value kept but may cause issues"} 
[2026-07-13 07:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105590263438639104,"note":"Value kept but may cause issues"} 
[2026-07-13 07:46:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 07:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783908989000,"timestamp_ms":1783908989000,"timestamp_seconds":1783908989,"priority":1,"record_length":96,"hex_timestamp":"0000019f5942f848"} 
[2026-07-13 07:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-13 07:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680699904001,"66":13080,"45":8905797919643066368,"85":15104,"24":33,"16":105590263438639104},"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-07-13 07:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680699904001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905797919643066368,"description":"Unknown IO ID 45"} 
[2026-07-13 07:46:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105590263438639104,"km_value":105590263438639.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:46:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456680699904001,"power":13080,"unknown_45":8905797919643066368,"unknown_85":15104,"ignition":33,"odometer":null}} 
[2026-07-13 07:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":130304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478870,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:46:51] local.INFO: GPS data processed {"connection_id":130304,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:46:51] local.INFO: Acknowledgment sent {"connection_id":130304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:47:12] local.INFO: TCP Data received {"connection_id":132423,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f593ec610012d7f914005afd9380001011b20..."} 
[2026-07-13 07:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f593ec610012d7f914005afd9380001011b20..."} 
[2026-07-13 07:47:12] local.INFO: Processing buffer {"connection_id":132423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f593ec610012d7f914005afd9380001011b20..."} 
[2026-07-13 07:47:12] local.INFO: Packet analysis {"connection_id":132423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f593e"} 
[2026-07-13 07:47:12] local.INFO: Extracted packet for processing {"connection_id":132423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f593e"} 
[2026-07-13 07:47:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680553728001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783908714000,"timestamp_ms":1783908714000,"timestamp_seconds":1783908714,"priority":1,"record_length":96,"hex_timestamp":"0000019f593ec610"} 
[2026-07-13 07:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 07:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680553728001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680553728001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:47:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:47:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680553728001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":132423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:47:12] local.INFO: GPS data processed {"connection_id":132423,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:47:12] local.INFO: Acknowledgment sent {"connection_id":132423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:47:22] local.INFO: TCP Data received {"connection_id":130304,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59430fb8012d7b770005e1b4a8000901061f..."} 
[2026-07-13 07:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59430fb8012d7b770005e1b4a8000901061f..."} 
[2026-07-13 07:47:22] local.INFO: Processing buffer {"connection_id":130304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59430fb8012d7b770005e1b4a8000901061f..."} 
[2026-07-13 07:47:22] local.INFO: Packet analysis {"connection_id":130304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5943"} 
[2026-07-13 07:47:22] local.INFO: Extracted packet for processing {"connection_id":130304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5943"} 
[2026-07-13 07:47:22] local.INFO: GPS Element Parsed {"raw_longitude":763066112,"raw_latitude":98677928,"longitude_deg":76.3066112,"latitude_deg":9.8677928,"altitude":9,"angle":262,"satellites":31,"speed":17,"hex_longitude":"2d7b7700","hex_latitude":"05e1b4a8","is_valid_coordinates":true} 
[2026-07-13 07:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680701184001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901294320015511552,"note":"Value kept but may cause issues"} 
[2026-07-13 07:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105590478187003904,"note":"Value kept but may cause issues"} 
[2026-07-13 07:47:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 07:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783908995000,"timestamp_ms":1783908995000,"timestamp_seconds":1783908995,"priority":1,"record_length":96,"hex_timestamp":"0000019f59430fb8"} 
[2026-07-13 07:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-13 07:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680701184001,"66":12982,"45":8901294320015511552,"85":15104,"24":17,"16":105590478187003904},"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-07-13 07:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680701184001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901294320015511552,"description":"Unknown IO ID 45"} 
[2026-07-13 07:47:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105590478187003904,"km_value":105590478187003.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:47:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456680701184001,"power":12982,"unknown_45":8901294320015511552,"unknown_85":15104,"ignition":17,"odometer":null}} 
[2026-07-13 07:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":130304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:47:22] local.INFO: GPS data processed {"connection_id":130304,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:47:22] local.INFO: Acknowledgment sent {"connection_id":130304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:47:40] local.INFO: TCP Data received {"connection_id":131102,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:47:40] local.INFO: Processing buffer {"connection_id":131102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:47:40] local.INFO: IMEI packet received {"connection_id":131102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":131102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:47:41] local.INFO: TCP Data received {"connection_id":131102,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:47:41] local.INFO: Processing buffer {"connection_id":131102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:47:41] local.INFO: IMEI packet received {"connection_id":131102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":131102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:47:42] local.INFO: TCP Data received {"connection_id":131101,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:47:42] local.INFO: Processing buffer {"connection_id":131101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:47:42] local.INFO: IMEI packet received {"connection_id":131101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":131101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:47:43] local.INFO: TCP Data received {"connection_id":131102,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:47:43] local.INFO: Processing buffer {"connection_id":131102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:47:43] local.INFO: IMEI packet received {"connection_id":131102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":131102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:47:45] local.INFO: TCP Data received {"connection_id":131101,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:47:45] local.INFO: Processing buffer {"connection_id":131101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:47:45] local.INFO: IMEI packet received {"connection_id":131101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":131101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:47:46] local.INFO: TCP Data received {"connection_id":131101,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f59435dd8012d7f914005afd9380002011b23..."} 
[2026-07-13 07:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59435dd8012d7f914005afd9380002011b23..."} 
[2026-07-13 07:47:46] local.INFO: Processing buffer {"connection_id":131101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59435dd8012d7f914005afd9380002011b23..."} 
[2026-07-13 07:47:46] local.INFO: Packet analysis {"connection_id":131101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5943"} 
[2026-07-13 07:47:46] local.INFO: Extracted packet for processing {"connection_id":131101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5943"} 
[2026-07-13 07:47:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680630784001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783909015000,"timestamp_ms":1783909015000,"timestamp_seconds":1783909015,"priority":1,"record_length":96,"hex_timestamp":"0000019f59435dd8"} 
[2026-07-13 07:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 07:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680630784001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680630784001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:47:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:47:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680630784001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":131101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:47:46] local.INFO: GPS data processed {"connection_id":131101,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:47:46] local.INFO: Acknowledgment sent {"connection_id":131101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:47:48] local.INFO: TCP Data received {"connection_id":131102,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:47:48] local.INFO: Processing buffer {"connection_id":131102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:47:48] local.INFO: IMEI packet received {"connection_id":131102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":131102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:47:49] local.INFO: TCP Data received {"connection_id":131102,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59432728012d7b728005e1b488000a01121f..."} 
[2026-07-13 07:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59432728012d7b728005e1b488000a01121f..."} 
[2026-07-13 07:47:49] local.INFO: Processing buffer {"connection_id":131102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59432728012d7b728005e1b488000a01121f..."} 
[2026-07-13 07:47:49] local.INFO: Packet analysis {"connection_id":131102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5943"} 
[2026-07-13 07:47:49] local.INFO: Extracted packet for processing {"connection_id":131102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5943"} 
[2026-07-13 07:47:49] local.INFO: GPS Element Parsed {"raw_longitude":763064960,"raw_latitude":98677896,"longitude_deg":76.306496,"latitude_deg":9.8677896,"altitude":10,"angle":274,"satellites":31,"speed":8,"hex_longitude":"2d7b7280","hex_latitude":"05e1b488","is_valid_coordinates":true} 
[2026-07-13 07:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680702720001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896579614155253760,"note":"Value kept but may cause issues"} 
[2026-07-13 07:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105590529726611456,"note":"Value kept but may cause issues"} 
[2026-07-13 07:47:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 07:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783909001000,"timestamp_ms":1783909001000,"timestamp_seconds":1783909001,"priority":1,"record_length":96,"hex_timestamp":"0000019f59432728"} 
[2026-07-13 07:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-13 07:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680702720001,"66":12961,"45":8896579614155253760,"85":15104,"24":8,"16":105590529726611456},"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-07-13 07:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680702720001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896579614155253760,"description":"Unknown IO ID 45"} 
[2026-07-13 07:47:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105590529726611456,"km_value":105590529726611.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:47:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456680702720001,"power":12961,"unknown_45":8896579614155253760,"unknown_85":15104,"ignition":8,"odometer":null}} 
[2026-07-13 07:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":131102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:47:49] local.INFO: GPS data processed {"connection_id":131102,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:47:49] local.INFO: Acknowledgment sent {"connection_id":131102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:47:51] local.INFO: TCP Data received {"connection_id":131101,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f59435dd8012d7f914005afd9380002011b23..."} 
[2026-07-13 07:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59435dd8012d7f914005afd9380002011b23..."} 
[2026-07-13 07:47:51] local.INFO: Processing buffer {"connection_id":131101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59435dd8012d7f914005afd9380002011b23..."} 
[2026-07-13 07:47:51] local.INFO: Packet analysis {"connection_id":131101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5943"} 
[2026-07-13 07:47:51] local.INFO: Extracted packet for processing {"connection_id":131101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5943"} 
[2026-07-13 07:47:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680630784001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783909015000,"timestamp_ms":1783909015000,"timestamp_seconds":1783909015,"priority":1,"record_length":96,"hex_timestamp":"0000019f59435dd8"} 
[2026-07-13 07:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 07:47: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-07-13 07:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":131101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":131101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":131101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:47: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-07-13 07:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680630784001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680630784001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:47:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:47:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680630784001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":131101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:47:51] local.INFO: GPS data processed {"connection_id":131101,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:47:51] local.INFO: Acknowledgment sent {"connection_id":131101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:48:20] local.INFO: TCP Data received {"connection_id":131102,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59449270012d7b35c005e1e2d00008002519..."} 
[2026-07-13 07:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59449270012d7b35c005e1e2d00008002519..."} 
[2026-07-13 07:48:20] local.INFO: Processing buffer {"connection_id":131102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59449270012d7b35c005e1e2d00008002519..."} 
[2026-07-13 07:48:20] local.INFO: Packet analysis {"connection_id":131102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5944"} 
[2026-07-13 07:48:20] local.INFO: Extracted packet for processing {"connection_id":131102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5944"} 
[2026-07-13 07:48:20] local.INFO: GPS Element Parsed {"raw_longitude":763049408,"raw_latitude":98689744,"longitude_deg":76.3049408,"latitude_deg":9.8689744,"altitude":8,"angle":37,"satellites":25,"speed":0,"hex_longitude":"2d7b35c0","hex_latitude":"05e1e2d0","is_valid_coordinates":true} 
[2026-07-13 07:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680727552001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105591848281571328,"note":"Value kept but may cause issues"} 
[2026-07-13 07:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878143003183718400,"note":"Value kept but may cause issues"} 
[2026-07-13 07:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783909094000,"timestamp_ms":1783909094000,"timestamp_seconds":1783909094,"priority":1,"record_length":96,"hex_timestamp":"0000019f59449270"} 
[2026-07-13 07:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-13 07:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":131102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":131102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":131102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680727552001,"66":12906,"169":206,"85":15104,"24":0,"16":105591848281571328,"45":8878143003183718400},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-13 07:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680727552001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:48:20] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-13 07:48:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105591848281571328,"km_value":105591848281571.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878143003183718400,"description":"Unknown IO ID 45"} 
[2026-07-13 07:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680727552001,"power":12906,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8878143003183718400}} 
[2026-07-13 07:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":131102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478876,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:48:20] local.INFO: GPS data processed {"connection_id":131102,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:48:20] local.INFO: Acknowledgment sent {"connection_id":131102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:48:35] local.INFO: TCP Data received {"connection_id":132424,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:48:35] local.INFO: Processing buffer {"connection_id":132424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:48:35] local.INFO: IMEI packet received {"connection_id":132424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":132424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:48:40] local.INFO: TCP Data received {"connection_id":132424,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:48:40] local.INFO: Processing buffer {"connection_id":132424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:48:40] local.INFO: IMEI packet received {"connection_id":132424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":132424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:48:42] local.INFO: TCP Data received {"connection_id":132424,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f59435dd8012d7f914005afd9380002011b23..."} 
[2026-07-13 07:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59435dd8012d7f914005afd9380002011b23..."} 
[2026-07-13 07:48:42] local.INFO: Processing buffer {"connection_id":132424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59435dd8012d7f914005afd9380002011b23..."} 
[2026-07-13 07:48:42] local.INFO: Packet analysis {"connection_id":132424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5943"} 
[2026-07-13 07:48:42] local.INFO: Extracted packet for processing {"connection_id":132424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5943"} 
[2026-07-13 07:48:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680630784001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783909015000,"timestamp_ms":1783909015000,"timestamp_seconds":1783909015,"priority":1,"record_length":96,"hex_timestamp":"0000019f59435dd8"} 
[2026-07-13 07:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 07:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680630784001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680630784001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:48:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:48:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680630784001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":132424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:48:42] local.INFO: GPS data processed {"connection_id":132424,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:48:42] local.INFO: Acknowledgment sent {"connection_id":132424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:48:43] local.INFO: TCP Data received {"connection_id":131104,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:48:43] local.INFO: Processing buffer {"connection_id":131104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:48:43] local.INFO: IMEI packet received {"connection_id":131104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":131104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:48:46] local.INFO: TCP Data received {"connection_id":131104,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:48:46] local.INFO: Processing buffer {"connection_id":131104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:48:46] local.INFO: IMEI packet received {"connection_id":131104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":131104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:48:47] local.INFO: TCP Data received {"connection_id":131104,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59449658012d7b35c005e1e3300008000619..."} 
[2026-07-13 07:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59449658012d7b35c005e1e3300008000619..."} 
[2026-07-13 07:48:47] local.INFO: Processing buffer {"connection_id":131104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59449658012d7b35c005e1e3300008000619..."} 
[2026-07-13 07:48:47] local.INFO: Packet analysis {"connection_id":131104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5944"} 
[2026-07-13 07:48:47] local.INFO: Extracted packet for processing {"connection_id":131104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5944"} 
[2026-07-13 07:48:47] local.INFO: GPS Element Parsed {"raw_longitude":763049408,"raw_latitude":98689840,"longitude_deg":76.3049408,"latitude_deg":9.868984,"altitude":8,"angle":6,"satellites":25,"speed":2,"hex_longitude":"2d7b35c0","hex_latitude":"05e1e330","is_valid_coordinates":true} 
[2026-07-13 07:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680728064001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105591856871505920,"note":"Value kept but may cause issues"} 
[2026-07-13 07:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878213371927908352,"note":"Value kept but may cause issues"} 
[2026-07-13 07:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783909095000,"timestamp_ms":1783909095000,"timestamp_seconds":1783909095,"priority":1,"record_length":96,"hex_timestamp":"0000019f59449658"} 
[2026-07-13 07:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-13 07:48:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":131104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":131104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":131104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:48: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-07-13 07:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680728064001,"66":13015,"169":206,"85":15104,"24":2,"16":105591856871505920,"45":8878213371927908352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-13 07:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680728064001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:48:47] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-13 07:48:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105591856871505920,"km_value":105591856871505.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878213371927908352,"description":"Unknown IO ID 45"} 
[2026-07-13 07:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680728064001,"power":13015,"unknown_169":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8878213371927908352}} 
[2026-07-13 07:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":131104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:48:47] local.INFO: GPS data processed {"connection_id":131104,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:48:47] local.INFO: Acknowledgment sent {"connection_id":131104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:48:56] local.INFO: TCP Data received {"connection_id":130305,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130305,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:48:56] local.INFO: Processing buffer {"connection_id":130305,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:48:56] local.INFO: IMEI packet received {"connection_id":130305,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 07:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":130305,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:49:13] local.INFO: TCP Data received {"connection_id":132424,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f59435dd8012d7f914005afd9380002011b23..."} 
[2026-07-13 07:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59435dd8012d7f914005afd9380002011b23..."} 
[2026-07-13 07:49:13] local.INFO: Processing buffer {"connection_id":132424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59435dd8012d7f914005afd9380002011b23..."} 
[2026-07-13 07:49:13] local.INFO: Packet analysis {"connection_id":132424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5943"} 
[2026-07-13 07:49:13] local.INFO: Extracted packet for processing {"connection_id":132424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5943"} 
[2026-07-13 07:49:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680630784001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783909015000,"timestamp_ms":1783909015000,"timestamp_seconds":1783909015,"priority":1,"record_length":96,"hex_timestamp":"0000019f59435dd8"} 
[2026-07-13 07:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 07:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680630784001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680630784001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:49:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:49:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680630784001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":132424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:49:13] local.INFO: GPS data processed {"connection_id":132424,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:49:13] local.INFO: Acknowledgment sent {"connection_id":132424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:49:18] local.INFO: TCP Data received {"connection_id":131104,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59449e28012d7b358005e1e410000801621a..."} 
[2026-07-13 07:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59449e28012d7b358005e1e410000801621a..."} 
[2026-07-13 07:49:18] local.INFO: Processing buffer {"connection_id":131104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59449e28012d7b358005e1e410000801621a..."} 
[2026-07-13 07:49:18] local.INFO: Packet analysis {"connection_id":131104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5944"} 
[2026-07-13 07:49:18] local.INFO: Extracted packet for processing {"connection_id":131104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5944"} 
[2026-07-13 07:49:18] local.INFO: GPS Element Parsed {"raw_longitude":763049344,"raw_latitude":98690064,"longitude_deg":76.3049344,"latitude_deg":9.8690064,"altitude":8,"angle":354,"satellites":26,"speed":3,"hex_longitude":"2d7b3580","hex_latitude":"05e1e410","is_valid_coordinates":true} 
[2026-07-13 07:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680728320001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105591865461440512,"note":"Value kept but may cause issues"} 
[2026-07-13 07:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878213371927932928,"note":"Value kept but may cause issues"} 
[2026-07-13 07:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783909097000,"timestamp_ms":1783909097000,"timestamp_seconds":1783909097,"priority":1,"record_length":96,"hex_timestamp":"0000019f59449e28"} 
[2026-07-13 07:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-13 07:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680728320001,"66":13015,"169":206,"85":15104,"24":3,"16":105591865461440512,"45":8878213371927932928},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-13 07:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680728320001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:49:18] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-13 07:49:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105591865461440512,"km_value":105591865461440.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878213371927932928,"description":"Unknown IO ID 45"} 
[2026-07-13 07:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680728320001,"power":13015,"unknown_169":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8878213371927932928}} 
[2026-07-13 07:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":131104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478880,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:49:18] local.INFO: GPS data processed {"connection_id":131104,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:49:18] local.INFO: Acknowledgment sent {"connection_id":131104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:49:35] local.INFO: TCP Data received {"connection_id":130100,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:49:35] local.INFO: Processing buffer {"connection_id":130100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:49:35] local.INFO: IMEI packet received {"connection_id":130100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":130100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:49:40] local.INFO: TCP Data received {"connection_id":130100,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:49:40] local.INFO: Processing buffer {"connection_id":130100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:49:40] local.INFO: IMEI packet received {"connection_id":130100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":130100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:49:41] local.INFO: TCP Data received {"connection_id":132425,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132425,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:49:41] local.INFO: Processing buffer {"connection_id":132425,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:49:41] local.INFO: IMEI packet received {"connection_id":132425,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 07:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":132425,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:49:41] local.INFO: TCP Data received {"connection_id":130100,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f59435dd8012d7f914005afd9380002011b23..."} 
[2026-07-13 07:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59435dd8012d7f914005afd9380002011b23..."} 
[2026-07-13 07:49:41] local.INFO: Processing buffer {"connection_id":130100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59435dd8012d7f914005afd9380002011b23..."} 
[2026-07-13 07:49:41] local.INFO: Packet analysis {"connection_id":130100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5943"} 
[2026-07-13 07:49:41] local.INFO: Extracted packet for processing {"connection_id":130100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5943"} 
[2026-07-13 07:49:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680630784001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783909015000,"timestamp_ms":1783909015000,"timestamp_seconds":1783909015,"priority":1,"record_length":96,"hex_timestamp":"0000019f59435dd8"} 
[2026-07-13 07:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 07:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680630784001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680630784001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:49:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:49:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680630784001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":130100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:49:41] local.INFO: GPS data processed {"connection_id":130100,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:49:41] local.INFO: Acknowledgment sent {"connection_id":130100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:49:43] local.INFO: TCP Data received {"connection_id":131105,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:49:43] local.INFO: Processing buffer {"connection_id":131105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:49:43] local.INFO: IMEI packet received {"connection_id":131105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":131105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:49:48] local.INFO: TCP Data received {"connection_id":131105,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:49:48] local.INFO: Processing buffer {"connection_id":131105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:49:48] local.INFO: IMEI packet received {"connection_id":131105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":131105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:49:49] local.INFO: TCP Data received {"connection_id":131105,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5944ec48012d7b338005e1ed98000701641a..."} 
[2026-07-13 07:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5944ec48012d7b338005e1ed98000701641a..."} 
[2026-07-13 07:49:49] local.INFO: Processing buffer {"connection_id":131105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5944ec48012d7b338005e1ed98000701641a..."} 
[2026-07-13 07:49:49] local.INFO: Packet analysis {"connection_id":131105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5944"} 
[2026-07-13 07:49:49] local.INFO: Extracted packet for processing {"connection_id":131105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5944"} 
[2026-07-13 07:49:49] local.INFO: GPS Element Parsed {"raw_longitude":763048832,"raw_latitude":98692504,"longitude_deg":76.3048832,"latitude_deg":9.8692504,"altitude":7,"angle":356,"satellites":26,"speed":5,"hex_longitude":"2d7b3380","hex_latitude":"05e1ed98","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680728832001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105591990015492096,"note":"Value kept but may cause issues"} 
[2026-07-13 07:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878143003183812608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783909117000,"timestamp_ms":1783909117000,"timestamp_seconds":1783909117,"priority":1,"record_length":96,"hex_timestamp":"0000019f5944ec48"} 
[2026-07-13 07:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-13 07:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680728832001,"66":12841,"169":206,"85":15104,"24":5,"16":105591990015492096,"45":8878143003183812608},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-13 07:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680728832001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:49:49] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-13 07:49:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105591990015492096,"km_value":105591990015492.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878143003183812608,"description":"Unknown IO ID 45"} 
[2026-07-13 07:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680728832001,"power":12841,"unknown_169":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8878143003183812608}} 
[2026-07-13 07:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":131105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478882,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:49:49] local.INFO: GPS data processed {"connection_id":131105,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:49:49] local.INFO: Acknowledgment sent {"connection_id":131105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:50:12] local.INFO: TCP Data received {"connection_id":130100,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f59435dd8012d7f914005afd9380002011b23..."} 
[2026-07-13 07:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59435dd8012d7f914005afd9380002011b23..."} 
[2026-07-13 07:50:12] local.INFO: Processing buffer {"connection_id":130100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59435dd8012d7f914005afd9380002011b23..."} 
[2026-07-13 07:50:12] local.INFO: Packet analysis {"connection_id":130100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5943"} 
[2026-07-13 07:50:12] local.INFO: Extracted packet for processing {"connection_id":130100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5943"} 
[2026-07-13 07:50:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680630784001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783909015000,"timestamp_ms":1783909015000,"timestamp_seconds":1783909015,"priority":1,"record_length":96,"hex_timestamp":"0000019f59435dd8"} 
[2026-07-13 07:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 07:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680630784001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680630784001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:50:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:50:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680630784001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":130100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:50:12] local.INFO: GPS data processed {"connection_id":130100,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:50:12] local.INFO: Acknowledgment sent {"connection_id":130100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:50:20] local.INFO: TCP Data received {"connection_id":131105,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59450b88012d7b32c005e1f160000601571d..."} 
[2026-07-13 07:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59450b88012d7b32c005e1f160000601571d..."} 
[2026-07-13 07:50:20] local.INFO: Processing buffer {"connection_id":131105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59450b88012d7b32c005e1f160000601571d..."} 
[2026-07-13 07:50:20] local.INFO: Packet analysis {"connection_id":131105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5945"} 
[2026-07-13 07:50:20] local.INFO: Extracted packet for processing {"connection_id":131105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5945"} 
[2026-07-13 07:50:20] local.INFO: GPS Element Parsed {"raw_longitude":763048640,"raw_latitude":98693472,"longitude_deg":76.304864,"latitude_deg":9.8693472,"altitude":6,"angle":343,"satellites":29,"speed":5,"hex_longitude":"2d7b32c0","hex_latitude":"05e1f160","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680733952001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105592041555099648,"note":"Value kept but may cause issues"} 
[2026-07-13 07:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877580053231015936,"note":"Value kept but may cause issues"} 
[2026-07-13 07:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783909125000,"timestamp_ms":1783909125000,"timestamp_seconds":1783909125,"priority":1,"record_length":96,"hex_timestamp":"0000019f59450b88"} 
[2026-07-13 07:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-13 07:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":131105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":131105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":131105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680733952001,"66":12993,"169":206,"85":15104,"24":5,"16":105592041555099648,"45":8877580053231015936},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-13 07:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680733952001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:50:20] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-13 07:50:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105592041555099648,"km_value":105592041555099.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877580053231015936,"description":"Unknown IO ID 45"} 
[2026-07-13 07:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680733952001,"power":12993,"unknown_169":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8877580053231015936}} 
[2026-07-13 07:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":131105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478884,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:50:20] local.INFO: GPS data processed {"connection_id":131105,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:50:20] local.INFO: Acknowledgment sent {"connection_id":131105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:50:35] local.INFO: TCP Data received {"connection_id":130306,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:50:35] local.INFO: Processing buffer {"connection_id":130306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:50:35] local.INFO: IMEI packet received {"connection_id":130306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":130306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:50:40] local.INFO: TCP Data received {"connection_id":130306,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:50:40] local.INFO: Processing buffer {"connection_id":130306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:50:40] local.INFO: IMEI packet received {"connection_id":130306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":130306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:50:41] local.INFO: TCP Data received {"connection_id":130306,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f59435dd8012d7f914005afd9380002011b23..."} 
[2026-07-13 07:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59435dd8012d7f914005afd9380002011b23..."} 
[2026-07-13 07:50:41] local.INFO: Processing buffer {"connection_id":130306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59435dd8012d7f914005afd9380002011b23..."} 
[2026-07-13 07:50:41] local.INFO: Packet analysis {"connection_id":130306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5943"} 
[2026-07-13 07:50:41] local.INFO: Extracted packet for processing {"connection_id":130306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5943"} 
[2026-07-13 07:50:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 07:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680630784001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783909015000,"timestamp_ms":1783909015000,"timestamp_seconds":1783909015,"priority":1,"record_length":96,"hex_timestamp":"0000019f59435dd8"} 
[2026-07-13 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-07-13 07:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 07:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 07:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680630784001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680630784001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:50:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:50:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680630784001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":130306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:50:41] local.INFO: GPS data processed {"connection_id":130306,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:50:41] local.INFO: Acknowledgment sent {"connection_id":130306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:50:43] local.INFO: TCP Data received {"connection_id":130307,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130307,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:50:43] local.INFO: Processing buffer {"connection_id":130307,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:50:43] local.INFO: IMEI packet received {"connection_id":130307,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":130307,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:50:46] local.INFO: TCP Data received {"connection_id":130307,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130307,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:50:46] local.INFO: Processing buffer {"connection_id":130307,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:50:46] local.INFO: IMEI packet received {"connection_id":130307,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":130307,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:50:47] local.INFO: TCP Data received {"connection_id":130307,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f594526e0012d7b328005e1f508000700021d..."} 
[2026-07-13 07:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f594526e0012d7b328005e1f508000700021d..."} 
[2026-07-13 07:50:47] local.INFO: Processing buffer {"connection_id":130307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f594526e0012d7b328005e1f508000700021d..."} 
[2026-07-13 07:50:47] local.INFO: Packet analysis {"connection_id":130307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5945"} 
[2026-07-13 07:50:47] local.INFO: Extracted packet for processing {"connection_id":130307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5945"} 
[2026-07-13 07:50:47] local.INFO: GPS Element Parsed {"raw_longitude":763048576,"raw_latitude":98694408,"longitude_deg":76.3048576,"latitude_deg":9.8694408,"altitude":7,"angle":2,"satellites":29,"speed":2,"hex_longitude":"2d7b3280","hex_latitude":"05e1f508","is_valid_coordinates":true} 
[2026-07-13 07:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680736000001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105592084504772608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877368946998730752,"note":"Value kept but may cause issues"} 
[2026-07-13 07:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783909132000,"timestamp_ms":1783909132000,"timestamp_seconds":1783909132,"priority":1,"record_length":96,"hex_timestamp":"0000019f594526e0"} 
[2026-07-13 07:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-13 07:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:50: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-07-13 07:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680736000001,"66":13091,"169":206,"85":15104,"24":2,"16":105592084504772608,"45":8877368946998730752},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-13 07:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680736000001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:50:47] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-13 07:50:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105592084504772608,"km_value":105592084504772.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877368946998730752,"description":"Unknown IO ID 45"} 
[2026-07-13 07:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680736000001,"power":13091,"unknown_169":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8877368946998730752}} 
[2026-07-13 07:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":130307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478886,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:50:47] local.INFO: GPS data processed {"connection_id":130307,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:50:47] local.INFO: Acknowledgment sent {"connection_id":130307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:51:12] local.INFO: TCP Data received {"connection_id":130306,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f59435dd8012d7f914005afd9380002011b23..."} 
[2026-07-13 07:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59435dd8012d7f914005afd9380002011b23..."} 
[2026-07-13 07:51:12] local.INFO: Processing buffer {"connection_id":130306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59435dd8012d7f914005afd9380002011b23..."} 
[2026-07-13 07:51:12] local.INFO: Packet analysis {"connection_id":130306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5943"} 
[2026-07-13 07:51:12] local.INFO: Extracted packet for processing {"connection_id":130306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5943"} 
[2026-07-13 07:51:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680630784001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783909015000,"timestamp_ms":1783909015000,"timestamp_seconds":1783909015,"priority":1,"record_length":96,"hex_timestamp":"0000019f59435dd8"} 
[2026-07-13 07:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 07:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680630784001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680630784001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:51:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:51:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680630784001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":130306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:51:12] local.INFO: GPS data processed {"connection_id":130306,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:51:12] local.INFO: Acknowledgment sent {"connection_id":130306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:51:19] local.INFO: TCP Data received {"connection_id":130307,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59470758012d7b218005e28dd8000d016119..."} 
[2026-07-13 07:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59470758012d7b218005e28dd8000d016119..."} 
[2026-07-13 07:51:19] local.INFO: Processing buffer {"connection_id":130307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59470758012d7b218005e28dd8000d016119..."} 
[2026-07-13 07:51:19] local.INFO: Packet analysis {"connection_id":130307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5947"} 
[2026-07-13 07:51:19] local.INFO: Extracted packet for processing {"connection_id":130307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5947"} 
[2026-07-13 07:51:19] local.INFO: GPS Element Parsed {"raw_longitude":763044224,"raw_latitude":98733528,"longitude_deg":76.3044224,"latitude_deg":9.8733528,"altitude":13,"angle":353,"satellites":25,"speed":33,"hex_longitude":"2d7b2180","hex_latitude":"05e28dd8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 07:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680766720001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105594012945088512,"note":"Value kept but may cause issues"} 
[2026-07-13 07:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873850509797816320,"note":"Value kept but may cause issues"} 
[2026-07-13 07:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783909255000,"timestamp_ms":1783909255000,"timestamp_seconds":1783909255,"priority":1,"record_length":96,"hex_timestamp":"0000019f59470758"} 
[2026-07-13 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-07-13 07:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-13 07:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 07:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680766720001,"66":13341,"96":206,"85":15104,"24":33,"16":105594012945088512,"45":8873850509797816320},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-13 07:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680766720001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:51:19] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 07:51:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105594012945088512,"km_value":105594012945088.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873850509797816320,"description":"Unknown IO ID 45"} 
[2026-07-13 07:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680766720001,"power":13341,"unknown_96":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8873850509797816320}} 
[2026-07-13 07:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":130307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478888,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:51:19] local.INFO: GPS data processed {"connection_id":130307,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:51:19] local.INFO: Acknowledgment sent {"connection_id":130307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:51:35] local.INFO: TCP Data received {"connection_id":130308,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:51:35] local.INFO: Processing buffer {"connection_id":130308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:51:35] local.INFO: IMEI packet received {"connection_id":130308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":130308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:51:40] local.INFO: TCP Data received {"connection_id":130308,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:51:40] local.INFO: Processing buffer {"connection_id":130308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:51:40] local.INFO: IMEI packet received {"connection_id":130308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":130308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:51:41] local.INFO: TCP Data received {"connection_id":130308,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59435dd8012d7f914005afd9380002011b23..."} 
[2026-07-13 07:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59435dd8012d7f914005afd9380002011b23..."} 
[2026-07-13 07:51:41] local.INFO: Processing buffer {"connection_id":130308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59435dd8012d7f914005afd9380002011b23..."} 
[2026-07-13 07:51:41] local.INFO: Packet analysis {"connection_id":130308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5943"} 
[2026-07-13 07:51:41] local.INFO: Extracted packet for processing {"connection_id":130308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5943"} 
[2026-07-13 07:51:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680630784001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783909015000,"timestamp_ms":1783909015000,"timestamp_seconds":1783909015,"priority":1,"record_length":96,"hex_timestamp":"0000019f59435dd8"} 
[2026-07-13 07:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 07:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680630784001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680630784001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:51:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:51:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680630784001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":130308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:51:41] local.INFO: GPS data processed {"connection_id":130308,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:51:41] local.INFO: Acknowledgment sent {"connection_id":130308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:51:44] local.INFO: TCP Data received {"connection_id":131106,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:51:44] local.INFO: Processing buffer {"connection_id":131106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:51:44] local.INFO: IMEI packet received {"connection_id":131106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":131106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:51:44] local.INFO: TCP Data received {"connection_id":131106,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:51:44] local.INFO: Processing buffer {"connection_id":131106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:51:44] local.INFO: IMEI packet received {"connection_id":131106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":131106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:51:48] local.INFO: TCP Data received {"connection_id":131106,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:51:48] local.INFO: Processing buffer {"connection_id":131106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:51:48] local.INFO: IMEI packet received {"connection_id":131106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":131106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:51:50] local.INFO: TCP Data received {"connection_id":131106,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59472e68012d7b1c0005e2b210000a01601b..."} 
[2026-07-13 07:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59472e68012d7b1c0005e2b210000a01601b..."} 
[2026-07-13 07:51:50] local.INFO: Processing buffer {"connection_id":131106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59472e68012d7b1c0005e2b210000a01601b..."} 
[2026-07-13 07:51:50] local.INFO: Packet analysis {"connection_id":131106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5947"} 
[2026-07-13 07:51:50] local.INFO: Extracted packet for processing {"connection_id":131106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5947"} 
[2026-07-13 07:51:50] local.INFO: GPS Element Parsed {"raw_longitude":763042816,"raw_latitude":98742800,"longitude_deg":76.3042816,"latitude_deg":9.87428,"altitude":10,"angle":352,"satellites":27,"speed":42,"hex_longitude":"2d7b1c00","hex_latitude":"05e2b210","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680769280001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105594468211621888,"note":"Value kept but may cause issues"} 
[2026-07-13 07:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872513503660726272,"note":"Value kept but may cause issues"} 
[2026-07-13 07:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783909265000,"timestamp_ms":1783909265000,"timestamp_seconds":1783909265,"priority":1,"record_length":96,"hex_timestamp":"0000019f59472e68"} 
[2026-07-13 07:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-13 07:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680769280001,"66":13135,"96":206,"85":15104,"24":42,"16":105594468211621888,"45":8872513503660726272},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-13 07:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680769280001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:51:50] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 07:51:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105594468211621888,"km_value":105594468211621.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872513503660726272,"description":"Unknown IO ID 45"} 
[2026-07-13 07:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680769280001,"power":13135,"unknown_96":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8872513503660726272}} 
[2026-07-13 07:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":131106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478890,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:51:50] local.INFO: GPS data processed {"connection_id":131106,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:51:50] local.INFO: Acknowledgment sent {"connection_id":131106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:52:12] local.INFO: TCP Data received {"connection_id":130308,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59435dd8012d7f914005afd9380002011b23..."} 
[2026-07-13 07:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59435dd8012d7f914005afd9380002011b23..."} 
[2026-07-13 07:52:12] local.INFO: Processing buffer {"connection_id":130308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59435dd8012d7f914005afd9380002011b23..."} 
[2026-07-13 07:52:12] local.INFO: Packet analysis {"connection_id":130308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5943"} 
[2026-07-13 07:52:12] local.INFO: Extracted packet for processing {"connection_id":130308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5943"} 
[2026-07-13 07:52:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680630784001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783909015000,"timestamp_ms":1783909015000,"timestamp_seconds":1783909015,"priority":1,"record_length":96,"hex_timestamp":"0000019f59435dd8"} 
[2026-07-13 07:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 07:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680630784001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 07:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680630784001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:52:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 07:52:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680630784001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":130308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:52:12] local.INFO: GPS data processed {"connection_id":130308,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:52:12] local.INFO: Acknowledgment sent {"connection_id":130308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:52:22] local.INFO: TCP Data received {"connection_id":131106,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59474da8012d7b15c005e2d9000008015e19..."} 
[2026-07-13 07:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59474da8012d7b15c005e2d9000008015e19..."} 
[2026-07-13 07:52:22] local.INFO: Processing buffer {"connection_id":131106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59474da8012d7b15c005e2d9000008015e19..."} 
[2026-07-13 07:52:22] local.INFO: Packet analysis {"connection_id":131106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5947"} 
[2026-07-13 07:52:22] local.INFO: Extracted packet for processing {"connection_id":131106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5947"} 
[2026-07-13 07:52:22] local.INFO: GPS Element Parsed {"raw_longitude":763041216,"raw_latitude":98752768,"longitude_deg":76.3041216,"latitude_deg":9.8752768,"altitude":8,"angle":350,"satellites":25,"speed":54,"hex_longitude":"2d7b15c0","hex_latitude":"05e2d900","is_valid_coordinates":true} 
[2026-07-13 07:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680771840001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105594957837893632,"note":"Value kept but may cause issues"} 
[2026-07-13 07:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870965391291191296,"note":"Value kept but may cause issues"} 
[2026-07-13 07:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783909273000,"timestamp_ms":1783909273000,"timestamp_seconds":1783909273,"priority":1,"record_length":96,"hex_timestamp":"0000019f59474da8"} 
[2026-07-13 07:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-13 07:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":131106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":131106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":131106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680771840001,"66":13037,"96":206,"85":15104,"24":54,"16":105594957837893632,"45":8870965391291191296},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-13 07:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680771840001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:52:22] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 07:52:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105594957837893632,"km_value":105594957837893.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870965391291191296,"description":"Unknown IO ID 45"} 
[2026-07-13 07:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680771840001,"power":13037,"unknown_96":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8870965391291191296}} 
[2026-07-13 07:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":131106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478892,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:52:22] local.INFO: GPS data processed {"connection_id":131106,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:52:22] local.INFO: Acknowledgment sent {"connection_id":131106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:52:40] local.INFO: TCP Data received {"connection_id":130310,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:52:40] local.INFO: Processing buffer {"connection_id":130310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:52:40] local.INFO: IMEI packet received {"connection_id":130310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":130310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:52:43] local.INFO: TCP Data received {"connection_id":130102,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:52:43] local.INFO: Processing buffer {"connection_id":130102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:52:43] local.INFO: IMEI packet received {"connection_id":130102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":130102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:52:45] local.INFO: TCP Data received {"connection_id":130310,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:52:45] local.INFO: Processing buffer {"connection_id":130310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:52:45] local.INFO: IMEI packet received {"connection_id":130310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":130310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:52:46] local.INFO: TCP Data received {"connection_id":130310,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5947f5a0012d7f914005afd9380002011b24..."} 
[2026-07-13 07:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5947f5a0012d7f914005afd9380002011b24..."} 
[2026-07-13 07:52:46] local.INFO: Processing buffer {"connection_id":130310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5947f5a0012d7f914005afd9380002011b24..."} 
[2026-07-13 07:52:46] local.INFO: Packet analysis {"connection_id":130310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5947"} 
[2026-07-13 07:52:46] local.INFO: Extracted packet for processing {"connection_id":130310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5947"} 
[2026-07-13 07:52:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680707840001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783909316000,"timestamp_ms":1783909316000,"timestamp_seconds":1783909316,"priority":1,"record_length":96,"hex_timestamp":"0000019f5947f5a0"} 
[2026-07-13 07:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 07:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680707840001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 07:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680707840001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:52:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 07:52:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680707840001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":130310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:52:46] local.INFO: GPS data processed {"connection_id":130310,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:52:46] local.INFO: Acknowledgment sent {"connection_id":130310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:52:48] local.INFO: TCP Data received {"connection_id":130102,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:52:48] local.INFO: Processing buffer {"connection_id":130102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:52:48] local.INFO: IMEI packet received {"connection_id":130102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":130102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:52:50] local.INFO: TCP Data received {"connection_id":130102,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f594770d0012d7b0f4005e2fb900005015e14..."} 
[2026-07-13 07:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f594770d0012d7b0f4005e2fb900005015e14..."} 
[2026-07-13 07:52:50] local.INFO: Processing buffer {"connection_id":130102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f594770d0012d7b0f4005e2fb900005015e14..."} 
[2026-07-13 07:52:50] local.INFO: Packet analysis {"connection_id":130102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5947"} 
[2026-07-13 07:52:50] local.INFO: Extracted packet for processing {"connection_id":130102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5947"} 
[2026-07-13 07:52:50] local.INFO: GPS Element Parsed {"raw_longitude":763039552,"raw_latitude":98761616,"longitude_deg":76.3039552,"latitude_deg":9.8761616,"altitude":5,"angle":350,"satellites":20,"speed":23,"hex_longitude":"2d7b0f40","hex_latitude":"05e2fb90","is_valid_coordinates":true} 
[2026-07-13 07:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680773888001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105595395924557824,"note":"Value kept but may cause issues"} 
[2026-07-13 07:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869206172689301504,"note":"Value kept but may cause issues"} 
[2026-07-13 07:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783909282000,"timestamp_ms":1783909282000,"timestamp_seconds":1783909282,"priority":1,"record_length":96,"hex_timestamp":"0000019f594770d0"} 
[2026-07-13 07:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-13 07:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680773888001,"66":13222,"96":206,"85":15104,"24":23,"16":105595395924557824,"45":8869206172689301504},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-13 07:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680773888001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:52:50] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 07:52:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105595395924557824,"km_value":105595395924557.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869206172689301504,"description":"Unknown IO ID 45"} 
[2026-07-13 07:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680773888001,"power":13222,"unknown_96":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8869206172689301504}} 
[2026-07-13 07:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":130102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478894,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:52:50] local.INFO: GPS data processed {"connection_id":130102,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:52:50] local.INFO: Acknowledgment sent {"connection_id":130102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:52:51] local.INFO: TCP Data received {"connection_id":130310,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5947f5a0012d7f914005afd9380002011b24..."} 
[2026-07-13 07:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5947f5a0012d7f914005afd9380002011b24..."} 
[2026-07-13 07:52:51] local.INFO: Processing buffer {"connection_id":130310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5947f5a0012d7f914005afd9380002011b24..."} 
[2026-07-13 07:52:51] local.INFO: Packet analysis {"connection_id":130310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5947"} 
[2026-07-13 07:52:51] local.INFO: Extracted packet for processing {"connection_id":130310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5947"} 
[2026-07-13 07:52:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 07:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680707840001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783909316000,"timestamp_ms":1783909316000,"timestamp_seconds":1783909316,"priority":1,"record_length":96,"hex_timestamp":"0000019f5947f5a0"} 
[2026-07-13 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-07-13 07:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 07:52: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-07-13 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-07-13 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-07-13 07:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:52: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-07-13 07:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680707840001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 07:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680707840001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:52:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 07:52:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680707840001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":130310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:52:51] local.INFO: GPS data processed {"connection_id":130310,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:52:51] local.INFO: Acknowledgment sent {"connection_id":130310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:53:22] local.INFO: TCP Data received {"connection_id":130102,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5947bef0012d7b0a8005e313680000015c18..."} 
[2026-07-13 07:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5947bef0012d7b0a8005e313680000015c18..."} 
[2026-07-13 07:53:22] local.INFO: Processing buffer {"connection_id":130102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5947bef0012d7b0a8005e313680000015c18..."} 
[2026-07-13 07:53:22] local.INFO: Packet analysis {"connection_id":130102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5947"} 
[2026-07-13 07:53:22] local.INFO: Extracted packet for processing {"connection_id":130102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5947"} 
[2026-07-13 07:53:22] local.INFO: GPS Element Parsed {"raw_longitude":763038336,"raw_latitude":98767720,"longitude_deg":76.3038336,"latitude_deg":9.876772,"altitude":0,"angle":348,"satellites":24,"speed":9,"hex_longitude":"2d7b0a80","hex_latitude":"05e31368","is_valid_coordinates":true} 
[2026-07-13 07: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-07-13 07:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680776192001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105595700867235840,"note":"Value kept but may cause issues"} 
[2026-07-13 07:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867376585342947328,"note":"Value kept but may cause issues"} 
[2026-07-13 07:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783909302000,"timestamp_ms":1783909302000,"timestamp_seconds":1783909302,"priority":1,"record_length":96,"hex_timestamp":"0000019f5947bef0"} 
[2026-07-13 07:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-13 07:53:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07: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-07-13 07:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680776192001,"66":13059,"97":206,"85":15104,"24":9,"16":105595700867235840,"45":8867376585342947328},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 07:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680776192001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:53:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 07:53:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105595700867235840,"km_value":105595700867235.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867376585342947328,"description":"Unknown IO ID 45"} 
[2026-07-13 07:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680776192001,"power":13059,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8867376585342947328}} 
[2026-07-13 07:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":130102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:53:22] local.INFO: GPS data processed {"connection_id":130102,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:53:22] local.INFO: Acknowledgment sent {"connection_id":130102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:53:35] local.INFO: TCP Data received {"connection_id":130103,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:53:35] local.INFO: Processing buffer {"connection_id":130103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:53:35] local.INFO: IMEI packet received {"connection_id":130103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":130103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:53:40] local.INFO: TCP Data received {"connection_id":130103,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:53:40] local.INFO: Processing buffer {"connection_id":130103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:53:40] local.INFO: IMEI packet received {"connection_id":130103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":130103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:53:41] local.INFO: TCP Data received {"connection_id":130103,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5947f5a0012d7f914005afd9380002011b24..."} 
[2026-07-13 07:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5947f5a0012d7f914005afd9380002011b24..."} 
[2026-07-13 07:53:41] local.INFO: Processing buffer {"connection_id":130103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5947f5a0012d7f914005afd9380002011b24..."} 
[2026-07-13 07:53:41] local.INFO: Packet analysis {"connection_id":130103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5947"} 
[2026-07-13 07:53:41] local.INFO: Extracted packet for processing {"connection_id":130103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5947"} 
[2026-07-13 07:53:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680707840001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783909316000,"timestamp_ms":1783909316000,"timestamp_seconds":1783909316,"priority":1,"record_length":96,"hex_timestamp":"0000019f5947f5a0"} 
[2026-07-13 07:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 07:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680707840001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 07:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680707840001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:53:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 07:53:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680707840001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":130103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:53:41] local.INFO: GPS data processed {"connection_id":130103,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:53:41] local.INFO: Acknowledgment sent {"connection_id":130103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:53:47] local.INFO: TCP Data received {"connection_id":130104,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:53:47] local.INFO: Processing buffer {"connection_id":130104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:53:47] local.INFO: IMEI packet received {"connection_id":130104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":130104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:53:48] local.INFO: TCP Data received {"connection_id":130104,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:53:48] local.INFO: Processing buffer {"connection_id":130104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:53:48] local.INFO: IMEI packet received {"connection_id":130104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":130104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:53:53] local.INFO: TCP Data received {"connection_id":130104,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:53:53] local.INFO: Processing buffer {"connection_id":130104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:53:53] local.INFO: IMEI packet received {"connection_id":130104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":130104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:53:54] local.INFO: TCP Data received {"connection_id":130104,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59480928012d7b060005e329180000000019..."} 
[2026-07-13 07:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59480928012d7b060005e329180000000019..."} 
[2026-07-13 07:53:54] local.INFO: Processing buffer {"connection_id":130104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59480928012d7b060005e329180000000019..."} 
[2026-07-13 07:53:54] local.INFO: Packet analysis {"connection_id":130104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5948"} 
[2026-07-13 07:53:54] local.INFO: Extracted packet for processing {"connection_id":130104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5948"} 
[2026-07-13 07:53:54] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98773272,"longitude_deg":76.3037184,"latitude_deg":9.8773272,"altitude":0,"angle":0,"satellites":25,"speed":10,"hex_longitude":"2d7b0600","hex_latitude":"05e32918","is_valid_coordinates":true} 
[2026-07-13 07:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680781312001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105595975745142784,"note":"Value kept but may cause issues"} 
[2026-07-13 07:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866039579205134336,"note":"Value kept but may cause issues"} 
[2026-07-13 07:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783909321000,"timestamp_ms":1783909321000,"timestamp_seconds":1783909321,"priority":1,"record_length":96,"hex_timestamp":"0000019f59480928"} 
[2026-07-13 07:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-13 07:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166284418471,"note":"Value kept but may cause issues"} 
[2026-07-13 07:53:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 07:53:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3796365312,"note":"Value kept but may cause issues"} 
[2026-07-13 07:53:54] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2617245696,"note":"Value kept but may cause issues"} 
[2026-07-13 07:53:54] local.WARNING: Large IO value detected {"io_id":226,"raw_value":2379743245,"note":"Value kept but may cause issues"} 
[2026-07-13 07:53:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791309518,"corrected_to":0} 
[2026-07-13 07:53:54] local.WARNING: Large IO value detected {"io_id":169,"raw_value":58077557095399448,"note":"Value kept but may cause issues"} 
[2026-07-13 07:53:54] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,97,85,24,241,157,16,38,159,112,45,64,251,5,20,10,66,96,77,192,217,8,25,46,1,240,79,227,37,89,226,4,113,205,33,224,248,29,239,51,169,2,119,14],"length":486,"final_offset":616,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2791309518,"validated":0}]} 
[2026-07-13 07:53:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":382733126270976,"timestamp_seconds":382733126270.976,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 07:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680781312001,"66":13135,"97":206,"85":15104,"24":10,"16":105595975745142784,"45":8866039579205134336},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 07:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680781312001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:53:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 07:53:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105595975745142784,"km_value":105595975745142.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866039579205134336,"description":"Unknown IO ID 45"} 
[2026-07-13 07:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680781312001,"power":13135,"unknown_97":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8866039579205134336}} 
[2026-07-13 07:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":130104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:53:54] local.INFO: GPS data processed {"connection_id":130104,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:53:54] local.INFO: Acknowledgment sent {"connection_id":130104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:54:12] local.INFO: TCP Data received {"connection_id":130103,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5947f5a0012d7f914005afd9380002011b24..."} 
[2026-07-13 07:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5947f5a0012d7f914005afd9380002011b24..."} 
[2026-07-13 07:54:12] local.INFO: Processing buffer {"connection_id":130103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5947f5a0012d7f914005afd9380002011b24..."} 
[2026-07-13 07:54:12] local.INFO: Packet analysis {"connection_id":130103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5947"} 
[2026-07-13 07:54:12] local.INFO: Extracted packet for processing {"connection_id":130103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5947"} 
[2026-07-13 07:54:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680707840001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783909316000,"timestamp_ms":1783909316000,"timestamp_seconds":1783909316,"priority":1,"record_length":96,"hex_timestamp":"0000019f5947f5a0"} 
[2026-07-13 07:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 07:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680707840001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 07:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680707840001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:54:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 07:54:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680707840001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":130103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:54:12] local.INFO: GPS data processed {"connection_id":130103,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:54:12] local.INFO: Acknowledgment sent {"connection_id":130103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:54:35] local.INFO: TCP Data received {"connection_id":130104,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59483038012d7b050005e335280001015d1f..."} 
[2026-07-13 07:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59483038012d7b050005e335280001015d1f..."} 
[2026-07-13 07:54:35] local.INFO: Processing buffer {"connection_id":130104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59483038012d7b050005e335280001015d1f..."} 
[2026-07-13 07:54:35] local.INFO: Packet analysis {"connection_id":130104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5948"} 
[2026-07-13 07:54:35] local.INFO: Extracted packet for processing {"connection_id":130104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5948"} 
[2026-07-13 07:54:35] local.INFO: GPS Element Parsed {"raw_longitude":763036928,"raw_latitude":98776360,"longitude_deg":76.3036928,"latitude_deg":9.877636,"altitude":1,"angle":349,"satellites":31,"speed":10,"hex_longitude":"2d7b0500","hex_latitude":"05e33528","is_valid_coordinates":true} 
[2026-07-13 07:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680786176001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105596126068998144,"note":"Value kept but may cause issues"} 
[2026-07-13 07:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941811357696,"note":"Value kept but may cause issues"} 
[2026-07-13 07:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783909331000,"timestamp_ms":1783909331000,"timestamp_seconds":1783909331,"priority":1,"record_length":96,"hex_timestamp":"0000019f59483038"} 
[2026-07-13 07:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:54: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-07-13 07: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-13 07:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:54: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-07-13 07:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680786176001,"66":12906,"97":206,"85":15104,"24":10,"16":105596126068998144,"45":8864772941811357696},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 07:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680786176001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:54:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 07:54:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105596126068998144,"km_value":105596126068998.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941811357696,"description":"Unknown IO ID 45"} 
[2026-07-13 07:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680786176001,"power":12906,"unknown_97":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8864772941811357696}} 
[2026-07-13 07:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":130104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478900,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:54:35] local.INFO: GPS data processed {"connection_id":130104,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:54:35] local.INFO: Acknowledgment sent {"connection_id":130104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:54:35] local.INFO: TCP Data received {"connection_id":131108,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:54:35] local.INFO: Processing buffer {"connection_id":131108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:54:35] local.INFO: IMEI packet received {"connection_id":131108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":131108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:54:40] local.INFO: TCP Data received {"connection_id":131108,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:54:40] local.INFO: Processing buffer {"connection_id":131108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:54:40] local.INFO: IMEI packet received {"connection_id":131108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":131108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:54:41] local.INFO: TCP Data received {"connection_id":131108,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5947f5a0012d7f914005afd9380002011b24..."} 
[2026-07-13 07:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5947f5a0012d7f914005afd9380002011b24..."} 
[2026-07-13 07:54:41] local.INFO: Processing buffer {"connection_id":131108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5947f5a0012d7f914005afd9380002011b24..."} 
[2026-07-13 07:54:41] local.INFO: Packet analysis {"connection_id":131108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5947"} 
[2026-07-13 07:54:41] local.INFO: Extracted packet for processing {"connection_id":131108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5947"} 
[2026-07-13 07:54:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680707840001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783909316000,"timestamp_ms":1783909316000,"timestamp_seconds":1783909316,"priority":1,"record_length":96,"hex_timestamp":"0000019f5947f5a0"} 
[2026-07-13 07:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 07:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680707840001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 07:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680707840001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:54:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 07:54:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680707840001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":131108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:54:41] local.INFO: GPS data processed {"connection_id":131108,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:54:41] local.INFO: Acknowledgment sent {"connection_id":131108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:54:45] local.INFO: TCP Data received {"connection_id":130312,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:54:45] local.INFO: Processing buffer {"connection_id":130312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:54:45] local.INFO: IMEI packet received {"connection_id":130312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":130312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:54:48] local.INFO: TCP Data received {"connection_id":130312,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:54:48] local.INFO: Processing buffer {"connection_id":130312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:54:48] local.INFO: IMEI packet received {"connection_id":130312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":130312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:54:50] local.INFO: TCP Data received {"connection_id":130312,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f594a33d8012d7ac08005e41d80000b013b22..."} 
[2026-07-13 07:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f594a33d8012d7ac08005e41d80000b013b22..."} 
[2026-07-13 07:54:50] local.INFO: Processing buffer {"connection_id":130312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f594a33d8012d7ac08005e41d80000b013b22..."} 
[2026-07-13 07:54:50] local.INFO: Packet analysis {"connection_id":130312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f594a"} 
[2026-07-13 07:54:50] local.INFO: Extracted packet for processing {"connection_id":130312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f594a"} 
[2026-07-13 07:54:50] local.INFO: GPS Element Parsed {"raw_longitude":763019392,"raw_latitude":98835840,"longitude_deg":76.3019392,"latitude_deg":9.883584,"altitude":11,"angle":315,"satellites":34,"speed":33,"hex_longitude":"2d7ac080","hex_latitude":"05e41d80","is_valid_coordinates":true} 
[2026-07-13 07:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680820992001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105599175495778304,"note":"Value kept but may cause issues"} 
[2026-07-13 07:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848306655688990720,"note":"Value kept but may cause issues"} 
[2026-07-13 07:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783909463000,"timestamp_ms":1783909463000,"timestamp_seconds":1783909463,"priority":1,"record_length":96,"hex_timestamp":"0000019f594a33d8"} 
[2026-07-13 07:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-13 07:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680820992001,"66":13276,"97":206,"85":15104,"24":33,"16":105599175495778304,"45":8848306655688990720},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 07:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680820992001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:54:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 07:54:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105599175495778304,"km_value":105599175495778.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848306655688990720,"description":"Unknown IO ID 45"} 
[2026-07-13 07:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680820992001,"power":13276,"unknown_97":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8848306655688990720}} 
[2026-07-13 07:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":130312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:54:50] local.INFO: GPS data processed {"connection_id":130312,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:54:50] local.INFO: Acknowledgment sent {"connection_id":130312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:55:11] local.INFO: TCP Data received {"connection_id":130311,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:55:11] local.INFO: Processing buffer {"connection_id":130311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:55:11] local.INFO: IMEI packet received {"connection_id":130311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 07:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":130311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:55:12] local.INFO: TCP Data received {"connection_id":131108,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5947f5a0012d7f914005afd9380002011b24..."} 
[2026-07-13 07:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5947f5a0012d7f914005afd9380002011b24..."} 
[2026-07-13 07:55:12] local.INFO: Processing buffer {"connection_id":131108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5947f5a0012d7f914005afd9380002011b24..."} 
[2026-07-13 07:55:12] local.INFO: Packet analysis {"connection_id":131108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5947"} 
[2026-07-13 07:55:12] local.INFO: Extracted packet for processing {"connection_id":131108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5947"} 
[2026-07-13 07:55:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680707840001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783909316000,"timestamp_ms":1783909316000,"timestamp_seconds":1783909316,"priority":1,"record_length":96,"hex_timestamp":"0000019f5947f5a0"} 
[2026-07-13 07:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 07:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680707840001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 07:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680707840001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:55:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 07:55:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680707840001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":131108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:55:12] local.INFO: GPS data processed {"connection_id":131108,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:55:12] local.INFO: Acknowledgment sent {"connection_id":131108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:55:35] local.INFO: TCP Data received {"connection_id":130312,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f594a5ae8012d7aa54005e435c8000b013723..."} 
[2026-07-13 07:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f594a5ae8012d7aa54005e435c8000b013723..."} 
[2026-07-13 07:55:35] local.INFO: Processing buffer {"connection_id":130312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f594a5ae8012d7aa54005e435c8000b013723..."} 
[2026-07-13 07:55:35] local.INFO: Packet analysis {"connection_id":130312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f594a"} 
[2026-07-13 07:55:35] local.INFO: Extracted packet for processing {"connection_id":130312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f594a"} 
[2026-07-13 07:55:35] local.INFO: GPS Element Parsed {"raw_longitude":763012416,"raw_latitude":98842056,"longitude_deg":76.3012416,"latitude_deg":9.8842056,"altitude":11,"angle":311,"satellites":35,"speed":32,"hex_longitude":"2d7aa540","hex_latitude":"05e435c8","is_valid_coordinates":true} 
[2026-07-13 07:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680822528001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105599626467344384,"note":"Value kept but may cause issues"} 
[2026-07-13 07:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8845210430945984512,"note":"Value kept but may cause issues"} 
[2026-07-13 07:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783909473000,"timestamp_ms":1783909473000,"timestamp_seconds":1783909473,"priority":1,"record_length":96,"hex_timestamp":"0000019f594a5ae8"} 
[2026-07-13 07:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:55: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-07-13 07:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-13 07:55: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-07-13 07:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:55: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-07-13 07:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680822528001,"66":13276,"97":206,"85":15104,"24":32,"16":105599626467344384,"45":8845210430945984512},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 07:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680822528001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:55:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 07:55:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105599626467344384,"km_value":105599626467344.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8845210430945984512,"description":"Unknown IO ID 45"} 
[2026-07-13 07:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680822528001,"power":13276,"unknown_97":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8845210430945984512}} 
[2026-07-13 07:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":130312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478904,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:55:35] local.INFO: GPS data processed {"connection_id":130312,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:55:35] local.INFO: Acknowledgment sent {"connection_id":130312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:55:35] local.INFO: TCP Data received {"connection_id":130105,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:55:35] local.INFO: Processing buffer {"connection_id":130105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:55:35] local.INFO: IMEI packet received {"connection_id":130105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":130105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:55:40] local.INFO: TCP Data received {"connection_id":132428,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:55:40] local.INFO: Processing buffer {"connection_id":132428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 07:55:40] local.INFO: IMEI packet received {"connection_id":132428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 07:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":132428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:55:40] local.INFO: TCP Data received {"connection_id":130105,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:55:40] local.INFO: Processing buffer {"connection_id":130105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:55:40] local.INFO: IMEI packet received {"connection_id":130105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":130105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:55:41] local.INFO: TCP Data received {"connection_id":130105,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5947f5a0012d7f914005afd9380002011b24..."} 
[2026-07-13 07:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5947f5a0012d7f914005afd9380002011b24..."} 
[2026-07-13 07:55:41] local.INFO: Processing buffer {"connection_id":130105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5947f5a0012d7f914005afd9380002011b24..."} 
[2026-07-13 07:55:41] local.INFO: Packet analysis {"connection_id":130105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5947"} 
[2026-07-13 07:55:41] local.INFO: Extracted packet for processing {"connection_id":130105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5947"} 
[2026-07-13 07:55:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680707840001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783909316000,"timestamp_ms":1783909316000,"timestamp_seconds":1783909316,"priority":1,"record_length":96,"hex_timestamp":"0000019f5947f5a0"} 
[2026-07-13 07:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 07:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680707840001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 07:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680707840001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:55:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 07:55:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680707840001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":130105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:55:41] local.INFO: GPS data processed {"connection_id":130105,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:55:41] local.INFO: Acknowledgment sent {"connection_id":130105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:55:43] local.INFO: TCP Data received {"connection_id":131109,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131109,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:55:43] local.INFO: Processing buffer {"connection_id":131109,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:55:43] local.INFO: IMEI packet received {"connection_id":131109,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":131109,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:55:46] local.INFO: TCP Data received {"connection_id":131109,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131109,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:55:46] local.INFO: Processing buffer {"connection_id":131109,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:55:46] local.INFO: IMEI packet received {"connection_id":131109,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":131109,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:55:48] local.INFO: TCP Data received {"connection_id":131109,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131109,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:55:48] local.INFO: Processing buffer {"connection_id":131109,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:55:48] local.INFO: IMEI packet received {"connection_id":131109,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":131109,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:55:49] local.INFO: TCP Data received {"connection_id":131109,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f594a8db0012d7a898005e44c00000b013524..."} 
[2026-07-13 07:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f594a8db0012d7a898005e44c00000b013524..."} 
[2026-07-13 07:55:49] local.INFO: Processing buffer {"connection_id":131109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f594a8db0012d7a898005e44c00000b013524..."} 
[2026-07-13 07:55:49] local.INFO: Packet analysis {"connection_id":131109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f594a"} 
[2026-07-13 07:55:49] local.INFO: Extracted packet for processing {"connection_id":131109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f594a"} 
[2026-07-13 07:55:49] local.INFO: GPS Element Parsed {"raw_longitude":763005312,"raw_latitude":98847744,"longitude_deg":76.3005312,"latitude_deg":9.8847744,"altitude":11,"angle":309,"satellites":36,"speed":32,"hex_longitude":"2d7a8980","hex_latitude":"05e44c00","is_valid_coordinates":true} 
[2026-07-13 07:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680825088001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105600064554008576,"note":"Value kept but may cause issues"} 
[2026-07-13 07:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837540237832210432,"note":"Value kept but may cause issues"} 
[2026-07-13 07:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783909486000,"timestamp_ms":1783909486000,"timestamp_seconds":1783909486,"priority":1,"record_length":96,"hex_timestamp":"0000019f594a8db0"} 
[2026-07-13 07:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 07: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-13 07:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680825088001,"66":13222,"97":206,"85":15104,"24":32,"16":105600064554008576,"45":8837540237832210432},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 07:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680825088001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:55:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 07:55:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105600064554008576,"km_value":105600064554008.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837540237832210432,"description":"Unknown IO ID 45"} 
[2026-07-13 07:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680825088001,"power":13222,"unknown_97":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8837540237832210432}} 
[2026-07-13 07:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":131109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478906,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:55:49] local.INFO: GPS data processed {"connection_id":131109,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:55:49] local.INFO: Acknowledgment sent {"connection_id":131109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:56:12] local.INFO: TCP Data received {"connection_id":130105,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5947f5a0012d7f914005afd9380002011b24..."} 
[2026-07-13 07:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5947f5a0012d7f914005afd9380002011b24..."} 
[2026-07-13 07:56:12] local.INFO: Processing buffer {"connection_id":130105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5947f5a0012d7f914005afd9380002011b24..."} 
[2026-07-13 07:56:12] local.INFO: Packet analysis {"connection_id":130105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5947"} 
[2026-07-13 07:56:12] local.INFO: Extracted packet for processing {"connection_id":130105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5947"} 
[2026-07-13 07:56:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680707840001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783909316000,"timestamp_ms":1783909316000,"timestamp_seconds":1783909316,"priority":1,"record_length":96,"hex_timestamp":"0000019f5947f5a0"} 
[2026-07-13 07:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 07:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680707840001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 07:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680707840001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:56:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 07:56:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680707840001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":130105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:56:12] local.INFO: GPS data processed {"connection_id":130105,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:56:12] local.INFO: Acknowledgment sent {"connection_id":130105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:56:29] local.INFO: TCP Data received {"connection_id":131109,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f594ab8a8012d7a6cc005e462f80008013423..."} 
[2026-07-13 07:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f594ab8a8012d7a6cc005e462f80008013423..."} 
[2026-07-13 07:56:29] local.INFO: Processing buffer {"connection_id":131109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f594ab8a8012d7a6cc005e462f80008013423..."} 
[2026-07-13 07:56:29] local.INFO: Packet analysis {"connection_id":131109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f594a"} 
[2026-07-13 07:56:29] local.INFO: Extracted packet for processing {"connection_id":131109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f594a"} 
[2026-07-13 07:56:29] local.INFO: GPS Element Parsed {"raw_longitude":762997952,"raw_latitude":98853624,"longitude_deg":76.2997952,"latitude_deg":9.8853624,"altitude":8,"angle":308,"satellites":35,"speed":32,"hex_longitude":"2d7a6cc0","hex_latitude":"05e462f8","is_valid_coordinates":true} 
[2026-07-13 07:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680828416001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105600515525574656,"note":"Value kept but may cause issues"} 
[2026-07-13 07:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8829729307229945856,"note":"Value kept but may cause issues"} 
[2026-07-13 07:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783909497000,"timestamp_ms":1783909497000,"timestamp_seconds":1783909497,"priority":1,"record_length":96,"hex_timestamp":"0000019f594ab8a8"} 
[2026-07-13 07:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:56: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-07-13 07:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-13 07:56:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:56:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":131109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":131109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":131109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 07:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 07:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 07:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680828416001,"66":13276,"97":206,"85":15104,"24":32,"16":105600515525574656,"45":8829729307229945856},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 07:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 07:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 07:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680828416001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:56:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 07:56:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 07:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105600515525574656,"km_value":105600515525574.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8829729307229945856,"description":"Unknown IO ID 45"} 
[2026-07-13 07:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680828416001,"power":13276,"unknown_97":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8829729307229945856}} 
[2026-07-13 07:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":131109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:56:29] local.INFO: GPS data processed {"connection_id":131109,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:56:29] local.INFO: Acknowledgment sent {"connection_id":131109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:56:35] local.INFO: TCP Data received {"connection_id":132429,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:56:35] local.INFO: Processing buffer {"connection_id":132429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:56:35] local.INFO: IMEI packet received {"connection_id":132429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":132429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:56:40] local.INFO: TCP Data received {"connection_id":132429,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:56:40] local.INFO: Processing buffer {"connection_id":132429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:56:40] local.INFO: IMEI packet received {"connection_id":132429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":132429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:56:41] local.INFO: TCP Data received {"connection_id":132429,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5947f5a0012d7f914005afd9380002011b24..."} 
[2026-07-13 07:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5947f5a0012d7f914005afd9380002011b24..."} 
[2026-07-13 07:56:41] local.INFO: Processing buffer {"connection_id":132429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5947f5a0012d7f914005afd9380002011b24..."} 
[2026-07-13 07:56:41] local.INFO: Packet analysis {"connection_id":132429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5947"} 
[2026-07-13 07:56:41] local.INFO: Extracted packet for processing {"connection_id":132429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5947"} 
[2026-07-13 07:56:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680707840001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783909316000,"timestamp_ms":1783909316000,"timestamp_seconds":1783909316,"priority":1,"record_length":96,"hex_timestamp":"0000019f5947f5a0"} 
[2026-07-13 07:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 07:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680707840001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 07:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680707840001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:56:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 07:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680707840001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":132429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:56:41] local.INFO: GPS data processed {"connection_id":132429,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:56:41] local.INFO: Acknowledgment sent {"connection_id":132429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:56:45] local.INFO: TCP Data received {"connection_id":130106,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:56:45] local.INFO: Processing buffer {"connection_id":130106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:56:45] local.INFO: IMEI packet received {"connection_id":130106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 07:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":130106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:56:46] local.INFO: TCP Data received {"connection_id":130106,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:56:46] local.INFO: Processing buffer {"connection_id":130106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:56:46] local.INFO: IMEI packet received {"connection_id":130106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":130106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:56:47] local.INFO: TCP Data received {"connection_id":130106,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:56:47] local.INFO: Processing buffer {"connection_id":130106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:56:47] local.INFO: IMEI packet received {"connection_id":130106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":130106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:56:48] local.INFO: TCP Data received {"connection_id":130106,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:56:48] local.INFO: Processing buffer {"connection_id":130106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 07:56:48] local.INFO: IMEI packet received {"connection_id":130106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 07:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":130106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:57:13] local.INFO: TCP Data received {"connection_id":132429,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5947f5a0012d7f914005afd9380002011b24..."} 
[2026-07-13 07:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5947f5a0012d7f914005afd9380002011b24..."} 
[2026-07-13 07:57:13] local.INFO: Processing buffer {"connection_id":132429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5947f5a0012d7f914005afd9380002011b24..."} 
[2026-07-13 07:57:13] local.INFO: Packet analysis {"connection_id":132429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5947"} 
[2026-07-13 07:57:13] local.INFO: Extracted packet for processing {"connection_id":132429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5947"} 
[2026-07-13 07:57:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680707840001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783909316000,"timestamp_ms":1783909316000,"timestamp_seconds":1783909316,"priority":1,"record_length":96,"hex_timestamp":"0000019f5947f5a0"} 
[2026-07-13 07:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 07:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680707840001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 07:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680707840001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:57:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 07:57:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680707840001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":132429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:57:13] local.INFO: GPS data processed {"connection_id":132429,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:57:13] local.INFO: Acknowledgment sent {"connection_id":132429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:57:40] local.INFO: TCP Data received {"connection_id":130313,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:57:40] local.INFO: Processing buffer {"connection_id":130313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:57:40] local.INFO: IMEI packet received {"connection_id":130313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":130313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:57:45] local.INFO: TCP Data received {"connection_id":130313,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:57:45] local.INFO: Processing buffer {"connection_id":130313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:57:45] local.INFO: IMEI packet received {"connection_id":130313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":130313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:57:46] local.INFO: TCP Data received {"connection_id":130313,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f594c8d68012d7f914005afd9380002011b1f..."} 
[2026-07-13 07:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f594c8d68012d7f914005afd9380002011b1f..."} 
[2026-07-13 07:57:46] local.INFO: Processing buffer {"connection_id":130313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f594c8d68012d7f914005afd9380002011b1f..."} 
[2026-07-13 07:57:46] local.INFO: Packet analysis {"connection_id":130313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f594c"} 
[2026-07-13 07:57:46] local.INFO: Extracted packet for processing {"connection_id":130313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f594c"} 
[2026-07-13 07:57:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680784896001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783909617000,"timestamp_ms":1783909617000,"timestamp_seconds":1783909617,"priority":1,"record_length":96,"hex_timestamp":"0000019f594c8d68"} 
[2026-07-13 07:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 07:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680784896001,"66":25201,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 07:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680784896001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:57:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 07:57:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680784896001,"power":25201,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":130313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:57:46] local.INFO: GPS data processed {"connection_id":130313,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:57:46] local.INFO: Acknowledgment sent {"connection_id":130313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:57:51] local.INFO: TCP Data received {"connection_id":130313,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f594c8d68012d7f914005afd9380002011b1f..."} 
[2026-07-13 07:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f594c8d68012d7f914005afd9380002011b1f..."} 
[2026-07-13 07:57:51] local.INFO: Processing buffer {"connection_id":130313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f594c8d68012d7f914005afd9380002011b1f..."} 
[2026-07-13 07:57:51] local.INFO: Packet analysis {"connection_id":130313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f594c"} 
[2026-07-13 07:57:51] local.INFO: Extracted packet for processing {"connection_id":130313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f594c"} 
[2026-07-13 07:57:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680784896001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783909617000,"timestamp_ms":1783909617000,"timestamp_seconds":1783909617,"priority":1,"record_length":96,"hex_timestamp":"0000019f594c8d68"} 
[2026-07-13 07:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 07:57: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-07-13 07:57:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:57: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-07-13 07:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680784896001,"66":25201,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 07:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680784896001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:57:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 07:57:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680784896001,"power":25201,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":130313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:57:51] local.INFO: GPS data processed {"connection_id":130313,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:57:51] local.INFO: Acknowledgment sent {"connection_id":130313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:58:36] local.INFO: TCP Data received {"connection_id":132431,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:58:36] local.INFO: Processing buffer {"connection_id":132431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:58:36] local.INFO: IMEI packet received {"connection_id":132431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":132431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:58:40] local.INFO: TCP Data received {"connection_id":132431,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:58:40] local.INFO: Processing buffer {"connection_id":132431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:58:40] local.INFO: IMEI packet received {"connection_id":132431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":132431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:58:41] local.INFO: TCP Data received {"connection_id":132431,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f594c8d68012d7f914005afd9380002011b1f..."} 
[2026-07-13 07:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f594c8d68012d7f914005afd9380002011b1f..."} 
[2026-07-13 07:58:41] local.INFO: Processing buffer {"connection_id":132431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f594c8d68012d7f914005afd9380002011b1f..."} 
[2026-07-13 07:58:41] local.INFO: Packet analysis {"connection_id":132431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f594c"} 
[2026-07-13 07:58:41] local.INFO: Extracted packet for processing {"connection_id":132431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f594c"} 
[2026-07-13 07:58:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680784896001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783909617000,"timestamp_ms":1783909617000,"timestamp_seconds":1783909617,"priority":1,"record_length":96,"hex_timestamp":"0000019f594c8d68"} 
[2026-07-13 07:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 07:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680784896001,"66":25201,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 07:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680784896001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:58:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 07:58:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680784896001,"power":25201,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":132431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:58:41] local.INFO: GPS data processed {"connection_id":132431,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:58:41] local.INFO: Acknowledgment sent {"connection_id":132431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:59:12] local.INFO: TCP Data received {"connection_id":132431,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f594c8d68012d7f914005afd9380002011b1f..."} 
[2026-07-13 07:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f594c8d68012d7f914005afd9380002011b1f..."} 
[2026-07-13 07:59:12] local.INFO: Processing buffer {"connection_id":132431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f594c8d68012d7f914005afd9380002011b1f..."} 
[2026-07-13 07:59:12] local.INFO: Packet analysis {"connection_id":132431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f594c"} 
[2026-07-13 07:59:12] local.INFO: Extracted packet for processing {"connection_id":132431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f594c"} 
[2026-07-13 07:59:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680784896001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783909617000,"timestamp_ms":1783909617000,"timestamp_seconds":1783909617,"priority":1,"record_length":96,"hex_timestamp":"0000019f594c8d68"} 
[2026-07-13 07:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 07:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680784896001,"66":25201,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 07:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680784896001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:59:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 07:59:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680784896001,"power":25201,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":132431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:59:12] local.INFO: GPS data processed {"connection_id":132431,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:59:12] local.INFO: Acknowledgment sent {"connection_id":132431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 07:59:35] local.INFO: TCP Data received {"connection_id":130314,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:59:35] local.INFO: Processing buffer {"connection_id":130314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:59:35] local.INFO: IMEI packet received {"connection_id":130314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 07:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":130314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 07:59:40] local.INFO: TCP Data received {"connection_id":130314,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:59:40] local.INFO: Processing buffer {"connection_id":130314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 07:59:40] local.INFO: IMEI packet received {"connection_id":130314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 07:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":130314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 07:59:41] local.INFO: TCP Data received {"connection_id":130314,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f594c8d68012d7f914005afd9380002011b1f..."} 
[2026-07-13 07:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f594c8d68012d7f914005afd9380002011b1f..."} 
[2026-07-13 07:59:41] local.INFO: Processing buffer {"connection_id":130314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f594c8d68012d7f914005afd9380002011b1f..."} 
[2026-07-13 07:59:41] local.INFO: Packet analysis {"connection_id":130314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f594c"} 
[2026-07-13 07:59:41] local.INFO: Extracted packet for processing {"connection_id":130314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f594c"} 
[2026-07-13 07:59:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 07:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 07:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680784896001,"note":"Value kept but may cause issues"} 
[2026-07-13 07:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 07:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 07:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 07:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783909617000,"timestamp_ms":1783909617000,"timestamp_seconds":1783909617,"priority":1,"record_length":96,"hex_timestamp":"0000019f594c8d68"} 
[2026-07-13 07:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 07:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 07:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 07:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 07:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 07:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 07:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 07:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 07:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 07:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 07:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 07:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 07:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680784896001,"66":25201,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 07:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 07:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 07:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680784896001,"description":"Unknown IO ID 0"} 
[2026-07-13 07:59:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 07:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 07:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 07:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 07:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680784896001,"power":25201,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 07:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":130314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 07:59:41] local.INFO: GPS data processed {"connection_id":130314,"processed":1,"errors":0,"total":1} 
[2026-07-13 07:59:41] local.INFO: Acknowledgment sent {"connection_id":130314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:00:12] local.INFO: TCP Data received {"connection_id":130314,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f594c8d68012d7f914005afd9380002011b1f..."} 
[2026-07-13 08:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f594c8d68012d7f914005afd9380002011b1f..."} 
[2026-07-13 08:00:12] local.INFO: Processing buffer {"connection_id":130314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f594c8d68012d7f914005afd9380002011b1f..."} 
[2026-07-13 08:00:12] local.INFO: Packet analysis {"connection_id":130314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f594c"} 
[2026-07-13 08:00:12] local.INFO: Extracted packet for processing {"connection_id":130314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f594c"} 
[2026-07-13 08:00:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680784896001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783909617000,"timestamp_ms":1783909617000,"timestamp_seconds":1783909617,"priority":1,"record_length":96,"hex_timestamp":"0000019f594c8d68"} 
[2026-07-13 08:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680784896001,"66":25201,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680784896001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:00:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:00:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680784896001,"power":25201,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":130314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:00:12] local.INFO: GPS data processed {"connection_id":130314,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:00:12] local.INFO: Acknowledgment sent {"connection_id":130314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:00:35] local.INFO: TCP Data received {"connection_id":131110,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:00:35] local.INFO: Processing buffer {"connection_id":131110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:00:35] local.INFO: IMEI packet received {"connection_id":131110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":131110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:00:40] local.INFO: TCP Data received {"connection_id":131110,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:00:40] local.INFO: Processing buffer {"connection_id":131110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:00:40] local.INFO: IMEI packet received {"connection_id":131110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":131110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:00:41] local.INFO: TCP Data received {"connection_id":131110,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f594c8d68012d7f914005afd9380002011b1f..."} 
[2026-07-13 08:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f594c8d68012d7f914005afd9380002011b1f..."} 
[2026-07-13 08:00:41] local.INFO: Processing buffer {"connection_id":131110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f594c8d68012d7f914005afd9380002011b1f..."} 
[2026-07-13 08:00:41] local.INFO: Packet analysis {"connection_id":131110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f594c"} 
[2026-07-13 08:00:41] local.INFO: Extracted packet for processing {"connection_id":131110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f594c"} 
[2026-07-13 08:00:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680784896001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783909617000,"timestamp_ms":1783909617000,"timestamp_seconds":1783909617,"priority":1,"record_length":96,"hex_timestamp":"0000019f594c8d68"} 
[2026-07-13 08:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680784896001,"66":25201,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680784896001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:00:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:00:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680784896001,"power":25201,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":131110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:00:41] local.INFO: GPS data processed {"connection_id":131110,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:00:41] local.INFO: Acknowledgment sent {"connection_id":131110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:01:06] local.INFO: TCP Data received {"connection_id":132433,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132433,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:01:06] local.INFO: Processing buffer {"connection_id":132433,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:01:06] local.INFO: IMEI packet received {"connection_id":132433,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 08:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":132433,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:01:12] local.INFO: TCP Data received {"connection_id":131110,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f594c8d68012d7f914005afd9380002011b1f..."} 
[2026-07-13 08:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f594c8d68012d7f914005afd9380002011b1f..."} 
[2026-07-13 08:01:12] local.INFO: Processing buffer {"connection_id":131110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f594c8d68012d7f914005afd9380002011b1f..."} 
[2026-07-13 08:01:12] local.INFO: Packet analysis {"connection_id":131110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f594c"} 
[2026-07-13 08:01:12] local.INFO: Extracted packet for processing {"connection_id":131110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f594c"} 
[2026-07-13 08:01:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680784896001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783909617000,"timestamp_ms":1783909617000,"timestamp_seconds":1783909617,"priority":1,"record_length":96,"hex_timestamp":"0000019f594c8d68"} 
[2026-07-13 08:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680784896001,"66":25201,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680784896001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:01:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:01:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680784896001,"power":25201,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":131110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:01:12] local.INFO: GPS data processed {"connection_id":131110,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:01:13] local.INFO: Acknowledgment sent {"connection_id":131110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:01:35] local.INFO: TCP Data received {"connection_id":131111,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:01:35] local.INFO: Processing buffer {"connection_id":131111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:01:35] local.INFO: IMEI packet received {"connection_id":131111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":131111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:01:40] local.INFO: TCP Data received {"connection_id":131111,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:01:40] local.INFO: Processing buffer {"connection_id":131111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:01:40] local.INFO: IMEI packet received {"connection_id":131111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":131111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:01:41] local.INFO: TCP Data received {"connection_id":131111,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f594c8d68012d7f914005afd9380002011b1f..."} 
[2026-07-13 08:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f594c8d68012d7f914005afd9380002011b1f..."} 
[2026-07-13 08:01:41] local.INFO: Processing buffer {"connection_id":131111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f594c8d68012d7f914005afd9380002011b1f..."} 
[2026-07-13 08:01:41] local.INFO: Packet analysis {"connection_id":131111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f594c"} 
[2026-07-13 08:01:41] local.INFO: Extracted packet for processing {"connection_id":131111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f594c"} 
[2026-07-13 08:01:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680784896001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783909617000,"timestamp_ms":1783909617000,"timestamp_seconds":1783909617,"priority":1,"record_length":96,"hex_timestamp":"0000019f594c8d68"} 
[2026-07-13 08:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680784896001,"66":25201,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680784896001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:01:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:01:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680784896001,"power":25201,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":131111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:01:41] local.INFO: GPS data processed {"connection_id":131111,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:01:41] local.INFO: Acknowledgment sent {"connection_id":131111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:01:45] local.INFO: TCP Data received {"connection_id":130316,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130316,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:01:45] local.INFO: Processing buffer {"connection_id":130316,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:01:45] local.INFO: IMEI packet received {"connection_id":130316,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 08:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":130316,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:01:51] local.INFO: TCP Data received {"connection_id":130112,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:01:51] local.INFO: Processing buffer {"connection_id":130112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:01:51] local.INFO: IMEI packet received {"connection_id":130112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":130112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:01:52] local.INFO: TCP Data received {"connection_id":130112,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f595061e0012d7a778005e459a00015008626..."} 
[2026-07-13 08:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595061e0012d7a778005e459a00015008626..."} 
[2026-07-13 08:01:52] local.INFO: Processing buffer {"connection_id":130112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595061e0012d7a778005e459a00015008626..."} 
[2026-07-13 08:01:52] local.INFO: Packet analysis {"connection_id":130112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5950"} 
[2026-07-13 08:01:52] local.INFO: Extracted packet for processing {"connection_id":130112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5950"} 
[2026-07-13 08:01:52] local.INFO: GPS Element Parsed {"raw_longitude":763000704,"raw_latitude":98851232,"longitude_deg":76.3000704,"latitude_deg":9.8851232,"altitude":21,"angle":134,"satellites":38,"speed":9,"hex_longitude":"2d7a7780","hex_latitude":"05e459a0","is_valid_coordinates":true} 
[2026-07-13 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-07-13 08:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680923136001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105602482620596224,"note":"Value kept but may cause issues"} 
[2026-07-13 08:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8824592388906074112,"note":"Value kept but may cause issues"} 
[2026-07-13 08:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783909868000,"timestamp_ms":1783909868000,"timestamp_seconds":1783909868,"priority":1,"record_length":96,"hex_timestamp":"0000019f595061e0"} 
[2026-07-13 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-07-13 08:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-13 08:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-13 08:01:52] local.WARNING: Large IO value detected {"io_id":87,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-13 08:01:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 08:01:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3690987520,"note":"Value kept but may cause issues"} 
[2026-07-13 08:01:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277062795725921472,"note":"Value kept but may cause issues"} 
[2026-07-13 08:01:52] local.WARNING: Large IO value detected {"io_id":228,"raw_value":6683341915745035776,"note":"Value kept but may cause issues"} 
[2026-07-13 08:01:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298071758,"corrected_to":0} 
[2026-07-13 08:01:52] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3623955834,"note":"Value kept but may cause issues"} 
[2026-07-13 08:01:52] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024886,"note":"Value kept but may cause issues"} 
[2026-07-13 08:01:52] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831283712,"note":"Value kept but may cause issues"} 
[2026-07-13 08:01:52] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":57762418176972592,"corrected_to":0} 
[2026-07-13 08:01:52] local.WARNING: Large IO value detected {"io_id":77,"raw_value":6845698307566606336,"note":"Value kept but may cause issues"} 
[2026-07-13 08:01:52] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,31,87,24,241,157,16,44,159,224,45,64,92,38,10,66,142,36,95,60,1,240,160,227,89,228,4,113,205,152,119,192,37,239,52,2,5,203,77],"length":626,"final_offset":756,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1298071758,"validated":0},{"io_id":203,"original":57762418176972592,"validated":0}]} 
[2026-07-13 08:01:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153051414482649088,"timestamp_seconds":1153051414482649.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 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-07-13 08:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":130112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":130112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":130112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680923136001,"66":12917,"31":206,"87":13824,"24":9,"16":105602482620596224,"45":8824592388906074112},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-07-13 08:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680923136001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:01:52] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-13 08:01:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105602482620596224,"km_value":105602482620596.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8824592388906074112,"description":"Unknown IO ID 45"} 
[2026-07-13 08:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680923136001,"power":12917,"unknown_31":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8824592388906074112}} 
[2026-07-13 08:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":130112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478920,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:01:52] local.INFO: GPS data processed {"connection_id":130112,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:01:52] local.INFO: Acknowledgment sent {"connection_id":130112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:02:12] local.INFO: TCP Data received {"connection_id":131111,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f594c8d68012d7f914005afd9380002011b1f..."} 
[2026-07-13 08:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f594c8d68012d7f914005afd9380002011b1f..."} 
[2026-07-13 08:02:12] local.INFO: Processing buffer {"connection_id":131111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f594c8d68012d7f914005afd9380002011b1f..."} 
[2026-07-13 08:02:12] local.INFO: Packet analysis {"connection_id":131111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f594c"} 
[2026-07-13 08:02:12] local.INFO: Extracted packet for processing {"connection_id":131111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f594c"} 
[2026-07-13 08:02:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680784896001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783909617000,"timestamp_ms":1783909617000,"timestamp_seconds":1783909617,"priority":1,"record_length":96,"hex_timestamp":"0000019f594c8d68"} 
[2026-07-13 08:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680784896001,"66":25201,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680784896001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:02:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:02:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680784896001,"power":25201,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":131111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:02:12] local.INFO: GPS data processed {"connection_id":131111,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:02:12] local.INFO: Acknowledgment sent {"connection_id":131111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:02:23] local.INFO: TCP Data received {"connection_id":130112,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5950a060012d7a938005e443f80013008126..."} 
[2026-07-13 08:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5950a060012d7a938005e443f80013008126..."} 
[2026-07-13 08:02:23] local.INFO: Processing buffer {"connection_id":130112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5950a060012d7a938005e443f80013008126..."} 
[2026-07-13 08:02:23] local.INFO: Packet analysis {"connection_id":130112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5950"} 
[2026-07-13 08:02:23] local.INFO: Extracted packet for processing {"connection_id":130112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5950"} 
[2026-07-13 08:02:23] local.INFO: GPS Element Parsed {"raw_longitude":763007872,"raw_latitude":98845688,"longitude_deg":76.3007872,"latitude_deg":9.8845688,"altitude":19,"angle":129,"satellites":38,"speed":32,"hex_longitude":"2d7a9380","hex_latitude":"05e443f8","is_valid_coordinates":true} 
[2026-07-13 08:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680926208001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105602920707260416,"note":"Value kept but may cause issues"} 
[2026-07-13 08:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8824662757650046976,"note":"Value kept but may cause issues"} 
[2026-07-13 08:02: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-07-13 08:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783909884000,"timestamp_ms":1783909884000,"timestamp_seconds":1783909884,"priority":1,"record_length":96,"hex_timestamp":"0000019f5950a060"} 
[2026-07-13 08:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-13 08:02:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:02:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":130112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":130112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":130112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680926208001,"66":13341,"31":206,"87":13824,"24":32,"16":105602920707260416,"45":8824662757650046976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-07-13 08:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680926208001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:02:23] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-13 08:02:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105602920707260416,"km_value":105602920707260.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8824662757650046976,"description":"Unknown IO ID 45"} 
[2026-07-13 08:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680926208001,"power":13341,"unknown_31":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8824662757650046976}} 
[2026-07-13 08:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":130112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478922,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:02:23] local.INFO: GPS data processed {"connection_id":130112,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:02:23] local.INFO: Acknowledgment sent {"connection_id":130112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:02:36] local.INFO: TCP Data received {"connection_id":130113,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:02:36] local.INFO: Processing buffer {"connection_id":130113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:02:36] local.INFO: IMEI packet received {"connection_id":130113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":130113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:02:40] local.INFO: TCP Data received {"connection_id":130113,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:02:40] local.INFO: Processing buffer {"connection_id":130113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:02:40] local.INFO: IMEI packet received {"connection_id":130113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":130113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:02:43] local.INFO: TCP Data received {"connection_id":131112,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:02:43] local.INFO: Processing buffer {"connection_id":131112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:02:43] local.INFO: IMEI packet received {"connection_id":131112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":131112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:02:44] local.INFO: TCP Data received {"connection_id":131112,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:02:44] local.INFO: Processing buffer {"connection_id":131112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:02:44] local.INFO: IMEI packet received {"connection_id":131112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":131112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:02:45] local.INFO: TCP Data received {"connection_id":130113,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:02:45] local.INFO: Processing buffer {"connection_id":130113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:02:45] local.INFO: IMEI packet received {"connection_id":130113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":130113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:02:46] local.INFO: TCP Data received {"connection_id":130113,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f59512530012d7f914005afd9380003011b20..."} 
[2026-07-13 08:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59512530012d7f914005afd9380003011b20..."} 
[2026-07-13 08:02:46] local.INFO: Processing buffer {"connection_id":130113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59512530012d7f914005afd9380003011b20..."} 
[2026-07-13 08:02:46] local.INFO: Packet analysis {"connection_id":130113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5951"} 
[2026-07-13 08:02:46] local.INFO: Extracted packet for processing {"connection_id":130113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5951"} 
[2026-07-13 08:02:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":3,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680861952001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783909918000,"timestamp_ms":1783909918000,"timestamp_seconds":1783909918,"priority":1,"record_length":96,"hex_timestamp":"0000019f59512530"} 
[2026-07-13 08:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 08:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680861952001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680861952001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:02:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:02:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680861952001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":130113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:02:46] local.INFO: GPS data processed {"connection_id":130113,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:02:46] local.INFO: Acknowledgment sent {"connection_id":130113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:02:48] local.INFO: TCP Data received {"connection_id":131112,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:02:48] local.INFO: Processing buffer {"connection_id":131112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:02:48] local.INFO: IMEI packet received {"connection_id":131112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":131112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:02:49] local.INFO: TCP Data received {"connection_id":131112,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5950c388012d7aaf4005e42e200012008325..."} 
[2026-07-13 08:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5950c388012d7aaf4005e42e200012008325..."} 
[2026-07-13 08:02:49] local.INFO: Processing buffer {"connection_id":131112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5950c388012d7aaf4005e42e200012008325..."} 
[2026-07-13 08:02:49] local.INFO: Packet analysis {"connection_id":131112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5950"} 
[2026-07-13 08:02:49] local.INFO: Extracted packet for processing {"connection_id":131112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5950"} 
[2026-07-13 08:02:49] local.INFO: GPS Element Parsed {"raw_longitude":763014976,"raw_latitude":98840096,"longitude_deg":76.3014976,"latitude_deg":9.8840096,"altitude":18,"angle":131,"satellites":37,"speed":42,"hex_longitude":"2d7aaf40","hex_latitude":"05e42e20","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680930304001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105603354498957312,"note":"Value kept but may cause issues"} 
[2026-07-13 08:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8832544056996526080,"note":"Value kept but may cause issues"} 
[2026-07-13 08:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783909893000,"timestamp_ms":1783909893000,"timestamp_seconds":1783909893,"priority":1,"record_length":96,"hex_timestamp":"0000019f5950c388"} 
[2026-07-13 08:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-13 08:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08: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-07-13 08:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680930304001,"66":13363,"97":206,"85":15104,"24":42,"16":105603354498957312,"45":8832544056996526080},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 08:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680930304001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:02:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 08:02:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 08:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105603354498957312,"km_value":105603354498957.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8832544056996526080,"description":"Unknown IO ID 45"} 
[2026-07-13 08:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680930304001,"power":13363,"unknown_97":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8832544056996526080}} 
[2026-07-13 08:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":131112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478924,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:02:49] local.INFO: GPS data processed {"connection_id":131112,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:02:49] local.INFO: Acknowledgment sent {"connection_id":131112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:02:51] local.INFO: TCP Data received {"connection_id":130113,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f59512530012d7f914005afd9380003011b20..."} 
[2026-07-13 08:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59512530012d7f914005afd9380003011b20..."} 
[2026-07-13 08:02:51] local.INFO: Processing buffer {"connection_id":130113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59512530012d7f914005afd9380003011b20..."} 
[2026-07-13 08:02:51] local.INFO: Packet analysis {"connection_id":130113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5951"} 
[2026-07-13 08:02:51] local.INFO: Extracted packet for processing {"connection_id":130113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5951"} 
[2026-07-13 08:02:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":3,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680861952001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783909918000,"timestamp_ms":1783909918000,"timestamp_seconds":1783909918,"priority":1,"record_length":96,"hex_timestamp":"0000019f59512530"} 
[2026-07-13 08:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 08:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:02: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-07-13 08:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680861952001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680861952001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:02:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:02:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680861952001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":130113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:02:51] local.INFO: GPS data processed {"connection_id":130113,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:02:51] local.INFO: Acknowledgment sent {"connection_id":130113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:02:54] local.INFO: TCP Data received {"connection_id":131112,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5950ee80012d7ac90005e415300010008927..."} 
[2026-07-13 08:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5950ee80012d7ac90005e415300010008927..."} 
[2026-07-13 08:02:54] local.INFO: Processing buffer {"connection_id":131112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5950ee80012d7ac90005e415300010008927..."} 
[2026-07-13 08:02:54] local.INFO: Packet analysis {"connection_id":131112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5950"} 
[2026-07-13 08:02:54] local.INFO: Extracted packet for processing {"connection_id":131112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5950"} 
[2026-07-13 08:02:54] local.INFO: GPS Element Parsed {"raw_longitude":763021568,"raw_latitude":98833712,"longitude_deg":76.3021568,"latitude_deg":9.8833712,"altitude":16,"angle":137,"satellites":39,"speed":18,"hex_longitude":"2d7ac900","hex_latitude":"05e41530","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680932608001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105603792585621504,"note":"Value kept but may cause issues"} 
[2026-07-13 08:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840354987598815232,"note":"Value kept but may cause issues"} 
[2026-07-13 08:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783909904000,"timestamp_ms":1783909904000,"timestamp_seconds":1783909904,"priority":1,"record_length":96,"hex_timestamp":"0000019f5950ee80"} 
[2026-07-13 08:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-13 08:02:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08: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-07-13 08:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":131112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":131112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":131112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680932608001,"66":13406,"97":206,"85":15104,"24":18,"16":105603792585621504,"45":8840354987598815232},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 08:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680932608001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:02:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 08:02:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 08:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105603792585621504,"km_value":105603792585621.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840354987598815232,"description":"Unknown IO ID 45"} 
[2026-07-13 08:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680932608001,"power":13406,"unknown_97":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8840354987598815232}} 
[2026-07-13 08:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":131112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478926,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:02:54] local.INFO: GPS data processed {"connection_id":131112,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:02:54] local.INFO: Acknowledgment sent {"connection_id":131112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:03:25] local.INFO: TCP Data received {"connection_id":131112,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5950fa38012d7accc005e41080000f009527..."} 
[2026-07-13 08:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5950fa38012d7accc005e41080000f009527..."} 
[2026-07-13 08:03:25] local.INFO: Processing buffer {"connection_id":131112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5950fa38012d7accc005e41080000f009527..."} 
[2026-07-13 08:03:25] local.INFO: Packet analysis {"connection_id":131112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5950"} 
[2026-07-13 08:03:25] local.INFO: Extracted packet for processing {"connection_id":131112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5950"} 
[2026-07-13 08:03:25] local.INFO: GPS Element Parsed {"raw_longitude":763022528,"raw_latitude":98832512,"longitude_deg":76.3022528,"latitude_deg":9.8832512,"altitude":15,"angle":149,"satellites":39,"speed":22,"hex_longitude":"2d7accc0","hex_latitude":"05e41080","is_valid_coordinates":true} 
[2026-07-13 08:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680935424001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105603869895032832,"note":"Value kept but may cause issues"} 
[2026-07-13 08:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847602968247480320,"note":"Value kept but may cause issues"} 
[2026-07-13 08:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783909907000,"timestamp_ms":1783909907000,"timestamp_seconds":1783909907,"priority":1,"record_length":96,"hex_timestamp":"0000019f5950fa38"} 
[2026-07-13 08:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-13 08:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":131112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":131112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":131112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680935424001,"66":13189,"97":206,"85":15104,"24":22,"16":105603869895032832,"45":8847602968247480320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 08:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680935424001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:03:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 08:03:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 08:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105603869895032832,"km_value":105603869895032.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847602968247480320,"description":"Unknown IO ID 45"} 
[2026-07-13 08:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680935424001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8847602968247480320}} 
[2026-07-13 08:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":131112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478927,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:03:25] local.INFO: GPS data processed {"connection_id":131112,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:03:25] local.INFO: Acknowledgment sent {"connection_id":131112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:03:35] local.INFO: TCP Data received {"connection_id":130114,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:03:35] local.INFO: Processing buffer {"connection_id":130114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:03:35] local.INFO: IMEI packet received {"connection_id":130114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":130114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:03:40] local.INFO: TCP Data received {"connection_id":130114,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:03:40] local.INFO: Processing buffer {"connection_id":130114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:03:40] local.INFO: IMEI packet received {"connection_id":130114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":130114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:03:41] local.INFO: TCP Data received {"connection_id":130114,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f59512530012d7f914005afd9380003011b20..."} 
[2026-07-13 08:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59512530012d7f914005afd9380003011b20..."} 
[2026-07-13 08:03:41] local.INFO: Processing buffer {"connection_id":130114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59512530012d7f914005afd9380003011b20..."} 
[2026-07-13 08:03:41] local.INFO: Packet analysis {"connection_id":130114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5951"} 
[2026-07-13 08:03:41] local.INFO: Extracted packet for processing {"connection_id":130114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5951"} 
[2026-07-13 08:03:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":3,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680861952001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783909918000,"timestamp_ms":1783909918000,"timestamp_seconds":1783909918,"priority":1,"record_length":96,"hex_timestamp":"0000019f59512530"} 
[2026-07-13 08:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 08:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680861952001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680861952001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:03:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680861952001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":130114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:03:41] local.INFO: GPS data processed {"connection_id":130114,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:03:41] local.INFO: Acknowledgment sent {"connection_id":130114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:03:43] local.INFO: TCP Data received {"connection_id":131113,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:03:43] local.INFO: Processing buffer {"connection_id":131113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:03:43] local.INFO: IMEI packet received {"connection_id":131113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":131113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:03:46] local.INFO: TCP Data received {"connection_id":131113,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:03:46] local.INFO: Processing buffer {"connection_id":131113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:03:46] local.INFO: IMEI packet received {"connection_id":131113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":131113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:03:48] local.INFO: TCP Data received {"connection_id":131113,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:03:48] local.INFO: Processing buffer {"connection_id":131113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:03:48] local.INFO: IMEI packet received {"connection_id":131113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":131113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:03:49] local.INFO: TCP Data received {"connection_id":131113,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f595105f0012d7acf8005e40a28000f00a327..."} 
[2026-07-13 08:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595105f0012d7acf8005e40a28000f00a327..."} 
[2026-07-13 08:03:49] local.INFO: Processing buffer {"connection_id":131113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595105f0012d7acf8005e40a28000f00a327..."} 
[2026-07-13 08:03:49] local.INFO: Packet analysis {"connection_id":131113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5951"} 
[2026-07-13 08:03:49] local.INFO: Extracted packet for processing {"connection_id":131113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5951"} 
[2026-07-13 08:03:49] local.INFO: GPS Element Parsed {"raw_longitude":763023232,"raw_latitude":98830888,"longitude_deg":76.3023232,"latitude_deg":9.8830888,"altitude":15,"angle":163,"satellites":39,"speed":24,"hex_longitude":"2d7acf80","hex_latitude":"05e40a28","is_valid_coordinates":true} 
[2026-07-13 08:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680936192001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105603955794378752,"note":"Value kept but may cause issues"} 
[2026-07-13 08:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848658499409838080,"note":"Value kept but may cause issues"} 
[2026-07-13 08:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783909910000,"timestamp_ms":1783909910000,"timestamp_seconds":1783909910,"priority":1,"record_length":96,"hex_timestamp":"0000019f595105f0"} 
[2026-07-13 08:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-13 08:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680936192001,"66":13363,"97":206,"85":15104,"24":24,"16":105603955794378752,"45":8848658499409838080},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 08:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680936192001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:03:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 08:03:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 08:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105603955794378752,"km_value":105603955794378.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848658499409838080,"description":"Unknown IO ID 45"} 
[2026-07-13 08:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680936192001,"power":13363,"unknown_97":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8848658499409838080}} 
[2026-07-13 08:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":131113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478929,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:03:49] local.INFO: GPS data processed {"connection_id":131113,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:03:49] local.INFO: Acknowledgment sent {"connection_id":131113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:03:54] local.INFO: TCP Data received {"connection_id":131113,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f595130e8012d7ad78005e3e690000b00a527..."} 
[2026-07-13 08:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595130e8012d7ad78005e3e690000b00a527..."} 
[2026-07-13 08:03:54] local.INFO: Processing buffer {"connection_id":131113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595130e8012d7ad78005e3e690000b00a527..."} 
[2026-07-13 08:03:54] local.INFO: Packet analysis {"connection_id":131113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5951"} 
[2026-07-13 08:03:54] local.INFO: Extracted packet for processing {"connection_id":131113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5951"} 
[2026-07-13 08:03:54] local.INFO: GPS Element Parsed {"raw_longitude":763025280,"raw_latitude":98821776,"longitude_deg":76.302528,"latitude_deg":9.8821776,"altitude":11,"angle":165,"satellites":39,"speed":41,"hex_longitude":"2d7ad780","hex_latitude":"05e3e690","is_valid_coordinates":true} 
[2026-07-13 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-07-13 08:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680936960001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105604406765944832,"note":"Value kept but may cause issues"} 
[2026-07-13 08:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849432555595376640,"note":"Value kept but may cause issues"} 
[2026-07-13 08:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783909921000,"timestamp_ms":1783909921000,"timestamp_seconds":1783909921,"priority":1,"record_length":96,"hex_timestamp":"0000019f595130e8"} 
[2026-07-13 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-07-13 08:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-13 08:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 08:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":131113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":131113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":131113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680936960001,"66":13439,"97":206,"85":15104,"24":41,"16":105604406765944832,"45":8849432555595376640},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 08:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680936960001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:03:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 08:03:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 08:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105604406765944832,"km_value":105604406765944.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849432555595376640,"description":"Unknown IO ID 45"} 
[2026-07-13 08:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680936960001,"power":13439,"unknown_97":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8849432555595376640}} 
[2026-07-13 08:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":131113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478930,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:03:54] local.INFO: GPS data processed {"connection_id":131113,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:03:54] local.INFO: Acknowledgment sent {"connection_id":131113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:04:12] local.INFO: TCP Data received {"connection_id":130114,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f59512530012d7f914005afd9380003011b20..."} 
[2026-07-13 08:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59512530012d7f914005afd9380003011b20..."} 
[2026-07-13 08:04:12] local.INFO: Processing buffer {"connection_id":130114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59512530012d7f914005afd9380003011b20..."} 
[2026-07-13 08:04:12] local.INFO: Packet analysis {"connection_id":130114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5951"} 
[2026-07-13 08:04:12] local.INFO: Extracted packet for processing {"connection_id":130114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5951"} 
[2026-07-13 08:04:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":3,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680861952001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783909918000,"timestamp_ms":1783909918000,"timestamp_seconds":1783909918,"priority":1,"record_length":96,"hex_timestamp":"0000019f59512530"} 
[2026-07-13 08:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 08:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680861952001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680861952001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:04:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:04:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680861952001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":130114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:04:12] local.INFO: GPS data processed {"connection_id":130114,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:04:12] local.INFO: Acknowledgment sent {"connection_id":130114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:04:25] local.INFO: TCP Data received {"connection_id":131113,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f59515410012d7ae20005e3c1f0000900a426..."} 
[2026-07-13 08:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59515410012d7ae20005e3c1f0000900a426..."} 
[2026-07-13 08:04:25] local.INFO: Processing buffer {"connection_id":131113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59515410012d7ae20005e3c1f0000900a426..."} 
[2026-07-13 08:04:25] local.INFO: Packet analysis {"connection_id":131113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5951"} 
[2026-07-13 08:04:25] local.INFO: Extracted packet for processing {"connection_id":131113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5951"} 
[2026-07-13 08:04:25] local.INFO: GPS Element Parsed {"raw_longitude":763027968,"raw_latitude":98812400,"longitude_deg":76.3027968,"latitude_deg":9.88124,"altitude":9,"angle":164,"satellites":38,"speed":39,"hex_longitude":"2d7ae200","hex_latitude":"05e3c1f0","is_valid_coordinates":true} 
[2026-07-13 08:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680939776001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105604879212347392,"note":"Value kept but may cause issues"} 
[2026-07-13 08:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851684355406729216,"note":"Value kept but may cause issues"} 
[2026-07-13 08:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783909930000,"timestamp_ms":1783909930000,"timestamp_seconds":1783909930,"priority":1,"record_length":96,"hex_timestamp":"0000019f59515410"} 
[2026-07-13 08:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-07-13 08:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08: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-07-13 08:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":131113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":131113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":131113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680939776001,"66":13091,"97":206,"85":15104,"24":39,"16":105604879212347392,"45":8851684355406729216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 08:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680939776001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:04:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 08:04:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 08:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105604879212347392,"km_value":105604879212347.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851684355406729216,"description":"Unknown IO ID 45"} 
[2026-07-13 08:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680939776001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8851684355406729216}} 
[2026-07-13 08:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":131113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478932,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:04:25] local.INFO: GPS data processed {"connection_id":131113,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:04:25] local.INFO: Acknowledgment sent {"connection_id":131113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:04:36] local.INFO: TCP Data received {"connection_id":130318,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:04:36] local.INFO: Processing buffer {"connection_id":130318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:04:36] local.INFO: IMEI packet received {"connection_id":130318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":130318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:04:40] local.INFO: TCP Data received {"connection_id":130318,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:04:40] local.INFO: Processing buffer {"connection_id":130318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:04:40] local.INFO: IMEI packet received {"connection_id":130318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":130318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:04:41] local.INFO: TCP Data received {"connection_id":130318,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f59512530012d7f914005afd9380003011b20..."} 
[2026-07-13 08:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59512530012d7f914005afd9380003011b20..."} 
[2026-07-13 08:04:41] local.INFO: Processing buffer {"connection_id":130318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59512530012d7f914005afd9380003011b20..."} 
[2026-07-13 08:04:41] local.INFO: Packet analysis {"connection_id":130318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5951"} 
[2026-07-13 08:04:41] local.INFO: Extracted packet for processing {"connection_id":130318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5951"} 
[2026-07-13 08:04:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":3,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680861952001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783909918000,"timestamp_ms":1783909918000,"timestamp_seconds":1783909918,"priority":1,"record_length":96,"hex_timestamp":"0000019f59512530"} 
[2026-07-13 08:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 08:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680861952001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680861952001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:04:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680861952001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":130318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:04:41] local.INFO: GPS data processed {"connection_id":130318,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:04:41] local.INFO: Acknowledgment sent {"connection_id":130318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:04:43] local.INFO: TCP Data received {"connection_id":132435,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:04:43] local.INFO: Processing buffer {"connection_id":132435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:04:43] local.INFO: IMEI packet received {"connection_id":132435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":132435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:04:48] local.INFO: TCP Data received {"connection_id":132435,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:04:48] local.INFO: Processing buffer {"connection_id":132435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:04:48] local.INFO: IMEI packet received {"connection_id":132435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":132435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:04:49] local.INFO: TCP Data received {"connection_id":132435,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f595186d8012d7aed0005e3a060000900a327..."} 
[2026-07-13 08:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595186d8012d7aed0005e3a060000900a327..."} 
[2026-07-13 08:04:49] local.INFO: Processing buffer {"connection_id":132435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595186d8012d7aed0005e3a060000900a327..."} 
[2026-07-13 08:04:49] local.INFO: Packet analysis {"connection_id":132435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5951"} 
[2026-07-13 08:04:49] local.INFO: Extracted packet for processing {"connection_id":132435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5951"} 
[2026-07-13 08:04:49] local.INFO: GPS Element Parsed {"raw_longitude":763030784,"raw_latitude":98803808,"longitude_deg":76.3030784,"latitude_deg":9.8803808,"altitude":9,"angle":163,"satellites":39,"speed":11,"hex_longitude":"2d7aed00","hex_latitude":"05e3a060","is_valid_coordinates":true} 
[2026-07-13 08:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680942080001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105605317299011584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854639842659790848,"note":"Value kept but may cause issues"} 
[2026-07-13 08:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783909943000,"timestamp_ms":1783909943000,"timestamp_seconds":1783909943,"priority":1,"record_length":96,"hex_timestamp":"0000019f595186d8"} 
[2026-07-13 08:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-13 08:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680942080001,"66":13200,"97":206,"85":15104,"24":11,"16":105605317299011584,"45":8854639842659790848},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 08:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680942080001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:04:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 08:04:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 08:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105605317299011584,"km_value":105605317299011.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854639842659790848,"description":"Unknown IO ID 45"} 
[2026-07-13 08:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680942080001,"power":13200,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8854639842659790848}} 
[2026-07-13 08:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":132435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478934,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:04:49] local.INFO: GPS data processed {"connection_id":132435,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:04:49] local.INFO: Acknowledgment sent {"connection_id":132435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:05:12] local.INFO: TCP Data received {"connection_id":130318,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f59512530012d7f914005afd9380003011b20..."} 
[2026-07-13 08:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59512530012d7f914005afd9380003011b20..."} 
[2026-07-13 08:05:12] local.INFO: Processing buffer {"connection_id":130318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59512530012d7f914005afd9380003011b20..."} 
[2026-07-13 08:05:12] local.INFO: Packet analysis {"connection_id":130318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5951"} 
[2026-07-13 08:05:12] local.INFO: Extracted packet for processing {"connection_id":130318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5951"} 
[2026-07-13 08:05:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":3,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680861952001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783909918000,"timestamp_ms":1783909918000,"timestamp_seconds":1783909918,"priority":1,"record_length":96,"hex_timestamp":"0000019f59512530"} 
[2026-07-13 08:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 08:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680861952001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680861952001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:05:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:05:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680861952001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":130318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:05:12] local.INFO: GPS data processed {"connection_id":130318,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:05:12] local.INFO: Acknowledgment sent {"connection_id":130318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:05:21] local.INFO: TCP Data received {"connection_id":132435,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f59540390012d7b258005e29820000900ad1f..."} 
[2026-07-13 08:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59540390012d7b258005e29820000900ad1f..."} 
[2026-07-13 08:05:21] local.INFO: Processing buffer {"connection_id":132435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59540390012d7b258005e29820000900ad1f..."} 
[2026-07-13 08:05:21] local.INFO: Packet analysis {"connection_id":132435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5954"} 
[2026-07-13 08:05:21] local.INFO: Extracted packet for processing {"connection_id":132435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5954"} 
[2026-07-13 08:05:21] local.INFO: GPS Element Parsed {"raw_longitude":763045248,"raw_latitude":98736160,"longitude_deg":76.3045248,"latitude_deg":9.873616,"altitude":9,"angle":173,"satellites":31,"speed":0,"hex_longitude":"2d7b2580","hex_latitude":"05e29820","is_valid_coordinates":true} 
[2026-07-13 08:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680987136001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105608714618142720,"note":"Value kept but may cause issues"} 
[2026-07-13 08:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873639403568242688,"note":"Value kept but may cause issues"} 
[2026-07-13 08:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783910106000,"timestamp_ms":1783910106000,"timestamp_seconds":1783910106,"priority":1,"record_length":96,"hex_timestamp":"0000019f59540390"} 
[2026-07-13 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-07-13 08:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-07-13 08:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 08:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":132435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":132435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":132435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680987136001,"66":13504,"96":206,"85":15104,"24":0,"16":105608714618142720,"45":8873639403568242688},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-13 08:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680987136001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:05:21] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 08:05:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 08:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105608714618142720,"km_value":105608714618142.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873639403568242688,"description":"Unknown IO ID 45"} 
[2026-07-13 08:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680987136001,"power":13504,"unknown_96":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8873639403568242688}} 
[2026-07-13 08:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":132435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478936,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:05:21] local.INFO: GPS data processed {"connection_id":132435,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:05:21] local.INFO: Acknowledgment sent {"connection_id":132435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:05:35] local.INFO: TCP Data received {"connection_id":130115,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:05:35] local.INFO: Processing buffer {"connection_id":130115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:05:35] local.INFO: IMEI packet received {"connection_id":130115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":130115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:05:40] local.INFO: TCP Data received {"connection_id":130115,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:05:40] local.INFO: Processing buffer {"connection_id":130115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:05:40] local.INFO: IMEI packet received {"connection_id":130115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":130115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:05:41] local.INFO: TCP Data received {"connection_id":130115,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59512530012d7f914005afd9380003011b20..."} 
[2026-07-13 08:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59512530012d7f914005afd9380003011b20..."} 
[2026-07-13 08:05:41] local.INFO: Processing buffer {"connection_id":130115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59512530012d7f914005afd9380003011b20..."} 
[2026-07-13 08:05:41] local.INFO: Packet analysis {"connection_id":130115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5951"} 
[2026-07-13 08:05:41] local.INFO: Extracted packet for processing {"connection_id":130115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5951"} 
[2026-07-13 08:05:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":3,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680861952001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783909918000,"timestamp_ms":1783909918000,"timestamp_seconds":1783909918,"priority":1,"record_length":96,"hex_timestamp":"0000019f59512530"} 
[2026-07-13 08:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 08:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680861952001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680861952001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:05:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:05:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680861952001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":130115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:05:41] local.INFO: GPS data processed {"connection_id":130115,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:05:41] local.INFO: Acknowledgment sent {"connection_id":130115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:05:48] local.INFO: TCP Data received {"connection_id":131115,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:05:48] local.INFO: Processing buffer {"connection_id":131115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:05:48] local.INFO: IMEI packet received {"connection_id":131115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":131115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:05:51] local.INFO: TCP Data received {"connection_id":131115,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:05:51] local.INFO: Processing buffer {"connection_id":131115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:05:51] local.INFO: IMEI packet received {"connection_id":131115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":131115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:05:52] local.INFO: TCP Data received {"connection_id":131115,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f595422d0012d7b258005e29820000900ad25..."} 
[2026-07-13 08:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595422d0012d7b258005e29820000900ad25..."} 
[2026-07-13 08:05:52] local.INFO: Processing buffer {"connection_id":131115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595422d0012d7b258005e29820000900ad25..."} 
[2026-07-13 08:05:52] local.INFO: Packet analysis {"connection_id":131115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5954"} 
[2026-07-13 08:05:52] local.INFO: Extracted packet for processing {"connection_id":131115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5954"} 
[2026-07-13 08:05:52] local.INFO: GPS Element Parsed {"raw_longitude":763045248,"raw_latitude":98736160,"longitude_deg":76.3045248,"latitude_deg":9.873616,"altitude":9,"angle":173,"satellites":37,"speed":0,"hex_longitude":"2d7b2580","hex_latitude":"05e29820","is_valid_coordinates":true} 
[2026-07-13 08:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680987136001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105608714618142720,"note":"Value kept but may cause issues"} 
[2026-07-13 08:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873639403568242688,"note":"Value kept but may cause issues"} 
[2026-07-13 08:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783910114000,"timestamp_ms":1783910114000,"timestamp_seconds":1783910114,"priority":1,"record_length":96,"hex_timestamp":"0000019f595422d0"} 
[2026-07-13 08:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-07-13 08:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":131115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":131115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":131115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680987136001,"66":13515,"96":206,"85":15104,"24":0,"16":105608714618142720,"45":8873639403568242688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-13 08:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680987136001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:05:52] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 08:05:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 08:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105608714618142720,"km_value":105608714618142.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873639403568242688,"description":"Unknown IO ID 45"} 
[2026-07-13 08:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680987136001,"power":13515,"unknown_96":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8873639403568242688}} 
[2026-07-13 08:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":131115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:05:52] local.INFO: GPS data processed {"connection_id":131115,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:05:52] local.INFO: Acknowledgment sent {"connection_id":131115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:05:53] local.INFO: TCP Data received {"connection_id":131115,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f595422d0012d7b258005e29820000900ad25..."} 
[2026-07-13 08:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595422d0012d7b258005e29820000900ad25..."} 
[2026-07-13 08:05:53] local.INFO: Processing buffer {"connection_id":131115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595422d0012d7b258005e29820000900ad25..."} 
[2026-07-13 08:05:53] local.INFO: Packet analysis {"connection_id":131115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5954"} 
[2026-07-13 08:05:53] local.INFO: Extracted packet for processing {"connection_id":131115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5954"} 
[2026-07-13 08:05:53] local.INFO: GPS Element Parsed {"raw_longitude":763045248,"raw_latitude":98736160,"longitude_deg":76.3045248,"latitude_deg":9.873616,"altitude":9,"angle":173,"satellites":37,"speed":0,"hex_longitude":"2d7b2580","hex_latitude":"05e29820","is_valid_coordinates":true} 
[2026-07-13 08:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680989184001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105608714618142720,"note":"Value kept but may cause issues"} 
[2026-07-13 08:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873639403568242688,"note":"Value kept but may cause issues"} 
[2026-07-13 08:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783910114000,"timestamp_ms":1783910114000,"timestamp_seconds":1783910114,"priority":1,"record_length":96,"hex_timestamp":"0000019f595422d0"} 
[2026-07-13 08:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 08:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":131115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":131115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":131115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680989184001,"66":13515,"96":206,"85":15104,"24":0,"16":105608714618142720,"45":8873639403568242688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-13 08:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680989184001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:05:53] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 08:05:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 08:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105608714618142720,"km_value":105608714618142.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873639403568242688,"description":"Unknown IO ID 45"} 
[2026-07-13 08:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680989184001,"power":13515,"unknown_96":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8873639403568242688}} 
[2026-07-13 08:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":131115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:05:53] local.INFO: GPS data processed {"connection_id":131115,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:05:53] local.INFO: Acknowledgment sent {"connection_id":131115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:06:13] local.INFO: TCP Data received {"connection_id":130115,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59512530012d7f914005afd9380003011b20..."} 
[2026-07-13 08:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59512530012d7f914005afd9380003011b20..."} 
[2026-07-13 08:06:13] local.INFO: Processing buffer {"connection_id":130115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59512530012d7f914005afd9380003011b20..."} 
[2026-07-13 08:06:13] local.INFO: Packet analysis {"connection_id":130115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5951"} 
[2026-07-13 08:06:13] local.INFO: Extracted packet for processing {"connection_id":130115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5951"} 
[2026-07-13 08:06:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":3,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680861952001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783909918000,"timestamp_ms":1783909918000,"timestamp_seconds":1783909918,"priority":1,"record_length":96,"hex_timestamp":"0000019f59512530"} 
[2026-07-13 08:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:06:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 08:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:06:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680861952001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680861952001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:06:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:06:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680861952001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":130115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:06:13] local.INFO: GPS data processed {"connection_id":130115,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:06:13] local.INFO: Acknowledgment sent {"connection_id":130115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:06:24] local.INFO: TCP Data received {"connection_id":131115,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f59547ca8012d7b258005e29820000900ad23..."} 
[2026-07-13 08:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59547ca8012d7b258005e29820000900ad23..."} 
[2026-07-13 08:06:24] local.INFO: Processing buffer {"connection_id":131115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59547ca8012d7b258005e29820000900ad23..."} 
[2026-07-13 08:06:24] local.INFO: Packet analysis {"connection_id":131115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5954"} 
[2026-07-13 08:06:24] local.INFO: Extracted packet for processing {"connection_id":131115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5954"} 
[2026-07-13 08:06:24] local.INFO: GPS Element Parsed {"raw_longitude":763045248,"raw_latitude":98736160,"longitude_deg":76.3045248,"latitude_deg":9.873616,"altitude":9,"angle":173,"satellites":35,"speed":0,"hex_longitude":"2d7b2580","hex_latitude":"05e29820","is_valid_coordinates":true} 
[2026-07-13 08:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680989184001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105608714618142720,"note":"Value kept but may cause issues"} 
[2026-07-13 08:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873639403568242688,"note":"Value kept but may cause issues"} 
[2026-07-13 08:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783910137000,"timestamp_ms":1783910137000,"timestamp_seconds":1783910137,"priority":1,"record_length":96,"hex_timestamp":"0000019f59547ca8"} 
[2026-07-13 08:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 08:06:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:06:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":131115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":131115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":131115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680989184001,"66":11547,"96":206,"85":15104,"24":0,"16":105608714618142720,"45":8873639403568242688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-13 08:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680989184001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:06:24] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 08:06:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 08:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105608714618142720,"km_value":105608714618142.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873639403568242688,"description":"Unknown IO ID 45"} 
[2026-07-13 08:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680989184001,"power":11547,"unknown_96":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8873639403568242688}} 
[2026-07-13 08:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":131115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478941,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:06:24] local.INFO: GPS data processed {"connection_id":131115,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:06:24] local.INFO: Acknowledgment sent {"connection_id":131115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:06:39] local.INFO: TCP Data received {"connection_id":130118,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130118,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:06:39] local.INFO: Processing buffer {"connection_id":130118,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:06:39] local.INFO: IMEI packet received {"connection_id":130118,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":130118,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:06:40] local.INFO: TCP Data received {"connection_id":131116,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:06:40] local.INFO: Processing buffer {"connection_id":131116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:06:40] local.INFO: IMEI packet received {"connection_id":131116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":131116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:06:43] local.INFO: TCP Data received {"connection_id":130118,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130118,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:06:43] local.INFO: Processing buffer {"connection_id":130118,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:06:43] local.INFO: IMEI packet received {"connection_id":130118,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":130118,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:06:45] local.INFO: TCP Data received {"connection_id":131116,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:06:45] local.INFO: Processing buffer {"connection_id":131116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:06:45] local.INFO: IMEI packet received {"connection_id":131116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":131116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:06:46] local.INFO: TCP Data received {"connection_id":131116,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f59512530012d7f914005afd9380003011b20..."} 
[2026-07-13 08:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59512530012d7f914005afd9380003011b20..."} 
[2026-07-13 08:06:46] local.INFO: Processing buffer {"connection_id":131116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59512530012d7f914005afd9380003011b20..."} 
[2026-07-13 08:06:46] local.INFO: Packet analysis {"connection_id":131116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5951"} 
[2026-07-13 08:06:46] local.INFO: Extracted packet for processing {"connection_id":131116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5951"} 
[2026-07-13 08:06:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":3,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680861952001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783909918000,"timestamp_ms":1783909918000,"timestamp_seconds":1783909918,"priority":1,"record_length":96,"hex_timestamp":"0000019f59512530"} 
[2026-07-13 08:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 08:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680861952001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680861952001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:06:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:06:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680861952001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":131116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:06:46] local.INFO: GPS data processed {"connection_id":131116,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:06:46] local.INFO: Acknowledgment sent {"connection_id":131116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:06:48] local.INFO: TCP Data received {"connection_id":130118,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130118,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:06:48] local.INFO: Processing buffer {"connection_id":130118,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:06:48] local.INFO: IMEI packet received {"connection_id":130118,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":130118,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:06:49] local.INFO: TCP Data received {"connection_id":130118,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f59549030012d7b260005e296d8000900b925..."} 
[2026-07-13 08:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59549030012d7b260005e296d8000900b925..."} 
[2026-07-13 08:06:49] local.INFO: Processing buffer {"connection_id":130118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59549030012d7b260005e296d8000900b925..."} 
[2026-07-13 08:06:49] local.INFO: Packet analysis {"connection_id":130118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5954"} 
[2026-07-13 08:06:49] local.INFO: Extracted packet for processing {"connection_id":130118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5954"} 
[2026-07-13 08:06:49] local.INFO: GPS Element Parsed {"raw_longitude":763045376,"raw_latitude":98735832,"longitude_deg":76.3045376,"latitude_deg":9.8735832,"altitude":9,"angle":185,"satellites":37,"speed":2,"hex_longitude":"2d7b2600","hex_latitude":"05e296d8","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680995072001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105608731798011904,"note":"Value kept but may cause issues"} 
[2026-07-13 08:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873639403568242688,"note":"Value kept but may cause issues"} 
[2026-07-13 08:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783910142000,"timestamp_ms":1783910142000,"timestamp_seconds":1783910142,"priority":1,"record_length":96,"hex_timestamp":"0000019f59549030"} 
[2026-07-13 08:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-13 08:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08: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-07-13 08:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680995072001,"66":11950,"96":206,"85":15104,"24":2,"16":105608731798011904,"45":8873639403568242688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-13 08:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680995072001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:06:49] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 08:06:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 08:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105608731798011904,"km_value":105608731798011.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873639403568242688,"description":"Unknown IO ID 45"} 
[2026-07-13 08:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680995072001,"power":11950,"unknown_96":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8873639403568242688}} 
[2026-07-13 08:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":130118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478943,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:06:49] local.INFO: GPS data processed {"connection_id":130118,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:06:49] local.INFO: Acknowledgment sent {"connection_id":130118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:06:51] local.INFO: TCP Data received {"connection_id":131116,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f59512530012d7f914005afd9380003011b20..."} 
[2026-07-13 08:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59512530012d7f914005afd9380003011b20..."} 
[2026-07-13 08:06:51] local.INFO: Processing buffer {"connection_id":131116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59512530012d7f914005afd9380003011b20..."} 
[2026-07-13 08:06:51] local.INFO: Packet analysis {"connection_id":131116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5951"} 
[2026-07-13 08:06:51] local.INFO: Extracted packet for processing {"connection_id":131116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5951"} 
[2026-07-13 08:06:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":3,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 08:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680861952001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783909918000,"timestamp_ms":1783909918000,"timestamp_seconds":1783909918,"priority":1,"record_length":96,"hex_timestamp":"0000019f59512530"} 
[2026-07-13 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-07-13 08:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 08:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 08:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":131116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":131116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":131116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:06: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-07-13 08:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680861952001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680861952001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:06:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:06:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680861952001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":131116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:06:51] local.INFO: GPS data processed {"connection_id":131116,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:06:51] local.INFO: Acknowledgment sent {"connection_id":131116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:06:53] local.INFO: TCP Data received {"connection_id":130118,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5954af70012d7b24c005e290c8000a00c925..."} 
[2026-07-13 08:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5954af70012d7b24c005e290c8000a00c925..."} 
[2026-07-13 08:06:53] local.INFO: Processing buffer {"connection_id":130118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5954af70012d7b24c005e290c8000a00c925..."} 
[2026-07-13 08:06:53] local.INFO: Packet analysis {"connection_id":130118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5954"} 
[2026-07-13 08:06:53] local.INFO: Extracted packet for processing {"connection_id":130118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5954"} 
[2026-07-13 08:06:53] local.INFO: GPS Element Parsed {"raw_longitude":763045056,"raw_latitude":98734280,"longitude_deg":76.3045056,"latitude_deg":9.873428,"altitude":10,"angle":201,"satellites":37,"speed":10,"hex_longitude":"2d7b24c0","hex_latitude":"05e290c8","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680996352001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105608809107423232,"note":"Value kept but may cause issues"} 
[2026-07-13 08:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873780141056514048,"note":"Value kept but may cause issues"} 
[2026-07-13 08:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783910150000,"timestamp_ms":1783910150000,"timestamp_seconds":1783910150,"priority":1,"record_length":96,"hex_timestamp":"0000019f5954af70"} 
[2026-07-13 08:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-13 08:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08: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-07-13 08:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":130118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":130118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":130118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680996352001,"66":12798,"96":206,"85":15104,"24":10,"16":105608809107423232,"45":8873780141056514048},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-13 08:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680996352001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:06:53] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 08:06:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 08:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105608809107423232,"km_value":105608809107423.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873780141056514048,"description":"Unknown IO ID 45"} 
[2026-07-13 08:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680996352001,"power":12798,"unknown_96":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8873780141056514048}} 
[2026-07-13 08:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":130118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478945,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:06:53] local.INFO: GPS data processed {"connection_id":130118,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:06:53] local.INFO: Acknowledgment sent {"connection_id":130118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:07:01] local.INFO: TCP Data received {"connection_id":130117,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130117,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:07:01] local.INFO: Processing buffer {"connection_id":130117,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:07:01] local.INFO: IMEI packet received {"connection_id":130117,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 08:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":130117,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:07:24] local.INFO: TCP Data received {"connection_id":130118,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5955ebd8012d7b0cc005e2fc880004015e1c..."} 
[2026-07-13 08:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5955ebd8012d7b0cc005e2fc880004015e1c..."} 
[2026-07-13 08:07:24] local.INFO: Processing buffer {"connection_id":130118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5955ebd8012d7b0cc005e2fc880004015e1c..."} 
[2026-07-13 08:07:24] local.INFO: Packet analysis {"connection_id":130118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5955"} 
[2026-07-13 08:07:24] local.INFO: Extracted packet for processing {"connection_id":130118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5955"} 
[2026-07-13 08:07:24] local.INFO: GPS Element Parsed {"raw_longitude":763038912,"raw_latitude":98761864,"longitude_deg":76.3038912,"latitude_deg":9.8761864,"altitude":4,"angle":350,"satellites":28,"speed":0,"hex_longitude":"2d7b0cc0","hex_latitude":"05e2fc88","is_valid_coordinates":true} 
[2026-07-13 08:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681014016001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105610260806369280,"note":"Value kept but may cause issues"} 
[2026-07-13 08:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867235847854622720,"note":"Value kept but may cause issues"} 
[2026-07-13 08:07:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783910231000,"timestamp_ms":1783910231000,"timestamp_seconds":1783910231,"priority":1,"record_length":96,"hex_timestamp":"0000019f5955ebd8"} 
[2026-07-13 08:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-13 08:07:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:07:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":130118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":130118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":130118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681014016001,"66":12885,"97":206,"85":15104,"24":0,"16":105610260806369280,"45":8867235847854622720},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 08:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681014016001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:07:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 08:07:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 08:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105610260806369280,"km_value":105610260806369.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867235847854622720,"description":"Unknown IO ID 45"} 
[2026-07-13 08:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681014016001,"power":12885,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8867235847854622720}} 
[2026-07-13 08:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":130118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:07:24] local.INFO: GPS data processed {"connection_id":130118,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:07:24] local.INFO: Acknowledgment sent {"connection_id":130118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:07:35] local.INFO: TCP Data received {"connection_id":131117,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:07:35] local.INFO: Processing buffer {"connection_id":131117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:07:35] local.INFO: IMEI packet received {"connection_id":131117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":131117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:07:38] local.INFO: TCP Data received {"connection_id":131117,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:07:38] local.INFO: Processing buffer {"connection_id":131117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:07:38] local.INFO: IMEI packet received {"connection_id":131117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":131117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:07:39] local.INFO: TCP Data received {"connection_id":131117,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5955bcf8012d7f914005afd9380004011b22..."} 
[2026-07-13 08:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5955bcf8012d7f914005afd9380004011b22..."} 
[2026-07-13 08:07:39] local.INFO: Processing buffer {"connection_id":131117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5955bcf8012d7f914005afd9380004011b22..."} 
[2026-07-13 08:07:39] local.INFO: Packet analysis {"connection_id":131117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5955"} 
[2026-07-13 08:07:39] local.INFO: Extracted packet for processing {"connection_id":131117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5955"} 
[2026-07-13 08:07:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":4,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680939008001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783910219000,"timestamp_ms":1783910219000,"timestamp_seconds":1783910219,"priority":1,"record_length":96,"hex_timestamp":"0000019f5955bcf8"} 
[2026-07-13 08:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:07: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-07-13 08:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:07: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-07-13 08:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680939008001,"66":25180,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680939008001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:07:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:07:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680939008001,"power":25180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":131117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:07:39] local.INFO: GPS data processed {"connection_id":131117,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:07:39] local.INFO: Acknowledgment sent {"connection_id":131117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:07:43] local.INFO: TCP Data received {"connection_id":132436,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132436,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:07:43] local.INFO: Processing buffer {"connection_id":132436,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:07:43] local.INFO: IMEI packet received {"connection_id":132436,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":132436,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:07:46] local.INFO: TCP Data received {"connection_id":132437,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132437,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:07:46] local.INFO: Processing buffer {"connection_id":132437,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:07:46] local.INFO: IMEI packet received {"connection_id":132437,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 08:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":132437,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:07:48] local.INFO: TCP Data received {"connection_id":132436,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132436,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:07:48] local.INFO: Processing buffer {"connection_id":132436,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:07:48] local.INFO: IMEI packet received {"connection_id":132436,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":132436,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:07:49] local.INFO: TCP Data received {"connection_id":132436,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5955efc0012d7b0cc005e2fc980004000d1d..."} 
[2026-07-13 08:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5955efc0012d7b0cc005e2fc980004000d1d..."} 
[2026-07-13 08:07:49] local.INFO: Processing buffer {"connection_id":132436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5955efc0012d7b0cc005e2fc980004000d1d..."} 
[2026-07-13 08:07:49] local.INFO: Packet analysis {"connection_id":132436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5955"} 
[2026-07-13 08:07:49] local.INFO: Extracted packet for processing {"connection_id":132436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5955"} 
[2026-07-13 08:07:49] local.INFO: GPS Element Parsed {"raw_longitude":763038912,"raw_latitude":98761880,"longitude_deg":76.3038912,"latitude_deg":9.876188,"altitude":4,"angle":13,"satellites":29,"speed":3,"hex_longitude":"2d7b0cc0","hex_latitude":"05e2fc98","is_valid_coordinates":true} 
[2026-07-13 08:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681019136001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105610265101336576,"note":"Value kept but may cause issues"} 
[2026-07-13 08:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866672897901234176,"note":"Value kept but may cause issues"} 
[2026-07-13 08:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783910232000,"timestamp_ms":1783910232000,"timestamp_seconds":1783910232,"priority":1,"record_length":96,"hex_timestamp":"0000019f5955efc0"} 
[2026-07-13 08:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-13 08:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681019136001,"66":13222,"97":206,"85":15104,"24":3,"16":105610265101336576,"45":8866672897901234176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 08:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681019136001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:07:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 08:07:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 08:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105610265101336576,"km_value":105610265101336.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866672897901234176,"description":"Unknown IO ID 45"} 
[2026-07-13 08:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681019136001,"power":13222,"unknown_97":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8866672897901234176}} 
[2026-07-13 08:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":132436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478948,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:07:49] local.INFO: GPS data processed {"connection_id":132436,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:07:49] local.INFO: Acknowledgment sent {"connection_id":132436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:08:10] local.INFO: TCP Data received {"connection_id":131117,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5955bcf8012d7f914005afd9380004011b22..."} 
[2026-07-13 08:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5955bcf8012d7f914005afd9380004011b22..."} 
[2026-07-13 08:08:10] local.INFO: Processing buffer {"connection_id":131117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5955bcf8012d7f914005afd9380004011b22..."} 
[2026-07-13 08:08:10] local.INFO: Packet analysis {"connection_id":131117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5955"} 
[2026-07-13 08:08:10] local.INFO: Extracted packet for processing {"connection_id":131117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5955"} 
[2026-07-13 08:08:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":4,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680939008001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783910219000,"timestamp_ms":1783910219000,"timestamp_seconds":1783910219,"priority":1,"record_length":96,"hex_timestamp":"0000019f5955bcf8"} 
[2026-07-13 08:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680939008001,"66":25180,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680939008001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:08:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:08:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680939008001,"power":25180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":131117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:08:10] local.INFO: GPS data processed {"connection_id":131117,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:08:10] local.INFO: Acknowledgment sent {"connection_id":131117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:08:20] local.INFO: TCP Data received {"connection_id":132436,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5955f3a8012d7b0cc005e2fd20000401671e..."} 
[2026-07-13 08:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5955f3a8012d7b0cc005e2fd20000401671e..."} 
[2026-07-13 08:08:20] local.INFO: Processing buffer {"connection_id":132436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5955f3a8012d7b0cc005e2fd20000401671e..."} 
[2026-07-13 08:08:20] local.INFO: Packet analysis {"connection_id":132436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5955"} 
[2026-07-13 08:08:20] local.INFO: Extracted packet for processing {"connection_id":132436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5955"} 
[2026-07-13 08:08:20] local.INFO: GPS Element Parsed {"raw_longitude":763038912,"raw_latitude":98762016,"longitude_deg":76.3038912,"latitude_deg":9.8762016,"altitude":4,"angle":359,"satellites":30,"speed":5,"hex_longitude":"2d7b0cc0","hex_latitude":"05e2fd20","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681019392001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105610269396303872,"note":"Value kept but may cause issues"} 
[2026-07-13 08:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866672897901238272,"note":"Value kept but may cause issues"} 
[2026-07-13 08:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783910233000,"timestamp_ms":1783910233000,"timestamp_seconds":1783910233,"priority":1,"record_length":96,"hex_timestamp":"0000019f5955f3a8"} 
[2026-07-13 08:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-13 08:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08: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-07-13 08:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":132436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":132436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":132436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681019392001,"66":13222,"97":206,"85":15104,"24":5,"16":105610269396303872,"45":8866672897901238272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 08:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681019392001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:08:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 08:08:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 08:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105610269396303872,"km_value":105610269396303.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866672897901238272,"description":"Unknown IO ID 45"} 
[2026-07-13 08:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681019392001,"power":13222,"unknown_97":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8866672897901238272}} 
[2026-07-13 08:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":132436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478950,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:08:20] local.INFO: GPS data processed {"connection_id":132436,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:08:20] local.INFO: Acknowledgment sent {"connection_id":132436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:08:35] local.INFO: TCP Data received {"connection_id":130119,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:08:35] local.INFO: Processing buffer {"connection_id":130119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:08:35] local.INFO: IMEI packet received {"connection_id":130119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":130119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:08:40] local.INFO: TCP Data received {"connection_id":130119,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:08:40] local.INFO: Processing buffer {"connection_id":130119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:08:40] local.INFO: IMEI packet received {"connection_id":130119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":130119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:08:41] local.INFO: TCP Data received {"connection_id":130119,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5955bcf8012d7f914005afd9380004011b22..."} 
[2026-07-13 08:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5955bcf8012d7f914005afd9380004011b22..."} 
[2026-07-13 08:08:41] local.INFO: Processing buffer {"connection_id":130119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5955bcf8012d7f914005afd9380004011b22..."} 
[2026-07-13 08:08:41] local.INFO: Packet analysis {"connection_id":130119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5955"} 
[2026-07-13 08:08:41] local.INFO: Extracted packet for processing {"connection_id":130119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5955"} 
[2026-07-13 08:08:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":4,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680939008001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783910219000,"timestamp_ms":1783910219000,"timestamp_seconds":1783910219,"priority":1,"record_length":96,"hex_timestamp":"0000019f5955bcf8"} 
[2026-07-13 08:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680939008001,"66":25180,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680939008001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:08:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680939008001,"power":25180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":130119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:08:41] local.INFO: GPS data processed {"connection_id":130119,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:08:41] local.INFO: Acknowledgment sent {"connection_id":130119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:08:43] local.INFO: TCP Data received {"connection_id":130319,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:08:43] local.INFO: Processing buffer {"connection_id":130319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:08:43] local.INFO: IMEI packet received {"connection_id":130319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":130319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:08:48] local.INFO: TCP Data received {"connection_id":130319,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:08:48] local.INFO: Processing buffer {"connection_id":130319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:08:48] local.INFO: IMEI packet received {"connection_id":130319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":130319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:08:49] local.INFO: TCP Data received {"connection_id":130319,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f59561ea0012d7b0a4005e30e280004015a1d..."} 
[2026-07-13 08:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59561ea0012d7b0a4005e30e280004015a1d..."} 
[2026-07-13 08:08:49] local.INFO: Processing buffer {"connection_id":130319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59561ea0012d7b0a4005e30e280004015a1d..."} 
[2026-07-13 08:08:49] local.INFO: Packet analysis {"connection_id":130319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5956"} 
[2026-07-13 08:08:49] local.INFO: Extracted packet for processing {"connection_id":130319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5956"} 
[2026-07-13 08:08:49] local.INFO: GPS Element Parsed {"raw_longitude":763038272,"raw_latitude":98766376,"longitude_deg":76.3038272,"latitude_deg":9.8766376,"altitude":4,"angle":346,"satellites":29,"speed":22,"hex_longitude":"2d7b0a40","hex_latitude":"05e30e28","is_valid_coordinates":true} 
[2026-07-13 08:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681019648001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105610484144668672,"note":"Value kept but may cause issues"} 
[2026-07-13 08:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866672897901273088,"note":"Value kept but may cause issues"} 
[2026-07-13 08:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783910244000,"timestamp_ms":1783910244000,"timestamp_seconds":1783910244,"priority":1,"record_length":96,"hex_timestamp":"0000019f59561ea0"} 
[2026-07-13 08:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-13 08:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681019648001,"66":13374,"97":206,"85":15104,"24":22,"16":105610484144668672,"45":8866672897901273088},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 08:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681019648001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:08:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 08:08:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 08:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105610484144668672,"km_value":105610484144668.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866672897901273088,"description":"Unknown IO ID 45"} 
[2026-07-13 08:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681019648001,"power":13374,"unknown_97":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8866672897901273088}} 
[2026-07-13 08:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":130319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478952,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:08:49] local.INFO: GPS data processed {"connection_id":130319,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:08:49] local.INFO: Acknowledgment sent {"connection_id":130319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:09:12] local.INFO: TCP Data received {"connection_id":130119,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5955bcf8012d7f914005afd9380004011b22..."} 
[2026-07-13 08:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5955bcf8012d7f914005afd9380004011b22..."} 
[2026-07-13 08:09:12] local.INFO: Processing buffer {"connection_id":130119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5955bcf8012d7f914005afd9380004011b22..."} 
[2026-07-13 08:09:12] local.INFO: Packet analysis {"connection_id":130119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5955"} 
[2026-07-13 08:09:12] local.INFO: Extracted packet for processing {"connection_id":130119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5955"} 
[2026-07-13 08:09:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":4,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680939008001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783910219000,"timestamp_ms":1783910219000,"timestamp_seconds":1783910219,"priority":1,"record_length":96,"hex_timestamp":"0000019f5955bcf8"} 
[2026-07-13 08:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680939008001,"66":25180,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680939008001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:09:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:09:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680939008001,"power":25180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":130119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:09:12] local.INFO: GPS data processed {"connection_id":130119,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:09:12] local.INFO: Acknowledgment sent {"connection_id":130119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:09:20] local.INFO: TCP Data received {"connection_id":130319,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f59565168012d7b064005e32d38000201661d..."} 
[2026-07-13 08:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59565168012d7b064005e32d38000201661d..."} 
[2026-07-13 08:09:20] local.INFO: Processing buffer {"connection_id":130319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59565168012d7b064005e32d38000201661d..."} 
[2026-07-13 08:09:20] local.INFO: Packet analysis {"connection_id":130319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5956"} 
[2026-07-13 08:09:20] local.INFO: Extracted packet for processing {"connection_id":130319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5956"} 
[2026-07-13 08:09:20] local.INFO: GPS Element Parsed {"raw_longitude":763037248,"raw_latitude":98774328,"longitude_deg":76.3037248,"latitude_deg":9.8774328,"altitude":2,"angle":358,"satellites":29,"speed":20,"hex_longitude":"2d7b0640","hex_latitude":"05e32d38","is_valid_coordinates":true} 
[2026-07-13 08:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681022464001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105610874986692608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865969210460612608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783910257000,"timestamp_ms":1783910257000,"timestamp_seconds":1783910257,"priority":1,"record_length":96,"hex_timestamp":"0000019f59565168"} 
[2026-07-13 08:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-13 08:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681022464001,"66":13276,"97":206,"85":15104,"24":20,"16":105610874986692608,"45":8865969210460612608},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 08:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681022464001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:09:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 08:09:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 08:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105610874986692608,"km_value":105610874986692.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865969210460612608,"description":"Unknown IO ID 45"} 
[2026-07-13 08:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681022464001,"power":13276,"unknown_97":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8865969210460612608}} 
[2026-07-13 08:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":130319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478954,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:09:20] local.INFO: GPS data processed {"connection_id":130319,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:09:20] local.INFO: Acknowledgment sent {"connection_id":130319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:09:35] local.INFO: TCP Data received {"connection_id":131119,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:09:35] local.INFO: Processing buffer {"connection_id":131119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:09:35] local.INFO: IMEI packet received {"connection_id":131119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":131119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:09:40] local.INFO: TCP Data received {"connection_id":131119,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:09:40] local.INFO: Processing buffer {"connection_id":131119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:09:40] local.INFO: IMEI packet received {"connection_id":131119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":131119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:09:41] local.INFO: TCP Data received {"connection_id":131119,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5955bcf8012d7f914005afd9380004011b22..."} 
[2026-07-13 08:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5955bcf8012d7f914005afd9380004011b22..."} 
[2026-07-13 08:09:41] local.INFO: Processing buffer {"connection_id":131119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5955bcf8012d7f914005afd9380004011b22..."} 
[2026-07-13 08:09:41] local.INFO: Packet analysis {"connection_id":131119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5955"} 
[2026-07-13 08:09:41] local.INFO: Extracted packet for processing {"connection_id":131119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5955"} 
[2026-07-13 08:09:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":4,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680939008001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783910219000,"timestamp_ms":1783910219000,"timestamp_seconds":1783910219,"priority":1,"record_length":96,"hex_timestamp":"0000019f5955bcf8"} 
[2026-07-13 08:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680939008001,"66":25180,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680939008001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:09:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680939008001,"power":25180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":131119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:09:41] local.INFO: GPS data processed {"connection_id":131119,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:09:41] local.INFO: Acknowledgment sent {"connection_id":131119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:09:43] local.INFO: TCP Data received {"connection_id":132438,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:09:43] local.INFO: Processing buffer {"connection_id":132438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:09:43] local.INFO: IMEI packet received {"connection_id":132438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":132438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:09:49] local.INFO: TCP Data received {"connection_id":132438,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:09:49] local.INFO: Processing buffer {"connection_id":132438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:09:49] local.INFO: IMEI packet received {"connection_id":132438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":132438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:09:50] local.INFO: TCP Data received {"connection_id":132438,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59568c00012d7b058005e342500000014c1e..."} 
[2026-07-13 08:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59568c00012d7b058005e342500000014c1e..."} 
[2026-07-13 08:09:50] local.INFO: Processing buffer {"connection_id":132438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59568c00012d7b058005e342500000014c1e..."} 
[2026-07-13 08:09:50] local.INFO: Packet analysis {"connection_id":132438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5956"} 
[2026-07-13 08:09:50] local.INFO: Extracted packet for processing {"connection_id":132438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5956"} 
[2026-07-13 08:09:50] local.INFO: GPS Element Parsed {"raw_longitude":763037056,"raw_latitude":98779728,"longitude_deg":76.3037056,"latitude_deg":9.8779728,"altitude":0,"angle":332,"satellites":30,"speed":7,"hex_longitude":"2d7b0580","hex_latitude":"05e34250","is_valid_coordinates":true} 
[2026-07-13 08:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681025792001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105611141274664960,"note":"Value kept but may cause issues"} 
[2026-07-13 08:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864843310555805696,"note":"Value kept but may cause issues"} 
[2026-07-13 08:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783910272000,"timestamp_ms":1783910272000,"timestamp_seconds":1783910272,"priority":1,"record_length":96,"hex_timestamp":"0000019f59568c00"} 
[2026-07-13 08:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-13 08:09:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":132438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":132438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":132438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681025792001,"66":13091,"97":206,"85":15104,"24":7,"16":105611141274664960,"45":8864843310555805696},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 08:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681025792001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:09:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 08:09:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 08:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105611141274664960,"km_value":105611141274664.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864843310555805696,"description":"Unknown IO ID 45"} 
[2026-07-13 08:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681025792001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8864843310555805696}} 
[2026-07-13 08:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":132438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:09:50] local.INFO: GPS data processed {"connection_id":132438,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:09:50] local.INFO: Acknowledgment sent {"connection_id":132438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:10:12] local.INFO: TCP Data received {"connection_id":131119,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5955bcf8012d7f914005afd9380004011b22..."} 
[2026-07-13 08:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5955bcf8012d7f914005afd9380004011b22..."} 
[2026-07-13 08:10:12] local.INFO: Processing buffer {"connection_id":131119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5955bcf8012d7f914005afd9380004011b22..."} 
[2026-07-13 08:10:12] local.INFO: Packet analysis {"connection_id":131119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5955"} 
[2026-07-13 08:10:12] local.INFO: Extracted packet for processing {"connection_id":131119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5955"} 
[2026-07-13 08:10:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":4,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680939008001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783910219000,"timestamp_ms":1783910219000,"timestamp_seconds":1783910219,"priority":1,"record_length":96,"hex_timestamp":"0000019f5955bcf8"} 
[2026-07-13 08:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680939008001,"66":25180,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680939008001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:10:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:10:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680939008001,"power":25180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":131119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:10:12] local.INFO: GPS data processed {"connection_id":131119,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:10:12] local.INFO: Acknowledgment sent {"connection_id":131119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:10:21] local.INFO: TCP Data received {"connection_id":132438,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59568fe8012d7b050005e342e00000014020..."} 
[2026-07-13 08:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59568fe8012d7b050005e342e00000014020..."} 
[2026-07-13 08:10:21] local.INFO: Processing buffer {"connection_id":132438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59568fe8012d7b050005e342e00000014020..."} 
[2026-07-13 08:10:21] local.INFO: Packet analysis {"connection_id":132438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5956"} 
[2026-07-13 08:10:21] local.INFO: Extracted packet for processing {"connection_id":132438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5956"} 
[2026-07-13 08:10:21] local.INFO: GPS Element Parsed {"raw_longitude":763036928,"raw_latitude":98779872,"longitude_deg":76.3036928,"latitude_deg":9.8779872,"altitude":0,"angle":320,"satellites":32,"speed":6,"hex_longitude":"2d7b0500","hex_latitude":"05e342e0","is_valid_coordinates":true} 
[2026-07-13 08:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681029632001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105611145569632256,"note":"Value kept but may cause issues"} 
[2026-07-13 08:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864632204324655104,"note":"Value kept but may cause issues"} 
[2026-07-13 08:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783910273000,"timestamp_ms":1783910273000,"timestamp_seconds":1783910273,"priority":1,"record_length":96,"hex_timestamp":"0000019f59568fe8"} 
[2026-07-13 08:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-13 08:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":132438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":132438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":132438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681029632001,"66":13091,"97":206,"85":15104,"24":6,"16":105611145569632256,"45":8864632204324655104},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 08:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681029632001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:10:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 08:10:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 08:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105611145569632256,"km_value":105611145569632.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864632204324655104,"description":"Unknown IO ID 45"} 
[2026-07-13 08:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681029632001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8864632204324655104}} 
[2026-07-13 08:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":132438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478958,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:10:21] local.INFO: GPS data processed {"connection_id":132438,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:10:21] local.INFO: Acknowledgment sent {"connection_id":132438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:10:40] local.INFO: TCP Data received {"connection_id":130320,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:10:40] local.INFO: Processing buffer {"connection_id":130320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:10:40] local.INFO: IMEI packet received {"connection_id":130320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":130320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:10:43] local.INFO: TCP Data received {"connection_id":130121,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130121,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:10:43] local.INFO: Processing buffer {"connection_id":130121,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:10:43] local.INFO: IMEI packet received {"connection_id":130121,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":130121,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:10:45] local.INFO: TCP Data received {"connection_id":130320,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:10:45] local.INFO: Processing buffer {"connection_id":130320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:10:45] local.INFO: IMEI packet received {"connection_id":130320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":130320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:10:46] local.INFO: TCP Data received {"connection_id":130320,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5955bcf8012d7f914005afd9380004011b22..."} 
[2026-07-13 08:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5955bcf8012d7f914005afd9380004011b22..."} 
[2026-07-13 08:10:46] local.INFO: Processing buffer {"connection_id":130320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5955bcf8012d7f914005afd9380004011b22..."} 
[2026-07-13 08:10:46] local.INFO: Packet analysis {"connection_id":130320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5955"} 
[2026-07-13 08:10:46] local.INFO: Extracted packet for processing {"connection_id":130320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5955"} 
[2026-07-13 08:10:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":4,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680939008001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783910219000,"timestamp_ms":1783910219000,"timestamp_seconds":1783910219,"priority":1,"record_length":96,"hex_timestamp":"0000019f5955bcf8"} 
[2026-07-13 08:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680939008001,"66":25180,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680939008001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:10:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:10:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680939008001,"power":25180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":130320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:10:46] local.INFO: GPS data processed {"connection_id":130320,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:10:46] local.INFO: Acknowledgment sent {"connection_id":130320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:10:48] local.INFO: TCP Data received {"connection_id":130121,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130121,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:10:48] local.INFO: Processing buffer {"connection_id":130121,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:10:48] local.INFO: IMEI packet received {"connection_id":130121,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":130121,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:10:50] local.INFO: TCP Data received {"connection_id":130121,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5956d638012d7b044005e345b80001000828..."} 
[2026-07-13 08:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5956d638012d7b044005e345b80001000828..."} 
[2026-07-13 08:10:50] local.INFO: Processing buffer {"connection_id":130121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5956d638012d7b044005e345b80001000828..."} 
[2026-07-13 08:10:50] local.INFO: Packet analysis {"connection_id":130121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5956"} 
[2026-07-13 08:10:50] local.INFO: Extracted packet for processing {"connection_id":130121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5956"} 
[2026-07-13 08:10:50] local.INFO: GPS Element Parsed {"raw_longitude":763036736,"raw_latitude":98780600,"longitude_deg":76.3036736,"latitude_deg":9.87806,"altitude":1,"angle":8,"satellites":40,"speed":3,"hex_longitude":"2d7b0440","hex_latitude":"05e345b8","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681029888001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105611188519305216,"note":"Value kept but may cause issues"} 
[2026-07-13 08:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864491466836336640,"note":"Value kept but may cause issues"} 
[2026-07-13 08:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783910291000,"timestamp_ms":1783910291000,"timestamp_seconds":1783910291,"priority":1,"record_length":96,"hex_timestamp":"0000019f5956d638"} 
[2026-07-13 08:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-13 08:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681029888001,"66":12809,"97":206,"85":15104,"24":3,"16":105611188519305216,"45":8864491466836336640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 08:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681029888001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:10:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 08:10:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 08:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105611188519305216,"km_value":105611188519305.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864491466836336640,"description":"Unknown IO ID 45"} 
[2026-07-13 08:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681029888001,"power":12809,"unknown_97":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8864491466836336640}} 
[2026-07-13 08:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":130121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478960,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:10:50] local.INFO: GPS data processed {"connection_id":130121,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:10:50] local.INFO: Acknowledgment sent {"connection_id":130121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:10:51] local.INFO: TCP Data received {"connection_id":130320,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5955bcf8012d7f914005afd9380004011b22..."} 
[2026-07-13 08:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5955bcf8012d7f914005afd9380004011b22..."} 
[2026-07-13 08:10:51] local.INFO: Processing buffer {"connection_id":130320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5955bcf8012d7f914005afd9380004011b22..."} 
[2026-07-13 08:10:51] local.INFO: Packet analysis {"connection_id":130320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5955"} 
[2026-07-13 08:10:51] local.INFO: Extracted packet for processing {"connection_id":130320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5955"} 
[2026-07-13 08:10:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":4,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680939008001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783910219000,"timestamp_ms":1783910219000,"timestamp_seconds":1783910219,"priority":1,"record_length":96,"hex_timestamp":"0000019f5955bcf8"} 
[2026-07-13 08:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08: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":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:10: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-07-13 08: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-07-13 08:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:10: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-07-13 08:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680939008001,"66":25180,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680939008001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:10:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:10:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680939008001,"power":25180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":130320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:10:51] local.INFO: GPS data processed {"connection_id":130320,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:10:51] local.INFO: Acknowledgment sent {"connection_id":130320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:11:21] local.INFO: TCP Data received {"connection_id":130121,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5956e1f0012d7b044005e346980001016228..."} 
[2026-07-13 08:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5956e1f0012d7b044005e346980001016228..."} 
[2026-07-13 08:11:21] local.INFO: Processing buffer {"connection_id":130121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5956e1f0012d7b044005e346980001016228..."} 
[2026-07-13 08:11:21] local.INFO: Packet analysis {"connection_id":130121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5956"} 
[2026-07-13 08:11:21] local.INFO: Extracted packet for processing {"connection_id":130121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5956"} 
[2026-07-13 08:11:21] local.INFO: GPS Element Parsed {"raw_longitude":763036736,"raw_latitude":98780824,"longitude_deg":76.3036736,"latitude_deg":9.8780824,"altitude":1,"angle":354,"satellites":40,"speed":1,"hex_longitude":"2d7b0440","hex_latitude":"05e34698","is_valid_coordinates":true} 
[2026-07-13 08:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681034496001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105611201404207104,"note":"Value kept but may cause issues"} 
[2026-07-13 08:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864280360603990016,"note":"Value kept but may cause issues"} 
[2026-07-13 08:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783910294000,"timestamp_ms":1783910294000,"timestamp_seconds":1783910294,"priority":1,"record_length":96,"hex_timestamp":"0000019f5956e1f0"} 
[2026-07-13 08:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-13 08:11:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 08:11:21] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2281701376,"note":"Value kept but may cause issues"} 
[2026-07-13 08:11:21] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-13 08:11:21] local.WARNING: Large IO value detected {"io_id":89,"raw_value":6191279612320484544,"note":"Value kept but may cause issues"} 
[2026-07-13 08:11:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-13 08:11:21] local.WARNING: Large IO value detected {"io_id":243,"raw_value":2818649467,"note":"Value kept but may cause issues"} 
[2026-07-13 08:11:21] local.WARNING: Large IO value detected {"io_id":12,"raw_value":3221611261,"note":"Value kept but may cause issues"} 
[2026-07-13 08:11:21] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-6484957348937806251,"note":"Value kept but may cause issues"} 
[2026-07-13 08:11:21] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2090646593358176740,"note":"Value kept but may cause issues"} 
[2026-07-13 08:11:21] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755412326088945,"note":"Value kept but may cause issues"} 
[2026-07-13 08:11:21] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,97,85,24,241,157,16,52,159,143,45,66,32,10,140,128,30,81,64,1,240,220,227,89,4,113,205,22,243,12,239,51,2,119,5,3,59,250],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-07-13 08:11:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72066561929838592,"timestamp_seconds":72066561929838.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 08:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":130121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":130121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":130121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681034496001,"66":13015,"97":206,"85":15104,"24":1,"16":105611201404207104,"45":8864280360603990016},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 08:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681034496001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:11:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 08:11:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 08:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105611201404207104,"km_value":105611201404207.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864280360603990016,"description":"Unknown IO ID 45"} 
[2026-07-13 08:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681034496001,"power":13015,"unknown_97":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8864280360603990016}} 
[2026-07-13 08:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":130121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478962,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:11:21] local.INFO: GPS data processed {"connection_id":130121,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:11:21] local.INFO: Acknowledgment sent {"connection_id":130121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:11:35] local.INFO: TCP Data received {"connection_id":131121,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:11:35] local.INFO: Processing buffer {"connection_id":131121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:11:35] local.INFO: IMEI packet received {"connection_id":131121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":131121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:11:40] local.INFO: TCP Data received {"connection_id":131121,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:11:40] local.INFO: Processing buffer {"connection_id":131121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:11:40] local.INFO: IMEI packet received {"connection_id":131121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":131121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:11:41] local.INFO: TCP Data received {"connection_id":131121,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5955bcf8012d7f914005afd9380004011b22..."} 
[2026-07-13 08:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5955bcf8012d7f914005afd9380004011b22..."} 
[2026-07-13 08:11:41] local.INFO: Processing buffer {"connection_id":131121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5955bcf8012d7f914005afd9380004011b22..."} 
[2026-07-13 08:11:41] local.INFO: Packet analysis {"connection_id":131121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5955"} 
[2026-07-13 08:11:41] local.INFO: Extracted packet for processing {"connection_id":131121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5955"} 
[2026-07-13 08:11:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":4,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680939008001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783910219000,"timestamp_ms":1783910219000,"timestamp_seconds":1783910219,"priority":1,"record_length":96,"hex_timestamp":"0000019f5955bcf8"} 
[2026-07-13 08:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680939008001,"66":25180,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680939008001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:11:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:11:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680939008001,"power":25180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":131121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:11:41] local.INFO: GPS data processed {"connection_id":131121,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:11:41] local.INFO: Acknowledgment sent {"connection_id":131121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:11:46] local.INFO: TCP Data received {"connection_id":131122,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131122,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:11:46] local.INFO: Processing buffer {"connection_id":131122,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:11:46] local.INFO: IMEI packet received {"connection_id":131122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":131122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:11:48] local.INFO: TCP Data received {"connection_id":131122,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131122,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:11:48] local.INFO: Processing buffer {"connection_id":131122,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:11:48] local.INFO: IMEI packet received {"connection_id":131122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":131122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:11:53] local.INFO: TCP Data received {"connection_id":131122,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131122,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:11:53] local.INFO: Processing buffer {"connection_id":131122,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:11:53] local.INFO: IMEI packet received {"connection_id":131122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":131122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:11:54] local.INFO: TCP Data received {"connection_id":131122,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59570ce8012d7b044005e347980001016326..."} 
[2026-07-13 08:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59570ce8012d7b044005e347980001016326..."} 
[2026-07-13 08:11:54] local.INFO: Processing buffer {"connection_id":131122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59570ce8012d7b044005e347980001016326..."} 
[2026-07-13 08:11:54] local.INFO: Packet analysis {"connection_id":131122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5957"} 
[2026-07-13 08:11:54] local.INFO: Extracted packet for processing {"connection_id":131122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5957"} 
[2026-07-13 08:11:54] local.INFO: GPS Element Parsed {"raw_longitude":763036736,"raw_latitude":98781080,"longitude_deg":76.3036736,"latitude_deg":9.878108,"altitude":1,"angle":355,"satellites":38,"speed":1,"hex_longitude":"2d7b0440","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-07-13 08:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681035264001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105611209994141696,"note":"Value kept but may cause issues"} 
[2026-07-13 08:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864280360604047360,"note":"Value kept but may cause issues"} 
[2026-07-13 08:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783910305000,"timestamp_ms":1783910305000,"timestamp_seconds":1783910305,"priority":1,"record_length":96,"hex_timestamp":"0000019f59570ce8"} 
[2026-07-13 08:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-13 08:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":131122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":131122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":131122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681035264001,"66":13015,"97":206,"85":15104,"24":1,"16":105611209994141696,"45":8864280360604047360},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 08:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681035264001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:11:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 08:11:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 08:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105611209994141696,"km_value":105611209994141.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864280360604047360,"description":"Unknown IO ID 45"} 
[2026-07-13 08:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681035264001,"power":13015,"unknown_97":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8864280360604047360}} 
[2026-07-13 08:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":131122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478964,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:11:54] local.INFO: GPS data processed {"connection_id":131122,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:11:54] local.INFO: Acknowledgment sent {"connection_id":131122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:11:59] local.INFO: TCP Data received {"connection_id":131122,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59570ce8012d7b044005e347980001016326..."} 
[2026-07-13 08:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59570ce8012d7b044005e347980001016326..."} 
[2026-07-13 08:11:59] local.INFO: Processing buffer {"connection_id":131122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59570ce8012d7b044005e347980001016326..."} 
[2026-07-13 08:11:59] local.INFO: Packet analysis {"connection_id":131122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5957"} 
[2026-07-13 08:11:59] local.INFO: Extracted packet for processing {"connection_id":131122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5957"} 
[2026-07-13 08:11:59] local.INFO: GPS Element Parsed {"raw_longitude":763036736,"raw_latitude":98781080,"longitude_deg":76.3036736,"latitude_deg":9.878108,"altitude":1,"angle":355,"satellites":38,"speed":1,"hex_longitude":"2d7b0440","hex_latitude":"05e34798","is_valid_coordinates":true} 
[2026-07-13 08:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681038080001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105611209994141696,"note":"Value kept but may cause issues"} 
[2026-07-13 08:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864280360604112896,"note":"Value kept but may cause issues"} 
[2026-07-13 08:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783910305000,"timestamp_ms":1783910305000,"timestamp_seconds":1783910305,"priority":1,"record_length":96,"hex_timestamp":"0000019f59570ce8"} 
[2026-07-13 08:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-13 08:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":131122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":131122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":131122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681038080001,"66":13015,"97":206,"85":15104,"24":1,"16":105611209994141696,"45":8864280360604112896},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 08:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681038080001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:11:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 08:11:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 08:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105611209994141696,"km_value":105611209994141.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864280360604112896,"description":"Unknown IO ID 45"} 
[2026-07-13 08:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681038080001,"power":13015,"unknown_97":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8864280360604112896}} 
[2026-07-13 08:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":131122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478965,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:11:59] local.INFO: GPS data processed {"connection_id":131122,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:11:59] local.INFO: Acknowledgment sent {"connection_id":131122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:12:12] local.INFO: TCP Data received {"connection_id":131121,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5955bcf8012d7f914005afd9380004011b22..."} 
[2026-07-13 08:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5955bcf8012d7f914005afd9380004011b22..."} 
[2026-07-13 08:12:12] local.INFO: Processing buffer {"connection_id":131121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5955bcf8012d7f914005afd9380004011b22..."} 
[2026-07-13 08:12:12] local.INFO: Packet analysis {"connection_id":131121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5955"} 
[2026-07-13 08:12:12] local.INFO: Extracted packet for processing {"connection_id":131121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5955"} 
[2026-07-13 08:12:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":4,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680939008001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783910219000,"timestamp_ms":1783910219000,"timestamp_seconds":1783910219,"priority":1,"record_length":96,"hex_timestamp":"0000019f5955bcf8"} 
[2026-07-13 08:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680939008001,"66":25180,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680939008001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:12:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:12:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680939008001,"power":25180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":131121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:12:12] local.INFO: GPS data processed {"connection_id":131121,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:12:12] local.INFO: Acknowledgment sent {"connection_id":131121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:12:35] local.INFO: TCP Data received {"connection_id":132440,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:12:35] local.INFO: Processing buffer {"connection_id":132440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:12:35] local.INFO: IMEI packet received {"connection_id":132440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":132440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:12:38] local.INFO: TCP Data received {"connection_id":132440,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:12:38] local.INFO: Processing buffer {"connection_id":132440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:12:38] local.INFO: IMEI packet received {"connection_id":132440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":132440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:12:39] local.INFO: TCP Data received {"connection_id":132440,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f595a54c0012d7f914005afd9380005011b24..."} 
[2026-07-13 08:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595a54c0012d7f914005afd9380005011b24..."} 
[2026-07-13 08:12:39] local.INFO: Processing buffer {"connection_id":132440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595a54c0012d7f914005afd9380005011b24..."} 
[2026-07-13 08:12:39] local.INFO: Packet analysis {"connection_id":132440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f595a"} 
[2026-07-13 08:12:39] local.INFO: Extracted packet for processing {"connection_id":132440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f595a"} 
[2026-07-13 08:12:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681016064001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783910520000,"timestamp_ms":1783910520000,"timestamp_seconds":1783910520,"priority":1,"record_length":96,"hex_timestamp":"0000019f595a54c0"} 
[2026-07-13 08:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08: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-07-13 08:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 08:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681016064001,"66":25180,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681016064001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:12:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:12:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681016064001,"power":25180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":132440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:12:39] local.INFO: GPS data processed {"connection_id":132440,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:12:39] local.INFO: Acknowledgment sent {"connection_id":132440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:12:42] local.INFO: TCP Data received {"connection_id":131123,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131123,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:12:42] local.INFO: Processing buffer {"connection_id":131123,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:12:42] local.INFO: IMEI packet received {"connection_id":131123,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":131123,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:12:43] local.INFO: TCP Data received {"connection_id":131123,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131123,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:12:43] local.INFO: Processing buffer {"connection_id":131123,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:12:43] local.INFO: IMEI packet received {"connection_id":131123,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":131123,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:12:48] local.INFO: TCP Data received {"connection_id":131123,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131123,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:12:48] local.INFO: Processing buffer {"connection_id":131123,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:12:48] local.INFO: IMEI packet received {"connection_id":131123,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":131123,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:12:49] local.INFO: TCP Data received {"connection_id":131123,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f595a9b10012d7acb8005e41128000d012329..."} 
[2026-07-13 08:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595a9b10012d7acb8005e41128000d012329..."} 
[2026-07-13 08:12:49] local.INFO: Processing buffer {"connection_id":131123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595a9b10012d7acb8005e41128000d012329..."} 
[2026-07-13 08:12:49] local.INFO: Packet analysis {"connection_id":131123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f595a"} 
[2026-07-13 08:12:49] local.INFO: Extracted packet for processing {"connection_id":131123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f595a"} 
[2026-07-13 08:12:49] local.INFO: GPS Element Parsed {"raw_longitude":763022208,"raw_latitude":98832680,"longitude_deg":76.3022208,"latitude_deg":9.883268,"altitude":13,"angle":291,"satellites":41,"speed":8,"hex_longitude":"2d7acb80","hex_latitude":"05e41128","is_valid_coordinates":true} 
[2026-07-13 08:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681097472001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105613829924192256,"note":"Value kept but may cause issues"} 
[2026-07-13 08:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848588130665674752,"note":"Value kept but may cause issues"} 
[2026-07-13 08:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783910538000,"timestamp_ms":1783910538000,"timestamp_seconds":1783910538,"priority":1,"record_length":96,"hex_timestamp":"0000019f595a9b10"} 
[2026-07-13 08:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-13 08:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681097472001,"66":13059,"97":206,"85":15104,"24":8,"16":105613829924192256,"45":8848588130665674752},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 08:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681097472001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:12:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 08:12:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 08:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105613829924192256,"km_value":105613829924192.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848588130665674752,"description":"Unknown IO ID 45"} 
[2026-07-13 08:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681097472001,"power":13059,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8848588130665674752}} 
[2026-07-13 08:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":131123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478968,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:12:49] local.INFO: GPS data processed {"connection_id":131123,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:12:49] local.INFO: Acknowledgment sent {"connection_id":131123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:13:06] local.INFO: TCP Data received {"connection_id":130321,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130321,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:13:06] local.INFO: Processing buffer {"connection_id":130321,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:13:06] local.INFO: IMEI packet received {"connection_id":130321,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 08:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":130321,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:13:10] local.INFO: TCP Data received {"connection_id":132440,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f595a54c0012d7f914005afd9380005011b24..."} 
[2026-07-13 08:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595a54c0012d7f914005afd9380005011b24..."} 
[2026-07-13 08:13:10] local.INFO: Processing buffer {"connection_id":132440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595a54c0012d7f914005afd9380005011b24..."} 
[2026-07-13 08:13:10] local.INFO: Packet analysis {"connection_id":132440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f595a"} 
[2026-07-13 08:13:10] local.INFO: Extracted packet for processing {"connection_id":132440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f595a"} 
[2026-07-13 08:13:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681016064001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783910520000,"timestamp_ms":1783910520000,"timestamp_seconds":1783910520,"priority":1,"record_length":96,"hex_timestamp":"0000019f595a54c0"} 
[2026-07-13 08:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 08:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681016064001,"66":25180,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681016064001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:13:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:13:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681016064001,"power":25180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":132440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:13:10] local.INFO: GPS data processed {"connection_id":132440,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:13:10] local.INFO: Acknowledgment sent {"connection_id":132440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:13:20] local.INFO: TCP Data received {"connection_id":131123,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f595a9ef8012d7acac005e41150000d011129..."} 
[2026-07-13 08:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595a9ef8012d7acac005e41150000d011129..."} 
[2026-07-13 08:13:20] local.INFO: Processing buffer {"connection_id":131123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595a9ef8012d7acac005e41150000d011129..."} 
[2026-07-13 08:13:20] local.INFO: Packet analysis {"connection_id":131123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f595a"} 
[2026-07-13 08:13:20] local.INFO: Extracted packet for processing {"connection_id":131123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f595a"} 
[2026-07-13 08:13:20] local.INFO: GPS Element Parsed {"raw_longitude":763022016,"raw_latitude":98832720,"longitude_deg":76.3022016,"latitude_deg":9.883272,"altitude":13,"angle":273,"satellites":41,"speed":7,"hex_longitude":"2d7acac0","hex_latitude":"05e41150","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681097728001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105613842809094144,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848306655688992768,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783910539000,"timestamp_ms":1783910539000,"timestamp_seconds":1783910539,"priority":1,"record_length":96,"hex_timestamp":"0000019f595a9ef8"} 
[2026-07-13 08:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-13 08:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163734281638,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:20] local.WARNING: Large IO value detected {"io_id":97,"raw_value":58077557095399451,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:20] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3697803274,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:20] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3875536896,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-13 08:13:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":536948090,"corrected_to":0} 
[2026-07-13 08:13:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3819716608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:20] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,97,85,24,241,157,16,55,159,151,45,128,13,41,10,66,147,15,12,104,192,1,240,18,227,54,89,4,113,205,200,221,216,239,52,2,119,5,9,27],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0},{"io_id":200,"original":536948090,"validated":0}]} 
[2026-07-13 08:13:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937068856470929408,"timestamp_seconds":937068856470929.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 08:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":131123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":131123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":131123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681097728001,"66":13059,"97":206,"85":15104,"24":7,"16":105613842809094144,"45":8848306655688992768},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 08:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681097728001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:13:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 08:13:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 08:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105613842809094144,"km_value":105613842809094.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848306655688992768,"description":"Unknown IO ID 45"} 
[2026-07-13 08:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681097728001,"power":13059,"unknown_97":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8848306655688992768}} 
[2026-07-13 08:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":131123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478970,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:13:20] local.INFO: GPS data processed {"connection_id":131123,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:13:20] local.INFO: Acknowledgment sent {"connection_id":131123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:13:35] local.INFO: TCP Data received {"connection_id":132441,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:13:35] local.INFO: Processing buffer {"connection_id":132441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:13:35] local.INFO: IMEI packet received {"connection_id":132441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":132441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:13:40] local.INFO: TCP Data received {"connection_id":130322,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130322,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:13:40] local.INFO: Processing buffer {"connection_id":130322,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:13:40] local.INFO: IMEI packet received {"connection_id":130322,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 08:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":130322,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:13:40] local.INFO: TCP Data received {"connection_id":132441,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:13:40] local.INFO: Processing buffer {"connection_id":132441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:13:40] local.INFO: IMEI packet received {"connection_id":132441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":132441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:13:41] local.INFO: TCP Data received {"connection_id":132441,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f595a54c0012d7f914005afd9380005011b24..."} 
[2026-07-13 08:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595a54c0012d7f914005afd9380005011b24..."} 
[2026-07-13 08:13:41] local.INFO: Processing buffer {"connection_id":132441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595a54c0012d7f914005afd9380005011b24..."} 
[2026-07-13 08:13:41] local.INFO: Packet analysis {"connection_id":132441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f595a"} 
[2026-07-13 08:13:41] local.INFO: Extracted packet for processing {"connection_id":132441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f595a"} 
[2026-07-13 08:13:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 08:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681016064001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783910520000,"timestamp_ms":1783910520000,"timestamp_seconds":1783910520,"priority":1,"record_length":96,"hex_timestamp":"0000019f595a54c0"} 
[2026-07-13 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-07-13 08:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 08:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 08:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681016064001,"66":25180,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681016064001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:13:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:13:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681016064001,"power":25180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":132441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:13:41] local.INFO: GPS data processed {"connection_id":132441,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:13:41] local.INFO: Acknowledgment sent {"connection_id":132441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:13:45] local.INFO: TCP Data received {"connection_id":130122,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130122,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:13:45] local.INFO: Processing buffer {"connection_id":130122,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:13:45] local.INFO: IMEI packet received {"connection_id":130122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":130122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:13:45] local.INFO: TCP Data received {"connection_id":130122,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130122,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:13:45] local.INFO: Processing buffer {"connection_id":130122,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:13:45] local.INFO: IMEI packet received {"connection_id":130122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":130122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:13:50] local.INFO: TCP Data received {"connection_id":130122,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130122,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:13:50] local.INFO: Processing buffer {"connection_id":130122,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:13:50] local.INFO: IMEI packet received {"connection_id":130122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":130122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:13:51] local.INFO: TCP Data received {"connection_id":130122,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f595aa2e0012d7aca0005e41148000d010129..."} 
[2026-07-13 08:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595aa2e0012d7aca0005e41148000d010129..."} 
[2026-07-13 08:13:51] local.INFO: Processing buffer {"connection_id":130122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595aa2e0012d7aca0005e41148000d010129..."} 
[2026-07-13 08:13:51] local.INFO: Packet analysis {"connection_id":130122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f595a"} 
[2026-07-13 08:13:51] local.INFO: Extracted packet for processing {"connection_id":130122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f595a"} 
[2026-07-13 08:13:51] local.INFO: GPS Element Parsed {"raw_longitude":763021824,"raw_latitude":98832712,"longitude_deg":76.3021824,"latitude_deg":9.8832712,"altitude":13,"angle":257,"satellites":41,"speed":6,"hex_longitude":"2d7aca00","hex_latitude":"05e41148","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681097984001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105613847104061440,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848095549456470016,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783910540000,"timestamp_ms":1783910540000,"timestamp_seconds":1783910540,"priority":1,"record_length":96,"hex_timestamp":"0000019f595aa2e0"} 
[2026-07-13 08:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-13 08:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167374937510,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:51] local.WARNING: Large IO value detected {"io_id":97,"raw_value":58077557095399444,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:51] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4143448075,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-13 08:13:51] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3821918208,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:51] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,97,85,24,241,157,16,55,159,155,45,128,17,13,41,10,66,151,147,1,240,227,89,4,113,205,22,217,104,239,50,2,119,5,20],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-07-13 08:13:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937049065261563904,"timestamp_seconds":937049065261563.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 08:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681097984001,"66":13319,"97":206,"85":15104,"24":6,"16":105613847104061440,"45":8848095549456470016},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 08:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681097984001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:13:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 08:13:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 08:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105613847104061440,"km_value":105613847104061.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848095549456470016,"description":"Unknown IO ID 45"} 
[2026-07-13 08:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681097984001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8848095549456470016}} 
[2026-07-13 08:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":130122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478972,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:13:51] local.INFO: GPS data processed {"connection_id":130122,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:13:51] local.INFO: Acknowledgment sent {"connection_id":130122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:13:55] local.INFO: TCP Data received {"connection_id":130122,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f595af4e8012d7aa6c005e40b80000e010327..."} 
[2026-07-13 08:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595af4e8012d7aa6c005e40b80000e010327..."} 
[2026-07-13 08:13:55] local.INFO: Processing buffer {"connection_id":130122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595af4e8012d7aa6c005e40b80000e010327..."} 
[2026-07-13 08:13:55] local.INFO: Packet analysis {"connection_id":130122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f595a"} 
[2026-07-13 08:13:55] local.INFO: Extracted packet for processing {"connection_id":130122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f595a"} 
[2026-07-13 08:13:55] local.INFO: GPS Element Parsed {"raw_longitude":763012800,"raw_latitude":98831232,"longitude_deg":76.30128,"latitude_deg":9.8831232,"altitude":14,"angle":259,"satellites":39,"speed":19,"hex_longitude":"2d7aa6c0","hex_latitude":"05e40b80","is_valid_coordinates":true} 
[2026-07-13 08:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681098240001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105614289485692928,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847884443223934976,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783910561000,"timestamp_ms":1783910561000,"timestamp_seconds":1783910561,"priority":1,"record_length":96,"hex_timestamp":"0000019f595af4e8"} 
[2026-07-13 08:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:13: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-07-13 08:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 08:13:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:55] local.WARNING: Large IO value detected {"io_id":227,"raw_value":-3614138657992660736,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:55] local.WARNING: Large IO value detected {"io_id":89,"raw_value":-4026216772022747131,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-13 08:13:55] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3221611510,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:55] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3822872576,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:55] local.WARNING: Large IO value detected {"io_id":63,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-07-13 08:13:55] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,97,85,24,241,157,16,55,159,158,45,192,17,13,41,10,66,155,128,151,1,240,227,89,228,4,113,205,12,104,211,248,42,239,43,2,119,5,63],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-07-13 08:13:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937031473075453952,"timestamp_seconds":937031473075454.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 08:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681098240001,"66":13472,"97":206,"85":15104,"24":19,"16":105614289485692928,"45":8847884443223934976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 08:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681098240001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:13:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 08:13:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 08:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105614289485692928,"km_value":105614289485692.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847884443223934976,"description":"Unknown IO ID 45"} 
[2026-07-13 08:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681098240001,"power":13472,"unknown_97":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8847884443223934976}} 
[2026-07-13 08:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":130122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478973,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:13:55] local.INFO: GPS data processed {"connection_id":130122,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:13:55] local.INFO: Acknowledgment sent {"connection_id":130122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:14:12] local.INFO: TCP Data received {"connection_id":132441,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f595a54c0012d7f914005afd9380005011b24..."} 
[2026-07-13 08:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595a54c0012d7f914005afd9380005011b24..."} 
[2026-07-13 08:14:12] local.INFO: Processing buffer {"connection_id":132441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595a54c0012d7f914005afd9380005011b24..."} 
[2026-07-13 08:14:12] local.INFO: Packet analysis {"connection_id":132441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f595a"} 
[2026-07-13 08:14:12] local.INFO: Extracted packet for processing {"connection_id":132441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f595a"} 
[2026-07-13 08:14:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681016064001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783910520000,"timestamp_ms":1783910520000,"timestamp_seconds":1783910520,"priority":1,"record_length":96,"hex_timestamp":"0000019f595a54c0"} 
[2026-07-13 08:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 08:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681016064001,"66":25180,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681016064001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:14:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:14:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681016064001,"power":25180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":132441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:14:12] local.INFO: GPS data processed {"connection_id":132441,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:14:12] local.INFO: Acknowledgment sent {"connection_id":132441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:14:26] local.INFO: TCP Data received {"connection_id":130122,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f595b3b38012d7a9f0005e40b10000d005e24..."} 
[2026-07-13 08:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595b3b38012d7a9f0005e40b10000d005e24..."} 
[2026-07-13 08:14:26] local.INFO: Processing buffer {"connection_id":130122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595b3b38012d7a9f0005e40b10000d005e24..."} 
[2026-07-13 08:14:26] local.INFO: Packet analysis {"connection_id":130122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f595b"} 
[2026-07-13 08:14:26] local.INFO: Extracted packet for processing {"connection_id":130122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f595b"} 
[2026-07-13 08:14:26] local.INFO: GPS Element Parsed {"raw_longitude":763010816,"raw_latitude":98831120,"longitude_deg":76.3010816,"latitude_deg":9.883112,"altitude":13,"angle":94,"satellites":36,"speed":2,"hex_longitude":"2d7a9f00","hex_latitude":"05e40b10","is_valid_coordinates":true} 
[2026-07-13 08:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681103616001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105614431219613696,"note":"Value kept but may cause issues"} 
[2026-07-13 08:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837962450294505472,"note":"Value kept but may cause issues"} 
[2026-07-13 08:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783910579000,"timestamp_ms":1783910579000,"timestamp_seconds":1783910579,"priority":1,"record_length":96,"hex_timestamp":"0000019f595b3b38"} 
[2026-07-13 08:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:14: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-07-13 08: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-13 08:14:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:14:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":130122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":130122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":130122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681103616001,"66":13015,"97":206,"85":15104,"24":2,"16":105614431219613696,"45":8837962450294505472},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 08:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681103616001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:14:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 08:14:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 08:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105614431219613696,"km_value":105614431219613.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837962450294505472,"description":"Unknown IO ID 45"} 
[2026-07-13 08:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681103616001,"power":13015,"unknown_97":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8837962450294505472}} 
[2026-07-13 08:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":130122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478975,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:14:26] local.INFO: GPS data processed {"connection_id":130122,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:14:26] local.INFO: Acknowledgment sent {"connection_id":130122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:14:35] local.INFO: TCP Data received {"connection_id":130323,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:14:35] local.INFO: Processing buffer {"connection_id":130323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:14:35] local.INFO: IMEI packet received {"connection_id":130323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":130323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:14:40] local.INFO: TCP Data received {"connection_id":130323,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:14:40] local.INFO: Processing buffer {"connection_id":130323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:14:40] local.INFO: IMEI packet received {"connection_id":130323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":130323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:14:41] local.INFO: TCP Data received {"connection_id":130323,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f595a54c0012d7f914005afd9380005011b24..."} 
[2026-07-13 08:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595a54c0012d7f914005afd9380005011b24..."} 
[2026-07-13 08:14:41] local.INFO: Processing buffer {"connection_id":130323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595a54c0012d7f914005afd9380005011b24..."} 
[2026-07-13 08:14:41] local.INFO: Packet analysis {"connection_id":130323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f595a"} 
[2026-07-13 08:14:41] local.INFO: Extracted packet for processing {"connection_id":130323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f595a"} 
[2026-07-13 08:14:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681016064001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783910520000,"timestamp_ms":1783910520000,"timestamp_seconds":1783910520,"priority":1,"record_length":96,"hex_timestamp":"0000019f595a54c0"} 
[2026-07-13 08:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 08:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681016064001,"66":25180,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681016064001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:14:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:14:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681016064001,"power":25180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":130323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:14:41] local.INFO: GPS data processed {"connection_id":130323,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:14:41] local.INFO: Acknowledgment sent {"connection_id":130323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:14:42] local.INFO: TCP Data received {"connection_id":130324,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130324,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:14:42] local.INFO: Processing buffer {"connection_id":130324,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:14:42] local.INFO: IMEI packet received {"connection_id":130324,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":130324,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:14:43] local.INFO: TCP Data received {"connection_id":130324,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130324,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:14:43] local.INFO: Processing buffer {"connection_id":130324,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:14:43] local.INFO: IMEI packet received {"connection_id":130324,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":130324,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:14:48] local.INFO: TCP Data received {"connection_id":130324,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130324,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:14:48] local.INFO: Processing buffer {"connection_id":130324,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:14:48] local.INFO: IMEI packet received {"connection_id":130324,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":130324,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:14:49] local.INFO: TCP Data received {"connection_id":130324,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f595c6418012d7ad80005e3e258000c00a625..."} 
[2026-07-13 08:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595c6418012d7ad80005e3e258000c00a625..."} 
[2026-07-13 08:14:49] local.INFO: Processing buffer {"connection_id":130324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595c6418012d7ad80005e3e258000c00a625..."} 
[2026-07-13 08:14:49] local.INFO: Packet analysis {"connection_id":130324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f595c"} 
[2026-07-13 08:14:49] local.INFO: Extracted packet for processing {"connection_id":130324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f595c"} 
[2026-07-13 08:14:49] local.INFO: GPS Element Parsed {"raw_longitude":763025408,"raw_latitude":98820696,"longitude_deg":76.3025408,"latitude_deg":9.8820696,"altitude":12,"angle":166,"satellites":37,"speed":32,"hex_longitude":"2d7ad800","hex_latitude":"05e3e258","is_valid_coordinates":true} 
[2026-07-13 08:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681124608001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105615595155750912,"note":"Value kept but may cause issues"} 
[2026-07-13 08:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849573293083478016,"note":"Value kept but may cause issues"} 
[2026-07-13 08:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783910655000,"timestamp_ms":1783910655000,"timestamp_seconds":1783910655,"priority":1,"record_length":96,"hex_timestamp":"0000019f595c6418"} 
[2026-07-13 08:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-13 08:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-13 08:14:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 08:14:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277106776191011592,"note":"Value kept but may cause issues"} 
[2026-07-13 08:14:49] local.WARNING: Large IO value detected {"io_id":89,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-13 08:14:49] local.WARNING: Large IO value detected {"io_id":228,"raw_value":839921386342721536,"note":"Value kept but may cause issues"} 
[2026-07-13 08:14:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-13 08:14:49] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3355520378,"note":"Value kept but may cause issues"} 
[2026-07-13 08:14:49] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2147869708,"note":"Value kept but may cause issues"} 
[2026-07-13 08:14:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3825995776,"note":"Value kept but may cause issues"} 
[2026-07-13 08:14:49] local.WARNING: Large IO value detected {"io_id":122,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-07-13 08:14:49] local.WARNING: Large IO value detected {"io_id":91,"raw_value":-7987132644299145211,"note":"Value kept but may cause issues"} 
[2026-07-13 08:14:49] local.WARNING: Large IO value detected {"io_id":3,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-13 08:14:49] local.WARNING: Large IO value detected {"io_id":166,"raw_value":6989813487136413696,"note":"Value kept but may cause issues"} 
[2026-07-13 08:14:49] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,97,85,24,241,157,16,56,159,37,45,13,14,42,10,66,29,192,25,64,1,240,133,227,89,228,4,113,205,160,162,72,39,239,51,2,119,5,6,122,91,3,166],"length":626,"final_offset":756,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-07-13 08:14:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008994513409277952,"timestamp_seconds":1008994513409278.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 08:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681124608001,"66":12624,"97":206,"85":15104,"24":32,"16":105615595155750912,"45":8849573293083478016},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 08:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681124608001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:14:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 08:14:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 08:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105615595155750912,"km_value":105615595155750.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849573293083478016,"description":"Unknown IO ID 45"} 
[2026-07-13 08:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681124608001,"power":12624,"unknown_97":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8849573293083478016}} 
[2026-07-13 08:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":130324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478977,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:14:49] local.INFO: GPS data processed {"connection_id":130324,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:14:49] local.INFO: Acknowledgment sent {"connection_id":130324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:15:12] local.INFO: TCP Data received {"connection_id":130323,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f595a54c0012d7f914005afd9380005011b24..."} 
[2026-07-13 08:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595a54c0012d7f914005afd9380005011b24..."} 
[2026-07-13 08:15:12] local.INFO: Processing buffer {"connection_id":130323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595a54c0012d7f914005afd9380005011b24..."} 
[2026-07-13 08:15:12] local.INFO: Packet analysis {"connection_id":130323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f595a"} 
[2026-07-13 08:15:12] local.INFO: Extracted packet for processing {"connection_id":130323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f595a"} 
[2026-07-13 08:15:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681016064001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783910520000,"timestamp_ms":1783910520000,"timestamp_seconds":1783910520,"priority":1,"record_length":96,"hex_timestamp":"0000019f595a54c0"} 
[2026-07-13 08:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 08:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681016064001,"66":25180,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681016064001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:15:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:15:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681016064001,"power":25180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":130323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:15:12] local.INFO: GPS data processed {"connection_id":130323,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:15:12] local.INFO: Acknowledgment sent {"connection_id":130323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:15:20] local.INFO: TCP Data received {"connection_id":130324,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f595c8f10012d7ae24005e3bdd0000a00a329..."} 
[2026-07-13 08:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595c8f10012d7ae24005e3bdd0000a00a329..."} 
[2026-07-13 08:15:20] local.INFO: Processing buffer {"connection_id":130324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595c8f10012d7ae24005e3bdd0000a00a329..."} 
[2026-07-13 08:15:20] local.INFO: Packet analysis {"connection_id":130324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f595c"} 
[2026-07-13 08:15:20] local.INFO: Extracted packet for processing {"connection_id":130324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f595c"} 
[2026-07-13 08:15:20] local.INFO: GPS Element Parsed {"raw_longitude":763028032,"raw_latitude":98811344,"longitude_deg":76.3028032,"latitude_deg":9.8811344,"altitude":10,"angle":163,"satellites":41,"speed":40,"hex_longitude":"2d7ae240","hex_latitude":"05e3bdd0","is_valid_coordinates":true} 
[2026-07-13 08:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681127680001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105616067602153472,"note":"Value kept but may cause issues"} 
[2026-07-13 08:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851825092894808064,"note":"Value kept but may cause issues"} 
[2026-07-13 08:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783910666000,"timestamp_ms":1783910666000,"timestamp_seconds":1783910666,"priority":1,"record_length":96,"hex_timestamp":"0000019f595c8f10"} 
[2026-07-13 08:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-13 08:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681127680001,"66":13428,"97":206,"85":15104,"24":40,"16":105616067602153472,"45":8851825092894808064},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 08:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681127680001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:15:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 08:15:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 08:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105616067602153472,"km_value":105616067602153.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851825092894808064,"description":"Unknown IO ID 45"} 
[2026-07-13 08:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681127680001,"power":13428,"unknown_97":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8851825092894808064}} 
[2026-07-13 08:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":130324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478979,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:15:20] local.INFO: GPS data processed {"connection_id":130324,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:15:20] local.INFO: Acknowledgment sent {"connection_id":130324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:15:40] local.INFO: TCP Data received {"connection_id":132442,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:15:40] local.INFO: Processing buffer {"connection_id":132442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:15:40] local.INFO: IMEI packet received {"connection_id":132442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":132442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:15:42] local.INFO: TCP Data received {"connection_id":130326,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:15:42] local.INFO: Processing buffer {"connection_id":130326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:15:42] local.INFO: IMEI packet received {"connection_id":130326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":130326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:15:43] local.INFO: TCP Data received {"connection_id":130326,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:15:43] local.INFO: Processing buffer {"connection_id":130326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:15:43] local.INFO: IMEI packet received {"connection_id":130326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":130326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:15:43] local.INFO: TCP Data received {"connection_id":130326,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:15:43] local.INFO: Processing buffer {"connection_id":130326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:15:43] local.INFO: IMEI packet received {"connection_id":130326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":130326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:15:44] local.INFO: TCP Data received {"connection_id":130326,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:15:44] local.INFO: Processing buffer {"connection_id":130326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:15:44] local.INFO: IMEI packet received {"connection_id":130326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":130326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:15:45] local.INFO: TCP Data received {"connection_id":132442,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:15:45] local.INFO: Processing buffer {"connection_id":132442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:15:45] local.INFO: IMEI packet received {"connection_id":132442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":132442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:15:46] local.INFO: TCP Data received {"connection_id":132442,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f595a54c0012d7f914005afd9380005011b24..."} 
[2026-07-13 08:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595a54c0012d7f914005afd9380005011b24..."} 
[2026-07-13 08:15:46] local.INFO: Processing buffer {"connection_id":132442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595a54c0012d7f914005afd9380005011b24..."} 
[2026-07-13 08:15:46] local.INFO: Packet analysis {"connection_id":132442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f595a"} 
[2026-07-13 08:15:46] local.INFO: Extracted packet for processing {"connection_id":132442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f595a"} 
[2026-07-13 08:15:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 08:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681016064001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783910520000,"timestamp_ms":1783910520000,"timestamp_seconds":1783910520,"priority":1,"record_length":96,"hex_timestamp":"0000019f595a54c0"} 
[2026-07-13 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-07-13 08:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 08:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 08:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681016064001,"66":25180,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681016064001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:15:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:15:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681016064001,"power":25180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":132442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:15:46] local.INFO: GPS data processed {"connection_id":132442,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:15:46] local.INFO: Acknowledgment sent {"connection_id":132442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:15:51] local.INFO: TCP Data received {"connection_id":132442,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f595a54c0012d7f914005afd9380005011b24..."} 
[2026-07-13 08:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595a54c0012d7f914005afd9380005011b24..."} 
[2026-07-13 08:15:51] local.INFO: Processing buffer {"connection_id":132442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595a54c0012d7f914005afd9380005011b24..."} 
[2026-07-13 08:15:51] local.INFO: Packet analysis {"connection_id":132442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f595a"} 
[2026-07-13 08:15:51] local.INFO: Extracted packet for processing {"connection_id":132442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f595a"} 
[2026-07-13 08:15:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 08:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681016064001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783910520000,"timestamp_ms":1783910520000,"timestamp_seconds":1783910520,"priority":1,"record_length":96,"hex_timestamp":"0000019f595a54c0"} 
[2026-07-13 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-07-13 08:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":92,"data_length":795,"current_offset":136} 
[2026-07-13 08:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 08:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:15: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-07-13 08:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681016064001,"66":25180,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681016064001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:15:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:15:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681016064001,"power":25180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":132442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:15:51] local.INFO: GPS data processed {"connection_id":132442,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:15:51] local.INFO: Acknowledgment sent {"connection_id":132442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:16:35] local.INFO: TCP Data received {"connection_id":132443,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:16:35] local.INFO: Processing buffer {"connection_id":132443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:16:35] local.INFO: IMEI packet received {"connection_id":132443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":132443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:16:40] local.INFO: TCP Data received {"connection_id":132443,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:16:40] local.INFO: Processing buffer {"connection_id":132443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:16:40] local.INFO: IMEI packet received {"connection_id":132443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":132443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:16:41] local.INFO: TCP Data received {"connection_id":132443,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f595a54c0012d7f914005afd9380005011b24..."} 
[2026-07-13 08:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595a54c0012d7f914005afd9380005011b24..."} 
[2026-07-13 08:16:41] local.INFO: Processing buffer {"connection_id":132443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595a54c0012d7f914005afd9380005011b24..."} 
[2026-07-13 08:16:41] local.INFO: Packet analysis {"connection_id":132443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f595a"} 
[2026-07-13 08:16:41] local.INFO: Extracted packet for processing {"connection_id":132443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f595a"} 
[2026-07-13 08:16:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681016064001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783910520000,"timestamp_ms":1783910520000,"timestamp_seconds":1783910520,"priority":1,"record_length":96,"hex_timestamp":"0000019f595a54c0"} 
[2026-07-13 08:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 08:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681016064001,"66":25180,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681016064001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:16:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:16:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681016064001,"power":25180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":132443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:16:41] local.INFO: GPS data processed {"connection_id":132443,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:16:41] local.INFO: Acknowledgment sent {"connection_id":132443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:17:12] local.INFO: TCP Data received {"connection_id":132443,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f595a54c0012d7f914005afd9380005011b24..."} 
[2026-07-13 08:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595a54c0012d7f914005afd9380005011b24..."} 
[2026-07-13 08:17:12] local.INFO: Processing buffer {"connection_id":132443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595a54c0012d7f914005afd9380005011b24..."} 
[2026-07-13 08:17:12] local.INFO: Packet analysis {"connection_id":132443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f595a"} 
[2026-07-13 08:17:12] local.INFO: Extracted packet for processing {"connection_id":132443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f595a"} 
[2026-07-13 08:17:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681016064001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783910520000,"timestamp_ms":1783910520000,"timestamp_seconds":1783910520,"priority":1,"record_length":96,"hex_timestamp":"0000019f595a54c0"} 
[2026-07-13 08:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 08:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681016064001,"66":25180,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681016064001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:17:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:17:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681016064001,"power":25180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":132443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:17:12] local.INFO: GPS data processed {"connection_id":132443,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:17:12] local.INFO: Acknowledgment sent {"connection_id":132443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:17:35] local.INFO: TCP Data received {"connection_id":130328,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:17:35] local.INFO: Processing buffer {"connection_id":130328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:17:35] local.INFO: IMEI packet received {"connection_id":130328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":130328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:17:39] local.INFO: TCP Data received {"connection_id":130328,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:17:39] local.INFO: Processing buffer {"connection_id":130328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:17:39] local.INFO: IMEI packet received {"connection_id":130328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":130328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:17:40] local.INFO: TCP Data received {"connection_id":130328,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f595eec88012d7f914005afd9380005011b24..."} 
[2026-07-13 08:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595eec88012d7f914005afd9380005011b24..."} 
[2026-07-13 08:17:40] local.INFO: Processing buffer {"connection_id":130328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595eec88012d7f914005afd9380005011b24..."} 
[2026-07-13 08:17:40] local.INFO: Packet analysis {"connection_id":130328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f595e"} 
[2026-07-13 08:17:40] local.INFO: Extracted packet for processing {"connection_id":130328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f595e"} 
[2026-07-13 08:17:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681093120001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783910821000,"timestamp_ms":1783910821000,"timestamp_seconds":1783910821,"priority":1,"record_length":96,"hex_timestamp":"0000019f595eec88"} 
[2026-07-13 08:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:17: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-07-13 08:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 08:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681093120001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681093120001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:17:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:17:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681093120001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":130328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:17:40] local.INFO: GPS data processed {"connection_id":130328,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:17:40] local.INFO: Acknowledgment sent {"connection_id":130328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:18:12] local.INFO: TCP Data received {"connection_id":130328,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f595eec88012d7f914005afd9380005011b24..."} 
[2026-07-13 08:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595eec88012d7f914005afd9380005011b24..."} 
[2026-07-13 08:18:12] local.INFO: Processing buffer {"connection_id":130328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595eec88012d7f914005afd9380005011b24..."} 
[2026-07-13 08:18:12] local.INFO: Packet analysis {"connection_id":130328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f595e"} 
[2026-07-13 08:18:12] local.INFO: Extracted packet for processing {"connection_id":130328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f595e"} 
[2026-07-13 08:18:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681093120001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783910821000,"timestamp_ms":1783910821000,"timestamp_seconds":1783910821,"priority":1,"record_length":96,"hex_timestamp":"0000019f595eec88"} 
[2026-07-13 08:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 08:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681093120001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681093120001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:18:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:18:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681093120001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":130328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:18:12] local.INFO: GPS data processed {"connection_id":130328,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:18:12] local.INFO: Acknowledgment sent {"connection_id":130328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:18:35] local.INFO: TCP Data received {"connection_id":131126,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:18:35] local.INFO: Processing buffer {"connection_id":131126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:18:35] local.INFO: IMEI packet received {"connection_id":131126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":131126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:18:40] local.INFO: TCP Data received {"connection_id":131126,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:18:40] local.INFO: Processing buffer {"connection_id":131126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:18:40] local.INFO: IMEI packet received {"connection_id":131126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":131126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:18:41] local.INFO: TCP Data received {"connection_id":131126,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f595eec88012d7f914005afd9380005011b24..."} 
[2026-07-13 08:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595eec88012d7f914005afd9380005011b24..."} 
[2026-07-13 08:18:41] local.INFO: Processing buffer {"connection_id":131126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595eec88012d7f914005afd9380005011b24..."} 
[2026-07-13 08:18:41] local.INFO: Packet analysis {"connection_id":131126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f595e"} 
[2026-07-13 08:18:41] local.INFO: Extracted packet for processing {"connection_id":131126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f595e"} 
[2026-07-13 08:18:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681093120001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783910821000,"timestamp_ms":1783910821000,"timestamp_seconds":1783910821,"priority":1,"record_length":96,"hex_timestamp":"0000019f595eec88"} 
[2026-07-13 08:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 08:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681093120001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681093120001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:18:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:18:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681093120001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":131126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:18:41] local.INFO: GPS data processed {"connection_id":131126,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:18:41] local.INFO: Acknowledgment sent {"connection_id":131126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:19:12] local.INFO: TCP Data received {"connection_id":131126,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f595eec88012d7f914005afd9380005011b24..."} 
[2026-07-13 08:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595eec88012d7f914005afd9380005011b24..."} 
[2026-07-13 08:19:12] local.INFO: Processing buffer {"connection_id":131126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595eec88012d7f914005afd9380005011b24..."} 
[2026-07-13 08:19:12] local.INFO: Packet analysis {"connection_id":131126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f595e"} 
[2026-07-13 08:19:12] local.INFO: Extracted packet for processing {"connection_id":131126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f595e"} 
[2026-07-13 08:19:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681093120001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783910821000,"timestamp_ms":1783910821000,"timestamp_seconds":1783910821,"priority":1,"record_length":96,"hex_timestamp":"0000019f595eec88"} 
[2026-07-13 08:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 08:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681093120001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681093120001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:19:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:19:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681093120001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":131126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:19:12] local.INFO: GPS data processed {"connection_id":131126,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:19:12] local.INFO: Acknowledgment sent {"connection_id":131126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:19:16] local.INFO: TCP Data received {"connection_id":132444,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:19:16] local.INFO: Processing buffer {"connection_id":132444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:19:16] local.INFO: IMEI packet received {"connection_id":132444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 08:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":132444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:19:35] local.INFO: TCP Data received {"connection_id":130124,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:19:35] local.INFO: Processing buffer {"connection_id":130124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:19:35] local.INFO: IMEI packet received {"connection_id":130124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":130124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:19:40] local.INFO: TCP Data received {"connection_id":130125,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:19:40] local.INFO: Processing buffer {"connection_id":130125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:19:40] local.INFO: IMEI packet received {"connection_id":130125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 08:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":130125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:19:40] local.INFO: TCP Data received {"connection_id":130124,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:19:40] local.INFO: Processing buffer {"connection_id":130124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:19:40] local.INFO: IMEI packet received {"connection_id":130124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":130124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:19:41] local.INFO: TCP Data received {"connection_id":130124,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f595eec88012d7f914005afd9380005011b24..."} 
[2026-07-13 08:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595eec88012d7f914005afd9380005011b24..."} 
[2026-07-13 08:19:41] local.INFO: Processing buffer {"connection_id":130124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595eec88012d7f914005afd9380005011b24..."} 
[2026-07-13 08:19:41] local.INFO: Packet analysis {"connection_id":130124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f595e"} 
[2026-07-13 08:19:41] local.INFO: Extracted packet for processing {"connection_id":130124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f595e"} 
[2026-07-13 08:19:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681093120001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783910821000,"timestamp_ms":1783910821000,"timestamp_seconds":1783910821,"priority":1,"record_length":96,"hex_timestamp":"0000019f595eec88"} 
[2026-07-13 08:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 08:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681093120001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681093120001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:19:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:19:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681093120001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":130124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:19:41] local.INFO: GPS data processed {"connection_id":130124,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:19:41] local.INFO: Acknowledgment sent {"connection_id":130124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:20:12] local.INFO: TCP Data received {"connection_id":130124,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f595eec88012d7f914005afd9380005011b24..."} 
[2026-07-13 08:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595eec88012d7f914005afd9380005011b24..."} 
[2026-07-13 08:20:12] local.INFO: Processing buffer {"connection_id":130124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595eec88012d7f914005afd9380005011b24..."} 
[2026-07-13 08:20:12] local.INFO: Packet analysis {"connection_id":130124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f595e"} 
[2026-07-13 08:20:12] local.INFO: Extracted packet for processing {"connection_id":130124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f595e"} 
[2026-07-13 08:20:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681093120001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783910821000,"timestamp_ms":1783910821000,"timestamp_seconds":1783910821,"priority":1,"record_length":96,"hex_timestamp":"0000019f595eec88"} 
[2026-07-13 08:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 08:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681093120001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681093120001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:20:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:20:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681093120001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":130124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:20:12] local.INFO: GPS data processed {"connection_id":130124,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:20:12] local.INFO: Acknowledgment sent {"connection_id":130124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:20:40] local.INFO: TCP Data received {"connection_id":130126,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:20:40] local.INFO: Processing buffer {"connection_id":130126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:20:40] local.INFO: IMEI packet received {"connection_id":130126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":130126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:20:45] local.INFO: TCP Data received {"connection_id":130126,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:20:45] local.INFO: Processing buffer {"connection_id":130126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:20:45] local.INFO: IMEI packet received {"connection_id":130126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":130126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:20:46] local.INFO: TCP Data received {"connection_id":130126,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f595eec88012d7f914005afd9380005011b24..."} 
[2026-07-13 08:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595eec88012d7f914005afd9380005011b24..."} 
[2026-07-13 08:20:46] local.INFO: Processing buffer {"connection_id":130126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595eec88012d7f914005afd9380005011b24..."} 
[2026-07-13 08:20:46] local.INFO: Packet analysis {"connection_id":130126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f595e"} 
[2026-07-13 08:20:46] local.INFO: Extracted packet for processing {"connection_id":130126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f595e"} 
[2026-07-13 08:20:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681093120001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783910821000,"timestamp_ms":1783910821000,"timestamp_seconds":1783910821,"priority":1,"record_length":96,"hex_timestamp":"0000019f595eec88"} 
[2026-07-13 08:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 08:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681093120001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681093120001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:20:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:20:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681093120001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":130126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:20:46] local.INFO: GPS data processed {"connection_id":130126,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:20:46] local.INFO: Acknowledgment sent {"connection_id":130126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:20:48] local.INFO: TCP Data received {"connection_id":132446,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:20:48] local.INFO: Processing buffer {"connection_id":132446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:20:48] local.INFO: IMEI packet received {"connection_id":132446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":132446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:20:49] local.INFO: TCP Data received {"connection_id":132446,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59616940012d7c070005e5c920000a014c28..."} 
[2026-07-13 08:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59616940012d7c070005e5c920000a014c28..."} 
[2026-07-13 08:20:49] local.INFO: Processing buffer {"connection_id":132446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59616940012d7c070005e5c920000a014c28..."} 
[2026-07-13 08:20:49] local.INFO: Packet analysis {"connection_id":132446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5961"} 
[2026-07-13 08:20:49] local.INFO: Extracted packet for processing {"connection_id":132446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5961"} 
[2026-07-13 08:20:49] local.INFO: GPS Element Parsed {"raw_longitude":763102976,"raw_latitude":98945312,"longitude_deg":76.3102976,"latitude_deg":9.8945312,"altitude":10,"angle":332,"satellites":40,"speed":30,"hex_longitude":"2d7c0700","hex_latitude":"05e5c920","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681208320001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105626590272028672,"note":"Value kept but may cause issues"} 
[2026-07-13 08:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941334135518623744,"note":"Value kept but may cause issues"} 
[2026-07-13 08:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783910984000,"timestamp_ms":1783910984000,"timestamp_seconds":1783910984,"priority":1,"record_length":96,"hex_timestamp":"0000019f59616940"} 
[2026-07-13 08:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:20: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-07-13 08:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 08:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08: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-07-13 08:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681208320001,"66":13319,"39":206,"87":13824,"24":30,"16":105626590272028672,"45":8941334135518623744},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-13 08:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681208320001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:20:49] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-13 08:20:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105626590272028672,"km_value":105626590272028.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941334135518623744,"description":"Unknown IO ID 45"} 
[2026-07-13 08:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681208320001,"power":13319,"unknown_39":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8941334135518623744}} 
[2026-07-13 08:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":132446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:20:49] local.INFO: GPS data processed {"connection_id":132446,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:20:49] local.INFO: Acknowledgment sent {"connection_id":132446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:20:51] local.INFO: TCP Data received {"connection_id":130126,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f595eec88012d7f914005afd9380005011b24..."} 
[2026-07-13 08:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595eec88012d7f914005afd9380005011b24..."} 
[2026-07-13 08:20:51] local.INFO: Processing buffer {"connection_id":130126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595eec88012d7f914005afd9380005011b24..."} 
[2026-07-13 08:20:51] local.INFO: Packet analysis {"connection_id":130126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f595e"} 
[2026-07-13 08:20:51] local.INFO: Extracted packet for processing {"connection_id":130126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f595e"} 
[2026-07-13 08:20:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681093120001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783910821000,"timestamp_ms":1783910821000,"timestamp_seconds":1783910821,"priority":1,"record_length":96,"hex_timestamp":"0000019f595eec88"} 
[2026-07-13 08:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08: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":92,"data_length":795,"current_offset":136} 
[2026-07-13 08:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:20: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-07-13 08:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681093120001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681093120001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:20:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:20:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681093120001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":130126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:20:51] local.INFO: GPS data processed {"connection_id":130126,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:20:51] local.INFO: Acknowledgment sent {"connection_id":130126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:21:21] local.INFO: TCP Data received {"connection_id":132446,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f596174f8012d7c010005e5d150000b014028..."} 
[2026-07-13 08:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596174f8012d7c010005e5d150000b014028..."} 
[2026-07-13 08:21:21] local.INFO: Processing buffer {"connection_id":132446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596174f8012d7c010005e5d150000b014028..."} 
[2026-07-13 08:21:21] local.INFO: Packet analysis {"connection_id":132446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5961"} 
[2026-07-13 08:21:21] local.INFO: Extracted packet for processing {"connection_id":132446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5961"} 
[2026-07-13 08:21:21] local.INFO: GPS Element Parsed {"raw_longitude":763101440,"raw_latitude":98947408,"longitude_deg":76.310144,"latitude_deg":9.8947408,"altitude":11,"angle":320,"satellites":40,"speed":35,"hex_longitude":"2d7c0100","hex_latitude":"05e5d150","is_valid_coordinates":true} 
[2026-07-13 08:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681211904001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105626714826080256,"note":"Value kept but may cause issues"} 
[2026-07-13 08:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937112010870038528,"note":"Value kept but may cause issues"} 
[2026-07-13 08:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783910987000,"timestamp_ms":1783910987000,"timestamp_seconds":1783910987,"priority":1,"record_length":96,"hex_timestamp":"0000019f596174f8"} 
[2026-07-13 08:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:21: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-07-13 08:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 08:21:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 08:21:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-13 08:21:21] local.WARNING: Large IO value detected {"io_id":65,"raw_value":4194304000,"note":"Value kept but may cause issues"} 
[2026-07-13 08:21:21] local.WARNING: Large IO value detected {"io_id":229,"raw_value":5237686396719474432,"note":"Value kept but may cause issues"} 
[2026-07-13 08:21:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-07-13 08:21:21] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2818649468,"note":"Value kept but may cause issues"} 
[2026-07-13 08:21:21] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3847778304,"note":"Value kept but may cause issues"} 
[2026-07-13 08:21:21] local.WARNING: Large IO value detected {"io_id":29,"raw_value":57799294766176054,"note":"Value kept but may cause issues"} 
[2026-07-13 08:21:21] local.WARNING: Large IO value detected {"io_id":96,"raw_value":-8178535628435668987,"note":"Value kept but may cause issues"} 
[2026-07-13 08:21:21] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,39,87,24,241,157,16,66,159,50,45,169,8,41,10,255,137,6,40,244,64,1,240,160,227,65,89,229,4,113,205,14,177,168,239,52,2,119,5,7,28,29,96],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0}]} 
[2026-07-13 08:21:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720941150040358912,"timestamp_seconds":720941150040358.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 08:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":132446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":132446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":132446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681211904001,"66":13319,"40":206,"87":13824,"24":35,"16":105626714826080256,"45":8937112010870038528},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-07-13 08:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681211904001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:21:21] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-13 08:21:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105626714826080256,"km_value":105626714826080.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937112010870038528,"description":"Unknown IO ID 45"} 
[2026-07-13 08:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681211904001,"power":13319,"unknown_40":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8937112010870038528}} 
[2026-07-13 08:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":132446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478993,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:21:21] local.INFO: GPS data processed {"connection_id":132446,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:21:21] local.INFO: Acknowledgment sent {"connection_id":132446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:21:35] local.INFO: TCP Data received {"connection_id":131128,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:21:35] local.INFO: Processing buffer {"connection_id":131128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:21:35] local.INFO: IMEI packet received {"connection_id":131128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":131128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:21:40] local.INFO: TCP Data received {"connection_id":131128,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:21:40] local.INFO: Processing buffer {"connection_id":131128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:21:40] local.INFO: IMEI packet received {"connection_id":131128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":131128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:21:41] local.INFO: TCP Data received {"connection_id":131128,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f595eec88012d7f914005afd9380005011b24..."} 
[2026-07-13 08:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595eec88012d7f914005afd9380005011b24..."} 
[2026-07-13 08:21:41] local.INFO: Processing buffer {"connection_id":131128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595eec88012d7f914005afd9380005011b24..."} 
[2026-07-13 08:21:41] local.INFO: Packet analysis {"connection_id":131128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f595e"} 
[2026-07-13 08:21:41] local.INFO: Extracted packet for processing {"connection_id":131128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f595e"} 
[2026-07-13 08:21:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681093120001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783910821000,"timestamp_ms":1783910821000,"timestamp_seconds":1783910821,"priority":1,"record_length":96,"hex_timestamp":"0000019f595eec88"} 
[2026-07-13 08:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 08:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681093120001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681093120001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:21:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681093120001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":131128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:21:41] local.INFO: GPS data processed {"connection_id":131128,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:21:41] local.INFO: Acknowledgment sent {"connection_id":131128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:21:43] local.INFO: TCP Data received {"connection_id":130127,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:21:43] local.INFO: Processing buffer {"connection_id":130127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:21:43] local.INFO: IMEI packet received {"connection_id":130127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":130127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:21:48] local.INFO: TCP Data received {"connection_id":130127,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:21:48] local.INFO: Processing buffer {"connection_id":130127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:21:48] local.INFO: IMEI packet received {"connection_id":130127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":130127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:21:49] local.INFO: TCP Data received {"connection_id":130127,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5962efe0012d7b948005e6bf480008000226..."} 
[2026-07-13 08:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5962efe0012d7b948005e6bf480008000226..."} 
[2026-07-13 08:21:49] local.INFO: Processing buffer {"connection_id":130127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5962efe0012d7b948005e6bf480008000226..."} 
[2026-07-13 08:21:49] local.INFO: Packet analysis {"connection_id":130127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5962"} 
[2026-07-13 08:21:49] local.INFO: Extracted packet for processing {"connection_id":130127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5962"} 
[2026-07-13 08:21:49] local.INFO: GPS Element Parsed {"raw_longitude":763073664,"raw_latitude":99008328,"longitude_deg":76.3073664,"latitude_deg":9.9008328,"altitude":8,"angle":2,"satellites":38,"speed":29,"hex_longitude":"2d7b9480","hex_latitude":"05e6bf48","is_valid_coordinates":true} 
[2026-07-13 08:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681236736001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105630039130767360,"note":"Value kept but may cause issues"} 
[2026-07-13 08:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905094232284678144,"note":"Value kept but may cause issues"} 
[2026-07-13 08:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783911084000,"timestamp_ms":1783911084000,"timestamp_seconds":1783911084,"priority":1,"record_length":96,"hex_timestamp":"0000019f5962efe0"} 
[2026-07-13 08:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:21: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-07-13 08:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-13 08:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681236736001,"66":13319,"95":206,"87":13824,"24":29,"16":105630039130767360,"45":8905094232284678144},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-07-13 08:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681236736001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:21:49] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-13 08:21:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105630039130767360,"km_value":105630039130767.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905094232284678144,"description":"Unknown IO ID 45"} 
[2026-07-13 08:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681236736001,"power":13319,"unknown_95":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8905094232284678144}} 
[2026-07-13 08:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":130127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478995,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:21:49] local.INFO: GPS data processed {"connection_id":130127,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:21:49] local.INFO: Acknowledgment sent {"connection_id":130127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:22:12] local.INFO: TCP Data received {"connection_id":131128,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f595eec88012d7f914005afd9380005011b24..."} 
[2026-07-13 08:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f595eec88012d7f914005afd9380005011b24..."} 
[2026-07-13 08:22:12] local.INFO: Processing buffer {"connection_id":131128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f595eec88012d7f914005afd9380005011b24..."} 
[2026-07-13 08:22:12] local.INFO: Packet analysis {"connection_id":131128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f595e"} 
[2026-07-13 08:22:12] local.INFO: Extracted packet for processing {"connection_id":131128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f595e"} 
[2026-07-13 08:22:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681093120001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783910821000,"timestamp_ms":1783910821000,"timestamp_seconds":1783910821,"priority":1,"record_length":96,"hex_timestamp":"0000019f595eec88"} 
[2026-07-13 08:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 08:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681093120001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681093120001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:22:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:22:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681093120001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":131128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:22:12] local.INFO: GPS data processed {"connection_id":131128,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:22:12] local.INFO: Acknowledgment sent {"connection_id":131128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:22:20] local.INFO: TCP Data received {"connection_id":130127,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5962fb98012d7b95c005e6c6780009001128..."} 
[2026-07-13 08:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5962fb98012d7b95c005e6c6780009001128..."} 
[2026-07-13 08:22:20] local.INFO: Processing buffer {"connection_id":130127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5962fb98012d7b95c005e6c6780009001128..."} 
[2026-07-13 08:22:20] local.INFO: Packet analysis {"connection_id":130127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5962"} 
[2026-07-13 08:22:20] local.INFO: Extracted packet for processing {"connection_id":130127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5962"} 
[2026-07-13 08:22:20] local.INFO: GPS Element Parsed {"raw_longitude":763073984,"raw_latitude":99010168,"longitude_deg":76.3073984,"latitude_deg":9.9010168,"altitude":9,"angle":17,"satellites":40,"speed":24,"hex_longitude":"2d7b95c0","hex_latitude":"05e6c678","is_valid_coordinates":true} 
[2026-07-13 08:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681237504001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105630129325080576,"note":"Value kept but may cause issues"} 
[2026-07-13 08:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904883126052800512,"note":"Value kept but may cause issues"} 
[2026-07-13 08:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783911087000,"timestamp_ms":1783911087000,"timestamp_seconds":1783911087,"priority":1,"record_length":96,"hex_timestamp":"0000019f5962fb98"} 
[2026-07-13 08:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 08:22:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 08:22:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-13 08:22:20] local.WARNING: Large IO value detected {"io_id":230,"raw_value":1839720482163140352,"note":"Value kept but may cause issues"} 
[2026-07-13 08:22:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298071758,"corrected_to":0} 
[2026-07-13 08:22:20] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607153997,"note":"Value kept but may cause issues"} 
[2026-07-13 08:22:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3861475328,"note":"Value kept but may cause issues"} 
[2026-07-13 08:22:20] local.WARNING: Large IO value detected {"io_id":35,"raw_value":57799299061143350,"note":"Value kept but may cause issues"} 
[2026-07-13 08:22:20] local.WARNING: Large IO value detected {"io_id":97,"raw_value":-3262856635167555579,"note":"Value kept but may cause issues"} 
[2026-07-13 08:22:20] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,95,87,24,241,157,16,69,159,228,45,64,181,8,36,10,66,193,192,147,9,39,153,1,240,214,227,89,230,4,113,205,194,216,41,239,50,2,119,5,35,97],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1298071758,"validated":0}]} 
[2026-07-13 08:22:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576463114537336832,"timestamp_seconds":576463114537336.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 08:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681237504001,"66":13276,"95":206,"87":13824,"24":24,"16":105630129325080576,"45":8904883126052800512},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-07-13 08:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681237504001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:22:20] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-13 08:22:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105630129325080576,"km_value":105630129325080.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904883126052800512,"description":"Unknown IO ID 45"} 
[2026-07-13 08:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681237504001,"power":13276,"unknown_95":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8904883126052800512}} 
[2026-07-13 08:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":130127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478997,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:22:20] local.INFO: GPS data processed {"connection_id":130127,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:22:20] local.INFO: Acknowledgment sent {"connection_id":130127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:22:35] local.INFO: TCP Data received {"connection_id":132447,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:22:35] local.INFO: Processing buffer {"connection_id":132447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:22:35] local.INFO: IMEI packet received {"connection_id":132447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":132447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:22:40] local.INFO: TCP Data received {"connection_id":132447,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:22:40] local.INFO: Processing buffer {"connection_id":132447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:22:40] local.INFO: IMEI packet received {"connection_id":132447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":132447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:22:41] local.INFO: TCP Data received {"connection_id":132447,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:22:41] local.INFO: Processing buffer {"connection_id":132447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:22:41] local.INFO: Packet analysis {"connection_id":132447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5963"} 
[2026-07-13 08:22:41] local.INFO: Extracted packet for processing {"connection_id":132447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5963"} 
[2026-07-13 08:22:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681170176001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783911122000,"timestamp_ms":1783911122000,"timestamp_seconds":1783911122,"priority":1,"record_length":96,"hex_timestamp":"0000019f59638450"} 
[2026-07-13 08:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681170176001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681170176001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:22:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681170176001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":132447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:22:41] local.INFO: GPS data processed {"connection_id":132447,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:22:41] local.INFO: Acknowledgment sent {"connection_id":132447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:22:43] local.INFO: TCP Data received {"connection_id":130128,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130128,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:22:43] local.INFO: Processing buffer {"connection_id":130128,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:22:43] local.INFO: IMEI packet received {"connection_id":130128,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":130128,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:22:48] local.INFO: TCP Data received {"connection_id":130128,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130128,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:22:48] local.INFO: Processing buffer {"connection_id":130128,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:22:48] local.INFO: IMEI packet received {"connection_id":130128,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":130128,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:22:49] local.INFO: TCP Data received {"connection_id":130128,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59630b38012d7b97c005e6d1200009000525..."} 
[2026-07-13 08:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59630b38012d7b97c005e6d1200009000525..."} 
[2026-07-13 08:22:49] local.INFO: Processing buffer {"connection_id":130128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59630b38012d7b97c005e6d1200009000525..."} 
[2026-07-13 08:22:49] local.INFO: Packet analysis {"connection_id":130128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5963"} 
[2026-07-13 08:22:49] local.INFO: Extracted packet for processing {"connection_id":130128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5963"} 
[2026-07-13 08:22:49] local.INFO: GPS Element Parsed {"raw_longitude":763074496,"raw_latitude":99012896,"longitude_deg":76.3074496,"latitude_deg":9.9012896,"altitude":9,"angle":5,"satellites":37,"speed":30,"hex_longitude":"2d7b97c0","hex_latitude":"05e6d120","is_valid_coordinates":true} 
[2026-07-13 08:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681238272001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105630262469066752,"note":"Value kept but may cause issues"} 
[2026-07-13 08:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905234969774159872,"note":"Value kept but may cause issues"} 
[2026-07-13 08:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783911091000,"timestamp_ms":1783911091000,"timestamp_seconds":1783911091,"priority":1,"record_length":96,"hex_timestamp":"0000019f59630b38"} 
[2026-07-13 08:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-13 08:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681238272001,"66":13341,"95":206,"87":13824,"24":30,"16":105630262469066752,"45":8905234969774159872},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-07-13 08:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681238272001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:22:49] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-13 08:22:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105630262469066752,"km_value":105630262469066.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905234969774159872,"description":"Unknown IO ID 45"} 
[2026-07-13 08:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681238272001,"power":13341,"unknown_95":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8905234969774159872}} 
[2026-07-13 08:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":130128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":478999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:22:49] local.INFO: GPS data processed {"connection_id":130128,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:22:49] local.INFO: Acknowledgment sent {"connection_id":130128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:23:12] local.INFO: TCP Data received {"connection_id":132447,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:23:12] local.INFO: Processing buffer {"connection_id":132447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:23:12] local.INFO: Packet analysis {"connection_id":132447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5963"} 
[2026-07-13 08:23:12] local.INFO: Extracted packet for processing {"connection_id":132447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5963"} 
[2026-07-13 08:23:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681170176001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783911122000,"timestamp_ms":1783911122000,"timestamp_seconds":1783911122,"priority":1,"record_length":96,"hex_timestamp":"0000019f59638450"} 
[2026-07-13 08:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681170176001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681170176001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:23:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:23:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681170176001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":132447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:23:12] local.INFO: GPS data processed {"connection_id":132447,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:23:12] local.INFO: Acknowledgment sent {"connection_id":132447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:23:21] local.INFO: TCP Data received {"connection_id":130128,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f596316f0012d7b978005e6da580009016025..."} 
[2026-07-13 08:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596316f0012d7b978005e6da580009016025..."} 
[2026-07-13 08:23:21] local.INFO: Processing buffer {"connection_id":130128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596316f0012d7b978005e6da580009016025..."} 
[2026-07-13 08:23:21] local.INFO: Packet analysis {"connection_id":130128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5963"} 
[2026-07-13 08:23:21] local.INFO: Extracted packet for processing {"connection_id":130128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5963"} 
[2026-07-13 08:23:21] local.INFO: GPS Element Parsed {"raw_longitude":763074432,"raw_latitude":99015256,"longitude_deg":76.3074432,"latitude_deg":9.9015256,"altitude":9,"angle":352,"satellites":37,"speed":32,"hex_longitude":"2d7b9780","hex_latitude":"05e6da58","is_valid_coordinates":true} 
[2026-07-13 08:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681239296001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105630378433183744,"note":"Value kept but may cause issues"} 
[2026-07-13 08:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905797919728279552,"note":"Value kept but may cause issues"} 
[2026-07-13 08:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783911094000,"timestamp_ms":1783911094000,"timestamp_seconds":1783911094,"priority":1,"record_length":96,"hex_timestamp":"0000019f596316f0"} 
[2026-07-13 08:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:23: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-07-13 08:23: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-07-13 08:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":130128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":130128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":130128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681239296001,"66":13243,"95":206,"87":13824,"24":32,"16":105630378433183744,"45":8905797919728279552},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-07-13 08:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681239296001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:23:21] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-13 08:23:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105630378433183744,"km_value":105630378433183.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905797919728279552,"description":"Unknown IO ID 45"} 
[2026-07-13 08:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681239296001,"power":13243,"unknown_95":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8905797919728279552}} 
[2026-07-13 08:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":130128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479001,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:23:21] local.INFO: GPS data processed {"connection_id":130128,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:23:21] local.INFO: Acknowledgment sent {"connection_id":130128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:23:35] local.INFO: TCP Data received {"connection_id":130332,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:23:35] local.INFO: Processing buffer {"connection_id":130332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:23:35] local.INFO: IMEI packet received {"connection_id":130332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":130332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:23:40] local.INFO: TCP Data received {"connection_id":130332,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:23:40] local.INFO: Processing buffer {"connection_id":130332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:23:40] local.INFO: IMEI packet received {"connection_id":130332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":130332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:23:41] local.INFO: TCP Data received {"connection_id":130332,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:23:41] local.INFO: Processing buffer {"connection_id":130332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:23:41] local.INFO: Packet analysis {"connection_id":130332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5963"} 
[2026-07-13 08:23:41] local.INFO: Extracted packet for processing {"connection_id":130332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5963"} 
[2026-07-13 08:23:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681170176001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783911122000,"timestamp_ms":1783911122000,"timestamp_seconds":1783911122,"priority":1,"record_length":96,"hex_timestamp":"0000019f59638450"} 
[2026-07-13 08:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681170176001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681170176001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:23:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:23:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681170176001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":130332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:23:41] local.INFO: GPS data processed {"connection_id":130332,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:23:41] local.INFO: Acknowledgment sent {"connection_id":130332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:23:43] local.INFO: TCP Data received {"connection_id":131130,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131130,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:23:43] local.INFO: Processing buffer {"connection_id":131130,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:23:43] local.INFO: IMEI packet received {"connection_id":131130,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":131130,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:23:48] local.INFO: TCP Data received {"connection_id":131130,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131130,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:23:48] local.INFO: Processing buffer {"connection_id":131130,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:23:48] local.INFO: IMEI packet received {"connection_id":131130,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":131130,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:23:49] local.INFO: TCP Data received {"connection_id":131130,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59632a78012d7b938005e6e8f0000a015226..."} 
[2026-07-13 08:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59632a78012d7b938005e6e8f0000a015226..."} 
[2026-07-13 08:23:49] local.INFO: Processing buffer {"connection_id":131130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59632a78012d7b938005e6e8f0000a015226..."} 
[2026-07-13 08:23:49] local.INFO: Packet analysis {"connection_id":131130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5963"} 
[2026-07-13 08:23:49] local.INFO: Extracted packet for processing {"connection_id":131130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5963"} 
[2026-07-13 08:23:49] local.INFO: GPS Element Parsed {"raw_longitude":763073408,"raw_latitude":99018992,"longitude_deg":76.3073408,"latitude_deg":9.9018992,"altitude":10,"angle":338,"satellites":38,"speed":32,"hex_longitude":"2d7b9380","hex_latitude":"05e6e8f0","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681240064001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105630567411744768,"note":"Value kept but may cause issues"} 
[2026-07-13 08:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905727550984706048,"note":"Value kept but may cause issues"} 
[2026-07-13 08:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783911099000,"timestamp_ms":1783911099000,"timestamp_seconds":1783911099,"priority":1,"record_length":96,"hex_timestamp":"0000019f59632a78"} 
[2026-07-13 08:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 08:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08: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-07-13 08:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681240064001,"66":13363,"95":206,"87":13824,"24":32,"16":105630567411744768,"45":8905727550984706048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-07-13 08:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681240064001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:23:49] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-13 08:23:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105630567411744768,"km_value":105630567411744.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905727550984706048,"description":"Unknown IO ID 45"} 
[2026-07-13 08:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681240064001,"power":13363,"unknown_95":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8905727550984706048}} 
[2026-07-13 08:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":131130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479003,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:23:49] local.INFO: GPS data processed {"connection_id":131130,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:23:49] local.INFO: Acknowledgment sent {"connection_id":131130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:24:09] local.INFO: TCP Data received {"connection_id":130333,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130333,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:24:09] local.INFO: Processing buffer {"connection_id":130333,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:24:09] local.INFO: IMEI packet received {"connection_id":130333,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 08:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":130333,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:24:10] local.INFO: TCP Data received {"connection_id":130333,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130333,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:24:10] local.INFO: Processing buffer {"connection_id":130333,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:24:10] local.INFO: IMEI packet received {"connection_id":130333,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":130333,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:24:12] local.INFO: TCP Data received {"connection_id":130332,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:24:12] local.INFO: Processing buffer {"connection_id":130332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:24:12] local.INFO: Packet analysis {"connection_id":130332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5963"} 
[2026-07-13 08:24:12] local.INFO: Extracted packet for processing {"connection_id":130332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5963"} 
[2026-07-13 08:24:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681170176001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783911122000,"timestamp_ms":1783911122000,"timestamp_seconds":1783911122,"priority":1,"record_length":96,"hex_timestamp":"0000019f59638450"} 
[2026-07-13 08:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681170176001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681170176001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:24:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:24:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681170176001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":130332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:24:12] local.INFO: GPS data processed {"connection_id":130332,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:24:12] local.INFO: Acknowledgment sent {"connection_id":130332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:24:12] local.INFO: TCP Data received {"connection_id":130333,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130333,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:24:12] local.INFO: Processing buffer {"connection_id":130333,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:24:12] local.INFO: IMEI packet received {"connection_id":130333,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":130333,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:24:13] local.INFO: TCP Data received {"connection_id":130333,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000000000007d000100000000000000000000000000..."} 
[2026-07-13 08:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000007d000100000000000000000000000000..."} 
[2026-07-13 08:24:13] local.INFO: Processing buffer {"connection_id":130333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000007d000100000000000000000000000000..."} 
[2026-07-13 08:24:13] local.INFO: Packet analysis {"connection_id":130333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-13 08:24:13] local.INFO: Extracted packet for processing {"connection_id":130333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-13 08:24:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 08:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24139545859588096,"note":"Value kept but may cause issues"} 
[2026-07-13 08:24:13] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,16,94,24],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-07-13 08:24:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":32000,"timestamp_seconds":32,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 08:24:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-13 08:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130333,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130333,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-13 08:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130333,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-13 08:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-13 08:24:13] local.WARNING: DEBUG: No valid data to process  
[2026-07-13 08:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":130333,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-13 08:24:13] local.ERROR: GPS data processing failed {"connection_id":130333,"error":"No valid data to process"} 
[2026-07-13 08:24:13] local.INFO: Acknowledgment sent {"connection_id":130333,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-13 08:24:18] local.INFO: TCP Data received {"connection_id":130333,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a00000000000119400100000000000000000000000000..."} 
[2026-07-13 08:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130333,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000119400100000000000000000000000000..."} 
[2026-07-13 08:24:18] local.INFO: Processing buffer {"connection_id":130333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000119400100000000000000000000000000..."} 
[2026-07-13 08:24:18] local.INFO: Packet analysis {"connection_id":130333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-13 08:24:18] local.INFO: Extracted packet for processing {"connection_id":130333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-13 08:24:18] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 08:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24139545859588096,"note":"Value kept but may cause issues"} 
[2026-07-13 08:24:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 08:24:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72000,"timestamp_seconds":72,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 08:24:18] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-13 08:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130333,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130333,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-13 08:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130333,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-13 08:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-13 08:24:18] local.WARNING: DEBUG: No valid data to process  
[2026-07-13 08:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":130333,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-13 08:24:18] local.ERROR: GPS data processing failed {"connection_id":130333,"error":"No valid data to process"} 
[2026-07-13 08:24:18] local.INFO: Acknowledgment sent {"connection_id":130333,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-13 08:24:20] local.INFO: TCP Data received {"connection_id":131130,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59652260012d7b630005e798080006015b2b..."} 
[2026-07-13 08:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59652260012d7b630005e798080006015b2b..."} 
[2026-07-13 08:24:20] local.INFO: Processing buffer {"connection_id":131130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59652260012d7b630005e798080006015b2b..."} 
[2026-07-13 08:24:20] local.INFO: Packet analysis {"connection_id":131130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5965"} 
[2026-07-13 08:24:20] local.INFO: Extracted packet for processing {"connection_id":131130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5965"} 
[2026-07-13 08:24:20] local.INFO: GPS Element Parsed {"raw_longitude":763060992,"raw_latitude":99063816,"longitude_deg":76.3060992,"latitude_deg":9.9063816,"altitude":6,"angle":347,"satellites":43,"speed":19,"hex_longitude":"2d7b6300","hex_latitude":"05e79808","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681268992001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105632860924280832,"note":"Value kept but may cause issues"} 
[2026-07-13 08:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891724170905237504,"note":"Value kept but may cause issues"} 
[2026-07-13 08:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783911228000,"timestamp_ms":1783911228000,"timestamp_seconds":1783911228,"priority":1,"record_length":96,"hex_timestamp":"0000019f59652260"} 
[2026-07-13 08:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-13 08:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08: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-07-13 08:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":131130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":131130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":131130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681268992001,"66":13396,"96":206,"87":13824,"24":19,"16":105632860924280832,"45":8891724170905237504},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-13 08:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681268992001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:24:20] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 08:24:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105632860924280832,"km_value":105632860924280.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891724170905237504,"description":"Unknown IO ID 45"} 
[2026-07-13 08:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681268992001,"power":13396,"unknown_96":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8891724170905237504}} 
[2026-07-13 08:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":131130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479005,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:24:20] local.INFO: GPS data processed {"connection_id":131130,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:24:20] local.INFO: Acknowledgment sent {"connection_id":131130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:24:40] local.INFO: TCP Data received {"connection_id":130130,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:24:40] local.INFO: Processing buffer {"connection_id":130130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:24:40] local.INFO: IMEI packet received {"connection_id":130130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":130130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:24:45] local.INFO: TCP Data received {"connection_id":130130,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:24:45] local.INFO: Processing buffer {"connection_id":130130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:24:45] local.INFO: IMEI packet received {"connection_id":130130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":130130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:24:46] local.INFO: TCP Data received {"connection_id":130130,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:24:46] local.INFO: Processing buffer {"connection_id":130130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:24:46] local.INFO: Packet analysis {"connection_id":130130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5963"} 
[2026-07-13 08:24:46] local.INFO: Extracted packet for processing {"connection_id":130130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5963"} 
[2026-07-13 08:24:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681170176001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783911122000,"timestamp_ms":1783911122000,"timestamp_seconds":1783911122,"priority":1,"record_length":96,"hex_timestamp":"0000019f59638450"} 
[2026-07-13 08:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681170176001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681170176001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:24:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:24:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681170176001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":130130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:24:46] local.INFO: GPS data processed {"connection_id":130130,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:24:46] local.INFO: Acknowledgment sent {"connection_id":130130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:24:51] local.INFO: TCP Data received {"connection_id":130130,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:24:51] local.INFO: Processing buffer {"connection_id":130130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:24:51] local.INFO: Packet analysis {"connection_id":130130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5963"} 
[2026-07-13 08:24:51] local.INFO: Extracted packet for processing {"connection_id":130130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5963"} 
[2026-07-13 08:24:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681170176001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783911122000,"timestamp_ms":1783911122000,"timestamp_seconds":1783911122,"priority":1,"record_length":96,"hex_timestamp":"0000019f59638450"} 
[2026-07-13 08:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:24: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-07-13 08:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681170176001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681170176001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:24:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:24:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681170176001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":130130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:24:51] local.INFO: GPS data processed {"connection_id":130130,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:24:51] local.INFO: Acknowledgment sent {"connection_id":130130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:24:51] local.INFO: TCP Data received {"connection_id":130333,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000000000016b480100000000000000000000000000..."} 
[2026-07-13 08:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000016b480100000000000000000000000000..."} 
[2026-07-13 08:24:51] local.INFO: Processing buffer {"connection_id":130333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000016b480100000000000000000000000000..."} 
[2026-07-13 08:24:51] local.INFO: Packet analysis {"connection_id":130333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-13 08:24:51] local.INFO: Extracted packet for processing {"connection_id":130333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-13 08:24:51] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 08:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24139545859588096,"note":"Value kept but may cause issues"} 
[2026-07-13 08:24:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 08:24:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":93000,"timestamp_seconds":93,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 08:24:51] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-13 08:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130333,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130333,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-13 08:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130333,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-13 08:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-13 08:24:51] local.WARNING: DEBUG: No valid data to process  
[2026-07-13 08:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":130333,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-13 08:24:51] local.ERROR: GPS data processing failed {"connection_id":130333,"error":"No valid data to process"} 
[2026-07-13 08:24:51] local.INFO: Acknowledgment sent {"connection_id":130333,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-13 08:24:54] local.INFO: TCP Data received {"connection_id":130131,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130131,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:24:54] local.INFO: Processing buffer {"connection_id":130131,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:24:54] local.INFO: IMEI packet received {"connection_id":130131,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":130131,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:24:58] local.INFO: TCP Data received {"connection_id":130131,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130131,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:24:58] local.INFO: Processing buffer {"connection_id":130131,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:24:58] local.INFO: IMEI packet received {"connection_id":130131,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":130131,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:24:59] local.INFO: TCP Data received {"connection_id":130131,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f596541a0012d7b61c005e7a6a00008000029..."} 
[2026-07-13 08:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596541a0012d7b61c005e7a6a00008000029..."} 
[2026-07-13 08:24:59] local.INFO: Processing buffer {"connection_id":130131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596541a0012d7b61c005e7a6a00008000029..."} 
[2026-07-13 08:24:59] local.INFO: Packet analysis {"connection_id":130131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5965"} 
[2026-07-13 08:24:59] local.INFO: Extracted packet for processing {"connection_id":130131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5965"} 
[2026-07-13 08:24:59] local.INFO: GPS Element Parsed {"raw_longitude":763060672,"raw_latitude":99067552,"longitude_deg":76.3060672,"latitude_deg":9.9067552,"altitude":8,"angle":0,"satellites":41,"speed":10,"hex_longitude":"2d7b61c0","hex_latitude":"05e7a6a0","is_valid_coordinates":true} 
[2026-07-13 08:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681274368001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105633045607874560,"note":"Value kept but may cause issues"} 
[2026-07-13 08:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890950114719827968,"note":"Value kept but may cause issues"} 
[2026-07-13 08:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783911236000,"timestamp_ms":1783911236000,"timestamp_seconds":1783911236,"priority":1,"record_length":96,"hex_timestamp":"0000019f596541a0"} 
[2026-07-13 08:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-13 08:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":130131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":130131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":130131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681274368001,"66":13059,"96":206,"87":13824,"24":10,"16":105633045607874560,"45":8890950114719827968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-13 08:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681274368001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:24:59] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 08:24:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105633045607874560,"km_value":105633045607874.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890950114719827968,"description":"Unknown IO ID 45"} 
[2026-07-13 08:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681274368001,"power":13059,"unknown_96":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8890950114719827968}} 
[2026-07-13 08:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":130131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479008,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:24:59] local.INFO: GPS data processed {"connection_id":130131,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:24:59] local.INFO: Acknowledgment sent {"connection_id":130131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:25:06] local.INFO: TCP Data received {"connection_id":132448,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132448,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:25:06] local.INFO: Processing buffer {"connection_id":132448,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:25:06] local.INFO: IMEI packet received {"connection_id":132448,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 08:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":132448,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:25:22] local.INFO: TCP Data received {"connection_id":130333,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000000000001bd500100000000000000000000000000..."} 
[2026-07-13 08:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130333,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001bd500100000000000000000000000000..."} 
[2026-07-13 08:25:22] local.INFO: Processing buffer {"connection_id":130333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001bd500100000000000000000000000000..."} 
[2026-07-13 08:25:22] local.INFO: Packet analysis {"connection_id":130333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-13 08:25:22] local.INFO: Extracted packet for processing {"connection_id":130333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-13 08:25: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-07-13 08: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-07-13 08:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24139545859588096,"note":"Value kept but may cause issues"} 
[2026-07-13 08:25:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,36,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 08:25:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":114000,"timestamp_seconds":114,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 08:25:22] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-13 08:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130333,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130333,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-13 08:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130333,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-13 08:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-13 08:25:22] local.WARNING: DEBUG: No valid data to process  
[2026-07-13 08:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":130333,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-13 08:25:22] local.ERROR: GPS data processing failed {"connection_id":130333,"error":"No valid data to process"} 
[2026-07-13 08:25:22] local.INFO: Acknowledgment sent {"connection_id":130333,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-13 08:25:35] local.INFO: TCP Data received {"connection_id":131131,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:25:35] local.INFO: Processing buffer {"connection_id":131131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:25:35] local.INFO: IMEI packet received {"connection_id":131131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":131131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:25:40] local.INFO: TCP Data received {"connection_id":131131,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:25:40] local.INFO: Processing buffer {"connection_id":131131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:25:40] local.INFO: IMEI packet received {"connection_id":131131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":131131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:25:41] local.INFO: TCP Data received {"connection_id":131131,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:25:41] local.INFO: Processing buffer {"connection_id":131131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:25:41] local.INFO: Packet analysis {"connection_id":131131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5963"} 
[2026-07-13 08:25:41] local.INFO: Extracted packet for processing {"connection_id":131131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5963"} 
[2026-07-13 08:25:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681170176001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783911122000,"timestamp_ms":1783911122000,"timestamp_seconds":1783911122,"priority":1,"record_length":96,"hex_timestamp":"0000019f59638450"} 
[2026-07-13 08:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681170176001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681170176001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:25:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:25:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681170176001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":131131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:25:41] local.INFO: GPS data processed {"connection_id":131131,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:25:41] local.INFO: Acknowledgment sent {"connection_id":131131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:25:46] local.INFO: TCP Data received {"connection_id":131132,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:25:46] local.INFO: Processing buffer {"connection_id":131132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:25:46] local.INFO: IMEI packet received {"connection_id":131132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 08:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":131132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:25:48] local.INFO: TCP Data received {"connection_id":130334,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:25:48] local.INFO: Processing buffer {"connection_id":130334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:25:48] local.INFO: IMEI packet received {"connection_id":130334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":130334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:25:49] local.INFO: TCP Data received {"connection_id":130334,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:25:49] local.INFO: Processing buffer {"connection_id":130334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:25:49] local.INFO: IMEI packet received {"connection_id":130334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":130334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:25:53] local.INFO: TCP Data received {"connection_id":130333,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000000000020f580100000000000000000000000000..."} 
[2026-07-13 08:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000020f580100000000000000000000000000..."} 
[2026-07-13 08:25:53] local.INFO: Processing buffer {"connection_id":130333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000020f580100000000000000000000000000..."} 
[2026-07-13 08:25:53] local.INFO: Packet analysis {"connection_id":130333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-13 08:25:53] local.INFO: Extracted packet for processing {"connection_id":130333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-13 08:25:53] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 08:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24139545859588096,"note":"Value kept but may cause issues"} 
[2026-07-13 08:25:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,36,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 08:25:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":135000,"timestamp_seconds":135,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 08:25:53] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-13 08:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":130333,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":130333,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-13 08:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":130333,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-13 08:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-13 08:25:53] local.WARNING: DEBUG: No valid data to process  
[2026-07-13 08:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":130333,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-13 08:25:53] local.ERROR: GPS data processing failed {"connection_id":130333,"error":"No valid data to process"} 
[2026-07-13 08:25:53] local.INFO: Acknowledgment sent {"connection_id":130333,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-13 08:26:01] local.INFO: TCP Data received {"connection_id":130334,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:26:01] local.INFO: Processing buffer {"connection_id":130334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:26:01] local.INFO: IMEI packet received {"connection_id":130334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":130334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:26:03] local.INFO: TCP Data received {"connection_id":130334,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f596564c8012d7b610005e7b0580007015c2b..."} 
[2026-07-13 08:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596564c8012d7b610005e7b0580007015c2b..."} 
[2026-07-13 08:26:03] local.INFO: Processing buffer {"connection_id":130334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596564c8012d7b610005e7b0580007015c2b..."} 
[2026-07-13 08:26:03] local.INFO: Packet analysis {"connection_id":130334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5965"} 
[2026-07-13 08:26:03] local.INFO: Extracted packet for processing {"connection_id":130334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5965"} 
[2026-07-13 08:26:03] local.INFO: GPS Element Parsed {"raw_longitude":763060480,"raw_latitude":99070040,"longitude_deg":76.306048,"latitude_deg":9.907004,"altitude":7,"angle":348,"satellites":43,"speed":7,"hex_longitude":"2d7b6100","hex_latitude":"05e7b058","is_valid_coordinates":true} 
[2026-07-13 08:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681276416001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105633165866958848,"note":"Value kept but may cause issues"} 
[2026-07-13 08:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890598270999896064,"note":"Value kept but may cause issues"} 
[2026-07-13 08:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783911245000,"timestamp_ms":1783911245000,"timestamp_seconds":1783911245,"priority":1,"record_length":96,"hex_timestamp":"0000019f596564c8"} 
[2026-07-13 08:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:26: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-07-13 08:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-13 08:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168113134925,"note":"Value kept but may cause issues"} 
[2026-07-13 08:26:03] local.WARNING: Large IO value detected {"io_id":96,"raw_value":58079734643818521,"note":"Value kept but may cause issues"} 
[2026-07-13 08:26:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 08:26:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298137294,"corrected_to":0} 
[2026-07-13 08:26:03] local.WARNING: Large IO value detected {"io_id":114,"raw_value":3221612372,"note":"Value kept but may cause issues"} 
[2026-07-13 08:26:03] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718541,"note":"Value kept but may cause issues"} 
[2026-07-13 08:26:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3879921664,"note":"Value kept but may cause issues"} 
[2026-07-13 08:26:03] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,96,87,24,241,157,16,72,159,34,45,152,6,43,10,66,208,192,143,7,44,130,1,240,220,227,89,231,4,113,205,15,114,248,41,239,49,2,119,5,25],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1298137294,"validated":0}]} 
[2026-07-13 08:26:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576460928397737984,"timestamp_seconds":576460928397738.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 08:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":130334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":130334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":130334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681276416001,"66":12972,"96":206,"87":13824,"24":7,"16":105633165866958848,"45":8890598270999896064},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-13 08:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681276416001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:26:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 08:26:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105633165866958848,"km_value":105633165866958.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890598270999896064,"description":"Unknown IO ID 45"} 
[2026-07-13 08:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681276416001,"power":12972,"unknown_96":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8890598270999896064}} 
[2026-07-13 08:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":130334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479010,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:26:03] local.INFO: GPS data processed {"connection_id":130334,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:26:03] local.INFO: Acknowledgment sent {"connection_id":130334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:26:12] local.INFO: TCP Data received {"connection_id":131131,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:26:12] local.INFO: Processing buffer {"connection_id":131131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:26:12] local.INFO: Packet analysis {"connection_id":131131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5963"} 
[2026-07-13 08:26:12] local.INFO: Extracted packet for processing {"connection_id":131131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5963"} 
[2026-07-13 08:26:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681170176001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783911122000,"timestamp_ms":1783911122000,"timestamp_seconds":1783911122,"priority":1,"record_length":96,"hex_timestamp":"0000019f59638450"} 
[2026-07-13 08:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681170176001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681170176001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:26:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:26:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681170176001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":131131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:26:12] local.INFO: GPS data processed {"connection_id":131131,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:26:12] local.INFO: Acknowledgment sent {"connection_id":131131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:26:28] local.INFO: TCP Data received {"connection_id":130335,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130335,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:26:28] local.INFO: Processing buffer {"connection_id":130335,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:26:28] local.INFO: IMEI packet received {"connection_id":130335,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 08:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":130335,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:26:33] local.INFO: TCP Data received {"connection_id":130335,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130335,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:26:33] local.INFO: Processing buffer {"connection_id":130335,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:26:33] local.INFO: IMEI packet received {"connection_id":130335,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":130335,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:26:33] local.INFO: TCP Data received {"connection_id":130335,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59674928012d0bb2400702a2f00037006e08..."} 
[2026-07-13 08:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59674928012d0bb2400702a2f00037006e08..."} 
[2026-07-13 08:26:33] local.INFO: Processing buffer {"connection_id":130335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59674928012d0bb2400702a2f00037006e08..."} 
[2026-07-13 08:26:33] local.INFO: Packet analysis {"connection_id":130335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5967"} 
[2026-07-13 08:26:33] local.INFO: Extracted packet for processing {"connection_id":130335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5967"} 
[2026-07-13 08:26:33] local.INFO: GPS Element Parsed {"raw_longitude":755741248,"raw_latitude":117613296,"longitude_deg":75.5741248,"latitude_deg":11.7613296,"altitude":55,"angle":110,"satellites":8,"speed":15,"hex_longitude":"2d0bb240","hex_latitude":"0702a2f0","is_valid_coordinates":true} 
[2026-07-13 08:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681309696001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24140293183897600,"note":"Value kept but may cause issues"} 
[2026-07-13 08:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":841399104241448960,"note":"Value kept but may cause issues"} 
[2026-07-13 08:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783911369000,"timestamp_ms":1783911369000,"timestamp_seconds":1783911369,"priority":1,"record_length":96,"hex_timestamp":"0000019f59674928"} 
[2026-07-13 08:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":60,"data_length":795,"current_offset":136} 
[2026-07-13 08:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":130335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":130335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":130335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681309696001,"66":14461,"36":206,"94":11008,"24":15,"16":24140293183897600,"45":841399104241448960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-07-13 08:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681309696001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:26:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-13 08:26:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 08:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24140293183897600,"km_value":24140293183897.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":841399104241448960,"description":"Unknown IO ID 45"} 
[2026-07-13 08:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681309696001,"power":14461,"unknown_36":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":841399104241448960}} 
[2026-07-13 08:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":130335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479012,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:26:33] local.INFO: GPS data processed {"connection_id":130335,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:26:33] local.INFO: Acknowledgment sent {"connection_id":130335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:26:35] local.INFO: TCP Data received {"connection_id":130132,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:26:35] local.INFO: Processing buffer {"connection_id":130132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:26:35] local.INFO: IMEI packet received {"connection_id":130132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":130132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:26:40] local.INFO: TCP Data received {"connection_id":130132,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:26:40] local.INFO: Processing buffer {"connection_id":130132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:26:40] local.INFO: IMEI packet received {"connection_id":130132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":130132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:26:41] local.INFO: TCP Data received {"connection_id":130132,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:26:41] local.INFO: Processing buffer {"connection_id":130132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:26:41] local.INFO: Packet analysis {"connection_id":130132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5963"} 
[2026-07-13 08:26:41] local.INFO: Extracted packet for processing {"connection_id":130132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5963"} 
[2026-07-13 08:26:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681170176001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783911122000,"timestamp_ms":1783911122000,"timestamp_seconds":1783911122,"priority":1,"record_length":96,"hex_timestamp":"0000019f59638450"} 
[2026-07-13 08:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681170176001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681170176001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:26:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:26:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681170176001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":130132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:26:41] local.INFO: GPS data processed {"connection_id":130132,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:26:41] local.INFO: Acknowledgment sent {"connection_id":130132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:26:48] local.INFO: TCP Data received {"connection_id":130133,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:26:48] local.INFO: Processing buffer {"connection_id":130133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:26:48] local.INFO: IMEI packet received {"connection_id":130133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":130133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:26:52] local.INFO: TCP Data received {"connection_id":130133,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:26:52] local.INFO: Processing buffer {"connection_id":130133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:26:52] local.INFO: IMEI packet received {"connection_id":130133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":130133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:26:53] local.INFO: TCP Data received {"connection_id":130133,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59674158012d7b580005e89ed0000400012b..."} 
[2026-07-13 08:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59674158012d7b580005e89ed0000400012b..."} 
[2026-07-13 08:26:53] local.INFO: Processing buffer {"connection_id":130133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59674158012d7b580005e89ed0000400012b..."} 
[2026-07-13 08:26:53] local.INFO: Packet analysis {"connection_id":130133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5967"} 
[2026-07-13 08:26:53] local.INFO: Extracted packet for processing {"connection_id":130133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5967"} 
[2026-07-13 08:26:53] local.INFO: GPS Element Parsed {"raw_longitude":763058176,"raw_latitude":99131088,"longitude_deg":76.3058176,"latitude_deg":9.9131088,"altitude":4,"angle":1,"satellites":43,"speed":41,"hex_longitude":"2d7b5800","hex_latitude":"05e89ed0","is_valid_coordinates":true} 
[2026-07-13 08:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681307648001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105636150869229568,"note":"Value kept but may cause issues"} 
[2026-07-13 08:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888064996223354880,"note":"Value kept but may cause issues"} 
[2026-07-13 08:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783911367000,"timestamp_ms":1783911367000,"timestamp_seconds":1783911367,"priority":1,"record_length":96,"hex_timestamp":"0000019f59674158"} 
[2026-07-13 08:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:26: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-07-13 08: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-13 08:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":130133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":130133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":130133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681307648001,"66":13504,"201":206,"87":13824,"24":41,"16":105636150869229568,"45":8888064996223354880},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-13 08:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681307648001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:26:53] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-13 08:26:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105636150869229568,"km_value":105636150869229.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888064996223354880,"description":"Unknown IO ID 45"} 
[2026-07-13 08:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681307648001,"power":13504,"unknown_201":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":8888064996223354880}} 
[2026-07-13 08:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":130133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:26:53] local.INFO: GPS data processed {"connection_id":130133,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:26:53] local.INFO: Acknowledgment sent {"connection_id":130133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:26:54] local.INFO: TCP Data received {"connection_id":130133,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59676480012d7b548005e8c338000501622c..."} 
[2026-07-13 08:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59676480012d7b548005e8c338000501622c..."} 
[2026-07-13 08:26:54] local.INFO: Processing buffer {"connection_id":130133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59676480012d7b548005e8c338000501622c..."} 
[2026-07-13 08:26:54] local.INFO: Packet analysis {"connection_id":130133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5967"} 
[2026-07-13 08:26:54] local.INFO: Extracted packet for processing {"connection_id":130133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5967"} 
[2026-07-13 08:26:54] local.INFO: GPS Element Parsed {"raw_longitude":763057280,"raw_latitude":99140408,"longitude_deg":76.305728,"latitude_deg":9.9140408,"altitude":5,"angle":354,"satellites":44,"speed":35,"hex_longitude":"2d7b5480","hex_latitude":"05e8c338","is_valid_coordinates":true} 
[2026-07-13 08:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681309952001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105636606135762944,"note":"Value kept but may cause issues"} 
[2026-07-13 08:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887853889993232384,"note":"Value kept but may cause issues"} 
[2026-07-13 08:26:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783911376000,"timestamp_ms":1783911376000,"timestamp_seconds":1783911376,"priority":1,"record_length":96,"hex_timestamp":"0000019f59676480"} 
[2026-07-13 08:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:26:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-07-13 08:26:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:26:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:26:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681309952001,"66":13276,"201":206,"87":13824,"24":35,"16":105636606135762944,"45":8887853889993232384},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-13 08:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681309952001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:26:54] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-13 08:26:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105636606135762944,"km_value":105636606135762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887853889993232384,"description":"Unknown IO ID 45"} 
[2026-07-13 08:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681309952001,"power":13276,"unknown_201":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8887853889993232384}} 
[2026-07-13 08:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":130133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479015,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:26:54] local.INFO: GPS data processed {"connection_id":130133,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:26:54] local.INFO: Acknowledgment sent {"connection_id":130133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:27:04] local.INFO: TCP Data received {"connection_id":130335,"ip":"42.106.6.29","data_length":93,"data_hex":"00000000000000518e010000019f59674d10012d0bb3c00702a2e00037006308..."} 
[2026-07-13 08:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130335,"packet_length":93,"packet_hex":"00000000000000518e010000019f59674d10012d0bb3c00702a2e00037006308..."} 
[2026-07-13 08:27:04] local.INFO: Processing buffer {"connection_id":130335,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f59674d10012d0bb3c00702a2e00037006308..."} 
[2026-07-13 08:27:04] local.INFO: Packet analysis {"connection_id":130335,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f5967"} 
[2026-07-13 08:27:04] local.INFO: Extracted packet for processing {"connection_id":130335,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f5967"} 
[2026-07-13 08:27:04] local.INFO: GPS Element Parsed {"raw_longitude":755741632,"raw_latitude":117613280,"longitude_deg":75.5741632,"latitude_deg":11.761328,"altitude":55,"angle":99,"satellites":8,"speed":15,"hex_longitude":"2d0bb3c0","hex_latitude":"0702a2e0","is_valid_coordinates":true} 
[2026-07-13 08: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":93,"current_offset":40} 
[2026-07-13 08:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:27:04] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:27:04] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-13 08:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130335,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-13 08:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130335,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-13 08:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130335,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-13 08:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-13 08:27:04] local.WARNING: DEBUG: No valid data to process  
[2026-07-13 08:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":130335,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-13 08:27:04] local.ERROR: GPS data processing failed {"connection_id":130335,"error":"No valid data to process"} 
[2026-07-13 08:27:04] local.INFO: Acknowledgment sent {"connection_id":130335,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-13 08:27:12] local.INFO: TCP Data received {"connection_id":130132,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:27:12] local.INFO: Processing buffer {"connection_id":130132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:27:12] local.INFO: Packet analysis {"connection_id":130132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5963"} 
[2026-07-13 08:27:12] local.INFO: Extracted packet for processing {"connection_id":130132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5963"} 
[2026-07-13 08:27:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681170176001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783911122000,"timestamp_ms":1783911122000,"timestamp_seconds":1783911122,"priority":1,"record_length":96,"hex_timestamp":"0000019f59638450"} 
[2026-07-13 08:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681170176001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681170176001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:27:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:27:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681170176001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":130132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:27:12] local.INFO: GPS data processed {"connection_id":130132,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:27:12] local.INFO: Acknowledgment sent {"connection_id":130132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:27:26] local.INFO: TCP Data received {"connection_id":130133,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59678f78012d7b508005e8e860000401612b..."} 
[2026-07-13 08:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59678f78012d7b508005e8e860000401612b..."} 
[2026-07-13 08:27:26] local.INFO: Processing buffer {"connection_id":130133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59678f78012d7b508005e8e860000401612b..."} 
[2026-07-13 08:27:26] local.INFO: Packet analysis {"connection_id":130133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5967"} 
[2026-07-13 08:27:26] local.INFO: Extracted packet for processing {"connection_id":130133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5967"} 
[2026-07-13 08:27:26] local.INFO: GPS Element Parsed {"raw_longitude":763056256,"raw_latitude":99149920,"longitude_deg":76.3056256,"latitude_deg":9.914992,"altitude":4,"angle":353,"satellites":43,"speed":38,"hex_longitude":"2d7b5080","hex_latitude":"05e8e860","is_valid_coordinates":true} 
[2026-07-13 08:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681312256001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105637069992230912,"note":"Value kept but may cause issues"} 
[2026-07-13 08:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886868727577131008,"note":"Value kept but may cause issues"} 
[2026-07-13 08:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783911387000,"timestamp_ms":1783911387000,"timestamp_seconds":1783911387,"priority":1,"record_length":96,"hex_timestamp":"0000019f59678f78"} 
[2026-07-13 08:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-13 08:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:27:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":130133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":130133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":130133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:27:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681312256001,"66":13319,"201":206,"87":13824,"24":38,"16":105637069992230912,"45":8886868727577131008},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-13 08:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681312256001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:27:26] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-13 08:27:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105637069992230912,"km_value":105637069992230.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886868727577131008,"description":"Unknown IO ID 45"} 
[2026-07-13 08:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681312256001,"power":13319,"unknown_201":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8886868727577131008}} 
[2026-07-13 08:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":130133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479017,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:27:26] local.INFO: GPS data processed {"connection_id":130133,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:27:26] local.INFO: Acknowledgment sent {"connection_id":130133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:27:35] local.INFO: TCP Data received {"connection_id":132449,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:27:35] local.INFO: Processing buffer {"connection_id":132449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:27:35] local.INFO: IMEI packet received {"connection_id":132449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":132449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:27:35] local.INFO: TCP Data received {"connection_id":130335,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59683770012d0bf8000702a988002f005308..."} 
[2026-07-13 08:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59683770012d0bf8000702a988002f005308..."} 
[2026-07-13 08:27:35] local.INFO: Processing buffer {"connection_id":130335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59683770012d0bf8000702a988002f005308..."} 
[2026-07-13 08:27:35] local.INFO: Packet analysis {"connection_id":130335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:27:35] local.INFO: Extracted packet for processing {"connection_id":130335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:27:35] local.INFO: GPS Element Parsed {"raw_longitude":755759104,"raw_latitude":117614984,"longitude_deg":75.5759104,"latitude_deg":11.7614984,"altitude":47,"angle":83,"satellites":8,"speed":8,"hex_longitude":"2d0bf800","hex_latitude":"0702a988","is_valid_coordinates":true} 
[2026-07-13 08:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681325568001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24141203716964352,"note":"Value kept but may cause issues"} 
[2026-07-13 08:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862017146285791232,"note":"Value kept but may cause issues"} 
[2026-07-13 08:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783911430000,"timestamp_ms":1783911430000,"timestamp_seconds":1783911430,"priority":1,"record_length":96,"hex_timestamp":"0000019f59683770"} 
[2026-07-13 08:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-13 08:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681325568001,"66":14515,"36":206,"94":11008,"24":8,"16":24141203716964352,"45":862017146285791232},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-07-13 08:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681325568001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:27:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-13 08:27:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 08:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24141203716964352,"km_value":24141203716964.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":862017146285791232,"description":"Unknown IO ID 45"} 
[2026-07-13 08:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681325568001,"power":14515,"unknown_36":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":862017146285791232}} 
[2026-07-13 08:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":130335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479018,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:27:35] local.INFO: GPS data processed {"connection_id":130335,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:27:35] local.INFO: Acknowledgment sent {"connection_id":130335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:27:40] local.INFO: TCP Data received {"connection_id":132449,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:27:40] local.INFO: Processing buffer {"connection_id":132449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:27:40] local.INFO: IMEI packet received {"connection_id":132449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":132449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:27:41] local.INFO: TCP Data received {"connection_id":132449,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:27:41] local.INFO: Processing buffer {"connection_id":132449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59638450012d7f914005afd9380005011b25..."} 
[2026-07-13 08:27:41] local.INFO: Packet analysis {"connection_id":132449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5963"} 
[2026-07-13 08:27:41] local.INFO: Extracted packet for processing {"connection_id":132449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5963"} 
[2026-07-13 08:27:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681170176001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783911122000,"timestamp_ms":1783911122000,"timestamp_seconds":1783911122,"priority":1,"record_length":96,"hex_timestamp":"0000019f59638450"} 
[2026-07-13 08:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681170176001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681170176001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:27:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:27:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681170176001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":132449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:27:41] local.INFO: GPS data processed {"connection_id":132449,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:27:41] local.INFO: Acknowledgment sent {"connection_id":132449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:27:43] local.INFO: TCP Data received {"connection_id":132450,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132450,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:27:43] local.INFO: Processing buffer {"connection_id":132450,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:27:43] local.INFO: IMEI packet received {"connection_id":132450,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":132450,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:27:49] local.INFO: TCP Data received {"connection_id":132450,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132450,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:27:49] local.INFO: Processing buffer {"connection_id":132450,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:27:49] local.INFO: IMEI packet received {"connection_id":132450,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":132450,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:27:53] local.INFO: TCP Data received {"connection_id":132450,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5967b688012d7b4b8005e90dc00005015e28..."} 
[2026-07-13 08:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5967b688012d7b4b8005e90dc00005015e28..."} 
[2026-07-13 08:27:53] local.INFO: Processing buffer {"connection_id":132450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5967b688012d7b4b8005e90dc00005015e28..."} 
[2026-07-13 08:27:53] local.INFO: Packet analysis {"connection_id":132450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5967"} 
[2026-07-13 08:27:53] local.INFO: Extracted packet for processing {"connection_id":132450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5967"} 
[2026-07-13 08:27:53] local.INFO: GPS Element Parsed {"raw_longitude":763054976,"raw_latitude":99159488,"longitude_deg":76.3054976,"latitude_deg":9.9159488,"altitude":5,"angle":350,"satellites":40,"speed":39,"hex_longitude":"2d7b4b80","hex_latitude":"05e90dc0","is_valid_coordinates":true} 
[2026-07-13 08:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681315072001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105637538143666176,"note":"Value kept but may cause issues"} 
[2026-07-13 08:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885742827672723456,"note":"Value kept but may cause issues"} 
[2026-07-13 08:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783911397000,"timestamp_ms":1783911397000,"timestamp_seconds":1783911397,"priority":1,"record_length":96,"hex_timestamp":"0000019f5967b688"} 
[2026-07-13 08:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:27: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-07-13 08:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 08:27:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 08:27:53] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3894226944,"note":"Value kept but may cause issues"} 
[2026-07-13 08:27:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-13 08:27:53] local.WARNING: Large IO value detected {"io_id":232,"raw_value":1952310455645513984,"note":"Value kept but may cause issues"} 
[2026-07-13 08:27:53] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3221612598,"note":"Value kept but may cause issues"} 
[2026-07-13 08:27:53] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040015,"note":"Value kept but may cause issues"} 
[2026-07-13 08:27:53] local.WARNING: Large IO value detected {"io_id":79,"raw_value":57719726202050358,"note":"Value kept but may cause issues"} 
[2026-07-13 08:27:53] local.WARNING: Large IO value detected {"io_id":102,"raw_value":-7394909293287735291,"note":"Value kept but may cause issues"} 
[2026-07-13 08:27:53] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,201,87,24,241,157,16,76,159,100,45,128,195,5,44,10,66,75,65,158,4,43,30,192,1,240,160,227,89,232,113,205,32,208,88,216,40,239,51,2,119,11,79,102],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[]} 
[2026-07-13 08:27:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288618688442400768,"timestamp_seconds":288618688442400.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 08:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":132450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":132450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":132450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681315072001,"66":13189,"201":206,"87":13824,"24":39,"16":105637538143666176,"45":8885742827672723456},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-13 08:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681315072001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:27:53] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-13 08:27:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105637538143666176,"km_value":105637538143666.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885742827672723456,"description":"Unknown IO ID 45"} 
[2026-07-13 08:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681315072001,"power":13189,"unknown_201":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":8885742827672723456}} 
[2026-07-13 08:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":132450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479020,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:27:53] local.INFO: GPS data processed {"connection_id":132450,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:27:53] local.INFO: Acknowledgment sent {"connection_id":132450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:28:06] local.INFO: TCP Data received {"connection_id":130335,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59686e20012d0c03800702ab30002a00480a..."} 
[2026-07-13 08:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59686e20012d0c03800702ab30002a00480a..."} 
[2026-07-13 08:28:06] local.INFO: Processing buffer {"connection_id":130335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59686e20012d0c03800702ab30002a00480a..."} 
[2026-07-13 08:28:06] local.INFO: Packet analysis {"connection_id":130335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:28:06] local.INFO: Extracted packet for processing {"connection_id":130335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:28:06] local.INFO: GPS Element Parsed {"raw_longitude":755762048,"raw_latitude":117615408,"longitude_deg":75.5762048,"latitude_deg":11.7615408,"altitude":42,"angle":72,"satellites":10,"speed":10,"hex_longitude":"2d0c0380","hex_latitude":"0702ab30","is_valid_coordinates":true} 
[2026-07-13 08:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681326080001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24141341155917824,"note":"Value kept but may cause issues"} 
[2026-07-13 08:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862439358750885888,"note":"Value kept but may cause issues"} 
[2026-07-13 08:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783911444000,"timestamp_ms":1783911444000,"timestamp_seconds":1783911444,"priority":1,"record_length":96,"hex_timestamp":"0000019f59686e20"} 
[2026-07-13 08:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-13 08:28: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-07-13 08:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681326080001,"66":14537,"37":206,"94":11008,"24":10,"16":24141341155917824,"45":862439358750885888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-13 08:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681326080001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:28:06] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-13 08:28:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 08:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24141341155917824,"km_value":24141341155917.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":862439358750885888,"description":"Unknown IO ID 45"} 
[2026-07-13 08:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681326080001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":862439358750885888}} 
[2026-07-13 08:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":130335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479021,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:28:06] local.INFO: GPS data processed {"connection_id":130335,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:28:06] local.INFO: Acknowledgment sent {"connection_id":130335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:28:12] local.INFO: TCP Data received {"connection_id":132449,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f59681c18012d7f914005afd9380005011b23..."} 
[2026-07-13 08:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59681c18012d7f914005afd9380005011b23..."} 
[2026-07-13 08:28:12] local.INFO: Processing buffer {"connection_id":132449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59681c18012d7f914005afd9380005011b23..."} 
[2026-07-13 08:28:12] local.INFO: Packet analysis {"connection_id":132449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:28:12] local.INFO: Extracted packet for processing {"connection_id":132449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:28:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681247232001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783911423000,"timestamp_ms":1783911423000,"timestamp_seconds":1783911423,"priority":1,"record_length":96,"hex_timestamp":"0000019f59681c18"} 
[2026-07-13 08:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681247232001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681247232001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:28:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:28:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681247232001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":132449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:28:12] local.INFO: GPS data processed {"connection_id":132449,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:28:12] local.INFO: Acknowledgment sent {"connection_id":132449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:28:32] local.INFO: TCP Data received {"connection_id":132450,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5968eb20012d7b7ec005e93b000006004828..."} 
[2026-07-13 08:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5968eb20012d7b7ec005e93b000006004828..."} 
[2026-07-13 08:28:32] local.INFO: Processing buffer {"connection_id":132450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5968eb20012d7b7ec005e93b000006004828..."} 
[2026-07-13 08:28:32] local.INFO: Packet analysis {"connection_id":132450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:28:32] local.INFO: Extracted packet for processing {"connection_id":132450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:28:32] local.INFO: GPS Element Parsed {"raw_longitude":763068096,"raw_latitude":99171072,"longitude_deg":76.3068096,"latitude_deg":9.9171072,"altitude":6,"angle":72,"satellites":40,"speed":15,"hex_longitude":"2d7b7ec0","hex_latitude":"05e93b00","is_valid_coordinates":true} 
[2026-07-13 08:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681336832001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105638672015032320,"note":"Value kept but may cause issues"} 
[2026-07-13 08:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896790720513802240,"note":"Value kept but may cause issues"} 
[2026-07-13 08:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783911476000,"timestamp_ms":1783911476000,"timestamp_seconds":1783911476,"priority":1,"record_length":96,"hex_timestamp":"0000019f5968eb20"} 
[2026-07-13 08:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-13 08:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":132450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":132450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":132450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681336832001,"66":13059,"201":206,"87":13824,"24":15,"16":105638672015032320,"45":8896790720513802240},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-13 08:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681336832001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:28:32] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-13 08:28:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105638672015032320,"km_value":105638672015032.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896790720513802240,"description":"Unknown IO ID 45"} 
[2026-07-13 08:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681336832001,"power":13059,"unknown_201":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8896790720513802240}} 
[2026-07-13 08:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":132450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479023,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:28:32] local.INFO: GPS data processed {"connection_id":132450,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:28:32] local.INFO: Acknowledgment sent {"connection_id":132450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:28:35] local.INFO: TCP Data received {"connection_id":130338,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:28:35] local.INFO: Processing buffer {"connection_id":130338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:28:35] local.INFO: IMEI packet received {"connection_id":130338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":130338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:28:37] local.INFO: TCP Data received {"connection_id":130335,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59688978012d0c0b400702ad48002600550a..."} 
[2026-07-13 08:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59688978012d0c0b400702ad48002600550a..."} 
[2026-07-13 08:28:37] local.INFO: Processing buffer {"connection_id":130335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59688978012d0c0b400702ad48002600550a..."} 
[2026-07-13 08:28:37] local.INFO: Packet analysis {"connection_id":130335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:28:37] local.INFO: Extracted packet for processing {"connection_id":130335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:28:37] local.INFO: GPS Element Parsed {"raw_longitude":755764032,"raw_latitude":117615944,"longitude_deg":75.5764032,"latitude_deg":11.7615944,"altitude":38,"angle":85,"satellites":10,"speed":7,"hex_longitude":"2d0c0b40","hex_latitude":"0702ad48","is_valid_coordinates":true} 
[2026-07-13 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-07-13 08:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681329664001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24141439940165632,"note":"Value kept but may cause issues"} 
[2026-07-13 08:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":865676320983166976,"note":"Value kept but may cause issues"} 
[2026-07-13 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-07-13 08:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783911451000,"timestamp_ms":1783911451000,"timestamp_seconds":1783911451,"priority":1,"record_length":96,"hex_timestamp":"0000019f59688978"} 
[2026-07-13 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-07-13 08:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-13 08:28: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-07-13 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-07-13 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-07-13 08:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681329664001,"66":14515,"37":206,"94":11008,"24":7,"16":24141439940165632,"45":865676320983166976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-13 08:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681329664001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:28:37] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-13 08:28:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 08:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24141439940165632,"km_value":24141439940165.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":865676320983166976,"description":"Unknown IO ID 45"} 
[2026-07-13 08:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681329664001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":865676320983166976}} 
[2026-07-13 08:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":130335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479024,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:28:38] local.INFO: GPS data processed {"connection_id":130335,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:28:38] local.INFO: Acknowledgment sent {"connection_id":130335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:28:40] local.INFO: TCP Data received {"connection_id":130338,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:28:40] local.INFO: Processing buffer {"connection_id":130338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:28:40] local.INFO: IMEI packet received {"connection_id":130338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":130338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:28:41] local.INFO: TCP Data received {"connection_id":130338,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f59681c18012d7f914005afd9380005011b23..."} 
[2026-07-13 08:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59681c18012d7f914005afd9380005011b23..."} 
[2026-07-13 08:28:41] local.INFO: Processing buffer {"connection_id":130338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59681c18012d7f914005afd9380005011b23..."} 
[2026-07-13 08:28:41] local.INFO: Packet analysis {"connection_id":130338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:28:41] local.INFO: Extracted packet for processing {"connection_id":130338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:28:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681247232001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783911423000,"timestamp_ms":1783911423000,"timestamp_seconds":1783911423,"priority":1,"record_length":96,"hex_timestamp":"0000019f59681c18"} 
[2026-07-13 08:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681247232001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681247232001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:28:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:28:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681247232001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":130338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:28:41] local.INFO: GPS data processed {"connection_id":130338,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:28:41] local.INFO: Acknowledgment sent {"connection_id":130338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:28:52] local.INFO: TCP Data received {"connection_id":131133,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:28:52] local.INFO: Processing buffer {"connection_id":131133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:28:52] local.INFO: IMEI packet received {"connection_id":131133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":131133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:28:53] local.INFO: TCP Data received {"connection_id":131133,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:28:53] local.INFO: Processing buffer {"connection_id":131133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:28:53] local.INFO: IMEI packet received {"connection_id":131133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":131133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:28:54] local.INFO: TCP Data received {"connection_id":131133,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59693170012d7b840005e93be80007005c2a..."} 
[2026-07-13 08:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59693170012d7b840005e93be80007005c2a..."} 
[2026-07-13 08:28:54] local.INFO: Processing buffer {"connection_id":131133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59693170012d7b840005e93be80007005c2a..."} 
[2026-07-13 08:28:54] local.INFO: Packet analysis {"connection_id":131133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5969"} 
[2026-07-13 08:28:54] local.INFO: Extracted packet for processing {"connection_id":131133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5969"} 
[2026-07-13 08:28:54] local.INFO: GPS Element Parsed {"raw_longitude":763069440,"raw_latitude":99171304,"longitude_deg":76.306944,"latitude_deg":9.9171304,"altitude":7,"angle":92,"satellites":42,"speed":6,"hex_longitude":"2d7b8400","hex_latitude":"05e93be8","is_valid_coordinates":true} 
[2026-07-13 08:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681337856001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105638740734509056,"note":"Value kept but may cause issues"} 
[2026-07-13 08:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898761045351006208,"note":"Value kept but may cause issues"} 
[2026-07-13 08:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783911494000,"timestamp_ms":1783911494000,"timestamp_seconds":1783911494,"priority":1,"record_length":96,"hex_timestamp":"0000019f59693170"} 
[2026-07-13 08:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-13 08:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163549732141,"note":"Value kept but may cause issues"} 
[2026-07-13 08:28:54] local.WARNING: Large IO value detected {"io_id":201,"raw_value":58079734643818500,"note":"Value kept but may cause issues"} 
[2026-07-13 08:28:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 08:28:54] local.WARNING: Large IO value detected {"io_id":77,"raw_value":2583691264,"note":"Value kept but may cause issues"} 
[2026-07-13 08:28:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":768147662,"corrected_to":0} 
[2026-07-13 08:28:54] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3221302651,"note":"Value kept but may cause issues"} 
[2026-07-13 08:28:54] local.WARNING: Large IO value detected {"io_id":73,"raw_value":3221612846,"note":"Value kept but may cause issues"} 
[2026-07-13 08:28:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":524361,"corrected_to":0} 
[2026-07-13 08:28:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3912153088,"note":"Value kept but may cause issues"} 
[2026-07-13 08:28:54] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,201,87,24,241,157,16,77,159,219,45,192,55,7,37,10,66,199,51,8,40,1,240,220,227,89,233,4,113,205,125,73,200,38,239,2,119,5],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":768147662,"validated":0},{"io_id":200,"original":524361,"validated":0}]} 
[2026-07-13 08:28:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432424900864442368,"timestamp_seconds":432424900864442.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 08:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":131133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":131133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":131133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681337856001,"66":13178,"201":206,"87":13824,"24":6,"16":105638740734509056,"45":8898761045351006208},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-13 08:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681337856001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:28:54] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-13 08:28:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105638740734509056,"km_value":105638740734509.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898761045351006208,"description":"Unknown IO ID 45"} 
[2026-07-13 08:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681337856001,"power":13178,"unknown_201":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8898761045351006208}} 
[2026-07-13 08:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":131133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479026,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:28:54] local.INFO: GPS data processed {"connection_id":131133,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:28:54] local.INFO: Acknowledgment sent {"connection_id":131133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:28:55] local.INFO: TCP Data received {"connection_id":131133,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f596944f8012d7b894005e93c48000600502b..."} 
[2026-07-13 08:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596944f8012d7b894005e93c48000600502b..."} 
[2026-07-13 08:28:55] local.INFO: Processing buffer {"connection_id":131133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596944f8012d7b894005e93c48000600502b..."} 
[2026-07-13 08:28:55] local.INFO: Packet analysis {"connection_id":131133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5969"} 
[2026-07-13 08:28:55] local.INFO: Extracted packet for processing {"connection_id":131133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5969"} 
[2026-07-13 08:28:55] local.INFO: GPS Element Parsed {"raw_longitude":763070784,"raw_latitude":99171400,"longitude_deg":76.3070784,"latitude_deg":9.91714,"altitude":6,"angle":80,"satellites":43,"speed":13,"hex_longitude":"2d7b8940","hex_latitude":"05e93c48","is_valid_coordinates":true} 
[2026-07-13 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-07-13 08:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681342464001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105638800864051200,"note":"Value kept but may cause issues"} 
[2026-07-13 08:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900238788978796544,"note":"Value kept but may cause issues"} 
[2026-07-13 08:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783911499000,"timestamp_ms":1783911499000,"timestamp_seconds":1783911499,"priority":1,"record_length":96,"hex_timestamp":"0000019f596944f8"} 
[2026-07-13 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-07-13 08:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-13 08:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 08:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":131133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":131133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":131133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681342464001,"66":13135,"201":206,"87":13824,"24":13,"16":105638800864051200,"45":8900238788978796544},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-13 08:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681342464001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:28:55] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-13 08:28:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105638800864051200,"km_value":105638800864051.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900238788978796544,"description":"Unknown IO ID 45"} 
[2026-07-13 08:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681342464001,"power":13135,"unknown_201":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8900238788978796544}} 
[2026-07-13 08:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":131133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479027,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:28:55] local.INFO: GPS data processed {"connection_id":131133,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:28:55] local.INFO: Acknowledgment sent {"connection_id":131133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:29:08] local.INFO: TCP Data received {"connection_id":130335,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5968aca0012d0c10000702ae50002300460a..."} 
[2026-07-13 08:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5968aca0012d0c10000702ae50002300460a..."} 
[2026-07-13 08:29:08] local.INFO: Processing buffer {"connection_id":130335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5968aca0012d0c10000702ae50002300460a..."} 
[2026-07-13 08:29:08] local.INFO: Packet analysis {"connection_id":130335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:29:08] local.INFO: Extracted packet for processing {"connection_id":130335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:29:08] local.INFO: GPS Element Parsed {"raw_longitude":755765248,"raw_latitude":117616208,"longitude_deg":75.5765248,"latitude_deg":11.7616208,"altitude":35,"angle":70,"satellites":10,"speed":8,"hex_longitude":"2d0c1000","hex_latitude":"0702ae50","is_valid_coordinates":true} 
[2026-07-13 08:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681331456001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24141500069707776,"note":"Value kept but may cause issues"} 
[2026-07-13 08:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":867857752052811776,"note":"Value kept but may cause issues"} 
[2026-07-13 08:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783911460000,"timestamp_ms":1783911460000,"timestamp_seconds":1783911460,"priority":1,"record_length":96,"hex_timestamp":"0000019f5968aca0"} 
[2026-07-13 08:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-13 08:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681331456001,"66":14428,"37":206,"94":11008,"24":8,"16":24141500069707776,"45":867857752052811776},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-13 08:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681331456001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:29:08] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-13 08:29:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 08:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24141500069707776,"km_value":24141500069707.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":867857752052811776,"description":"Unknown IO ID 45"} 
[2026-07-13 08:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681331456001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":867857752052811776}} 
[2026-07-13 08:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":130335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479028,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:29:09] local.INFO: GPS data processed {"connection_id":130335,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:29:09] local.INFO: Acknowledgment sent {"connection_id":130335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:29:12] local.INFO: TCP Data received {"connection_id":130338,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f59681c18012d7f914005afd9380005011b23..."} 
[2026-07-13 08:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59681c18012d7f914005afd9380005011b23..."} 
[2026-07-13 08:29:12] local.INFO: Processing buffer {"connection_id":130338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59681c18012d7f914005afd9380005011b23..."} 
[2026-07-13 08:29:12] local.INFO: Packet analysis {"connection_id":130338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:29:12] local.INFO: Extracted packet for processing {"connection_id":130338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:29:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681247232001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783911423000,"timestamp_ms":1783911423000,"timestamp_seconds":1783911423,"priority":1,"record_length":96,"hex_timestamp":"0000019f59681c18"} 
[2026-07-13 08:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681247232001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681247232001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:29:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:29:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681247232001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":130338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:29:12] local.INFO: GPS data processed {"connection_id":130338,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:29:12] local.INFO: Acknowledgment sent {"connection_id":130338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:29:27] local.INFO: TCP Data received {"connection_id":131133,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59696820012d7b984005e940f80005003e2a..."} 
[2026-07-13 08:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59696820012d7b984005e940f80005003e2a..."} 
[2026-07-13 08:29:27] local.INFO: Processing buffer {"connection_id":131133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59696820012d7b984005e940f80005003e2a..."} 
[2026-07-13 08:29:27] local.INFO: Packet analysis {"connection_id":131133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5969"} 
[2026-07-13 08:29:27] local.INFO: Extracted packet for processing {"connection_id":131133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5969"} 
[2026-07-13 08:29:27] local.INFO: GPS Element Parsed {"raw_longitude":763074624,"raw_latitude":99172600,"longitude_deg":76.3074624,"latitude_deg":9.91726,"altitude":5,"angle":62,"satellites":42,"speed":18,"hex_longitude":"2d7b9840","hex_latitude":"05e940f8","is_valid_coordinates":true} 
[2026-07-13 08:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681343744001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105638998432546816,"note":"Value kept but may cause issues"} 
[2026-07-13 08:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901716532606552064,"note":"Value kept but may cause issues"} 
[2026-07-13 08:29:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783911508000,"timestamp_ms":1783911508000,"timestamp_seconds":1783911508,"priority":1,"record_length":96,"hex_timestamp":"0000019f59696820"} 
[2026-07-13 08:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-13 08:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:29:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":131133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":131133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":131133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681343744001,"66":13178,"201":206,"87":13824,"24":18,"16":105638998432546816,"45":8901716532606552064},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-13 08:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681343744001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:29:27] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-13 08:29:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105638998432546816,"km_value":105638998432546.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901716532606552064,"description":"Unknown IO ID 45"} 
[2026-07-13 08:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681343744001,"power":13178,"unknown_201":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8901716532606552064}} 
[2026-07-13 08:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":131133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479030,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:29:27] local.INFO: GPS data processed {"connection_id":131133,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:29:27] local.INFO: Acknowledgment sent {"connection_id":131133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:29:40] local.INFO: TCP Data received {"connection_id":130335,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5968b858012d0c13000702af30002300520a..."} 
[2026-07-13 08:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5968b858012d0c13000702af30002300520a..."} 
[2026-07-13 08:29:40] local.INFO: Processing buffer {"connection_id":130335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5968b858012d0c13000702af30002300520a..."} 
[2026-07-13 08:29:40] local.INFO: Packet analysis {"connection_id":130335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:29:40] local.INFO: Extracted packet for processing {"connection_id":130335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:29:40] local.INFO: GPS Element Parsed {"raw_longitude":755766016,"raw_latitude":117616432,"longitude_deg":75.5766016,"latitude_deg":11.7616432,"altitude":35,"angle":82,"satellites":10,"speed":11,"hex_longitude":"2d0c1300","hex_latitude":"0702af30","is_valid_coordinates":true} 
[2026-07-13 08:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681333760001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24141538724413440,"note":"Value kept but may cause issues"} 
[2026-07-13 08:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":869194758192254976,"note":"Value kept but may cause issues"} 
[2026-07-13 08:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783911463000,"timestamp_ms":1783911463000,"timestamp_seconds":1783911463,"priority":1,"record_length":96,"hex_timestamp":"0000019f5968b858"} 
[2026-07-13 08:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 08:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681333760001,"66":14428,"37":206,"94":11008,"24":11,"16":24141538724413440,"45":869194758192254976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-13 08:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681333760001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:29:40] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-13 08:29:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 08:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24141538724413440,"km_value":24141538724413.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":869194758192254976,"description":"Unknown IO ID 45"} 
[2026-07-13 08:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681333760001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":869194758192254976}} 
[2026-07-13 08:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":130335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479031,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:29:40] local.INFO: GPS data processed {"connection_id":130335,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:29:40] local.INFO: Acknowledgment sent {"connection_id":130335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:29:40] local.INFO: TCP Data received {"connection_id":130339,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:29:40] local.INFO: Processing buffer {"connection_id":130339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:29:40] local.INFO: IMEI packet received {"connection_id":130339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":130339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:29:43] local.INFO: TCP Data received {"connection_id":130134,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130134,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:29:43] local.INFO: Processing buffer {"connection_id":130134,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:29:43] local.INFO: IMEI packet received {"connection_id":130134,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":130134,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:29:45] local.INFO: TCP Data received {"connection_id":130339,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:29:45] local.INFO: Processing buffer {"connection_id":130339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:29:45] local.INFO: IMEI packet received {"connection_id":130339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":130339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:29:46] local.INFO: TCP Data received {"connection_id":130339,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f59681c18012d7f914005afd9380005011b23..."} 
[2026-07-13 08:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59681c18012d7f914005afd9380005011b23..."} 
[2026-07-13 08:29:46] local.INFO: Processing buffer {"connection_id":130339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59681c18012d7f914005afd9380005011b23..."} 
[2026-07-13 08:29:46] local.INFO: Packet analysis {"connection_id":130339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:29:46] local.INFO: Extracted packet for processing {"connection_id":130339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:29:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681247232001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783911423000,"timestamp_ms":1783911423000,"timestamp_seconds":1783911423,"priority":1,"record_length":96,"hex_timestamp":"0000019f59681c18"} 
[2026-07-13 08:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681247232001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681247232001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:29:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:29:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681247232001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":130339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:29:46] local.INFO: GPS data processed {"connection_id":130339,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:29:46] local.INFO: Acknowledgment sent {"connection_id":130339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:29:48] local.INFO: TCP Data received {"connection_id":130134,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130134,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:29:48] local.INFO: Processing buffer {"connection_id":130134,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:29:48] local.INFO: IMEI packet received {"connection_id":130134,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":130134,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:29:49] local.INFO: TCP Data received {"connection_id":130134,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59699318012d7bae8005e948300003004926..."} 
[2026-07-13 08:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59699318012d7bae8005e948300003004926..."} 
[2026-07-13 08:29:49] local.INFO: Processing buffer {"connection_id":130134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59699318012d7bae8005e948300003004926..."} 
[2026-07-13 08:29:49] local.INFO: Packet analysis {"connection_id":130134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5969"} 
[2026-07-13 08:29:49] local.INFO: Extracted packet for processing {"connection_id":130134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5969"} 
[2026-07-13 08:29:49] local.INFO: GPS Element Parsed {"raw_longitude":763080320,"raw_latitude":99174448,"longitude_deg":76.308032,"latitude_deg":9.9174448,"altitude":3,"angle":73,"satellites":38,"speed":19,"hex_longitude":"2d7bae80","hex_latitude":"05e94830","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681346048001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105639281900388352,"note":"Value kept but may cause issues"} 
[2026-07-13 08:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905938657257519104,"note":"Value kept but may cause issues"} 
[2026-07-13 08:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783911519000,"timestamp_ms":1783911519000,"timestamp_seconds":1783911519,"priority":1,"record_length":96,"hex_timestamp":"0000019f59699318"} 
[2026-07-13 08:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:29: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-07-13 08:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-13 08:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08: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-07-13 08:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681346048001,"66":13189,"9":206,"87":13824,"24":19,"16":105639281900388352,"45":8905938657257519104},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-07-13 08:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681346048001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:29:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-07-13 08:29:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105639281900388352,"km_value":105639281900388.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905938657257519104,"description":"Unknown IO ID 45"} 
[2026-07-13 08:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681346048001,"power":13189,"unknown_9":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8905938657257519104}} 
[2026-07-13 08:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":130134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479033,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:29:49] local.INFO: GPS data processed {"connection_id":130134,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:29:49] local.INFO: Acknowledgment sent {"connection_id":130134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:29:51] local.INFO: TCP Data received {"connection_id":130339,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f59681c18012d7f914005afd9380005011b23..."} 
[2026-07-13 08:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59681c18012d7f914005afd9380005011b23..."} 
[2026-07-13 08:29:51] local.INFO: Processing buffer {"connection_id":130339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59681c18012d7f914005afd9380005011b23..."} 
[2026-07-13 08:29:51] local.INFO: Packet analysis {"connection_id":130339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:29:51] local.INFO: Extracted packet for processing {"connection_id":130339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:29:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 08:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681247232001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783911423000,"timestamp_ms":1783911423000,"timestamp_seconds":1783911423,"priority":1,"record_length":96,"hex_timestamp":"0000019f59681c18"} 
[2026-07-13 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-07-13 08:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 08:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:29: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-07-13 08:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681247232001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681247232001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:29:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:29:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681247232001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":130339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:29:51] local.INFO: GPS data processed {"connection_id":130339,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:29:51] local.INFO: Acknowledgment sent {"connection_id":130339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:30:11] local.INFO: TCP Data received {"connection_id":130335,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5968c7f8012d0c17000702afe80023005f0c..."} 
[2026-07-13 08:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5968c7f8012d0c17000702afe80023005f0c..."} 
[2026-07-13 08:30:11] local.INFO: Processing buffer {"connection_id":130335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5968c7f8012d0c17000702afe80023005f0c..."} 
[2026-07-13 08:30:11] local.INFO: Packet analysis {"connection_id":130335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:30:11] local.INFO: Extracted packet for processing {"connection_id":130335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:30:11] local.INFO: GPS Element Parsed {"raw_longitude":755767040,"raw_latitude":117616616,"longitude_deg":75.576704,"latitude_deg":11.7616616,"altitude":35,"angle":95,"satellites":12,"speed":11,"hex_longitude":"2d0c1700","hex_latitude":"0702afe8","is_valid_coordinates":true} 
[2026-07-13 08:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681334528001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24141590264020992,"note":"Value kept but may cause issues"} 
[2026-07-13 08:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":870039183122444288,"note":"Value kept but may cause issues"} 
[2026-07-13 08:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783911467000,"timestamp_ms":1783911467000,"timestamp_seconds":1783911467,"priority":1,"record_length":96,"hex_timestamp":"0000019f5968c7f8"} 
[2026-07-13 08:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 08:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681334528001,"66":14461,"37":206,"94":11008,"24":11,"16":24141590264020992,"45":870039183122444288},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-13 08:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681334528001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:30:11] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-13 08:30:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 08:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24141590264020992,"km_value":24141590264020.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":870039183122444288,"description":"Unknown IO ID 45"} 
[2026-07-13 08:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681334528001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":870039183122444288}} 
[2026-07-13 08:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":130335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479035,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:30:11] local.INFO: GPS data processed {"connection_id":130335,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:30:11] local.INFO: Acknowledgment sent {"connection_id":130335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:30:20] local.INFO: TCP Data received {"connection_id":130134,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5969b258012d7bbcc005e94df00003003b29..."} 
[2026-07-13 08:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5969b258012d7bbcc005e94df00003003b29..."} 
[2026-07-13 08:30:20] local.INFO: Processing buffer {"connection_id":130134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5969b258012d7bbcc005e94df00003003b29..."} 
[2026-07-13 08:30:20] local.INFO: Packet analysis {"connection_id":130134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5969"} 
[2026-07-13 08:30:20] local.INFO: Extracted packet for processing {"connection_id":130134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5969"} 
[2026-07-13 08:30:20] local.INFO: GPS Element Parsed {"raw_longitude":763083968,"raw_latitude":99175920,"longitude_deg":76.3083968,"latitude_deg":9.917592,"altitude":3,"angle":59,"satellites":41,"speed":19,"hex_longitude":"2d7bbcc0","hex_latitude":"05e94df0","is_valid_coordinates":true} 
[2026-07-13 08:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681348864001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105639470878949376,"note":"Value kept but may cause issues"} 
[2026-07-13 08:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912201475489804288,"note":"Value kept but may cause issues"} 
[2026-07-13 08:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783911527000,"timestamp_ms":1783911527000,"timestamp_seconds":1783911527,"priority":1,"record_length":96,"hex_timestamp":"0000019f5969b258"} 
[2026-07-13 08:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-13 08:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:30:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681348864001,"66":12863,"9":206,"87":13824,"24":19,"16":105639470878949376,"45":8912201475489804288},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-07-13 08:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681348864001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:30:20] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-07-13 08:30:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105639470878949376,"km_value":105639470878949.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912201475489804288,"description":"Unknown IO ID 45"} 
[2026-07-13 08:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681348864001,"power":12863,"unknown_9":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8912201475489804288}} 
[2026-07-13 08:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":130134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479036,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:30:20] local.INFO: GPS data processed {"connection_id":130134,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:30:20] local.INFO: Acknowledgment sent {"connection_id":130134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:30:28] local.INFO: TCP Data received {"connection_id":132453,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132453,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:30:28] local.INFO: Processing buffer {"connection_id":132453,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:30:28] local.INFO: IMEI packet received {"connection_id":132453,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 08:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":132453,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:30:28] local.INFO: TCP Data received {"connection_id":132453,"ip":"42.106.6.29","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-13 08:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132453,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-13 08:30:28] local.INFO: Processing buffer {"connection_id":132453,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-13 08:30:28] local.INFO: IMEI packet received {"connection_id":132453,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":132453,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:30:33] local.INFO: TCP Data received {"connection_id":132453,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132453,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:30:33] local.INFO: Processing buffer {"connection_id":132453,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-13 08:30:33] local.INFO: IMEI packet received {"connection_id":132453,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":132453,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:30:34] local.INFO: TCP Data received {"connection_id":132453,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5968e350012d0c1f000702ae80002100710c..."} 
[2026-07-13 08:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5968e350012d0c1f000702ae80002100710c..."} 
[2026-07-13 08:30:34] local.INFO: Processing buffer {"connection_id":132453,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019f59..."} 
[2026-07-13 08:30:34] local.INFO: IMEI packet received {"connection_id":132453,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":132453,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:30:35] local.INFO: TCP Data received {"connection_id":130340,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:30:35] local.INFO: Processing buffer {"connection_id":130340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:30:35] local.INFO: IMEI packet received {"connection_id":130340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":130340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:30:38] local.INFO: TCP Data received {"connection_id":132453,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5968f2f0012d0c22800702ad00002000620c..."} 
[2026-07-13 08:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5968f2f0012d0c22800702ad00002000620c..."} 
[2026-07-13 08:30:38] local.INFO: Processing buffer {"connection_id":132453,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f5968e350012d0c1f000702ae80002100710c..."} 
[2026-07-13 08:30:38] local.INFO: Packet analysis {"connection_id":132453,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:30:38] local.INFO: Extracted packet for processing {"connection_id":132453,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:30:38] local.INFO: GPS Element Parsed {"raw_longitude":755769088,"raw_latitude":117616256,"longitude_deg":75.5769088,"latitude_deg":11.7616256,"altitude":33,"angle":113,"satellites":12,"speed":10,"hex_longitude":"2d0c1f00","hex_latitude":"0702ae80","is_valid_coordinates":true} 
[2026-07-13 08:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681335552001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24141689048268800,"note":"Value kept but may cause issues"} 
[2026-07-13 08:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871165083029334016,"note":"Value kept but may cause issues"} 
[2026-07-13 08:30: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-07-13 08:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783911474000,"timestamp_ms":1783911474000,"timestamp_seconds":1783911474,"priority":1,"record_length":96,"hex_timestamp":"0000019f5968e350"} 
[2026-07-13 08:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-13 08:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132453,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132453,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681335552001,"66":14439,"37":206,"94":11008,"24":10,"16":24141689048268800,"45":871165083029334016},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-13 08:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681335552001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:30:38] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-13 08:30:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 08:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24141689048268800,"km_value":24141689048268.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":871165083029334016,"description":"Unknown IO ID 45"} 
[2026-07-13 08:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681335552001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":871165083029334016}} 
[2026-07-13 08:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":132453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479037,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:30:38] local.INFO: GPS data processed {"connection_id":132453,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:30:38] local.INFO: Acknowledgment sent {"connection_id":132453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:30:38] local.INFO: Packet analysis {"connection_id":132453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:30:38] local.INFO: Extracted packet for processing {"connection_id":132453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:30:38] local.INFO: GPS Element Parsed {"raw_longitude":755769984,"raw_latitude":117615872,"longitude_deg":75.5769984,"latitude_deg":11.7615872,"altitude":32,"angle":98,"satellites":12,"speed":6,"hex_longitude":"2d0c2280","hex_latitude":"0702ad00","is_valid_coordinates":true} 
[2026-07-13 08:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681337344001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24141731997941760,"note":"Value kept but may cause issues"} 
[2026-07-13 08:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873416882842927104,"note":"Value kept but may cause issues"} 
[2026-07-13 08:30: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-07-13 08:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783911478000,"timestamp_ms":1783911478000,"timestamp_seconds":1783911478,"priority":1,"record_length":96,"hex_timestamp":"0000019f5968f2f0"} 
[2026-07-13 08:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132453,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132453,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681337344001,"66":14428,"37":206,"94":11008,"24":6,"16":24141731997941760,"45":873416882842927104},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-13 08:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681337344001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:30:38] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-13 08:30:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 08:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24141731997941760,"km_value":24141731997941.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":873416882842927104,"description":"Unknown IO ID 45"} 
[2026-07-13 08:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681337344001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":873416882842927104}} 
[2026-07-13 08:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":132453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479038,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:30:38] local.INFO: GPS data processed {"connection_id":132453,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:30:38] local.INFO: Acknowledgment sent {"connection_id":132453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:30:40] local.INFO: TCP Data received {"connection_id":130340,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:30:40] local.INFO: Processing buffer {"connection_id":130340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:30:40] local.INFO: IMEI packet received {"connection_id":130340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":130340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:30:41] local.INFO: TCP Data received {"connection_id":130340,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f59681c18012d7f914005afd9380005011b23..."} 
[2026-07-13 08:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59681c18012d7f914005afd9380005011b23..."} 
[2026-07-13 08:30:41] local.INFO: Processing buffer {"connection_id":130340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59681c18012d7f914005afd9380005011b23..."} 
[2026-07-13 08:30:41] local.INFO: Packet analysis {"connection_id":130340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:30:41] local.INFO: Extracted packet for processing {"connection_id":130340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:30:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681247232001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783911423000,"timestamp_ms":1783911423000,"timestamp_seconds":1783911423,"priority":1,"record_length":96,"hex_timestamp":"0000019f59681c18"} 
[2026-07-13 08:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681247232001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681247232001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:30:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:30:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681247232001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":130340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:30:41] local.INFO: GPS data processed {"connection_id":130340,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:30:41] local.INFO: Acknowledgment sent {"connection_id":130340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:30:43] local.INFO: TCP Data received {"connection_id":132454,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:30:43] local.INFO: Processing buffer {"connection_id":132454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:30:43] local.INFO: IMEI packet received {"connection_id":132454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":132454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:30:44] local.INFO: TCP Data received {"connection_id":132454,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:30:44] local.INFO: Processing buffer {"connection_id":132454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:30:44] local.INFO: IMEI packet received {"connection_id":132454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":132454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:30:48] local.INFO: TCP Data received {"connection_id":132454,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:30:48] local.INFO: Processing buffer {"connection_id":132454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:30:48] local.INFO: IMEI packet received {"connection_id":132454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":132454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:30:49] local.INFO: TCP Data received {"connection_id":132454,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5969d580012d7bcf4005e95a800004004d24..."} 
[2026-07-13 08:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5969d580012d7bcf4005e95a800004004d24..."} 
[2026-07-13 08:30:49] local.INFO: Processing buffer {"connection_id":132454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5969d580012d7bcf4005e95a800004004d24..."} 
[2026-07-13 08:30:49] local.INFO: Packet analysis {"connection_id":132454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5969"} 
[2026-07-13 08:30:49] local.INFO: Extracted packet for processing {"connection_id":132454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5969"} 
[2026-07-13 08:30:49] local.INFO: GPS Element Parsed {"raw_longitude":763088704,"raw_latitude":99179136,"longitude_deg":76.3088704,"latitude_deg":9.9179136,"altitude":4,"angle":77,"satellites":36,"speed":27,"hex_longitude":"2d7bcf40","hex_latitude":"05e95a80","is_valid_coordinates":true} 
[2026-07-13 08:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681350912001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105639750051823616,"note":"Value kept but may cause issues"} 
[2026-07-13 08:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916212493908307968,"note":"Value kept but may cause issues"} 
[2026-07-13 08:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783911536000,"timestamp_ms":1783911536000,"timestamp_seconds":1783911536,"priority":1,"record_length":96,"hex_timestamp":"0000019f5969d580"} 
[2026-07-13 08:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:30: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-07-13 08: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-13 08:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681350912001,"66":12961,"156":206,"87":13824,"24":27,"16":105639750051823616,"45":8916212493908307968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-13 08:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681350912001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:30:49] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-13 08:30:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105639750051823616,"km_value":105639750051823.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916212493908307968,"description":"Unknown IO ID 45"} 
[2026-07-13 08:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681350912001,"power":12961,"unknown_156":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8916212493908307968}} 
[2026-07-13 08:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":132454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479040,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:30:49] local.INFO: GPS data processed {"connection_id":132454,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:30:49] local.INFO: Acknowledgment sent {"connection_id":132454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:31:10] local.INFO: TCP Data received {"connection_id":132453,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5968fac0012d0c23400702acb0001f00620c..."} 
[2026-07-13 08:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5968fac0012d0c23400702acb0001f00620c..."} 
[2026-07-13 08:31:10] local.INFO: Processing buffer {"connection_id":132453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5968fac0012d0c23400702acb0001f00620c..."} 
[2026-07-13 08:31:10] local.INFO: Packet analysis {"connection_id":132453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:31:10] local.INFO: Extracted packet for processing {"connection_id":132453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:31:10] local.INFO: GPS Element Parsed {"raw_longitude":755770176,"raw_latitude":117615792,"longitude_deg":75.5770176,"latitude_deg":11.7615792,"altitude":31,"angle":98,"satellites":12,"speed":2,"hex_longitude":"2d0c2340","hex_latitude":"0702acb0","is_valid_coordinates":true} 
[2026-07-13 08:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681338368001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24141744882843648,"note":"Value kept but may cause issues"} 
[2026-07-13 08:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874402045261316096,"note":"Value kept but may cause issues"} 
[2026-07-13 08:31: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-07-13 08:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783911480000,"timestamp_ms":1783911480000,"timestamp_seconds":1783911480,"priority":1,"record_length":96,"hex_timestamp":"0000019f5968fac0"} 
[2026-07-13 08:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 08:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132453,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132453,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681338368001,"66":14439,"37":206,"94":11008,"24":2,"16":24141744882843648,"45":874402045261316096},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-13 08:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681338368001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:31:10] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-13 08:31:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 08:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24141744882843648,"km_value":24141744882843.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":874402045261316096,"description":"Unknown IO ID 45"} 
[2026-07-13 08:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681338368001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":874402045261316096}} 
[2026-07-13 08:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":132453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479041,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:31:10] local.INFO: GPS data processed {"connection_id":132453,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:31:10] local.INFO: Acknowledgment sent {"connection_id":132453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:31:13] local.INFO: TCP Data received {"connection_id":130340,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f59681c18012d7f914005afd9380005011b23..."} 
[2026-07-13 08:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59681c18012d7f914005afd9380005011b23..."} 
[2026-07-13 08:31:13] local.INFO: Processing buffer {"connection_id":130340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59681c18012d7f914005afd9380005011b23..."} 
[2026-07-13 08:31:13] local.INFO: Packet analysis {"connection_id":130340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:31:13] local.INFO: Extracted packet for processing {"connection_id":130340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:31:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681247232001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783911423000,"timestamp_ms":1783911423000,"timestamp_seconds":1783911423,"priority":1,"record_length":96,"hex_timestamp":"0000019f59681c18"} 
[2026-07-13 08:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681247232001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681247232001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:31:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:31:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681247232001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":130340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:31:13] local.INFO: GPS data processed {"connection_id":130340,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:31:13] local.INFO: Acknowledgment sent {"connection_id":130340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:31:18] local.INFO: TCP Data received {"connection_id":130341,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130341,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:31:18] local.INFO: Processing buffer {"connection_id":130341,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:31:18] local.INFO: IMEI packet received {"connection_id":130341,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 08:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":130341,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:31:22] local.INFO: TCP Data received {"connection_id":132454,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f596a0c30012d7bf30005e962380007005324..."} 
[2026-07-13 08:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596a0c30012d7bf30005e962380007005324..."} 
[2026-07-13 08:31:22] local.INFO: Processing buffer {"connection_id":132454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596a0c30012d7bf30005e962380007005324..."} 
[2026-07-13 08:31:22] local.INFO: Packet analysis {"connection_id":132454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596a"} 
[2026-07-13 08:31:22] local.INFO: Extracted packet for processing {"connection_id":132454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596a"} 
[2026-07-13 08:31:22] local.INFO: GPS Element Parsed {"raw_longitude":763097856,"raw_latitude":99181112,"longitude_deg":76.3097856,"latitude_deg":9.9181112,"altitude":7,"angle":83,"satellites":36,"speed":25,"hex_longitude":"2d7bf300","hex_latitude":"05e96238","is_valid_coordinates":true} 
[2026-07-13 08:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681353216001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105640196728422400,"note":"Value kept but may cause issues"} 
[2026-07-13 08:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921419780978278400,"note":"Value kept but may cause issues"} 
[2026-07-13 08:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783911550000,"timestamp_ms":1783911550000,"timestamp_seconds":1783911550,"priority":1,"record_length":96,"hex_timestamp":"0000019f596a0c30"} 
[2026-07-13 08:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-13 08:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":132454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":132454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":132454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681353216001,"66":12917,"156":206,"87":13824,"24":25,"16":105640196728422400,"45":8921419780978278400},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-13 08:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681353216001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:31:22] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-13 08:31:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105640196728422400,"km_value":105640196728422.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921419780978278400,"description":"Unknown IO ID 45"} 
[2026-07-13 08:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681353216001,"power":12917,"unknown_156":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8921419780978278400}} 
[2026-07-13 08:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":132454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479043,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:31:22] local.INFO: GPS data processed {"connection_id":132454,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:31:22] local.INFO: Acknowledgment sent {"connection_id":132454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:31:28] local.INFO: TCP Data received {"connection_id":131134,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131134,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:31:28] local.INFO: Processing buffer {"connection_id":131134,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:31:28] local.INFO: IMEI packet received {"connection_id":131134,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 08:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":131134,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:31:28] local.INFO: TCP Data received {"connection_id":131134,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131134,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:31:28] local.INFO: Processing buffer {"connection_id":131134,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:31:28] local.INFO: IMEI packet received {"connection_id":131134,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":131134,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:31:33] local.INFO: TCP Data received {"connection_id":131134,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131134,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:31:33] local.INFO: Processing buffer {"connection_id":131134,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:31:33] local.INFO: IMEI packet received {"connection_id":131134,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":131134,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:31:33] local.INFO: TCP Data received {"connection_id":131134,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5968fac0012d0c23400702acb0001f00620c..."} 
[2026-07-13 08:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5968fac0012d0c23400702acb0001f00620c..."} 
[2026-07-13 08:31:33] local.INFO: Processing buffer {"connection_id":131134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5968fac0012d0c23400702acb0001f00620c..."} 
[2026-07-13 08:31:33] local.INFO: Packet analysis {"connection_id":131134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:31:33] local.INFO: Extracted packet for processing {"connection_id":131134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:31:33] local.INFO: GPS Element Parsed {"raw_longitude":755770176,"raw_latitude":117615792,"longitude_deg":75.5770176,"latitude_deg":11.7615792,"altitude":31,"angle":98,"satellites":12,"speed":2,"hex_longitude":"2d0c2340","hex_latitude":"0702acb0","is_valid_coordinates":true} 
[2026-07-13 08:31: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-07-13 08:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681338880001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24141744882843648,"note":"Value kept but may cause issues"} 
[2026-07-13 08:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874613151493828608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:31: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-07-13 08:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783911480000,"timestamp_ms":1783911480000,"timestamp_seconds":1783911480,"priority":1,"record_length":96,"hex_timestamp":"0000019f5968fac0"} 
[2026-07-13 08:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":131134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":131134,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":131134,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681338880001,"66":14439,"37":206,"94":11008,"24":2,"16":24141744882843648,"45":874613151493828608},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-13 08:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681338880001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:31:33] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-13 08:31:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 08:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24141744882843648,"km_value":24141744882843.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":874613151493828608,"description":"Unknown IO ID 45"} 
[2026-07-13 08:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681338880001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":874613151493828608}} 
[2026-07-13 08:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":131134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479044,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:31:33] local.INFO: GPS data processed {"connection_id":131134,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:31:33] local.INFO: Acknowledgment sent {"connection_id":131134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:31:35] local.INFO: TCP Data received {"connection_id":130135,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:31:35] local.INFO: Processing buffer {"connection_id":130135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:31:35] local.INFO: IMEI packet received {"connection_id":130135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":130135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:31:40] local.INFO: TCP Data received {"connection_id":130135,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:31:40] local.INFO: Processing buffer {"connection_id":130135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:31:40] local.INFO: IMEI packet received {"connection_id":130135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":130135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:31:41] local.INFO: TCP Data received {"connection_id":130135,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f59681c18012d7f914005afd9380005011b23..."} 
[2026-07-13 08:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59681c18012d7f914005afd9380005011b23..."} 
[2026-07-13 08:31:41] local.INFO: Processing buffer {"connection_id":130135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59681c18012d7f914005afd9380005011b23..."} 
[2026-07-13 08:31:41] local.INFO: Packet analysis {"connection_id":130135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:31:41] local.INFO: Extracted packet for processing {"connection_id":130135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:31:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681247232001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783911423000,"timestamp_ms":1783911423000,"timestamp_seconds":1783911423,"priority":1,"record_length":96,"hex_timestamp":"0000019f59681c18"} 
[2026-07-13 08:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681247232001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681247232001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:31:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:31:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681247232001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":130135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:31:41] local.INFO: GPS data processed {"connection_id":130135,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:31:41] local.INFO: Acknowledgment sent {"connection_id":130135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:31:41] local.INFO: TCP Data received {"connection_id":132455,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:31:41] local.INFO: Processing buffer {"connection_id":132455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:31:41] local.INFO: IMEI packet received {"connection_id":132455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 08:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":132455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:31:48] local.INFO: TCP Data received {"connection_id":131135,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131135,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:31:48] local.INFO: Processing buffer {"connection_id":131135,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:31:48] local.INFO: IMEI packet received {"connection_id":131135,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":131135,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:31:49] local.INFO: TCP Data received {"connection_id":131135,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131135,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:31:49] local.INFO: Processing buffer {"connection_id":131135,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:31:49] local.INFO: IMEI packet received {"connection_id":131135,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":131135,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:31:50] local.INFO: TCP Data received {"connection_id":131135,"ip":"42.106.6.37","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f59..."} 
[2026-07-13 08:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131135,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f59..."} 
[2026-07-13 08:31:50] local.INFO: Processing buffer {"connection_id":131135,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f59..."} 
[2026-07-13 08:31:50] local.INFO: IMEI packet received {"connection_id":131135,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":131135,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:31:57] local.INFO: TCP Data received {"connection_id":131135,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f596c7178012d7c8f0005e99b780007000e28..."} 
[2026-07-13 08:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596c7178012d7c8f0005e99b780007000e28..."} 
[2026-07-13 08:31:57] local.INFO: Processing buffer {"connection_id":131135,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f596c5df0012d7c8d4005e99a000006004826..."} 
[2026-07-13 08:31:57] local.INFO: Packet analysis {"connection_id":131135,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:31:57] local.INFO: Extracted packet for processing {"connection_id":131135,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:31:57] local.INFO: GPS Element Parsed {"raw_longitude":763137344,"raw_latitude":99195392,"longitude_deg":76.3137344,"latitude_deg":9.9195392,"altitude":6,"angle":72,"satellites":38,"speed":9,"hex_longitude":"2d7c8d40","hex_latitude":"05e99a00","is_valid_coordinates":true} 
[2026-07-13 08:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681393152001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105642223952986112,"note":"Value kept but may cause issues"} 
[2026-07-13 08:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972085276790255616,"note":"Value kept but may cause issues"} 
[2026-07-13 08:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783911702000,"timestamp_ms":1783911702000,"timestamp_seconds":1783911702,"priority":1,"record_length":96,"hex_timestamp":"0000019f596c5df0"} 
[2026-07-13 08:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-13 08:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681393152001,"66":12982,"156":206,"87":13824,"24":9,"16":105642223952986112,"45":8972085276790255616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-13 08:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681393152001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:31:58] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-13 08:31:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105642223952986112,"km_value":105642223952986.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972085276790255616,"description":"Unknown IO ID 45"} 
[2026-07-13 08:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681393152001,"power":12982,"unknown_156":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8972085276790255616}} 
[2026-07-13 08:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":131135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479046,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:31:58] local.INFO: GPS data processed {"connection_id":131135,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:31:58] local.INFO: Acknowledgment sent {"connection_id":131135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:31:58] local.INFO: Packet analysis {"connection_id":131135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:31:58] local.INFO: Extracted packet for processing {"connection_id":131135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:31:58] local.INFO: GPS Element Parsed {"raw_longitude":763137792,"raw_latitude":99195768,"longitude_deg":76.3137792,"latitude_deg":9.9195768,"altitude":7,"angle":14,"satellites":40,"speed":6,"hex_longitude":"2d7c8f00","hex_latitude":"05e99b78","is_valid_coordinates":true} 
[2026-07-13 08:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681395712001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105642254017757184,"note":"Value kept but may cause issues"} 
[2026-07-13 08:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974900026557464576,"note":"Value kept but may cause issues"} 
[2026-07-13 08:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783911707000,"timestamp_ms":1783911707000,"timestamp_seconds":1783911707,"priority":1,"record_length":96,"hex_timestamp":"0000019f596c7178"} 
[2026-07-13 08:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-13 08:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681395712001,"66":12504,"156":206,"87":13824,"24":6,"16":105642254017757184,"45":8974900026557464576},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-13 08:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681395712001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:31:58] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-13 08:31:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105642254017757184,"km_value":105642254017757.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974900026557464576,"description":"Unknown IO ID 45"} 
[2026-07-13 08:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681395712001,"power":12504,"unknown_156":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8974900026557464576}} 
[2026-07-13 08:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":131135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479047,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:31:58] local.INFO: GPS data processed {"connection_id":131135,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:31:58] local.INFO: Acknowledgment sent {"connection_id":131135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:31:58] local.INFO: TCP Data received {"connection_id":131135,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f596c7560012d7c8f0005e99c480007015f28..."} 
[2026-07-13 08:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596c7560012d7c8f0005e99c480007015f28..."} 
[2026-07-13 08:31:58] local.INFO: Processing buffer {"connection_id":131135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596c7560012d7c8f0005e99c480007015f28..."} 
[2026-07-13 08:31:58] local.INFO: Packet analysis {"connection_id":131135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:31:58] local.INFO: Extracted packet for processing {"connection_id":131135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:31:58] local.INFO: GPS Element Parsed {"raw_longitude":763137792,"raw_latitude":99195976,"longitude_deg":76.3137792,"latitude_deg":9.9195976,"altitude":7,"angle":351,"satellites":40,"speed":9,"hex_longitude":"2d7c8f00","hex_latitude":"05e99c48","is_valid_coordinates":true} 
[2026-07-13 08:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681396992001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105642266902659072,"note":"Value kept but may cause issues"} 
[2026-07-13 08:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975392607766804480,"note":"Value kept but may cause issues"} 
[2026-07-13 08:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783911708000,"timestamp_ms":1783911708000,"timestamp_seconds":1783911708,"priority":1,"record_length":96,"hex_timestamp":"0000019f596c7560"} 
[2026-07-13 08:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 08:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681396992001,"66":13363,"156":206,"87":13824,"24":9,"16":105642266902659072,"45":8975392607766804480},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-13 08:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681396992001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:31:58] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-13 08:31:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105642266902659072,"km_value":105642266902659.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975392607766804480,"description":"Unknown IO ID 45"} 
[2026-07-13 08:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681396992001,"power":13363,"unknown_156":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8975392607766804480}} 
[2026-07-13 08:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":131135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:31:58] local.INFO: GPS data processed {"connection_id":131135,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:31:58] local.INFO: Acknowledgment sent {"connection_id":131135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:32:05] local.INFO: TCP Data received {"connection_id":131134,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f596c1f70012d0c23400702b5b00021014d20..."} 
[2026-07-13 08:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596c1f70012d0c23400702b5b00021014d20..."} 
[2026-07-13 08:32:05] local.INFO: Processing buffer {"connection_id":131134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596c1f70012d0c23400702b5b00021014d20..."} 
[2026-07-13 08:32:05] local.INFO: Packet analysis {"connection_id":131134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:32:05] local.INFO: Extracted packet for processing {"connection_id":131134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:32:05] local.INFO: GPS Element Parsed {"raw_longitude":755770176,"raw_latitude":117618096,"longitude_deg":75.5770176,"latitude_deg":11.7618096,"altitude":33,"angle":333,"satellites":32,"speed":21,"hex_longitude":"2d0c2340","hex_latitude":"0702b5b0","is_valid_coordinates":true} 
[2026-07-13 08:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681391104001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24141925271470080,"note":"Value kept but may cause issues"} 
[2026-07-13 08:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875246470191806464,"note":"Value kept but may cause issues"} 
[2026-07-13 08:32: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-07-13 08:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783911686000,"timestamp_ms":1783911686000,"timestamp_seconds":1783911686,"priority":1,"record_length":96,"hex_timestamp":"0000019f596c1f70"} 
[2026-07-13 08:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-13 08:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":131134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":131134,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":131134,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681391104001,"66":14428,"37":206,"94":11008,"24":21,"16":24141925271470080,"45":875246470191806464},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-13 08:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681391104001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:32:05] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-13 08:32:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 08:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24141925271470080,"km_value":24141925271470.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":875246470191806464,"description":"Unknown IO ID 45"} 
[2026-07-13 08:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681391104001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":875246470191806464}} 
[2026-07-13 08:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":131134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479049,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:32:05] local.INFO: GPS data processed {"connection_id":131134,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:32:05] local.INFO: Acknowledgment sent {"connection_id":131134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:32:12] local.INFO: TCP Data received {"connection_id":130135,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f59681c18012d7f914005afd9380005011b23..."} 
[2026-07-13 08:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59681c18012d7f914005afd9380005011b23..."} 
[2026-07-13 08:32:12] local.INFO: Processing buffer {"connection_id":130135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59681c18012d7f914005afd9380005011b23..."} 
[2026-07-13 08:32:12] local.INFO: Packet analysis {"connection_id":130135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:32:12] local.INFO: Extracted packet for processing {"connection_id":130135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:32:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681247232001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783911423000,"timestamp_ms":1783911423000,"timestamp_seconds":1783911423,"priority":1,"record_length":96,"hex_timestamp":"0000019f59681c18"} 
[2026-07-13 08:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:32:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681247232001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681247232001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:32:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:32:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681247232001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":130135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:32:12] local.INFO: GPS data processed {"connection_id":130135,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:32:12] local.INFO: Acknowledgment sent {"connection_id":130135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:32:27] local.INFO: TCP Data received {"connection_id":130342,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130342,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:32:27] local.INFO: Processing buffer {"connection_id":130342,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:32:27] local.INFO: IMEI packet received {"connection_id":130342,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 08:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":130342,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:32:33] local.INFO: TCP Data received {"connection_id":130342,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130342,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:32:33] local.INFO: Processing buffer {"connection_id":130342,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:32:33] local.INFO: IMEI packet received {"connection_id":130342,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":130342,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:32:33] local.INFO: TCP Data received {"connection_id":130342,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f596c5620012d0c18c00702d628001f015b20..."} 
[2026-07-13 08:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596c5620012d0c18c00702d628001f015b20..."} 
[2026-07-13 08:32:33] local.INFO: Processing buffer {"connection_id":130342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596c5620012d0c18c00702d628001f015b20..."} 
[2026-07-13 08:32:33] local.INFO: Packet analysis {"connection_id":130342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:32:33] local.INFO: Extracted packet for processing {"connection_id":130342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:32:33] local.INFO: GPS Element Parsed {"raw_longitude":755767488,"raw_latitude":117626408,"longitude_deg":75.5767488,"latitude_deg":11.7626408,"altitude":31,"angle":347,"satellites":32,"speed":22,"hex_longitude":"2d0c18c0","hex_latitude":"0702d628","is_valid_coordinates":true} 
[2026-07-13 08:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681391616001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24142346178265088,"note":"Value kept but may cause issues"} 
[2026-07-13 08:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874613151494418432,"note":"Value kept but may cause issues"} 
[2026-07-13 08:32: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-07-13 08:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783911700000,"timestamp_ms":1783911700000,"timestamp_seconds":1783911700,"priority":1,"record_length":96,"hex_timestamp":"0000019f596c5620"} 
[2026-07-13 08:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 08:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:32:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":130342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":130342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":130342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681391616001,"66":14407,"37":206,"94":11008,"24":22,"16":24142346178265088,"45":874613151494418432},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-13 08:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681391616001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:32:33] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-13 08:32:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 08:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24142346178265088,"km_value":24142346178265.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":874613151494418432,"description":"Unknown IO ID 45"} 
[2026-07-13 08:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681391616001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":874613151494418432}} 
[2026-07-13 08:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":130342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479051,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:32:34] local.INFO: GPS data processed {"connection_id":130342,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:32:34] local.INFO: Acknowledgment sent {"connection_id":130342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:32:35] local.INFO: TCP Data received {"connection_id":132456,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:32:35] local.INFO: Processing buffer {"connection_id":132456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:32:35] local.INFO: IMEI packet received {"connection_id":132456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":132456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:32:40] local.INFO: TCP Data received {"connection_id":132456,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:32:40] local.INFO: Processing buffer {"connection_id":132456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:32:40] local.INFO: IMEI packet received {"connection_id":132456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":132456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:32:41] local.INFO: TCP Data received {"connection_id":132456,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f59681c18012d7f914005afd9380005011b23..."} 
[2026-07-13 08:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59681c18012d7f914005afd9380005011b23..."} 
[2026-07-13 08:32:41] local.INFO: Processing buffer {"connection_id":132456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59681c18012d7f914005afd9380005011b23..."} 
[2026-07-13 08:32:41] local.INFO: Packet analysis {"connection_id":132456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:32:41] local.INFO: Extracted packet for processing {"connection_id":132456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5968"} 
[2026-07-13 08:32:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681247232001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783911423000,"timestamp_ms":1783911423000,"timestamp_seconds":1783911423,"priority":1,"record_length":96,"hex_timestamp":"0000019f59681c18"} 
[2026-07-13 08:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681247232001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681247232001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:32:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:32:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681247232001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":132456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:32:41] local.INFO: GPS data processed {"connection_id":132456,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:32:41] local.INFO: Acknowledgment sent {"connection_id":132456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:32:41] local.INFO: TCP Data received {"connection_id":132457,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:32:41] local.INFO: Processing buffer {"connection_id":132457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:32:41] local.INFO: IMEI packet received {"connection_id":132457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":132457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:32:43] local.INFO: TCP Data received {"connection_id":132457,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:32:43] local.INFO: Processing buffer {"connection_id":132457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:32:43] local.INFO: IMEI packet received {"connection_id":132457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":132457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:32:48] local.INFO: TCP Data received {"connection_id":132457,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:32:48] local.INFO: Processing buffer {"connection_id":132457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:32:48] local.INFO: IMEI packet received {"connection_id":132457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":132457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:32:49] local.INFO: TCP Data received {"connection_id":132457,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f596cac10012d7c8a4005e9b1680007015228..."} 
[2026-07-13 08:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596cac10012d7c8a4005e9b1680007015228..."} 
[2026-07-13 08:32:49] local.INFO: Processing buffer {"connection_id":132457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596cac10012d7c8a4005e9b1680007015228..."} 
[2026-07-13 08:32:49] local.INFO: Packet analysis {"connection_id":132457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:32:49] local.INFO: Extracted packet for processing {"connection_id":132457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:32:49] local.INFO: GPS Element Parsed {"raw_longitude":763136576,"raw_latitude":99201384,"longitude_deg":76.3136576,"latitude_deg":9.9201384,"altitude":7,"angle":338,"satellites":40,"speed":10,"hex_longitude":"2d7c8a40","hex_latitude":"05e9b168","is_valid_coordinates":true} 
[2026-07-13 08:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681397248001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105642537485598720,"note":"Value kept but may cause issues"} 
[2026-07-13 08:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975392607766857728,"note":"Value kept but may cause issues"} 
[2026-07-13 08:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783911722000,"timestamp_ms":1783911722000,"timestamp_seconds":1783911722,"priority":1,"record_length":96,"hex_timestamp":"0000019f596cac10"} 
[2026-07-13 08:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-13 08:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:32:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681397248001,"66":13102,"156":206,"87":13824,"24":10,"16":105642537485598720,"45":8975392607766857728},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-13 08:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681397248001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:32:49] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-13 08:32:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105642537485598720,"km_value":105642537485598.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975392607766857728,"description":"Unknown IO ID 45"} 
[2026-07-13 08:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681397248001,"power":13102,"unknown_156":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8975392607766857728}} 
[2026-07-13 08:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":132457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:32:49] local.INFO: GPS data processed {"connection_id":132457,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:32:49] local.INFO: Acknowledgment sent {"connection_id":132457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:33:10] local.INFO: TCP Data received {"connection_id":130342,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f596c90b8012d0c12000702fa080020015a21..."} 
[2026-07-13 08:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596c90b8012d0c12000702fa080020015a21..."} 
[2026-07-13 08:33:10] local.INFO: Processing buffer {"connection_id":130342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596c90b8012d0c12000702fa080020015a21..."} 
[2026-07-13 08:33:10] local.INFO: Packet analysis {"connection_id":130342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:33:10] local.INFO: Extracted packet for processing {"connection_id":130342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:33:10] local.INFO: GPS Element Parsed {"raw_longitude":755765760,"raw_latitude":117635592,"longitude_deg":75.576576,"latitude_deg":11.7635592,"altitude":32,"angle":346,"satellites":33,"speed":26,"hex_longitude":"2d0c1200","hex_latitude":"0702fa08","is_valid_coordinates":true} 
[2026-07-13 08:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681395200001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24142801444798464,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871657664241084416,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33: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-07-13 08:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783911715000,"timestamp_ms":1783911715000,"timestamp_seconds":1783911715,"priority":1,"record_length":96,"hex_timestamp":"0000019f596c90b8"} 
[2026-07-13 08:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-13 08:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681395200001,"66":14537,"37":206,"94":11008,"24":26,"16":24142801444798464,"45":871657664241084416},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-13 08:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681395200001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:33:10] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-13 08:33:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 08:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24142801444798464,"km_value":24142801444798.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":871657664241084416,"description":"Unknown IO ID 45"} 
[2026-07-13 08:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681395200001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":26,"odometer":null,"unknown_45":871657664241084416}} 
[2026-07-13 08:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":130342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479054,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:33:10] local.INFO: GPS data processed {"connection_id":130342,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:33:10] local.INFO: Acknowledgment sent {"connection_id":130342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:33:12] local.INFO: TCP Data received {"connection_id":132456,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f596cb3e0012d7f914005afd9380005011b23..."} 
[2026-07-13 08:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596cb3e0012d7f914005afd9380005011b23..."} 
[2026-07-13 08:33:12] local.INFO: Processing buffer {"connection_id":132456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596cb3e0012d7f914005afd9380005011b23..."} 
[2026-07-13 08:33:12] local.INFO: Packet analysis {"connection_id":132456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:33:12] local.INFO: Extracted packet for processing {"connection_id":132456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:33:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681324288001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783911724000,"timestamp_ms":1783911724000,"timestamp_seconds":1783911724,"priority":1,"record_length":96,"hex_timestamp":"0000019f596cb3e0"} 
[2026-07-13 08:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:33:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681324288001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681324288001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:33:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:33:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681324288001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":132456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:33:12] local.INFO: GPS data processed {"connection_id":132456,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:33:12] local.INFO: Acknowledgment sent {"connection_id":132456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:33:21] local.INFO: TCP Data received {"connection_id":132457,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f596dade0012d7ccfc005e9b5d0000900442a..."} 
[2026-07-13 08:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596dade0012d7ccfc005e9b5d0000900442a..."} 
[2026-07-13 08:33:21] local.INFO: Processing buffer {"connection_id":132457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596dade0012d7ccfc005e9b5d0000900442a..."} 
[2026-07-13 08:33:21] local.INFO: Packet analysis {"connection_id":132457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596d"} 
[2026-07-13 08:33:21] local.INFO: Extracted packet for processing {"connection_id":132457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596d"} 
[2026-07-13 08:33:21] local.INFO: GPS Element Parsed {"raw_longitude":763154368,"raw_latitude":99202512,"longitude_deg":76.3154368,"latitude_deg":9.9202512,"altitude":9,"angle":68,"satellites":42,"speed":6,"hex_longitude":"2d7ccfc0","hex_latitude":"05e9b5d0","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681417472001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105643516738142208,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993477375022174208,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783911788000,"timestamp_ms":1783911788000,"timestamp_seconds":1783911788,"priority":1,"record_length":96,"hex_timestamp":"0000019f596dade0"} 
[2026-07-13 08:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-13 08:33:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":132457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":132457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":132457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681417472001,"66":13102,"192":206,"87":13824,"24":6,"16":105643516738142208,"45":8993477375022174208},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-13 08:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681417472001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:33:21] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-13 08:33:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105643516738142208,"km_value":105643516738142.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993477375022174208,"description":"Unknown IO ID 45"} 
[2026-07-13 08:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681417472001,"power":13102,"unknown_192":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8993477375022174208}} 
[2026-07-13 08:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":132457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479056,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:33:21] local.INFO: GPS data processed {"connection_id":132457,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:33:21] local.INFO: Acknowledgment sent {"connection_id":132457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:33:28] local.INFO: TCP Data received {"connection_id":130136,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130136,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:33:28] local.INFO: Processing buffer {"connection_id":130136,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:33:28] local.INFO: IMEI packet received {"connection_id":130136,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 08:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":130136,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:33:33] local.INFO: TCP Data received {"connection_id":130136,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130136,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:33:33] local.INFO: Processing buffer {"connection_id":130136,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:33:33] local.INFO: IMEI packet received {"connection_id":130136,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":130136,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:33:38] local.INFO: TCP Data received {"connection_id":130136,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130136,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:33:38] local.INFO: Processing buffer {"connection_id":130136,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:33:38] local.INFO: IMEI packet received {"connection_id":130136,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":130136,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:33:38] local.INFO: TCP Data received {"connection_id":130136,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f596dc550012d0c4ac00703c5700010003a22..."} 
[2026-07-13 08:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596dc550012d0c4ac00703c5700010003a22..."} 
[2026-07-13 08:33:38] local.INFO: Processing buffer {"connection_id":130136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596dc550012d0c4ac00703c5700010003a22..."} 
[2026-07-13 08:33:38] local.INFO: Packet analysis {"connection_id":130136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596d"} 
[2026-07-13 08:33:38] local.INFO: Extracted packet for processing {"connection_id":130136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596d"} 
[2026-07-13 08:33:38] local.INFO: GPS Element Parsed {"raw_longitude":755780288,"raw_latitude":117687664,"longitude_deg":75.5780288,"latitude_deg":11.7687664,"altitude":16,"angle":58,"satellites":34,"speed":24,"hex_longitude":"2d0c4ac0","hex_latitude":"0703c570","is_valid_coordinates":true} 
[2026-07-13 08:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681417728001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24145795037003776,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881650025929641984,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33: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-07-13 08:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783911794000,"timestamp_ms":1783911794000,"timestamp_seconds":1783911794,"priority":1,"record_length":96,"hex_timestamp":"0000019f596dc550"} 
[2026-07-13 08:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-07-13 08:33:38] 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-07-13 08:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":130136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":130136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":130136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681417728001,"66":13754,"37":206,"94":11008,"24":24,"16":24145795037003776,"45":881650025929641984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-13 08:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681417728001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:33:38] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-13 08:33:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 08:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24145795037003776,"km_value":24145795037003.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":881650025929641984,"description":"Unknown IO ID 45"} 
[2026-07-13 08:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681417728001,"power":13754,"unknown_37":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":881650025929641984}} 
[2026-07-13 08:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":130136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479057,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:33:38] local.INFO: GPS data processed {"connection_id":130136,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:33:38] local.INFO: Acknowledgment sent {"connection_id":130136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:33:40] local.INFO: TCP Data received {"connection_id":130136,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f596dc938012d0c4c800703c7100010002b22..."} 
[2026-07-13 08:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596dc938012d0c4c800703c7100010002b22..."} 
[2026-07-13 08:33:40] local.INFO: Processing buffer {"connection_id":130136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596dc938012d0c4c800703c7100010002b22..."} 
[2026-07-13 08:33:40] local.INFO: Packet analysis {"connection_id":130136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596d"} 
[2026-07-13 08:33:40] local.INFO: Extracted packet for processing {"connection_id":130136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596d"} 
[2026-07-13 08:33:40] local.INFO: GPS Element Parsed {"raw_longitude":755780736,"raw_latitude":117688080,"longitude_deg":75.5780736,"latitude_deg":11.768808,"altitude":16,"angle":43,"satellites":34,"speed":23,"hex_longitude":"2d0c4c80","hex_latitude":"0703c710","is_valid_coordinates":true} 
[2026-07-13 08:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681419264001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24145825101774848,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885731413092298752,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 08:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783911795000,"timestamp_ms":1783911795000,"timestamp_seconds":1783911795,"priority":1,"record_length":96,"hex_timestamp":"0000019f596dc938"} 
[2026-07-13 08:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-07-13 08:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681419264001,"66":13754,"16":24145825101774848,"94":11008,"24":23,"45":885731413092298752},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-13 08:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681419264001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24145825101774848,"km_value":24145825101774.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:33:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 08:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":885731413092298752,"description":"Unknown IO ID 45"} 
[2026-07-13 08:33:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456681419264001,"power":13754,"odometer":null,"unknown_94":11008,"ignition":23,"unknown_45":885731413092298752}} 
[2026-07-13 08:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":130136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479058,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:33:40] local.INFO: GPS data processed {"connection_id":130136,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:33:40] local.INFO: Acknowledgment sent {"connection_id":130136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:33:40] local.INFO: TCP Data received {"connection_id":130137,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:33:40] local.INFO: Processing buffer {"connection_id":130137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:33:40] local.INFO: IMEI packet received {"connection_id":130137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":130137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:33:44] local.INFO: TCP Data received {"connection_id":131136,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131136,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:33:44] local.INFO: Processing buffer {"connection_id":131136,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:33:44] local.INFO: IMEI packet received {"connection_id":131136,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":131136,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:33:44] local.INFO: TCP Data received {"connection_id":131136,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131136,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:33:44] local.INFO: Processing buffer {"connection_id":131136,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:33:44] local.INFO: IMEI packet received {"connection_id":131136,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":131136,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:33:45] local.INFO: TCP Data received {"connection_id":131136,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131136,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:33:45] local.INFO: Processing buffer {"connection_id":131136,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:33:45] local.INFO: IMEI packet received {"connection_id":131136,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":131136,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:33:45] local.INFO: TCP Data received {"connection_id":130137,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:33:45] local.INFO: Processing buffer {"connection_id":130137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:33:45] local.INFO: IMEI packet received {"connection_id":130137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":130137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:33:46] local.INFO: TCP Data received {"connection_id":130137,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f596cb3e0012d7f914005afd9380005011b23..."} 
[2026-07-13 08:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596cb3e0012d7f914005afd9380005011b23..."} 
[2026-07-13 08:33:46] local.INFO: Processing buffer {"connection_id":130137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596cb3e0012d7f914005afd9380005011b23..."} 
[2026-07-13 08:33:46] local.INFO: Packet analysis {"connection_id":130137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:33:46] local.INFO: Extracted packet for processing {"connection_id":130137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:33:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681324288001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783911724000,"timestamp_ms":1783911724000,"timestamp_seconds":1783911724,"priority":1,"record_length":96,"hex_timestamp":"0000019f596cb3e0"} 
[2026-07-13 08:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681324288001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681324288001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:33:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:33:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681324288001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":130137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:33:46] local.INFO: GPS data processed {"connection_id":130137,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:33:46] local.INFO: Acknowledgment sent {"connection_id":130137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:33:47] local.INFO: TCP Data received {"connection_id":131136,"ip":"42.106.6.37","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f59..."} 
[2026-07-13 08:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131136,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f59..."} 
[2026-07-13 08:33:47] local.INFO: Processing buffer {"connection_id":131136,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f59..."} 
[2026-07-13 08:33:47] local.INFO: IMEI packet received {"connection_id":131136,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":131136,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:33:48] local.INFO: TCP Data received {"connection_id":131136,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f596dc550012d7cd5c005e9b7600009004a29..."} 
[2026-07-13 08:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596dc550012d7cd5c005e9b7600009004a29..."} 
[2026-07-13 08:33:48] local.INFO: Processing buffer {"connection_id":131136,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f596db998012d7cd18005e9b6780009005629..."} 
[2026-07-13 08:33:48] local.INFO: Packet analysis {"connection_id":131136,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f596d"} 
[2026-07-13 08:33:48] local.INFO: Extracted packet for processing {"connection_id":131136,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596d"} 
[2026-07-13 08:33:48] local.INFO: GPS Element Parsed {"raw_longitude":763154816,"raw_latitude":99202680,"longitude_deg":76.3154816,"latitude_deg":9.920268,"altitude":9,"angle":86,"satellites":41,"speed":8,"hex_longitude":"2d7cd180","hex_latitude":"05e9b678","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681417728001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105643538212978688,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993618112510545920,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783911791000,"timestamp_ms":1783911791000,"timestamp_seconds":1783911791,"priority":1,"record_length":96,"hex_timestamp":"0000019f596db998"} 
[2026-07-13 08:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-13 08:33:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08: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-07-13 08:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":131136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":131136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":131136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681417728001,"66":13319,"192":206,"87":13824,"24":8,"16":105643538212978688,"45":8993618112510545920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-13 08:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681417728001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:33:48] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-13 08:33:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105643538212978688,"km_value":105643538212978.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993618112510545920,"description":"Unknown IO ID 45"} 
[2026-07-13 08:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681417728001,"power":13319,"unknown_192":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8993618112510545920}} 
[2026-07-13 08:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":131136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479060,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:33:48] local.INFO: GPS data processed {"connection_id":131136,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:33:48] local.INFO: Acknowledgment sent {"connection_id":131136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:33:48] local.INFO: Packet analysis {"connection_id":131136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596d"} 
[2026-07-13 08:33:48] local.INFO: Extracted packet for processing {"connection_id":131136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596d"} 
[2026-07-13 08:33:48] local.INFO: GPS Element Parsed {"raw_longitude":763155904,"raw_latitude":99202912,"longitude_deg":76.3155904,"latitude_deg":9.9202912,"altitude":9,"angle":74,"satellites":41,"speed":18,"hex_longitude":"2d7cd5c0","hex_latitude":"05e9b760","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681418496001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105643594047553536,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994110693719832576,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783911794000,"timestamp_ms":1783911794000,"timestamp_seconds":1783911794,"priority":1,"record_length":96,"hex_timestamp":"0000019f596dc550"} 
[2026-07-13 08:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 08:33:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:48] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-4960714950883530496,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455423694,"corrected_to":0} 
[2026-07-13 08:33:48] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3221612983,"corrected_to":0} 
[2026-07-13 08:33:48] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3921266688,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:48] local.WARNING: Large IO value detected {"io_id":79,"raw_value":57797752872916790,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:48] local.WARNING: Large IO value detected {"io_id":109,"raw_value":-7888053452460523515,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:48] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,192,87,24,241,157,16,82,159,173,45,181,9,42,10,66,169,64,8,41,166,1,240,248,227,89,233,4,113,205,12,158,204,40,239,51,2,119,5,14,79,109],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1455423694,"validated":0},{"io_id":204,"original":3221612983,"validated":0}]} 
[2026-07-13 08:33:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648613080435523584,"timestamp_seconds":648613080435523.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 08:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":131136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":131136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":131136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681418496001,"66":13091,"192":206,"87":13824,"24":18,"16":105643594047553536,"45":8994110693719832576},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-13 08:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681418496001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:33:48] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-13 08:33:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105643594047553536,"km_value":105643594047553.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994110693719832576,"description":"Unknown IO ID 45"} 
[2026-07-13 08:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681418496001,"power":13091,"unknown_192":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8994110693719832576}} 
[2026-07-13 08:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":131136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479061,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:33:49] local.INFO: GPS data processed {"connection_id":131136,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:33:49] local.INFO: Acknowledgment sent {"connection_id":131136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:33:51] local.INFO: TCP Data received {"connection_id":130137,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f596cb3e0012d7f914005afd9380005011b23..."} 
[2026-07-13 08:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596cb3e0012d7f914005afd9380005011b23..."} 
[2026-07-13 08:33:51] local.INFO: Processing buffer {"connection_id":130137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596cb3e0012d7f914005afd9380005011b23..."} 
[2026-07-13 08:33:51] local.INFO: Packet analysis {"connection_id":130137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:33:51] local.INFO: Extracted packet for processing {"connection_id":130137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:33:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 08:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681324288001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783911724000,"timestamp_ms":1783911724000,"timestamp_seconds":1783911724,"priority":1,"record_length":96,"hex_timestamp":"0000019f596cb3e0"} 
[2026-07-13 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-07-13 08:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 08:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681324288001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681324288001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:33:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:33:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681324288001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":130137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:33:51] local.INFO: GPS data processed {"connection_id":130137,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:33:51] local.INFO: Acknowledgment sent {"connection_id":130137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:33:54] local.INFO: TCP Data received {"connection_id":131136,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f596ddcc0012d7ce34005e9bb180008005629..."} 
[2026-07-13 08:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596ddcc0012d7ce34005e9bb180008005629..."} 
[2026-07-13 08:33:54] local.INFO: Processing buffer {"connection_id":131136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596ddcc0012d7ce34005e9bb180008005629..."} 
[2026-07-13 08:33:54] local.INFO: Packet analysis {"connection_id":131136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596d"} 
[2026-07-13 08:33:54] local.INFO: Extracted packet for processing {"connection_id":131136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596d"} 
[2026-07-13 08:33:54] local.INFO: GPS Element Parsed {"raw_longitude":763159360,"raw_latitude":99203864,"longitude_deg":76.315936,"latitude_deg":9.9203864,"altitude":8,"angle":86,"satellites":41,"speed":27,"hex_longitude":"2d7ce340","hex_latitude":"05e9bb18","is_valid_coordinates":true} 
[2026-07-13 08:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681419264001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105643761551278080,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8995306962370912256,"note":"Value kept but may cause issues"} 
[2026-07-13 08:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783911800000,"timestamp_ms":1783911800000,"timestamp_seconds":1783911800,"priority":1,"record_length":96,"hex_timestamp":"0000019f596ddcc0"} 
[2026-07-13 08:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-13 08:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08: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-07-13 08:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":131136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":131136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":131136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681419264001,"66":13341,"192":206,"87":13824,"24":27,"16":105643761551278080,"45":8995306962370912256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-13 08:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681419264001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:33:54] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-13 08:33:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105643761551278080,"km_value":105643761551278.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8995306962370912256,"description":"Unknown IO ID 45"} 
[2026-07-13 08:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681419264001,"power":13341,"unknown_192":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8995306962370912256}} 
[2026-07-13 08:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":131136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479063,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:33:54] local.INFO: GPS data processed {"connection_id":131136,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:33:54] local.INFO: Acknowledgment sent {"connection_id":131136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:34:11] local.INFO: TCP Data received {"connection_id":130136,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f596dcd20012d0c4d800703c9280010001d22..."} 
[2026-07-13 08:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596dcd20012d0c4d800703c9280010001d22..."} 
[2026-07-13 08:34:11] local.INFO: Processing buffer {"connection_id":130136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596dcd20012d0c4d800703c9280010001d22..."} 
[2026-07-13 08:34:11] local.INFO: Packet analysis {"connection_id":130136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596d"} 
[2026-07-13 08:34:11] local.INFO: Extracted packet for processing {"connection_id":130136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596d"} 
[2026-07-13 08:34:11] local.INFO: GPS Element Parsed {"raw_longitude":755780992,"raw_latitude":117688616,"longitude_deg":75.5780992,"latitude_deg":11.7688616,"altitude":16,"angle":29,"satellites":34,"speed":24,"hex_longitude":"2d0c4d80","hex_latitude":"0703c928","is_valid_coordinates":true} 
[2026-07-13 08:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681419520001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24145855166545920,"note":"Value kept but may cause issues"} 
[2026-07-13 08:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886223994301648896,"note":"Value kept but may cause issues"} 
[2026-07-13 08:34: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-07-13 08:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783911796000,"timestamp_ms":1783911796000,"timestamp_seconds":1783911796,"priority":1,"record_length":96,"hex_timestamp":"0000019f596dcd20"} 
[2026-07-13 08:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-07-13 08:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681419520001,"66":14548,"16":24145855166545920,"94":11008,"24":24,"45":886223994301648896},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-13 08:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681419520001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24145855166545920,"km_value":24145855166545.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:34:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 08:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":886223994301648896,"description":"Unknown IO ID 45"} 
[2026-07-13 08:34:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456681419520001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":24,"unknown_45":886223994301648896}} 
[2026-07-13 08:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":130136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479064,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:34:11] local.INFO: GPS data processed {"connection_id":130136,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:34:11] local.INFO: Acknowledgment sent {"connection_id":130136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:34:23] local.INFO: TCP Data received {"connection_id":131137,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131137,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:34:23] local.INFO: Processing buffer {"connection_id":131137,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:34:23] local.INFO: IMEI packet received {"connection_id":131137,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 08:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":131137,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:34:25] local.INFO: TCP Data received {"connection_id":131136,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f596e0ba0012d7d064005e9bdd8000700502b..."} 
[2026-07-13 08:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596e0ba0012d7d064005e9bdd8000700502b..."} 
[2026-07-13 08:34:25] local.INFO: Processing buffer {"connection_id":131136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596e0ba0012d7d064005e9bdd8000700502b..."} 
[2026-07-13 08:34:25] local.INFO: Packet analysis {"connection_id":131136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596e"} 
[2026-07-13 08:34:25] local.INFO: Extracted packet for processing {"connection_id":131136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596e"} 
[2026-07-13 08:34:25] local.INFO: GPS Element Parsed {"raw_longitude":763168320,"raw_latitude":99204568,"longitude_deg":76.316832,"latitude_deg":9.9204568,"altitude":7,"angle":80,"satellites":43,"speed":24,"hex_longitude":"2d7d0640","hex_latitude":"05e9bdd8","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681420800001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105644195342974976,"note":"Value kept but may cause issues"} 
[2026-07-13 08:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999106874556749824,"note":"Value kept but may cause issues"} 
[2026-07-13 08:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783911812000,"timestamp_ms":1783911812000,"timestamp_seconds":1783911812,"priority":1,"record_length":96,"hex_timestamp":"0000019f596e0ba0"} 
[2026-07-13 08:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-13 08:34: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-07-13 08:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":131136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":131136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":131136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681420800001,"66":12798,"192":206,"87":13824,"24":24,"16":105644195342974976,"45":8999106874556749824},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-13 08:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681420800001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:34:25] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-13 08:34:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105644195342974976,"km_value":105644195342974.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999106874556749824,"description":"Unknown IO ID 45"} 
[2026-07-13 08:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681420800001,"power":12798,"unknown_192":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8999106874556749824}} 
[2026-07-13 08:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":131136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479065,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:34:25] local.INFO: GPS data processed {"connection_id":131136,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:34:25] local.INFO: Acknowledgment sent {"connection_id":131136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:34:27] local.INFO: TCP Data received {"connection_id":131137,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131137,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:34:27] local.INFO: Processing buffer {"connection_id":131137,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:34:27] local.INFO: IMEI packet received {"connection_id":131137,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":131137,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:34:28] local.INFO: TCP Data received {"connection_id":131137,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131137,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:34:28] local.INFO: Processing buffer {"connection_id":131137,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:34:28] local.INFO: IMEI packet received {"connection_id":131137,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":131137,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:34:33] local.INFO: TCP Data received {"connection_id":131137,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131137,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:34:33] local.INFO: Processing buffer {"connection_id":131137,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:34:33] local.INFO: IMEI packet received {"connection_id":131137,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":131137,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:34:33] local.INFO: TCP Data received {"connection_id":131137,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f596eb780012d0cb800070467c8001f000923..."} 
[2026-07-13 08:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596eb780012d0cb800070467c8001f000923..."} 
[2026-07-13 08:34:33] local.INFO: Processing buffer {"connection_id":131137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596eb780012d0cb800070467c8001f000923..."} 
[2026-07-13 08:34:33] local.INFO: Packet analysis {"connection_id":131137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596e"} 
[2026-07-13 08:34:33] local.INFO: Extracted packet for processing {"connection_id":131137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596e"} 
[2026-07-13 08:34:33] local.INFO: GPS Element Parsed {"raw_longitude":755808256,"raw_latitude":117729224,"longitude_deg":75.5808256,"latitude_deg":11.7729224,"altitude":31,"angle":9,"satellites":35,"speed":31,"hex_longitude":"2d0cb800","hex_latitude":"070467c8","is_valid_coordinates":true} 
[2026-07-13 08:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681432320001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24148341952610304,"note":"Value kept but may cause issues"} 
[2026-07-13 08:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":913667804539117568,"note":"Value kept but may cause issues"} 
[2026-07-13 08:34: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-07-13 08:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783911856000,"timestamp_ms":1783911856000,"timestamp_seconds":1783911856,"priority":1,"record_length":96,"hex_timestamp":"0000019f596eb780"} 
[2026-07-13 08:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:34: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-07-13 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-13 08:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":131137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":131137,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":131137,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681432320001,"66":14439,"16":24148341952610304,"94":11008,"24":31,"45":913667804539117568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-13 08:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681432320001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24148341952610304,"km_value":24148341952610.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:34:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 08:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":913667804539117568,"description":"Unknown IO ID 45"} 
[2026-07-13 08:34:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456681432320001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":31,"unknown_45":913667804539117568}} 
[2026-07-13 08:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":131137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479066,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:34:34] local.INFO: GPS data processed {"connection_id":131137,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:34:34] local.INFO: Acknowledgment sent {"connection_id":131137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:34:35] local.INFO: TCP Data received {"connection_id":130345,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:34:35] local.INFO: Processing buffer {"connection_id":130345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:34:35] local.INFO: IMEI packet received {"connection_id":130345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":130345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:34:40] local.INFO: TCP Data received {"connection_id":130345,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:34:40] local.INFO: Processing buffer {"connection_id":130345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:34:40] local.INFO: IMEI packet received {"connection_id":130345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":130345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:34:41] local.INFO: TCP Data received {"connection_id":130345,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f596cb3e0012d7f914005afd9380005011b23..."} 
[2026-07-13 08:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596cb3e0012d7f914005afd9380005011b23..."} 
[2026-07-13 08:34:41] local.INFO: Processing buffer {"connection_id":130345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596cb3e0012d7f914005afd9380005011b23..."} 
[2026-07-13 08:34:41] local.INFO: Packet analysis {"connection_id":130345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:34:41] local.INFO: Extracted packet for processing {"connection_id":130345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:34:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681324288001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783911724000,"timestamp_ms":1783911724000,"timestamp_seconds":1783911724,"priority":1,"record_length":96,"hex_timestamp":"0000019f596cb3e0"} 
[2026-07-13 08:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681324288001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681324288001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:34:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681324288001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":130345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:34:41] local.INFO: GPS data processed {"connection_id":130345,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:34:41] local.INFO: Acknowledgment sent {"connection_id":130345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:34:43] local.INFO: TCP Data received {"connection_id":132458,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:34:43] local.INFO: Processing buffer {"connection_id":132458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:34:43] local.INFO: IMEI packet received {"connection_id":132458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":132458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:34:47] local.INFO: TCP Data received {"connection_id":132458,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:34:47] local.INFO: Processing buffer {"connection_id":132458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:34:47] local.INFO: IMEI packet received {"connection_id":132458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":132458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:34:48] local.INFO: TCP Data received {"connection_id":132458,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f596e32b0012d7d114005e9c1580008002f2a..."} 
[2026-07-13 08:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596e32b0012d7d114005e9c1580008002f2a..."} 
[2026-07-13 08:34:48] local.INFO: Processing buffer {"connection_id":132458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596e32b0012d7d114005e9c1580008002f2a..."} 
[2026-07-13 08:34:48] local.INFO: Packet analysis {"connection_id":132458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596e"} 
[2026-07-13 08:34:48] local.INFO: Extracted packet for processing {"connection_id":132458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596e"} 
[2026-07-13 08:34:48] local.INFO: GPS Element Parsed {"raw_longitude":763171136,"raw_latitude":99205464,"longitude_deg":76.3171136,"latitude_deg":9.9205464,"altitude":8,"angle":47,"satellites":42,"speed":6,"hex_longitude":"2d7d1140","hex_latitude":"05e9c158","is_valid_coordinates":true} 
[2026-07-13 08:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681423872001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105644337076895744,"note":"Value kept but may cause issues"} 
[2026-07-13 08:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008958498741803008,"note":"Value kept but may cause issues"} 
[2026-07-13 08:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783911822000,"timestamp_ms":1783911822000,"timestamp_seconds":1783911822,"priority":1,"record_length":96,"hex_timestamp":"0000019f596e32b0"} 
[2026-07-13 08:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-13 08:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":132458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":132458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":132458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681423872001,"66":13189,"192":206,"87":13824,"24":6,"16":105644337076895744,"45":9008958498741803008},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-13 08:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681423872001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:34:48] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-13 08:34:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105644337076895744,"km_value":105644337076895.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008958498741803008,"description":"Unknown IO ID 45"} 
[2026-07-13 08:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681423872001,"power":13189,"unknown_192":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9008958498741803008}} 
[2026-07-13 08:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":132458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479068,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:34:48] local.INFO: GPS data processed {"connection_id":132458,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:34:48] local.INFO: Acknowledgment sent {"connection_id":132458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:35:04] local.INFO: TCP Data received {"connection_id":131137,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f596eb780012d0cb800070467c8001f000923..."} 
[2026-07-13 08:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596eb780012d0cb800070467c8001f000923..."} 
[2026-07-13 08:35:04] local.INFO: Processing buffer {"connection_id":131137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596eb780012d0cb800070467c8001f000923..."} 
[2026-07-13 08:35:04] local.INFO: Packet analysis {"connection_id":131137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596e"} 
[2026-07-13 08:35:04] local.INFO: Extracted packet for processing {"connection_id":131137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596e"} 
[2026-07-13 08:35:04] local.INFO: GPS Element Parsed {"raw_longitude":755808256,"raw_latitude":117729224,"longitude_deg":75.5808256,"latitude_deg":11.7729224,"altitude":31,"angle":9,"satellites":35,"speed":31,"hex_longitude":"2d0cb800","hex_latitude":"070467c8","is_valid_coordinates":true} 
[2026-07-13 08:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681435136001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24148341952610304,"note":"Value kept but may cause issues"} 
[2026-07-13 08:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916482554308577280,"note":"Value kept but may cause issues"} 
[2026-07-13 08:35: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-07-13 08:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783911856000,"timestamp_ms":1783911856000,"timestamp_seconds":1783911856,"priority":1,"record_length":96,"hex_timestamp":"0000019f596eb780"} 
[2026-07-13 08:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":131137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":131137,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":131137,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681435136001,"66":14439,"16":24148341952610304,"94":11008,"24":31,"45":916482554308577280},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-13 08:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681435136001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24148341952610304,"km_value":24148341952610.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:35:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 08:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":916482554308577280,"description":"Unknown IO ID 45"} 
[2026-07-13 08:35:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456681435136001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":31,"unknown_45":916482554308577280}} 
[2026-07-13 08:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":131137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479069,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:35:05] local.INFO: GPS data processed {"connection_id":131137,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:35:05] local.INFO: Acknowledgment sent {"connection_id":131137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:35:12] local.INFO: TCP Data received {"connection_id":130345,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f596cb3e0012d7f914005afd9380005011b23..."} 
[2026-07-13 08:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596cb3e0012d7f914005afd9380005011b23..."} 
[2026-07-13 08:35:12] local.INFO: Processing buffer {"connection_id":130345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596cb3e0012d7f914005afd9380005011b23..."} 
[2026-07-13 08:35:12] local.INFO: Packet analysis {"connection_id":130345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:35:12] local.INFO: Extracted packet for processing {"connection_id":130345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:35:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 08:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681324288001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783911724000,"timestamp_ms":1783911724000,"timestamp_seconds":1783911724,"priority":1,"record_length":96,"hex_timestamp":"0000019f596cb3e0"} 
[2026-07-13 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-07-13 08:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 08:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681324288001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681324288001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:35:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:35:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681324288001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":130345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:35:13] local.INFO: GPS data processed {"connection_id":130345,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:35:13] local.INFO: Acknowledgment sent {"connection_id":130345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:35:24] local.INFO: TCP Data received {"connection_id":132458,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f596e3698012d7d120005e9c1f80008001b2a..."} 
[2026-07-13 08:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596e3698012d7d120005e9c1f80008001b2a..."} 
[2026-07-13 08:35:24] local.INFO: Processing buffer {"connection_id":132458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596e3698012d7d120005e9c1f80008001b2a..."} 
[2026-07-13 08:35:24] local.INFO: Packet analysis {"connection_id":132458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596e"} 
[2026-07-13 08:35:24] local.INFO: Extracted packet for processing {"connection_id":132458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596e"} 
[2026-07-13 08:35:24] local.INFO: GPS Element Parsed {"raw_longitude":763171328,"raw_latitude":99205624,"longitude_deg":76.3171328,"latitude_deg":9.9205624,"altitude":8,"angle":27,"satellites":42,"speed":9,"hex_longitude":"2d7d1200","hex_latitude":"05e9c1f8","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681426432001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105644349961797632,"note":"Value kept but may cause issues"} 
[2026-07-13 08:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012054723485849600,"note":"Value kept but may cause issues"} 
[2026-07-13 08:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783911823000,"timestamp_ms":1783911823000,"timestamp_seconds":1783911823,"priority":1,"record_length":96,"hex_timestamp":"0000019f596e3698"} 
[2026-07-13 08:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-13 08:35:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08: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-07-13 08:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":132458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":132458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":132458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681426432001,"66":13243,"192":206,"87":13824,"24":9,"16":105644349961797632,"45":9012054723485849600},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-13 08:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681426432001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:35:24] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-13 08:35:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105644349961797632,"km_value":105644349961797.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012054723485849600,"description":"Unknown IO ID 45"} 
[2026-07-13 08:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681426432001,"power":13243,"unknown_192":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9012054723485849600}} 
[2026-07-13 08:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":132458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479071,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:35:25] local.INFO: GPS data processed {"connection_id":132458,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:35:25] local.INFO: Acknowledgment sent {"connection_id":132458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:35:27] local.INFO: TCP Data received {"connection_id":130138,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130138,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:35:27] local.INFO: Processing buffer {"connection_id":130138,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:35:27] local.INFO: IMEI packet received {"connection_id":130138,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 08:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":130138,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:35:35] local.INFO: TCP Data received {"connection_id":132460,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:35:35] local.INFO: Processing buffer {"connection_id":132460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:35:35] local.INFO: IMEI packet received {"connection_id":132460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":132460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:35:40] local.INFO: TCP Data received {"connection_id":132460,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:35:40] local.INFO: Processing buffer {"connection_id":132460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:35:40] local.INFO: IMEI packet received {"connection_id":132460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":132460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:35:41] local.INFO: TCP Data received {"connection_id":132460,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f596cb3e0012d7f914005afd9380005011b23..."} 
[2026-07-13 08:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596cb3e0012d7f914005afd9380005011b23..."} 
[2026-07-13 08:35:41] local.INFO: Processing buffer {"connection_id":132460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596cb3e0012d7f914005afd9380005011b23..."} 
[2026-07-13 08:35:41] local.INFO: Packet analysis {"connection_id":132460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:35:41] local.INFO: Extracted packet for processing {"connection_id":132460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:35:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681324288001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783911724000,"timestamp_ms":1783911724000,"timestamp_seconds":1783911724,"priority":1,"record_length":96,"hex_timestamp":"0000019f596cb3e0"} 
[2026-07-13 08:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681324288001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681324288001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:35:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:35:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681324288001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":132460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:35:41] local.INFO: GPS data processed {"connection_id":132460,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:35:41] local.INFO: Acknowledgment sent {"connection_id":132460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:35:45] local.INFO: TCP Data received {"connection_id":130346,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130346,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:35:45] local.INFO: Processing buffer {"connection_id":130346,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:35:45] local.INFO: IMEI packet received {"connection_id":130346,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":130346,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:35:48] local.INFO: TCP Data received {"connection_id":130346,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130346,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:35:48] local.INFO: Processing buffer {"connection_id":130346,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:35:48] local.INFO: IMEI packet received {"connection_id":130346,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":130346,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:35:50] local.INFO: TCP Data received {"connection_id":130346,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f596e3a80012d7d124005e9c2f00008000829..."} 
[2026-07-13 08:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596e3a80012d7d124005e9c2f00008000829..."} 
[2026-07-13 08:35:50] local.INFO: Processing buffer {"connection_id":130346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596e3a80012d7d124005e9c2f00008000829..."} 
[2026-07-13 08:35:50] local.INFO: Packet analysis {"connection_id":130346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596e"} 
[2026-07-13 08:35:50] local.INFO: Extracted packet for processing {"connection_id":130346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596e"} 
[2026-07-13 08:35:50] local.INFO: GPS Element Parsed {"raw_longitude":763171392,"raw_latitude":99205872,"longitude_deg":76.3171392,"latitude_deg":9.9205872,"altitude":8,"angle":8,"satellites":41,"speed":11,"hex_longitude":"2d7d1240","hex_latitude":"05e9c2f0","is_valid_coordinates":true} 
[2026-07-13 08:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681426688001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105644362846699520,"note":"Value kept but may cause issues"} 
[2026-07-13 08:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012265829718423552,"note":"Value kept but may cause issues"} 
[2026-07-13 08:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783911824000,"timestamp_ms":1783911824000,"timestamp_seconds":1783911824,"priority":1,"record_length":96,"hex_timestamp":"0000019f596e3a80"} 
[2026-07-13 08:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:35: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-07-13 08:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 08:35: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-07-13 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-07-13 08:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681426688001,"66":13243,"192":206,"87":13824,"24":11,"16":105644362846699520,"45":9012265829718423552},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-13 08:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681426688001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:35:50] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-13 08:35:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105644362846699520,"km_value":105644362846699.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012265829718423552,"description":"Unknown IO ID 45"} 
[2026-07-13 08:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681426688001,"power":13243,"unknown_192":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":9012265829718423552}} 
[2026-07-13 08:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":130346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479073,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:35:50] local.INFO: GPS data processed {"connection_id":130346,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:35:50] local.INFO: Acknowledgment sent {"connection_id":130346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:35:55] local.INFO: TCP Data received {"connection_id":130138,"ip":"42.106.6.29","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-13 08:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130138,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-13 08:35:55] local.INFO: Processing buffer {"connection_id":130138,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-13 08:35:55] local.INFO: IMEI packet received {"connection_id":130138,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":130138,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:35:57] local.INFO: TCP Data received {"connection_id":130138,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f596ecef0012d0cb9c007047b48001e016522..."} 
[2026-07-13 08:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596ecef0012d0cb9c007047b48001e016522..."} 
[2026-07-13 08:35:57] local.INFO: Processing buffer {"connection_id":130138,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019f59..."} 
[2026-07-13 08:35:57] local.INFO: IMEI packet received {"connection_id":130138,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":130138,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:36:00] local.INFO: TCP Data received {"connection_id":130138,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f596ede90012d0cb78007048750001e015423..."} 
[2026-07-13 08:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596ede90012d0cb78007048750001e015423..."} 
[2026-07-13 08:36:00] local.INFO: Processing buffer {"connection_id":130138,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f596ecef0012d0cb9c007047b48001e016522..."} 
[2026-07-13 08:36:00] local.INFO: Packet analysis {"connection_id":130138,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f596e"} 
[2026-07-13 08:36:00] local.INFO: Extracted packet for processing {"connection_id":130138,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596e"} 
[2026-07-13 08:36:00] local.INFO: GPS Element Parsed {"raw_longitude":755808704,"raw_latitude":117734216,"longitude_deg":75.5808704,"latitude_deg":11.7734216,"altitude":30,"angle":357,"satellites":34,"speed":32,"hex_longitude":"2d0cb9c0","hex_latitude":"07047b48","is_valid_coordinates":true} 
[2026-07-13 08:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681435136001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24148586765746176,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916482554308577280,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 08:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783911862000,"timestamp_ms":1783911862000,"timestamp_seconds":1783911862,"priority":1,"record_length":96,"hex_timestamp":"0000019f596ecef0"} 
[2026-07-13 08:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":130138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":130138,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":130138,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681435136001,"66":14515,"16":24148586765746176,"94":11008,"24":32,"45":916482554308577280},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-13 08:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681435136001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24148586765746176,"km_value":24148586765746.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:36:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 08:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":916482554308577280,"description":"Unknown IO ID 45"} 
[2026-07-13 08:36:00] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456681435136001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":32,"unknown_45":916482554308577280}} 
[2026-07-13 08:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":130138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479074,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:36:00] local.INFO: GPS data processed {"connection_id":130138,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:36:00] local.INFO: Acknowledgment sent {"connection_id":130138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:36:00] local.INFO: Packet analysis {"connection_id":130138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596e"} 
[2026-07-13 08:36:00] local.INFO: Extracted packet for processing {"connection_id":130138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596e"} 
[2026-07-13 08:36:00] local.INFO: GPS Element Parsed {"raw_longitude":755808128,"raw_latitude":117737296,"longitude_deg":75.5808128,"latitude_deg":11.7737296,"altitude":30,"angle":340,"satellites":35,"speed":28,"hex_longitude":"2d0cb780","hex_latitude":"07048750","is_valid_coordinates":true} 
[2026-07-13 08:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681436672001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24148741384568832,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916975135519098880,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 08:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783911866000,"timestamp_ms":1783911866000,"timestamp_seconds":1783911866,"priority":1,"record_length":96,"hex_timestamp":"0000019f596ede90"} 
[2026-07-13 08:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-13 08:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":130138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":130138,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":130138,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681436672001,"66":14461,"16":24148741384568832,"94":11008,"24":28,"45":916975135519098880},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-13 08:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681436672001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24148741384568832,"km_value":24148741384568.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:36:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 08:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":916975135519098880,"description":"Unknown IO ID 45"} 
[2026-07-13 08:36:00] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456681436672001,"power":14461,"odometer":null,"unknown_94":11008,"ignition":28,"unknown_45":916975135519098880}} 
[2026-07-13 08:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":130138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479075,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:36:00] local.INFO: GPS data processed {"connection_id":130138,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:36:00] local.INFO: Acknowledgment sent {"connection_id":130138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:36:12] local.INFO: TCP Data received {"connection_id":132460,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f596cb3e0012d7f914005afd9380005011b23..."} 
[2026-07-13 08:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596cb3e0012d7f914005afd9380005011b23..."} 
[2026-07-13 08:36:12] local.INFO: Processing buffer {"connection_id":132460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596cb3e0012d7f914005afd9380005011b23..."} 
[2026-07-13 08:36:12] local.INFO: Packet analysis {"connection_id":132460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:36:12] local.INFO: Extracted packet for processing {"connection_id":132460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:36:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681324288001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783911724000,"timestamp_ms":1783911724000,"timestamp_seconds":1783911724,"priority":1,"record_length":96,"hex_timestamp":"0000019f596cb3e0"} 
[2026-07-13 08:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681324288001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681324288001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:36:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:36:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681324288001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":132460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:36:12] local.INFO: GPS data processed {"connection_id":132460,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:36:12] local.INFO: Acknowledgment sent {"connection_id":132460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:36:26] local.INFO: TCP Data received {"connection_id":130346,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f596e7130012d7d150005e9e768000a00032a..."} 
[2026-07-13 08:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596e7130012d7d150005e9e768000a00032a..."} 
[2026-07-13 08:36:26] local.INFO: Processing buffer {"connection_id":130346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596e7130012d7d150005e9e768000a00032a..."} 
[2026-07-13 08:36:26] local.INFO: Packet analysis {"connection_id":130346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596e"} 
[2026-07-13 08:36:26] local.INFO: Extracted packet for processing {"connection_id":130346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596e"} 
[2026-07-13 08:36:26] local.INFO: GPS Element Parsed {"raw_longitude":763172096,"raw_latitude":99215208,"longitude_deg":76.3172096,"latitude_deg":9.9215208,"altitude":10,"angle":3,"satellites":42,"speed":32,"hex_longitude":"2d7d1500","hex_latitude":"05e9e768","is_valid_coordinates":true} 
[2026-07-13 08:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681426944001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105644813818265600,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012336198462664704,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783911838000,"timestamp_ms":1783911838000,"timestamp_seconds":1783911838,"priority":1,"record_length":96,"hex_timestamp":"0000019f596e7130"} 
[2026-07-13 08:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 08:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:36:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":130346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":130346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":130346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681426944001,"66":13319,"192":206,"87":13824,"24":32,"16":105644813818265600,"45":9012336198462664704},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-13 08:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681426944001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:36:26] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-13 08:36:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105644813818265600,"km_value":105644813818265.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012336198462664704,"description":"Unknown IO ID 45"} 
[2026-07-13 08:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681426944001,"power":13319,"unknown_192":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":9012336198462664704}} 
[2026-07-13 08:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":130346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479077,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:36:26] local.INFO: GPS data processed {"connection_id":130346,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:36:26] local.INFO: Acknowledgment sent {"connection_id":130346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:36:35] local.INFO: TCP Data received {"connection_id":131138,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:36:35] local.INFO: Processing buffer {"connection_id":131138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:36:35] local.INFO: IMEI packet received {"connection_id":131138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":131138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:36:40] local.INFO: TCP Data received {"connection_id":131138,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:36:40] local.INFO: Processing buffer {"connection_id":131138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:36:40] local.INFO: IMEI packet received {"connection_id":131138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":131138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:36:41] local.INFO: TCP Data received {"connection_id":131138,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f596cb3e0012d7f914005afd9380005011b23..."} 
[2026-07-13 08:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596cb3e0012d7f914005afd9380005011b23..."} 
[2026-07-13 08:36:41] local.INFO: Processing buffer {"connection_id":131138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596cb3e0012d7f914005afd9380005011b23..."} 
[2026-07-13 08:36:41] local.INFO: Packet analysis {"connection_id":131138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:36:41] local.INFO: Extracted packet for processing {"connection_id":131138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:36:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681324288001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783911724000,"timestamp_ms":1783911724000,"timestamp_seconds":1783911724,"priority":1,"record_length":96,"hex_timestamp":"0000019f596cb3e0"} 
[2026-07-13 08:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681324288001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681324288001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:36:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681324288001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":131138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:36:41] local.INFO: GPS data processed {"connection_id":131138,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:36:41] local.INFO: Acknowledgment sent {"connection_id":131138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:36:49] local.INFO: TCP Data received {"connection_id":130141,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130141,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:36:49] local.INFO: Processing buffer {"connection_id":130141,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:36:49] local.INFO: IMEI packet received {"connection_id":130141,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":130141,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:36:56] local.INFO: TCP Data received {"connection_id":130141,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130141,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:36:56] local.INFO: Processing buffer {"connection_id":130141,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:36:56] local.INFO: IMEI packet received {"connection_id":130141,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":130141,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:36:58] local.INFO: TCP Data received {"connection_id":130141,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f596ea7e0012d7d15c005ea0a48000b00062a..."} 
[2026-07-13 08:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596ea7e0012d7d15c005ea0a48000b00062a..."} 
[2026-07-13 08:36:58] local.INFO: Processing buffer {"connection_id":130141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596ea7e0012d7d15c005ea0a48000b00062a..."} 
[2026-07-13 08:36:58] local.INFO: Packet analysis {"connection_id":130141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596e"} 
[2026-07-13 08:36:58] local.INFO: Extracted packet for processing {"connection_id":130141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596e"} 
[2026-07-13 08:36:58] local.INFO: GPS Element Parsed {"raw_longitude":763172288,"raw_latitude":99224136,"longitude_deg":76.3172288,"latitude_deg":9.9224136,"altitude":11,"angle":6,"satellites":42,"speed":17,"hex_longitude":"2d7d15c0","hex_latitude":"05ea0a48","is_valid_coordinates":true} 
[2026-07-13 08:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681430528001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105645247609962496,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013110254651009024,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783911852000,"timestamp_ms":1783911852000,"timestamp_seconds":1783911852,"priority":1,"record_length":96,"hex_timestamp":"0000019f596ea7e0"} 
[2026-07-13 08:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 08:36:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:58] local.WARNING: Large IO value detected {"io_id":82,"raw_value":4143972352,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:58] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-5298484922941036288,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455423694,"corrected_to":0} 
[2026-07-13 08:36:58] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3221302652,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3921108992,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:58] local.WARNING: Large IO value detected {"io_id":35,"raw_value":57797752872916790,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:58] local.WARNING: Large IO value detected {"io_id":109,"raw_value":-5073303685353603067,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:58] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,192,87,24,241,157,16,83,159,58,45,64,194,8,41,10,66,82,54,193,42,50,1,240,133,227,89,233,4,113,205,220,239,52,2,119,5,9,18,35,109],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1455423694,"validated":0}]} 
[2026-07-13 08:36:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720579419304886272,"timestamp_seconds":720579419304886.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 08:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681430528001,"66":13319,"192":206,"87":13824,"24":17,"16":105645247609962496,"45":9013110254651009024},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-13 08:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681430528001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:36:58] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-13 08:36:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105645247609962496,"km_value":105645247609962.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013110254651009024,"description":"Unknown IO ID 45"} 
[2026-07-13 08:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681430528001,"power":13319,"unknown_192":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":9013110254651009024}} 
[2026-07-13 08:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":130141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479079,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:36:58] local.INFO: GPS data processed {"connection_id":130141,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:36:58] local.INFO: Acknowledgment sent {"connection_id":130141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:36:59] local.INFO: TCP Data received {"connection_id":130141,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f596ede90012d7d180005ea2d98000c000528..."} 
[2026-07-13 08:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596ede90012d7d180005ea2d98000c000528..."} 
[2026-07-13 08:36:59] local.INFO: Processing buffer {"connection_id":130141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596ede90012d7d180005ea2d98000c000528..."} 
[2026-07-13 08:36:59] local.INFO: Packet analysis {"connection_id":130141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596e"} 
[2026-07-13 08:36:59] local.INFO: Extracted packet for processing {"connection_id":130141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596e"} 
[2026-07-13 08:36:59] local.INFO: GPS Element Parsed {"raw_longitude":763172864,"raw_latitude":99233176,"longitude_deg":76.3172864,"latitude_deg":9.9233176,"altitude":12,"angle":5,"satellites":40,"speed":25,"hex_longitude":"2d7d1800","hex_latitude":"05ea2d98","is_valid_coordinates":true} 
[2026-07-13 08:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681434112001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105645689991593984,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013321360885827584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783911866000,"timestamp_ms":1783911866000,"timestamp_seconds":1783911866,"priority":1,"record_length":96,"hex_timestamp":"0000019f596ede90"} 
[2026-07-13 08:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 08:36:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:59] local.WARNING: Large IO value detected {"io_id":82,"raw_value":4194304000,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:59] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-5233182728344950528,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455423694,"corrected_to":0} 
[2026-07-13 08:36:59] local.WARNING: Large IO value detected {"io_id":11,"raw_value":2684431741,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:59] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465430,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3921352704,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:59] local.WARNING: Large IO value detected {"io_id":29,"raw_value":57797752872916790,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:59] local.WARNING: Large IO value detected {"io_id":109,"raw_value":-4228878755221356539,"note":"Value kept but may cause issues"} 
[2026-07-13 08:36:59] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,192,87,24,241,157,16,83,159,113,45,231,10,42,66,58,64,194,8,41,82,54,1,240,187,227,89,233,4,205,6,11,216,43,239,49,2,119,5,27,29,109],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1455423694,"validated":0}]} 
[2026-07-13 08:36:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792640311876714496,"timestamp_seconds":792640311876714.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 08:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":130141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":130141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":130141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681434112001,"66":13102,"154":206,"87":13824,"24":25,"16":105645689991593984,"45":9013321360885827584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-07-13 08:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681434112001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:36:59] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-13 08:36:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105645689991593984,"km_value":105645689991593.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013321360885827584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681434112001,"power":13102,"unknown_154":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":9013321360885827584}} 
[2026-07-13 08:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":130141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479080,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:36:59] local.INFO: GPS data processed {"connection_id":130141,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:36:59] local.INFO: Acknowledgment sent {"connection_id":130141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:37:07] local.INFO: TCP Data received {"connection_id":130142,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130142,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:37:07] local.INFO: Processing buffer {"connection_id":130142,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:37:07] local.INFO: IMEI packet received {"connection_id":130142,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 08:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":130142,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:37:10] local.INFO: TCP Data received {"connection_id":130140,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130140,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:37:11] local.INFO: Processing buffer {"connection_id":130140,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:37:11] local.INFO: IMEI packet received {"connection_id":130140,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 08:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":130140,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:37:13] local.INFO: TCP Data received {"connection_id":131138,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f596cb3e0012d7f914005afd9380005011b23..."} 
[2026-07-13 08:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596cb3e0012d7f914005afd9380005011b23..."} 
[2026-07-13 08:37:13] local.INFO: Processing buffer {"connection_id":131138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596cb3e0012d7f914005afd9380005011b23..."} 
[2026-07-13 08:37:13] local.INFO: Packet analysis {"connection_id":131138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:37:13] local.INFO: Extracted packet for processing {"connection_id":131138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:37:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681324288001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783911724000,"timestamp_ms":1783911724000,"timestamp_seconds":1783911724,"priority":1,"record_length":96,"hex_timestamp":"0000019f596cb3e0"} 
[2026-07-13 08:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681324288001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681324288001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:37:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:37:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681324288001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":131138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:37:13] local.INFO: GPS data processed {"connection_id":131138,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:37:13] local.INFO: Acknowledgment sent {"connection_id":131138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:37:30] local.INFO: TCP Data received {"connection_id":132461,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132461,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:37:30] local.INFO: Processing buffer {"connection_id":132461,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:37:30] local.INFO: IMEI packet received {"connection_id":132461,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 08:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":132461,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:37:33] local.INFO: TCP Data received {"connection_id":132461,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132461,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:37:33] local.INFO: Processing buffer {"connection_id":132461,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:37:33] local.INFO: IMEI packet received {"connection_id":132461,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":132461,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:37:33] local.INFO: TCP Data received {"connection_id":132461,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132461,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:37:33] local.INFO: Processing buffer {"connection_id":132461,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:37:33] local.INFO: IMEI packet received {"connection_id":132461,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":132461,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:37:35] local.INFO: TCP Data received {"connection_id":132462,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:37:35] local.INFO: Processing buffer {"connection_id":132462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:37:35] local.INFO: IMEI packet received {"connection_id":132462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":132462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:37:40] local.INFO: TCP Data received {"connection_id":130347,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130347,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:37:40] local.INFO: Processing buffer {"connection_id":130347,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:37:40] local.INFO: IMEI packet received {"connection_id":130347,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 08:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":130347,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:37:40] local.INFO: TCP Data received {"connection_id":132462,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:37:40] local.INFO: Processing buffer {"connection_id":132462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:37:40] local.INFO: IMEI packet received {"connection_id":132462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":132462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:37:40] local.INFO: TCP Data received {"connection_id":131139,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:37:40] local.INFO: Processing buffer {"connection_id":131139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:37:40] local.INFO: IMEI packet received {"connection_id":131139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":131139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:37:41] local.INFO: TCP Data received {"connection_id":132462,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f596cb3e0012d7f914005afd9380005011b23..."} 
[2026-07-13 08:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596cb3e0012d7f914005afd9380005011b23..."} 
[2026-07-13 08:37:41] local.INFO: Processing buffer {"connection_id":132462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596cb3e0012d7f914005afd9380005011b23..."} 
[2026-07-13 08:37:41] local.INFO: Packet analysis {"connection_id":132462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:37:41] local.INFO: Extracted packet for processing {"connection_id":132462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596c"} 
[2026-07-13 08:37:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681324288001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783911724000,"timestamp_ms":1783911724000,"timestamp_seconds":1783911724,"priority":1,"record_length":96,"hex_timestamp":"0000019f596cb3e0"} 
[2026-07-13 08:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681324288001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681324288001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:37:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:37:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681324288001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":132462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:37:41] local.INFO: GPS data processed {"connection_id":132462,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:37:41] local.INFO: Acknowledgment sent {"connection_id":132462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:37:44] local.INFO: TCP Data received {"connection_id":131139,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:37:44] local.INFO: Processing buffer {"connection_id":131139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:37:44] local.INFO: IMEI packet received {"connection_id":131139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":131139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:37:45] local.INFO: TCP Data received {"connection_id":130347,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130347,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:37:45] local.INFO: Processing buffer {"connection_id":130347,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:37:45] local.INFO: IMEI packet received {"connection_id":130347,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 08:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":130347,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:37:46] local.INFO: TCP Data received {"connection_id":130347,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5947a398012cb29ac007823b500049001c2e..."} 
[2026-07-13 08:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5947a398012cb29ac007823b500049001c2e..."} 
[2026-07-13 08:37:46] local.INFO: Processing buffer {"connection_id":130347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5947a398012cb29ac007823b500049001c2e..."} 
[2026-07-13 08:37:46] local.INFO: Packet analysis {"connection_id":130347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5947"} 
[2026-07-13 08:37:46] local.INFO: Extracted packet for processing {"connection_id":130347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5947"} 
[2026-07-13 08:37:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975376,"longitude_deg":74.9902528,"latitude_deg":12.5975376,"altitude":73,"angle":28,"satellites":46,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b50","is_valid_coordinates":true} 
[2026-07-13 08:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456680702464001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 08:37:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062708736,"note":"Value kept but may cause issues"} 
[2026-07-13 08:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783909295000,"timestamp_ms":1783909295000,"timestamp_seconds":1783909295,"priority":1,"record_length":96,"hex_timestamp":"0000019f5947a398"} 
[2026-07-13 08:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-13 08:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130347,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 08:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130347,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 08:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 08:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 08:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456680702464001,"66":24810,"183":206,"85":36096,"24":0,"16":135462516896563200,"44":-5576934050062708736},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-13 08:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 08:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 08:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456680702464001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:37:46] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-13 08:37:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-13 08:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:37:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062708736,"description":"Unknown IO ID 44"} 
[2026-07-13 08:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456680702464001,"power":24810,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062708736}} 
[2026-07-13 08:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":130347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479083,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:37:46] local.INFO: GPS data processed {"connection_id":130347,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:37:46] local.INFO: Acknowledgment sent {"connection_id":130347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:37:48] local.INFO: TCP Data received {"connection_id":131139,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:37:48] local.INFO: Processing buffer {"connection_id":131139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:37:48] local.INFO: IMEI packet received {"connection_id":131139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":131139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:37:50] local.INFO: TCP Data received {"connection_id":131139,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f596f2cb0012d7d184005ea34c80009000c2b..."} 
[2026-07-13 08:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596f2cb0012d7d184005ea34c80009000c2b..."} 
[2026-07-13 08:37:50] local.INFO: Processing buffer {"connection_id":131139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596f2cb0012d7d184005ea34c80009000c2b..."} 
[2026-07-13 08:37:50] local.INFO: Packet analysis {"connection_id":131139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596f"} 
[2026-07-13 08:37:50] local.INFO: Extracted packet for processing {"connection_id":131139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596f"} 
[2026-07-13 08:37:50] local.INFO: GPS Element Parsed {"raw_longitude":763172928,"raw_latitude":99235016,"longitude_deg":76.3172928,"latitude_deg":9.9235016,"altitude":9,"angle":12,"satellites":43,"speed":4,"hex_longitude":"2d7d1840","hex_latitude":"05ea34c8","is_valid_coordinates":true} 
[2026-07-13 08:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681437696001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105645784480874496,"note":"Value kept but may cause issues"} 
[2026-07-13 08:37:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013954679585740800,"note":"Value kept but may cause issues"} 
[2026-07-13 08:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783911886000,"timestamp_ms":1783911886000,"timestamp_seconds":1783911886,"priority":1,"record_length":96,"hex_timestamp":"0000019f596f2cb0"} 
[2026-07-13 08:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:37: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-07-13 08: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-13 08:37:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:37:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681437696001,"66":13243,"154":206,"87":13824,"24":4,"16":105645784480874496,"45":9013954679585740800},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-07-13 08:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681437696001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:37:50] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-13 08:37:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105645784480874496,"km_value":105645784480874.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:37:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013954679585740800,"description":"Unknown IO ID 45"} 
[2026-07-13 08:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681437696001,"power":13243,"unknown_154":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":9013954679585740800}} 
[2026-07-13 08:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":131139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479084,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:37:50] local.INFO: GPS data processed {"connection_id":131139,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:37:50] local.INFO: Acknowledgment sent {"connection_id":131139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:37:54] local.INFO: TCP Data received {"connection_id":131139,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f596f7300012d7d1a4005ea57a0000b00032b..."} 
[2026-07-13 08:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596f7300012d7d1a4005ea57a0000b00032b..."} 
[2026-07-13 08:37:54] local.INFO: Processing buffer {"connection_id":131139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596f7300012d7d1a4005ea57a0000b00032b..."} 
[2026-07-13 08:37:54] local.INFO: Packet analysis {"connection_id":131139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596f"} 
[2026-07-13 08:37:54] local.INFO: Extracted packet for processing {"connection_id":131139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596f"} 
[2026-07-13 08:37:54] local.INFO: GPS Element Parsed {"raw_longitude":763173440,"raw_latitude":99243936,"longitude_deg":76.317344,"latitude_deg":9.9243936,"altitude":11,"angle":3,"satellites":43,"speed":31,"hex_longitude":"2d7d1a40","hex_latitude":"05ea57a0","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681442816001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105646218272571392,"note":"Value kept but may cause issues"} 
[2026-07-13 08:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014025048330389504,"note":"Value kept but may cause issues"} 
[2026-07-13 08:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783911904000,"timestamp_ms":1783911904000,"timestamp_seconds":1783911904,"priority":1,"record_length":96,"hex_timestamp":"0000019f596f7300"} 
[2026-07-13 08:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 08:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08: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-07-13 08:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":131139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":131139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":131139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681442816001,"66":13276,"154":206,"87":13824,"24":31,"16":105646218272571392,"45":9014025048330389504},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-07-13 08:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681442816001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:37:54] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-13 08:37:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105646218272571392,"km_value":105646218272571.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014025048330389504,"description":"Unknown IO ID 45"} 
[2026-07-13 08:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681442816001,"power":13276,"unknown_154":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":9014025048330389504}} 
[2026-07-13 08:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":131139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479085,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:37:54] local.INFO: GPS data processed {"connection_id":131139,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:37:54] local.INFO: Acknowledgment sent {"connection_id":131139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:38:13] local.INFO: TCP Data received {"connection_id":132462,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f59714ba8012d7f914005afd9380005011b23..."} 
[2026-07-13 08:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59714ba8012d7f914005afd9380005011b23..."} 
[2026-07-13 08:38:13] local.INFO: Processing buffer {"connection_id":132462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59714ba8012d7f914005afd9380005011b23..."} 
[2026-07-13 08:38:13] local.INFO: Packet analysis {"connection_id":132462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5971"} 
[2026-07-13 08:38:13] local.INFO: Extracted packet for processing {"connection_id":132462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5971"} 
[2026-07-13 08:38:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 08:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681401344001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783912025000,"timestamp_ms":1783912025000,"timestamp_seconds":1783912025,"priority":1,"record_length":96,"hex_timestamp":"0000019f59714ba8"} 
[2026-07-13 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-07-13 08:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 08:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681401344001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681401344001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:38:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:38:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681401344001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":132462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:38:13] local.INFO: GPS data processed {"connection_id":132462,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:38:13] local.INFO: Acknowledgment sent {"connection_id":132462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:38:27] local.INFO: TCP Data received {"connection_id":131139,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f596f9df8012d7d1cc005ea7c38000b00022b..."} 
[2026-07-13 08:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f596f9df8012d7d1cc005ea7c38000b00022b..."} 
[2026-07-13 08:38:27] local.INFO: Processing buffer {"connection_id":131139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f596f9df8012d7d1cc005ea7c38000b00022b..."} 
[2026-07-13 08:38:27] local.INFO: Packet analysis {"connection_id":131139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f596f"} 
[2026-07-13 08:38:27] local.INFO: Extracted packet for processing {"connection_id":131139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f596f"} 
[2026-07-13 08:38:27] local.INFO: GPS Element Parsed {"raw_longitude":763174080,"raw_latitude":99253304,"longitude_deg":76.317408,"latitude_deg":9.9253304,"altitude":11,"angle":2,"satellites":43,"speed":32,"hex_longitude":"2d7d1cc0","hex_latitude":"05ea7c38","is_valid_coordinates":true} 
[2026-07-13 08:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681447424001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105646673539104768,"note":"Value kept but may cause issues"} 
[2026-07-13 08:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014587998286094336,"note":"Value kept but may cause issues"} 
[2026-07-13 08:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783911915000,"timestamp_ms":1783911915000,"timestamp_seconds":1783911915,"priority":1,"record_length":96,"hex_timestamp":"0000019f596f9df8"} 
[2026-07-13 08:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-13 08:38: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-07-13 08:38:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":131139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":131139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":131139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681447424001,"66":13091,"154":206,"87":13824,"24":32,"16":105646673539104768,"45":9014587998286094336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-07-13 08:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681447424001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:38:27] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-13 08:38:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105646673539104768,"km_value":105646673539104.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014587998286094336,"description":"Unknown IO ID 45"} 
[2026-07-13 08:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681447424001,"power":13091,"unknown_154":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":9014587998286094336}} 
[2026-07-13 08:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":131139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479087,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:38:27] local.INFO: GPS data processed {"connection_id":131139,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:38:27] local.INFO: Acknowledgment sent {"connection_id":131139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:38:31] local.INFO: TCP Data received {"connection_id":130348,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130348,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:38:31] local.INFO: Processing buffer {"connection_id":130348,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:38:31] local.INFO: IMEI packet received {"connection_id":130348,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 08:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":130348,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:38:35] local.INFO: TCP Data received {"connection_id":132463,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:38:35] local.INFO: Processing buffer {"connection_id":132463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:38:35] local.INFO: IMEI packet received {"connection_id":132463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":132463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:38:40] local.INFO: TCP Data received {"connection_id":132463,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:38:40] local.INFO: Processing buffer {"connection_id":132463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:38:40] local.INFO: IMEI packet received {"connection_id":132463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":132463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:38:41] local.INFO: TCP Data received {"connection_id":132463,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f59714ba8012d7f914005afd9380005011b23..."} 
[2026-07-13 08:38:41] local.INFO: TCP Data received {"connection_id":130143,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59714ba8012d7f914005afd9380005011b23..."} 
[2026-07-13 08:38:41] local.INFO: Processing buffer {"connection_id":132463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59714ba8012d7f914005afd9380005011b23..."} 
[2026-07-13 08:38:41] local.INFO: Packet analysis {"connection_id":132463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5971"} 
[2026-07-13 08:38:41] local.INFO: Extracted packet for processing {"connection_id":132463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5971"} 
[2026-07-13 08:38:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 08:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681401344001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783912025000,"timestamp_ms":1783912025000,"timestamp_seconds":1783912025,"priority":1,"record_length":96,"hex_timestamp":"0000019f59714ba8"} 
[2026-07-13 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-07-13 08:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 08:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:38:41] local.INFO: Processing buffer {"connection_id":130143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:38:41] local.INFO: IMEI packet received {"connection_id":130143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":130143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681401344001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681401344001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:38:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:38:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681401344001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":132463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:38:41] local.INFO: GPS data processed {"connection_id":132463,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:38:41] local.INFO: Acknowledgment sent {"connection_id":132463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:38:43] local.INFO: TCP Data received {"connection_id":130143,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:38:43] local.INFO: Processing buffer {"connection_id":130143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:38:43] local.INFO: IMEI packet received {"connection_id":130143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":130143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:38:43] local.INFO: TCP Data received {"connection_id":130143,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:38:43] local.INFO: Processing buffer {"connection_id":130143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:38:43] local.INFO: IMEI packet received {"connection_id":130143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":130143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:38:48] local.INFO: TCP Data received {"connection_id":130143,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:38:48] local.INFO: Processing buffer {"connection_id":130143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:38:48] local.INFO: IMEI packet received {"connection_id":130143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":130143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:38:49] local.INFO: TCP Data received {"connection_id":130143,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f597270a0012d7d1fc005eafef8000e00fe2a..."} 
[2026-07-13 08:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597270a0012d7d1fc005eafef8000e00fe2a..."} 
[2026-07-13 08:38:49] local.INFO: Processing buffer {"connection_id":130143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597270a0012d7d1fc005eafef8000e00fe2a..."} 
[2026-07-13 08:38:49] local.INFO: Packet analysis {"connection_id":130143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5972"} 
[2026-07-13 08:38:49] local.INFO: Extracted packet for processing {"connection_id":130143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5972"} 
[2026-07-13 08:38:49] local.INFO: GPS Element Parsed {"raw_longitude":763174848,"raw_latitude":99286776,"longitude_deg":76.3174848,"latitude_deg":9.9286776,"altitude":14,"angle":254,"satellites":42,"speed":9,"hex_longitude":"2d7d1fc0","hex_latitude":"05eafef8","is_valid_coordinates":true} 
[2026-07-13 08:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681497344001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105648335691448320,"note":"Value kept but may cause issues"} 
[2026-07-13 08:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016347216901515264,"note":"Value kept but may cause issues"} 
[2026-07-13 08:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783912100000,"timestamp_ms":1783912100000,"timestamp_seconds":1783912100,"priority":1,"record_length":96,"hex_timestamp":"0000019f597270a0"} 
[2026-07-13 08:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-13 08:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681497344001,"66":13015,"158":206,"87":13824,"24":9,"16":105648335691448320,"45":9016347216901515264},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-13 08:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681497344001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:38:49] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-13 08:38:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105648335691448320,"km_value":105648335691448.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016347216901515264,"description":"Unknown IO ID 45"} 
[2026-07-13 08:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681497344001,"power":13015,"unknown_158":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9016347216901515264}} 
[2026-07-13 08:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":130143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:38:49] local.INFO: GPS data processed {"connection_id":130143,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:38:49] local.INFO: Acknowledgment sent {"connection_id":130143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:39:12] local.INFO: TCP Data received {"connection_id":132463,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f59714ba8012d7f914005afd9380005011b23..."} 
[2026-07-13 08:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59714ba8012d7f914005afd9380005011b23..."} 
[2026-07-13 08:39:12] local.INFO: Processing buffer {"connection_id":132463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59714ba8012d7f914005afd9380005011b23..."} 
[2026-07-13 08:39:12] local.INFO: Packet analysis {"connection_id":132463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5971"} 
[2026-07-13 08:39:12] local.INFO: Extracted packet for processing {"connection_id":132463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5971"} 
[2026-07-13 08:39:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681401344001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783912025000,"timestamp_ms":1783912025000,"timestamp_seconds":1783912025,"priority":1,"record_length":96,"hex_timestamp":"0000019f59714ba8"} 
[2026-07-13 08:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:39:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681401344001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681401344001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:39:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:39:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681401344001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":132463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:39:12] local.INFO: GPS data processed {"connection_id":132463,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:39:12] local.INFO: Acknowledgment sent {"connection_id":132463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:39:22] local.INFO: TCP Data received {"connection_id":130143,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5972af20012d7d0bc005eaf6e0001000f329..."} 
[2026-07-13 08:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5972af20012d7d0bc005eaf6e0001000f329..."} 
[2026-07-13 08:39:22] local.INFO: Processing buffer {"connection_id":130143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5972af20012d7d0bc005eaf6e0001000f329..."} 
[2026-07-13 08:39:22] local.INFO: Packet analysis {"connection_id":130143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5972"} 
[2026-07-13 08:39:22] local.INFO: Extracted packet for processing {"connection_id":130143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5972"} 
[2026-07-13 08:39:22] local.INFO: GPS Element Parsed {"raw_longitude":763169728,"raw_latitude":99284704,"longitude_deg":76.3169728,"latitude_deg":9.9284704,"altitude":16,"angle":243,"satellites":41,"speed":16,"hex_longitude":"2d7d0bc0","hex_latitude":"05eaf6e0","is_valid_coordinates":true} 
[2026-07-13 08:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681497600001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105648601979420672,"note":"Value kept but may cause issues"} 
[2026-07-13 08:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016136110668969984,"note":"Value kept but may cause issues"} 
[2026-07-13 08:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783912116000,"timestamp_ms":1783912116000,"timestamp_seconds":1783912116,"priority":1,"record_length":96,"hex_timestamp":"0000019f5972af20"} 
[2026-07-13 08:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-13 08:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681497600001,"66":12982,"158":206,"87":13824,"24":16,"16":105648601979420672,"45":9016136110668969984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-13 08:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681497600001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:39:22] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-13 08:39:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105648601979420672,"km_value":105648601979420.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016136110668969984,"description":"Unknown IO ID 45"} 
[2026-07-13 08:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681497600001,"power":12982,"unknown_158":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":9016136110668969984}} 
[2026-07-13 08:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":130143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479091,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:39:22] local.INFO: GPS data processed {"connection_id":130143,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:39:22] local.INFO: Acknowledgment sent {"connection_id":130143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:39:35] local.INFO: TCP Data received {"connection_id":131141,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:39:35] local.INFO: Processing buffer {"connection_id":131141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:39:35] local.INFO: IMEI packet received {"connection_id":131141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":131141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:39:40] local.INFO: TCP Data received {"connection_id":131141,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:39:40] local.INFO: Processing buffer {"connection_id":131141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:39:40] local.INFO: IMEI packet received {"connection_id":131141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":131141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:39:41] local.INFO: TCP Data received {"connection_id":131141,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f59714ba8012d7f914005afd9380005011b23..."} 
[2026-07-13 08:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59714ba8012d7f914005afd9380005011b23..."} 
[2026-07-13 08:39:41] local.INFO: Processing buffer {"connection_id":131141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59714ba8012d7f914005afd9380005011b23..."} 
[2026-07-13 08:39:41] local.INFO: Packet analysis {"connection_id":131141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5971"} 
[2026-07-13 08:39:41] local.INFO: Extracted packet for processing {"connection_id":131141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5971"} 
[2026-07-13 08:39:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681401344001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783912025000,"timestamp_ms":1783912025000,"timestamp_seconds":1783912025,"priority":1,"record_length":96,"hex_timestamp":"0000019f59714ba8"} 
[2026-07-13 08:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681401344001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681401344001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:39:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:39:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681401344001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":131141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:39:41] local.INFO: GPS data processed {"connection_id":131141,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:39:41] local.INFO: Acknowledgment sent {"connection_id":131141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:39:44] local.INFO: TCP Data received {"connection_id":132464,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132464,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:39:44] local.INFO: Processing buffer {"connection_id":132464,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:39:44] local.INFO: IMEI packet received {"connection_id":132464,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":132464,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:39:45] local.INFO: TCP Data received {"connection_id":132464,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132464,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:39:45] local.INFO: Processing buffer {"connection_id":132464,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:39:45] local.INFO: IMEI packet received {"connection_id":132464,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":132464,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:39:48] local.INFO: TCP Data received {"connection_id":132464,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132464,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:39:48] local.INFO: Processing buffer {"connection_id":132464,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:39:48] local.INFO: IMEI packet received {"connection_id":132464,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":132464,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:39:49] local.INFO: TCP Data received {"connection_id":132464,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5972bec0012d7d064005eaf390001000e427..."} 
[2026-07-13 08:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5972bec0012d7d064005eaf390001000e427..."} 
[2026-07-13 08:39:49] local.INFO: Processing buffer {"connection_id":132464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5972bec0012d7d064005eaf390001000e427..."} 
[2026-07-13 08:39:49] local.INFO: Packet analysis {"connection_id":132464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5972"} 
[2026-07-13 08:39:49] local.INFO: Extracted packet for processing {"connection_id":132464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5972"} 
[2026-07-13 08:39:49] local.INFO: GPS Element Parsed {"raw_longitude":763168320,"raw_latitude":99283856,"longitude_deg":76.316832,"latitude_deg":9.9283856,"altitude":16,"angle":228,"satellites":39,"speed":14,"hex_longitude":"2d7d0640","hex_latitude":"05eaf390","is_valid_coordinates":true} 
[2026-07-13 08:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681501696001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105648679288832000,"note":"Value kept but may cause issues"} 
[2026-07-13 08:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010506611134226432,"note":"Value kept but may cause issues"} 
[2026-07-13 08:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783912120000,"timestamp_ms":1783912120000,"timestamp_seconds":1783912120,"priority":1,"record_length":96,"hex_timestamp":"0000019f5972bec0"} 
[2026-07-13 08:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-13 08:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681501696001,"66":12863,"158":206,"87":13824,"24":14,"16":105648679288832000,"45":9010506611134226432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-13 08:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681501696001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:39:49] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-13 08:39:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105648679288832000,"km_value":105648679288832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010506611134226432,"description":"Unknown IO ID 45"} 
[2026-07-13 08:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681501696001,"power":12863,"unknown_158":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":9010506611134226432}} 
[2026-07-13 08:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":132464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479093,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:39:49] local.INFO: GPS data processed {"connection_id":132464,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:39:49] local.INFO: Acknowledgment sent {"connection_id":132464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:39:50] local.INFO: TCP Data received {"connection_id":132464,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5972c690012d7d04c005eaf250001000f427..."} 
[2026-07-13 08:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5972c690012d7d04c005eaf250001000f427..."} 
[2026-07-13 08:39:50] local.INFO: Processing buffer {"connection_id":132464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5972c690012d7d04c005eaf250001000f427..."} 
[2026-07-13 08:39:50] local.INFO: Packet analysis {"connection_id":132464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5972"} 
[2026-07-13 08:39:50] local.INFO: Extracted packet for processing {"connection_id":132464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5972"} 
[2026-07-13 08:39:50] local.INFO: GPS Element Parsed {"raw_longitude":763167936,"raw_latitude":99283536,"longitude_deg":76.3167936,"latitude_deg":9.9283536,"altitude":16,"angle":244,"satellites":39,"speed":5,"hex_longitude":"2d7d04c0","hex_latitude":"05eaf250","is_valid_coordinates":true} 
[2026-07-13 08:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681502720001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105648700763668480,"note":"Value kept but may cause issues"} 
[2026-07-13 08:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008958498762100736,"note":"Value kept but may cause issues"} 
[2026-07-13 08:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783912122000,"timestamp_ms":1783912122000,"timestamp_seconds":1783912122,"priority":1,"record_length":96,"hex_timestamp":"0000019f5972c690"} 
[2026-07-13 08:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:39: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-07-13 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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-13 08:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 08:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":132464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":132464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":132464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681502720001,"66":12906,"158":206,"87":13824,"24":5,"16":105648700763668480,"45":9008958498762100736},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-13 08:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681502720001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:39:50] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-13 08:39:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105648700763668480,"km_value":105648700763668.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008958498762100736,"description":"Unknown IO ID 45"} 
[2026-07-13 08:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681502720001,"power":12906,"unknown_158":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9008958498762100736}} 
[2026-07-13 08:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":132464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:39:50] local.INFO: GPS data processed {"connection_id":132464,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:39:50] local.INFO: Acknowledgment sent {"connection_id":132464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:40:12] local.INFO: TCP Data received {"connection_id":131141,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f59714ba8012d7f914005afd9380005011b23..."} 
[2026-07-13 08:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59714ba8012d7f914005afd9380005011b23..."} 
[2026-07-13 08:40:12] local.INFO: Processing buffer {"connection_id":131141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59714ba8012d7f914005afd9380005011b23..."} 
[2026-07-13 08:40:12] local.INFO: Packet analysis {"connection_id":131141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5971"} 
[2026-07-13 08:40:12] local.INFO: Extracted packet for processing {"connection_id":131141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5971"} 
[2026-07-13 08:40:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681401344001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783912025000,"timestamp_ms":1783912025000,"timestamp_seconds":1783912025,"priority":1,"record_length":96,"hex_timestamp":"0000019f59714ba8"} 
[2026-07-13 08:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681401344001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681401344001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:40:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:40:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681401344001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":131141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:40:12] local.INFO: GPS data processed {"connection_id":131141,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:40:12] local.INFO: Acknowledgment sent {"connection_id":131141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:40:21] local.INFO: TCP Data received {"connection_id":132464,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5972f570012d7d010005eaf0f8001000ff2b..."} 
[2026-07-13 08:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5972f570012d7d010005eaf0f8001000ff2b..."} 
[2026-07-13 08:40:21] local.INFO: Processing buffer {"connection_id":132464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5972f570012d7d010005eaf0f8001000ff2b..."} 
[2026-07-13 08:40:21] local.INFO: Packet analysis {"connection_id":132464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5972"} 
[2026-07-13 08:40:21] local.INFO: Extracted packet for processing {"connection_id":132464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5972"} 
[2026-07-13 08:40:21] local.INFO: GPS Element Parsed {"raw_longitude":763166976,"raw_latitude":99283192,"longitude_deg":76.3166976,"latitude_deg":9.9283192,"altitude":16,"angle":255,"satellites":43,"speed":12,"hex_longitude":"2d7d0100","hex_latitude":"05eaf0f8","is_valid_coordinates":true} 
[2026-07-13 08:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681503232001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105648756598243328,"note":"Value kept but may cause issues"} 
[2026-07-13 08:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008536286296952832,"note":"Value kept but may cause issues"} 
[2026-07-13 08:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783912134000,"timestamp_ms":1783912134000,"timestamp_seconds":1783912134,"priority":1,"record_length":96,"hex_timestamp":"0000019f5972f570"} 
[2026-07-13 08:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-13 08:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":132464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":132464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":132464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681503232001,"66":13341,"158":206,"87":13824,"24":12,"16":105648756598243328,"45":9008536286296952832},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-13 08:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681503232001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:40:21] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-13 08:40:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105648756598243328,"km_value":105648756598243.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008536286296952832,"description":"Unknown IO ID 45"} 
[2026-07-13 08:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681503232001,"power":13341,"unknown_158":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":9008536286296952832}} 
[2026-07-13 08:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":132464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479096,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:40:21] local.INFO: GPS data processed {"connection_id":132464,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:40:21] local.INFO: Acknowledgment sent {"connection_id":132464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:40:35] local.INFO: TCP Data received {"connection_id":131142,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:40:35] local.INFO: Processing buffer {"connection_id":131142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:40:35] local.INFO: IMEI packet received {"connection_id":131142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":131142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:40:40] local.INFO: TCP Data received {"connection_id":131142,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:40:40] local.INFO: Processing buffer {"connection_id":131142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:40:40] local.INFO: IMEI packet received {"connection_id":131142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":131142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:40:41] local.INFO: TCP Data received {"connection_id":131142,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f59714ba8012d7f914005afd9380005011b23..."} 
[2026-07-13 08:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59714ba8012d7f914005afd9380005011b23..."} 
[2026-07-13 08:40:41] local.INFO: Processing buffer {"connection_id":131142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59714ba8012d7f914005afd9380005011b23..."} 
[2026-07-13 08:40:41] local.INFO: Packet analysis {"connection_id":131142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5971"} 
[2026-07-13 08:40:41] local.INFO: Extracted packet for processing {"connection_id":131142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5971"} 
[2026-07-13 08:40:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681401344001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783912025000,"timestamp_ms":1783912025000,"timestamp_seconds":1783912025,"priority":1,"record_length":96,"hex_timestamp":"0000019f59714ba8"} 
[2026-07-13 08:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681401344001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681401344001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:40:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:40:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681401344001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":131142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:40:41] local.INFO: GPS data processed {"connection_id":131142,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:40:41] local.INFO: Acknowledgment sent {"connection_id":131142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:40:43] local.INFO: TCP Data received {"connection_id":130349,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:40:43] local.INFO: Processing buffer {"connection_id":130349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:40:43] local.INFO: IMEI packet received {"connection_id":130349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":130349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:40:48] local.INFO: TCP Data received {"connection_id":130349,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:40:48] local.INFO: Processing buffer {"connection_id":130349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:40:48] local.INFO: IMEI packet received {"connection_id":130349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":130349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:40:49] local.INFO: TCP Data received {"connection_id":130349,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59734390012d7cf50005eaeea00010010a23..."} 
[2026-07-13 08:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59734390012d7cf50005eaeea00010010a23..."} 
[2026-07-13 08:40:49] local.INFO: Processing buffer {"connection_id":130349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59734390012d7cf50005eaeea00010010a23..."} 
[2026-07-13 08:40:49] local.INFO: Packet analysis {"connection_id":130349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5973"} 
[2026-07-13 08:40:49] local.INFO: Extracted packet for processing {"connection_id":130349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5973"} 
[2026-07-13 08:40:49] local.INFO: GPS Element Parsed {"raw_longitude":763163904,"raw_latitude":99282592,"longitude_deg":76.3163904,"latitude_deg":9.9282592,"altitude":16,"angle":266,"satellites":35,"speed":0,"hex_longitude":"2d7cf500","hex_latitude":"05eaeea0","is_valid_coordinates":true} 
[2026-07-13 08:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681506304001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105648906922098688,"note":"Value kept but may cause issues"} 
[2026-07-13 08:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007480755134199808,"note":"Value kept but may cause issues"} 
[2026-07-13 08:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783912154000,"timestamp_ms":1783912154000,"timestamp_seconds":1783912154,"priority":1,"record_length":96,"hex_timestamp":"0000019f59734390"} 
[2026-07-13 08:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-13 08:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681506304001,"66":12841,"158":206,"87":13824,"24":0,"16":105648906922098688,"45":9007480755134199808},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-13 08:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681506304001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:40:49] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-13 08:40:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105648906922098688,"km_value":105648906922098.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007480755134199808,"description":"Unknown IO ID 45"} 
[2026-07-13 08:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681506304001,"power":12841,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9007480755134199808}} 
[2026-07-13 08:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":130349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:40:49] local.INFO: GPS data processed {"connection_id":130349,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:40:49] local.INFO: Acknowledgment sent {"connection_id":130349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:41:12] local.INFO: TCP Data received {"connection_id":131142,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f59714ba8012d7f914005afd9380005011b23..."} 
[2026-07-13 08:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59714ba8012d7f914005afd9380005011b23..."} 
[2026-07-13 08:41:12] local.INFO: Processing buffer {"connection_id":131142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59714ba8012d7f914005afd9380005011b23..."} 
[2026-07-13 08:41:12] local.INFO: Packet analysis {"connection_id":131142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5971"} 
[2026-07-13 08:41:12] local.INFO: Extracted packet for processing {"connection_id":131142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5971"} 
[2026-07-13 08:41:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681401344001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783912025000,"timestamp_ms":1783912025000,"timestamp_seconds":1783912025,"priority":1,"record_length":96,"hex_timestamp":"0000019f59714ba8"} 
[2026-07-13 08:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681401344001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681401344001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:41:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:41:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681401344001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":131142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:41:12] local.INFO: GPS data processed {"connection_id":131142,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:41:12] local.INFO: Acknowledgment sent {"connection_id":131142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:41:20] local.INFO: TCP Data received {"connection_id":130349,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59738dc8012d7cf34005eaee50001000fd21..."} 
[2026-07-13 08:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59738dc8012d7cf34005eaee50001000fd21..."} 
[2026-07-13 08:41:20] local.INFO: Processing buffer {"connection_id":130349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59738dc8012d7cf34005eaee50001000fd21..."} 
[2026-07-13 08:41:20] local.INFO: Packet analysis {"connection_id":130349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5973"} 
[2026-07-13 08:41:20] local.INFO: Extracted packet for processing {"connection_id":130349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5973"} 
[2026-07-13 08:41:20] local.INFO: GPS Element Parsed {"raw_longitude":763163456,"raw_latitude":99282512,"longitude_deg":76.3163456,"latitude_deg":9.9282512,"altitude":16,"angle":253,"satellites":33,"speed":2,"hex_longitude":"2d7cf340","hex_latitude":"05eaee50","is_valid_coordinates":true} 
[2026-07-13 08:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681511424001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105648928396935168,"note":"Value kept but may cause issues"} 
[2026-07-13 08:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004103055413518336,"note":"Value kept but may cause issues"} 
[2026-07-13 08:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783912173000,"timestamp_ms":1783912173000,"timestamp_seconds":1783912173,"priority":1,"record_length":96,"hex_timestamp":"0000019f59738dc8"} 
[2026-07-13 08:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:41: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-07-13 08: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-13 08:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681511424001,"66":13363,"158":206,"87":13824,"24":2,"16":105648928396935168,"45":9004103055413518336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-13 08:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681511424001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:41:20] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-13 08:41:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105648928396935168,"km_value":105648928396935.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004103055413518336,"description":"Unknown IO ID 45"} 
[2026-07-13 08:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681511424001,"power":13363,"unknown_158":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9004103055413518336}} 
[2026-07-13 08:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":130349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479100,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:41:20] local.INFO: GPS data processed {"connection_id":130349,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:41:20] local.INFO: Acknowledgment sent {"connection_id":130349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:41:35] local.INFO: TCP Data received {"connection_id":130148,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:41:35] local.INFO: Processing buffer {"connection_id":130148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:41:35] local.INFO: IMEI packet received {"connection_id":130148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":130148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:41:40] local.INFO: TCP Data received {"connection_id":130148,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:41:40] local.INFO: Processing buffer {"connection_id":130148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:41:40] local.INFO: IMEI packet received {"connection_id":130148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":130148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:41:41] local.INFO: TCP Data received {"connection_id":130148,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f59714ba8012d7f914005afd9380005011b23..."} 
[2026-07-13 08:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59714ba8012d7f914005afd9380005011b23..."} 
[2026-07-13 08:41:41] local.INFO: Processing buffer {"connection_id":130148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59714ba8012d7f914005afd9380005011b23..."} 
[2026-07-13 08:41:41] local.INFO: Packet analysis {"connection_id":130148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5971"} 
[2026-07-13 08:41:41] local.INFO: Extracted packet for processing {"connection_id":130148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5971"} 
[2026-07-13 08:41:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681401344001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783912025000,"timestamp_ms":1783912025000,"timestamp_seconds":1783912025,"priority":1,"record_length":96,"hex_timestamp":"0000019f59714ba8"} 
[2026-07-13 08:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681401344001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681401344001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:41:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:41:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681401344001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":130148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:41:41] local.INFO: GPS data processed {"connection_id":130148,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:41:41] local.INFO: Acknowledgment sent {"connection_id":130148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:41:43] local.INFO: TCP Data received {"connection_id":130350,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130350,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:41:43] local.INFO: Processing buffer {"connection_id":130350,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:41:43] local.INFO: IMEI packet received {"connection_id":130350,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":130350,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:41:48] local.INFO: TCP Data received {"connection_id":130350,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130350,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:41:48] local.INFO: Processing buffer {"connection_id":130350,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:41:48] local.INFO: IMEI packet received {"connection_id":130350,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":130350,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:41:49] local.INFO: TCP Data received {"connection_id":130350,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59753f60012d7c468005eac710000a010123..."} 
[2026-07-13 08:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59753f60012d7c468005eac710000a010123..."} 
[2026-07-13 08:41:49] local.INFO: Processing buffer {"connection_id":130350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59753f60012d7c468005eac710000a010123..."} 
[2026-07-13 08:41:49] local.INFO: Packet analysis {"connection_id":130350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5975"} 
[2026-07-13 08:41:49] local.INFO: Extracted packet for processing {"connection_id":130350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5975"} 
[2026-07-13 08:41:49] local.INFO: GPS Element Parsed {"raw_longitude":763119232,"raw_latitude":99272464,"longitude_deg":76.3119232,"latitude_deg":9.9272464,"altitude":10,"angle":257,"satellites":35,"speed":14,"hex_longitude":"2d7c4680","hex_latitude":"05eac710","is_valid_coordinates":true} 
[2026-07-13 08:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681542400001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105651123125223424,"note":"Value kept but may cause issues"} 
[2026-07-13 08:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8960404065276702720,"note":"Value kept but may cause issues"} 
[2026-07-13 08:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783912284000,"timestamp_ms":1783912284000,"timestamp_seconds":1783912284,"priority":1,"record_length":96,"hex_timestamp":"0000019f59753f60"} 
[2026-07-13 08:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-13 08:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681542400001,"66":13059,"8":206,"87":13824,"24":14,"16":105651123125223424,"45":8960404065276702720},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-07-13 08:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681542400001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:41:49] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-13 08:41:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105651123125223424,"km_value":105651123125223.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8960404065276702720,"description":"Unknown IO ID 45"} 
[2026-07-13 08:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681542400001,"power":13059,"unknown_8":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8960404065276702720}} 
[2026-07-13 08:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":130350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479102,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:41:49] local.INFO: GPS data processed {"connection_id":130350,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:41:49] local.INFO: Acknowledgment sent {"connection_id":130350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:42:13] local.INFO: TCP Data received {"connection_id":130148,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f59714ba8012d7f914005afd9380005011b23..."} 
[2026-07-13 08:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59714ba8012d7f914005afd9380005011b23..."} 
[2026-07-13 08:42:13] local.INFO: Processing buffer {"connection_id":130148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59714ba8012d7f914005afd9380005011b23..."} 
[2026-07-13 08:42:13] local.INFO: Packet analysis {"connection_id":130148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5971"} 
[2026-07-13 08:42:13] local.INFO: Extracted packet for processing {"connection_id":130148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5971"} 
[2026-07-13 08:42:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681401344001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783912025000,"timestamp_ms":1783912025000,"timestamp_seconds":1783912025,"priority":1,"record_length":96,"hex_timestamp":"0000019f59714ba8"} 
[2026-07-13 08:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681401344001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681401344001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:42:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:42:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681401344001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":130148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:42:13] local.INFO: GPS data processed {"connection_id":130148,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:42:13] local.INFO: Acknowledgment sent {"connection_id":130148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:42:21] local.INFO: TCP Data received {"connection_id":130350,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f597552e8012d7c42c005eac6f00009010f23..."} 
[2026-07-13 08:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597552e8012d7c42c005eac6f00009010f23..."} 
[2026-07-13 08:42:21] local.INFO: Processing buffer {"connection_id":130350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597552e8012d7c42c005eac6f00009010f23..."} 
[2026-07-13 08:42:21] local.INFO: Packet analysis {"connection_id":130350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5975"} 
[2026-07-13 08:42:21] local.INFO: Extracted packet for processing {"connection_id":130350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5975"} 
[2026-07-13 08:42:21] local.INFO: GPS Element Parsed {"raw_longitude":763118272,"raw_latitude":99272432,"longitude_deg":76.3118272,"latitude_deg":9.9272432,"altitude":9,"angle":271,"satellites":35,"speed":7,"hex_longitude":"2d7c42c0","hex_latitude":"05eac6f0","is_valid_coordinates":true} 
[2026-07-13 08:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681544704001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105651166074896384,"note":"Value kept but may cause issues"} 
[2026-07-13 08:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954985671974916096,"note":"Value kept but may cause issues"} 
[2026-07-13 08:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783912289000,"timestamp_ms":1783912289000,"timestamp_seconds":1783912289,"priority":1,"record_length":96,"hex_timestamp":"0000019f597552e8"} 
[2026-07-13 08:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-13 08:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163549732176,"note":"Value kept but may cause issues"} 
[2026-07-13 08:42:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 08:42:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":45056,"corrected_to":0} 
[2026-07-13 08:42:21] local.WARNING: Large IO value detected {"io_id":88,"raw_value":2281701376,"note":"Value kept but may cause issues"} 
[2026-07-13 08:42:21] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3584032778,"note":"Value kept but may cause issues"} 
[2026-07-13 08:42:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309147342,"corrected_to":0} 
[2026-07-13 08:42:21] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391950,"note":"Value kept but may cause issues"} 
[2026-07-13 08:42:21] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3940976640,"note":"Value kept but may cause issues"} 
[2026-07-13 08:42:21] local.WARNING: Large IO value detected {"io_id":158,"raw_value":58079734643818518,"note":"Value kept but may cause issues"} 
[2026-07-13 08:42:21] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,8,87,24,241,157,16,89,159,28,45,192,200,10,38,66,88,225,128,208,42,213,1,240,254,227,234,4,113,205,19,120,147,40,239,51,2,119,5,14,22,158],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":200,"original":45056,"validated":0},{"io_id":205,"original":1309147342,"validated":0}]} 
[2026-07-13 08:42:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720858665192390656,"timestamp_seconds":720858665192390.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 08:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":130350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":130350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":130350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681544704001,"66":13037,"8":206,"87":13824,"24":7,"16":105651166074896384,"45":8954985671974916096},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-07-13 08:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681544704001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:42:21] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-13 08:42:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105651166074896384,"km_value":105651166074896.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954985671974916096,"description":"Unknown IO ID 45"} 
[2026-07-13 08:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681544704001,"power":13037,"unknown_8":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8954985671974916096}} 
[2026-07-13 08:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":130350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479104,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:42:21] local.INFO: GPS data processed {"connection_id":130350,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:42:21] local.INFO: Acknowledgment sent {"connection_id":130350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:42:35] local.INFO: TCP Data received {"connection_id":131144,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:42:35] local.INFO: Processing buffer {"connection_id":131144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:42:35] local.INFO: IMEI packet received {"connection_id":131144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":131144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:42:37] local.INFO: TCP Data received {"connection_id":130351,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130351,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:42:37] local.INFO: Processing buffer {"connection_id":130351,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:42:37] local.INFO: IMEI packet received {"connection_id":130351,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 08:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":130351,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:42:38] local.INFO: TCP Data received {"connection_id":130351,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f597527f0012d0da20007065330001e001326..."} 
[2026-07-13 08:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597527f0012d0da20007065330001e001326..."} 
[2026-07-13 08:42:38] local.INFO: Processing buffer {"connection_id":130351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597527f0012d0da20007065330001e001326..."} 
[2026-07-13 08:42:38] local.INFO: Packet analysis {"connection_id":130351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5975"} 
[2026-07-13 08:42:38] local.INFO: Extracted packet for processing {"connection_id":130351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5975"} 
[2026-07-13 08:42:38] local.INFO: GPS Element Parsed {"raw_longitude":755868160,"raw_latitude":117855024,"longitude_deg":75.586816,"latitude_deg":11.7855024,"altitude":30,"angle":19,"satellites":38,"speed":0,"hex_longitude":"2d0da200","hex_latitude":"07065330","is_valid_coordinates":true} 
[2026-07-13 08:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681537792001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24158465190526976,"note":"Value kept but may cause issues"} 
[2026-07-13 08:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982347698891075584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783912278000,"timestamp_ms":1783912278000,"timestamp_seconds":1783912278,"priority":1,"record_length":96,"hex_timestamp":"0000019f597527f0"} 
[2026-07-13 08:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-13 08:42: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-07-13 08:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":130351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":130351,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":130351,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681537792001,"66":14450,"167":206,"94":11008,"24":0,"16":24158465190526976,"45":982347698891075584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-13 08:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681537792001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:42:38] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-13 08:42:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 08:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24158465190526976,"km_value":24158465190526.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":982347698891075584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681537792001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":982347698891075584}} 
[2026-07-13 08:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":130351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479105,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:42:38] local.INFO: GPS data processed {"connection_id":130351,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:42:38] local.INFO: Acknowledgment sent {"connection_id":130351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:42:40] local.INFO: TCP Data received {"connection_id":131144,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:42:40] local.INFO: Processing buffer {"connection_id":131144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:42:40] local.INFO: IMEI packet received {"connection_id":131144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":131144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:42:41] local.INFO: TCP Data received {"connection_id":131144,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f59714ba8012d7f914005afd9380005011b23..."} 
[2026-07-13 08:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59714ba8012d7f914005afd9380005011b23..."} 
[2026-07-13 08:42:41] local.INFO: Processing buffer {"connection_id":131144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59714ba8012d7f914005afd9380005011b23..."} 
[2026-07-13 08:42:41] local.INFO: Packet analysis {"connection_id":131144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5971"} 
[2026-07-13 08:42:41] local.INFO: Extracted packet for processing {"connection_id":131144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5971"} 
[2026-07-13 08:42:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681401344001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783912025000,"timestamp_ms":1783912025000,"timestamp_seconds":1783912025,"priority":1,"record_length":96,"hex_timestamp":"0000019f59714ba8"} 
[2026-07-13 08:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681401344001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681401344001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:42:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:42:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681401344001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":131144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:42:41] local.INFO: GPS data processed {"connection_id":131144,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:42:41] local.INFO: Acknowledgment sent {"connection_id":131144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:42:43] local.INFO: TCP Data received {"connection_id":132466,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:42:43] local.INFO: Processing buffer {"connection_id":132466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:42:43] local.INFO: IMEI packet received {"connection_id":132466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":132466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:42:45] local.INFO: TCP Data received {"connection_id":132466,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:42:45] local.INFO: Processing buffer {"connection_id":132466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:42:45] local.INFO: IMEI packet received {"connection_id":132466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":132466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:42:49] local.INFO: TCP Data received {"connection_id":132466,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:42:49] local.INFO: Processing buffer {"connection_id":132466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:42:49] local.INFO: IMEI packet received {"connection_id":132466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":132466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:42:50] local.INFO: TCP Data received {"connection_id":132466,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f597629c0012d7c264005eb2fb00008015e2a..."} 
[2026-07-13 08:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597629c0012d7c264005eb2fb00008015e2a..."} 
[2026-07-13 08:42:50] local.INFO: Processing buffer {"connection_id":132466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597629c0012d7c264005eb2fb00008015e2a..."} 
[2026-07-13 08:42:50] local.INFO: Packet analysis {"connection_id":132466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5976"} 
[2026-07-13 08:42:50] local.INFO: Extracted packet for processing {"connection_id":132466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5976"} 
[2026-07-13 08:42:50] local.INFO: GPS Element Parsed {"raw_longitude":763110976,"raw_latitude":99299248,"longitude_deg":76.3110976,"latitude_deg":9.9299248,"altitude":8,"angle":350,"satellites":42,"speed":25,"hex_longitude":"2d7c2640","hex_latitude":"05eb2fb0","is_valid_coordinates":true} 
[2026-07-13 08:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681559552001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105652592004038656,"note":"Value kept but may cause issues"} 
[2026-07-13 08:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946259947703431168,"note":"Value kept but may cause issues"} 
[2026-07-13 08:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783912344000,"timestamp_ms":1783912344000,"timestamp_seconds":1783912344,"priority":1,"record_length":96,"hex_timestamp":"0000019f597629c0"} 
[2026-07-13 08:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-13 08:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":132466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":132466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":132466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681559552001,"66":12385,"10":206,"87":13824,"24":25,"16":105652592004038656,"45":8946259947703431168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-13 08:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681559552001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:42:50] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-13 08:42:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105652592004038656,"km_value":105652592004038.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946259947703431168,"description":"Unknown IO ID 45"} 
[2026-07-13 08:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681559552001,"power":12385,"unknown_10":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8946259947703431168}} 
[2026-07-13 08:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":132466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479107,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:42:50] local.INFO: GPS data processed {"connection_id":132466,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:42:50] local.INFO: Acknowledgment sent {"connection_id":132466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:43:11] local.INFO: TCP Data received {"connection_id":130351,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f597579f8012d0da20007065330001e001326..."} 
[2026-07-13 08:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597579f8012d0da20007065330001e001326..."} 
[2026-07-13 08:43:11] local.INFO: Processing buffer {"connection_id":130351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597579f8012d0da20007065330001e001326..."} 
[2026-07-13 08:43:11] local.INFO: Packet analysis {"connection_id":130351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5975"} 
[2026-07-13 08:43:11] local.INFO: Extracted packet for processing {"connection_id":130351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5975"} 
[2026-07-13 08:43:11] local.INFO: GPS Element Parsed {"raw_longitude":755868160,"raw_latitude":117855024,"longitude_deg":75.586816,"latitude_deg":11.7855024,"altitude":30,"angle":19,"satellites":38,"speed":0,"hex_longitude":"2d0da200","hex_latitude":"07065330","is_valid_coordinates":true} 
[2026-07-13 08:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681543168001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24158465190526976,"note":"Value kept but may cause issues"} 
[2026-07-13 08:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982347698891075584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783912299000,"timestamp_ms":1783912299000,"timestamp_seconds":1783912299,"priority":1,"record_length":96,"hex_timestamp":"0000019f597579f8"} 
[2026-07-13 08:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":114,"data_length":795,"current_offset":136} 
[2026-07-13 08:43: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-07-13 08:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130351,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130351,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681543168001,"66":14537,"167":206,"94":11008,"24":0,"16":24158465190526976,"45":982347698891075584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-13 08:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681543168001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:43:11] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-13 08:43:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 08:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24158465190526976,"km_value":24158465190526.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":982347698891075584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681543168001,"power":14537,"unknown_167":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":982347698891075584}} 
[2026-07-13 08:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":130351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479108,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:43:11] local.INFO: GPS data processed {"connection_id":130351,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:43:11] local.INFO: Acknowledgment sent {"connection_id":130351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:43:12] local.INFO: TCP Data received {"connection_id":131144,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5975e370012d7f914005afd9380005011b25..."} 
[2026-07-13 08:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5975e370012d7f914005afd9380005011b25..."} 
[2026-07-13 08:43:12] local.INFO: Processing buffer {"connection_id":131144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5975e370012d7f914005afd9380005011b25..."} 
[2026-07-13 08:43:12] local.INFO: Packet analysis {"connection_id":131144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5975"} 
[2026-07-13 08:43:12] local.INFO: Extracted packet for processing {"connection_id":131144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5975"} 
[2026-07-13 08:43:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681478400001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783912326000,"timestamp_ms":1783912326000,"timestamp_seconds":1783912326,"priority":1,"record_length":96,"hex_timestamp":"0000019f5975e370"} 
[2026-07-13 08:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681478400001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681478400001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:43:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:43:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681478400001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":131144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:43:12] local.INFO: GPS data processed {"connection_id":131144,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:43:12] local.INFO: Acknowledgment sent {"connection_id":131144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:43:28] local.INFO: TCP Data received {"connection_id":132467,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132467,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:43:28] local.INFO: Processing buffer {"connection_id":132467,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:43:28] local.INFO: IMEI packet received {"connection_id":132467,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 08:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":132467,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:43:28] local.INFO: TCP Data received {"connection_id":132466,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f597658a0012d7c240005eb4b300007000127..."} 
[2026-07-13 08:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597658a0012d7c240005eb4b300007000127..."} 
[2026-07-13 08:43:28] local.INFO: Processing buffer {"connection_id":132466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597658a0012d7c240005eb4b300007000127..."} 
[2026-07-13 08:43:28] local.INFO: Packet analysis {"connection_id":132466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5976"} 
[2026-07-13 08:43:28] local.INFO: Extracted packet for processing {"connection_id":132466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5976"} 
[2026-07-13 08:43:28] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":99306288,"longitude_deg":76.31104,"latitude_deg":9.9306288,"altitude":7,"angle":1,"satellites":39,"speed":19,"hex_longitude":"2d7c2400","hex_latitude":"05eb4b30","is_valid_coordinates":true} 
[2026-07-13 08:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681560064001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105652935601422336,"note":"Value kept but may cause issues"} 
[2026-07-13 08:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945908103982854144,"note":"Value kept but may cause issues"} 
[2026-07-13 08:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783912356000,"timestamp_ms":1783912356000,"timestamp_seconds":1783912356,"priority":1,"record_length":96,"hex_timestamp":"0000019f597658a0"} 
[2026-07-13 08:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:43: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-07-13 08:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-13 08:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:43:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681560064001,"66":13222,"10":206,"87":13824,"24":19,"16":105652935601422336,"45":8945908103982854144},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-13 08:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681560064001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:43:28] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-13 08:43:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105652935601422336,"km_value":105652935601422.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945908103982854144,"description":"Unknown IO ID 45"} 
[2026-07-13 08:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681560064001,"power":13222,"unknown_10":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8945908103982854144}} 
[2026-07-13 08:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":132466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479110,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:43:28] local.INFO: GPS data processed {"connection_id":132466,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:43:28] local.INFO: Acknowledgment sent {"connection_id":132466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:43:33] local.INFO: TCP Data received {"connection_id":132467,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132467,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:43:33] local.INFO: Processing buffer {"connection_id":132467,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:43:33] local.INFO: IMEI packet received {"connection_id":132467,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":132467,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:43:34] local.INFO: TCP Data received {"connection_id":132467,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5976fcb0012d0dcd4007067df80018005526..."} 
[2026-07-13 08:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5976fcb0012d0dcd4007067df80018005526..."} 
[2026-07-13 08:43:34] local.INFO: Processing buffer {"connection_id":132467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5976fcb0012d0dcd4007067df80018005526..."} 
[2026-07-13 08:43:34] local.INFO: Packet analysis {"connection_id":132467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5976"} 
[2026-07-13 08:43:34] local.INFO: Extracted packet for processing {"connection_id":132467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5976"} 
[2026-07-13 08:43:34] local.INFO: GPS Element Parsed {"raw_longitude":755879232,"raw_latitude":117865976,"longitude_deg":75.5879232,"latitude_deg":11.7865976,"altitude":24,"angle":85,"satellites":38,"speed":18,"hex_longitude":"2d0dcd40","hex_latitude":"07067df8","is_valid_coordinates":true} 
[2026-07-13 08:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681572608001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24159307004116992,"note":"Value kept but may cause issues"} 
[2026-07-13 08:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":991284529404526592,"note":"Value kept but may cause issues"} 
[2026-07-13 08:43: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-07-13 08:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783912398000,"timestamp_ms":1783912398000,"timestamp_seconds":1783912398,"priority":1,"record_length":96,"hex_timestamp":"0000019f5976fcb0"} 
[2026-07-13 08:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:43: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-07-13 08:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":132467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":132467,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":132467,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681572608001,"66":14439,"167":206,"94":11008,"24":18,"16":24159307004116992,"45":991284529404526592},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-07-13 08:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681572608001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:43:34] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-13 08:43:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 08:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24159307004116992,"km_value":24159307004116.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":991284529404526592,"description":"Unknown IO ID 45"} 
[2026-07-13 08:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681572608001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":991284529404526592}} 
[2026-07-13 08:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":132467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479111,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:43:34] local.INFO: GPS data processed {"connection_id":132467,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:43:34] local.INFO: Acknowledgment sent {"connection_id":132467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:43:35] local.INFO: TCP Data received {"connection_id":132468,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:43:35] local.INFO: Processing buffer {"connection_id":132468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:43:35] local.INFO: IMEI packet received {"connection_id":132468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":132468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:43:40] local.INFO: TCP Data received {"connection_id":132468,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:43:40] local.INFO: Processing buffer {"connection_id":132468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:43:40] local.INFO: IMEI packet received {"connection_id":132468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":132468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:43:41] local.INFO: TCP Data received {"connection_id":132468,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5975e370012d7f914005afd9380005011b25..."} 
[2026-07-13 08:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5975e370012d7f914005afd9380005011b25..."} 
[2026-07-13 08:43:41] local.INFO: Processing buffer {"connection_id":132468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5975e370012d7f914005afd9380005011b25..."} 
[2026-07-13 08:43:41] local.INFO: Packet analysis {"connection_id":132468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5975"} 
[2026-07-13 08:43:41] local.INFO: Extracted packet for processing {"connection_id":132468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5975"} 
[2026-07-13 08:43:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681478400001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783912326000,"timestamp_ms":1783912326000,"timestamp_seconds":1783912326,"priority":1,"record_length":96,"hex_timestamp":"0000019f5975e370"} 
[2026-07-13 08:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681478400001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681478400001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:43:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:43:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681478400001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":132468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:43:41] local.INFO: GPS data processed {"connection_id":132468,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:43:41] local.INFO: Acknowledgment sent {"connection_id":132468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:43:47] local.INFO: TCP Data received {"connection_id":130150,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:43:47] local.INFO: Processing buffer {"connection_id":130150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:43:47] local.INFO: IMEI packet received {"connection_id":130150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":130150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:43:48] local.INFO: TCP Data received {"connection_id":130150,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:43:48] local.INFO: Processing buffer {"connection_id":130150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:43:48] local.INFO: IMEI packet received {"connection_id":130150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":130150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:43:50] local.INFO: TCP Data received {"connection_id":130352,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:43:50] local.INFO: Processing buffer {"connection_id":130352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:43:50] local.INFO: IMEI packet received {"connection_id":130352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 08:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":130352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:43:53] local.INFO: TCP Data received {"connection_id":130150,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:43:53] local.INFO: Processing buffer {"connection_id":130150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:43:53] local.INFO: IMEI packet received {"connection_id":130150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":130150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:43:54] local.INFO: TCP Data received {"connection_id":130150,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f597677e0012d7c234005eb57000004015926..."} 
[2026-07-13 08:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597677e0012d7c234005eb57000004015926..."} 
[2026-07-13 08:43:54] local.INFO: Processing buffer {"connection_id":130150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597677e0012d7c234005eb57000004015926..."} 
[2026-07-13 08:43:54] local.INFO: Packet analysis {"connection_id":130150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5976"} 
[2026-07-13 08:43:54] local.INFO: Extracted packet for processing {"connection_id":130150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5976"} 
[2026-07-13 08:43:54] local.INFO: GPS Element Parsed {"raw_longitude":763110208,"raw_latitude":99309312,"longitude_deg":76.3110208,"latitude_deg":9.9309312,"altitude":4,"angle":345,"satellites":38,"speed":14,"hex_longitude":"2d7c2340","hex_latitude":"05eb5700","is_valid_coordinates":true} 
[2026-07-13 08:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681563136001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105653085925277696,"note":"Value kept but may cause issues"} 
[2026-07-13 08:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785287057408,"note":"Value kept but may cause issues"} 
[2026-07-13 08:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783912364000,"timestamp_ms":1783912364000,"timestamp_seconds":1783912364,"priority":1,"record_length":96,"hex_timestamp":"0000019f597677e0"} 
[2026-07-13 08:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:43: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-07-13 08:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-13 08: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-07-13 08:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681563136001,"66":13417,"10":206,"87":13824,"24":14,"16":105653085925277696,"45":8945274785287057408},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-13 08:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681563136001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:43:54] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-13 08:43:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105653085925277696,"km_value":105653085925277.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785287057408,"description":"Unknown IO ID 45"} 
[2026-07-13 08:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681563136001,"power":13417,"unknown_10":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8945274785287057408}} 
[2026-07-13 08:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":130150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:43:54] local.INFO: GPS data processed {"connection_id":130150,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:43:54] local.INFO: Acknowledgment sent {"connection_id":130150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:44:05] local.INFO: TCP Data received {"connection_id":132467,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59779cd8012d0de7c00706bf380021013626..."} 
[2026-07-13 08:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59779cd8012d0de7c00706bf380021013626..."} 
[2026-07-13 08:44:05] local.INFO: Processing buffer {"connection_id":132467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59779cd8012d0de7c00706bf380021013626..."} 
[2026-07-13 08:44:05] local.INFO: Packet analysis {"connection_id":132467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5977"} 
[2026-07-13 08:44:05] local.INFO: Extracted packet for processing {"connection_id":132467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5977"} 
[2026-07-13 08:44:05] local.INFO: GPS Element Parsed {"raw_longitude":755886016,"raw_latitude":117882680,"longitude_deg":75.5886016,"latitude_deg":11.788268,"altitude":33,"angle":310,"satellites":38,"speed":21,"hex_longitude":"2d0de7c0","hex_latitude":"0706bf38","is_valid_coordinates":true} 
[2026-07-13 08:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681583616001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24160376450973696,"note":"Value kept but may cause issues"} 
[2026-07-13 08:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1003106478430226432,"note":"Value kept but may cause issues"} 
[2026-07-13 08:44: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-07-13 08:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783912439000,"timestamp_ms":1783912439000,"timestamp_seconds":1783912439,"priority":1,"record_length":96,"hex_timestamp":"0000019f59779cd8"} 
[2026-07-13 08:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:44: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-07-13 08: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":92,"data_length":795,"current_offset":136} 
[2026-07-13 08:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132467,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132467,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681583616001,"66":14515,"219":206,"94":10240,"24":21,"16":24160376450973696,"45":1003106478430226432},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-13 08:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681583616001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:44:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-13 08:44:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 08:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24160376450973696,"km_value":24160376450973.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1003106478430226432,"description":"Unknown IO ID 45"} 
[2026-07-13 08:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681583616001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":1003106478430226432}} 
[2026-07-13 08:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":132467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479114,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:44:05] local.INFO: GPS data processed {"connection_id":132467,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:44:05] local.INFO: Acknowledgment sent {"connection_id":132467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:44:13] local.INFO: TCP Data received {"connection_id":132468,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5975e370012d7f914005afd9380005011b25..."} 
[2026-07-13 08:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5975e370012d7f914005afd9380005011b25..."} 
[2026-07-13 08:44:13] local.INFO: Processing buffer {"connection_id":132468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5975e370012d7f914005afd9380005011b25..."} 
[2026-07-13 08:44:13] local.INFO: Packet analysis {"connection_id":132468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5975"} 
[2026-07-13 08:44:13] local.INFO: Extracted packet for processing {"connection_id":132468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5975"} 
[2026-07-13 08:44:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681478400001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783912326000,"timestamp_ms":1783912326000,"timestamp_seconds":1783912326,"priority":1,"record_length":96,"hex_timestamp":"0000019f5975e370"} 
[2026-07-13 08:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681478400001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681478400001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:44:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:44:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681478400001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":132468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:44:13] local.INFO: GPS data processed {"connection_id":132468,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:44:13] local.INFO: Acknowledgment sent {"connection_id":132468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:44:26] local.INFO: TCP Data received {"connection_id":130150,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5977cbb8012d7be40005ec35200003002023..."} 
[2026-07-13 08:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5977cbb8012d7be40005ec35200003002023..."} 
[2026-07-13 08:44:26] local.INFO: Processing buffer {"connection_id":130150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5977cbb8012d7be40005ec35200003002023..."} 
[2026-07-13 08:44:26] local.INFO: Packet analysis {"connection_id":130150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5977"} 
[2026-07-13 08:44:26] local.INFO: Extracted packet for processing {"connection_id":130150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5977"} 
[2026-07-13 08:44:26] local.INFO: GPS Element Parsed {"raw_longitude":763094016,"raw_latitude":99366176,"longitude_deg":76.3094016,"latitude_deg":9.9366176,"altitude":3,"angle":32,"satellites":35,"speed":8,"hex_longitude":"2d7be400","hex_latitude":"05ec3520","is_valid_coordinates":true} 
[2026-07-13 08:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681587200001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105655976438267904,"note":"Value kept but may cause issues"} 
[2026-07-13 08:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927190018048675840,"note":"Value kept but may cause issues"} 
[2026-07-13 08:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783912451000,"timestamp_ms":1783912451000,"timestamp_seconds":1783912451,"priority":1,"record_length":96,"hex_timestamp":"0000019f5977cbb8"} 
[2026-07-13 08:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08: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-07-13 08: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":7,"data_length":795,"current_offset":136} 
[2026-07-13 08:44:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 08:44:26] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941333,"note":"Value kept but may cause issues"} 
[2026-07-13 08:44:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-07-13 08:44:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-07-13 08:44:26] local.WARNING: Large IO value detected {"io_id":244,"raw_value":2147871748,"note":"Value kept but may cause issues"} 
[2026-07-13 08:44:26] local.WARNING: Large IO value detected {"io_id":119,"raw_value":605735444747091973,"note":"Value kept but may cause issues"} 
[2026-07-13 08:44:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3957489664,"note":"Value kept but may cause issues"} 
[2026-07-13 08:44:26] local.WARNING: Large IO value detected {"io_id":254,"raw_value":57788175095846710,"note":"Value kept but may cause issues"} 
[2026-07-13 08:44:26] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-4535124820444765184,"note":"Value kept but may cause issues"} 
[2026-07-13 08:44:26] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,198,87,24,241,157,16,93,159,195,45,128,51,3,38,10,66,192,50,39,164,1,240,138,227,89,236,4,113,205,102,244,248,35,239,2,119,5,29,254,235],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-07-13 08:44:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216186130872664064,"timestamp_seconds":216186130872664.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 08:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":130150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":130150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":130150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681587200001,"66":13222,"198":206,"87":13824,"24":8,"16":105655976438267904,"45":8927190018048675840},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-13 08:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681587200001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:44:26] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-13 08:44:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105655976438267904,"km_value":105655976438267.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927190018048675840,"description":"Unknown IO ID 45"} 
[2026-07-13 08:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681587200001,"power":13222,"unknown_198":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8927190018048675840}} 
[2026-07-13 08:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":130150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:44:26] local.INFO: GPS data processed {"connection_id":130150,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:44:26] local.INFO: Acknowledgment sent {"connection_id":130150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:44:27] local.INFO: TCP Data received {"connection_id":130151,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130151,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:44:27] local.INFO: Processing buffer {"connection_id":130151,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:44:27] local.INFO: IMEI packet received {"connection_id":130151,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 08:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":130151,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:44:28] local.INFO: TCP Data received {"connection_id":130151,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130151,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:44:28] local.INFO: Processing buffer {"connection_id":130151,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:44:28] local.INFO: IMEI packet received {"connection_id":130151,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":130151,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:44:32] local.INFO: TCP Data received {"connection_id":130151,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130151,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:44:32] local.INFO: Processing buffer {"connection_id":130151,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:44:32] local.INFO: IMEI packet received {"connection_id":130151,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":130151,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:44:33] local.INFO: TCP Data received {"connection_id":130151,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5977a0c0012d0de6000706c0680021012926..."} 
[2026-07-13 08:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5977a0c0012d0de6000706c0680021012926..."} 
[2026-07-13 08:44:33] local.INFO: Processing buffer {"connection_id":130151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5977a0c0012d0de6000706c0680021012926..."} 
[2026-07-13 08:44:33] local.INFO: Packet analysis {"connection_id":130151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5977"} 
[2026-07-13 08:44:33] local.INFO: Extracted packet for processing {"connection_id":130151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5977"} 
[2026-07-13 08:44:33] local.INFO: GPS Element Parsed {"raw_longitude":755885568,"raw_latitude":117882984,"longitude_deg":75.5885568,"latitude_deg":11.7882984,"altitude":33,"angle":297,"satellites":38,"speed":23,"hex_longitude":"2d0de600","hex_latitude":"0706c068","is_valid_coordinates":true} 
[2026-07-13 08:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681584384001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24160406515744768,"note":"Value kept but may cause issues"} 
[2026-07-13 08:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1001980578523723776,"note":"Value kept but may cause issues"} 
[2026-07-13 08:44: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-07-13 08:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783912440000,"timestamp_ms":1783912440000,"timestamp_seconds":1783912440,"priority":1,"record_length":96,"hex_timestamp":"0000019f5977a0c0"} 
[2026-07-13 08:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:44: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-07-13 08:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-13 08:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":130151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":130151,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":130151,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681584384001,"66":14515,"219":206,"94":10240,"24":23,"16":24160406515744768,"45":1001980578523723776},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-13 08:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681584384001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:44:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-13 08:44:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 08:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24160406515744768,"km_value":24160406515744.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1001980578523723776,"description":"Unknown IO ID 45"} 
[2026-07-13 08:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681584384001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":1001980578523723776}} 
[2026-07-13 08:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":130151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479117,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:44:33] local.INFO: GPS data processed {"connection_id":130151,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:44:33] local.INFO: Acknowledgment sent {"connection_id":130151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:44:35] local.INFO: TCP Data received {"connection_id":131145,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:44:35] local.INFO: Processing buffer {"connection_id":131145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:44:35] local.INFO: IMEI packet received {"connection_id":131145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":131145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:44:40] local.INFO: TCP Data received {"connection_id":131145,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:44:40] local.INFO: Processing buffer {"connection_id":131145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:44:40] local.INFO: IMEI packet received {"connection_id":131145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":131145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:44:41] local.INFO: TCP Data received {"connection_id":131145,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5975e370012d7f914005afd9380005011b25..."} 
[2026-07-13 08:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5975e370012d7f914005afd9380005011b25..."} 
[2026-07-13 08:44:41] local.INFO: Processing buffer {"connection_id":131145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5975e370012d7f914005afd9380005011b25..."} 
[2026-07-13 08:44:41] local.INFO: Packet analysis {"connection_id":131145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5975"} 
[2026-07-13 08:44:41] local.INFO: Extracted packet for processing {"connection_id":131145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5975"} 
[2026-07-13 08:44:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681478400001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783912326000,"timestamp_ms":1783912326000,"timestamp_seconds":1783912326,"priority":1,"record_length":96,"hex_timestamp":"0000019f5975e370"} 
[2026-07-13 08:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681478400001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681478400001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:44:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:44:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681478400001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":131145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:44:41] local.INFO: GPS data processed {"connection_id":131145,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:44:41] local.INFO: Acknowledgment sent {"connection_id":131145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:44:43] local.INFO: TCP Data received {"connection_id":130153,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130153,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:44:43] local.INFO: Processing buffer {"connection_id":130153,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:44:43] local.INFO: IMEI packet received {"connection_id":130153,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":130153,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:44:48] local.INFO: TCP Data received {"connection_id":130153,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130153,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:44:48] local.INFO: Processing buffer {"connection_id":130153,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:44:48] local.INFO: IMEI packet received {"connection_id":130153,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":130153,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:44:49] local.INFO: TCP Data received {"connection_id":130153,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5977cfa0012d7be4c005ec35880003004023..."} 
[2026-07-13 08:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5977cfa0012d7be4c005ec35880003004023..."} 
[2026-07-13 08:44:49] local.INFO: Processing buffer {"connection_id":130153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5977cfa0012d7be4c005ec35880003004023..."} 
[2026-07-13 08:44:49] local.INFO: Packet analysis {"connection_id":130153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5977"} 
[2026-07-13 08:44:49] local.INFO: Extracted packet for processing {"connection_id":130153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5977"} 
[2026-07-13 08:44:49] local.INFO: GPS Element Parsed {"raw_longitude":763094208,"raw_latitude":99366280,"longitude_deg":76.3094208,"latitude_deg":9.936628,"altitude":3,"angle":64,"satellites":35,"speed":8,"hex_longitude":"2d7be4c0","hex_latitude":"05ec3588","is_valid_coordinates":true} 
[2026-07-13 08:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681587456001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105655985028202496,"note":"Value kept but may cause issues"} 
[2026-07-13 08:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927260386792906752,"note":"Value kept but may cause issues"} 
[2026-07-13 08:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783912452000,"timestamp_ms":1783912452000,"timestamp_seconds":1783912452,"priority":1,"record_length":96,"hex_timestamp":"0000019f5977cfa0"} 
[2026-07-13 08:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-13 08:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681587456001,"66":13222,"198":206,"87":13824,"24":8,"16":105655985028202496,"45":8927260386792906752},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-13 08:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681587456001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:44:49] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-13 08:44:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105655985028202496,"km_value":105655985028202.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927260386792906752,"description":"Unknown IO ID 45"} 
[2026-07-13 08:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681587456001,"power":13222,"unknown_198":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8927260386792906752}} 
[2026-07-13 08:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":130153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:44:49] local.INFO: GPS data processed {"connection_id":130153,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:44:49] local.INFO: Acknowledgment sent {"connection_id":130153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:45:04] local.INFO: TCP Data received {"connection_id":130151,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5977a890012d0de1400706c2080022011926..."} 
[2026-07-13 08:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5977a890012d0de1400706c2080022011926..."} 
[2026-07-13 08:45:04] local.INFO: Processing buffer {"connection_id":130151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5977a890012d0de1400706c2080022011926..."} 
[2026-07-13 08:45:04] local.INFO: Packet analysis {"connection_id":130151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5977"} 
[2026-07-13 08:45:04] local.INFO: Extracted packet for processing {"connection_id":130151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5977"} 
[2026-07-13 08:45:04] local.INFO: GPS Element Parsed {"raw_longitude":755884352,"raw_latitude":117883400,"longitude_deg":75.5884352,"latitude_deg":11.78834,"altitude":34,"angle":281,"satellites":38,"speed":26,"hex_longitude":"2d0de140","hex_latitude":"0706c208","is_valid_coordinates":true} 
[2026-07-13 08:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681584640001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24160466645286912,"note":"Value kept but may cause issues"} 
[2026-07-13 08:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1001487997314557952,"note":"Value kept but may cause issues"} 
[2026-07-13 08:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783912442000,"timestamp_ms":1783912442000,"timestamp_seconds":1783912442,"priority":1,"record_length":96,"hex_timestamp":"0000019f5977a890"} 
[2026-07-13 08:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08: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-07-13 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-13 08:45: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-07-13 08:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130151,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130151,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681584640001,"66":14439,"219":206,"94":10240,"24":26,"16":24160466645286912,"45":1001487997314557952},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-13 08:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681584640001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:45:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-13 08:45:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 08:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24160466645286912,"km_value":24160466645286.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1001487997314557952,"description":"Unknown IO ID 45"} 
[2026-07-13 08:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681584640001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":1001487997314557952}} 
[2026-07-13 08:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":130151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479120,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:45:04] local.INFO: GPS data processed {"connection_id":130151,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:45:04] local.INFO: Acknowledgment sent {"connection_id":130151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:45:12] local.INFO: TCP Data received {"connection_id":131145,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5975e370012d7f914005afd9380005011b25..."} 
[2026-07-13 08:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5975e370012d7f914005afd9380005011b25..."} 
[2026-07-13 08:45:12] local.INFO: Processing buffer {"connection_id":131145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5975e370012d7f914005afd9380005011b25..."} 
[2026-07-13 08:45:12] local.INFO: Packet analysis {"connection_id":131145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5975"} 
[2026-07-13 08:45:12] local.INFO: Extracted packet for processing {"connection_id":131145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5975"} 
[2026-07-13 08:45:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681478400001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783912326000,"timestamp_ms":1783912326000,"timestamp_seconds":1783912326,"priority":1,"record_length":96,"hex_timestamp":"0000019f5975e370"} 
[2026-07-13 08:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681478400001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681478400001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:45:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:45:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681478400001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":131145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:45:12] local.INFO: GPS data processed {"connection_id":131145,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:45:12] local.INFO: Acknowledgment sent {"connection_id":131145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:45:20] local.INFO: TCP Data received {"connection_id":130153,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5977d770012d7be60005ec36180003004f23..."} 
[2026-07-13 08:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5977d770012d7be60005ec36180003004f23..."} 
[2026-07-13 08:45:20] local.INFO: Processing buffer {"connection_id":130153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5977d770012d7be60005ec36180003004f23..."} 
[2026-07-13 08:45:20] local.INFO: Packet analysis {"connection_id":130153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5977"} 
[2026-07-13 08:45:20] local.INFO: Extracted packet for processing {"connection_id":130153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5977"} 
[2026-07-13 08:45:20] local.INFO: GPS Element Parsed {"raw_longitude":763094528,"raw_latitude":99366424,"longitude_deg":76.3094528,"latitude_deg":9.9366424,"altitude":3,"angle":79,"satellites":35,"speed":8,"hex_longitude":"2d7be600","hex_latitude":"05ec3618","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681587712001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105656006503038976,"note":"Value kept but may cause issues"} 
[2026-07-13 08:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927471493025466368,"note":"Value kept but may cause issues"} 
[2026-07-13 08:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783912454000,"timestamp_ms":1783912454000,"timestamp_seconds":1783912454,"priority":1,"record_length":96,"hex_timestamp":"0000019f5977d770"} 
[2026-07-13 08:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08: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-07-13 08: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-13 08:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08: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-07-13 08:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681587712001,"66":13059,"198":206,"87":13824,"24":8,"16":105656006503038976,"45":8927471493025466368},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-13 08:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681587712001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:45:20] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-13 08:45:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105656006503038976,"km_value":105656006503038.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927471493025466368,"description":"Unknown IO ID 45"} 
[2026-07-13 08:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681587712001,"power":13059,"unknown_198":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8927471493025466368}} 
[2026-07-13 08:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":130153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:45:20] local.INFO: GPS data processed {"connection_id":130153,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:45:20] local.INFO: Acknowledgment sent {"connection_id":130153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:45:25] local.INFO: TCP Data received {"connection_id":131146,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131146,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:45:25] local.INFO: Processing buffer {"connection_id":131146,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:45:25] local.INFO: IMEI packet received {"connection_id":131146,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 08:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":131146,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:45:28] local.INFO: TCP Data received {"connection_id":131146,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131146,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:45:28] local.INFO: Processing buffer {"connection_id":131146,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:45:28] local.INFO: IMEI packet received {"connection_id":131146,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":131146,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:45:28] local.INFO: TCP Data received {"connection_id":131146,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131146,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:45:28] local.INFO: Processing buffer {"connection_id":131146,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:45:28] local.INFO: IMEI packet received {"connection_id":131146,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":131146,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:45:32] local.INFO: TCP Data received {"connection_id":131146,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131146,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:45:32] local.INFO: Processing buffer {"connection_id":131146,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:45:32] local.INFO: IMEI packet received {"connection_id":131146,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":131146,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:45:33] local.INFO: TCP Data received {"connection_id":131146,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5978b618012d0df440070703e8001b004a26..."} 
[2026-07-13 08:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5978b618012d0df440070703e8001b004a26..."} 
[2026-07-13 08:45:33] local.INFO: Processing buffer {"connection_id":131146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5978b618012d0df440070703e8001b004a26..."} 
[2026-07-13 08:45:33] local.INFO: Packet analysis {"connection_id":131146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5978"} 
[2026-07-13 08:45:33] local.INFO: Extracted packet for processing {"connection_id":131146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5978"} 
[2026-07-13 08:45:33] local.INFO: GPS Element Parsed {"raw_longitude":755889216,"raw_latitude":117900264,"longitude_deg":75.5889216,"latitude_deg":11.7900264,"altitude":27,"angle":74,"satellites":38,"speed":26,"hex_longitude":"2d0df440","hex_latitude":"070703e8","is_valid_coordinates":true} 
[2026-07-13 08:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681598464001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24161823854952448,"note":"Value kept but may cause issues"} 
[2026-07-13 08:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995647391551684608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:45: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-07-13 08:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783912511000,"timestamp_ms":1783912511000,"timestamp_seconds":1783912511,"priority":1,"record_length":96,"hex_timestamp":"0000019f5978b618"} 
[2026-07-13 08:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:45: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-07-13 08:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-13 08:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":131146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":131146,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":131146,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681598464001,"66":14428,"219":206,"94":10240,"24":26,"16":24161823854952448,"45":995647391551684608},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-13 08:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681598464001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:45:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-13 08:45:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 08:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24161823854952448,"km_value":24161823854952.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":995647391551684608,"description":"Unknown IO ID 45"} 
[2026-07-13 08:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681598464001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":995647391551684608}} 
[2026-07-13 08:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":131146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479123,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:45:33] local.INFO: GPS data processed {"connection_id":131146,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:45:33] local.INFO: Acknowledgment sent {"connection_id":131146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:45:35] local.INFO: TCP Data received {"connection_id":132469,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:45:35] local.INFO: Processing buffer {"connection_id":132469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:45:35] local.INFO: IMEI packet received {"connection_id":132469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":132469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:45:40] local.INFO: TCP Data received {"connection_id":132469,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:45:40] local.INFO: Processing buffer {"connection_id":132469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:45:40] local.INFO: IMEI packet received {"connection_id":132469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":132469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:45:42] local.INFO: TCP Data received {"connection_id":132469,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5975e370012d7f914005afd9380005011b25..."} 
[2026-07-13 08:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5975e370012d7f914005afd9380005011b25..."} 
[2026-07-13 08:45:42] local.INFO: Processing buffer {"connection_id":132469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5975e370012d7f914005afd9380005011b25..."} 
[2026-07-13 08:45:42] local.INFO: Packet analysis {"connection_id":132469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5975"} 
[2026-07-13 08:45:42] local.INFO: Extracted packet for processing {"connection_id":132469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5975"} 
[2026-07-13 08:45:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681478400001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783912326000,"timestamp_ms":1783912326000,"timestamp_seconds":1783912326,"priority":1,"record_length":96,"hex_timestamp":"0000019f5975e370"} 
[2026-07-13 08:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681478400001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681478400001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:45:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:45:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681478400001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":132469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:45:42] local.INFO: GPS data processed {"connection_id":132469,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:45:42] local.INFO: Acknowledgment sent {"connection_id":132469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:45:43] local.INFO: TCP Data received {"connection_id":130354,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:45:43] local.INFO: Processing buffer {"connection_id":130354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:45:43] local.INFO: IMEI packet received {"connection_id":130354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":130354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:45:45] local.INFO: TCP Data received {"connection_id":130354,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:45:45] local.INFO: Processing buffer {"connection_id":130354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:45:45] local.INFO: IMEI packet received {"connection_id":130354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":130354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:45:46] local.INFO: TCP Data received {"connection_id":130354,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59782590012d7bea8005ec37880003004c22..."} 
[2026-07-13 08:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59782590012d7bea8005ec37880003004c22..."} 
[2026-07-13 08:45:46] local.INFO: Processing buffer {"connection_id":130354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59782590012d7bea8005ec37880003004c22..."} 
[2026-07-13 08:45:46] local.INFO: Packet analysis {"connection_id":130354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5978"} 
[2026-07-13 08:45:46] local.INFO: Extracted packet for processing {"connection_id":130354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5978"} 
[2026-07-13 08:45:46] local.INFO: GPS Element Parsed {"raw_longitude":763095680,"raw_latitude":99366792,"longitude_deg":76.309568,"latitude_deg":9.9366792,"altitude":3,"angle":76,"satellites":34,"speed":0,"hex_longitude":"2d7bea80","hex_latitude":"05ec3788","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681588224001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105656062337613824,"note":"Value kept but may cause issues"} 
[2026-07-13 08:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927823336746391552,"note":"Value kept but may cause issues"} 
[2026-07-13 08:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783912474000,"timestamp_ms":1783912474000,"timestamp_seconds":1783912474,"priority":1,"record_length":96,"hex_timestamp":"0000019f59782590"} 
[2026-07-13 08:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:45: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-07-13 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-13 08:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303169572752725,"note":"Value kept but may cause issues"} 
[2026-07-13 08:45:46] local.WARNING: Large IO value detected {"io_id":198,"raw_value":58079734643818514,"note":"Value kept but may cause issues"} 
[2026-07-13 08:45:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 08:45:46] local.WARNING: Large IO value detected {"io_id":93,"raw_value":2315255808,"note":"Value kept but may cause issues"} 
[2026-07-13 08:45:46] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":47105,"corrected_to":0} 
[2026-07-13 08:45:46] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3221613618,"note":"Value kept but may cause issues"} 
[2026-07-13 08:45:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-07-13 08:45:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3962206208,"note":"Value kept but may cause issues"} 
[2026-07-13 08:45:46] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,198,87,24,241,157,16,93,159,207,45,192,53,3,35,10,66,203,199,1,240,7,227,89,236,4,113,205,9,104,39,239,52,2,119,5,18],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":203,"original":47105,"validated":0},{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-07-13 08:45:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216259793856757760,"timestamp_seconds":216259793856757.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 08:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681588224001,"66":13254,"198":206,"87":13824,"24":0,"16":105656062337613824,"45":8927823336746391552},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-13 08:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681588224001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:45:46] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-13 08:45:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105656062337613824,"km_value":105656062337613.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927823336746391552,"description":"Unknown IO ID 45"} 
[2026-07-13 08:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681588224001,"power":13254,"unknown_198":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8927823336746391552}} 
[2026-07-13 08:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":130354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:45:46] local.INFO: GPS data processed {"connection_id":130354,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:45:46] local.INFO: Acknowledgment sent {"connection_id":130354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:46:04] local.INFO: TCP Data received {"connection_id":131146,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5978c5b8012d0dfd8007070620001b005926..."} 
[2026-07-13 08:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5978c5b8012d0dfd8007070620001b005926..."} 
[2026-07-13 08:46:04] local.INFO: Processing buffer {"connection_id":131146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5978c5b8012d0dfd8007070620001b005926..."} 
[2026-07-13 08:46:04] local.INFO: Packet analysis {"connection_id":131146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5978"} 
[2026-07-13 08:46:04] local.INFO: Extracted packet for processing {"connection_id":131146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5978"} 
[2026-07-13 08:46:04] local.INFO: GPS Element Parsed {"raw_longitude":755891584,"raw_latitude":117900832,"longitude_deg":75.5891584,"latitude_deg":11.7900832,"altitude":27,"angle":89,"satellites":38,"speed":21,"hex_longitude":"2d0dfd80","hex_latitude":"07070620","is_valid_coordinates":true} 
[2026-07-13 08:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681602816001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24161939819069440,"note":"Value kept but may cause issues"} 
[2026-07-13 08:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1005499015737108480,"note":"Value kept but may cause issues"} 
[2026-07-13 08:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783912515000,"timestamp_ms":1783912515000,"timestamp_seconds":1783912515,"priority":1,"record_length":96,"hex_timestamp":"0000019f5978c5b8"} 
[2026-07-13 08:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 08:46: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-07-13 08:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":131146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":131146,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":131146,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681602816001,"66":14450,"219":206,"94":10240,"24":21,"16":24161939819069440,"45":1005499015737108480},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-13 08:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681602816001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:46:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-13 08:46:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 08:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24161939819069440,"km_value":24161939819069.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1005499015737108480,"description":"Unknown IO ID 45"} 
[2026-07-13 08:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681602816001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":1005499015737108480}} 
[2026-07-13 08:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":131146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479126,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:46:04] local.INFO: GPS data processed {"connection_id":131146,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:46:04] local.INFO: Acknowledgment sent {"connection_id":131146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:46:13] local.INFO: TCP Data received {"connection_id":132469,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5975e370012d7f914005afd9380005011b25..."} 
[2026-07-13 08:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5975e370012d7f914005afd9380005011b25..."} 
[2026-07-13 08:46:13] local.INFO: Processing buffer {"connection_id":132469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5975e370012d7f914005afd9380005011b25..."} 
[2026-07-13 08:46:13] local.INFO: Packet analysis {"connection_id":132469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5975"} 
[2026-07-13 08:46:13] local.INFO: Extracted packet for processing {"connection_id":132469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5975"} 
[2026-07-13 08:46:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681478400001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783912326000,"timestamp_ms":1783912326000,"timestamp_seconds":1783912326,"priority":1,"record_length":96,"hex_timestamp":"0000019f5975e370"} 
[2026-07-13 08:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681478400001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681478400001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:46:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:46:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681478400001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":132469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:46:13] local.INFO: GPS data processed {"connection_id":132469,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:46:13] local.INFO: Acknowledgment sent {"connection_id":132469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:46:18] local.INFO: TCP Data received {"connection_id":130354,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59787798012d7bea8005ec37880003004c26..."} 
[2026-07-13 08:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59787798012d7bea8005ec37880003004c26..."} 
[2026-07-13 08:46:18] local.INFO: Processing buffer {"connection_id":130354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59787798012d7bea8005ec37880003004c26..."} 
[2026-07-13 08:46:18] local.INFO: Packet analysis {"connection_id":130354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5978"} 
[2026-07-13 08:46:18] local.INFO: Extracted packet for processing {"connection_id":130354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5978"} 
[2026-07-13 08:46:18] local.INFO: GPS Element Parsed {"raw_longitude":763095680,"raw_latitude":99366792,"longitude_deg":76.309568,"latitude_deg":9.9366792,"altitude":3,"angle":76,"satellites":38,"speed":0,"hex_longitude":"2d7bea80","hex_latitude":"05ec3788","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681593344001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105656062337613824,"note":"Value kept but may cause issues"} 
[2026-07-13 08:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929089974141683712,"note":"Value kept but may cause issues"} 
[2026-07-13 08:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783912495000,"timestamp_ms":1783912495000,"timestamp_seconds":1783912495,"priority":1,"record_length":96,"hex_timestamp":"0000019f59787798"} 
[2026-07-13 08:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-13 08:46: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-07-13 08: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-07-13 08:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681593344001,"66":12939,"196":206,"87":13824,"24":0,"16":105656062337613824,"45":8929089974141683712},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-07-13 08:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681593344001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:46:18] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-13 08:46:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105656062337613824,"km_value":105656062337613.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929089974141683712,"description":"Unknown IO ID 45"} 
[2026-07-13 08:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681593344001,"power":12939,"unknown_196":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8929089974141683712}} 
[2026-07-13 08:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":130354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479128,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:46:18] local.INFO: GPS data processed {"connection_id":130354,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:46:18] local.INFO: Acknowledgment sent {"connection_id":130354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:46:28] local.INFO: TCP Data received {"connection_id":130355,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130355,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:46:28] local.INFO: Processing buffer {"connection_id":130355,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:46:28] local.INFO: IMEI packet received {"connection_id":130355,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 08:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":130355,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:46:28] local.INFO: TCP Data received {"connection_id":130355,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130355,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:46:28] local.INFO: Processing buffer {"connection_id":130355,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:46:28] local.INFO: IMEI packet received {"connection_id":130355,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":130355,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:46:31] local.INFO: TCP Data received {"connection_id":130355,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130355,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:46:31] local.INFO: Processing buffer {"connection_id":130355,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:46:31] local.INFO: IMEI packet received {"connection_id":130355,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":130355,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:46:32] local.INFO: TCP Data received {"connection_id":130355,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5979b018012d0e3d000706ead8002500c226..."} 
[2026-07-13 08:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5979b018012d0e3d000706ead8002500c226..."} 
[2026-07-13 08:46:32] local.INFO: Processing buffer {"connection_id":130355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5979b018012d0e3d000706ead8002500c226..."} 
[2026-07-13 08:46:32] local.INFO: Packet analysis {"connection_id":130355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5979"} 
[2026-07-13 08:46:32] local.INFO: Extracted packet for processing {"connection_id":130355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5979"} 
[2026-07-13 08:46:32] local.INFO: GPS Element Parsed {"raw_longitude":755907840,"raw_latitude":117893848,"longitude_deg":75.590784,"latitude_deg":11.7893848,"altitude":37,"angle":194,"satellites":38,"speed":7,"hex_longitude":"2d0e3d00","hex_latitude":"0706ead8","is_valid_coordinates":true} 
[2026-07-13 08:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681614336001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24163013560893440,"note":"Value kept but may cause issues"} 
[2026-07-13 08:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025765214059980800,"note":"Value kept but may cause issues"} 
[2026-07-13 08:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783912575000,"timestamp_ms":1783912575000,"timestamp_seconds":1783912575,"priority":1,"record_length":96,"hex_timestamp":"0000019f5979b018"} 
[2026-07-13 08:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":130355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":130355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":130355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681614336001,"66":14374,"219":206,"94":10240,"24":7,"16":24163013560893440,"45":1025765214059980800},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-13 08:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681614336001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:46:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-13 08:46:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 08:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24163013560893440,"km_value":24163013560893.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025765214059980800,"description":"Unknown IO ID 45"} 
[2026-07-13 08:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681614336001,"power":14374,"unknown_219":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":1025765214059980800}} 
[2026-07-13 08:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":130355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479129,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:46:32] local.INFO: GPS data processed {"connection_id":130355,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:46:32] local.INFO: Acknowledgment sent {"connection_id":130355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:46:35] local.INFO: TCP Data received {"connection_id":130154,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:46:35] local.INFO: Processing buffer {"connection_id":130154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:46:35] local.INFO: IMEI packet received {"connection_id":130154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":130154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:46:40] local.INFO: TCP Data received {"connection_id":130154,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:46:40] local.INFO: Processing buffer {"connection_id":130154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:46:40] local.INFO: IMEI packet received {"connection_id":130154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":130154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:46:41] local.INFO: TCP Data received {"connection_id":130154,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5975e370012d7f914005afd9380005011b25..."} 
[2026-07-13 08:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5975e370012d7f914005afd9380005011b25..."} 
[2026-07-13 08:46:41] local.INFO: Processing buffer {"connection_id":130154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5975e370012d7f914005afd9380005011b25..."} 
[2026-07-13 08:46:41] local.INFO: Packet analysis {"connection_id":130154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5975"} 
[2026-07-13 08:46:41] local.INFO: Extracted packet for processing {"connection_id":130154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5975"} 
[2026-07-13 08:46:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681478400001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783912326000,"timestamp_ms":1783912326000,"timestamp_seconds":1783912326,"priority":1,"record_length":96,"hex_timestamp":"0000019f5975e370"} 
[2026-07-13 08:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681478400001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681478400001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:46:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:46:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681478400001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":130154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:46:41] local.INFO: GPS data processed {"connection_id":130154,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:46:41] local.INFO: Acknowledgment sent {"connection_id":130154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:46:43] local.INFO: TCP Data received {"connection_id":131148,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:46:43] local.INFO: Processing buffer {"connection_id":131148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:46:43] local.INFO: IMEI packet received {"connection_id":131148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":131148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:46:48] local.INFO: TCP Data received {"connection_id":131148,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:46:48] local.INFO: Processing buffer {"connection_id":131148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:46:48] local.INFO: IMEI packet received {"connection_id":131148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":131148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:46:49] local.INFO: TCP Data received {"connection_id":131148,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5978c9a0012d7bec0005ec37c00003006028..."} 
[2026-07-13 08:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5978c9a0012d7bec0005ec37c00003006028..."} 
[2026-07-13 08:46:49] local.INFO: Processing buffer {"connection_id":131148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5978c9a0012d7bec0005ec37c00003006028..."} 
[2026-07-13 08:46:49] local.INFO: Packet analysis {"connection_id":131148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5978"} 
[2026-07-13 08:46:49] local.INFO: Extracted packet for processing {"connection_id":131148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5978"} 
[2026-07-13 08:46:49] local.INFO: GPS Element Parsed {"raw_longitude":763096064,"raw_latitude":99366848,"longitude_deg":76.3096064,"latitude_deg":9.9366848,"altitude":3,"angle":96,"satellites":40,"speed":2,"hex_longitude":"2d7bec00","hex_latitude":"05ec37c0","is_valid_coordinates":true} 
[2026-07-13 08:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681598720001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105656079517483008,"note":"Value kept but may cause issues"} 
[2026-07-13 08:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929089974141683712,"note":"Value kept but may cause issues"} 
[2026-07-13 08:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783912516000,"timestamp_ms":1783912516000,"timestamp_seconds":1783912516,"priority":1,"record_length":96,"hex_timestamp":"0000019f5978c9a0"} 
[2026-07-13 08:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08: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-07-13 08:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-13 08:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681598720001,"66":13243,"196":206,"87":13824,"24":2,"16":105656079517483008,"45":8929089974141683712},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-07-13 08:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681598720001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:46:49] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-13 08:46:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105656079517483008,"km_value":105656079517483.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929089974141683712,"description":"Unknown IO ID 45"} 
[2026-07-13 08:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681598720001,"power":13243,"unknown_196":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8929089974141683712}} 
[2026-07-13 08:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":131148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479131,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:46:49] local.INFO: GPS data processed {"connection_id":131148,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:46:49] local.INFO: Acknowledgment sent {"connection_id":131148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:47:03] local.INFO: TCP Data received {"connection_id":130355,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5979bbd0012d0e3d000706e850002500b724..."} 
[2026-07-13 08:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5979bbd0012d0e3d000706e850002500b724..."} 
[2026-07-13 08:47:03] local.INFO: Processing buffer {"connection_id":130355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5979bbd0012d0e3d000706e850002500b724..."} 
[2026-07-13 08:47:03] local.INFO: Packet analysis {"connection_id":130355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5979"} 
[2026-07-13 08:47:03] local.INFO: Extracted packet for processing {"connection_id":130355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5979"} 
[2026-07-13 08:47:03] local.INFO: GPS Element Parsed {"raw_longitude":755907840,"raw_latitude":117893200,"longitude_deg":75.590784,"latitude_deg":11.78932,"altitude":37,"angle":183,"satellites":36,"speed":7,"hex_longitude":"2d0e3d00","hex_latitude":"0706e850","is_valid_coordinates":true} 
[2026-07-13 08:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681619200001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24163047920631808,"note":"Value kept but may cause issues"} 
[2026-07-13 08:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025976320291166208,"note":"Value kept but may cause issues"} 
[2026-07-13 08:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783912578000,"timestamp_ms":1783912578000,"timestamp_seconds":1783912578,"priority":1,"record_length":96,"hex_timestamp":"0000019f5979bbd0"} 
[2026-07-13 08:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08: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-07-13 08: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-13 08:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":130355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":130355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":130355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681619200001,"66":14439,"219":206,"94":10240,"24":7,"16":24163047920631808,"45":1025976320291166208},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-13 08:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681619200001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:47:03] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-13 08:47:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 08:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24163047920631808,"km_value":24163047920631.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025976320291166208,"description":"Unknown IO ID 45"} 
[2026-07-13 08:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681619200001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":1025976320291166208}} 
[2026-07-13 08:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":130355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479132,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:47:03] local.INFO: GPS data processed {"connection_id":130355,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:47:03] local.INFO: Acknowledgment sent {"connection_id":130355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:47:13] local.INFO: TCP Data received {"connection_id":130154,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5975e370012d7f914005afd9380005011b25..."} 
[2026-07-13 08:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5975e370012d7f914005afd9380005011b25..."} 
[2026-07-13 08:47:13] local.INFO: Processing buffer {"connection_id":130154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5975e370012d7f914005afd9380005011b25..."} 
[2026-07-13 08:47:13] local.INFO: Packet analysis {"connection_id":130154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5975"} 
[2026-07-13 08:47:13] local.INFO: Extracted packet for processing {"connection_id":130154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5975"} 
[2026-07-13 08:47:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681478400001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783912326000,"timestamp_ms":1783912326000,"timestamp_seconds":1783912326,"priority":1,"record_length":96,"hex_timestamp":"0000019f5975e370"} 
[2026-07-13 08:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681478400001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681478400001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:47:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:47:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681478400001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":130154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:47:13] local.INFO: GPS data processed {"connection_id":130154,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:47:13] local.INFO: Acknowledgment sent {"connection_id":130154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:47:20] local.INFO: TCP Data received {"connection_id":131148,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f597a8308012d7d1cc005ec3e30000900e92c..."} 
[2026-07-13 08:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597a8308012d7d1cc005ec3e30000900e92c..."} 
[2026-07-13 08:47:20] local.INFO: Processing buffer {"connection_id":131148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597a8308012d7d1cc005ec3e30000900e92c..."} 
[2026-07-13 08:47:20] local.INFO: Packet analysis {"connection_id":131148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:47:20] local.INFO: Extracted packet for processing {"connection_id":131148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:47:20] local.INFO: GPS Element Parsed {"raw_longitude":763174080,"raw_latitude":99368496,"longitude_deg":76.317408,"latitude_deg":9.9368496,"altitude":9,"angle":233,"satellites":44,"speed":3,"hex_longitude":"2d7d1cc0","hex_latitude":"05ec3e30","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681632256001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105659880563539968,"note":"Value kept but may cause issues"} 
[2026-07-13 08:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015502791992340480,"note":"Value kept but may cause issues"} 
[2026-07-13 08:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783912629000,"timestamp_ms":1783912629000,"timestamp_seconds":1783912629,"priority":1,"record_length":96,"hex_timestamp":"0000019f597a8308"} 
[2026-07-13 08:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-13 08:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08: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-07-13 08:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":131148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":131148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":131148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681632256001,"66":13189,"110":206,"87":13824,"24":3,"16":105659880563539968,"45":9015502791992340480},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-13 08:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681632256001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:47:20] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-13 08:47:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105659880563539968,"km_value":105659880563539.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015502791992340480,"description":"Unknown IO ID 45"} 
[2026-07-13 08:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681632256001,"power":13189,"unknown_110":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9015502791992340480}} 
[2026-07-13 08:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":131148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479134,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:47:20] local.INFO: GPS data processed {"connection_id":131148,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:47:20] local.INFO: Acknowledgment sent {"connection_id":131148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:47:28] local.INFO: TCP Data received {"connection_id":130155,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130155,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:47:28] local.INFO: Processing buffer {"connection_id":130155,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:47:28] local.INFO: IMEI packet received {"connection_id":130155,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 08:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":130155,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:47:32] local.INFO: TCP Data received {"connection_id":130155,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130155,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:47:32] local.INFO: Processing buffer {"connection_id":130155,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:47:32] local.INFO: IMEI packet received {"connection_id":130155,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":130155,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:47:32] local.INFO: TCP Data received {"connection_id":130155,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f597aa630012d0e32c007068798002400c426..."} 
[2026-07-13 08:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597aa630012d0e32c007068798002400c426..."} 
[2026-07-13 08:47:32] local.INFO: Processing buffer {"connection_id":130155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597aa630012d0e32c007068798002400c426..."} 
[2026-07-13 08:47:32] local.INFO: Packet analysis {"connection_id":130155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:47:32] local.INFO: Extracted packet for processing {"connection_id":130155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:47:32] local.INFO: GPS Element Parsed {"raw_longitude":755905216,"raw_latitude":117868440,"longitude_deg":75.5905216,"latitude_deg":11.786844,"altitude":36,"angle":196,"satellites":38,"speed":14,"hex_longitude":"2d0e32c0","hex_latitude":"07068798","is_valid_coordinates":true} 
[2026-07-13 08:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681630976001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24164271986311168,"note":"Value kept but may cause issues"} 
[2026-07-13 08:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023865257961265152,"note":"Value kept but may cause issues"} 
[2026-07-13 08:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783912638000,"timestamp_ms":1783912638000,"timestamp_seconds":1783912638,"priority":1,"record_length":96,"hex_timestamp":"0000019f597aa630"} 
[2026-07-13 08:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08: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-07-13 08: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":201,"data_length":795,"current_offset":136} 
[2026-07-13 08:47: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-07-13 08:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":130155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":130155,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":130155,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681630976001,"66":14537,"219":206,"94":10240,"24":14,"16":24164271986311168,"45":1023865257961265152},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-13 08:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681630976001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:47:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-13 08:47:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 08:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24164271986311168,"km_value":24164271986311.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023865257961265152,"description":"Unknown IO ID 45"} 
[2026-07-13 08:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681630976001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":1023865257961265152}} 
[2026-07-13 08:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":130155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479135,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:47:32] local.INFO: GPS data processed {"connection_id":130155,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:47:32] local.INFO: Acknowledgment sent {"connection_id":130155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:47:35] local.INFO: TCP Data received {"connection_id":131149,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:47:35] local.INFO: Processing buffer {"connection_id":131149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:47:35] local.INFO: IMEI packet received {"connection_id":131149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":131149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:47:40] local.INFO: TCP Data received {"connection_id":131149,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:47:40] local.INFO: Processing buffer {"connection_id":131149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:47:40] local.INFO: IMEI packet received {"connection_id":131149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":131149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:47:41] local.INFO: TCP Data received {"connection_id":131149,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5975e370012d7f914005afd9380005011b25..."} 
[2026-07-13 08:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5975e370012d7f914005afd9380005011b25..."} 
[2026-07-13 08:47:41] local.INFO: Processing buffer {"connection_id":131149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5975e370012d7f914005afd9380005011b25..."} 
[2026-07-13 08:47:41] local.INFO: Packet analysis {"connection_id":131149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5975"} 
[2026-07-13 08:47:41] local.INFO: Extracted packet for processing {"connection_id":131149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5975"} 
[2026-07-13 08:47:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681478400001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783912326000,"timestamp_ms":1783912326000,"timestamp_seconds":1783912326,"priority":1,"record_length":96,"hex_timestamp":"0000019f5975e370"} 
[2026-07-13 08:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681478400001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681478400001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:47:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:47:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681478400001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":131149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:47:41] local.INFO: GPS data processed {"connection_id":131149,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:47:41] local.INFO: Acknowledgment sent {"connection_id":131149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:47:43] local.INFO: TCP Data received {"connection_id":131150,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:47:43] local.INFO: Processing buffer {"connection_id":131150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:47:43] local.INFO: IMEI packet received {"connection_id":131150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":131150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:47:44] local.INFO: TCP Data received {"connection_id":131150,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:47:44] local.INFO: Processing buffer {"connection_id":131150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:47:44] local.INFO: IMEI packet received {"connection_id":131150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":131150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:47:48] local.INFO: TCP Data received {"connection_id":131150,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:47:48] local.INFO: Processing buffer {"connection_id":131150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:47:48] local.INFO: IMEI packet received {"connection_id":131150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":131150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:47:49] local.INFO: TCP Data received {"connection_id":131150,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f597a8ec0012d7d1b4005ec3d88000900f62c..."} 
[2026-07-13 08:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597a8ec0012d7d1b4005ec3d88000900f62c..."} 
[2026-07-13 08:47:49] local.INFO: Processing buffer {"connection_id":131150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597a8ec0012d7d1b4005ec3d88000900f62c..."} 
[2026-07-13 08:47:49] local.INFO: Packet analysis {"connection_id":131150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:47:49] local.INFO: Extracted packet for processing {"connection_id":131150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:47:49] local.INFO: GPS Element Parsed {"raw_longitude":763173696,"raw_latitude":99368328,"longitude_deg":76.3173696,"latitude_deg":9.9368328,"altitude":9,"angle":246,"satellites":44,"speed":6,"hex_longitude":"2d7d1b40","hex_latitude":"05ec3d88","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681633024001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105659902038376448,"note":"Value kept but may cause issues"} 
[2026-07-13 08:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015291685759758336,"note":"Value kept but may cause issues"} 
[2026-07-13 08:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783912632000,"timestamp_ms":1783912632000,"timestamp_seconds":1783912632,"priority":1,"record_length":96,"hex_timestamp":"0000019f597a8ec0"} 
[2026-07-13 08:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-13 08:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08: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-07-13 08:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681633024001,"66":13243,"110":206,"87":13824,"24":6,"16":105659902038376448,"45":9015291685759758336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-13 08:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681633024001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:47:49] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-13 08:47:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105659902038376448,"km_value":105659902038376.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015291685759758336,"description":"Unknown IO ID 45"} 
[2026-07-13 08:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681633024001,"power":13243,"unknown_110":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9015291685759758336}} 
[2026-07-13 08:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":131150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479137,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:47:50] local.INFO: GPS data processed {"connection_id":131150,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:47:50] local.INFO: Acknowledgment sent {"connection_id":131150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:48:04] local.INFO: TCP Data received {"connection_id":130155,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f597aae00012d0e318007068540002400d026..."} 
[2026-07-13 08:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597aae00012d0e318007068540002400d026..."} 
[2026-07-13 08:48:04] local.INFO: Processing buffer {"connection_id":130155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597aae00012d0e318007068540002400d026..."} 
[2026-07-13 08:48:04] local.INFO: Packet analysis {"connection_id":130155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:48:04] local.INFO: Extracted packet for processing {"connection_id":130155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:48:04] local.INFO: GPS Element Parsed {"raw_longitude":755904896,"raw_latitude":117867840,"longitude_deg":75.5904896,"latitude_deg":11.786784,"altitude":36,"angle":208,"satellites":38,"speed":12,"hex_longitude":"2d0e3180","hex_latitude":"07068540","is_valid_coordinates":true} 
[2026-07-13 08:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681635328001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24164306346049536,"note":"Value kept but may cause issues"} 
[2026-07-13 08:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023091201773377536,"note":"Value kept but may cause issues"} 
[2026-07-13 08:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783912640000,"timestamp_ms":1783912640000,"timestamp_seconds":1783912640,"priority":1,"record_length":96,"hex_timestamp":"0000019f597aae00"} 
[2026-07-13 08:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-13 08:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130155,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130155,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681635328001,"66":14515,"219":206,"94":10240,"24":12,"16":24164306346049536,"45":1023091201773377536},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-13 08:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681635328001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:48:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-13 08:48:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 08:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24164306346049536,"km_value":24164306346049.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023091201773377536,"description":"Unknown IO ID 45"} 
[2026-07-13 08:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681635328001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":1023091201773377536}} 
[2026-07-13 08:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":130155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479138,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:48:04] local.INFO: GPS data processed {"connection_id":130155,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:48:04] local.INFO: Acknowledgment sent {"connection_id":130155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:48:12] local.INFO: TCP Data received {"connection_id":131149,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f597a7b38012d7f914005afd9380006011b23..."} 
[2026-07-13 08:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597a7b38012d7f914005afd9380006011b23..."} 
[2026-07-13 08:48:12] local.INFO: Processing buffer {"connection_id":131149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597a7b38012d7f914005afd9380006011b23..."} 
[2026-07-13 08:48:12] local.INFO: Packet analysis {"connection_id":131149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:48:12] local.INFO: Extracted packet for processing {"connection_id":131149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:48:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":6,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681555456001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783912627000,"timestamp_ms":1783912627000,"timestamp_seconds":1783912627,"priority":1,"record_length":96,"hex_timestamp":"0000019f597a7b38"} 
[2026-07-13 08:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681555456001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681555456001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:48:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:48:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681555456001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":131149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:48:12] local.INFO: GPS data processed {"connection_id":131149,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:48:12] local.INFO: Acknowledgment sent {"connection_id":131149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:48:22] local.INFO: TCP Data received {"connection_id":131150,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f597a9690012d7d198005ec3d00000901022c..."} 
[2026-07-13 08:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597a9690012d7d198005ec3d00000901022c..."} 
[2026-07-13 08:48:22] local.INFO: Processing buffer {"connection_id":131150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597a9690012d7d198005ec3d00000901022c..."} 
[2026-07-13 08:48:22] local.INFO: Packet analysis {"connection_id":131150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:48:22] local.INFO: Extracted packet for processing {"connection_id":131150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:48:22] local.INFO: GPS Element Parsed {"raw_longitude":763173248,"raw_latitude":99368192,"longitude_deg":76.3173248,"latitude_deg":9.9368192,"altitude":9,"angle":258,"satellites":44,"speed":9,"hex_longitude":"2d7d1980","hex_latitude":"05ec3d00","is_valid_coordinates":true} 
[2026-07-13 08:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681633792001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105659923513212928,"note":"Value kept but may cause issues"} 
[2026-07-13 08:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014869473294649344,"note":"Value kept but may cause issues"} 
[2026-07-13 08:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783912634000,"timestamp_ms":1783912634000,"timestamp_seconds":1783912634,"priority":1,"record_length":96,"hex_timestamp":"0000019f597a9690"} 
[2026-07-13 08:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 08:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":131150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":131150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":131150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681633792001,"66":13319,"110":206,"87":13824,"24":9,"16":105659923513212928,"45":9014869473294649344},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-13 08:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681633792001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:48:22] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-13 08:48:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105659923513212928,"km_value":105659923513212.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014869473294649344,"description":"Unknown IO ID 45"} 
[2026-07-13 08:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681633792001,"power":13319,"unknown_110":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9014869473294649344}} 
[2026-07-13 08:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":131150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:48:22] local.INFO: GPS data processed {"connection_id":131150,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:48:22] local.INFO: Acknowledgment sent {"connection_id":131150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:48:27] local.INFO: TCP Data received {"connection_id":130157,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130157,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:48:27] local.INFO: Processing buffer {"connection_id":130157,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:48:27] local.INFO: IMEI packet received {"connection_id":130157,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 08:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":130157,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:48:32] local.INFO: TCP Data received {"connection_id":130157,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130157,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:48:32] local.INFO: Processing buffer {"connection_id":130157,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:48:32] local.INFO: IMEI packet received {"connection_id":130157,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":130157,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:48:32] local.INFO: TCP Data received {"connection_id":130157,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f597ab5d0012d0e3080070683b0002500de26..."} 
[2026-07-13 08:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597ab5d0012d0e3080070683b0002500de26..."} 
[2026-07-13 08:48:32] local.INFO: Processing buffer {"connection_id":130157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597ab5d0012d0e3080070683b0002500de26..."} 
[2026-07-13 08:48:32] local.INFO: Packet analysis {"connection_id":130157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:48:32] local.INFO: Extracted packet for processing {"connection_id":130157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:48:32] local.INFO: GPS Element Parsed {"raw_longitude":755904640,"raw_latitude":117867440,"longitude_deg":75.590464,"latitude_deg":11.786744,"altitude":37,"angle":222,"satellites":38,"speed":8,"hex_longitude":"2d0e3080","hex_latitude":"070683b0","is_valid_coordinates":true} 
[2026-07-13 08:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681635840001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24164332115853312,"note":"Value kept but may cause issues"} 
[2026-07-13 08:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022739358052335616,"note":"Value kept but may cause issues"} 
[2026-07-13 08:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783912642000,"timestamp_ms":1783912642000,"timestamp_seconds":1783912642,"priority":1,"record_length":96,"hex_timestamp":"0000019f597ab5d0"} 
[2026-07-13 08:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-13 08:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":130157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":130157,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":130157,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681635840001,"66":14461,"219":206,"94":10240,"24":8,"16":24164332115853312,"45":1022739358052335616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-13 08:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681635840001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:48:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-13 08:48:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 08:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24164332115853312,"km_value":24164332115853.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022739358052335616,"description":"Unknown IO ID 45"} 
[2026-07-13 08:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681635840001,"power":14461,"unknown_219":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":1022739358052335616}} 
[2026-07-13 08:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":130157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479141,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:48:32] local.INFO: GPS data processed {"connection_id":130157,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:48:32] local.INFO: Acknowledgment sent {"connection_id":130157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:48:35] local.INFO: TCP Data received {"connection_id":132470,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:48:35] local.INFO: Processing buffer {"connection_id":132470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:48:35] local.INFO: IMEI packet received {"connection_id":132470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":132470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:48:40] local.INFO: TCP Data received {"connection_id":132470,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:48:40] local.INFO: Processing buffer {"connection_id":132470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:48:40] local.INFO: IMEI packet received {"connection_id":132470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":132470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:48:41] local.INFO: TCP Data received {"connection_id":132470,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f597a7b38012d7f914005afd9380006011b23..."} 
[2026-07-13 08:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597a7b38012d7f914005afd9380006011b23..."} 
[2026-07-13 08:48:41] local.INFO: Processing buffer {"connection_id":132470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597a7b38012d7f914005afd9380006011b23..."} 
[2026-07-13 08:48:41] local.INFO: Packet analysis {"connection_id":132470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:48:41] local.INFO: Extracted packet for processing {"connection_id":132470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:48:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":6,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681555456001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783912627000,"timestamp_ms":1783912627000,"timestamp_seconds":1783912627,"priority":1,"record_length":96,"hex_timestamp":"0000019f597a7b38"} 
[2026-07-13 08:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681555456001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681555456001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:48:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:48:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681555456001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":132470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:48:41] local.INFO: GPS data processed {"connection_id":132470,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:48:41] local.INFO: Acknowledgment sent {"connection_id":132470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:48:42] local.INFO: TCP Data received {"connection_id":131151,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:48:42] local.INFO: Processing buffer {"connection_id":131151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:48:42] local.INFO: IMEI packet received {"connection_id":131151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":131151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:48:43] local.INFO: TCP Data received {"connection_id":131151,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:48:43] local.INFO: Processing buffer {"connection_id":131151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:48:43] local.INFO: IMEI packet received {"connection_id":131151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":131151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:48:48] local.INFO: TCP Data received {"connection_id":131151,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:48:48] local.INFO: Processing buffer {"connection_id":131151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:48:48] local.INFO: IMEI packet received {"connection_id":131151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":131151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:48:49] local.INFO: TCP Data received {"connection_id":131151,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f597ad510012d7cf54005ec3a00000a01092b..."} 
[2026-07-13 08:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597ad510012d7cf54005ec3a00000a01092b..."} 
[2026-07-13 08:48:49] local.INFO: Processing buffer {"connection_id":131151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597ad510012d7cf54005ec3a00000a01092b..."} 
[2026-07-13 08:48:49] local.INFO: Packet analysis {"connection_id":131151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:48:49] local.INFO: Extracted packet for processing {"connection_id":131151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:48:49] local.INFO: GPS Element Parsed {"raw_longitude":763163968,"raw_latitude":99367424,"longitude_deg":76.3163968,"latitude_deg":9.9367424,"altitude":10,"angle":265,"satellites":43,"speed":32,"hex_longitude":"2d7cf540","hex_latitude":"05ec3a00","is_valid_coordinates":true} 
[2026-07-13 08:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681634304001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105660365894844416,"note":"Value kept but may cause issues"} 
[2026-07-13 08:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014376892085370880,"note":"Value kept but may cause issues"} 
[2026-07-13 08:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783912650000,"timestamp_ms":1783912650000,"timestamp_seconds":1783912650,"priority":1,"record_length":96,"hex_timestamp":"0000019f597ad510"} 
[2026-07-13 08:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08: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-07-13 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 08:48:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 08:48:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788848,"note":"Value kept but may cause issues"} 
[2026-07-13 08:48:49] local.WARNING: Large IO value detected {"io_id":236,"raw_value":4762556657489617664,"note":"Value kept but may cause issues"} 
[2026-07-13 08:48:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-07-13 08:48:49] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3087084925,"note":"Value kept but may cause issues"} 
[2026-07-13 08:48:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3963807744,"note":"Value kept but may cause issues"} 
[2026-07-13 08:48:49] local.WARNING: Large IO value detected {"io_id":216,"raw_value":57783107034437430,"note":"Value kept but may cause issues"} 
[2026-07-13 08:48:49] local.WARNING: Large IO value detected {"io_id":122,"raw_value":434598658922708997,"note":"Value kept but may cause issues"} 
[2026-07-13 08:48:49] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,110,87,24,241,157,16,97,159,142,45,64,61,9,44,10,66,131,192,62,119,128,1,240,220,227,89,236,4,113,205,60,28,96,38,239,49,2,5,11,216,122],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-07-13 08:48:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648802209320468480,"timestamp_seconds":648802209320468.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 08:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681634304001,"66":13363,"110":206,"87":13824,"24":32,"16":105660365894844416,"45":9014376892085370880},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-13 08:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681634304001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:48:49] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-13 08:48:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105660365894844416,"km_value":105660365894844.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014376892085370880,"description":"Unknown IO ID 45"} 
[2026-07-13 08:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681634304001,"power":13363,"unknown_110":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":9014376892085370880}} 
[2026-07-13 08:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":131151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:48:49] local.INFO: GPS data processed {"connection_id":131151,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:48:49] local.INFO: Acknowledgment sent {"connection_id":131151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:49:03] local.INFO: TCP Data received {"connection_id":130157,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f597abda0012d0e2f80070682e8002500f526..."} 
[2026-07-13 08:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597abda0012d0e2f80070682e8002500f526..."} 
[2026-07-13 08:49:03] local.INFO: Processing buffer {"connection_id":130157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597abda0012d0e2f80070682e8002500f526..."} 
[2026-07-13 08:49:03] local.INFO: Packet analysis {"connection_id":130157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:49:03] local.INFO: Extracted packet for processing {"connection_id":130157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:49:03] local.INFO: GPS Element Parsed {"raw_longitude":755904384,"raw_latitude":117867240,"longitude_deg":75.5904384,"latitude_deg":11.786724,"altitude":37,"angle":245,"satellites":38,"speed":6,"hex_longitude":"2d0e2f80","hex_latitude":"070682e8","is_valid_coordinates":true} 
[2026-07-13 08:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681636352001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24164345000755200,"note":"Value kept but may cause issues"} 
[2026-07-13 08:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022457883075522560,"note":"Value kept but may cause issues"} 
[2026-07-13 08:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783912644000,"timestamp_ms":1783912644000,"timestamp_seconds":1783912644,"priority":1,"record_length":96,"hex_timestamp":"0000019f597abda0"} 
[2026-07-13 08:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:49: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-07-13 08:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-13 08:49: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-07-13 08:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":130157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":130157,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":130157,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681636352001,"66":14439,"219":206,"94":10240,"24":6,"16":24164345000755200,"45":1022457883075522560},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-13 08:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681636352001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:49:03] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-13 08:49:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 08:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24164345000755200,"km_value":24164345000755.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022457883075522560,"description":"Unknown IO ID 45"} 
[2026-07-13 08:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681636352001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":1022457883075522560}} 
[2026-07-13 08:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":130157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479144,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:49:04] local.INFO: GPS data processed {"connection_id":130157,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:49:04] local.INFO: Acknowledgment sent {"connection_id":130157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:49:12] local.INFO: TCP Data received {"connection_id":132470,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f597a7b38012d7f914005afd9380006011b23..."} 
[2026-07-13 08:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597a7b38012d7f914005afd9380006011b23..."} 
[2026-07-13 08:49:12] local.INFO: Processing buffer {"connection_id":132470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597a7b38012d7f914005afd9380006011b23..."} 
[2026-07-13 08:49:12] local.INFO: Packet analysis {"connection_id":132470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:49:12] local.INFO: Extracted packet for processing {"connection_id":132470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:49:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":6,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681555456001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783912627000,"timestamp_ms":1783912627000,"timestamp_seconds":1783912627,"priority":1,"record_length":96,"hex_timestamp":"0000019f597a7b38"} 
[2026-07-13 08:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681555456001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681555456001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:49:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:49:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681555456001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":132470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:49:12] local.INFO: GPS data processed {"connection_id":132470,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:49:12] local.INFO: Acknowledgment sent {"connection_id":132470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:49:20] local.INFO: TCP Data received {"connection_id":131151,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f597b07d8012d7ccf8005ec3890000d010a29..."} 
[2026-07-13 08:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597b07d8012d7ccf8005ec3890000d010a29..."} 
[2026-07-13 08:49:20] local.INFO: Processing buffer {"connection_id":131151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597b07d8012d7ccf8005ec3890000d010a29..."} 
[2026-07-13 08:49:20] local.INFO: Packet analysis {"connection_id":131151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597b"} 
[2026-07-13 08:49:20] local.INFO: Extracted packet for processing {"connection_id":131151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597b"} 
[2026-07-13 08:49:20] local.INFO: GPS Element Parsed {"raw_longitude":763154304,"raw_latitude":99367056,"longitude_deg":76.3154304,"latitude_deg":9.9367056,"altitude":13,"angle":266,"satellites":41,"speed":31,"hex_longitude":"2d7ccf80","hex_latitude":"05ec3890","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681638400001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105660829751312384,"note":"Value kept but may cause issues"} 
[2026-07-13 08:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004173424179412992,"note":"Value kept but may cause issues"} 
[2026-07-13 08:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783912663000,"timestamp_ms":1783912663000,"timestamp_seconds":1783912663,"priority":1,"record_length":96,"hex_timestamp":"0000019f597b07d8"} 
[2026-07-13 08:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-13 08:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08: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-07-13 08:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":131151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":131151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":131151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681638400001,"66":13048,"110":206,"87":13824,"24":31,"16":105660829751312384,"45":9004173424179412992},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-13 08:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681638400001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:49:20] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-13 08:49:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105660829751312384,"km_value":105660829751312.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004173424179412992,"description":"Unknown IO ID 45"} 
[2026-07-13 08:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681638400001,"power":13048,"unknown_110":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":9004173424179412992}} 
[2026-07-13 08:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":131151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:49:20] local.INFO: GPS data processed {"connection_id":131151,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:49:20] local.INFO: Acknowledgment sent {"connection_id":131151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:49:27] local.INFO: TCP Data received {"connection_id":130356,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130356,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:49:27] local.INFO: Processing buffer {"connection_id":130356,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:49:27] local.INFO: IMEI packet received {"connection_id":130356,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 08:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":130356,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:49:33] local.INFO: TCP Data received {"connection_id":130356,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130356,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:49:33] local.INFO: Processing buffer {"connection_id":130356,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:49:33] local.INFO: IMEI packet received {"connection_id":130356,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":130356,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:49:33] local.INFO: TCP Data received {"connection_id":130356,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f597ad510012d0e2b40070681580025010c26..."} 
[2026-07-13 08:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597ad510012d0e2b40070681580025010c26..."} 
[2026-07-13 08:49:33] local.INFO: Processing buffer {"connection_id":130356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597ad510012d0e2b40070681580025010c26..."} 
[2026-07-13 08:49:33] local.INFO: Packet analysis {"connection_id":130356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:49:33] local.INFO: Extracted packet for processing {"connection_id":130356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:49:33] local.INFO: GPS Element Parsed {"raw_longitude":755903296,"raw_latitude":117866840,"longitude_deg":75.5903296,"latitude_deg":11.786684,"altitude":37,"angle":268,"satellites":38,"speed":7,"hex_longitude":"2d0e2b40","hex_latitude":"07068158","is_valid_coordinates":true} 
[2026-07-13 08:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681636864001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24164400835330048,"note":"Value kept but may cause issues"} 
[2026-07-13 08:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022176408098760704,"note":"Value kept but may cause issues"} 
[2026-07-13 08:49: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-07-13 08:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783912650000,"timestamp_ms":1783912650000,"timestamp_seconds":1783912650,"priority":1,"record_length":96,"hex_timestamp":"0000019f597ad510"} 
[2026-07-13 08:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:49: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-07-13 08:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":130356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":130356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":130356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681636864001,"66":14450,"219":206,"94":10240,"24":7,"16":24164400835330048,"45":1022176408098760704},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-13 08:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681636864001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:49:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-13 08:49:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 08:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24164400835330048,"km_value":24164400835330.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022176408098760704,"description":"Unknown IO ID 45"} 
[2026-07-13 08:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681636864001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":1022176408098760704}} 
[2026-07-13 08:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":130356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479147,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:49:34] local.INFO: GPS data processed {"connection_id":130356,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:49:34] local.INFO: Acknowledgment sent {"connection_id":130356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:49:35] local.INFO: TCP Data received {"connection_id":130357,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:49:35] local.INFO: Processing buffer {"connection_id":130357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:49:35] local.INFO: IMEI packet received {"connection_id":130357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":130357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:49:40] local.INFO: TCP Data received {"connection_id":130357,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:49:40] local.INFO: Processing buffer {"connection_id":130357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:49:40] local.INFO: IMEI packet received {"connection_id":130357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":130357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:49:41] local.INFO: TCP Data received {"connection_id":130357,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f597a7b38012d7f914005afd9380006011b23..."} 
[2026-07-13 08:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597a7b38012d7f914005afd9380006011b23..."} 
[2026-07-13 08:49:41] local.INFO: Processing buffer {"connection_id":130357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597a7b38012d7f914005afd9380006011b23..."} 
[2026-07-13 08:49:41] local.INFO: Packet analysis {"connection_id":130357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:49:41] local.INFO: Extracted packet for processing {"connection_id":130357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:49:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":6,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681555456001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783912627000,"timestamp_ms":1783912627000,"timestamp_seconds":1783912627,"priority":1,"record_length":96,"hex_timestamp":"0000019f597a7b38"} 
[2026-07-13 08:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681555456001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681555456001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:49:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:49:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681555456001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":130357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:49:41] local.INFO: GPS data processed {"connection_id":130357,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:49:41] local.INFO: Acknowledgment sent {"connection_id":130357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:49:44] local.INFO: TCP Data received {"connection_id":131152,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131152,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:49:44] local.INFO: Processing buffer {"connection_id":131152,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:49:44] local.INFO: IMEI packet received {"connection_id":131152,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":131152,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:49:45] local.INFO: TCP Data received {"connection_id":130358,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:49:45] local.INFO: Processing buffer {"connection_id":130358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:49:45] local.INFO: IMEI packet received {"connection_id":130358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 08:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":130358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:49:48] local.INFO: TCP Data received {"connection_id":131152,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131152,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:49:48] local.INFO: Processing buffer {"connection_id":131152,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:49:48] local.INFO: IMEI packet received {"connection_id":131152,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":131152,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:49:53] local.INFO: TCP Data received {"connection_id":131152,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131152,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:49:53] local.INFO: Processing buffer {"connection_id":131152,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:49:53] local.INFO: IMEI packet received {"connection_id":131152,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":131152,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:49:56] local.INFO: TCP Data received {"connection_id":131152,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f597b32d0012d7cac0005ec37b8000f010b25..."} 
[2026-07-13 08:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597b32d0012d7cac0005ec37b8000f010b25..."} 
[2026-07-13 08:49:56] local.INFO: Processing buffer {"connection_id":131152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597b32d0012d7cac0005ec37b8000f010b25..."} 
[2026-07-13 08:49:56] local.INFO: Packet analysis {"connection_id":131152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597b"} 
[2026-07-13 08:49:56] local.INFO: Extracted packet for processing {"connection_id":131152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597b"} 
[2026-07-13 08:49:56] local.INFO: GPS Element Parsed {"raw_longitude":763145216,"raw_latitude":99366840,"longitude_deg":76.3145216,"latitude_deg":9.936684,"altitude":15,"angle":267,"satellites":37,"speed":31,"hex_longitude":"2d7cac00","hex_latitude":"05ec37b8","is_valid_coordinates":true} 
[2026-07-13 08:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681641728001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105661263543009280,"note":"Value kept but may cause issues"} 
[2026-07-13 08:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993547743808491520,"note":"Value kept but may cause issues"} 
[2026-07-13 08:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783912674000,"timestamp_ms":1783912674000,"timestamp_seconds":1783912674,"priority":1,"record_length":96,"hex_timestamp":"0000019f597b32d0"} 
[2026-07-13 08:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-13 08:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":131152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":131152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":131152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681641728001,"66":13319,"110":206,"87":13824,"24":31,"16":105661263543009280,"45":8993547743808491520},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-13 08:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681641728001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:49:56] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-13 08:49:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105661263543009280,"km_value":105661263543009.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993547743808491520,"description":"Unknown IO ID 45"} 
[2026-07-13 08:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681641728001,"power":13319,"unknown_110":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8993547743808491520}} 
[2026-07-13 08:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":131152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479149,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:49:56] local.INFO: GPS data processed {"connection_id":131152,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:49:56] local.INFO: Acknowledgment sent {"connection_id":131152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:50:05] local.INFO: TCP Data received {"connection_id":130356,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f597ae898012d0e2840070681c80024012a26..."} 
[2026-07-13 08:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597ae898012d0e2840070681c80024012a26..."} 
[2026-07-13 08:50:05] local.INFO: Processing buffer {"connection_id":130356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597ae898012d0e2840070681c80024012a26..."} 
[2026-07-13 08:50:05] local.INFO: Packet analysis {"connection_id":130356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:50:05] local.INFO: Extracted packet for processing {"connection_id":130356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:50:05] local.INFO: GPS Element Parsed {"raw_longitude":755902528,"raw_latitude":117866952,"longitude_deg":75.5902528,"latitude_deg":11.7866952,"altitude":36,"angle":298,"satellites":38,"speed":6,"hex_longitude":"2d0e2840","hex_latitude":"070681c8","is_valid_coordinates":true} 
[2026-07-13 08:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681638400001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24164435195068416,"note":"Value kept but may cause issues"} 
[2026-07-13 08:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020980139447638016,"note":"Value kept but may cause issues"} 
[2026-07-13 08:50: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-07-13 08:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783912655000,"timestamp_ms":1783912655000,"timestamp_seconds":1783912655,"priority":1,"record_length":96,"hex_timestamp":"0000019f597ae898"} 
[2026-07-13 08:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-13 08:50: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-07-13 08:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681638400001,"66":14515,"219":206,"94":10240,"24":6,"16":24164435195068416,"45":1020980139447638016},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-13 08:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681638400001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:50:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-13 08:50:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 08:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24164435195068416,"km_value":24164435195068.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1020980139447638016,"description":"Unknown IO ID 45"} 
[2026-07-13 08:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681638400001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":1020980139447638016}} 
[2026-07-13 08:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":130356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479150,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:50:05] local.INFO: GPS data processed {"connection_id":130356,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:50:05] local.INFO: Acknowledgment sent {"connection_id":130356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:50:13] local.INFO: TCP Data received {"connection_id":130357,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f597a7b38012d7f914005afd9380006011b23..."} 
[2026-07-13 08:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597a7b38012d7f914005afd9380006011b23..."} 
[2026-07-13 08:50:13] local.INFO: Processing buffer {"connection_id":130357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597a7b38012d7f914005afd9380006011b23..."} 
[2026-07-13 08:50:13] local.INFO: Packet analysis {"connection_id":130357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:50:13] local.INFO: Extracted packet for processing {"connection_id":130357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:50:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":6,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681555456001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783912627000,"timestamp_ms":1783912627000,"timestamp_seconds":1783912627,"priority":1,"record_length":96,"hex_timestamp":"0000019f597a7b38"} 
[2026-07-13 08:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:50:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681555456001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681555456001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:50:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:50:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681555456001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":130357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:50:13] local.INFO: GPS data processed {"connection_id":130357,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:50:13] local.INFO: Acknowledgment sent {"connection_id":130357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:50:27] local.INFO: TCP Data received {"connection_id":131152,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f597d3e40012d7b220005ebeb58001100f32c..."} 
[2026-07-13 08:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597d3e40012d7b220005ebeb58001100f32c..."} 
[2026-07-13 08:50:27] local.INFO: Processing buffer {"connection_id":131152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597d3e40012d7b220005ebeb58001100f32c..."} 
[2026-07-13 08:50:27] local.INFO: Packet analysis {"connection_id":131152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597d"} 
[2026-07-13 08:50:27] local.INFO: Extracted packet for processing {"connection_id":131152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597d"} 
[2026-07-13 08:50:27] local.INFO: GPS Element Parsed {"raw_longitude":763044352,"raw_latitude":99347288,"longitude_deg":76.3044352,"latitude_deg":9.9347288,"altitude":17,"angle":243,"satellites":44,"speed":41,"hex_longitude":"2d7b2200","hex_latitude":"05ebeb58","is_valid_coordinates":true} 
[2026-07-13 08:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681676032001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105666232820170752,"note":"Value kept but may cause issues"} 
[2026-07-13 08:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881520703073591296,"note":"Value kept but may cause issues"} 
[2026-07-13 08:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783912808000,"timestamp_ms":1783912808000,"timestamp_seconds":1783912808,"priority":1,"record_length":96,"hex_timestamp":"0000019f597d3e40"} 
[2026-07-13 08:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-13 08:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":131152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":131152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":131152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681676032001,"66":13102,"198":206,"87":13824,"24":41,"16":105666232820170752,"45":8881520703073591296},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-13 08:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681676032001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:50:27] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-13 08:50:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105666232820170752,"km_value":105666232820170.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881520703073591296,"description":"Unknown IO ID 45"} 
[2026-07-13 08:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681676032001,"power":13102,"unknown_198":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":8881520703073591296}} 
[2026-07-13 08:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":131152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479152,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:50:27] local.INFO: GPS data processed {"connection_id":131152,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:50:27] local.INFO: Acknowledgment sent {"connection_id":131152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:50:28] local.INFO: TCP Data received {"connection_id":131153,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131153,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:50:28] local.INFO: Processing buffer {"connection_id":131153,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:50:28] local.INFO: IMEI packet received {"connection_id":131153,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 08:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":131153,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:50:29] local.INFO: TCP Data received {"connection_id":131153,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131153,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:50:29] local.INFO: Processing buffer {"connection_id":131153,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:50:29] local.INFO: IMEI packet received {"connection_id":131153,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":131153,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:50:33] local.INFO: TCP Data received {"connection_id":131153,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131153,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:50:33] local.INFO: Processing buffer {"connection_id":131153,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:50:33] local.INFO: IMEI packet received {"connection_id":131153,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":131153,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:50:35] local.INFO: TCP Data received {"connection_id":130359,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:50:35] local.INFO: Processing buffer {"connection_id":130359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:50:35] local.INFO: IMEI packet received {"connection_id":130359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":130359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:50:38] local.INFO: TCP Data received {"connection_id":131153,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131153,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:50:38] local.INFO: Processing buffer {"connection_id":131153,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:50:38] local.INFO: IMEI packet received {"connection_id":131153,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":131153,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:50:38] local.INFO: TCP Data received {"connection_id":131153,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f597b03f0012d0e1f80070685900024011a26..."} 
[2026-07-13 08:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597b03f0012d0e1f80070685900024011a26..."} 
[2026-07-13 08:50:38] local.INFO: Processing buffer {"connection_id":131153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597b03f0012d0e1f80070685900024011a26..."} 
[2026-07-13 08:50:38] local.INFO: Packet analysis {"connection_id":131153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597b"} 
[2026-07-13 08:50:38] local.INFO: Extracted packet for processing {"connection_id":131153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597b"} 
[2026-07-13 08:50:38] local.INFO: GPS Element Parsed {"raw_longitude":755900288,"raw_latitude":117867920,"longitude_deg":75.5900288,"latitude_deg":11.786792,"altitude":36,"angle":282,"satellites":38,"speed":16,"hex_longitude":"2d0e1f80","hex_latitude":"07068590","is_valid_coordinates":true} 
[2026-07-13 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-07-13 08:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681639680001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24164555454152704,"note":"Value kept but may cause issues"} 
[2026-07-13 08:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020135714517534720,"note":"Value kept but may cause issues"} 
[2026-07-13 08:50: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-07-13 08:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783912662000,"timestamp_ms":1783912662000,"timestamp_seconds":1783912662,"priority":1,"record_length":96,"hex_timestamp":"0000019f597b03f0"} 
[2026-07-13 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-07-13 08:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-13 08:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 08:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":131153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":131153,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":131153,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681639680001,"66":13689,"219":206,"94":10240,"24":16,"16":24164555454152704,"45":1020135714517534720},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-13 08:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681639680001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:50:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-13 08:50:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 08:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24164555454152704,"km_value":24164555454152.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1020135714517534720,"description":"Unknown IO ID 45"} 
[2026-07-13 08:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681639680001,"power":13689,"unknown_219":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":1020135714517534720}} 
[2026-07-13 08:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":131153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479153,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:50:38] local.INFO: GPS data processed {"connection_id":131153,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:50:38] local.INFO: Acknowledgment sent {"connection_id":131153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:50:40] local.INFO: TCP Data received {"connection_id":130359,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:50:40] local.INFO: Processing buffer {"connection_id":130359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:50:40] local.INFO: IMEI packet received {"connection_id":130359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":130359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:50:41] local.INFO: TCP Data received {"connection_id":130359,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f597a7b38012d7f914005afd9380006011b23..."} 
[2026-07-13 08:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597a7b38012d7f914005afd9380006011b23..."} 
[2026-07-13 08:50:41] local.INFO: Processing buffer {"connection_id":130359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597a7b38012d7f914005afd9380006011b23..."} 
[2026-07-13 08:50:41] local.INFO: Packet analysis {"connection_id":130359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:50:41] local.INFO: Extracted packet for processing {"connection_id":130359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:50:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":6,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681555456001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783912627000,"timestamp_ms":1783912627000,"timestamp_seconds":1783912627,"priority":1,"record_length":96,"hex_timestamp":"0000019f597a7b38"} 
[2026-07-13 08:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08: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-07-13 08:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681555456001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681555456001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:50:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:50:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681555456001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":130359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:50:41] local.INFO: GPS data processed {"connection_id":130359,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:50:41] local.INFO: Acknowledgment sent {"connection_id":130359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:50:43] local.INFO: TCP Data received {"connection_id":131153,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f597b1f48012d0e1280070687080023010f26..."} 
[2026-07-13 08:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597b1f48012d0e1280070687080023010f26..."} 
[2026-07-13 08:50:43] local.INFO: Processing buffer {"connection_id":131153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597b1f48012d0e1280070687080023010f26..."} 
[2026-07-13 08:50:43] local.INFO: Packet analysis {"connection_id":131153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597b"} 
[2026-07-13 08:50:43] local.INFO: Extracted packet for processing {"connection_id":131153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597b"} 
[2026-07-13 08:50:43] local.INFO: GPS Element Parsed {"raw_longitude":755896960,"raw_latitude":117868296,"longitude_deg":75.589696,"latitude_deg":11.7868296,"altitude":35,"angle":271,"satellites":38,"speed":15,"hex_longitude":"2d0e1280","hex_latitude":"07068708","is_valid_coordinates":true} 
[2026-07-13 08:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681641472001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24164714367942656,"note":"Value kept but may cause issues"} 
[2026-07-13 08:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1017672808471564288,"note":"Value kept but may cause issues"} 
[2026-07-13 08:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783912669000,"timestamp_ms":1783912669000,"timestamp_seconds":1783912669,"priority":1,"record_length":96,"hex_timestamp":"0000019f597b1f48"} 
[2026-07-13 08:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-07-13 08:50:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":131153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":131153,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":131153,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681641472001,"66":14428,"219":206,"94":10240,"24":15,"16":24164714367942656,"45":1017672808471564288},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-13 08:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681641472001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:50:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-13 08:50:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 08:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24164714367942656,"km_value":24164714367942.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1017672808471564288,"description":"Unknown IO ID 45"} 
[2026-07-13 08:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681641472001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":1017672808471564288}} 
[2026-07-13 08:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":131153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479155,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:50:43] local.INFO: GPS data processed {"connection_id":131153,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:50:43] local.INFO: Acknowledgment sent {"connection_id":131153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:50:43] local.INFO: TCP Data received {"connection_id":130360,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:50:43] local.INFO: Processing buffer {"connection_id":130360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:50:43] local.INFO: IMEI packet received {"connection_id":130360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":130360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:50:46] local.INFO: TCP Data received {"connection_id":130360,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:50:46] local.INFO: Processing buffer {"connection_id":130360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:50:46] local.INFO: IMEI packet received {"connection_id":130360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":130360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:50:48] local.INFO: TCP Data received {"connection_id":130360,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f597d5d80012d7b024005ebdb38001100f32d..."} 
[2026-07-13 08:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597d5d80012d7b024005ebdb38001100f32d..."} 
[2026-07-13 08:50:48] local.INFO: Processing buffer {"connection_id":130360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597d5d80012d7b024005ebdb38001100f32d..."} 
[2026-07-13 08:50:48] local.INFO: Packet analysis {"connection_id":130360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597d"} 
[2026-07-13 08:50:48] local.INFO: Extracted packet for processing {"connection_id":130360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597d"} 
[2026-07-13 08:50:48] local.INFO: GPS Element Parsed {"raw_longitude":763036224,"raw_latitude":99343160,"longitude_deg":76.3036224,"latitude_deg":9.934316,"altitude":17,"angle":243,"satellites":45,"speed":44,"hex_longitude":"2d7b0240","hex_latitude":"05ebdb38","is_valid_coordinates":true} 
[2026-07-13 08:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681678848001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105666670906834944,"note":"Value kept but may cause issues"} 
[2026-07-13 08:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872654241306204160,"note":"Value kept but may cause issues"} 
[2026-07-13 08:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783912816000,"timestamp_ms":1783912816000,"timestamp_seconds":1783912816,"priority":1,"record_length":96,"hex_timestamp":"0000019f597d5d80"} 
[2026-07-13 08:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-13 08:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:50:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":130360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":130360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":130360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681678848001,"66":13059,"198":206,"87":13824,"24":44,"16":105666670906834944,"45":8872654241306204160},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-13 08:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681678848001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:50:48] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-13 08:50:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105666670906834944,"km_value":105666670906834.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872654241306204160,"description":"Unknown IO ID 45"} 
[2026-07-13 08:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681678848001,"power":13059,"unknown_198":206,"unknown_87":13824,"ignition":44,"odometer":null,"unknown_45":8872654241306204160}} 
[2026-07-13 08:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":130360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:50:48] local.INFO: GPS data processed {"connection_id":130360,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:50:48] local.INFO: Acknowledgment sent {"connection_id":130360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:50:48] local.INFO: TCP Data received {"connection_id":131153,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f597b6d68012d0e0bc0070686e80020011026..."} 
[2026-07-13 08:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597b6d68012d0e0bc0070686e80020011026..."} 
[2026-07-13 08:50:48] local.INFO: Processing buffer {"connection_id":131153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597b6d68012d0e0bc0070686e80020011026..."} 
[2026-07-13 08:50:48] local.INFO: Packet analysis {"connection_id":131153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597b"} 
[2026-07-13 08:50:48] local.INFO: Extracted packet for processing {"connection_id":131153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597b"} 
[2026-07-13 08:50:48] local.INFO: GPS Element Parsed {"raw_longitude":755895232,"raw_latitude":117868264,"longitude_deg":75.5895232,"latitude_deg":11.7868264,"altitude":32,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d0e0bc0","hex_latitude":"070686e8","is_valid_coordinates":true} 
[2026-07-13 08:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681643264001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24164795972321280,"note":"Value kept but may cause issues"} 
[2026-07-13 08:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1014013633774422016,"note":"Value kept but may cause issues"} 
[2026-07-13 08:50: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-07-13 08:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783912689000,"timestamp_ms":1783912689000,"timestamp_seconds":1783912689,"priority":1,"record_length":96,"hex_timestamp":"0000019f597b6d68"} 
[2026-07-13 08:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 08:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:50:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":131153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":131153,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":131153,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681643264001,"66":14396,"219":206,"94":10240,"24":0,"16":24164795972321280,"45":1014013633774422016},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-13 08:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681643264001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:50:48] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-13 08:50:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 08:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24164795972321280,"km_value":24164795972321.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1014013633774422016,"description":"Unknown IO ID 45"} 
[2026-07-13 08:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681643264001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":1014013633774422016}} 
[2026-07-13 08:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":131153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479157,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:50:48] local.INFO: GPS data processed {"connection_id":131153,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:50:48] local.INFO: Acknowledgment sent {"connection_id":131153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:51:12] local.INFO: TCP Data received {"connection_id":130359,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f597a7b38012d7f914005afd9380006011b23..."} 
[2026-07-13 08:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597a7b38012d7f914005afd9380006011b23..."} 
[2026-07-13 08:51:12] local.INFO: Processing buffer {"connection_id":130359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597a7b38012d7f914005afd9380006011b23..."} 
[2026-07-13 08:51:12] local.INFO: Packet analysis {"connection_id":130359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:51:12] local.INFO: Extracted packet for processing {"connection_id":130359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:51:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":6,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681555456001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783912627000,"timestamp_ms":1783912627000,"timestamp_seconds":1783912627,"priority":1,"record_length":96,"hex_timestamp":"0000019f597a7b38"} 
[2026-07-13 08:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681555456001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681555456001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:51:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:51:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681555456001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":130359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:51:12] local.INFO: GPS data processed {"connection_id":130359,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:51:12] local.INFO: Acknowledgment sent {"connection_id":130359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:51:19] local.INFO: TCP Data received {"connection_id":130360,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f597d80a8012d7adfc005ebc9c8000e00f32d..."} 
[2026-07-13 08:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597d80a8012d7adfc005ebc9c8000e00f32d..."} 
[2026-07-13 08:51:19] local.INFO: Processing buffer {"connection_id":130360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597d80a8012d7adfc005ebc9c8000e00f32d..."} 
[2026-07-13 08:51:19] local.INFO: Packet analysis {"connection_id":130360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597d"} 
[2026-07-13 08:51:19] local.INFO: Extracted packet for processing {"connection_id":130360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597d"} 
[2026-07-13 08:51:19] local.INFO: GPS Element Parsed {"raw_longitude":763027392,"raw_latitude":99338696,"longitude_deg":76.3027392,"latitude_deg":9.9338696,"altitude":14,"angle":243,"satellites":45,"speed":40,"hex_longitude":"2d7adfc0","hex_latitude":"05ebc9c8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 08:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681680896001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105667143353237504,"note":"Value kept but may cause issues"} 
[2026-07-13 08:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863717410794584064,"note":"Value kept but may cause issues"} 
[2026-07-13 08:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783912825000,"timestamp_ms":1783912825000,"timestamp_seconds":1783912825,"priority":1,"record_length":96,"hex_timestamp":"0000019f597d80a8"} 
[2026-07-13 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-07-13 08: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-07-13 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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-13 08:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166284418389,"note":"Value kept but may cause issues"} 
[2026-07-13 08:51:19] local.WARNING: Large IO value detected {"io_id":198,"raw_value":58079734643818528,"note":"Value kept but may cause issues"} 
[2026-07-13 08:51:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 08:51:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-07-13 08:51:19] local.WARNING: Large IO value detected {"io_id":168,"raw_value":2147871773,"note":"Value kept but may cause issues"} 
[2026-07-13 08:51:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3962046464,"note":"Value kept but may cause issues"} 
[2026-07-13 08:51:19] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,198,87,24,241,157,16,103,159,62,45,235,17,44,10,66,102,19,128,250,220,64,1,240,161,227,89,236,4,113,205,26,119,168,208,239,52,2,5,32],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-07-13 08:51:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225246473246736384,"timestamp_seconds":1225246473246736.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 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-07-13 08:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681680896001,"66":13080,"155":206,"87":13824,"24":40,"16":105667143353237504,"45":8863717410794584064},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-13 08:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681680896001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:51:19] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 08:51:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105667143353237504,"km_value":105667143353237.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863717410794584064,"description":"Unknown IO ID 45"} 
[2026-07-13 08:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681680896001,"power":13080,"unknown_155":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8863717410794584064}} 
[2026-07-13 08:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":130360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479159,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:51:19] local.INFO: GPS data processed {"connection_id":130360,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:51:19] local.INFO: Acknowledgment sent {"connection_id":130360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:51:28] local.INFO: TCP Data received {"connection_id":130158,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130158,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:51:28] local.INFO: Processing buffer {"connection_id":130158,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:51:28] local.INFO: IMEI packet received {"connection_id":130158,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 08:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":130158,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:51:32] local.INFO: TCP Data received {"connection_id":130158,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130158,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:51:32] local.INFO: Processing buffer {"connection_id":130158,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:51:32] local.INFO: IMEI packet received {"connection_id":130158,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":130158,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:51:33] local.INFO: TCP Data received {"connection_id":130158,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f597bbf70012d0e0bc0070686f00020011026..."} 
[2026-07-13 08:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597bbf70012d0e0bc0070686f00020011026..."} 
[2026-07-13 08:51:33] local.INFO: Processing buffer {"connection_id":130158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597bbf70012d0e0bc0070686f00020011026..."} 
[2026-07-13 08:51:33] local.INFO: Packet analysis {"connection_id":130158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597b"} 
[2026-07-13 08:51:33] local.INFO: Extracted packet for processing {"connection_id":130158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597b"} 
[2026-07-13 08:51:33] local.INFO: GPS Element Parsed {"raw_longitude":755895232,"raw_latitude":117868272,"longitude_deg":75.5895232,"latitude_deg":11.7868272,"altitude":32,"angle":272,"satellites":38,"speed":0,"hex_longitude":"2d0e0bc0","hex_latitude":"070686f0","is_valid_coordinates":true} 
[2026-07-13 08:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681648384001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24164795972321280,"note":"Value kept but may cause issues"} 
[2026-07-13 08:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1012113677681616896,"note":"Value kept but may cause issues"} 
[2026-07-13 08:51: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-07-13 08:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783912710000,"timestamp_ms":1783912710000,"timestamp_seconds":1783912710,"priority":1,"record_length":96,"hex_timestamp":"0000019f597bbf70"} 
[2026-07-13 08:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:51: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-07-13 08:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-13 08:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:51:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":130158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":130158,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":130158,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681648384001,"66":14450,"219":206,"94":10240,"24":0,"16":24164795972321280,"45":1012113677681616896},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-13 08:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681648384001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:51:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-13 08:51:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 08:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24164795972321280,"km_value":24164795972321.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1012113677681616896,"description":"Unknown IO ID 45"} 
[2026-07-13 08:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681648384001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":1012113677681616896}} 
[2026-07-13 08:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":130158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479160,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:51:33] local.INFO: GPS data processed {"connection_id":130158,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:51:33] local.INFO: Acknowledgment sent {"connection_id":130158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:51:35] local.INFO: TCP Data received {"connection_id":130361,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:51:35] local.INFO: Processing buffer {"connection_id":130361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:51:35] local.INFO: IMEI packet received {"connection_id":130361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":130361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:51:40] local.INFO: TCP Data received {"connection_id":130361,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:51:40] local.INFO: Processing buffer {"connection_id":130361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:51:40] local.INFO: IMEI packet received {"connection_id":130361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":130361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:51:41] local.INFO: TCP Data received {"connection_id":130361,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f597a7b38012d7f914005afd9380006011b23..."} 
[2026-07-13 08:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597a7b38012d7f914005afd9380006011b23..."} 
[2026-07-13 08:51:41] local.INFO: Processing buffer {"connection_id":130361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597a7b38012d7f914005afd9380006011b23..."} 
[2026-07-13 08:51:41] local.INFO: Packet analysis {"connection_id":130361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:51:41] local.INFO: Extracted packet for processing {"connection_id":130361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:51:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":6,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681555456001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783912627000,"timestamp_ms":1783912627000,"timestamp_seconds":1783912627,"priority":1,"record_length":96,"hex_timestamp":"0000019f597a7b38"} 
[2026-07-13 08:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681555456001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681555456001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:51:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:51:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681555456001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":130361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:51:41] local.INFO: GPS data processed {"connection_id":130361,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:51:41] local.INFO: Acknowledgment sent {"connection_id":130361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:51:43] local.INFO: TCP Data received {"connection_id":131155,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:51:43] local.INFO: Processing buffer {"connection_id":131155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:51:43] local.INFO: IMEI packet received {"connection_id":131155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":131155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:51:46] local.INFO: TCP Data received {"connection_id":131155,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:51:46] local.INFO: Processing buffer {"connection_id":131155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:51:46] local.INFO: IMEI packet received {"connection_id":131155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":131155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:51:48] local.INFO: TCP Data received {"connection_id":131155,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:51:48] local.INFO: Processing buffer {"connection_id":131155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:51:48] local.INFO: IMEI packet received {"connection_id":131155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":131155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:51:49] local.INFO: TCP Data received {"connection_id":131155,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f597da7b8012d7abe0005ebb948000d00f72e..."} 
[2026-07-13 08:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597da7b8012d7abe0005ebb948000d00f72e..."} 
[2026-07-13 08:51:49] local.INFO: Processing buffer {"connection_id":131155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597da7b8012d7abe0005ebb948000d00f72e..."} 
[2026-07-13 08:51:49] local.INFO: Packet analysis {"connection_id":131155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597d"} 
[2026-07-13 08:51:49] local.INFO: Extracted packet for processing {"connection_id":131155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597d"} 
[2026-07-13 08:51:49] local.INFO: GPS Element Parsed {"raw_longitude":763018752,"raw_latitude":99334472,"longitude_deg":76.3018752,"latitude_deg":9.9334472,"altitude":13,"angle":247,"satellites":46,"speed":34,"hex_longitude":"2d7abe00","hex_latitude":"05ebb948","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681683200001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105667602914738176,"note":"Value kept but may cause issues"} 
[2026-07-13 08:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854006524096923648,"note":"Value kept but may cause issues"} 
[2026-07-13 08:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783912835000,"timestamp_ms":1783912835000,"timestamp_seconds":1783912835,"priority":1,"record_length":96,"hex_timestamp":"0000019f597da7b8"} 
[2026-07-13 08:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-13 08:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08: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-07-13 08:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681683200001,"66":12950,"155":206,"87":13824,"24":34,"16":105667602914738176,"45":8854006524096923648},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-13 08:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681683200001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:51:49] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 08:51:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105667602914738176,"km_value":105667602914738.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854006524096923648,"description":"Unknown IO ID 45"} 
[2026-07-13 08:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681683200001,"power":12950,"unknown_155":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8854006524096923648}} 
[2026-07-13 08:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":131155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:51:49] local.INFO: GPS data processed {"connection_id":131155,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:51:49] local.INFO: Acknowledgment sent {"connection_id":131155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:51:50] local.INFO: TCP Data received {"connection_id":131155,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f597dcec8012d7a9c8005ebac30000a00f82e..."} 
[2026-07-13 08:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597dcec8012d7a9c8005ebac30000a00f82e..."} 
[2026-07-13 08:51:50] local.INFO: Processing buffer {"connection_id":131155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597dcec8012d7a9c8005ebac30000a00f82e..."} 
[2026-07-13 08:51:50] local.INFO: Packet analysis {"connection_id":131155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597d"} 
[2026-07-13 08:51:50] local.INFO: Extracted packet for processing {"connection_id":131155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597d"} 
[2026-07-13 08:51:50] local.INFO: GPS Element Parsed {"raw_longitude":763010176,"raw_latitude":99331120,"longitude_deg":76.3010176,"latitude_deg":9.933112,"altitude":10,"angle":248,"satellites":46,"speed":35,"hex_longitude":"2d7a9c80","hex_latitude":"05ebac30","is_valid_coordinates":true} 
[2026-07-13 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-07-13 08:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681685760001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105668045296369664,"note":"Value kept but may cause issues"} 
[2026-07-13 08:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8844506743631857664,"note":"Value kept but may cause issues"} 
[2026-07-13 08:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783912845000,"timestamp_ms":1783912845000,"timestamp_seconds":1783912845,"priority":1,"record_length":96,"hex_timestamp":"0000019f597dcec8"} 
[2026-07-13 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-07-13 08: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-07-13 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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-13 08:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 08:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681685760001,"66":13374,"155":206,"87":13824,"24":35,"16":105668045296369664,"45":8844506743631857664},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-13 08:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681685760001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:51:50] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 08:51:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105668045296369664,"km_value":105668045296369.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8844506743631857664,"description":"Unknown IO ID 45"} 
[2026-07-13 08:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681685760001,"power":13374,"unknown_155":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8844506743631857664}} 
[2026-07-13 08:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":131155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479163,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:51:50] local.INFO: GPS data processed {"connection_id":131155,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:51:50] local.INFO: Acknowledgment sent {"connection_id":131155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:52:04] local.INFO: TCP Data received {"connection_id":130158,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f597bc740012d0e0d0007068700001f005d26..."} 
[2026-07-13 08:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597bc740012d0e0d0007068700001f005d26..."} 
[2026-07-13 08:52:04] local.INFO: Processing buffer {"connection_id":130158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597bc740012d0e0d0007068700001f005d26..."} 
[2026-07-13 08:52:04] local.INFO: Packet analysis {"connection_id":130158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597b"} 
[2026-07-13 08:52:04] local.INFO: Extracted packet for processing {"connection_id":130158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597b"} 
[2026-07-13 08:52:04] local.INFO: GPS Element Parsed {"raw_longitude":755895552,"raw_latitude":117868288,"longitude_deg":75.5895552,"latitude_deg":11.7868288,"altitude":31,"angle":93,"satellites":38,"speed":1,"hex_longitude":"2d0e0d00","hex_latitude":"07068700","is_valid_coordinates":true} 
[2026-07-13 08:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681653760001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24164813152190464,"note":"Value kept but may cause issues"} 
[2026-07-13 08:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1012113677681618944,"note":"Value kept but may cause issues"} 
[2026-07-13 08:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783912712000,"timestamp_ms":1783912712000,"timestamp_seconds":1783912712,"priority":1,"record_length":96,"hex_timestamp":"0000019f597bc740"} 
[2026-07-13 08:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-13 08:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130158,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130158,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681653760001,"66":13678,"219":206,"94":10240,"24":1,"16":24164813152190464,"45":1012113677681618944},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-13 08:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681653760001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:52:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-13 08:52:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 08:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24164813152190464,"km_value":24164813152190.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1012113677681618944,"description":"Unknown IO ID 45"} 
[2026-07-13 08:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681653760001,"power":13678,"unknown_219":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":1012113677681618944}} 
[2026-07-13 08:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":130158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479164,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:52:04] local.INFO: GPS data processed {"connection_id":130158,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:52:04] local.INFO: Acknowledgment sent {"connection_id":130158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:52:12] local.INFO: TCP Data received {"connection_id":130361,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f597a7b38012d7f914005afd9380006011b23..."} 
[2026-07-13 08:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597a7b38012d7f914005afd9380006011b23..."} 
[2026-07-13 08:52:12] local.INFO: Processing buffer {"connection_id":130361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597a7b38012d7f914005afd9380006011b23..."} 
[2026-07-13 08:52:12] local.INFO: Packet analysis {"connection_id":130361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:52:12] local.INFO: Extracted packet for processing {"connection_id":130361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:52:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":6,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681555456001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783912627000,"timestamp_ms":1783912627000,"timestamp_seconds":1783912627,"priority":1,"record_length":96,"hex_timestamp":"0000019f597a7b38"} 
[2026-07-13 08:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681555456001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681555456001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:52:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:52:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681555456001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":130361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:52:12] local.INFO: GPS data processed {"connection_id":130361,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:52:12] local.INFO: Acknowledgment sent {"connection_id":130361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:52:21] local.INFO: TCP Data received {"connection_id":131155,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f597df1f0012d7a7b8005eba010000900f92b..."} 
[2026-07-13 08:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597df1f0012d7a7b8005eba010000900f92b..."} 
[2026-07-13 08:52:21] local.INFO: Processing buffer {"connection_id":131155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597df1f0012d7a7b8005eba010000900f92b..."} 
[2026-07-13 08:52:21] local.INFO: Packet analysis {"connection_id":131155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597d"} 
[2026-07-13 08:52:21] local.INFO: Extracted packet for processing {"connection_id":131155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597d"} 
[2026-07-13 08:52:21] local.INFO: GPS Element Parsed {"raw_longitude":763001728,"raw_latitude":99328016,"longitude_deg":76.3001728,"latitude_deg":9.9328016,"altitude":9,"angle":249,"satellites":43,"speed":43,"hex_longitude":"2d7a7b80","hex_latitude":"05eba010","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681688320001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105668474793099264,"note":"Value kept but may cause issues"} 
[2026-07-13 08:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835077331911192576,"note":"Value kept but may cause issues"} 
[2026-07-13 08:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783912854000,"timestamp_ms":1783912854000,"timestamp_seconds":1783912854,"priority":1,"record_length":96,"hex_timestamp":"0000019f597df1f0"} 
[2026-07-13 08:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-13 08:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08: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-07-13 08:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":131155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":131155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":131155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681688320001,"66":13178,"155":206,"87":13824,"24":43,"16":105668474793099264,"45":8835077331911192576},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-13 08:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681688320001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:52:21] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 08:52:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105668474793099264,"km_value":105668474793099.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835077331911192576,"description":"Unknown IO ID 45"} 
[2026-07-13 08:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681688320001,"power":13178,"unknown_155":206,"unknown_87":13824,"ignition":43,"odometer":null,"unknown_45":8835077331911192576}} 
[2026-07-13 08:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":131155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479166,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:52:21] local.INFO: GPS data processed {"connection_id":131155,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:52:21] local.INFO: Acknowledgment sent {"connection_id":131155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:52:27] local.INFO: TCP Data received {"connection_id":130362,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130362,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:52:27] local.INFO: Processing buffer {"connection_id":130362,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:52:27] local.INFO: IMEI packet received {"connection_id":130362,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 08:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":130362,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:52:28] local.INFO: TCP Data received {"connection_id":130362,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130362,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:52:28] local.INFO: Processing buffer {"connection_id":130362,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:52:28] local.INFO: IMEI packet received {"connection_id":130362,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":130362,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:52:33] local.INFO: TCP Data received {"connection_id":130362,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130362,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:52:33] local.INFO: Processing buffer {"connection_id":130362,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:52:33] local.INFO: IMEI packet received {"connection_id":130362,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":130362,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:52:33] local.INFO: TCP Data received {"connection_id":130362,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f597ed480012d0e0cc0070687480028011e27..."} 
[2026-07-13 08:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597ed480012d0e0cc0070687480028011e27..."} 
[2026-07-13 08:52:33] local.INFO: Processing buffer {"connection_id":130362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597ed480012d0e0cc0070687480028011e27..."} 
[2026-07-13 08:52:33] local.INFO: Packet analysis {"connection_id":130362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597e"} 
[2026-07-13 08:52:33] local.INFO: Extracted packet for processing {"connection_id":130362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597e"} 
[2026-07-13 08:52:33] local.INFO: GPS Element Parsed {"raw_longitude":755895488,"raw_latitude":117868360,"longitude_deg":75.5895488,"latitude_deg":11.786836,"altitude":40,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d0e0cc0","hex_latitude":"07068748","is_valid_coordinates":true} 
[2026-07-13 08:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681700096001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24164856101863424,"note":"Value kept but may cause issues"} 
[2026-07-13 08:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1012395152658352128,"note":"Value kept but may cause issues"} 
[2026-07-13 08:52: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-07-13 08:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783912912000,"timestamp_ms":1783912912000,"timestamp_seconds":1783912912,"priority":1,"record_length":96,"hex_timestamp":"0000019f597ed480"} 
[2026-07-13 08:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:52: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-07-13 08:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-13 08:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":130362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":130362,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":130362,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681700096001,"66":14428,"219":206,"94":10240,"24":0,"16":24164856101863424,"45":1012395152658352128},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-13 08:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681700096001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:52:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-13 08:52:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 08:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24164856101863424,"km_value":24164856101863.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1012395152658352128,"description":"Unknown IO ID 45"} 
[2026-07-13 08:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681700096001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":1012395152658352128}} 
[2026-07-13 08:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":130362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479167,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:52:33] local.INFO: GPS data processed {"connection_id":130362,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:52:33] local.INFO: Acknowledgment sent {"connection_id":130362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:52:35] local.INFO: TCP Data received {"connection_id":130159,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:52:35] local.INFO: Processing buffer {"connection_id":130159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:52:35] local.INFO: IMEI packet received {"connection_id":130159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":130159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:52:41] local.INFO: TCP Data received {"connection_id":130159,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:52:41] local.INFO: Processing buffer {"connection_id":130159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:52:41] local.INFO: IMEI packet received {"connection_id":130159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":130159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:52:42] local.INFO: TCP Data received {"connection_id":130159,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f597a7b38012d7f914005afd9380006011b23..."} 
[2026-07-13 08:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597a7b38012d7f914005afd9380006011b23..."} 
[2026-07-13 08:52:42] local.INFO: Processing buffer {"connection_id":130159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597a7b38012d7f914005afd9380006011b23..."} 
[2026-07-13 08:52:42] local.INFO: Packet analysis {"connection_id":130159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:52:42] local.INFO: Extracted packet for processing {"connection_id":130159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597a"} 
[2026-07-13 08:52:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":6,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681555456001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783912627000,"timestamp_ms":1783912627000,"timestamp_seconds":1783912627,"priority":1,"record_length":96,"hex_timestamp":"0000019f597a7b38"} 
[2026-07-13 08:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 08:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681555456001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681555456001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:52:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:52:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681555456001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":130159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:52:42] local.INFO: GPS data processed {"connection_id":130159,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:52:42] local.INFO: Acknowledgment sent {"connection_id":130159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:52:43] local.INFO: TCP Data received {"connection_id":130363,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:52:43] local.INFO: Processing buffer {"connection_id":130363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:52:43] local.INFO: IMEI packet received {"connection_id":130363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":130363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:52:48] local.INFO: TCP Data received {"connection_id":130363,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:52:48] local.INFO: Processing buffer {"connection_id":130363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:52:48] local.INFO: IMEI packet received {"connection_id":130363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":130363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:52:49] local.INFO: TCP Data received {"connection_id":130363,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f597e4010012d7a69c005eb9918000900fb25..."} 
[2026-07-13 08:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597e4010012d7a69c005eb9918000900fb25..."} 
[2026-07-13 08:52:49] local.INFO: Processing buffer {"connection_id":130363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597e4010012d7a69c005eb9918000900fb25..."} 
[2026-07-13 08:52:49] local.INFO: Packet analysis {"connection_id":130363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597e"} 
[2026-07-13 08:52:49] local.INFO: Extracted packet for processing {"connection_id":130363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597e"} 
[2026-07-13 08:52:49] local.INFO: GPS Element Parsed {"raw_longitude":762997184,"raw_latitude":99326232,"longitude_deg":76.2997184,"latitude_deg":9.9326232,"altitude":9,"angle":251,"satellites":37,"speed":0,"hex_longitude":"2d7a69c0","hex_latitude":"05eb9918","is_valid_coordinates":true} 
[2026-07-13 08:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681690624001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105668715311267840,"note":"Value kept but may cause issues"} 
[2026-07-13 08:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8825788657678946304,"note":"Value kept but may cause issues"} 
[2026-07-13 08:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783912874000,"timestamp_ms":1783912874000,"timestamp_seconds":1783912874,"priority":1,"record_length":96,"hex_timestamp":"0000019f597e4010"} 
[2026-07-13 08:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-13 08:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681690624001,"66":12722,"161":206,"87":13824,"24":0,"16":105668715311267840,"45":8825788657678946304},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-13 08:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681690624001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:52:49] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-13 08:52:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105668715311267840,"km_value":105668715311267.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8825788657678946304,"description":"Unknown IO ID 45"} 
[2026-07-13 08:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681690624001,"power":12722,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8825788657678946304}} 
[2026-07-13 08:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":130363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479169,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:52:49] local.INFO: GPS data processed {"connection_id":130363,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:52:49] local.INFO: Acknowledgment sent {"connection_id":130363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:53:04] local.INFO: TCP Data received {"connection_id":130362,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f597f1ad0012d0e0e40070687680024004328..."} 
[2026-07-13 08:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597f1ad0012d0e0e40070687680024004328..."} 
[2026-07-13 08:53:04] local.INFO: Processing buffer {"connection_id":130362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597f1ad0012d0e0e40070687680024004328..."} 
[2026-07-13 08:53:04] local.INFO: Packet analysis {"connection_id":130362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597f"} 
[2026-07-13 08:53:04] local.INFO: Extracted packet for processing {"connection_id":130362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597f"} 
[2026-07-13 08:53:04] local.INFO: GPS Element Parsed {"raw_longitude":755895872,"raw_latitude":117868392,"longitude_deg":75.5895872,"latitude_deg":11.7868392,"altitude":36,"angle":67,"satellites":40,"speed":2,"hex_longitude":"2d0e0e40","hex_latitude":"07068768","is_valid_coordinates":true} 
[2026-07-13 08:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681705472001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24164873281732608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1012395152658352128,"note":"Value kept but may cause issues"} 
[2026-07-13 08:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783912930000,"timestamp_ms":1783912930000,"timestamp_seconds":1783912930,"priority":1,"record_length":96,"hex_timestamp":"0000019f597f1ad0"} 
[2026-07-13 08:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 08:53: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-07-13 08:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130362,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130362,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681705472001,"66":14515,"219":206,"94":10240,"24":2,"16":24164873281732608,"45":1012395152658352128},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-13 08:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681705472001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:53:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-13 08:53:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 08:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24164873281732608,"km_value":24164873281732.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1012395152658352128,"description":"Unknown IO ID 45"} 
[2026-07-13 08:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681705472001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":1012395152658352128}} 
[2026-07-13 08:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":130362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479170,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:53:04] local.INFO: GPS data processed {"connection_id":130362,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:53:04] local.INFO: Acknowledgment sent {"connection_id":130362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:53:14] local.INFO: TCP Data received {"connection_id":130159,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f597f1300012d7f914005afd9380006011b24..."} 
[2026-07-13 08:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597f1300012d7f914005afd9380006011b24..."} 
[2026-07-13 08:53:14] local.INFO: Processing buffer {"connection_id":130159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597f1300012d7f914005afd9380006011b24..."} 
[2026-07-13 08:53:14] local.INFO: Packet analysis {"connection_id":130159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597f"} 
[2026-07-13 08:53:14] local.INFO: Extracted packet for processing {"connection_id":130159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597f"} 
[2026-07-13 08:53:14] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":6,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681632512001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783912928000,"timestamp_ms":1783912928000,"timestamp_seconds":1783912928,"priority":1,"record_length":96,"hex_timestamp":"0000019f597f1300"} 
[2026-07-13 08:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:53:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:53:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681632512001,"66":25028,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681632512001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:53:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:53:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681632512001,"power":25028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":130159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:53:14] local.INFO: GPS data processed {"connection_id":130159,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:53:14] local.INFO: Acknowledgment sent {"connection_id":130159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:53:20] local.INFO: TCP Data received {"connection_id":130363,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f597e9218012d7a640005eb97b8000a00fa2c..."} 
[2026-07-13 08:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597e9218012d7a640005eb97b8000a00fa2c..."} 
[2026-07-13 08:53:20] local.INFO: Processing buffer {"connection_id":130363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597e9218012d7a640005eb97b8000a00fa2c..."} 
[2026-07-13 08:53:20] local.INFO: Packet analysis {"connection_id":130363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597e"} 
[2026-07-13 08:53:20] local.INFO: Extracted packet for processing {"connection_id":130363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597e"} 
[2026-07-13 08:53:20] local.INFO: GPS Element Parsed {"raw_longitude":762995712,"raw_latitude":99325880,"longitude_deg":76.2995712,"latitude_deg":9.932588,"altitude":10,"angle":250,"satellites":44,"speed":15,"hex_longitude":"2d7a6400","hex_latitude":"05eb97b8","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681695744001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105668788325711872,"note":"Value kept but may cause issues"} 
[2026-07-13 08:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820792476841875456,"note":"Value kept but may cause issues"} 
[2026-07-13 08:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783912895000,"timestamp_ms":1783912895000,"timestamp_seconds":1783912895,"priority":1,"record_length":96,"hex_timestamp":"0000019f597e9218"} 
[2026-07-13 08:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-13 08:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08: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-07-13 08:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681695744001,"66":12863,"161":206,"87":13824,"24":15,"16":105668788325711872,"45":8820792476841875456},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-13 08:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681695744001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:53:20] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-13 08:53:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105668788325711872,"km_value":105668788325711.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820792476841875456,"description":"Unknown IO ID 45"} 
[2026-07-13 08:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681695744001,"power":12863,"unknown_161":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8820792476841875456}} 
[2026-07-13 08:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":130363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479172,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:53:20] local.INFO: GPS data processed {"connection_id":130363,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:53:20] local.INFO: Acknowledgment sent {"connection_id":130363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:53:27] local.INFO: TCP Data received {"connection_id":131156,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131156,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:53:27] local.INFO: Processing buffer {"connection_id":131156,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:53:27] local.INFO: IMEI packet received {"connection_id":131156,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 08:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":131156,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:53:28] local.INFO: TCP Data received {"connection_id":131156,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131156,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:53:28] local.INFO: Processing buffer {"connection_id":131156,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:53:28] local.INFO: IMEI packet received {"connection_id":131156,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":131156,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:53:33] local.INFO: TCP Data received {"connection_id":131156,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131156,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:53:33] local.INFO: Processing buffer {"connection_id":131156,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:53:33] local.INFO: IMEI packet received {"connection_id":131156,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":131156,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:53:33] local.INFO: TCP Data received {"connection_id":131156,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59800918012d0e3c400706c1880024000827..."} 
[2026-07-13 08:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59800918012d0e3c400706c1880024000827..."} 
[2026-07-13 08:53:33] local.INFO: Processing buffer {"connection_id":131156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59800918012d0e3c400706c1880024000827..."} 
[2026-07-13 08:53:33] local.INFO: Packet analysis {"connection_id":131156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5980"} 
[2026-07-13 08:53:33] local.INFO: Extracted packet for processing {"connection_id":131156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5980"} 
[2026-07-13 08:53:33] local.INFO: GPS Element Parsed {"raw_longitude":755907648,"raw_latitude":117883272,"longitude_deg":75.5907648,"latitude_deg":11.7883272,"altitude":36,"angle":8,"satellites":39,"speed":24,"hex_longitude":"2d0e3c40","hex_latitude":"0706c188","is_valid_coordinates":true} 
[2026-07-13 08:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681722624001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24166071577608192,"note":"Value kept but may cause issues"} 
[2026-07-13 08:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023513414240358400,"note":"Value kept but may cause issues"} 
[2026-07-13 08:53: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-07-13 08:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783912991000,"timestamp_ms":1783912991000,"timestamp_seconds":1783912991,"priority":1,"record_length":96,"hex_timestamp":"0000019f59800918"} 
[2026-07-13 08:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:53: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-07-13 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-13 08:53: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-07-13 08:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":131156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":131156,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":131156,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681722624001,"66":14407,"219":206,"94":10240,"24":24,"16":24166071577608192,"45":1023513414240358400},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-13 08:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681722624001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:53:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-13 08:53:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 08:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24166071577608192,"km_value":24166071577608.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023513414240358400,"description":"Unknown IO ID 45"} 
[2026-07-13 08:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681722624001,"power":14407,"unknown_219":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":1023513414240358400}} 
[2026-07-13 08:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":131156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479173,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:53:33] local.INFO: GPS data processed {"connection_id":131156,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:53:33] local.INFO: Acknowledgment sent {"connection_id":131156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:53:35] local.INFO: TCP Data received {"connection_id":131157,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:53:35] local.INFO: Processing buffer {"connection_id":131157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:53:35] local.INFO: IMEI packet received {"connection_id":131157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":131157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:53:40] local.INFO: TCP Data received {"connection_id":131157,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:53:40] local.INFO: Processing buffer {"connection_id":131157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:53:40] local.INFO: IMEI packet received {"connection_id":131157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":131157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:53:41] local.INFO: TCP Data received {"connection_id":131157,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f597f1300012d7f914005afd9380006011b24..."} 
[2026-07-13 08:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597f1300012d7f914005afd9380006011b24..."} 
[2026-07-13 08:53:41] local.INFO: Processing buffer {"connection_id":131157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597f1300012d7f914005afd9380006011b24..."} 
[2026-07-13 08:53:41] local.INFO: Packet analysis {"connection_id":131157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597f"} 
[2026-07-13 08:53:41] local.INFO: Extracted packet for processing {"connection_id":131157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597f"} 
[2026-07-13 08:53:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":6,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681632512001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783912928000,"timestamp_ms":1783912928000,"timestamp_seconds":1783912928,"priority":1,"record_length":96,"hex_timestamp":"0000019f597f1300"} 
[2026-07-13 08:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681632512001,"66":25028,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681632512001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:53:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:53:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681632512001,"power":25028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":131157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:53:41] local.INFO: GPS data processed {"connection_id":131157,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:53:41] local.INFO: Acknowledgment sent {"connection_id":131157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:53:43] local.INFO: TCP Data received {"connection_id":130161,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130161,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:53:43] local.INFO: Processing buffer {"connection_id":130161,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:53:43] local.INFO: IMEI packet received {"connection_id":130161,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":130161,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:53:48] local.INFO: TCP Data received {"connection_id":130161,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130161,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:53:48] local.INFO: Processing buffer {"connection_id":130161,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:53:48] local.INFO: IMEI packet received {"connection_id":130161,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":130161,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:53:49] local.INFO: TCP Data received {"connection_id":130161,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f597eb540012d7a57c005eb93f8000a010529..."} 
[2026-07-13 08:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597eb540012d7a57c005eb93f8000a010529..."} 
[2026-07-13 08:53:49] local.INFO: Processing buffer {"connection_id":130161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597eb540012d7a57c005eb93f8000a010529..."} 
[2026-07-13 08:53:49] local.INFO: Packet analysis {"connection_id":130161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597e"} 
[2026-07-13 08:53:49] local.INFO: Extracted packet for processing {"connection_id":130161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597e"} 
[2026-07-13 08:53:49] local.INFO: GPS Element Parsed {"raw_longitude":762992576,"raw_latitude":99324920,"longitude_deg":76.2992576,"latitude_deg":9.932492,"altitude":10,"angle":261,"satellites":41,"speed":12,"hex_longitude":"2d7a57c0","hex_latitude":"05eb93f8","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681701120001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105668947239501824,"note":"Value kept but may cause issues"} 
[2026-07-13 08:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819173995725699072,"note":"Value kept but may cause issues"} 
[2026-07-13 08:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783912904000,"timestamp_ms":1783912904000,"timestamp_seconds":1783912904,"priority":1,"record_length":96,"hex_timestamp":"0000019f597eb540"} 
[2026-07-13 08:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08: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-07-13 08: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-13 08:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08: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-07-13 08:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681701120001,"66":11950,"161":206,"87":13824,"24":12,"16":105668947239501824,"45":8819173995725699072},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-13 08:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681701120001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:53:49] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-13 08:53:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105668947239501824,"km_value":105668947239501.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819173995725699072,"description":"Unknown IO ID 45"} 
[2026-07-13 08:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681701120001,"power":11950,"unknown_161":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8819173995725699072}} 
[2026-07-13 08:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":130161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479175,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:53:49] local.INFO: GPS data processed {"connection_id":130161,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:53:49] local.INFO: Acknowledgment sent {"connection_id":130161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:54:05] local.INFO: TCP Data received {"connection_id":131156,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59803028012d0e3e800706d6500026016326..."} 
[2026-07-13 08:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59803028012d0e3e800706d6500026016326..."} 
[2026-07-13 08:54:05] local.INFO: Processing buffer {"connection_id":131156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59803028012d0e3e800706d6500026016326..."} 
[2026-07-13 08:54:05] local.INFO: Packet analysis {"connection_id":131156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5980"} 
[2026-07-13 08:54:05] local.INFO: Extracted packet for processing {"connection_id":131156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5980"} 
[2026-07-13 08:54:05] local.INFO: GPS Element Parsed {"raw_longitude":755908224,"raw_latitude":117888592,"longitude_deg":75.5908224,"latitude_deg":11.7888592,"altitude":38,"angle":355,"satellites":38,"speed":10,"hex_longitude":"2d0e3e80","hex_latitude":"0706d650","is_valid_coordinates":true} 
[2026-07-13 08:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681725696001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24166333570613248,"note":"Value kept but may cause issues"} 
[2026-07-13 08:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025765214055925760,"note":"Value kept but may cause issues"} 
[2026-07-13 08:54: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-07-13 08:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783913001000,"timestamp_ms":1783913001000,"timestamp_seconds":1783913001,"priority":1,"record_length":96,"hex_timestamp":"0000019f59803028"} 
[2026-07-13 08:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-13 08:54: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-07-13 08:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":131156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":131156,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":131156,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681725696001,"66":14450,"219":206,"94":10240,"24":10,"16":24166333570613248,"45":1025765214055925760},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-13 08:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681725696001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:54:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-13 08:54:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 08:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24166333570613248,"km_value":24166333570613.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025765214055925760,"description":"Unknown IO ID 45"} 
[2026-07-13 08:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681725696001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":1025765214055925760}} 
[2026-07-13 08:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":131156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479176,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:54:05] local.INFO: GPS data processed {"connection_id":131156,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:54:05] local.INFO: Acknowledgment sent {"connection_id":131156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:54:12] local.INFO: TCP Data received {"connection_id":131157,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f597f1300012d7f914005afd9380006011b24..."} 
[2026-07-13 08:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597f1300012d7f914005afd9380006011b24..."} 
[2026-07-13 08:54:12] local.INFO: Processing buffer {"connection_id":131157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597f1300012d7f914005afd9380006011b24..."} 
[2026-07-13 08:54:12] local.INFO: Packet analysis {"connection_id":131157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597f"} 
[2026-07-13 08:54:12] local.INFO: Extracted packet for processing {"connection_id":131157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597f"} 
[2026-07-13 08:54:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":6,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681632512001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783912928000,"timestamp_ms":1783912928000,"timestamp_seconds":1783912928,"priority":1,"record_length":96,"hex_timestamp":"0000019f597f1300"} 
[2026-07-13 08:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681632512001,"66":25028,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681632512001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:54:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:54:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681632512001,"power":25028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":131157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:54:12] local.INFO: GPS data processed {"connection_id":131157,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:54:12] local.INFO: Acknowledgment sent {"connection_id":131157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:54:20] local.INFO: TCP Data received {"connection_id":130161,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f597ec0f8012d7a548005eb93e0000b011124..."} 
[2026-07-13 08:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597ec0f8012d7a548005eb93e0000b011124..."} 
[2026-07-13 08:54:20] local.INFO: Processing buffer {"connection_id":130161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597ec0f8012d7a548005eb93e0000b011124..."} 
[2026-07-13 08:54:20] local.INFO: Packet analysis {"connection_id":130161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597e"} 
[2026-07-13 08:54:20] local.INFO: Extracted packet for processing {"connection_id":130161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597e"} 
[2026-07-13 08:54:20] local.INFO: GPS Element Parsed {"raw_longitude":762991744,"raw_latitude":99324896,"longitude_deg":76.2991744,"latitude_deg":9.9324896,"altitude":11,"angle":273,"satellites":36,"speed":11,"hex_longitude":"2d7a5480","hex_latitude":"05eb93e0","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681703424001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105668985894207488,"note":"Value kept but may cause issues"} 
[2026-07-13 08:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815725927260747776,"note":"Value kept but may cause issues"} 
[2026-07-13 08:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783912907000,"timestamp_ms":1783912907000,"timestamp_seconds":1783912907,"priority":1,"record_length":96,"hex_timestamp":"0000019f597ec0f8"} 
[2026-07-13 08:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08: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-07-13 08: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":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-13 08:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08: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-07-13 08:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681703424001,"66":12613,"161":206,"87":13824,"24":11,"16":105668985894207488,"45":8815725927260747776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-13 08:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681703424001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:54:20] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-13 08:54:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105668985894207488,"km_value":105668985894207.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815725927260747776,"description":"Unknown IO ID 45"} 
[2026-07-13 08:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681703424001,"power":12613,"unknown_161":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8815725927260747776}} 
[2026-07-13 08:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":130161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:54:20] local.INFO: GPS data processed {"connection_id":130161,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:54:20] local.INFO: Acknowledgment sent {"connection_id":130161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:54:26] local.INFO: TCP Data received {"connection_id":130364,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130364,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:54:26] local.INFO: Processing buffer {"connection_id":130364,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:54:26] local.INFO: IMEI packet received {"connection_id":130364,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 08:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":130364,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:54:27] local.INFO: TCP Data received {"connection_id":130364,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130364,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:54:27] local.INFO: Processing buffer {"connection_id":130364,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:54:27] local.INFO: IMEI packet received {"connection_id":130364,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":130364,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:54:31] local.INFO: TCP Data received {"connection_id":130364,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130364,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:54:31] local.INFO: Processing buffer {"connection_id":130364,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:54:31] local.INFO: IMEI packet received {"connection_id":130364,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":130364,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:54:31] local.INFO: TCP Data received {"connection_id":130364,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59811e70012d0e03c0070705380026012227..."} 
[2026-07-13 08:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59811e70012d0e03c0070705380026012227..."} 
[2026-07-13 08:54:31] local.INFO: Processing buffer {"connection_id":130364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59811e70012d0e03c0070705380026012227..."} 
[2026-07-13 08:54:31] local.INFO: Packet analysis {"connection_id":130364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5981"} 
[2026-07-13 08:54:31] local.INFO: Extracted packet for processing {"connection_id":130364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5981"} 
[2026-07-13 08:54:31] local.INFO: GPS Element Parsed {"raw_longitude":755893184,"raw_latitude":117900600,"longitude_deg":75.5893184,"latitude_deg":11.79006,"altitude":38,"angle":290,"satellites":39,"speed":18,"hex_longitude":"2d0e03c0","hex_latitude":"07070538","is_valid_coordinates":true} 
[2026-07-13 08:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681742080001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24167574816161792,"note":"Value kept but may cause issues"} 
[2026-07-13 08:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1014646952480083968,"note":"Value kept but may cause issues"} 
[2026-07-13 08:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783913062000,"timestamp_ms":1783913062000,"timestamp_seconds":1783913062,"priority":1,"record_length":96,"hex_timestamp":"0000019f59811e70"} 
[2026-07-13 08:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08: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-07-13 08:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":130364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":130364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":130364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681742080001,"66":14559,"219":206,"94":10240,"24":18,"16":24167574816161792,"45":1014646952480083968},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-13 08:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681742080001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:54:31] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-13 08:54:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 08:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24167574816161792,"km_value":24167574816161.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1014646952480083968,"description":"Unknown IO ID 45"} 
[2026-07-13 08:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681742080001,"power":14559,"unknown_219":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":1014646952480083968}} 
[2026-07-13 08:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":130364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479179,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:54:31] local.INFO: GPS data processed {"connection_id":130364,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:54:31] local.INFO: Acknowledgment sent {"connection_id":130364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:54:35] local.INFO: TCP Data received {"connection_id":132473,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:54:35] local.INFO: Processing buffer {"connection_id":132473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:54:35] local.INFO: IMEI packet received {"connection_id":132473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":132473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:54:40] local.INFO: TCP Data received {"connection_id":132473,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:54:40] local.INFO: Processing buffer {"connection_id":132473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:54:40] local.INFO: IMEI packet received {"connection_id":132473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":132473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:54:41] local.INFO: TCP Data received {"connection_id":132473,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f597f1300012d7f914005afd9380006011b24..."} 
[2026-07-13 08:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597f1300012d7f914005afd9380006011b24..."} 
[2026-07-13 08:54:41] local.INFO: Processing buffer {"connection_id":132473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597f1300012d7f914005afd9380006011b24..."} 
[2026-07-13 08:54:41] local.INFO: Packet analysis {"connection_id":132473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597f"} 
[2026-07-13 08:54:41] local.INFO: Extracted packet for processing {"connection_id":132473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597f"} 
[2026-07-13 08:54:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":6,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681632512001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783912928000,"timestamp_ms":1783912928000,"timestamp_seconds":1783912928,"priority":1,"record_length":96,"hex_timestamp":"0000019f597f1300"} 
[2026-07-13 08:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681632512001,"66":25028,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681632512001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:54:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:54:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681632512001,"power":25028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":132473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:54:41] local.INFO: GPS data processed {"connection_id":132473,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:54:41] local.INFO: Acknowledgment sent {"connection_id":132473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:54:48] local.INFO: TCP Data received {"connection_id":130365,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:54:48] local.INFO: Processing buffer {"connection_id":130365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:54:48] local.INFO: IMEI packet received {"connection_id":130365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":130365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:54:53] local.INFO: TCP Data received {"connection_id":130365,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:54:53] local.INFO: Processing buffer {"connection_id":130365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:54:53] local.INFO: IMEI packet received {"connection_id":130365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":130365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:54:54] local.INFO: TCP Data received {"connection_id":130365,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f598116a0012d79fbc005ec67e8000d015828..."} 
[2026-07-13 08:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598116a0012d79fbc005ec67e8000d015828..."} 
[2026-07-13 08:54:54] local.INFO: Processing buffer {"connection_id":130365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598116a0012d79fbc005ec67e8000d015828..."} 
[2026-07-13 08:54:54] local.INFO: Packet analysis {"connection_id":130365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5981"} 
[2026-07-13 08:54:54] local.INFO: Extracted packet for processing {"connection_id":130365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5981"} 
[2026-07-13 08:54:54] local.INFO: GPS Element Parsed {"raw_longitude":762969024,"raw_latitude":99379176,"longitude_deg":76.2969024,"latitude_deg":9.9379176,"altitude":13,"angle":344,"satellites":40,"speed":35,"hex_longitude":"2d79fbc0","hex_latitude":"05ec67e8","is_valid_coordinates":true} 
[2026-07-13 08:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681740032001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105671884997132288,"note":"Value kept but may cause issues"} 
[2026-07-13 08:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792996822903003136,"note":"Value kept but may cause issues"} 
[2026-07-13 08:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783913060000,"timestamp_ms":1783913060000,"timestamp_seconds":1783913060,"priority":1,"record_length":96,"hex_timestamp":"0000019f598116a0"} 
[2026-07-13 08:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:54: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-07-13 08: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":51,"data_length":795,"current_offset":136} 
[2026-07-13 08:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681740032001,"66":13254,"156":206,"87":13824,"24":35,"16":105671884997132288,"45":8792996822903003136},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-13 08:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681740032001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:54:54] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-13 08:54:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105671884997132288,"km_value":105671884997132.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792996822903003136,"description":"Unknown IO ID 45"} 
[2026-07-13 08:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681740032001,"power":13254,"unknown_156":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8792996822903003136}} 
[2026-07-13 08:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":130365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479181,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:54:54] local.INFO: GPS data processed {"connection_id":130365,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:54:54] local.INFO: Acknowledgment sent {"connection_id":130365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:54:56] local.INFO: TCP Data received {"connection_id":130365,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59812e10012d79f80005ec7588000d01662b..."} 
[2026-07-13 08:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59812e10012d79f80005ec7588000d01662b..."} 
[2026-07-13 08:54:56] local.INFO: Processing buffer {"connection_id":130365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59812e10012d79f80005ec7588000d01662b..."} 
[2026-07-13 08:54:56] local.INFO: Packet analysis {"connection_id":130365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5981"} 
[2026-07-13 08:54:56] local.INFO: Extracted packet for processing {"connection_id":130365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5981"} 
[2026-07-13 08:54:56] local.INFO: GPS Element Parsed {"raw_longitude":762968064,"raw_latitude":99382664,"longitude_deg":76.2968064,"latitude_deg":9.9382664,"altitude":13,"angle":358,"satellites":43,"speed":9,"hex_longitude":"2d79f800","hex_latitude":"05ec7588","is_valid_coordinates":true} 
[2026-07-13 08:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681743360001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105672061090791424,"note":"Value kept but may cause issues"} 
[2026-07-13 08:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789830229417256960,"note":"Value kept but may cause issues"} 
[2026-07-13 08:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783913066000,"timestamp_ms":1783913066000,"timestamp_seconds":1783913066,"priority":1,"record_length":96,"hex_timestamp":"0000019f59812e10"} 
[2026-07-13 08:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-13 08:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08: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-07-13 08:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":130365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":130365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":130365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681743360001,"66":12798,"157":206,"87":13824,"24":9,"16":105672061090791424,"45":8789830229417256960},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 08:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681743360001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:54:56] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 08:54:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105672061090791424,"km_value":105672061090791.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789830229417256960,"description":"Unknown IO ID 45"} 
[2026-07-13 08:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681743360001,"power":12798,"unknown_157":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8789830229417256960}} 
[2026-07-13 08:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":130365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479182,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:54:56] local.INFO: GPS data processed {"connection_id":130365,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:54:56] local.INFO: Acknowledgment sent {"connection_id":130365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:55:03] local.INFO: TCP Data received {"connection_id":130364,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59812a28012d0dfe40070706380026010b27..."} 
[2026-07-13 08:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59812a28012d0dfe40070706380026010b27..."} 
[2026-07-13 08:55:03] local.INFO: Processing buffer {"connection_id":130364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59812a28012d0dfe40070706380026010b27..."} 
[2026-07-13 08:55:03] local.INFO: Packet analysis {"connection_id":130364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5981"} 
[2026-07-13 08:55:03] local.INFO: Extracted packet for processing {"connection_id":130364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5981"} 
[2026-07-13 08:55:03] local.INFO: GPS Element Parsed {"raw_longitude":755891776,"raw_latitude":117900856,"longitude_deg":75.5891776,"latitude_deg":11.7900856,"altitude":38,"angle":267,"satellites":39,"speed":19,"hex_longitude":"2d0dfe40","hex_latitude":"07070638","is_valid_coordinates":true} 
[2026-07-13 08:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681743872001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24167643535638528,"note":"Value kept but may cause issues"} 
[2026-07-13 08:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009861877876209664,"note":"Value kept but may cause issues"} 
[2026-07-13 08:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783913065000,"timestamp_ms":1783913065000,"timestamp_seconds":1783913065,"priority":1,"record_length":96,"hex_timestamp":"0000019f59812a28"} 
[2026-07-13 08:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-13 08:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":130364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":130364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":130364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681743872001,"66":14352,"219":206,"94":10240,"24":19,"16":24167643535638528,"45":1009861877876209664},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-13 08:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681743872001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:55:03] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-13 08:55:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 08:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24167643535638528,"km_value":24167643535638.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009861877876209664,"description":"Unknown IO ID 45"} 
[2026-07-13 08:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681743872001,"power":14352,"unknown_219":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":1009861877876209664}} 
[2026-07-13 08:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":130364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479183,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:55:03] local.INFO: GPS data processed {"connection_id":130364,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:55:03] local.INFO: Acknowledgment sent {"connection_id":130364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:55:10] local.INFO: TCP Data received {"connection_id":132474,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:55:10] local.INFO: Processing buffer {"connection_id":132474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:55:10] local.INFO: IMEI packet received {"connection_id":132474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 08:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":132474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:55:12] local.INFO: TCP Data received {"connection_id":132473,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f597f1300012d7f914005afd9380006011b24..."} 
[2026-07-13 08:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597f1300012d7f914005afd9380006011b24..."} 
[2026-07-13 08:55:12] local.INFO: Processing buffer {"connection_id":132473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597f1300012d7f914005afd9380006011b24..."} 
[2026-07-13 08:55:12] local.INFO: Packet analysis {"connection_id":132473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597f"} 
[2026-07-13 08:55:12] local.INFO: Extracted packet for processing {"connection_id":132473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597f"} 
[2026-07-13 08:55:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":6,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681632512001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783912928000,"timestamp_ms":1783912928000,"timestamp_seconds":1783912928,"priority":1,"record_length":96,"hex_timestamp":"0000019f597f1300"} 
[2026-07-13 08:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681632512001,"66":25028,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681632512001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:55:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:55:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681632512001,"power":25028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":132473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:55:12] local.INFO: GPS data processed {"connection_id":132473,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:55:12] local.INFO: Acknowledgment sent {"connection_id":132473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:55:27] local.INFO: TCP Data received {"connection_id":130365,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f598131f8012d79f84005ec7630000d00102b..."} 
[2026-07-13 08:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598131f8012d79f84005ec7630000d00102b..."} 
[2026-07-13 08:55:27] local.INFO: Processing buffer {"connection_id":130365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598131f8012d79f84005ec7630000d00102b..."} 
[2026-07-13 08:55:27] local.INFO: Packet analysis {"connection_id":130365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5981"} 
[2026-07-13 08:55:27] local.INFO: Extracted packet for processing {"connection_id":130365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5981"} 
[2026-07-13 08:55:27] local.INFO: GPS Element Parsed {"raw_longitude":762968128,"raw_latitude":99382832,"longitude_deg":76.2968128,"latitude_deg":9.9382832,"altitude":13,"angle":16,"satellites":43,"speed":6,"hex_longitude":"2d79f840","hex_latitude":"05ec7630","is_valid_coordinates":true} 
[2026-07-13 08:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681744896001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105672069680726016,"note":"Value kept but may cause issues"} 
[2026-07-13 08:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788774698255484928,"note":"Value kept but may cause issues"} 
[2026-07-13 08:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783913067000,"timestamp_ms":1783913067000,"timestamp_seconds":1783913067,"priority":1,"record_length":96,"hex_timestamp":"0000019f598131f8"} 
[2026-07-13 08:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-13 08:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":130365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":130365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":130365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681744896001,"66":12798,"157":206,"87":13824,"24":6,"16":105672069680726016,"45":8788774698255484928},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 08:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681744896001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:55:27] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 08:55:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105672069680726016,"km_value":105672069680726.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788774698255484928,"description":"Unknown IO ID 45"} 
[2026-07-13 08:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681744896001,"power":12798,"unknown_157":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8788774698255484928}} 
[2026-07-13 08:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":130365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479185,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:55:27] local.INFO: GPS data processed {"connection_id":130365,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:55:27] local.INFO: Acknowledgment sent {"connection_id":130365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:55:28] local.INFO: TCP Data received {"connection_id":130366,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130366,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:55:28] local.INFO: Processing buffer {"connection_id":130366,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:55:28] local.INFO: IMEI packet received {"connection_id":130366,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 08:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":130366,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:55:33] local.INFO: TCP Data received {"connection_id":130366,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130366,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:55:33] local.INFO: Processing buffer {"connection_id":130366,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:55:33] local.INFO: IMEI packet received {"connection_id":130366,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":130366,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:55:34] local.INFO: TCP Data received {"connection_id":130366,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f598139c8012d0df500070704480027010027..."} 
[2026-07-13 08:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598139c8012d0df500070704480027010027..."} 
[2026-07-13 08:55:34] local.INFO: Processing buffer {"connection_id":130366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598139c8012d0df500070704480027010027..."} 
[2026-07-13 08:55:34] local.INFO: Packet analysis {"connection_id":130366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5981"} 
[2026-07-13 08:55:34] local.INFO: Extracted packet for processing {"connection_id":130366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5981"} 
[2026-07-13 08:55:34] local.INFO: GPS Element Parsed {"raw_longitude":755889408,"raw_latitude":117900360,"longitude_deg":75.5889408,"latitude_deg":11.790036,"altitude":39,"angle":256,"satellites":39,"speed":29,"hex_longitude":"2d0df500","hex_latitude":"07070448","is_valid_coordinates":true} 
[2026-07-13 08:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681744640001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24167759499755520,"note":"Value kept but may cause issues"} 
[2026-07-13 08:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1008313765504366592,"note":"Value kept but may cause issues"} 
[2026-07-13 08:55: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-07-13 08:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783913069000,"timestamp_ms":1783913069000,"timestamp_seconds":1783913069,"priority":1,"record_length":96,"hex_timestamp":"0000019f598139c8"} 
[2026-07-13 08:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:55: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-07-13 08: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":16,"data_length":795,"current_offset":136} 
[2026-07-13 08:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146368,"note":"Value kept but may cause issues"} 
[2026-07-13 08:55:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-13 08:55:34] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-13 08:55:34] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503968385007616,"note":"Value kept but may cause issues"} 
[2026-07-13 08:55:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":7071777366418128906,"note":"Value kept but may cause issues"} 
[2026-07-13 08:55:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-13 08:55:34] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2159599617,"note":"Value kept but may cause issues"} 
[2026-07-13 08:55:34] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639410753777627,"note":"Value kept but may cause issues"} 
[2026-07-13 08:55:34] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6557504944541597952,"note":"Value kept but may cause issues"} 
[2026-07-13 08:55:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":802881742,"corrected_to":0} 
[2026-07-13 08:55:34] local.WARNING: Large IO value detected {"io_id":180,"raw_value":4160826638,"note":"Value kept but may cause issues"} 
[2026-07-13 08:55:34] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3685679104,"note":"Value kept but may cause issues"} 
[2026-07-13 08:55:34] local.WARNING: Large IO value detected {"io_id":40,"raw_value":84739616703710978,"note":"Value kept but may cause issues"} 
[2026-07-13 08:55:34] local.WARNING: Large IO value detected {"io_id":32,"raw_value":11823345490201856,"note":"Value kept but may cause issues"} 
[2026-07-13 08:55:34] local.WARNING: Large IO value detected {"io_id":14,"raw_value":4341477767423983658,"note":"Value kept but may cause issues"} 
[2026-07-13 08:55:34] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,219,94,24,241,157,16,220,159,30,45,192,5,38,39,10,66,3,2,42,227,64,1,240,229,89,7,4,113,205,13,180,57,208,37,239,56,85,43,12,206,40,32,14],"length":628,"final_offset":758,"validated_count":44,"validation_warnings":[{"io_id":205,"original":802881742,"validated":0}]} 
[2026-07-13 08:55:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2738482310550847488,"timestamp_seconds":2738482310550847.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 08:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":130366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":130366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":130366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681744640001,"66":14515,"219":206,"94":10240,"24":29,"16":24167759499755520,"45":1008313765504366592},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-13 08:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681744640001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:55:34] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-13 08:55:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 08:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24167759499755520,"km_value":24167759499755.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1008313765504366592,"description":"Unknown IO ID 45"} 
[2026-07-13 08:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681744640001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":29,"odometer":null,"unknown_45":1008313765504366592}} 
[2026-07-13 08:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":130366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479186,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:55:34] local.INFO: GPS data processed {"connection_id":130366,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:55:34] local.INFO: Acknowledgment sent {"connection_id":130366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:55:35] local.INFO: TCP Data received {"connection_id":130162,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:55:35] local.INFO: Processing buffer {"connection_id":130162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:55:35] local.INFO: IMEI packet received {"connection_id":130162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":130162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:55:40] local.INFO: TCP Data received {"connection_id":131159,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131159,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:55:40] local.INFO: Processing buffer {"connection_id":131159,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 08:55:40] local.INFO: IMEI packet received {"connection_id":131159,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 08:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":131159,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:55:40] local.INFO: TCP Data received {"connection_id":130162,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:55:40] local.INFO: Processing buffer {"connection_id":130162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:55:40] local.INFO: IMEI packet received {"connection_id":130162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":130162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:55:41] local.INFO: TCP Data received {"connection_id":130162,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f597f1300012d7f914005afd9380006011b24..."} 
[2026-07-13 08:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597f1300012d7f914005afd9380006011b24..."} 
[2026-07-13 08:55:41] local.INFO: Processing buffer {"connection_id":130162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597f1300012d7f914005afd9380006011b24..."} 
[2026-07-13 08:55:41] local.INFO: Packet analysis {"connection_id":130162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597f"} 
[2026-07-13 08:55:41] local.INFO: Extracted packet for processing {"connection_id":130162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597f"} 
[2026-07-13 08:55:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":6,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681632512001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783912928000,"timestamp_ms":1783912928000,"timestamp_seconds":1783912928,"priority":1,"record_length":96,"hex_timestamp":"0000019f597f1300"} 
[2026-07-13 08:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08: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-07-13 08:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681632512001,"66":25028,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681632512001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:55:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:55:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681632512001,"power":25028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":130162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:55:41] local.INFO: GPS data processed {"connection_id":130162,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:55:41] local.INFO: Acknowledgment sent {"connection_id":130162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:55:43] local.INFO: TCP Data received {"connection_id":132475,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132475,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:55:43] local.INFO: Processing buffer {"connection_id":132475,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:55:43] local.INFO: IMEI packet received {"connection_id":132475,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":132475,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:55:48] local.INFO: TCP Data received {"connection_id":132475,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132475,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:55:48] local.INFO: Processing buffer {"connection_id":132475,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:55:48] local.INFO: IMEI packet received {"connection_id":132475,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":132475,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:55:49] local.INFO: TCP Data received {"connection_id":132475,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59814d50012d79fac005ec7800000c003c2c..."} 
[2026-07-13 08:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59814d50012d79fac005ec7800000c003c2c..."} 
[2026-07-13 08:55:49] local.INFO: Processing buffer {"connection_id":132475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59814d50012d79fac005ec7800000c003c2c..."} 
[2026-07-13 08:55:49] local.INFO: Packet analysis {"connection_id":132475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5981"} 
[2026-07-13 08:55:49] local.INFO: Extracted packet for processing {"connection_id":132475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5981"} 
[2026-07-13 08:55:49] local.INFO: GPS Element Parsed {"raw_longitude":762968768,"raw_latitude":99383296,"longitude_deg":76.2968768,"latitude_deg":9.9383296,"altitude":12,"angle":60,"satellites":44,"speed":7,"hex_longitude":"2d79fac0","hex_latitude":"05ec7800","is_valid_coordinates":true} 
[2026-07-13 08:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681745152001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105672108335431680,"note":"Value kept but may cause issues"} 
[2026-07-13 08:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788845066999705600,"note":"Value kept but may cause issues"} 
[2026-07-13 08:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783913074000,"timestamp_ms":1783913074000,"timestamp_seconds":1783913074,"priority":1,"record_length":96,"hex_timestamp":"0000019f59814d50"} 
[2026-07-13 08:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08: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-07-13 08:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-13 08:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681745152001,"66":13243,"157":206,"87":13824,"24":7,"16":105672108335431680,"45":8788845066999705600},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 08:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681745152001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:55:49] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 08:55:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105672108335431680,"km_value":105672108335431.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788845066999705600,"description":"Unknown IO ID 45"} 
[2026-07-13 08:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681745152001,"power":13243,"unknown_157":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8788845066999705600}} 
[2026-07-13 08:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":132475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:55:49] local.INFO: GPS data processed {"connection_id":132475,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:55:49] local.INFO: Acknowledgment sent {"connection_id":132475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:56:06] local.INFO: TCP Data received {"connection_id":130366,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59824750012d0d5900070715480025011424..."} 
[2026-07-13 08:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59824750012d0d5900070715480025011424..."} 
[2026-07-13 08:56:06] local.INFO: Processing buffer {"connection_id":130366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59824750012d0d5900070715480025011424..."} 
[2026-07-13 08:56:06] local.INFO: Packet analysis {"connection_id":130366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5982"} 
[2026-07-13 08:56:06] local.INFO: Extracted packet for processing {"connection_id":130366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5982"} 
[2026-07-13 08:56:06] local.INFO: GPS Element Parsed {"raw_longitude":755849472,"raw_latitude":117904712,"longitude_deg":75.5849472,"latitude_deg":11.7904712,"altitude":37,"angle":276,"satellites":36,"speed":17,"hex_longitude":"2d0d5900","hex_latitude":"07071548","is_valid_coordinates":true} 
[2026-07-13 08:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681762048001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24169846853861376,"note":"Value kept but may cause issues"} 
[2026-07-13 08:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964966619091746816,"note":"Value kept but may cause issues"} 
[2026-07-13 08:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783913138000,"timestamp_ms":1783913138000,"timestamp_seconds":1783913138,"priority":1,"record_length":96,"hex_timestamp":"0000019f59824750"} 
[2026-07-13 08:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-13 08:56: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-07-13 08:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 08:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 08:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 08:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681762048001,"66":14537,"219":206,"94":10240,"24":17,"16":24169846853861376,"45":964966619091746816},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-13 08:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 08:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 08:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681762048001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:56:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-13 08:56:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 08:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24169846853861376,"km_value":24169846853861.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":964966619091746816,"description":"Unknown IO ID 45"} 
[2026-07-13 08:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681762048001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":964966619091746816}} 
[2026-07-13 08:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":130366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479189,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:56:06] local.INFO: GPS data processed {"connection_id":130366,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:56:06] local.INFO: Acknowledgment sent {"connection_id":130366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:56:12] local.INFO: TCP Data received {"connection_id":130162,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f597f1300012d7f914005afd9380006011b24..."} 
[2026-07-13 08:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597f1300012d7f914005afd9380006011b24..."} 
[2026-07-13 08:56:12] local.INFO: Processing buffer {"connection_id":130162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597f1300012d7f914005afd9380006011b24..."} 
[2026-07-13 08:56:12] local.INFO: Packet analysis {"connection_id":130162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597f"} 
[2026-07-13 08:56:12] local.INFO: Extracted packet for processing {"connection_id":130162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597f"} 
[2026-07-13 08:56:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":6,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681632512001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783912928000,"timestamp_ms":1783912928000,"timestamp_seconds":1783912928,"priority":1,"record_length":96,"hex_timestamp":"0000019f597f1300"} 
[2026-07-13 08:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681632512001,"66":25028,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681632512001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:56:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:56:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681632512001,"power":25028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":130162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:56:12] local.INFO: GPS data processed {"connection_id":130162,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:56:12] local.INFO: Acknowledgment sent {"connection_id":130162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:56:20] local.INFO: TCP Data received {"connection_id":132475,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59819f58012d7a094005ec7e30000b004323..."} 
[2026-07-13 08:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59819f58012d7a094005ec7e30000b004323..."} 
[2026-07-13 08:56:20] local.INFO: Processing buffer {"connection_id":132475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59819f58012d7a094005ec7e30000b004323..."} 
[2026-07-13 08:56:20] local.INFO: Packet analysis {"connection_id":132475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5981"} 
[2026-07-13 08:56:20] local.INFO: Extracted packet for processing {"connection_id":132475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5981"} 
[2026-07-13 08:56:20] local.INFO: GPS Element Parsed {"raw_longitude":762972480,"raw_latitude":99384880,"longitude_deg":76.297248,"latitude_deg":9.938488,"altitude":11,"angle":67,"satellites":35,"speed":0,"hex_longitude":"2d7a0940","hex_latitude":"05ec7e30","is_valid_coordinates":true} 
[2026-07-13 08:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681746944001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105672301608960000,"note":"Value kept but may cause issues"} 
[2026-07-13 08:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789548754441601024,"note":"Value kept but may cause issues"} 
[2026-07-13 08:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783913095000,"timestamp_ms":1783913095000,"timestamp_seconds":1783913095,"priority":1,"record_length":96,"hex_timestamp":"0000019f59819f58"} 
[2026-07-13 08:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 08:56: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-07-13 08:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":132475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":132475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":132475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681746944001,"66":12961,"157":206,"87":13824,"24":0,"16":105672301608960000,"45":8789548754441601024},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 08:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681746944001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:56:20] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 08:56:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105672301608960000,"km_value":105672301608960,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789548754441601024,"description":"Unknown IO ID 45"} 
[2026-07-13 08:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681746944001,"power":12961,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789548754441601024}} 
[2026-07-13 08:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":132475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479191,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:56:20] local.INFO: GPS data processed {"connection_id":132475,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:56:20] local.INFO: Acknowledgment sent {"connection_id":132475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:56:25] local.INFO: TCP Data received {"connection_id":132476,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132476,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:56:25] local.INFO: Processing buffer {"connection_id":132476,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:56:25] local.INFO: IMEI packet received {"connection_id":132476,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 08:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":132476,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:56:26] local.INFO: TCP Data received {"connection_id":132476,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132476,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:56:26] local.INFO: Processing buffer {"connection_id":132476,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:56:26] local.INFO: IMEI packet received {"connection_id":132476,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":132476,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:56:27] local.INFO: TCP Data received {"connection_id":132476,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132476,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:56:27] local.INFO: Processing buffer {"connection_id":132476,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:56:27] local.INFO: IMEI packet received {"connection_id":132476,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":132476,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:56:28] local.INFO: TCP Data received {"connection_id":132476,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132476,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:56:28] local.INFO: Processing buffer {"connection_id":132476,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 08:56:28] local.INFO: IMEI packet received {"connection_id":132476,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 08:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":132476,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:56:35] local.INFO: TCP Data received {"connection_id":131160,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:56:35] local.INFO: Processing buffer {"connection_id":131160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:56:35] local.INFO: IMEI packet received {"connection_id":131160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":131160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:56:40] local.INFO: TCP Data received {"connection_id":131160,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:56:40] local.INFO: Processing buffer {"connection_id":131160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:56:40] local.INFO: IMEI packet received {"connection_id":131160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":131160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:56:41] local.INFO: TCP Data received {"connection_id":131160,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f597f1300012d7f914005afd9380006011b24..."} 
[2026-07-13 08:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597f1300012d7f914005afd9380006011b24..."} 
[2026-07-13 08:56:41] local.INFO: Processing buffer {"connection_id":131160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597f1300012d7f914005afd9380006011b24..."} 
[2026-07-13 08:56:41] local.INFO: Packet analysis {"connection_id":131160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597f"} 
[2026-07-13 08:56:41] local.INFO: Extracted packet for processing {"connection_id":131160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597f"} 
[2026-07-13 08:56:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":6,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681632512001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783912928000,"timestamp_ms":1783912928000,"timestamp_seconds":1783912928,"priority":1,"record_length":96,"hex_timestamp":"0000019f597f1300"} 
[2026-07-13 08:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681632512001,"66":25028,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681632512001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:56:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681632512001,"power":25028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":131160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:56:41] local.INFO: GPS data processed {"connection_id":131160,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:56:41] local.INFO: Acknowledgment sent {"connection_id":131160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:56:43] local.INFO: TCP Data received {"connection_id":130163,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130163,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:56:43] local.INFO: Processing buffer {"connection_id":130163,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:56:43] local.INFO: IMEI packet received {"connection_id":130163,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":130163,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:56:46] local.INFO: TCP Data received {"connection_id":130163,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130163,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:56:46] local.INFO: Processing buffer {"connection_id":130163,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:56:46] local.INFO: IMEI packet received {"connection_id":130163,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":130163,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:56:47] local.INFO: TCP Data received {"connection_id":130163,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5981f160012d7a094005ec7e30000b004323..."} 
[2026-07-13 08:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5981f160012d7a094005ec7e30000b004323..."} 
[2026-07-13 08:56:47] local.INFO: Processing buffer {"connection_id":130163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5981f160012d7a094005ec7e30000b004323..."} 
[2026-07-13 08:56:47] local.INFO: Packet analysis {"connection_id":130163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5981"} 
[2026-07-13 08:56:47] local.INFO: Extracted packet for processing {"connection_id":130163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5981"} 
[2026-07-13 08:56:47] local.INFO: GPS Element Parsed {"raw_longitude":762972480,"raw_latitude":99384880,"longitude_deg":76.297248,"latitude_deg":9.938488,"altitude":11,"angle":67,"satellites":35,"speed":0,"hex_longitude":"2d7a0940","hex_latitude":"05ec7e30","is_valid_coordinates":true} 
[2026-07-13 08:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681752320001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105672301608960000,"note":"Value kept but may cause issues"} 
[2026-07-13 08:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793630141604311040,"note":"Value kept but may cause issues"} 
[2026-07-13 08:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783913116000,"timestamp_ms":1783913116000,"timestamp_seconds":1783913116,"priority":1,"record_length":96,"hex_timestamp":"0000019f5981f160"} 
[2026-07-13 08:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-13 08:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681752320001,"66":13059,"157":206,"87":13824,"24":0,"16":105672301608960000,"45":8793630141604311040},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 08:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681752320001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:56:47] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 08:56:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105672301608960000,"km_value":105672301608960,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793630141604311040,"description":"Unknown IO ID 45"} 
[2026-07-13 08:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681752320001,"power":13059,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8793630141604311040}} 
[2026-07-13 08:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":130163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479193,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:56:47] local.INFO: GPS data processed {"connection_id":130163,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:56:47] local.INFO: Acknowledgment sent {"connection_id":130163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:57:12] local.INFO: TCP Data received {"connection_id":131160,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f597f1300012d7f914005afd9380006011b24..."} 
[2026-07-13 08:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597f1300012d7f914005afd9380006011b24..."} 
[2026-07-13 08:57:12] local.INFO: Processing buffer {"connection_id":131160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597f1300012d7f914005afd9380006011b24..."} 
[2026-07-13 08:57:12] local.INFO: Packet analysis {"connection_id":131160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597f"} 
[2026-07-13 08:57:12] local.INFO: Extracted packet for processing {"connection_id":131160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597f"} 
[2026-07-13 08:57:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":6,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681632512001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783912928000,"timestamp_ms":1783912928000,"timestamp_seconds":1783912928,"priority":1,"record_length":96,"hex_timestamp":"0000019f597f1300"} 
[2026-07-13 08:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681632512001,"66":25028,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681632512001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:57:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:57:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681632512001,"power":25028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":131160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:57:12] local.INFO: GPS data processed {"connection_id":131160,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:57:12] local.INFO: Acknowledgment sent {"connection_id":131160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:57:18] local.INFO: TCP Data received {"connection_id":130163,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59835ca8012d7a148005ec8098000a00f027..."} 
[2026-07-13 08:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59835ca8012d7a148005ec8098000a00f027..."} 
[2026-07-13 08:57:18] local.INFO: Processing buffer {"connection_id":130163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59835ca8012d7a148005ec8098000a00f027..."} 
[2026-07-13 08:57:18] local.INFO: Packet analysis {"connection_id":130163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5983"} 
[2026-07-13 08:57:18] local.INFO: Extracted packet for processing {"connection_id":130163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5983"} 
[2026-07-13 08:57:18] local.INFO: GPS Element Parsed {"raw_longitude":762975360,"raw_latitude":99385496,"longitude_deg":76.297536,"latitude_deg":9.9385496,"altitude":10,"angle":240,"satellites":39,"speed":17,"hex_longitude":"2d7a1480","hex_latitude":"05ec8098","is_valid_coordinates":true} 
[2026-07-13 08:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681780480001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105672662386212864,"note":"Value kept but may cause issues"} 
[2026-07-13 08:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797852266255376384,"note":"Value kept but may cause issues"} 
[2026-07-13 08:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783913209000,"timestamp_ms":1783913209000,"timestamp_seconds":1783913209,"priority":1,"record_length":96,"hex_timestamp":"0000019f59835ca8"} 
[2026-07-13 08:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:57: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-07-13 08:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 08:57:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 08:57:18] local.WARNING: Large IO value detected {"io_id":108,"raw_value":2667577344,"note":"Value kept but may cause issues"} 
[2026-07-13 08:57:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-13 08:57:18] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070397,"note":"Value kept but may cause issues"} 
[2026-07-13 08:57:18] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2200303617,"note":"Value kept but may cause issues"} 
[2026-07-13 08:57:18] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-9218868389977576960,"note":"Value kept but may cause issues"} 
[2026-07-13 08:57:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-07-13 08:57:18] local.WARNING: Large IO value detected {"io_id":26,"raw_value":3221613698,"note":"Value kept but may cause issues"} 
[2026-07-13 08:57:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":720942,"corrected_to":0} 
[2026-07-13 08:57:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967956992,"note":"Value kept but may cause issues"} 
[2026-07-13 08:57:18] local.WARNING: Large IO value detected {"io_id":79,"raw_value":57770114758367030,"note":"Value kept but may cause issues"} 
[2026-07-13 08:57:18] local.WARNING: Large IO value detected {"io_id":130,"raw_value":-78811698645975035,"note":"Value kept but may cause issues"} 
[2026-07-13 08:57:18] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,157,87,24,241,16,108,159,49,45,64,133,10,41,66,192,132,11,40,128,1,240,51,227,89,236,4,113,205,8,34,26,200,42,239,2,119,5,79,130],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0},{"io_id":200,"original":720942,"validated":0}]} 
[2026-07-13 08:57:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720821307566456832,"timestamp_seconds":720821307566456.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 08:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681780480001,"66":13341,"157":206,"87":13824,"24":17,"16":105672662386212864,"45":8797852266255376384},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 08:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681780480001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:57:18] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 08:57:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105672662386212864,"km_value":105672662386212.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797852266255376384,"description":"Unknown IO ID 45"} 
[2026-07-13 08:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681780480001,"power":13341,"unknown_157":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8797852266255376384}} 
[2026-07-13 08:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":130163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479195,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:57:18] local.INFO: GPS data processed {"connection_id":130163,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:57:18] local.INFO: Acknowledgment sent {"connection_id":130163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:57:35] local.INFO: TCP Data received {"connection_id":130367,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:57:35] local.INFO: Processing buffer {"connection_id":130367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:57:35] local.INFO: IMEI packet received {"connection_id":130367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":130367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:57:40] local.INFO: TCP Data received {"connection_id":130367,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:57:40] local.INFO: Processing buffer {"connection_id":130367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:57:40] local.INFO: IMEI packet received {"connection_id":130367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":130367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:57:41] local.INFO: TCP Data received {"connection_id":130367,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f597f1300012d7f914005afd9380006011b24..."} 
[2026-07-13 08:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f597f1300012d7f914005afd9380006011b24..."} 
[2026-07-13 08:57:41] local.INFO: Processing buffer {"connection_id":130367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f597f1300012d7f914005afd9380006011b24..."} 
[2026-07-13 08:57:41] local.INFO: Packet analysis {"connection_id":130367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f597f"} 
[2026-07-13 08:57:41] local.INFO: Extracted packet for processing {"connection_id":130367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f597f"} 
[2026-07-13 08:57:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":6,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681632512001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783912928000,"timestamp_ms":1783912928000,"timestamp_seconds":1783912928,"priority":1,"record_length":96,"hex_timestamp":"0000019f597f1300"} 
[2026-07-13 08:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 08:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681632512001,"66":25028,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681632512001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:57:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:57:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681632512001,"power":25028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":130367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:57:41] local.INFO: GPS data processed {"connection_id":130367,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:57:41] local.INFO: Acknowledgment sent {"connection_id":130367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:57:44] local.INFO: TCP Data received {"connection_id":130368,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130368,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:57:44] local.INFO: Processing buffer {"connection_id":130368,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:57:44] local.INFO: IMEI packet received {"connection_id":130368,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":130368,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:57:48] local.INFO: TCP Data received {"connection_id":130368,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130368,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:57:48] local.INFO: Processing buffer {"connection_id":130368,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:57:48] local.INFO: IMEI packet received {"connection_id":130368,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":130368,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:57:49] local.INFO: TCP Data received {"connection_id":130368,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59836090012d7a130005ec8010000a010228..."} 
[2026-07-13 08:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59836090012d7a130005ec8010000a010228..."} 
[2026-07-13 08:57:49] local.INFO: Processing buffer {"connection_id":130368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59836090012d7a130005ec8010000a010228..."} 
[2026-07-13 08:57:49] local.INFO: Packet analysis {"connection_id":130368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5983"} 
[2026-07-13 08:57:49] local.INFO: Extracted packet for processing {"connection_id":130368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5983"} 
[2026-07-13 08:57:49] local.INFO: GPS Element Parsed {"raw_longitude":762974976,"raw_latitude":99385360,"longitude_deg":76.2974976,"latitude_deg":9.938536,"altitude":10,"angle":258,"satellites":40,"speed":15,"hex_longitude":"2d7a1300","hex_latitude":"05ec8010","is_valid_coordinates":true} 
[2026-07-13 08:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681781504001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105672679566082048,"note":"Value kept but may cause issues"} 
[2026-07-13 08:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796796735092463616,"note":"Value kept but may cause issues"} 
[2026-07-13 08:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783913210000,"timestamp_ms":1783913210000,"timestamp_seconds":1783913210,"priority":1,"record_length":96,"hex_timestamp":"0000019f59836090"} 
[2026-07-13 08:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-13 08:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681781504001,"66":13330,"157":206,"87":13824,"24":15,"16":105672679566082048,"45":8796796735092463616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 08:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681781504001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:57:49] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 08:57:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105672679566082048,"km_value":105672679566082.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796796735092463616,"description":"Unknown IO ID 45"} 
[2026-07-13 08:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681781504001,"power":13330,"unknown_157":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8796796735092463616}} 
[2026-07-13 08:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":130368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479197,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:57:49] local.INFO: GPS data processed {"connection_id":130368,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:57:49] local.INFO: Acknowledgment sent {"connection_id":130368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:58:12] local.INFO: TCP Data received {"connection_id":130367,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5983aac8012d7f914005afd9380007011b23..."} 
[2026-07-13 08:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5983aac8012d7f914005afd9380007011b23..."} 
[2026-07-13 08:58:12] local.INFO: Processing buffer {"connection_id":130367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5983aac8012d7f914005afd9380007011b23..."} 
[2026-07-13 08:58:12] local.INFO: Packet analysis {"connection_id":130367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5983"} 
[2026-07-13 08:58:12] local.INFO: Extracted packet for processing {"connection_id":130367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5983"} 
[2026-07-13 08:58:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":7,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681709568001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783913229000,"timestamp_ms":1783913229000,"timestamp_seconds":1783913229,"priority":1,"record_length":96,"hex_timestamp":"0000019f5983aac8"} 
[2026-07-13 08:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 08:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681709568001,"66":25038,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681709568001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:58:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:58:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681709568001,"power":25038,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":130367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:58:12] local.INFO: GPS data processed {"connection_id":130367,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:58:12] local.INFO: Acknowledgment sent {"connection_id":130367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:58:20] local.INFO: TCP Data received {"connection_id":130368,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5983b298012d7a0a8005ec7e30000900fe24..."} 
[2026-07-13 08:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5983b298012d7a0a8005ec7e30000900fe24..."} 
[2026-07-13 08:58:20] local.INFO: Processing buffer {"connection_id":130368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5983b298012d7a0a8005ec7e30000900fe24..."} 
[2026-07-13 08:58:20] local.INFO: Packet analysis {"connection_id":130368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5983"} 
[2026-07-13 08:58:20] local.INFO: Extracted packet for processing {"connection_id":130368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5983"} 
[2026-07-13 08:58:20] local.INFO: GPS Element Parsed {"raw_longitude":762972800,"raw_latitude":99384880,"longitude_deg":76.29728,"latitude_deg":9.938488,"altitude":9,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d7a0a80","hex_latitude":"05ec7e30","is_valid_coordinates":true} 
[2026-07-13 08:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681781760001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105672791235231744,"note":"Value kept but may cause issues"} 
[2026-07-13 08:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796374522627362816,"note":"Value kept but may cause issues"} 
[2026-07-13 08:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783913231000,"timestamp_ms":1783913231000,"timestamp_seconds":1783913231,"priority":1,"record_length":96,"hex_timestamp":"0000019f5983b298"} 
[2026-07-13 08:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-13 08:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-13 08:58:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 08:58:20] local.WARNING: Large IO value detected {"io_id":108,"raw_value":2734686208,"note":"Value kept but may cause issues"} 
[2026-07-13 08:58:20] local.WARNING: Large IO value detected {"io_id":10,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-13 08:58:20] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3758173562,"note":"Value kept but may cause issues"} 
[2026-07-13 08:58:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3276960266267165240,"note":"Value kept but may cause issues"} 
[2026-07-13 08:58:20] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2200815617,"note":"Value kept but may cause issues"} 
[2026-07-13 08:58:20] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-9022961806189123072,"note":"Value kept but may cause issues"} 
[2026-07-13 08:58:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-07-13 08:58:20] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2147871876,"note":"Value kept but may cause issues"} 
[2026-07-13 08:58:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968038912,"note":"Value kept but may cause issues"} 
[2026-07-13 08:58:20] local.WARNING: Large IO value detected {"io_id":51,"raw_value":57770114758367030,"note":"Value kept but may cause issues"} 
[2026-07-13 08:58:20] local.WARNING: Large IO value detected {"io_id":131,"raw_value":2454463091750649861,"note":"Value kept but may cause issues"} 
[2026-07-13 08:58:20] local.WARNING: Large IO value detected {"io_id":61,"raw_value":-7133474935791413248,"note":"Value kept but may cause issues"} 
[2026-07-13 08:58:20] local.WARNING: Large IO value detected {"io_id":96,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-13 08:58:20] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,157,87,24,241,16,108,159,92,45,128,10,39,66,77,64,132,41,49,1,240,75,227,89,236,4,113,205,8,27,48,42,239,52,2,119,5,11,51,131,61,96],"length":626,"final_offset":756,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-07-13 08:58:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720859786178920448,"timestamp_seconds":720859786178920.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 08:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681781760001,"66":13406,"157":206,"87":13824,"24":0,"16":105672791235231744,"45":8796374522627362816},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 08:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681781760001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:58:20] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 08:58:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105672791235231744,"km_value":105672791235231.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796374522627362816,"description":"Unknown IO ID 45"} 
[2026-07-13 08:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681781760001,"power":13406,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796374522627362816}} 
[2026-07-13 08:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":130368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479199,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:58:20] local.INFO: GPS data processed {"connection_id":130368,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:58:20] local.INFO: Acknowledgment sent {"connection_id":130368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:58:35] local.INFO: TCP Data received {"connection_id":131163,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:58:35] local.INFO: Processing buffer {"connection_id":131163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:58:35] local.INFO: IMEI packet received {"connection_id":131163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":131163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:58:40] local.INFO: TCP Data received {"connection_id":131163,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:58:40] local.INFO: Processing buffer {"connection_id":131163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:58:40] local.INFO: IMEI packet received {"connection_id":131163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":131163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:58:41] local.INFO: TCP Data received {"connection_id":131163,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5983aac8012d7f914005afd9380007011b23..."} 
[2026-07-13 08:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5983aac8012d7f914005afd9380007011b23..."} 
[2026-07-13 08:58:41] local.INFO: Processing buffer {"connection_id":131163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5983aac8012d7f914005afd9380007011b23..."} 
[2026-07-13 08:58:41] local.INFO: Packet analysis {"connection_id":131163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5983"} 
[2026-07-13 08:58:41] local.INFO: Extracted packet for processing {"connection_id":131163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5983"} 
[2026-07-13 08:58:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":7,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681709568001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783913229000,"timestamp_ms":1783913229000,"timestamp_seconds":1783913229,"priority":1,"record_length":96,"hex_timestamp":"0000019f5983aac8"} 
[2026-07-13 08:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 08:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681709568001,"66":25038,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681709568001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:58:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:58:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681709568001,"power":25038,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":131163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:58:41] local.INFO: GPS data processed {"connection_id":131163,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:58:41] local.INFO: Acknowledgment sent {"connection_id":131163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:58:43] local.INFO: TCP Data received {"connection_id":131164,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:58:43] local.INFO: Processing buffer {"connection_id":131164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:58:43] local.INFO: IMEI packet received {"connection_id":131164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":131164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:58:47] local.INFO: TCP Data received {"connection_id":131164,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:58:47] local.INFO: Processing buffer {"connection_id":131164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:58:47] local.INFO: IMEI packet received {"connection_id":131164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":131164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:58:48] local.INFO: TCP Data received {"connection_id":131164,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f598404a0012d7a0a8005ec7e30000900fe24..."} 
[2026-07-13 08:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598404a0012d7a0a8005ec7e30000900fe24..."} 
[2026-07-13 08:58:48] local.INFO: Processing buffer {"connection_id":131164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598404a0012d7a0a8005ec7e30000900fe24..."} 
[2026-07-13 08:58:48] local.INFO: Packet analysis {"connection_id":131164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5984"} 
[2026-07-13 08:58:48] local.INFO: Extracted packet for processing {"connection_id":131164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5984"} 
[2026-07-13 08:58:48] local.INFO: GPS Element Parsed {"raw_longitude":762972800,"raw_latitude":99384880,"longitude_deg":76.29728,"latitude_deg":9.938488,"altitude":9,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d7a0a80","hex_latitude":"05ec7e30","is_valid_coordinates":true} 
[2026-07-13 08:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681787136001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105672791235231744,"note":"Value kept but may cause issues"} 
[2026-07-13 08:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793981985325199360,"note":"Value kept but may cause issues"} 
[2026-07-13 08:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783913252000,"timestamp_ms":1783913252000,"timestamp_seconds":1783913252,"priority":1,"record_length":96,"hex_timestamp":"0000019f598404a0"} 
[2026-07-13 08:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-13 08:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":131164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":131164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":131164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681787136001,"66":13374,"157":206,"87":13824,"24":0,"16":105672791235231744,"45":8793981985325199360},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 08:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681787136001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:58:48] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 08:58:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105672791235231744,"km_value":105672791235231.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793981985325199360,"description":"Unknown IO ID 45"} 
[2026-07-13 08:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681787136001,"power":13374,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8793981985325199360}} 
[2026-07-13 08:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":131164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479201,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:58:48] local.INFO: GPS data processed {"connection_id":131164,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:58:48] local.INFO: Acknowledgment sent {"connection_id":131164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:59:12] local.INFO: TCP Data received {"connection_id":131163,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5983aac8012d7f914005afd9380007011b23..."} 
[2026-07-13 08:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5983aac8012d7f914005afd9380007011b23..."} 
[2026-07-13 08:59:12] local.INFO: Processing buffer {"connection_id":131163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5983aac8012d7f914005afd9380007011b23..."} 
[2026-07-13 08:59:12] local.INFO: Packet analysis {"connection_id":131163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5983"} 
[2026-07-13 08:59:12] local.INFO: Extracted packet for processing {"connection_id":131163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5983"} 
[2026-07-13 08:59:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":7,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681709568001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783913229000,"timestamp_ms":1783913229000,"timestamp_seconds":1783913229,"priority":1,"record_length":96,"hex_timestamp":"0000019f5983aac8"} 
[2026-07-13 08:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 08:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681709568001,"66":25038,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681709568001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:59:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:59:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681709568001,"power":25038,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":131163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:59:12] local.INFO: GPS data processed {"connection_id":131163,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:59:12] local.INFO: Acknowledgment sent {"connection_id":131163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:59:19] local.INFO: TCP Data received {"connection_id":131164,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f598456a8012d7a0a8005ec7e30000900fe23..."} 
[2026-07-13 08:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598456a8012d7a0a8005ec7e30000900fe23..."} 
[2026-07-13 08:59:19] local.INFO: Processing buffer {"connection_id":131164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598456a8012d7a0a8005ec7e30000900fe23..."} 
[2026-07-13 08:59:19] local.INFO: Packet analysis {"connection_id":131164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5984"} 
[2026-07-13 08:59:19] local.INFO: Extracted packet for processing {"connection_id":131164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5984"} 
[2026-07-13 08:59:19] local.INFO: GPS Element Parsed {"raw_longitude":762972800,"raw_latitude":99384880,"longitude_deg":76.29728,"latitude_deg":9.938488,"altitude":9,"angle":254,"satellites":35,"speed":0,"hex_longitude":"2d7a0a80","hex_latitude":"05ec7e30","is_valid_coordinates":true} 
[2026-07-13 08:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681792512001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105672791235231744,"note":"Value kept but may cause issues"} 
[2026-07-13 08:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793981985325199360,"note":"Value kept but may cause issues"} 
[2026-07-13 08:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783913273000,"timestamp_ms":1783913273000,"timestamp_seconds":1783913273,"priority":1,"record_length":96,"hex_timestamp":"0000019f598456a8"} 
[2026-07-13 08:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:59: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-07-13 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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-13 08:59:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:59:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":131164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":131164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":131164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681792512001,"66":13319,"157":206,"87":13824,"24":0,"16":105672791235231744,"45":8793981985325199360},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 08:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681792512001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:59:19] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 08:59:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105672791235231744,"km_value":105672791235231.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793981985325199360,"description":"Unknown IO ID 45"} 
[2026-07-13 08:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681792512001,"power":13319,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8793981985325199360}} 
[2026-07-13 08:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":131164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:59:19] local.INFO: GPS data processed {"connection_id":131164,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:59:19] local.INFO: Acknowledgment sent {"connection_id":131164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:59:35] local.INFO: TCP Data received {"connection_id":130371,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:59:35] local.INFO: Processing buffer {"connection_id":130371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:59:35] local.INFO: IMEI packet received {"connection_id":130371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 08:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":130371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:59:40] local.INFO: TCP Data received {"connection_id":130371,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:59:40] local.INFO: Processing buffer {"connection_id":130371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 08:59:40] local.INFO: IMEI packet received {"connection_id":130371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 08:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":130371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:59:41] local.INFO: TCP Data received {"connection_id":130371,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5983aac8012d7f914005afd9380007011b23..."} 
[2026-07-13 08:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5983aac8012d7f914005afd9380007011b23..."} 
[2026-07-13 08:59:41] local.INFO: Processing buffer {"connection_id":130371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5983aac8012d7f914005afd9380007011b23..."} 
[2026-07-13 08:59:41] local.INFO: Packet analysis {"connection_id":130371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5983"} 
[2026-07-13 08:59:41] local.INFO: Extracted packet for processing {"connection_id":130371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5983"} 
[2026-07-13 08:59:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":7,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 08:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 08:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681709568001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 08:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 08:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783913229000,"timestamp_ms":1783913229000,"timestamp_seconds":1783913229,"priority":1,"record_length":96,"hex_timestamp":"0000019f5983aac8"} 
[2026-07-13 08:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 08:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 08:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 08:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 08:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 08:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 08:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 08:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681709568001,"66":25038,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 08:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 08:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 08:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681709568001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:59:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 08:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 08:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 08:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681709568001,"power":25038,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 08:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":130371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:59:41] local.INFO: GPS data processed {"connection_id":130371,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:59:41] local.INFO: Acknowledgment sent {"connection_id":130371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 08:59:43] local.INFO: TCP Data received {"connection_id":131165,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131165,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:59:43] local.INFO: Processing buffer {"connection_id":131165,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:59:43] local.INFO: IMEI packet received {"connection_id":131165,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 08:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":131165,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 08:59:48] local.INFO: TCP Data received {"connection_id":131165,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131165,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:59:48] local.INFO: Processing buffer {"connection_id":131165,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 08:59:48] local.INFO: IMEI packet received {"connection_id":131165,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 08:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":131165,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 08:59:49] local.INFO: TCP Data received {"connection_id":131165,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5984a8b0012d79f9c005ec7630000700fa29..."} 
[2026-07-13 08:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5984a8b0012d79f9c005ec7630000700fa29..."} 
[2026-07-13 08:59:49] local.INFO: Processing buffer {"connection_id":131165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5984a8b0012d79f9c005ec7630000700fa29..."} 
[2026-07-13 08:59:49] local.INFO: Packet analysis {"connection_id":131165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5984"} 
[2026-07-13 08:59:49] local.INFO: Extracted packet for processing {"connection_id":131165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5984"} 
[2026-07-13 08:59:49] local.INFO: GPS Element Parsed {"raw_longitude":762968512,"raw_latitude":99382832,"longitude_deg":76.2968512,"latitude_deg":9.9382832,"altitude":7,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d79f9c0","hex_latitude":"05ec7630","is_valid_coordinates":true} 
[2026-07-13 08: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-07-13 08:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681797888001,"note":"Value kept but may cause issues"} 
[2026-07-13 08:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105673023163465728,"note":"Value kept but may cause issues"} 
[2026-07-13 08:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793981985325199360,"note":"Value kept but may cause issues"} 
[2026-07-13 08:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 08:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783913294000,"timestamp_ms":1783913294000,"timestamp_seconds":1783913294,"priority":1,"record_length":96,"hex_timestamp":"0000019f5984a8b0"} 
[2026-07-13 08:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 08:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 08:59:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 08:59:49] local.WARNING: Large IO value detected {"io_id":108,"raw_value":3187671040,"note":"Value kept but may cause issues"} 
[2026-07-13 08:59:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788848,"note":"Value kept but may cause issues"} 
[2026-07-13 08:59:49] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2203887617,"note":"Value kept but may cause issues"} 
[2026-07-13 08:59:49] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-8874343018467809280,"note":"Value kept but may cause issues"} 
[2026-07-13 08:59:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-07-13 08:59:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968159744,"note":"Value kept but may cause issues"} 
[2026-07-13 08:59:49] local.WARNING: Large IO value detected {"io_id":75,"raw_value":57770114758367030,"note":"Value kept but may cause issues"} 
[2026-07-13 08:59:49] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3298888021882617861,"note":"Value kept but may cause issues"} 
[2026-07-13 08:59:49] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,157,87,24,241,16,108,159,4,45,128,126,9,36,10,66,178,96,1,240,18,227,89,236,113,205,17,77,41,239,52,2,119,5,7,75,131],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-07-13 08:59:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648797772618661888,"timestamp_seconds":648797772618661.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 08:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 08:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 08:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 08:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 08:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 08:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 08:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 08:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681797888001,"66":12504,"157":206,"87":13824,"24":0,"16":105673023163465728,"45":8793981985325199360},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 08:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 08:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 08:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681797888001,"description":"Unknown IO ID 0"} 
[2026-07-13 08:59:49] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 08:59:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 08:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105673023163465728,"km_value":105673023163465.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 08:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793981985325199360,"description":"Unknown IO ID 45"} 
[2026-07-13 08:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681797888001,"power":12504,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8793981985325199360}} 
[2026-07-13 08:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":131165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 08:59:49] local.INFO: GPS data processed {"connection_id":131165,"processed":1,"errors":0,"total":1} 
[2026-07-13 08:59:49] local.INFO: Acknowledgment sent {"connection_id":131165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:00:13] local.INFO: TCP Data received {"connection_id":130371,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5983aac8012d7f914005afd9380007011b23..."} 
[2026-07-13 09:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5983aac8012d7f914005afd9380007011b23..."} 
[2026-07-13 09:00:13] local.INFO: Processing buffer {"connection_id":130371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5983aac8012d7f914005afd9380007011b23..."} 
[2026-07-13 09:00:13] local.INFO: Packet analysis {"connection_id":130371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5983"} 
[2026-07-13 09:00:13] local.INFO: Extracted packet for processing {"connection_id":130371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5983"} 
[2026-07-13 09:00:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":7,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681709568001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783913229000,"timestamp_ms":1783913229000,"timestamp_seconds":1783913229,"priority":1,"record_length":96,"hex_timestamp":"0000019f5983aac8"} 
[2026-07-13 09:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 09:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681709568001,"66":25038,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681709568001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:00:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:00:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681709568001,"power":25038,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":130371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:00:13] local.INFO: GPS data processed {"connection_id":130371,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:00:13] local.INFO: Acknowledgment sent {"connection_id":130371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:00:19] local.INFO: TCP Data received {"connection_id":131165,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5984eb18012d79f6c005ec76900007013427..."} 
[2026-07-13 09:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5984eb18012d79f6c005ec76900007013427..."} 
[2026-07-13 09:00:19] local.INFO: Processing buffer {"connection_id":131165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5984eb18012d79f6c005ec76900007013427..."} 
[2026-07-13 09:00:19] local.INFO: Packet analysis {"connection_id":131165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5984"} 
[2026-07-13 09:00:19] local.INFO: Extracted packet for processing {"connection_id":131165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5984"} 
[2026-07-13 09:00:19] local.INFO: GPS Element Parsed {"raw_longitude":762967744,"raw_latitude":99382928,"longitude_deg":76.2967744,"latitude_deg":9.9382928,"altitude":7,"angle":308,"satellites":39,"speed":5,"hex_longitude":"2d79f6c0","hex_latitude":"05ec7690","is_valid_coordinates":true} 
[2026-07-13 09:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681803264001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105673061818171392,"note":"Value kept but may cause issues"} 
[2026-07-13 09:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789267279464771584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783913311000,"timestamp_ms":1783913311000,"timestamp_seconds":1783913311,"priority":1,"record_length":96,"hex_timestamp":"0000019f5984eb18"} 
[2026-07-13 09:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:00: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-07-13 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 09:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":131165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":131165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":131165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681803264001,"66":13167,"157":206,"87":13824,"24":5,"16":105673061818171392,"45":8789267279464771584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 09:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681803264001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:00:19] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 09:00:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105673061818171392,"km_value":105673061818171.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789267279464771584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681803264001,"power":13167,"unknown_157":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8789267279464771584}} 
[2026-07-13 09:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":131165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:00:19] local.INFO: GPS data processed {"connection_id":131165,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:00:19] local.INFO: Acknowledgment sent {"connection_id":131165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:00:35] local.INFO: TCP Data received {"connection_id":131166,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:00:35] local.INFO: Processing buffer {"connection_id":131166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:00:35] local.INFO: IMEI packet received {"connection_id":131166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":131166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:00:40] local.INFO: TCP Data received {"connection_id":131166,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:00:40] local.INFO: Processing buffer {"connection_id":131166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:00:40] local.INFO: IMEI packet received {"connection_id":131166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":131166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:00:41] local.INFO: TCP Data received {"connection_id":131166,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5983aac8012d7f914005afd9380007011b23..."} 
[2026-07-13 09:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5983aac8012d7f914005afd9380007011b23..."} 
[2026-07-13 09:00:41] local.INFO: Processing buffer {"connection_id":131166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5983aac8012d7f914005afd9380007011b23..."} 
[2026-07-13 09:00:41] local.INFO: Packet analysis {"connection_id":131166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5983"} 
[2026-07-13 09:00:41] local.INFO: Extracted packet for processing {"connection_id":131166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5983"} 
[2026-07-13 09:00:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":7,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681709568001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783913229000,"timestamp_ms":1783913229000,"timestamp_seconds":1783913229,"priority":1,"record_length":96,"hex_timestamp":"0000019f5983aac8"} 
[2026-07-13 09:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 09:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681709568001,"66":25038,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681709568001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:00:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:00:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681709568001,"power":25038,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":131166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:00:41] local.INFO: GPS data processed {"connection_id":131166,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:00:41] local.INFO: Acknowledgment sent {"connection_id":131166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:00:42] local.INFO: TCP Data received {"connection_id":131167,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:00:42] local.INFO: Processing buffer {"connection_id":131167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:00:42] local.INFO: IMEI packet received {"connection_id":131167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":131167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:00:43] local.INFO: TCP Data received {"connection_id":131167,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:00:43] local.INFO: Processing buffer {"connection_id":131167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:00:43] local.INFO: IMEI packet received {"connection_id":131167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":131167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:00:48] local.INFO: TCP Data received {"connection_id":131167,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:00:48] local.INFO: Processing buffer {"connection_id":131167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:00:48] local.INFO: IMEI packet received {"connection_id":131167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":131167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:00:49] local.INFO: TCP Data received {"connection_id":131167,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5986d748012d79e98005eca9f80011004a25..."} 
[2026-07-13 09:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5986d748012d79e98005eca9f80011004a25..."} 
[2026-07-13 09:00:49] local.INFO: Processing buffer {"connection_id":131167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5986d748012d79e98005eca9f80011004a25..."} 
[2026-07-13 09:00:49] local.INFO: Packet analysis {"connection_id":131167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5986"} 
[2026-07-13 09:00:49] local.INFO: Extracted packet for processing {"connection_id":131167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5986"} 
[2026-07-13 09:00:49] local.INFO: GPS Element Parsed {"raw_longitude":762964352,"raw_latitude":99396088,"longitude_deg":76.2964352,"latitude_deg":9.9396088,"altitude":17,"angle":74,"satellites":37,"speed":7,"hex_longitude":"2d79e980","hex_latitude":"05eca9f8","is_valid_coordinates":true} 
[2026-07-13 09:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681839360001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105673946581434368,"note":"Value kept but may cause issues"} 
[2026-07-13 09:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8784130361143074816,"note":"Value kept but may cause issues"} 
[2026-07-13 09:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783913437000,"timestamp_ms":1783913437000,"timestamp_seconds":1783913437,"priority":1,"record_length":96,"hex_timestamp":"0000019f5986d748"} 
[2026-07-13 09:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:00: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-07-13 09: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-13 09:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681839360001,"66":13178,"157":206,"87":13824,"24":7,"16":105673946581434368,"45":8784130361143074816},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 09:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681839360001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:00:49] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 09:00:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105673946581434368,"km_value":105673946581434.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8784130361143074816,"description":"Unknown IO ID 45"} 
[2026-07-13 09:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681839360001,"power":13178,"unknown_157":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8784130361143074816}} 
[2026-07-13 09:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":131167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:00:49] local.INFO: GPS data processed {"connection_id":131167,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:00:49] local.INFO: Acknowledgment sent {"connection_id":131167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:00:56] local.INFO: TCP Data received {"connection_id":130166,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130166,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:00:56] local.INFO: Processing buffer {"connection_id":130166,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:00:56] local.INFO: IMEI packet received {"connection_id":130166,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 09:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":130166,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:01:12] local.INFO: TCP Data received {"connection_id":131166,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5983aac8012d7f914005afd9380007011b23..."} 
[2026-07-13 09:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5983aac8012d7f914005afd9380007011b23..."} 
[2026-07-13 09:01:12] local.INFO: Processing buffer {"connection_id":131166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5983aac8012d7f914005afd9380007011b23..."} 
[2026-07-13 09:01:12] local.INFO: Packet analysis {"connection_id":131166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5983"} 
[2026-07-13 09:01:12] local.INFO: Extracted packet for processing {"connection_id":131166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5983"} 
[2026-07-13 09:01:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":7,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681709568001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783913229000,"timestamp_ms":1783913229000,"timestamp_seconds":1783913229,"priority":1,"record_length":96,"hex_timestamp":"0000019f5983aac8"} 
[2026-07-13 09:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 09:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681709568001,"66":25038,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681709568001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:01:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:01:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681709568001,"power":25038,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":131166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:01:13] local.INFO: GPS data processed {"connection_id":131166,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:01:13] local.INFO: Acknowledgment sent {"connection_id":131166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:01:20] local.INFO: TCP Data received {"connection_id":131167,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5986df18012d79eb8005ecab200011003e26..."} 
[2026-07-13 09:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5986df18012d79eb8005ecab200011003e26..."} 
[2026-07-13 09:01:20] local.INFO: Processing buffer {"connection_id":131167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5986df18012d79eb8005ecab200011003e26..."} 
[2026-07-13 09:01:20] local.INFO: Packet analysis {"connection_id":131167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5986"} 
[2026-07-13 09:01:20] local.INFO: Extracted packet for processing {"connection_id":131167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5986"} 
[2026-07-13 09:01:20] local.INFO: GPS Element Parsed {"raw_longitude":762964864,"raw_latitude":99396384,"longitude_deg":76.2964864,"latitude_deg":9.9396384,"altitude":17,"angle":62,"satellites":38,"speed":7,"hex_longitude":"2d79eb80","hex_latitude":"05ecab20","is_valid_coordinates":true} 
[2026-07-13 09:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681839872001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105673976646205440,"note":"Value kept but may cause issues"} 
[2026-07-13 09:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8784693311096616960,"note":"Value kept but may cause issues"} 
[2026-07-13 09:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783913439000,"timestamp_ms":1783913439000,"timestamp_seconds":1783913439,"priority":1,"record_length":96,"hex_timestamp":"0000019f5986df18"} 
[2026-07-13 09:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-13 09:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":131167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":131167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":131167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681839872001,"66":13178,"157":206,"87":13824,"24":7,"16":105673976646205440,"45":8784693311096616960},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 09:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681839872001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:01:20] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 09:01:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105673976646205440,"km_value":105673976646205.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8784693311096616960,"description":"Unknown IO ID 45"} 
[2026-07-13 09:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681839872001,"power":13178,"unknown_157":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8784693311096616960}} 
[2026-07-13 09:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":131167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:01:20] local.INFO: GPS data processed {"connection_id":131167,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:01:20] local.INFO: Acknowledgment sent {"connection_id":131167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:01:30] local.INFO: TCP Data received {"connection_id":130372,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130372,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:01:30] local.INFO: Processing buffer {"connection_id":130372,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:01:30] local.INFO: IMEI packet received {"connection_id":130372,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":130372,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:01:32] local.INFO: TCP Data received {"connection_id":130372,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130372,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:01:32] local.INFO: Processing buffer {"connection_id":130372,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:01:32] local.INFO: IMEI packet received {"connection_id":130372,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":130372,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:01:33] local.INFO: TCP Data received {"connection_id":130372,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5986db30012d0bb240070717e0001a00df25..."} 
[2026-07-13 09:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5986db30012d0bb240070717e0001a00df25..."} 
[2026-07-13 09:01:33] local.INFO: Processing buffer {"connection_id":130372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5986db30012d0bb240070717e0001a00df25..."} 
[2026-07-13 09:01:33] local.INFO: Packet analysis {"connection_id":130372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5986"} 
[2026-07-13 09:01:33] local.INFO: Extracted packet for processing {"connection_id":130372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5986"} 
[2026-07-13 09:01:33] local.INFO: GPS Element Parsed {"raw_longitude":755741248,"raw_latitude":117905376,"longitude_deg":75.5741248,"latitude_deg":11.7905376,"altitude":26,"angle":223,"satellites":37,"speed":19,"hex_longitude":"2d0bb240","hex_latitude":"070717e0","is_valid_coordinates":true} 
[2026-07-13 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-07-13 09:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681839872001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24176851945521152,"note":"Value kept but may cause issues"} 
[2026-07-13 09:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843158322920636416,"note":"Value kept but may cause issues"} 
[2026-07-13 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-07-13 09:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783913438000,"timestamp_ms":1783913438000,"timestamp_seconds":1783913438,"priority":1,"record_length":96,"hex_timestamp":"0000019f5986db30"} 
[2026-07-13 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-07-13 09:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":71,"data_length":795,"current_offset":136} 
[2026-07-13 09:01: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-07-13 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-07-13 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-07-13 09:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":130372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":130372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":130372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681839872001,"66":14461,"163":206,"94":10240,"24":19,"16":24176851945521152,"45":843158322920636416},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-13 09:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681839872001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:01:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-13 09:01:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24176851945521152,"km_value":24176851945521.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":843158322920636416,"description":"Unknown IO ID 45"} 
[2026-07-13 09:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681839872001,"power":14461,"unknown_163":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":843158322920636416}} 
[2026-07-13 09:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":130372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479212,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:01:33] local.INFO: GPS data processed {"connection_id":130372,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:01:33] local.INFO: Acknowledgment sent {"connection_id":130372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:01:35] local.INFO: TCP Data received {"connection_id":132479,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:01:35] local.INFO: Processing buffer {"connection_id":132479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:01:35] local.INFO: IMEI packet received {"connection_id":132479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":132479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:01:37] local.INFO: TCP Data received {"connection_id":130372,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5986df18012d0bb04007071700001a00ef25..."} 
[2026-07-13 09:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5986df18012d0bb04007071700001a00ef25..."} 
[2026-07-13 09:01:37] local.INFO: Processing buffer {"connection_id":130372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5986df18012d0bb04007071700001a00ef25..."} 
[2026-07-13 09:01:37] local.INFO: Packet analysis {"connection_id":130372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5986"} 
[2026-07-13 09:01:37] local.INFO: Extracted packet for processing {"connection_id":130372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5986"} 
[2026-07-13 09:01:37] local.INFO: GPS Element Parsed {"raw_longitude":755740736,"raw_latitude":117905152,"longitude_deg":75.5740736,"latitude_deg":11.7905152,"altitude":26,"angle":239,"satellites":37,"speed":20,"hex_longitude":"2d0bb040","hex_latitude":"07071700","is_valid_coordinates":true} 
[2026-07-13 09:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681840128001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24176877715324928,"note":"Value kept but may cause issues"} 
[2026-07-13 09:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":842806479199657984,"note":"Value kept but may cause issues"} 
[2026-07-13 09:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783913439000,"timestamp_ms":1783913439000,"timestamp_seconds":1783913439,"priority":1,"record_length":96,"hex_timestamp":"0000019f5986df18"} 
[2026-07-13 09:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-13 09:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681840128001,"66":14461,"163":206,"94":10240,"24":20,"16":24176877715324928,"45":842806479199657984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-13 09:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681840128001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:01:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-13 09:01:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24176877715324928,"km_value":24176877715324.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":842806479199657984,"description":"Unknown IO ID 45"} 
[2026-07-13 09:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681840128001,"power":14461,"unknown_163":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":842806479199657984}} 
[2026-07-13 09:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":130372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479213,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:01:37] local.INFO: GPS data processed {"connection_id":130372,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:01:37] local.INFO: Acknowledgment sent {"connection_id":130372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:01:40] local.INFO: TCP Data received {"connection_id":131168,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131168,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:01:40] local.INFO: Processing buffer {"connection_id":131168,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:01:40] local.INFO: IMEI packet received {"connection_id":131168,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 09:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":131168,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:01:40] local.INFO: TCP Data received {"connection_id":132479,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:01:40] local.INFO: Processing buffer {"connection_id":132479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:01:40] local.INFO: IMEI packet received {"connection_id":132479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":132479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:01:41] local.INFO: TCP Data received {"connection_id":132479,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5983aac8012d7f914005afd9380007011b23..."} 
[2026-07-13 09:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5983aac8012d7f914005afd9380007011b23..."} 
[2026-07-13 09:01:41] local.INFO: Processing buffer {"connection_id":132479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5983aac8012d7f914005afd9380007011b23..."} 
[2026-07-13 09:01:41] local.INFO: Packet analysis {"connection_id":132479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5983"} 
[2026-07-13 09:01:41] local.INFO: Extracted packet for processing {"connection_id":132479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5983"} 
[2026-07-13 09:01:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":7,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681709568001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783913229000,"timestamp_ms":1783913229000,"timestamp_seconds":1783913229,"priority":1,"record_length":96,"hex_timestamp":"0000019f5983aac8"} 
[2026-07-13 09:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 09:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681709568001,"66":25038,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681709568001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:01:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:01:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681709568001,"power":25038,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":132479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:01:41] local.INFO: GPS data processed {"connection_id":132479,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:01:41] local.INFO: Acknowledgment sent {"connection_id":132479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:01:43] local.INFO: TCP Data received {"connection_id":130373,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:01:43] local.INFO: Processing buffer {"connection_id":130373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:01:43] local.INFO: IMEI packet received {"connection_id":130373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":130373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:01:44] local.INFO: TCP Data received {"connection_id":130373,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:01:44] local.INFO: Processing buffer {"connection_id":130373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:01:44] local.INFO: IMEI packet received {"connection_id":130373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":130373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:01:45] local.INFO: TCP Data received {"connection_id":130373,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:01:45] local.INFO: Processing buffer {"connection_id":130373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:01:45] local.INFO: IMEI packet received {"connection_id":130373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":130373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:01:48] local.INFO: TCP Data received {"connection_id":130373,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:01:48] local.INFO: Processing buffer {"connection_id":130373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:01:48] local.INFO: IMEI packet received {"connection_id":130373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":130373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:01:49] local.INFO: TCP Data received {"connection_id":130373,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5986e300012d79ec4005ecac080012002d26..."} 
[2026-07-13 09:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5986e300012d79ec4005ecac080012002d26..."} 
[2026-07-13 09:01:49] local.INFO: Processing buffer {"connection_id":130373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5986e300012d79ec4005ecac080012002d26..."} 
[2026-07-13 09:01:49] local.INFO: Packet analysis {"connection_id":130373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5986"} 
[2026-07-13 09:01:49] local.INFO: Extracted packet for processing {"connection_id":130373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5986"} 
[2026-07-13 09:01:49] local.INFO: GPS Element Parsed {"raw_longitude":762965056,"raw_latitude":99396616,"longitude_deg":76.2965056,"latitude_deg":9.9396616,"altitude":18,"angle":45,"satellites":38,"speed":7,"hex_longitude":"2d79ec40","hex_latitude":"05ecac08","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681840384001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105673993826074624,"note":"Value kept but may cause issues"} 
[2026-07-13 09:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8785256261050114048,"note":"Value kept but may cause issues"} 
[2026-07-13 09:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783913440000,"timestamp_ms":1783913440000,"timestamp_seconds":1783913440,"priority":1,"record_length":96,"hex_timestamp":"0000019f5986e300"} 
[2026-07-13 09:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:01: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-07-13 09: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-13 09:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09: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-07-13 09:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681840384001,"66":12982,"157":206,"87":13824,"24":7,"16":105673993826074624,"45":8785256261050114048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 09:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681840384001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:01:49] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 09:01:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105673993826074624,"km_value":105673993826074.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8785256261050114048,"description":"Unknown IO ID 45"} 
[2026-07-13 09:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681840384001,"power":12982,"unknown_157":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8785256261050114048}} 
[2026-07-13 09:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":130373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479215,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:01:49] local.INFO: GPS data processed {"connection_id":130373,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:01:49] local.INFO: Acknowledgment sent {"connection_id":130373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:02:08] local.INFO: TCP Data received {"connection_id":130372,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59881798012d0aef4007066f18000f00ba25..."} 
[2026-07-13 09:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59881798012d0aef4007066f18000f00ba25..."} 
[2026-07-13 09:02:08] local.INFO: Processing buffer {"connection_id":130372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59881798012d0aef4007066f18000f00ba25..."} 
[2026-07-13 09:02:08] local.INFO: Packet analysis {"connection_id":130372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:02:08] local.INFO: Extracted packet for processing {"connection_id":130372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:02:08] local.INFO: GPS Element Parsed {"raw_longitude":755691328,"raw_latitude":117862168,"longitude_deg":75.5691328,"latitude_deg":11.7862168,"altitude":15,"angle":186,"satellites":37,"speed":5,"hex_longitude":"2d0aef40","hex_latitude":"07066f18","is_valid_coordinates":true} 
[2026-07-13 09:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681858304001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24180287919357952,"note":"Value kept but may cause issues"} 
[2026-07-13 09:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":790381764776675328,"note":"Value kept but may cause issues"} 
[2026-07-13 09:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783913519000,"timestamp_ms":1783913519000,"timestamp_seconds":1783913519,"priority":1,"record_length":96,"hex_timestamp":"0000019f59881798"} 
[2026-07-13 09:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-13 09:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681858304001,"66":14439,"163":206,"94":10240,"24":5,"16":24180287919357952,"45":790381764776675328},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-13 09:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681858304001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:02:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-13 09:02:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24180287919357952,"km_value":24180287919357.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":790381764776675328,"description":"Unknown IO ID 45"} 
[2026-07-13 09:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681858304001,"power":14439,"unknown_163":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":790381764776675328}} 
[2026-07-13 09:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":130372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479216,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:02:08] local.INFO: GPS data processed {"connection_id":130372,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:02:08] local.INFO: Acknowledgment sent {"connection_id":130372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:02:12] local.INFO: TCP Data received {"connection_id":132479,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5983aac8012d7f914005afd9380007011b23..."} 
[2026-07-13 09:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5983aac8012d7f914005afd9380007011b23..."} 
[2026-07-13 09:02:12] local.INFO: Processing buffer {"connection_id":132479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5983aac8012d7f914005afd9380007011b23..."} 
[2026-07-13 09:02:12] local.INFO: Packet analysis {"connection_id":132479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5983"} 
[2026-07-13 09:02:12] local.INFO: Extracted packet for processing {"connection_id":132479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5983"} 
[2026-07-13 09:02:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":7,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681709568001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783913229000,"timestamp_ms":1783913229000,"timestamp_seconds":1783913229,"priority":1,"record_length":96,"hex_timestamp":"0000019f5983aac8"} 
[2026-07-13 09:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 09:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681709568001,"66":25038,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681709568001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:02:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:02:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681709568001,"power":25038,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":132479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:02:12] local.INFO: GPS data processed {"connection_id":132479,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:02:12] local.INFO: Acknowledgment sent {"connection_id":132479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:02:20] local.INFO: TCP Data received {"connection_id":130373,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59885230012d79e60005ecacf0000f012e25..."} 
[2026-07-13 09:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59885230012d79e60005ecacf0000f012e25..."} 
[2026-07-13 09:02:20] local.INFO: Processing buffer {"connection_id":130373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59885230012d79e60005ecacf0000f012e25..."} 
[2026-07-13 09:02:20] local.INFO: Packet analysis {"connection_id":130373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:02:20] local.INFO: Extracted packet for processing {"connection_id":130373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:02:20] local.INFO: GPS Element Parsed {"raw_longitude":762963456,"raw_latitude":99396848,"longitude_deg":76.2963456,"latitude_deg":9.9396848,"altitude":15,"angle":302,"satellites":37,"speed":1,"hex_longitude":"2d79e600","hex_latitude":"05ecacf0","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681864192001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105674234344243200,"note":"Value kept but may cause issues"} 
[2026-07-13 09:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783919254910832640,"note":"Value kept but may cause issues"} 
[2026-07-13 09:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783913534000,"timestamp_ms":1783913534000,"timestamp_seconds":1783913534,"priority":1,"record_length":96,"hex_timestamp":"0000019f59885230"} 
[2026-07-13 09:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-13 09:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09: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-07-13 09:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681864192001,"66":13222,"157":206,"87":13824,"24":1,"16":105674234344243200,"45":8783919254910832640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 09:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681864192001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:02:20] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 09:02:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105674234344243200,"km_value":105674234344243.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783919254910832640,"description":"Unknown IO ID 45"} 
[2026-07-13 09:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681864192001,"power":13222,"unknown_157":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8783919254910832640}} 
[2026-07-13 09:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":130373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:02:20] local.INFO: GPS data processed {"connection_id":130373,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:02:20] local.INFO: Acknowledgment sent {"connection_id":130373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:02:26] local.INFO: TCP Data received {"connection_id":131169,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131169,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:02:26] local.INFO: Processing buffer {"connection_id":131169,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:02:26] local.INFO: IMEI packet received {"connection_id":131169,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":131169,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:02:27] local.INFO: TCP Data received {"connection_id":131169,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131169,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:02:27] local.INFO: Processing buffer {"connection_id":131169,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:02:27] local.INFO: IMEI packet received {"connection_id":131169,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":131169,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:02:33] local.INFO: TCP Data received {"connection_id":131169,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131169,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:02:33] local.INFO: Processing buffer {"connection_id":131169,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:02:33] local.INFO: IMEI packet received {"connection_id":131169,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":131169,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:02:33] local.INFO: TCP Data received {"connection_id":131169,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59881b80012d0aef8007066e50000f00ac25..."} 
[2026-07-13 09:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59881b80012d0aef8007066e50000f00ac25..."} 
[2026-07-13 09:02:33] local.INFO: Processing buffer {"connection_id":131169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59881b80012d0aef8007066e50000f00ac25..."} 
[2026-07-13 09:02:33] local.INFO: Packet analysis {"connection_id":131169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:02:33] local.INFO: Extracted packet for processing {"connection_id":131169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:02:33] local.INFO: GPS Element Parsed {"raw_longitude":755691392,"raw_latitude":117861968,"longitude_deg":75.5691392,"latitude_deg":11.7861968,"altitude":15,"angle":172,"satellites":37,"speed":8,"hex_longitude":"2d0aef80","hex_latitude":"07066e50","is_valid_coordinates":true} 
[2026-07-13 09:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681860864001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24180300804259840,"note":"Value kept but may cause issues"} 
[2026-07-13 09:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787918858730018816,"note":"Value kept but may cause issues"} 
[2026-07-13 09:02: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-07-13 09:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783913520000,"timestamp_ms":1783913520000,"timestamp_seconds":1783913520,"priority":1,"record_length":96,"hex_timestamp":"0000019f59881b80"} 
[2026-07-13 09:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 09:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":131169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":131169,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":131169,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681860864001,"66":14407,"163":206,"94":10240,"24":8,"16":24180300804259840,"45":787918858730018816},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-13 09:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681860864001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:02:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-13 09:02:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24180300804259840,"km_value":24180300804259.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":787918858730018816,"description":"Unknown IO ID 45"} 
[2026-07-13 09:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681860864001,"power":14407,"unknown_163":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":787918858730018816}} 
[2026-07-13 09:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":131169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479219,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:02:34] local.INFO: GPS data processed {"connection_id":131169,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:02:34] local.INFO: Acknowledgment sent {"connection_id":131169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:02:40] local.INFO: TCP Data received {"connection_id":132480,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:02:40] local.INFO: Processing buffer {"connection_id":132480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:02:40] local.INFO: IMEI packet received {"connection_id":132480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":132480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:02:43] local.INFO: TCP Data received {"connection_id":132482,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:02:43] local.INFO: Processing buffer {"connection_id":132482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:02:43] local.INFO: IMEI packet received {"connection_id":132482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":132482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:02:45] local.INFO: TCP Data received {"connection_id":132480,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:02:45] local.INFO: Processing buffer {"connection_id":132480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:02:45] local.INFO: IMEI packet received {"connection_id":132480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":132480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:02:46] local.INFO: TCP Data received {"connection_id":132480,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5983aac8012d7f914005afd9380007011b23..."} 
[2026-07-13 09:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5983aac8012d7f914005afd9380007011b23..."} 
[2026-07-13 09:02:46] local.INFO: Processing buffer {"connection_id":132480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5983aac8012d7f914005afd9380007011b23..."} 
[2026-07-13 09:02:46] local.INFO: Packet analysis {"connection_id":132480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5983"} 
[2026-07-13 09:02:46] local.INFO: Extracted packet for processing {"connection_id":132480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5983"} 
[2026-07-13 09:02:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":7,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681709568001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783913229000,"timestamp_ms":1783913229000,"timestamp_seconds":1783913229,"priority":1,"record_length":96,"hex_timestamp":"0000019f5983aac8"} 
[2026-07-13 09:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 09:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681709568001,"66":25038,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681709568001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:02:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:02:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681709568001,"power":25038,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":132480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:02:46] local.INFO: GPS data processed {"connection_id":132480,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:02:46] local.INFO: Acknowledgment sent {"connection_id":132480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:02:48] local.INFO: TCP Data received {"connection_id":132482,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:02:48] local.INFO: Processing buffer {"connection_id":132482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:02:48] local.INFO: IMEI packet received {"connection_id":132482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":132482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:02:48] local.INFO: TCP Data received {"connection_id":132480,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:02:48] local.INFO: Processing buffer {"connection_id":132480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:02:48] local.INFO: Packet analysis {"connection_id":132480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:02:48] local.INFO: Extracted packet for processing {"connection_id":132480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:02:48] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681786624001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783913530000,"timestamp_ms":1783913530000,"timestamp_seconds":1783913530,"priority":1,"record_length":96,"hex_timestamp":"0000019f59884290"} 
[2026-07-13 09:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-07-13 09:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":132480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":132480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":132480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681786624001,"66":25158,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681786624001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:02:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:02:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681786624001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":132480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:02:48] local.INFO: GPS data processed {"connection_id":132480,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:02:48] local.INFO: Acknowledgment sent {"connection_id":132480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:02:49] local.INFO: TCP Data received {"connection_id":132482,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59885618012d79e5c005ecacd8000f00fa26..."} 
[2026-07-13 09:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59885618012d79e5c005ecacd8000f00fa26..."} 
[2026-07-13 09:02:49] local.INFO: Processing buffer {"connection_id":132482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59885618012d79e5c005ecacd8000f00fa26..."} 
[2026-07-13 09:02:49] local.INFO: Packet analysis {"connection_id":132482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:02:49] local.INFO: Extracted packet for processing {"connection_id":132482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:02:49] local.INFO: GPS Element Parsed {"raw_longitude":762963392,"raw_latitude":99396824,"longitude_deg":76.2963392,"latitude_deg":9.9396824,"altitude":15,"angle":250,"satellites":38,"speed":1,"hex_longitude":"2d79e5c0","hex_latitude":"05ecacd8","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681864704001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105674238639210496,"note":"Value kept but may cause issues"} 
[2026-07-13 09:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783708148678324224,"note":"Value kept but may cause issues"} 
[2026-07-13 09:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783913535000,"timestamp_ms":1783913535000,"timestamp_seconds":1783913535,"priority":1,"record_length":96,"hex_timestamp":"0000019f59885618"} 
[2026-07-13 09:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:02: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-07-13 09: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-13 09:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09: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-07-13 09:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681864704001,"66":13254,"157":206,"87":13824,"24":1,"16":105674238639210496,"45":8783708148678324224},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 09:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681864704001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:02:49] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 09:02:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105674238639210496,"km_value":105674238639210.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783708148678324224,"description":"Unknown IO ID 45"} 
[2026-07-13 09:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681864704001,"power":13254,"unknown_157":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8783708148678324224}} 
[2026-07-13 09:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":132482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:02:49] local.INFO: GPS data processed {"connection_id":132482,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:02:49] local.INFO: Acknowledgment sent {"connection_id":132482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:03:04] local.INFO: TCP Data received {"connection_id":131169,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59882350012d0aefc007066c58000f00a125..."} 
[2026-07-13 09:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59882350012d0aefc007066c58000f00a125..."} 
[2026-07-13 09:03:04] local.INFO: Processing buffer {"connection_id":131169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59882350012d0aefc007066c58000f00a125..."} 
[2026-07-13 09:03:04] local.INFO: Packet analysis {"connection_id":131169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:03:04] local.INFO: Extracted packet for processing {"connection_id":131169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:03:04] local.INFO: GPS Element Parsed {"raw_longitude":755691456,"raw_latitude":117861464,"longitude_deg":75.5691456,"latitude_deg":11.7861464,"altitude":15,"angle":161,"satellites":37,"speed":12,"hex_longitude":"2d0aefc0","hex_latitude":"07066c58","is_valid_coordinates":true} 
[2026-07-13 09:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681861120001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24180326574063616,"note":"Value kept but may cause issues"} 
[2026-07-13 09:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787989227474145280,"note":"Value kept but may cause issues"} 
[2026-07-13 09:03: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-07-13 09:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783913522000,"timestamp_ms":1783913522000,"timestamp_seconds":1783913522,"priority":1,"record_length":96,"hex_timestamp":"0000019f59882350"} 
[2026-07-13 09:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-13 09:03: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-07-13 09:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":131169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":131169,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":131169,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681861120001,"66":14363,"163":206,"94":10240,"24":12,"16":24180326574063616,"45":787989227474145280},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-13 09:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681861120001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:03:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-13 09:03:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24180326574063616,"km_value":24180326574063.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":787989227474145280,"description":"Unknown IO ID 45"} 
[2026-07-13 09:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681861120001,"power":14363,"unknown_163":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":787989227474145280}} 
[2026-07-13 09:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":131169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479223,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:03:04] local.INFO: GPS data processed {"connection_id":131169,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:03:04] local.INFO: Acknowledgment sent {"connection_id":131169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:03:20] local.INFO: TCP Data received {"connection_id":132480,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:03:20] local.INFO: Processing buffer {"connection_id":132480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:03:20] local.INFO: Packet analysis {"connection_id":132480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:03:20] local.INFO: Extracted packet for processing {"connection_id":132480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:03:20] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681786624001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783913530000,"timestamp_ms":1783913530000,"timestamp_seconds":1783913530,"priority":1,"record_length":96,"hex_timestamp":"0000019f59884290"} 
[2026-07-13 09:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-07-13 09:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":132480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":132480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":132480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:03: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-07-13 09:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681786624001,"66":25158,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681786624001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:03:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:03:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681786624001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":132480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:03:20] local.INFO: GPS data processed {"connection_id":132480,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:03:20] local.INFO: Acknowledgment sent {"connection_id":132480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:03:20] local.INFO: TCP Data received {"connection_id":132482,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59885a00012d79e54005ecaca8000f010926..."} 
[2026-07-13 09:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59885a00012d79e54005ecaca8000f010926..."} 
[2026-07-13 09:03:20] local.INFO: Processing buffer {"connection_id":132482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59885a00012d79e54005ecaca8000f010926..."} 
[2026-07-13 09:03:20] local.INFO: Packet analysis {"connection_id":132482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:03:20] local.INFO: Extracted packet for processing {"connection_id":132482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:03:20] local.INFO: GPS Element Parsed {"raw_longitude":762963264,"raw_latitude":99396776,"longitude_deg":76.2963264,"latitude_deg":9.9396776,"altitude":15,"angle":265,"satellites":38,"speed":2,"hex_longitude":"2d79e540","hex_latitude":"05ecaca8","is_valid_coordinates":true} 
[2026-07-13 09:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681864960001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105674247229145088,"note":"Value kept but may cause issues"} 
[2026-07-13 09:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783637779934140416,"note":"Value kept but may cause issues"} 
[2026-07-13 09:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783913536000,"timestamp_ms":1783913536000,"timestamp_seconds":1783913536,"priority":1,"record_length":96,"hex_timestamp":"0000019f59885a00"} 
[2026-07-13 09:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-13 09:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":132482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":132482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":132482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681864960001,"66":13254,"157":206,"87":13824,"24":2,"16":105674247229145088,"45":8783637779934140416},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 09:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681864960001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:03:20] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 09:03:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105674247229145088,"km_value":105674247229145.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783637779934140416,"description":"Unknown IO ID 45"} 
[2026-07-13 09:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681864960001,"power":13254,"unknown_157":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8783637779934140416}} 
[2026-07-13 09:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":132482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:03:20] local.INFO: GPS data processed {"connection_id":132482,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:03:20] local.INFO: Acknowledgment sent {"connection_id":132482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:03:27] local.INFO: TCP Data received {"connection_id":130375,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130375,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:03:27] local.INFO: Processing buffer {"connection_id":130375,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:03:27] local.INFO: IMEI packet received {"connection_id":130375,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":130375,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:03:32] local.INFO: TCP Data received {"connection_id":130375,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130375,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:03:32] local.INFO: Processing buffer {"connection_id":130375,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:03:32] local.INFO: IMEI packet received {"connection_id":130375,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":130375,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:03:33] local.INFO: TCP Data received {"connection_id":130375,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59884a60012d0af940070654580010009524..."} 
[2026-07-13 09:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59884a60012d0af940070654580010009524..."} 
[2026-07-13 09:03:33] local.INFO: Processing buffer {"connection_id":130375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59884a60012d0af940070654580010009524..."} 
[2026-07-13 09:03:33] local.INFO: Packet analysis {"connection_id":130375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:03:33] local.INFO: Extracted packet for processing {"connection_id":130375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:03:33] local.INFO: GPS Element Parsed {"raw_longitude":755693888,"raw_latitude":117855320,"longitude_deg":75.5693888,"latitude_deg":11.785532,"altitude":16,"angle":149,"satellites":36,"speed":29,"hex_longitude":"2d0af940","hex_latitude":"07065458","is_valid_coordinates":true} 
[2026-07-13 09:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681861632001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24180644401643520,"note":"Value kept but may cause issues"} 
[2026-07-13 09:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788059596218193920,"note":"Value kept but may cause issues"} 
[2026-07-13 09:03: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-07-13 09:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783913532000,"timestamp_ms":1783913532000,"timestamp_seconds":1783913532,"priority":1,"record_length":96,"hex_timestamp":"0000019f59884a60"} 
[2026-07-13 09:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-13 09:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":130375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":130375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":130375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681861632001,"66":14515,"163":206,"94":10240,"24":29,"16":24180644401643520,"45":788059596218193920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-13 09:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681861632001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:03:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-13 09:03:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24180644401643520,"km_value":24180644401643.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":788059596218193920,"description":"Unknown IO ID 45"} 
[2026-07-13 09:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681861632001,"power":14515,"unknown_163":206,"unknown_94":10240,"ignition":29,"odometer":null,"unknown_45":788059596218193920}} 
[2026-07-13 09:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":130375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479226,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:03:33] local.INFO: GPS data processed {"connection_id":130375,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:03:33] local.INFO: Acknowledgment sent {"connection_id":130375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:03:35] local.INFO: TCP Data received {"connection_id":130376,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:03:35] local.INFO: Processing buffer {"connection_id":130376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:03:35] local.INFO: IMEI packet received {"connection_id":130376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":130376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:03:40] local.INFO: TCP Data received {"connection_id":130376,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:03:40] local.INFO: Processing buffer {"connection_id":130376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:03:40] local.INFO: IMEI packet received {"connection_id":130376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":130376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:03:41] local.INFO: TCP Data received {"connection_id":130376,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:03:41] local.INFO: Processing buffer {"connection_id":130376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:03:41] local.INFO: Packet analysis {"connection_id":130376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:03:41] local.INFO: Extracted packet for processing {"connection_id":130376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:03:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681786624001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783913530000,"timestamp_ms":1783913530000,"timestamp_seconds":1783913530,"priority":1,"record_length":96,"hex_timestamp":"0000019f59884290"} 
[2026-07-13 09:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-07-13 09:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681786624001,"66":25158,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681786624001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:03:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681786624001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":130376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:03:41] local.INFO: GPS data processed {"connection_id":130376,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:03:41] local.INFO: Acknowledgment sent {"connection_id":130376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:03:48] local.INFO: TCP Data received {"connection_id":131170,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:03:48] local.INFO: Processing buffer {"connection_id":131170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:03:48] local.INFO: IMEI packet received {"connection_id":131170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":131170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:03:53] local.INFO: TCP Data received {"connection_id":131170,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:03:53] local.INFO: Processing buffer {"connection_id":131170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:03:53] local.INFO: IMEI packet received {"connection_id":131170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":131170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:03:54] local.INFO: TCP Data received {"connection_id":131170,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f598865b8012d79e38005ecac68000e00f728..."} 
[2026-07-13 09:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598865b8012d79e38005ecac68000e00f728..."} 
[2026-07-13 09:03:54] local.INFO: Processing buffer {"connection_id":131170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598865b8012d79e38005ecac68000e00f728..."} 
[2026-07-13 09:03:54] local.INFO: Packet analysis {"connection_id":131170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:03:54] local.INFO: Extracted packet for processing {"connection_id":131170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:03:54] local.INFO: GPS Element Parsed {"raw_longitude":762962816,"raw_latitude":99396712,"longitude_deg":76.2962816,"latitude_deg":9.9396712,"altitude":14,"angle":247,"satellites":40,"speed":0,"hex_longitude":"2d79e380","hex_latitude":"05ecac68","is_valid_coordinates":true} 
[2026-07-13 09:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681865216001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105674268703981568,"note":"Value kept but may cause issues"} 
[2026-07-13 09:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783497042445772800,"note":"Value kept but may cause issues"} 
[2026-07-13 09:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783913539000,"timestamp_ms":1783913539000,"timestamp_seconds":1783913539,"priority":1,"record_length":96,"hex_timestamp":"0000019f598865b8"} 
[2026-07-13 09:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-13 09:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09: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-07-13 09:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":131170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":131170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":131170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681865216001,"66":12961,"157":206,"87":13824,"24":0,"16":105674268703981568,"45":8783497042445772800},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 09:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681865216001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:03:54] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 09:03:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105674268703981568,"km_value":105674268703981.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783497042445772800,"description":"Unknown IO ID 45"} 
[2026-07-13 09:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681865216001,"power":12961,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8783497042445772800}} 
[2026-07-13 09:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":131170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:03:54] local.INFO: GPS data processed {"connection_id":131170,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:03:54] local.INFO: Acknowledgment sent {"connection_id":131170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:03:54] local.INFO: TCP Data received {"connection_id":131170,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59889498012d79e14005ecaaf0000e00d52e..."} 
[2026-07-13 09:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59889498012d79e14005ecaaf0000e00d52e..."} 
[2026-07-13 09:03:54] local.INFO: Processing buffer {"connection_id":131170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59889498012d79e14005ecaaf0000e00d52e..."} 
[2026-07-13 09:03:54] local.INFO: Packet analysis {"connection_id":131170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:03:54] local.INFO: Extracted packet for processing {"connection_id":131170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:03:54] local.INFO: GPS Element Parsed {"raw_longitude":762962240,"raw_latitude":99396336,"longitude_deg":76.296224,"latitude_deg":9.9396336,"altitude":14,"angle":213,"satellites":46,"speed":3,"hex_longitude":"2d79e140","hex_latitude":"05ecaaf0","is_valid_coordinates":true} 
[2026-07-13 09:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681865984001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105674303063719936,"note":"Value kept but may cause issues"} 
[2026-07-13 09:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783004461236512768,"note":"Value kept but may cause issues"} 
[2026-07-13 09:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783913551000,"timestamp_ms":1783913551000,"timestamp_seconds":1783913551,"priority":1,"record_length":96,"hex_timestamp":"0000019f59889498"} 
[2026-07-13 09:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-13 09:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09: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-07-13 09:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":131170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":131170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":131170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681865984001,"66":12961,"157":206,"87":13824,"24":3,"16":105674303063719936,"45":8783004461236512768},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 09:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681865984001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:03:54] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 09:03:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105674303063719936,"km_value":105674303063719.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783004461236512768,"description":"Unknown IO ID 45"} 
[2026-07-13 09:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681865984001,"power":12961,"unknown_157":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8783004461236512768}} 
[2026-07-13 09:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":131170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479229,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:03:54] local.INFO: GPS data processed {"connection_id":131170,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:03:54] local.INFO: Acknowledgment sent {"connection_id":131170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:04:04] local.INFO: TCP Data received {"connection_id":130375,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59887d28012d0b0b80070634c00014009425..."} 
[2026-07-13 09:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59887d28012d0b0b80070634c00014009425..."} 
[2026-07-13 09:04:04] local.INFO: Processing buffer {"connection_id":130375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59887d28012d0b0b80070634c00014009425..."} 
[2026-07-13 09:04:04] local.INFO: Packet analysis {"connection_id":130375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:04:04] local.INFO: Extracted packet for processing {"connection_id":130375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:04:04] local.INFO: GPS Element Parsed {"raw_longitude":755698560,"raw_latitude":117847232,"longitude_deg":75.569856,"latitude_deg":11.7847232,"altitude":20,"angle":148,"satellites":37,"speed":20,"hex_longitude":"2d0b0b80","hex_latitude":"070634c0","is_valid_coordinates":true} 
[2026-07-13 09:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681864192001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24181095373209600,"note":"Value kept but may cause issues"} 
[2026-07-13 09:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":790733608495372288,"note":"Value kept but may cause issues"} 
[2026-07-13 09:04: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-07-13 09:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783913545000,"timestamp_ms":1783913545000,"timestamp_seconds":1783913545,"priority":1,"record_length":96,"hex_timestamp":"0000019f59887d28"} 
[2026-07-13 09:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-13 09:04: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-07-13 09:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681864192001,"66":14407,"163":206,"94":10240,"24":20,"16":24181095373209600,"45":790733608495372288},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-13 09:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681864192001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:04:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-13 09:04:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24181095373209600,"km_value":24181095373209.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":790733608495372288,"description":"Unknown IO ID 45"} 
[2026-07-13 09:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681864192001,"power":14407,"unknown_163":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":790733608495372288}} 
[2026-07-13 09:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":130375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479230,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:04:04] local.INFO: GPS data processed {"connection_id":130375,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:04:04] local.INFO: Acknowledgment sent {"connection_id":130375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:04:12] local.INFO: TCP Data received {"connection_id":130376,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:04:12] local.INFO: Processing buffer {"connection_id":130376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:04:12] local.INFO: Packet analysis {"connection_id":130376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:04:12] local.INFO: Extracted packet for processing {"connection_id":130376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:04:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681786624001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783913530000,"timestamp_ms":1783913530000,"timestamp_seconds":1783913530,"priority":1,"record_length":96,"hex_timestamp":"0000019f59884290"} 
[2026-07-13 09:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-07-13 09:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681786624001,"66":25158,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681786624001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:04:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:04:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681786624001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":130376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:04:12] local.INFO: GPS data processed {"connection_id":130376,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:04:12] local.INFO: Acknowledgment sent {"connection_id":130376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:04:26] local.INFO: TCP Data received {"connection_id":131170,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59889c68012d79e14005eca9c8000e00ab2c..."} 
[2026-07-13 09:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59889c68012d79e14005eca9c8000e00ab2c..."} 
[2026-07-13 09:04:26] local.INFO: Processing buffer {"connection_id":131170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59889c68012d79e14005eca9c8000e00ab2c..."} 
[2026-07-13 09:04:26] local.INFO: Packet analysis {"connection_id":131170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:04:26] local.INFO: Extracted packet for processing {"connection_id":131170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:04:26] local.INFO: GPS Element Parsed {"raw_longitude":762962240,"raw_latitude":99396040,"longitude_deg":76.296224,"latitude_deg":9.939604,"altitude":14,"angle":171,"satellites":44,"speed":7,"hex_longitude":"2d79e140","hex_latitude":"05eca9c8","is_valid_coordinates":true} 
[2026-07-13 09:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681869056001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105674333128491008,"note":"Value kept but may cause issues"} 
[2026-07-13 09:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782371142538817536,"note":"Value kept but may cause issues"} 
[2026-07-13 09:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783913553000,"timestamp_ms":1783913553000,"timestamp_seconds":1783913553,"priority":1,"record_length":96,"hex_timestamp":"0000019f59889c68"} 
[2026-07-13 09:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:04: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-07-13 09: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-13 09:04:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":131170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":131170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":131170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681869056001,"66":13374,"157":206,"87":13824,"24":7,"16":105674333128491008,"45":8782371142538817536},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 09:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681869056001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:04:26] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 09:04:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105674333128491008,"km_value":105674333128491.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782371142538817536,"description":"Unknown IO ID 45"} 
[2026-07-13 09:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681869056001,"power":13374,"unknown_157":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8782371142538817536}} 
[2026-07-13 09:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":131170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479232,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:04:26] local.INFO: GPS data processed {"connection_id":131170,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:04:26] local.INFO: Acknowledgment sent {"connection_id":131170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:04:27] local.INFO: TCP Data received {"connection_id":132484,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132484,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:04:27] local.INFO: Processing buffer {"connection_id":132484,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:04:27] local.INFO: IMEI packet received {"connection_id":132484,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":132484,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:04:33] local.INFO: TCP Data received {"connection_id":132484,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132484,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:04:33] local.INFO: Processing buffer {"connection_id":132484,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:04:33] local.INFO: IMEI packet received {"connection_id":132484,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":132484,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:04:33] local.INFO: TCP Data received {"connection_id":132484,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5988cb48012d0b140007062a480012009423..."} 
[2026-07-13 09:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5988cb48012d0b140007062a480012009423..."} 
[2026-07-13 09:04:33] local.INFO: Processing buffer {"connection_id":132484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5988cb48012d0b140007062a480012009423..."} 
[2026-07-13 09:04:33] local.INFO: Packet analysis {"connection_id":132484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:04:33] local.INFO: Extracted packet for processing {"connection_id":132484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:04:33] local.INFO: GPS Element Parsed {"raw_longitude":755700736,"raw_latitude":117844552,"longitude_deg":75.5700736,"latitude_deg":11.7844552,"altitude":18,"angle":148,"satellites":35,"speed":5,"hex_longitude":"2d0b1400","hex_latitude":"07062a48","is_valid_coordinates":true} 
[2026-07-13 09:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681867520001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24181271466868736,"note":"Value kept but may cause issues"} 
[2026-07-13 09:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795870526818271232,"note":"Value kept but may cause issues"} 
[2026-07-13 09:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783913565000,"timestamp_ms":1783913565000,"timestamp_seconds":1783913565,"priority":1,"record_length":96,"hex_timestamp":"0000019f5988cb48"} 
[2026-07-13 09:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-13 09:04: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-07-13 09:04:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":132484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":132484,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":132484,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681867520001,"66":14548,"165":206,"94":10240,"24":5,"16":24181271466868736,"45":795870526818271232},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-13 09:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681867520001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:04:33] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-13 09:04:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24181271466868736,"km_value":24181271466868.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":795870526818271232,"description":"Unknown IO ID 45"} 
[2026-07-13 09:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681867520001,"power":14548,"unknown_165":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":795870526818271232}} 
[2026-07-13 09:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":132484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479233,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:04:33] local.INFO: GPS data processed {"connection_id":132484,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:04:33] local.INFO: Acknowledgment sent {"connection_id":132484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:04:35] local.INFO: TCP Data received {"connection_id":130167,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:04:35] local.INFO: Processing buffer {"connection_id":130167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:04:35] local.INFO: IMEI packet received {"connection_id":130167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":130167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:04:40] local.INFO: TCP Data received {"connection_id":130167,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:04:40] local.INFO: Processing buffer {"connection_id":130167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:04:40] local.INFO: IMEI packet received {"connection_id":130167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":130167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:04:41] local.INFO: TCP Data received {"connection_id":130167,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:04:41] local.INFO: Processing buffer {"connection_id":130167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:04:41] local.INFO: Packet analysis {"connection_id":130167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:04:41] local.INFO: Extracted packet for processing {"connection_id":130167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:04:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681786624001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783913530000,"timestamp_ms":1783913530000,"timestamp_seconds":1783913530,"priority":1,"record_length":96,"hex_timestamp":"0000019f59884290"} 
[2026-07-13 09:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-07-13 09:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681786624001,"66":25158,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681786624001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:04:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681786624001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":130167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:04:41] local.INFO: GPS data processed {"connection_id":130167,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:04:41] local.INFO: Acknowledgment sent {"connection_id":130167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:04:43] local.INFO: TCP Data received {"connection_id":132485,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:04:43] local.INFO: Processing buffer {"connection_id":132485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:04:43] local.INFO: IMEI packet received {"connection_id":132485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":132485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:04:48] local.INFO: TCP Data received {"connection_id":132485,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:04:48] local.INFO: Processing buffer {"connection_id":132485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:04:48] local.INFO: IMEI packet received {"connection_id":132485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":132485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:04:49] local.INFO: TCP Data received {"connection_id":132485,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5988a438012d79e20005eca7e0000e00a02f..."} 
[2026-07-13 09:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5988a438012d79e20005eca7e0000e00a02f..."} 
[2026-07-13 09:04:49] local.INFO: Processing buffer {"connection_id":132485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5988a438012d79e20005eca7e0000e00a02f..."} 
[2026-07-13 09:04:49] local.INFO: Packet analysis {"connection_id":132485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:04:49] local.INFO: Extracted packet for processing {"connection_id":132485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:04:49] local.INFO: GPS Element Parsed {"raw_longitude":762962432,"raw_latitude":99395552,"longitude_deg":76.2962432,"latitude_deg":9.9395552,"altitude":14,"angle":160,"satellites":47,"speed":9,"hex_longitude":"2d79e200","hex_latitude":"05eca7e0","is_valid_coordinates":true} 
[2026-07-13 09:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681869568001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105674358898294784,"note":"Value kept but may cause issues"} 
[2026-07-13 09:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782371142538741760,"note":"Value kept but may cause issues"} 
[2026-07-13 09:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783913555000,"timestamp_ms":1783913555000,"timestamp_seconds":1783913555,"priority":1,"record_length":96,"hex_timestamp":"0000019f5988a438"} 
[2026-07-13 09:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-13 09:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681869568001,"66":13059,"157":206,"87":13824,"24":9,"16":105674358898294784,"45":8782371142538741760},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 09:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681869568001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:04:49] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 09:04:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105674358898294784,"km_value":105674358898294.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782371142538741760,"description":"Unknown IO ID 45"} 
[2026-07-13 09:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681869568001,"power":13059,"unknown_157":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8782371142538741760}} 
[2026-07-13 09:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":132485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479235,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:04:49] local.INFO: GPS data processed {"connection_id":132485,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:04:49] local.INFO: Acknowledgment sent {"connection_id":132485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:05:04] local.INFO: TCP Data received {"connection_id":132484,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5988ea88012d0b1bc0070620980013008325..."} 
[2026-07-13 09:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5988ea88012d0b1bc0070620980013008325..."} 
[2026-07-13 09:05:04] local.INFO: Processing buffer {"connection_id":132484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5988ea88012d0b1bc0070620980013008325..."} 
[2026-07-13 09:05:04] local.INFO: Packet analysis {"connection_id":132484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:05:04] local.INFO: Extracted packet for processing {"connection_id":132484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:05:04] local.INFO: GPS Element Parsed {"raw_longitude":755702720,"raw_latitude":117842072,"longitude_deg":75.570272,"latitude_deg":11.7842072,"altitude":19,"angle":131,"satellites":37,"speed":21,"hex_longitude":"2d0b1bc0","hex_latitude":"07062098","is_valid_coordinates":true} 
[2026-07-13 09:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681872640001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24181421790724096,"note":"Value kept but may cause issues"} 
[2026-07-13 09:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798263064119625728,"note":"Value kept but may cause issues"} 
[2026-07-13 09:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783913573000,"timestamp_ms":1783913573000,"timestamp_seconds":1783913573,"priority":1,"record_length":96,"hex_timestamp":"0000019f5988ea88"} 
[2026-07-13 09:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-13 09:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132484,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132484,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681872640001,"66":14450,"165":206,"94":10240,"24":21,"16":24181421790724096,"45":798263064119625728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-13 09:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681872640001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:05:04] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-13 09:05:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24181421790724096,"km_value":24181421790724.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":798263064119625728,"description":"Unknown IO ID 45"} 
[2026-07-13 09:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681872640001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":798263064119625728}} 
[2026-07-13 09:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":132484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479236,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:05:04] local.INFO: GPS data processed {"connection_id":132484,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:05:04] local.INFO: Acknowledgment sent {"connection_id":132484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:05:12] local.INFO: TCP Data received {"connection_id":130167,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:05:12] local.INFO: Processing buffer {"connection_id":130167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:05:12] local.INFO: Packet analysis {"connection_id":130167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:05:12] local.INFO: Extracted packet for processing {"connection_id":130167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:05:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681786624001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783913530000,"timestamp_ms":1783913530000,"timestamp_seconds":1783913530,"priority":1,"record_length":96,"hex_timestamp":"0000019f59884290"} 
[2026-07-13 09:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-07-13 09:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681786624001,"66":25158,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681786624001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:05:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:05:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681786624001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":130167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:05:12] local.INFO: GPS data processed {"connection_id":130167,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:05:12] local.INFO: Acknowledgment sent {"connection_id":130167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:05:20] local.INFO: TCP Data received {"connection_id":132485,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5988f258012d79ed8005ec8940000f009c2d..."} 
[2026-07-13 09:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5988f258012d79ed8005ec8940000f009c2d..."} 
[2026-07-13 09:05:20] local.INFO: Processing buffer {"connection_id":132485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5988f258012d79ed8005ec8940000f009c2d..."} 
[2026-07-13 09:05:20] local.INFO: Packet analysis {"connection_id":132485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:05:20] local.INFO: Extracted packet for processing {"connection_id":132485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:05:20] local.INFO: GPS Element Parsed {"raw_longitude":762965376,"raw_latitude":99387712,"longitude_deg":76.2965376,"latitude_deg":9.9387712,"altitude":15,"angle":156,"satellites":45,"speed":19,"hex_longitude":"2d79ed80","hex_latitude":"05ec8940","is_valid_coordinates":true} 
[2026-07-13 09:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681870080001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105674762625220608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782582248771149824,"note":"Value kept but may cause issues"} 
[2026-07-13 09:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783913575000,"timestamp_ms":1783913575000,"timestamp_seconds":1783913575,"priority":1,"record_length":96,"hex_timestamp":"0000019f5988f258"} 
[2026-07-13 09:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-13 09:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165747547453,"note":"Value kept but may cause issues"} 
[2026-07-13 09:05:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":58079734643818497,"note":"Value kept but may cause issues"} 
[2026-07-13 09:05:20] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2287599617,"note":"Value kept but may cause issues"} 
[2026-07-13 09:05:20] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2896691215,"note":"Value kept but may cause issues"} 
[2026-07-13 09:05:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-07-13 09:05:20] local.WARNING: Large IO value detected {"io_id":229,"raw_value":3221613740,"note":"Value kept but may cause issues"} 
[2026-07-13 09:05:20] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941309,"note":"Value kept but may cause issues"} 
[2026-07-13 09:05:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3970756608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:05:20] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,157,87,24,241,16,110,159,156,45,64,169,14,44,10,66,148,170,46,101,128,1,240,161,227,89,236,4,113,205,2,86,229,216,38,239,51,119,5,15],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-07-13 09:05:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008982440255488000,"timestamp_seconds":1008982440255488,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 09:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":132485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":132485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":132485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681870080001,"66":13254,"157":206,"87":13824,"24":19,"16":105674762625220608,"45":8782582248771149824},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 09:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681870080001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:05:20] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 09:05:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105674762625220608,"km_value":105674762625220.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782582248771149824,"description":"Unknown IO ID 45"} 
[2026-07-13 09:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681870080001,"power":13254,"unknown_157":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8782582248771149824}} 
[2026-07-13 09:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":132485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:05:20] local.INFO: GPS data processed {"connection_id":132485,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:05:20] local.INFO: Acknowledgment sent {"connection_id":132485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:05:27] local.INFO: TCP Data received {"connection_id":130168,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130168,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:05:27] local.INFO: Processing buffer {"connection_id":130168,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:05:27] local.INFO: IMEI packet received {"connection_id":130168,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":130168,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:05:32] local.INFO: TCP Data received {"connection_id":130168,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130168,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:05:32] local.INFO: Processing buffer {"connection_id":130168,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:05:32] local.INFO: IMEI packet received {"connection_id":130168,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":130168,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:05:33] local.INFO: TCP Data received {"connection_id":130168,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59891968012d0b3100070611800012007525..."} 
[2026-07-13 09:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59891968012d0b3100070611800012007525..."} 
[2026-07-13 09:05:33] local.INFO: Processing buffer {"connection_id":130168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59891968012d0b3100070611800012007525..."} 
[2026-07-13 09:05:33] local.INFO: Packet analysis {"connection_id":130168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5989"} 
[2026-07-13 09:05:33] local.INFO: Extracted packet for processing {"connection_id":130168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5989"} 
[2026-07-13 09:05:33] local.INFO: GPS Element Parsed {"raw_longitude":755708160,"raw_latitude":117838208,"longitude_deg":75.570816,"latitude_deg":11.7838208,"altitude":18,"angle":117,"satellites":37,"speed":25,"hex_longitude":"2d0b3100","hex_latitude":"07061180","is_valid_coordinates":true} 
[2026-07-13 09:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681874688001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24181743913271296,"note":"Value kept but may cause issues"} 
[2026-07-13 09:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":800444495188498432,"note":"Value kept but may cause issues"} 
[2026-07-13 09:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783913585000,"timestamp_ms":1783913585000,"timestamp_seconds":1783913585,"priority":1,"record_length":96,"hex_timestamp":"0000019f59891968"} 
[2026-07-13 09:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-13 09:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":130168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":130168,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":130168,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681874688001,"66":14428,"165":206,"94":10240,"24":25,"16":24181743913271296,"45":800444495188498432},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-13 09:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681874688001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:05:33] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-13 09:05:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24181743913271296,"km_value":24181743913271.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":800444495188498432,"description":"Unknown IO ID 45"} 
[2026-07-13 09:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681874688001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":800444495188498432}} 
[2026-07-13 09:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":130168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479239,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:05:33] local.INFO: GPS data processed {"connection_id":130168,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:05:33] local.INFO: Acknowledgment sent {"connection_id":130168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:05:35] local.INFO: TCP Data received {"connection_id":130378,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:05:35] local.INFO: Processing buffer {"connection_id":130378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:05:35] local.INFO: IMEI packet received {"connection_id":130378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":130378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:05:40] local.INFO: TCP Data received {"connection_id":130378,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:05:40] local.INFO: Processing buffer {"connection_id":130378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:05:40] local.INFO: IMEI packet received {"connection_id":130378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":130378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:05:41] local.INFO: TCP Data received {"connection_id":130378,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:05:41] local.INFO: Processing buffer {"connection_id":130378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:05:41] local.INFO: Packet analysis {"connection_id":130378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:05:41] local.INFO: Extracted packet for processing {"connection_id":130378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:05:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681786624001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783913530000,"timestamp_ms":1783913530000,"timestamp_seconds":1783913530,"priority":1,"record_length":96,"hex_timestamp":"0000019f59884290"} 
[2026-07-13 09:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-07-13 09:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681786624001,"66":25158,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681786624001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:05:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:05:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681786624001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":130378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:05:41] local.INFO: GPS data processed {"connection_id":130378,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:05:41] local.INFO: Acknowledgment sent {"connection_id":130378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:05:43] local.INFO: TCP Data received {"connection_id":131172,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131172,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:05:43] local.INFO: Processing buffer {"connection_id":131172,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:05:43] local.INFO: IMEI packet received {"connection_id":131172,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":131172,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:05:48] local.INFO: TCP Data received {"connection_id":131172,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131172,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:05:48] local.INFO: Processing buffer {"connection_id":131172,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:05:48] local.INFO: IMEI packet received {"connection_id":131172,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":131172,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:05:49] local.INFO: TCP Data received {"connection_id":131172,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f598b4800012d7a540005eb9868000a008e2a..."} 
[2026-07-13 09:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598b4800012d7a540005eb9868000a008e2a..."} 
[2026-07-13 09:05:49] local.INFO: Processing buffer {"connection_id":131172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598b4800012d7a540005eb9868000a008e2a..."} 
[2026-07-13 09:05:49] local.INFO: Packet analysis {"connection_id":131172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598b"} 
[2026-07-13 09:05:49] local.INFO: Extracted packet for processing {"connection_id":131172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598b"} 
[2026-07-13 09:05:49] local.INFO: GPS Element Parsed {"raw_longitude":762991616,"raw_latitude":99326056,"longitude_deg":76.2991616,"latitude_deg":9.9326056,"altitude":10,"angle":142,"satellites":42,"speed":15,"hex_longitude":"2d7a5400","hex_latitude":"05eb9868","is_valid_coordinates":true} 
[2026-07-13 09:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681910528001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105678022505398272,"note":"Value kept but may cause issues"} 
[2026-07-13 09:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8811011221402724352,"note":"Value kept but may cause issues"} 
[2026-07-13 09:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783913728000,"timestamp_ms":1783913728000,"timestamp_seconds":1783913728,"priority":1,"record_length":96,"hex_timestamp":"0000019f598b4800"} 
[2026-07-13 09:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:05: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-07-13 09:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 09:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681910528001,"66":12972,"156":206,"87":13824,"24":15,"16":105678022505398272,"45":8811011221402724352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-13 09:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681910528001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:05:49] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-13 09:05:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105678022505398272,"km_value":105678022505398.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8811011221402724352,"description":"Unknown IO ID 45"} 
[2026-07-13 09:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681910528001,"power":12972,"unknown_156":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8811011221402724352}} 
[2026-07-13 09:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":131172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:05:49] local.INFO: GPS data processed {"connection_id":131172,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:05:49] local.INFO: Acknowledgment sent {"connection_id":131172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:06:04] local.INFO: TCP Data received {"connection_id":130168,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59895018012d0b4d400705ff30000f006525..."} 
[2026-07-13 09:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59895018012d0b4d400705ff30000f006525..."} 
[2026-07-13 09:06:04] local.INFO: Processing buffer {"connection_id":130168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59895018012d0b4d400705ff30000f006525..."} 
[2026-07-13 09:06:04] local.INFO: Packet analysis {"connection_id":130168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5989"} 
[2026-07-13 09:06:04] local.INFO: Extracted packet for processing {"connection_id":130168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5989"} 
[2026-07-13 09:06:04] local.INFO: GPS Element Parsed {"raw_longitude":755715392,"raw_latitude":117833520,"longitude_deg":75.5715392,"latitude_deg":11.783352,"altitude":15,"angle":101,"satellites":37,"speed":6,"hex_longitude":"2d0b4d40","hex_latitude":"0705ff30","is_valid_coordinates":true} 
[2026-07-13 09:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681877760001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24182156230131712,"note":"Value kept but may cause issues"} 
[2026-07-13 09:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":806425838442610688,"note":"Value kept but may cause issues"} 
[2026-07-13 09:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783913599000,"timestamp_ms":1783913599000,"timestamp_seconds":1783913599,"priority":1,"record_length":96,"hex_timestamp":"0000019f59895018"} 
[2026-07-13 09:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 09:06: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-07-13 09:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130168,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130168,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681877760001,"66":14537,"165":206,"94":10240,"24":6,"16":24182156230131712,"45":806425838442610688},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-13 09:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681877760001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:06:04] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-13 09:06:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24182156230131712,"km_value":24182156230131.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":806425838442610688,"description":"Unknown IO ID 45"} 
[2026-07-13 09:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681877760001,"power":14537,"unknown_165":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":806425838442610688}} 
[2026-07-13 09:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":130168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479242,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:06:04] local.INFO: GPS data processed {"connection_id":130168,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:06:04] local.INFO: Acknowledgment sent {"connection_id":130168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:06:12] local.INFO: TCP Data received {"connection_id":130378,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:06:12] local.INFO: Processing buffer {"connection_id":130378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:06:12] local.INFO: Packet analysis {"connection_id":130378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:06:12] local.INFO: Extracted packet for processing {"connection_id":130378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:06:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681786624001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783913530000,"timestamp_ms":1783913530000,"timestamp_seconds":1783913530,"priority":1,"record_length":96,"hex_timestamp":"0000019f59884290"} 
[2026-07-13 09:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-07-13 09:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681786624001,"66":25158,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681786624001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:06:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:06:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681786624001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":130378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:06:12] local.INFO: GPS data processed {"connection_id":130378,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:06:12] local.INFO: Acknowledgment sent {"connection_id":130378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:06:20] local.INFO: TCP Data received {"connection_id":131172,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f598b4fd0012d7a558005eb96e0000a007a29..."} 
[2026-07-13 09:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598b4fd0012d7a558005eb96e0000a007a29..."} 
[2026-07-13 09:06:20] local.INFO: Processing buffer {"connection_id":131172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598b4fd0012d7a558005eb96e0000a007a29..."} 
[2026-07-13 09:06:20] local.INFO: Packet analysis {"connection_id":131172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598b"} 
[2026-07-13 09:06:20] local.INFO: Extracted packet for processing {"connection_id":131172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598b"} 
[2026-07-13 09:06:20] local.INFO: GPS Element Parsed {"raw_longitude":762992000,"raw_latitude":99325664,"longitude_deg":76.2992,"latitude_deg":9.9325664,"altitude":10,"angle":122,"satellites":41,"speed":7,"hex_longitude":"2d7a5580","hex_latitude":"05eb96e0","is_valid_coordinates":true} 
[2026-07-13 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-07-13 09:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681914368001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105678056865136640,"note":"Value kept but may cause issues"} 
[2026-07-13 09:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814670396098373632,"note":"Value kept but may cause issues"} 
[2026-07-13 09:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783913730000,"timestamp_ms":1783913730000,"timestamp_seconds":1783913730,"priority":1,"record_length":96,"hex_timestamp":"0000019f598b4fd0"} 
[2026-07-13 09:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-13 09:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":131172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":131172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":131172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681914368001,"66":12863,"156":206,"87":13824,"24":7,"16":105678056865136640,"45":8814670396098373632},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-13 09:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681914368001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:06:20] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-13 09:06:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105678056865136640,"km_value":105678056865136.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814670396098373632,"description":"Unknown IO ID 45"} 
[2026-07-13 09:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681914368001,"power":12863,"unknown_156":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8814670396098373632}} 
[2026-07-13 09:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":131172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479244,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:06:20] local.INFO: GPS data processed {"connection_id":131172,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:06:20] local.INFO: Acknowledgment sent {"connection_id":131172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:06:26] local.INFO: TCP Data received {"connection_id":130379,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130379,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:06:26] local.INFO: Processing buffer {"connection_id":130379,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:06:26] local.INFO: IMEI packet received {"connection_id":130379,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":130379,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:06:27] local.INFO: TCP Data received {"connection_id":130379,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130379,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:06:27] local.INFO: Processing buffer {"connection_id":130379,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:06:27] local.INFO: IMEI packet received {"connection_id":130379,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":130379,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:06:32] local.INFO: TCP Data received {"connection_id":130379,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130379,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:06:32] local.INFO: Processing buffer {"connection_id":130379,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:06:32] local.INFO: IMEI packet received {"connection_id":130379,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":130379,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:06:33] local.INFO: TCP Data received {"connection_id":130379,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f598963a0012d0b4e4007060090000f001c25..."} 
[2026-07-13 09:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598963a0012d0b4e4007060090000f001c25..."} 
[2026-07-13 09:06:33] local.INFO: Processing buffer {"connection_id":130379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598963a0012d0b4e4007060090000f001c25..."} 
[2026-07-13 09:06:33] local.INFO: Packet analysis {"connection_id":130379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5989"} 
[2026-07-13 09:06:33] local.INFO: Extracted packet for processing {"connection_id":130379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5989"} 
[2026-07-13 09:06:33] local.INFO: GPS Element Parsed {"raw_longitude":755715648,"raw_latitude":117833872,"longitude_deg":75.5715648,"latitude_deg":11.7833872,"altitude":15,"angle":28,"satellites":37,"speed":5,"hex_longitude":"2d0b4e40","hex_latitude":"07060090","is_valid_coordinates":true} 
[2026-07-13 09:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681881344001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24182177704968192,"note":"Value kept but may cause issues"} 
[2026-07-13 09:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814377506533486592,"note":"Value kept but may cause issues"} 
[2026-07-13 09:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783913604000,"timestamp_ms":1783913604000,"timestamp_seconds":1783913604,"priority":1,"record_length":96,"hex_timestamp":"0000019f598963a0"} 
[2026-07-13 09:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-13 09:06: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-07-13 09:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":130379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":130379,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":130379,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681881344001,"66":14537,"165":206,"94":10240,"24":5,"16":24182177704968192,"45":814377506533486592},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-13 09:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681881344001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:06:33] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-13 09:06:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24182177704968192,"km_value":24182177704968.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":814377506533486592,"description":"Unknown IO ID 45"} 
[2026-07-13 09:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681881344001,"power":14537,"unknown_165":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":814377506533486592}} 
[2026-07-13 09:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":130379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479245,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:06:33] local.INFO: GPS data processed {"connection_id":130379,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:06:33] local.INFO: Acknowledgment sent {"connection_id":130379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:06:35] local.INFO: TCP Data received {"connection_id":132486,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:06:35] local.INFO: Processing buffer {"connection_id":132486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:06:35] local.INFO: IMEI packet received {"connection_id":132486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":132486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:06:40] local.INFO: TCP Data received {"connection_id":132486,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:06:40] local.INFO: Processing buffer {"connection_id":132486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:06:40] local.INFO: IMEI packet received {"connection_id":132486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":132486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:06:41] local.INFO: TCP Data received {"connection_id":132486,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:06:41] local.INFO: Processing buffer {"connection_id":132486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:06:41] local.INFO: Packet analysis {"connection_id":132486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:06:41] local.INFO: Extracted packet for processing {"connection_id":132486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:06:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681786624001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783913530000,"timestamp_ms":1783913530000,"timestamp_seconds":1783913530,"priority":1,"record_length":96,"hex_timestamp":"0000019f59884290"} 
[2026-07-13 09:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-07-13 09:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681786624001,"66":25158,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681786624001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:06:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:06:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681786624001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":132486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:06:41] local.INFO: GPS data processed {"connection_id":132486,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:06:41] local.INFO: Acknowledgment sent {"connection_id":132486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:06:46] local.INFO: TCP Data received {"connection_id":132488,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:06:46] local.INFO: Processing buffer {"connection_id":132488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:06:46] local.INFO: IMEI packet received {"connection_id":132488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":132488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:06:51] local.INFO: TCP Data received {"connection_id":132488,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:06:51] local.INFO: Processing buffer {"connection_id":132488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:06:51] local.INFO: IMEI packet received {"connection_id":132488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":132488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:06:52] local.INFO: TCP Data received {"connection_id":132488,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f598b57a0012d7a56c005eb9660000b006a29..."} 
[2026-07-13 09:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598b57a0012d7a56c005eb9660000b006a29..."} 
[2026-07-13 09:06:52] local.INFO: Processing buffer {"connection_id":132488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598b57a0012d7a56c005eb9660000b006a29..."} 
[2026-07-13 09:06:52] local.INFO: Packet analysis {"connection_id":132488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598b"} 
[2026-07-13 09:06:52] local.INFO: Extracted packet for processing {"connection_id":132488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598b"} 
[2026-07-13 09:06:52] local.INFO: GPS Element Parsed {"raw_longitude":762992320,"raw_latitude":99325536,"longitude_deg":76.299232,"latitude_deg":9.9325536,"altitude":11,"angle":106,"satellites":41,"speed":7,"hex_longitude":"2d7a56c0","hex_latitude":"05eb9660","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681914880001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105678069750038528,"note":"Value kept but may cause issues"} 
[2026-07-13 09:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815092608563339264,"note":"Value kept but may cause issues"} 
[2026-07-13 09:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783913732000,"timestamp_ms":1783913732000,"timestamp_seconds":1783913732,"priority":1,"record_length":96,"hex_timestamp":"0000019f598b57a0"} 
[2026-07-13 09:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-13 09:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09: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-07-13 09:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":132488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":132488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":132488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681914880001,"66":13102,"156":206,"87":13824,"24":7,"16":105678069750038528,"45":8815092608563339264},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-13 09:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681914880001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:06:52] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-13 09:06:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105678069750038528,"km_value":105678069750038.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815092608563339264,"description":"Unknown IO ID 45"} 
[2026-07-13 09:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681914880001,"power":13102,"unknown_156":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8815092608563339264}} 
[2026-07-13 09:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":132488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479247,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:06:52] local.INFO: GPS data processed {"connection_id":132488,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:06:52] local.INFO: Acknowledgment sent {"connection_id":132488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:06:52] local.INFO: TCP Data received {"connection_id":132488,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f598b6358012d7a5a4005eb9648000b00502a..."} 
[2026-07-13 09:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598b6358012d7a5a4005eb9648000b00502a..."} 
[2026-07-13 09:06:52] local.INFO: Processing buffer {"connection_id":132488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598b6358012d7a5a4005eb9648000b00502a..."} 
[2026-07-13 09:06:52] local.INFO: Packet analysis {"connection_id":132488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598b"} 
[2026-07-13 09:06:52] local.INFO: Extracted packet for processing {"connection_id":132488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598b"} 
[2026-07-13 09:06:52] local.INFO: GPS Element Parsed {"raw_longitude":762993216,"raw_latitude":99325512,"longitude_deg":76.2993216,"latitude_deg":9.9325512,"altitude":11,"angle":80,"satellites":42,"speed":15,"hex_longitude":"2d7a5a40","hex_latitude":"05eb9648","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681915392001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105678112699711488,"note":"Value kept but may cause issues"} 
[2026-07-13 09:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815444452284194816,"note":"Value kept but may cause issues"} 
[2026-07-13 09:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783913735000,"timestamp_ms":1783913735000,"timestamp_seconds":1783913735,"priority":1,"record_length":96,"hex_timestamp":"0000019f598b6358"} 
[2026-07-13 09:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-13 09:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09: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-07-13 09:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":132488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":132488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":132488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681915392001,"66":13243,"156":206,"87":13824,"24":15,"16":105678112699711488,"45":8815444452284194816},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-13 09:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681915392001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:06:52] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-13 09:06:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105678112699711488,"km_value":105678112699711.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815444452284194816,"description":"Unknown IO ID 45"} 
[2026-07-13 09:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681915392001,"power":13243,"unknown_156":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8815444452284194816}} 
[2026-07-13 09:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":132488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:06:52] local.INFO: GPS data processed {"connection_id":132488,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:06:52] local.INFO: Acknowledgment sent {"connection_id":132488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:06:55] local.INFO: TCP Data received {"connection_id":132487,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132487,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:06:55] local.INFO: Processing buffer {"connection_id":132487,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:06:55] local.INFO: IMEI packet received {"connection_id":132487,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 09:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":132487,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:07:04] local.INFO: TCP Data received {"connection_id":130379,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f598c8850012d0b4ec0070600f0001800d726..."} 
[2026-07-13 09:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598c8850012d0b4ec0070600f0001800d726..."} 
[2026-07-13 09:07:04] local.INFO: Processing buffer {"connection_id":130379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598c8850012d0b4ec0070600f0001800d726..."} 
[2026-07-13 09:07:04] local.INFO: Packet analysis {"connection_id":130379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598c"} 
[2026-07-13 09:07:04] local.INFO: Extracted packet for processing {"connection_id":130379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598c"} 
[2026-07-13 09:07:04] local.INFO: GPS Element Parsed {"raw_longitude":755715776,"raw_latitude":117833968,"longitude_deg":75.5715776,"latitude_deg":11.7833968,"altitude":24,"angle":215,"satellites":38,"speed":1,"hex_longitude":"2d0b4ec0","hex_latitude":"070600f0","is_valid_coordinates":true} 
[2026-07-13 09:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681934336001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24182499827515392,"note":"Value kept but may cause issues"} 
[2026-07-13 09:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815010825231228928,"note":"Value kept but may cause issues"} 
[2026-07-13 09:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783913810000,"timestamp_ms":1783913810000,"timestamp_seconds":1783913810,"priority":1,"record_length":96,"hex_timestamp":"0000019f598c8850"} 
[2026-07-13 09:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 09:07: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-07-13 09:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130379,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130379,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681934336001,"66":14363,"165":206,"94":10240,"24":1,"16":24182499827515392,"45":815010825231228928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-13 09:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681934336001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:07:04] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-13 09:07:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24182499827515392,"km_value":24182499827515.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":815010825231228928,"description":"Unknown IO ID 45"} 
[2026-07-13 09:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681934336001,"power":14363,"unknown_165":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":815010825231228928}} 
[2026-07-13 09:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":130379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479249,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:07:04] local.INFO: GPS data processed {"connection_id":130379,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:07:04] local.INFO: Acknowledgment sent {"connection_id":130379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:07:14] local.INFO: TCP Data received {"connection_id":132486,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:07:14] local.INFO: Processing buffer {"connection_id":132486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:07:14] local.INFO: Packet analysis {"connection_id":132486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:07:14] local.INFO: Extracted packet for processing {"connection_id":132486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:07:14] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 09:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681786624001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783913530000,"timestamp_ms":1783913530000,"timestamp_seconds":1783913530,"priority":1,"record_length":96,"hex_timestamp":"0000019f59884290"} 
[2026-07-13 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-07-13 09:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-07-13 09:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 09:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":132486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":132486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":132486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681786624001,"66":25158,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681786624001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:07:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:07:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681786624001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":132486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:07:14] local.INFO: GPS data processed {"connection_id":132486,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:07:14] local.INFO: Acknowledgment sent {"connection_id":132486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:07:23] local.INFO: TCP Data received {"connection_id":132488,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f598b6f10012d7a604005eb97f8000b004529..."} 
[2026-07-13 09:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598b6f10012d7a604005eb97f8000b004529..."} 
[2026-07-13 09:07:23] local.INFO: Processing buffer {"connection_id":132488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598b6f10012d7a604005eb97f8000b004529..."} 
[2026-07-13 09:07:23] local.INFO: Packet analysis {"connection_id":132488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598b"} 
[2026-07-13 09:07:23] local.INFO: Extracted packet for processing {"connection_id":132488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598b"} 
[2026-07-13 09:07:23] local.INFO: GPS Element Parsed {"raw_longitude":762994752,"raw_latitude":99325944,"longitude_deg":76.2994752,"latitude_deg":9.9325944,"altitude":11,"angle":69,"satellites":41,"speed":22,"hex_longitude":"2d7a6040","hex_latitude":"05eb97f8","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681916160001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105678190009122816,"note":"Value kept but may cause issues"} 
[2026-07-13 09:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816429614702675968,"note":"Value kept but may cause issues"} 
[2026-07-13 09:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783913738000,"timestamp_ms":1783913738000,"timestamp_seconds":1783913738,"priority":1,"record_length":96,"hex_timestamp":"0000019f598b6f10"} 
[2026-07-13 09:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 09:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09: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-07-13 09:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":132488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":132488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":132488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681916160001,"66":12961,"163":206,"87":13824,"24":22,"16":105678190009122816,"45":8816429614702675968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-13 09:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681916160001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:07:23] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-13 09:07:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105678190009122816,"km_value":105678190009122.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816429614702675968,"description":"Unknown IO ID 45"} 
[2026-07-13 09:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681916160001,"power":12961,"unknown_163":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8816429614702675968}} 
[2026-07-13 09:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":132488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479251,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:07:23] local.INFO: GPS data processed {"connection_id":132488,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:07:23] local.INFO: Acknowledgment sent {"connection_id":132488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:07:28] local.INFO: TCP Data received {"connection_id":130169,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130169,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:07:28] local.INFO: Processing buffer {"connection_id":130169,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:07:28] local.INFO: IMEI packet received {"connection_id":130169,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":130169,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:07:33] local.INFO: TCP Data received {"connection_id":130169,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130169,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:07:33] local.INFO: Processing buffer {"connection_id":130169,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:07:33] local.INFO: IMEI packet received {"connection_id":130169,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":130169,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:07:33] local.INFO: TCP Data received {"connection_id":130169,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f598c9020012d0b4e80070600c8001800e726..."} 
[2026-07-13 09:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598c9020012d0b4e80070600c8001800e726..."} 
[2026-07-13 09:07:33] local.INFO: Processing buffer {"connection_id":130169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598c9020012d0b4e80070600c8001800e726..."} 
[2026-07-13 09:07:33] local.INFO: Packet analysis {"connection_id":130169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598c"} 
[2026-07-13 09:07:33] local.INFO: Extracted packet for processing {"connection_id":130169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598c"} 
[2026-07-13 09:07:33] local.INFO: GPS Element Parsed {"raw_longitude":755715712,"raw_latitude":117833928,"longitude_deg":75.5715712,"latitude_deg":11.7833928,"altitude":24,"angle":231,"satellites":38,"speed":0,"hex_longitude":"2d0b4e80","hex_latitude":"070600c8","is_valid_coordinates":true} 
[2026-07-13 09:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681935360001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24182504122482688,"note":"Value kept but may cause issues"} 
[2026-07-13 09:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814799718998667264,"note":"Value kept but may cause issues"} 
[2026-07-13 09:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783913812000,"timestamp_ms":1783913812000,"timestamp_seconds":1783913812,"priority":1,"record_length":96,"hex_timestamp":"0000019f598c9020"} 
[2026-07-13 09:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-13 09:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":130169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":130169,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":130169,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681935360001,"66":14439,"165":206,"94":10240,"24":0,"16":24182504122482688,"45":814799718998667264},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-13 09:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681935360001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:07:33] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-13 09:07:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24182504122482688,"km_value":24182504122482.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":814799718998667264,"description":"Unknown IO ID 45"} 
[2026-07-13 09:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681935360001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":814799718998667264}} 
[2026-07-13 09:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":130169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479252,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:07:33] local.INFO: GPS data processed {"connection_id":130169,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:07:33] local.INFO: Acknowledgment sent {"connection_id":130169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:07:35] local.INFO: TCP Data received {"connection_id":132489,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:07:35] local.INFO: Processing buffer {"connection_id":132489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:07:35] local.INFO: IMEI packet received {"connection_id":132489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":132489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:07:40] local.INFO: TCP Data received {"connection_id":132489,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:07:40] local.INFO: Processing buffer {"connection_id":132489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:07:40] local.INFO: IMEI packet received {"connection_id":132489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":132489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:07:41] local.INFO: TCP Data received {"connection_id":132489,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:07:41] local.INFO: Processing buffer {"connection_id":132489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59884290012d7f914005afd9380008011b24..."} 
[2026-07-13 09:07:41] local.INFO: Packet analysis {"connection_id":132489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:07:41] local.INFO: Extracted packet for processing {"connection_id":132489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5988"} 
[2026-07-13 09:07:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681786624001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783913530000,"timestamp_ms":1783913530000,"timestamp_seconds":1783913530,"priority":1,"record_length":96,"hex_timestamp":"0000019f59884290"} 
[2026-07-13 09:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-07-13 09:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681786624001,"66":25158,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681786624001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:07:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681786624001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":132489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:07:41] local.INFO: GPS data processed {"connection_id":132489,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:07:41] local.INFO: Acknowledgment sent {"connection_id":132489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:07:43] local.INFO: TCP Data received {"connection_id":131173,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:07:43] local.INFO: Processing buffer {"connection_id":131173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:07:43] local.INFO: IMEI packet received {"connection_id":131173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":131173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:07:45] local.INFO: TCP Data received {"connection_id":130380,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130380,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:07:45] local.INFO: Processing buffer {"connection_id":130380,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:07:45] local.INFO: IMEI packet received {"connection_id":130380,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 09:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":130380,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:07:49] local.INFO: TCP Data received {"connection_id":131173,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:07:49] local.INFO: Processing buffer {"connection_id":131173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:07:49] local.INFO: IMEI packet received {"connection_id":131173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":131173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:07:53] local.INFO: TCP Data received {"connection_id":131173,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f598b9df0012d7a820005eba428000e004627..."} 
[2026-07-13 09:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598b9df0012d7a820005eba428000e004627..."} 
[2026-07-13 09:07:53] local.INFO: Processing buffer {"connection_id":131173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598b9df0012d7a820005eba428000e004627..."} 
[2026-07-13 09:07:53] local.INFO: Packet analysis {"connection_id":131173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598b"} 
[2026-07-13 09:07:53] local.INFO: Extracted packet for processing {"connection_id":131173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598b"} 
[2026-07-13 09:07:53] local.INFO: GPS Element Parsed {"raw_longitude":763003392,"raw_latitude":99329064,"longitude_deg":76.3003392,"latitude_deg":9.9329064,"altitude":14,"angle":70,"satellites":39,"speed":32,"hex_longitude":"2d7a8200","hex_latitude":"05eba428","is_valid_coordinates":true} 
[2026-07-13 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-07-13 09:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681916928001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105678628095787008,"note":"Value kept but may cause issues"} 
[2026-07-13 09:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818118464563050496,"note":"Value kept but may cause issues"} 
[2026-07-13 09:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783913750000,"timestamp_ms":1783913750000,"timestamp_seconds":1783913750,"priority":1,"record_length":96,"hex_timestamp":"0000019f598b9df0"} 
[2026-07-13 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-07-13 09:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-13 09:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 09:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":131173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":131173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":131173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681916928001,"66":13124,"163":206,"87":13824,"24":32,"16":105678628095787008,"45":8818118464563050496},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-13 09:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681916928001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:07:53] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-13 09:07:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105678628095787008,"km_value":105678628095787.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818118464563050496,"description":"Unknown IO ID 45"} 
[2026-07-13 09:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681916928001,"power":13124,"unknown_163":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8818118464563050496}} 
[2026-07-13 09:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":131173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479254,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:07:53] local.INFO: GPS data processed {"connection_id":131173,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:07:53] local.INFO: Acknowledgment sent {"connection_id":131173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:08:04] local.INFO: TCP Data received {"connection_id":130169,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f598cb730012d0b4d000705ff18001800d625..."} 
[2026-07-13 09:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598cb730012d0b4d000705ff18001800d625..."} 
[2026-07-13 09:08:04] local.INFO: Processing buffer {"connection_id":130169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598cb730012d0b4d000705ff18001800d625..."} 
[2026-07-13 09:08:04] local.INFO: Packet analysis {"connection_id":130169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598c"} 
[2026-07-13 09:08:04] local.INFO: Extracted packet for processing {"connection_id":130169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598c"} 
[2026-07-13 09:08:04] local.INFO: GPS Element Parsed {"raw_longitude":755715328,"raw_latitude":117833496,"longitude_deg":75.5715328,"latitude_deg":11.7833496,"altitude":24,"angle":214,"satellites":37,"speed":0,"hex_longitude":"2d0b4d00","hex_latitude":"0705ff18","is_valid_coordinates":true} 
[2026-07-13 09:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681935872001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24182534187253760,"note":"Value kept but may cause issues"} 
[2026-07-13 09:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814729350254479360,"note":"Value kept but may cause issues"} 
[2026-07-13 09:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783913822000,"timestamp_ms":1783913822000,"timestamp_seconds":1783913822,"priority":1,"record_length":96,"hex_timestamp":"0000019f598cb730"} 
[2026-07-13 09:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 09:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130169,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130169,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681935872001,"66":14428,"165":206,"94":10240,"24":0,"16":24182534187253760,"45":814729350254479360},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-13 09:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681935872001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:08:04] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-13 09:08:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24182534187253760,"km_value":24182534187253.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":814729350254479360,"description":"Unknown IO ID 45"} 
[2026-07-13 09:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681935872001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":814729350254479360}} 
[2026-07-13 09:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":130169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479255,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:08:04] local.INFO: GPS data processed {"connection_id":130169,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:08:04] local.INFO: Acknowledgment sent {"connection_id":130169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:08:12] local.INFO: TCP Data received {"connection_id":132489,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f598cda58012d7f914005afd9380008011b26..."} 
[2026-07-13 09:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598cda58012d7f914005afd9380008011b26..."} 
[2026-07-13 09:08:12] local.INFO: Processing buffer {"connection_id":132489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598cda58012d7f914005afd9380008011b26..."} 
[2026-07-13 09:08:12] local.INFO: Packet analysis {"connection_id":132489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598c"} 
[2026-07-13 09:08:12] local.INFO: Extracted packet for processing {"connection_id":132489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598c"} 
[2026-07-13 09:08:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681863680001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783913831000,"timestamp_ms":1783913831000,"timestamp_seconds":1783913831,"priority":1,"record_length":96,"hex_timestamp":"0000019f598cda58"} 
[2026-07-13 09:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-13 09:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681863680001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681863680001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:08:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:08:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681863680001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":132489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:08:12] local.INFO: GPS data processed {"connection_id":132489,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:08:12] local.INFO: Acknowledgment sent {"connection_id":132489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:08:24] local.INFO: TCP Data received {"connection_id":131173,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f598bc8e8012d7aa48005ebb188001000452b..."} 
[2026-07-13 09:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598bc8e8012d7aa48005ebb188001000452b..."} 
[2026-07-13 09:08:24] local.INFO: Processing buffer {"connection_id":131173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598bc8e8012d7aa48005ebb188001000452b..."} 
[2026-07-13 09:08:24] local.INFO: Packet analysis {"connection_id":131173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598b"} 
[2026-07-13 09:08:24] local.INFO: Extracted packet for processing {"connection_id":131173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598b"} 
[2026-07-13 09:08:24] local.INFO: GPS Element Parsed {"raw_longitude":763012224,"raw_latitude":99332488,"longitude_deg":76.3012224,"latitude_deg":9.9332488,"altitude":16,"angle":69,"satellites":43,"speed":31,"hex_longitude":"2d7aa480","hex_latitude":"05ebb188","is_valid_coordinates":true} 
[2026-07-13 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-07-13 09:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681920000001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105679083362320384,"note":"Value kept but may cause issues"} 
[2026-07-13 09:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8827618245027833856,"note":"Value kept but may cause issues"} 
[2026-07-13 09:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783913761000,"timestamp_ms":1783913761000,"timestamp_seconds":1783913761,"priority":1,"record_length":96,"hex_timestamp":"0000019f598bc8e8"} 
[2026-07-13 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-07-13 09:08: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-07-13 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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-13 09:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 09:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":131173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":131173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":131173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681920000001,"66":13330,"163":206,"87":13824,"24":31,"16":105679083362320384,"45":8827618245027833856},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-13 09:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681920000001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:08:24] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-13 09:08:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105679083362320384,"km_value":105679083362320.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8827618245027833856,"description":"Unknown IO ID 45"} 
[2026-07-13 09:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681920000001,"power":13330,"unknown_163":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8827618245027833856}} 
[2026-07-13 09:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":131173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:08:24] local.INFO: GPS data processed {"connection_id":131173,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:08:24] local.INFO: Acknowledgment sent {"connection_id":131173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:08:27] local.INFO: TCP Data received {"connection_id":130170,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130170,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:08:27] local.INFO: Processing buffer {"connection_id":130170,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:08:27] local.INFO: IMEI packet received {"connection_id":130170,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":130170,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:08:33] local.INFO: TCP Data received {"connection_id":130170,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130170,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:08:33] local.INFO: Processing buffer {"connection_id":130170,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:08:33] local.INFO: IMEI packet received {"connection_id":130170,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":130170,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:08:33] local.INFO: TCP Data received {"connection_id":130170,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f598da190012d0b24400705c738001800b625..."} 
[2026-07-13 09:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598da190012d0b24400705c738001800b625..."} 
[2026-07-13 09:08:33] local.INFO: Processing buffer {"connection_id":130170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598da190012d0b24400705c738001800b625..."} 
[2026-07-13 09:08:33] local.INFO: Packet analysis {"connection_id":130170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598d"} 
[2026-07-13 09:08:33] local.INFO: Extracted packet for processing {"connection_id":130170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598d"} 
[2026-07-13 09:08:33] local.INFO: GPS Element Parsed {"raw_longitude":755704896,"raw_latitude":117819192,"longitude_deg":75.5704896,"latitude_deg":11.7819192,"altitude":24,"angle":182,"satellites":37,"speed":42,"hex_longitude":"2d0b2440","hex_latitude":"0705c738","is_valid_coordinates":true} 
[2026-07-13 09:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681951488001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24183998771101696,"note":"Value kept but may cause issues"} 
[2026-07-13 09:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802907401231255552,"note":"Value kept but may cause issues"} 
[2026-07-13 09:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783913882000,"timestamp_ms":1783913882000,"timestamp_seconds":1783913882,"priority":1,"record_length":96,"hex_timestamp":"0000019f598da190"} 
[2026-07-13 09:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 09:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:08:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":130170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":130170,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":130170,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681951488001,"66":14439,"165":206,"94":10240,"24":42,"16":24183998771101696,"45":802907401231255552},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-13 09:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681951488001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:08:33] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-13 09:08:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24183998771101696,"km_value":24183998771101.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":802907401231255552,"description":"Unknown IO ID 45"} 
[2026-07-13 09:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681951488001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":42,"odometer":null,"unknown_45":802907401231255552}} 
[2026-07-13 09:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":130170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479258,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:08:33] local.INFO: GPS data processed {"connection_id":130170,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:08:33] local.INFO: Acknowledgment sent {"connection_id":130170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:08:35] local.INFO: TCP Data received {"connection_id":130171,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:08:35] local.INFO: Processing buffer {"connection_id":130171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:08:35] local.INFO: IMEI packet received {"connection_id":130171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":130171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:08:40] local.INFO: TCP Data received {"connection_id":130171,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:08:40] local.INFO: Processing buffer {"connection_id":130171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:08:40] local.INFO: IMEI packet received {"connection_id":130171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":130171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:08:41] local.INFO: TCP Data received {"connection_id":130171,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f598cda58012d7f914005afd9380008011b26..."} 
[2026-07-13 09:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598cda58012d7f914005afd9380008011b26..."} 
[2026-07-13 09:08:41] local.INFO: Processing buffer {"connection_id":130171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598cda58012d7f914005afd9380008011b26..."} 
[2026-07-13 09:08:41] local.INFO: Packet analysis {"connection_id":130171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598c"} 
[2026-07-13 09:08:41] local.INFO: Extracted packet for processing {"connection_id":130171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598c"} 
[2026-07-13 09:08:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681863680001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783913831000,"timestamp_ms":1783913831000,"timestamp_seconds":1783913831,"priority":1,"record_length":96,"hex_timestamp":"0000019f598cda58"} 
[2026-07-13 09:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-13 09:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681863680001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681863680001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:08:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681863680001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":130171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:08:41] local.INFO: GPS data processed {"connection_id":130171,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:08:41] local.INFO: Acknowledgment sent {"connection_id":130171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:08:43] local.INFO: TCP Data received {"connection_id":131174,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:08:43] local.INFO: Processing buffer {"connection_id":131174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:08:43] local.INFO: IMEI packet received {"connection_id":131174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":131174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:08:48] local.INFO: TCP Data received {"connection_id":131174,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:08:48] local.INFO: Processing buffer {"connection_id":131174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:08:48] local.INFO: IMEI packet received {"connection_id":131174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":131174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:08:49] local.INFO: TCP Data received {"connection_id":131174,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f598bf3e0012d7ac60005ebbf48000d00412c..."} 
[2026-07-13 09:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598bf3e0012d7ac60005ebbf48000d00412c..."} 
[2026-07-13 09:08:49] local.INFO: Processing buffer {"connection_id":131174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598bf3e0012d7ac60005ebbf48000d00412c..."} 
[2026-07-13 09:08:49] local.INFO: Packet analysis {"connection_id":131174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598b"} 
[2026-07-13 09:08:49] local.INFO: Extracted packet for processing {"connection_id":131174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598b"} 
[2026-07-13 09:08:49] local.INFO: GPS Element Parsed {"raw_longitude":763020800,"raw_latitude":99336008,"longitude_deg":76.30208,"latitude_deg":9.9336008,"altitude":13,"angle":65,"satellites":44,"speed":33,"hex_longitude":"2d7ac600","hex_latitude":"05ebbf48","is_valid_coordinates":true} 
[2026-07-13 09:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681922816001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105679530038919168,"note":"Value kept but may cause issues"} 
[2026-07-13 09:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837329131725228032,"note":"Value kept but may cause issues"} 
[2026-07-13 09:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783913772000,"timestamp_ms":1783913772000,"timestamp_seconds":1783913772,"priority":1,"record_length":96,"hex_timestamp":"0000019f598bf3e0"} 
[2026-07-13 09:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09: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-07-13 09: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-13 09:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-13 09:08:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 09:08:49] local.WARNING: Large IO value detected {"io_id":10,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-13 09:08:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3276991602348510856,"note":"Value kept but may cause issues"} 
[2026-07-13 09:08:49] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2337775617,"note":"Value kept but may cause issues"} 
[2026-07-13 09:08:49] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-5717319688281970176,"note":"Value kept but may cause issues"} 
[2026-07-13 09:08:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033633998,"corrected_to":0} 
[2026-07-13 09:08:49] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3489738106,"note":"Value kept but may cause issues"} 
[2026-07-13 09:08:49] local.WARNING: Large IO value detected {"io_id":85,"raw_value":2147871638,"note":"Value kept but may cause issues"} 
[2026-07-13 09:08:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3952633856,"note":"Value kept but may cause issues"} 
[2026-07-13 09:08:49] local.WARNING: Large IO value detected {"io_id":172,"raw_value":57770110463399734,"note":"Value kept but may cause issues"} 
[2026-07-13 09:08:49] local.WARNING: Large IO value detected {"io_id":139,"raw_value":966023414907600901,"note":"Value kept but may cause issues"} 
[2026-07-13 09:08:49] local.WARNING: Large IO value detected {"io_id":61,"raw_value":-7205532529829341184,"note":"Value kept but may cause issues"} 
[2026-07-13 09:08:49] local.WARNING: Large IO value detected {"io_id":97,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-13 09:08:49] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,163,87,24,241,157,16,114,159,45,164,14,39,10,66,111,64,151,11,41,113,99,1,240,187,227,89,235,4,205,7,79,85,224,239,50,156,2,119,5,15,172,139,61,97],"length":626,"final_offset":756,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1033633998,"validated":0}]} 
[2026-07-13 09:08:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1152997555594788864,"timestamp_seconds":1152997555594788.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 09:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681922816001,"66":12972,"156":206,"87":13824,"24":33,"16":105679530038919168,"45":8837329131725228032},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-13 09:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681922816001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:08:49] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-13 09:08:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105679530038919168,"km_value":105679530038919.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837329131725228032,"description":"Unknown IO ID 45"} 
[2026-07-13 09:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681922816001,"power":12972,"unknown_156":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8837329131725228032}} 
[2026-07-13 09:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":131174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479260,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:08:49] local.INFO: GPS data processed {"connection_id":131174,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:08:49] local.INFO: Acknowledgment sent {"connection_id":131174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:09:04] local.INFO: TCP Data received {"connection_id":130170,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f598e8038012d0ae540070592f00028012d26..."} 
[2026-07-13 09:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598e8038012d0ae540070592f00028012d26..."} 
[2026-07-13 09:09:04] local.INFO: Processing buffer {"connection_id":130170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598e8038012d0ae540070592f00028012d26..."} 
[2026-07-13 09:09:04] local.INFO: Packet analysis {"connection_id":130170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598e"} 
[2026-07-13 09:09:04] local.INFO: Extracted packet for processing {"connection_id":130170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598e"} 
[2026-07-13 09:09:04] local.INFO: GPS Element Parsed {"raw_longitude":755688768,"raw_latitude":117805808,"longitude_deg":75.5688768,"latitude_deg":11.7805808,"altitude":40,"angle":301,"satellites":38,"speed":14,"hex_longitude":"2d0ae540","hex_latitude":"070592f0","is_valid_coordinates":true} 
[2026-07-13 09:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681968128001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24185304441159680,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":785455952669345792,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783913939000,"timestamp_ms":1783913939000,"timestamp_seconds":1783913939,"priority":1,"record_length":96,"hex_timestamp":"0000019f598e8038"} 
[2026-07-13 09:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-13 09:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130170,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130170,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681968128001,"66":14450,"165":206,"94":10240,"24":14,"16":24185304441159680,"45":785455952669345792},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-13 09:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681968128001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:09:04] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-13 09:09:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24185304441159680,"km_value":24185304441159.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":785455952669345792,"description":"Unknown IO ID 45"} 
[2026-07-13 09:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681968128001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":785455952669345792}} 
[2026-07-13 09:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":130170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479261,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:09:04] local.INFO: GPS data processed {"connection_id":130170,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:09:04] local.INFO: Acknowledgment sent {"connection_id":130170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:09:12] local.INFO: TCP Data received {"connection_id":130171,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f598cda58012d7f914005afd9380008011b26..."} 
[2026-07-13 09:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598cda58012d7f914005afd9380008011b26..."} 
[2026-07-13 09:09:12] local.INFO: Processing buffer {"connection_id":130171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598cda58012d7f914005afd9380008011b26..."} 
[2026-07-13 09:09:12] local.INFO: Packet analysis {"connection_id":130171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598c"} 
[2026-07-13 09:09:12] local.INFO: Extracted packet for processing {"connection_id":130171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598c"} 
[2026-07-13 09:09:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681863680001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783913831000,"timestamp_ms":1783913831000,"timestamp_seconds":1783913831,"priority":1,"record_length":96,"hex_timestamp":"0000019f598cda58"} 
[2026-07-13 09:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-13 09:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681863680001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681863680001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:09:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:09:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681863680001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":130171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:09:12] local.INFO: GPS data processed {"connection_id":130171,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:09:12] local.INFO: Acknowledgment sent {"connection_id":130171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:09:21] local.INFO: TCP Data received {"connection_id":131174,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f598e3218012d7c400005ec3668000d00582c..."} 
[2026-07-13 09:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598e3218012d7c400005ec3668000d00582c..."} 
[2026-07-13 09:09:21] local.INFO: Processing buffer {"connection_id":131174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598e3218012d7c400005ec3668000d00582c..."} 
[2026-07-13 09:09:21] local.INFO: Packet analysis {"connection_id":131174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598e"} 
[2026-07-13 09:09:21] local.INFO: Extracted packet for processing {"connection_id":131174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598e"} 
[2026-07-13 09:09:21] local.INFO: GPS Element Parsed {"raw_longitude":763117568,"raw_latitude":99366504,"longitude_deg":76.3117568,"latitude_deg":9.9366504,"altitude":13,"angle":88,"satellites":44,"speed":26,"hex_longitude":"2d7c4000","hex_latitude":"05ec3668","is_valid_coordinates":true} 
[2026-07-13 09:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681960192001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105684439186538496,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943022985488711680,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783913919000,"timestamp_ms":1783913919000,"timestamp_seconds":1783913919,"priority":1,"record_length":96,"hex_timestamp":"0000019f598e3218"} 
[2026-07-13 09:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-13 09:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":131174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":131174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":131174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681960192001,"66":13319,"198":206,"87":13824,"24":26,"16":105684439186538496,"45":8943022985488711680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-13 09:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681960192001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:09:21] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-13 09:09:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105684439186538496,"km_value":105684439186538.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943022985488711680,"description":"Unknown IO ID 45"} 
[2026-07-13 09:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681960192001,"power":13319,"unknown_198":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8943022985488711680}} 
[2026-07-13 09:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":131174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479263,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:09:21] local.INFO: GPS data processed {"connection_id":131174,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:09:21] local.INFO: Acknowledgment sent {"connection_id":131174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:09:35] local.INFO: TCP Data received {"connection_id":132491,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:09:35] local.INFO: Processing buffer {"connection_id":132491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:09:35] local.INFO: IMEI packet received {"connection_id":132491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":132491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:09:38] local.INFO: TCP Data received {"connection_id":130381,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130381,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:09:38] local.INFO: Processing buffer {"connection_id":130381,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:09:38] local.INFO: IMEI packet received {"connection_id":130381,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":130381,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:09:40] local.INFO: TCP Data received {"connection_id":132491,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:09:40] local.INFO: Processing buffer {"connection_id":132491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:09:40] local.INFO: IMEI packet received {"connection_id":132491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":132491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:09:41] local.INFO: TCP Data received {"connection_id":132491,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f598cda58012d7f914005afd9380008011b26..."} 
[2026-07-13 09:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598cda58012d7f914005afd9380008011b26..."} 
[2026-07-13 09:09:41] local.INFO: Processing buffer {"connection_id":132491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598cda58012d7f914005afd9380008011b26..."} 
[2026-07-13 09:09:41] local.INFO: Packet analysis {"connection_id":132491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598c"} 
[2026-07-13 09:09:41] local.INFO: Extracted packet for processing {"connection_id":132491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598c"} 
[2026-07-13 09:09:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681863680001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783913831000,"timestamp_ms":1783913831000,"timestamp_seconds":1783913831,"priority":1,"record_length":96,"hex_timestamp":"0000019f598cda58"} 
[2026-07-13 09:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-13 09:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681863680001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681863680001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:09:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681863680001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":132491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:09:41] local.INFO: GPS data processed {"connection_id":132491,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:09:41] local.INFO: Acknowledgment sent {"connection_id":132491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:09:43] local.INFO: TCP Data received {"connection_id":130381,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130381,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:09:43] local.INFO: Processing buffer {"connection_id":130381,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:09:43] local.INFO: IMEI packet received {"connection_id":130381,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":130381,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:09:45] local.INFO: TCP Data received {"connection_id":130381,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f598e8808012d0ae300070594180028012124..."} 
[2026-07-13 09:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598e8808012d0ae300070594180028012124..."} 
[2026-07-13 09:09:45] local.INFO: Processing buffer {"connection_id":130381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598e8808012d0ae300070594180028012124..."} 
[2026-07-13 09:09:45] local.INFO: Packet analysis {"connection_id":130381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598e"} 
[2026-07-13 09:09:45] local.INFO: Extracted packet for processing {"connection_id":130381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598e"} 
[2026-07-13 09:09:45] local.INFO: GPS Element Parsed {"raw_longitude":755688192,"raw_latitude":117806104,"longitude_deg":75.5688192,"latitude_deg":11.7806104,"altitude":40,"angle":289,"satellites":36,"speed":12,"hex_longitude":"2d0ae300","hex_latitude":"07059418","is_valid_coordinates":true} 
[2026-07-13 09:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681968384001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24185338800898048,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":785104108948484096,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783913941000,"timestamp_ms":1783913941000,"timestamp_seconds":1783913941,"priority":1,"record_length":96,"hex_timestamp":"0000019f598e8808"} 
[2026-07-13 09:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-13 09:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130381,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130381,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681968384001,"66":14461,"165":206,"94":10240,"24":12,"16":24185338800898048,"45":785104108948484096},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-13 09:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681968384001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:09:45] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-13 09:09:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24185338800898048,"km_value":24185338800898.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":785104108948484096,"description":"Unknown IO ID 45"} 
[2026-07-13 09:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681968384001,"power":14461,"unknown_165":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":785104108948484096}} 
[2026-07-13 09:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":130381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479265,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:09:45] local.INFO: GPS data processed {"connection_id":130381,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:09:45] local.INFO: Acknowledgment sent {"connection_id":130381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:09:48] local.INFO: TCP Data received {"connection_id":130381,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f598e8bf0012d0ae180070594200029010c24..."} 
[2026-07-13 09:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598e8bf0012d0ae180070594200029010c24..."} 
[2026-07-13 09:09:48] local.INFO: Processing buffer {"connection_id":130381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598e8bf0012d0ae180070594200029010c24..."} 
[2026-07-13 09:09:48] local.INFO: Packet analysis {"connection_id":130381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598e"} 
[2026-07-13 09:09:48] local.INFO: Extracted packet for processing {"connection_id":130381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598e"} 
[2026-07-13 09:09:48] local.INFO: GPS Element Parsed {"raw_longitude":755687808,"raw_latitude":117806112,"longitude_deg":75.5687808,"latitude_deg":11.7806112,"altitude":41,"angle":268,"satellites":36,"speed":15,"hex_longitude":"2d0ae180","hex_latitude":"07059420","is_valid_coordinates":true} 
[2026-07-13 09:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681968896001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24185355980767232,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":784470790250960896,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783913942000,"timestamp_ms":1783913942000,"timestamp_seconds":1783913942,"priority":1,"record_length":96,"hex_timestamp":"0000019f598e8bf0"} 
[2026-07-13 09:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-13 09:09: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-07-13 09:09:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":130381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":130381,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":130381,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681968896001,"66":14407,"165":206,"94":10240,"24":15,"16":24185355980767232,"45":784470790250960896},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-13 09:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681968896001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:09:48] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-13 09:09:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24185355980767232,"km_value":24185355980767.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":784470790250960896,"description":"Unknown IO ID 45"} 
[2026-07-13 09:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681968896001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":784470790250960896}} 
[2026-07-13 09:09:48] local.INFO: TCP Data received {"connection_id":132492,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:09:48] local.INFO: Processing buffer {"connection_id":132492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:09:48] local.INFO: IMEI packet received {"connection_id":132492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":132492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":130381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479266,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:09:48] local.INFO: GPS data processed {"connection_id":130381,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:09:48] local.INFO: Acknowledgment sent {"connection_id":130381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:09:51] local.INFO: TCP Data received {"connection_id":132492,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:09:51] local.INFO: Processing buffer {"connection_id":132492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:09:51] local.INFO: IMEI packet received {"connection_id":132492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":132492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:09:56] local.INFO: TCP Data received {"connection_id":132492,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f598e64e0012d7c64c005ec3790000d00572e..."} 
[2026-07-13 09:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598e64e0012d7c64c005ec3790000d00572e..."} 
[2026-07-13 09:09:56] local.INFO: Processing buffer {"connection_id":132492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598e64e0012d7c64c005ec3790000d00572e..."} 
[2026-07-13 09:09:56] local.INFO: Packet analysis {"connection_id":132492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598e"} 
[2026-07-13 09:09:56] local.INFO: Extracted packet for processing {"connection_id":132492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598e"} 
[2026-07-13 09:09:56] local.INFO: GPS Element Parsed {"raw_longitude":763126976,"raw_latitude":99366800,"longitude_deg":76.3126976,"latitude_deg":9.93668,"altitude":13,"angle":87,"satellites":46,"speed":26,"hex_longitude":"2d7c64c0","hex_latitude":"05ec3790","is_valid_coordinates":true} 
[2026-07-13 09:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681963264001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105684894453071872,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953156084650371072,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783913932000,"timestamp_ms":1783913932000,"timestamp_seconds":1783913932,"priority":1,"record_length":96,"hex_timestamp":"0000019f598e64e0"} 
[2026-07-13 09:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 09:09:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:56] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085565,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:56] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2372335617,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033568462,"corrected_to":0} 
[2026-07-13 09:09:56] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960190976,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:56] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57770110463399734,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:56] local.WARNING: Large IO value detected {"io_id":140,"raw_value":-3557842410769170427,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:56] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-4503535198589440,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:56] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,198,87,24,241,157,16,119,159,3,45,53,14,10,66,212,128,50,44,118,153,64,1,240,182,227,89,236,4,113,205,27,40,139,46,239,155,2,5,30,7,140,235],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1033568462,"validated":0}]} 
[2026-07-13 09:09:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936845668496572416,"timestamp_seconds":936845668496572.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 09:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681963264001,"66":13319,"198":206,"87":13824,"24":26,"16":105684894453071872,"45":8953156084650371072},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-13 09:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681963264001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:09:56] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-13 09:09:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105684894453071872,"km_value":105684894453071.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953156084650371072,"description":"Unknown IO ID 45"} 
[2026-07-13 09:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681963264001,"power":13319,"unknown_198":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8953156084650371072}} 
[2026-07-13 09:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":132492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479267,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:09:56] local.INFO: GPS data processed {"connection_id":132492,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:09:56] local.INFO: Acknowledgment sent {"connection_id":132492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:09:57] local.INFO: TCP Data received {"connection_id":132492,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f598e9b90012d7c88c005ec38b0000c00582e..."} 
[2026-07-13 09:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598e9b90012d7c88c005ec38b0000c00582e..."} 
[2026-07-13 09:09:57] local.INFO: Processing buffer {"connection_id":132492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598e9b90012d7c88c005ec38b0000c00582e..."} 
[2026-07-13 09:09:57] local.INFO: Packet analysis {"connection_id":132492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598e"} 
[2026-07-13 09:09:57] local.INFO: Extracted packet for processing {"connection_id":132492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598e"} 
[2026-07-13 09:09:57] local.INFO: GPS Element Parsed {"raw_longitude":763136192,"raw_latitude":99367088,"longitude_deg":76.3136192,"latitude_deg":9.9367088,"altitude":12,"angle":88,"satellites":46,"speed":27,"hex_longitude":"2d7c88c0","hex_latitude":"05ec38b0","is_valid_coordinates":true} 
[2026-07-13 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-07-13 09:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681966592001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105685328244768768,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963500290044563456,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783913946000,"timestamp_ms":1783913946000,"timestamp_seconds":1783913946,"priority":1,"record_length":96,"hex_timestamp":"0000019f598e9b90"} 
[2026-07-13 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-07-13 09:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 09:09:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:57] local.WARNING: Large IO value detected {"io_id":118,"raw_value":2701131776,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:57] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2375663617,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:57] local.WARNING: Large IO value detected {"io_id":236,"raw_value":844424998856109568,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-07-13 09:09:57] local.WARNING: Large IO value detected {"io_id":102,"raw_value":4160826747,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:57] local.WARNING: Large IO value detected {"io_id":175,"raw_value":2147871777,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960926208,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:57] local.WARNING: Large IO value detected {"io_id":139,"raw_value":57770106168432438,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:57] local.WARNING: Large IO value detected {"io_id":140,"raw_value":-461617666949988347,"note":"Value kept but may cause issues"} 
[2026-07-13 09:09:57] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,198,87,24,241,157,16,119,159,50,45,54,13,44,10,66,3,53,14,212,128,1,240,29,227,118,89,236,4,113,205,23,102,175,216,46,239,155,2,5,17,28,139,140],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-07-13 09:09:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936844577574879232,"timestamp_seconds":936844577574879.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 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-07-13 09:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681966592001,"66":13363,"198":206,"87":13824,"24":27,"16":105685328244768768,"45":8963500290044563456},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-13 09:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681966592001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:09:57] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-13 09:09:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105685328244768768,"km_value":105685328244768.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963500290044563456,"description":"Unknown IO ID 45"} 
[2026-07-13 09:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681966592001,"power":13363,"unknown_198":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8963500290044563456}} 
[2026-07-13 09:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":132492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:09:57] local.INFO: GPS data processed {"connection_id":132492,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:09:57] local.INFO: Acknowledgment sent {"connection_id":132492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:10:12] local.INFO: TCP Data received {"connection_id":132491,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f598cda58012d7f914005afd9380008011b26..."} 
[2026-07-13 09:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598cda58012d7f914005afd9380008011b26..."} 
[2026-07-13 09:10:12] local.INFO: Processing buffer {"connection_id":132491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598cda58012d7f914005afd9380008011b26..."} 
[2026-07-13 09:10:12] local.INFO: Packet analysis {"connection_id":132491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598c"} 
[2026-07-13 09:10:12] local.INFO: Extracted packet for processing {"connection_id":132491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598c"} 
[2026-07-13 09:10:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681863680001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783913831000,"timestamp_ms":1783913831000,"timestamp_seconds":1783913831,"priority":1,"record_length":96,"hex_timestamp":"0000019f598cda58"} 
[2026-07-13 09:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-13 09:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681863680001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681863680001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:10:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:10:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681863680001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":132491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:10:12] local.INFO: GPS data processed {"connection_id":132491,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:10:12] local.INFO: Acknowledgment sent {"connection_id":132491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:10:28] local.INFO: TCP Data received {"connection_id":130382,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130382,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:10:28] local.INFO: Processing buffer {"connection_id":130382,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:10:28] local.INFO: IMEI packet received {"connection_id":130382,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":130382,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:10:28] local.INFO: TCP Data received {"connection_id":130382,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130382,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:10:28] local.INFO: Processing buffer {"connection_id":130382,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:10:28] local.INFO: IMEI packet received {"connection_id":130382,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":130382,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:10:29] local.INFO: TCP Data received {"connection_id":132492,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f598ed628012d7cad4005ec39b0000b00572e..."} 
[2026-07-13 09:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598ed628012d7cad4005ec39b0000b00572e..."} 
[2026-07-13 09:10:29] local.INFO: Processing buffer {"connection_id":132492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598ed628012d7cad4005ec39b0000b00572e..."} 
[2026-07-13 09:10:29] local.INFO: Packet analysis {"connection_id":132492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598e"} 
[2026-07-13 09:10:29] local.INFO: Extracted packet for processing {"connection_id":132492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598e"} 
[2026-07-13 09:10:29] local.INFO: GPS Element Parsed {"raw_longitude":763145536,"raw_latitude":99367344,"longitude_deg":76.3145536,"latitude_deg":9.9367344,"altitude":11,"angle":87,"satellites":46,"speed":22,"hex_longitude":"2d7cad40","hex_latitude":"05ec39b0","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681970176001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105685770626400256,"note":"Value kept but may cause issues"} 
[2026-07-13 09:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973633389206220800,"note":"Value kept but may cause issues"} 
[2026-07-13 09:10:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783913961000,"timestamp_ms":1783913961000,"timestamp_seconds":1783913961,"priority":1,"record_length":96,"hex_timestamp":"0000019f598ed628"} 
[2026-07-13 09:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:10:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-13 09:10:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09: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-07-13 09:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:10:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681970176001,"66":13222,"198":206,"87":13824,"24":22,"16":105685770626400256,"45":8973633389206220800},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-13 09:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681970176001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:10:29] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-13 09:10:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105685770626400256,"km_value":105685770626400.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973633389206220800,"description":"Unknown IO ID 45"} 
[2026-07-13 09:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681970176001,"power":13222,"unknown_198":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8973633389206220800}} 
[2026-07-13 09:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":132492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:10:29] local.INFO: GPS data processed {"connection_id":132492,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:10:29] local.INFO: Acknowledgment sent {"connection_id":132492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:10:33] local.INFO: TCP Data received {"connection_id":130382,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130382,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:10:33] local.INFO: Processing buffer {"connection_id":130382,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:10:33] local.INFO: IMEI packet received {"connection_id":130382,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":130382,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:10:33] local.INFO: TCP Data received {"connection_id":130382,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f598e97a8012d0adc4007059308002900fb25..."} 
[2026-07-13 09:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598e97a8012d0adc4007059308002900fb25..."} 
[2026-07-13 09:10:33] local.INFO: Processing buffer {"connection_id":130382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598e97a8012d0adc4007059308002900fb25..."} 
[2026-07-13 09:10:33] local.INFO: Packet analysis {"connection_id":130382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598e"} 
[2026-07-13 09:10:33] local.INFO: Extracted packet for processing {"connection_id":130382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598e"} 
[2026-07-13 09:10:33] local.INFO: GPS Element Parsed {"raw_longitude":755686464,"raw_latitude":117805832,"longitude_deg":75.5686464,"latitude_deg":11.7805832,"altitude":41,"angle":251,"satellites":37,"speed":17,"hex_longitude":"2d0adc40","hex_latitude":"07059308","is_valid_coordinates":true} 
[2026-07-13 09:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681969152001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24185420405276672,"note":"Value kept but may cause issues"} 
[2026-07-13 09:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":784048577785896960,"note":"Value kept but may cause issues"} 
[2026-07-13 09:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783913945000,"timestamp_ms":1783913945000,"timestamp_seconds":1783913945,"priority":1,"record_length":96,"hex_timestamp":"0000019f598e97a8"} 
[2026-07-13 09:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-13 09:10: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-07-13 09:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":130382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":130382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":130382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681969152001,"66":14428,"165":206,"94":10240,"24":17,"16":24185420405276672,"45":784048577785896960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-13 09:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681969152001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:10:33] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-13 09:10:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24185420405276672,"km_value":24185420405276.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":784048577785896960,"description":"Unknown IO ID 45"} 
[2026-07-13 09:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681969152001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":784048577785896960}} 
[2026-07-13 09:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":130382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479271,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:10:34] local.INFO: GPS data processed {"connection_id":130382,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:10:34] local.INFO: Acknowledgment sent {"connection_id":130382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:10:38] local.INFO: TCP Data received {"connection_id":130382,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f598eca70012d0acb8007058e200029010926..."} 
[2026-07-13 09:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598eca70012d0acb8007058e200029010926..."} 
[2026-07-13 09:10:38] local.INFO: Processing buffer {"connection_id":130382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598eca70012d0acb8007058e200029010926..."} 
[2026-07-13 09:10:38] local.INFO: Packet analysis {"connection_id":130382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598e"} 
[2026-07-13 09:10:38] local.INFO: Extracted packet for processing {"connection_id":130382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598e"} 
[2026-07-13 09:10:38] local.INFO: GPS Element Parsed {"raw_longitude":755682176,"raw_latitude":117804576,"longitude_deg":75.5682176,"latitude_deg":11.7804576,"altitude":41,"angle":265,"satellites":38,"speed":8,"hex_longitude":"2d0acb80","hex_latitude":"07058e20","is_valid_coordinates":true} 
[2026-07-13 09:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681969920001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24185635153641472,"note":"Value kept but may cause issues"} 
[2026-07-13 09:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":782570834158094336,"note":"Value kept but may cause issues"} 
[2026-07-13 09:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783913958000,"timestamp_ms":1783913958000,"timestamp_seconds":1783913958,"priority":1,"record_length":96,"hex_timestamp":"0000019f598eca70"} 
[2026-07-13 09:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 09:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":130382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":130382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":130382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681969920001,"66":14374,"165":206,"94":10240,"24":8,"16":24185635153641472,"45":782570834158094336},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-13 09:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681969920001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:10:38] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-13 09:10:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24185635153641472,"km_value":24185635153641.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":782570834158094336,"description":"Unknown IO ID 45"} 
[2026-07-13 09:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681969920001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":782570834158094336}} 
[2026-07-13 09:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":130382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479272,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:10:38] local.INFO: GPS data processed {"connection_id":130382,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:10:38] local.INFO: Acknowledgment sent {"connection_id":130382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:10:40] local.INFO: TCP Data received {"connection_id":131175,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:10:40] local.INFO: Processing buffer {"connection_id":131175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:10:40] local.INFO: IMEI packet received {"connection_id":131175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":131175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:10:43] local.INFO: TCP Data received {"connection_id":130175,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:10:43] local.INFO: Processing buffer {"connection_id":130175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:10:43] local.INFO: IMEI packet received {"connection_id":130175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":130175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:10:45] local.INFO: TCP Data received {"connection_id":131175,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:10:45] local.INFO: Processing buffer {"connection_id":131175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:10:45] local.INFO: IMEI packet received {"connection_id":131175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":131175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:10:46] local.INFO: TCP Data received {"connection_id":131175,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f598cda58012d7f914005afd9380008011b26..."} 
[2026-07-13 09:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598cda58012d7f914005afd9380008011b26..."} 
[2026-07-13 09:10:46] local.INFO: Processing buffer {"connection_id":131175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598cda58012d7f914005afd9380008011b26..."} 
[2026-07-13 09:10:46] local.INFO: Packet analysis {"connection_id":131175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598c"} 
[2026-07-13 09:10:46] local.INFO: Extracted packet for processing {"connection_id":131175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598c"} 
[2026-07-13 09:10:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681863680001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783913831000,"timestamp_ms":1783913831000,"timestamp_seconds":1783913831,"priority":1,"record_length":96,"hex_timestamp":"0000019f598cda58"} 
[2026-07-13 09:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-13 09:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681863680001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681863680001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:10:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:10:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681863680001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":131175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:10:46] local.INFO: GPS data processed {"connection_id":131175,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:10:46] local.INFO: Acknowledgment sent {"connection_id":131175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:10:48] local.INFO: TCP Data received {"connection_id":130175,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:10:48] local.INFO: Processing buffer {"connection_id":130175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:10:48] local.INFO: IMEI packet received {"connection_id":130175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":130175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:10:50] local.INFO: TCP Data received {"connection_id":130175,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f598f10c0012d7cd24005ec3ae8000a00592d..."} 
[2026-07-13 09:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598f10c0012d7cd24005ec3ae8000a00592d..."} 
[2026-07-13 09:10:50] local.INFO: Processing buffer {"connection_id":130175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598f10c0012d7cd24005ec3ae8000a00592d..."} 
[2026-07-13 09:10:50] local.INFO: Packet analysis {"connection_id":130175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598f"} 
[2026-07-13 09:10:50] local.INFO: Extracted packet for processing {"connection_id":130175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598f"} 
[2026-07-13 09:10:50] local.INFO: GPS Element Parsed {"raw_longitude":763155008,"raw_latitude":99367656,"longitude_deg":76.3155008,"latitude_deg":9.9367656,"altitude":10,"angle":89,"satellites":45,"speed":27,"hex_longitude":"2d7cd240","hex_latitude":"05ec3ae8","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681974016001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105686221597966336,"note":"Value kept but may cause issues"} 
[2026-07-13 09:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983907225856225280,"note":"Value kept but may cause issues"} 
[2026-07-13 09:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783913976000,"timestamp_ms":1783913976000,"timestamp_seconds":1783913976,"priority":1,"record_length":96,"hex_timestamp":"0000019f598f10c0"} 
[2026-07-13 09:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:10: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-07-13 09: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-13 09:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681974016001,"66":13341,"198":206,"87":13824,"24":27,"16":105686221597966336,"45":8983907225856225280},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-13 09:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681974016001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:10:50] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-13 09:10:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105686221597966336,"km_value":105686221597966.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983907225856225280,"description":"Unknown IO ID 45"} 
[2026-07-13 09:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681974016001,"power":13341,"unknown_198":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8983907225856225280}} 
[2026-07-13 09:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":130175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479274,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:10:50] local.INFO: GPS data processed {"connection_id":130175,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:10:50] local.INFO: Acknowledgment sent {"connection_id":130175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:10:51] local.INFO: TCP Data received {"connection_id":131175,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f598cda58012d7f914005afd9380008011b26..."} 
[2026-07-13 09:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598cda58012d7f914005afd9380008011b26..."} 
[2026-07-13 09:10:51] local.INFO: Processing buffer {"connection_id":131175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598cda58012d7f914005afd9380008011b26..."} 
[2026-07-13 09:10:51] local.INFO: Packet analysis {"connection_id":131175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598c"} 
[2026-07-13 09:10:51] local.INFO: Extracted packet for processing {"connection_id":131175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598c"} 
[2026-07-13 09:10:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681863680001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783913831000,"timestamp_ms":1783913831000,"timestamp_seconds":1783913831,"priority":1,"record_length":96,"hex_timestamp":"0000019f598cda58"} 
[2026-07-13 09:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-13 09:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09: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-07-13 09:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":131175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":131175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":131175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:10: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-07-13 09:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681863680001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681863680001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:10:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:10:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681863680001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":131175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:10:51] local.INFO: GPS data processed {"connection_id":131175,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:10:51] local.INFO: Acknowledgment sent {"connection_id":131175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:11:11] local.INFO: TCP Data received {"connection_id":130382,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f598ef568012d0ab84007058a30002500f825..."} 
[2026-07-13 09:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598ef568012d0ab84007058a30002500f825..."} 
[2026-07-13 09:11:11] local.INFO: Processing buffer {"connection_id":130382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598ef568012d0ab84007058a30002500f825..."} 
[2026-07-13 09:11:11] local.INFO: Packet analysis {"connection_id":130382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598e"} 
[2026-07-13 09:11:11] local.INFO: Extracted packet for processing {"connection_id":130382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598e"} 
[2026-07-13 09:11:11] local.INFO: GPS Element Parsed {"raw_longitude":755677248,"raw_latitude":117803568,"longitude_deg":75.5677248,"latitude_deg":11.7803568,"altitude":37,"angle":248,"satellites":37,"speed":11,"hex_longitude":"2d0ab840","hex_latitude":"07058a30","is_valid_coordinates":true} 
[2026-07-13 09:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681973248001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24185871376842752,"note":"Value kept but may cause issues"} 
[2026-07-13 09:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":777856128297869312,"note":"Value kept but may cause issues"} 
[2026-07-13 09:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783913969000,"timestamp_ms":1783913969000,"timestamp_seconds":1783913969,"priority":1,"record_length":96,"hex_timestamp":"0000019f598ef568"} 
[2026-07-13 09:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-13 09:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681973248001,"66":14309,"165":206,"94":10240,"24":11,"16":24185871376842752,"45":777856128297869312},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-13 09:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681973248001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:11:11] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-13 09:11:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24185871376842752,"km_value":24185871376842.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":777856128297869312,"description":"Unknown IO ID 45"} 
[2026-07-13 09:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681973248001,"power":14309,"unknown_165":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":777856128297869312}} 
[2026-07-13 09:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":130382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479276,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:11:11] local.INFO: GPS data processed {"connection_id":130382,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:11:11] local.INFO: Acknowledgment sent {"connection_id":130382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:11:21] local.INFO: TCP Data received {"connection_id":130175,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f598f3fa0012d7cf94005ec3be80008005726..."} 
[2026-07-13 09:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598f3fa0012d7cf94005ec3be80008005726..."} 
[2026-07-13 09:11:21] local.INFO: Processing buffer {"connection_id":130175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598f3fa0012d7cf94005ec3be80008005726..."} 
[2026-07-13 09:11:21] local.INFO: Packet analysis {"connection_id":130175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598f"} 
[2026-07-13 09:11:21] local.INFO: Extracted packet for processing {"connection_id":130175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598f"} 
[2026-07-13 09:11:21] local.INFO: GPS Element Parsed {"raw_longitude":763164992,"raw_latitude":99367912,"longitude_deg":76.3164992,"latitude_deg":9.9367912,"altitude":8,"angle":87,"satellites":38,"speed":39,"hex_longitude":"2d7cf940","hex_latitude":"05ec3be8","is_valid_coordinates":true} 
[2026-07-13 09:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681977856001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105686694044368896,"note":"Value kept but may cause issues"} 
[2026-07-13 09:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994321799994599424,"note":"Value kept but may cause issues"} 
[2026-07-13 09:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783913988000,"timestamp_ms":1783913988000,"timestamp_seconds":1783913988,"priority":1,"record_length":96,"hex_timestamp":"0000019f598f3fa0"} 
[2026-07-13 09:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-13 09:11: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-07-13 09:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":130175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":130175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":130175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681977856001,"66":13374,"198":206,"87":13824,"24":39,"16":105686694044368896,"45":8994321799994599424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-13 09:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681977856001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:11:21] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-13 09:11:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105686694044368896,"km_value":105686694044368.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994321799994599424,"description":"Unknown IO ID 45"} 
[2026-07-13 09:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681977856001,"power":13374,"unknown_198":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":8994321799994599424}} 
[2026-07-13 09:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":130175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479277,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:11:21] local.INFO: GPS data processed {"connection_id":130175,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:11:21] local.INFO: Acknowledgment sent {"connection_id":130175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:11:28] local.INFO: TCP Data received {"connection_id":130383,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130383,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:11:28] local.INFO: Processing buffer {"connection_id":130383,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:11:28] local.INFO: IMEI packet received {"connection_id":130383,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":130383,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:11:33] local.INFO: TCP Data received {"connection_id":130383,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130383,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:11:33] local.INFO: Processing buffer {"connection_id":130383,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:11:33] local.INFO: IMEI packet received {"connection_id":130383,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":130383,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:11:34] local.INFO: TCP Data received {"connection_id":130383,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59908ba8012d0a83c00705a9500020013124..."} 
[2026-07-13 09:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59908ba8012d0a83c00705a9500020013124..."} 
[2026-07-13 09:11:34] local.INFO: Processing buffer {"connection_id":130383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59908ba8012d0a83c00705a9500020013124..."} 
[2026-07-13 09:11:34] local.INFO: Packet analysis {"connection_id":130383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5990"} 
[2026-07-13 09:11:34] local.INFO: Extracted packet for processing {"connection_id":130383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5990"} 
[2026-07-13 09:11:34] local.INFO: GPS Element Parsed {"raw_longitude":755663808,"raw_latitude":117811536,"longitude_deg":75.5663808,"latitude_deg":11.7811536,"altitude":32,"angle":305,"satellites":36,"speed":8,"hex_longitude":"2d0a83c0","hex_latitude":"0705a950","is_valid_coordinates":true} 
[2026-07-13 09:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682002176001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24186764730040320,"note":"Value kept but may cause issues"} 
[2026-07-13 09:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758012142441523200,"note":"Value kept but may cause issues"} 
[2026-07-13 09:11: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-07-13 09:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783914073000,"timestamp_ms":1783914073000,"timestamp_seconds":1783914073,"priority":1,"record_length":96,"hex_timestamp":"0000019f59908ba8"} 
[2026-07-13 09:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-13 09:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":130383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":130383,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":130383,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682002176001,"66":14515,"153":206,"94":10240,"24":8,"16":24186764730040320,"45":758012142441523200},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-13 09:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682002176001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:11:34] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-13 09:11:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24186764730040320,"km_value":24186764730040.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":758012142441523200,"description":"Unknown IO ID 45"} 
[2026-07-13 09:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682002176001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":758012142441523200}} 
[2026-07-13 09:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":130383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479278,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:11:34] local.INFO: GPS data processed {"connection_id":130383,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:11:34] local.INFO: Acknowledgment sent {"connection_id":130383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:11:35] local.INFO: TCP Data received {"connection_id":132493,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:11:35] local.INFO: Processing buffer {"connection_id":132493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:11:35] local.INFO: IMEI packet received {"connection_id":132493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":132493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:11:40] local.INFO: TCP Data received {"connection_id":132493,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:11:40] local.INFO: Processing buffer {"connection_id":132493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:11:40] local.INFO: IMEI packet received {"connection_id":132493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":132493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:11:41] local.INFO: TCP Data received {"connection_id":132493,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f598cda58012d7f914005afd9380008011b26..."} 
[2026-07-13 09:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598cda58012d7f914005afd9380008011b26..."} 
[2026-07-13 09:11:41] local.INFO: Processing buffer {"connection_id":132493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598cda58012d7f914005afd9380008011b26..."} 
[2026-07-13 09:11:41] local.INFO: Packet analysis {"connection_id":132493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598c"} 
[2026-07-13 09:11:41] local.INFO: Extracted packet for processing {"connection_id":132493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598c"} 
[2026-07-13 09:11:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681863680001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783913831000,"timestamp_ms":1783913831000,"timestamp_seconds":1783913831,"priority":1,"record_length":96,"hex_timestamp":"0000019f598cda58"} 
[2026-07-13 09:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-13 09:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681863680001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681863680001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:11:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:11:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681863680001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":132493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:11:41] local.INFO: GPS data processed {"connection_id":132493,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:11:41] local.INFO: Acknowledgment sent {"connection_id":132493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:11:43] local.INFO: TCP Data received {"connection_id":132494,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:11:43] local.INFO: Processing buffer {"connection_id":132494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:11:43] local.INFO: IMEI packet received {"connection_id":132494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":132494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:11:48] local.INFO: TCP Data received {"connection_id":132494,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:11:48] local.INFO: Processing buffer {"connection_id":132494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:11:48] local.INFO: IMEI packet received {"connection_id":132494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":132494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:11:49] local.INFO: TCP Data received {"connection_id":132494,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f598f6a98012d7d1c4005ec3d880008005425..."} 
[2026-07-13 09:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598f6a98012d7d1c4005ec3d880008005425..."} 
[2026-07-13 09:11:49] local.INFO: Processing buffer {"connection_id":132494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598f6a98012d7d1c4005ec3d880008005425..."} 
[2026-07-13 09:11:49] local.INFO: Packet analysis {"connection_id":132494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598f"} 
[2026-07-13 09:11:49] local.INFO: Extracted packet for processing {"connection_id":132494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598f"} 
[2026-07-13 09:11:49] local.INFO: GPS Element Parsed {"raw_longitude":763173952,"raw_latitude":99368328,"longitude_deg":76.3173952,"latitude_deg":9.9368328,"altitude":8,"angle":84,"satellites":37,"speed":22,"hex_longitude":"2d7d1c40","hex_latitude":"05ec3d88","is_valid_coordinates":true} 
[2026-07-13 09:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681980928001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105687123541098496,"note":"Value kept but may cause issues"} 
[2026-07-13 09:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005299324086380544,"note":"Value kept but may cause issues"} 
[2026-07-13 09:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783913999000,"timestamp_ms":1783913999000,"timestamp_seconds":1783913999,"priority":1,"record_length":96,"hex_timestamp":"0000019f598f6a98"} 
[2026-07-13 09:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:11: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-07-13 09:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-13 09:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:11:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681980928001,"66":13319,"198":206,"87":13824,"24":22,"16":105687123541098496,"45":9005299324086380544},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-13 09:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681980928001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:11:49] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-13 09:11:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105687123541098496,"km_value":105687123541098.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005299324086380544,"description":"Unknown IO ID 45"} 
[2026-07-13 09:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681980928001,"power":13319,"unknown_198":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":9005299324086380544}} 
[2026-07-13 09:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":132494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479280,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:11:49] local.INFO: GPS data processed {"connection_id":132494,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:11:49] local.INFO: Acknowledgment sent {"connection_id":132494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:12:05] local.INFO: TCP Data received {"connection_id":130383,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59908f90012d0a83000705aa000020014023..."} 
[2026-07-13 09:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59908f90012d0a83000705aa000020014023..."} 
[2026-07-13 09:12:05] local.INFO: Processing buffer {"connection_id":130383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59908f90012d0a83000705aa000020014023..."} 
[2026-07-13 09:12:05] local.INFO: Packet analysis {"connection_id":130383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5990"} 
[2026-07-13 09:12:05] local.INFO: Extracted packet for processing {"connection_id":130383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5990"} 
[2026-07-13 09:12:05] local.INFO: GPS Element Parsed {"raw_longitude":755663616,"raw_latitude":117811712,"longitude_deg":75.5663616,"latitude_deg":11.7811712,"altitude":32,"angle":320,"satellites":35,"speed":10,"hex_longitude":"2d0a8300","hex_latitude":"0705aa00","is_valid_coordinates":true} 
[2026-07-13 09:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682002688001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24186781909909504,"note":"Value kept but may cause issues"} 
[2026-07-13 09:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757660298720661504,"note":"Value kept but may cause issues"} 
[2026-07-13 09:12: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-07-13 09:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783914074000,"timestamp_ms":1783914074000,"timestamp_seconds":1783914074,"priority":1,"record_length":96,"hex_timestamp":"0000019f59908f90"} 
[2026-07-13 09:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-13 09:12: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-07-13 09:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130383,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130383,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682002688001,"66":14374,"153":206,"94":10240,"24":10,"16":24186781909909504,"45":757660298720661504},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-13 09:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682002688001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:12:05] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-13 09:12:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24186781909909504,"km_value":24186781909909.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":757660298720661504,"description":"Unknown IO ID 45"} 
[2026-07-13 09:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682002688001,"power":14374,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":757660298720661504}} 
[2026-07-13 09:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":130383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479281,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:12:05] local.INFO: GPS data processed {"connection_id":130383,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:12:05] local.INFO: Acknowledgment sent {"connection_id":130383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:12:12] local.INFO: TCP Data received {"connection_id":132493,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f598cda58012d7f914005afd9380008011b26..."} 
[2026-07-13 09:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598cda58012d7f914005afd9380008011b26..."} 
[2026-07-13 09:12:12] local.INFO: Processing buffer {"connection_id":132493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598cda58012d7f914005afd9380008011b26..."} 
[2026-07-13 09:12:12] local.INFO: Packet analysis {"connection_id":132493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598c"} 
[2026-07-13 09:12:12] local.INFO: Extracted packet for processing {"connection_id":132493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598c"} 
[2026-07-13 09:12:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681863680001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783913831000,"timestamp_ms":1783913831000,"timestamp_seconds":1783913831,"priority":1,"record_length":96,"hex_timestamp":"0000019f598cda58"} 
[2026-07-13 09:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-13 09:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681863680001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681863680001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:12:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:12:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681863680001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":132493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:12:12] local.INFO: GPS data processed {"connection_id":132493,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:12:12] local.INFO: Acknowledgment sent {"connection_id":132493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:12:21] local.INFO: TCP Data received {"connection_id":132494,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59911848012d7d340005eb8a28000f00b52d..."} 
[2026-07-13 09:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59911848012d7d340005eb8a28000f00b52d..."} 
[2026-07-13 09:12:21] local.INFO: Processing buffer {"connection_id":132494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59911848012d7d340005eb8a28000f00b52d..."} 
[2026-07-13 09:12:21] local.INFO: Packet analysis {"connection_id":132494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5991"} 
[2026-07-13 09:12:21] local.INFO: Extracted packet for processing {"connection_id":132494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5991"} 
[2026-07-13 09:12:21] local.INFO: GPS Element Parsed {"raw_longitude":763180032,"raw_latitude":99322408,"longitude_deg":76.3180032,"latitude_deg":9.9322408,"altitude":15,"angle":181,"satellites":45,"speed":37,"hex_longitude":"2d7d3400","hex_latitude":"05eb8a28","is_valid_coordinates":true} 
[2026-07-13 09:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682009344001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105689790715789312,"note":"Value kept but may cause issues"} 
[2026-07-13 09:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560167864320,"note":"Value kept but may cause issues"} 
[2026-07-13 09:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783914109000,"timestamp_ms":1783914109000,"timestamp_seconds":1783914109,"priority":1,"record_length":96,"hex_timestamp":"0000019f59911848"} 
[2026-07-13 09:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-13 09:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":132494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":132494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":132494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682009344001,"66":13048,"197":206,"87":13824,"24":37,"16":105689790715789312,"45":9022328560167864320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-13 09:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682009344001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:12:21] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-13 09:12:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105689790715789312,"km_value":105689790715789.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560167864320,"description":"Unknown IO ID 45"} 
[2026-07-13 09:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682009344001,"power":13048,"unknown_197":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":9022328560167864320}} 
[2026-07-13 09:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":132494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:12:21] local.INFO: GPS data processed {"connection_id":132494,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:12:21] local.INFO: Acknowledgment sent {"connection_id":132494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:12:25] local.INFO: TCP Data received {"connection_id":132495,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132495,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:12:25] local.INFO: Processing buffer {"connection_id":132495,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:12:25] local.INFO: IMEI packet received {"connection_id":132495,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":132495,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:12:27] local.INFO: TCP Data received {"connection_id":132495,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132495,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:12:27] local.INFO: Processing buffer {"connection_id":132495,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:12:27] local.INFO: IMEI packet received {"connection_id":132495,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":132495,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:12:30] local.INFO: TCP Data received {"connection_id":132495,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132495,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:12:30] local.INFO: Processing buffer {"connection_id":132495,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:12:30] local.INFO: IMEI packet received {"connection_id":132495,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":132495,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:12:31] local.INFO: TCP Data received {"connection_id":132495,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132495,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:12:31] local.INFO: Processing buffer {"connection_id":132495,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:12:31] local.INFO: IMEI packet received {"connection_id":132495,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":132495,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:12:32] local.INFO: TCP Data received {"connection_id":132495,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59909378012d0a82400705aae00020014b24..."} 
[2026-07-13 09:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59909378012d0a82400705aae00020014b24..."} 
[2026-07-13 09:12:32] local.INFO: Processing buffer {"connection_id":132495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59909378012d0a82400705aae00020014b24..."} 
[2026-07-13 09:12:32] local.INFO: Packet analysis {"connection_id":132495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5990"} 
[2026-07-13 09:12:32] local.INFO: Extracted packet for processing {"connection_id":132495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5990"} 
[2026-07-13 09:12:32] local.INFO: GPS Element Parsed {"raw_longitude":755663424,"raw_latitude":117811936,"longitude_deg":75.5663424,"latitude_deg":11.7811936,"altitude":32,"angle":331,"satellites":36,"speed":10,"hex_longitude":"2d0a8240","hex_latitude":"0705aae0","is_valid_coordinates":true} 
[2026-07-13 09:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682002944001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24186794794811392,"note":"Value kept but may cause issues"} 
[2026-07-13 09:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757449192488173568,"note":"Value kept but may cause issues"} 
[2026-07-13 09:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783914075000,"timestamp_ms":1783914075000,"timestamp_seconds":1783914075,"priority":1,"record_length":96,"hex_timestamp":"0000019f59909378"} 
[2026-07-13 09:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-13 09:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":132495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":132495,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":132495,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682002944001,"66":14537,"153":206,"94":10240,"24":10,"16":24186794794811392,"45":757449192488173568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-13 09:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682002944001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:12:32] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-13 09:12:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24186794794811392,"km_value":24186794794811.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":757449192488173568,"description":"Unknown IO ID 45"} 
[2026-07-13 09:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682002944001,"power":14537,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":757449192488173568}} 
[2026-07-13 09:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":132495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479284,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:12:32] local.INFO: GPS data processed {"connection_id":132495,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:12:32] local.INFO: Acknowledgment sent {"connection_id":132495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:12:33] local.INFO: TCP Data received {"connection_id":132495,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5990d9c8012d0a7f800705b018001b015824..."} 
[2026-07-13 09:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5990d9c8012d0a7f800705b018001b015824..."} 
[2026-07-13 09:12:33] local.INFO: Processing buffer {"connection_id":132495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5990d9c8012d0a7f800705b018001b015824..."} 
[2026-07-13 09:12:33] local.INFO: Packet analysis {"connection_id":132495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5990"} 
[2026-07-13 09:12:33] local.INFO: Extracted packet for processing {"connection_id":132495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5990"} 
[2026-07-13 09:12:33] local.INFO: GPS Element Parsed {"raw_longitude":755662720,"raw_latitude":117813272,"longitude_deg":75.566272,"latitude_deg":11.7813272,"altitude":27,"angle":344,"satellites":36,"speed":3,"hex_longitude":"2d0a7f80","hex_latitude":"0705b018","is_valid_coordinates":true} 
[2026-07-13 09:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682003200001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24186876399190016,"note":"Value kept but may cause issues"} 
[2026-07-13 09:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757238086255697920,"note":"Value kept but may cause issues"} 
[2026-07-13 09:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783914093000,"timestamp_ms":1783914093000,"timestamp_seconds":1783914093,"priority":1,"record_length":96,"hex_timestamp":"0000019f5990d9c8"} 
[2026-07-13 09:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-13 09:12: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-07-13 09:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":132495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":132495,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":132495,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682003200001,"66":14580,"153":206,"94":10240,"24":3,"16":24186876399190016,"45":757238086255697920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-13 09:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682003200001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:12:33] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-13 09:12:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24186876399190016,"km_value":24186876399190.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":757238086255697920,"description":"Unknown IO ID 45"} 
[2026-07-13 09:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682003200001,"power":14580,"unknown_153":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":757238086255697920}} 
[2026-07-13 09:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":132495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479285,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:12:33] local.INFO: GPS data processed {"connection_id":132495,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:12:33] local.INFO: Acknowledgment sent {"connection_id":132495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:12:35] local.INFO: TCP Data received {"connection_id":131177,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:12:35] local.INFO: Processing buffer {"connection_id":131177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:12:35] local.INFO: IMEI packet received {"connection_id":131177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":131177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:12:40] local.INFO: TCP Data received {"connection_id":131177,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:12:40] local.INFO: Processing buffer {"connection_id":131177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:12:40] local.INFO: IMEI packet received {"connection_id":131177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":131177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:12:41] local.INFO: TCP Data received {"connection_id":131177,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f598cda58012d7f914005afd9380008011b26..."} 
[2026-07-13 09:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f598cda58012d7f914005afd9380008011b26..."} 
[2026-07-13 09:12:41] local.INFO: Processing buffer {"connection_id":131177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f598cda58012d7f914005afd9380008011b26..."} 
[2026-07-13 09:12:41] local.INFO: Packet analysis {"connection_id":131177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f598c"} 
[2026-07-13 09:12:41] local.INFO: Extracted packet for processing {"connection_id":131177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f598c"} 
[2026-07-13 09:12:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681863680001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783913831000,"timestamp_ms":1783913831000,"timestamp_seconds":1783913831,"priority":1,"record_length":96,"hex_timestamp":"0000019f598cda58"} 
[2026-07-13 09:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-13 09:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681863680001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681863680001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:12:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:12:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681863680001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":131177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:12:41] local.INFO: GPS data processed {"connection_id":131177,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:12:41] local.INFO: Acknowledgment sent {"connection_id":131177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:12:43] local.INFO: TCP Data received {"connection_id":130384,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:12:43] local.INFO: Processing buffer {"connection_id":130384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:12:43] local.INFO: IMEI packet received {"connection_id":130384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":130384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:12:44] local.INFO: TCP Data received {"connection_id":130384,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:12:44] local.INFO: Processing buffer {"connection_id":130384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:12:44] local.INFO: IMEI packet received {"connection_id":130384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":130384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:12:48] local.INFO: TCP Data received {"connection_id":130384,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:12:48] local.INFO: Processing buffer {"connection_id":130384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:12:48] local.INFO: IMEI packet received {"connection_id":130384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":130384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:12:49] local.INFO: TCP Data received {"connection_id":130384,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59915ab0012d7d320005eb64e8000d00b72c..."} 
[2026-07-13 09:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59915ab0012d7d320005eb64e8000d00b72c..."} 
[2026-07-13 09:12:49] local.INFO: Processing buffer {"connection_id":130384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59915ab0012d7d320005eb64e8000d00b72c..."} 
[2026-07-13 09:12:49] local.INFO: Packet analysis {"connection_id":130384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5991"} 
[2026-07-13 09:12:49] local.INFO: Extracted packet for processing {"connection_id":130384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5991"} 
[2026-07-13 09:12:49] local.INFO: GPS Element Parsed {"raw_longitude":763179520,"raw_latitude":99312872,"longitude_deg":76.317952,"latitude_deg":9.9312872,"altitude":13,"angle":183,"satellites":44,"speed":37,"hex_longitude":"2d7d3200","hex_latitude":"05eb64e8","is_valid_coordinates":true} 
[2026-07-13 09:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682011904001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105690258867224576,"note":"Value kept but may cause issues"} 
[2026-07-13 09:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021835978956482560,"note":"Value kept but may cause issues"} 
[2026-07-13 09:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783914126000,"timestamp_ms":1783914126000,"timestamp_seconds":1783914126,"priority":1,"record_length":96,"hex_timestamp":"0000019f59915ab0"} 
[2026-07-13 09:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-13 09:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682011904001,"66":13091,"197":206,"87":13824,"24":37,"16":105690258867224576,"45":9021835978956482560},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-07-13 09:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682011904001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:12:49] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-13 09:12:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105690258867224576,"km_value":105690258867224.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021835978956482560,"description":"Unknown IO ID 45"} 
[2026-07-13 09:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682011904001,"power":13091,"unknown_197":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":9021835978956482560}} 
[2026-07-13 09:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":130384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479287,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:12:49] local.INFO: GPS data processed {"connection_id":130384,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:12:49] local.INFO: Acknowledgment sent {"connection_id":130384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:13:05] local.INFO: TCP Data received {"connection_id":132495,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5990e198012d0a7e800705b170001b014a24..."} 
[2026-07-13 09:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5990e198012d0a7e800705b170001b014a24..."} 
[2026-07-13 09:13:05] local.INFO: Processing buffer {"connection_id":132495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5990e198012d0a7e800705b170001b014a24..."} 
[2026-07-13 09:13:05] local.INFO: Packet analysis {"connection_id":132495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5990"} 
[2026-07-13 09:13:05] local.INFO: Extracted packet for processing {"connection_id":132495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5990"} 
[2026-07-13 09:13:05] local.INFO: GPS Element Parsed {"raw_longitude":755662464,"raw_latitude":117813616,"longitude_deg":75.5662464,"latitude_deg":11.7813616,"altitude":27,"angle":330,"satellites":36,"speed":9,"hex_longitude":"2d0a7e80","hex_latitude":"0705b170","is_valid_coordinates":true} 
[2026-07-13 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-07-13 09:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682007808001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24186893579059200,"note":"Value kept but may cause issues"} 
[2026-07-13 09:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756464030070085632,"note":"Value kept but may cause issues"} 
[2026-07-13 09:13: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-07-13 09:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783914095000,"timestamp_ms":1783914095000,"timestamp_seconds":1783914095,"priority":1,"record_length":96,"hex_timestamp":"0000019f5990e198"} 
[2026-07-13 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-07-13 09:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":244,"data_length":795,"current_offset":136} 
[2026-07-13 09:13:05] 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-07-13 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-07-13 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-07-13 09:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132495,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132495,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682007808001,"66":14330,"153":206,"94":10240,"24":9,"16":24186893579059200,"45":756464030070085632},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-13 09:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682007808001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:13:05] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-13 09:13:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24186893579059200,"km_value":24186893579059.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":756464030070085632,"description":"Unknown IO ID 45"} 
[2026-07-13 09:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682007808001,"power":14330,"unknown_153":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":756464030070085632}} 
[2026-07-13 09:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":132495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479288,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:13:05] local.INFO: GPS data processed {"connection_id":132495,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:13:05] local.INFO: Acknowledgment sent {"connection_id":132495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:13:12] local.INFO: TCP Data received {"connection_id":131177,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f59917220012d7f914005afd9380008011b23..."} 
[2026-07-13 09:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59917220012d7f914005afd9380008011b23..."} 
[2026-07-13 09:13:12] local.INFO: Processing buffer {"connection_id":131177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59917220012d7f914005afd9380008011b23..."} 
[2026-07-13 09:13:12] local.INFO: Packet analysis {"connection_id":131177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5991"} 
[2026-07-13 09:13:12] local.INFO: Extracted packet for processing {"connection_id":131177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5991"} 
[2026-07-13 09:13:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681940736001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783914132000,"timestamp_ms":1783914132000,"timestamp_seconds":1783914132,"priority":1,"record_length":96,"hex_timestamp":"0000019f59917220"} 
[2026-07-13 09:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 09:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681940736001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681940736001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:13:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:13:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681940736001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":131177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:13:12] local.INFO: GPS data processed {"connection_id":131177,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:13:12] local.INFO: Acknowledgment sent {"connection_id":131177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:13:18] local.INFO: TCP Data received {"connection_id":132496,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:13:18] local.INFO: Processing buffer {"connection_id":132496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:13:18] local.INFO: IMEI packet received {"connection_id":132496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 09:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":132496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:13:21] local.INFO: TCP Data received {"connection_id":130384,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59917dd8012d7d2fc005eb3d78000b00b72c..."} 
[2026-07-13 09:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59917dd8012d7d2fc005eb3d78000b00b72c..."} 
[2026-07-13 09:13:21] local.INFO: Processing buffer {"connection_id":130384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59917dd8012d7d2fc005eb3d78000b00b72c..."} 
[2026-07-13 09:13:21] local.INFO: Packet analysis {"connection_id":130384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5991"} 
[2026-07-13 09:13:21] local.INFO: Extracted packet for processing {"connection_id":130384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5991"} 
[2026-07-13 09:13:21] local.INFO: GPS Element Parsed {"raw_longitude":763178944,"raw_latitude":99302776,"longitude_deg":76.3178944,"latitude_deg":9.9302776,"altitude":11,"angle":183,"satellites":44,"speed":51,"hex_longitude":"2d7d2fc0","hex_latitude":"05eb3d78","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682016256001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105690701248856064,"note":"Value kept but may cause issues"} 
[2026-07-13 09:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021273029000620032,"note":"Value kept but may cause issues"} 
[2026-07-13 09:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783914135000,"timestamp_ms":1783914135000,"timestamp_seconds":1783914135,"priority":1,"record_length":96,"hex_timestamp":"0000019f59917dd8"} 
[2026-07-13 09:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-13 09:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09: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-07-13 09:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":130384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":130384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":130384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682016256001,"66":13319,"156":206,"87":13824,"24":51,"16":105690701248856064,"45":9021273029000620032},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-13 09:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682016256001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:13:21] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-13 09:13:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105690701248856064,"km_value":105690701248856.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021273029000620032,"description":"Unknown IO ID 45"} 
[2026-07-13 09:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682016256001,"power":13319,"unknown_156":206,"unknown_87":13824,"ignition":51,"odometer":null,"unknown_45":9021273029000620032}} 
[2026-07-13 09:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":130384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479290,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:13:21] local.INFO: GPS data processed {"connection_id":130384,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:13:21] local.INFO: Acknowledgment sent {"connection_id":130384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:13:27] local.INFO: TCP Data received {"connection_id":130176,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130176,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:13:27] local.INFO: Processing buffer {"connection_id":130176,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:13:27] local.INFO: IMEI packet received {"connection_id":130176,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":130176,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:13:33] local.INFO: TCP Data received {"connection_id":130176,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130176,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:13:33] local.INFO: Processing buffer {"connection_id":130176,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:13:33] local.INFO: IMEI packet received {"connection_id":130176,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":130176,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:13:33] local.INFO: TCP Data received {"connection_id":130176,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f599104c0012d0a76800705c0f0001b015726..."} 
[2026-07-13 09:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599104c0012d0a76800705c0f0001b015726..."} 
[2026-07-13 09:13:33] local.INFO: Processing buffer {"connection_id":130176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599104c0012d0a76800705c0f0001b015726..."} 
[2026-07-13 09:13:33] local.INFO: Packet analysis {"connection_id":130176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5991"} 
[2026-07-13 09:13:33] local.INFO: Extracted packet for processing {"connection_id":130176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5991"} 
[2026-07-13 09:13:33] local.INFO: GPS Element Parsed {"raw_longitude":755660416,"raw_latitude":117817584,"longitude_deg":75.5660416,"latitude_deg":11.7817584,"altitude":27,"angle":343,"satellites":38,"speed":24,"hex_longitude":"2d0a7680","hex_latitude":"0705c0f0","is_valid_coordinates":true} 
[2026-07-13 09:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682008320001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24187112622391296,"note":"Value kept but may cause issues"} 
[2026-07-13 09:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756182555093463040,"note":"Value kept but may cause issues"} 
[2026-07-13 09:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783914104000,"timestamp_ms":1783914104000,"timestamp_seconds":1783914104,"priority":1,"record_length":96,"hex_timestamp":"0000019f599104c0"} 
[2026-07-13 09:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-07-13 09:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":130176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":130176,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":130176,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682008320001,"66":14450,"153":206,"94":10240,"24":24,"16":24187112622391296,"45":756182555093463040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-13 09:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682008320001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:13:33] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-13 09:13:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24187112622391296,"km_value":24187112622391.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":756182555093463040,"description":"Unknown IO ID 45"} 
[2026-07-13 09:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682008320001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":756182555093463040}} 
[2026-07-13 09:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":130176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479291,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:13:33] local.INFO: GPS data processed {"connection_id":130176,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:13:33] local.INFO: Acknowledgment sent {"connection_id":130176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:13:35] local.INFO: TCP Data received {"connection_id":132497,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:13:35] local.INFO: Processing buffer {"connection_id":132497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:13:35] local.INFO: IMEI packet received {"connection_id":132497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":132497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:13:40] local.INFO: TCP Data received {"connection_id":132497,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:13:40] local.INFO: Processing buffer {"connection_id":132497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:13:40] local.INFO: IMEI packet received {"connection_id":132497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":132497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:13:40] local.INFO: TCP Data received {"connection_id":131178,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131178,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:13:40] local.INFO: Processing buffer {"connection_id":131178,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:13:40] local.INFO: IMEI packet received {"connection_id":131178,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 09:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":131178,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:13:41] local.INFO: TCP Data received {"connection_id":132497,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f59917220012d7f914005afd9380008011b23..."} 
[2026-07-13 09:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59917220012d7f914005afd9380008011b23..."} 
[2026-07-13 09:13:41] local.INFO: Processing buffer {"connection_id":132497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59917220012d7f914005afd9380008011b23..."} 
[2026-07-13 09:13:41] local.INFO: Packet analysis {"connection_id":132497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5991"} 
[2026-07-13 09:13:41] local.INFO: Extracted packet for processing {"connection_id":132497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5991"} 
[2026-07-13 09:13:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681940736001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783914132000,"timestamp_ms":1783914132000,"timestamp_seconds":1783914132,"priority":1,"record_length":96,"hex_timestamp":"0000019f59917220"} 
[2026-07-13 09:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 09:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681940736001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681940736001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:13:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:13:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681940736001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":132497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:13:41] local.INFO: GPS data processed {"connection_id":132497,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:13:41] local.INFO: Acknowledgment sent {"connection_id":132497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:13:48] local.INFO: TCP Data received {"connection_id":132498,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:13:48] local.INFO: Processing buffer {"connection_id":132498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:13:48] local.INFO: IMEI packet received {"connection_id":132498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":132498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:13:53] local.INFO: TCP Data received {"connection_id":132498,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:13:53] local.INFO: Processing buffer {"connection_id":132498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:13:53] local.INFO: IMEI packet received {"connection_id":132498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":132498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:13:55] local.INFO: TCP Data received {"connection_id":132498,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59919548012d7d2dc005eb1e10000900b82b..."} 
[2026-07-13 09:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59919548012d7d2dc005eb1e10000900b82b..."} 
[2026-07-13 09:13:55] local.INFO: Processing buffer {"connection_id":132498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59919548012d7d2dc005eb1e10000900b82b..."} 
[2026-07-13 09:13:55] local.INFO: Packet analysis {"connection_id":132498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5991"} 
[2026-07-13 09:13:55] local.INFO: Extracted packet for processing {"connection_id":132498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5991"} 
[2026-07-13 09:13:55] local.INFO: GPS Element Parsed {"raw_longitude":763178432,"raw_latitude":99294736,"longitude_deg":76.3178432,"latitude_deg":9.9294736,"altitude":9,"angle":184,"satellites":43,"speed":53,"hex_longitude":"2d7d2dc0","hex_latitude":"05eb1e10","is_valid_coordinates":true} 
[2026-07-13 09:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682018560001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105691156515389440,"note":"Value kept but may cause issues"} 
[2026-07-13 09:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020639710300436480,"note":"Value kept but may cause issues"} 
[2026-07-13 09:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783914141000,"timestamp_ms":1783914141000,"timestamp_seconds":1783914141,"priority":1,"record_length":96,"hex_timestamp":"0000019f59919548"} 
[2026-07-13 09:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 09:13:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 09:13:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-13 09:13:55] local.WARNING: Large IO value detected {"io_id":123,"raw_value":3892314112,"note":"Value kept but may cause issues"} 
[2026-07-13 09:13:55] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2429679617,"note":"Value kept but may cause issues"} 
[2026-07-13 09:13:55] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3145728016,"note":"Value kept but may cause issues"} 
[2026-07-13 09:13:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-07-13 09:13:55] local.WARNING: Large IO value detected {"io_id":186,"raw_value":2281778557,"note":"Value kept but may cause issues"} 
[2026-07-13 09:13:55] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2147871697,"note":"Value kept but may cause issues"} 
[2026-07-13 09:13:55] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391945,"note":"Value kept but may cause issues"} 
[2026-07-13 09:13:55] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3958616064,"note":"Value kept but may cause issues"} 
[2026-07-13 09:13:55] local.WARNING: Large IO value detected {"io_id":248,"raw_value":57783107034437430,"note":"Value kept but may cause issues"} 
[2026-07-13 09:13:55] local.WARNING: Large IO value detected {"io_id":144,"raw_value":7248544895139037189,"note":"Value kept but may cause issues"} 
[2026-07-13 09:13:55] local.WARNING: Large IO value detected {"io_id":236,"raw_value":731834986703299840,"note":"Value kept but may cause issues"} 
[2026-07-13 09:13:55] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,156,87,24,241,157,16,125,159,90,45,100,13,44,10,66,197,124,138,15,192,1,240,220,227,123,89,235,4,113,205,32,186,61,184,36,239,51,110,2,119,5,30,248,144,236],"length":527,"final_offset":657,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-07-13 09:13:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792834934026993664,"timestamp_seconds":792834934026993.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 09:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":132498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":132498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":132498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682018560001,"66":13254,"156":206,"87":13824,"24":53,"16":105691156515389440,"45":9020639710300436480},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-13 09:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682018560001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:13:55] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-13 09:13:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105691156515389440,"km_value":105691156515389.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020639710300436480,"description":"Unknown IO ID 45"} 
[2026-07-13 09:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682018560001,"power":13254,"unknown_156":206,"unknown_87":13824,"ignition":53,"odometer":null,"unknown_45":9020639710300436480}} 
[2026-07-13 09:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":132498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479293,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:13:55] local.INFO: GPS data processed {"connection_id":132498,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:13:55] local.INFO: Acknowledgment sent {"connection_id":132498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:14:04] local.INFO: TCP Data received {"connection_id":130176,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59926c20012d0a74c0070604300016008026..."} 
[2026-07-13 09:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59926c20012d0a74c0070604300016008026..."} 
[2026-07-13 09:14:04] local.INFO: Processing buffer {"connection_id":130176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59926c20012d0a74c0070604300016008026..."} 
[2026-07-13 09:14:04] local.INFO: Packet analysis {"connection_id":130176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5992"} 
[2026-07-13 09:14:04] local.INFO: Extracted packet for processing {"connection_id":130176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5992"} 
[2026-07-13 09:14:04] local.INFO: GPS Element Parsed {"raw_longitude":755659968,"raw_latitude":117834800,"longitude_deg":75.5659968,"latitude_deg":11.78348,"altitude":22,"angle":128,"satellites":38,"speed":0,"hex_longitude":"2d0a74c0","hex_latitude":"07060430","is_valid_coordinates":true} 
[2026-07-13 09:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682033408001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24188057515196416,"note":"Value kept but may cause issues"} 
[2026-07-13 09:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753297436587618304,"note":"Value kept but may cause issues"} 
[2026-07-13 09:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783914196000,"timestamp_ms":1783914196000,"timestamp_seconds":1783914196,"priority":1,"record_length":96,"hex_timestamp":"0000019f59926c20"} 
[2026-07-13 09:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 09:14: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-07-13 09:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130176,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130176,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682033408001,"66":14396,"153":206,"94":10240,"24":0,"16":24188057515196416,"45":753297436587618304},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-13 09:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682033408001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:14:04] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-13 09:14:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24188057515196416,"km_value":24188057515196.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":753297436587618304,"description":"Unknown IO ID 45"} 
[2026-07-13 09:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682033408001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753297436587618304}} 
[2026-07-13 09:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":130176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479294,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:14:05] local.INFO: GPS data processed {"connection_id":130176,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:14:05] local.INFO: Acknowledgment sent {"connection_id":130176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:14:12] local.INFO: TCP Data received {"connection_id":132497,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f59917220012d7f914005afd9380008011b23..."} 
[2026-07-13 09:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59917220012d7f914005afd9380008011b23..."} 
[2026-07-13 09:14:12] local.INFO: Processing buffer {"connection_id":132497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59917220012d7f914005afd9380008011b23..."} 
[2026-07-13 09:14:12] local.INFO: Packet analysis {"connection_id":132497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5991"} 
[2026-07-13 09:14:12] local.INFO: Extracted packet for processing {"connection_id":132497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5991"} 
[2026-07-13 09:14:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681940736001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783914132000,"timestamp_ms":1783914132000,"timestamp_seconds":1783914132,"priority":1,"record_length":96,"hex_timestamp":"0000019f59917220"} 
[2026-07-13 09:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 09:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681940736001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681940736001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:14:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:14:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681940736001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":132497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:14:12] local.INFO: GPS data processed {"connection_id":132497,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:14:12] local.INFO: Acknowledgment sent {"connection_id":132497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:14:26] local.INFO: TCP Data received {"connection_id":132498,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f599342f8012d7d108005e91838000800b72b..."} 
[2026-07-13 09:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599342f8012d7d108005e91838000800b72b..."} 
[2026-07-13 09:14:26] local.INFO: Processing buffer {"connection_id":132498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599342f8012d7d108005e91838000800b72b..."} 
[2026-07-13 09:14:26] local.INFO: Packet analysis {"connection_id":132498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5993"} 
[2026-07-13 09:14:26] local.INFO: Extracted packet for processing {"connection_id":132498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5993"} 
[2026-07-13 09:14:26] local.INFO: GPS Element Parsed {"raw_longitude":763170944,"raw_latitude":99162168,"longitude_deg":76.3170944,"latitude_deg":9.9162168,"altitude":8,"angle":183,"satellites":43,"speed":62,"hex_longitude":"2d7d1080","hex_latitude":"05e91838","is_valid_coordinates":true} 
[2026-07-13 09:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682046976001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105697616146202624,"note":"Value kept but may cause issues"} 
[2026-07-13 09:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012406567197593600,"note":"Value kept but may cause issues"} 
[2026-07-13 09:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783914251000,"timestamp_ms":1783914251000,"timestamp_seconds":1783914251,"priority":1,"record_length":96,"hex_timestamp":"0000019f599342f8"} 
[2026-07-13 09:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-13 09:14:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:14:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":132498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":132498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":132498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682046976001,"66":13406,"192":206,"87":13824,"24":62,"16":105697616146202624,"45":9012406567197593600},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-13 09:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682046976001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:14:26] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-13 09:14:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105697616146202624,"km_value":105697616146202.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012406567197593600,"description":"Unknown IO ID 45"} 
[2026-07-13 09:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682046976001,"power":13406,"unknown_192":206,"unknown_87":13824,"ignition":62,"odometer":null,"unknown_45":9012406567197593600}} 
[2026-07-13 09:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":132498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479296,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:14:26] local.INFO: GPS data processed {"connection_id":132498,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:14:26] local.INFO: Acknowledgment sent {"connection_id":132498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:14:27] local.INFO: TCP Data received {"connection_id":130385,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130385,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:14:27] local.INFO: Processing buffer {"connection_id":130385,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:14:27] local.INFO: IMEI packet received {"connection_id":130385,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":130385,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:14:31] local.INFO: TCP Data received {"connection_id":130385,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130385,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:14:31] local.INFO: Processing buffer {"connection_id":130385,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:14:31] local.INFO: IMEI packet received {"connection_id":130385,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":130385,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:14:32] local.INFO: TCP Data received {"connection_id":130385,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130385,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:14:32] local.INFO: Processing buffer {"connection_id":130385,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:14:32] local.INFO: IMEI packet received {"connection_id":130385,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":130385,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:14:33] local.INFO: TCP Data received {"connection_id":130385,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5992ba40012d0a74c0070604100016007a25..."} 
[2026-07-13 09:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5992ba40012d0a74c0070604100016007a25..."} 
[2026-07-13 09:14:33] local.INFO: Processing buffer {"connection_id":130385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5992ba40012d0a74c0070604100016007a25..."} 
[2026-07-13 09:14:33] local.INFO: Packet analysis {"connection_id":130385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5992"} 
[2026-07-13 09:14:33] local.INFO: Extracted packet for processing {"connection_id":130385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5992"} 
[2026-07-13 09:14:33] local.INFO: GPS Element Parsed {"raw_longitude":755659968,"raw_latitude":117834768,"longitude_deg":75.5659968,"latitude_deg":11.7834768,"altitude":22,"angle":122,"satellites":37,"speed":0,"hex_longitude":"2d0a74c0","hex_latitude":"07060410","is_valid_coordinates":true} 
[2026-07-13 09:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682034176001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24188061810163712,"note":"Value kept but may cause issues"} 
[2026-07-13 09:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753438174075957248,"note":"Value kept but may cause issues"} 
[2026-07-13 09:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783914216000,"timestamp_ms":1783914216000,"timestamp_seconds":1783914216,"priority":1,"record_length":96,"hex_timestamp":"0000019f5992ba40"} 
[2026-07-13 09:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-13 09:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":130385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":130385,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":130385,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682034176001,"66":14407,"153":206,"94":10240,"24":0,"16":24188061810163712,"45":753438174075957248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-13 09:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682034176001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:14:33] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-13 09:14:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24188061810163712,"km_value":24188061810163.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":753438174075957248,"description":"Unknown IO ID 45"} 
[2026-07-13 09:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682034176001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753438174075957248}} 
[2026-07-13 09:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":130385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479297,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:14:33] local.INFO: GPS data processed {"connection_id":130385,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:14:33] local.INFO: Acknowledgment sent {"connection_id":130385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:14:35] local.INFO: TCP Data received {"connection_id":132499,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:14:35] local.INFO: Processing buffer {"connection_id":132499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:14:35] local.INFO: IMEI packet received {"connection_id":132499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":132499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:14:38] local.INFO: TCP Data received {"connection_id":130385,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59930c48012d0a74c0070604100016007a25..."} 
[2026-07-13 09:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59930c48012d0a74c0070604100016007a25..."} 
[2026-07-13 09:14:38] local.INFO: Processing buffer {"connection_id":130385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59930c48012d0a74c0070604100016007a25..."} 
[2026-07-13 09:14:38] local.INFO: Packet analysis {"connection_id":130385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5993"} 
[2026-07-13 09:14:38] local.INFO: Extracted packet for processing {"connection_id":130385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5993"} 
[2026-07-13 09:14:38] local.INFO: GPS Element Parsed {"raw_longitude":755659968,"raw_latitude":117834768,"longitude_deg":75.5659968,"latitude_deg":11.7834768,"altitude":22,"angle":122,"satellites":37,"speed":0,"hex_longitude":"2d0a74c0","hex_latitude":"07060410","is_valid_coordinates":true} 
[2026-07-13 09:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682039296001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24188061810163712,"note":"Value kept but may cause issues"} 
[2026-07-13 09:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753438174075949056,"note":"Value kept but may cause issues"} 
[2026-07-13 09:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783914237000,"timestamp_ms":1783914237000,"timestamp_seconds":1783914237,"priority":1,"record_length":96,"hex_timestamp":"0000019f59930c48"} 
[2026-07-13 09:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-13 09:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":130385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":130385,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":130385,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682039296001,"66":14439,"153":206,"94":10240,"24":0,"16":24188061810163712,"45":753438174075949056},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-13 09:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682039296001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:14:38] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-13 09:14:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24188061810163712,"km_value":24188061810163.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":753438174075949056,"description":"Unknown IO ID 45"} 
[2026-07-13 09:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682039296001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753438174075949056}} 
[2026-07-13 09:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":130385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479298,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:14:38] local.INFO: GPS data processed {"connection_id":130385,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:14:38] local.INFO: Acknowledgment sent {"connection_id":130385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:14:40] local.INFO: TCP Data received {"connection_id":132499,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:14:40] local.INFO: Processing buffer {"connection_id":132499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:14:40] local.INFO: IMEI packet received {"connection_id":132499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":132499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:14:41] local.INFO: TCP Data received {"connection_id":132499,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f59917220012d7f914005afd9380008011b23..."} 
[2026-07-13 09:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59917220012d7f914005afd9380008011b23..."} 
[2026-07-13 09:14:41] local.INFO: Processing buffer {"connection_id":132499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59917220012d7f914005afd9380008011b23..."} 
[2026-07-13 09:14:41] local.INFO: Packet analysis {"connection_id":132499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5991"} 
[2026-07-13 09:14:41] local.INFO: Extracted packet for processing {"connection_id":132499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5991"} 
[2026-07-13 09:14:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681940736001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783914132000,"timestamp_ms":1783914132000,"timestamp_seconds":1783914132,"priority":1,"record_length":96,"hex_timestamp":"0000019f59917220"} 
[2026-07-13 09:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 09:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681940736001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681940736001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:14:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:14:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681940736001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":132499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:14:41] local.INFO: GPS data processed {"connection_id":132499,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:14:41] local.INFO: Acknowledgment sent {"connection_id":132499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:14:43] local.INFO: TCP Data received {"connection_id":130177,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:14:43] local.INFO: Processing buffer {"connection_id":130177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:14:43] local.INFO: IMEI packet received {"connection_id":130177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":130177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:14:48] local.INFO: TCP Data received {"connection_id":130177,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130177,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:14:48] local.INFO: Processing buffer {"connection_id":130177,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:14:48] local.INFO: IMEI packet received {"connection_id":130177,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":130177,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:14:49] local.INFO: TCP Data received {"connection_id":130177,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59935a68012d7d0ec005e8f2b8000800b62c..."} 
[2026-07-13 09:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59935a68012d7d0ec005e8f2b8000800b62c..."} 
[2026-07-13 09:14:49] local.INFO: Processing buffer {"connection_id":130177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59935a68012d7d0ec005e8f2b8000800b62c..."} 
[2026-07-13 09:14:49] local.INFO: Packet analysis {"connection_id":130177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5993"} 
[2026-07-13 09:14:49] local.INFO: Extracted packet for processing {"connection_id":130177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5993"} 
[2026-07-13 09:14:49] local.INFO: GPS Element Parsed {"raw_longitude":763170496,"raw_latitude":99152568,"longitude_deg":76.3170496,"latitude_deg":9.9152568,"altitude":8,"angle":182,"satellites":44,"speed":63,"hex_longitude":"2d7d0ec0","hex_latitude":"05e8f2b8","is_valid_coordinates":true} 
[2026-07-13 09:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682048256001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105698080002670592,"note":"Value kept but may cause issues"} 
[2026-07-13 09:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011843617242232832,"note":"Value kept but may cause issues"} 
[2026-07-13 09:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783914257000,"timestamp_ms":1783914257000,"timestamp_seconds":1783914257,"priority":1,"record_length":96,"hex_timestamp":"0000019f59935a68"} 
[2026-07-13 09:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:14: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-07-13 09:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-13 09:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682048256001,"66":13254,"192":206,"87":13824,"24":63,"16":105698080002670592,"45":9011843617242232832},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-13 09:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682048256001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:14:49] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-13 09:14:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105698080002670592,"km_value":105698080002670.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011843617242232832,"description":"Unknown IO ID 45"} 
[2026-07-13 09:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682048256001,"power":13254,"unknown_192":206,"unknown_87":13824,"ignition":63,"odometer":null,"unknown_45":9011843617242232832}} 
[2026-07-13 09:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":130177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479300,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:14:49] local.INFO: GPS data processed {"connection_id":130177,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:14:49] local.INFO: Acknowledgment sent {"connection_id":130177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:15:09] local.INFO: TCP Data received {"connection_id":130385,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59933740012d0a74c007060378001600f825..."} 
[2026-07-13 09:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59933740012d0a74c007060378001600f825..."} 
[2026-07-13 09:15:09] local.INFO: Processing buffer {"connection_id":130385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59933740012d0a74c007060378001600f825..."} 
[2026-07-13 09:15:09] local.INFO: Packet analysis {"connection_id":130385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5993"} 
[2026-07-13 09:15:09] local.INFO: Extracted packet for processing {"connection_id":130385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5993"} 
[2026-07-13 09:15:09] local.INFO: GPS Element Parsed {"raw_longitude":755659968,"raw_latitude":117834616,"longitude_deg":75.5659968,"latitude_deg":11.7834616,"altitude":22,"angle":248,"satellites":37,"speed":2,"hex_longitude":"2d0a74c0","hex_latitude":"07060378","is_valid_coordinates":true} 
[2026-07-13 09:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682044672001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24188070400098304,"note":"Value kept but may cause issues"} 
[2026-07-13 09:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753438174075949056,"note":"Value kept but may cause issues"} 
[2026-07-13 09:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783914248000,"timestamp_ms":1783914248000,"timestamp_seconds":1783914248,"priority":1,"record_length":96,"hex_timestamp":"0000019f59933740"} 
[2026-07-13 09:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 09:15: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-07-13 09:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130385,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130385,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682044672001,"66":14439,"153":206,"94":10240,"24":2,"16":24188070400098304,"45":753438174075949056},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-13 09:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682044672001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:15:09] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-13 09:15:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24188070400098304,"km_value":24188070400098.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":753438174075949056,"description":"Unknown IO ID 45"} 
[2026-07-13 09:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682044672001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":753438174075949056}} 
[2026-07-13 09:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":130385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479301,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:15:09] local.INFO: GPS data processed {"connection_id":130385,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:15:09] local.INFO: Acknowledgment sent {"connection_id":130385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:15:13] local.INFO: TCP Data received {"connection_id":132499,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f59917220012d7f914005afd9380008011b23..."} 
[2026-07-13 09:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59917220012d7f914005afd9380008011b23..."} 
[2026-07-13 09:15:13] local.INFO: Processing buffer {"connection_id":132499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59917220012d7f914005afd9380008011b23..."} 
[2026-07-13 09:15:13] local.INFO: Packet analysis {"connection_id":132499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5991"} 
[2026-07-13 09:15:13] local.INFO: Extracted packet for processing {"connection_id":132499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5991"} 
[2026-07-13 09:15:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681940736001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783914132000,"timestamp_ms":1783914132000,"timestamp_seconds":1783914132,"priority":1,"record_length":96,"hex_timestamp":"0000019f59917220"} 
[2026-07-13 09:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 09:15:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681940736001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681940736001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:15:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:15:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681940736001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":132499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:15:13] local.INFO: GPS data processed {"connection_id":132499,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:15:13] local.INFO: Acknowledgment sent {"connection_id":132499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:15:21] local.INFO: TCP Data received {"connection_id":130177,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f599371d8012d7d0c8005e8cfe0000800b72c..."} 
[2026-07-13 09:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599371d8012d7d0c8005e8cfe0000800b72c..."} 
[2026-07-13 09:15:21] local.INFO: Processing buffer {"connection_id":130177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599371d8012d7d0c8005e8cfe0000800b72c..."} 
[2026-07-13 09:15:21] local.INFO: Packet analysis {"connection_id":130177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5993"} 
[2026-07-13 09:15:21] local.INFO: Extracted packet for processing {"connection_id":130177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5993"} 
[2026-07-13 09:15:21] local.INFO: GPS Element Parsed {"raw_longitude":763169920,"raw_latitude":99143648,"longitude_deg":76.316992,"latitude_deg":9.9143648,"altitude":8,"angle":183,"satellites":44,"speed":55,"hex_longitude":"2d7d0c80","hex_latitude":"05e8cfe0","is_valid_coordinates":true} 
[2026-07-13 09:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682049792001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105698513794367488,"note":"Value kept but may cause issues"} 
[2026-07-13 09:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011351036030531584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783914263000,"timestamp_ms":1783914263000,"timestamp_seconds":1783914263,"priority":1,"record_length":96,"hex_timestamp":"0000019f599371d8"} 
[2026-07-13 09:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-13 09:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":130177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":130177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":130177,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682049792001,"66":13287,"154":206,"87":13824,"24":55,"16":105698513794367488,"45":9011351036030531584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-07-13 09:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682049792001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:15:21] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-13 09:15:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105698513794367488,"km_value":105698513794367.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011351036030531584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682049792001,"power":13287,"unknown_154":206,"unknown_87":13824,"ignition":55,"odometer":null,"unknown_45":9011351036030531584}} 
[2026-07-13 09:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":130177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:15:21] local.INFO: GPS data processed {"connection_id":130177,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:15:21] local.INFO: Acknowledgment sent {"connection_id":130177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:15:27] local.INFO: TCP Data received {"connection_id":132500,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132500,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:15:27] local.INFO: Processing buffer {"connection_id":132500,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:15:27] local.INFO: IMEI packet received {"connection_id":132500,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":132500,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:15:33] local.INFO: TCP Data received {"connection_id":132500,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132500,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:15:33] local.INFO: Processing buffer {"connection_id":132500,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:15:33] local.INFO: IMEI packet received {"connection_id":132500,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":132500,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:15:33] local.INFO: TCP Data received {"connection_id":132500,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59933b28012d0a744007060348001600ed24..."} 
[2026-07-13 09:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59933b28012d0a744007060348001600ed24..."} 
[2026-07-13 09:15:33] local.INFO: Processing buffer {"connection_id":132500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59933b28012d0a744007060348001600ed24..."} 
[2026-07-13 09:15:33] local.INFO: Packet analysis {"connection_id":132500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5993"} 
[2026-07-13 09:15:33] local.INFO: Extracted packet for processing {"connection_id":132500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5993"} 
[2026-07-13 09:15:33] local.INFO: GPS Element Parsed {"raw_longitude":755659840,"raw_latitude":117834568,"longitude_deg":75.565984,"latitude_deg":11.7834568,"altitude":22,"angle":237,"satellites":36,"speed":2,"hex_longitude":"2d0a7440","hex_latitude":"07060348","is_valid_coordinates":true} 
[2026-07-13 09:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682047488001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24188074695065600,"note":"Value kept but may cause issues"} 
[2026-07-13 09:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753438174075910144,"note":"Value kept but may cause issues"} 
[2026-07-13 09:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783914249000,"timestamp_ms":1783914249000,"timestamp_seconds":1783914249,"priority":1,"record_length":96,"hex_timestamp":"0000019f59933b28"} 
[2026-07-13 09:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 09:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":132500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":132500,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":132500,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682047488001,"66":14439,"153":206,"94":10240,"24":2,"16":24188074695065600,"45":753438174075910144},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-13 09:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682047488001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:15:33] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-13 09:15:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24188074695065600,"km_value":24188074695065.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":753438174075910144,"description":"Unknown IO ID 45"} 
[2026-07-13 09:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682047488001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":753438174075910144}} 
[2026-07-13 09:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":132500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479304,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:15:33] local.INFO: GPS data processed {"connection_id":132500,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:15:33] local.INFO: Acknowledgment sent {"connection_id":132500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:15:40] local.INFO: TCP Data received {"connection_id":130178,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:15:40] local.INFO: Processing buffer {"connection_id":130178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:15:40] local.INFO: IMEI packet received {"connection_id":130178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":130178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:15:44] local.INFO: TCP Data received {"connection_id":130180,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130180,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:15:44] local.INFO: Processing buffer {"connection_id":130180,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:15:44] local.INFO: IMEI packet received {"connection_id":130180,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":130180,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:15:45] local.INFO: TCP Data received {"connection_id":130178,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:15:45] local.INFO: Processing buffer {"connection_id":130178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:15:45] local.INFO: IMEI packet received {"connection_id":130178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":130178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:15:46] local.INFO: TCP Data received {"connection_id":130178,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f59917220012d7f914005afd9380008011b23..."} 
[2026-07-13 09:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59917220012d7f914005afd9380008011b23..."} 
[2026-07-13 09:15:46] local.INFO: Processing buffer {"connection_id":130178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59917220012d7f914005afd9380008011b23..."} 
[2026-07-13 09:15:46] local.INFO: Packet analysis {"connection_id":130178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5991"} 
[2026-07-13 09:15:46] local.INFO: Extracted packet for processing {"connection_id":130178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5991"} 
[2026-07-13 09:15:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681940736001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783914132000,"timestamp_ms":1783914132000,"timestamp_seconds":1783914132,"priority":1,"record_length":96,"hex_timestamp":"0000019f59917220"} 
[2026-07-13 09:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 09:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681940736001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681940736001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:15:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:15:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681940736001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":130178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:15:46] local.INFO: GPS data processed {"connection_id":130178,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:15:46] local.INFO: Acknowledgment sent {"connection_id":130178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:15:48] local.INFO: TCP Data received {"connection_id":130180,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130180,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:15:48] local.INFO: Processing buffer {"connection_id":130180,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:15:48] local.INFO: IMEI packet received {"connection_id":130180,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":130180,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:15:51] local.INFO: TCP Data received {"connection_id":130178,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f59917220012d7f914005afd9380008011b23..."} 
[2026-07-13 09:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59917220012d7f914005afd9380008011b23..."} 
[2026-07-13 09:15:51] local.INFO: Processing buffer {"connection_id":130178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59917220012d7f914005afd9380008011b23..."} 
[2026-07-13 09:15:51] local.INFO: Packet analysis {"connection_id":130178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5991"} 
[2026-07-13 09:15:51] local.INFO: Extracted packet for processing {"connection_id":130178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5991"} 
[2026-07-13 09:15:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681940736001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783914132000,"timestamp_ms":1783914132000,"timestamp_seconds":1783914132,"priority":1,"record_length":96,"hex_timestamp":"0000019f59917220"} 
[2026-07-13 09:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09: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":135,"data_length":795,"current_offset":136} 
[2026-07-13 09:15: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-07-13 09:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:15: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-07-13 09:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681940736001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681940736001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:15:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:15:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681940736001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":130178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:15:51] local.INFO: GPS data processed {"connection_id":130178,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:15:51] local.INFO: Acknowledgment sent {"connection_id":130178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:15:53] local.INFO: TCP Data received {"connection_id":130180,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130180,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:15:53] local.INFO: Processing buffer {"connection_id":130180,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:15:53] local.INFO: IMEI packet received {"connection_id":130180,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":130180,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:15:54] local.INFO: TCP Data received {"connection_id":130180,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59938d30012d7d0ac005e8ab90000700b62b..."} 
[2026-07-13 09:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59938d30012d7d0ac005e8ab90000700b62b..."} 
[2026-07-13 09:15:54] local.INFO: Processing buffer {"connection_id":130180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59938d30012d7d0ac005e8ab90000700b62b..."} 
[2026-07-13 09:15:54] local.INFO: Packet analysis {"connection_id":130180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5993"} 
[2026-07-13 09:15:54] local.INFO: Extracted packet for processing {"connection_id":130180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5993"} 
[2026-07-13 09:15:54] local.INFO: GPS Element Parsed {"raw_longitude":763169472,"raw_latitude":99134352,"longitude_deg":76.3169472,"latitude_deg":9.9134352,"altitude":7,"angle":182,"satellites":43,"speed":51,"hex_longitude":"2d7d0ac0","hex_latitude":"05e8ab90","is_valid_coordinates":true} 
[2026-07-13 09:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682051328001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105698964765933568,"note":"Value kept but may cause issues"} 
[2026-07-13 09:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010717717330649088,"note":"Value kept but may cause issues"} 
[2026-07-13 09:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783914270000,"timestamp_ms":1783914270000,"timestamp_seconds":1783914270,"priority":1,"record_length":96,"hex_timestamp":"0000019f59938d30"} 
[2026-07-13 09:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-07-13 09:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682051328001,"66":13243,"154":206,"87":13824,"24":51,"16":105698964765933568,"45":9010717717330649088},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-07-13 09:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682051328001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:15:54] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-13 09:15:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105698964765933568,"km_value":105698964765933.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010717717330649088,"description":"Unknown IO ID 45"} 
[2026-07-13 09:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682051328001,"power":13243,"unknown_154":206,"unknown_87":13824,"ignition":51,"odometer":null,"unknown_45":9010717717330649088}} 
[2026-07-13 09:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":130180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479307,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:15:54] local.INFO: GPS data processed {"connection_id":130180,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:15:54] local.INFO: Acknowledgment sent {"connection_id":130180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:15:55] local.INFO: TCP Data received {"connection_id":130180,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5993b058012d7d090005e88620000700b82e..."} 
[2026-07-13 09:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5993b058012d7d090005e88620000700b82e..."} 
[2026-07-13 09:15:55] local.INFO: Processing buffer {"connection_id":130180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5993b058012d7d090005e88620000700b82e..."} 
[2026-07-13 09:15:55] local.INFO: Packet analysis {"connection_id":130180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5993"} 
[2026-07-13 09:15:55] local.INFO: Extracted packet for processing {"connection_id":130180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5993"} 
[2026-07-13 09:15:55] local.INFO: GPS Element Parsed {"raw_longitude":763169024,"raw_latitude":99124768,"longitude_deg":76.3169024,"latitude_deg":9.9124768,"altitude":7,"angle":184,"satellites":46,"speed":31,"hex_longitude":"2d7d0900","hex_latitude":"05e88620","is_valid_coordinates":true} 
[2026-07-13 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-07-13 09:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682053120001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105699428622401536,"note":"Value kept but may cause issues"} 
[2026-07-13 09:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010225136119025664,"note":"Value kept but may cause issues"} 
[2026-07-13 09:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783914279000,"timestamp_ms":1783914279000,"timestamp_seconds":1783914279,"priority":1,"record_length":96,"hex_timestamp":"0000019f5993b058"} 
[2026-07-13 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-07-13 09:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 09:15: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-07-13 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-07-13 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-07-13 09:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682053120001,"66":13091,"154":206,"87":13824,"24":31,"16":105699428622401536,"45":9010225136119025664},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-07-13 09:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682053120001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:15:55] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-13 09:15:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105699428622401536,"km_value":105699428622401.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010225136119025664,"description":"Unknown IO ID 45"} 
[2026-07-13 09:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682053120001,"power":13091,"unknown_154":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":9010225136119025664}} 
[2026-07-13 09:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":130180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479308,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:15:55] local.INFO: GPS data processed {"connection_id":130180,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:15:55] local.INFO: Acknowledgment sent {"connection_id":130180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:16:04] local.INFO: TCP Data received {"connection_id":132500,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5994b9f8012d0a82400705a948001500c824..."} 
[2026-07-13 09:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5994b9f8012d0a82400705a948001500c824..."} 
[2026-07-13 09:16:05] local.INFO: Processing buffer {"connection_id":132500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5994b9f8012d0a82400705a948001500c824..."} 
[2026-07-13 09:16:05] local.INFO: Packet analysis {"connection_id":132500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5994"} 
[2026-07-13 09:16:05] local.INFO: Extracted packet for processing {"connection_id":132500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5994"} 
[2026-07-13 09:16:05] local.INFO: GPS Element Parsed {"raw_longitude":755663424,"raw_latitude":117811528,"longitude_deg":75.5663424,"latitude_deg":11.7811528,"altitude":21,"angle":200,"satellites":36,"speed":7,"hex_longitude":"2d0a8240","hex_latitude":"0705a948","is_valid_coordinates":true} 
[2026-07-13 09:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682072576001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24189285875843072,"note":"Value kept but may cause issues"} 
[2026-07-13 09:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757378823743995904,"note":"Value kept but may cause issues"} 
[2026-07-13 09:16: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-07-13 09:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783914347000,"timestamp_ms":1783914347000,"timestamp_seconds":1783914347,"priority":1,"record_length":96,"hex_timestamp":"0000019f5994b9f8"} 
[2026-07-13 09:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-13 09:16: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-07-13 09:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132500,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132500,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682072576001,"66":14450,"153":206,"94":10240,"24":7,"16":24189285875843072,"45":757378823743995904},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-13 09:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682072576001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:16:05] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-13 09:16:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24189285875843072,"km_value":24189285875843.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":757378823743995904,"description":"Unknown IO ID 45"} 
[2026-07-13 09:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682072576001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":757378823743995904}} 
[2026-07-13 09:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":132500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479309,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:16:05] local.INFO: GPS data processed {"connection_id":132500,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:16:05] local.INFO: Acknowledgment sent {"connection_id":132500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:16:26] local.INFO: TCP Data received {"connection_id":130180,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5993db50012d7d05c005e86340000800b62e..."} 
[2026-07-13 09:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5993db50012d7d05c005e86340000800b62e..."} 
[2026-07-13 09:16:26] local.INFO: Processing buffer {"connection_id":130180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5993db50012d7d05c005e86340000800b62e..."} 
[2026-07-13 09:16:26] local.INFO: Packet analysis {"connection_id":130180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5993"} 
[2026-07-13 09:16:26] local.INFO: Extracted packet for processing {"connection_id":130180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5993"} 
[2026-07-13 09:16:26] local.INFO: GPS Element Parsed {"raw_longitude":763168192,"raw_latitude":99115840,"longitude_deg":76.3168192,"latitude_deg":9.911584,"altitude":8,"angle":182,"satellites":46,"speed":40,"hex_longitude":"2d7d05c0","hex_latitude":"05e86340","is_valid_coordinates":true} 
[2026-07-13 09:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682055424001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105699862414098432,"note":"Value kept but may cause issues"} 
[2026-07-13 09:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009732554907328512,"note":"Value kept but may cause issues"} 
[2026-07-13 09:16:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783914290000,"timestamp_ms":1783914290000,"timestamp_seconds":1783914290,"priority":1,"record_length":96,"hex_timestamp":"0000019f5993db50"} 
[2026-07-13 09:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-13 09:16:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:16:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":130180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":130180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":130180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682055424001,"66":13222,"155":206,"87":13824,"24":40,"16":105699862414098432,"45":9009732554907328512},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-13 09:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682055424001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:16:26] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 09:16:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105699862414098432,"km_value":105699862414098.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009732554907328512,"description":"Unknown IO ID 45"} 
[2026-07-13 09:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682055424001,"power":13222,"unknown_155":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":9009732554907328512}} 
[2026-07-13 09:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":130180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:16:26] local.INFO: GPS data processed {"connection_id":130180,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:16:26] local.INFO: Acknowledgment sent {"connection_id":130180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:16:29] local.INFO: TCP Data received {"connection_id":132501,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132501,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:16:29] local.INFO: Processing buffer {"connection_id":132501,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:16:29] local.INFO: IMEI packet received {"connection_id":132501,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":132501,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:16:30] local.INFO: TCP Data received {"connection_id":132501,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132501,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:16:30] local.INFO: Processing buffer {"connection_id":132501,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:16:30] local.INFO: IMEI packet received {"connection_id":132501,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":132501,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:16:33] local.INFO: TCP Data received {"connection_id":132501,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132501,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:16:33] local.INFO: Processing buffer {"connection_id":132501,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:16:33] local.INFO: IMEI packet received {"connection_id":132501,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":132501,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:16:35] local.INFO: TCP Data received {"connection_id":132502,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:16:35] local.INFO: Processing buffer {"connection_id":132502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:16:35] local.INFO: IMEI packet received {"connection_id":132502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":132502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:16:38] local.INFO: TCP Data received {"connection_id":132501,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132501,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:16:38] local.INFO: Processing buffer {"connection_id":132501,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:16:38] local.INFO: IMEI packet received {"connection_id":132501,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":132501,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:16:38] local.INFO: TCP Data received {"connection_id":132501,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5994d168012d0a81400705a768001400e725..."} 
[2026-07-13 09:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5994d168012d0a81400705a768001400e725..."} 
[2026-07-13 09:16:38] local.INFO: Processing buffer {"connection_id":132501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5994d168012d0a81400705a768001400e725..."} 
[2026-07-13 09:16:38] local.INFO: Packet analysis {"connection_id":132501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5994"} 
[2026-07-13 09:16:38] local.INFO: Extracted packet for processing {"connection_id":132501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5994"} 
[2026-07-13 09:16:38] local.INFO: GPS Element Parsed {"raw_longitude":755663168,"raw_latitude":117811048,"longitude_deg":75.5663168,"latitude_deg":11.7811048,"altitude":20,"angle":231,"satellites":37,"speed":6,"hex_longitude":"2d0a8140","hex_latitude":"0705a768","is_valid_coordinates":true} 
[2026-07-13 09:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682072832001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24189315940614144,"note":"Value kept but may cause issues"} 
[2026-07-13 09:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757238086255593472,"note":"Value kept but may cause issues"} 
[2026-07-13 09:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783914353000,"timestamp_ms":1783914353000,"timestamp_seconds":1783914353,"priority":1,"record_length":96,"hex_timestamp":"0000019f5994d168"} 
[2026-07-13 09:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-13 09:16: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-07-13 09:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132501,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132501,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682072832001,"66":14374,"153":206,"94":10240,"24":6,"16":24189315940614144,"45":757238086255593472},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-13 09:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682072832001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:16:38] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-13 09:16:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24189315940614144,"km_value":24189315940614.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":757238086255593472,"description":"Unknown IO ID 45"} 
[2026-07-13 09:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682072832001,"power":14374,"unknown_153":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":757238086255593472}} 
[2026-07-13 09:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":132501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479311,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:16:39] local.INFO: GPS data processed {"connection_id":132501,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:16:39] local.INFO: Acknowledgment sent {"connection_id":132501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:16:40] local.INFO: TCP Data received {"connection_id":132502,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:16:40] local.INFO: Processing buffer {"connection_id":132502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:16:40] local.INFO: IMEI packet received {"connection_id":132502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":132502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:16:41] local.INFO: TCP Data received {"connection_id":132502,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59917220012d7f914005afd9380008011b23..."} 
[2026-07-13 09:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59917220012d7f914005afd9380008011b23..."} 
[2026-07-13 09:16:41] local.INFO: Processing buffer {"connection_id":132502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59917220012d7f914005afd9380008011b23..."} 
[2026-07-13 09:16:41] local.INFO: Packet analysis {"connection_id":132502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5991"} 
[2026-07-13 09:16:41] local.INFO: Extracted packet for processing {"connection_id":132502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5991"} 
[2026-07-13 09:16:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681940736001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783914132000,"timestamp_ms":1783914132000,"timestamp_seconds":1783914132,"priority":1,"record_length":96,"hex_timestamp":"0000019f59917220"} 
[2026-07-13 09:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 09:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681940736001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681940736001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:16:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:16:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681940736001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":132502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:16:41] local.INFO: GPS data processed {"connection_id":132502,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:16:41] local.INFO: Acknowledgment sent {"connection_id":132502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:16:43] local.INFO: TCP Data received {"connection_id":130181,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:16:43] local.INFO: Processing buffer {"connection_id":130181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:16:43] local.INFO: IMEI packet received {"connection_id":130181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":130181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:16:44] local.INFO: TCP Data received {"connection_id":130181,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:16:44] local.INFO: Processing buffer {"connection_id":130181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:16:44] local.INFO: IMEI packet received {"connection_id":130181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":130181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:16:44] local.INFO: TCP Data received {"connection_id":132501,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5994d550012d0a80800705a6c8001400db24..."} 
[2026-07-13 09:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5994d550012d0a80800705a6c8001400db24..."} 
[2026-07-13 09:16:44] local.INFO: Processing buffer {"connection_id":132501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5994d550012d0a80800705a6c8001400db24..."} 
[2026-07-13 09:16:44] local.INFO: Packet analysis {"connection_id":132501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5994"} 
[2026-07-13 09:16:44] local.INFO: Extracted packet for processing {"connection_id":132501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5994"} 
[2026-07-13 09:16:44] local.INFO: GPS Element Parsed {"raw_longitude":755662976,"raw_latitude":117810888,"longitude_deg":75.5662976,"latitude_deg":11.7810888,"altitude":20,"angle":219,"satellites":36,"speed":9,"hex_longitude":"2d0a8080","hex_latitude":"0705a6c8","is_valid_coordinates":true} 
[2026-07-13 09:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682074368001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24189328825516032,"note":"Value kept but may cause issues"} 
[2026-07-13 09:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756956611278759936,"note":"Value kept but may cause issues"} 
[2026-07-13 09:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783914354000,"timestamp_ms":1783914354000,"timestamp_seconds":1783914354,"priority":1,"record_length":96,"hex_timestamp":"0000019f5994d550"} 
[2026-07-13 09:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-13 09:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132501,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132501,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682074368001,"66":14494,"153":206,"94":10240,"24":9,"16":24189328825516032,"45":756956611278759936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-13 09:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682074368001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:16:44] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-13 09:16:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24189328825516032,"km_value":24189328825516.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":756956611278759936,"description":"Unknown IO ID 45"} 
[2026-07-13 09:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682074368001,"power":14494,"unknown_153":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":756956611278759936}} 
[2026-07-13 09:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":132501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479313,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:16:44] local.INFO: GPS data processed {"connection_id":132501,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:16:44] local.INFO: Acknowledgment sent {"connection_id":132501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:16:48] local.INFO: TCP Data received {"connection_id":130181,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:16:48] local.INFO: Processing buffer {"connection_id":130181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:16:48] local.INFO: IMEI packet received {"connection_id":130181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":130181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:16:49] local.INFO: TCP Data received {"connection_id":130181,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59957190012d7cb98005e6d890000900c22f..."} 
[2026-07-13 09:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59957190012d7cb98005e6d890000900c22f..."} 
[2026-07-13 09:16:49] local.INFO: Processing buffer {"connection_id":130181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59957190012d7cb98005e6d890000900c22f..."} 
[2026-07-13 09:16:49] local.INFO: Packet analysis {"connection_id":130181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5995"} 
[2026-07-13 09:16:49] local.INFO: Extracted packet for processing {"connection_id":130181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5995"} 
[2026-07-13 09:16:49] local.INFO: GPS Element Parsed {"raw_longitude":763148672,"raw_latitude":99014800,"longitude_deg":76.3148672,"latitude_deg":9.90148,"altitude":9,"angle":194,"satellites":47,"speed":42,"hex_longitude":"2d7cb980","hex_latitude":"05e6d890","is_valid_coordinates":true} 
[2026-07-13 09:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682082816001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105704861756030976,"note":"Value kept but may cause issues"} 
[2026-07-13 09:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8989677462790754304,"note":"Value kept but may cause issues"} 
[2026-07-13 09:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783914394000,"timestamp_ms":1783914394000,"timestamp_seconds":1783914394,"priority":1,"record_length":96,"hex_timestamp":"0000019f59957190"} 
[2026-07-13 09:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-13 09:16: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-07-13 09:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682082816001,"66":12765,"31":206,"87":13824,"24":42,"16":105704861756030976,"45":8989677462790754304},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-07-13 09:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682082816001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:16:49] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-13 09:16:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105704861756030976,"km_value":105704861756030.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8989677462790754304,"description":"Unknown IO ID 45"} 
[2026-07-13 09:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682082816001,"power":12765,"unknown_31":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":8989677462790754304}} 
[2026-07-13 09:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":130181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:16:49] local.INFO: GPS data processed {"connection_id":130181,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:16:49] local.INFO: Acknowledgment sent {"connection_id":130181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:16:50] local.INFO: TCP Data received {"connection_id":130181,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f599594b8012d7cb3c005e6b890000800b02e..."} 
[2026-07-13 09:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599594b8012d7cb3c005e6b890000800b02e..."} 
[2026-07-13 09:16:50] local.INFO: Processing buffer {"connection_id":130181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599594b8012d7cb3c005e6b890000800b02e..."} 
[2026-07-13 09:16:50] local.INFO: Packet analysis {"connection_id":130181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5995"} 
[2026-07-13 09:16:50] local.INFO: Extracted packet for processing {"connection_id":130181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5995"} 
[2026-07-13 09:16:50] local.INFO: GPS Element Parsed {"raw_longitude":763147200,"raw_latitude":99006608,"longitude_deg":76.31472,"latitude_deg":9.9006608,"altitude":8,"angle":176,"satellites":46,"speed":23,"hex_longitude":"2d7cb3c0","hex_latitude":"05e6b890","is_valid_coordinates":true} 
[2026-07-13 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-07-13 09:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682084864001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105705231123218432,"note":"Value kept but may cause issues"} 
[2026-07-13 09:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987355294230679552,"note":"Value kept but may cause issues"} 
[2026-07-13 09:16: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-07-13 09:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783914403000,"timestamp_ms":1783914403000,"timestamp_seconds":1783914403,"priority":1,"record_length":96,"hex_timestamp":"0000019f599594b8"} 
[2026-07-13 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-07-13 09:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-13 09:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 09:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682084864001,"66":13276,"31":206,"87":13824,"24":23,"16":105705231123218432,"45":8987355294230679552},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-07-13 09:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682084864001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:16:50] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-13 09:16:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105705231123218432,"km_value":105705231123218.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987355294230679552,"description":"Unknown IO ID 45"} 
[2026-07-13 09:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682084864001,"power":13276,"unknown_31":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8987355294230679552}} 
[2026-07-13 09:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":130181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479315,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:16:50] local.INFO: GPS data processed {"connection_id":130181,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:16:50] local.INFO: Acknowledgment sent {"connection_id":130181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:17:12] local.INFO: TCP Data received {"connection_id":132502,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59917220012d7f914005afd9380008011b23..."} 
[2026-07-13 09:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59917220012d7f914005afd9380008011b23..."} 
[2026-07-13 09:17:12] local.INFO: Processing buffer {"connection_id":132502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59917220012d7f914005afd9380008011b23..."} 
[2026-07-13 09:17:12] local.INFO: Packet analysis {"connection_id":132502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5991"} 
[2026-07-13 09:17:12] local.INFO: Extracted packet for processing {"connection_id":132502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5991"} 
[2026-07-13 09:17:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681940736001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783914132000,"timestamp_ms":1783914132000,"timestamp_seconds":1783914132,"priority":1,"record_length":96,"hex_timestamp":"0000019f59917220"} 
[2026-07-13 09:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 09:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681940736001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681940736001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:17:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:17:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681940736001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":132502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:17:12] local.INFO: GPS data processed {"connection_id":132502,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:17:12] local.INFO: Acknowledgment sent {"connection_id":132502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:17:21] local.INFO: TCP Data received {"connection_id":130181,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5995a070012d7cb38005e6b198000700bf2b..."} 
[2026-07-13 09:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5995a070012d7cb38005e6b198000700bf2b..."} 
[2026-07-13 09:17:21] local.INFO: Processing buffer {"connection_id":130181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5995a070012d7cb38005e6b198000700bf2b..."} 
[2026-07-13 09:17:21] local.INFO: Packet analysis {"connection_id":130181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5995"} 
[2026-07-13 09:17:21] local.INFO: Extracted packet for processing {"connection_id":130181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5995"} 
[2026-07-13 09:17:21] local.INFO: GPS Element Parsed {"raw_longitude":763147136,"raw_latitude":99004824,"longitude_deg":76.3147136,"latitude_deg":9.9004824,"altitude":7,"angle":191,"satellites":43,"speed":25,"hex_longitude":"2d7cb380","hex_latitude":"05e6b198","is_valid_coordinates":true} 
[2026-07-13 09:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682087168001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105705351382302720,"note":"Value kept but may cause issues"} 
[2026-07-13 09:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985736813112496128,"note":"Value kept but may cause issues"} 
[2026-07-13 09:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783914406000,"timestamp_ms":1783914406000,"timestamp_seconds":1783914406,"priority":1,"record_length":96,"hex_timestamp":"0000019f5995a070"} 
[2026-07-13 09:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-13 09:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":130181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":130181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":130181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682087168001,"66":13276,"31":206,"87":13824,"24":25,"16":105705351382302720,"45":8985736813112496128},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-07-13 09:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682087168001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:17:21] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-13 09:17:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105705351382302720,"km_value":105705351382302.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985736813112496128,"description":"Unknown IO ID 45"} 
[2026-07-13 09:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682087168001,"power":13276,"unknown_31":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8985736813112496128}} 
[2026-07-13 09:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":130181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479317,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:17:21] local.INFO: GPS data processed {"connection_id":130181,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:17:21] local.INFO: Acknowledgment sent {"connection_id":130181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:17:24] local.INFO: TCP Data received {"connection_id":131180,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131180,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:17:24] local.INFO: Processing buffer {"connection_id":131180,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:17:24] local.INFO: IMEI packet received {"connection_id":131180,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":131180,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:17:27] local.INFO: TCP Data received {"connection_id":131180,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131180,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:17:27] local.INFO: Processing buffer {"connection_id":131180,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:17:27] local.INFO: IMEI packet received {"connection_id":131180,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":131180,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:17:28] local.INFO: TCP Data received {"connection_id":131180,"ip":"42.106.6.29","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-13 09:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131180,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-13 09:17:28] local.INFO: Processing buffer {"connection_id":131180,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-13 09:17:28] local.INFO: IMEI packet received {"connection_id":131180,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":131180,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:17:35] local.INFO: TCP Data received {"connection_id":130387,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:17:35] local.INFO: Processing buffer {"connection_id":130387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:17:35] local.INFO: IMEI packet received {"connection_id":130387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":130387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:17:40] local.INFO: TCP Data received {"connection_id":130387,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:17:40] local.INFO: Processing buffer {"connection_id":130387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:17:40] local.INFO: IMEI packet received {"connection_id":130387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":130387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:17:41] local.INFO: TCP Data received {"connection_id":130387,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019f59917220012d7f914005afd9380008011b23..."} 
[2026-07-13 09:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59917220012d7f914005afd9380008011b23..."} 
[2026-07-13 09:17:41] local.INFO: Processing buffer {"connection_id":130387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59917220012d7f914005afd9380008011b23..."} 
[2026-07-13 09:17:41] local.INFO: Packet analysis {"connection_id":130387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5991"} 
[2026-07-13 09:17:41] local.INFO: Extracted packet for processing {"connection_id":130387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5991"} 
[2026-07-13 09:17:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456681940736001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783914132000,"timestamp_ms":1783914132000,"timestamp_seconds":1783914132,"priority":1,"record_length":96,"hex_timestamp":"0000019f59917220"} 
[2026-07-13 09:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 09:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456681940736001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456681940736001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:17:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:17:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456681940736001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":130387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:17:41] local.INFO: GPS data processed {"connection_id":130387,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:17:41] local.INFO: Acknowledgment sent {"connection_id":130387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:17:43] local.INFO: TCP Data received {"connection_id":130182,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130182,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:17:43] local.INFO: Processing buffer {"connection_id":130182,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:17:43] local.INFO: IMEI packet received {"connection_id":130182,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":130182,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:17:47] local.INFO: TCP Data received {"connection_id":130182,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130182,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:17:47] local.INFO: Processing buffer {"connection_id":130182,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:17:47] local.INFO: IMEI packet received {"connection_id":130182,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":130182,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:17:47] local.INFO: TCP Data received {"connection_id":130182,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5995c780012d7cac4005e68ce8000800bf2b..."} 
[2026-07-13 09:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5995c780012d7cac4005e68ce8000800bf2b..."} 
[2026-07-13 09:17:47] local.INFO: Processing buffer {"connection_id":130182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5995c780012d7cac4005e68ce8000800bf2b..."} 
[2026-07-13 09:17:47] local.INFO: Packet analysis {"connection_id":130182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5995"} 
[2026-07-13 09:17:47] local.INFO: Extracted packet for processing {"connection_id":130182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5995"} 
[2026-07-13 09:17:47] local.INFO: GPS Element Parsed {"raw_longitude":763145280,"raw_latitude":98995432,"longitude_deg":76.314528,"latitude_deg":9.8995432,"altitude":8,"angle":191,"satellites":43,"speed":46,"hex_longitude":"2d7cac40","hex_latitude":"05e68ce8","is_valid_coordinates":true} 
[2026-07-13 09:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682087936001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105705815238770688,"note":"Value kept but may cause issues"} 
[2026-07-13 09:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985666444367861760,"note":"Value kept but may cause issues"} 
[2026-07-13 09:17: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-07-13 09:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783914416000,"timestamp_ms":1783914416000,"timestamp_seconds":1783914416,"priority":1,"record_length":96,"hex_timestamp":"0000019f5995c780"} 
[2026-07-13 09:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-13 09:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682087936001,"66":13374,"31":206,"87":13824,"24":46,"16":105705815238770688,"45":8985666444367861760},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-07-13 09:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682087936001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:17:47] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-13 09:17:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105705815238770688,"km_value":105705815238770.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985666444367861760,"description":"Unknown IO ID 45"} 
[2026-07-13 09:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682087936001,"power":13374,"unknown_31":206,"unknown_87":13824,"ignition":46,"odometer":null,"unknown_45":8985666444367861760}} 
[2026-07-13 09:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":130182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:17:47] local.INFO: GPS data processed {"connection_id":130182,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:17:47] local.INFO: Acknowledgment sent {"connection_id":130182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:18:12] local.INFO: TCP Data received {"connection_id":130387,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019f599609e8012d7f914005afd9380009011b24..."} 
[2026-07-13 09:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599609e8012d7f914005afd9380009011b24..."} 
[2026-07-13 09:18:12] local.INFO: Processing buffer {"connection_id":130387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599609e8012d7f914005afd9380009011b24..."} 
[2026-07-13 09:18:12] local.INFO: Packet analysis {"connection_id":130387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5996"} 
[2026-07-13 09:18:12] local.INFO: Extracted packet for processing {"connection_id":130387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5996"} 
[2026-07-13 09:18:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":9,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682017792001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783914433000,"timestamp_ms":1783914433000,"timestamp_seconds":1783914433,"priority":1,"record_length":96,"hex_timestamp":"0000019f599609e8"} 
[2026-07-13 09:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 09:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682017792001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682017792001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:18:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:18:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682017792001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":130387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:18:12] local.INFO: GPS data processed {"connection_id":130387,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:18:12] local.INFO: Acknowledgment sent {"connection_id":130387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:18:18] local.INFO: TCP Data received {"connection_id":130182,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5996bd98012d7cad4005e5f9d8000800ad2d..."} 
[2026-07-13 09:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5996bd98012d7cad4005e5f9d8000800ad2d..."} 
[2026-07-13 09:18:18] local.INFO: Processing buffer {"connection_id":130182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5996bd98012d7cad4005e5f9d8000800ad2d..."} 
[2026-07-13 09:18:18] local.INFO: Packet analysis {"connection_id":130182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5996"} 
[2026-07-13 09:18:18] local.INFO: Extracted packet for processing {"connection_id":130182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5996"} 
[2026-07-13 09:18:18] local.INFO: GPS Element Parsed {"raw_longitude":763145536,"raw_latitude":98957784,"longitude_deg":76.3145536,"latitude_deg":9.8957784,"altitude":8,"angle":173,"satellites":45,"speed":10,"hex_longitude":"2d7cad40","hex_latitude":"05e5f9d8","is_valid_coordinates":true} 
[2026-07-13 09:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682104576001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105707735089152000,"note":"Value kept but may cause issues"} 
[2026-07-13 09:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983133169565997056,"note":"Value kept but may cause issues"} 
[2026-07-13 09:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783914479000,"timestamp_ms":1783914479000,"timestamp_seconds":1783914479,"priority":1,"record_length":96,"hex_timestamp":"0000019f5996bd98"} 
[2026-07-13 09:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-13 09:18: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-07-13 09: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-07-13 09:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682104576001,"66":13363,"94":206,"87":13824,"24":10,"16":105707735089152000,"45":8983133169565997056},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,87,24,16,45]} 
[2026-07-13 09:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682104576001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:18:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-13 09:18:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105707735089152000,"km_value":105707735089152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983133169565997056,"description":"Unknown IO ID 45"} 
[2026-07-13 09:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682104576001,"power":13363,"unknown_94":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8983133169565997056}} 
[2026-07-13 09:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":130182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:18:18] local.INFO: GPS data processed {"connection_id":130182,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:18:18] local.INFO: Acknowledgment sent {"connection_id":130182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:18:35] local.INFO: TCP Data received {"connection_id":130183,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:18:35] local.INFO: Processing buffer {"connection_id":130183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:18:35] local.INFO: IMEI packet received {"connection_id":130183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":130183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:18:40] local.INFO: TCP Data received {"connection_id":130183,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:18:40] local.INFO: Processing buffer {"connection_id":130183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:18:40] local.INFO: IMEI packet received {"connection_id":130183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":130183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:18:41] local.INFO: TCP Data received {"connection_id":130183,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f599609e8012d7f914005afd9380009011b24..."} 
[2026-07-13 09:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599609e8012d7f914005afd9380009011b24..."} 
[2026-07-13 09:18:41] local.INFO: Processing buffer {"connection_id":130183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599609e8012d7f914005afd9380009011b24..."} 
[2026-07-13 09:18:41] local.INFO: Packet analysis {"connection_id":130183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5996"} 
[2026-07-13 09:18:41] local.INFO: Extracted packet for processing {"connection_id":130183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5996"} 
[2026-07-13 09:18:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":9,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682017792001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783914433000,"timestamp_ms":1783914433000,"timestamp_seconds":1783914433,"priority":1,"record_length":96,"hex_timestamp":"0000019f599609e8"} 
[2026-07-13 09:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 09:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682017792001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682017792001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:18:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:18:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682017792001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":130183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:18:41] local.INFO: GPS data processed {"connection_id":130183,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:18:41] local.INFO: Acknowledgment sent {"connection_id":130183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:18:43] local.INFO: TCP Data received {"connection_id":130185,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130185,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:18:43] local.INFO: Processing buffer {"connection_id":130185,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:18:43] local.INFO: IMEI packet received {"connection_id":130185,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":130185,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:18:45] local.INFO: TCP Data received {"connection_id":130185,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130185,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:18:45] local.INFO: Processing buffer {"connection_id":130185,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:18:45] local.INFO: IMEI packet received {"connection_id":130185,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":130185,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:18:46] local.INFO: TCP Data received {"connection_id":130185,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5996cd38012d7cad8005e5f5c0000900b92d..."} 
[2026-07-13 09:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5996cd38012d7cad8005e5f5c0000900b92d..."} 
[2026-07-13 09:18:46] local.INFO: Processing buffer {"connection_id":130185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5996cd38012d7cad8005e5f5c0000900b92d..."} 
[2026-07-13 09:18:46] local.INFO: Packet analysis {"connection_id":130185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5996"} 
[2026-07-13 09:18:46] local.INFO: Extracted packet for processing {"connection_id":130185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5996"} 
[2026-07-13 09:18:46] local.INFO: GPS Element Parsed {"raw_longitude":763145600,"raw_latitude":98956736,"longitude_deg":76.31456,"latitude_deg":9.8956736,"altitude":9,"angle":185,"satellites":45,"speed":14,"hex_longitude":"2d7cad80","hex_latitude":"05e5f5c0","is_valid_coordinates":true} 
[2026-07-13 09:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682106624001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105707786628759552,"note":"Value kept but may cause issues"} 
[2026-07-13 09:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983907225751377920,"note":"Value kept but may cause issues"} 
[2026-07-13 09:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783914483000,"timestamp_ms":1783914483000,"timestamp_seconds":1783914483,"priority":1,"record_length":96,"hex_timestamp":"0000019f5996cd38"} 
[2026-07-13 09:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-13 09:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682106624001,"66":13254,"94":206,"87":13824,"24":14,"16":105707786628759552,"45":8983907225751377920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,87,24,16,45]} 
[2026-07-13 09:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682106624001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:18:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-13 09:18:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105707786628759552,"km_value":105707786628759.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983907225751377920,"description":"Unknown IO ID 45"} 
[2026-07-13 09:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682106624001,"power":13254,"unknown_94":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8983907225751377920}} 
[2026-07-13 09:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":130185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479323,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:18:46] local.INFO: GPS data processed {"connection_id":130185,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:18:46] local.INFO: Acknowledgment sent {"connection_id":130185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:18:55] local.INFO: TCP Data received {"connection_id":130184,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130184,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:18:55] local.INFO: Processing buffer {"connection_id":130184,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:18:55] local.INFO: IMEI packet received {"connection_id":130184,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 09:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":130184,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:19:12] local.INFO: TCP Data received {"connection_id":130183,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f599609e8012d7f914005afd9380009011b24..."} 
[2026-07-13 09:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599609e8012d7f914005afd9380009011b24..."} 
[2026-07-13 09:19:12] local.INFO: Processing buffer {"connection_id":130183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599609e8012d7f914005afd9380009011b24..."} 
[2026-07-13 09:19:12] local.INFO: Packet analysis {"connection_id":130183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5996"} 
[2026-07-13 09:19:12] local.INFO: Extracted packet for processing {"connection_id":130183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5996"} 
[2026-07-13 09:19:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":9,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682017792001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783914433000,"timestamp_ms":1783914433000,"timestamp_seconds":1783914433,"priority":1,"record_length":96,"hex_timestamp":"0000019f599609e8"} 
[2026-07-13 09:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 09:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682017792001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682017792001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:19:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:19:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682017792001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":130183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:19:12] local.INFO: GPS data processed {"connection_id":130183,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:19:12] local.INFO: Acknowledgment sent {"connection_id":130183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:19:19] local.INFO: TCP Data received {"connection_id":130185,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5997afc8012d7ccac005e5a090000800a82e..."} 
[2026-07-13 09:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5997afc8012d7ccac005e5a090000800a82e..."} 
[2026-07-13 09:19:19] local.INFO: Processing buffer {"connection_id":130185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5997afc8012d7ccac005e5a090000800a82e..."} 
[2026-07-13 09:19:19] local.INFO: Packet analysis {"connection_id":130185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5997"} 
[2026-07-13 09:19:19] local.INFO: Extracted packet for processing {"connection_id":130185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5997"} 
[2026-07-13 09:19:19] local.INFO: GPS Element Parsed {"raw_longitude":763153088,"raw_latitude":98934928,"longitude_deg":76.3153088,"latitude_deg":9.8934928,"altitude":8,"angle":168,"satellites":46,"speed":26,"hex_longitude":"2d7ccac0","hex_latitude":"05e5a090","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682121984001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105709057939079168,"note":"Value kept but may cause issues"} 
[2026-07-13 09:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8991929262582102016,"note":"Value kept but may cause issues"} 
[2026-07-13 09:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783914541000,"timestamp_ms":1783914541000,"timestamp_seconds":1783914541,"priority":1,"record_length":96,"hex_timestamp":"0000019f5997afc8"} 
[2026-07-13 09:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":105,"data_length":795,"current_offset":136} 
[2026-07-13 09:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09: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-07-13 09:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682121984001,"66":13472,"31":206,"87":13824,"24":26,"16":105709057939079168,"45":8991929262582102016},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-07-13 09:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682121984001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:19:19] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-13 09:19:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105709057939079168,"km_value":105709057939079.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8991929262582102016,"description":"Unknown IO ID 45"} 
[2026-07-13 09:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682121984001,"power":13472,"unknown_31":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8991929262582102016}} 
[2026-07-13 09:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":130185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:19:19] local.INFO: GPS data processed {"connection_id":130185,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:19:19] local.INFO: Acknowledgment sent {"connection_id":130185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:19:35] local.INFO: TCP Data received {"connection_id":131182,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:19:35] local.INFO: Processing buffer {"connection_id":131182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:19:35] local.INFO: IMEI packet received {"connection_id":131182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":131182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:19:40] local.INFO: TCP Data received {"connection_id":130388,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130388,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:19:40] local.INFO: Processing buffer {"connection_id":130388,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:19:40] local.INFO: IMEI packet received {"connection_id":130388,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 09:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":130388,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:19:40] local.INFO: TCP Data received {"connection_id":131182,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:19:40] local.INFO: Processing buffer {"connection_id":131182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:19:40] local.INFO: IMEI packet received {"connection_id":131182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":131182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:19:41] local.INFO: TCP Data received {"connection_id":131182,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f599609e8012d7f914005afd9380009011b24..."} 
[2026-07-13 09:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599609e8012d7f914005afd9380009011b24..."} 
[2026-07-13 09:19:41] local.INFO: Processing buffer {"connection_id":131182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599609e8012d7f914005afd9380009011b24..."} 
[2026-07-13 09:19:41] local.INFO: Packet analysis {"connection_id":131182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5996"} 
[2026-07-13 09:19:41] local.INFO: Extracted packet for processing {"connection_id":131182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5996"} 
[2026-07-13 09:19:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":9,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 09:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682017792001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783914433000,"timestamp_ms":1783914433000,"timestamp_seconds":1783914433,"priority":1,"record_length":96,"hex_timestamp":"0000019f599609e8"} 
[2026-07-13 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-07-13 09:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 09:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 09:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682017792001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682017792001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:19:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:19:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682017792001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":131182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:19:41] local.INFO: GPS data processed {"connection_id":131182,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:19:41] local.INFO: Acknowledgment sent {"connection_id":131182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:19:43] local.INFO: TCP Data received {"connection_id":131183,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:19:43] local.INFO: Processing buffer {"connection_id":131183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:19:43] local.INFO: IMEI packet received {"connection_id":131183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":131183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:19:45] local.INFO: TCP Data received {"connection_id":131183,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:19:45] local.INFO: Processing buffer {"connection_id":131183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:19:45] local.INFO: IMEI packet received {"connection_id":131183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":131183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:19:46] local.INFO: TCP Data received {"connection_id":131183,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:19:46] local.INFO: Processing buffer {"connection_id":131183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:19:46] local.INFO: IMEI packet received {"connection_id":131183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":131183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:19:47] local.INFO: TCP Data received {"connection_id":131183,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:19:47] local.INFO: Processing buffer {"connection_id":131183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:19:47] local.INFO: IMEI packet received {"connection_id":131183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":131183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:19:48] local.INFO: TCP Data received {"connection_id":131183,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5997bf68012d7ccc0005e596d8000800b72c..."} 
[2026-07-13 09:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5997bf68012d7ccc0005e596d8000800b72c..."} 
[2026-07-13 09:19:48] local.INFO: Processing buffer {"connection_id":131183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5997bf68012d7ccc0005e596d8000800b72c..."} 
[2026-07-13 09:19:48] local.INFO: Packet analysis {"connection_id":131183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5997"} 
[2026-07-13 09:19:48] local.INFO: Extracted packet for processing {"connection_id":131183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5997"} 
[2026-07-13 09:19:48] local.INFO: GPS Element Parsed {"raw_longitude":763153408,"raw_latitude":98932440,"longitude_deg":76.3153408,"latitude_deg":9.893244,"altitude":8,"angle":183,"satellites":44,"speed":23,"hex_longitude":"2d7ccc00","hex_latitude":"05e596d8","is_valid_coordinates":true} 
[2026-07-13 09:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682122496001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105709178198163456,"note":"Value kept but may cause issues"} 
[2026-07-13 09:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992210737558491136,"note":"Value kept but may cause issues"} 
[2026-07-13 09:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783914545000,"timestamp_ms":1783914545000,"timestamp_seconds":1783914545,"priority":1,"record_length":96,"hex_timestamp":"0000019f5997bf68"} 
[2026-07-13 09:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-13 09:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":131183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":131183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":131183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682122496001,"66":13243,"31":206,"87":13824,"24":23,"16":105709178198163456,"45":8992210737558491136},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-07-13 09:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682122496001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:19:48] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-13 09:19:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105709178198163456,"km_value":105709178198163.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992210737558491136,"description":"Unknown IO ID 45"} 
[2026-07-13 09:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682122496001,"power":13243,"unknown_31":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8992210737558491136}} 
[2026-07-13 09:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":131183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:19:48] local.INFO: GPS data processed {"connection_id":131183,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:19:48] local.INFO: Acknowledgment sent {"connection_id":131183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:19:49] local.INFO: TCP Data received {"connection_id":131183,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5997cf08012d7ccb8005e58e88000800ab2c..."} 
[2026-07-13 09:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5997cf08012d7ccb8005e58e88000800ab2c..."} 
[2026-07-13 09:19:49] local.INFO: Processing buffer {"connection_id":131183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5997cf08012d7ccb8005e58e88000800ab2c..."} 
[2026-07-13 09:19:49] local.INFO: Packet analysis {"connection_id":131183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5997"} 
[2026-07-13 09:19:49] local.INFO: Extracted packet for processing {"connection_id":131183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5997"} 
[2026-07-13 09:19:49] local.INFO: GPS Element Parsed {"raw_longitude":763153280,"raw_latitude":98930312,"longitude_deg":76.315328,"latitude_deg":9.8930312,"altitude":8,"angle":171,"satellites":44,"speed":23,"hex_longitude":"2d7ccb80","hex_latitude":"05e58e88","is_valid_coordinates":true} 
[2026-07-13 09:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682123520001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105709281277378560,"note":"Value kept but may cause issues"} 
[2026-07-13 09:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992562581278742528,"note":"Value kept but may cause issues"} 
[2026-07-13 09:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783914549000,"timestamp_ms":1783914549000,"timestamp_seconds":1783914549,"priority":1,"record_length":96,"hex_timestamp":"0000019f5997cf08"} 
[2026-07-13 09:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 09:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:19:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682123520001,"66":13472,"31":206,"87":13824,"24":23,"16":105709281277378560,"45":8992562581278742528},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-07-13 09:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682123520001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:19:49] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-13 09:19:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105709281277378560,"km_value":105709281277378.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992562581278742528,"description":"Unknown IO ID 45"} 
[2026-07-13 09:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682123520001,"power":13472,"unknown_31":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8992562581278742528}} 
[2026-07-13 09:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":131183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479328,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:19:49] local.INFO: GPS data processed {"connection_id":131183,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:19:49] local.INFO: Acknowledgment sent {"connection_id":131183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:20:12] local.INFO: TCP Data received {"connection_id":131182,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f599609e8012d7f914005afd9380009011b24..."} 
[2026-07-13 09:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599609e8012d7f914005afd9380009011b24..."} 
[2026-07-13 09:20:12] local.INFO: Processing buffer {"connection_id":131182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599609e8012d7f914005afd9380009011b24..."} 
[2026-07-13 09:20:12] local.INFO: Packet analysis {"connection_id":131182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5996"} 
[2026-07-13 09:20:12] local.INFO: Extracted packet for processing {"connection_id":131182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5996"} 
[2026-07-13 09:20:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":9,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682017792001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783914433000,"timestamp_ms":1783914433000,"timestamp_seconds":1783914433,"priority":1,"record_length":96,"hex_timestamp":"0000019f599609e8"} 
[2026-07-13 09:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 09:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682017792001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682017792001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:20:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:20:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682017792001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":131182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:20:12] local.INFO: GPS data processed {"connection_id":131182,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:20:12] local.INFO: Acknowledgment sent {"connection_id":131182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:20:20] local.INFO: TCP Data received {"connection_id":131183,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59981d28012d7cd28005e570c0000500ad2c..."} 
[2026-07-13 09:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59981d28012d7cd28005e570c0000500ad2c..."} 
[2026-07-13 09:20:20] local.INFO: Processing buffer {"connection_id":131183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59981d28012d7cd28005e570c0000500ad2c..."} 
[2026-07-13 09:20:20] local.INFO: Packet analysis {"connection_id":131183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5998"} 
[2026-07-13 09:20:20] local.INFO: Extracted packet for processing {"connection_id":131183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5998"} 
[2026-07-13 09:20:20] local.INFO: GPS Element Parsed {"raw_longitude":763155072,"raw_latitude":98922688,"longitude_deg":76.3155072,"latitude_deg":9.8922688,"altitude":5,"angle":173,"satellites":44,"speed":19,"hex_longitude":"2d7cd280","hex_latitude":"05e570c0","is_valid_coordinates":true} 
[2026-07-13 09:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682124544001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105709663529467904,"note":"Value kept but may cause issues"} 
[2026-07-13 09:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992421843789842432,"note":"Value kept but may cause issues"} 
[2026-07-13 09:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783914569000,"timestamp_ms":1783914569000,"timestamp_seconds":1783914569,"priority":1,"record_length":96,"hex_timestamp":"0000019f59981d28"} 
[2026-07-13 09:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-13 09:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":131183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":131183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":131183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682124544001,"66":13319,"88":206,"87":13824,"24":19,"16":105709663529467904,"45":8992421843789842432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,87,24,16,45]} 
[2026-07-13 09:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682124544001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:20:20] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-13 09:20:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105709663529467904,"km_value":105709663529467.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992421843789842432,"description":"Unknown IO ID 45"} 
[2026-07-13 09:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682124544001,"power":13319,"unknown_88":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8992421843789842432}} 
[2026-07-13 09:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":131183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:20:20] local.INFO: GPS data processed {"connection_id":131183,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:20:20] local.INFO: Acknowledgment sent {"connection_id":131183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:20:40] local.INFO: TCP Data received {"connection_id":130389,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:20:40] local.INFO: Processing buffer {"connection_id":130389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:20:40] local.INFO: IMEI packet received {"connection_id":130389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":130389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:20:43] local.INFO: TCP Data received {"connection_id":130390,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130390,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:20:43] local.INFO: Processing buffer {"connection_id":130390,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:20:43] local.INFO: IMEI packet received {"connection_id":130390,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":130390,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:20:45] local.INFO: TCP Data received {"connection_id":130390,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130390,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:20:45] local.INFO: Processing buffer {"connection_id":130390,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:20:45] local.INFO: IMEI packet received {"connection_id":130390,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":130390,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:20:45] local.INFO: TCP Data received {"connection_id":130389,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:20:45] local.INFO: Processing buffer {"connection_id":130389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:20:45] local.INFO: IMEI packet received {"connection_id":130389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":130389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:20:46] local.INFO: TCP Data received {"connection_id":130389,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f599609e8012d7f914005afd9380009011b24..."} 
[2026-07-13 09:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599609e8012d7f914005afd9380009011b24..."} 
[2026-07-13 09:20:46] local.INFO: Processing buffer {"connection_id":130389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599609e8012d7f914005afd9380009011b24..."} 
[2026-07-13 09:20:46] local.INFO: Packet analysis {"connection_id":130389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5996"} 
[2026-07-13 09:20:46] local.INFO: Extracted packet for processing {"connection_id":130389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5996"} 
[2026-07-13 09:20:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":9,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682017792001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783914433000,"timestamp_ms":1783914433000,"timestamp_seconds":1783914433,"priority":1,"record_length":96,"hex_timestamp":"0000019f599609e8"} 
[2026-07-13 09:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 09:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682017792001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682017792001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:20:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:20:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682017792001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":130389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:20:46] local.INFO: GPS data processed {"connection_id":130389,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:20:46] local.INFO: Acknowledgment sent {"connection_id":130389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:20:48] local.INFO: TCP Data received {"connection_id":130390,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130390,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:20:48] local.INFO: Processing buffer {"connection_id":130390,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:20:48] local.INFO: IMEI packet received {"connection_id":130390,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":130390,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:20:49] local.INFO: TCP Data received {"connection_id":130390,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59990b70012d7c9a4005e556d00008013b2d..."} 
[2026-07-13 09:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59990b70012d7c9a4005e556d00008013b2d..."} 
[2026-07-13 09:20:49] local.INFO: Processing buffer {"connection_id":130390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59990b70012d7c9a4005e556d00008013b2d..."} 
[2026-07-13 09:20:49] local.INFO: Packet analysis {"connection_id":130390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5999"} 
[2026-07-13 09:20:49] local.INFO: Extracted packet for processing {"connection_id":130390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5999"} 
[2026-07-13 09:20:49] local.INFO: GPS Element Parsed {"raw_longitude":763140672,"raw_latitude":98916048,"longitude_deg":76.3140672,"latitude_deg":9.8916048,"altitude":8,"angle":315,"satellites":45,"speed":13,"hex_longitude":"2d7c9a40","hex_latitude":"05e556d0","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682144256001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105710801695801344,"note":"Value kept but may cause issues"} 
[2026-07-13 09:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979333257368827904,"note":"Value kept but may cause issues"} 
[2026-07-13 09:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783914630000,"timestamp_ms":1783914630000,"timestamp_seconds":1783914630,"priority":1,"record_length":96,"hex_timestamp":"0000019f59990b70"} 
[2026-07-13 09:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-13 09:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09: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-07-13 09:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682144256001,"66":13330,"88":206,"87":13824,"24":13,"16":105710801695801344,"45":8979333257368827904},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,87,24,16,45]} 
[2026-07-13 09:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682144256001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:20:49] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-13 09:20:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105710801695801344,"km_value":105710801695801.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979333257368827904,"description":"Unknown IO ID 45"} 
[2026-07-13 09:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682144256001,"power":13330,"unknown_88":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8979333257368827904}} 
[2026-07-13 09:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":130390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479332,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:20:49] local.INFO: GPS data processed {"connection_id":130390,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:20:49] local.INFO: Acknowledgment sent {"connection_id":130390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:20:51] local.INFO: TCP Data received {"connection_id":130389,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f599609e8012d7f914005afd9380009011b24..."} 
[2026-07-13 09:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599609e8012d7f914005afd9380009011b24..."} 
[2026-07-13 09:20:51] local.INFO: Processing buffer {"connection_id":130389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599609e8012d7f914005afd9380009011b24..."} 
[2026-07-13 09:20:51] local.INFO: Packet analysis {"connection_id":130389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5996"} 
[2026-07-13 09:20:51] local.INFO: Extracted packet for processing {"connection_id":130389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5996"} 
[2026-07-13 09:20:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":9,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 09:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682017792001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783914433000,"timestamp_ms":1783914433000,"timestamp_seconds":1783914433,"priority":1,"record_length":96,"hex_timestamp":"0000019f599609e8"} 
[2026-07-13 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-07-13 09:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 09:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 09:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:20: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-07-13 09:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682017792001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682017792001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:20:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:20:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682017792001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":130389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:20:51] local.INFO: GPS data processed {"connection_id":130389,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:20:51] local.INFO: Acknowledgment sent {"connection_id":130389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:21:21] local.INFO: TCP Data received {"connection_id":130390,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f59990f58012d7c990005e55798000901292d..."} 
[2026-07-13 09:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59990f58012d7c990005e55798000901292d..."} 
[2026-07-13 09:21:21] local.INFO: Processing buffer {"connection_id":130390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59990f58012d7c990005e55798000901292d..."} 
[2026-07-13 09:21:21] local.INFO: Packet analysis {"connection_id":130390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5999"} 
[2026-07-13 09:21:21] local.INFO: Extracted packet for processing {"connection_id":130390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5999"} 
[2026-07-13 09:21:21] local.INFO: GPS Element Parsed {"raw_longitude":763140352,"raw_latitude":98916248,"longitude_deg":76.3140352,"latitude_deg":9.8916248,"altitude":9,"angle":297,"satellites":45,"speed":12,"hex_longitude":"2d7c9900","hex_latitude":"05e55798","is_valid_coordinates":true} 
[2026-07-13 09:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682145280001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105710818875670528,"note":"Value kept but may cause issues"} 
[2026-07-13 09:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978559201183191040,"note":"Value kept but may cause issues"} 
[2026-07-13 09:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783914631000,"timestamp_ms":1783914631000,"timestamp_seconds":1783914631,"priority":1,"record_length":96,"hex_timestamp":"0000019f59990f58"} 
[2026-07-13 09:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:21: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-07-13 09:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-13 09:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-13 09:21:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 09:21:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277728000260789704,"note":"Value kept but may cause issues"} 
[2026-07-13 09:21:21] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2565359617,"note":"Value kept but may cause issues"} 
[2026-07-13 09:21:21] local.WARNING: Large IO value detected {"io_id":229,"raw_value":6039327121795067392,"note":"Value kept but may cause issues"} 
[2026-07-13 09:21:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1398276302,"corrected_to":0} 
[2026-07-13 09:21:21] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2952867196,"note":"Value kept but may cause issues"} 
[2026-07-13 09:21:21] local.WARNING: Large IO value detected {"io_id":165,"raw_value":3221611855,"note":"Value kept but may cause issues"} 
[2026-07-13 09:21:21] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422291,"note":"Value kept but may cause issues"} 
[2026-07-13 09:21:21] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2402811904,"note":"Value kept but may cause issues"} 
[2026-07-13 09:21:21] local.WARNING: Large IO value detected {"io_id":237,"raw_value":57794007661434678,"note":"Value kept but may cause issues"} 
[2026-07-13 09:21:21] local.WARNING: Large IO value detected {"io_id":152,"raw_value":7448955078549979141,"note":"Value kept but may cause issues"} 
[2026-07-13 09:21:21] local.WARNING: Large IO value detected {"io_id":17,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-13 09:21:21] local.WARNING: Large IO value detected {"io_id":83,"raw_value":6341295149301110784,"note":"Value kept but may cause issues"} 
[2026-07-13 09:21:21] local.WARNING: Large IO value detected {"io_id":98,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-13 09:21:21] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,88,87,24,241,157,16,143,159,251,45,81,8,44,10,66,240,64,79,43,236,128,1,7,227,89,229,4,113,205,173,165,239,51,2,119,5,21,237,152,17,83,98],"length":626,"final_offset":756,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1398276302,"validated":0}]} 
[2026-07-13 09:21:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576807291740553216,"timestamp_seconds":576807291740553.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 09:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":130390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":130390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":130390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682145280001,"66":13330,"88":206,"87":13824,"24":12,"16":105710818875670528,"45":8978559201183191040},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,87,24,16,45]} 
[2026-07-13 09:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682145280001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:21:21] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-13 09:21:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105710818875670528,"km_value":105710818875670.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978559201183191040,"description":"Unknown IO ID 45"} 
[2026-07-13 09:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682145280001,"power":13330,"unknown_88":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8978559201183191040}} 
[2026-07-13 09:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":130390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:21:21] local.INFO: GPS data processed {"connection_id":130390,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:21:21] local.INFO: Acknowledgment sent {"connection_id":130390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:21:35] local.INFO: TCP Data received {"connection_id":130391,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:21:35] local.INFO: Processing buffer {"connection_id":130391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:21:35] local.INFO: IMEI packet received {"connection_id":130391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":130391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:21:40] local.INFO: TCP Data received {"connection_id":130391,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:21:40] local.INFO: Processing buffer {"connection_id":130391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:21:40] local.INFO: IMEI packet received {"connection_id":130391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":130391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:21:41] local.INFO: TCP Data received {"connection_id":130391,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f599609e8012d7f914005afd9380009011b24..."} 
[2026-07-13 09:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599609e8012d7f914005afd9380009011b24..."} 
[2026-07-13 09:21:41] local.INFO: Processing buffer {"connection_id":130391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599609e8012d7f914005afd9380009011b24..."} 
[2026-07-13 09:21:41] local.INFO: Packet analysis {"connection_id":130391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5996"} 
[2026-07-13 09:21:41] local.INFO: Extracted packet for processing {"connection_id":130391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5996"} 
[2026-07-13 09:21:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":9,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682017792001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783914433000,"timestamp_ms":1783914433000,"timestamp_seconds":1783914433,"priority":1,"record_length":96,"hex_timestamp":"0000019f599609e8"} 
[2026-07-13 09:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 09:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682017792001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682017792001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:21:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682017792001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":130391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:21:41] local.INFO: GPS data processed {"connection_id":130391,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:21:41] local.INFO: Acknowledgment sent {"connection_id":130391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:22:12] local.INFO: TCP Data received {"connection_id":130391,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f599609e8012d7f914005afd9380009011b24..."} 
[2026-07-13 09:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599609e8012d7f914005afd9380009011b24..."} 
[2026-07-13 09:22:12] local.INFO: Processing buffer {"connection_id":130391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599609e8012d7f914005afd9380009011b24..."} 
[2026-07-13 09:22:12] local.INFO: Packet analysis {"connection_id":130391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5996"} 
[2026-07-13 09:22:12] local.INFO: Extracted packet for processing {"connection_id":130391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5996"} 
[2026-07-13 09:22:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":9,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682017792001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783914433000,"timestamp_ms":1783914433000,"timestamp_seconds":1783914433,"priority":1,"record_length":96,"hex_timestamp":"0000019f599609e8"} 
[2026-07-13 09:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 09:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682017792001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682017792001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:22:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:22:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682017792001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":130391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:22:12] local.INFO: GPS data processed {"connection_id":130391,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:22:12] local.INFO: Acknowledgment sent {"connection_id":130391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:22:35] local.INFO: TCP Data received {"connection_id":132507,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:22:35] local.INFO: Processing buffer {"connection_id":132507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:22:35] local.INFO: IMEI packet received {"connection_id":132507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":132507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:22:40] local.INFO: TCP Data received {"connection_id":132507,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:22:40] local.INFO: Processing buffer {"connection_id":132507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:22:40] local.INFO: IMEI packet received {"connection_id":132507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":132507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:22:41] local.INFO: TCP Data received {"connection_id":132507,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f599609e8012d7f914005afd9380009011b24..."} 
[2026-07-13 09:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599609e8012d7f914005afd9380009011b24..."} 
[2026-07-13 09:22:41] local.INFO: Processing buffer {"connection_id":132507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599609e8012d7f914005afd9380009011b24..."} 
[2026-07-13 09:22:41] local.INFO: Packet analysis {"connection_id":132507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5996"} 
[2026-07-13 09:22:41] local.INFO: Extracted packet for processing {"connection_id":132507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5996"} 
[2026-07-13 09:22:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":9,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682017792001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783914433000,"timestamp_ms":1783914433000,"timestamp_seconds":1783914433,"priority":1,"record_length":96,"hex_timestamp":"0000019f599609e8"} 
[2026-07-13 09:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 09:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682017792001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682017792001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:22:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682017792001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":132507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:22:41] local.INFO: GPS data processed {"connection_id":132507,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:22:41] local.INFO: Acknowledgment sent {"connection_id":132507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:22:47] local.INFO: TCP Data received {"connection_id":130188,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130188,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:22:47] local.INFO: Processing buffer {"connection_id":130188,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:22:47] local.INFO: IMEI packet received {"connection_id":130188,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":130188,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:22:50] local.INFO: TCP Data received {"connection_id":130188,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130188,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:22:50] local.INFO: Processing buffer {"connection_id":130188,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:22:50] local.INFO: IMEI packet received {"connection_id":130188,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":130188,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:22:51] local.INFO: TCP Data received {"connection_id":130188,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f599a7aa0012d09f5c00704df580015004f23..."} 
[2026-07-13 09:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599a7aa0012d09f5c00704df580015004f23..."} 
[2026-07-13 09:22:52] local.INFO: Processing buffer {"connection_id":130188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599a7aa0012d09f5c00704df580015004f23..."} 
[2026-07-13 09:22:52] local.INFO: Packet analysis {"connection_id":130188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599a"} 
[2026-07-13 09:22:52] local.INFO: Extracted packet for processing {"connection_id":130188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599a"} 
[2026-07-13 09:22:52] local.INFO: GPS Element Parsed {"raw_longitude":755627456,"raw_latitude":117759832,"longitude_deg":75.5627456,"latitude_deg":11.7759832,"altitude":21,"angle":79,"satellites":35,"speed":20,"hex_longitude":"2d09f5c0","hex_latitude":"0704df58","is_valid_coordinates":true} 
[2026-07-13 09:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682169088001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24195105556529152,"note":"Value kept but may cause issues"} 
[2026-07-13 09:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":717057533316900864,"note":"Value kept but may cause issues"} 
[2026-07-13 09:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783914724000,"timestamp_ms":1783914724000,"timestamp_seconds":1783914724,"priority":1,"record_length":96,"hex_timestamp":"0000019f599a7aa0"} 
[2026-07-13 09:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 09:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":130188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":130188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":130188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682169088001,"66":14450,"177":206,"94":10240,"24":20,"16":24195105556529152,"45":717057533316900864},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-13 09:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682169088001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:22:52] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-13 09:22:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24195105556529152,"km_value":24195105556529.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":717057533316900864,"description":"Unknown IO ID 45"} 
[2026-07-13 09:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682169088001,"power":14450,"unknown_177":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":717057533316900864}} 
[2026-07-13 09:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":130188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479338,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:22:52] local.INFO: GPS data processed {"connection_id":130188,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:22:52] local.INFO: Acknowledgment sent {"connection_id":130188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:22:53] local.INFO: TCP Data received {"connection_id":131185,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131185,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:22:53] local.INFO: Processing buffer {"connection_id":131185,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:22:53] local.INFO: IMEI packet received {"connection_id":131185,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":131185,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:22:55] local.INFO: TCP Data received {"connection_id":131185,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131185,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:22:55] local.INFO: Processing buffer {"connection_id":131185,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:22:55] local.INFO: IMEI packet received {"connection_id":131185,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":131185,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:22:58] local.INFO: TCP Data received {"connection_id":131185,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131185,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:22:58] local.INFO: Processing buffer {"connection_id":131185,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:22:58] local.INFO: IMEI packet received {"connection_id":131185,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":131185,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:22:59] local.INFO: TCP Data received {"connection_id":131185,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5999f5d0012d7c39c005e50c18000900d22d..."} 
[2026-07-13 09:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5999f5d0012d7c39c005e50c18000900d22d..."} 
[2026-07-13 09:22:59] local.INFO: Processing buffer {"connection_id":131185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5999f5d0012d7c39c005e50c18000900d22d..."} 
[2026-07-13 09:22:59] local.INFO: Packet analysis {"connection_id":131185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5999"} 
[2026-07-13 09:22:59] local.INFO: Extracted packet for processing {"connection_id":131185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5999"} 
[2026-07-13 09:22:59] local.INFO: GPS Element Parsed {"raw_longitude":763115968,"raw_latitude":98896920,"longitude_deg":76.3115968,"latitude_deg":9.889692,"altitude":9,"angle":210,"satellites":45,"speed":51,"hex_longitude":"2d7c39c0","hex_latitude":"05e50c18","is_valid_coordinates":true} 
[2026-07-13 09:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682158592001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105712493912915968,"note":"Value kept but may cause issues"} 
[2026-07-13 09:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8957167102950432768,"note":"Value kept but may cause issues"} 
[2026-07-13 09:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783914690000,"timestamp_ms":1783914690000,"timestamp_seconds":1783914690,"priority":1,"record_length":96,"hex_timestamp":"0000019f5999f5d0"} 
[2026-07-13 09:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-13 09:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":131185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":131185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":131185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682158592001,"66":12765,"88":206,"87":13824,"24":51,"16":105712493912915968,"45":8957167102950432768},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,87,24,16,45]} 
[2026-07-13 09:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682158592001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:22:59] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-13 09:22:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 09:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105712493912915968,"km_value":105712493912915.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8957167102950432768,"description":"Unknown IO ID 45"} 
[2026-07-13 09:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682158592001,"power":12765,"unknown_88":206,"unknown_87":13824,"ignition":51,"odometer":null,"unknown_45":8957167102950432768}} 
[2026-07-13 09:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":131185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:22:59] local.INFO: GPS data processed {"connection_id":131185,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:22:59] local.INFO: Acknowledgment sent {"connection_id":131185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:23:12] local.INFO: TCP Data received {"connection_id":132507,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f599aa1b0012d7f914005afd938000a011b23..."} 
[2026-07-13 09:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599aa1b0012d7f914005afd938000a011b23..."} 
[2026-07-13 09:23:12] local.INFO: Processing buffer {"connection_id":132507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599aa1b0012d7f914005afd938000a011b23..."} 
[2026-07-13 09:23:12] local.INFO: Packet analysis {"connection_id":132507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599a"} 
[2026-07-13 09:23:12] local.INFO: Extracted packet for processing {"connection_id":132507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599a"} 
[2026-07-13 09:23:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682094848001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783914734000,"timestamp_ms":1783914734000,"timestamp_seconds":1783914734,"priority":1,"record_length":96,"hex_timestamp":"0000019f599aa1b0"} 
[2026-07-13 09:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682094848001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682094848001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:23:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:23:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682094848001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":132507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:23:12] local.INFO: GPS data processed {"connection_id":132507,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:23:12] local.INFO: Acknowledgment sent {"connection_id":132507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:23:26] local.INFO: TCP Data received {"connection_id":132509,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132509,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:23:26] local.INFO: Processing buffer {"connection_id":132509,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:23:26] local.INFO: IMEI packet received {"connection_id":132509,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":132509,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:23:27] local.INFO: TCP Data received {"connection_id":132509,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132509,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:23:27] local.INFO: Processing buffer {"connection_id":132509,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:23:27] local.INFO: IMEI packet received {"connection_id":132509,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":132509,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:23:32] local.INFO: TCP Data received {"connection_id":132509,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132509,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:23:32] local.INFO: Processing buffer {"connection_id":132509,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:23:32] local.INFO: IMEI packet received {"connection_id":132509,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":132509,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:23:33] local.INFO: TCP Data received {"connection_id":132509,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f599b41d8012d0a83c00704dec8001700b924..."} 
[2026-07-13 09:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599b41d8012d0a83c00704dec8001700b924..."} 
[2026-07-13 09:23:33] local.INFO: Processing buffer {"connection_id":132509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599b41d8012d0a83c00704dec8001700b924..."} 
[2026-07-13 09:23:33] local.INFO: Packet analysis {"connection_id":132509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599b"} 
[2026-07-13 09:23:33] local.INFO: Extracted packet for processing {"connection_id":132509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599b"} 
[2026-07-13 09:23:33] local.INFO: GPS Element Parsed {"raw_longitude":755663808,"raw_latitude":117759688,"longitude_deg":75.5663808,"latitude_deg":11.7759688,"altitude":23,"angle":185,"satellites":36,"speed":13,"hex_longitude":"2d0a83c0","hex_latitude":"0704dec8","is_valid_coordinates":true} 
[2026-07-13 09:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682181888001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24196918032728064,"note":"Value kept but may cause issues"} 
[2026-07-13 09:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757801036195907584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783914775000,"timestamp_ms":1783914775000,"timestamp_seconds":1783914775,"priority":1,"record_length":96,"hex_timestamp":"0000019f599b41d8"} 
[2026-07-13 09:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-13 09:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":132509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":132509,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":132509,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682181888001,"66":14026,"177":206,"94":10240,"24":13,"16":24196918032728064,"45":757801036195907584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-13 09:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682181888001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:23:33] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-13 09:23:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24196918032728064,"km_value":24196918032728.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":757801036195907584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682181888001,"power":14026,"unknown_177":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":757801036195907584}} 
[2026-07-13 09:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":132509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479341,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:23:33] local.INFO: GPS data processed {"connection_id":132509,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:23:33] local.INFO: Acknowledgment sent {"connection_id":132509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:23:35] local.INFO: TCP Data received {"connection_id":132510,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:23:35] local.INFO: Processing buffer {"connection_id":132510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:23:35] local.INFO: IMEI packet received {"connection_id":132510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":132510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:23:40] local.INFO: TCP Data received {"connection_id":132510,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:23:40] local.INFO: Processing buffer {"connection_id":132510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:23:40] local.INFO: IMEI packet received {"connection_id":132510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":132510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:23:41] local.INFO: TCP Data received {"connection_id":132510,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f599aa1b0012d7f914005afd938000a011b23..."} 
[2026-07-13 09:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599aa1b0012d7f914005afd938000a011b23..."} 
[2026-07-13 09:23:41] local.INFO: Processing buffer {"connection_id":132510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599aa1b0012d7f914005afd938000a011b23..."} 
[2026-07-13 09:23:41] local.INFO: Packet analysis {"connection_id":132510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599a"} 
[2026-07-13 09:23:41] local.INFO: Extracted packet for processing {"connection_id":132510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599a"} 
[2026-07-13 09:23:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682094848001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783914734000,"timestamp_ms":1783914734000,"timestamp_seconds":1783914734,"priority":1,"record_length":96,"hex_timestamp":"0000019f599aa1b0"} 
[2026-07-13 09:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682094848001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682094848001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:23:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:23:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682094848001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":132510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:23:41] local.INFO: GPS data processed {"connection_id":132510,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:23:41] local.INFO: Acknowledgment sent {"connection_id":132510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:23:43] local.INFO: TCP Data received {"connection_id":130189,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130189,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:23:43] local.INFO: Processing buffer {"connection_id":130189,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:23:43] local.INFO: IMEI packet received {"connection_id":130189,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":130189,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:23:48] local.INFO: TCP Data received {"connection_id":130189,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130189,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:23:48] local.INFO: Processing buffer {"connection_id":130189,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:23:48] local.INFO: IMEI packet received {"connection_id":130189,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":130189,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:23:48] local.INFO: TCP Data received {"connection_id":130189,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f599b70b8012d7b320005e37de0000700d52f..."} 
[2026-07-13 09:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599b70b8012d7b320005e37de0000700d52f..."} 
[2026-07-13 09:23:48] local.INFO: Processing buffer {"connection_id":130189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599b70b8012d7b320005e37de0000700d52f..."} 
[2026-07-13 09:23:48] local.INFO: Packet analysis {"connection_id":130189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599b"} 
[2026-07-13 09:23:48] local.INFO: Extracted packet for processing {"connection_id":130189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599b"} 
[2026-07-13 09:23:48] local.INFO: GPS Element Parsed {"raw_longitude":763048448,"raw_latitude":98794976,"longitude_deg":76.3048448,"latitude_deg":9.8794976,"altitude":7,"angle":213,"satellites":47,"speed":49,"hex_longitude":"2d7b3200","hex_latitude":"05e37de0","is_valid_coordinates":true} 
[2026-07-13 09:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682183680001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105718395197980672,"note":"Value kept but may cause issues"} 
[2026-07-13 09:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882928077816709120,"note":"Value kept but may cause issues"} 
[2026-07-13 09:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783914787000,"timestamp_ms":1783914787000,"timestamp_seconds":1783914787,"priority":1,"record_length":96,"hex_timestamp":"0000019f599b70b8"} 
[2026-07-13 09:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:23:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-13 09:23:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:23:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":130189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":130189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":130189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682183680001,"66":12645,"95":206,"85":15104,"24":49,"16":105718395197980672,"45":8882928077816709120},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-13 09:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682183680001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:23:48] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-13 09:23:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105718395197980672,"km_value":105718395197980.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882928077816709120,"description":"Unknown IO ID 45"} 
[2026-07-13 09:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682183680001,"power":12645,"unknown_95":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8882928077816709120}} 
[2026-07-13 09:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":130189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479343,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:23:48] local.INFO: GPS data processed {"connection_id":130189,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:23:48] local.INFO: Acknowledgment sent {"connection_id":130189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:24:05] local.INFO: TCP Data received {"connection_id":132509,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f599c1c98012d0a5b8007046f00001c00e525..."} 
[2026-07-13 09:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599c1c98012d0a5b8007046f00001c00e525..."} 
[2026-07-13 09:24:05] local.INFO: Processing buffer {"connection_id":132509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599c1c98012d0a5b8007046f00001c00e525..."} 
[2026-07-13 09:24:05] local.INFO: Packet analysis {"connection_id":132509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599c"} 
[2026-07-13 09:24:05] local.INFO: Extracted packet for processing {"connection_id":132509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599c"} 
[2026-07-13 09:24:05] local.INFO: GPS Element Parsed {"raw_longitude":755653504,"raw_latitude":117731072,"longitude_deg":75.5653504,"latitude_deg":11.7731072,"altitude":28,"angle":229,"satellites":37,"speed":11,"hex_longitude":"2d0a5b80","hex_latitude":"07046f00","is_valid_coordinates":true} 
[2026-07-13 09:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682196480001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24198709034090496,"note":"Value kept but may cause issues"} 
[2026-07-13 09:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":746612405864214528,"note":"Value kept but may cause issues"} 
[2026-07-13 09:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783914831000,"timestamp_ms":1783914831000,"timestamp_seconds":1783914831,"priority":1,"record_length":96,"hex_timestamp":"0000019f599c1c98"} 
[2026-07-13 09:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 09:24: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-07-13 09:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132509,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132509,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682196480001,"66":14439,"177":206,"94":10240,"24":11,"16":24198709034090496,"45":746612405864214528},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-13 09:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682196480001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:24:05] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-13 09:24:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24198709034090496,"km_value":24198709034090.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":746612405864214528,"description":"Unknown IO ID 45"} 
[2026-07-13 09:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682196480001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":746612405864214528}} 
[2026-07-13 09:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":132509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479344,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:24:05] local.INFO: GPS data processed {"connection_id":132509,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:24:05] local.INFO: Acknowledgment sent {"connection_id":132509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:24:12] local.INFO: TCP Data received {"connection_id":132510,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f599aa1b0012d7f914005afd938000a011b23..."} 
[2026-07-13 09:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599aa1b0012d7f914005afd938000a011b23..."} 
[2026-07-13 09:24:12] local.INFO: Processing buffer {"connection_id":132510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599aa1b0012d7f914005afd938000a011b23..."} 
[2026-07-13 09:24:12] local.INFO: Packet analysis {"connection_id":132510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599a"} 
[2026-07-13 09:24:12] local.INFO: Extracted packet for processing {"connection_id":132510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599a"} 
[2026-07-13 09:24:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682094848001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783914734000,"timestamp_ms":1783914734000,"timestamp_seconds":1783914734,"priority":1,"record_length":96,"hex_timestamp":"0000019f599aa1b0"} 
[2026-07-13 09:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682094848001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682094848001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:24:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:24:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682094848001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":132510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:24:12] local.INFO: GPS data processed {"connection_id":132510,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:24:12] local.INFO: Acknowledgment sent {"connection_id":132510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:24:20] local.INFO: TCP Data received {"connection_id":130189,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f599b93e0012d7b1d8005e35da8000500d330..."} 
[2026-07-13 09:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599b93e0012d7b1d8005e35da8000500d330..."} 
[2026-07-13 09:24:20] local.INFO: Processing buffer {"connection_id":130189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599b93e0012d7b1d8005e35da8000500d330..."} 
[2026-07-13 09:24:20] local.INFO: Packet analysis {"connection_id":130189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599b"} 
[2026-07-13 09:24:20] local.INFO: Extracted packet for processing {"connection_id":130189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599b"} 
[2026-07-13 09:24:20] local.INFO: GPS Element Parsed {"raw_longitude":763043200,"raw_latitude":98786728,"longitude_deg":76.30432,"latitude_deg":9.8786728,"altitude":5,"angle":211,"satellites":48,"speed":39,"hex_longitude":"2d7b1d80","hex_latitude":"05e35da8","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682185472001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105718867644383232,"note":"Value kept but may cause issues"} 
[2026-07-13 09:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877157840792182784,"note":"Value kept but may cause issues"} 
[2026-07-13 09:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783914796000,"timestamp_ms":1783914796000,"timestamp_seconds":1783914796,"priority":1,"record_length":96,"hex_timestamp":"0000019f599b93e0"} 
[2026-07-13 09:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:24: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-07-13 09: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-13 09:24: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-07-13 09: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-07-13 09:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682185472001,"66":13102,"95":206,"85":15104,"24":39,"16":105718867644383232,"45":8877157840792182784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-13 09:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682185472001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:24:20] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-13 09:24:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105718867644383232,"km_value":105718867644383.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877157840792182784,"description":"Unknown IO ID 45"} 
[2026-07-13 09:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682185472001,"power":13102,"unknown_95":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8877157840792182784}} 
[2026-07-13 09:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":130189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:24:20] local.INFO: GPS data processed {"connection_id":130189,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:24:20] local.INFO: Acknowledgment sent {"connection_id":130189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:24:28] local.INFO: TCP Data received {"connection_id":131186,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131186,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:24:28] local.INFO: Processing buffer {"connection_id":131186,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:24:28] local.INFO: IMEI packet received {"connection_id":131186,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":131186,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:24:33] local.INFO: TCP Data received {"connection_id":131186,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131186,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:24:33] local.INFO: Processing buffer {"connection_id":131186,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:24:33] local.INFO: IMEI packet received {"connection_id":131186,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":131186,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:24:34] local.INFO: TCP Data received {"connection_id":131186,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f599c2080012d0a5b0007046e20001b00c925..."} 
[2026-07-13 09:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599c2080012d0a5b0007046e20001b00c925..."} 
[2026-07-13 09:24:34] local.INFO: Processing buffer {"connection_id":131186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599c2080012d0a5b0007046e20001b00c925..."} 
[2026-07-13 09:24:34] local.INFO: Packet analysis {"connection_id":131186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599c"} 
[2026-07-13 09:24:34] local.INFO: Extracted packet for processing {"connection_id":131186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599c"} 
[2026-07-13 09:24:34] local.INFO: GPS Element Parsed {"raw_longitude":755653376,"raw_latitude":117730848,"longitude_deg":75.5653376,"latitude_deg":11.7730848,"altitude":27,"angle":201,"satellites":37,"speed":10,"hex_longitude":"2d0a5b00","hex_latitude":"07046e20","is_valid_coordinates":true} 
[2026-07-13 09:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682196736001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24198721918992384,"note":"Value kept but may cause issues"} 
[2026-07-13 09:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":746330930887458816,"note":"Value kept but may cause issues"} 
[2026-07-13 09:24: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-07-13 09:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783914832000,"timestamp_ms":1783914832000,"timestamp_seconds":1783914832,"priority":1,"record_length":96,"hex_timestamp":"0000019f599c2080"} 
[2026-07-13 09:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":103,"data_length":795,"current_offset":136} 
[2026-07-13 09:24: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-07-13 09:24:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":131186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":131186,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":131186,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682196736001,"66":14450,"177":206,"94":10240,"24":10,"16":24198721918992384,"45":746330930887458816},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-13 09:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682196736001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:24:34] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-13 09:24:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24198721918992384,"km_value":24198721918992.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":746330930887458816,"description":"Unknown IO ID 45"} 
[2026-07-13 09:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682196736001,"power":14450,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":746330930887458816}} 
[2026-07-13 09:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":131186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479347,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:24:34] local.INFO: GPS data processed {"connection_id":131186,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:24:34] local.INFO: Acknowledgment sent {"connection_id":131186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:24:35] local.INFO: TCP Data received {"connection_id":132512,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:24:35] local.INFO: Processing buffer {"connection_id":132512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:24:35] local.INFO: IMEI packet received {"connection_id":132512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":132512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:24:40] local.INFO: TCP Data received {"connection_id":132512,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:24:40] local.INFO: Processing buffer {"connection_id":132512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:24:40] local.INFO: IMEI packet received {"connection_id":132512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":132512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:24:41] local.INFO: TCP Data received {"connection_id":132512,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f599aa1b0012d7f914005afd938000a011b23..."} 
[2026-07-13 09:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599aa1b0012d7f914005afd938000a011b23..."} 
[2026-07-13 09:24:41] local.INFO: Processing buffer {"connection_id":132512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599aa1b0012d7f914005afd938000a011b23..."} 
[2026-07-13 09:24:41] local.INFO: Packet analysis {"connection_id":132512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599a"} 
[2026-07-13 09:24:41] local.INFO: Extracted packet for processing {"connection_id":132512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599a"} 
[2026-07-13 09:24:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682094848001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783914734000,"timestamp_ms":1783914734000,"timestamp_seconds":1783914734,"priority":1,"record_length":96,"hex_timestamp":"0000019f599aa1b0"} 
[2026-07-13 09:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682094848001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682094848001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:24:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:24:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682094848001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":132512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:24:41] local.INFO: GPS data processed {"connection_id":132512,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:24:41] local.INFO: Acknowledgment sent {"connection_id":132512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:24:43] local.INFO: TCP Data received {"connection_id":131187,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:24:43] local.INFO: Processing buffer {"connection_id":131187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:24:43] local.INFO: IMEI packet received {"connection_id":131187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":131187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:24:47] local.INFO: TCP Data received {"connection_id":131187,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:24:47] local.INFO: Processing buffer {"connection_id":131187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:24:47] local.INFO: IMEI packet received {"connection_id":131187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":131187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:24:48] local.INFO: TCP Data received {"connection_id":131187,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:24:48] local.INFO: Processing buffer {"connection_id":131187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:24:48] local.INFO: IMEI packet received {"connection_id":131187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":131187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:24:53] local.INFO: TCP Data received {"connection_id":131187,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:24:53] local.INFO: Processing buffer {"connection_id":131187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:24:53] local.INFO: IMEI packet received {"connection_id":131187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":131187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:24:54] local.INFO: TCP Data received {"connection_id":131187,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f599bb320012d7b0f8005e34298000500c52b..."} 
[2026-07-13 09:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599bb320012d7b0f8005e34298000500c52b..."} 
[2026-07-13 09:24:54] local.INFO: Processing buffer {"connection_id":131187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599bb320012d7b0f8005e34298000500c52b..."} 
[2026-07-13 09:24:54] local.INFO: Packet analysis {"connection_id":131187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599b"} 
[2026-07-13 09:24:54] local.INFO: Extracted packet for processing {"connection_id":131187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599b"} 
[2026-07-13 09:24:54] local.INFO: GPS Element Parsed {"raw_longitude":763039616,"raw_latitude":98779800,"longitude_deg":76.3039616,"latitude_deg":9.87798,"altitude":5,"angle":197,"satellites":43,"speed":36,"hex_longitude":"2d7b0f80","hex_latitude":"05e34298","is_valid_coordinates":true} 
[2026-07-13 09:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682187776001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105719245601505280,"note":"Value kept but may cause issues"} 
[2026-07-13 09:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871387603767502848,"note":"Value kept but may cause issues"} 
[2026-07-13 09:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783914804000,"timestamp_ms":1783914804000,"timestamp_seconds":1783914804,"priority":1,"record_length":96,"hex_timestamp":"0000019f599bb320"} 
[2026-07-13 09:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:24: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-07-13 09:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-13 09:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":131187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":131187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":131187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682187776001,"66":12863,"95":206,"85":15104,"24":36,"16":105719245601505280,"45":8871387603767502848},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-13 09:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682187776001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:24:54] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-13 09:24:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105719245601505280,"km_value":105719245601505.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871387603767502848,"description":"Unknown IO ID 45"} 
[2026-07-13 09:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682187776001,"power":12863,"unknown_95":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8871387603767502848}} 
[2026-07-13 09:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":131187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479349,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:24:54] local.INFO: GPS data processed {"connection_id":131187,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:24:54] local.INFO: Acknowledgment sent {"connection_id":131187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:24:55] local.INFO: TCP Data received {"connection_id":130190,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130190,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:24:55] local.INFO: Processing buffer {"connection_id":130190,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:24:55] local.INFO: IMEI packet received {"connection_id":130190,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 09:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":130190,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:24:59] local.INFO: TCP Data received {"connection_id":131187,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f599bc2c0012d7b0d4005e33498000500b722..."} 
[2026-07-13 09:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599bc2c0012d7b0d4005e33498000500b722..."} 
[2026-07-13 09:24:59] local.INFO: Processing buffer {"connection_id":131187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599bc2c0012d7b0d4005e33498000500b722..."} 
[2026-07-13 09:24:59] local.INFO: Packet analysis {"connection_id":131187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599b"} 
[2026-07-13 09:24:59] local.INFO: Extracted packet for processing {"connection_id":131187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599b"} 
[2026-07-13 09:24:59] local.INFO: GPS Element Parsed {"raw_longitude":763039040,"raw_latitude":98776216,"longitude_deg":76.303904,"latitude_deg":9.8776216,"altitude":5,"angle":183,"satellites":34,"speed":35,"hex_longitude":"2d7b0d40","hex_latitude":"05e33498","is_valid_coordinates":true} 
[2026-07-13 09:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682189824001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105719421695164416,"note":"Value kept but may cause issues"} 
[2026-07-13 09:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867446954091780096,"note":"Value kept but may cause issues"} 
[2026-07-13 09:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783914808000,"timestamp_ms":1783914808000,"timestamp_seconds":1783914808,"priority":1,"record_length":96,"hex_timestamp":"0000019f599bc2c0"} 
[2026-07-13 09:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:24: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-07-13 09: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-13 09:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":131187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":131187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":131187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682189824001,"66":13091,"95":206,"85":15104,"24":35,"16":105719421695164416,"45":8867446954091780096},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-13 09:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682189824001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:24:59] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-13 09:24:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105719421695164416,"km_value":105719421695164.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867446954091780096,"description":"Unknown IO ID 45"} 
[2026-07-13 09:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682189824001,"power":13091,"unknown_95":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8867446954091780096}} 
[2026-07-13 09:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":131187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:24:59] local.INFO: GPS data processed {"connection_id":131187,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:24:59] local.INFO: Acknowledgment sent {"connection_id":131187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:25:12] local.INFO: TCP Data received {"connection_id":132512,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f599aa1b0012d7f914005afd938000a011b23..."} 
[2026-07-13 09:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599aa1b0012d7f914005afd938000a011b23..."} 
[2026-07-13 09:25:12] local.INFO: Processing buffer {"connection_id":132512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599aa1b0012d7f914005afd938000a011b23..."} 
[2026-07-13 09:25:12] local.INFO: Packet analysis {"connection_id":132512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599a"} 
[2026-07-13 09:25:12] local.INFO: Extracted packet for processing {"connection_id":132512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599a"} 
[2026-07-13 09:25:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682094848001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783914734000,"timestamp_ms":1783914734000,"timestamp_seconds":1783914734,"priority":1,"record_length":96,"hex_timestamp":"0000019f599aa1b0"} 
[2026-07-13 09:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682094848001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682094848001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:25:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:25:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682094848001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":132512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:25:12] local.INFO: GPS data processed {"connection_id":132512,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:25:12] local.INFO: Acknowledgment sent {"connection_id":132512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:25:31] local.INFO: TCP Data received {"connection_id":131186,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f599c2468012d0a5ac007046ce0001b00be25..."} 
[2026-07-13 09:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599c2468012d0a5ac007046ce0001b00be25..."} 
[2026-07-13 09:25:31] local.INFO: Processing buffer {"connection_id":131186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599c2468012d0a5ac007046ce0001b00be25..."} 
[2026-07-13 09:25:31] local.INFO: Packet analysis {"connection_id":131186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599c"} 
[2026-07-13 09:25:31] local.INFO: Extracted packet for processing {"connection_id":131186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599c"} 
[2026-07-13 09:25:31] local.INFO: GPS Element Parsed {"raw_longitude":755653312,"raw_latitude":117730528,"longitude_deg":75.5653312,"latitude_deg":11.7730528,"altitude":27,"angle":190,"satellites":37,"speed":14,"hex_longitude":"2d0a5ac0","hex_latitude":"07046ce0","is_valid_coordinates":true} 
[2026-07-13 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-07-13 09:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682196992001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24198739098861568,"note":"Value kept but may cause issues"} 
[2026-07-13 09:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":746190193399046144,"note":"Value kept but may cause issues"} 
[2026-07-13 09:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783914833000,"timestamp_ms":1783914833000,"timestamp_seconds":1783914833,"priority":1,"record_length":96,"hex_timestamp":"0000019f599c2468"} 
[2026-07-13 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-07-13 09:25: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-07-13 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-13 09:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 09:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":131186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":131186,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":131186,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682196992001,"66":14450,"177":206,"94":10240,"24":14,"16":24198739098861568,"45":746190193399046144},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-13 09:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682196992001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:25:31] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-13 09:25:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24198739098861568,"km_value":24198739098861.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":746190193399046144,"description":"Unknown IO ID 45"} 
[2026-07-13 09:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682196992001,"power":14450,"unknown_177":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":746190193399046144}} 
[2026-07-13 09:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":131186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479352,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:25:31] local.INFO: GPS data processed {"connection_id":131186,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:25:31] local.INFO: Acknowledgment sent {"connection_id":131186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:25:37] local.INFO: TCP Data received {"connection_id":131188,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131188,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:25:37] local.INFO: Processing buffer {"connection_id":131188,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:25:37] local.INFO: IMEI packet received {"connection_id":131188,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":131188,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:25:38] local.INFO: TCP Data received {"connection_id":131188,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131188,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:25:38] local.INFO: Processing buffer {"connection_id":131188,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:25:38] local.INFO: IMEI packet received {"connection_id":131188,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":131188,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:25:40] local.INFO: TCP Data received {"connection_id":131188,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f599d39c0012d0a58c0070461300018000625..."} 
[2026-07-13 09:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599d39c0012d0a58c0070461300018000625..."} 
[2026-07-13 09:25:40] local.INFO: Processing buffer {"connection_id":131188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599d39c0012d0a58c0070461300018000625..."} 
[2026-07-13 09:25:40] local.INFO: Packet analysis {"connection_id":131188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599d"} 
[2026-07-13 09:25:40] local.INFO: Extracted packet for processing {"connection_id":131188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599d"} 
[2026-07-13 09:25:40] local.INFO: GPS Element Parsed {"raw_longitude":755652800,"raw_latitude":117727536,"longitude_deg":75.56528,"latitude_deg":11.7727536,"altitude":24,"angle":6,"satellites":37,"speed":31,"hex_longitude":"2d0a58c0","hex_latitude":"07046130","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682213376001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24199851495391232,"note":"Value kept but may cause issues"} 
[2026-07-13 09:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743797656094787584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:25:40] 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-07-13 09:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783914904000,"timestamp_ms":1783914904000,"timestamp_seconds":1783914904,"priority":1,"record_length":96,"hex_timestamp":"0000019f599d39c0"} 
[2026-07-13 09:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-13 09:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09: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-07-13 09:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682213376001,"66":14461,"178":206,"94":10240,"24":31,"16":24199851495391232,"45":743797656094787584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-07-13 09:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682213376001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:25:40] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-13 09:25:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24199851495391232,"km_value":24199851495391.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":743797656094787584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682213376001,"power":14461,"unknown_178":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":743797656094787584}} 
[2026-07-13 09:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":131188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479353,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:25:40] local.INFO: GPS data processed {"connection_id":131188,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:25:40] local.INFO: Acknowledgment sent {"connection_id":131188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:25:40] local.INFO: TCP Data received {"connection_id":131189,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:25:40] local.INFO: Processing buffer {"connection_id":131189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:25:40] local.INFO: IMEI packet received {"connection_id":131189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":131189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:25:41] local.INFO: TCP Data received {"connection_id":130392,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:25:41] local.INFO: Processing buffer {"connection_id":130392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:25:41] local.INFO: IMEI packet received {"connection_id":130392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":130392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:25:43] local.INFO: TCP Data received {"connection_id":130392,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:25:43] local.INFO: Processing buffer {"connection_id":130392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:25:43] local.INFO: IMEI packet received {"connection_id":130392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":130392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:25:45] local.INFO: TCP Data received {"connection_id":131189,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:25:45] local.INFO: Processing buffer {"connection_id":131189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:25:45] local.INFO: IMEI packet received {"connection_id":131189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":131189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:25:45] local.INFO: TCP Data received {"connection_id":131190,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131190,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:25:45] local.INFO: Processing buffer {"connection_id":131190,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:25:45] local.INFO: IMEI packet received {"connection_id":131190,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 09:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":131190,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:25:47] local.INFO: TCP Data received {"connection_id":131189,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f599aa1b0012d7f914005afd938000a011b23..."} 
[2026-07-13 09:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599aa1b0012d7f914005afd938000a011b23..."} 
[2026-07-13 09:25:47] local.INFO: Processing buffer {"connection_id":131189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599aa1b0012d7f914005afd938000a011b23..."} 
[2026-07-13 09:25:47] local.INFO: Packet analysis {"connection_id":131189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599a"} 
[2026-07-13 09:25:47] local.INFO: Extracted packet for processing {"connection_id":131189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599a"} 
[2026-07-13 09:25:47] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682094848001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783914734000,"timestamp_ms":1783914734000,"timestamp_seconds":1783914734,"priority":1,"record_length":96,"hex_timestamp":"0000019f599aa1b0"} 
[2026-07-13 09:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09: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-07-13 09:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":131189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":131189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":131189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682094848001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682094848001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:25:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:25:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682094848001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":131189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:25:47] local.INFO: GPS data processed {"connection_id":131189,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:25:47] local.INFO: Acknowledgment sent {"connection_id":131189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:25:48] local.INFO: TCP Data received {"connection_id":130392,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:25:48] local.INFO: Processing buffer {"connection_id":130392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:25:48] local.INFO: IMEI packet received {"connection_id":130392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":130392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:25:49] local.INFO: TCP Data received {"connection_id":130392,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f599bde18012d7b0dc005e32190000800aa24..."} 
[2026-07-13 09:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599bde18012d7b0dc005e32190000800aa24..."} 
[2026-07-13 09:25:49] local.INFO: Processing buffer {"connection_id":130392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599bde18012d7b0dc005e32190000800aa24..."} 
[2026-07-13 09:25:49] local.INFO: Packet analysis {"connection_id":130392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599b"} 
[2026-07-13 09:25:49] local.INFO: Extracted packet for processing {"connection_id":130392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599b"} 
[2026-07-13 09:25:49] local.INFO: GPS Element Parsed {"raw_longitude":763039168,"raw_latitude":98771344,"longitude_deg":76.3039168,"latitude_deg":9.8771344,"altitude":8,"angle":170,"satellites":36,"speed":21,"hex_longitude":"2d7b0dc0","hex_latitude":"05e32190","is_valid_coordinates":true} 
[2026-07-13 09:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682190848001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105719657918365696,"note":"Value kept but may cause issues"} 
[2026-07-13 09:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866813635393263616,"note":"Value kept but may cause issues"} 
[2026-07-13 09:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783914815000,"timestamp_ms":1783914815000,"timestamp_seconds":1783914815,"priority":1,"record_length":96,"hex_timestamp":"0000019f599bde18"} 
[2026-07-13 09:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-13 09:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:25:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682190848001,"66":12928,"95":206,"85":15104,"24":21,"16":105719657918365696,"45":8866813635393263616},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-13 09:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682190848001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:25:49] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-13 09:25:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105719657918365696,"km_value":105719657918365.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866813635393263616,"description":"Unknown IO ID 45"} 
[2026-07-13 09:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682190848001,"power":12928,"unknown_95":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8866813635393263616}} 
[2026-07-13 09:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":130392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:25:49] local.INFO: GPS data processed {"connection_id":130392,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:25:49] local.INFO: Acknowledgment sent {"connection_id":130392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:25:51] local.INFO: TCP Data received {"connection_id":131189,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f599aa1b0012d7f914005afd938000a011b23..."} 
[2026-07-13 09:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599aa1b0012d7f914005afd938000a011b23..."} 
[2026-07-13 09:25:51] local.INFO: Processing buffer {"connection_id":131189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599aa1b0012d7f914005afd938000a011b23..."} 
[2026-07-13 09:25:51] local.INFO: Packet analysis {"connection_id":131189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599a"} 
[2026-07-13 09:25:51] local.INFO: Extracted packet for processing {"connection_id":131189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599a"} 
[2026-07-13 09:25:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682094848001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783914734000,"timestamp_ms":1783914734000,"timestamp_seconds":1783914734,"priority":1,"record_length":96,"hex_timestamp":"0000019f599aa1b0"} 
[2026-07-13 09:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09: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":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":131189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":131189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":131189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:25: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-07-13 09:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682094848001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682094848001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:25:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:25:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682094848001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":131189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:25:51] local.INFO: GPS data processed {"connection_id":131189,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:25:51] local.INFO: Acknowledgment sent {"connection_id":131189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:25:54] local.INFO: TCP Data received {"connection_id":130392,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f599c2080012d7b148005e2fe40000b00b222..."} 
[2026-07-13 09:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599c2080012d7b148005e2fe40000b00b222..."} 
[2026-07-13 09:25:54] local.INFO: Processing buffer {"connection_id":130392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599c2080012d7b148005e2fe40000b00b222..."} 
[2026-07-13 09:25:54] local.INFO: Packet analysis {"connection_id":130392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599c"} 
[2026-07-13 09:25:54] local.INFO: Extracted packet for processing {"connection_id":130392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599c"} 
[2026-07-13 09:25:54] local.INFO: GPS Element Parsed {"raw_longitude":763040896,"raw_latitude":98762304,"longitude_deg":76.3040896,"latitude_deg":9.8762304,"altitude":11,"angle":178,"satellites":34,"speed":26,"hex_longitude":"2d7b1480","hex_latitude":"05e2fe40","is_valid_coordinates":true} 
[2026-07-13 09:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682192640001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105720104594964480,"note":"Value kept but may cause issues"} 
[2026-07-13 09:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866954372880371712,"note":"Value kept but may cause issues"} 
[2026-07-13 09:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783914832000,"timestamp_ms":1783914832000,"timestamp_seconds":1783914832,"priority":1,"record_length":96,"hex_timestamp":"0000019f599c2080"} 
[2026-07-13 09:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-13 09:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682192640001,"66":13319,"95":206,"85":15104,"24":26,"16":105720104594964480,"45":8866954372880371712},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-13 09:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682192640001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:25:54] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-13 09:25:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105720104594964480,"km_value":105720104594964.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866954372880371712,"description":"Unknown IO ID 45"} 
[2026-07-13 09:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682192640001,"power":13319,"unknown_95":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8866954372880371712}} 
[2026-07-13 09:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":130392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479357,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:25:54] local.INFO: GPS data processed {"connection_id":130392,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:25:54] local.INFO: Acknowledgment sent {"connection_id":130392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:26:11] local.INFO: TCP Data received {"connection_id":131188,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f599e2bf0012d0a83800704e040001f002821..."} 
[2026-07-13 09:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599e2bf0012d0a83800704e040001f002821..."} 
[2026-07-13 09:26:11] local.INFO: Processing buffer {"connection_id":131188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599e2bf0012d0a83800704e040001f002821..."} 
[2026-07-13 09:26:11] local.INFO: Packet analysis {"connection_id":131188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599e"} 
[2026-07-13 09:26:11] local.INFO: Extracted packet for processing {"connection_id":131188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599e"} 
[2026-07-13 09:26:11] local.INFO: GPS Element Parsed {"raw_longitude":755663744,"raw_latitude":117760064,"longitude_deg":75.5663744,"latitude_deg":11.7760064,"altitude":31,"angle":40,"satellites":33,"speed":6,"hex_longitude":"2d0a8380","hex_latitude":"0704e040","is_valid_coordinates":true} 
[2026-07-13 09:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682231040001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24201865835053056,"note":"Value kept but may cause issues"} 
[2026-07-13 09:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757449192474918912,"note":"Value kept but may cause issues"} 
[2026-07-13 09:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783914966000,"timestamp_ms":1783914966000,"timestamp_seconds":1783914966,"priority":1,"record_length":96,"hex_timestamp":"0000019f599e2bf0"} 
[2026-07-13 09:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 09:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682231040001,"66":13754,"177":206,"94":10240,"24":6,"16":24201865835053056,"45":757449192474918912},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-13 09:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682231040001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:26:11] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-13 09:26:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24201865835053056,"km_value":24201865835053.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":757449192474918912,"description":"Unknown IO ID 45"} 
[2026-07-13 09:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682231040001,"power":13754,"unknown_177":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":757449192474918912}} 
[2026-07-13 09:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":131188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479358,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:26:11] local.INFO: GPS data processed {"connection_id":131188,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:26:11] local.INFO: Acknowledgment sent {"connection_id":131188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:26:27] local.INFO: TCP Data received {"connection_id":130392,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f599e1c50012d7b444005e174c0000a00aa28..."} 
[2026-07-13 09:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599e1c50012d7b444005e174c0000a00aa28..."} 
[2026-07-13 09:26:27] local.INFO: Processing buffer {"connection_id":130392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599e1c50012d7b444005e174c0000a00aa28..."} 
[2026-07-13 09:26:27] local.INFO: Packet analysis {"connection_id":130392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599e"} 
[2026-07-13 09:26:27] local.INFO: Extracted packet for processing {"connection_id":130392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599e"} 
[2026-07-13 09:26:27] local.INFO: GPS Element Parsed {"raw_longitude":763053120,"raw_latitude":98661568,"longitude_deg":76.305312,"latitude_deg":9.8661568,"altitude":10,"angle":170,"satellites":40,"speed":49,"hex_longitude":"2d7b4440","hex_latitude":"05e174c0","is_valid_coordinates":true} 
[2026-07-13 09:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682227968001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105725030922452992,"note":"Value kept but may cause issues"} 
[2026-07-13 09:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881028121690120192,"note":"Value kept but may cause issues"} 
[2026-07-13 09:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783914962000,"timestamp_ms":1783914962000,"timestamp_seconds":1783914962,"priority":1,"record_length":96,"hex_timestamp":"0000019f599e1c50"} 
[2026-07-13 09:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-13 09:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":130392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":130392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":130392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682227968001,"66":13319,"169":206,"85":15104,"24":49,"16":105725030922452992,"45":8881028121690120192},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-13 09:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682227968001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:26:27] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-13 09:26:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105725030922452992,"km_value":105725030922452.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881028121690120192,"description":"Unknown IO ID 45"} 
[2026-07-13 09:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682227968001,"power":13319,"unknown_169":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8881028121690120192}} 
[2026-07-13 09:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":130392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:26:27] local.INFO: GPS data processed {"connection_id":130392,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:26:27] local.INFO: Acknowledgment sent {"connection_id":130392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:26:29] local.INFO: TCP Data received {"connection_id":130393,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130393,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:26:29] local.INFO: Processing buffer {"connection_id":130393,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:26:29] local.INFO: IMEI packet received {"connection_id":130393,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":130393,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:26:30] local.INFO: TCP Data received {"connection_id":130393,"ip":"42.106.6.29","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-13 09:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130393,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-13 09:26:30] local.INFO: Processing buffer {"connection_id":130393,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-13 09:26:30] local.INFO: IMEI packet received {"connection_id":130393,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":130393,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:26:31] local.INFO: TCP Data received {"connection_id":130393,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f599e2fd8012d0a84400704e090001f004c21..."} 
[2026-07-13 09:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599e2fd8012d0a84400704e090001f004c21..."} 
[2026-07-13 09:26:31] local.INFO: Processing buffer {"connection_id":130393,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019f59..."} 
[2026-07-13 09:26:31] local.INFO: IMEI packet received {"connection_id":130393,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":130393,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:26:32] local.INFO: TCP Data received {"connection_id":130393,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f599e33c0012d0a85000704e0b8001f005b21..."} 
[2026-07-13 09:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599e33c0012d0a85000704e0b8001f005b21..."} 
[2026-07-13 09:26:32] local.INFO: Processing buffer {"connection_id":130393,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f599e2fd8012d0a84400704e090001f004c21..."} 
[2026-07-13 09:26:32] local.INFO: Packet analysis {"connection_id":130393,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f599e"} 
[2026-07-13 09:26:32] local.INFO: Extracted packet for processing {"connection_id":130393,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599e"} 
[2026-07-13 09:26:32] local.INFO: GPS Element Parsed {"raw_longitude":755663936,"raw_latitude":117760144,"longitude_deg":75.5663936,"latitude_deg":11.7760144,"altitude":31,"angle":76,"satellites":33,"speed":7,"hex_longitude":"2d0a8440","hex_latitude":"0704e090","is_valid_coordinates":true} 
[2026-07-13 09:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682231296001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24201874424987648,"note":"Value kept but may cause issues"} 
[2026-07-13 09:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757589929963307008,"note":"Value kept but may cause issues"} 
[2026-07-13 09:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783914967000,"timestamp_ms":1783914967000,"timestamp_seconds":1783914967,"priority":1,"record_length":96,"hex_timestamp":"0000019f599e2fd8"} 
[2026-07-13 09:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-07-13 09:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":130393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":130393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":130393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682231296001,"66":14515,"177":206,"94":10240,"24":7,"16":24201874424987648,"45":757589929963307008},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-13 09:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682231296001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:26:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-13 09:26:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24201874424987648,"km_value":24201874424987.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":757589929963307008,"description":"Unknown IO ID 45"} 
[2026-07-13 09:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682231296001,"power":14515,"unknown_177":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":757589929963307008}} 
[2026-07-13 09:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":130393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479360,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:26:32] local.INFO: GPS data processed {"connection_id":130393,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:26:32] local.INFO: Acknowledgment sent {"connection_id":130393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:26:32] local.INFO: Packet analysis {"connection_id":130393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599e"} 
[2026-07-13 09:26:32] local.INFO: Extracted packet for processing {"connection_id":130393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599e"} 
[2026-07-13 09:26:32] local.INFO: GPS Element Parsed {"raw_longitude":755664128,"raw_latitude":117760184,"longitude_deg":75.5664128,"latitude_deg":11.7760184,"altitude":31,"angle":91,"satellites":33,"speed":9,"hex_longitude":"2d0a8500","hex_latitude":"0704e0b8","is_valid_coordinates":true} 
[2026-07-13 09:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682231552001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24201887309889536,"note":"Value kept but may cause issues"} 
[2026-07-13 09:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757801036195860480,"note":"Value kept but may cause issues"} 
[2026-07-13 09:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783914968000,"timestamp_ms":1783914968000,"timestamp_seconds":1783914968,"priority":1,"record_length":96,"hex_timestamp":"0000019f599e33c0"} 
[2026-07-13 09:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-13 09:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":130393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":130393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":130393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682231552001,"66":14515,"177":206,"94":10240,"24":9,"16":24201887309889536,"45":757801036195860480},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-13 09:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682231552001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:26:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-13 09:26:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24201887309889536,"km_value":24201887309889.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":757801036195860480,"description":"Unknown IO ID 45"} 
[2026-07-13 09:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682231552001,"power":14515,"unknown_177":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":757801036195860480}} 
[2026-07-13 09:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":130393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479361,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:26:32] local.INFO: GPS data processed {"connection_id":130393,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:26:32] local.INFO: Acknowledgment sent {"connection_id":130393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:26:33] local.INFO: TCP Data received {"connection_id":130393,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f599e4f18012d0a93c00704e090001e005021..."} 
[2026-07-13 09:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599e4f18012d0a93c00704e090001e005021..."} 
[2026-07-13 09:26:33] local.INFO: Processing buffer {"connection_id":130393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599e4f18012d0a93c00704e090001e005021..."} 
[2026-07-13 09:26:33] local.INFO: Packet analysis {"connection_id":130393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599e"} 
[2026-07-13 09:26:33] local.INFO: Extracted packet for processing {"connection_id":130393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599e"} 
[2026-07-13 09:26:33] local.INFO: GPS Element Parsed {"raw_longitude":755667904,"raw_latitude":117760144,"longitude_deg":75.5667904,"latitude_deg":11.7760144,"altitude":30,"angle":80,"satellites":33,"speed":22,"hex_longitude":"2d0a93c0","hex_latitude":"0704e090","is_valid_coordinates":true} 
[2026-07-13 09:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682231808001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24202063403548672,"note":"Value kept but may cause issues"} 
[2026-07-13 09:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758012142428403712,"note":"Value kept but may cause issues"} 
[2026-07-13 09:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783914975000,"timestamp_ms":1783914975000,"timestamp_seconds":1783914975,"priority":1,"record_length":96,"hex_timestamp":"0000019f599e4f18"} 
[2026-07-13 09:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":179,"data_length":795,"current_offset":136} 
[2026-07-13 09:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":130393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":130393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":130393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682231808001,"66":14439,"177":206,"94":10240,"24":22,"16":24202063403548672,"45":758012142428403712},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-13 09:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682231808001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:26:33] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-13 09:26:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24202063403548672,"km_value":24202063403548.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":758012142428403712,"description":"Unknown IO ID 45"} 
[2026-07-13 09:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682231808001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":758012142428403712}} 
[2026-07-13 09:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":130393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479362,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:26:33] local.INFO: GPS data processed {"connection_id":130393,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:26:33] local.INFO: Acknowledgment sent {"connection_id":130393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:26:35] local.INFO: TCP Data received {"connection_id":132514,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:26:35] local.INFO: Processing buffer {"connection_id":132514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:26:35] local.INFO: IMEI packet received {"connection_id":132514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":132514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:26:40] local.INFO: TCP Data received {"connection_id":132514,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:26:40] local.INFO: Processing buffer {"connection_id":132514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:26:40] local.INFO: IMEI packet received {"connection_id":132514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":132514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:26:41] local.INFO: TCP Data received {"connection_id":132514,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f599aa1b0012d7f914005afd938000a011b23..."} 
[2026-07-13 09:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599aa1b0012d7f914005afd938000a011b23..."} 
[2026-07-13 09:26:41] local.INFO: Processing buffer {"connection_id":132514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599aa1b0012d7f914005afd938000a011b23..."} 
[2026-07-13 09:26:41] local.INFO: Packet analysis {"connection_id":132514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599a"} 
[2026-07-13 09:26:41] local.INFO: Extracted packet for processing {"connection_id":132514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599a"} 
[2026-07-13 09:26:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682094848001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783914734000,"timestamp_ms":1783914734000,"timestamp_seconds":1783914734,"priority":1,"record_length":96,"hex_timestamp":"0000019f599aa1b0"} 
[2026-07-13 09:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682094848001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682094848001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:26:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:26:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682094848001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":132514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:26:41] local.INFO: GPS data processed {"connection_id":132514,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:26:41] local.INFO: Acknowledgment sent {"connection_id":132514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:26:42] local.INFO: TCP Data received {"connection_id":131191,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:26:42] local.INFO: Processing buffer {"connection_id":131191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:26:42] local.INFO: IMEI packet received {"connection_id":131191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":131191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:26:43] local.INFO: TCP Data received {"connection_id":131191,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:26:43] local.INFO: Processing buffer {"connection_id":131191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:26:43] local.INFO: IMEI packet received {"connection_id":131191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":131191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:26:48] local.INFO: TCP Data received {"connection_id":131191,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:26:48] local.INFO: Processing buffer {"connection_id":131191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:26:48] local.INFO: IMEI packet received {"connection_id":131191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":131191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:26:49] local.INFO: TCP Data received {"connection_id":131191,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f599e3b90012d7b4ac005e14fe8000900a926..."} 
[2026-07-13 09:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599e3b90012d7b4ac005e14fe8000900a926..."} 
[2026-07-13 09:26:49] local.INFO: Processing buffer {"connection_id":131191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599e3b90012d7b4ac005e14fe8000900a926..."} 
[2026-07-13 09:26:49] local.INFO: Packet analysis {"connection_id":131191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599e"} 
[2026-07-13 09:26:49] local.INFO: Extracted packet for processing {"connection_id":131191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599e"} 
[2026-07-13 09:26:49] local.INFO: GPS Element Parsed {"raw_longitude":763054784,"raw_latitude":98652136,"longitude_deg":76.3054784,"latitude_deg":9.8652136,"altitude":9,"angle":169,"satellites":38,"speed":44,"hex_longitude":"2d7b4ac0","hex_latitude":"05e14fe8","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682230272001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105725499073888256,"note":"Value kept but may cause issues"} 
[2026-07-13 09:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882294759082999808,"note":"Value kept but may cause issues"} 
[2026-07-13 09:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783914970000,"timestamp_ms":1783914970000,"timestamp_seconds":1783914970,"priority":1,"record_length":96,"hex_timestamp":"0000019f599e3b90"} 
[2026-07-13 09:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 09:26:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 09:26:49] local.WARNING: Large IO value detected {"io_id":156,"raw_value":-1186697206960652283,"note":"Value kept but may cause issues"} 
[2026-07-13 09:26:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788848,"note":"Value kept but may cause issues"} 
[2026-07-13 09:26:49] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2641647617,"note":"Value kept but may cause issues"} 
[2026-07-13 09:26:49] local.WARNING: Large IO value detected {"io_id":226,"raw_value":8014155588456556288,"note":"Value kept but may cause issues"} 
[2026-07-13 09:26:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791309518,"corrected_to":0} 
[2026-07-13 09:26:49] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147869222,"note":"Value kept but may cause issues"} 
[2026-07-13 09:26:49] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3976252838,"note":"Value kept but may cause issues"} 
[2026-07-13 09:26:49] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2589392896,"note":"Value kept but may cause issues"} 
[2026-07-13 09:26:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3796525056,"note":"Value kept but may cause issues"} 
[2026-07-13 09:26:49] local.WARNING: Large IO value detected {"io_id":184,"raw_value":57885301486277947,"note":"Value kept but may cause issues"} 
[2026-07-13 09:26:49] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,169,85,24,241,157,16,156,159,249,45,192,152,10,37,66,96,155,194,186,8,36,1,240,220,227,89,226,4,113,205,34,73,51,104,43,239,50,2,119,5,11,33,184],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2791309518,"validated":0}]} 
[2026-07-13 09:26:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720763029157904384,"timestamp_seconds":720763029157904.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 09:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682230272001,"66":13428,"169":206,"85":15104,"24":44,"16":105725499073888256,"45":8882294759082999808},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-13 09:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682230272001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:26:49] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-13 09:26:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105725499073888256,"km_value":105725499073888.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882294759082999808,"description":"Unknown IO ID 45"} 
[2026-07-13 09:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682230272001,"power":13428,"unknown_169":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8882294759082999808}} 
[2026-07-13 09:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":131191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479364,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:26:49] local.INFO: GPS data processed {"connection_id":131191,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:26:49] local.INFO: Acknowledgment sent {"connection_id":131191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:27:05] local.INFO: TCP Data received {"connection_id":130393,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f599e5300012d0a96000704e148001e004422..."} 
[2026-07-13 09:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599e5300012d0a96000704e148001e004422..."} 
[2026-07-13 09:27:05] local.INFO: Processing buffer {"connection_id":130393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599e5300012d0a96000704e148001e004422..."} 
[2026-07-13 09:27:05] local.INFO: Packet analysis {"connection_id":130393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599e"} 
[2026-07-13 09:27:05] local.INFO: Extracted packet for processing {"connection_id":130393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599e"} 
[2026-07-13 09:27:05] local.INFO: GPS Element Parsed {"raw_longitude":755668480,"raw_latitude":117760328,"longitude_deg":75.566848,"latitude_deg":11.7760328,"altitude":30,"angle":68,"satellites":34,"speed":20,"hex_longitude":"2d0a9600","hex_latitude":"0704e148","is_valid_coordinates":true} 
[2026-07-13 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-07-13 09:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682233600001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24202093468319744,"note":"Value kept but may cause issues"} 
[2026-07-13 09:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":762163898334875648,"note":"Value kept but may cause issues"} 
[2026-07-13 09:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783914976000,"timestamp_ms":1783914976000,"timestamp_seconds":1783914976,"priority":1,"record_length":96,"hex_timestamp":"0000019f599e5300"} 
[2026-07-13 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-07-13 09:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 09:27: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-07-13 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-07-13 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-07-13 09:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682233600001,"66":13830,"177":206,"94":10240,"24":20,"16":24202093468319744,"45":762163898334875648},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-13 09:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682233600001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:27:05] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-13 09:27:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24202093468319744,"km_value":24202093468319.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":762163898334875648,"description":"Unknown IO ID 45"} 
[2026-07-13 09:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682233600001,"power":13830,"unknown_177":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":762163898334875648}} 
[2026-07-13 09:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":130393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479365,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:27:05] local.INFO: GPS data processed {"connection_id":130393,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:27:05] local.INFO: Acknowledgment sent {"connection_id":130393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:27:12] local.INFO: TCP Data received {"connection_id":132514,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f599aa1b0012d7f914005afd938000a011b23..."} 
[2026-07-13 09:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599aa1b0012d7f914005afd938000a011b23..."} 
[2026-07-13 09:27:12] local.INFO: Processing buffer {"connection_id":132514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599aa1b0012d7f914005afd938000a011b23..."} 
[2026-07-13 09:27:12] local.INFO: Packet analysis {"connection_id":132514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599a"} 
[2026-07-13 09:27:12] local.INFO: Extracted packet for processing {"connection_id":132514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599a"} 
[2026-07-13 09:27:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682094848001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783914734000,"timestamp_ms":1783914734000,"timestamp_seconds":1783914734,"priority":1,"record_length":96,"hex_timestamp":"0000019f599aa1b0"} 
[2026-07-13 09:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682094848001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682094848001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:27:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:27:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682094848001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":132514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:27:12] local.INFO: GPS data processed {"connection_id":132514,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:27:12] local.INFO: Acknowledgment sent {"connection_id":132514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:27:21] local.INFO: TCP Data received {"connection_id":131191,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f599e5ad0012d7b518005e12b38000600aa25..."} 
[2026-07-13 09:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599e5ad0012d7b518005e12b38000600aa25..."} 
[2026-07-13 09:27:21] local.INFO: Processing buffer {"connection_id":131191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599e5ad0012d7b518005e12b38000600aa25..."} 
[2026-07-13 09:27:21] local.INFO: Packet analysis {"connection_id":131191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599e"} 
[2026-07-13 09:27:21] local.INFO: Extracted packet for processing {"connection_id":131191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599e"} 
[2026-07-13 09:27:21] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98642744,"longitude_deg":76.3056512,"latitude_deg":9.8642744,"altitude":6,"angle":170,"satellites":37,"speed":50,"hex_longitude":"2d7b5180","hex_latitude":"05e12b38","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682232320001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105725958635388928,"note":"Value kept but may cause issues"} 
[2026-07-13 09:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884124346429204480,"note":"Value kept but may cause issues"} 
[2026-07-13 09:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783914978000,"timestamp_ms":1783914978000,"timestamp_seconds":1783914978,"priority":1,"record_length":96,"hex_timestamp":"0000019f599e5ad0"} 
[2026-07-13 09:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":116,"data_length":795,"current_offset":136} 
[2026-07-13 09:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09: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-07-13 09:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":131191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":131191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":131191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682232320001,"66":13341,"169":206,"85":15104,"24":50,"16":105725958635388928,"45":8884124346429204480},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-13 09:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682232320001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:27:21] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-13 09:27:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105725958635388928,"km_value":105725958635388.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884124346429204480,"description":"Unknown IO ID 45"} 
[2026-07-13 09:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682232320001,"power":13341,"unknown_169":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8884124346429204480}} 
[2026-07-13 09:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":131191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:27:21] local.INFO: GPS data processed {"connection_id":131191,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:27:21] local.INFO: Acknowledgment sent {"connection_id":131191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:27:24] local.INFO: TCP Data received {"connection_id":131192,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131192,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:27:24] local.INFO: Processing buffer {"connection_id":131192,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:27:24] local.INFO: IMEI packet received {"connection_id":131192,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":131192,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:27:28] local.INFO: TCP Data received {"connection_id":131192,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131192,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:27:28] local.INFO: Processing buffer {"connection_id":131192,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:27:28] local.INFO: IMEI packet received {"connection_id":131192,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":131192,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:27:34] local.INFO: TCP Data received {"connection_id":131192,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131192,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:27:34] local.INFO: Processing buffer {"connection_id":131192,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:27:34] local.INFO: IMEI packet received {"connection_id":131192,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":131192,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:27:34] local.INFO: TCP Data received {"connection_id":131192,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f599f4530012d0b52c00704f388001d006321..."} 
[2026-07-13 09:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599f4530012d0b52c00704f388001d006321..."} 
[2026-07-13 09:27:34] local.INFO: Processing buffer {"connection_id":131192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599f4530012d0b52c00704f388001d006321..."} 
[2026-07-13 09:27:34] local.INFO: Packet analysis {"connection_id":131192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599f"} 
[2026-07-13 09:27:34] local.INFO: Extracted packet for processing {"connection_id":131192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599f"} 
[2026-07-13 09:27:34] local.INFO: GPS Element Parsed {"raw_longitude":755716800,"raw_latitude":117765000,"longitude_deg":75.57168,"latitude_deg":11.7765,"altitude":29,"angle":99,"satellites":33,"speed":36,"hex_longitude":"2d0b52c0","hex_latitude":"0704f388","is_valid_coordinates":true} 
[2026-07-13 09:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682247424001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24204537304711168,"note":"Value kept but may cause issues"} 
[2026-07-13 09:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":805933257214920704,"note":"Value kept but may cause issues"} 
[2026-07-13 09:27: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-07-13 09:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783915038000,"timestamp_ms":1783915038000,"timestamp_seconds":1783915038,"priority":1,"record_length":96,"hex_timestamp":"0000019f599f4530"} 
[2026-07-13 09:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:27: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-07-13 09: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":60,"data_length":795,"current_offset":136} 
[2026-07-13 09:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":131192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":131192,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":131192,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682247424001,"66":14374,"177":206,"94":10240,"24":36,"16":24204537304711168,"45":805933257214920704},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-13 09:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682247424001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:27:34] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-13 09:27:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24204537304711168,"km_value":24204537304711.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":805933257214920704,"description":"Unknown IO ID 45"} 
[2026-07-13 09:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682247424001,"power":14374,"unknown_177":206,"unknown_94":10240,"ignition":36,"odometer":null,"unknown_45":805933257214920704}} 
[2026-07-13 09:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":131192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479368,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:27:34] local.INFO: GPS data processed {"connection_id":131192,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:27:34] local.INFO: Acknowledgment sent {"connection_id":131192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:27:35] local.INFO: TCP Data received {"connection_id":132516,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:27:35] local.INFO: Processing buffer {"connection_id":132516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:27:35] local.INFO: IMEI packet received {"connection_id":132516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":132516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:27:40] local.INFO: TCP Data received {"connection_id":132516,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:27:40] local.INFO: Processing buffer {"connection_id":132516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:27:40] local.INFO: IMEI packet received {"connection_id":132516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":132516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:27:41] local.INFO: TCP Data received {"connection_id":132516,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f599aa1b0012d7f914005afd938000a011b23..."} 
[2026-07-13 09:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599aa1b0012d7f914005afd938000a011b23..."} 
[2026-07-13 09:27:41] local.INFO: Processing buffer {"connection_id":132516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599aa1b0012d7f914005afd938000a011b23..."} 
[2026-07-13 09:27:41] local.INFO: Packet analysis {"connection_id":132516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599a"} 
[2026-07-13 09:27:41] local.INFO: Extracted packet for processing {"connection_id":132516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599a"} 
[2026-07-13 09:27:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682094848001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783914734000,"timestamp_ms":1783914734000,"timestamp_seconds":1783914734,"priority":1,"record_length":96,"hex_timestamp":"0000019f599aa1b0"} 
[2026-07-13 09:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682094848001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682094848001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:27:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:27:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682094848001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":132516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:27:41] local.INFO: GPS data processed {"connection_id":132516,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:27:41] local.INFO: Acknowledgment sent {"connection_id":132516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:27:43] local.INFO: TCP Data received {"connection_id":132518,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132518,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:27:43] local.INFO: Processing buffer {"connection_id":132518,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:27:43] local.INFO: IMEI packet received {"connection_id":132518,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":132518,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:27:44] local.INFO: TCP Data received {"connection_id":132518,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132518,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:27:44] local.INFO: Processing buffer {"connection_id":132518,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:27:44] local.INFO: IMEI packet received {"connection_id":132518,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":132518,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:27:48] local.INFO: TCP Data received {"connection_id":132518,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132518,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:27:48] local.INFO: Processing buffer {"connection_id":132518,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:27:48] local.INFO: IMEI packet received {"connection_id":132518,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":132518,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:27:49] local.INFO: TCP Data received {"connection_id":132518,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f599e7a10012d7b580005e10478000700a827..."} 
[2026-07-13 09:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599e7a10012d7b580005e10478000700a827..."} 
[2026-07-13 09:27:49] local.INFO: Processing buffer {"connection_id":132518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599e7a10012d7b580005e10478000700a827..."} 
[2026-07-13 09:27:49] local.INFO: Packet analysis {"connection_id":132518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599e"} 
[2026-07-13 09:27:49] local.INFO: Extracted packet for processing {"connection_id":132518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599e"} 
[2026-07-13 09:27:49] local.INFO: GPS Element Parsed {"raw_longitude":763058176,"raw_latitude":98632824,"longitude_deg":76.3058176,"latitude_deg":9.8632824,"altitude":7,"angle":168,"satellites":39,"speed":51,"hex_longitude":"2d7b5800","hex_latitude":"05e10478","is_valid_coordinates":true} 
[2026-07-13 09:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682234368001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105726448261660672,"note":"Value kept but may cause issues"} 
[2026-07-13 09:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886024302519597056,"note":"Value kept but may cause issues"} 
[2026-07-13 09:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783914986000,"timestamp_ms":1783914986000,"timestamp_seconds":1783914986,"priority":1,"record_length":96,"hex_timestamp":"0000019f599e7a10"} 
[2026-07-13 09:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-13 09:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682234368001,"66":13417,"169":206,"85":15104,"24":51,"16":105726448261660672,"45":8886024302519597056},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-13 09:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682234368001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:27:49] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-13 09:27:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105726448261660672,"km_value":105726448261660.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886024302519597056,"description":"Unknown IO ID 45"} 
[2026-07-13 09:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682234368001,"power":13417,"unknown_169":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8886024302519597056}} 
[2026-07-13 09:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":132518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:27:49] local.INFO: GPS data processed {"connection_id":132518,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:27:49] local.INFO: Acknowledgment sent {"connection_id":132518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:28:05] local.INFO: TCP Data received {"connection_id":131192,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f599f54d0012d0b5cc00704f130001d007721..."} 
[2026-07-13 09:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599f54d0012d0b5cc00704f130001d007721..."} 
[2026-07-13 09:28:05] local.INFO: Processing buffer {"connection_id":131192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599f54d0012d0b5cc00704f130001d007721..."} 
[2026-07-13 09:28:05] local.INFO: Packet analysis {"connection_id":131192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599f"} 
[2026-07-13 09:28:05] local.INFO: Extracted packet for processing {"connection_id":131192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599f"} 
[2026-07-13 09:28:05] local.INFO: GPS Element Parsed {"raw_longitude":755719360,"raw_latitude":117764400,"longitude_deg":75.571936,"latitude_deg":11.77644,"altitude":29,"angle":119,"satellites":33,"speed":15,"hex_longitude":"2d0b5cc0","hex_latitude":"0704f130","is_valid_coordinates":true} 
[2026-07-13 09:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682249728001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24204666153730048,"note":"Value kept but may cause issues"} 
[2026-07-13 09:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815925618887854080,"note":"Value kept but may cause issues"} 
[2026-07-13 09:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783915042000,"timestamp_ms":1783915042000,"timestamp_seconds":1783915042,"priority":1,"record_length":96,"hex_timestamp":"0000019f599f54d0"} 
[2026-07-13 09:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":38,"data_length":795,"current_offset":136} 
[2026-07-13 09:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":131192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":131192,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":131192,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682249728001,"66":14559,"96":206,"94":10240,"24":15,"16":24204666153730048,"45":815925618887854080},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-13 09:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682249728001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:28:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 09:28:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24204666153730048,"km_value":24204666153730.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":815925618887854080,"description":"Unknown IO ID 45"} 
[2026-07-13 09:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682249728001,"power":14559,"unknown_96":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":815925618887854080}} 
[2026-07-13 09:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":131192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479371,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:28:05] local.INFO: GPS data processed {"connection_id":131192,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:28:05] local.INFO: Acknowledgment sent {"connection_id":131192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:28:12] local.INFO: TCP Data received {"connection_id":132516,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f599f3978012d7f914005afd938000a011b21..."} 
[2026-07-13 09:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599f3978012d7f914005afd938000a011b21..."} 
[2026-07-13 09:28:12] local.INFO: Processing buffer {"connection_id":132516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599f3978012d7f914005afd938000a011b21..."} 
[2026-07-13 09:28:12] local.INFO: Packet analysis {"connection_id":132516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599f"} 
[2026-07-13 09:28:12] local.INFO: Extracted packet for processing {"connection_id":132516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599f"} 
[2026-07-13 09:28:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682171904001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783915035000,"timestamp_ms":1783915035000,"timestamp_seconds":1783915035,"priority":1,"record_length":96,"hex_timestamp":"0000019f599f3978"} 
[2026-07-13 09:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 09:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682171904001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682171904001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:28:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:28:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682171904001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":132516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:28:12] local.INFO: GPS data processed {"connection_id":132516,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:28:12] local.INFO: Acknowledgment sent {"connection_id":132516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:28:20] local.INFO: TCP Data received {"connection_id":132518,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f599fe170012d7b93c005df5178000300ad24..."} 
[2026-07-13 09:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599fe170012d7b93c005df5178000300ad24..."} 
[2026-07-13 09:28:20] local.INFO: Processing buffer {"connection_id":132518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599fe170012d7b93c005df5178000300ad24..."} 
[2026-07-13 09:28:20] local.INFO: Packet analysis {"connection_id":132518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599f"} 
[2026-07-13 09:28:20] local.INFO: Extracted packet for processing {"connection_id":132518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599f"} 
[2026-07-13 09:28:20] local.INFO: GPS Element Parsed {"raw_longitude":763073472,"raw_latitude":98521464,"longitude_deg":76.3073472,"latitude_deg":9.8521464,"altitude":3,"angle":173,"satellites":36,"speed":48,"hex_longitude":"2d7b93c0","hex_latitude":"05df5178","is_valid_coordinates":true} 
[2026-07-13 09:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682257920001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105731898575159296,"note":"Value kept but may cause issues"} 
[2026-07-13 09:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903475751047041024,"note":"Value kept but may cause issues"} 
[2026-07-13 09:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783915078000,"timestamp_ms":1783915078000,"timestamp_seconds":1783915078,"priority":1,"record_length":96,"hex_timestamp":"0000019f599fe170"} 
[2026-07-13 09:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-13 09:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":132518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":132518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":132518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682257920001,"66":13341,"36":206,"85":15104,"24":48,"16":105731898575159296,"45":8903475751047041024},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-07-13 09:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682257920001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:28:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-13 09:28:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105731898575159296,"km_value":105731898575159.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903475751047041024,"description":"Unknown IO ID 45"} 
[2026-07-13 09:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682257920001,"power":13341,"unknown_36":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8903475751047041024}} 
[2026-07-13 09:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":132518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:28:20] local.INFO: GPS data processed {"connection_id":132518,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:28:20] local.INFO: Acknowledgment sent {"connection_id":132518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:28:26] local.INFO: TCP Data received {"connection_id":130394,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130394,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:28:26] local.INFO: Processing buffer {"connection_id":130394,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:28:26] local.INFO: IMEI packet received {"connection_id":130394,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":130394,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:28:27] local.INFO: TCP Data received {"connection_id":130394,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130394,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:28:27] local.INFO: Processing buffer {"connection_id":130394,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:28:27] local.INFO: IMEI packet received {"connection_id":130394,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":130394,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:28:33] local.INFO: TCP Data received {"connection_id":130394,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130394,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:28:33] local.INFO: Processing buffer {"connection_id":130394,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:28:33] local.INFO: IMEI packet received {"connection_id":130394,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":130394,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:28:33] local.INFO: TCP Data received {"connection_id":130394,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a000b0012d0b6ac00704c758001d005a24..."} 
[2026-07-13 09:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a000b0012d0b6ac00704c758001d005a24..."} 
[2026-07-13 09:28:33] local.INFO: Processing buffer {"connection_id":130394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a000b0012d0b6ac00704c758001d005a24..."} 
[2026-07-13 09:28:33] local.INFO: Packet analysis {"connection_id":130394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a0"} 
[2026-07-13 09:28:33] local.INFO: Extracted packet for processing {"connection_id":130394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a0"} 
[2026-07-13 09:28:33] local.INFO: GPS Element Parsed {"raw_longitude":755722944,"raw_latitude":117753688,"longitude_deg":75.5722944,"latitude_deg":11.7753688,"altitude":29,"angle":90,"satellites":36,"speed":22,"hex_longitude":"2d0b6ac0","hex_latitude":"0704c758","is_valid_coordinates":true} 
[2026-07-13 09:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682261760001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24205258859216896,"note":"Value kept but may cause issues"} 
[2026-07-13 09:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822047699628419072,"note":"Value kept but may cause issues"} 
[2026-07-13 09:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783915086000,"timestamp_ms":1783915086000,"timestamp_seconds":1783915086,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a000b0"} 
[2026-07-13 09:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-13 09:28: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-07-13 09:28:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":130394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":130394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":130394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682261760001,"66":14407,"96":206,"94":10240,"24":22,"16":24205258859216896,"45":822047699628419072},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-13 09:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682261760001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:28:33] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 09:28:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24205258859216896,"km_value":24205258859216.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":822047699628419072,"description":"Unknown IO ID 45"} 
[2026-07-13 09:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682261760001,"power":14407,"unknown_96":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":822047699628419072}} 
[2026-07-13 09:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":130394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479374,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:28:33] local.INFO: GPS data processed {"connection_id":130394,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:28:33] local.INFO: Acknowledgment sent {"connection_id":130394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:28:35] local.INFO: TCP Data received {"connection_id":132519,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:28:35] local.INFO: Processing buffer {"connection_id":132519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:28:35] local.INFO: IMEI packet received {"connection_id":132519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":132519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:28:40] local.INFO: TCP Data received {"connection_id":132519,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:28:40] local.INFO: Processing buffer {"connection_id":132519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:28:40] local.INFO: IMEI packet received {"connection_id":132519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":132519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:28:41] local.INFO: TCP Data received {"connection_id":132519,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f599f3978012d7f914005afd938000a011b21..."} 
[2026-07-13 09:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599f3978012d7f914005afd938000a011b21..."} 
[2026-07-13 09:28:41] local.INFO: Processing buffer {"connection_id":132519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599f3978012d7f914005afd938000a011b21..."} 
[2026-07-13 09:28:41] local.INFO: Packet analysis {"connection_id":132519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599f"} 
[2026-07-13 09:28:41] local.INFO: Extracted packet for processing {"connection_id":132519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599f"} 
[2026-07-13 09:28:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682171904001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783915035000,"timestamp_ms":1783915035000,"timestamp_seconds":1783915035,"priority":1,"record_length":96,"hex_timestamp":"0000019f599f3978"} 
[2026-07-13 09:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 09:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682171904001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682171904001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:28:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:28:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682171904001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":132519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:28:41] local.INFO: GPS data processed {"connection_id":132519,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:28:41] local.INFO: Acknowledgment sent {"connection_id":132519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:28:42] local.INFO: TCP Data received {"connection_id":130192,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:28:42] local.INFO: Processing buffer {"connection_id":130192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:28:42] local.INFO: IMEI packet received {"connection_id":130192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":130192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:28:43] local.INFO: TCP Data received {"connection_id":130192,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:28:43] local.INFO: Processing buffer {"connection_id":130192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:28:43] local.INFO: IMEI packet received {"connection_id":130192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":130192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:28:48] local.INFO: TCP Data received {"connection_id":130192,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:28:48] local.INFO: Processing buffer {"connection_id":130192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:28:48] local.INFO: IMEI packet received {"connection_id":130192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":130192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:28:49] local.INFO: TCP Data received {"connection_id":130192,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a000b0012d7b96c005df2b78000400af26..."} 
[2026-07-13 09:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a000b0012d7b96c005df2b78000400af26..."} 
[2026-07-13 09:28:49] local.INFO: Processing buffer {"connection_id":130192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a000b0012d7b96c005df2b78000400af26..."} 
[2026-07-13 09:28:49] local.INFO: Packet analysis {"connection_id":130192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a0"} 
[2026-07-13 09:28:49] local.INFO: Extracted packet for processing {"connection_id":130192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a0"} 
[2026-07-13 09:28:49] local.INFO: GPS Element Parsed {"raw_longitude":763074240,"raw_latitude":98511736,"longitude_deg":76.307424,"latitude_deg":9.8511736,"altitude":4,"angle":175,"satellites":38,"speed":49,"hex_longitude":"2d7b96c0","hex_latitude":"05df2b78","is_valid_coordinates":true} 
[2026-07-13 09:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682259968001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105732371021561856,"note":"Value kept but may cause issues"} 
[2026-07-13 09:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904672019695630336,"note":"Value kept but may cause issues"} 
[2026-07-13 09:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783915086000,"timestamp_ms":1783915086000,"timestamp_seconds":1783915086,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a000b0"} 
[2026-07-13 09:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-13 09:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682259968001,"66":13254,"36":206,"85":15104,"24":49,"16":105732371021561856,"45":8904672019695630336},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-07-13 09:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682259968001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:28:49] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-13 09:28:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105732371021561856,"km_value":105732371021561.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904672019695630336,"description":"Unknown IO ID 45"} 
[2026-07-13 09:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682259968001,"power":13254,"unknown_36":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8904672019695630336}} 
[2026-07-13 09:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":130192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:28:49] local.INFO: GPS data processed {"connection_id":130192,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:28:49] local.INFO: Acknowledgment sent {"connection_id":130192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:29:05] local.INFO: TCP Data received {"connection_id":130394,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a0ac90012d0bba000704d458001c015825..."} 
[2026-07-13 09:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a0ac90012d0bba000704d458001c015825..."} 
[2026-07-13 09:29:05] local.INFO: Processing buffer {"connection_id":130394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a0ac90012d0bba000704d458001c015825..."} 
[2026-07-13 09:29:05] local.INFO: Packet analysis {"connection_id":130394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a0"} 
[2026-07-13 09:29:05] local.INFO: Extracted packet for processing {"connection_id":130394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a0"} 
[2026-07-13 09:29:05] local.INFO: GPS Element Parsed {"raw_longitude":755743232,"raw_latitude":117757016,"longitude_deg":75.5743232,"latitude_deg":11.7757016,"altitude":28,"angle":344,"satellites":37,"speed":26,"hex_longitude":"2d0bba00","hex_latitude":"0704d458","is_valid_coordinates":true} 
[2026-07-13 09:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682270720001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24206590299078656,"note":"Value kept but may cause issues"} 
[2026-07-13 09:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":844847172741398528,"note":"Value kept but may cause issues"} 
[2026-07-13 09:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783915130000,"timestamp_ms":1783915130000,"timestamp_seconds":1783915130,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a0ac90"} 
[2026-07-13 09:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-13 09:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682270720001,"66":14439,"96":206,"94":10240,"24":26,"16":24206590299078656,"45":844847172741398528},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-13 09:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682270720001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:29:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 09:29:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24206590299078656,"km_value":24206590299078.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":844847172741398528,"description":"Unknown IO ID 45"} 
[2026-07-13 09:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682270720001,"power":14439,"unknown_96":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":844847172741398528}} 
[2026-07-13 09:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":130394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479377,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:29:05] local.INFO: GPS data processed {"connection_id":130394,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:29:05] local.INFO: Acknowledgment sent {"connection_id":130394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:29:12] local.INFO: TCP Data received {"connection_id":132519,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f599f3978012d7f914005afd938000a011b21..."} 
[2026-07-13 09:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599f3978012d7f914005afd938000a011b21..."} 
[2026-07-13 09:29:12] local.INFO: Processing buffer {"connection_id":132519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599f3978012d7f914005afd938000a011b21..."} 
[2026-07-13 09:29:12] local.INFO: Packet analysis {"connection_id":132519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599f"} 
[2026-07-13 09:29:12] local.INFO: Extracted packet for processing {"connection_id":132519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599f"} 
[2026-07-13 09:29:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682171904001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783915035000,"timestamp_ms":1783915035000,"timestamp_seconds":1783915035,"priority":1,"record_length":96,"hex_timestamp":"0000019f599f3978"} 
[2026-07-13 09:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 09:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682171904001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682171904001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:29:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:29:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682171904001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":132519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:29:12] local.INFO: GPS data processed {"connection_id":132519,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:29:12] local.INFO: Acknowledgment sent {"connection_id":132519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:29:21] local.INFO: TCP Data received {"connection_id":130192,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a01ff0012d7b99c005df05e0000500af25..."} 
[2026-07-13 09:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a01ff0012d7b99c005df05e0000500af25..."} 
[2026-07-13 09:29:21] local.INFO: Processing buffer {"connection_id":130192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a01ff0012d7b99c005df05e0000500af25..."} 
[2026-07-13 09:29:21] local.INFO: Packet analysis {"connection_id":130192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a0"} 
[2026-07-13 09:29:21] local.INFO: Extracted packet for processing {"connection_id":130192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a0"} 
[2026-07-13 09:29:21] local.INFO: GPS Element Parsed {"raw_longitude":763075008,"raw_latitude":98502112,"longitude_deg":76.3075008,"latitude_deg":9.8502112,"altitude":5,"angle":175,"satellites":37,"speed":44,"hex_longitude":"2d7b99c0","hex_latitude":"05df05e0","is_valid_coordinates":true} 
[2026-07-13 09:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682262016001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105732839172997120,"note":"Value kept but may cause issues"} 
[2026-07-13 09:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905516444623271936,"note":"Value kept but may cause issues"} 
[2026-07-13 09:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783915094000,"timestamp_ms":1783915094000,"timestamp_seconds":1783915094,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a01ff0"} 
[2026-07-13 09:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-13 09:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":130192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":130192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":130192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682262016001,"66":13222,"36":206,"85":15104,"24":44,"16":105732839172997120,"45":8905516444623271936},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-07-13 09:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682262016001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:29:21] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-13 09:29:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105732839172997120,"km_value":105732839172997.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905516444623271936,"description":"Unknown IO ID 45"} 
[2026-07-13 09:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682262016001,"power":13222,"unknown_36":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8905516444623271936}} 
[2026-07-13 09:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":130192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:29:21] local.INFO: GPS data processed {"connection_id":130192,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:29:21] local.INFO: Acknowledgment sent {"connection_id":130192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:29:28] local.INFO: TCP Data received {"connection_id":130193,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130193,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:29:28] local.INFO: Processing buffer {"connection_id":130193,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:29:28] local.INFO: IMEI packet received {"connection_id":130193,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":130193,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:29:28] local.INFO: TCP Data received {"connection_id":130193,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130193,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:29:28] local.INFO: Processing buffer {"connection_id":130193,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:29:28] local.INFO: IMEI packet received {"connection_id":130193,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":130193,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:29:35] local.INFO: TCP Data received {"connection_id":132520,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:29:35] local.INFO: Processing buffer {"connection_id":132520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:29:35] local.INFO: IMEI packet received {"connection_id":132520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":132520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:29:40] local.INFO: TCP Data received {"connection_id":132520,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:29:40] local.INFO: Processing buffer {"connection_id":132520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:29:40] local.INFO: IMEI packet received {"connection_id":132520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":132520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:29:41] local.INFO: TCP Data received {"connection_id":132520,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f599f3978012d7f914005afd938000a011b21..."} 
[2026-07-13 09:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599f3978012d7f914005afd938000a011b21..."} 
[2026-07-13 09:29:41] local.INFO: Processing buffer {"connection_id":132520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599f3978012d7f914005afd938000a011b21..."} 
[2026-07-13 09:29:41] local.INFO: Packet analysis {"connection_id":132520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599f"} 
[2026-07-13 09:29:41] local.INFO: Extracted packet for processing {"connection_id":132520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599f"} 
[2026-07-13 09:29:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682171904001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783915035000,"timestamp_ms":1783915035000,"timestamp_seconds":1783915035,"priority":1,"record_length":96,"hex_timestamp":"0000019f599f3978"} 
[2026-07-13 09:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 09:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682171904001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682171904001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:29:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:29:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682171904001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":132520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:29:41] local.INFO: GPS data processed {"connection_id":132520,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:29:41] local.INFO: Acknowledgment sent {"connection_id":132520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:29:41] local.INFO: TCP Data received {"connection_id":130193,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130193,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:29:41] local.INFO: Processing buffer {"connection_id":130193,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:29:41] local.INFO: IMEI packet received {"connection_id":130193,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":130193,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:29:43] local.INFO: TCP Data received {"connection_id":130395,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:29:43] local.INFO: Processing buffer {"connection_id":130395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:29:43] local.INFO: IMEI packet received {"connection_id":130395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":130395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:29:48] local.INFO: TCP Data received {"connection_id":130395,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:29:48] local.INFO: Processing buffer {"connection_id":130395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:29:48] local.INFO: IMEI packet received {"connection_id":130395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":130395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:29:49] local.INFO: TCP Data received {"connection_id":130395,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a04700012d7b9c8005dee0c8000600b025..."} 
[2026-07-13 09:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a04700012d7b9c8005dee0c8000600b025..."} 
[2026-07-13 09:29:49] local.INFO: Processing buffer {"connection_id":130395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a04700012d7b9c8005dee0c8000600b025..."} 
[2026-07-13 09:29:49] local.INFO: Packet analysis {"connection_id":130395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a0"} 
[2026-07-13 09:29:49] local.INFO: Extracted packet for processing {"connection_id":130395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a0"} 
[2026-07-13 09:29:49] local.INFO: GPS Element Parsed {"raw_longitude":763075712,"raw_latitude":98492616,"longitude_deg":76.3075712,"latitude_deg":9.8492616,"altitude":6,"angle":176,"satellites":37,"speed":38,"hex_longitude":"2d7b9c80","hex_latitude":"05dee0c8","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682264064001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105733303029465088,"note":"Value kept but may cause issues"} 
[2026-07-13 09:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906360869550940160,"note":"Value kept but may cause issues"} 
[2026-07-13 09:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783915104000,"timestamp_ms":1783915104000,"timestamp_seconds":1783915104,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a04700"} 
[2026-07-13 09:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-13 09:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09: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-07-13 09:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682264064001,"66":13048,"49":206,"85":15104,"24":38,"16":105733303029465088,"45":8906360869550940160},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-13 09:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682264064001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:29:49] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-13 09:29:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105733303029465088,"km_value":105733303029465.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906360869550940160,"description":"Unknown IO ID 45"} 
[2026-07-13 09:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682264064001,"power":13048,"unknown_49":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8906360869550940160}} 
[2026-07-13 09:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":130395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:29:49] local.INFO: GPS data processed {"connection_id":130395,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:29:49] local.INFO: Acknowledgment sent {"connection_id":130395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:29:49] local.INFO: TCP Data received {"connection_id":130193,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a0bc30012d0bb6800704df28001d016524..."} 
[2026-07-13 09:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a0bc30012d0bb6800704df28001d016524..."} 
[2026-07-13 09:29:49] local.INFO: Processing buffer {"connection_id":130193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a0bc30012d0bb6800704df28001d016524..."} 
[2026-07-13 09:29:49] local.INFO: Packet analysis {"connection_id":130193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a0"} 
[2026-07-13 09:29:49] local.INFO: Extracted packet for processing {"connection_id":130193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a0"} 
[2026-07-13 09:29:49] local.INFO: GPS Element Parsed {"raw_longitude":755742336,"raw_latitude":117759784,"longitude_deg":75.5742336,"latitude_deg":11.7759784,"altitude":29,"angle":357,"satellites":36,"speed":30,"hex_longitude":"2d0bb680","hex_latitude":"0704df28","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682273280001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24206732032999424,"note":"Value kept but may cause issues"} 
[2026-07-13 09:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":844987910231185408,"note":"Value kept but may cause issues"} 
[2026-07-13 09:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783915134000,"timestamp_ms":1783915134000,"timestamp_seconds":1783915134,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a0bc30"} 
[2026-07-13 09:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:29: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-07-13 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 09:29: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-07-13 09: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-07-13 09:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130193,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130193,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682273280001,"66":13722,"96":206,"94":10240,"24":30,"16":24206732032999424,"45":844987910231185408},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-13 09:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682273280001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:29:49] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 09:29:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24206732032999424,"km_value":24206732032999.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":844987910231185408,"description":"Unknown IO ID 45"} 
[2026-07-13 09:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682273280001,"power":13722,"unknown_96":206,"unknown_94":10240,"ignition":30,"odometer":null,"unknown_45":844987910231185408}} 
[2026-07-13 09:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":130193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479382,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:29:49] local.INFO: GPS data processed {"connection_id":130193,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:29:49] local.INFO: Acknowledgment sent {"connection_id":130193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:29:50] local.INFO: TCP Data received {"connection_id":130193,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a16428012d0bc60007052b200027004325..."} 
[2026-07-13 09:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a16428012d0bc60007052b200027004325..."} 
[2026-07-13 09:29:50] local.INFO: Processing buffer {"connection_id":130193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a16428012d0bc60007052b200027004325..."} 
[2026-07-13 09:29:50] local.INFO: Packet analysis {"connection_id":130193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a1"} 
[2026-07-13 09:29:50] local.INFO: Extracted packet for processing {"connection_id":130193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a1"} 
[2026-07-13 09:29:50] local.INFO: GPS Element Parsed {"raw_longitude":755746304,"raw_latitude":117779232,"longitude_deg":75.5746304,"latitude_deg":11.7779232,"altitude":39,"angle":67,"satellites":37,"speed":13,"hex_longitude":"2d0bc600","hex_latitude":"07052b20","is_valid_coordinates":true} 
[2026-07-13 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-07-13 09:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682284800001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24207737055346688,"note":"Value kept but may cause issues"} 
[2026-07-13 09:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":847591553771366400,"note":"Value kept but may cause issues"} 
[2026-07-13 09:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783915177000,"timestamp_ms":1783915177000,"timestamp_seconds":1783915177,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a16428"} 
[2026-07-13 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-07-13 09:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-13 09:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 09:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130193,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130193,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682284800001,"66":14407,"97":206,"94":10240,"24":13,"16":24207737055346688,"45":847591553771366400},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,94,24,16,45]} 
[2026-07-13 09:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682284800001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:29:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 09:29:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24207737055346688,"km_value":24207737055346.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":847591553771366400,"description":"Unknown IO ID 45"} 
[2026-07-13 09:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682284800001,"power":14407,"unknown_97":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":847591553771366400}} 
[2026-07-13 09:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":130193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479383,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:29:50] local.INFO: GPS data processed {"connection_id":130193,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:29:50] local.INFO: Acknowledgment sent {"connection_id":130193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:30:12] local.INFO: TCP Data received {"connection_id":132520,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f599f3978012d7f914005afd938000a011b21..."} 
[2026-07-13 09:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599f3978012d7f914005afd938000a011b21..."} 
[2026-07-13 09:30:12] local.INFO: Processing buffer {"connection_id":132520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599f3978012d7f914005afd938000a011b21..."} 
[2026-07-13 09:30:12] local.INFO: Packet analysis {"connection_id":132520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599f"} 
[2026-07-13 09:30:12] local.INFO: Extracted packet for processing {"connection_id":132520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599f"} 
[2026-07-13 09:30:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682171904001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783915035000,"timestamp_ms":1783915035000,"timestamp_seconds":1783915035,"priority":1,"record_length":96,"hex_timestamp":"0000019f599f3978"} 
[2026-07-13 09:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 09:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682171904001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682171904001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:30:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:30:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682171904001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":132520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:30:12] local.INFO: GPS data processed {"connection_id":132520,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:30:12] local.INFO: Acknowledgment sent {"connection_id":132520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:30:20] local.INFO: TCP Data received {"connection_id":130395,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a06a28012d7b9fc005deba08000600af25..."} 
[2026-07-13 09:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a06a28012d7b9fc005deba08000600af25..."} 
[2026-07-13 09:30:20] local.INFO: Processing buffer {"connection_id":130395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a06a28012d7b9fc005deba08000600af25..."} 
[2026-07-13 09:30:20] local.INFO: Packet analysis {"connection_id":130395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a0"} 
[2026-07-13 09:30:20] local.INFO: Extracted packet for processing {"connection_id":130395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a0"} 
[2026-07-13 09:30:20] local.INFO: GPS Element Parsed {"raw_longitude":763076544,"raw_latitude":98482696,"longitude_deg":76.3076544,"latitude_deg":9.8482696,"altitude":6,"angle":175,"satellites":37,"speed":49,"hex_longitude":"2d7b9fc0","hex_latitude":"05deba08","is_valid_coordinates":true} 
[2026-07-13 09:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682266624001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105733784065802240,"note":"Value kept but may cause issues"} 
[2026-07-13 09:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907134925734463488,"note":"Value kept but may cause issues"} 
[2026-07-13 09:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783915113000,"timestamp_ms":1783915113000,"timestamp_seconds":1783915113,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a06a28"} 
[2026-07-13 09:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-13 09:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:30:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682266624001,"66":13330,"49":206,"85":15104,"24":49,"16":105733784065802240,"45":8907134925734463488},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-13 09:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682266624001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:30:20] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-13 09:30:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105733784065802240,"km_value":105733784065802.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907134925734463488,"description":"Unknown IO ID 45"} 
[2026-07-13 09:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682266624001,"power":13330,"unknown_49":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8907134925734463488}} 
[2026-07-13 09:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":130395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:30:20] local.INFO: GPS data processed {"connection_id":130395,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:30:20] local.INFO: Acknowledgment sent {"connection_id":130395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:30:40] local.INFO: TCP Data received {"connection_id":130194,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:30:40] local.INFO: Processing buffer {"connection_id":130194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:30:40] local.INFO: IMEI packet received {"connection_id":130194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":130194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:30:45] local.INFO: TCP Data received {"connection_id":130194,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:30:45] local.INFO: Processing buffer {"connection_id":130194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:30:45] local.INFO: IMEI packet received {"connection_id":130194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":130194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:30:46] local.INFO: TCP Data received {"connection_id":130194,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f599f3978012d7f914005afd938000a011b21..."} 
[2026-07-13 09:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599f3978012d7f914005afd938000a011b21..."} 
[2026-07-13 09:30:46] local.INFO: Processing buffer {"connection_id":130194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599f3978012d7f914005afd938000a011b21..."} 
[2026-07-13 09:30:46] local.INFO: Packet analysis {"connection_id":130194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599f"} 
[2026-07-13 09:30:46] local.INFO: Extracted packet for processing {"connection_id":130194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599f"} 
[2026-07-13 09:30:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682171904001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783915035000,"timestamp_ms":1783915035000,"timestamp_seconds":1783915035,"priority":1,"record_length":96,"hex_timestamp":"0000019f599f3978"} 
[2026-07-13 09:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 09:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682171904001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682171904001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:30:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:30:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682171904001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":130194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:30:46] local.INFO: GPS data processed {"connection_id":130194,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:30:46] local.INFO: Acknowledgment sent {"connection_id":130194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:30:48] local.INFO: TCP Data received {"connection_id":131193,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:30:48] local.INFO: Processing buffer {"connection_id":131193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:30:48] local.INFO: IMEI packet received {"connection_id":131193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":131193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:30:50] local.INFO: TCP Data received {"connection_id":130194,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f599f3978012d7f914005afd938000a011b21..."} 
[2026-07-13 09:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599f3978012d7f914005afd938000a011b21..."} 
[2026-07-13 09:30:50] local.INFO: Processing buffer {"connection_id":130194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599f3978012d7f914005afd938000a011b21..."} 
[2026-07-13 09:30:50] local.INFO: Packet analysis {"connection_id":130194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599f"} 
[2026-07-13 09:30:50] local.INFO: Extracted packet for processing {"connection_id":130194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599f"} 
[2026-07-13 09:30:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682171904001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783915035000,"timestamp_ms":1783915035000,"timestamp_seconds":1783915035,"priority":1,"record_length":96,"hex_timestamp":"0000019f599f3978"} 
[2026-07-13 09:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09: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":200,"data_length":795,"current_offset":136} 
[2026-07-13 09:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:30: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-07-13 09:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682171904001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682171904001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:30:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:30:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682171904001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":130194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:30:50] local.INFO: GPS data processed {"connection_id":130194,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:30:50] local.INFO: Acknowledgment sent {"connection_id":130194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:30:53] local.INFO: TCP Data received {"connection_id":131193,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:30:53] local.INFO: Processing buffer {"connection_id":131193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:30:53] local.INFO: IMEI packet received {"connection_id":131193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":131193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:30:54] local.INFO: TCP Data received {"connection_id":131193,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a08580012d7ba28005de96d0000500af25..."} 
[2026-07-13 09:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a08580012d7ba28005de96d0000500af25..."} 
[2026-07-13 09:30:54] local.INFO: Processing buffer {"connection_id":131193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a08580012d7ba28005de96d0000500af25..."} 
[2026-07-13 09:30:54] local.INFO: Packet analysis {"connection_id":131193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a0"} 
[2026-07-13 09:30:54] local.INFO: Extracted packet for processing {"connection_id":131193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a0"} 
[2026-07-13 09:30:54] local.INFO: GPS Element Parsed {"raw_longitude":763077248,"raw_latitude":98473680,"longitude_deg":76.3077248,"latitude_deg":9.847368,"altitude":5,"angle":175,"satellites":37,"speed":48,"hex_longitude":"2d7ba280","hex_latitude":"05de96d0","is_valid_coordinates":true} 
[2026-07-13 09:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682268928001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105734222152466432,"note":"Value kept but may cause issues"} 
[2026-07-13 09:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908049719406233600,"note":"Value kept but may cause issues"} 
[2026-07-13 09:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783915120000,"timestamp_ms":1783915120000,"timestamp_seconds":1783915120,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a08580"} 
[2026-07-13 09:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-13 09:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-13 09:30:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 09:30:54] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-8957658363982413819,"note":"Value kept but may cause issues"} 
[2026-07-13 09:30:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3751481344,"note":"Value kept but may cause issues"} 
[2026-07-13 09:30:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277354441184896592,"note":"Value kept but may cause issues"} 
[2026-07-13 09:30:54] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2682351617,"note":"Value kept but may cause issues"} 
[2026-07-13 09:30:54] local.WARNING: Large IO value detected {"io_id":223,"raw_value":-4467570821750317056,"note":"Value kept but may cause issues"} 
[2026-07-13 09:30:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1445200078,"corrected_to":0} 
[2026-07-13 09:30:54] local.WARNING: Large IO value detected {"io_id":143,"raw_value":2147868534,"note":"Value kept but may cause issues"} 
[2026-07-13 09:30:54] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2720923648,"note":"Value kept but may cause issues"} 
[2026-07-13 09:30:54] local.WARNING: Large IO value detected {"io_id":29,"raw_value":57797082858018107,"note":"Value kept but may cause issues"} 
[2026-07-13 09:30:54] local.WARNING: Large IO value detected {"io_id":46,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-13 09:30:54] local.WARNING: Large IO value detected {"io_id":86,"raw_value":2594300250822809600,"note":"Value kept but may cause issues"} 
[2026-07-13 09:30:54] local.WARNING: Large IO value detected {"io_id":93,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-13 09:30:54] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,49,85,24,241,157,16,164,159,71,45,128,224,6,37,10,66,163,31,192,5,36,1,240,198,227,89,223,4,113,205,48,194,143,144,35,239,52,2,119,29,46,86,93],"length":626,"final_offset":756,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1445200078,"validated":0}]} 
[2026-07-13 09:30:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432538137679429632,"timestamp_seconds":432538137679429.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 09:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":131193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":131193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":131193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682268928001,"66":13428,"49":206,"85":15104,"24":48,"16":105734222152466432,"45":8908049719406233600},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-13 09:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682268928001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:30:54] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-13 09:30:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105734222152466432,"km_value":105734222152466.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908049719406233600,"description":"Unknown IO ID 45"} 
[2026-07-13 09:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682268928001,"power":13428,"unknown_49":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8908049719406233600}} 
[2026-07-13 09:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":131193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479388,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:30:54] local.INFO: GPS data processed {"connection_id":131193,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:30:54] local.INFO: Acknowledgment sent {"connection_id":131193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:30:58] local.INFO: TCP Data received {"connection_id":131193,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a0a4c0012d7ba70005de71e0000500ac23..."} 
[2026-07-13 09:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a0a4c0012d7ba70005de71e0000500ac23..."} 
[2026-07-13 09:30:58] local.INFO: Processing buffer {"connection_id":131193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a0a4c0012d7ba70005de71e0000500ac23..."} 
[2026-07-13 09:30:58] local.INFO: Packet analysis {"connection_id":131193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a0"} 
[2026-07-13 09:30:58] local.INFO: Extracted packet for processing {"connection_id":131193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a0"} 
[2026-07-13 09:30:58] local.INFO: GPS Element Parsed {"raw_longitude":763078400,"raw_latitude":98464224,"longitude_deg":76.30784,"latitude_deg":9.8464224,"altitude":5,"angle":172,"satellites":35,"speed":46,"hex_longitude":"2d7ba700","hex_latitude":"05de71e0","is_valid_coordinates":true} 
[2026-07-13 09:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682270720001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105734686008934400,"note":"Value kept but may cause issues"} 
[2026-07-13 09:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908823775589879808,"note":"Value kept but may cause issues"} 
[2026-07-13 09:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783915128000,"timestamp_ms":1783915128000,"timestamp_seconds":1783915128,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a0a4c0"} 
[2026-07-13 09:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-13 09:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:30: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-07-13 09:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682270720001,"66":13352,"49":206,"85":15104,"24":46,"16":105734686008934400,"45":8908823775589879808},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-13 09:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682270720001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:30:58] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-13 09:30:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105734686008934400,"km_value":105734686008934.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908823775589879808,"description":"Unknown IO ID 45"} 
[2026-07-13 09:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682270720001,"power":13352,"unknown_49":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8908823775589879808}} 
[2026-07-13 09:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":131193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479389,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:30:58] local.INFO: GPS data processed {"connection_id":131193,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:30:58] local.INFO: Acknowledgment sent {"connection_id":131193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:31:15] local.INFO: TCP Data received {"connection_id":132522,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:31:15] local.INFO: Processing buffer {"connection_id":132522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:31:15] local.INFO: IMEI packet received {"connection_id":132522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 09:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":132522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:31:35] local.INFO: TCP Data received {"connection_id":130396,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:31:35] local.INFO: Processing buffer {"connection_id":130396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:31:35] local.INFO: IMEI packet received {"connection_id":130396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":130396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:31:40] local.INFO: TCP Data received {"connection_id":130397,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130397,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:31:40] local.INFO: Processing buffer {"connection_id":130397,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:31:40] local.INFO: IMEI packet received {"connection_id":130397,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 09:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":130397,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:31:42] local.INFO: TCP Data received {"connection_id":130396,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:31:42] local.INFO: Processing buffer {"connection_id":130396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:31:42] local.INFO: IMEI packet received {"connection_id":130396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":130396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:31:43] local.INFO: TCP Data received {"connection_id":130396,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f599f3978012d7f914005afd938000a011b21..."} 
[2026-07-13 09:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599f3978012d7f914005afd938000a011b21..."} 
[2026-07-13 09:31:43] local.INFO: Processing buffer {"connection_id":130396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599f3978012d7f914005afd938000a011b21..."} 
[2026-07-13 09:31:43] local.INFO: Packet analysis {"connection_id":130396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599f"} 
[2026-07-13 09:31:43] local.INFO: Extracted packet for processing {"connection_id":130396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599f"} 
[2026-07-13 09:31:43] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682171904001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783915035000,"timestamp_ms":1783915035000,"timestamp_seconds":1783915035,"priority":1,"record_length":96,"hex_timestamp":"0000019f599f3978"} 
[2026-07-13 09:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 09:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682171904001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682171904001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:31:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:31:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682171904001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":130396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:31:43] local.INFO: GPS data processed {"connection_id":130396,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:31:43] local.INFO: Acknowledgment sent {"connection_id":130396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:31:43] local.INFO: TCP Data received {"connection_id":131194,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:31:43] local.INFO: Processing buffer {"connection_id":131194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:31:43] local.INFO: IMEI packet received {"connection_id":131194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":131194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:31:48] local.INFO: TCP Data received {"connection_id":131194,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:31:48] local.INFO: Processing buffer {"connection_id":131194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:31:48] local.INFO: IMEI packet received {"connection_id":131194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":131194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:31:49] local.INFO: TCP Data received {"connection_id":131194,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a0cbd0012d7bac8005de4e98000800a621..."} 
[2026-07-13 09:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a0cbd0012d7bac8005de4e98000800a621..."} 
[2026-07-13 09:31:49] local.INFO: Processing buffer {"connection_id":131194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a0cbd0012d7bac8005de4e98000800a621..."} 
[2026-07-13 09:31:49] local.INFO: Packet analysis {"connection_id":131194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a0"} 
[2026-07-13 09:31:49] local.INFO: Extracted packet for processing {"connection_id":131194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a0"} 
[2026-07-13 09:31:49] local.INFO: GPS Element Parsed {"raw_longitude":763079808,"raw_latitude":98455192,"longitude_deg":76.3079808,"latitude_deg":9.8455192,"altitude":8,"angle":166,"satellites":33,"speed":20,"hex_longitude":"2d7bac80","hex_latitude":"05de4e98","is_valid_coordinates":true} 
[2026-07-13 09:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682272768001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105735128390565888,"note":"Value kept but may cause issues"} 
[2026-07-13 09:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8910090412982657024,"note":"Value kept but may cause issues"} 
[2026-07-13 09:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783915138000,"timestamp_ms":1783915138000,"timestamp_seconds":1783915138,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a0cbd0"} 
[2026-07-13 09:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-13 09:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682272768001,"66":12765,"49":206,"85":15104,"24":20,"16":105735128390565888,"45":8910090412982657024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-13 09:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682272768001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:31:49] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-13 09:31:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105735128390565888,"km_value":105735128390565.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8910090412982657024,"description":"Unknown IO ID 45"} 
[2026-07-13 09:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682272768001,"power":12765,"unknown_49":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8910090412982657024}} 
[2026-07-13 09:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":131194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479391,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:31:49] local.INFO: GPS data processed {"connection_id":131194,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:31:49] local.INFO: Acknowledgment sent {"connection_id":131194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:32:09] local.INFO: TCP Data received {"connection_id":132523,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132523,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:32:09] local.INFO: Processing buffer {"connection_id":132523,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:32:09] local.INFO: IMEI packet received {"connection_id":132523,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":132523,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:32:14] local.INFO: TCP Data received {"connection_id":130396,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f599f3978012d7f914005afd938000a011b21..."} 
[2026-07-13 09:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599f3978012d7f914005afd938000a011b21..."} 
[2026-07-13 09:32:14] local.INFO: Processing buffer {"connection_id":130396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599f3978012d7f914005afd938000a011b21..."} 
[2026-07-13 09:32:14] local.INFO: Packet analysis {"connection_id":130396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599f"} 
[2026-07-13 09:32:14] local.INFO: Extracted packet for processing {"connection_id":130396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599f"} 
[2026-07-13 09:32:14] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682171904001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783915035000,"timestamp_ms":1783915035000,"timestamp_seconds":1783915035,"priority":1,"record_length":96,"hex_timestamp":"0000019f599f3978"} 
[2026-07-13 09:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 09:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682171904001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682171904001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:32:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:32:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682171904001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":130396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:32:14] local.INFO: GPS data processed {"connection_id":130396,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:32:14] local.INFO: Acknowledgment sent {"connection_id":130396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:32:20] local.INFO: TCP Data received {"connection_id":131194,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a0e728012d7baf8005de46100008009721..."} 
[2026-07-13 09:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a0e728012d7baf8005de46100008009721..."} 
[2026-07-13 09:32:20] local.INFO: Processing buffer {"connection_id":131194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a0e728012d7baf8005de46100008009721..."} 
[2026-07-13 09:32:20] local.INFO: Packet analysis {"connection_id":131194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a0"} 
[2026-07-13 09:32:20] local.INFO: Extracted packet for processing {"connection_id":131194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a0"} 
[2026-07-13 09:32:20] local.INFO: GPS Element Parsed {"raw_longitude":763080576,"raw_latitude":98453008,"longitude_deg":76.3080576,"latitude_deg":9.8453008,"altitude":8,"angle":151,"satellites":33,"speed":8,"hex_longitude":"2d7baf80","hex_latitude":"05de4610","is_valid_coordinates":true} 
[2026-07-13 09:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682275328001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105735240059715584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911638525352253440,"note":"Value kept but may cause issues"} 
[2026-07-13 09:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783915145000,"timestamp_ms":1783915145000,"timestamp_seconds":1783915145,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a0e728"} 
[2026-07-13 09:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-13 09:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":131194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":131194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":131194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682275328001,"66":12961,"49":206,"85":15104,"24":8,"16":105735240059715584,"45":8911638525352253440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-13 09:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682275328001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:32:20] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-13 09:32:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105735240059715584,"km_value":105735240059715.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911638525352253440,"description":"Unknown IO ID 45"} 
[2026-07-13 09:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682275328001,"power":12961,"unknown_49":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8911638525352253440}} 
[2026-07-13 09:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":131194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:32:20] local.INFO: GPS data processed {"connection_id":131194,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:32:20] local.INFO: Acknowledgment sent {"connection_id":131194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:32:35] local.INFO: TCP Data received {"connection_id":132524,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:32:35] local.INFO: Processing buffer {"connection_id":132524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:32:35] local.INFO: IMEI packet received {"connection_id":132524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":132524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:32:40] local.INFO: TCP Data received {"connection_id":132524,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:32:40] local.INFO: Processing buffer {"connection_id":132524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:32:40] local.INFO: IMEI packet received {"connection_id":132524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":132524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:32:41] local.INFO: TCP Data received {"connection_id":132524,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f599f3978012d7f914005afd938000a011b21..."} 
[2026-07-13 09:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f599f3978012d7f914005afd938000a011b21..."} 
[2026-07-13 09:32:41] local.INFO: Processing buffer {"connection_id":132524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f599f3978012d7f914005afd938000a011b21..."} 
[2026-07-13 09:32:41] local.INFO: Packet analysis {"connection_id":132524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f599f"} 
[2026-07-13 09:32:41] local.INFO: Extracted packet for processing {"connection_id":132524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f599f"} 
[2026-07-13 09:32:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682171904001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783915035000,"timestamp_ms":1783915035000,"timestamp_seconds":1783915035,"priority":1,"record_length":96,"hex_timestamp":"0000019f599f3978"} 
[2026-07-13 09:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 09:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682171904001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682171904001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:32:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:32:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682171904001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":132524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:32:41] local.INFO: GPS data processed {"connection_id":132524,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:32:41] local.INFO: Acknowledgment sent {"connection_id":132524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:32:43] local.INFO: TCP Data received {"connection_id":130399,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:32:43] local.INFO: Processing buffer {"connection_id":130399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:32:43] local.INFO: IMEI packet received {"connection_id":130399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":130399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:32:48] local.INFO: TCP Data received {"connection_id":130399,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:32:48] local.INFO: Processing buffer {"connection_id":130399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:32:48] local.INFO: IMEI packet received {"connection_id":130399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":130399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:32:49] local.INFO: TCP Data received {"connection_id":130399,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a0eef8012d7bb04005de44d8000800ae23..."} 
[2026-07-13 09:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a0eef8012d7bb04005de44d8000800ae23..."} 
[2026-07-13 09:32:49] local.INFO: Processing buffer {"connection_id":130399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a0eef8012d7bb04005de44d8000800ae23..."} 
[2026-07-13 09:32:49] local.INFO: Packet analysis {"connection_id":130399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a0"} 
[2026-07-13 09:32:49] local.INFO: Extracted packet for processing {"connection_id":130399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a0"} 
[2026-07-13 09:32:49] local.INFO: GPS Element Parsed {"raw_longitude":763080768,"raw_latitude":98452696,"longitude_deg":76.3080768,"latitude_deg":9.8452696,"altitude":8,"angle":174,"satellites":35,"speed":6,"hex_longitude":"2d7bb040","hex_latitude":"05de44d8","is_valid_coordinates":true} 
[2026-07-13 09:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682277120001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105735257239584768,"note":"Value kept but may cause issues"} 
[2026-07-13 09:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912482950281826304,"note":"Value kept but may cause issues"} 
[2026-07-13 09:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783915147000,"timestamp_ms":1783915147000,"timestamp_seconds":1783915147,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a0eef8"} 
[2026-07-13 09:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-13 09:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:32:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682277120001,"66":13048,"49":206,"85":15104,"24":6,"16":105735257239584768,"45":8912482950281826304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-13 09:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682277120001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:32:49] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-13 09:32:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105735257239584768,"km_value":105735257239584.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912482950281826304,"description":"Unknown IO ID 45"} 
[2026-07-13 09:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682277120001,"power":13048,"unknown_49":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8912482950281826304}} 
[2026-07-13 09:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":130399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479395,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:32:49] local.INFO: GPS data processed {"connection_id":130399,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:32:49] local.INFO: Acknowledgment sent {"connection_id":130399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:33:11] local.INFO: TCP Data received {"connection_id":132524,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a3d140012d7f914005afd938000a011b23..."} 
[2026-07-13 09:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a3d140012d7f914005afd938000a011b23..."} 
[2026-07-13 09:33:11] local.INFO: Processing buffer {"connection_id":132524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a3d140012d7f914005afd938000a011b23..."} 
[2026-07-13 09:33:11] local.INFO: Packet analysis {"connection_id":132524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a3"} 
[2026-07-13 09:33:11] local.INFO: Extracted packet for processing {"connection_id":132524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a3"} 
[2026-07-13 09:33:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682248960001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783915336000,"timestamp_ms":1783915336000,"timestamp_seconds":1783915336,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a3d140"} 
[2026-07-13 09:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 09:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682248960001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682248960001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:33:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682248960001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":132524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:33:11] local.INFO: GPS data processed {"connection_id":132524,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:33:11] local.INFO: Acknowledgment sent {"connection_id":132524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:33:20] local.INFO: TCP Data received {"connection_id":130399,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a13d18012d7bb04005de4400000700b924..."} 
[2026-07-13 09:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a13d18012d7bb04005de4400000700b924..."} 
[2026-07-13 09:33:20] local.INFO: Processing buffer {"connection_id":130399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a13d18012d7bb04005de4400000700b924..."} 
[2026-07-13 09:33:20] local.INFO: Packet analysis {"connection_id":130399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a1"} 
[2026-07-13 09:33:20] local.INFO: Extracted packet for processing {"connection_id":130399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a1"} 
[2026-07-13 09:33:20] local.INFO: GPS Element Parsed {"raw_longitude":763080768,"raw_latitude":98452480,"longitude_deg":76.3080768,"latitude_deg":9.845248,"altitude":7,"angle":185,"satellites":36,"speed":0,"hex_longitude":"2d7bb040","hex_latitude":"05de4400","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682277632001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105735270124486656,"note":"Value kept but may cause issues"} 
[2026-07-13 09:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912694056514279424,"note":"Value kept but may cause issues"} 
[2026-07-13 09:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783915167000,"timestamp_ms":1783915167000,"timestamp_seconds":1783915167,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a13d18"} 
[2026-07-13 09:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-13 09:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09: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-07-13 09:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:33: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-07-13 09:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682277632001,"66":13178,"50":206,"85":15104,"24":0,"16":105735270124486656,"45":8912694056514279424},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 09:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682277632001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:33:20] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 09:33:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105735270124486656,"km_value":105735270124486.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912694056514279424,"description":"Unknown IO ID 45"} 
[2026-07-13 09:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682277632001,"power":13178,"unknown_50":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8912694056514279424}} 
[2026-07-13 09:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":130399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479397,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:33:20] local.INFO: GPS data processed {"connection_id":130399,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:33:20] local.INFO: Acknowledgment sent {"connection_id":130399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:33:35] local.INFO: TCP Data received {"connection_id":132525,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:33:35] local.INFO: Processing buffer {"connection_id":132525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:33:35] local.INFO: IMEI packet received {"connection_id":132525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":132525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:33:40] local.INFO: TCP Data received {"connection_id":132525,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:33:40] local.INFO: Processing buffer {"connection_id":132525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:33:40] local.INFO: IMEI packet received {"connection_id":132525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":132525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:33:41] local.INFO: TCP Data received {"connection_id":132525,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a3d140012d7f914005afd938000a011b23..."} 
[2026-07-13 09:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a3d140012d7f914005afd938000a011b23..."} 
[2026-07-13 09:33:41] local.INFO: Processing buffer {"connection_id":132525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a3d140012d7f914005afd938000a011b23..."} 
[2026-07-13 09:33:41] local.INFO: Packet analysis {"connection_id":132525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a3"} 
[2026-07-13 09:33:41] local.INFO: Extracted packet for processing {"connection_id":132525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a3"} 
[2026-07-13 09:33:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682248960001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783915336000,"timestamp_ms":1783915336000,"timestamp_seconds":1783915336,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a3d140"} 
[2026-07-13 09:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 09:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682248960001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682248960001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:33:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:33:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682248960001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":132525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:33:41] local.INFO: GPS data processed {"connection_id":132525,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:33:41] local.INFO: Acknowledgment sent {"connection_id":132525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:33:43] local.INFO: TCP Data received {"connection_id":130195,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:33:43] local.INFO: Processing buffer {"connection_id":130195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:33:43] local.INFO: IMEI packet received {"connection_id":130195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":130195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:33:48] local.INFO: TCP Data received {"connection_id":130195,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:33:48] local.INFO: Processing buffer {"connection_id":130195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:33:48] local.INFO: IMEI packet received {"connection_id":130195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":130195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:33:49] local.INFO: TCP Data received {"connection_id":130195,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a18f20012d7bb04005de4400000700b92a..."} 
[2026-07-13 09:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a18f20012d7bb04005de4400000700b92a..."} 
[2026-07-13 09:33:49] local.INFO: Processing buffer {"connection_id":130195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a18f20012d7bb04005de4400000700b92a..."} 
[2026-07-13 09:33:49] local.INFO: Packet analysis {"connection_id":130195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a1"} 
[2026-07-13 09:33:49] local.INFO: Extracted packet for processing {"connection_id":130195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a1"} 
[2026-07-13 09:33:49] local.INFO: GPS Element Parsed {"raw_longitude":763080768,"raw_latitude":98452480,"longitude_deg":76.3080768,"latitude_deg":9.845248,"altitude":7,"angle":185,"satellites":42,"speed":0,"hex_longitude":"2d7bb040","hex_latitude":"05de4400","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682282752001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105735270124486656,"note":"Value kept but may cause issues"} 
[2026-07-13 09:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912694056514224128,"note":"Value kept but may cause issues"} 
[2026-07-13 09:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783915188000,"timestamp_ms":1783915188000,"timestamp_seconds":1783915188,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a18f20"} 
[2026-07-13 09:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-13 09:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682282752001,"66":13102,"50":206,"85":15104,"24":0,"16":105735270124486656,"45":8912694056514224128},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 09:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682282752001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:33:49] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 09:33:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105735270124486656,"km_value":105735270124486.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912694056514224128,"description":"Unknown IO ID 45"} 
[2026-07-13 09:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682282752001,"power":13102,"unknown_50":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8912694056514224128}} 
[2026-07-13 09:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":130195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479399,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:33:49] local.INFO: GPS data processed {"connection_id":130195,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:33:49] local.INFO: Acknowledgment sent {"connection_id":130195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:34:05] local.INFO: TCP Data received {"connection_id":132526,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132526,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:34:05] local.INFO: Processing buffer {"connection_id":132526,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:34:05] local.INFO: IMEI packet received {"connection_id":132526,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":132526,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:34:07] local.INFO: TCP Data received {"connection_id":132526,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132526,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:34:07] local.INFO: Processing buffer {"connection_id":132526,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:34:07] local.INFO: IMEI packet received {"connection_id":132526,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":132526,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:34:07] local.INFO: TCP Data received {"connection_id":132526,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132526,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:34:07] local.INFO: Processing buffer {"connection_id":132526,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:34:07] local.INFO: IMEI packet received {"connection_id":132526,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":132526,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:34:12] local.INFO: TCP Data received {"connection_id":132525,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a3d140012d7f914005afd938000a011b23..."} 
[2026-07-13 09:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a3d140012d7f914005afd938000a011b23..."} 
[2026-07-13 09:34:12] local.INFO: Processing buffer {"connection_id":132525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a3d140012d7f914005afd938000a011b23..."} 
[2026-07-13 09:34:12] local.INFO: Packet analysis {"connection_id":132525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a3"} 
[2026-07-13 09:34:12] local.INFO: Extracted packet for processing {"connection_id":132525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a3"} 
[2026-07-13 09:34:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682248960001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783915336000,"timestamp_ms":1783915336000,"timestamp_seconds":1783915336,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a3d140"} 
[2026-07-13 09:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 09:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:34:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682248960001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682248960001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:34:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:34:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682248960001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":132525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:34:12] local.INFO: GPS data processed {"connection_id":132525,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:34:12] local.INFO: Acknowledgment sent {"connection_id":132525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:34:20] local.INFO: TCP Data received {"connection_id":130195,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a1e128012d7bb04005de4400000700b927..."} 
[2026-07-13 09:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a1e128012d7bb04005de4400000700b927..."} 
[2026-07-13 09:34:20] local.INFO: Processing buffer {"connection_id":130195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a1e128012d7bb04005de4400000700b927..."} 
[2026-07-13 09:34:20] local.INFO: Packet analysis {"connection_id":130195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a1"} 
[2026-07-13 09:34:20] local.INFO: Extracted packet for processing {"connection_id":130195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a1"} 
[2026-07-13 09:34:20] local.INFO: GPS Element Parsed {"raw_longitude":763080768,"raw_latitude":98452480,"longitude_deg":76.3080768,"latitude_deg":9.845248,"altitude":7,"angle":185,"satellites":39,"speed":0,"hex_longitude":"2d7bb040","hex_latitude":"05de4400","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682288128001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105735270124486656,"note":"Value kept but may cause issues"} 
[2026-07-13 09:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912694056514224128,"note":"Value kept but may cause issues"} 
[2026-07-13 09:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783915209000,"timestamp_ms":1783915209000,"timestamp_seconds":1783915209,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a1e128"} 
[2026-07-13 09:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-13 09:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09: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-07-13 09:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:34: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-07-13 09:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682288128001,"66":13319,"50":206,"85":15104,"24":0,"16":105735270124486656,"45":8912694056514224128},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 09:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682288128001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:34:20] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 09:34:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105735270124486656,"km_value":105735270124486.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912694056514224128,"description":"Unknown IO ID 45"} 
[2026-07-13 09:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682288128001,"power":13319,"unknown_50":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8912694056514224128}} 
[2026-07-13 09:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":130195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479401,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:34:20] local.INFO: GPS data processed {"connection_id":130195,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:34:20] local.INFO: Acknowledgment sent {"connection_id":130195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:34:35] local.INFO: TCP Data received {"connection_id":132528,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:34:35] local.INFO: Processing buffer {"connection_id":132528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:34:35] local.INFO: IMEI packet received {"connection_id":132528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":132528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:34:40] local.INFO: TCP Data received {"connection_id":132528,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:34:40] local.INFO: Processing buffer {"connection_id":132528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:34:40] local.INFO: IMEI packet received {"connection_id":132528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":132528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:34:41] local.INFO: TCP Data received {"connection_id":132528,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a3d140012d7f914005afd938000a011b23..."} 
[2026-07-13 09:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a3d140012d7f914005afd938000a011b23..."} 
[2026-07-13 09:34:41] local.INFO: Processing buffer {"connection_id":132528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a3d140012d7f914005afd938000a011b23..."} 
[2026-07-13 09:34:41] local.INFO: Packet analysis {"connection_id":132528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a3"} 
[2026-07-13 09:34:41] local.INFO: Extracted packet for processing {"connection_id":132528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a3"} 
[2026-07-13 09:34:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682248960001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783915336000,"timestamp_ms":1783915336000,"timestamp_seconds":1783915336,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a3d140"} 
[2026-07-13 09:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 09:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682248960001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682248960001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:34:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682248960001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":132528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:34:41] local.INFO: GPS data processed {"connection_id":132528,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:34:41] local.INFO: Acknowledgment sent {"connection_id":132528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:34:43] local.INFO: TCP Data received {"connection_id":131196,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:34:43] local.INFO: Processing buffer {"connection_id":131196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:34:43] local.INFO: IMEI packet received {"connection_id":131196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":131196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:34:48] local.INFO: TCP Data received {"connection_id":131196,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:34:48] local.INFO: Processing buffer {"connection_id":131196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:34:48] local.INFO: IMEI packet received {"connection_id":131196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":131196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:34:49] local.INFO: TCP Data received {"connection_id":131196,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a20c20012d7bb04005de4400000700b927..."} 
[2026-07-13 09:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a20c20012d7bb04005de4400000700b927..."} 
[2026-07-13 09:34:49] local.INFO: Processing buffer {"connection_id":131196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a20c20012d7bb04005de4400000700b927..."} 
[2026-07-13 09:34:49] local.INFO: Packet analysis {"connection_id":131196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a2"} 
[2026-07-13 09:34:49] local.INFO: Extracted packet for processing {"connection_id":131196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a2"} 
[2026-07-13 09:34:49] local.INFO: GPS Element Parsed {"raw_longitude":763080768,"raw_latitude":98452480,"longitude_deg":76.3080768,"latitude_deg":9.845248,"altitude":7,"angle":185,"satellites":39,"speed":0,"hex_longitude":"2d7bb040","hex_latitude":"05de4400","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682293504001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105735270124486656,"note":"Value kept but may cause issues"} 
[2026-07-13 09:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912694056514224128,"note":"Value kept but may cause issues"} 
[2026-07-13 09:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783915220000,"timestamp_ms":1783915220000,"timestamp_seconds":1783915220,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a20c20"} 
[2026-07-13 09:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 09:34:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 09:34:49] local.WARNING: Large IO value detected {"io_id":165,"raw_value":2818572288,"note":"Value kept but may cause issues"} 
[2026-07-13 09:34:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-13 09:34:49] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2699503617,"note":"Value kept but may cause issues"} 
[2026-07-13 09:34:49] local.WARNING: Large IO value detected {"io_id":222,"raw_value":-7579558151378230016,"note":"Value kept but may cause issues"} 
[2026-07-13 09:34:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805006542,"corrected_to":0} 
[2026-07-13 09:34:49] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3489738107,"corrected_to":0} 
[2026-07-13 09:34:49] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2147868238,"note":"Value kept but may cause issues"} 
[2026-07-13 09:34:49] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2777284608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:34:49] local.WARNING: Large IO value detected {"io_id":40,"raw_value":57886199134442811,"note":"Value kept but may cause issues"} 
[2026-07-13 09:34:49] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-8827053974786768891,"note":"Value kept but may cause issues"} 
[2026-07-13 09:34:49] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,50,85,24,241,157,16,165,159,143,45,64,68,7,42,10,66,61,36,238,1,240,248,227,89,222,4,113,205,8,203,172,152,33,239,49,2,119,5,46,40,160],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2805006542,"validated":0},{"io_id":203,"original":3489738107,"validated":0}]} 
[2026-07-13 09:34:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504606735420358656,"timestamp_seconds":504606735420358.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 09:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682293504001,"66":12906,"50":206,"85":15104,"24":0,"16":105735270124486656,"45":8912694056514224128},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 09:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682293504001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:34:49] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 09:34:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105735270124486656,"km_value":105735270124486.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912694056514224128,"description":"Unknown IO ID 45"} 
[2026-07-13 09:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682293504001,"power":12906,"unknown_50":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8912694056514224128}} 
[2026-07-13 09:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":131196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:34:49] local.INFO: GPS data processed {"connection_id":131196,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:34:49] local.INFO: Acknowledgment sent {"connection_id":131196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:35:12] local.INFO: TCP Data received {"connection_id":132528,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a3d140012d7f914005afd938000a011b23..."} 
[2026-07-13 09:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a3d140012d7f914005afd938000a011b23..."} 
[2026-07-13 09:35:12] local.INFO: Processing buffer {"connection_id":132528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a3d140012d7f914005afd938000a011b23..."} 
[2026-07-13 09:35:12] local.INFO: Packet analysis {"connection_id":132528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a3"} 
[2026-07-13 09:35:12] local.INFO: Extracted packet for processing {"connection_id":132528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a3"} 
[2026-07-13 09:35:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682248960001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783915336000,"timestamp_ms":1783915336000,"timestamp_seconds":1783915336,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a3d140"} 
[2026-07-13 09:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 09:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682248960001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682248960001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:35:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:35:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682248960001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":132528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:35:12] local.INFO: GPS data processed {"connection_id":132528,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:35:12] local.INFO: Acknowledgment sent {"connection_id":132528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:35:20] local.INFO: TCP Data received {"connection_id":131196,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a67120012d7bbbc005dde1c80009009e26..."} 
[2026-07-13 09:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a67120012d7bbbc005dde1c80009009e26..."} 
[2026-07-13 09:35:20] local.INFO: Processing buffer {"connection_id":131196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a67120012d7bbbc005dde1c80009009e26..."} 
[2026-07-13 09:35:20] local.INFO: Packet analysis {"connection_id":131196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a6"} 
[2026-07-13 09:35:20] local.INFO: Extracted packet for processing {"connection_id":131196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a6"} 
[2026-07-13 09:35:20] local.INFO: GPS Element Parsed {"raw_longitude":763083712,"raw_latitude":98427336,"longitude_deg":76.3083712,"latitude_deg":9.8427336,"altitude":9,"angle":158,"satellites":38,"speed":6,"hex_longitude":"2d7bbbc0","hex_latitude":"05dde1c8","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682369536001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105736524254937088,"note":"Value kept but may cause issues"} 
[2026-07-13 09:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915790281251688448,"note":"Value kept but may cause issues"} 
[2026-07-13 09:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783915508000,"timestamp_ms":1783915508000,"timestamp_seconds":1783915508,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a67120"} 
[2026-07-13 09:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 09:35: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-07-13 09: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-07-13 09:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":131196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":131196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":131196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:35: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-07-13 09:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682369536001,"66":13417,"50":206,"85":15104,"24":6,"16":105736524254937088,"45":8915790281251688448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 09:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682369536001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:35:20] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 09:35:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105736524254937088,"km_value":105736524254937.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915790281251688448,"description":"Unknown IO ID 45"} 
[2026-07-13 09:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682369536001,"power":13417,"unknown_50":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8915790281251688448}} 
[2026-07-13 09:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":131196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:35:20] local.INFO: GPS data processed {"connection_id":131196,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:35:20] local.INFO: Acknowledgment sent {"connection_id":131196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:35:40] local.INFO: TCP Data received {"connection_id":131197,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:35:40] local.INFO: Processing buffer {"connection_id":131197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:35:40] local.INFO: IMEI packet received {"connection_id":131197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":131197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:35:44] local.INFO: TCP Data received {"connection_id":130400,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:35:44] local.INFO: Processing buffer {"connection_id":130400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:35:44] local.INFO: IMEI packet received {"connection_id":130400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":130400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:35:45] local.INFO: TCP Data received {"connection_id":131197,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:35:45] local.INFO: Processing buffer {"connection_id":131197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:35:45] local.INFO: IMEI packet received {"connection_id":131197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":131197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:35:46] local.INFO: TCP Data received {"connection_id":131197,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a3d140012d7f914005afd938000a011b23..."} 
[2026-07-13 09:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a3d140012d7f914005afd938000a011b23..."} 
[2026-07-13 09:35:46] local.INFO: Processing buffer {"connection_id":131197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a3d140012d7f914005afd938000a011b23..."} 
[2026-07-13 09:35:46] local.INFO: Packet analysis {"connection_id":131197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a3"} 
[2026-07-13 09:35:46] local.INFO: Extracted packet for processing {"connection_id":131197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a3"} 
[2026-07-13 09:35:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682248960001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783915336000,"timestamp_ms":1783915336000,"timestamp_seconds":1783915336,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a3d140"} 
[2026-07-13 09:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 09:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682248960001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682248960001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:35:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:35:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682248960001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":131197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:35:46] local.INFO: GPS data processed {"connection_id":131197,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:35:46] local.INFO: Acknowledgment sent {"connection_id":131197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:35:48] local.INFO: TCP Data received {"connection_id":130400,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:35:48] local.INFO: Processing buffer {"connection_id":130400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:35:48] local.INFO: IMEI packet received {"connection_id":130400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":130400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:35:50] local.INFO: TCP Data received {"connection_id":131197,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a3d140012d7f914005afd938000a011b23..."} 
[2026-07-13 09:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a3d140012d7f914005afd938000a011b23..."} 
[2026-07-13 09:35:50] local.INFO: Processing buffer {"connection_id":131197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a3d140012d7f914005afd938000a011b23..."} 
[2026-07-13 09:35:50] local.INFO: Packet analysis {"connection_id":131197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a3"} 
[2026-07-13 09:35:50] local.INFO: Extracted packet for processing {"connection_id":131197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a3"} 
[2026-07-13 09:35:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682248960001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783915336000,"timestamp_ms":1783915336000,"timestamp_seconds":1783915336,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a3d140"} 
[2026-07-13 09:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 09:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09: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-07-13 09:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:35: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-07-13 09:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682248960001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682248960001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:35:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:35:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682248960001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":131197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:35:50] local.INFO: GPS data processed {"connection_id":131197,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:35:50] local.INFO: Acknowledgment sent {"connection_id":131197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:35:53] local.INFO: TCP Data received {"connection_id":130400,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:35:53] local.INFO: Processing buffer {"connection_id":130400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:35:53] local.INFO: IMEI packet received {"connection_id":130400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":130400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:35:54] local.INFO: TCP Data received {"connection_id":130400,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a678f0012d7bbbc005dde068000a00b328..."} 
[2026-07-13 09:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a678f0012d7bbbc005dde068000a00b328..."} 
[2026-07-13 09:35:54] local.INFO: Processing buffer {"connection_id":130400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a678f0012d7bbbc005dde068000a00b328..."} 
[2026-07-13 09:35:54] local.INFO: Packet analysis {"connection_id":130400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a6"} 
[2026-07-13 09:35:54] local.INFO: Extracted packet for processing {"connection_id":130400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a6"} 
[2026-07-13 09:35:54] local.INFO: GPS Element Parsed {"raw_longitude":763083712,"raw_latitude":98426984,"longitude_deg":76.3083712,"latitude_deg":9.8426984,"altitude":10,"angle":179,"satellites":40,"speed":7,"hex_longitude":"2d7bbbc0","hex_latitude":"05dde068","is_valid_coordinates":true} 
[2026-07-13 09:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682370048001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105736541434806272,"note":"Value kept but may cause issues"} 
[2026-07-13 09:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915931018739959808,"note":"Value kept but may cause issues"} 
[2026-07-13 09:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783915510000,"timestamp_ms":1783915510000,"timestamp_seconds":1783915510,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a678f0"} 
[2026-07-13 09:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":105,"data_length":795,"current_offset":136} 
[2026-07-13 09:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682370048001,"66":13472,"50":206,"85":15104,"24":7,"16":105736541434806272,"45":8915931018739959808},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 09:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682370048001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:35:54] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 09:35:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105736541434806272,"km_value":105736541434806.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915931018739959808,"description":"Unknown IO ID 45"} 
[2026-07-13 09:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682370048001,"power":13472,"unknown_50":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8915931018739959808}} 
[2026-07-13 09:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":130400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479408,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:35:54] local.INFO: GPS data processed {"connection_id":130400,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:35:54] local.INFO: Acknowledgment sent {"connection_id":130400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:35:54] local.INFO: TCP Data received {"connection_id":130400,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a680c0012d7bbc0005ddde60000a00a52a..."} 
[2026-07-13 09:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a680c0012d7bbc0005ddde60000a00a52a..."} 
[2026-07-13 09:35:54] local.INFO: Processing buffer {"connection_id":130400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a680c0012d7bbc0005ddde60000a00a52a..."} 
[2026-07-13 09:35:54] local.INFO: Packet analysis {"connection_id":130400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a6"} 
[2026-07-13 09:35:54] local.INFO: Extracted packet for processing {"connection_id":130400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a6"} 
[2026-07-13 09:35:54] local.INFO: GPS Element Parsed {"raw_longitude":763083776,"raw_latitude":98426464,"longitude_deg":76.3083776,"latitude_deg":9.8426464,"altitude":10,"angle":165,"satellites":42,"speed":9,"hex_longitude":"2d7bbc00","hex_latitude":"05ddde60","is_valid_coordinates":true} 
[2026-07-13 09:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682370560001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105736567204610048,"note":"Value kept but may cause issues"} 
[2026-07-13 09:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915931018739869696,"note":"Value kept but may cause issues"} 
[2026-07-13 09:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783915512000,"timestamp_ms":1783915512000,"timestamp_seconds":1783915512,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a680c0"} 
[2026-07-13 09:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":160,"data_length":795,"current_offset":136} 
[2026-07-13 09:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682370560001,"66":13450,"50":206,"85":15104,"24":9,"16":105736567204610048,"45":8915931018739869696},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 09:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682370560001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:35:54] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 09:35:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105736567204610048,"km_value":105736567204610.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915931018739869696,"description":"Unknown IO ID 45"} 
[2026-07-13 09:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682370560001,"power":13450,"unknown_50":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8915931018739869696}} 
[2026-07-13 09:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":130400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:35:55] local.INFO: GPS data processed {"connection_id":130400,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:35:55] local.INFO: Acknowledgment sent {"connection_id":130400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:36:25] local.INFO: TCP Data received {"connection_id":130400,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a6afa0012d7bbd8005ddd438000a00b12c..."} 
[2026-07-13 09:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a6afa0012d7bbd8005ddd438000a00b12c..."} 
[2026-07-13 09:36:25] local.INFO: Processing buffer {"connection_id":130400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a6afa0012d7bbd8005ddd438000a00b12c..."} 
[2026-07-13 09:36:25] local.INFO: Packet analysis {"connection_id":130400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a6"} 
[2026-07-13 09:36:25] local.INFO: Extracted packet for processing {"connection_id":130400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a6"} 
[2026-07-13 09:36:25] local.INFO: GPS Element Parsed {"raw_longitude":763084160,"raw_latitude":98423864,"longitude_deg":76.308416,"latitude_deg":9.8423864,"altitude":10,"angle":177,"satellites":44,"speed":8,"hex_longitude":"2d7bbd80","hex_latitude":"05ddd438","is_valid_coordinates":true} 
[2026-07-13 09:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682371072001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105736696053628928,"note":"Value kept but may cause issues"} 
[2026-07-13 09:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916001387483914240,"note":"Value kept but may cause issues"} 
[2026-07-13 09:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783915524000,"timestamp_ms":1783915524000,"timestamp_seconds":1783915524,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a6afa0"} 
[2026-07-13 09:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-13 09:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":130400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":130400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":130400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:36: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-07-13 09:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682371072001,"66":13406,"50":206,"85":15104,"24":8,"16":105736696053628928,"45":8916001387483914240},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 09:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682371072001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:36:25] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 09:36:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105736696053628928,"km_value":105736696053628.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916001387483914240,"description":"Unknown IO ID 45"} 
[2026-07-13 09:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682371072001,"power":13406,"unknown_50":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8916001387483914240}} 
[2026-07-13 09:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":130400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479410,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:36:25] local.INFO: GPS data processed {"connection_id":130400,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:36:25] local.INFO: Acknowledgment sent {"connection_id":130400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:36:35] local.INFO: TCP Data received {"connection_id":130197,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:36:35] local.INFO: Processing buffer {"connection_id":130197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:36:35] local.INFO: IMEI packet received {"connection_id":130197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":130197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:36:40] local.INFO: TCP Data received {"connection_id":130197,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:36:40] local.INFO: Processing buffer {"connection_id":130197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:36:40] local.INFO: IMEI packet received {"connection_id":130197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":130197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:36:41] local.INFO: TCP Data received {"connection_id":130197,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a3d140012d7f914005afd938000a011b23..."} 
[2026-07-13 09:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a3d140012d7f914005afd938000a011b23..."} 
[2026-07-13 09:36:41] local.INFO: Processing buffer {"connection_id":130197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a3d140012d7f914005afd938000a011b23..."} 
[2026-07-13 09:36:41] local.INFO: Packet analysis {"connection_id":130197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a3"} 
[2026-07-13 09:36:41] local.INFO: Extracted packet for processing {"connection_id":130197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a3"} 
[2026-07-13 09:36:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682248960001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783915336000,"timestamp_ms":1783915336000,"timestamp_seconds":1783915336,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a3d140"} 
[2026-07-13 09:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 09:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682248960001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682248960001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:36:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682248960001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":130197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:36:41] local.INFO: GPS data processed {"connection_id":130197,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:36:41] local.INFO: Acknowledgment sent {"connection_id":130197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:36:43] local.INFO: TCP Data received {"connection_id":132532,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132532,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:36:43] local.INFO: Processing buffer {"connection_id":132532,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:36:43] local.INFO: IMEI packet received {"connection_id":132532,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":132532,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:36:44] local.INFO: TCP Data received {"connection_id":132532,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132532,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:36:44] local.INFO: Processing buffer {"connection_id":132532,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:36:44] local.INFO: IMEI packet received {"connection_id":132532,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":132532,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:36:48] local.INFO: TCP Data received {"connection_id":132532,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132532,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:36:48] local.INFO: Processing buffer {"connection_id":132532,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:36:48] local.INFO: IMEI packet received {"connection_id":132532,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":132532,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:36:49] local.INFO: TCP Data received {"connection_id":132532,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a6f5f0012d7bbe8005ddc5f8000800a529..."} 
[2026-07-13 09:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a6f5f0012d7bbe8005ddc5f8000800a529..."} 
[2026-07-13 09:36:49] local.INFO: Processing buffer {"connection_id":132532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a6f5f0012d7bbe8005ddc5f8000800a529..."} 
[2026-07-13 09:36:49] local.INFO: Packet analysis {"connection_id":132532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a6"} 
[2026-07-13 09:36:49] local.INFO: Extracted packet for processing {"connection_id":132532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a6"} 
[2026-07-13 09:36:49] local.INFO: GPS Element Parsed {"raw_longitude":763084416,"raw_latitude":98420216,"longitude_deg":76.3084416,"latitude_deg":9.8420216,"altitude":8,"angle":165,"satellites":41,"speed":7,"hex_longitude":"2d7bbe80","hex_latitude":"05ddc5f8","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682374144001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105736876442255360,"note":"Value kept but may cause issues"} 
[2026-07-13 09:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916423599948314624,"note":"Value kept but may cause issues"} 
[2026-07-13 09:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783915542000,"timestamp_ms":1783915542000,"timestamp_seconds":1783915542,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a6f5f0"} 
[2026-07-13 09:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-13 09:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09: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-07-13 09:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682374144001,"66":13135,"50":206,"85":15104,"24":7,"16":105736876442255360,"45":8916423599948314624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 09:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682374144001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:36:49] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 09:36:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105736876442255360,"km_value":105736876442255.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916423599948314624,"description":"Unknown IO ID 45"} 
[2026-07-13 09:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682374144001,"power":13135,"unknown_50":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8916423599948314624}} 
[2026-07-13 09:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":132532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:36:49] local.INFO: GPS data processed {"connection_id":132532,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:36:49] local.INFO: Acknowledgment sent {"connection_id":132532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:36:50] local.INFO: TCP Data received {"connection_id":132532,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a71918012d7bbfc005ddbfe0000700b127..."} 
[2026-07-13 09:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a71918012d7bbfc005ddbfe0000700b127..."} 
[2026-07-13 09:36:50] local.INFO: Processing buffer {"connection_id":132532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a71918012d7bbfc005ddbfe0000700b127..."} 
[2026-07-13 09:36:50] local.INFO: Packet analysis {"connection_id":132532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a7"} 
[2026-07-13 09:36:50] local.INFO: Extracted packet for processing {"connection_id":132532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a7"} 
[2026-07-13 09:36:50] local.INFO: GPS Element Parsed {"raw_longitude":763084736,"raw_latitude":98418656,"longitude_deg":76.3084736,"latitude_deg":9.8418656,"altitude":7,"angle":177,"satellites":39,"speed":6,"hex_longitude":"2d7bbfc0","hex_latitude":"05ddbfe0","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682378752001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105736953751666688,"note":"Value kept but may cause issues"} 
[2026-07-13 09:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916705074924091392,"note":"Value kept but may cause issues"} 
[2026-07-13 09:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783915551000,"timestamp_ms":1783915551000,"timestamp_seconds":1783915551,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a71918"} 
[2026-07-13 09:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-13 09:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09: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-07-13 09:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":132532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":132532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":132532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682378752001,"66":13374,"50":206,"85":15104,"24":6,"16":105736953751666688,"45":8916705074924091392},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 09:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682378752001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:36:50] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 09:36:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105736953751666688,"km_value":105736953751666.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916705074924091392,"description":"Unknown IO ID 45"} 
[2026-07-13 09:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682378752001,"power":13374,"unknown_50":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8916705074924091392}} 
[2026-07-13 09:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":132532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:36:50] local.INFO: GPS data processed {"connection_id":132532,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:36:50] local.INFO: Acknowledgment sent {"connection_id":132532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:37:00] local.INFO: TCP Data received {"connection_id":132531,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132531,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:37:00] local.INFO: Processing buffer {"connection_id":132531,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:37:00] local.INFO: IMEI packet received {"connection_id":132531,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 09:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":132531,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:37:12] local.INFO: TCP Data received {"connection_id":130197,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a3d140012d7f914005afd938000a011b23..."} 
[2026-07-13 09:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a3d140012d7f914005afd938000a011b23..."} 
[2026-07-13 09:37:12] local.INFO: Processing buffer {"connection_id":130197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a3d140012d7f914005afd938000a011b23..."} 
[2026-07-13 09:37:12] local.INFO: Packet analysis {"connection_id":130197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a3"} 
[2026-07-13 09:37:12] local.INFO: Extracted packet for processing {"connection_id":130197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a3"} 
[2026-07-13 09:37:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682248960001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783915336000,"timestamp_ms":1783915336000,"timestamp_seconds":1783915336,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a3d140"} 
[2026-07-13 09:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 09:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682248960001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682248960001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:37:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:37:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682248960001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":130197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:37:12] local.INFO: GPS data processed {"connection_id":130197,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:37:12] local.INFO: Acknowledgment sent {"connection_id":130197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:37:21] local.INFO: TCP Data received {"connection_id":132532,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a76b20012d7bc00005ddbda0000700a723..."} 
[2026-07-13 09:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a76b20012d7bc00005ddbda0000700a723..."} 
[2026-07-13 09:37:21] local.INFO: Processing buffer {"connection_id":132532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a76b20012d7bc00005ddbda0000700a723..."} 
[2026-07-13 09:37:21] local.INFO: Packet analysis {"connection_id":132532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a7"} 
[2026-07-13 09:37:21] local.INFO: Extracted packet for processing {"connection_id":132532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a7"} 
[2026-07-13 09:37:21] local.INFO: GPS Element Parsed {"raw_longitude":763084800,"raw_latitude":98418080,"longitude_deg":76.30848,"latitude_deg":9.841808,"altitude":7,"angle":167,"satellites":35,"speed":0,"hex_longitude":"2d7bc000","hex_latitude":"05ddbda0","is_valid_coordinates":true} 
[2026-07-13 09:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682381056001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105736983816437760,"note":"Value kept but may cause issues"} 
[2026-07-13 09:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917056918644580352,"note":"Value kept but may cause issues"} 
[2026-07-13 09:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783915572000,"timestamp_ms":1783915572000,"timestamp_seconds":1783915572,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a76b20"} 
[2026-07-13 09:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-13 09:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":132532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":132532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":132532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682381056001,"66":12798,"185":206,"85":15104,"24":0,"16":105736983816437760,"45":8917056918644580352},"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-07-13 09:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682381056001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:37:21] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-13 09:37:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105736983816437760,"km_value":105736983816437.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917056918644580352,"description":"Unknown IO ID 45"} 
[2026-07-13 09:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682381056001,"power":12798,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8917056918644580352}} 
[2026-07-13 09:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":132532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:37:21] local.INFO: GPS data processed {"connection_id":132532,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:37:21] local.INFO: Acknowledgment sent {"connection_id":132532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:37:35] local.INFO: TCP Data received {"connection_id":130198,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:37:35] local.INFO: Processing buffer {"connection_id":130198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:37:35] local.INFO: IMEI packet received {"connection_id":130198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":130198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:37:40] local.INFO: TCP Data received {"connection_id":131198,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131198,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:37:40] local.INFO: Processing buffer {"connection_id":131198,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:37:40] local.INFO: IMEI packet received {"connection_id":131198,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 09:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":131198,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:37:40] local.INFO: TCP Data received {"connection_id":130198,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:37:40] local.INFO: Processing buffer {"connection_id":130198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:37:40] local.INFO: IMEI packet received {"connection_id":130198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":130198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:37:41] local.INFO: TCP Data received {"connection_id":130198,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a3d140012d7f914005afd938000a011b23..."} 
[2026-07-13 09:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a3d140012d7f914005afd938000a011b23..."} 
[2026-07-13 09:37:41] local.INFO: Processing buffer {"connection_id":130198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a3d140012d7f914005afd938000a011b23..."} 
[2026-07-13 09:37:41] local.INFO: Packet analysis {"connection_id":130198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a3"} 
[2026-07-13 09:37:41] local.INFO: Extracted packet for processing {"connection_id":130198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a3"} 
[2026-07-13 09:37:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682248960001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783915336000,"timestamp_ms":1783915336000,"timestamp_seconds":1783915336,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a3d140"} 
[2026-07-13 09:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 09:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682248960001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682248960001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:37:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:37:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682248960001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":130198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:37:41] local.INFO: GPS data processed {"connection_id":130198,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:37:41] local.INFO: Acknowledgment sent {"connection_id":130198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:37:43] local.INFO: TCP Data received {"connection_id":131199,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:37:43] local.INFO: Processing buffer {"connection_id":131199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:37:43] local.INFO: IMEI packet received {"connection_id":131199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":131199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:37:48] local.INFO: TCP Data received {"connection_id":131199,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:37:48] local.INFO: Processing buffer {"connection_id":131199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:37:48] local.INFO: IMEI packet received {"connection_id":131199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":131199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:37:49] local.INFO: TCP Data received {"connection_id":131199,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a78678012d7bbfc005ddbdd00007000824..."} 
[2026-07-13 09:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a78678012d7bbfc005ddbdd00007000824..."} 
[2026-07-13 09:37:49] local.INFO: Processing buffer {"connection_id":131199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a78678012d7bbfc005ddbdd00007000824..."} 
[2026-07-13 09:37:49] local.INFO: Packet analysis {"connection_id":131199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a7"} 
[2026-07-13 09:37:49] local.INFO: Extracted packet for processing {"connection_id":131199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a7"} 
[2026-07-13 09:37:49] local.INFO: GPS Element Parsed {"raw_longitude":763084736,"raw_latitude":98418128,"longitude_deg":76.3084736,"latitude_deg":9.8418128,"altitude":7,"angle":8,"satellites":36,"speed":2,"hex_longitude":"2d7bbfc0","hex_latitude":"05ddbdd0","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682386432001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105736988111405056,"note":"Value kept but may cause issues"} 
[2026-07-13 09:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917127287388610560,"note":"Value kept but may cause issues"} 
[2026-07-13 09:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783915579000,"timestamp_ms":1783915579000,"timestamp_seconds":1783915579,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a78678"} 
[2026-07-13 09:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-13 09:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09: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-07-13 09:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682386432001,"66":13319,"185":206,"85":15104,"24":2,"16":105736988111405056,"45":8917127287388610560},"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-07-13 09:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682386432001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:37:49] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-13 09:37:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105736988111405056,"km_value":105736988111405.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917127287388610560,"description":"Unknown IO ID 45"} 
[2026-07-13 09:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682386432001,"power":13319,"unknown_185":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8917127287388610560}} 
[2026-07-13 09:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":131199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479417,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:37:49] local.INFO: GPS data processed {"connection_id":131199,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:37:49] local.INFO: Acknowledgment sent {"connection_id":131199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:37:53] local.INFO: TCP Data received {"connection_id":131199,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a79230012d7bbfc005ddbe900007016024..."} 
[2026-07-13 09:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a79230012d7bbfc005ddbe900007016024..."} 
[2026-07-13 09:37:53] local.INFO: Processing buffer {"connection_id":131199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a79230012d7bbfc005ddbe900007016024..."} 
[2026-07-13 09:37:53] local.INFO: Packet analysis {"connection_id":131199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a7"} 
[2026-07-13 09:37:53] local.INFO: Extracted packet for processing {"connection_id":131199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a7"} 
[2026-07-13 09:37:53] local.INFO: GPS Element Parsed {"raw_longitude":763084736,"raw_latitude":98418320,"longitude_deg":76.3084736,"latitude_deg":9.841832,"altitude":7,"angle":352,"satellites":36,"speed":2,"hex_longitude":"2d7bbfc0","hex_latitude":"05ddbe90","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682388224001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105736996701339648,"note":"Value kept but may cause issues"} 
[2026-07-13 09:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917056918644445184,"note":"Value kept but may cause issues"} 
[2026-07-13 09:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783915582000,"timestamp_ms":1783915582000,"timestamp_seconds":1783915582,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a79230"} 
[2026-07-13 09:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 09:37:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 09:37:53] local.WARNING: Large IO value detected {"io_id":128,"raw_value":3221302651,"note":"Value kept but may cause issues"} 
[2026-07-13 09:37:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-13 09:37:53] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2796527617,"note":"Value kept but may cause issues"} 
[2026-07-13 09:37:53] local.WARNING: Large IO value detected {"io_id":221,"raw_value":-2177490381168564736,"note":"Value kept but may cause issues"} 
[2026-07-13 09:37:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805072078,"corrected_to":0} 
[2026-07-13 09:37:53] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308455,"note":"Value kept but may cause issues"} 
[2026-07-13 09:37:53] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2799239168,"note":"Value kept but may cause issues"} 
[2026-07-13 09:37:53] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3722471424,"note":"Value kept but may cause issues"} 
[2026-07-13 09:37:53] local.WARNING: Large IO value detected {"io_id":160,"raw_value":57886203429410107,"note":"Value kept but may cause issues"} 
[2026-07-13 09:37:53] local.WARNING: Large IO value detected {"io_id":166,"raw_value":8151516620401655813,"note":"Value kept but may cause issues"} 
[2026-07-13 09:37:53] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,185,85,24,241,157,16,167,159,107,45,189,7,35,10,66,25,192,191,39,50,245,128,1,240,79,227,89,221,4,113,205,8,188,96,42,239,52,2,119,5,160,166],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2805072078,"validated":0}]} 
[2026-07-13 09:37:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504412108977471488,"timestamp_seconds":504412108977471.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 09:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":131199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":131199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":131199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682388224001,"66":13222,"169":206,"85":15104,"24":2,"16":105736996701339648,"45":8917056918644445184},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-13 09:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682388224001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:37:53] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-13 09:37:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105736996701339648,"km_value":105736996701339.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917056918644445184,"description":"Unknown IO ID 45"} 
[2026-07-13 09:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682388224001,"power":13222,"unknown_169":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8917056918644445184}} 
[2026-07-13 09:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":131199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:37:53] local.INFO: GPS data processed {"connection_id":131199,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:37:53] local.INFO: Acknowledgment sent {"connection_id":131199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:38:12] local.INFO: TCP Data received {"connection_id":130198,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a86908012d7f914005afd938000b011b25..."} 
[2026-07-13 09:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a86908012d7f914005afd938000b011b25..."} 
[2026-07-13 09:38:12] local.INFO: Processing buffer {"connection_id":130198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a86908012d7f914005afd938000b011b25..."} 
[2026-07-13 09:38:12] local.INFO: Packet analysis {"connection_id":130198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a8"} 
[2026-07-13 09:38:12] local.INFO: Extracted packet for processing {"connection_id":130198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a8"} 
[2026-07-13 09:38:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682326016001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783915637000,"timestamp_ms":1783915637000,"timestamp_seconds":1783915637,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a86908"} 
[2026-07-13 09:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 09:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682326016001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682326016001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:38:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:38:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682326016001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":130198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:38:12] local.INFO: GPS data processed {"connection_id":130198,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:38:12] local.INFO: Acknowledgment sent {"connection_id":130198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:38:25] local.INFO: TCP Data received {"connection_id":131199,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a7e050012d7bbfc005ddbec80007016022..."} 
[2026-07-13 09:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a7e050012d7bbfc005ddbec80007016022..."} 
[2026-07-13 09:38:25] local.INFO: Processing buffer {"connection_id":131199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a7e050012d7bbfc005ddbec80007016022..."} 
[2026-07-13 09:38:25] local.INFO: Packet analysis {"connection_id":131199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a7"} 
[2026-07-13 09:38:25] local.INFO: Extracted packet for processing {"connection_id":131199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a7"} 
[2026-07-13 09:38:25] local.INFO: GPS Element Parsed {"raw_longitude":763084736,"raw_latitude":98418376,"longitude_deg":76.3084736,"latitude_deg":9.8418376,"altitude":7,"angle":352,"satellites":34,"speed":0,"hex_longitude":"2d7bbfc0","hex_latitude":"05ddbec8","is_valid_coordinates":true} 
[2026-07-13 09:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682388992001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105736996701339648,"note":"Value kept but may cause issues"} 
[2026-07-13 09:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917056918644494336,"note":"Value kept but may cause issues"} 
[2026-07-13 09:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783915602000,"timestamp_ms":1783915602000,"timestamp_seconds":1783915602,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a7e050"} 
[2026-07-13 09:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:38: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-07-13 09: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-13 09:38: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-07-13 09:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":131199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":131199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":131199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:38: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-07-13 09:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682388992001,"66":13037,"169":206,"85":15104,"24":0,"16":105736996701339648,"45":8917056918644494336},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-13 09:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682388992001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:38:25] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-13 09:38:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105736996701339648,"km_value":105736996701339.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917056918644494336,"description":"Unknown IO ID 45"} 
[2026-07-13 09:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682388992001,"power":13037,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8917056918644494336}} 
[2026-07-13 09:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":131199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:38:25] local.INFO: GPS data processed {"connection_id":131199,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:38:25] local.INFO: Acknowledgment sent {"connection_id":131199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:38:35] local.INFO: TCP Data received {"connection_id":132533,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:38:35] local.INFO: Processing buffer {"connection_id":132533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:38:35] local.INFO: IMEI packet received {"connection_id":132533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":132533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:38:40] local.INFO: TCP Data received {"connection_id":132533,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:38:40] local.INFO: Processing buffer {"connection_id":132533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:38:40] local.INFO: IMEI packet received {"connection_id":132533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":132533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:38:41] local.INFO: TCP Data received {"connection_id":132533,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a86908012d7f914005afd938000b011b25..."} 
[2026-07-13 09:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a86908012d7f914005afd938000b011b25..."} 
[2026-07-13 09:38:41] local.INFO: Processing buffer {"connection_id":132533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a86908012d7f914005afd938000b011b25..."} 
[2026-07-13 09:38:41] local.INFO: Packet analysis {"connection_id":132533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a8"} 
[2026-07-13 09:38:41] local.INFO: Extracted packet for processing {"connection_id":132533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a8"} 
[2026-07-13 09:38:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682326016001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783915637000,"timestamp_ms":1783915637000,"timestamp_seconds":1783915637,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a86908"} 
[2026-07-13 09:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 09:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682326016001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682326016001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:38:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:38:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682326016001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":132533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:38:41] local.INFO: GPS data processed {"connection_id":132533,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:38:41] local.INFO: Acknowledgment sent {"connection_id":132533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:38:43] local.INFO: TCP Data received {"connection_id":130199,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:38:43] local.INFO: Processing buffer {"connection_id":130199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:38:43] local.INFO: IMEI packet received {"connection_id":130199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":130199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:38:48] local.INFO: TCP Data received {"connection_id":130199,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:38:48] local.INFO: Processing buffer {"connection_id":130199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:38:48] local.INFO: IMEI packet received {"connection_id":130199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":130199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:38:49] local.INFO: TCP Data received {"connection_id":130199,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a7f7c0012d7bc04005ddbe60000700a526..."} 
[2026-07-13 09:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a7f7c0012d7bc04005ddbe60000700a526..."} 
[2026-07-13 09:38:49] local.INFO: Processing buffer {"connection_id":130199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a7f7c0012d7bc04005ddbe60000700a526..."} 
[2026-07-13 09:38:49] local.INFO: Packet analysis {"connection_id":130199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a7"} 
[2026-07-13 09:38:49] local.INFO: Extracted packet for processing {"connection_id":130199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a7"} 
[2026-07-13 09:38:49] local.INFO: GPS Element Parsed {"raw_longitude":763084864,"raw_latitude":98418272,"longitude_deg":76.3084864,"latitude_deg":9.8418272,"altitude":7,"angle":165,"satellites":38,"speed":2,"hex_longitude":"2d7bc040","hex_latitude":"05ddbe60","is_valid_coordinates":true} 
[2026-07-13 09:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682394112001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737005291274240,"note":"Value kept but may cause issues"} 
[2026-07-13 09:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917056918644508672,"note":"Value kept but may cause issues"} 
[2026-07-13 09:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783915608000,"timestamp_ms":1783915608000,"timestamp_seconds":1783915608,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a7f7c0"} 
[2026-07-13 09:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-13 09:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682394112001,"66":13102,"50":206,"85":15104,"24":2,"16":105737005291274240,"45":8917056918644508672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 09:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682394112001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:38:49] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 09:38:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737005291274240,"km_value":105737005291274.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917056918644508672,"description":"Unknown IO ID 45"} 
[2026-07-13 09:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682394112001,"power":13102,"unknown_50":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8917056918644508672}} 
[2026-07-13 09:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":130199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:38:49] local.INFO: GPS data processed {"connection_id":130199,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:38:49] local.INFO: Acknowledgment sent {"connection_id":130199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:39:12] local.INFO: TCP Data received {"connection_id":132533,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a86908012d7f914005afd938000b011b25..."} 
[2026-07-13 09:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a86908012d7f914005afd938000b011b25..."} 
[2026-07-13 09:39:12] local.INFO: Processing buffer {"connection_id":132533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a86908012d7f914005afd938000b011b25..."} 
[2026-07-13 09:39:12] local.INFO: Packet analysis {"connection_id":132533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a8"} 
[2026-07-13 09:39:12] local.INFO: Extracted packet for processing {"connection_id":132533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a8"} 
[2026-07-13 09:39:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682326016001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783915637000,"timestamp_ms":1783915637000,"timestamp_seconds":1783915637,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a86908"} 
[2026-07-13 09:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 09:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:39:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682326016001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682326016001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:39:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:39:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682326016001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":132533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:39:12] local.INFO: GPS data processed {"connection_id":132533,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:39:12] local.INFO: Acknowledgment sent {"connection_id":132533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:39:20] local.INFO: TCP Data received {"connection_id":130199,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a7ff90012d7bc04005ddbdb0000700b427..."} 
[2026-07-13 09:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a7ff90012d7bc04005ddbdb0000700b427..."} 
[2026-07-13 09:39:20] local.INFO: Processing buffer {"connection_id":130199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a7ff90012d7bc04005ddbdb0000700b427..."} 
[2026-07-13 09:39:20] local.INFO: Packet analysis {"connection_id":130199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a7"} 
[2026-07-13 09:39:20] local.INFO: Extracted packet for processing {"connection_id":130199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a7"} 
[2026-07-13 09:39:20] local.INFO: GPS Element Parsed {"raw_longitude":763084864,"raw_latitude":98418096,"longitude_deg":76.3084864,"latitude_deg":9.8418096,"altitude":7,"angle":180,"satellites":39,"speed":3,"hex_longitude":"2d7bc040","hex_latitude":"05ddbdb0","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682395648001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737013881208832,"note":"Value kept but may cause issues"} 
[2026-07-13 09:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917197656132837376,"note":"Value kept but may cause issues"} 
[2026-07-13 09:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783915610000,"timestamp_ms":1783915610000,"timestamp_seconds":1783915610,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a7ff90"} 
[2026-07-13 09:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-13 09:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09: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-07-13 09:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:39: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-07-13 09:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682395648001,"66":13102,"50":206,"85":15104,"24":3,"16":105737013881208832,"45":8917197656132837376},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 09:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682395648001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:39:20] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 09:39:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737013881208832,"km_value":105737013881208.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917197656132837376,"description":"Unknown IO ID 45"} 
[2026-07-13 09:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682395648001,"power":13102,"unknown_50":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8917197656132837376}} 
[2026-07-13 09:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":130199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:39:20] local.INFO: GPS data processed {"connection_id":130199,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:39:20] local.INFO: Acknowledgment sent {"connection_id":130199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:39:35] local.INFO: TCP Data received {"connection_id":130200,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:39:35] local.INFO: Processing buffer {"connection_id":130200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:39:35] local.INFO: IMEI packet received {"connection_id":130200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":130200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:39:40] local.INFO: TCP Data received {"connection_id":130200,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:39:40] local.INFO: Processing buffer {"connection_id":130200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:39:40] local.INFO: IMEI packet received {"connection_id":130200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":130200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:39:41] local.INFO: TCP Data received {"connection_id":130200,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a86908012d7f914005afd938000b011b25..."} 
[2026-07-13 09:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a86908012d7f914005afd938000b011b25..."} 
[2026-07-13 09:39:41] local.INFO: Processing buffer {"connection_id":130200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a86908012d7f914005afd938000b011b25..."} 
[2026-07-13 09:39:41] local.INFO: Packet analysis {"connection_id":130200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a8"} 
[2026-07-13 09:39:41] local.INFO: Extracted packet for processing {"connection_id":130200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a8"} 
[2026-07-13 09:39:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682326016001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783915637000,"timestamp_ms":1783915637000,"timestamp_seconds":1783915637,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a86908"} 
[2026-07-13 09:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 09:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682326016001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682326016001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:39:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:39:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682326016001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":130200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:39:41] local.INFO: GPS data processed {"connection_id":130200,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:39:41] local.INFO: Acknowledgment sent {"connection_id":130200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:39:42] local.INFO: TCP Data received {"connection_id":130201,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130201,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:39:42] local.INFO: Processing buffer {"connection_id":130201,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:39:42] local.INFO: IMEI packet received {"connection_id":130201,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":130201,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:39:43] local.INFO: TCP Data received {"connection_id":130201,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130201,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:39:43] local.INFO: Processing buffer {"connection_id":130201,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:39:43] local.INFO: IMEI packet received {"connection_id":130201,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":130201,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:39:48] local.INFO: TCP Data received {"connection_id":130201,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130201,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:39:48] local.INFO: Processing buffer {"connection_id":130201,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:39:48] local.INFO: IMEI packet received {"connection_id":130201,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":130201,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:39:49] local.INFO: TCP Data received {"connection_id":130201,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a80760012d7bc00005ddbd00000700e028..."} 
[2026-07-13 09:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a80760012d7bc00005ddbd00000700e028..."} 
[2026-07-13 09:39:49] local.INFO: Processing buffer {"connection_id":130201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a80760012d7bc00005ddbd00000700e028..."} 
[2026-07-13 09:39:49] local.INFO: Packet analysis {"connection_id":130201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a8"} 
[2026-07-13 09:39:49] local.INFO: Extracted packet for processing {"connection_id":130201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a8"} 
[2026-07-13 09:39:49] local.INFO: GPS Element Parsed {"raw_longitude":763084800,"raw_latitude":98417920,"longitude_deg":76.30848,"latitude_deg":9.841792,"altitude":7,"angle":224,"satellites":40,"speed":1,"hex_longitude":"2d7bc000","hex_latitude":"05ddbd00","is_valid_coordinates":true} 
[2026-07-13 09:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682396160001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737026766110720,"note":"Value kept but may cause issues"} 
[2026-07-13 09:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917197656132792320,"note":"Value kept but may cause issues"} 
[2026-07-13 09:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783915612000,"timestamp_ms":1783915612000,"timestamp_seconds":1783915612,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a80760"} 
[2026-07-13 09:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-13 09:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:39: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-07-13 09:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682396160001,"66":13004,"50":206,"85":15104,"24":1,"16":105737026766110720,"45":8917197656132792320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 09:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682396160001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:39:49] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 09:39:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737026766110720,"km_value":105737026766110.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917197656132792320,"description":"Unknown IO ID 45"} 
[2026-07-13 09:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682396160001,"power":13004,"unknown_50":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8917197656132792320}} 
[2026-07-13 09:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":130201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:39:49] local.INFO: GPS data processed {"connection_id":130201,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:39:49] local.INFO: Acknowledgment sent {"connection_id":130201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:40:12] local.INFO: TCP Data received {"connection_id":130200,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a86908012d7f914005afd938000b011b25..."} 
[2026-07-13 09:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a86908012d7f914005afd938000b011b25..."} 
[2026-07-13 09:40:12] local.INFO: Processing buffer {"connection_id":130200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a86908012d7f914005afd938000b011b25..."} 
[2026-07-13 09:40:12] local.INFO: Packet analysis {"connection_id":130200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a8"} 
[2026-07-13 09:40:12] local.INFO: Extracted packet for processing {"connection_id":130200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a8"} 
[2026-07-13 09:40:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682326016001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783915637000,"timestamp_ms":1783915637000,"timestamp_seconds":1783915637,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a86908"} 
[2026-07-13 09:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 09:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682326016001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682326016001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:40:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:40:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682326016001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":130200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:40:12] local.INFO: GPS data processed {"connection_id":130200,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:40:12] local.INFO: Acknowledgment sent {"connection_id":130200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:40:40] local.INFO: TCP Data received {"connection_id":131200,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:40:40] local.INFO: Processing buffer {"connection_id":131200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:40:40] local.INFO: IMEI packet received {"connection_id":131200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":131200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:40:45] local.INFO: TCP Data received {"connection_id":131200,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:40:45] local.INFO: Processing buffer {"connection_id":131200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:40:45] local.INFO: IMEI packet received {"connection_id":131200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":131200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:40:46] local.INFO: TCP Data received {"connection_id":131200,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a86908012d7f914005afd938000b011b25..."} 
[2026-07-13 09:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a86908012d7f914005afd938000b011b25..."} 
[2026-07-13 09:40:46] local.INFO: Processing buffer {"connection_id":131200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a86908012d7f914005afd938000b011b25..."} 
[2026-07-13 09:40:46] local.INFO: Packet analysis {"connection_id":131200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a8"} 
[2026-07-13 09:40:46] local.INFO: Extracted packet for processing {"connection_id":131200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a8"} 
[2026-07-13 09:40:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682326016001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783915637000,"timestamp_ms":1783915637000,"timestamp_seconds":1783915637,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a86908"} 
[2026-07-13 09:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 09:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682326016001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682326016001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:40:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:40:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682326016001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":131200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:40:46] local.INFO: GPS data processed {"connection_id":131200,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:40:46] local.INFO: Acknowledgment sent {"connection_id":131200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:40:50] local.INFO: TCP Data received {"connection_id":131200,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a86908012d7f914005afd938000b011b25..."} 
[2026-07-13 09:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a86908012d7f914005afd938000b011b25..."} 
[2026-07-13 09:40:50] local.INFO: Processing buffer {"connection_id":131200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a86908012d7f914005afd938000b011b25..."} 
[2026-07-13 09:40:50] local.INFO: Packet analysis {"connection_id":131200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a8"} 
[2026-07-13 09:40:50] local.INFO: Extracted packet for processing {"connection_id":131200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a8"} 
[2026-07-13 09:40:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682326016001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783915637000,"timestamp_ms":1783915637000,"timestamp_seconds":1783915637,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a86908"} 
[2026-07-13 09:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09: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":200,"data_length":795,"current_offset":136} 
[2026-07-13 09:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:40: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-07-13 09:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682326016001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682326016001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:40:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:40:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682326016001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":131200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:40:50] local.INFO: GPS data processed {"connection_id":131200,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:40:50] local.INFO: Acknowledgment sent {"connection_id":131200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:41:06] local.INFO: TCP Data received {"connection_id":130202,"ip":"117.225.196.117","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130202,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:41:06] local.INFO: Processing buffer {"connection_id":130202,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:41:06] local.INFO: IMEI packet received {"connection_id":130202,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":130202,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:41:08] local.INFO: TCP Data received {"connection_id":130202,"ip":"117.225.196.117","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130202,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:41:08] local.INFO: Processing buffer {"connection_id":130202,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:41:08] local.INFO: IMEI packet received {"connection_id":130202,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":130202,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:41:35] local.INFO: TCP Data received {"connection_id":131202,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:41:35] local.INFO: Processing buffer {"connection_id":131202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:41:35] local.INFO: IMEI packet received {"connection_id":131202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":131202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:41:40] local.INFO: TCP Data received {"connection_id":131202,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:41:40] local.INFO: Processing buffer {"connection_id":131202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:41:40] local.INFO: IMEI packet received {"connection_id":131202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":131202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:41:41] local.INFO: TCP Data received {"connection_id":131202,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a86908012d7f914005afd938000b011b25..."} 
[2026-07-13 09:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a86908012d7f914005afd938000b011b25..."} 
[2026-07-13 09:41:41] local.INFO: Processing buffer {"connection_id":131202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a86908012d7f914005afd938000b011b25..."} 
[2026-07-13 09:41:41] local.INFO: Packet analysis {"connection_id":131202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a8"} 
[2026-07-13 09:41:41] local.INFO: Extracted packet for processing {"connection_id":131202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a8"} 
[2026-07-13 09:41:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682326016001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783915637000,"timestamp_ms":1783915637000,"timestamp_seconds":1783915637,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a86908"} 
[2026-07-13 09:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 09:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682326016001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682326016001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:41:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:41:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682326016001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":131202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:41:41] local.INFO: GPS data processed {"connection_id":131202,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:41:41] local.INFO: Acknowledgment sent {"connection_id":131202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:41:44] local.INFO: TCP Data received {"connection_id":132537,"ip":"117.225.196.117","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132537,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:41:44] local.INFO: Processing buffer {"connection_id":132537,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:41:44] local.INFO: IMEI packet received {"connection_id":132537,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":132537,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:41:49] local.INFO: TCP Data received {"connection_id":132537,"ip":"117.225.196.117","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132537,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:41:49] local.INFO: Processing buffer {"connection_id":132537,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:41:49] local.INFO: IMEI packet received {"connection_id":132537,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":132537,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:41:56] local.INFO: TCP Data received {"connection_id":132537,"ip":"117.225.196.117","data_length":795,"data_hex":"000000000000030f8e0a0000019f59abb8b0012d0d37400704bdb80020005823..."} 
[2026-07-13 09:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59abb8b0012d0d37400704bdb80020005823..."} 
[2026-07-13 09:41:56] local.INFO: Processing buffer {"connection_id":132537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59abb8b0012d0d37400704bdb80020005823..."} 
[2026-07-13 09:41:56] local.INFO: Packet analysis {"connection_id":132537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ab"} 
[2026-07-13 09:41:56] local.INFO: Extracted packet for processing {"connection_id":132537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ab"} 
[2026-07-13 09:41:56] local.INFO: GPS Element Parsed {"raw_longitude":755840832,"raw_latitude":117751224,"longitude_deg":75.5840832,"latitude_deg":11.7751224,"altitude":32,"angle":88,"satellites":35,"speed":12,"hex_longitude":"2d0d3740","hex_latitude":"0704bdb8","is_valid_coordinates":true} 
[2026-07-13 09:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682458112001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24221407936249856,"note":"Value kept but may cause issues"} 
[2026-07-13 09:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":951455820170465280,"note":"Value kept but may cause issues"} 
[2026-07-13 09:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783915854000,"timestamp_ms":1783915854000,"timestamp_seconds":1783915854,"priority":1,"record_length":96,"hex_timestamp":"0000019f59abb8b0"} 
[2026-07-13 09:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-13 09:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142784,"note":"Value kept but may cause issues"} 
[2026-07-13 09:41:56] local.WARNING: Large IO value detected {"io_id":24,"raw_value":84738045819421889,"note":"Value kept but may cause issues"} 
[2026-07-13 09:41:56] local.WARNING: Large IO value detected {"io_id":12,"raw_value":-4251390331256307669,"note":"Value kept but may cause issues"} 
[2026-07-13 09:41:56] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-13 09:41:56] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2872815617,"note":"Value kept but may cause issues"} 
[2026-07-13 09:41:56] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639363509138271,"note":"Value kept but may cause issues"} 
[2026-07-13 09:41:56] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5620756222048534784,"note":"Value kept but may cause issues"} 
[2026-07-13 09:41:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":861864142,"corrected_to":0} 
[2026-07-13 09:41:56] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3842034995,"note":"Value kept but may cause issues"} 
[2026-07-13 09:41:56] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835469387268112,"note":"Value kept but may cause issues"} 
[2026-07-13 09:41:56] local.WARNING: Large IO value detected {"io_id":208,"raw_value":12103798247922944,"note":"Value kept but may cause issues"} 
[2026-07-13 09:41:56] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,18,28,24,241,158,16,13,159,165,45,128,187,34,36,10,66,130,188,37,12,114,1,240,38,89,4,113,205,94,11,227,239,55,95,2,86,7,42,33,206,208],"length":628,"final_offset":758,"validated_count":42,"validation_warnings":[{"io_id":205,"original":861864142,"validated":0}]} 
[2026-07-13 09:41:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2377978823197392896,"timestamp_seconds":2377978823197393.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 09:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132537,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132537,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.196.117","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682458112001,"66":14407,"18":206,"28":32256,"24":12,"16":24221407936249856,"45":951455820170465280},"client_ip":"117.225.196.117","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-07-13 09:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682458112001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:41:56] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-13 09:41:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-13 09:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24221407936249856,"km_value":24221407936249.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":951455820170465280,"description":"Unknown IO ID 45"} 
[2026-07-13 09:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682458112001,"power":14407,"unknown_18":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_45":951455820170465280}} 
[2026-07-13 09:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":132537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479431,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:41:56] local.INFO: GPS data processed {"connection_id":132537,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:41:56] local.INFO: Acknowledgment sent {"connection_id":132537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:41:57] local.INFO: TCP Data received {"connection_id":132537,"ip":"117.225.196.117","data_length":795,"data_hex":"000000000000030f8e0a0000019f59abc080012d0d39000704bd98001f006824..."} 
[2026-07-13 09:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59abc080012d0d39000704bd98001f006824..."} 
[2026-07-13 09:41:57] local.INFO: Processing buffer {"connection_id":132537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59abc080012d0d39000704bd98001f006824..."} 
[2026-07-13 09:41:57] local.INFO: Packet analysis {"connection_id":132537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ab"} 
[2026-07-13 09:41:57] local.INFO: Extracted packet for processing {"connection_id":132537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ab"} 
[2026-07-13 09:41:57] local.INFO: GPS Element Parsed {"raw_longitude":755841280,"raw_latitude":117751192,"longitude_deg":75.584128,"latitude_deg":11.7751192,"altitude":31,"angle":104,"satellites":36,"speed":6,"hex_longitude":"2d0d3900","hex_latitude":"0704bd98","is_valid_coordinates":true} 
[2026-07-13 09:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682458624001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24221433706053632,"note":"Value kept but may cause issues"} 
[2026-07-13 09:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952300245100640256,"note":"Value kept but may cause issues"} 
[2026-07-13 09:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783915856000,"timestamp_ms":1783915856000,"timestamp_seconds":1783915856,"priority":1,"record_length":96,"hex_timestamp":"0000019f59abc080"} 
[2026-07-13 09:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-13 09:41:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:41:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132537,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132537,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.196.117","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682458624001,"66":14428,"18":206,"28":32256,"24":6,"16":24221433706053632,"45":952300245100640256},"client_ip":"117.225.196.117","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-07-13 09:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682458624001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:41:57] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-13 09:41:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-13 09:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24221433706053632,"km_value":24221433706053.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":952300245100640256,"description":"Unknown IO ID 45"} 
[2026-07-13 09:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682458624001,"power":14428,"unknown_18":206,"unknown_28":32256,"ignition":6,"odometer":null,"unknown_45":952300245100640256}} 
[2026-07-13 09:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":132537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479432,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:41:57] local.INFO: GPS data processed {"connection_id":132537,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:41:57] local.INFO: Acknowledgment sent {"connection_id":132537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:42:12] local.INFO: TCP Data received {"connection_id":131202,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a86908012d7f914005afd938000b011b25..."} 
[2026-07-13 09:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a86908012d7f914005afd938000b011b25..."} 
[2026-07-13 09:42:12] local.INFO: Processing buffer {"connection_id":131202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a86908012d7f914005afd938000b011b25..."} 
[2026-07-13 09:42:12] local.INFO: Packet analysis {"connection_id":131202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a8"} 
[2026-07-13 09:42:12] local.INFO: Extracted packet for processing {"connection_id":131202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a8"} 
[2026-07-13 09:42:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682326016001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783915637000,"timestamp_ms":1783915637000,"timestamp_seconds":1783915637,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a86908"} 
[2026-07-13 09:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 09:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682326016001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682326016001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:42:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:42:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682326016001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":131202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:42:12] local.INFO: GPS data processed {"connection_id":131202,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:42:12] local.INFO: Acknowledgment sent {"connection_id":131202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:42:28] local.INFO: TCP Data received {"connection_id":130203,"ip":"117.225.196.117","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130203,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:42:28] local.INFO: Processing buffer {"connection_id":130203,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:42:28] local.INFO: IMEI packet received {"connection_id":130203,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":130203,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:42:28] local.INFO: TCP Data received {"connection_id":130203,"ip":"117.225.196.117","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130203,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:42:28] local.INFO: Processing buffer {"connection_id":130203,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:42:28] local.INFO: IMEI packet received {"connection_id":130203,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":130203,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:42:33] local.INFO: TCP Data received {"connection_id":130203,"ip":"117.225.196.117","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130203,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:42:33] local.INFO: Processing buffer {"connection_id":130203,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:42:33] local.INFO: IMEI packet received {"connection_id":130203,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":130203,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:42:35] local.INFO: TCP Data received {"connection_id":130203,"ip":"117.225.196.117","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ace190012d0d320007046288001c00cc24..."} 
[2026-07-13 09:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ace190012d0d320007046288001c00cc24..."} 
[2026-07-13 09:42:35] local.INFO: Processing buffer {"connection_id":130203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ace190012d0d320007046288001c00cc24..."} 
[2026-07-13 09:42:35] local.INFO: Packet analysis {"connection_id":130203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ac"} 
[2026-07-13 09:42:35] local.INFO: Extracted packet for processing {"connection_id":130203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ac"} 
[2026-07-13 09:42:35] local.INFO: GPS Element Parsed {"raw_longitude":755839488,"raw_latitude":117727880,"longitude_deg":75.5839488,"latitude_deg":11.772788,"altitude":28,"angle":204,"satellites":36,"speed":12,"hex_longitude":"2d0d3200","hex_latitude":"07046288","is_valid_coordinates":true} 
[2026-07-13 09:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682477312001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24222589052256256,"note":"Value kept but may cause issues"} 
[2026-07-13 09:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":951033607699748864,"note":"Value kept but may cause issues"} 
[2026-07-13 09:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783915930000,"timestamp_ms":1783915930000,"timestamp_seconds":1783915930,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ace190"} 
[2026-07-13 09:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-13 09:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130203,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130203,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.196.117","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682477312001,"66":14428,"18":206,"28":32256,"24":12,"16":24222589052256256,"45":951033607699748864},"client_ip":"117.225.196.117","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-07-13 09:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682477312001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:42:35] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-13 09:42:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-13 09:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24222589052256256,"km_value":24222589052256.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":951033607699748864,"description":"Unknown IO ID 45"} 
[2026-07-13 09:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682477312001,"power":14428,"unknown_18":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_45":951033607699748864}} 
[2026-07-13 09:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":130203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479434,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:42:35] local.INFO: GPS data processed {"connection_id":130203,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:42:35] local.INFO: Acknowledgment sent {"connection_id":130203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:42:35] local.INFO: TCP Data received {"connection_id":130204,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:42:35] local.INFO: Processing buffer {"connection_id":130204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:42:35] local.INFO: IMEI packet received {"connection_id":130204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":130204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:42:40] local.INFO: TCP Data received {"connection_id":130204,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:42:40] local.INFO: Processing buffer {"connection_id":130204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:42:40] local.INFO: IMEI packet received {"connection_id":130204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":130204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:42:41] local.INFO: TCP Data received {"connection_id":130204,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f59a86908012d7f914005afd938000b011b25..."} 
[2026-07-13 09:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59a86908012d7f914005afd938000b011b25..."} 
[2026-07-13 09:42:41] local.INFO: Processing buffer {"connection_id":130204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59a86908012d7f914005afd938000b011b25..."} 
[2026-07-13 09:42:41] local.INFO: Packet analysis {"connection_id":130204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59a8"} 
[2026-07-13 09:42:41] local.INFO: Extracted packet for processing {"connection_id":130204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59a8"} 
[2026-07-13 09:42:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682326016001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783915637000,"timestamp_ms":1783915637000,"timestamp_seconds":1783915637,"priority":1,"record_length":96,"hex_timestamp":"0000019f59a86908"} 
[2026-07-13 09:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 09:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682326016001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682326016001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:42:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:42:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682326016001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":130204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:42:41] local.INFO: GPS data processed {"connection_id":130204,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:42:41] local.INFO: Acknowledgment sent {"connection_id":130204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:43:05] local.INFO: TCP Data received {"connection_id":130205,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130205,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:43:05] local.INFO: Processing buffer {"connection_id":130205,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:43:05] local.INFO: IMEI packet received {"connection_id":130205,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 09:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":130205,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:43:06] local.INFO: TCP Data received {"connection_id":130203,"ip":"117.225.196.117","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ad00d0012d0d2e8007045a30001c00b925..."} 
[2026-07-13 09:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ad00d0012d0d2e8007045a30001c00b925..."} 
[2026-07-13 09:43:06] local.INFO: Processing buffer {"connection_id":130203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ad00d0012d0d2e8007045a30001c00b925..."} 
[2026-07-13 09:43:06] local.INFO: Packet analysis {"connection_id":130203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ad"} 
[2026-07-13 09:43:06] local.INFO: Extracted packet for processing {"connection_id":130203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ad"} 
[2026-07-13 09:43:06] local.INFO: GPS Element Parsed {"raw_longitude":755838592,"raw_latitude":117725744,"longitude_deg":75.5838592,"latitude_deg":11.7725744,"altitude":28,"angle":185,"satellites":37,"speed":12,"hex_longitude":"2d0d2e80","hex_latitude":"07045a30","is_valid_coordinates":true} 
[2026-07-13 09:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682478080001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24222700721405952,"note":"Value kept but may cause issues"} 
[2026-07-13 09:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950822501466933248,"note":"Value kept but may cause issues"} 
[2026-07-13 09:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783915938000,"timestamp_ms":1783915938000,"timestamp_seconds":1783915938,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ad00d0"} 
[2026-07-13 09:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 09:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130203,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130203,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.196.117","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682478080001,"66":14439,"18":206,"28":32256,"24":12,"16":24222700721405952,"45":950822501466933248},"client_ip":"117.225.196.117","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-07-13 09:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682478080001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:43:06] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-13 09:43:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-13 09:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24222700721405952,"km_value":24222700721405.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":950822501466933248,"description":"Unknown IO ID 45"} 
[2026-07-13 09:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682478080001,"power":14439,"unknown_18":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_45":950822501466933248}} 
[2026-07-13 09:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":130203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479436,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:43:07] local.INFO: GPS data processed {"connection_id":130203,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:43:07] local.INFO: Acknowledgment sent {"connection_id":130203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:43:12] local.INFO: TCP Data received {"connection_id":130204,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ad00d0012d7f914005afd938000b011b23..."} 
[2026-07-13 09:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ad00d0012d7f914005afd938000b011b23..."} 
[2026-07-13 09:43:12] local.INFO: Processing buffer {"connection_id":130204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ad00d0012d7f914005afd938000b011b23..."} 
[2026-07-13 09:43:12] local.INFO: Packet analysis {"connection_id":130204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ad"} 
[2026-07-13 09:43:12] local.INFO: Extracted packet for processing {"connection_id":130204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ad"} 
[2026-07-13 09:43:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682403072001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783915938000,"timestamp_ms":1783915938000,"timestamp_seconds":1783915938,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ad00d0"} 
[2026-07-13 09:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682403072001,"66":25278,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682403072001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:43:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:43:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682403072001,"power":25278,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":130204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:43:12] local.INFO: GPS data processed {"connection_id":130204,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:43:12] local.INFO: Acknowledgment sent {"connection_id":130204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:43:28] local.INFO: TCP Data received {"connection_id":132538,"ip":"117.225.196.117","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132538,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:43:28] local.INFO: Processing buffer {"connection_id":132538,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:43:28] local.INFO: IMEI packet received {"connection_id":132538,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":132538,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:43:31] local.INFO: TCP Data received {"connection_id":132538,"ip":"117.225.196.117","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132538,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:43:31] local.INFO: Processing buffer {"connection_id":132538,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:43:31] local.INFO: IMEI packet received {"connection_id":132538,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":132538,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:43:33] local.INFO: TCP Data received {"connection_id":132538,"ip":"117.225.196.117","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ad1c28012d0d2d8007045010001c00c425..."} 
[2026-07-13 09:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ad1c28012d0d2d8007045010001c00c425..."} 
[2026-07-13 09:43:33] local.INFO: Processing buffer {"connection_id":132538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ad1c28012d0d2d8007045010001c00c425..."} 
[2026-07-13 09:43:33] local.INFO: Packet analysis {"connection_id":132538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ad"} 
[2026-07-13 09:43:33] local.INFO: Extracted packet for processing {"connection_id":132538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ad"} 
[2026-07-13 09:43:33] local.INFO: GPS Element Parsed {"raw_longitude":755838336,"raw_latitude":117723152,"longitude_deg":75.5838336,"latitude_deg":11.7723152,"altitude":28,"angle":196,"satellites":37,"speed":15,"hex_longitude":"2d0d2d80","hex_latitude":"07045010","is_valid_coordinates":true} 
[2026-07-13 09:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682480128001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24222829570424832,"note":"Value kept but may cause issues"} 
[2026-07-13 09:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949837339047899136,"note":"Value kept but may cause issues"} 
[2026-07-13 09:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783915945000,"timestamp_ms":1783915945000,"timestamp_seconds":1783915945,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ad1c28"} 
[2026-07-13 09:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 09:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:43:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":132538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":132538,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":132538,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.196.117","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682480128001,"66":14450,"18":206,"28":32256,"24":15,"16":24222829570424832,"45":949837339047899136},"client_ip":"117.225.196.117","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-07-13 09:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682480128001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:43:33] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-13 09:43:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-13 09:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24222829570424832,"km_value":24222829570424.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":949837339047899136,"description":"Unknown IO ID 45"} 
[2026-07-13 09:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682480128001,"power":14450,"unknown_18":206,"unknown_28":32256,"ignition":15,"odometer":null,"unknown_45":949837339047899136}} 
[2026-07-13 09:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":132538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479438,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:43:33] local.INFO: GPS data processed {"connection_id":132538,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:43:33] local.INFO: Acknowledgment sent {"connection_id":132538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:43:35] local.INFO: TCP Data received {"connection_id":131203,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:43:35] local.INFO: Processing buffer {"connection_id":131203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:43:35] local.INFO: IMEI packet received {"connection_id":131203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":131203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:43:40] local.INFO: TCP Data received {"connection_id":131203,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:43:40] local.INFO: Processing buffer {"connection_id":131203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:43:40] local.INFO: IMEI packet received {"connection_id":131203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":131203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:43:41] local.INFO: TCP Data received {"connection_id":131203,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ad00d0012d7f914005afd938000b011b23..."} 
[2026-07-13 09:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ad00d0012d7f914005afd938000b011b23..."} 
[2026-07-13 09:43:41] local.INFO: Processing buffer {"connection_id":131203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ad00d0012d7f914005afd938000b011b23..."} 
[2026-07-13 09:43:41] local.INFO: Packet analysis {"connection_id":131203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ad"} 
[2026-07-13 09:43:41] local.INFO: Extracted packet for processing {"connection_id":131203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ad"} 
[2026-07-13 09:43:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682403072001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783915938000,"timestamp_ms":1783915938000,"timestamp_seconds":1783915938,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ad00d0"} 
[2026-07-13 09:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682403072001,"66":25278,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682403072001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:43:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:43:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682403072001,"power":25278,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":131203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:43:41] local.INFO: GPS data processed {"connection_id":131203,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:43:41] local.INFO: Acknowledgment sent {"connection_id":131203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:43:45] local.INFO: TCP Data received {"connection_id":130402,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130402,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:43:45] local.INFO: Processing buffer {"connection_id":130402,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:43:45] local.INFO: IMEI packet received {"connection_id":130402,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 09:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":130402,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:44:04] local.INFO: TCP Data received {"connection_id":132538,"ip":"117.225.196.117","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ad3b68012d0d2b0007044800001b00b625..."} 
[2026-07-13 09:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ad3b68012d0d2b0007044800001b00b625..."} 
[2026-07-13 09:44:04] local.INFO: Processing buffer {"connection_id":132538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ad3b68012d0d2b0007044800001b00b625..."} 
[2026-07-13 09:44:04] local.INFO: Packet analysis {"connection_id":132538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ad"} 
[2026-07-13 09:44:04] local.INFO: Extracted packet for processing {"connection_id":132538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ad"} 
[2026-07-13 09:44:04] local.INFO: GPS Element Parsed {"raw_longitude":755837696,"raw_latitude":117721088,"longitude_deg":75.5837696,"latitude_deg":11.7721088,"altitude":27,"angle":182,"satellites":37,"speed":8,"hex_longitude":"2d0d2b00","hex_latitude":"07044800","is_valid_coordinates":true} 
[2026-07-13 09:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682481920001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24222936944607232,"note":"Value kept but may cause issues"} 
[2026-07-13 09:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949555864070524928,"note":"Value kept but may cause issues"} 
[2026-07-13 09:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783915953000,"timestamp_ms":1783915953000,"timestamp_seconds":1783915953,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ad3b68"} 
[2026-07-13 09:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-13 09:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132538,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132538,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.196.117","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682481920001,"66":14341,"18":206,"28":32256,"24":8,"16":24222936944607232,"45":949555864070524928},"client_ip":"117.225.196.117","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-07-13 09:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682481920001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:44:04] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-13 09:44:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-13 09:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24222936944607232,"km_value":24222936944607.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":949555864070524928,"description":"Unknown IO ID 45"} 
[2026-07-13 09:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682481920001,"power":14341,"unknown_18":206,"unknown_28":32256,"ignition":8,"odometer":null,"unknown_45":949555864070524928}} 
[2026-07-13 09:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":132538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479440,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:44:04] local.INFO: GPS data processed {"connection_id":132538,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:44:04] local.INFO: Acknowledgment sent {"connection_id":132538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:44:12] local.INFO: TCP Data received {"connection_id":131203,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ad00d0012d7f914005afd938000b011b23..."} 
[2026-07-13 09:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ad00d0012d7f914005afd938000b011b23..."} 
[2026-07-13 09:44:12] local.INFO: Processing buffer {"connection_id":131203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ad00d0012d7f914005afd938000b011b23..."} 
[2026-07-13 09:44:12] local.INFO: Packet analysis {"connection_id":131203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ad"} 
[2026-07-13 09:44:12] local.INFO: Extracted packet for processing {"connection_id":131203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ad"} 
[2026-07-13 09:44:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682403072001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783915938000,"timestamp_ms":1783915938000,"timestamp_seconds":1783915938,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ad00d0"} 
[2026-07-13 09:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09: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-07-13 09:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682403072001,"66":25278,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682403072001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:44:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:44:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682403072001,"power":25278,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":131203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:44:12] local.INFO: GPS data processed {"connection_id":131203,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:44:12] local.INFO: Acknowledgment sent {"connection_id":131203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:44:27] local.INFO: TCP Data received {"connection_id":130403,"ip":"117.225.196.117","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130403,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:44:27] local.INFO: Processing buffer {"connection_id":130403,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:44:27] local.INFO: IMEI packet received {"connection_id":130403,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":130403,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:44:33] local.INFO: TCP Data received {"connection_id":130403,"ip":"117.225.196.117","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130403,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:44:33] local.INFO: Processing buffer {"connection_id":130403,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:44:33] local.INFO: IMEI packet received {"connection_id":130403,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":130403,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:44:34] local.INFO: TCP Data received {"connection_id":130403,"ip":"117.225.196.117","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ad52d8012d0d2a8007044268001d00c325..."} 
[2026-07-13 09:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ad52d8012d0d2a8007044268001d00c325..."} 
[2026-07-13 09:44:34] local.INFO: Processing buffer {"connection_id":130403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ad52d8012d0d2a8007044268001d00c325..."} 
[2026-07-13 09:44:34] local.INFO: Packet analysis {"connection_id":130403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ad"} 
[2026-07-13 09:44:34] local.INFO: Extracted packet for processing {"connection_id":130403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ad"} 
[2026-07-13 09:44:34] local.INFO: GPS Element Parsed {"raw_longitude":755837568,"raw_latitude":117719656,"longitude_deg":75.5837568,"latitude_deg":11.7719656,"altitude":29,"angle":195,"satellites":37,"speed":9,"hex_longitude":"2d0d2a80","hex_latitude":"07044268","is_valid_coordinates":true} 
[2026-07-13 09:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682483968001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24223005664083968,"note":"Value kept but may cause issues"} 
[2026-07-13 09:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948852176628219904,"note":"Value kept but may cause issues"} 
[2026-07-13 09:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783915959000,"timestamp_ms":1783915959000,"timestamp_seconds":1783915959,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ad52d8"} 
[2026-07-13 09:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 09:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":7037661000764928,"note":"Value kept but may cause issues"} 
[2026-07-13 09:44:34] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503969229307904,"note":"Value kept but may cause issues"} 
[2026-07-13 09:44:34] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2899695617,"note":"Value kept but may cause issues"} 
[2026-07-13 09:44:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3910271182,"corrected_to":0} 
[2026-07-13 09:44:34] local.WARNING: Large IO value detected {"io_id":186,"raw_value":2147560717,"note":"Value kept but may cause issues"} 
[2026-07-13 09:44:34] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84738516118340759,"note":"Value kept but may cause issues"} 
[2026-07-13 09:44:34] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,18,28,24,241,158,16,14,159,45,128,80,37,10,66,90,225,1,240,92,89,4,113,205,186,55,239,56,2,86,7,25,9,206,8],"length":529,"final_offset":659,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3910271182,"validated":0}]} 
[2026-07-13 09:44:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1945755309054623744,"timestamp_seconds":1945755309054623.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 09:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":130403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":130403,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":130403,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.196.117","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682483968001,"66":14374,"18":206,"28":32256,"24":9,"16":24223005664083968,"45":948852176628219904},"client_ip":"117.225.196.117","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-07-13 09:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682483968001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:44:34] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-13 09:44:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-13 09:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24223005664083968,"km_value":24223005664083.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":948852176628219904,"description":"Unknown IO ID 45"} 
[2026-07-13 09:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682483968001,"power":14374,"unknown_18":206,"unknown_28":32256,"ignition":9,"odometer":null,"unknown_45":948852176628219904}} 
[2026-07-13 09:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":130403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479442,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:44:34] local.INFO: GPS data processed {"connection_id":130403,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:44:34] local.INFO: Acknowledgment sent {"connection_id":130403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:44:40] local.INFO: TCP Data received {"connection_id":130206,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:44:40] local.INFO: Processing buffer {"connection_id":130206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:44:40] local.INFO: IMEI packet received {"connection_id":130206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":130206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:44:45] local.INFO: TCP Data received {"connection_id":130206,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:44:45] local.INFO: Processing buffer {"connection_id":130206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:44:45] local.INFO: IMEI packet received {"connection_id":130206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":130206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:44:46] local.INFO: TCP Data received {"connection_id":130206,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ad00d0012d7f914005afd938000b011b23..."} 
[2026-07-13 09:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ad00d0012d7f914005afd938000b011b23..."} 
[2026-07-13 09:44:46] local.INFO: Processing buffer {"connection_id":130206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ad00d0012d7f914005afd938000b011b23..."} 
[2026-07-13 09:44:46] local.INFO: Packet analysis {"connection_id":130206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ad"} 
[2026-07-13 09:44:46] local.INFO: Extracted packet for processing {"connection_id":130206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ad"} 
[2026-07-13 09:44:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682403072001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783915938000,"timestamp_ms":1783915938000,"timestamp_seconds":1783915938,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ad00d0"} 
[2026-07-13 09:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682403072001,"66":25278,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682403072001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:44:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:44:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682403072001,"power":25278,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":130206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:44:46] local.INFO: GPS data processed {"connection_id":130206,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:44:46] local.INFO: Acknowledgment sent {"connection_id":130206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:44:50] local.INFO: TCP Data received {"connection_id":130206,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ad00d0012d7f914005afd938000b011b23..."} 
[2026-07-13 09:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ad00d0012d7f914005afd938000b011b23..."} 
[2026-07-13 09:44:50] local.INFO: Processing buffer {"connection_id":130206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ad00d0012d7f914005afd938000b011b23..."} 
[2026-07-13 09:44:50] local.INFO: Packet analysis {"connection_id":130206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ad"} 
[2026-07-13 09:44:50] local.INFO: Extracted packet for processing {"connection_id":130206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ad"} 
[2026-07-13 09:44:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682403072001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783915938000,"timestamp_ms":1783915938000,"timestamp_seconds":1783915938,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ad00d0"} 
[2026-07-13 09:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:44:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:44: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-07-13 09:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682403072001,"66":25278,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682403072001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:44:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:44:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682403072001,"power":25278,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":130206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:44:50] local.INFO: GPS data processed {"connection_id":130206,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:44:50] local.INFO: Acknowledgment sent {"connection_id":130206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:45:06] local.INFO: TCP Data received {"connection_id":130403,"ip":"117.225.196.117","data_length":795,"data_hex":"000000000000030f8e0a0000019f59af75b8012d0d2d400703cca80017013a24..."} 
[2026-07-13 09:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59af75b8012d0d2d400703cca80017013a24..."} 
[2026-07-13 09:45:06] local.INFO: Processing buffer {"connection_id":130403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59af75b8012d0d2d400703cca80017013a24..."} 
[2026-07-13 09:45:06] local.INFO: Packet analysis {"connection_id":130403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59af"} 
[2026-07-13 09:45:06] local.INFO: Extracted packet for processing {"connection_id":130403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59af"} 
[2026-07-13 09:45:06] local.INFO: GPS Element Parsed {"raw_longitude":755838272,"raw_latitude":117689512,"longitude_deg":75.5838272,"latitude_deg":11.7689512,"altitude":23,"angle":314,"satellites":36,"speed":8,"hex_longitude":"2d0d2d40","hex_latitude":"0703cca8","is_valid_coordinates":true} 
[2026-07-13 09:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682521088001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24224611981852672,"note":"Value kept but may cause issues"} 
[2026-07-13 09:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949626232806066176,"note":"Value kept but may cause issues"} 
[2026-07-13 09:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783916099000,"timestamp_ms":1783916099000,"timestamp_seconds":1783916099,"priority":1,"record_length":96,"hex_timestamp":"0000019f59af75b8"} 
[2026-07-13 09:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-13 09:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130403,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130403,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.196.117","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682521088001,"66":14407,"18":206,"28":32256,"24":8,"16":24224611981852672,"45":949626232806066176},"client_ip":"117.225.196.117","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-07-13 09:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682521088001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:45:06] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-13 09:45:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-13 09:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24224611981852672,"km_value":24224611981852.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":949626232806066176,"description":"Unknown IO ID 45"} 
[2026-07-13 09:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682521088001,"power":14407,"unknown_18":206,"unknown_28":32256,"ignition":8,"odometer":null,"unknown_45":949626232806066176}} 
[2026-07-13 09:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":130403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479445,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:45:06] local.INFO: GPS data processed {"connection_id":130403,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:45:06] local.INFO: Acknowledgment sent {"connection_id":130403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:45:33] local.INFO: TCP Data received {"connection_id":132539,"ip":"117.225.196.117","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132539,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:45:33] local.INFO: Processing buffer {"connection_id":132539,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:45:33] local.INFO: IMEI packet received {"connection_id":132539,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":132539,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:45:35] local.INFO: TCP Data received {"connection_id":130404,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:45:35] local.INFO: Processing buffer {"connection_id":130404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:45:35] local.INFO: IMEI packet received {"connection_id":130404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":130404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:45:38] local.INFO: TCP Data received {"connection_id":132539,"ip":"117.225.196.117","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132539,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:45:38] local.INFO: Processing buffer {"connection_id":132539,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:45:38] local.INFO: IMEI packet received {"connection_id":132539,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":132539,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:45:39] local.INFO: TCP Data received {"connection_id":132539,"ip":"117.225.196.117","data_length":795,"data_hex":"000000000000030f8e0a0000019f59af79a0012d0d2c800703cd600017014e23..."} 
[2026-07-13 09:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59af79a0012d0d2c800703cd600017014e23..."} 
[2026-07-13 09:45:39] local.INFO: Processing buffer {"connection_id":132539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59af79a0012d0d2c800703cd600017014e23..."} 
[2026-07-13 09:45:39] local.INFO: Packet analysis {"connection_id":132539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59af"} 
[2026-07-13 09:45:39] local.INFO: Extracted packet for processing {"connection_id":132539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59af"} 
[2026-07-13 09:45:39] local.INFO: GPS Element Parsed {"raw_longitude":755838080,"raw_latitude":117689696,"longitude_deg":75.583808,"latitude_deg":11.7689696,"altitude":23,"angle":334,"satellites":35,"speed":10,"hex_longitude":"2d0d2c80","hex_latitude":"0703cd60","is_valid_coordinates":true} 
[2026-07-13 09:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682521344001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24224620571787264,"note":"Value kept but may cause issues"} 
[2026-07-13 09:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949485495317735424,"note":"Value kept but may cause issues"} 
[2026-07-13 09:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783916100000,"timestamp_ms":1783916100000,"timestamp_seconds":1783916100,"priority":1,"record_length":96,"hex_timestamp":"0000019f59af79a0"} 
[2026-07-13 09:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-13 09:45: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-07-13 09:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132539,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132539,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.196.117","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682521344001,"66":14396,"18":206,"28":32256,"24":10,"16":24224620571787264,"45":949485495317735424},"client_ip":"117.225.196.117","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-07-13 09:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682521344001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:45:39] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-13 09:45:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-13 09:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24224620571787264,"km_value":24224620571787.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":949485495317735424,"description":"Unknown IO ID 45"} 
[2026-07-13 09:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682521344001,"power":14396,"unknown_18":206,"unknown_28":32256,"ignition":10,"odometer":null,"unknown_45":949485495317735424}} 
[2026-07-13 09:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":132539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479446,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:45:40] local.INFO: GPS data processed {"connection_id":132539,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:45:40] local.INFO: Acknowledgment sent {"connection_id":132539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:45:40] local.INFO: TCP Data received {"connection_id":130404,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:45:40] local.INFO: Processing buffer {"connection_id":130404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:45:40] local.INFO: IMEI packet received {"connection_id":130404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":130404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:45:41] local.INFO: TCP Data received {"connection_id":132539,"ip":"117.225.196.117","data_length":795,"data_hex":"000000000000030f8e0a0000019f59af8170012d0d2c000703cf900017016023..."} 
[2026-07-13 09:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59af8170012d0d2c000703cf900017016023..."} 
[2026-07-13 09:45:41] local.INFO: Processing buffer {"connection_id":132539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59af8170012d0d2c000703cf900017016023..."} 
[2026-07-13 09:45:41] local.INFO: Packet analysis {"connection_id":132539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59af"} 
[2026-07-13 09:45:41] local.INFO: Extracted packet for processing {"connection_id":132539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59af"} 
[2026-07-13 09:45:41] local.INFO: GPS Element Parsed {"raw_longitude":755837952,"raw_latitude":117690256,"longitude_deg":75.5837952,"latitude_deg":11.7690256,"altitude":23,"angle":352,"satellites":35,"speed":13,"hex_longitude":"2d0d2c00","hex_latitude":"0703cf90","is_valid_coordinates":true} 
[2026-07-13 09:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682521600001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24224650636558336,"note":"Value kept but may cause issues"} 
[2026-07-13 09:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949274389085249536,"note":"Value kept but may cause issues"} 
[2026-07-13 09:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783916102000,"timestamp_ms":1783916102000,"timestamp_seconds":1783916102,"priority":1,"record_length":96,"hex_timestamp":"0000019f59af8170"} 
[2026-07-13 09:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:45: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-07-13 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-13 09:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132539,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132539,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.196.117","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682521600001,"66":14396,"18":206,"28":32256,"24":13,"16":24224650636558336,"45":949274389085249536},"client_ip":"117.225.196.117","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-07-13 09:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682521600001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:45:41] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-13 09:45:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-13 09:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24224650636558336,"km_value":24224650636558.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":949274389085249536,"description":"Unknown IO ID 45"} 
[2026-07-13 09:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682521600001,"power":14396,"unknown_18":206,"unknown_28":32256,"ignition":13,"odometer":null,"unknown_45":949274389085249536}} 
[2026-07-13 09:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":132539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479447,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:45:41] local.INFO: GPS data processed {"connection_id":132539,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:45:41] local.INFO: Acknowledgment sent {"connection_id":132539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:45:41] local.INFO: TCP Data received {"connection_id":130404,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ad00d0012d7f914005afd938000b011b23..."} 
[2026-07-13 09:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ad00d0012d7f914005afd938000b011b23..."} 
[2026-07-13 09:45:41] local.INFO: Processing buffer {"connection_id":130404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ad00d0012d7f914005afd938000b011b23..."} 
[2026-07-13 09:45:41] local.INFO: Packet analysis {"connection_id":130404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ad"} 
[2026-07-13 09:45:41] local.INFO: Extracted packet for processing {"connection_id":130404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ad"} 
[2026-07-13 09:45:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682403072001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783915938000,"timestamp_ms":1783915938000,"timestamp_seconds":1783915938,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ad00d0"} 
[2026-07-13 09:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682403072001,"66":25278,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682403072001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:45:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:45:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682403072001,"power":25278,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":130404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:45:41] local.INFO: GPS data processed {"connection_id":130404,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:45:41] local.INFO: Acknowledgment sent {"connection_id":130404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:45:43] local.INFO: TCP Data received {"connection_id":131204,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:45:43] local.INFO: Processing buffer {"connection_id":131204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:45:43] local.INFO: IMEI packet received {"connection_id":131204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":131204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:45:48] local.INFO: TCP Data received {"connection_id":131204,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:45:48] local.INFO: Processing buffer {"connection_id":131204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:45:48] local.INFO: IMEI packet received {"connection_id":131204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":131204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:45:49] local.INFO: TCP Data received {"connection_id":131204,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f59aafd30012d7bbcc005ddbbd8000f00e92c..."} 
[2026-07-13 09:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59aafd30012d7bbcc005ddbbd8000f00e92c..."} 
[2026-07-13 09:45:49] local.INFO: Processing buffer {"connection_id":131204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59aafd30012d7bbcc005ddbbd8000f00e92c..."} 
[2026-07-13 09:45:49] local.INFO: Packet analysis {"connection_id":131204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59aa"} 
[2026-07-13 09:45:49] local.INFO: Extracted packet for processing {"connection_id":131204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59aa"} 
[2026-07-13 09:45:49] local.INFO: GPS Element Parsed {"raw_longitude":763083968,"raw_latitude":98417624,"longitude_deg":76.3083968,"latitude_deg":9.8417624,"altitude":15,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2d7bbcc0","hex_latitude":"05ddbbd8","is_valid_coordinates":true} 
[2026-07-13 09:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682446336001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737078305718272,"note":"Value kept but may cause issues"} 
[2026-07-13 09:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916212493714184192,"note":"Value kept but may cause issues"} 
[2026-07-13 09:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783915806000,"timestamp_ms":1783915806000,"timestamp_seconds":1783915806,"priority":1,"record_length":96,"hex_timestamp":"0000019f59aafd30"} 
[2026-07-13 09:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-13 09:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682446336001,"66":12993,"50":206,"85":15104,"24":0,"16":105737078305718272,"45":8916212493714184192},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 09:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682446336001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:45:49] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 09:45:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737078305718272,"km_value":105737078305718.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916212493714184192,"description":"Unknown IO ID 45"} 
[2026-07-13 09:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682446336001,"power":12993,"unknown_50":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916212493714184192}} 
[2026-07-13 09:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":131204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:45:49] local.INFO: GPS data processed {"connection_id":131204,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:45:49] local.INFO: Acknowledgment sent {"connection_id":131204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:46:13] local.INFO: TCP Data received {"connection_id":132539,"ip":"117.225.196.117","data_length":795,"data_hex":"000000000000030f8e0a0000019f59afbc08012d0d29000703eab80018000423..."} 
[2026-07-13 09:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59afbc08012d0d29000703eab80018000423..."} 
[2026-07-13 09:46:13] local.INFO: Processing buffer {"connection_id":132539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59afbc08012d0d29000703eab80018000423..."} 
[2026-07-13 09:46:13] local.INFO: Packet analysis {"connection_id":132539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59af"} 
[2026-07-13 09:46:13] local.INFO: Extracted packet for processing {"connection_id":132539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59af"} 
[2026-07-13 09:46:13] local.INFO: GPS Element Parsed {"raw_longitude":755837184,"raw_latitude":117697208,"longitude_deg":75.5837184,"latitude_deg":11.7697208,"altitude":24,"angle":4,"satellites":35,"speed":19,"hex_longitude":"2d0d2900","hex_latitude":"0703eab8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 09:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682522112001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24224989938974720,"note":"Value kept but may cause issues"} 
[2026-07-13 09:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949133651597037568,"note":"Value kept but may cause issues"} 
[2026-07-13 09:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783916117000,"timestamp_ms":1783916117000,"timestamp_seconds":1783916117,"priority":1,"record_length":96,"hex_timestamp":"0000019f59afbc08"} 
[2026-07-13 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-07-13 09:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":60,"data_length":795,"current_offset":136} 
[2026-07-13 09:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 09:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132539,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132539,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.196.117","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682522112001,"66":14396,"18":206,"28":32256,"24":19,"16":24224989938974720,"45":949133651597037568},"client_ip":"117.225.196.117","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-07-13 09:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682522112001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:46:13] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-13 09:46:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-13 09:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24224989938974720,"km_value":24224989938974.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":949133651597037568,"description":"Unknown IO ID 45"} 
[2026-07-13 09:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682522112001,"power":14396,"unknown_18":206,"unknown_28":32256,"ignition":19,"odometer":null,"unknown_45":949133651597037568}} 
[2026-07-13 09:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":132539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479450,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:46:13] local.INFO: GPS data processed {"connection_id":132539,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:46:13] local.INFO: Acknowledgment sent {"connection_id":132539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:46:14] local.INFO: TCP Data received {"connection_id":130404,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ad00d0012d7f914005afd938000b011b23..."} 
[2026-07-13 09:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ad00d0012d7f914005afd938000b011b23..."} 
[2026-07-13 09:46:14] local.INFO: Processing buffer {"connection_id":130404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ad00d0012d7f914005afd938000b011b23..."} 
[2026-07-13 09:46:14] local.INFO: Packet analysis {"connection_id":130404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ad"} 
[2026-07-13 09:46:14] local.INFO: Extracted packet for processing {"connection_id":130404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ad"} 
[2026-07-13 09:46:14] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682403072001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783915938000,"timestamp_ms":1783915938000,"timestamp_seconds":1783915938,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ad00d0"} 
[2026-07-13 09:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:46:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682403072001,"66":25278,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682403072001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:46:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:46:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682403072001,"power":25278,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":130404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:46:14] local.INFO: GPS data processed {"connection_id":130404,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:46:14] local.INFO: Acknowledgment sent {"connection_id":130404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:46:20] local.INFO: TCP Data received {"connection_id":131204,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ab14a0012d7bbcc005ddbbd8000f00e92c..."} 
[2026-07-13 09:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ab14a0012d7bbcc005ddbbd8000f00e92c..."} 
[2026-07-13 09:46:20] local.INFO: Processing buffer {"connection_id":131204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ab14a0012d7bbcc005ddbbd8000f00e92c..."} 
[2026-07-13 09:46:20] local.INFO: Packet analysis {"connection_id":131204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ab"} 
[2026-07-13 09:46:20] local.INFO: Extracted packet for processing {"connection_id":131204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ab"} 
[2026-07-13 09:46:20] local.INFO: GPS Element Parsed {"raw_longitude":763083968,"raw_latitude":98417624,"longitude_deg":76.3083968,"latitude_deg":9.8417624,"altitude":15,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2d7bbcc0","hex_latitude":"05ddbbd8","is_valid_coordinates":true} 
[2026-07-13 09:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682446336001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737078305718272,"note":"Value kept but may cause issues"} 
[2026-07-13 09:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916212493714184192,"note":"Value kept but may cause issues"} 
[2026-07-13 09:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783915812000,"timestamp_ms":1783915812000,"timestamp_seconds":1783915812,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ab14a0"} 
[2026-07-13 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-07-13 09:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-13 09:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 09:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":131204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":131204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":131204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682446336001,"66":13243,"50":206,"85":15104,"24":0,"16":105737078305718272,"45":8916212493714184192},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 09:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682446336001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:46:20] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 09:46:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737078305718272,"km_value":105737078305718.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916212493714184192,"description":"Unknown IO ID 45"} 
[2026-07-13 09:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682446336001,"power":13243,"unknown_50":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916212493714184192}} 
[2026-07-13 09:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":131204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:46:20] local.INFO: GPS data processed {"connection_id":131204,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:46:20] local.INFO: Acknowledgment sent {"connection_id":131204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:46:28] local.INFO: TCP Data received {"connection_id":131205,"ip":"117.225.196.117","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131205,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:46:28] local.INFO: Processing buffer {"connection_id":131205,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:46:28] local.INFO: IMEI packet received {"connection_id":131205,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":131205,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:46:33] local.INFO: TCP Data received {"connection_id":131205,"ip":"117.225.196.117","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131205,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:46:33] local.INFO: Processing buffer {"connection_id":131205,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:46:33] local.INFO: IMEI packet received {"connection_id":131205,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":131205,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:46:34] local.INFO: TCP Data received {"connection_id":131205,"ip":"117.225.196.117","data_length":795,"data_hex":"000000000000030f8e0a0000019f59afd378012d0d29000703f4080018016022..."} 
[2026-07-13 09:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59afd378012d0d29000703f4080018016022..."} 
[2026-07-13 09:46:34] local.INFO: Processing buffer {"connection_id":131205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59afd378012d0d29000703f4080018016022..."} 
[2026-07-13 09:46:34] local.INFO: Packet analysis {"connection_id":131205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59af"} 
[2026-07-13 09:46:34] local.INFO: Extracted packet for processing {"connection_id":131205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59af"} 
[2026-07-13 09:46:34] local.INFO: GPS Element Parsed {"raw_longitude":755837184,"raw_latitude":117699592,"longitude_deg":75.5837184,"latitude_deg":11.7699592,"altitude":24,"angle":352,"satellites":34,"speed":13,"hex_longitude":"2d0d2900","hex_latitude":"0703f408","is_valid_coordinates":true} 
[2026-07-13 09:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682525952001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24225105903091712,"note":"Value kept but may cause issues"} 
[2026-07-13 09:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948289226668685312,"note":"Value kept but may cause issues"} 
[2026-07-13 09:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783916123000,"timestamp_ms":1783916123000,"timestamp_seconds":1783916123,"priority":1,"record_length":96,"hex_timestamp":"0000019f59afd378"} 
[2026-07-13 09:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-13 09:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":131205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":131205,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":131205,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.196.117","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682525952001,"66":14374,"18":206,"28":32256,"24":13,"16":24225105903091712,"45":948289226668685312},"client_ip":"117.225.196.117","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-07-13 09:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682525952001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:46:34] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-13 09:46:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-13 09:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24225105903091712,"km_value":24225105903091.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":948289226668685312,"description":"Unknown IO ID 45"} 
[2026-07-13 09:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682525952001,"power":14374,"unknown_18":206,"unknown_28":32256,"ignition":13,"odometer":null,"unknown_45":948289226668685312}} 
[2026-07-13 09:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":131205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479453,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:46:34] local.INFO: GPS data processed {"connection_id":131205,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:46:34] local.INFO: Acknowledgment sent {"connection_id":131205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:46:35] local.INFO: TCP Data received {"connection_id":130406,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:46:35] local.INFO: Processing buffer {"connection_id":130406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:46:35] local.INFO: IMEI packet received {"connection_id":130406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":130406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:46:39] local.INFO: TCP Data received {"connection_id":131205,"ip":"117.225.196.117","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b00640012d0d2800070403400017000223..."} 
[2026-07-13 09:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b00640012d0d2800070403400017000223..."} 
[2026-07-13 09:46:39] local.INFO: Processing buffer {"connection_id":131205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b00640012d0d2800070403400017000223..."} 
[2026-07-13 09:46:39] local.INFO: Packet analysis {"connection_id":131205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b0"} 
[2026-07-13 09:46:39] local.INFO: Extracted packet for processing {"connection_id":131205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b0"} 
[2026-07-13 09:46:39] local.INFO: GPS Element Parsed {"raw_longitude":755836928,"raw_latitude":117703488,"longitude_deg":75.5836928,"latitude_deg":11.7703488,"altitude":23,"angle":2,"satellites":35,"speed":12,"hex_longitude":"2d0d2800","hex_latitude":"07040340","is_valid_coordinates":true} 
[2026-07-13 09:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682527488001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24225294881652736,"note":"Value kept but may cause issues"} 
[2026-07-13 09:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948289226669295616,"note":"Value kept but may cause issues"} 
[2026-07-13 09:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783916136000,"timestamp_ms":1783916136000,"timestamp_seconds":1783916136,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b00640"} 
[2026-07-13 09:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-13 09:46: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-07-13 09:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131205,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131205,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.196.117","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682527488001,"66":14439,"18":206,"28":32256,"24":12,"16":24225294881652736,"45":948289226669295616},"client_ip":"117.225.196.117","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-07-13 09:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682527488001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:46:39] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-13 09:46:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-13 09:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24225294881652736,"km_value":24225294881652.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":948289226669295616,"description":"Unknown IO ID 45"} 
[2026-07-13 09:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682527488001,"power":14439,"unknown_18":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_45":948289226669295616}} 
[2026-07-13 09:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":131205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479454,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:46:39] local.INFO: GPS data processed {"connection_id":131205,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:46:39] local.INFO: Acknowledgment sent {"connection_id":131205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:46:40] local.INFO: TCP Data received {"connection_id":130406,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:46:40] local.INFO: Processing buffer {"connection_id":130406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:46:40] local.INFO: IMEI packet received {"connection_id":130406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":130406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:46:41] local.INFO: TCP Data received {"connection_id":130406,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ad00d0012d7f914005afd938000b011b23..."} 
[2026-07-13 09:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ad00d0012d7f914005afd938000b011b23..."} 
[2026-07-13 09:46:41] local.INFO: Processing buffer {"connection_id":130406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ad00d0012d7f914005afd938000b011b23..."} 
[2026-07-13 09:46:41] local.INFO: Packet analysis {"connection_id":130406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ad"} 
[2026-07-13 09:46:41] local.INFO: Extracted packet for processing {"connection_id":130406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ad"} 
[2026-07-13 09:46:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682403072001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783915938000,"timestamp_ms":1783915938000,"timestamp_seconds":1783915938,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ad00d0"} 
[2026-07-13 09:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682403072001,"66":25278,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682403072001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:46:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:46:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682403072001,"power":25278,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":130406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:46:41] local.INFO: GPS data processed {"connection_id":130406,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:46:41] local.INFO: Acknowledgment sent {"connection_id":130406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:47:11] local.INFO: TCP Data received {"connection_id":131205,"ip":"117.225.196.117","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b02580012d0d278007040b980017015c21..."} 
[2026-07-13 09:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b02580012d0d278007040b980017015c21..."} 
[2026-07-13 09:47:11] local.INFO: Processing buffer {"connection_id":131205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b02580012d0d278007040b980017015c21..."} 
[2026-07-13 09:47:11] local.INFO: Packet analysis {"connection_id":131205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b0"} 
[2026-07-13 09:47:11] local.INFO: Extracted packet for processing {"connection_id":131205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b0"} 
[2026-07-13 09:47:11] local.INFO: GPS Element Parsed {"raw_longitude":755836800,"raw_latitude":117705624,"longitude_deg":75.58368,"latitude_deg":11.7705624,"altitude":23,"angle":348,"satellites":33,"speed":8,"hex_longitude":"2d0d2780","hex_latitude":"07040b98","is_valid_coordinates":true} 
[2026-07-13 09:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682530816001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24225402255835136,"note":"Value kept but may cause issues"} 
[2026-07-13 09:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948007751693582336,"note":"Value kept but may cause issues"} 
[2026-07-13 09:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783916144000,"timestamp_ms":1783916144000,"timestamp_seconds":1783916144,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b02580"} 
[2026-07-13 09:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 09:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131205,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131205,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.196.117","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682530816001,"66":14309,"18":206,"28":32256,"24":8,"16":24225402255835136,"45":948007751693582336},"client_ip":"117.225.196.117","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-07-13 09:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682530816001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:47:11] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-13 09:47:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-13 09:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24225402255835136,"km_value":24225402255835.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":948007751693582336,"description":"Unknown IO ID 45"} 
[2026-07-13 09:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682530816001,"power":14309,"unknown_18":206,"unknown_28":32256,"ignition":8,"odometer":null,"unknown_45":948007751693582336}} 
[2026-07-13 09:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":131205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479456,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:47:11] local.INFO: GPS data processed {"connection_id":131205,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:47:11] local.INFO: Acknowledgment sent {"connection_id":131205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:47:12] local.INFO: TCP Data received {"connection_id":130406,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ad00d0012d7f914005afd938000b011b23..."} 
[2026-07-13 09:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ad00d0012d7f914005afd938000b011b23..."} 
[2026-07-13 09:47:12] local.INFO: Processing buffer {"connection_id":130406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ad00d0012d7f914005afd938000b011b23..."} 
[2026-07-13 09:47:12] local.INFO: Packet analysis {"connection_id":130406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ad"} 
[2026-07-13 09:47:12] local.INFO: Extracted packet for processing {"connection_id":130406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ad"} 
[2026-07-13 09:47:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682403072001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783915938000,"timestamp_ms":1783915938000,"timestamp_seconds":1783915938,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ad00d0"} 
[2026-07-13 09:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682403072001,"66":25278,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682403072001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:47:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:47:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682403072001,"power":25278,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":130406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:47:12] local.INFO: GPS data processed {"connection_id":130406,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:47:12] local.INFO: Acknowledgment sent {"connection_id":130406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:47:28] local.INFO: TCP Data received {"connection_id":130407,"ip":"117.225.196.117","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130407,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:47:28] local.INFO: Processing buffer {"connection_id":130407,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:47:28] local.INFO: IMEI packet received {"connection_id":130407,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":130407,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:47:29] local.INFO: TCP Data received {"connection_id":130407,"ip":"117.225.196.117","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130407,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:47:29] local.INFO: Processing buffer {"connection_id":130407,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:47:29] local.INFO: IMEI packet received {"connection_id":130407,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":130407,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:47:32] local.INFO: TCP Data received {"connection_id":130407,"ip":"117.225.196.117","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130407,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:47:32] local.INFO: Processing buffer {"connection_id":130407,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:47:32] local.INFO: IMEI packet received {"connection_id":130407,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":130407,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:47:33] local.INFO: TCP Data received {"connection_id":130407,"ip":"117.225.196.117","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b05c30012d0d258007041a400017000022..."} 
[2026-07-13 09:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b05c30012d0d258007041a400017000022..."} 
[2026-07-13 09:47:33] local.INFO: Processing buffer {"connection_id":130407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b05c30012d0d258007041a400017000022..."} 
[2026-07-13 09:47:33] local.INFO: Packet analysis {"connection_id":130407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b0"} 
[2026-07-13 09:47:33] local.INFO: Extracted packet for processing {"connection_id":130407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b0"} 
[2026-07-13 09:47:33] local.INFO: GPS Element Parsed {"raw_longitude":755836288,"raw_latitude":117709376,"longitude_deg":75.5836288,"latitude_deg":11.7709376,"altitude":23,"angle":0,"satellites":34,"speed":11,"hex_longitude":"2d0d2580","hex_latitude":"07041a40","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682532864001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24225586939428864,"note":"Value kept but may cause issues"} 
[2026-07-13 09:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947867014205773824,"note":"Value kept but may cause issues"} 
[2026-07-13 09:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783916158000,"timestamp_ms":1783916158000,"timestamp_seconds":1783916158,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b05c30"} 
[2026-07-13 09:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-13 09:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":130407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":130407,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":130407,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.196.117","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682532864001,"66":14374,"18":206,"28":32256,"24":11,"16":24225586939428864,"45":947867014205773824},"client_ip":"117.225.196.117","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-07-13 09:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682532864001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:47:33] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-13 09:47:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-13 09:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24225586939428864,"km_value":24225586939428.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":947867014205773824,"description":"Unknown IO ID 45"} 
[2026-07-13 09:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682532864001,"power":14374,"unknown_18":206,"unknown_28":32256,"ignition":11,"odometer":null,"unknown_45":947867014205773824}} 
[2026-07-13 09:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":130407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479458,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:47:33] local.INFO: GPS data processed {"connection_id":130407,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:47:33] local.INFO: Acknowledgment sent {"connection_id":130407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:47:35] local.INFO: TCP Data received {"connection_id":130208,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:47:35] local.INFO: Processing buffer {"connection_id":130208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:47:35] local.INFO: IMEI packet received {"connection_id":130208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":130208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:47:38] local.INFO: TCP Data received {"connection_id":130407,"ip":"117.225.196.117","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b07788012d0d2580070422d80017015c22..."} 
[2026-07-13 09:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b07788012d0d2580070422d80017015c22..."} 
[2026-07-13 09:47:38] local.INFO: Processing buffer {"connection_id":130407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b07788012d0d2580070422d80017015c22..."} 
[2026-07-13 09:47:38] local.INFO: Packet analysis {"connection_id":130407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b0"} 
[2026-07-13 09:47:38] local.INFO: Extracted packet for processing {"connection_id":130407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b0"} 
[2026-07-13 09:47:38] local.INFO: GPS Element Parsed {"raw_longitude":755836288,"raw_latitude":117711576,"longitude_deg":75.5836288,"latitude_deg":11.7711576,"altitude":23,"angle":348,"satellites":34,"speed":12,"hex_longitude":"2d0d2580","hex_latitude":"070422d8","is_valid_coordinates":true} 
[2026-07-13 09:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682536448001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24225694313611264,"note":"Value kept but may cause issues"} 
[2026-07-13 09:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947304064253313024,"note":"Value kept but may cause issues"} 
[2026-07-13 09:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783916165000,"timestamp_ms":1783916165000,"timestamp_seconds":1783916165,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b07788"} 
[2026-07-13 09:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-13 09:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":130407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":130407,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":130407,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.196.117","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682536448001,"66":14396,"18":206,"28":32256,"24":12,"16":24225694313611264,"45":947304064253313024},"client_ip":"117.225.196.117","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-07-13 09:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682536448001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:47:38] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-13 09:47:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-13 09:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24225694313611264,"km_value":24225694313611.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":947304064253313024,"description":"Unknown IO ID 45"} 
[2026-07-13 09:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682536448001,"power":14396,"unknown_18":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_45":947304064253313024}} 
[2026-07-13 09:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":130407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479459,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:47:38] local.INFO: GPS data processed {"connection_id":130407,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:47:38] local.INFO: Acknowledgment sent {"connection_id":130407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:47:40] local.INFO: TCP Data received {"connection_id":130208,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:47:40] local.INFO: Processing buffer {"connection_id":130208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:47:40] local.INFO: IMEI packet received {"connection_id":130208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":130208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:47:41] local.INFO: TCP Data received {"connection_id":130208,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ad00d0012d7f914005afd938000b011b23..."} 
[2026-07-13 09:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ad00d0012d7f914005afd938000b011b23..."} 
[2026-07-13 09:47:41] local.INFO: Processing buffer {"connection_id":130208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ad00d0012d7f914005afd938000b011b23..."} 
[2026-07-13 09:47:41] local.INFO: Packet analysis {"connection_id":130208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ad"} 
[2026-07-13 09:47:41] local.INFO: Extracted packet for processing {"connection_id":130208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ad"} 
[2026-07-13 09:47:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682403072001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783915938000,"timestamp_ms":1783915938000,"timestamp_seconds":1783915938,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ad00d0"} 
[2026-07-13 09:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682403072001,"66":25278,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682403072001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:47:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:47:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682403072001,"power":25278,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":130208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:47:41] local.INFO: GPS data processed {"connection_id":130208,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:47:41] local.INFO: Acknowledgment sent {"connection_id":130208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:48:10] local.INFO: TCP Data received {"connection_id":130407,"ip":"117.225.196.117","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b230f0012d0d374007048188001a000a22..."} 
[2026-07-13 09:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b230f0012d0d374007048188001a000a22..."} 
[2026-07-13 09:48:10] local.INFO: Processing buffer {"connection_id":130407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b230f0012d0d374007048188001a000a22..."} 
[2026-07-13 09:48:10] local.INFO: Packet analysis {"connection_id":130407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b2"} 
[2026-07-13 09:48:10] local.INFO: Extracted packet for processing {"connection_id":130407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b2"} 
[2026-07-13 09:48:10] local.INFO: GPS Element Parsed {"raw_longitude":755840832,"raw_latitude":117735816,"longitude_deg":75.5840832,"latitude_deg":11.7735816,"altitude":26,"angle":10,"satellites":34,"speed":6,"hex_longitude":"2d0d3740","hex_latitude":"07048188","is_valid_coordinates":true} 
[2026-07-13 09:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682566656001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24226914084323328,"note":"Value kept but may cause issues"} 
[2026-07-13 09:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952300245096603648,"note":"Value kept but may cause issues"} 
[2026-07-13 09:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783916278000,"timestamp_ms":1783916278000,"timestamp_seconds":1783916278,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b230f0"} 
[2026-07-13 09:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 09:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130407,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130407,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.196.117","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682566656001,"66":13787,"18":206,"28":32256,"24":6,"16":24226914084323328,"45":952300245096603648},"client_ip":"117.225.196.117","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-07-13 09:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682566656001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:48:10] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-13 09:48:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-13 09:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24226914084323328,"km_value":24226914084323.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":952300245096603648,"description":"Unknown IO ID 45"} 
[2026-07-13 09:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682566656001,"power":13787,"unknown_18":206,"unknown_28":32256,"ignition":6,"odometer":null,"unknown_45":952300245096603648}} 
[2026-07-13 09:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":130407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479461,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:48:10] local.INFO: GPS data processed {"connection_id":130407,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:48:10] local.INFO: Acknowledgment sent {"connection_id":130407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:48:12] local.INFO: TCP Data received {"connection_id":130208,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b19898012d7f914005afd938000c011b25..."} 
[2026-07-13 09:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b19898012d7f914005afd938000c011b25..."} 
[2026-07-13 09:48:12] local.INFO: Processing buffer {"connection_id":130208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b19898012d7f914005afd938000c011b25..."} 
[2026-07-13 09:48:12] local.INFO: Packet analysis {"connection_id":130208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b1"} 
[2026-07-13 09:48:12] local.INFO: Extracted packet for processing {"connection_id":130208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b1"} 
[2026-07-13 09:48:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682480128001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783916239000,"timestamp_ms":1783916239000,"timestamp_seconds":1783916239,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b19898"} 
[2026-07-13 09:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-13 09:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682480128001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682480128001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:48:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:48:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682480128001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":130208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:48:12] local.INFO: GPS data processed {"connection_id":130208,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:48:12] local.INFO: Acknowledgment sent {"connection_id":130208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:48:18] local.INFO: TCP Data received {"connection_id":130408,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130408,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:48:18] local.INFO: Processing buffer {"connection_id":130408,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:48:18] local.INFO: IMEI packet received {"connection_id":130408,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":130408,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:48:23] local.INFO: TCP Data received {"connection_id":130408,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130408,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:48:23] local.INFO: Processing buffer {"connection_id":130408,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:48:23] local.INFO: IMEI packet received {"connection_id":130408,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":130408,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:48:24] local.INFO: TCP Data received {"connection_id":130408,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ab14a0012d7bbcc005ddbbd8000f00e92c..."} 
[2026-07-13 09:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ab14a0012d7bbcc005ddbbd8000f00e92c..."} 
[2026-07-13 09:48:24] local.INFO: Processing buffer {"connection_id":130408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ab14a0012d7bbcc005ddbbd8000f00e92c..."} 
[2026-07-13 09:48:24] local.INFO: Packet analysis {"connection_id":130408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ab"} 
[2026-07-13 09:48:24] local.INFO: Extracted packet for processing {"connection_id":130408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ab"} 
[2026-07-13 09:48:24] local.INFO: GPS Element Parsed {"raw_longitude":763083968,"raw_latitude":98417624,"longitude_deg":76.3083968,"latitude_deg":9.8417624,"altitude":15,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2d7bbcc0","hex_latitude":"05ddbbd8","is_valid_coordinates":true} 
[2026-07-13 09:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682447872001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737078305718272,"note":"Value kept but may cause issues"} 
[2026-07-13 09:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916212493714184192,"note":"Value kept but may cause issues"} 
[2026-07-13 09:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783915812000,"timestamp_ms":1783915812000,"timestamp_seconds":1783915812,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ab14a0"} 
[2026-07-13 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-07-13 09:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 09:48:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 09:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":130408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":130408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":130408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682447872001,"66":13243,"50":206,"85":15104,"24":0,"16":105737078305718272,"45":8916212493714184192},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 09:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682447872001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:48:24] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 09:48:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737078305718272,"km_value":105737078305718.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916212493714184192,"description":"Unknown IO ID 45"} 
[2026-07-13 09:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682447872001,"power":13243,"unknown_50":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916212493714184192}} 
[2026-07-13 09:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":130408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:48:24] local.INFO: GPS data processed {"connection_id":130408,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:48:24] local.INFO: Acknowledgment sent {"connection_id":130408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:48:24] local.INFO: TCP Data received {"connection_id":132542,"ip":"117.225.196.117","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132542,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:48:24] local.INFO: Processing buffer {"connection_id":132542,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:48:24] local.INFO: IMEI packet received {"connection_id":132542,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":132542,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:48:28] local.INFO: TCP Data received {"connection_id":132542,"ip":"117.225.196.117","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132542,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:48:28] local.INFO: Processing buffer {"connection_id":132542,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:48:28] local.INFO: IMEI packet received {"connection_id":132542,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":132542,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:48:32] local.INFO: TCP Data received {"connection_id":132542,"ip":"117.225.196.117","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132542,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:48:32] local.INFO: Processing buffer {"connection_id":132542,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:48:32] local.INFO: IMEI packet received {"connection_id":132542,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":132542,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:48:34] local.INFO: TCP Data received {"connection_id":132542,"ip":"117.225.196.117","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b23ca8012d0d374007048408001a016723..."} 
[2026-07-13 09:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b23ca8012d0d374007048408001a016723..."} 
[2026-07-13 09:48:34] local.INFO: Processing buffer {"connection_id":132542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b23ca8012d0d374007048408001a016723..."} 
[2026-07-13 09:48:34] local.INFO: Packet analysis {"connection_id":132542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b2"} 
[2026-07-13 09:48:34] local.INFO: Extracted packet for processing {"connection_id":132542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b2"} 
[2026-07-13 09:48:34] local.INFO: GPS Element Parsed {"raw_longitude":755840832,"raw_latitude":117736456,"longitude_deg":75.5840832,"latitude_deg":11.7736456,"altitude":26,"angle":359,"satellites":35,"speed":9,"hex_longitude":"2d0d3740","hex_latitude":"07048408","is_valid_coordinates":true} 
[2026-07-13 09:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682567168001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24226944149094400,"note":"Value kept but may cause issues"} 
[2026-07-13 09:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952300245096695808,"note":"Value kept but may cause issues"} 
[2026-07-13 09:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783916281000,"timestamp_ms":1783916281000,"timestamp_seconds":1783916281,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b23ca8"} 
[2026-07-13 09:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:48: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-07-13 09: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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-07-13 09:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":132542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":132542,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":132542,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.196.117","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682567168001,"66":14396,"18":206,"28":32256,"24":9,"16":24226944149094400,"45":952300245096695808},"client_ip":"117.225.196.117","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-07-13 09:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682567168001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:48:34] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-13 09:48:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-13 09:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24226944149094400,"km_value":24226944149094.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":952300245096695808,"description":"Unknown IO ID 45"} 
[2026-07-13 09:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682567168001,"power":14396,"unknown_18":206,"unknown_28":32256,"ignition":9,"odometer":null,"unknown_45":952300245096695808}} 
[2026-07-13 09:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":132542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479464,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:48:34] local.INFO: GPS data processed {"connection_id":132542,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:48:34] local.INFO: Acknowledgment sent {"connection_id":132542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:48:35] local.INFO: TCP Data received {"connection_id":131206,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:48:35] local.INFO: Processing buffer {"connection_id":131206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:48:35] local.INFO: IMEI packet received {"connection_id":131206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":131206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:48:40] local.INFO: TCP Data received {"connection_id":131206,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:48:40] local.INFO: Processing buffer {"connection_id":131206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:48:40] local.INFO: IMEI packet received {"connection_id":131206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":131206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:48:41] local.INFO: TCP Data received {"connection_id":131206,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b19898012d7f914005afd938000c011b25..."} 
[2026-07-13 09:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b19898012d7f914005afd938000c011b25..."} 
[2026-07-13 09:48:41] local.INFO: Processing buffer {"connection_id":131206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b19898012d7f914005afd938000c011b25..."} 
[2026-07-13 09:48:41] local.INFO: Packet analysis {"connection_id":131206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b1"} 
[2026-07-13 09:48:41] local.INFO: Extracted packet for processing {"connection_id":131206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b1"} 
[2026-07-13 09:48:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682480128001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783916239000,"timestamp_ms":1783916239000,"timestamp_seconds":1783916239,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b19898"} 
[2026-07-13 09:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-13 09:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682480128001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682480128001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:48:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:48:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682480128001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":131206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:48:41] local.INFO: GPS data processed {"connection_id":131206,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:48:41] local.INFO: Acknowledgment sent {"connection_id":131206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:49:00] local.INFO: TCP Data received {"connection_id":132543,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132543,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:49:00] local.INFO: Processing buffer {"connection_id":132543,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:49:00] local.INFO: IMEI packet received {"connection_id":132543,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 09:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":132543,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:49:08] local.INFO: TCP Data received {"connection_id":131207,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131207,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:49:08] local.INFO: Processing buffer {"connection_id":131207,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:49:08] local.INFO: IMEI packet received {"connection_id":131207,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":131207,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:49:12] local.INFO: TCP Data received {"connection_id":131206,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b19898012d7f914005afd938000c011b25..."} 
[2026-07-13 09:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b19898012d7f914005afd938000c011b25..."} 
[2026-07-13 09:49:12] local.INFO: Processing buffer {"connection_id":131206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b19898012d7f914005afd938000c011b25..."} 
[2026-07-13 09:49:12] local.INFO: Packet analysis {"connection_id":131206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b1"} 
[2026-07-13 09:49:12] local.INFO: Extracted packet for processing {"connection_id":131206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b1"} 
[2026-07-13 09:49:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682480128001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783916239000,"timestamp_ms":1783916239000,"timestamp_seconds":1783916239,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b19898"} 
[2026-07-13 09:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-13 09:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682480128001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682480128001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:49:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:49:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682480128001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":131206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:49:12] local.INFO: GPS data processed {"connection_id":131206,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:49:12] local.INFO: Acknowledgment sent {"connection_id":131206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:49:13] local.INFO: TCP Data received {"connection_id":131207,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131207,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:49:13] local.INFO: Processing buffer {"connection_id":131207,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:49:13] local.INFO: IMEI packet received {"connection_id":131207,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":131207,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:49:14] local.INFO: TCP Data received {"connection_id":131207,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ab14a0012d7bbcc005ddbbd8000f00e92c..."} 
[2026-07-13 09:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ab14a0012d7bbcc005ddbbd8000f00e92c..."} 
[2026-07-13 09:49:14] local.INFO: Processing buffer {"connection_id":131207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ab14a0012d7bbcc005ddbbd8000f00e92c..."} 
[2026-07-13 09:49:14] local.INFO: Packet analysis {"connection_id":131207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ab"} 
[2026-07-13 09:49:14] local.INFO: Extracted packet for processing {"connection_id":131207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ab"} 
[2026-07-13 09:49:14] local.INFO: GPS Element Parsed {"raw_longitude":763083968,"raw_latitude":98417624,"longitude_deg":76.3083968,"latitude_deg":9.8417624,"altitude":15,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2d7bbcc0","hex_latitude":"05ddbbd8","is_valid_coordinates":true} 
[2026-07-13 09:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682447872001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737078305718272,"note":"Value kept but may cause issues"} 
[2026-07-13 09:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916212493714184192,"note":"Value kept but may cause issues"} 
[2026-07-13 09:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783915812000,"timestamp_ms":1783915812000,"timestamp_seconds":1783915812,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ab14a0"} 
[2026-07-13 09:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 09:49:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":131207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":131207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":131207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682447872001,"66":13243,"50":206,"85":15104,"24":0,"16":105737078305718272,"45":8916212493714184192},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 09:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682447872001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:49:14] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 09:49:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737078305718272,"km_value":105737078305718.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916212493714184192,"description":"Unknown IO ID 45"} 
[2026-07-13 09:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682447872001,"power":13243,"unknown_50":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916212493714184192}} 
[2026-07-13 09:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":131207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:49:14] local.INFO: GPS data processed {"connection_id":131207,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:49:14] local.INFO: Acknowledgment sent {"connection_id":131207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:49:25] local.INFO: TCP Data received {"connection_id":132542,"ip":"117.225.196.117","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b24860012d0d37c007048770001b000a22..."} 
[2026-07-13 09:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b24860012d0d37c007048770001b000a22..."} 
[2026-07-13 09:49:25] local.INFO: Processing buffer {"connection_id":132542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b24860012d0d37c007048770001b000a22..."} 
[2026-07-13 09:49:25] local.INFO: Packet analysis {"connection_id":132542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b2"} 
[2026-07-13 09:49:25] local.INFO: Extracted packet for processing {"connection_id":132542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b2"} 
[2026-07-13 09:49:25] local.INFO: GPS Element Parsed {"raw_longitude":755840960,"raw_latitude":117737328,"longitude_deg":75.584096,"latitude_deg":11.7737328,"altitude":27,"angle":10,"satellites":34,"speed":12,"hex_longitude":"2d0d37c0","hex_latitude":"07048770","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682567936001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24226991393734656,"note":"Value kept but may cause issues"} 
[2026-07-13 09:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952300245096859648,"note":"Value kept but may cause issues"} 
[2026-07-13 09:49:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783916284000,"timestamp_ms":1783916284000,"timestamp_seconds":1783916284,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b24860"} 
[2026-07-13 09:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-13 09:49:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09: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-07-13 09:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":132542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":132542,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":132542,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.196.117","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682567936001,"66":13678,"18":206,"28":32256,"24":12,"16":24226991393734656,"45":952300245096859648},"client_ip":"117.225.196.117","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-07-13 09:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682567936001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:49:25] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-13 09:49:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-13 09:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24226991393734656,"km_value":24226991393734.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":952300245096859648,"description":"Unknown IO ID 45"} 
[2026-07-13 09:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682567936001,"power":13678,"unknown_18":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_45":952300245096859648}} 
[2026-07-13 09:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":132542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479468,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:49:25] local.INFO: GPS data processed {"connection_id":132542,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:49:25] local.INFO: Acknowledgment sent {"connection_id":132542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:49:33] local.INFO: TCP Data received {"connection_id":131208,"ip":"117.225.196.117","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131208,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:49:33] local.INFO: Processing buffer {"connection_id":131208,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:49:33] local.INFO: IMEI packet received {"connection_id":131208,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":131208,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:49:34] local.INFO: TCP Data received {"connection_id":131208,"ip":"117.225.196.117","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131208,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:49:34] local.INFO: Processing buffer {"connection_id":131208,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:49:34] local.INFO: IMEI packet received {"connection_id":131208,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":131208,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:49:35] local.INFO: TCP Data received {"connection_id":130209,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:49:35] local.INFO: Processing buffer {"connection_id":130209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:49:35] local.INFO: IMEI packet received {"connection_id":130209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":130209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:49:38] local.INFO: TCP Data received {"connection_id":131208,"ip":"117.225.196.117","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131208,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:49:38] local.INFO: Processing buffer {"connection_id":131208,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:49:38] local.INFO: IMEI packet received {"connection_id":131208,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":131208,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:49:40] local.INFO: TCP Data received {"connection_id":130209,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:49:40] local.INFO: TCP Data received {"connection_id":131209,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:49:40] local.INFO: Processing buffer {"connection_id":130209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:49:40] local.INFO: IMEI packet received {"connection_id":130209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":130209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131209,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:49:40] local.INFO: Processing buffer {"connection_id":131209,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:49:40] local.INFO: IMEI packet received {"connection_id":131209,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 09:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":131209,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:49:41] local.INFO: TCP Data received {"connection_id":130209,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b19898012d7f914005afd938000c011b25..."} 
[2026-07-13 09:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b19898012d7f914005afd938000c011b25..."} 
[2026-07-13 09:49:41] local.INFO: Processing buffer {"connection_id":130209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b19898012d7f914005afd938000c011b25..."} 
[2026-07-13 09:49:41] local.INFO: Packet analysis {"connection_id":130209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b1"} 
[2026-07-13 09:49:41] local.INFO: Extracted packet for processing {"connection_id":130209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b1"} 
[2026-07-13 09:49:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682480128001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783916239000,"timestamp_ms":1783916239000,"timestamp_seconds":1783916239,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b19898"} 
[2026-07-13 09:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-13 09:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682480128001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682480128001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:49:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:49:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682480128001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:49:41] local.INFO: TCP Data received {"connection_id":131208,"ip":"117.225.196.117","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b26f70012d0d39c007049660001a016722..."} 
[2026-07-13 09:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":130209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:49:41] local.INFO: GPS data processed {"connection_id":130209,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:49:41] local.INFO: Acknowledgment sent {"connection_id":130209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b26f70012d0d39c007049660001a016722..."} 
[2026-07-13 09:49:41] local.INFO: Processing buffer {"connection_id":131208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b26f70012d0d39c007049660001a016722..."} 
[2026-07-13 09:49:41] local.INFO: Packet analysis {"connection_id":131208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b2"} 
[2026-07-13 09:49:41] local.INFO: Extracted packet for processing {"connection_id":131208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b2"} 
[2026-07-13 09:49:41] local.INFO: GPS Element Parsed {"raw_longitude":755841472,"raw_latitude":117741152,"longitude_deg":75.5841472,"latitude_deg":11.7741152,"altitude":26,"angle":359,"satellites":34,"speed":14,"hex_longitude":"2d0d39c0","hex_latitude":"07049660","is_valid_coordinates":true} 
[2026-07-13 09:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682568704001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24227176077328384,"note":"Value kept but may cause issues"} 
[2026-07-13 09:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952440982585438208,"note":"Value kept but may cause issues"} 
[2026-07-13 09:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783916294000,"timestamp_ms":1783916294000,"timestamp_seconds":1783916294,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b26f70"} 
[2026-07-13 09:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:49: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-07-13 09:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-07-13 09:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131208,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131208,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.196.117","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682568704001,"66":14374,"18":206,"28":32256,"24":14,"16":24227176077328384,"45":952440982585438208},"client_ip":"117.225.196.117","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-07-13 09:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682568704001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:49:41] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-13 09:49:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-13 09:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24227176077328384,"km_value":24227176077328.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":952440982585438208,"description":"Unknown IO ID 45"} 
[2026-07-13 09:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682568704001,"power":14374,"unknown_18":206,"unknown_28":32256,"ignition":14,"odometer":null,"unknown_45":952440982585438208}} 
[2026-07-13 09:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":131208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479470,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:49:42] local.INFO: GPS data processed {"connection_id":131208,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:49:42] local.INFO: Acknowledgment sent {"connection_id":131208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:49:43] local.INFO: TCP Data received {"connection_id":131208,"ip":"117.225.196.117","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b28ac8012d0d394007049c50001b000923..."} 
[2026-07-13 09:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b28ac8012d0d394007049c50001b000923..."} 
[2026-07-13 09:49:43] local.INFO: Processing buffer {"connection_id":131208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b28ac8012d0d394007049c50001b000923..."} 
[2026-07-13 09:49:43] local.INFO: Packet analysis {"connection_id":131208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b2"} 
[2026-07-13 09:49:43] local.INFO: Extracted packet for processing {"connection_id":131208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b2"} 
[2026-07-13 09:49:43] local.INFO: GPS Element Parsed {"raw_longitude":755841344,"raw_latitude":117742672,"longitude_deg":75.5841344,"latitude_deg":11.7742672,"altitude":27,"angle":9,"satellites":35,"speed":7,"hex_longitude":"2d0d3940","hex_latitude":"07049c50","is_valid_coordinates":true} 
[2026-07-13 09:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682571264001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24227253386739712,"note":"Value kept but may cause issues"} 
[2026-07-13 09:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953003932539838464,"note":"Value kept but may cause issues"} 
[2026-07-13 09:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783916301000,"timestamp_ms":1783916301000,"timestamp_seconds":1783916301,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b28ac8"} 
[2026-07-13 09:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-13 09:49: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-07-13 09:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":131208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":131208,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":131208,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.196.117","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682571264001,"66":14396,"18":206,"28":32256,"24":7,"16":24227253386739712,"45":953003932539838464},"client_ip":"117.225.196.117","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-07-13 09:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682571264001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:49:43] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-13 09:49:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-07-13 09:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24227253386739712,"km_value":24227253386739.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":953003932539838464,"description":"Unknown IO ID 45"} 
[2026-07-13 09:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682571264001,"power":14396,"unknown_18":206,"unknown_28":32256,"ignition":7,"odometer":null,"unknown_45":953003932539838464}} 
[2026-07-13 09:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":131208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479471,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:49:43] local.INFO: GPS data processed {"connection_id":131208,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:49:43] local.INFO: Acknowledgment sent {"connection_id":131208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:49:45] local.INFO: TCP Data received {"connection_id":131209,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131209,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:49:45] local.INFO: Processing buffer {"connection_id":131209,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:49:45] local.INFO: IMEI packet received {"connection_id":131209,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 09:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":131209,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:49:46] local.INFO: TCP Data received {"connection_id":131209,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5995b3f8012cb29ac007823b500049001c2e..."} 
[2026-07-13 09:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5995b3f8012cb29ac007823b500049001c2e..."} 
[2026-07-13 09:49:46] local.INFO: Processing buffer {"connection_id":131209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5995b3f8012cb29ac007823b500049001c2e..."} 
[2026-07-13 09:49:46] local.INFO: Packet analysis {"connection_id":131209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5995"} 
[2026-07-13 09:49:46] local.INFO: Extracted packet for processing {"connection_id":131209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5995"} 
[2026-07-13 09:49:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975376,"longitude_deg":74.9902528,"latitude_deg":12.5975376,"altitude":73,"angle":28,"satellites":46,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b50","is_valid_coordinates":true} 
[2026-07-13 09:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682012160001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 09:49:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062708736,"note":"Value kept but may cause issues"} 
[2026-07-13 09:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783914411000,"timestamp_ms":1783914411000,"timestamp_seconds":1783914411,"priority":1,"record_length":96,"hex_timestamp":"0000019f5995b3f8"} 
[2026-07-13 09:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-13 09:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131209,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 09:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131209,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 09:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 09:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 09:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682012160001,"66":25071,"183":206,"85":36096,"24":0,"16":135462516896563200,"44":-5576934050062708736},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-13 09:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 09:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 09:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682012160001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:49:46] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-13 09:49:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-13 09:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:49:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062708736,"description":"Unknown IO ID 44"} 
[2026-07-13 09:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682012160001,"power":25071,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062708736}} 
[2026-07-13 09:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":131209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479472,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:49:46] local.INFO: GPS data processed {"connection_id":131209,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:49:46] local.INFO: Acknowledgment sent {"connection_id":131209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:49:48] local.INFO: TCP Data received {"connection_id":132544,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132544,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:49:48] local.INFO: Processing buffer {"connection_id":132544,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:49:48] local.INFO: IMEI packet received {"connection_id":132544,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":132544,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:49:53] local.INFO: TCP Data received {"connection_id":132544,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132544,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:49:53] local.INFO: Processing buffer {"connection_id":132544,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:49:53] local.INFO: IMEI packet received {"connection_id":132544,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":132544,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:49:54] local.INFO: TCP Data received {"connection_id":132544,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b3ea58012d7bbc8005ddbbd8000f00e927..."} 
[2026-07-13 09:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b3ea58012d7bbc8005ddbbd8000f00e927..."} 
[2026-07-13 09:49:54] local.INFO: Processing buffer {"connection_id":132544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b3ea58012d7bbc8005ddbbd8000f00e927..."} 
[2026-07-13 09:49:54] local.INFO: Packet analysis {"connection_id":132544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b3"} 
[2026-07-13 09:49:54] local.INFO: Extracted packet for processing {"connection_id":132544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b3"} 
[2026-07-13 09:49:54] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98417624,"longitude_deg":76.3083904,"latitude_deg":9.8417624,"altitude":15,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddbbd8","is_valid_coordinates":true} 
[2026-07-13 09:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682447872001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737078305718272,"note":"Value kept but may cause issues"} 
[2026-07-13 09:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916212493714184192,"note":"Value kept but may cause issues"} 
[2026-07-13 09:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783916391000,"timestamp_ms":1783916391000,"timestamp_seconds":1783916391,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b3ea58"} 
[2026-07-13 09:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 09:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":132544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":132544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":132544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682447872001,"66":2253,"51":206,"85":15104,"24":0,"16":105737078305718272,"45":8916212493714184192},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,85,24,16,45]} 
[2026-07-13 09:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682447872001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:49:54] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-13 09:49:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737078305718272,"km_value":105737078305718.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916212493714184192,"description":"Unknown IO ID 45"} 
[2026-07-13 09:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682447872001,"power":2253,"unknown_51":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916212493714184192}} 
[2026-07-13 09:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":132544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:49:54] local.INFO: GPS data processed {"connection_id":132544,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:49:54] local.INFO: Acknowledgment sent {"connection_id":132544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:50:13] local.INFO: TCP Data received {"connection_id":130209,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b19898012d7f914005afd938000c011b25..."} 
[2026-07-13 09:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b19898012d7f914005afd938000c011b25..."} 
[2026-07-13 09:50:13] local.INFO: Processing buffer {"connection_id":130209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b19898012d7f914005afd938000c011b25..."} 
[2026-07-13 09:50:13] local.INFO: Packet analysis {"connection_id":130209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b1"} 
[2026-07-13 09:50:13] local.INFO: Extracted packet for processing {"connection_id":130209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b1"} 
[2026-07-13 09:50:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682480128001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783916239000,"timestamp_ms":1783916239000,"timestamp_seconds":1783916239,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b19898"} 
[2026-07-13 09:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:50:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-13 09:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682480128001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682480128001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:50:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:50:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682480128001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":130209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:50:13] local.INFO: GPS data processed {"connection_id":130209,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:50:13] local.INFO: Acknowledgment sent {"connection_id":130209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:50:26] local.INFO: TCP Data received {"connection_id":132544,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b3ea58012d7bbc8005ddbbd8000f00e927..."} 
[2026-07-13 09:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b3ea58012d7bbc8005ddbbd8000f00e927..."} 
[2026-07-13 09:50:26] local.INFO: Processing buffer {"connection_id":132544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b3ea58012d7bbc8005ddbbd8000f00e927..."} 
[2026-07-13 09:50:26] local.INFO: Packet analysis {"connection_id":132544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b3"} 
[2026-07-13 09:50:26] local.INFO: Extracted packet for processing {"connection_id":132544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b3"} 
[2026-07-13 09:50:26] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98417624,"longitude_deg":76.3083904,"latitude_deg":9.8417624,"altitude":15,"angle":233,"satellites":39,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddbbd8","is_valid_coordinates":true} 
[2026-07-13 09:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682447872001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737078305718272,"note":"Value kept but may cause issues"} 
[2026-07-13 09:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916212493714184192,"note":"Value kept but may cause issues"} 
[2026-07-13 09:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783916391000,"timestamp_ms":1783916391000,"timestamp_seconds":1783916391,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b3ea58"} 
[2026-07-13 09:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 09:50:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:50:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":132544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":132544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":132544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 09:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 09:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 09:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682447872001,"66":2253,"51":206,"85":15104,"24":0,"16":105737078305718272,"45":8916212493714184192},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,85,24,16,45]} 
[2026-07-13 09:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 09:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 09:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682447872001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:50:26] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-13 09:50:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 09:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737078305718272,"km_value":105737078305718.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916212493714184192,"description":"Unknown IO ID 45"} 
[2026-07-13 09:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682447872001,"power":2253,"unknown_51":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916212493714184192}} 
[2026-07-13 09:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":132544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:50:26] local.INFO: GPS data processed {"connection_id":132544,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:50:26] local.INFO: Acknowledgment sent {"connection_id":132544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:50:30] local.INFO: TCP Data received {"connection_id":132545,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132545,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:50:30] local.INFO: Processing buffer {"connection_id":132545,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:50:30] local.INFO: IMEI packet received {"connection_id":132545,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 09:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":132545,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:50:40] local.INFO: TCP Data received {"connection_id":130409,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:50:40] local.INFO: Processing buffer {"connection_id":130409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:50:40] local.INFO: IMEI packet received {"connection_id":130409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":130409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:50:43] local.INFO: TCP Data received {"connection_id":130210,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:50:43] local.INFO: Processing buffer {"connection_id":130210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:50:43] local.INFO: IMEI packet received {"connection_id":130210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 09:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":130210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:50:45] local.INFO: TCP Data received {"connection_id":130409,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:50:45] local.INFO: Processing buffer {"connection_id":130409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:50:45] local.INFO: IMEI packet received {"connection_id":130409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":130409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:50:46] local.INFO: TCP Data received {"connection_id":130409,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b19898012d7f914005afd938000c011b25..."} 
[2026-07-13 09:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b19898012d7f914005afd938000c011b25..."} 
[2026-07-13 09:50:46] local.INFO: Processing buffer {"connection_id":130409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b19898012d7f914005afd938000c011b25..."} 
[2026-07-13 09:50:46] local.INFO: Packet analysis {"connection_id":130409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b1"} 
[2026-07-13 09:50:46] local.INFO: Extracted packet for processing {"connection_id":130409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b1"} 
[2026-07-13 09:50:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682480128001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783916239000,"timestamp_ms":1783916239000,"timestamp_seconds":1783916239,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b19898"} 
[2026-07-13 09:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-13 09:50:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682480128001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682480128001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:50:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:50:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682480128001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":130409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:50:46] local.INFO: GPS data processed {"connection_id":130409,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:50:46] local.INFO: Acknowledgment sent {"connection_id":130409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:50:48] local.INFO: TCP Data received {"connection_id":130210,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:50:48] local.INFO: Processing buffer {"connection_id":130210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 09:50:48] local.INFO: IMEI packet received {"connection_id":130210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 09:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":130210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:50:50] local.INFO: TCP Data received {"connection_id":130409,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b19898012d7f914005afd938000c011b25..."} 
[2026-07-13 09:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b19898012d7f914005afd938000c011b25..."} 
[2026-07-13 09:50:50] local.INFO: Processing buffer {"connection_id":130409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b19898012d7f914005afd938000c011b25..."} 
[2026-07-13 09:50:50] local.INFO: Packet analysis {"connection_id":130409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b1"} 
[2026-07-13 09:50:50] local.INFO: Extracted packet for processing {"connection_id":130409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b1"} 
[2026-07-13 09:50:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682480128001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783916239000,"timestamp_ms":1783916239000,"timestamp_seconds":1783916239,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b19898"} 
[2026-07-13 09:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-13 09:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09: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-07-13 09:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682480128001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682480128001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:50:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:50:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682480128001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":130409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:50:50] local.INFO: GPS data processed {"connection_id":130409,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:50:50] local.INFO: Acknowledgment sent {"connection_id":130409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:51:32] local.INFO: TCP Data received {"connection_id":131210,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131210,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:51:32] local.INFO: Processing buffer {"connection_id":131210,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:51:32] local.INFO: IMEI packet received {"connection_id":131210,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":131210,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:51:35] local.INFO: TCP Data received {"connection_id":131211,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:51:35] local.INFO: Processing buffer {"connection_id":131211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:51:35] local.INFO: IMEI packet received {"connection_id":131211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":131211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:51:38] local.INFO: TCP Data received {"connection_id":131210,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131210,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:51:38] local.INFO: Processing buffer {"connection_id":131210,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:51:38] local.INFO: IMEI packet received {"connection_id":131210,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":131210,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:51:39] local.INFO: TCP Data received {"connection_id":131210,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b50b68012d0ca3800704a540001f008723..."} 
[2026-07-13 09:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b50b68012d0ca3800704a540001f008723..."} 
[2026-07-13 09:51:39] local.INFO: Processing buffer {"connection_id":131210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b50b68012d0ca3800704a540001f008723..."} 
[2026-07-13 09:51:39] local.INFO: Packet analysis {"connection_id":131210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b5"} 
[2026-07-13 09:51:39] local.INFO: Extracted packet for processing {"connection_id":131210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b5"} 
[2026-07-13 09:51:39] local.INFO: GPS Element Parsed {"raw_longitude":755803008,"raw_latitude":117744960,"longitude_deg":75.5803008,"latitude_deg":11.774496,"altitude":31,"angle":135,"satellites":35,"speed":3,"hex_longitude":"2d0ca380","hex_latitude":"0704a540","is_valid_coordinates":true} 
[2026-07-13 09:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682614016001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24230324288356352,"note":"Value kept but may cause issues"} 
[2026-07-13 09:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910430842313375744,"note":"Value kept but may cause issues"} 
[2026-07-13 09:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783916465000,"timestamp_ms":1783916465000,"timestamp_seconds":1783916465,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b50b68"} 
[2026-07-13 09:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-13 09:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131210,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131210,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682614016001,"66":14461,"95":206,"94":10240,"24":3,"16":24230324288356352,"45":910430842313375744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-13 09:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682614016001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:51:39] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-13 09:51:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24230324288356352,"km_value":24230324288356.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":910430842313375744,"description":"Unknown IO ID 45"} 
[2026-07-13 09:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682614016001,"power":14461,"unknown_95":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":910430842313375744}} 
[2026-07-13 09:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":131210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479478,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:51:39] local.INFO: GPS data processed {"connection_id":131210,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:51:39] local.INFO: Acknowledgment sent {"connection_id":131210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:51:40] local.INFO: TCP Data received {"connection_id":131211,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:51:40] local.INFO: Processing buffer {"connection_id":131211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:51:40] local.INFO: IMEI packet received {"connection_id":131211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":131211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:51:41] local.INFO: TCP Data received {"connection_id":131211,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b19898012d7f914005afd938000c011b25..."} 
[2026-07-13 09:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b19898012d7f914005afd938000c011b25..."} 
[2026-07-13 09:51:41] local.INFO: Processing buffer {"connection_id":131211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b19898012d7f914005afd938000c011b25..."} 
[2026-07-13 09:51:41] local.INFO: Packet analysis {"connection_id":131211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b1"} 
[2026-07-13 09:51:41] local.INFO: Extracted packet for processing {"connection_id":131211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b1"} 
[2026-07-13 09:51:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 09:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682480128001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783916239000,"timestamp_ms":1783916239000,"timestamp_seconds":1783916239,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b19898"} 
[2026-07-13 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-07-13 09:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-13 09:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 09:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682480128001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682480128001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:51:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:51:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682480128001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":131211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:51:41] local.INFO: GPS data processed {"connection_id":131211,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:51:41] local.INFO: Acknowledgment sent {"connection_id":131211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:52:10] local.INFO: TCP Data received {"connection_id":131210,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b54600012d0cb2c007049210001f009424..."} 
[2026-07-13 09:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b54600012d0cb2c007049210001f009424..."} 
[2026-07-13 09:52:10] local.INFO: Processing buffer {"connection_id":131210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b54600012d0cb2c007049210001f009424..."} 
[2026-07-13 09:52:10] local.INFO: Packet analysis {"connection_id":131210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b5"} 
[2026-07-13 09:52:10] local.INFO: Extracted packet for processing {"connection_id":131210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b5"} 
[2026-07-13 09:52:10] local.INFO: GPS Element Parsed {"raw_longitude":755806912,"raw_latitude":117740048,"longitude_deg":75.5806912,"latitude_deg":11.7740048,"altitude":31,"angle":148,"satellites":36,"speed":32,"hex_longitude":"2d0cb2c0","hex_latitude":"07049210","is_valid_coordinates":true} 
[2026-07-13 09:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682615040001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24230629231034368,"note":"Value kept but may cause issues"} 
[2026-07-13 09:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910712317290037248,"note":"Value kept but may cause issues"} 
[2026-07-13 09:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783916480000,"timestamp_ms":1783916480000,"timestamp_seconds":1783916480,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b54600"} 
[2026-07-13 09:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-13 09:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131210,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131210,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682615040001,"66":14428,"95":206,"94":10240,"24":32,"16":24230629231034368,"45":910712317290037248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-13 09:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682615040001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:52:10] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-13 09:52:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 09:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24230629231034368,"km_value":24230629231034.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":910712317290037248,"description":"Unknown IO ID 45"} 
[2026-07-13 09:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682615040001,"power":14428,"unknown_95":206,"unknown_94":10240,"ignition":32,"odometer":null,"unknown_45":910712317290037248}} 
[2026-07-13 09:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":131210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479480,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:52:10] local.INFO: GPS data processed {"connection_id":131210,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:52:10] local.INFO: Acknowledgment sent {"connection_id":131210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:52:12] local.INFO: TCP Data received {"connection_id":131211,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b19898012d7f914005afd938000c011b25..."} 
[2026-07-13 09:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b19898012d7f914005afd938000c011b25..."} 
[2026-07-13 09:52:12] local.INFO: Processing buffer {"connection_id":131211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b19898012d7f914005afd938000c011b25..."} 
[2026-07-13 09:52:12] local.INFO: Packet analysis {"connection_id":131211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b1"} 
[2026-07-13 09:52:12] local.INFO: Extracted packet for processing {"connection_id":131211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b1"} 
[2026-07-13 09:52:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682480128001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783916239000,"timestamp_ms":1783916239000,"timestamp_seconds":1783916239,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b19898"} 
[2026-07-13 09:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-13 09:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682480128001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682480128001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:52:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:52:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682480128001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":131211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:52:12] local.INFO: GPS data processed {"connection_id":131211,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:52:12] local.INFO: Acknowledgment sent {"connection_id":131211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:52:27] local.INFO: TCP Data received {"connection_id":131213,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131213,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:52:27] local.INFO: Processing buffer {"connection_id":131213,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:52:27] local.INFO: IMEI packet received {"connection_id":131213,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":131213,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:52:31] local.INFO: TCP Data received {"connection_id":131213,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131213,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:52:31] local.INFO: Processing buffer {"connection_id":131213,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:52:31] local.INFO: IMEI packet received {"connection_id":131213,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":131213,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:52:31] local.INFO: TCP Data received {"connection_id":131213,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131213,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:52:31] local.INFO: Processing buffer {"connection_id":131213,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:52:31] local.INFO: IMEI packet received {"connection_id":131213,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":131213,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:52:31] local.INFO: TCP Data received {"connection_id":131213,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131213,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:52:31] local.INFO: Processing buffer {"connection_id":131213,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:52:31] local.INFO: IMEI packet received {"connection_id":131213,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":131213,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:52:35] local.INFO: TCP Data received {"connection_id":132546,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:52:35] local.INFO: Processing buffer {"connection_id":132546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:52:35] local.INFO: IMEI packet received {"connection_id":132546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":132546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:52:40] local.INFO: TCP Data received {"connection_id":132546,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:52:40] local.INFO: Processing buffer {"connection_id":132546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:52:40] local.INFO: IMEI packet received {"connection_id":132546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":132546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:52:41] local.INFO: TCP Data received {"connection_id":132546,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b19898012d7f914005afd938000c011b25..."} 
[2026-07-13 09:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b19898012d7f914005afd938000c011b25..."} 
[2026-07-13 09:52:41] local.INFO: Processing buffer {"connection_id":132546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b19898012d7f914005afd938000c011b25..."} 
[2026-07-13 09:52:41] local.INFO: Packet analysis {"connection_id":132546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b1"} 
[2026-07-13 09:52:41] local.INFO: Extracted packet for processing {"connection_id":132546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b1"} 
[2026-07-13 09:52:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 09:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682480128001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783916239000,"timestamp_ms":1783916239000,"timestamp_seconds":1783916239,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b19898"} 
[2026-07-13 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-07-13 09:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-13 09:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 09:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682480128001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682480128001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:52:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:52:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682480128001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":132546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:52:41] local.INFO: GPS data processed {"connection_id":132546,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:52:41] local.INFO: Acknowledgment sent {"connection_id":132546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:53:12] local.INFO: TCP Data received {"connection_id":132546,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:53:12] local.INFO: Processing buffer {"connection_id":132546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:53:12] local.INFO: Packet analysis {"connection_id":132546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b6"} 
[2026-07-13 09:53:12] local.INFO: Extracted packet for processing {"connection_id":132546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b6"} 
[2026-07-13 09:53:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 09:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682557184001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783916540000,"timestamp_ms":1783916540000,"timestamp_seconds":1783916540,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b63060"} 
[2026-07-13 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-07-13 09:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 09:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682557184001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682557184001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:53:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:53:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682557184001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":132546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:53:12] local.INFO: GPS data processed {"connection_id":132546,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:53:12] local.INFO: Acknowledgment sent {"connection_id":132546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:53:35] local.INFO: TCP Data received {"connection_id":131214,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:53:35] local.INFO: Processing buffer {"connection_id":131214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:53:35] local.INFO: IMEI packet received {"connection_id":131214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":131214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:53:40] local.INFO: TCP Data received {"connection_id":131214,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:53:40] local.INFO: Processing buffer {"connection_id":131214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:53:40] local.INFO: IMEI packet received {"connection_id":131214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":131214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:53:41] local.INFO: TCP Data received {"connection_id":131214,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:53:41] local.INFO: Processing buffer {"connection_id":131214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:53:41] local.INFO: Packet analysis {"connection_id":131214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b6"} 
[2026-07-13 09:53:41] local.INFO: Extracted packet for processing {"connection_id":131214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b6"} 
[2026-07-13 09:53:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682557184001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783916540000,"timestamp_ms":1783916540000,"timestamp_seconds":1783916540,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b63060"} 
[2026-07-13 09:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682557184001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682557184001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:53:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:53:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682557184001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":131214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:53:41] local.INFO: GPS data processed {"connection_id":131214,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:53:41] local.INFO: Acknowledgment sent {"connection_id":131214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:54:12] local.INFO: TCP Data received {"connection_id":131214,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:54:12] local.INFO: Processing buffer {"connection_id":131214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:54:12] local.INFO: Packet analysis {"connection_id":131214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b6"} 
[2026-07-13 09:54:12] local.INFO: Extracted packet for processing {"connection_id":131214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b6"} 
[2026-07-13 09:54:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682557184001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783916540000,"timestamp_ms":1783916540000,"timestamp_seconds":1783916540,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b63060"} 
[2026-07-13 09:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682557184001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682557184001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:54:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:54:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682557184001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":131214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:54:12] local.INFO: GPS data processed {"connection_id":131214,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:54:12] local.INFO: Acknowledgment sent {"connection_id":131214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:54:35] local.INFO: TCP Data received {"connection_id":130214,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:54:35] local.INFO: Processing buffer {"connection_id":130214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:54:35] local.INFO: IMEI packet received {"connection_id":130214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":130214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:54:40] local.INFO: TCP Data received {"connection_id":130214,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:54:40] local.INFO: Processing buffer {"connection_id":130214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:54:40] local.INFO: IMEI packet received {"connection_id":130214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":130214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:54:42] local.INFO: TCP Data received {"connection_id":130214,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:54:42] local.INFO: Processing buffer {"connection_id":130214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:54:42] local.INFO: Packet analysis {"connection_id":130214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b6"} 
[2026-07-13 09:54:42] local.INFO: Extracted packet for processing {"connection_id":130214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b6"} 
[2026-07-13 09:54:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682557184001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783916540000,"timestamp_ms":1783916540000,"timestamp_seconds":1783916540,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b63060"} 
[2026-07-13 09:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682557184001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682557184001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:54:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:54:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682557184001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":130214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:54:42] local.INFO: GPS data processed {"connection_id":130214,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:54:42] local.INFO: Acknowledgment sent {"connection_id":130214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:55:14] local.INFO: TCP Data received {"connection_id":130214,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:55:14] local.INFO: Processing buffer {"connection_id":130214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:55:14] local.INFO: Packet analysis {"connection_id":130214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b6"} 
[2026-07-13 09:55:14] local.INFO: Extracted packet for processing {"connection_id":130214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b6"} 
[2026-07-13 09:55:14] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682557184001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783916540000,"timestamp_ms":1783916540000,"timestamp_seconds":1783916540,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b63060"} 
[2026-07-13 09:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:55:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682557184001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682557184001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:55:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:55:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682557184001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":130214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:55:14] local.INFO: GPS data processed {"connection_id":130214,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:55:14] local.INFO: Acknowledgment sent {"connection_id":130214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:55:40] local.INFO: TCP Data received {"connection_id":132547,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:55:40] local.INFO: Processing buffer {"connection_id":132547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:55:40] local.INFO: IMEI packet received {"connection_id":132547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":132547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:55:45] local.INFO: TCP Data received {"connection_id":132547,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:55:45] local.INFO: Processing buffer {"connection_id":132547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:55:45] local.INFO: IMEI packet received {"connection_id":132547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":132547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:55:45] local.INFO: TCP Data received {"connection_id":132547,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:55:45] local.INFO: Processing buffer {"connection_id":132547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:55:45] local.INFO: Packet analysis {"connection_id":132547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b6"} 
[2026-07-13 09:55:45] local.INFO: Extracted packet for processing {"connection_id":132547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b6"} 
[2026-07-13 09:55:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682557184001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783916540000,"timestamp_ms":1783916540000,"timestamp_seconds":1783916540,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b63060"} 
[2026-07-13 09:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:55:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:55:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:55: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-07-13 09:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682557184001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682557184001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:55:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:55:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682557184001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":132547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:55:45] local.INFO: GPS data processed {"connection_id":132547,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:55:45] local.INFO: Acknowledgment sent {"connection_id":132547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:55:50] local.INFO: TCP Data received {"connection_id":132547,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:55:50] local.INFO: Processing buffer {"connection_id":132547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:55:50] local.INFO: Packet analysis {"connection_id":132547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b6"} 
[2026-07-13 09:55:50] local.INFO: Extracted packet for processing {"connection_id":132547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b6"} 
[2026-07-13 09:55:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09: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-07-13 09:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682557184001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783916540000,"timestamp_ms":1783916540000,"timestamp_seconds":1783916540,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b63060"} 
[2026-07-13 09:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09: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-07-13 09:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":132547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":132547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":132547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:55: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-07-13 09:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682557184001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682557184001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:55:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:55:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682557184001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":132547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:55:50] local.INFO: GPS data processed {"connection_id":132547,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:55:50] local.INFO: Acknowledgment sent {"connection_id":132547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:55:50] local.INFO: TCP Data received {"connection_id":132548,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132548,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:55:50] local.INFO: Processing buffer {"connection_id":132548,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 09:55:50] local.INFO: IMEI packet received {"connection_id":132548,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 09:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":132548,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:56:35] local.INFO: TCP Data received {"connection_id":131218,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:56:35] local.INFO: Processing buffer {"connection_id":131218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:56:35] local.INFO: IMEI packet received {"connection_id":131218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":131218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:56:40] local.INFO: TCP Data received {"connection_id":131218,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:56:40] local.INFO: Processing buffer {"connection_id":131218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:56:40] local.INFO: IMEI packet received {"connection_id":131218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":131218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:56:41] local.INFO: TCP Data received {"connection_id":131218,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:56:41] local.INFO: Processing buffer {"connection_id":131218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:56:41] local.INFO: Packet analysis {"connection_id":131218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b6"} 
[2026-07-13 09:56:41] local.INFO: Extracted packet for processing {"connection_id":131218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b6"} 
[2026-07-13 09:56:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682557184001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783916540000,"timestamp_ms":1783916540000,"timestamp_seconds":1783916540,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b63060"} 
[2026-07-13 09:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682557184001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682557184001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:56:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682557184001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":131218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:56:41] local.INFO: GPS data processed {"connection_id":131218,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:56:41] local.INFO: Acknowledgment sent {"connection_id":131218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:56:45] local.INFO: TCP Data received {"connection_id":131218,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:56:45] local.INFO: Processing buffer {"connection_id":131218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:56:45] local.INFO: Packet analysis {"connection_id":131218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b6"} 
[2026-07-13 09:56:45] local.INFO: Extracted packet for processing {"connection_id":131218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b6"} 
[2026-07-13 09:56:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682557184001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783916540000,"timestamp_ms":1783916540000,"timestamp_seconds":1783916540,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b63060"} 
[2026-07-13 09:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:56: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-07-13 09:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682557184001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682557184001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:56:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:56:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682557184001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":131218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:56:45] local.INFO: GPS data processed {"connection_id":131218,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:56:45] local.INFO: Acknowledgment sent {"connection_id":131218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:57:16] local.INFO: TCP Data received {"connection_id":131218,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:57:16] local.INFO: Processing buffer {"connection_id":131218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:57:16] local.INFO: Packet analysis {"connection_id":131218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b6"} 
[2026-07-13 09:57:16] local.INFO: Extracted packet for processing {"connection_id":131218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b6"} 
[2026-07-13 09:57:16] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682557184001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:57:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783916540000,"timestamp_ms":1783916540000,"timestamp_seconds":1783916540,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b63060"} 
[2026-07-13 09:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:57:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":131218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":131218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":131218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:57: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-07-13 09:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682557184001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682557184001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:57:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:57:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682557184001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":131218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:57:16] local.INFO: GPS data processed {"connection_id":131218,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:57:16] local.INFO: Acknowledgment sent {"connection_id":131218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:57:33] local.INFO: TCP Data received {"connection_id":132550,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132550,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:57:33] local.INFO: Processing buffer {"connection_id":132550,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:57:33] local.INFO: IMEI packet received {"connection_id":132550,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":132550,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:57:33] local.INFO: TCP Data received {"connection_id":132550,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ba7620012d0bf940070359280017013523..."} 
[2026-07-13 09:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ba7620012d0bf940070359280017013523..."} 
[2026-07-13 09:57:33] local.INFO: Processing buffer {"connection_id":132550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ba7620012d0bf940070359280017013523..."} 
[2026-07-13 09:57:33] local.INFO: Packet analysis {"connection_id":132550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ba"} 
[2026-07-13 09:57:33] local.INFO: Extracted packet for processing {"connection_id":132550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ba"} 
[2026-07-13 09:57:33] local.INFO: GPS Element Parsed {"raw_longitude":755759424,"raw_latitude":117659944,"longitude_deg":75.5759424,"latitude_deg":11.7659944,"altitude":23,"angle":309,"satellites":35,"speed":12,"hex_longitude":"2d0bf940","hex_latitude":"07035928","is_valid_coordinates":true} 
[2026-07-13 09:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682705664001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24236839753744384,"note":"Value kept but may cause issues"} 
[2026-07-13 09:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":863143046204110848,"note":"Value kept but may cause issues"} 
[2026-07-13 09:57: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-07-13 09:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783916820000,"timestamp_ms":1783916820000,"timestamp_seconds":1783916820,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ba7620"} 
[2026-07-13 09:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":103,"data_length":795,"current_offset":136} 
[2026-07-13 09:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":132550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":132550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":132550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682705664001,"66":14298,"37":206,"94":11008,"24":12,"16":24236839753744384,"45":863143046204110848},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-13 09:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682705664001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:57:33] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-13 09:57:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 09:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24236839753744384,"km_value":24236839753744.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":863143046204110848,"description":"Unknown IO ID 45"} 
[2026-07-13 09:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682705664001,"power":14298,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":863143046204110848}} 
[2026-07-13 09:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":132550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479493,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:57:33] local.INFO: GPS data processed {"connection_id":132550,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:57:33] local.INFO: Acknowledgment sent {"connection_id":132550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:57:35] local.INFO: TCP Data received {"connection_id":130411,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:57:35] local.INFO: Processing buffer {"connection_id":130411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:57:35] local.INFO: IMEI packet received {"connection_id":130411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":130411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:57:40] local.INFO: TCP Data received {"connection_id":130411,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:57:40] local.INFO: Processing buffer {"connection_id":130411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:57:40] local.INFO: IMEI packet received {"connection_id":130411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":130411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:57:41] local.INFO: TCP Data received {"connection_id":130411,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:57:41] local.INFO: Processing buffer {"connection_id":130411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59b63060012d7f914005afd938000c011b22..."} 
[2026-07-13 09:57:41] local.INFO: Packet analysis {"connection_id":130411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59b6"} 
[2026-07-13 09:57:41] local.INFO: Extracted packet for processing {"connection_id":130411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59b6"} 
[2026-07-13 09:57:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682557184001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783916540000,"timestamp_ms":1783916540000,"timestamp_seconds":1783916540,"priority":1,"record_length":96,"hex_timestamp":"0000019f59b63060"} 
[2026-07-13 09:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682557184001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682557184001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:57:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:57:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682557184001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":130411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:57:41] local.INFO: GPS data processed {"connection_id":130411,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:57:41] local.INFO: Acknowledgment sent {"connection_id":130411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:58:11] local.INFO: TCP Data received {"connection_id":132550,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ba7a08012d0bf800070359d00017012023..."} 
[2026-07-13 09:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ba7a08012d0bf800070359d00017012023..."} 
[2026-07-13 09:58:11] local.INFO: Processing buffer {"connection_id":132550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ba7a08012d0bf800070359d00017012023..."} 
[2026-07-13 09:58:11] local.INFO: Packet analysis {"connection_id":132550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ba"} 
[2026-07-13 09:58:11] local.INFO: Extracted packet for processing {"connection_id":132550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ba"} 
[2026-07-13 09:58:11] local.INFO: GPS Element Parsed {"raw_longitude":755759104,"raw_latitude":117660112,"longitude_deg":75.5759104,"latitude_deg":11.7660112,"altitude":23,"angle":288,"satellites":35,"speed":12,"hex_longitude":"2d0bf800","hex_latitude":"070359d0","is_valid_coordinates":true} 
[2026-07-13 09:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682705920001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24236856933613568,"note":"Value kept but may cause issues"} 
[2026-07-13 09:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862791202483283968,"note":"Value kept but may cause issues"} 
[2026-07-13 09:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783916821000,"timestamp_ms":1783916821000,"timestamp_seconds":1783916821,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ba7a08"} 
[2026-07-13 09:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 09: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-13 09:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 09:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 09:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 09:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682705920001,"66":14298,"37":206,"94":11008,"24":12,"16":24236856933613568,"45":862791202483283968},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-13 09:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 09:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 09:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682705920001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:58:11] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-13 09:58:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 09:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24236856933613568,"km_value":24236856933613.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":862791202483283968,"description":"Unknown IO ID 45"} 
[2026-07-13 09:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682705920001,"power":14298,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":862791202483283968}} 
[2026-07-13 09:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":132550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479495,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:58:11] local.INFO: GPS data processed {"connection_id":132550,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:58:11] local.INFO: Acknowledgment sent {"connection_id":132550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:58:12] local.INFO: TCP Data received {"connection_id":130411,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 09:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 09:58:12] local.INFO: Processing buffer {"connection_id":130411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 09:58:12] local.INFO: Packet analysis {"connection_id":130411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ba"} 
[2026-07-13 09:58:12] local.INFO: Extracted packet for processing {"connection_id":130411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ba"} 
[2026-07-13 09:58:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682634240001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783916841000,"timestamp_ms":1783916841000,"timestamp_seconds":1783916841,"priority":1,"record_length":96,"hex_timestamp":"0000019f59bac828"} 
[2026-07-13 09:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682634240001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682634240001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:58:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:58:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682634240001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":130411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:58:12] local.INFO: GPS data processed {"connection_id":130411,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:58:12] local.INFO: Acknowledgment sent {"connection_id":130411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:58:26] local.INFO: TCP Data received {"connection_id":132551,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132551,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:58:26] local.INFO: Processing buffer {"connection_id":132551,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:58:26] local.INFO: IMEI packet received {"connection_id":132551,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 09:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":132551,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:58:27] local.INFO: TCP Data received {"connection_id":132551,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132551,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:58:27] local.INFO: Processing buffer {"connection_id":132551,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:58:27] local.INFO: IMEI packet received {"connection_id":132551,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":132551,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:58:28] local.INFO: TCP Data received {"connection_id":132551,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132551,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:58:28] local.INFO: Processing buffer {"connection_id":132551,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:58:28] local.INFO: IMEI packet received {"connection_id":132551,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":132551,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:58:29] local.INFO: TCP Data received {"connection_id":132551,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132551,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:58:29] local.INFO: Processing buffer {"connection_id":132551,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 09:58:29] local.INFO: IMEI packet received {"connection_id":132551,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 09:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":132551,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:58:35] local.INFO: TCP Data received {"connection_id":130412,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:58:35] local.INFO: Processing buffer {"connection_id":130412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:58:35] local.INFO: IMEI packet received {"connection_id":130412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":130412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:58:40] local.INFO: TCP Data received {"connection_id":130412,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:58:40] local.INFO: Processing buffer {"connection_id":130412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:58:40] local.INFO: IMEI packet received {"connection_id":130412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":130412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:58:41] local.INFO: TCP Data received {"connection_id":130412,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 09:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 09:58:41] local.INFO: Processing buffer {"connection_id":130412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 09:58:41] local.INFO: Packet analysis {"connection_id":130412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ba"} 
[2026-07-13 09:58:41] local.INFO: Extracted packet for processing {"connection_id":130412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ba"} 
[2026-07-13 09:58:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682634240001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783916841000,"timestamp_ms":1783916841000,"timestamp_seconds":1783916841,"priority":1,"record_length":96,"hex_timestamp":"0000019f59bac828"} 
[2026-07-13 09:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682634240001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682634240001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:58:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:58:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682634240001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":130412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:58:41] local.INFO: GPS data processed {"connection_id":130412,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:58:41] local.INFO: Acknowledgment sent {"connection_id":130412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:59:12] local.INFO: TCP Data received {"connection_id":130412,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 09:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 09:59:12] local.INFO: Processing buffer {"connection_id":130412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 09:59:12] local.INFO: Packet analysis {"connection_id":130412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ba"} 
[2026-07-13 09:59:12] local.INFO: Extracted packet for processing {"connection_id":130412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ba"} 
[2026-07-13 09:59:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682634240001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783916841000,"timestamp_ms":1783916841000,"timestamp_seconds":1783916841,"priority":1,"record_length":96,"hex_timestamp":"0000019f59bac828"} 
[2026-07-13 09:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682634240001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682634240001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:59:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:59:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682634240001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":130412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:59:12] local.INFO: GPS data processed {"connection_id":130412,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:59:12] local.INFO: Acknowledgment sent {"connection_id":130412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 09:59:35] local.INFO: TCP Data received {"connection_id":130216,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:59:35] local.INFO: Processing buffer {"connection_id":130216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:59:35] local.INFO: IMEI packet received {"connection_id":130216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 09:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":130216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 09:59:40] local.INFO: TCP Data received {"connection_id":130216,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:59:40] local.INFO: Processing buffer {"connection_id":130216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 09:59:40] local.INFO: IMEI packet received {"connection_id":130216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 09:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":130216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 09:59:41] local.INFO: TCP Data received {"connection_id":130216,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 09:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 09:59:41] local.INFO: Processing buffer {"connection_id":130216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 09:59:41] local.INFO: Packet analysis {"connection_id":130216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ba"} 
[2026-07-13 09:59:41] local.INFO: Extracted packet for processing {"connection_id":130216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ba"} 
[2026-07-13 09:59:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 09:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 09:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682634240001,"note":"Value kept but may cause issues"} 
[2026-07-13 09:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 09:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 09:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 09:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783916841000,"timestamp_ms":1783916841000,"timestamp_seconds":1783916841,"priority":1,"record_length":96,"hex_timestamp":"0000019f59bac828"} 
[2026-07-13 09:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 09:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 09:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 09:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 09:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 09:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 09:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 09:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 09:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 09:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 09:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 09:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 09:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682634240001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 09:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 09:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 09:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682634240001,"description":"Unknown IO ID 0"} 
[2026-07-13 09:59:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 09:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 09:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 09:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 09:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682634240001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 09:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":130216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 09:59:41] local.INFO: GPS data processed {"connection_id":130216,"processed":1,"errors":0,"total":1} 
[2026-07-13 09:59:41] local.INFO: Acknowledgment sent {"connection_id":130216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:00:12] local.INFO: TCP Data received {"connection_id":130216,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 10:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 10:00:12] local.INFO: Processing buffer {"connection_id":130216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 10:00:12] local.INFO: Packet analysis {"connection_id":130216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ba"} 
[2026-07-13 10:00:12] local.INFO: Extracted packet for processing {"connection_id":130216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ba"} 
[2026-07-13 10:00:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682634240001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783916841000,"timestamp_ms":1783916841000,"timestamp_seconds":1783916841,"priority":1,"record_length":96,"hex_timestamp":"0000019f59bac828"} 
[2026-07-13 10:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682634240001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682634240001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:00:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:00:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682634240001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":130216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:00:12] local.INFO: GPS data processed {"connection_id":130216,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:00:12] local.INFO: Acknowledgment sent {"connection_id":130216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:00:40] local.INFO: TCP Data received {"connection_id":132553,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:00:40] local.INFO: Processing buffer {"connection_id":132553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:00:40] local.INFO: IMEI packet received {"connection_id":132553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":132553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:00:45] local.INFO: TCP Data received {"connection_id":132553,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:00:45] local.INFO: Processing buffer {"connection_id":132553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:00:45] local.INFO: IMEI packet received {"connection_id":132553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":132553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:00:47] local.INFO: TCP Data received {"connection_id":132553,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 10:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 10:00:47] local.INFO: Processing buffer {"connection_id":132553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 10:00:47] local.INFO: Packet analysis {"connection_id":132553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ba"} 
[2026-07-13 10:00:47] local.INFO: Extracted packet for processing {"connection_id":132553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ba"} 
[2026-07-13 10:00:47] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682634240001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783916841000,"timestamp_ms":1783916841000,"timestamp_seconds":1783916841,"priority":1,"record_length":96,"hex_timestamp":"0000019f59bac828"} 
[2026-07-13 10:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682634240001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682634240001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:00:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:00:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682634240001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":132553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:00:47] local.INFO: GPS data processed {"connection_id":132553,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:00:47] local.INFO: Acknowledgment sent {"connection_id":132553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:00:50] local.INFO: TCP Data received {"connection_id":132553,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 10:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 10:00:50] local.INFO: Processing buffer {"connection_id":132553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 10:00:50] local.INFO: Packet analysis {"connection_id":132553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ba"} 
[2026-07-13 10:00:50] local.INFO: Extracted packet for processing {"connection_id":132553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ba"} 
[2026-07-13 10:00:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682634240001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783916841000,"timestamp_ms":1783916841000,"timestamp_seconds":1783916841,"priority":1,"record_length":96,"hex_timestamp":"0000019f59bac828"} 
[2026-07-13 10:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":132553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":132553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":132553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682634240001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682634240001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:00:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:00:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682634240001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":132553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:00:50] local.INFO: GPS data processed {"connection_id":132553,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:00:50] local.INFO: Acknowledgment sent {"connection_id":132553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:01:40] local.INFO: TCP Data received {"connection_id":131223,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131223,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:01:40] local.INFO: Processing buffer {"connection_id":131223,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:01:40] local.INFO: IMEI packet received {"connection_id":131223,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 10:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":131223,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:01:40] local.INFO: TCP Data received {"connection_id":130217,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:01:40] local.INFO: Processing buffer {"connection_id":130217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:01:40] local.INFO: IMEI packet received {"connection_id":130217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":130217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:01:47] local.INFO: TCP Data received {"connection_id":130217,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:01:47] local.INFO: Processing buffer {"connection_id":130217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:01:47] local.INFO: IMEI packet received {"connection_id":130217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":130217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:01:50] local.INFO: TCP Data received {"connection_id":130217,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 10:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 10:01:50] local.INFO: Processing buffer {"connection_id":130217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 10:01:50] local.INFO: Packet analysis {"connection_id":130217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ba"} 
[2026-07-13 10:01:50] local.INFO: Extracted packet for processing {"connection_id":130217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ba"} 
[2026-07-13 10:01:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682634240001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783916841000,"timestamp_ms":1783916841000,"timestamp_seconds":1783916841,"priority":1,"record_length":96,"hex_timestamp":"0000019f59bac828"} 
[2026-07-13 10:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:01: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-07-13 10:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682634240001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682634240001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:01:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:01:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682634240001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":130217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:01:50] local.INFO: GPS data processed {"connection_id":130217,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:01:50] local.INFO: Acknowledgment sent {"connection_id":130217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:01:59] local.INFO: TCP Data received {"connection_id":130217,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 10:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 10:01:59] local.INFO: Processing buffer {"connection_id":130217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 10:01:59] local.INFO: Packet analysis {"connection_id":130217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ba"} 
[2026-07-13 10:01:59] local.INFO: Extracted packet for processing {"connection_id":130217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ba"} 
[2026-07-13 10:01:59] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682634240001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783916841000,"timestamp_ms":1783916841000,"timestamp_seconds":1783916841,"priority":1,"record_length":96,"hex_timestamp":"0000019f59bac828"} 
[2026-07-13 10:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":130217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":130217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":130217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682634240001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682634240001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:01:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:01:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682634240001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":130217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:01:59] local.INFO: GPS data processed {"connection_id":130217,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:01:59] local.INFO: Acknowledgment sent {"connection_id":130217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:02:40] local.INFO: TCP Data received {"connection_id":131224,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:02:40] local.INFO: Processing buffer {"connection_id":131224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:02:40] local.INFO: IMEI packet received {"connection_id":131224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":131224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:02:45] local.INFO: TCP Data received {"connection_id":131224,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:02:45] local.INFO: Processing buffer {"connection_id":131224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:02:45] local.INFO: IMEI packet received {"connection_id":131224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":131224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:02:46] local.INFO: TCP Data received {"connection_id":131224,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 10:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 10:02:46] local.INFO: Processing buffer {"connection_id":131224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 10:02:46] local.INFO: Packet analysis {"connection_id":131224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ba"} 
[2026-07-13 10:02:46] local.INFO: Extracted packet for processing {"connection_id":131224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ba"} 
[2026-07-13 10:02:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682634240001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783916841000,"timestamp_ms":1783916841000,"timestamp_seconds":1783916841,"priority":1,"record_length":96,"hex_timestamp":"0000019f59bac828"} 
[2026-07-13 10:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682634240001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682634240001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:02:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:02:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682634240001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":131224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:02:46] local.INFO: GPS data processed {"connection_id":131224,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:02:46] local.INFO: Acknowledgment sent {"connection_id":131224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:02:50] local.INFO: TCP Data received {"connection_id":131224,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 10:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 10:02:50] local.INFO: Processing buffer {"connection_id":131224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59bac828012d7f914005afd938000c011b25..."} 
[2026-07-13 10:02:50] local.INFO: Packet analysis {"connection_id":131224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ba"} 
[2026-07-13 10:02:50] local.INFO: Extracted packet for processing {"connection_id":131224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ba"} 
[2026-07-13 10:02:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682634240001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783916841000,"timestamp_ms":1783916841000,"timestamp_seconds":1783916841,"priority":1,"record_length":96,"hex_timestamp":"0000019f59bac828"} 
[2026-07-13 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-07-13 10:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 10:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:02: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-07-13 10:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682634240001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682634240001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:02:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:02:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682634240001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":131224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:02:50] local.INFO: GPS data processed {"connection_id":131224,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:02:50] local.INFO: Acknowledgment sent {"connection_id":131224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:03:32] local.INFO: TCP Data received {"connection_id":130413,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 10:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130413,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 10:03:32] local.INFO: Processing buffer {"connection_id":130413,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 10:03:32] local.INFO: IMEI packet received {"connection_id":130413,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 10:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":130413,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:03:35] local.INFO: TCP Data received {"connection_id":132556,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:03:35] local.INFO: Processing buffer {"connection_id":132556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:03:35] local.INFO: IMEI packet received {"connection_id":132556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":132556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:03:37] local.INFO: TCP Data received {"connection_id":130413,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 10:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130413,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 10:03:37] local.INFO: Processing buffer {"connection_id":130413,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 10:03:37] local.INFO: IMEI packet received {"connection_id":130413,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 10:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":130413,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:03:38] local.INFO: TCP Data received {"connection_id":130413,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f59bf7b48012d0b360007042928000f000323..."} 
[2026-07-13 10:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59bf7b48012d0b360007042928000f000323..."} 
[2026-07-13 10:03:38] local.INFO: Processing buffer {"connection_id":130413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59bf7b48012d0b360007042928000f000323..."} 
[2026-07-13 10:03:38] local.INFO: Packet analysis {"connection_id":130413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59bf"} 
[2026-07-13 10:03:38] local.INFO: Extracted packet for processing {"connection_id":130413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59bf"} 
[2026-07-13 10:03:38] local.INFO: GPS Element Parsed {"raw_longitude":755709440,"raw_latitude":117713192,"longitude_deg":75.570944,"latitude_deg":11.7713192,"altitude":15,"angle":3,"satellites":35,"speed":9,"hex_longitude":"2d0b3600","hex_latitude":"07042928","is_valid_coordinates":true} 
[2026-07-13 10:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682788864001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24242534880378880,"note":"Value kept but may cause issues"} 
[2026-07-13 10:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":808185057014611968,"note":"Value kept but may cause issues"} 
[2026-07-13 10:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783917149000,"timestamp_ms":1783917149000,"timestamp_seconds":1783917149,"priority":1,"record_length":96,"hex_timestamp":"0000019f59bf7b48"} 
[2026-07-13 10:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 10:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-13 10:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":130413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":130413,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 10:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":130413,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 10:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 10:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 10:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682788864001,"66":14309,"96":206,"94":10240,"24":9,"16":24242534880378880,"45":808185057014611968},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-13 10:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 10:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 10:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682788864001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:03:38] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 10:03:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 10:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24242534880378880,"km_value":24242534880378.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":808185057014611968,"description":"Unknown IO ID 45"} 
[2026-07-13 10:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682788864001,"power":14309,"unknown_96":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":808185057014611968}} 
[2026-07-13 10:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":130413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479507,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:03:38] local.INFO: GPS data processed {"connection_id":130413,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:03:38] local.INFO: Acknowledgment sent {"connection_id":130413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:03:40] local.INFO: TCP Data received {"connection_id":132556,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:03:40] local.INFO: Processing buffer {"connection_id":132556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:03:40] local.INFO: IMEI packet received {"connection_id":132556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":132556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:03:41] local.INFO: TCP Data received {"connection_id":132556,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f59bf5ff0012d7f914005afd938000d011b23..."} 
[2026-07-13 10:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59bf5ff0012d7f914005afd938000d011b23..."} 
[2026-07-13 10:03:41] local.INFO: Processing buffer {"connection_id":132556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59bf5ff0012d7f914005afd938000d011b23..."} 
[2026-07-13 10:03:41] local.INFO: Packet analysis {"connection_id":132556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59bf"} 
[2026-07-13 10:03:41] local.INFO: Extracted packet for processing {"connection_id":132556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59bf"} 
[2026-07-13 10:03:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682711296001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783917142000,"timestamp_ms":1783917142000,"timestamp_seconds":1783917142,"priority":1,"record_length":96,"hex_timestamp":"0000019f59bf5ff0"} 
[2026-07-13 10:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682711296001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682711296001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:03:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682711296001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":132556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:03:41] local.INFO: GPS data processed {"connection_id":132556,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:03:41] local.INFO: Acknowledgment sent {"connection_id":132556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:03:43] local.INFO: TCP Data received {"connection_id":130413,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f59bf8700012d0b36c007042ab8000e002523..."} 
[2026-07-13 10:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59bf8700012d0b36c007042ab8000e002523..."} 
[2026-07-13 10:03:43] local.INFO: Processing buffer {"connection_id":130413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59bf8700012d0b36c007042ab8000e002523..."} 
[2026-07-13 10:03:43] local.INFO: Packet analysis {"connection_id":130413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59bf"} 
[2026-07-13 10:03:43] local.INFO: Extracted packet for processing {"connection_id":130413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59bf"} 
[2026-07-13 10:03:43] local.INFO: GPS Element Parsed {"raw_longitude":755709632,"raw_latitude":117713592,"longitude_deg":75.5709632,"latitude_deg":11.7713592,"altitude":14,"angle":37,"satellites":35,"speed":5,"hex_longitude":"2d0b36c0","hex_latitude":"07042ab8","is_valid_coordinates":true} 
[2026-07-13 10:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682790144001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24242556355215360,"note":"Value kept but may cause issues"} 
[2026-07-13 10:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":807833213294159872,"note":"Value kept but may cause issues"} 
[2026-07-13 10:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783917152000,"timestamp_ms":1783917152000,"timestamp_seconds":1783917152,"priority":1,"record_length":96,"hex_timestamp":"0000019f59bf8700"} 
[2026-07-13 10:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 10:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-13 10:03: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-07-13 10:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130413,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 10:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130413,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 10:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 10:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 10:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682790144001,"66":13537,"96":206,"94":10240,"24":5,"16":24242556355215360,"45":807833213294159872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-13 10:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 10:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 10:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682790144001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:03:43] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 10:03:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 10:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24242556355215360,"km_value":24242556355215.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":807833213294159872,"description":"Unknown IO ID 45"} 
[2026-07-13 10:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682790144001,"power":13537,"unknown_96":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":807833213294159872}} 
[2026-07-13 10:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":130413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479509,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:03:43] local.INFO: GPS data processed {"connection_id":130413,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:03:43] local.INFO: Acknowledgment sent {"connection_id":130413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:04:12] local.INFO: TCP Data received {"connection_id":132556,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f59bf5ff0012d7f914005afd938000d011b23..."} 
[2026-07-13 10:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59bf5ff0012d7f914005afd938000d011b23..."} 
[2026-07-13 10:04:12] local.INFO: Processing buffer {"connection_id":132556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59bf5ff0012d7f914005afd938000d011b23..."} 
[2026-07-13 10:04:12] local.INFO: Packet analysis {"connection_id":132556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59bf"} 
[2026-07-13 10:04:12] local.INFO: Extracted packet for processing {"connection_id":132556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59bf"} 
[2026-07-13 10:04:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682711296001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783917142000,"timestamp_ms":1783917142000,"timestamp_seconds":1783917142,"priority":1,"record_length":96,"hex_timestamp":"0000019f59bf5ff0"} 
[2026-07-13 10:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682711296001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682711296001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:04:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:04:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682711296001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":132556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:04:12] local.INFO: GPS data processed {"connection_id":132556,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:04:12] local.INFO: Acknowledgment sent {"connection_id":132556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:04:28] local.INFO: TCP Data received {"connection_id":131226,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 10:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131226,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 10:04:28] local.INFO: Processing buffer {"connection_id":131226,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 10:04:28] local.INFO: IMEI packet received {"connection_id":131226,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 10:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":131226,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:04:29] local.INFO: TCP Data received {"connection_id":131226,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 10:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131226,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 10:04:29] local.INFO: Processing buffer {"connection_id":131226,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 10:04:29] local.INFO: IMEI packet received {"connection_id":131226,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 10:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":131226,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:04:31] local.INFO: TCP Data received {"connection_id":131226,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f59c0dad8012d0b674007042268001a00b223..."} 
[2026-07-13 10:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59c0dad8012d0b674007042268001a00b223..."} 
[2026-07-13 10:04:31] local.INFO: Processing buffer {"connection_id":131226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59c0dad8012d0b674007042268001a00b223..."} 
[2026-07-13 10:04:31] local.INFO: Packet analysis {"connection_id":131226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59c0"} 
[2026-07-13 10:04:31] local.INFO: Extracted packet for processing {"connection_id":131226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59c0"} 
[2026-07-13 10:04:31] local.INFO: GPS Element Parsed {"raw_longitude":755722048,"raw_latitude":117711464,"longitude_deg":75.5722048,"latitude_deg":11.7711464,"altitude":26,"angle":178,"satellites":35,"speed":3,"hex_longitude":"2d0b6740","hex_latitude":"07042268","is_valid_coordinates":true} 
[2026-07-13 10:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682812672001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24243393873838080,"note":"Value kept but may cause issues"} 
[2026-07-13 10:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":821625487152607232,"note":"Value kept but may cause issues"} 
[2026-07-13 10:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783917239000,"timestamp_ms":1783917239000,"timestamp_seconds":1783917239,"priority":1,"record_length":96,"hex_timestamp":"0000019f59c0dad8"} 
[2026-07-13 10:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 10: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-13 10:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":131226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":131226,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 10:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":131226,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 10:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 10:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 10:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682812672001,"66":13830,"96":206,"94":10240,"24":3,"16":24243393873838080,"45":821625487152607232},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-13 10:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 10:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 10:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682812672001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:04:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 10:04:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 10:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24243393873838080,"km_value":24243393873838.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":821625487152607232,"description":"Unknown IO ID 45"} 
[2026-07-13 10:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682812672001,"power":13830,"unknown_96":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":821625487152607232}} 
[2026-07-13 10:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":131226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479511,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:04:31] local.INFO: GPS data processed {"connection_id":131226,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:04:31] local.INFO: Acknowledgment sent {"connection_id":131226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:04:36] local.INFO: TCP Data received {"connection_id":130218,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:04:36] local.INFO: Processing buffer {"connection_id":130218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:04:36] local.INFO: IMEI packet received {"connection_id":130218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":130218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:04:40] local.INFO: TCP Data received {"connection_id":130218,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:04:40] local.INFO: Processing buffer {"connection_id":130218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:04:40] local.INFO: IMEI packet received {"connection_id":130218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":130218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:04:41] local.INFO: TCP Data received {"connection_id":130218,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59bf5ff0012d7f914005afd938000d011b23..."} 
[2026-07-13 10:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59bf5ff0012d7f914005afd938000d011b23..."} 
[2026-07-13 10:04:41] local.INFO: Processing buffer {"connection_id":130218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59bf5ff0012d7f914005afd938000d011b23..."} 
[2026-07-13 10:04:41] local.INFO: Packet analysis {"connection_id":130218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59bf"} 
[2026-07-13 10:04:41] local.INFO: Extracted packet for processing {"connection_id":130218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59bf"} 
[2026-07-13 10:04:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682711296001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783917142000,"timestamp_ms":1783917142000,"timestamp_seconds":1783917142,"priority":1,"record_length":96,"hex_timestamp":"0000019f59bf5ff0"} 
[2026-07-13 10:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682711296001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682711296001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:04:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682711296001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":130218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:04:41] local.INFO: GPS data processed {"connection_id":130218,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:04:41] local.INFO: Acknowledgment sent {"connection_id":130218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:05:02] local.INFO: TCP Data received {"connection_id":131226,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f59c1a5f8012d0b8fc00703e740001b00bc20..."} 
[2026-07-13 10:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59c1a5f8012d0b8fc00703e740001b00bc20..."} 
[2026-07-13 10:05:02] local.INFO: Processing buffer {"connection_id":131226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59c1a5f8012d0b8fc00703e740001b00bc20..."} 
[2026-07-13 10:05:02] local.INFO: Packet analysis {"connection_id":131226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59c1"} 
[2026-07-13 10:05:02] local.INFO: Extracted packet for processing {"connection_id":131226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59c1"} 
[2026-07-13 10:05:02] local.INFO: GPS Element Parsed {"raw_longitude":755732416,"raw_latitude":117696320,"longitude_deg":75.5732416,"latitude_deg":11.769632,"altitude":27,"angle":188,"satellites":32,"speed":12,"hex_longitude":"2d0b8fc0","hex_latitude":"0703e740","is_valid_coordinates":true} 
[2026-07-13 10:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682826240001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24244497680433152,"note":"Value kept but may cause issues"} 
[2026-07-13 10:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":833095592449691648,"note":"Value kept but may cause issues"} 
[2026-07-13 10:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783917291000,"timestamp_ms":1783917291000,"timestamp_seconds":1783917291,"priority":1,"record_length":96,"hex_timestamp":"0000019f59c1a5f8"} 
[2026-07-13 10:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 10:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 10:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:05:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":131226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":131226,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 10:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":131226,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 10:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 10:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 10:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682826240001,"66":14276,"96":206,"94":10240,"24":12,"16":24244497680433152,"45":833095592449691648},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-13 10:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 10:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 10:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682826240001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:05:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 10:05:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 10:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24244497680433152,"km_value":24244497680433.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":833095592449691648,"description":"Unknown IO ID 45"} 
[2026-07-13 10:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682826240001,"power":14276,"unknown_96":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":833095592449691648}} 
[2026-07-13 10:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":131226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479513,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:05:02] local.INFO: GPS data processed {"connection_id":131226,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:05:02] local.INFO: Acknowledgment sent {"connection_id":131226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:05:12] local.INFO: TCP Data received {"connection_id":130218,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59bf5ff0012d7f914005afd938000d011b23..."} 
[2026-07-13 10:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59bf5ff0012d7f914005afd938000d011b23..."} 
[2026-07-13 10:05:12] local.INFO: Processing buffer {"connection_id":130218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59bf5ff0012d7f914005afd938000d011b23..."} 
[2026-07-13 10:05:12] local.INFO: Packet analysis {"connection_id":130218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59bf"} 
[2026-07-13 10:05:12] local.INFO: Extracted packet for processing {"connection_id":130218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59bf"} 
[2026-07-13 10:05:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682711296001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783917142000,"timestamp_ms":1783917142000,"timestamp_seconds":1783917142,"priority":1,"record_length":96,"hex_timestamp":"0000019f59bf5ff0"} 
[2026-07-13 10:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682711296001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682711296001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:05:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:05:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682711296001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":130218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:05:12] local.INFO: GPS data processed {"connection_id":130218,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:05:12] local.INFO: Acknowledgment sent {"connection_id":130218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:05:35] local.INFO: TCP Data received {"connection_id":132557,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:05:35] local.INFO: Processing buffer {"connection_id":132557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:05:35] local.INFO: IMEI packet received {"connection_id":132557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":132557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:05:40] local.INFO: TCP Data received {"connection_id":132557,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:05:40] local.INFO: Processing buffer {"connection_id":132557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:05:40] local.INFO: IMEI packet received {"connection_id":132557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":132557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:05:41] local.INFO: TCP Data received {"connection_id":132557,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f59bf5ff0012d7f914005afd938000d011b23..."} 
[2026-07-13 10:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59bf5ff0012d7f914005afd938000d011b23..."} 
[2026-07-13 10:05:41] local.INFO: Processing buffer {"connection_id":132557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59bf5ff0012d7f914005afd938000d011b23..."} 
[2026-07-13 10:05:41] local.INFO: Packet analysis {"connection_id":132557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59bf"} 
[2026-07-13 10:05:41] local.INFO: Extracted packet for processing {"connection_id":132557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59bf"} 
[2026-07-13 10:05:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682711296001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783917142000,"timestamp_ms":1783917142000,"timestamp_seconds":1783917142,"priority":1,"record_length":96,"hex_timestamp":"0000019f59bf5ff0"} 
[2026-07-13 10:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682711296001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682711296001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:05:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:05:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682711296001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":132557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:05:41] local.INFO: GPS data processed {"connection_id":132557,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:05:41] local.INFO: Acknowledgment sent {"connection_id":132557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:06:12] local.INFO: TCP Data received {"connection_id":132557,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f59bf5ff0012d7f914005afd938000d011b23..."} 
[2026-07-13 10:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59bf5ff0012d7f914005afd938000d011b23..."} 
[2026-07-13 10:06:12] local.INFO: Processing buffer {"connection_id":132557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59bf5ff0012d7f914005afd938000d011b23..."} 
[2026-07-13 10:06:12] local.INFO: Packet analysis {"connection_id":132557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59bf"} 
[2026-07-13 10:06:12] local.INFO: Extracted packet for processing {"connection_id":132557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59bf"} 
[2026-07-13 10:06:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682711296001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783917142000,"timestamp_ms":1783917142000,"timestamp_seconds":1783917142,"priority":1,"record_length":96,"hex_timestamp":"0000019f59bf5ff0"} 
[2026-07-13 10:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682711296001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682711296001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:06:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:06:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682711296001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":132557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:06:12] local.INFO: GPS data processed {"connection_id":132557,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:06:12] local.INFO: Acknowledgment sent {"connection_id":132557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:06:35] local.INFO: TCP Data received {"connection_id":131228,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:06:35] local.INFO: Processing buffer {"connection_id":131228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:06:35] local.INFO: IMEI packet received {"connection_id":131228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":131228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:06:40] local.INFO: TCP Data received {"connection_id":131228,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:06:40] local.INFO: Processing buffer {"connection_id":131228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:06:40] local.INFO: IMEI packet received {"connection_id":131228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":131228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:06:41] local.INFO: TCP Data received {"connection_id":131228,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f59bf5ff0012d7f914005afd938000d011b23..."} 
[2026-07-13 10:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59bf5ff0012d7f914005afd938000d011b23..."} 
[2026-07-13 10:06:41] local.INFO: Processing buffer {"connection_id":131228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59bf5ff0012d7f914005afd938000d011b23..."} 
[2026-07-13 10:06:41] local.INFO: Packet analysis {"connection_id":131228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59bf"} 
[2026-07-13 10:06:41] local.INFO: Extracted packet for processing {"connection_id":131228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59bf"} 
[2026-07-13 10:06:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682711296001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783917142000,"timestamp_ms":1783917142000,"timestamp_seconds":1783917142,"priority":1,"record_length":96,"hex_timestamp":"0000019f59bf5ff0"} 
[2026-07-13 10:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682711296001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682711296001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:06:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:06:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682711296001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":131228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:06:41] local.INFO: GPS data processed {"connection_id":131228,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:06:41] local.INFO: Acknowledgment sent {"connection_id":131228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:06:43] local.INFO: TCP Data received {"connection_id":130219,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130219,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:06:43] local.INFO: Processing buffer {"connection_id":130219,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:06:43] local.INFO: IMEI packet received {"connection_id":130219,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 10:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":130219,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:06:48] local.INFO: TCP Data received {"connection_id":130219,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130219,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:06:48] local.INFO: Processing buffer {"connection_id":130219,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:06:48] local.INFO: IMEI packet received {"connection_id":130219,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 10:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":130219,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:06:49] local.INFO: TCP Data received {"connection_id":130219,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f59c1ffd0012d7bbc0005ddb7a0001000bb27..."} 
[2026-07-13 10:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59c1ffd0012d7bbc0005ddb7a0001000bb27..."} 
[2026-07-13 10:06:49] local.INFO: Processing buffer {"connection_id":130219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59c1ffd0012d7bbc0005ddb7a0001000bb27..."} 
[2026-07-13 10:06:49] local.INFO: Packet analysis {"connection_id":130219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59c1"} 
[2026-07-13 10:06:49] local.INFO: Extracted packet for processing {"connection_id":130219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59c1"} 
[2026-07-13 10:06:49] local.INFO: GPS Element Parsed {"raw_longitude":763083776,"raw_latitude":98416544,"longitude_deg":76.3083776,"latitude_deg":9.8416544,"altitude":16,"angle":187,"satellites":39,"speed":0,"hex_longitude":"2d7bbc00","hex_latitude":"05ddb7a0","is_valid_coordinates":true} 
[2026-07-13 10:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682832384001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737142730227712,"note":"Value kept but may cause issues"} 
[2026-07-13 10:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916001387481374720,"note":"Value kept but may cause issues"} 
[2026-07-13 10:06:49] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-07-13 10:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783917314000,"timestamp_ms":1783917314000,"timestamp_seconds":1783917314,"priority":1,"record_length":96,"hex_timestamp":"0000019f59c1ffd0"} 
[2026-07-13 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-07-13 10:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-13 10:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 10:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 10:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 10:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682832384001,"66":2231,"24":0,"16":105737142730227712,"45":8916001387481374720},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-07-13 10:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 10:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 10:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682832384001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737142730227712,"km_value":105737142730227.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916001387481374720,"description":"Unknown IO ID 45"} 
[2026-07-13 10:06:49] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456682832384001,"power":2231,"ignition":0,"odometer":null,"unknown_45":8916001387481374720}} 
[2026-07-13 10:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":130219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479518,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:06:49] local.INFO: GPS data processed {"connection_id":130219,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:06:49] local.INFO: Acknowledgment sent {"connection_id":130219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:07:08] local.INFO: TCP Data received {"connection_id":131229,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131229,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:07:08] local.INFO: Processing buffer {"connection_id":131229,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:07:08] local.INFO: IMEI packet received {"connection_id":131229,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 10:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":131229,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:07:08] local.INFO: TCP Data received {"connection_id":132558,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 10:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132558,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 10:07:08] local.INFO: Processing buffer {"connection_id":132558,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 10:07:08] local.INFO: IMEI packet received {"connection_id":132558,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 10:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":132558,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:07:08] local.INFO: TCP Data received {"connection_id":132558,"ip":"42.106.6.41","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-13 10:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132558,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-13 10:07:08] local.INFO: Processing buffer {"connection_id":132558,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-13 10:07:08] local.INFO: IMEI packet received {"connection_id":132558,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 10:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":132558,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:07:11] local.INFO: TCP Data received {"connection_id":131228,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f59bf5ff0012d7f914005afd938000d011b23..."} 
[2026-07-13 10:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59bf5ff0012d7f914005afd938000d011b23..."} 
[2026-07-13 10:07:11] local.INFO: Processing buffer {"connection_id":131228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59bf5ff0012d7f914005afd938000d011b23..."} 
[2026-07-13 10:07:11] local.INFO: Packet analysis {"connection_id":131228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59bf"} 
[2026-07-13 10:07:11] local.INFO: Extracted packet for processing {"connection_id":131228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59bf"} 
[2026-07-13 10:07:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682711296001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783917142000,"timestamp_ms":1783917142000,"timestamp_seconds":1783917142,"priority":1,"record_length":96,"hex_timestamp":"0000019f59bf5ff0"} 
[2026-07-13 10:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682711296001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682711296001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:07:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:07:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682711296001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":131228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:07:11] local.INFO: GPS data processed {"connection_id":131228,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:07:11] local.INFO: Acknowledgment sent {"connection_id":131228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:07:19] local.INFO: TCP Data received {"connection_id":130219,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f59c23298012d7bbd0005ddbf20001000bb24..."} 
[2026-07-13 10:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59c23298012d7bbd0005ddbf20001000bb24..."} 
[2026-07-13 10:07:20] local.INFO: Processing buffer {"connection_id":130219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59c23298012d7bbd0005ddbf20001000bb24..."} 
[2026-07-13 10:07:20] local.INFO: Packet analysis {"connection_id":130219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59c2"} 
[2026-07-13 10:07:20] local.INFO: Extracted packet for processing {"connection_id":130219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59c2"} 
[2026-07-13 10:07:20] local.INFO: GPS Element Parsed {"raw_longitude":763084032,"raw_latitude":98418464,"longitude_deg":76.3084032,"latitude_deg":9.8418464,"altitude":16,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d7bbd00","hex_latitude":"05ddbf20","is_valid_coordinates":true} 
[2026-07-13 10:07: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-07-13 10:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682832384001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737142730227712,"note":"Value kept but may cause issues"} 
[2026-07-13 10:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916001387481374720,"note":"Value kept but may cause issues"} 
[2026-07-13 10:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783917327000,"timestamp_ms":1783917327000,"timestamp_seconds":1783917327,"priority":1,"record_length":96,"hex_timestamp":"0000019f59c23298"} 
[2026-07-13 10:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-13 10:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 10:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 10:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682832384001,"66":11178,"33":206,"85":15104,"24":0,"16":105737142730227712,"45":8916001387481374720},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-13 10:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 10:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 10:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682832384001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:07:20] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-13 10:07:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 10:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737142730227712,"km_value":105737142730227.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916001387481374720,"description":"Unknown IO ID 45"} 
[2026-07-13 10:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682832384001,"power":11178,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916001387481374720}} 
[2026-07-13 10:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":130219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479520,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:07:20] local.INFO: GPS data processed {"connection_id":130219,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:07:20] local.INFO: Acknowledgment sent {"connection_id":130219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:07:35] local.INFO: TCP Data received {"connection_id":130416,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:07:35] local.INFO: Processing buffer {"connection_id":130416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:07:35] local.INFO: IMEI packet received {"connection_id":130416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":130416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:07:40] local.INFO: TCP Data received {"connection_id":130220,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:07:40] local.INFO: TCP Data received {"connection_id":130416,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130220,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:07:40] local.INFO: Processing buffer {"connection_id":130220,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:07:40] local.INFO: IMEI packet received {"connection_id":130220,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 10:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":130220,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:07:40] local.INFO: Processing buffer {"connection_id":130416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:07:40] local.INFO: IMEI packet received {"connection_id":130416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":130416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:07:41] local.INFO: TCP Data received {"connection_id":130416,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f59bf5ff0012d7f914005afd938000d011b23..."} 
[2026-07-13 10:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59bf5ff0012d7f914005afd938000d011b23..."} 
[2026-07-13 10:07:41] local.INFO: Processing buffer {"connection_id":130416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59bf5ff0012d7f914005afd938000d011b23..."} 
[2026-07-13 10:07:41] local.INFO: Packet analysis {"connection_id":130416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59bf"} 
[2026-07-13 10:07:41] local.INFO: Extracted packet for processing {"connection_id":130416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59bf"} 
[2026-07-13 10:07:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682711296001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783917142000,"timestamp_ms":1783917142000,"timestamp_seconds":1783917142,"priority":1,"record_length":96,"hex_timestamp":"0000019f59bf5ff0"} 
[2026-07-13 10:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682711296001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682711296001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:07:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682711296001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":130416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:07:41] local.INFO: GPS data processed {"connection_id":130416,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:07:41] local.INFO: Acknowledgment sent {"connection_id":130416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:07:53] local.INFO: TCP Data received {"connection_id":130417,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 10:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130417,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 10:07:53] local.INFO: Processing buffer {"connection_id":130417,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 10:07:53] local.INFO: IMEI packet received {"connection_id":130417,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 10:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":130417,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:08:12] local.INFO: TCP Data received {"connection_id":130416,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f59c3f7b8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59c3f7b8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:08:12] local.INFO: Processing buffer {"connection_id":130416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59c3f7b8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:08:12] local.INFO: Packet analysis {"connection_id":130416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59c3"} 
[2026-07-13 10:08:12] local.INFO: Extracted packet for processing {"connection_id":130416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59c3"} 
[2026-07-13 10:08:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682788352001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783917443000,"timestamp_ms":1783917443000,"timestamp_seconds":1783917443,"priority":1,"record_length":96,"hex_timestamp":"0000019f59c3f7b8"} 
[2026-07-13 10:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682788352001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682788352001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:08:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:08:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682788352001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":130416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:08:12] local.INFO: GPS data processed {"connection_id":130416,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:08:12] local.INFO: Acknowledgment sent {"connection_id":130416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:08:35] local.INFO: TCP Data received {"connection_id":130221,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:08:35] local.INFO: Processing buffer {"connection_id":130221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:08:35] local.INFO: IMEI packet received {"connection_id":130221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":130221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:08:40] local.INFO: TCP Data received {"connection_id":130221,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:08:40] local.INFO: Processing buffer {"connection_id":130221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:08:40] local.INFO: IMEI packet received {"connection_id":130221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":130221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:08:41] local.INFO: TCP Data received {"connection_id":130221,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f59c3f7b8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59c3f7b8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:08:41] local.INFO: Processing buffer {"connection_id":130221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59c3f7b8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:08:41] local.INFO: Packet analysis {"connection_id":130221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59c3"} 
[2026-07-13 10:08:41] local.INFO: Extracted packet for processing {"connection_id":130221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59c3"} 
[2026-07-13 10:08:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682788352001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783917443000,"timestamp_ms":1783917443000,"timestamp_seconds":1783917443,"priority":1,"record_length":96,"hex_timestamp":"0000019f59c3f7b8"} 
[2026-07-13 10:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682788352001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682788352001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:08:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682788352001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":130221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:08:41] local.INFO: GPS data processed {"connection_id":130221,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:08:41] local.INFO: Acknowledgment sent {"connection_id":130221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:09:12] local.INFO: TCP Data received {"connection_id":130221,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f59c3f7b8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59c3f7b8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:09:12] local.INFO: Processing buffer {"connection_id":130221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59c3f7b8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:09:12] local.INFO: Packet analysis {"connection_id":130221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59c3"} 
[2026-07-13 10:09:12] local.INFO: Extracted packet for processing {"connection_id":130221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59c3"} 
[2026-07-13 10:09:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682788352001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783917443000,"timestamp_ms":1783917443000,"timestamp_seconds":1783917443,"priority":1,"record_length":96,"hex_timestamp":"0000019f59c3f7b8"} 
[2026-07-13 10:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682788352001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682788352001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:09:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:09:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682788352001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":130221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:09:12] local.INFO: GPS data processed {"connection_id":130221,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:09:12] local.INFO: Acknowledgment sent {"connection_id":130221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:09:35] local.INFO: TCP Data received {"connection_id":130223,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:09:35] local.INFO: Processing buffer {"connection_id":130223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:09:35] local.INFO: IMEI packet received {"connection_id":130223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":130223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:09:40] local.INFO: TCP Data received {"connection_id":130223,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:09:40] local.INFO: Processing buffer {"connection_id":130223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:09:40] local.INFO: IMEI packet received {"connection_id":130223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":130223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:09:41] local.INFO: TCP Data received {"connection_id":130223,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f59c3f7b8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59c3f7b8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:09:41] local.INFO: Processing buffer {"connection_id":130223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59c3f7b8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:09:41] local.INFO: Packet analysis {"connection_id":130223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59c3"} 
[2026-07-13 10:09:41] local.INFO: Extracted packet for processing {"connection_id":130223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59c3"} 
[2026-07-13 10:09:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682788352001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783917443000,"timestamp_ms":1783917443000,"timestamp_seconds":1783917443,"priority":1,"record_length":96,"hex_timestamp":"0000019f59c3f7b8"} 
[2026-07-13 10:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682788352001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682788352001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:09:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682788352001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":130223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:09:41] local.INFO: GPS data processed {"connection_id":130223,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:09:41] local.INFO: Acknowledgment sent {"connection_id":130223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:09:58] local.INFO: TCP Data received {"connection_id":130418,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130418,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:09:58] local.INFO: Processing buffer {"connection_id":130418,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:09:58] local.INFO: IMEI packet received {"connection_id":130418,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 10:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":130418,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:10:03] local.INFO: TCP Data received {"connection_id":130418,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130418,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:10:03] local.INFO: Processing buffer {"connection_id":130418,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:10:03] local.INFO: IMEI packet received {"connection_id":130418,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 10:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":130418,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:10:04] local.INFO: TCP Data received {"connection_id":130418,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f59c23298012d7bbd0005ddbf20001000bb24..."} 
[2026-07-13 10:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59c23298012d7bbd0005ddbf20001000bb24..."} 
[2026-07-13 10:10:04] local.INFO: Processing buffer {"connection_id":130418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59c23298012d7bbd0005ddbf20001000bb24..."} 
[2026-07-13 10:10:04] local.INFO: Packet analysis {"connection_id":130418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59c2"} 
[2026-07-13 10:10:04] local.INFO: Extracted packet for processing {"connection_id":130418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59c2"} 
[2026-07-13 10:10:04] local.INFO: GPS Element Parsed {"raw_longitude":763084032,"raw_latitude":98418464,"longitude_deg":76.3084032,"latitude_deg":9.8418464,"altitude":16,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d7bbd00","hex_latitude":"05ddbf20","is_valid_coordinates":true} 
[2026-07-13 10:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682835712001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737142730227712,"note":"Value kept but may cause issues"} 
[2026-07-13 10:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916282862458576896,"note":"Value kept but may cause issues"} 
[2026-07-13 10:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783917327000,"timestamp_ms":1783917327000,"timestamp_seconds":1783917327,"priority":1,"record_length":96,"hex_timestamp":"0000019f59c23298"} 
[2026-07-13 10:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-07-13 10:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1943,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 10:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 10:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682835712001,"66":11178,"33":206,"85":15104,"24":0,"16":105737142730227712,"45":8916282862458576896},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-13 10:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 10:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 10:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682835712001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:10:04] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-13 10:10:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 10:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737142730227712,"km_value":105737142730227.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916282862458576896,"description":"Unknown IO ID 45"} 
[2026-07-13 10:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682835712001,"power":11178,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916282862458576896}} 
[2026-07-13 10:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":130418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479526,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:10:04] local.INFO: GPS data processed {"connection_id":130418,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:10:04] local.INFO: Acknowledgment sent {"connection_id":130418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:10:08] local.INFO: TCP Data received {"connection_id":130418,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f59c23298012d7bbd0005ddbf20001000bb24..."} 
[2026-07-13 10:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59c23298012d7bbd0005ddbf20001000bb24..."} 
[2026-07-13 10:10:08] local.INFO: Processing buffer {"connection_id":130418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59c23298012d7bbd0005ddbf20001000bb24..."} 
[2026-07-13 10:10:08] local.INFO: Packet analysis {"connection_id":130418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59c2"} 
[2026-07-13 10:10:08] local.INFO: Extracted packet for processing {"connection_id":130418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59c2"} 
[2026-07-13 10:10:08] local.INFO: GPS Element Parsed {"raw_longitude":763084032,"raw_latitude":98418464,"longitude_deg":76.3084032,"latitude_deg":9.8418464,"altitude":16,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d7bbd00","hex_latitude":"05ddbf20","is_valid_coordinates":true} 
[2026-07-13 10:10: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-07-13 10:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682835712001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737142730227712,"note":"Value kept but may cause issues"} 
[2026-07-13 10:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916282862458576896,"note":"Value kept but may cause issues"} 
[2026-07-13 10:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783917327000,"timestamp_ms":1783917327000,"timestamp_seconds":1783917327,"priority":1,"record_length":96,"hex_timestamp":"0000019f59c23298"} 
[2026-07-13 10:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-07-13 10:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1943,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:10: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-07-13 10:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 10:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 10:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682835712001,"66":11178,"33":206,"85":15104,"24":0,"16":105737142730227712,"45":8916282862458576896},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-13 10:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 10:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 10:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682835712001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:10:08] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-13 10:10:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 10:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737142730227712,"km_value":105737142730227.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916282862458576896,"description":"Unknown IO ID 45"} 
[2026-07-13 10:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682835712001,"power":11178,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916282862458576896}} 
[2026-07-13 10:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":130418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:10:08] local.INFO: GPS data processed {"connection_id":130418,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:10:08] local.INFO: Acknowledgment sent {"connection_id":130418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:10:12] local.INFO: TCP Data received {"connection_id":130223,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f59c3f7b8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59c3f7b8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:10:12] local.INFO: Processing buffer {"connection_id":130223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59c3f7b8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:10:12] local.INFO: Packet analysis {"connection_id":130223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59c3"} 
[2026-07-13 10:10:12] local.INFO: Extracted packet for processing {"connection_id":130223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59c3"} 
[2026-07-13 10:10:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682788352001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783917443000,"timestamp_ms":1783917443000,"timestamp_seconds":1783917443,"priority":1,"record_length":96,"hex_timestamp":"0000019f59c3f7b8"} 
[2026-07-13 10:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 10:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682788352001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682788352001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:10:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:10:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682788352001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":130223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:10:12] local.INFO: GPS data processed {"connection_id":130223,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:10:12] local.INFO: Acknowledgment sent {"connection_id":130223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:10:40] local.INFO: TCP Data received {"connection_id":132561,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:10:40] local.INFO: Processing buffer {"connection_id":132561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:10:40] local.INFO: IMEI packet received {"connection_id":132561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":132561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:10:45] local.INFO: TCP Data received {"connection_id":132561,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:10:45] local.INFO: Processing buffer {"connection_id":132561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:10:45] local.INFO: IMEI packet received {"connection_id":132561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":132561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:10:46] local.INFO: TCP Data received {"connection_id":132561,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f59c3f7b8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59c3f7b8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:10:46] local.INFO: Processing buffer {"connection_id":132561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59c3f7b8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:10:46] local.INFO: Packet analysis {"connection_id":132561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59c3"} 
[2026-07-13 10:10:46] local.INFO: Extracted packet for processing {"connection_id":132561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59c3"} 
[2026-07-13 10:10:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682788352001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783917443000,"timestamp_ms":1783917443000,"timestamp_seconds":1783917443,"priority":1,"record_length":96,"hex_timestamp":"0000019f59c3f7b8"} 
[2026-07-13 10:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682788352001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682788352001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:10:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:10:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682788352001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":132561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:10:46] local.INFO: GPS data processed {"connection_id":132561,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:10:46] local.INFO: Acknowledgment sent {"connection_id":132561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:10:50] local.INFO: TCP Data received {"connection_id":132561,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f59c3f7b8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59c3f7b8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:10:50] local.INFO: Processing buffer {"connection_id":132561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59c3f7b8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:10:50] local.INFO: Packet analysis {"connection_id":132561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59c3"} 
[2026-07-13 10:10:50] local.INFO: Extracted packet for processing {"connection_id":132561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59c3"} 
[2026-07-13 10:10:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 10:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682788352001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783917443000,"timestamp_ms":1783917443000,"timestamp_seconds":1783917443,"priority":1,"record_length":96,"hex_timestamp":"0000019f59c3f7b8"} 
[2026-07-13 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-07-13 10:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 10:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":132561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":132561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":132561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682788352001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682788352001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:10:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:10:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682788352001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":132561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:10:50] local.INFO: GPS data processed {"connection_id":132561,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:10:50] local.INFO: Acknowledgment sent {"connection_id":132561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:11:35] local.INFO: TCP Data received {"connection_id":130224,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:11:35] local.INFO: Processing buffer {"connection_id":130224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:11:35] local.INFO: IMEI packet received {"connection_id":130224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":130224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:11:40] local.INFO: TCP Data received {"connection_id":130224,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:11:40] local.INFO: Processing buffer {"connection_id":130224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:11:40] local.INFO: IMEI packet received {"connection_id":130224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":130224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:11:41] local.INFO: TCP Data received {"connection_id":130224,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f59c3f7b8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59c3f7b8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:11:41] local.INFO: Processing buffer {"connection_id":130224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59c3f7b8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:11:41] local.INFO: Packet analysis {"connection_id":130224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59c3"} 
[2026-07-13 10:11:41] local.INFO: Extracted packet for processing {"connection_id":130224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59c3"} 
[2026-07-13 10:11:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682788352001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783917443000,"timestamp_ms":1783917443000,"timestamp_seconds":1783917443,"priority":1,"record_length":96,"hex_timestamp":"0000019f59c3f7b8"} 
[2026-07-13 10:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682788352001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682788352001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:11:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:11:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682788352001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":130224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:11:41] local.INFO: GPS data processed {"connection_id":130224,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:11:41] local.INFO: Acknowledgment sent {"connection_id":130224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:12:12] local.INFO: TCP Data received {"connection_id":130224,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f59c3f7b8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59c3f7b8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:12:12] local.INFO: Processing buffer {"connection_id":130224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59c3f7b8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:12:12] local.INFO: Packet analysis {"connection_id":130224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59c3"} 
[2026-07-13 10:12:12] local.INFO: Extracted packet for processing {"connection_id":130224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59c3"} 
[2026-07-13 10:12:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682788352001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783917443000,"timestamp_ms":1783917443000,"timestamp_seconds":1783917443,"priority":1,"record_length":96,"hex_timestamp":"0000019f59c3f7b8"} 
[2026-07-13 10:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682788352001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682788352001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:12:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:12:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682788352001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":130224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:12:12] local.INFO: GPS data processed {"connection_id":130224,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:12:12] local.INFO: Acknowledgment sent {"connection_id":130224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:12:35] local.INFO: TCP Data received {"connection_id":131231,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:12:35] local.INFO: Processing buffer {"connection_id":131231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:12:35] local.INFO: IMEI packet received {"connection_id":131231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":131231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:12:40] local.INFO: TCP Data received {"connection_id":131231,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:12:40] local.INFO: Processing buffer {"connection_id":131231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:12:40] local.INFO: IMEI packet received {"connection_id":131231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":131231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:12:41] local.INFO: TCP Data received {"connection_id":131231,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f59c3f7b8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59c3f7b8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:12:41] local.INFO: Processing buffer {"connection_id":131231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59c3f7b8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:12:41] local.INFO: Packet analysis {"connection_id":131231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59c3"} 
[2026-07-13 10:12:41] local.INFO: Extracted packet for processing {"connection_id":131231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59c3"} 
[2026-07-13 10:12:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682788352001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783917443000,"timestamp_ms":1783917443000,"timestamp_seconds":1783917443,"priority":1,"record_length":96,"hex_timestamp":"0000019f59c3f7b8"} 
[2026-07-13 10:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682788352001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682788352001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:12:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:12:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682788352001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":131231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:12:41] local.INFO: GPS data processed {"connection_id":131231,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:12:41] local.INFO: Acknowledgment sent {"connection_id":131231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:13:00] local.INFO: TCP Data received {"connection_id":130422,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130422,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:13:00] local.INFO: Processing buffer {"connection_id":130422,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:13:00] local.INFO: IMEI packet received {"connection_id":130422,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 10:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":130422,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:13:12] local.INFO: TCP Data received {"connection_id":131231,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f59c88f80012d7f914005afd938000f011b28..."} 
[2026-07-13 10:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59c88f80012d7f914005afd938000f011b28..."} 
[2026-07-13 10:13:12] local.INFO: Processing buffer {"connection_id":131231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59c88f80012d7f914005afd938000f011b28..."} 
[2026-07-13 10:13:12] local.INFO: Packet analysis {"connection_id":131231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59c8"} 
[2026-07-13 10:13:12] local.INFO: Extracted packet for processing {"connection_id":131231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59c8"} 
[2026-07-13 10:13:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682865408001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783917744000,"timestamp_ms":1783917744000,"timestamp_seconds":1783917744,"priority":1,"record_length":96,"hex_timestamp":"0000019f59c88f80"} 
[2026-07-13 10:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682865408001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682865408001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:13:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:13:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682865408001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":131231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:13:12] local.INFO: GPS data processed {"connection_id":131231,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:13:12] local.INFO: Acknowledgment sent {"connection_id":131231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:13:35] local.INFO: TCP Data received {"connection_id":132562,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:13:35] local.INFO: Processing buffer {"connection_id":132562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:13:35] local.INFO: IMEI packet received {"connection_id":132562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":132562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:13:40] local.INFO: TCP Data received {"connection_id":130423,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:13:40] local.INFO: Processing buffer {"connection_id":130423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:13:40] local.INFO: IMEI packet received {"connection_id":130423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 10:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":130423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:13:40] local.INFO: TCP Data received {"connection_id":132562,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:13:40] local.INFO: Processing buffer {"connection_id":132562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:13:40] local.INFO: IMEI packet received {"connection_id":132562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":132562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:13:41] local.INFO: TCP Data received {"connection_id":132562,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f59c88f80012d7f914005afd938000f011b28..."} 
[2026-07-13 10:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59c88f80012d7f914005afd938000f011b28..."} 
[2026-07-13 10:13:41] local.INFO: Processing buffer {"connection_id":132562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59c88f80012d7f914005afd938000f011b28..."} 
[2026-07-13 10:13:41] local.INFO: Packet analysis {"connection_id":132562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59c8"} 
[2026-07-13 10:13:41] local.INFO: Extracted packet for processing {"connection_id":132562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59c8"} 
[2026-07-13 10:13:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682865408001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783917744000,"timestamp_ms":1783917744000,"timestamp_seconds":1783917744,"priority":1,"record_length":96,"hex_timestamp":"0000019f59c88f80"} 
[2026-07-13 10:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682865408001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682865408001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:13:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:13:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682865408001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":132562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:13:41] local.INFO: GPS data processed {"connection_id":132562,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:13:41] local.INFO: Acknowledgment sent {"connection_id":132562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:14:12] local.INFO: TCP Data received {"connection_id":132562,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f59c88f80012d7f914005afd938000f011b28..."} 
[2026-07-13 10:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59c88f80012d7f914005afd938000f011b28..."} 
[2026-07-13 10:14:12] local.INFO: Processing buffer {"connection_id":132562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59c88f80012d7f914005afd938000f011b28..."} 
[2026-07-13 10:14:12] local.INFO: Packet analysis {"connection_id":132562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59c8"} 
[2026-07-13 10:14:12] local.INFO: Extracted packet for processing {"connection_id":132562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59c8"} 
[2026-07-13 10:14:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682865408001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783917744000,"timestamp_ms":1783917744000,"timestamp_seconds":1783917744,"priority":1,"record_length":96,"hex_timestamp":"0000019f59c88f80"} 
[2026-07-13 10:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682865408001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682865408001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:14:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:14:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682865408001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":132562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:14:12] local.INFO: GPS data processed {"connection_id":132562,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:14:12] local.INFO: Acknowledgment sent {"connection_id":132562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:14:40] local.INFO: TCP Data received {"connection_id":130225,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:14:40] local.INFO: Processing buffer {"connection_id":130225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:14:40] local.INFO: IMEI packet received {"connection_id":130225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":130225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:14:45] local.INFO: TCP Data received {"connection_id":130225,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:14:45] local.INFO: Processing buffer {"connection_id":130225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:14:45] local.INFO: IMEI packet received {"connection_id":130225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":130225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:14:46] local.INFO: TCP Data received {"connection_id":130225,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f59c88f80012d7f914005afd938000f011b28..."} 
[2026-07-13 10:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59c88f80012d7f914005afd938000f011b28..."} 
[2026-07-13 10:14:46] local.INFO: Processing buffer {"connection_id":130225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59c88f80012d7f914005afd938000f011b28..."} 
[2026-07-13 10:14:46] local.INFO: Packet analysis {"connection_id":130225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59c8"} 
[2026-07-13 10:14:46] local.INFO: Extracted packet for processing {"connection_id":130225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59c8"} 
[2026-07-13 10:14:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682865408001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783917744000,"timestamp_ms":1783917744000,"timestamp_seconds":1783917744,"priority":1,"record_length":96,"hex_timestamp":"0000019f59c88f80"} 
[2026-07-13 10:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682865408001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682865408001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:14:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:14:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682865408001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":130225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:14:46] local.INFO: GPS data processed {"connection_id":130225,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:14:46] local.INFO: Acknowledgment sent {"connection_id":130225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:14:50] local.INFO: TCP Data received {"connection_id":130225,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f59c88f80012d7f914005afd938000f011b28..."} 
[2026-07-13 10:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59c88f80012d7f914005afd938000f011b28..."} 
[2026-07-13 10:14:50] local.INFO: Processing buffer {"connection_id":130225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59c88f80012d7f914005afd938000f011b28..."} 
[2026-07-13 10:14:50] local.INFO: Packet analysis {"connection_id":130225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59c8"} 
[2026-07-13 10:14:50] local.INFO: Extracted packet for processing {"connection_id":130225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59c8"} 
[2026-07-13 10:14:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10: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-07-13 10:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682865408001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783917744000,"timestamp_ms":1783917744000,"timestamp_seconds":1783917744,"priority":1,"record_length":96,"hex_timestamp":"0000019f59c88f80"} 
[2026-07-13 10:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10: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-07-13 10:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:14: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-07-13 10:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682865408001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682865408001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:14:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:14:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682865408001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":130225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:14:50] local.INFO: GPS data processed {"connection_id":130225,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:14:50] local.INFO: Acknowledgment sent {"connection_id":130225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:15:35] local.INFO: TCP Data received {"connection_id":130424,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:15:35] local.INFO: Processing buffer {"connection_id":130424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:15:35] local.INFO: IMEI packet received {"connection_id":130424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":130424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:15:40] local.INFO: TCP Data received {"connection_id":130424,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:15:40] local.INFO: Processing buffer {"connection_id":130424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:15:40] local.INFO: IMEI packet received {"connection_id":130424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":130424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:15:41] local.INFO: TCP Data received {"connection_id":130424,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f59c88f80012d7f914005afd938000f011b28..."} 
[2026-07-13 10:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59c88f80012d7f914005afd938000f011b28..."} 
[2026-07-13 10:15:41] local.INFO: Processing buffer {"connection_id":130424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59c88f80012d7f914005afd938000f011b28..."} 
[2026-07-13 10:15:41] local.INFO: Packet analysis {"connection_id":130424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59c8"} 
[2026-07-13 10:15:41] local.INFO: Extracted packet for processing {"connection_id":130424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59c8"} 
[2026-07-13 10:15:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682865408001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783917744000,"timestamp_ms":1783917744000,"timestamp_seconds":1783917744,"priority":1,"record_length":96,"hex_timestamp":"0000019f59c88f80"} 
[2026-07-13 10:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682865408001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682865408001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:15:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:15:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682865408001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":130424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:15:41] local.INFO: GPS data processed {"connection_id":130424,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:15:41] local.INFO: Acknowledgment sent {"connection_id":130424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:16:12] local.INFO: TCP Data received {"connection_id":130424,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f59c88f80012d7f914005afd938000f011b28..."} 
[2026-07-13 10:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59c88f80012d7f914005afd938000f011b28..."} 
[2026-07-13 10:16:12] local.INFO: Processing buffer {"connection_id":130424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59c88f80012d7f914005afd938000f011b28..."} 
[2026-07-13 10:16:12] local.INFO: Packet analysis {"connection_id":130424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59c8"} 
[2026-07-13 10:16:12] local.INFO: Extracted packet for processing {"connection_id":130424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59c8"} 
[2026-07-13 10:16:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682865408001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783917744000,"timestamp_ms":1783917744000,"timestamp_seconds":1783917744,"priority":1,"record_length":96,"hex_timestamp":"0000019f59c88f80"} 
[2026-07-13 10:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682865408001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682865408001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:16:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:16:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682865408001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":130424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:16:12] local.INFO: GPS data processed {"connection_id":130424,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:16:12] local.INFO: Acknowledgment sent {"connection_id":130424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:16:35] local.INFO: TCP Data received {"connection_id":130227,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:16:35] local.INFO: Processing buffer {"connection_id":130227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:16:35] local.INFO: IMEI packet received {"connection_id":130227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":130227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:16:40] local.INFO: TCP Data received {"connection_id":130227,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:16:40] local.INFO: Processing buffer {"connection_id":130227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:16:40] local.INFO: IMEI packet received {"connection_id":130227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":130227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:16:41] local.INFO: TCP Data received {"connection_id":130227,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f59c88f80012d7f914005afd938000f011b28..."} 
[2026-07-13 10:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59c88f80012d7f914005afd938000f011b28..."} 
[2026-07-13 10:16:41] local.INFO: Processing buffer {"connection_id":130227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59c88f80012d7f914005afd938000f011b28..."} 
[2026-07-13 10:16:41] local.INFO: Packet analysis {"connection_id":130227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59c8"} 
[2026-07-13 10:16:41] local.INFO: Extracted packet for processing {"connection_id":130227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59c8"} 
[2026-07-13 10:16:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682865408001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783917744000,"timestamp_ms":1783917744000,"timestamp_seconds":1783917744,"priority":1,"record_length":96,"hex_timestamp":"0000019f59c88f80"} 
[2026-07-13 10:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682865408001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682865408001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:16:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:16:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682865408001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":130227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:16:41] local.INFO: GPS data processed {"connection_id":130227,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:16:41] local.INFO: Acknowledgment sent {"connection_id":130227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:17:12] local.INFO: TCP Data received {"connection_id":130227,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f59c88f80012d7f914005afd938000f011b28..."} 
[2026-07-13 10:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59c88f80012d7f914005afd938000f011b28..."} 
[2026-07-13 10:17:12] local.INFO: Processing buffer {"connection_id":130227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59c88f80012d7f914005afd938000f011b28..."} 
[2026-07-13 10:17:12] local.INFO: Packet analysis {"connection_id":130227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59c8"} 
[2026-07-13 10:17:12] local.INFO: Extracted packet for processing {"connection_id":130227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59c8"} 
[2026-07-13 10:17:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682865408001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783917744000,"timestamp_ms":1783917744000,"timestamp_seconds":1783917744,"priority":1,"record_length":96,"hex_timestamp":"0000019f59c88f80"} 
[2026-07-13 10:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682865408001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682865408001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:17:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:17:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682865408001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":130227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:17:12] local.INFO: GPS data processed {"connection_id":130227,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:17:12] local.INFO: Acknowledgment sent {"connection_id":130227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:17:35] local.INFO: TCP Data received {"connection_id":131233,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:17:35] local.INFO: Processing buffer {"connection_id":131233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:17:35] local.INFO: IMEI packet received {"connection_id":131233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":131233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:17:40] local.INFO: TCP Data received {"connection_id":131233,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:17:40] local.INFO: Processing buffer {"connection_id":131233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:17:40] local.INFO: IMEI packet received {"connection_id":131233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":131233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:17:41] local.INFO: TCP Data received {"connection_id":131233,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f59c88f80012d7f914005afd938000f011b28..."} 
[2026-07-13 10:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59c88f80012d7f914005afd938000f011b28..."} 
[2026-07-13 10:17:41] local.INFO: Processing buffer {"connection_id":131233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59c88f80012d7f914005afd938000f011b28..."} 
[2026-07-13 10:17:41] local.INFO: Packet analysis {"connection_id":131233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59c8"} 
[2026-07-13 10:17:41] local.INFO: Extracted packet for processing {"connection_id":131233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59c8"} 
[2026-07-13 10:17:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682865408001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783917744000,"timestamp_ms":1783917744000,"timestamp_seconds":1783917744,"priority":1,"record_length":96,"hex_timestamp":"0000019f59c88f80"} 
[2026-07-13 10:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682865408001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682865408001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:17:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:17:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682865408001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":131233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:17:41] local.INFO: GPS data processed {"connection_id":131233,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:17:41] local.INFO: Acknowledgment sent {"connection_id":131233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:18:12] local.INFO: TCP Data received {"connection_id":131233,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f59cd2748012d7f914005afd938000f011b26..."} 
[2026-07-13 10:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59cd2748012d7f914005afd938000f011b26..."} 
[2026-07-13 10:18:12] local.INFO: Processing buffer {"connection_id":131233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59cd2748012d7f914005afd938000f011b26..."} 
[2026-07-13 10:18:12] local.INFO: Packet analysis {"connection_id":131233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59cd"} 
[2026-07-13 10:18:12] local.INFO: Extracted packet for processing {"connection_id":131233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59cd"} 
[2026-07-13 10:18:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682942464001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783918045000,"timestamp_ms":1783918045000,"timestamp_seconds":1783918045,"priority":1,"record_length":96,"hex_timestamp":"0000019f59cd2748"} 
[2026-07-13 10:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682942464001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682942464001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:18:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:18:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682942464001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":131233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:18:12] local.INFO: GPS data processed {"connection_id":131233,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:18:12] local.INFO: Acknowledgment sent {"connection_id":131233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:18:40] local.INFO: TCP Data received {"connection_id":130427,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:18:40] local.INFO: Processing buffer {"connection_id":130427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:18:40] local.INFO: IMEI packet received {"connection_id":130427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":130427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:18:45] local.INFO: TCP Data received {"connection_id":130427,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:18:45] local.INFO: Processing buffer {"connection_id":130427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:18:45] local.INFO: IMEI packet received {"connection_id":130427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":130427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:18:46] local.INFO: TCP Data received {"connection_id":130427,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f59cd2748012d7f914005afd938000f011b26..."} 
[2026-07-13 10:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59cd2748012d7f914005afd938000f011b26..."} 
[2026-07-13 10:18:46] local.INFO: Processing buffer {"connection_id":130427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59cd2748012d7f914005afd938000f011b26..."} 
[2026-07-13 10:18:46] local.INFO: Packet analysis {"connection_id":130427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59cd"} 
[2026-07-13 10:18:46] local.INFO: Extracted packet for processing {"connection_id":130427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59cd"} 
[2026-07-13 10:18:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682942464001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783918045000,"timestamp_ms":1783918045000,"timestamp_seconds":1783918045,"priority":1,"record_length":96,"hex_timestamp":"0000019f59cd2748"} 
[2026-07-13 10:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682942464001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682942464001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:18:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:18:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682942464001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":130427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:18:46] local.INFO: GPS data processed {"connection_id":130427,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:18:46] local.INFO: Acknowledgment sent {"connection_id":130427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:18:50] local.INFO: TCP Data received {"connection_id":130427,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f59cd2748012d7f914005afd938000f011b26..."} 
[2026-07-13 10:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59cd2748012d7f914005afd938000f011b26..."} 
[2026-07-13 10:18:50] local.INFO: Processing buffer {"connection_id":130427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59cd2748012d7f914005afd938000f011b26..."} 
[2026-07-13 10:18:50] local.INFO: Packet analysis {"connection_id":130427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59cd"} 
[2026-07-13 10:18:50] local.INFO: Extracted packet for processing {"connection_id":130427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59cd"} 
[2026-07-13 10:18:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10: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-07-13 10:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682942464001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783918045000,"timestamp_ms":1783918045000,"timestamp_seconds":1783918045,"priority":1,"record_length":96,"hex_timestamp":"0000019f59cd2748"} 
[2026-07-13 10:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:18: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-07-13 10: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-07-13 10:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:18: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-07-13 10:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682942464001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682942464001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:18:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:18:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682942464001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":130427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:18:50] local.INFO: GPS data processed {"connection_id":130427,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:18:50] local.INFO: Acknowledgment sent {"connection_id":130427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:19:00] local.INFO: TCP Data received {"connection_id":132563,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:19:00] local.INFO: Processing buffer {"connection_id":132563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:19:00] local.INFO: IMEI packet received {"connection_id":132563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 10:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":132563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:19:35] local.INFO: TCP Data received {"connection_id":132564,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:19:35] local.INFO: Processing buffer {"connection_id":132564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:19:35] local.INFO: IMEI packet received {"connection_id":132564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":132564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:19:40] local.INFO: TCP Data received {"connection_id":132564,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:19:40] local.INFO: Processing buffer {"connection_id":132564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:19:40] local.INFO: IMEI packet received {"connection_id":132564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":132564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:19:41] local.INFO: TCP Data received {"connection_id":132564,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f59cd2748012d7f914005afd938000f011b26..."} 
[2026-07-13 10:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59cd2748012d7f914005afd938000f011b26..."} 
[2026-07-13 10:19:41] local.INFO: Processing buffer {"connection_id":132564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59cd2748012d7f914005afd938000f011b26..."} 
[2026-07-13 10:19:41] local.INFO: Packet analysis {"connection_id":132564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59cd"} 
[2026-07-13 10:19:41] local.INFO: Extracted packet for processing {"connection_id":132564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59cd"} 
[2026-07-13 10:19:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10: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-07-13 10:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682942464001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783918045000,"timestamp_ms":1783918045000,"timestamp_seconds":1783918045,"priority":1,"record_length":96,"hex_timestamp":"0000019f59cd2748"} 
[2026-07-13 10:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10: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-07-13 10:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682942464001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682942464001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:19:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:19:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682942464001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":132564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:19:41] local.INFO: GPS data processed {"connection_id":132564,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:19:41] local.INFO: Acknowledgment sent {"connection_id":132564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:19:45] local.INFO: TCP Data received {"connection_id":131234,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131234,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:19:45] local.INFO: Processing buffer {"connection_id":131234,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:19:45] local.INFO: IMEI packet received {"connection_id":131234,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 10:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":131234,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:20:12] local.INFO: TCP Data received {"connection_id":132564,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f59cd2748012d7f914005afd938000f011b26..."} 
[2026-07-13 10:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59cd2748012d7f914005afd938000f011b26..."} 
[2026-07-13 10:20:12] local.INFO: Processing buffer {"connection_id":132564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59cd2748012d7f914005afd938000f011b26..."} 
[2026-07-13 10:20:12] local.INFO: Packet analysis {"connection_id":132564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59cd"} 
[2026-07-13 10:20:12] local.INFO: Extracted packet for processing {"connection_id":132564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59cd"} 
[2026-07-13 10:20:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682942464001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783918045000,"timestamp_ms":1783918045000,"timestamp_seconds":1783918045,"priority":1,"record_length":96,"hex_timestamp":"0000019f59cd2748"} 
[2026-07-13 10:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682942464001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682942464001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:20:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:20:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682942464001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":132564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:20:12] local.INFO: GPS data processed {"connection_id":132564,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:20:12] local.INFO: Acknowledgment sent {"connection_id":132564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:20:35] local.INFO: TCP Data received {"connection_id":131235,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:20:35] local.INFO: Processing buffer {"connection_id":131235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:20:35] local.INFO: IMEI packet received {"connection_id":131235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":131235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:20:40] local.INFO: TCP Data received {"connection_id":131235,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:20:40] local.INFO: Processing buffer {"connection_id":131235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:20:40] local.INFO: IMEI packet received {"connection_id":131235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":131235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:20:41] local.INFO: TCP Data received {"connection_id":131235,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f59cd2748012d7f914005afd938000f011b26..."} 
[2026-07-13 10:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59cd2748012d7f914005afd938000f011b26..."} 
[2026-07-13 10:20:41] local.INFO: Processing buffer {"connection_id":131235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59cd2748012d7f914005afd938000f011b26..."} 
[2026-07-13 10:20:41] local.INFO: Packet analysis {"connection_id":131235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59cd"} 
[2026-07-13 10:20:41] local.INFO: Extracted packet for processing {"connection_id":131235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59cd"} 
[2026-07-13 10:20:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682942464001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783918045000,"timestamp_ms":1783918045000,"timestamp_seconds":1783918045,"priority":1,"record_length":96,"hex_timestamp":"0000019f59cd2748"} 
[2026-07-13 10:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682942464001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682942464001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:20:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:20:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682942464001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":131235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:20:41] local.INFO: GPS data processed {"connection_id":131235,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:20:41] local.INFO: Acknowledgment sent {"connection_id":131235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:21:12] local.INFO: TCP Data received {"connection_id":131235,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f59cd2748012d7f914005afd938000f011b26..."} 
[2026-07-13 10:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59cd2748012d7f914005afd938000f011b26..."} 
[2026-07-13 10:21:12] local.INFO: Processing buffer {"connection_id":131235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59cd2748012d7f914005afd938000f011b26..."} 
[2026-07-13 10:21:12] local.INFO: Packet analysis {"connection_id":131235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59cd"} 
[2026-07-13 10:21:12] local.INFO: Extracted packet for processing {"connection_id":131235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59cd"} 
[2026-07-13 10:21:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682942464001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783918045000,"timestamp_ms":1783918045000,"timestamp_seconds":1783918045,"priority":1,"record_length":96,"hex_timestamp":"0000019f59cd2748"} 
[2026-07-13 10:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682942464001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682942464001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:21:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:21:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682942464001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":131235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:21:12] local.INFO: GPS data processed {"connection_id":131235,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:21:12] local.INFO: Acknowledgment sent {"connection_id":131235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:21:35] local.INFO: TCP Data received {"connection_id":132565,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:21:35] local.INFO: Processing buffer {"connection_id":132565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:21:35] local.INFO: IMEI packet received {"connection_id":132565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":132565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:21:40] local.INFO: TCP Data received {"connection_id":132565,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:21:40] local.INFO: Processing buffer {"connection_id":132565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:21:40] local.INFO: IMEI packet received {"connection_id":132565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":132565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:21:41] local.INFO: TCP Data received {"connection_id":132565,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f59cd2748012d7f914005afd938000f011b26..."} 
[2026-07-13 10:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59cd2748012d7f914005afd938000f011b26..."} 
[2026-07-13 10:21:41] local.INFO: Processing buffer {"connection_id":132565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59cd2748012d7f914005afd938000f011b26..."} 
[2026-07-13 10:21:41] local.INFO: Packet analysis {"connection_id":132565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59cd"} 
[2026-07-13 10:21:41] local.INFO: Extracted packet for processing {"connection_id":132565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59cd"} 
[2026-07-13 10:21:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682942464001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783918045000,"timestamp_ms":1783918045000,"timestamp_seconds":1783918045,"priority":1,"record_length":96,"hex_timestamp":"0000019f59cd2748"} 
[2026-07-13 10:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682942464001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682942464001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:21:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682942464001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":132565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:21:41] local.INFO: GPS data processed {"connection_id":132565,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:21:41] local.INFO: Acknowledgment sent {"connection_id":132565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:22:12] local.INFO: TCP Data received {"connection_id":132565,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f59cd2748012d7f914005afd938000f011b26..."} 
[2026-07-13 10:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59cd2748012d7f914005afd938000f011b26..."} 
[2026-07-13 10:22:12] local.INFO: Processing buffer {"connection_id":132565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59cd2748012d7f914005afd938000f011b26..."} 
[2026-07-13 10:22:12] local.INFO: Packet analysis {"connection_id":132565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59cd"} 
[2026-07-13 10:22:12] local.INFO: Extracted packet for processing {"connection_id":132565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59cd"} 
[2026-07-13 10:22:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682942464001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783918045000,"timestamp_ms":1783918045000,"timestamp_seconds":1783918045,"priority":1,"record_length":96,"hex_timestamp":"0000019f59cd2748"} 
[2026-07-13 10:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682942464001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682942464001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:22:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:22:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682942464001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":132565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:22:12] local.INFO: GPS data processed {"connection_id":132565,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:22:12] local.INFO: Acknowledgment sent {"connection_id":132565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:22:36] local.INFO: TCP Data received {"connection_id":130429,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:22:36] local.INFO: Processing buffer {"connection_id":130429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:22:36] local.INFO: IMEI packet received {"connection_id":130429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":130429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:22:40] local.INFO: TCP Data received {"connection_id":130429,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:22:40] local.INFO: Processing buffer {"connection_id":130429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:22:40] local.INFO: IMEI packet received {"connection_id":130429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":130429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:22:41] local.INFO: TCP Data received {"connection_id":130429,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f59cd2748012d7f914005afd938000f011b26..."} 
[2026-07-13 10:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59cd2748012d7f914005afd938000f011b26..."} 
[2026-07-13 10:22:41] local.INFO: Processing buffer {"connection_id":130429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59cd2748012d7f914005afd938000f011b26..."} 
[2026-07-13 10:22:41] local.INFO: Packet analysis {"connection_id":130429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59cd"} 
[2026-07-13 10:22:41] local.INFO: Extracted packet for processing {"connection_id":130429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59cd"} 
[2026-07-13 10:22:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456682942464001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783918045000,"timestamp_ms":1783918045000,"timestamp_seconds":1783918045,"priority":1,"record_length":96,"hex_timestamp":"0000019f59cd2748"} 
[2026-07-13 10:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456682942464001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456682942464001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:22:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456682942464001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":130429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:22:41] local.INFO: GPS data processed {"connection_id":130429,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:22:41] local.INFO: Acknowledgment sent {"connection_id":130429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:23:12] local.INFO: TCP Data received {"connection_id":130429,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f59d1bf10012d7f914005afd938000f011b25..."} 
[2026-07-13 10:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59d1bf10012d7f914005afd938000f011b25..."} 
[2026-07-13 10:23:12] local.INFO: Processing buffer {"connection_id":130429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59d1bf10012d7f914005afd938000f011b25..."} 
[2026-07-13 10:23:12] local.INFO: Packet analysis {"connection_id":130429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59d1"} 
[2026-07-13 10:23:12] local.INFO: Extracted packet for processing {"connection_id":130429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59d1"} 
[2026-07-13 10:23:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683019520001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783918346000,"timestamp_ms":1783918346000,"timestamp_seconds":1783918346,"priority":1,"record_length":96,"hex_timestamp":"0000019f59d1bf10"} 
[2026-07-13 10:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683019520001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683019520001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:23:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:23:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683019520001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":130429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:23:12] local.INFO: GPS data processed {"connection_id":130429,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:23:12] local.INFO: Acknowledgment sent {"connection_id":130429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:23:40] local.INFO: TCP Data received {"connection_id":132566,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:23:40] local.INFO: Processing buffer {"connection_id":132566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:23:40] local.INFO: IMEI packet received {"connection_id":132566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":132566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:23:45] local.INFO: TCP Data received {"connection_id":132566,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:23:45] local.INFO: Processing buffer {"connection_id":132566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:23:45] local.INFO: IMEI packet received {"connection_id":132566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":132566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:23:46] local.INFO: TCP Data received {"connection_id":132566,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f59d1bf10012d7f914005afd938000f011b25..."} 
[2026-07-13 10:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59d1bf10012d7f914005afd938000f011b25..."} 
[2026-07-13 10:23:46] local.INFO: Processing buffer {"connection_id":132566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59d1bf10012d7f914005afd938000f011b25..."} 
[2026-07-13 10:23:46] local.INFO: Packet analysis {"connection_id":132566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59d1"} 
[2026-07-13 10:23:46] local.INFO: Extracted packet for processing {"connection_id":132566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59d1"} 
[2026-07-13 10:23:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683019520001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783918346000,"timestamp_ms":1783918346000,"timestamp_seconds":1783918346,"priority":1,"record_length":96,"hex_timestamp":"0000019f59d1bf10"} 
[2026-07-13 10:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683019520001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683019520001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:23:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:23:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683019520001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":132566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:23:46] local.INFO: GPS data processed {"connection_id":132566,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:23:46] local.INFO: Acknowledgment sent {"connection_id":132566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:23:50] local.INFO: TCP Data received {"connection_id":132566,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f59d1bf10012d7f914005afd938000f011b25..."} 
[2026-07-13 10:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59d1bf10012d7f914005afd938000f011b25..."} 
[2026-07-13 10:23:50] local.INFO: Processing buffer {"connection_id":132566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59d1bf10012d7f914005afd938000f011b25..."} 
[2026-07-13 10:23:50] local.INFO: Packet analysis {"connection_id":132566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59d1"} 
[2026-07-13 10:23:50] local.INFO: Extracted packet for processing {"connection_id":132566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59d1"} 
[2026-07-13 10:23:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10: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-07-13 10:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683019520001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783918346000,"timestamp_ms":1783918346000,"timestamp_seconds":1783918346,"priority":1,"record_length":96,"hex_timestamp":"0000019f59d1bf10"} 
[2026-07-13 10:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:23: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-07-13 10: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-07-13 10:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":132566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":132566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":132566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:23: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-07-13 10:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683019520001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683019520001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:23:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:23:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683019520001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":132566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:23:50] local.INFO: GPS data processed {"connection_id":132566,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:23:50] local.INFO: Acknowledgment sent {"connection_id":132566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:24:35] local.INFO: TCP Data received {"connection_id":131237,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:24:35] local.INFO: Processing buffer {"connection_id":131237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:24:35] local.INFO: IMEI packet received {"connection_id":131237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":131237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:24:40] local.INFO: TCP Data received {"connection_id":131237,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:24:40] local.INFO: Processing buffer {"connection_id":131237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:24:40] local.INFO: IMEI packet received {"connection_id":131237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":131237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:24:41] local.INFO: TCP Data received {"connection_id":131237,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f59d1bf10012d7f914005afd938000f011b25..."} 
[2026-07-13 10:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59d1bf10012d7f914005afd938000f011b25..."} 
[2026-07-13 10:24:41] local.INFO: Processing buffer {"connection_id":131237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59d1bf10012d7f914005afd938000f011b25..."} 
[2026-07-13 10:24:41] local.INFO: Packet analysis {"connection_id":131237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59d1"} 
[2026-07-13 10:24:41] local.INFO: Extracted packet for processing {"connection_id":131237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59d1"} 
[2026-07-13 10:24:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683019520001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783918346000,"timestamp_ms":1783918346000,"timestamp_seconds":1783918346,"priority":1,"record_length":96,"hex_timestamp":"0000019f59d1bf10"} 
[2026-07-13 10:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683019520001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683019520001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:24:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:24:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683019520001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":131237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:24:41] local.INFO: GPS data processed {"connection_id":131237,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:24:41] local.INFO: Acknowledgment sent {"connection_id":131237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:25:12] local.INFO: TCP Data received {"connection_id":131237,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f59d1bf10012d7f914005afd938000f011b25..."} 
[2026-07-13 10:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59d1bf10012d7f914005afd938000f011b25..."} 
[2026-07-13 10:25:12] local.INFO: Processing buffer {"connection_id":131237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59d1bf10012d7f914005afd938000f011b25..."} 
[2026-07-13 10:25:12] local.INFO: Packet analysis {"connection_id":131237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59d1"} 
[2026-07-13 10:25:12] local.INFO: Extracted packet for processing {"connection_id":131237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59d1"} 
[2026-07-13 10:25:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683019520001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783918346000,"timestamp_ms":1783918346000,"timestamp_seconds":1783918346,"priority":1,"record_length":96,"hex_timestamp":"0000019f59d1bf10"} 
[2026-07-13 10:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683019520001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683019520001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:25:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:25:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683019520001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":131237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:25:12] local.INFO: GPS data processed {"connection_id":131237,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:25:12] local.INFO: Acknowledgment sent {"connection_id":131237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:25:18] local.INFO: TCP Data received {"connection_id":130431,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:25:18] local.INFO: Processing buffer {"connection_id":130431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:25:18] local.INFO: IMEI packet received {"connection_id":130431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 10:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":130431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:25:35] local.INFO: TCP Data received {"connection_id":132568,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:25:35] local.INFO: Processing buffer {"connection_id":132568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:25:35] local.INFO: IMEI packet received {"connection_id":132568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":132568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:25:40] local.INFO: TCP Data received {"connection_id":132568,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:25:40] local.INFO: Processing buffer {"connection_id":132568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:25:40] local.INFO: IMEI packet received {"connection_id":132568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":132568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:25:40] local.INFO: TCP Data received {"connection_id":132569,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132569,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:25:40] local.INFO: Processing buffer {"connection_id":132569,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:25:40] local.INFO: IMEI packet received {"connection_id":132569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 10:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":132569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:25:41] local.INFO: TCP Data received {"connection_id":132568,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f59d1bf10012d7f914005afd938000f011b25..."} 
[2026-07-13 10:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59d1bf10012d7f914005afd938000f011b25..."} 
[2026-07-13 10:25:41] local.INFO: Processing buffer {"connection_id":132568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59d1bf10012d7f914005afd938000f011b25..."} 
[2026-07-13 10:25:41] local.INFO: Packet analysis {"connection_id":132568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59d1"} 
[2026-07-13 10:25:41] local.INFO: Extracted packet for processing {"connection_id":132568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59d1"} 
[2026-07-13 10:25:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683019520001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783918346000,"timestamp_ms":1783918346000,"timestamp_seconds":1783918346,"priority":1,"record_length":96,"hex_timestamp":"0000019f59d1bf10"} 
[2026-07-13 10:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683019520001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683019520001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:25:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:25:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683019520001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":132568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:25:41] local.INFO: GPS data processed {"connection_id":132568,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:25:41] local.INFO: Acknowledgment sent {"connection_id":132568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:26:12] local.INFO: TCP Data received {"connection_id":132568,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f59d1bf10012d7f914005afd938000f011b25..."} 
[2026-07-13 10:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59d1bf10012d7f914005afd938000f011b25..."} 
[2026-07-13 10:26:12] local.INFO: Processing buffer {"connection_id":132568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59d1bf10012d7f914005afd938000f011b25..."} 
[2026-07-13 10:26:12] local.INFO: Packet analysis {"connection_id":132568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59d1"} 
[2026-07-13 10:26:12] local.INFO: Extracted packet for processing {"connection_id":132568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59d1"} 
[2026-07-13 10:26:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683019520001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783918346000,"timestamp_ms":1783918346000,"timestamp_seconds":1783918346,"priority":1,"record_length":96,"hex_timestamp":"0000019f59d1bf10"} 
[2026-07-13 10:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683019520001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683019520001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:26:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:26:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683019520001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":132568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:26:12] local.INFO: GPS data processed {"connection_id":132568,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:26:12] local.INFO: Acknowledgment sent {"connection_id":132568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:26:35] local.INFO: TCP Data received {"connection_id":130432,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:26:35] local.INFO: Processing buffer {"connection_id":130432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:26:35] local.INFO: IMEI packet received {"connection_id":130432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":130432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:26:40] local.INFO: TCP Data received {"connection_id":130432,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:26:40] local.INFO: Processing buffer {"connection_id":130432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:26:40] local.INFO: IMEI packet received {"connection_id":130432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":130432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:26:41] local.INFO: TCP Data received {"connection_id":130432,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f59d1bf10012d7f914005afd938000f011b25..."} 
[2026-07-13 10:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59d1bf10012d7f914005afd938000f011b25..."} 
[2026-07-13 10:26:41] local.INFO: Processing buffer {"connection_id":130432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59d1bf10012d7f914005afd938000f011b25..."} 
[2026-07-13 10:26:41] local.INFO: Packet analysis {"connection_id":130432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59d1"} 
[2026-07-13 10:26:41] local.INFO: Extracted packet for processing {"connection_id":130432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59d1"} 
[2026-07-13 10:26:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683019520001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783918346000,"timestamp_ms":1783918346000,"timestamp_seconds":1783918346,"priority":1,"record_length":96,"hex_timestamp":"0000019f59d1bf10"} 
[2026-07-13 10:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683019520001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683019520001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:26:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:26:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683019520001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":130432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:26:41] local.INFO: GPS data processed {"connection_id":130432,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:26:41] local.INFO: Acknowledgment sent {"connection_id":130432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:27:12] local.INFO: TCP Data received {"connection_id":130432,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f59d1bf10012d7f914005afd938000f011b25..."} 
[2026-07-13 10:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59d1bf10012d7f914005afd938000f011b25..."} 
[2026-07-13 10:27:12] local.INFO: Processing buffer {"connection_id":130432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59d1bf10012d7f914005afd938000f011b25..."} 
[2026-07-13 10:27:12] local.INFO: Packet analysis {"connection_id":130432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59d1"} 
[2026-07-13 10:27:12] local.INFO: Extracted packet for processing {"connection_id":130432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59d1"} 
[2026-07-13 10:27:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683019520001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783918346000,"timestamp_ms":1783918346000,"timestamp_seconds":1783918346,"priority":1,"record_length":96,"hex_timestamp":"0000019f59d1bf10"} 
[2026-07-13 10:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683019520001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683019520001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:27:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:27:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683019520001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":130432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:27:12] local.INFO: GPS data processed {"connection_id":130432,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:27:12] local.INFO: Acknowledgment sent {"connection_id":130432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:27:35] local.INFO: TCP Data received {"connection_id":130228,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:27:35] local.INFO: Processing buffer {"connection_id":130228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:27:35] local.INFO: IMEI packet received {"connection_id":130228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":130228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:27:40] local.INFO: TCP Data received {"connection_id":130228,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:27:40] local.INFO: Processing buffer {"connection_id":130228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:27:40] local.INFO: IMEI packet received {"connection_id":130228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":130228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:27:41] local.INFO: TCP Data received {"connection_id":130228,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f59d1bf10012d7f914005afd938000f011b25..."} 
[2026-07-13 10:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59d1bf10012d7f914005afd938000f011b25..."} 
[2026-07-13 10:27:41] local.INFO: Processing buffer {"connection_id":130228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59d1bf10012d7f914005afd938000f011b25..."} 
[2026-07-13 10:27:41] local.INFO: Packet analysis {"connection_id":130228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59d1"} 
[2026-07-13 10:27:41] local.INFO: Extracted packet for processing {"connection_id":130228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59d1"} 
[2026-07-13 10:27:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683019520001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783918346000,"timestamp_ms":1783918346000,"timestamp_seconds":1783918346,"priority":1,"record_length":96,"hex_timestamp":"0000019f59d1bf10"} 
[2026-07-13 10:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683019520001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683019520001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:27:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:27:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683019520001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":130228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:27:41] local.INFO: GPS data processed {"connection_id":130228,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:27:41] local.INFO: Acknowledgment sent {"connection_id":130228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:28:12] local.INFO: TCP Data received {"connection_id":130228,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f59d656d8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59d656d8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:28:12] local.INFO: Processing buffer {"connection_id":130228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59d656d8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:28:12] local.INFO: Packet analysis {"connection_id":130228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59d6"} 
[2026-07-13 10:28:12] local.INFO: Extracted packet for processing {"connection_id":130228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59d6"} 
[2026-07-13 10:28:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683096576001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783918647000,"timestamp_ms":1783918647000,"timestamp_seconds":1783918647,"priority":1,"record_length":96,"hex_timestamp":"0000019f59d656d8"} 
[2026-07-13 10:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683096576001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683096576001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:28:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:28:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683096576001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":130228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:28:12] local.INFO: GPS data processed {"connection_id":130228,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:28:12] local.INFO: Acknowledgment sent {"connection_id":130228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:28:40] local.INFO: TCP Data received {"connection_id":130433,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:28:40] local.INFO: Processing buffer {"connection_id":130433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:28:40] local.INFO: IMEI packet received {"connection_id":130433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":130433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:28:45] local.INFO: TCP Data received {"connection_id":130433,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:28:45] local.INFO: Processing buffer {"connection_id":130433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:28:45] local.INFO: IMEI packet received {"connection_id":130433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":130433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:28:46] local.INFO: TCP Data received {"connection_id":130433,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f59d656d8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59d656d8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:28:46] local.INFO: Processing buffer {"connection_id":130433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59d656d8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:28:46] local.INFO: Packet analysis {"connection_id":130433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59d6"} 
[2026-07-13 10:28:46] local.INFO: Extracted packet for processing {"connection_id":130433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59d6"} 
[2026-07-13 10:28:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683096576001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783918647000,"timestamp_ms":1783918647000,"timestamp_seconds":1783918647,"priority":1,"record_length":96,"hex_timestamp":"0000019f59d656d8"} 
[2026-07-13 10:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683096576001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683096576001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:28:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:28:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683096576001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":130433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:28:46] local.INFO: GPS data processed {"connection_id":130433,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:28:46] local.INFO: Acknowledgment sent {"connection_id":130433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:28:55] local.INFO: TCP Data received {"connection_id":130433,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f59d656d8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59d656d8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:28:55] local.INFO: Processing buffer {"connection_id":130433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59d656d8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:28:55] local.INFO: Packet analysis {"connection_id":130433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59d6"} 
[2026-07-13 10:28:55] local.INFO: Extracted packet for processing {"connection_id":130433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59d6"} 
[2026-07-13 10:28:55] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683096576001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783918647000,"timestamp_ms":1783918647000,"timestamp_seconds":1783918647,"priority":1,"record_length":96,"hex_timestamp":"0000019f59d656d8"} 
[2026-07-13 10:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683096576001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683096576001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:28:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:28:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683096576001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":130433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:28:55] local.INFO: GPS data processed {"connection_id":130433,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:28:55] local.INFO: Acknowledgment sent {"connection_id":130433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:29:35] local.INFO: TCP Data received {"connection_id":130434,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:29:35] local.INFO: Processing buffer {"connection_id":130434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:29:35] local.INFO: IMEI packet received {"connection_id":130434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":130434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:29:40] local.INFO: TCP Data received {"connection_id":130434,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:29:40] local.INFO: Processing buffer {"connection_id":130434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:29:40] local.INFO: IMEI packet received {"connection_id":130434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":130434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:29:41] local.INFO: TCP Data received {"connection_id":130434,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f59d656d8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59d656d8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:29:41] local.INFO: Processing buffer {"connection_id":130434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59d656d8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:29:41] local.INFO: Packet analysis {"connection_id":130434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59d6"} 
[2026-07-13 10:29:41] local.INFO: Extracted packet for processing {"connection_id":130434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59d6"} 
[2026-07-13 10:29:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683096576001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783918647000,"timestamp_ms":1783918647000,"timestamp_seconds":1783918647,"priority":1,"record_length":96,"hex_timestamp":"0000019f59d656d8"} 
[2026-07-13 10:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683096576001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683096576001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:29:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:29:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683096576001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":130434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:29:41] local.INFO: GPS data processed {"connection_id":130434,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:29:41] local.INFO: Acknowledgment sent {"connection_id":130434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:30:12] local.INFO: TCP Data received {"connection_id":130434,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f59d656d8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59d656d8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:30:12] local.INFO: Processing buffer {"connection_id":130434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59d656d8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:30:12] local.INFO: Packet analysis {"connection_id":130434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59d6"} 
[2026-07-13 10:30:12] local.INFO: Extracted packet for processing {"connection_id":130434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59d6"} 
[2026-07-13 10:30:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683096576001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783918647000,"timestamp_ms":1783918647000,"timestamp_seconds":1783918647,"priority":1,"record_length":96,"hex_timestamp":"0000019f59d656d8"} 
[2026-07-13 10:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683096576001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683096576001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:30:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:30:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683096576001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":130434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:30:12] local.INFO: GPS data processed {"connection_id":130434,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:30:12] local.INFO: Acknowledgment sent {"connection_id":130434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:30:35] local.INFO: TCP Data received {"connection_id":132573,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:30:35] local.INFO: Processing buffer {"connection_id":132573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:30:35] local.INFO: IMEI packet received {"connection_id":132573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":132573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:30:40] local.INFO: TCP Data received {"connection_id":132573,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:30:40] local.INFO: Processing buffer {"connection_id":132573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:30:40] local.INFO: IMEI packet received {"connection_id":132573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":132573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:30:41] local.INFO: TCP Data received {"connection_id":132573,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f59d656d8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59d656d8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:30:41] local.INFO: Processing buffer {"connection_id":132573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59d656d8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:30:41] local.INFO: Packet analysis {"connection_id":132573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59d6"} 
[2026-07-13 10:30:41] local.INFO: Extracted packet for processing {"connection_id":132573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59d6"} 
[2026-07-13 10:30:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683096576001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783918647000,"timestamp_ms":1783918647000,"timestamp_seconds":1783918647,"priority":1,"record_length":96,"hex_timestamp":"0000019f59d656d8"} 
[2026-07-13 10:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683096576001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683096576001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:30:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:30:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683096576001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":132573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:30:41] local.INFO: GPS data processed {"connection_id":132573,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:30:41] local.INFO: Acknowledgment sent {"connection_id":132573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:31:12] local.INFO: TCP Data received {"connection_id":132573,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f59d656d8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59d656d8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:31:12] local.INFO: Processing buffer {"connection_id":132573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59d656d8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:31:12] local.INFO: Packet analysis {"connection_id":132573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59d6"} 
[2026-07-13 10:31:12] local.INFO: Extracted packet for processing {"connection_id":132573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59d6"} 
[2026-07-13 10:31:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683096576001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783918647000,"timestamp_ms":1783918647000,"timestamp_seconds":1783918647,"priority":1,"record_length":96,"hex_timestamp":"0000019f59d656d8"} 
[2026-07-13 10:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683096576001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683096576001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:31:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:31:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683096576001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":132573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:31:12] local.INFO: GPS data processed {"connection_id":132573,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:31:12] local.INFO: Acknowledgment sent {"connection_id":132573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:31:12] local.INFO: TCP Data received {"connection_id":131239,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131239,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:31:12] local.INFO: Processing buffer {"connection_id":131239,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:31:12] local.INFO: IMEI packet received {"connection_id":131239,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 10:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":131239,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:31:35] local.INFO: TCP Data received {"connection_id":130229,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:31:35] local.INFO: Processing buffer {"connection_id":130229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:31:35] local.INFO: IMEI packet received {"connection_id":130229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":130229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:31:40] local.INFO: TCP Data received {"connection_id":131240,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:31:40] local.INFO: TCP Data received {"connection_id":130229,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131240,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:31:40] local.INFO: Processing buffer {"connection_id":131240,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:31:40] local.INFO: IMEI packet received {"connection_id":131240,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 10:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":131240,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:31:40] local.INFO: Processing buffer {"connection_id":130229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:31:40] local.INFO: IMEI packet received {"connection_id":130229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":130229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:31:41] local.INFO: TCP Data received {"connection_id":130229,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f59d656d8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59d656d8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:31:41] local.INFO: Processing buffer {"connection_id":130229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59d656d8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:31:41] local.INFO: Packet analysis {"connection_id":130229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59d6"} 
[2026-07-13 10:31:41] local.INFO: Extracted packet for processing {"connection_id":130229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59d6"} 
[2026-07-13 10:31:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683096576001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783918647000,"timestamp_ms":1783918647000,"timestamp_seconds":1783918647,"priority":1,"record_length":96,"hex_timestamp":"0000019f59d656d8"} 
[2026-07-13 10:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683096576001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683096576001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:31:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:31:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683096576001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":130229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:31:41] local.INFO: GPS data processed {"connection_id":130229,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:31:41] local.INFO: Acknowledgment sent {"connection_id":130229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:32:12] local.INFO: TCP Data received {"connection_id":130229,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f59d656d8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59d656d8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:32:12] local.INFO: Processing buffer {"connection_id":130229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59d656d8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:32:12] local.INFO: Packet analysis {"connection_id":130229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59d6"} 
[2026-07-13 10:32:12] local.INFO: Extracted packet for processing {"connection_id":130229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59d6"} 
[2026-07-13 10:32:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683096576001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783918647000,"timestamp_ms":1783918647000,"timestamp_seconds":1783918647,"priority":1,"record_length":96,"hex_timestamp":"0000019f59d656d8"} 
[2026-07-13 10:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:32:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683096576001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683096576001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:32:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:32:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683096576001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":130229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:32:12] local.INFO: GPS data processed {"connection_id":130229,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:32:12] local.INFO: Acknowledgment sent {"connection_id":130229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:32:35] local.INFO: TCP Data received {"connection_id":130230,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:32:35] local.INFO: Processing buffer {"connection_id":130230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:32:35] local.INFO: IMEI packet received {"connection_id":130230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":130230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:32:40] local.INFO: TCP Data received {"connection_id":130230,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:32:40] local.INFO: Processing buffer {"connection_id":130230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:32:40] local.INFO: IMEI packet received {"connection_id":130230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":130230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:32:41] local.INFO: TCP Data received {"connection_id":130230,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59d656d8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59d656d8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:32:41] local.INFO: Processing buffer {"connection_id":130230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59d656d8012d7f914005afd938000e011b27..."} 
[2026-07-13 10:32:41] local.INFO: Packet analysis {"connection_id":130230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59d6"} 
[2026-07-13 10:32:41] local.INFO: Extracted packet for processing {"connection_id":130230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59d6"} 
[2026-07-13 10:32:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683096576001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783918647000,"timestamp_ms":1783918647000,"timestamp_seconds":1783918647,"priority":1,"record_length":96,"hex_timestamp":"0000019f59d656d8"} 
[2026-07-13 10:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683096576001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683096576001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:32:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:32:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683096576001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":130230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:32:41] local.INFO: GPS data processed {"connection_id":130230,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:32:41] local.INFO: Acknowledgment sent {"connection_id":130230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:33:12] local.INFO: TCP Data received {"connection_id":130230,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:33:12] local.INFO: Processing buffer {"connection_id":130230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:33:12] local.INFO: Packet analysis {"connection_id":130230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59da"} 
[2026-07-13 10:33:12] local.INFO: Extracted packet for processing {"connection_id":130230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59da"} 
[2026-07-13 10:33:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683173632001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783918948000,"timestamp_ms":1783918948000,"timestamp_seconds":1783918948,"priority":1,"record_length":96,"hex_timestamp":"0000019f59daeea0"} 
[2026-07-13 10:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:33:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683173632001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683173632001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:33:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:33:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683173632001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":130230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:33:12] local.INFO: GPS data processed {"connection_id":130230,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:33:12] local.INFO: Acknowledgment sent {"connection_id":130230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:33:40] local.INFO: TCP Data received {"connection_id":130435,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:33:40] local.INFO: Processing buffer {"connection_id":130435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:33:40] local.INFO: IMEI packet received {"connection_id":130435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":130435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:33:46] local.INFO: TCP Data received {"connection_id":130435,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:33:46] local.INFO: Processing buffer {"connection_id":130435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:33:46] local.INFO: IMEI packet received {"connection_id":130435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":130435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:33:47] local.INFO: TCP Data received {"connection_id":130435,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:33:47] local.INFO: Processing buffer {"connection_id":130435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:33:47] local.INFO: Packet analysis {"connection_id":130435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59da"} 
[2026-07-13 10:33:47] local.INFO: Extracted packet for processing {"connection_id":130435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59da"} 
[2026-07-13 10:33:47] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683173632001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783918948000,"timestamp_ms":1783918948000,"timestamp_seconds":1783918948,"priority":1,"record_length":96,"hex_timestamp":"0000019f59daeea0"} 
[2026-07-13 10:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683173632001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683173632001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:33:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:33:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683173632001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":130435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:33:47] local.INFO: GPS data processed {"connection_id":130435,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:33:47] local.INFO: Acknowledgment sent {"connection_id":130435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:33:50] local.INFO: TCP Data received {"connection_id":130435,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:33:50] local.INFO: Processing buffer {"connection_id":130435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:33:50] local.INFO: Packet analysis {"connection_id":130435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59da"} 
[2026-07-13 10:33:50] local.INFO: Extracted packet for processing {"connection_id":130435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59da"} 
[2026-07-13 10:33:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10: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-07-13 10:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683173632001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783918948000,"timestamp_ms":1783918948000,"timestamp_seconds":1783918948,"priority":1,"record_length":96,"hex_timestamp":"0000019f59daeea0"} 
[2026-07-13 10:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10: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-07-13 10:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:33: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-07-13 10:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683173632001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683173632001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:33:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:33:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683173632001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":130435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:33:50] local.INFO: GPS data processed {"connection_id":130435,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:33:50] local.INFO: Acknowledgment sent {"connection_id":130435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:34:35] local.INFO: TCP Data received {"connection_id":131241,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:34:35] local.INFO: Processing buffer {"connection_id":131241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:34:35] local.INFO: IMEI packet received {"connection_id":131241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":131241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:34:42] local.INFO: TCP Data received {"connection_id":131241,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:34:42] local.INFO: Processing buffer {"connection_id":131241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:34:42] local.INFO: IMEI packet received {"connection_id":131241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":131241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:34:42] local.INFO: TCP Data received {"connection_id":131241,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:34:42] local.INFO: Processing buffer {"connection_id":131241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:34:42] local.INFO: Packet analysis {"connection_id":131241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59da"} 
[2026-07-13 10:34:42] local.INFO: Extracted packet for processing {"connection_id":131241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59da"} 
[2026-07-13 10:34:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683173632001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783918948000,"timestamp_ms":1783918948000,"timestamp_seconds":1783918948,"priority":1,"record_length":96,"hex_timestamp":"0000019f59daeea0"} 
[2026-07-13 10:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":131241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":131241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":131241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683173632001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683173632001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:34:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:34:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683173632001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":131241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:34:42] local.INFO: GPS data processed {"connection_id":131241,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:34:42] local.INFO: Acknowledgment sent {"connection_id":131241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:34:46] local.INFO: TCP Data received {"connection_id":131241,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:34:46] local.INFO: Processing buffer {"connection_id":131241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:34:46] local.INFO: Packet analysis {"connection_id":131241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59da"} 
[2026-07-13 10:34:46] local.INFO: Extracted packet for processing {"connection_id":131241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59da"} 
[2026-07-13 10:34:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683173632001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783918948000,"timestamp_ms":1783918948000,"timestamp_seconds":1783918948,"priority":1,"record_length":96,"hex_timestamp":"0000019f59daeea0"} 
[2026-07-13 10:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683173632001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683173632001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:34:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:34:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683173632001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":131241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:34:46] local.INFO: GPS data processed {"connection_id":131241,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:34:46] local.INFO: Acknowledgment sent {"connection_id":131241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:35:17] local.INFO: TCP Data received {"connection_id":131241,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:35:17] local.INFO: Processing buffer {"connection_id":131241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:35:17] local.INFO: Packet analysis {"connection_id":131241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59da"} 
[2026-07-13 10:35:17] local.INFO: Extracted packet for processing {"connection_id":131241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59da"} 
[2026-07-13 10:35:17] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683173632001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783918948000,"timestamp_ms":1783918948000,"timestamp_seconds":1783918948,"priority":1,"record_length":96,"hex_timestamp":"0000019f59daeea0"} 
[2026-07-13 10:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10: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-07-13 10:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683173632001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683173632001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:35:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:35:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683173632001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":131241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:35:17] local.INFO: GPS data processed {"connection_id":131241,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:35:17] local.INFO: Acknowledgment sent {"connection_id":131241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:35:35] local.INFO: TCP Data received {"connection_id":130231,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:35:35] local.INFO: Processing buffer {"connection_id":130231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:35:35] local.INFO: IMEI packet received {"connection_id":130231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":130231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:35:40] local.INFO: TCP Data received {"connection_id":130231,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:35:40] local.INFO: Processing buffer {"connection_id":130231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:35:40] local.INFO: IMEI packet received {"connection_id":130231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":130231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:35:40] local.INFO: TCP Data received {"connection_id":130231,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:35:40] local.INFO: Processing buffer {"connection_id":130231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:35:40] local.INFO: Packet analysis {"connection_id":130231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59da"} 
[2026-07-13 10:35:40] local.INFO: Extracted packet for processing {"connection_id":130231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59da"} 
[2026-07-13 10:35:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683173632001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783918948000,"timestamp_ms":1783918948000,"timestamp_seconds":1783918948,"priority":1,"record_length":96,"hex_timestamp":"0000019f59daeea0"} 
[2026-07-13 10:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:35: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-07-13 10:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683173632001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683173632001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:35:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:35:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683173632001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":130231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:35:40] local.INFO: GPS data processed {"connection_id":130231,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:35:40] local.INFO: Acknowledgment sent {"connection_id":130231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:35:45] local.INFO: TCP Data received {"connection_id":130231,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:35:45] local.INFO: Processing buffer {"connection_id":130231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:35:45] local.INFO: Packet analysis {"connection_id":130231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59da"} 
[2026-07-13 10:35:45] local.INFO: Extracted packet for processing {"connection_id":130231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59da"} 
[2026-07-13 10:35:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683173632001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783918948000,"timestamp_ms":1783918948000,"timestamp_seconds":1783918948,"priority":1,"record_length":96,"hex_timestamp":"0000019f59daeea0"} 
[2026-07-13 10:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:35:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683173632001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683173632001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:35:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:35:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683173632001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":130231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:35:45] local.INFO: GPS data processed {"connection_id":130231,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:35:45] local.INFO: Acknowledgment sent {"connection_id":130231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:36:19] local.INFO: TCP Data received {"connection_id":130231,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:36:19] local.INFO: Processing buffer {"connection_id":130231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:36:19] local.INFO: Packet analysis {"connection_id":130231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59da"} 
[2026-07-13 10:36:19] local.INFO: Extracted packet for processing {"connection_id":130231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59da"} 
[2026-07-13 10:36:19] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 10:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683173632001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783918948000,"timestamp_ms":1783918948000,"timestamp_seconds":1783918948,"priority":1,"record_length":96,"hex_timestamp":"0000019f59daeea0"} 
[2026-07-13 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-07-13 10:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:36:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 10:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:36: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-07-13 10:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683173632001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683173632001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:36:19] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:36:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683173632001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":130231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:36:19] local.INFO: GPS data processed {"connection_id":130231,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:36:19] local.INFO: Acknowledgment sent {"connection_id":130231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:36:35] local.INFO: TCP Data received {"connection_id":130437,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:36:35] local.INFO: Processing buffer {"connection_id":130437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:36:35] local.INFO: IMEI packet received {"connection_id":130437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":130437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:36:40] local.INFO: TCP Data received {"connection_id":130437,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:36:40] local.INFO: Processing buffer {"connection_id":130437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:36:40] local.INFO: IMEI packet received {"connection_id":130437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":130437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:36:41] local.INFO: TCP Data received {"connection_id":130437,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:36:41] local.INFO: Processing buffer {"connection_id":130437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:36:41] local.INFO: Packet analysis {"connection_id":130437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59da"} 
[2026-07-13 10:36:41] local.INFO: Extracted packet for processing {"connection_id":130437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59da"} 
[2026-07-13 10:36:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683173632001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783918948000,"timestamp_ms":1783918948000,"timestamp_seconds":1783918948,"priority":1,"record_length":96,"hex_timestamp":"0000019f59daeea0"} 
[2026-07-13 10:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683173632001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683173632001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:36:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683173632001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":130437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:36:41] local.INFO: GPS data processed {"connection_id":130437,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:36:41] local.INFO: Acknowledgment sent {"connection_id":130437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:37:05] local.INFO: TCP Data received {"connection_id":130233,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130233,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:37:05] local.INFO: Processing buffer {"connection_id":130233,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:37:05] local.INFO: IMEI packet received {"connection_id":130233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 10:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":130233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:37:14] local.INFO: TCP Data received {"connection_id":130437,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:37:14] local.INFO: Processing buffer {"connection_id":130437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:37:14] local.INFO: Packet analysis {"connection_id":130437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59da"} 
[2026-07-13 10:37:14] local.INFO: Extracted packet for processing {"connection_id":130437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59da"} 
[2026-07-13 10:37:14] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683173632001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783918948000,"timestamp_ms":1783918948000,"timestamp_seconds":1783918948,"priority":1,"record_length":96,"hex_timestamp":"0000019f59daeea0"} 
[2026-07-13 10:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:37:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:37:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683173632001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683173632001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:37:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:37:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683173632001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":130437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:37:14] local.INFO: GPS data processed {"connection_id":130437,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:37:14] local.INFO: Acknowledgment sent {"connection_id":130437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:37:35] local.INFO: TCP Data received {"connection_id":131243,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:37:35] local.INFO: Processing buffer {"connection_id":131243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:37:35] local.INFO: IMEI packet received {"connection_id":131243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":131243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:37:40] local.INFO: TCP Data received {"connection_id":131244,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:37:40] local.INFO: Processing buffer {"connection_id":131244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:37:40] local.INFO: IMEI packet received {"connection_id":131244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 10:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":131244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:37:40] local.INFO: TCP Data received {"connection_id":131243,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:37:40] local.INFO: Processing buffer {"connection_id":131243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:37:40] local.INFO: IMEI packet received {"connection_id":131243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":131243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:37:42] local.INFO: TCP Data received {"connection_id":131243,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:37:42] local.INFO: Processing buffer {"connection_id":131243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59daeea0012d7f914005afd938000f011b23..."} 
[2026-07-13 10:37:42] local.INFO: Packet analysis {"connection_id":131243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59da"} 
[2026-07-13 10:37:42] local.INFO: Extracted packet for processing {"connection_id":131243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59da"} 
[2026-07-13 10:37:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683173632001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783918948000,"timestamp_ms":1783918948000,"timestamp_seconds":1783918948,"priority":1,"record_length":96,"hex_timestamp":"0000019f59daeea0"} 
[2026-07-13 10:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":131243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":131243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":131243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683173632001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683173632001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:37:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:37:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683173632001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":131243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:37:42] local.INFO: GPS data processed {"connection_id":131243,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:37:42] local.INFO: Acknowledgment sent {"connection_id":131243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:38:13] local.INFO: TCP Data received {"connection_id":131243,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:38:13] local.INFO: Processing buffer {"connection_id":131243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:38:13] local.INFO: Packet analysis {"connection_id":131243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59df"} 
[2026-07-13 10:38:13] local.INFO: Extracted packet for processing {"connection_id":131243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59df"} 
[2026-07-13 10:38:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 10:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683250688001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783919249000,"timestamp_ms":1783919249000,"timestamp_seconds":1783919249,"priority":1,"record_length":96,"hex_timestamp":"0000019f59df8668"} 
[2026-07-13 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-07-13 10:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 10:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683250688001,"66":25299,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 10:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683250688001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:38:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 10:38:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683250688001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":131243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:38:13] local.INFO: GPS data processed {"connection_id":131243,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:38:13] local.INFO: Acknowledgment sent {"connection_id":131243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:38:35] local.INFO: TCP Data received {"connection_id":132575,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:38:35] local.INFO: Processing buffer {"connection_id":132575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:38:35] local.INFO: IMEI packet received {"connection_id":132575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":132575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:38:40] local.INFO: TCP Data received {"connection_id":132575,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:38:40] local.INFO: Processing buffer {"connection_id":132575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:38:40] local.INFO: IMEI packet received {"connection_id":132575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":132575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:38:41] local.INFO: TCP Data received {"connection_id":132575,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:38:41] local.INFO: Processing buffer {"connection_id":132575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:38:41] local.INFO: Packet analysis {"connection_id":132575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59df"} 
[2026-07-13 10:38:41] local.INFO: Extracted packet for processing {"connection_id":132575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59df"} 
[2026-07-13 10:38:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683250688001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783919249000,"timestamp_ms":1783919249000,"timestamp_seconds":1783919249,"priority":1,"record_length":96,"hex_timestamp":"0000019f59df8668"} 
[2026-07-13 10:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683250688001,"66":25299,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 10:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683250688001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:38:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 10:38:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683250688001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":132575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:38:41] local.INFO: GPS data processed {"connection_id":132575,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:38:41] local.INFO: Acknowledgment sent {"connection_id":132575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:39:12] local.INFO: TCP Data received {"connection_id":132575,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:39:12] local.INFO: Processing buffer {"connection_id":132575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:39:12] local.INFO: Packet analysis {"connection_id":132575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59df"} 
[2026-07-13 10:39:12] local.INFO: Extracted packet for processing {"connection_id":132575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59df"} 
[2026-07-13 10:39:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683250688001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783919249000,"timestamp_ms":1783919249000,"timestamp_seconds":1783919249,"priority":1,"record_length":96,"hex_timestamp":"0000019f59df8668"} 
[2026-07-13 10:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:39:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683250688001,"66":25299,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 10:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683250688001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:39:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 10:39:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683250688001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":132575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:39:12] local.INFO: GPS data processed {"connection_id":132575,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:39:12] local.INFO: Acknowledgment sent {"connection_id":132575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:39:40] local.INFO: TCP Data received {"connection_id":130438,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:39:40] local.INFO: Processing buffer {"connection_id":130438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:39:40] local.INFO: IMEI packet received {"connection_id":130438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":130438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:39:45] local.INFO: TCP Data received {"connection_id":130438,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:39:45] local.INFO: Processing buffer {"connection_id":130438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:39:45] local.INFO: IMEI packet received {"connection_id":130438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":130438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:39:46] local.INFO: TCP Data received {"connection_id":130438,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:39:46] local.INFO: Processing buffer {"connection_id":130438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:39:46] local.INFO: Packet analysis {"connection_id":130438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59df"} 
[2026-07-13 10:39:46] local.INFO: Extracted packet for processing {"connection_id":130438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59df"} 
[2026-07-13 10:39:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683250688001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783919249000,"timestamp_ms":1783919249000,"timestamp_seconds":1783919249,"priority":1,"record_length":96,"hex_timestamp":"0000019f59df8668"} 
[2026-07-13 10:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683250688001,"66":25299,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 10:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683250688001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:39:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 10:39:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683250688001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":130438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:39:46] local.INFO: GPS data processed {"connection_id":130438,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:39:46] local.INFO: Acknowledgment sent {"connection_id":130438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:39:50] local.INFO: TCP Data received {"connection_id":130438,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:39:50] local.INFO: Processing buffer {"connection_id":130438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:39:50] local.INFO: Packet analysis {"connection_id":130438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59df"} 
[2026-07-13 10:39:50] local.INFO: Extracted packet for processing {"connection_id":130438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59df"} 
[2026-07-13 10:39:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683250688001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783919249000,"timestamp_ms":1783919249000,"timestamp_seconds":1783919249,"priority":1,"record_length":96,"hex_timestamp":"0000019f59df8668"} 
[2026-07-13 10:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:39: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-07-13 10: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-07-13 10:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:39: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-07-13 10:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683250688001,"66":25299,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 10:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683250688001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:39:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 10:39:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683250688001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":130438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:39:50] local.INFO: GPS data processed {"connection_id":130438,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:39:50] local.INFO: Acknowledgment sent {"connection_id":130438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:40:36] local.INFO: TCP Data received {"connection_id":131246,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:40:36] local.INFO: Processing buffer {"connection_id":131246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:40:36] local.INFO: IMEI packet received {"connection_id":131246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":131246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:40:43] local.INFO: TCP Data received {"connection_id":131246,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:40:43] local.INFO: Processing buffer {"connection_id":131246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:40:43] local.INFO: IMEI packet received {"connection_id":131246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":131246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:40:47] local.INFO: TCP Data received {"connection_id":131246,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:40:47] local.INFO: Processing buffer {"connection_id":131246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:40:47] local.INFO: Packet analysis {"connection_id":131246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59df"} 
[2026-07-13 10:40:47] local.INFO: Extracted packet for processing {"connection_id":131246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59df"} 
[2026-07-13 10:40:47] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683250688001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783919249000,"timestamp_ms":1783919249000,"timestamp_seconds":1783919249,"priority":1,"record_length":96,"hex_timestamp":"0000019f59df8668"} 
[2026-07-13 10:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":131246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":131246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":131246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683250688001,"66":25299,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 10:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683250688001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:40:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 10:40:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683250688001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":131246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:40:47] local.INFO: GPS data processed {"connection_id":131246,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:40:47] local.INFO: Acknowledgment sent {"connection_id":131246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:41:18] local.INFO: TCP Data received {"connection_id":131246,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:41:18] local.INFO: Processing buffer {"connection_id":131246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:41:18] local.INFO: Packet analysis {"connection_id":131246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59df"} 
[2026-07-13 10:41:18] local.INFO: Extracted packet for processing {"connection_id":131246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59df"} 
[2026-07-13 10:41:18] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 10:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683250688001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783919249000,"timestamp_ms":1783919249000,"timestamp_seconds":1783919249,"priority":1,"record_length":96,"hex_timestamp":"0000019f59df8668"} 
[2026-07-13 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-07-13 10:41: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-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:41: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-07-13 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-07-13 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-07-13 10:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:41: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-07-13 10:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683250688001,"66":25299,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 10:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683250688001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:41:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 10:41:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683250688001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":131246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:41:18] local.INFO: GPS data processed {"connection_id":131246,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:41:18] local.INFO: Acknowledgment sent {"connection_id":131246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:41:35] local.INFO: TCP Data received {"connection_id":132576,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:41:35] local.INFO: Processing buffer {"connection_id":132576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:41:35] local.INFO: IMEI packet received {"connection_id":132576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":132576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:41:40] local.INFO: TCP Data received {"connection_id":132576,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:41:40] local.INFO: Processing buffer {"connection_id":132576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:41:40] local.INFO: IMEI packet received {"connection_id":132576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":132576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:41:41] local.INFO: TCP Data received {"connection_id":132576,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:41:41] local.INFO: Processing buffer {"connection_id":132576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:41:41] local.INFO: Packet analysis {"connection_id":132576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59df"} 
[2026-07-13 10:41:41] local.INFO: Extracted packet for processing {"connection_id":132576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59df"} 
[2026-07-13 10:41:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683250688001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783919249000,"timestamp_ms":1783919249000,"timestamp_seconds":1783919249,"priority":1,"record_length":96,"hex_timestamp":"0000019f59df8668"} 
[2026-07-13 10:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683250688001,"66":25299,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 10:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683250688001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:41:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 10:41:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683250688001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":132576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:41:41] local.INFO: GPS data processed {"connection_id":132576,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:41:41] local.INFO: Acknowledgment sent {"connection_id":132576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:42:13] local.INFO: TCP Data received {"connection_id":132576,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:42:13] local.INFO: Processing buffer {"connection_id":132576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:42:13] local.INFO: Packet analysis {"connection_id":132576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59df"} 
[2026-07-13 10:42:13] local.INFO: Extracted packet for processing {"connection_id":132576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59df"} 
[2026-07-13 10:42:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683250688001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783919249000,"timestamp_ms":1783919249000,"timestamp_seconds":1783919249,"priority":1,"record_length":96,"hex_timestamp":"0000019f59df8668"} 
[2026-07-13 10:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683250688001,"66":25299,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 10:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683250688001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:42:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 10:42:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683250688001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":132576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:42:13] local.INFO: GPS data processed {"connection_id":132576,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:42:13] local.INFO: Acknowledgment sent {"connection_id":132576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:42:40] local.INFO: TCP Data received {"connection_id":131247,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:42:40] local.INFO: Processing buffer {"connection_id":131247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:42:40] local.INFO: IMEI packet received {"connection_id":131247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":131247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:42:46] local.INFO: TCP Data received {"connection_id":131247,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:42:46] local.INFO: Processing buffer {"connection_id":131247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:42:46] local.INFO: IMEI packet received {"connection_id":131247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":131247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:42:47] local.INFO: TCP Data received {"connection_id":131247,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:42:47] local.INFO: Processing buffer {"connection_id":131247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:42:47] local.INFO: Packet analysis {"connection_id":131247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59df"} 
[2026-07-13 10:42:47] local.INFO: Extracted packet for processing {"connection_id":131247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59df"} 
[2026-07-13 10:42:47] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683250688001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783919249000,"timestamp_ms":1783919249000,"timestamp_seconds":1783919249,"priority":1,"record_length":96,"hex_timestamp":"0000019f59df8668"} 
[2026-07-13 10:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":131247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":131247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":131247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683250688001,"66":25299,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 10:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683250688001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:42:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 10:42:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683250688001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":131247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:42:47] local.INFO: GPS data processed {"connection_id":131247,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:42:47] local.INFO: Acknowledgment sent {"connection_id":131247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:42:50] local.INFO: TCP Data received {"connection_id":131247,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:42:50] local.INFO: Processing buffer {"connection_id":131247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59df8668012d7f914005afd938000a011b24..."} 
[2026-07-13 10:42:50] local.INFO: Packet analysis {"connection_id":131247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59df"} 
[2026-07-13 10:42:50] local.INFO: Extracted packet for processing {"connection_id":131247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59df"} 
[2026-07-13 10:42:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683250688001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783919249000,"timestamp_ms":1783919249000,"timestamp_seconds":1783919249,"priority":1,"record_length":96,"hex_timestamp":"0000019f59df8668"} 
[2026-07-13 10:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:42: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-07-13 10:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:42: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-07-13 10:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683250688001,"66":25299,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 10:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683250688001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:42:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 10:42:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683250688001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":131247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:42:50] local.INFO: GPS data processed {"connection_id":131247,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:42:50] local.INFO: Acknowledgment sent {"connection_id":131247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:43:05] local.INFO: TCP Data received {"connection_id":131248,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131248,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:43:05] local.INFO: Processing buffer {"connection_id":131248,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:43:05] local.INFO: IMEI packet received {"connection_id":131248,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 10:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":131248,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:43:35] local.INFO: TCP Data received {"connection_id":130234,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:43:35] local.INFO: Processing buffer {"connection_id":130234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:43:35] local.INFO: IMEI packet received {"connection_id":130234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":130234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:43:40] local.INFO: TCP Data received {"connection_id":130234,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:43:40] local.INFO: Processing buffer {"connection_id":130234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:43:40] local.INFO: IMEI packet received {"connection_id":130234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":130234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:43:40] local.INFO: TCP Data received {"connection_id":132578,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:43:40] local.INFO: Processing buffer {"connection_id":132578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:43:40] local.INFO: IMEI packet received {"connection_id":132578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 10:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":132578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:43:41] local.INFO: TCP Data received {"connection_id":130234,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e41e30012d7f914005afd938000c011b23..."} 
[2026-07-13 10:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e41e30012d7f914005afd938000c011b23..."} 
[2026-07-13 10:43:41] local.INFO: Processing buffer {"connection_id":130234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e41e30012d7f914005afd938000c011b23..."} 
[2026-07-13 10:43:41] local.INFO: Packet analysis {"connection_id":130234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e4"} 
[2026-07-13 10:43:41] local.INFO: Extracted packet for processing {"connection_id":130234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e4"} 
[2026-07-13 10:43:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683327744001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783919550000,"timestamp_ms":1783919550000,"timestamp_seconds":1783919550,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e41e30"} 
[2026-07-13 10:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683327744001,"66":25321,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 10:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683327744001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:43:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 10:43:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683327744001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":130234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:43:41] local.INFO: GPS data processed {"connection_id":130234,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:43:41] local.INFO: Acknowledgment sent {"connection_id":130234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:44:12] local.INFO: TCP Data received {"connection_id":130234,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e41e30012d7f914005afd938000c011b23..."} 
[2026-07-13 10:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e41e30012d7f914005afd938000c011b23..."} 
[2026-07-13 10:44:12] local.INFO: Processing buffer {"connection_id":130234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e41e30012d7f914005afd938000c011b23..."} 
[2026-07-13 10:44:12] local.INFO: Packet analysis {"connection_id":130234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e4"} 
[2026-07-13 10:44:12] local.INFO: Extracted packet for processing {"connection_id":130234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e4"} 
[2026-07-13 10:44:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683327744001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783919550000,"timestamp_ms":1783919550000,"timestamp_seconds":1783919550,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e41e30"} 
[2026-07-13 10:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10: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-07-13 10:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683327744001,"66":25321,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 10:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683327744001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:44:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 10:44:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683327744001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":130234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:44:12] local.INFO: GPS data processed {"connection_id":130234,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:44:12] local.INFO: Acknowledgment sent {"connection_id":130234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:44:40] local.INFO: TCP Data received {"connection_id":130441,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:44:40] local.INFO: Processing buffer {"connection_id":130441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:44:40] local.INFO: IMEI packet received {"connection_id":130441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":130441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:44:45] local.INFO: TCP Data received {"connection_id":130441,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:44:45] local.INFO: Processing buffer {"connection_id":130441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:44:45] local.INFO: IMEI packet received {"connection_id":130441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":130441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:44:46] local.INFO: TCP Data received {"connection_id":130441,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e41e30012d7f914005afd938000c011b23..."} 
[2026-07-13 10:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e41e30012d7f914005afd938000c011b23..."} 
[2026-07-13 10:44:46] local.INFO: Processing buffer {"connection_id":130441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e41e30012d7f914005afd938000c011b23..."} 
[2026-07-13 10:44:46] local.INFO: Packet analysis {"connection_id":130441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e4"} 
[2026-07-13 10:44:46] local.INFO: Extracted packet for processing {"connection_id":130441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e4"} 
[2026-07-13 10:44:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683327744001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783919550000,"timestamp_ms":1783919550000,"timestamp_seconds":1783919550,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e41e30"} 
[2026-07-13 10:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683327744001,"66":25321,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 10:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683327744001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:44:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 10:44:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683327744001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":130441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:44:46] local.INFO: GPS data processed {"connection_id":130441,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:44:46] local.INFO: Acknowledgment sent {"connection_id":130441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:44:47] local.INFO: TCP Data received {"connection_id":130442,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:44:47] local.INFO: Processing buffer {"connection_id":130442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:44:47] local.INFO: IMEI packet received {"connection_id":130442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 10:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":130442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:44:48] local.INFO: TCP Data received {"connection_id":130442,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:44:48] local.INFO: Processing buffer {"connection_id":130442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:44:48] local.INFO: IMEI packet received {"connection_id":130442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 10:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":130442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:44:48] local.INFO: TCP Data received {"connection_id":130442,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:44:48] local.INFO: Processing buffer {"connection_id":130442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:44:48] local.INFO: IMEI packet received {"connection_id":130442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 10:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":130442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:44:50] local.INFO: TCP Data received {"connection_id":130441,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e41e30012d7f914005afd938000c011b23..."} 
[2026-07-13 10:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e41e30012d7f914005afd938000c011b23..."} 
[2026-07-13 10:44:50] local.INFO: Processing buffer {"connection_id":130441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e41e30012d7f914005afd938000c011b23..."} 
[2026-07-13 10:44:50] local.INFO: Packet analysis {"connection_id":130441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e4"} 
[2026-07-13 10:44:50] local.INFO: Extracted packet for processing {"connection_id":130441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e4"} 
[2026-07-13 10:44:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683327744001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783919550000,"timestamp_ms":1783919550000,"timestamp_seconds":1783919550,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e41e30"} 
[2026-07-13 10:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:44:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683327744001,"66":25321,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 10:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683327744001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:44:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 10:44:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683327744001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":130441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:44:50] local.INFO: GPS data processed {"connection_id":130441,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:44:50] local.INFO: Acknowledgment sent {"connection_id":130441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:44:53] local.INFO: TCP Data received {"connection_id":130442,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:44:53] local.INFO: Processing buffer {"connection_id":130442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:44:53] local.INFO: IMEI packet received {"connection_id":130442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 10:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":130442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:44:54] local.INFO: TCP Data received {"connection_id":130442,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e54ee0012d7bbc8005ddbe90000900bb23..."} 
[2026-07-13 10:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e54ee0012d7bbc8005ddbe90000900bb23..."} 
[2026-07-13 10:44:54] local.INFO: Processing buffer {"connection_id":130442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e54ee0012d7bbc8005ddbe90000900bb23..."} 
[2026-07-13 10:44:54] local.INFO: Packet analysis {"connection_id":130442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e5"} 
[2026-07-13 10:44:54] local.INFO: Extracted packet for processing {"connection_id":130442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e5"} 
[2026-07-13 10:44:54] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98418320,"longitude_deg":76.3083904,"latitude_deg":9.841832,"altitude":9,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddbe90","is_valid_coordinates":true} 
[2026-07-13 10:44: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-07-13 10:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683424768001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737142730227712,"note":"Value kept but may cause issues"} 
[2026-07-13 10:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124970184704,"note":"Value kept but may cause issues"} 
[2026-07-13 10:44: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-07-13 10:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783919628000,"timestamp_ms":1783919628000,"timestamp_seconds":1783919628,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e54ee0"} 
[2026-07-13 10:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 10: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-13 10:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 10:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 10:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683424768001,"66":12613,"24":0,"16":105737142730227712,"45":8916142124970184704},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-07-13 10:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 10:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 10:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683424768001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737142730227712,"km_value":105737142730227.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124970184704,"description":"Unknown IO ID 45"} 
[2026-07-13 10:44:54] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456683424768001,"power":12613,"ignition":0,"odometer":null,"unknown_45":8916142124970184704}} 
[2026-07-13 10:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":130442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:44:54] local.INFO: GPS data processed {"connection_id":130442,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:44:54] local.INFO: Acknowledgment sent {"connection_id":130442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:44:57] local.INFO: TCP Data received {"connection_id":130442,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e55e80012d7bba4005ddb9900009009c23..."} 
[2026-07-13 10:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e55e80012d7bba4005ddb9900009009c23..."} 
[2026-07-13 10:44:57] local.INFO: Processing buffer {"connection_id":130442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e55e80012d7bba4005ddb9900009009c23..."} 
[2026-07-13 10:44:57] local.INFO: Packet analysis {"connection_id":130442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e5"} 
[2026-07-13 10:44:57] local.INFO: Extracted packet for processing {"connection_id":130442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e5"} 
[2026-07-13 10:44:57] local.INFO: GPS Element Parsed {"raw_longitude":763083328,"raw_latitude":98417040,"longitude_deg":76.3083328,"latitude_deg":9.841704,"altitude":9,"angle":156,"satellites":35,"speed":0,"hex_longitude":"2d7bba40","hex_latitude":"05ddb990","is_valid_coordinates":true} 
[2026-07-13 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-07-13 10:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683424768001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737142730227712,"note":"Value kept but may cause issues"} 
[2026-07-13 10:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124970184704,"note":"Value kept but may cause issues"} 
[2026-07-13 10:44: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-07-13 10:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783919632000,"timestamp_ms":1783919632000,"timestamp_seconds":1783919632,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e55e80"} 
[2026-07-13 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-07-13 10:44:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-13 10:44:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 10:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":130442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":130442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":130442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 10:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 10:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683424768001,"66":12135,"24":0,"16":105737142730227712,"45":8916142124970184704},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-07-13 10:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 10:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 10:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683424768001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737142730227712,"km_value":105737142730227.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124970184704,"description":"Unknown IO ID 45"} 
[2026-07-13 10:44:57] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456683424768001,"power":12135,"ignition":0,"odometer":null,"unknown_45":8916142124970184704}} 
[2026-07-13 10:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":130442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479602,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:44:57] local.INFO: GPS data processed {"connection_id":130442,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:44:57] local.INFO: Acknowledgment sent {"connection_id":130442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:45:40] local.INFO: TCP Data received {"connection_id":131249,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:45:40] local.INFO: Processing buffer {"connection_id":131249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:45:40] local.INFO: IMEI packet received {"connection_id":131249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":131249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:45:43] local.INFO: TCP Data received {"connection_id":130235,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130235,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:45:43] local.INFO: Processing buffer {"connection_id":130235,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:45:43] local.INFO: IMEI packet received {"connection_id":130235,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 10:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":130235,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:45:48] local.INFO: TCP Data received {"connection_id":130235,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130235,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:45:48] local.INFO: Processing buffer {"connection_id":130235,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:45:48] local.INFO: IMEI packet received {"connection_id":130235,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 10:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":130235,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:45:49] local.INFO: TCP Data received {"connection_id":130235,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e69318012d7bbcc005ddb790000400951d..."} 
[2026-07-13 10:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e69318012d7bbcc005ddb790000400951d..."} 
[2026-07-13 10:45:49] local.INFO: Processing buffer {"connection_id":130235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e69318012d7bbcc005ddb790000400951d..."} 
[2026-07-13 10:45:49] local.INFO: Packet analysis {"connection_id":130235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e6"} 
[2026-07-13 10:45:49] local.INFO: Extracted packet for processing {"connection_id":130235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e6"} 
[2026-07-13 10:45:49] local.INFO: GPS Element Parsed {"raw_longitude":763083968,"raw_latitude":98416528,"longitude_deg":76.3083968,"latitude_deg":9.8416528,"altitude":4,"angle":149,"satellites":29,"speed":0,"hex_longitude":"2d7bbcc0","hex_latitude":"05ddb790","is_valid_coordinates":true} 
[2026-07-13 10:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683445248001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737250104410112,"note":"Value kept but may cause issues"} 
[2026-07-13 10:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916282862458050560,"note":"Value kept but may cause issues"} 
[2026-07-13 10:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783919711000,"timestamp_ms":1783919711000,"timestamp_seconds":1783919711,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e69318"} 
[2026-07-13 10:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 10: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-13 10:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 10:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 10:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683445248001,"66":12645,"169":206,"85":15104,"24":0,"16":105737250104410112,"45":8916282862458050560},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-13 10:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 10:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 10:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683445248001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:45:49] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-13 10:45:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 10:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737250104410112,"km_value":105737250104410.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916282862458050560,"description":"Unknown IO ID 45"} 
[2026-07-13 10:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683445248001,"power":12645,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916282862458050560}} 
[2026-07-13 10:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":130235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479603,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:45:49] local.INFO: GPS data processed {"connection_id":130235,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:45:49] local.INFO: Acknowledgment sent {"connection_id":130235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:45:58] local.INFO: TCP Data received {"connection_id":131249,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:45:58] local.INFO: Processing buffer {"connection_id":131249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:45:58] local.INFO: IMEI packet received {"connection_id":131249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":131249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:46:12] local.INFO: TCP Data received {"connection_id":131249,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e41e30012d7f914005afd938000c011b23..."} 
[2026-07-13 10:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e41e30012d7f914005afd938000c011b23..."} 
[2026-07-13 10:46:12] local.INFO: Processing buffer {"connection_id":131249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e41e30012d7f914005afd938000c011b23..."} 
[2026-07-13 10:46:12] local.INFO: Packet analysis {"connection_id":131249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e4"} 
[2026-07-13 10:46:12] local.INFO: Extracted packet for processing {"connection_id":131249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e4"} 
[2026-07-13 10:46:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683327744001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783919550000,"timestamp_ms":1783919550000,"timestamp_seconds":1783919550,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e41e30"} 
[2026-07-13 10:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683327744001,"66":25321,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 10:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683327744001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:46:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 10:46:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683327744001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":131249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:46:12] local.INFO: GPS data processed {"connection_id":131249,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:46:12] local.INFO: Acknowledgment sent {"connection_id":131249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:46:19] local.INFO: TCP Data received {"connection_id":130235,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e6c5e0012d7bbc0005ddb850000100ba1a..."} 
[2026-07-13 10:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e6c5e0012d7bbc0005ddb850000100ba1a..."} 
[2026-07-13 10:46:19] local.INFO: Processing buffer {"connection_id":130235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e6c5e0012d7bbc0005ddb850000100ba1a..."} 
[2026-07-13 10:46:19] local.INFO: Packet analysis {"connection_id":130235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e6"} 
[2026-07-13 10:46:19] local.INFO: Extracted packet for processing {"connection_id":130235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e6"} 
[2026-07-13 10:46:19] local.INFO: GPS Element Parsed {"raw_longitude":763083776,"raw_latitude":98416720,"longitude_deg":76.3083776,"latitude_deg":9.841672,"altitude":1,"angle":186,"satellites":26,"speed":2,"hex_longitude":"2d7bbc00","hex_latitude":"05ddb850","is_valid_coordinates":true} 
[2026-07-13 10: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-07-13 10:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683446016001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737262989312000,"note":"Value kept but may cause issues"} 
[2026-07-13 10:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916212493713903616,"note":"Value kept but may cause issues"} 
[2026-07-13 10:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783919724000,"timestamp_ms":1783919724000,"timestamp_seconds":1783919724,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e6c5e0"} 
[2026-07-13 10:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 10: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-13 10:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10: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-07-13 10:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 10:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 10:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683446016001,"66":13189,"169":206,"85":15104,"24":2,"16":105737262989312000,"45":8916212493713903616},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-13 10:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 10:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 10:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683446016001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:46:19] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-13 10:46:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 10:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737262989312000,"km_value":105737262989312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916212493713903616,"description":"Unknown IO ID 45"} 
[2026-07-13 10:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683446016001,"power":13189,"unknown_169":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8916212493713903616}} 
[2026-07-13 10:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":130235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479605,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:46:20] local.INFO: GPS data processed {"connection_id":130235,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:46:20] local.INFO: Acknowledgment sent {"connection_id":130235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:46:42] local.INFO: TCP Data received {"connection_id":132580,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:46:42] local.INFO: Processing buffer {"connection_id":132580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:46:42] local.INFO: IMEI packet received {"connection_id":132580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":132580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:46:43] local.INFO: TCP Data received {"connection_id":130444,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130444,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:46:43] local.INFO: Processing buffer {"connection_id":130444,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:46:43] local.INFO: IMEI packet received {"connection_id":130444,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 10:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":130444,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:46:45] local.INFO: TCP Data received {"connection_id":132580,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:46:45] local.INFO: Processing buffer {"connection_id":132580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:46:45] local.INFO: IMEI packet received {"connection_id":132580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":132580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:46:45] local.INFO: TCP Data received {"connection_id":132580,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e41e30012d7f914005afd938000c011b23..."} 
[2026-07-13 10:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e41e30012d7f914005afd938000c011b23..."} 
[2026-07-13 10:46:45] local.INFO: Processing buffer {"connection_id":132580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e41e30012d7f914005afd938000c011b23..."} 
[2026-07-13 10:46:45] local.INFO: Packet analysis {"connection_id":132580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e4"} 
[2026-07-13 10:46:45] local.INFO: Extracted packet for processing {"connection_id":132580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e4"} 
[2026-07-13 10:46:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683327744001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783919550000,"timestamp_ms":1783919550000,"timestamp_seconds":1783919550,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e41e30"} 
[2026-07-13 10:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683327744001,"66":25321,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 10:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683327744001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:46:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 10:46:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683327744001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":132580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:46:45] local.INFO: GPS data processed {"connection_id":132580,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:46:45] local.INFO: Acknowledgment sent {"connection_id":132580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:46:49] local.INFO: TCP Data received {"connection_id":130444,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130444,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:46:49] local.INFO: Processing buffer {"connection_id":130444,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:46:49] local.INFO: IMEI packet received {"connection_id":130444,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 10:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":130444,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:46:50] local.INFO: TCP Data received {"connection_id":130444,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e7b040012d7bbe0005ddb4d0000000bc21..."} 
[2026-07-13 10:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e7b040012d7bbe0005ddb4d0000000bc21..."} 
[2026-07-13 10:46:50] local.INFO: Processing buffer {"connection_id":130444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e7b040012d7bbe0005ddb4d0000000bc21..."} 
[2026-07-13 10:46:50] local.INFO: Packet analysis {"connection_id":130444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e7"} 
[2026-07-13 10:46:50] local.INFO: Extracted packet for processing {"connection_id":130444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e7"} 
[2026-07-13 10:46:50] local.INFO: GPS Element Parsed {"raw_longitude":763084288,"raw_latitude":98415824,"longitude_deg":76.3084288,"latitude_deg":9.8415824,"altitude":0,"angle":188,"satellites":33,"speed":1,"hex_longitude":"2d7bbe00","hex_latitude":"05ddb4d0","is_valid_coordinates":true} 
[2026-07-13 10: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-07-13 10:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683463936001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737348888657920,"note":"Value kept but may cause issues"} 
[2026-07-13 10:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916564337434609664,"note":"Value kept but may cause issues"} 
[2026-07-13 10:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783919784000,"timestamp_ms":1783919784000,"timestamp_seconds":1783919784,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e7b040"} 
[2026-07-13 10:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:46: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-07-13 10: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-13 10:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751609767,"note":"Value kept but may cause issues"} 
[2026-07-13 10:46:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 10:46:50] local.WARNING: Large IO value detected {"io_id":167,"raw_value":2315255808,"note":"Value kept but may cause issues"} 
[2026-07-13 10:46:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":8622010644717109248,"note":"Value kept but may cause issues"} 
[2026-07-13 10:46:50] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-13 10:46:50] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13479593,"corrected_to":0} 
[2026-07-13 10:46:50] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3881455617,"note":"Value kept but may cause issues"} 
[2026-07-13 10:46:50] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3047161856,"note":"Value kept but may cause issues"} 
[2026-07-13 10:46:50] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635163031154345,"note":"Value kept but may cause issues"} 
[2026-07-13 10:46:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930311374,"corrected_to":0} 
[2026-07-13 10:46:50] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-13 10:46:50] local.WARNING: Large IO value detected {"io_id":82,"raw_value":2147560827,"note":"Value kept but may cause issues"} 
[2026-07-13 10:46:50] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-6917302877597675947,"note":"Value kept but may cause issues"} 
[2026-07-13 10:46:50] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2810773504,"note":"Value kept but may cause issues"} 
[2026-07-13 10:46:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3719690240,"note":"Value kept but may cause issues"} 
[2026-07-13 10:46:50] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-4809837952236519424,"note":"Value kept but may cause issues"} 
[2026-07-13 10:46:50] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-07-13 10:46:50] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,50,85,24,241,157,16,167,159,148,45,128,181,31,10,66,145,98,64,1,240,203,227,89,221,4,113,205,2,82,189,192,28,239,52,169,119,5,123,59],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":203,"original":13479593,"validated":0},{"io_id":205,"original":2930311374,"validated":0}]} 
[2026-07-13 10:46:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":179362129379328,"timestamp_seconds":179362129379.328,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 10:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 10:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 10:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683463936001,"66":13526,"50":206,"85":15104,"24":1,"16":105737348888657920,"45":8916564337434609664},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 10:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 10:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 10:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683463936001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:46:50] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 10:46:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 10:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737348888657920,"km_value":105737348888657.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916564337434609664,"description":"Unknown IO ID 45"} 
[2026-07-13 10:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683463936001,"power":13526,"unknown_50":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8916564337434609664}} 
[2026-07-13 10:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":130444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479607,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:46:50] local.INFO: GPS data processed {"connection_id":130444,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:46:50] local.INFO: Acknowledgment sent {"connection_id":130444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:46:51] local.INFO: TCP Data received {"connection_id":132580,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e41e30012d7f914005afd938000c011b23..."} 
[2026-07-13 10:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e41e30012d7f914005afd938000c011b23..."} 
[2026-07-13 10:46:51] local.INFO: Processing buffer {"connection_id":132580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e41e30012d7f914005afd938000c011b23..."} 
[2026-07-13 10:46:51] local.INFO: Packet analysis {"connection_id":132580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e4"} 
[2026-07-13 10:46:51] local.INFO: Extracted packet for processing {"connection_id":132580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e4"} 
[2026-07-13 10:46:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683327744001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783919550000,"timestamp_ms":1783919550000,"timestamp_seconds":1783919550,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e41e30"} 
[2026-07-13 10:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:46: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-07-13 10:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683327744001,"66":25321,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 10:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683327744001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:46:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 10:46:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683327744001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":132580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:46:51] local.INFO: GPS data processed {"connection_id":132580,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:46:51] local.INFO: Acknowledgment sent {"connection_id":132580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:47:21] local.INFO: TCP Data received {"connection_id":130444,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e7b428012d7bbe0005ddb4a8000000ba21..."} 
[2026-07-13 10:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e7b428012d7bbe0005ddb4a8000000ba21..."} 
[2026-07-13 10:47:21] local.INFO: Processing buffer {"connection_id":130444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e7b428012d7bbe0005ddb4a8000000ba21..."} 
[2026-07-13 10:47:21] local.INFO: Packet analysis {"connection_id":130444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e7"} 
[2026-07-13 10:47:21] local.INFO: Extracted packet for processing {"connection_id":130444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e7"} 
[2026-07-13 10:47:21] local.INFO: GPS Element Parsed {"raw_longitude":763084288,"raw_latitude":98415784,"longitude_deg":76.3084288,"latitude_deg":9.8415784,"altitude":0,"angle":186,"satellites":33,"speed":1,"hex_longitude":"2d7bbe00","hex_latitude":"05ddb4a8","is_valid_coordinates":true} 
[2026-07-13 10:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683464704001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 10:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916564337434611712,"note":"Value kept but may cause issues"} 
[2026-07-13 10:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783919785000,"timestamp_ms":1783919785000,"timestamp_seconds":1783919785,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e7b428"} 
[2026-07-13 10:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:47: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-07-13 10:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-13 10:47: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-07-13 10:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":130444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":130444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":130444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 10:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 10:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683464704001,"66":13515,"50":206,"85":15104,"24":1,"16":105737353183625216,"45":8916564337434611712},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 10:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 10:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 10:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683464704001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:47:21] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 10:47:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 10:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916564337434611712,"description":"Unknown IO ID 45"} 
[2026-07-13 10:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683464704001,"power":13515,"unknown_50":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8916564337434611712}} 
[2026-07-13 10:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":130444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479609,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:47:21] local.INFO: GPS data processed {"connection_id":130444,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:47:21] local.INFO: Acknowledgment sent {"connection_id":130444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:47:41] local.INFO: TCP Data received {"connection_id":130236,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:47:41] local.INFO: Processing buffer {"connection_id":130236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:47:41] local.INFO: IMEI packet received {"connection_id":130236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":130236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:47:41] local.INFO: TCP Data received {"connection_id":130236,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:47:41] local.INFO: Processing buffer {"connection_id":130236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:47:41] local.INFO: IMEI packet received {"connection_id":130236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":130236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:47:42] local.INFO: TCP Data received {"connection_id":130236,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e41e30012d7f914005afd938000c011b23..."} 
[2026-07-13 10:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e41e30012d7f914005afd938000c011b23..."} 
[2026-07-13 10:47:42] local.INFO: Processing buffer {"connection_id":130236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e41e30012d7f914005afd938000c011b23..."} 
[2026-07-13 10:47:42] local.INFO: Packet analysis {"connection_id":130236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e4"} 
[2026-07-13 10:47:42] local.INFO: Extracted packet for processing {"connection_id":130236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e4"} 
[2026-07-13 10:47:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683327744001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783919550000,"timestamp_ms":1783919550000,"timestamp_seconds":1783919550,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e41e30"} 
[2026-07-13 10:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683327744001,"66":25321,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 10:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683327744001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:47:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 10:47:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683327744001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":130236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:47:42] local.INFO: GPS data processed {"connection_id":130236,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:47:42] local.INFO: Acknowledgment sent {"connection_id":130236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:47:43] local.INFO: TCP Data received {"connection_id":132581,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:47:43] local.INFO: Processing buffer {"connection_id":132581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:47:43] local.INFO: IMEI packet received {"connection_id":132581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 10:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":132581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:47:45] local.INFO: TCP Data received {"connection_id":130236,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e41e30012d7f914005afd938000c011b23..."} 
[2026-07-13 10:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e41e30012d7f914005afd938000c011b23..."} 
[2026-07-13 10:47:45] local.INFO: Processing buffer {"connection_id":130236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e41e30012d7f914005afd938000c011b23..."} 
[2026-07-13 10:47:45] local.INFO: Packet analysis {"connection_id":130236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e4"} 
[2026-07-13 10:47:45] local.INFO: Extracted packet for processing {"connection_id":130236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e4"} 
[2026-07-13 10:47:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683327744001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783919550000,"timestamp_ms":1783919550000,"timestamp_seconds":1783919550,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e41e30"} 
[2026-07-13 10:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 10:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683327744001,"66":25321,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 10:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683327744001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:47:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 10:47:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683327744001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":130236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:47:45] local.INFO: GPS data processed {"connection_id":130236,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:47:45] local.INFO: Acknowledgment sent {"connection_id":130236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:47:48] local.INFO: TCP Data received {"connection_id":132581,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:47:48] local.INFO: Processing buffer {"connection_id":132581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:47:48] local.INFO: IMEI packet received {"connection_id":132581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 10:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":132581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:47:50] local.INFO: TCP Data received {"connection_id":132581,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e7b428012d7bbe0005ddb4a8000000ba21..."} 
[2026-07-13 10:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e7b428012d7bbe0005ddb4a8000000ba21..."} 
[2026-07-13 10:47:50] local.INFO: Processing buffer {"connection_id":132581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e7b428012d7bbe0005ddb4a8000000ba21..."} 
[2026-07-13 10:47:50] local.INFO: Packet analysis {"connection_id":132581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e7"} 
[2026-07-13 10:47:50] local.INFO: Extracted packet for processing {"connection_id":132581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e7"} 
[2026-07-13 10:47:50] local.INFO: GPS Element Parsed {"raw_longitude":763084288,"raw_latitude":98415784,"longitude_deg":76.3084288,"latitude_deg":9.8415784,"altitude":0,"angle":186,"satellites":33,"speed":1,"hex_longitude":"2d7bbe00","hex_latitude":"05ddb4a8","is_valid_coordinates":true} 
[2026-07-13 10:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683464960001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 10:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916564337434601472,"note":"Value kept but may cause issues"} 
[2026-07-13 10:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783919785000,"timestamp_ms":1783919785000,"timestamp_seconds":1783919785,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e7b428"} 
[2026-07-13 10:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 10:47: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-07-13 10: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-07-13 10:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":132581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":132581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":132581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 10:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 10:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683464960001,"66":13515,"50":206,"85":15104,"24":1,"16":105737353183625216,"45":8916564337434601472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 10:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 10:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 10:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683464960001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:47:50] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 10:47:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 10:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916564337434601472,"description":"Unknown IO ID 45"} 
[2026-07-13 10:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683464960001,"power":13515,"unknown_50":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8916564337434601472}} 
[2026-07-13 10:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":132581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479612,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:47:50] local.INFO: GPS data processed {"connection_id":132581,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:47:50] local.INFO: Acknowledgment sent {"connection_id":132581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:48:16] local.INFO: TCP Data received {"connection_id":130236,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:48:16] local.INFO: Processing buffer {"connection_id":130236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:48:16] local.INFO: Packet analysis {"connection_id":130236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e8"} 
[2026-07-13 10:48:16] local.INFO: Extracted packet for processing {"connection_id":130236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e8"} 
[2026-07-13 10:48:16] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":7,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683404800001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783919851000,"timestamp_ms":1783919851000,"timestamp_seconds":1783919851,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e8b5f8"} 
[2026-07-13 10:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683404800001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683404800001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:48:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:48:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683404800001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":130236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:48:16] local.INFO: GPS data processed {"connection_id":130236,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:48:16] local.INFO: Acknowledgment sent {"connection_id":130236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:48:21] local.INFO: TCP Data received {"connection_id":132581,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e7b428012d7bbe0005ddb4a8000000ba21..."} 
[2026-07-13 10:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e7b428012d7bbe0005ddb4a8000000ba21..."} 
[2026-07-13 10:48:21] local.INFO: Processing buffer {"connection_id":132581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e7b428012d7bbe0005ddb4a8000000ba21..."} 
[2026-07-13 10:48:21] local.INFO: Packet analysis {"connection_id":132581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e7"} 
[2026-07-13 10:48:21] local.INFO: Extracted packet for processing {"connection_id":132581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e7"} 
[2026-07-13 10:48:21] local.INFO: GPS Element Parsed {"raw_longitude":763084288,"raw_latitude":98415784,"longitude_deg":76.3084288,"latitude_deg":9.8415784,"altitude":0,"angle":186,"satellites":33,"speed":1,"hex_longitude":"2d7bbe00","hex_latitude":"05ddb4a8","is_valid_coordinates":true} 
[2026-07-13 10:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683464960001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 10:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916564337434601472,"note":"Value kept but may cause issues"} 
[2026-07-13 10:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783919785000,"timestamp_ms":1783919785000,"timestamp_seconds":1783919785,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e7b428"} 
[2026-07-13 10:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 10:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":132581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":132581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":132581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 10:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 10:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683464960001,"66":13515,"50":206,"85":15104,"24":1,"16":105737353183625216,"45":8916564337434601472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 10:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 10:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 10:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683464960001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:48:21] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 10:48:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 10:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916564337434601472,"description":"Unknown IO ID 45"} 
[2026-07-13 10:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683464960001,"power":13515,"unknown_50":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8916564337434601472}} 
[2026-07-13 10:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":132581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:48:21] local.INFO: GPS data processed {"connection_id":132581,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:48:21] local.INFO: Acknowledgment sent {"connection_id":132581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:48:35] local.INFO: TCP Data received {"connection_id":130238,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:48:35] local.INFO: Processing buffer {"connection_id":130238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:48:35] local.INFO: IMEI packet received {"connection_id":130238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":130238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:48:40] local.INFO: TCP Data received {"connection_id":130238,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:48:40] local.INFO: Processing buffer {"connection_id":130238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:48:40] local.INFO: IMEI packet received {"connection_id":130238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":130238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:48:41] local.INFO: TCP Data received {"connection_id":130238,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:48:41] local.INFO: Processing buffer {"connection_id":130238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:48:41] local.INFO: Packet analysis {"connection_id":130238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e8"} 
[2026-07-13 10:48:41] local.INFO: Extracted packet for processing {"connection_id":130238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e8"} 
[2026-07-13 10:48:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":7,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683404800001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783919851000,"timestamp_ms":1783919851000,"timestamp_seconds":1783919851,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e8b5f8"} 
[2026-07-13 10:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683404800001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683404800001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:48:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:48:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683404800001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":130238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:48:41] local.INFO: GPS data processed {"connection_id":130238,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:48:41] local.INFO: Acknowledgment sent {"connection_id":130238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:48:43] local.INFO: TCP Data received {"connection_id":130446,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:48:43] local.INFO: Processing buffer {"connection_id":130446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:48:43] local.INFO: IMEI packet received {"connection_id":130446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 10:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":130446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:48:48] local.INFO: TCP Data received {"connection_id":130446,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:48:48] local.INFO: Processing buffer {"connection_id":130446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:48:48] local.INFO: IMEI packet received {"connection_id":130446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 10:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":130446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:48:49] local.INFO: TCP Data received {"connection_id":130446,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e7b428012d7bbe0005ddb4a8000000ba21..."} 
[2026-07-13 10:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e7b428012d7bbe0005ddb4a8000000ba21..."} 
[2026-07-13 10:48:49] local.INFO: Processing buffer {"connection_id":130446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e7b428012d7bbe0005ddb4a8000000ba21..."} 
[2026-07-13 10:48:49] local.INFO: Packet analysis {"connection_id":130446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e7"} 
[2026-07-13 10:48:49] local.INFO: Extracted packet for processing {"connection_id":130446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e7"} 
[2026-07-13 10:48:49] local.INFO: GPS Element Parsed {"raw_longitude":763084288,"raw_latitude":98415784,"longitude_deg":76.3084288,"latitude_deg":9.8415784,"altitude":0,"angle":186,"satellites":33,"speed":1,"hex_longitude":"2d7bbe00","hex_latitude":"05ddb4a8","is_valid_coordinates":true} 
[2026-07-13 10:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683464960001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 10:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916564337434601472,"note":"Value kept but may cause issues"} 
[2026-07-13 10:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783919785000,"timestamp_ms":1783919785000,"timestamp_seconds":1783919785,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e7b428"} 
[2026-07-13 10:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 10:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 10:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 10:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683464960001,"66":13515,"50":206,"85":15104,"24":1,"16":105737353183625216,"45":8916564337434601472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 10:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 10:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 10:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683464960001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:48:49] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 10:48:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 10:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916564337434601472,"description":"Unknown IO ID 45"} 
[2026-07-13 10:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683464960001,"power":13515,"unknown_50":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8916564337434601472}} 
[2026-07-13 10:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":130446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:48:49] local.INFO: GPS data processed {"connection_id":130446,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:48:49] local.INFO: Acknowledgment sent {"connection_id":130446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:49:10] local.INFO: TCP Data received {"connection_id":130445,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130445,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:49:10] local.INFO: Processing buffer {"connection_id":130445,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:49:10] local.INFO: IMEI packet received {"connection_id":130445,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 10:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":130445,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:49:12] local.INFO: TCP Data received {"connection_id":130238,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:49:12] local.INFO: Processing buffer {"connection_id":130238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:49:12] local.INFO: Packet analysis {"connection_id":130238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e8"} 
[2026-07-13 10:49:12] local.INFO: Extracted packet for processing {"connection_id":130238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e8"} 
[2026-07-13 10:49:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":7,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683404800001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783919851000,"timestamp_ms":1783919851000,"timestamp_seconds":1783919851,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e8b5f8"} 
[2026-07-13 10:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683404800001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683404800001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:49:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:49:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683404800001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":130238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:49:12] local.INFO: GPS data processed {"connection_id":130238,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:49:12] local.INFO: Acknowledgment sent {"connection_id":130238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:49:19] local.INFO: TCP Data received {"connection_id":130446,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e7b428012d7bbe0005ddb4a8000000ba21..."} 
[2026-07-13 10:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e7b428012d7bbe0005ddb4a8000000ba21..."} 
[2026-07-13 10:49:19] local.INFO: Processing buffer {"connection_id":130446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e7b428012d7bbe0005ddb4a8000000ba21..."} 
[2026-07-13 10:49:19] local.INFO: Packet analysis {"connection_id":130446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e7"} 
[2026-07-13 10:49:19] local.INFO: Extracted packet for processing {"connection_id":130446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e7"} 
[2026-07-13 10:49:19] local.INFO: GPS Element Parsed {"raw_longitude":763084288,"raw_latitude":98415784,"longitude_deg":76.3084288,"latitude_deg":9.8415784,"altitude":0,"angle":186,"satellites":33,"speed":1,"hex_longitude":"2d7bbe00","hex_latitude":"05ddb4a8","is_valid_coordinates":true} 
[2026-07-13 10:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683464960001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 10:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916564337434601472,"note":"Value kept but may cause issues"} 
[2026-07-13 10:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783919785000,"timestamp_ms":1783919785000,"timestamp_seconds":1783919785,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e7b428"} 
[2026-07-13 10:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 10:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 10:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 10:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683464960001,"66":13515,"50":206,"85":15104,"24":1,"16":105737353183625216,"45":8916564337434601472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 10:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 10:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 10:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683464960001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:49:19] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 10:49:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 10:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916564337434601472,"description":"Unknown IO ID 45"} 
[2026-07-13 10:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683464960001,"power":13515,"unknown_50":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8916564337434601472}} 
[2026-07-13 10:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":130446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479618,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:49:19] local.INFO: GPS data processed {"connection_id":130446,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:49:19] local.INFO: Acknowledgment sent {"connection_id":130446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:49:35] local.INFO: TCP Data received {"connection_id":130239,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:49:35] local.INFO: Processing buffer {"connection_id":130239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:49:35] local.INFO: IMEI packet received {"connection_id":130239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":130239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:49:40] local.INFO: TCP Data received {"connection_id":130239,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:49:40] local.INFO: Processing buffer {"connection_id":130239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:49:40] local.INFO: IMEI packet received {"connection_id":130239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":130239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:49:41] local.INFO: TCP Data received {"connection_id":130239,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:49:41] local.INFO: Processing buffer {"connection_id":130239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:49:41] local.INFO: Packet analysis {"connection_id":130239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e8"} 
[2026-07-13 10:49:41] local.INFO: Extracted packet for processing {"connection_id":130239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e8"} 
[2026-07-13 10:49:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":7,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683404800001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783919851000,"timestamp_ms":1783919851000,"timestamp_seconds":1783919851,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e8b5f8"} 
[2026-07-13 10:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683404800001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683404800001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:49:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:49:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683404800001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":130239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:49:41] local.INFO: GPS data processed {"connection_id":130239,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:49:41] local.INFO: Acknowledgment sent {"connection_id":130239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:49:43] local.INFO: TCP Data received {"connection_id":132582,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:49:43] local.INFO: Processing buffer {"connection_id":132582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:49:43] local.INFO: IMEI packet received {"connection_id":132582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 10:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":132582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:49:48] local.INFO: TCP Data received {"connection_id":130447,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130447,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:49:48] local.INFO: Processing buffer {"connection_id":130447,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:49:48] local.INFO: IMEI packet received {"connection_id":130447,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 10:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":130447,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:49:53] local.INFO: TCP Data received {"connection_id":130447,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130447,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:49:53] local.INFO: Processing buffer {"connection_id":130447,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:49:53] local.INFO: IMEI packet received {"connection_id":130447,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 10:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":130447,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:49:54] local.INFO: TCP Data received {"connection_id":130447,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e7b428012d7bbe0005ddb4a8000000ba21..."} 
[2026-07-13 10:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e7b428012d7bbe0005ddb4a8000000ba21..."} 
[2026-07-13 10:49:54] local.INFO: Processing buffer {"connection_id":130447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e7b428012d7bbe0005ddb4a8000000ba21..."} 
[2026-07-13 10:49:54] local.INFO: Packet analysis {"connection_id":130447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e7"} 
[2026-07-13 10:49:54] local.INFO: Extracted packet for processing {"connection_id":130447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e7"} 
[2026-07-13 10:49:54] local.INFO: GPS Element Parsed {"raw_longitude":763084288,"raw_latitude":98415784,"longitude_deg":76.3084288,"latitude_deg":9.8415784,"altitude":0,"angle":186,"satellites":33,"speed":1,"hex_longitude":"2d7bbe00","hex_latitude":"05ddb4a8","is_valid_coordinates":true} 
[2026-07-13 10:49: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-07-13 10:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683464960001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 10:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916564337434601472,"note":"Value kept but may cause issues"} 
[2026-07-13 10:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783919785000,"timestamp_ms":1783919785000,"timestamp_seconds":1783919785,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e7b428"} 
[2026-07-13 10:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 10:49: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-07-13 10:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 10:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 10:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683464960001,"66":13515,"50":206,"85":15104,"24":1,"16":105737353183625216,"45":8916564337434601472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 10:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 10:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 10:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683464960001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:49:54] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 10:49:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 10:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916564337434601472,"description":"Unknown IO ID 45"} 
[2026-07-13 10:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683464960001,"power":13515,"unknown_50":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8916564337434601472}} 
[2026-07-13 10:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":130447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:49:54] local.INFO: GPS data processed {"connection_id":130447,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:49:54] local.INFO: Acknowledgment sent {"connection_id":130447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:49:58] local.INFO: TCP Data received {"connection_id":130447,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e7b428012d7bbe0005ddb4a8000000ba21..."} 
[2026-07-13 10:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e7b428012d7bbe0005ddb4a8000000ba21..."} 
[2026-07-13 10:49:58] local.INFO: Processing buffer {"connection_id":130447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e7b428012d7bbe0005ddb4a8000000ba21..."} 
[2026-07-13 10:49:58] local.INFO: Packet analysis {"connection_id":130447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e7"} 
[2026-07-13 10:49:58] local.INFO: Extracted packet for processing {"connection_id":130447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e7"} 
[2026-07-13 10:49:58] local.INFO: GPS Element Parsed {"raw_longitude":763084288,"raw_latitude":98415784,"longitude_deg":76.3084288,"latitude_deg":9.8415784,"altitude":0,"angle":186,"satellites":33,"speed":1,"hex_longitude":"2d7bbe00","hex_latitude":"05ddb4a8","is_valid_coordinates":true} 
[2026-07-13 10:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683464960001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 10:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916564337434601472,"note":"Value kept but may cause issues"} 
[2026-07-13 10:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783919785000,"timestamp_ms":1783919785000,"timestamp_seconds":1783919785,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e7b428"} 
[2026-07-13 10:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 10:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 10:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 10:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683464960001,"66":13515,"50":206,"85":15104,"24":1,"16":105737353183625216,"45":8916564337434601472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 10:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 10:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 10:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683464960001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:49:58] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 10:49:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 10:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916564337434601472,"description":"Unknown IO ID 45"} 
[2026-07-13 10:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683464960001,"power":13515,"unknown_50":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8916564337434601472}} 
[2026-07-13 10:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":130447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:49:58] local.INFO: GPS data processed {"connection_id":130447,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:49:58] local.INFO: Acknowledgment sent {"connection_id":130447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:50:12] local.INFO: TCP Data received {"connection_id":130239,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:50:12] local.INFO: Processing buffer {"connection_id":130239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:50:12] local.INFO: Packet analysis {"connection_id":130239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e8"} 
[2026-07-13 10:50:12] local.INFO: Extracted packet for processing {"connection_id":130239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e8"} 
[2026-07-13 10:50:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":7,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683404800001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783919851000,"timestamp_ms":1783919851000,"timestamp_seconds":1783919851,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e8b5f8"} 
[2026-07-13 10:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683404800001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683404800001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:50:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:50:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683404800001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":130239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:50:12] local.INFO: GPS data processed {"connection_id":130239,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:50:12] local.INFO: Acknowledgment sent {"connection_id":130239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:50:35] local.INFO: TCP Data received {"connection_id":130448,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:50:35] local.INFO: Processing buffer {"connection_id":130448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:50:35] local.INFO: IMEI packet received {"connection_id":130448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":130448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:50:40] local.INFO: TCP Data received {"connection_id":130448,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:50:40] local.INFO: Processing buffer {"connection_id":130448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:50:40] local.INFO: IMEI packet received {"connection_id":130448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":130448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:50:41] local.INFO: TCP Data received {"connection_id":130448,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:50:41] local.INFO: Processing buffer {"connection_id":130448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:50:41] local.INFO: Packet analysis {"connection_id":130448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e8"} 
[2026-07-13 10:50:41] local.INFO: Extracted packet for processing {"connection_id":130448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e8"} 
[2026-07-13 10:50:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":7,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10: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-07-13 10:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683404800001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783919851000,"timestamp_ms":1783919851000,"timestamp_seconds":1783919851,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e8b5f8"} 
[2026-07-13 10:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10: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-07-13 10:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683404800001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683404800001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:50:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:50:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683404800001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":130448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:50:41] local.INFO: GPS data processed {"connection_id":130448,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:50:41] local.INFO: Acknowledgment sent {"connection_id":130448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:50:43] local.INFO: TCP Data received {"connection_id":132583,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132583,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:50:43] local.INFO: Processing buffer {"connection_id":132583,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:50:43] local.INFO: IMEI packet received {"connection_id":132583,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 10:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":132583,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:50:48] local.INFO: TCP Data received {"connection_id":132583,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132583,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:50:48] local.INFO: Processing buffer {"connection_id":132583,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:50:48] local.INFO: IMEI packet received {"connection_id":132583,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 10:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":132583,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:50:49] local.INFO: TCP Data received {"connection_id":132583,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e7b428012d7bbe0005ddb4a8000000ba21..."} 
[2026-07-13 10:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e7b428012d7bbe0005ddb4a8000000ba21..."} 
[2026-07-13 10:50:49] local.INFO: Processing buffer {"connection_id":132583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e7b428012d7bbe0005ddb4a8000000ba21..."} 
[2026-07-13 10:50:49] local.INFO: Packet analysis {"connection_id":132583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e7"} 
[2026-07-13 10:50:49] local.INFO: Extracted packet for processing {"connection_id":132583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e7"} 
[2026-07-13 10:50:49] local.INFO: GPS Element Parsed {"raw_longitude":763084288,"raw_latitude":98415784,"longitude_deg":76.3084288,"latitude_deg":9.8415784,"altitude":0,"angle":186,"satellites":33,"speed":1,"hex_longitude":"2d7bbe00","hex_latitude":"05ddb4a8","is_valid_coordinates":true} 
[2026-07-13 10:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683464960001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 10:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916564337434601472,"note":"Value kept but may cause issues"} 
[2026-07-13 10:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783919785000,"timestamp_ms":1783919785000,"timestamp_seconds":1783919785,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e7b428"} 
[2026-07-13 10:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 10:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 10:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 10:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683464960001,"66":13515,"50":206,"85":15104,"24":1,"16":105737353183625216,"45":8916564337434601472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 10:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 10:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 10:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683464960001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:50:49] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 10:50:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 10:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916564337434601472,"description":"Unknown IO ID 45"} 
[2026-07-13 10:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683464960001,"power":13515,"unknown_50":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8916564337434601472}} 
[2026-07-13 10:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":132583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:50:49] local.INFO: GPS data processed {"connection_id":132583,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:50:49] local.INFO: Acknowledgment sent {"connection_id":132583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:51:12] local.INFO: TCP Data received {"connection_id":130448,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:51:12] local.INFO: Processing buffer {"connection_id":130448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:51:12] local.INFO: Packet analysis {"connection_id":130448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e8"} 
[2026-07-13 10:51:12] local.INFO: Extracted packet for processing {"connection_id":130448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e8"} 
[2026-07-13 10:51:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":7,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683404800001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783919851000,"timestamp_ms":1783919851000,"timestamp_seconds":1783919851,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e8b5f8"} 
[2026-07-13 10:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683404800001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683404800001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:51:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:51:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683404800001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":130448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:51:12] local.INFO: GPS data processed {"connection_id":130448,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:51:12] local.INFO: Acknowledgment sent {"connection_id":130448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:51:20] local.INFO: TCP Data received {"connection_id":132583,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e7b428012d7bbe0005ddb4a8000000ba21..."} 
[2026-07-13 10:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e7b428012d7bbe0005ddb4a8000000ba21..."} 
[2026-07-13 10:51:20] local.INFO: Processing buffer {"connection_id":132583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e7b428012d7bbe0005ddb4a8000000ba21..."} 
[2026-07-13 10:51:20] local.INFO: Packet analysis {"connection_id":132583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e7"} 
[2026-07-13 10:51:20] local.INFO: Extracted packet for processing {"connection_id":132583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e7"} 
[2026-07-13 10:51:20] local.INFO: GPS Element Parsed {"raw_longitude":763084288,"raw_latitude":98415784,"longitude_deg":76.3084288,"latitude_deg":9.8415784,"altitude":0,"angle":186,"satellites":33,"speed":1,"hex_longitude":"2d7bbe00","hex_latitude":"05ddb4a8","is_valid_coordinates":true} 
[2026-07-13 10:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683464960001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 10:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916564337434601472,"note":"Value kept but may cause issues"} 
[2026-07-13 10:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783919785000,"timestamp_ms":1783919785000,"timestamp_seconds":1783919785,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e7b428"} 
[2026-07-13 10:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 10:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10: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-07-13 10:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":132583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":132583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":132583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 10:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 10:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683464960001,"66":13515,"50":206,"85":15104,"24":1,"16":105737353183625216,"45":8916564337434601472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 10:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 10:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 10:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683464960001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:51:20] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 10:51:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 10:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916564337434601472,"description":"Unknown IO ID 45"} 
[2026-07-13 10:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683464960001,"power":13515,"unknown_50":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8916564337434601472}} 
[2026-07-13 10:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":132583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:51:20] local.INFO: GPS data processed {"connection_id":132583,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:51:20] local.INFO: Acknowledgment sent {"connection_id":132583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:51:35] local.INFO: TCP Data received {"connection_id":130450,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:51:35] local.INFO: Processing buffer {"connection_id":130450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:51:35] local.INFO: IMEI packet received {"connection_id":130450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":130450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:51:40] local.INFO: TCP Data received {"connection_id":130450,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:51:40] local.INFO: Processing buffer {"connection_id":130450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:51:40] local.INFO: IMEI packet received {"connection_id":130450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":130450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:51:41] local.INFO: TCP Data received {"connection_id":130450,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:51:41] local.INFO: Processing buffer {"connection_id":130450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:51:41] local.INFO: Packet analysis {"connection_id":130450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e8"} 
[2026-07-13 10:51:41] local.INFO: Extracted packet for processing {"connection_id":130450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e8"} 
[2026-07-13 10:51:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":7,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683404800001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783919851000,"timestamp_ms":1783919851000,"timestamp_seconds":1783919851,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e8b5f8"} 
[2026-07-13 10:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683404800001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683404800001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:51:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:51:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683404800001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":130450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:51:41] local.INFO: GPS data processed {"connection_id":130450,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:51:41] local.INFO: Acknowledgment sent {"connection_id":130450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:51:43] local.INFO: TCP Data received {"connection_id":130452,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:51:43] local.INFO: Processing buffer {"connection_id":130452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:51:43] local.INFO: IMEI packet received {"connection_id":130452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 10:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":130452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:51:48] local.INFO: TCP Data received {"connection_id":130452,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:51:48] local.INFO: Processing buffer {"connection_id":130452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:51:48] local.INFO: IMEI packet received {"connection_id":130452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 10:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":130452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:51:49] local.INFO: TCP Data received {"connection_id":130452,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ec4bf0012d7bbd8005ddb3b8000000bb1b..."} 
[2026-07-13 10:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ec4bf0012d7bbd8005ddb3b8000000bb1b..."} 
[2026-07-13 10:51:49] local.INFO: Processing buffer {"connection_id":130452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ec4bf0012d7bbd8005ddb3b8000000bb1b..."} 
[2026-07-13 10:51:49] local.INFO: Packet analysis {"connection_id":130452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ec"} 
[2026-07-13 10:51:49] local.INFO: Extracted packet for processing {"connection_id":130452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ec"} 
[2026-07-13 10:51:49] local.INFO: GPS Element Parsed {"raw_longitude":763084160,"raw_latitude":98415544,"longitude_deg":76.308416,"latitude_deg":9.8415544,"altitude":0,"angle":187,"satellites":27,"speed":0,"hex_longitude":"2d7bbd80","hex_latitude":"05ddb3b8","is_valid_coordinates":true} 
[2026-07-13 10: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-07-13 10:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683464960001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 10:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916564337434601472,"note":"Value kept but may cause issues"} 
[2026-07-13 10:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783920086000,"timestamp_ms":1783920086000,"timestamp_seconds":1783920086,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ec4bf0"} 
[2026-07-13 10:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 10:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10: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-07-13 10:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 10:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 10:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683464960001,"66":12819,"33":206,"85":15104,"24":0,"16":105737353183625216,"45":8916564337434601472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-13 10:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 10:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 10:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683464960001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:51:49] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-13 10:51:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 10:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916564337434601472,"description":"Unknown IO ID 45"} 
[2026-07-13 10:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683464960001,"power":12819,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916564337434601472}} 
[2026-07-13 10:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":130452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:51:49] local.INFO: GPS data processed {"connection_id":130452,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:51:49] local.INFO: Acknowledgment sent {"connection_id":130452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:52:17] local.INFO: TCP Data received {"connection_id":130450,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:52:17] local.INFO: Processing buffer {"connection_id":130450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:52:17] local.INFO: Packet analysis {"connection_id":130450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e8"} 
[2026-07-13 10:52:17] local.INFO: Extracted packet for processing {"connection_id":130450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e8"} 
[2026-07-13 10:52:17] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":7,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683404800001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783919851000,"timestamp_ms":1783919851000,"timestamp_seconds":1783919851,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e8b5f8"} 
[2026-07-13 10:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683404800001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683404800001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:52:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:52:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683404800001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":130450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:52:17] local.INFO: GPS data processed {"connection_id":130450,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:52:17] local.INFO: Acknowledgment sent {"connection_id":130450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:52:20] local.INFO: TCP Data received {"connection_id":130452,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ec4bf0012d7bbd8005ddb3b8000000bb1b..."} 
[2026-07-13 10:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ec4bf0012d7bbd8005ddb3b8000000bb1b..."} 
[2026-07-13 10:52:20] local.INFO: Processing buffer {"connection_id":130452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ec4bf0012d7bbd8005ddb3b8000000bb1b..."} 
[2026-07-13 10:52:20] local.INFO: Packet analysis {"connection_id":130452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ec"} 
[2026-07-13 10:52:20] local.INFO: Extracted packet for processing {"connection_id":130452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ec"} 
[2026-07-13 10:52:20] local.INFO: GPS Element Parsed {"raw_longitude":763084160,"raw_latitude":98415544,"longitude_deg":76.308416,"latitude_deg":9.8415544,"altitude":0,"angle":187,"satellites":27,"speed":0,"hex_longitude":"2d7bbd80","hex_latitude":"05ddb3b8","is_valid_coordinates":true} 
[2026-07-13 10: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-07-13 10:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683464960001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 10:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916564337434601472,"note":"Value kept but may cause issues"} 
[2026-07-13 10:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783920086000,"timestamp_ms":1783920086000,"timestamp_seconds":1783920086,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ec4bf0"} 
[2026-07-13 10:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 10:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10: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-07-13 10:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 10:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 10:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683464960001,"66":12819,"33":206,"85":15104,"24":0,"16":105737353183625216,"45":8916564337434601472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-13 10:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 10:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 10:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683464960001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:52:20] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-13 10:52:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 10:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916564337434601472,"description":"Unknown IO ID 45"} 
[2026-07-13 10:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683464960001,"power":12819,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916564337434601472}} 
[2026-07-13 10:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":130452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479630,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:52:20] local.INFO: GPS data processed {"connection_id":130452,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:52:20] local.INFO: Acknowledgment sent {"connection_id":130452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:52:40] local.INFO: TCP Data received {"connection_id":131251,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:52:40] local.INFO: Processing buffer {"connection_id":131251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:52:40] local.INFO: IMEI packet received {"connection_id":131251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":131251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:52:44] local.INFO: TCP Data received {"connection_id":130240,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130240,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:52:44] local.INFO: Processing buffer {"connection_id":130240,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:52:44] local.INFO: IMEI packet received {"connection_id":130240,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 10:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":130240,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:52:45] local.INFO: TCP Data received {"connection_id":131251,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:52:46] local.INFO: Processing buffer {"connection_id":131251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:52:46] local.INFO: IMEI packet received {"connection_id":131251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":131251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:52:48] local.INFO: TCP Data received {"connection_id":130240,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130240,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:52:48] local.INFO: Processing buffer {"connection_id":130240,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:52:48] local.INFO: IMEI packet received {"connection_id":130240,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 10:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":130240,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:52:49] local.INFO: TCP Data received {"connection_id":131251,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:52:49] local.INFO: Processing buffer {"connection_id":131251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:52:49] local.INFO: Packet analysis {"connection_id":131251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e8"} 
[2026-07-13 10:52:49] local.INFO: Extracted packet for processing {"connection_id":131251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e8"} 
[2026-07-13 10:52:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":7,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683404800001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783919851000,"timestamp_ms":1783919851000,"timestamp_seconds":1783919851,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e8b5f8"} 
[2026-07-13 10:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:52: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-07-13 10:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683404800001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683404800001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:52:49] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:52:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683404800001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":131251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:52:49] local.INFO: GPS data processed {"connection_id":131251,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:52:49] local.INFO: Acknowledgment sent {"connection_id":131251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:52:49] local.INFO: TCP Data received {"connection_id":130240,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ec4bf0012d7bbd8005ddb3b8000000bb1b..."} 
[2026-07-13 10:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ec4bf0012d7bbd8005ddb3b8000000bb1b..."} 
[2026-07-13 10:52:49] local.INFO: Processing buffer {"connection_id":130240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ec4bf0012d7bbd8005ddb3b8000000bb1b..."} 
[2026-07-13 10:52:49] local.INFO: Packet analysis {"connection_id":130240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ec"} 
[2026-07-13 10:52:49] local.INFO: Extracted packet for processing {"connection_id":130240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ec"} 
[2026-07-13 10:52:49] local.INFO: GPS Element Parsed {"raw_longitude":763084160,"raw_latitude":98415544,"longitude_deg":76.308416,"latitude_deg":9.8415544,"altitude":0,"angle":187,"satellites":27,"speed":0,"hex_longitude":"2d7bbd80","hex_latitude":"05ddb3b8","is_valid_coordinates":true} 
[2026-07-13 10:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683464960001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 10:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916564337434601472,"note":"Value kept but may cause issues"} 
[2026-07-13 10:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783920086000,"timestamp_ms":1783920086000,"timestamp_seconds":1783920086,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ec4bf0"} 
[2026-07-13 10:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 10:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 10:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 10:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683464960001,"66":12819,"33":206,"85":15104,"24":0,"16":105737353183625216,"45":8916564337434601472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-13 10:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 10:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 10:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683464960001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:52:49] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-13 10:52:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 10:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916564337434601472,"description":"Unknown IO ID 45"} 
[2026-07-13 10:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683464960001,"power":12819,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916564337434601472}} 
[2026-07-13 10:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":130240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:52:49] local.INFO: GPS data processed {"connection_id":130240,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:52:49] local.INFO: Acknowledgment sent {"connection_id":130240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:52:57] local.INFO: TCP Data received {"connection_id":131251,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:52:57] local.INFO: Processing buffer {"connection_id":131251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59e8b5f8012d7f914005afd9380007011b20..."} 
[2026-07-13 10:52:57] local.INFO: Packet analysis {"connection_id":131251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59e8"} 
[2026-07-13 10:52:57] local.INFO: Extracted packet for processing {"connection_id":131251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59e8"} 
[2026-07-13 10:52:57] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":7,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683404800001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783919851000,"timestamp_ms":1783919851000,"timestamp_seconds":1783919851,"priority":1,"record_length":96,"hex_timestamp":"0000019f59e8b5f8"} 
[2026-07-13 10:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":131251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":131251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":131251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683404800001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683404800001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:52:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:52:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683404800001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":131251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:52:57] local.INFO: GPS data processed {"connection_id":131251,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:52:57] local.INFO: Acknowledgment sent {"connection_id":131251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:53:25] local.INFO: TCP Data received {"connection_id":130240,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ec4bf0012d7bbd8005ddb3b8000000bb1b..."} 
[2026-07-13 10:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ec4bf0012d7bbd8005ddb3b8000000bb1b..."} 
[2026-07-13 10:53:25] local.INFO: Processing buffer {"connection_id":130240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ec4bf0012d7bbd8005ddb3b8000000bb1b..."} 
[2026-07-13 10:53:25] local.INFO: Packet analysis {"connection_id":130240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ec"} 
[2026-07-13 10:53:25] local.INFO: Extracted packet for processing {"connection_id":130240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ec"} 
[2026-07-13 10:53:25] local.INFO: GPS Element Parsed {"raw_longitude":763084160,"raw_latitude":98415544,"longitude_deg":76.308416,"latitude_deg":9.8415544,"altitude":0,"angle":187,"satellites":27,"speed":0,"hex_longitude":"2d7bbd80","hex_latitude":"05ddb3b8","is_valid_coordinates":true} 
[2026-07-13 10: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-07-13 10:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683464960001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 10:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916564337434601472,"note":"Value kept but may cause issues"} 
[2026-07-13 10:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783920086000,"timestamp_ms":1783920086000,"timestamp_seconds":1783920086,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ec4bf0"} 
[2026-07-13 10:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 10:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10: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-07-13 10:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":130240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":130240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":130240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 10:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 10:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683464960001,"66":12819,"33":206,"85":15104,"24":0,"16":105737353183625216,"45":8916564337434601472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-13 10:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 10:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 10:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683464960001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:53:25] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-13 10:53:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 10:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916564337434601472,"description":"Unknown IO ID 45"} 
[2026-07-13 10:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683464960001,"power":12819,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916564337434601472}} 
[2026-07-13 10:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":130240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479634,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:53:25] local.INFO: GPS data processed {"connection_id":130240,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:53:25] local.INFO: Acknowledgment sent {"connection_id":130240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:53:35] local.INFO: TCP Data received {"connection_id":132584,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:53:35] local.INFO: Processing buffer {"connection_id":132584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:53:35] local.INFO: IMEI packet received {"connection_id":132584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":132584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:53:40] local.INFO: TCP Data received {"connection_id":132584,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:53:40] local.INFO: Processing buffer {"connection_id":132584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:53:40] local.INFO: IMEI packet received {"connection_id":132584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":132584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:53:42] local.INFO: TCP Data received {"connection_id":132584,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ed4dc0012d7f914005afd938000a011b20..."} 
[2026-07-13 10:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ed4dc0012d7f914005afd938000a011b20..."} 
[2026-07-13 10:53:42] local.INFO: Processing buffer {"connection_id":132584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ed4dc0012d7f914005afd938000a011b20..."} 
[2026-07-13 10:53:42] local.INFO: Packet analysis {"connection_id":132584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ed"} 
[2026-07-13 10:53:42] local.INFO: Extracted packet for processing {"connection_id":132584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ed"} 
[2026-07-13 10:53:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683481856001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783920152000,"timestamp_ms":1783920152000,"timestamp_seconds":1783920152,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ed4dc0"} 
[2026-07-13 10:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683481856001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 10:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683481856001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:53:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 10:53:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683481856001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":132584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:53:42] local.INFO: GPS data processed {"connection_id":132584,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:53:42] local.INFO: Acknowledgment sent {"connection_id":132584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:53:43] local.INFO: TCP Data received {"connection_id":131253,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:53:43] local.INFO: Processing buffer {"connection_id":131253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:53:43] local.INFO: IMEI packet received {"connection_id":131253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 10:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":131253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:53:48] local.INFO: TCP Data received {"connection_id":131253,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:53:48] local.INFO: Processing buffer {"connection_id":131253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:53:48] local.INFO: IMEI packet received {"connection_id":131253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 10:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":131253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:53:49] local.INFO: TCP Data received {"connection_id":131253,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ec4bf0012d7bbd8005ddb3b8000000bb1b..."} 
[2026-07-13 10:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ec4bf0012d7bbd8005ddb3b8000000bb1b..."} 
[2026-07-13 10:53:49] local.INFO: Processing buffer {"connection_id":131253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ec4bf0012d7bbd8005ddb3b8000000bb1b..."} 
[2026-07-13 10:53:49] local.INFO: Packet analysis {"connection_id":131253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ec"} 
[2026-07-13 10:53:49] local.INFO: Extracted packet for processing {"connection_id":131253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ec"} 
[2026-07-13 10:53:49] local.INFO: GPS Element Parsed {"raw_longitude":763084160,"raw_latitude":98415544,"longitude_deg":76.308416,"latitude_deg":9.8415544,"altitude":0,"angle":187,"satellites":27,"speed":0,"hex_longitude":"2d7bbd80","hex_latitude":"05ddb3b8","is_valid_coordinates":true} 
[2026-07-13 10: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-07-13 10:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683464960001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 10:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916564337434601472,"note":"Value kept but may cause issues"} 
[2026-07-13 10:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783920086000,"timestamp_ms":1783920086000,"timestamp_seconds":1783920086,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ec4bf0"} 
[2026-07-13 10:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 10:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10: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-07-13 10:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 10:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 10:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683464960001,"66":12819,"33":206,"85":15104,"24":0,"16":105737353183625216,"45":8916564337434601472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-13 10:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 10:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 10:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683464960001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:53:49] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-13 10:53:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 10:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916564337434601472,"description":"Unknown IO ID 45"} 
[2026-07-13 10:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683464960001,"power":12819,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916564337434601472}} 
[2026-07-13 10:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":131253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479636,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:53:49] local.INFO: GPS data processed {"connection_id":131253,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:53:49] local.INFO: Acknowledgment sent {"connection_id":131253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:54:13] local.INFO: TCP Data received {"connection_id":132584,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ed4dc0012d7f914005afd938000a011b20..."} 
[2026-07-13 10:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ed4dc0012d7f914005afd938000a011b20..."} 
[2026-07-13 10:54:13] local.INFO: Processing buffer {"connection_id":132584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ed4dc0012d7f914005afd938000a011b20..."} 
[2026-07-13 10:54:13] local.INFO: Packet analysis {"connection_id":132584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ed"} 
[2026-07-13 10:54:13] local.INFO: Extracted packet for processing {"connection_id":132584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ed"} 
[2026-07-13 10:54:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683481856001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783920152000,"timestamp_ms":1783920152000,"timestamp_seconds":1783920152,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ed4dc0"} 
[2026-07-13 10:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683481856001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 10:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683481856001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:54:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 10:54:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683481856001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":132584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:54:13] local.INFO: GPS data processed {"connection_id":132584,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:54:13] local.INFO: Acknowledgment sent {"connection_id":132584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:54:20] local.INFO: TCP Data received {"connection_id":131253,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ec4bf0012d7bbd8005ddb3b8000000bb1b..."} 
[2026-07-13 10:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ec4bf0012d7bbd8005ddb3b8000000bb1b..."} 
[2026-07-13 10:54:20] local.INFO: Processing buffer {"connection_id":131253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ec4bf0012d7bbd8005ddb3b8000000bb1b..."} 
[2026-07-13 10:54:20] local.INFO: Packet analysis {"connection_id":131253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ec"} 
[2026-07-13 10:54:20] local.INFO: Extracted packet for processing {"connection_id":131253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ec"} 
[2026-07-13 10:54:20] local.INFO: GPS Element Parsed {"raw_longitude":763084160,"raw_latitude":98415544,"longitude_deg":76.308416,"latitude_deg":9.8415544,"altitude":0,"angle":187,"satellites":27,"speed":0,"hex_longitude":"2d7bbd80","hex_latitude":"05ddb3b8","is_valid_coordinates":true} 
[2026-07-13 10:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683464960001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 10:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916564337434601472,"note":"Value kept but may cause issues"} 
[2026-07-13 10:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783920086000,"timestamp_ms":1783920086000,"timestamp_seconds":1783920086,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ec4bf0"} 
[2026-07-13 10:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 10:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":131253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":131253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":131253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 10:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 10:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683464960001,"66":12819,"33":206,"85":15104,"24":0,"16":105737353183625216,"45":8916564337434601472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-13 10:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 10:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 10:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683464960001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:54:20] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-13 10:54:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 10:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916564337434601472,"description":"Unknown IO ID 45"} 
[2026-07-13 10:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683464960001,"power":12819,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916564337434601472}} 
[2026-07-13 10:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":131253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479638,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:54:20] local.INFO: GPS data processed {"connection_id":131253,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:54:20] local.INFO: Acknowledgment sent {"connection_id":131253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:54:35] local.INFO: TCP Data received {"connection_id":131254,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:54:35] local.INFO: Processing buffer {"connection_id":131254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:54:35] local.INFO: IMEI packet received {"connection_id":131254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":131254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:54:40] local.INFO: TCP Data received {"connection_id":131254,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:54:40] local.INFO: Processing buffer {"connection_id":131254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:54:40] local.INFO: IMEI packet received {"connection_id":131254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":131254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:54:41] local.INFO: TCP Data received {"connection_id":131254,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ed4dc0012d7f914005afd938000a011b20..."} 
[2026-07-13 10:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ed4dc0012d7f914005afd938000a011b20..."} 
[2026-07-13 10:54:41] local.INFO: Processing buffer {"connection_id":131254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ed4dc0012d7f914005afd938000a011b20..."} 
[2026-07-13 10:54:41] local.INFO: Packet analysis {"connection_id":131254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ed"} 
[2026-07-13 10:54:41] local.INFO: Extracted packet for processing {"connection_id":131254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ed"} 
[2026-07-13 10:54:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683481856001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783920152000,"timestamp_ms":1783920152000,"timestamp_seconds":1783920152,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ed4dc0"} 
[2026-07-13 10:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683481856001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 10:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683481856001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:54:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 10:54:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683481856001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":131254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:54:41] local.INFO: GPS data processed {"connection_id":131254,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:54:41] local.INFO: Acknowledgment sent {"connection_id":131254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:54:43] local.INFO: TCP Data received {"connection_id":131255,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131255,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:54:43] local.INFO: Processing buffer {"connection_id":131255,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:54:43] local.INFO: IMEI packet received {"connection_id":131255,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 10:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":131255,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:54:48] local.INFO: TCP Data received {"connection_id":131255,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131255,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:54:48] local.INFO: Processing buffer {"connection_id":131255,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:54:48] local.INFO: IMEI packet received {"connection_id":131255,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 10:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":131255,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:54:49] local.INFO: TCP Data received {"connection_id":131255,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ec4bf0012d7bbd8005ddb3b8000000bb1b..."} 
[2026-07-13 10:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ec4bf0012d7bbd8005ddb3b8000000bb1b..."} 
[2026-07-13 10:54:49] local.INFO: Processing buffer {"connection_id":131255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ec4bf0012d7bbd8005ddb3b8000000bb1b..."} 
[2026-07-13 10:54:49] local.INFO: Packet analysis {"connection_id":131255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ec"} 
[2026-07-13 10:54:49] local.INFO: Extracted packet for processing {"connection_id":131255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ec"} 
[2026-07-13 10:54:49] local.INFO: GPS Element Parsed {"raw_longitude":763084160,"raw_latitude":98415544,"longitude_deg":76.308416,"latitude_deg":9.8415544,"altitude":0,"angle":187,"satellites":27,"speed":0,"hex_longitude":"2d7bbd80","hex_latitude":"05ddb3b8","is_valid_coordinates":true} 
[2026-07-13 10:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683464960001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 10:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916564337434601472,"note":"Value kept but may cause issues"} 
[2026-07-13 10:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783920086000,"timestamp_ms":1783920086000,"timestamp_seconds":1783920086,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ec4bf0"} 
[2026-07-13 10:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 10:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 10:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 10:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683464960001,"66":12819,"33":206,"85":15104,"24":0,"16":105737353183625216,"45":8916564337434601472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-13 10:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 10:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 10:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683464960001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:54:49] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-13 10:54:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 10:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916564337434601472,"description":"Unknown IO ID 45"} 
[2026-07-13 10:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683464960001,"power":12819,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916564337434601472}} 
[2026-07-13 10:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":131255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479640,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:54:49] local.INFO: GPS data processed {"connection_id":131255,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:54:49] local.INFO: Acknowledgment sent {"connection_id":131255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:55:10] local.INFO: TCP Data received {"connection_id":130241,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130241,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:55:10] local.INFO: Processing buffer {"connection_id":130241,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:55:10] local.INFO: IMEI packet received {"connection_id":130241,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 10:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":130241,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:55:12] local.INFO: TCP Data received {"connection_id":131254,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ed4dc0012d7f914005afd938000a011b20..."} 
[2026-07-13 10:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ed4dc0012d7f914005afd938000a011b20..."} 
[2026-07-13 10:55:12] local.INFO: Processing buffer {"connection_id":131254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ed4dc0012d7f914005afd938000a011b20..."} 
[2026-07-13 10:55:12] local.INFO: Packet analysis {"connection_id":131254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ed"} 
[2026-07-13 10:55:12] local.INFO: Extracted packet for processing {"connection_id":131254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ed"} 
[2026-07-13 10:55:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683481856001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783920152000,"timestamp_ms":1783920152000,"timestamp_seconds":1783920152,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ed4dc0"} 
[2026-07-13 10:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683481856001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 10:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683481856001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:55:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 10:55:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683481856001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":131254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:55:12] local.INFO: GPS data processed {"connection_id":131254,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:55:12] local.INFO: Acknowledgment sent {"connection_id":131254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:55:20] local.INFO: TCP Data received {"connection_id":131255,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ec4bf0012d7bbd8005ddb3b8000000bb1b..."} 
[2026-07-13 10:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ec4bf0012d7bbd8005ddb3b8000000bb1b..."} 
[2026-07-13 10:55:20] local.INFO: Processing buffer {"connection_id":131255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ec4bf0012d7bbd8005ddb3b8000000bb1b..."} 
[2026-07-13 10:55:20] local.INFO: Packet analysis {"connection_id":131255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ec"} 
[2026-07-13 10:55:20] local.INFO: Extracted packet for processing {"connection_id":131255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ec"} 
[2026-07-13 10:55:20] local.INFO: GPS Element Parsed {"raw_longitude":763084160,"raw_latitude":98415544,"longitude_deg":76.308416,"latitude_deg":9.8415544,"altitude":0,"angle":187,"satellites":27,"speed":0,"hex_longitude":"2d7bbd80","hex_latitude":"05ddb3b8","is_valid_coordinates":true} 
[2026-07-13 10: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-07-13 10:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683464960001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 10:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916564337434601472,"note":"Value kept but may cause issues"} 
[2026-07-13 10:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783920086000,"timestamp_ms":1783920086000,"timestamp_seconds":1783920086,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ec4bf0"} 
[2026-07-13 10:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 10:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10: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-07-13 10:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":131255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":131255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":131255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 10:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 10:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683464960001,"66":12819,"33":206,"85":15104,"24":0,"16":105737353183625216,"45":8916564337434601472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-13 10:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 10:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 10:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683464960001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:55:20] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-13 10:55:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 10:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916564337434601472,"description":"Unknown IO ID 45"} 
[2026-07-13 10:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683464960001,"power":12819,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916564337434601472}} 
[2026-07-13 10:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":131255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479642,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:55:20] local.INFO: GPS data processed {"connection_id":131255,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:55:20] local.INFO: Acknowledgment sent {"connection_id":131255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:55:35] local.INFO: TCP Data received {"connection_id":131256,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:55:35] local.INFO: Processing buffer {"connection_id":131256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:55:35] local.INFO: IMEI packet received {"connection_id":131256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":131256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:55:40] local.INFO: TCP Data received {"connection_id":131256,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:55:40] local.INFO: Processing buffer {"connection_id":131256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:55:40] local.INFO: IMEI packet received {"connection_id":131256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":131256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:55:40] local.INFO: TCP Data received {"connection_id":130242,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130242,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:55:40] local.INFO: Processing buffer {"connection_id":130242,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 10:55:40] local.INFO: IMEI packet received {"connection_id":130242,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 10:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":130242,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:55:41] local.INFO: TCP Data received {"connection_id":131256,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ed4dc0012d7f914005afd938000a011b20..."} 
[2026-07-13 10:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ed4dc0012d7f914005afd938000a011b20..."} 
[2026-07-13 10:55:41] local.INFO: Processing buffer {"connection_id":131256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ed4dc0012d7f914005afd938000a011b20..."} 
[2026-07-13 10:55:41] local.INFO: Packet analysis {"connection_id":131256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ed"} 
[2026-07-13 10:55:41] local.INFO: Extracted packet for processing {"connection_id":131256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ed"} 
[2026-07-13 10:55:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10: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-07-13 10:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683481856001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783920152000,"timestamp_ms":1783920152000,"timestamp_seconds":1783920152,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ed4dc0"} 
[2026-07-13 10:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10: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-07-13 10:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683481856001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 10:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683481856001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:55:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 10:55:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683481856001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":131256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:55:41] local.INFO: GPS data processed {"connection_id":131256,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:55:41] local.INFO: Acknowledgment sent {"connection_id":131256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:55:48] local.INFO: TCP Data received {"connection_id":130453,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:55:48] local.INFO: Processing buffer {"connection_id":130453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:55:48] local.INFO: IMEI packet received {"connection_id":130453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 10:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":130453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:55:53] local.INFO: TCP Data received {"connection_id":130453,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:55:53] local.INFO: Processing buffer {"connection_id":130453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 10:55:53] local.INFO: IMEI packet received {"connection_id":130453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 10:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":130453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:55:54] local.INFO: TCP Data received {"connection_id":130453,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ec4bf0012d7bbd8005ddb3b8000000bb1b..."} 
[2026-07-13 10:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ec4bf0012d7bbd8005ddb3b8000000bb1b..."} 
[2026-07-13 10:55:54] local.INFO: Processing buffer {"connection_id":130453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ec4bf0012d7bbd8005ddb3b8000000bb1b..."} 
[2026-07-13 10:55:54] local.INFO: Packet analysis {"connection_id":130453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ec"} 
[2026-07-13 10:55:54] local.INFO: Extracted packet for processing {"connection_id":130453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ec"} 
[2026-07-13 10:55:54] local.INFO: GPS Element Parsed {"raw_longitude":763084160,"raw_latitude":98415544,"longitude_deg":76.308416,"latitude_deg":9.8415544,"altitude":0,"angle":187,"satellites":27,"speed":0,"hex_longitude":"2d7bbd80","hex_latitude":"05ddb3b8","is_valid_coordinates":true} 
[2026-07-13 10:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683464960001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 10:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916564337434601472,"note":"Value kept but may cause issues"} 
[2026-07-13 10:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783920086000,"timestamp_ms":1783920086000,"timestamp_seconds":1783920086,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ec4bf0"} 
[2026-07-13 10:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 10:55: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-07-13 10:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 10:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 10:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683464960001,"66":12819,"33":206,"85":15104,"24":0,"16":105737353183625216,"45":8916564337434601472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-13 10:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 10:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 10:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683464960001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:55:54] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-13 10:55:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 10:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916564337434601472,"description":"Unknown IO ID 45"} 
[2026-07-13 10:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683464960001,"power":12819,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916564337434601472}} 
[2026-07-13 10:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":130453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479644,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:55:54] local.INFO: GPS data processed {"connection_id":130453,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:55:54] local.INFO: Acknowledgment sent {"connection_id":130453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:55:58] local.INFO: TCP Data received {"connection_id":130453,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ec4bf0012d7bbd8005ddb3b8000000bb1b..."} 
[2026-07-13 10:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ec4bf0012d7bbd8005ddb3b8000000bb1b..."} 
[2026-07-13 10:55:58] local.INFO: Processing buffer {"connection_id":130453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ec4bf0012d7bbd8005ddb3b8000000bb1b..."} 
[2026-07-13 10:55:58] local.INFO: Packet analysis {"connection_id":130453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ec"} 
[2026-07-13 10:55:58] local.INFO: Extracted packet for processing {"connection_id":130453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ec"} 
[2026-07-13 10:55:58] local.INFO: GPS Element Parsed {"raw_longitude":763084160,"raw_latitude":98415544,"longitude_deg":76.308416,"latitude_deg":9.8415544,"altitude":0,"angle":187,"satellites":27,"speed":0,"hex_longitude":"2d7bbd80","hex_latitude":"05ddb3b8","is_valid_coordinates":true} 
[2026-07-13 10:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683464960001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 10:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916564337434601472,"note":"Value kept but may cause issues"} 
[2026-07-13 10:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783920086000,"timestamp_ms":1783920086000,"timestamp_seconds":1783920086,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ec4bf0"} 
[2026-07-13 10:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 10:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:55:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 10:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 10:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 10:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683464960001,"66":12819,"33":206,"85":15104,"24":0,"16":105737353183625216,"45":8916564337434601472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-07-13 10:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 10:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 10:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683464960001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:55:58] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-13 10:55:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 10:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916564337434601472,"description":"Unknown IO ID 45"} 
[2026-07-13 10:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683464960001,"power":12819,"unknown_33":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916564337434601472}} 
[2026-07-13 10:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":130453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479645,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:55:58] local.INFO: GPS data processed {"connection_id":130453,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:55:58] local.INFO: Acknowledgment sent {"connection_id":130453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:56:12] local.INFO: TCP Data received {"connection_id":131256,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ed4dc0012d7f914005afd938000a011b20..."} 
[2026-07-13 10:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ed4dc0012d7f914005afd938000a011b20..."} 
[2026-07-13 10:56:12] local.INFO: Processing buffer {"connection_id":131256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ed4dc0012d7f914005afd938000a011b20..."} 
[2026-07-13 10:56:12] local.INFO: Packet analysis {"connection_id":131256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ed"} 
[2026-07-13 10:56:12] local.INFO: Extracted packet for processing {"connection_id":131256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ed"} 
[2026-07-13 10:56:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683481856001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783920152000,"timestamp_ms":1783920152000,"timestamp_seconds":1783920152,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ed4dc0"} 
[2026-07-13 10:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683481856001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 10:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683481856001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:56:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 10:56:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683481856001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":131256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:56:12] local.INFO: GPS data processed {"connection_id":131256,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:56:12] local.INFO: Acknowledgment sent {"connection_id":131256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:56:35] local.INFO: TCP Data received {"connection_id":131257,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:56:35] local.INFO: Processing buffer {"connection_id":131257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:56:35] local.INFO: IMEI packet received {"connection_id":131257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":131257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:56:40] local.INFO: TCP Data received {"connection_id":131257,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:56:40] local.INFO: Processing buffer {"connection_id":131257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:56:40] local.INFO: IMEI packet received {"connection_id":131257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":131257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:56:41] local.INFO: TCP Data received {"connection_id":131257,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ed4dc0012d7f914005afd938000a011b20..."} 
[2026-07-13 10:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ed4dc0012d7f914005afd938000a011b20..."} 
[2026-07-13 10:56:41] local.INFO: Processing buffer {"connection_id":131257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ed4dc0012d7f914005afd938000a011b20..."} 
[2026-07-13 10:56:41] local.INFO: Packet analysis {"connection_id":131257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ed"} 
[2026-07-13 10:56:41] local.INFO: Extracted packet for processing {"connection_id":131257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ed"} 
[2026-07-13 10:56:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683481856001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783920152000,"timestamp_ms":1783920152000,"timestamp_seconds":1783920152,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ed4dc0"} 
[2026-07-13 10:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683481856001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 10:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683481856001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:56:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 10:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683481856001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":131257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:56:41] local.INFO: GPS data processed {"connection_id":131257,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:56:41] local.INFO: Acknowledgment sent {"connection_id":131257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:57:13] local.INFO: TCP Data received {"connection_id":131257,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ed4dc0012d7f914005afd938000a011b20..."} 
[2026-07-13 10:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ed4dc0012d7f914005afd938000a011b20..."} 
[2026-07-13 10:57:13] local.INFO: Processing buffer {"connection_id":131257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ed4dc0012d7f914005afd938000a011b20..."} 
[2026-07-13 10:57:13] local.INFO: Packet analysis {"connection_id":131257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ed"} 
[2026-07-13 10:57:13] local.INFO: Extracted packet for processing {"connection_id":131257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ed"} 
[2026-07-13 10:57:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683481856001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783920152000,"timestamp_ms":1783920152000,"timestamp_seconds":1783920152,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ed4dc0"} 
[2026-07-13 10:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683481856001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 10:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683481856001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:57:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 10:57:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683481856001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":131257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:57:13] local.INFO: GPS data processed {"connection_id":131257,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:57:13] local.INFO: Acknowledgment sent {"connection_id":131257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:57:35] local.INFO: TCP Data received {"connection_id":132587,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:57:35] local.INFO: Processing buffer {"connection_id":132587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:57:35] local.INFO: IMEI packet received {"connection_id":132587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":132587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:57:40] local.INFO: TCP Data received {"connection_id":132587,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:57:40] local.INFO: Processing buffer {"connection_id":132587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:57:40] local.INFO: IMEI packet received {"connection_id":132587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":132587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:57:41] local.INFO: TCP Data received {"connection_id":132587,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ed4dc0012d7f914005afd938000a011b20..."} 
[2026-07-13 10:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ed4dc0012d7f914005afd938000a011b20..."} 
[2026-07-13 10:57:41] local.INFO: Processing buffer {"connection_id":132587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ed4dc0012d7f914005afd938000a011b20..."} 
[2026-07-13 10:57:41] local.INFO: Packet analysis {"connection_id":132587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ed"} 
[2026-07-13 10:57:41] local.INFO: Extracted packet for processing {"connection_id":132587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ed"} 
[2026-07-13 10:57:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683481856001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783920152000,"timestamp_ms":1783920152000,"timestamp_seconds":1783920152,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ed4dc0"} 
[2026-07-13 10:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683481856001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 10:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683481856001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:57:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 10:57:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683481856001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":132587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:57:41] local.INFO: GPS data processed {"connection_id":132587,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:57:41] local.INFO: Acknowledgment sent {"connection_id":132587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:58:12] local.INFO: TCP Data received {"connection_id":132587,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 10:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 10:58:12] local.INFO: Processing buffer {"connection_id":132587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 10:58:12] local.INFO: Packet analysis {"connection_id":132587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59f1"} 
[2026-07-13 10:58:12] local.INFO: Extracted packet for processing {"connection_id":132587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59f1"} 
[2026-07-13 10:58:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683558912001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783920453000,"timestamp_ms":1783920453000,"timestamp_seconds":1783920453,"priority":1,"record_length":96,"hex_timestamp":"0000019f59f1e588"} 
[2026-07-13 10:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683558912001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683558912001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:58:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:58:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683558912001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":132587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:58:12] local.INFO: GPS data processed {"connection_id":132587,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:58:12] local.INFO: Acknowledgment sent {"connection_id":132587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:58:40] local.INFO: TCP Data received {"connection_id":130455,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:58:40] local.INFO: Processing buffer {"connection_id":130455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:58:40] local.INFO: IMEI packet received {"connection_id":130455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":130455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:58:45] local.INFO: TCP Data received {"connection_id":130455,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:58:45] local.INFO: Processing buffer {"connection_id":130455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:58:45] local.INFO: IMEI packet received {"connection_id":130455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":130455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:58:46] local.INFO: TCP Data received {"connection_id":130455,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 10:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 10:58:46] local.INFO: Processing buffer {"connection_id":130455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 10:58:46] local.INFO: Packet analysis {"connection_id":130455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59f1"} 
[2026-07-13 10:58:46] local.INFO: Extracted packet for processing {"connection_id":130455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59f1"} 
[2026-07-13 10:58:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683558912001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783920453000,"timestamp_ms":1783920453000,"timestamp_seconds":1783920453,"priority":1,"record_length":96,"hex_timestamp":"0000019f59f1e588"} 
[2026-07-13 10:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683558912001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683558912001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:58:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:58:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683558912001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":130455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:58:46] local.INFO: GPS data processed {"connection_id":130455,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:58:46] local.INFO: Acknowledgment sent {"connection_id":130455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:59:17] local.INFO: TCP Data received {"connection_id":130455,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 10:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 10:59:17] local.INFO: Processing buffer {"connection_id":130455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 10:59:17] local.INFO: Packet analysis {"connection_id":130455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59f1"} 
[2026-07-13 10:59:17] local.INFO: Extracted packet for processing {"connection_id":130455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59f1"} 
[2026-07-13 10:59:17] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10: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-07-13 10:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683558912001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783920453000,"timestamp_ms":1783920453000,"timestamp_seconds":1783920453,"priority":1,"record_length":96,"hex_timestamp":"0000019f59f1e588"} 
[2026-07-13 10:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10: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-07-13 10:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683558912001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683558912001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:59:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:59:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683558912001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":130455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:59:17] local.INFO: GPS data processed {"connection_id":130455,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:59:17] local.INFO: Acknowledgment sent {"connection_id":130455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 10:59:35] local.INFO: TCP Data received {"connection_id":131259,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:59:35] local.INFO: Processing buffer {"connection_id":131259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:59:35] local.INFO: IMEI packet received {"connection_id":131259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 10:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":131259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 10:59:40] local.INFO: TCP Data received {"connection_id":131259,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:59:40] local.INFO: Processing buffer {"connection_id":131259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 10:59:40] local.INFO: IMEI packet received {"connection_id":131259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 10:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":131259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 10:59:41] local.INFO: TCP Data received {"connection_id":131259,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 10:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 10:59:41] local.INFO: Processing buffer {"connection_id":131259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 10:59:41] local.INFO: Packet analysis {"connection_id":131259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59f1"} 
[2026-07-13 10:59:41] local.INFO: Extracted packet for processing {"connection_id":131259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59f1"} 
[2026-07-13 10:59:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 10:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 10:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683558912001,"note":"Value kept but may cause issues"} 
[2026-07-13 10:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 10:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 10:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 10:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783920453000,"timestamp_ms":1783920453000,"timestamp_seconds":1783920453,"priority":1,"record_length":96,"hex_timestamp":"0000019f59f1e588"} 
[2026-07-13 10:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 10:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 10:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 10:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 10:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 10:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 10:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 10:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 10:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 10:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 10:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 10:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 10:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683558912001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 10:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 10:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 10:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683558912001,"description":"Unknown IO ID 0"} 
[2026-07-13 10:59:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 10:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 10:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 10:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 10:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683558912001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 10:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":131259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 10:59:41] local.INFO: GPS data processed {"connection_id":131259,"processed":1,"errors":0,"total":1} 
[2026-07-13 10:59:41] local.INFO: Acknowledgment sent {"connection_id":131259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:00:12] local.INFO: TCP Data received {"connection_id":131259,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 11:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 11:00:12] local.INFO: Processing buffer {"connection_id":131259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 11:00:12] local.INFO: Packet analysis {"connection_id":131259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59f1"} 
[2026-07-13 11:00:12] local.INFO: Extracted packet for processing {"connection_id":131259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59f1"} 
[2026-07-13 11:00:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683558912001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783920453000,"timestamp_ms":1783920453000,"timestamp_seconds":1783920453,"priority":1,"record_length":96,"hex_timestamp":"0000019f59f1e588"} 
[2026-07-13 11:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683558912001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683558912001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:00:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:00:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683558912001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":131259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:00:12] local.INFO: GPS data processed {"connection_id":131259,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:00:12] local.INFO: Acknowledgment sent {"connection_id":131259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:00:35] local.INFO: TCP Data received {"connection_id":130243,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:00:35] local.INFO: Processing buffer {"connection_id":130243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:00:35] local.INFO: IMEI packet received {"connection_id":130243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":130243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:00:40] local.INFO: TCP Data received {"connection_id":130243,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:00:40] local.INFO: Processing buffer {"connection_id":130243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:00:40] local.INFO: IMEI packet received {"connection_id":130243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":130243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:00:41] local.INFO: TCP Data received {"connection_id":130243,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 11:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 11:00:41] local.INFO: Processing buffer {"connection_id":130243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 11:00:41] local.INFO: Packet analysis {"connection_id":130243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59f1"} 
[2026-07-13 11:00:41] local.INFO: Extracted packet for processing {"connection_id":130243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59f1"} 
[2026-07-13 11:00:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683558912001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783920453000,"timestamp_ms":1783920453000,"timestamp_seconds":1783920453,"priority":1,"record_length":96,"hex_timestamp":"0000019f59f1e588"} 
[2026-07-13 11:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683558912001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683558912001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:00:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:00:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683558912001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":130243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:00:41] local.INFO: GPS data processed {"connection_id":130243,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:00:41] local.INFO: Acknowledgment sent {"connection_id":130243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:00:55] local.INFO: TCP Data received {"connection_id":130244,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:00:55] local.INFO: Processing buffer {"connection_id":130244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:00:55] local.INFO: IMEI packet received {"connection_id":130244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 11:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":130244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:01:12] local.INFO: TCP Data received {"connection_id":130243,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 11:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 11:01:12] local.INFO: Processing buffer {"connection_id":130243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 11:01:12] local.INFO: Packet analysis {"connection_id":130243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59f1"} 
[2026-07-13 11:01:12] local.INFO: Extracted packet for processing {"connection_id":130243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59f1"} 
[2026-07-13 11:01:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683558912001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783920453000,"timestamp_ms":1783920453000,"timestamp_seconds":1783920453,"priority":1,"record_length":96,"hex_timestamp":"0000019f59f1e588"} 
[2026-07-13 11:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683558912001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683558912001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:01:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:01:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683558912001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":130243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:01:12] local.INFO: GPS data processed {"connection_id":130243,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:01:12] local.INFO: Acknowledgment sent {"connection_id":130243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:01:35] local.INFO: TCP Data received {"connection_id":131260,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:01:35] local.INFO: Processing buffer {"connection_id":131260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:01:35] local.INFO: IMEI packet received {"connection_id":131260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":131260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:01:40] local.INFO: TCP Data received {"connection_id":131260,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:01:40] local.INFO: Processing buffer {"connection_id":131260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:01:40] local.INFO: IMEI packet received {"connection_id":131260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":131260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:01:41] local.INFO: TCP Data received {"connection_id":130457,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130457,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:01:41] local.INFO: Processing buffer {"connection_id":130457,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:01:41] local.INFO: IMEI packet received {"connection_id":130457,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 11:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":130457,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:01:41] local.INFO: TCP Data received {"connection_id":131260,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 11:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 11:01:41] local.INFO: Processing buffer {"connection_id":131260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 11:01:41] local.INFO: Packet analysis {"connection_id":131260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59f1"} 
[2026-07-13 11:01:41] local.INFO: Extracted packet for processing {"connection_id":131260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59f1"} 
[2026-07-13 11:01:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683558912001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783920453000,"timestamp_ms":1783920453000,"timestamp_seconds":1783920453,"priority":1,"record_length":96,"hex_timestamp":"0000019f59f1e588"} 
[2026-07-13 11:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683558912001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683558912001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:01:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:01:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683558912001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":131260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:01:41] local.INFO: GPS data processed {"connection_id":131260,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:01:41] local.INFO: Acknowledgment sent {"connection_id":131260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:02:12] local.INFO: TCP Data received {"connection_id":131260,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 11:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 11:02:12] local.INFO: Processing buffer {"connection_id":131260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 11:02:12] local.INFO: Packet analysis {"connection_id":131260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59f1"} 
[2026-07-13 11:02:12] local.INFO: Extracted packet for processing {"connection_id":131260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59f1"} 
[2026-07-13 11:02:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683558912001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783920453000,"timestamp_ms":1783920453000,"timestamp_seconds":1783920453,"priority":1,"record_length":96,"hex_timestamp":"0000019f59f1e588"} 
[2026-07-13 11:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683558912001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683558912001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:02:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:02:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683558912001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":131260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:02:12] local.INFO: GPS data processed {"connection_id":131260,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:02:12] local.INFO: Acknowledgment sent {"connection_id":131260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:02:35] local.INFO: TCP Data received {"connection_id":132589,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:02:35] local.INFO: Processing buffer {"connection_id":132589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:02:35] local.INFO: IMEI packet received {"connection_id":132589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":132589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:02:40] local.INFO: TCP Data received {"connection_id":132589,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:02:40] local.INFO: Processing buffer {"connection_id":132589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:02:40] local.INFO: IMEI packet received {"connection_id":132589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":132589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:02:41] local.INFO: TCP Data received {"connection_id":132589,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 11:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 11:02:41] local.INFO: Processing buffer {"connection_id":132589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 11:02:41] local.INFO: Packet analysis {"connection_id":132589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59f1"} 
[2026-07-13 11:02:41] local.INFO: Extracted packet for processing {"connection_id":132589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59f1"} 
[2026-07-13 11:02:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683558912001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783920453000,"timestamp_ms":1783920453000,"timestamp_seconds":1783920453,"priority":1,"record_length":96,"hex_timestamp":"0000019f59f1e588"} 
[2026-07-13 11:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683558912001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683558912001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:02:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:02:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683558912001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":132589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:02:41] local.INFO: GPS data processed {"connection_id":132589,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:02:41] local.INFO: Acknowledgment sent {"connection_id":132589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:03:12] local.INFO: TCP Data received {"connection_id":132589,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 11:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 11:03:12] local.INFO: Processing buffer {"connection_id":132589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59f1e588012d7f914005afd938000a011b24..."} 
[2026-07-13 11:03:12] local.INFO: Packet analysis {"connection_id":132589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59f1"} 
[2026-07-13 11:03:12] local.INFO: Extracted packet for processing {"connection_id":132589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59f1"} 
[2026-07-13 11:03:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683558912001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783920453000,"timestamp_ms":1783920453000,"timestamp_seconds":1783920453,"priority":1,"record_length":96,"hex_timestamp":"0000019f59f1e588"} 
[2026-07-13 11:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683558912001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683558912001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:03:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:03:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683558912001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":132589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:03:12] local.INFO: GPS data processed {"connection_id":132589,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:03:12] local.INFO: Acknowledgment sent {"connection_id":132589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:03:40] local.INFO: TCP Data received {"connection_id":132591,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:03:40] local.INFO: Processing buffer {"connection_id":132591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:03:40] local.INFO: IMEI packet received {"connection_id":132591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":132591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:03:45] local.INFO: TCP Data received {"connection_id":132591,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:03:45] local.INFO: Processing buffer {"connection_id":132591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:03:45] local.INFO: IMEI packet received {"connection_id":132591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":132591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:03:46] local.INFO: TCP Data received {"connection_id":132591,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f59f67d50012d7f914005afd9380009011b21..."} 
[2026-07-13 11:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59f67d50012d7f914005afd9380009011b21..."} 
[2026-07-13 11:03:46] local.INFO: Processing buffer {"connection_id":132591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59f67d50012d7f914005afd9380009011b21..."} 
[2026-07-13 11:03:46] local.INFO: Packet analysis {"connection_id":132591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59f6"} 
[2026-07-13 11:03:46] local.INFO: Extracted packet for processing {"connection_id":132591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59f6"} 
[2026-07-13 11:03:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":9,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683635968001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783920754000,"timestamp_ms":1783920754000,"timestamp_seconds":1783920754,"priority":1,"record_length":96,"hex_timestamp":"0000019f59f67d50"} 
[2026-07-13 11:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683635968001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683635968001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:03:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:03:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683635968001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":132591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:03:46] local.INFO: GPS data processed {"connection_id":132591,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:03:46] local.INFO: Acknowledgment sent {"connection_id":132591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:04:17] local.INFO: TCP Data received {"connection_id":132591,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f59f67d50012d7f914005afd9380009011b21..."} 
[2026-07-13 11:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59f67d50012d7f914005afd9380009011b21..."} 
[2026-07-13 11:04:17] local.INFO: Processing buffer {"connection_id":132591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59f67d50012d7f914005afd9380009011b21..."} 
[2026-07-13 11:04:17] local.INFO: Packet analysis {"connection_id":132591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59f6"} 
[2026-07-13 11:04:17] local.INFO: Extracted packet for processing {"connection_id":132591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59f6"} 
[2026-07-13 11:04:17] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":9,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683635968001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783920754000,"timestamp_ms":1783920754000,"timestamp_seconds":1783920754,"priority":1,"record_length":96,"hex_timestamp":"0000019f59f67d50"} 
[2026-07-13 11:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683635968001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683635968001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:04:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:04:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683635968001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":132591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:04:17] local.INFO: GPS data processed {"connection_id":132591,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:04:17] local.INFO: Acknowledgment sent {"connection_id":132591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:04:35] local.INFO: TCP Data received {"connection_id":130246,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:04:35] local.INFO: Processing buffer {"connection_id":130246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:04:35] local.INFO: IMEI packet received {"connection_id":130246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":130246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:04:40] local.INFO: TCP Data received {"connection_id":130246,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:04:40] local.INFO: Processing buffer {"connection_id":130246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:04:40] local.INFO: IMEI packet received {"connection_id":130246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":130246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:04:41] local.INFO: TCP Data received {"connection_id":130246,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f59f67d50012d7f914005afd9380009011b21..."} 
[2026-07-13 11:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59f67d50012d7f914005afd9380009011b21..."} 
[2026-07-13 11:04:41] local.INFO: Processing buffer {"connection_id":130246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59f67d50012d7f914005afd9380009011b21..."} 
[2026-07-13 11:04:41] local.INFO: Packet analysis {"connection_id":130246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59f6"} 
[2026-07-13 11:04:41] local.INFO: Extracted packet for processing {"connection_id":130246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59f6"} 
[2026-07-13 11:04:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":9,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683635968001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783920754000,"timestamp_ms":1783920754000,"timestamp_seconds":1783920754,"priority":1,"record_length":96,"hex_timestamp":"0000019f59f67d50"} 
[2026-07-13 11:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683635968001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683635968001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:04:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683635968001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":130246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:04:41] local.INFO: GPS data processed {"connection_id":130246,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:04:41] local.INFO: Acknowledgment sent {"connection_id":130246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:04:48] local.INFO: TCP Data received {"connection_id":132592,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:04:48] local.INFO: Processing buffer {"connection_id":132592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:04:48] local.INFO: IMEI packet received {"connection_id":132592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 11:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":132592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:04:53] local.INFO: TCP Data received {"connection_id":132592,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:04:53] local.INFO: Processing buffer {"connection_id":132592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:04:53] local.INFO: IMEI packet received {"connection_id":132592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 11:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":132592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:04:54] local.INFO: TCP Data received {"connection_id":132592,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f59f7a630012d7bbcc005ddb8880000015726..."} 
[2026-07-13 11:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59f7a630012d7bbcc005ddb8880000015726..."} 
[2026-07-13 11:04:54] local.INFO: Processing buffer {"connection_id":132592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59f7a630012d7bbcc005ddb8880000015726..."} 
[2026-07-13 11:04:54] local.INFO: Packet analysis {"connection_id":132592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59f7"} 
[2026-07-13 11:04:54] local.INFO: Extracted packet for processing {"connection_id":132592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59f7"} 
[2026-07-13 11:04:54] local.INFO: GPS Element Parsed {"raw_longitude":763083968,"raw_latitude":98416776,"longitude_deg":76.3083968,"latitude_deg":9.8416776,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d7bbcc0","hex_latitude":"05ddb888","is_valid_coordinates":true} 
[2026-07-13 11:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683727104001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 11:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916212493713967104,"note":"Value kept but may cause issues"} 
[2026-07-13 11:04: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-07-13 11:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783920830000,"timestamp_ms":1783920830000,"timestamp_seconds":1783920830,"priority":1,"record_length":96,"hex_timestamp":"0000019f59f7a630"} 
[2026-07-13 11:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 11:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-07-13 11:04:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2092,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":132592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":132592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":132592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683727104001,"66":11580,"24":0,"16":105737353183625216,"45":8916212493713967104},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-07-13 11:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683727104001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916212493713967104,"description":"Unknown IO ID 45"} 
[2026-07-13 11:04:54] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456683727104001,"power":11580,"ignition":0,"odometer":null,"unknown_45":8916212493713967104}} 
[2026-07-13 11:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":132592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479664,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:04:54] local.INFO: GPS data processed {"connection_id":132592,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:04:54] local.INFO: Acknowledgment sent {"connection_id":132592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:05:12] local.INFO: TCP Data received {"connection_id":130246,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f59f67d50012d7f914005afd9380009011b21..."} 
[2026-07-13 11:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59f67d50012d7f914005afd9380009011b21..."} 
[2026-07-13 11:05:12] local.INFO: Processing buffer {"connection_id":130246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59f67d50012d7f914005afd9380009011b21..."} 
[2026-07-13 11:05:12] local.INFO: Packet analysis {"connection_id":130246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59f6"} 
[2026-07-13 11:05:12] local.INFO: Extracted packet for processing {"connection_id":130246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59f6"} 
[2026-07-13 11:05:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":9,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683635968001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783920754000,"timestamp_ms":1783920754000,"timestamp_seconds":1783920754,"priority":1,"record_length":96,"hex_timestamp":"0000019f59f67d50"} 
[2026-07-13 11:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683635968001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683635968001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:05:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:05:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683635968001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":130246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:05:12] local.INFO: GPS data processed {"connection_id":130246,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:05:12] local.INFO: Acknowledgment sent {"connection_id":130246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:05:25] local.INFO: TCP Data received {"connection_id":132592,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f59f7b9b8012d7bbcc005ddb8880000015724..."} 
[2026-07-13 11:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59f7b9b8012d7bbcc005ddb8880000015724..."} 
[2026-07-13 11:05:25] local.INFO: Processing buffer {"connection_id":132592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59f7b9b8012d7bbcc005ddb8880000015724..."} 
[2026-07-13 11:05:25] local.INFO: Packet analysis {"connection_id":132592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59f7"} 
[2026-07-13 11:05:25] local.INFO: Extracted packet for processing {"connection_id":132592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59f7"} 
[2026-07-13 11:05:25] local.INFO: GPS Element Parsed {"raw_longitude":763083968,"raw_latitude":98416776,"longitude_deg":76.3083968,"latitude_deg":9.8416776,"altitude":0,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d7bbcc0","hex_latitude":"05ddb888","is_valid_coordinates":true} 
[2026-07-13 11:05: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-07-13 11:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683732480001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 11:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916212493713967104,"note":"Value kept but may cause issues"} 
[2026-07-13 11:05:25] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-07-13 11:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783920835000,"timestamp_ms":1783920835000,"timestamp_seconds":1783920835,"priority":1,"record_length":96,"hex_timestamp":"0000019f59f7b9b8"} 
[2026-07-13 11:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 11: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":45,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-13 11:05:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":963,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:05:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":132592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":132592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":132592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683732480001,"66":11417,"24":0,"16":105737353183625216,"45":8916212493713967104},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-07-13 11:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683732480001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916212493713967104,"description":"Unknown IO ID 45"} 
[2026-07-13 11:05:25] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456683732480001,"power":11417,"ignition":0,"odometer":null,"unknown_45":8916212493713967104}} 
[2026-07-13 11:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":132592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479666,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:05:25] local.INFO: GPS data processed {"connection_id":132592,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:05:25] local.INFO: Acknowledgment sent {"connection_id":132592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:05:35] local.INFO: TCP Data received {"connection_id":131261,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:05:35] local.INFO: Processing buffer {"connection_id":131261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:05:35] local.INFO: IMEI packet received {"connection_id":131261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":131261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:05:40] local.INFO: TCP Data received {"connection_id":131261,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:05:40] local.INFO: Processing buffer {"connection_id":131261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:05:40] local.INFO: IMEI packet received {"connection_id":131261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":131261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:05:41] local.INFO: TCP Data received {"connection_id":131261,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f59f67d50012d7f914005afd9380009011b21..."} 
[2026-07-13 11:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59f67d50012d7f914005afd9380009011b21..."} 
[2026-07-13 11:05:41] local.INFO: Processing buffer {"connection_id":131261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59f67d50012d7f914005afd9380009011b21..."} 
[2026-07-13 11:05:41] local.INFO: Packet analysis {"connection_id":131261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59f6"} 
[2026-07-13 11:05:41] local.INFO: Extracted packet for processing {"connection_id":131261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59f6"} 
[2026-07-13 11:05:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":9,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683635968001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783920754000,"timestamp_ms":1783920754000,"timestamp_seconds":1783920754,"priority":1,"record_length":96,"hex_timestamp":"0000019f59f67d50"} 
[2026-07-13 11:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683635968001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683635968001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:05:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:05:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683635968001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":131261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:05:41] local.INFO: GPS data processed {"connection_id":131261,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:05:41] local.INFO: Acknowledgment sent {"connection_id":131261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:05:43] local.INFO: TCP Data received {"connection_id":130458,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:05:43] local.INFO: Processing buffer {"connection_id":130458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:05:43] local.INFO: IMEI packet received {"connection_id":130458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 11:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":130458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:05:48] local.INFO: TCP Data received {"connection_id":130458,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:05:48] local.INFO: Processing buffer {"connection_id":130458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:05:48] local.INFO: IMEI packet received {"connection_id":130458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 11:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":130458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:05:48] local.INFO: TCP Data received {"connection_id":130458,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f59f7b9b8012d7bbcc005ddb8880000015724..."} 
[2026-07-13 11:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59f7b9b8012d7bbcc005ddb8880000015724..."} 
[2026-07-13 11:05:48] local.INFO: Processing buffer {"connection_id":130458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59f7b9b8012d7bbcc005ddb8880000015724..."} 
[2026-07-13 11:05:48] local.INFO: Packet analysis {"connection_id":130458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59f7"} 
[2026-07-13 11:05:48] local.INFO: Extracted packet for processing {"connection_id":130458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59f7"} 
[2026-07-13 11:05:48] local.INFO: GPS Element Parsed {"raw_longitude":763083968,"raw_latitude":98416776,"longitude_deg":76.3083968,"latitude_deg":9.8416776,"altitude":0,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d7bbcc0","hex_latitude":"05ddb888","is_valid_coordinates":true} 
[2026-07-13 11:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683733760001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 11:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916212493713967104,"note":"Value kept but may cause issues"} 
[2026-07-13 11:05:48] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-07-13 11:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783920835000,"timestamp_ms":1783920835000,"timestamp_seconds":1783920835,"priority":1,"record_length":96,"hex_timestamp":"0000019f59f7b9b8"} 
[2026-07-13 11:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-13 11:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1795,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":130458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":130458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":130458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683733760001,"66":11417,"24":0,"16":105737353183625216,"45":8916212493713967104},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-07-13 11:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683733760001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916212493713967104,"description":"Unknown IO ID 45"} 
[2026-07-13 11:05:48] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456683733760001,"power":11417,"ignition":0,"odometer":null,"unknown_45":8916212493713967104}} 
[2026-07-13 11:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":130458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479668,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:05:49] local.INFO: GPS data processed {"connection_id":130458,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:05:49] local.INFO: Acknowledgment sent {"connection_id":130458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:06:12] local.INFO: TCP Data received {"connection_id":131261,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f59f67d50012d7f914005afd9380009011b21..."} 
[2026-07-13 11:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59f67d50012d7f914005afd9380009011b21..."} 
[2026-07-13 11:06:12] local.INFO: Processing buffer {"connection_id":131261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59f67d50012d7f914005afd9380009011b21..."} 
[2026-07-13 11:06:12] local.INFO: Packet analysis {"connection_id":131261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59f6"} 
[2026-07-13 11:06:12] local.INFO: Extracted packet for processing {"connection_id":131261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59f6"} 
[2026-07-13 11:06:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":9,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683635968001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783920754000,"timestamp_ms":1783920754000,"timestamp_seconds":1783920754,"priority":1,"record_length":96,"hex_timestamp":"0000019f59f67d50"} 
[2026-07-13 11:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683635968001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683635968001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:06:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:06:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683635968001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":131261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:06:12] local.INFO: GPS data processed {"connection_id":131261,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:06:12] local.INFO: Acknowledgment sent {"connection_id":131261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:06:19] local.INFO: TCP Data received {"connection_id":130458,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f59f7b9b8012d7bbcc005ddb8880000015724..."} 
[2026-07-13 11:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59f7b9b8012d7bbcc005ddb8880000015724..."} 
[2026-07-13 11:06:19] local.INFO: Processing buffer {"connection_id":130458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59f7b9b8012d7bbcc005ddb8880000015724..."} 
[2026-07-13 11:06:19] local.INFO: Packet analysis {"connection_id":130458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59f7"} 
[2026-07-13 11:06:19] local.INFO: Extracted packet for processing {"connection_id":130458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59f7"} 
[2026-07-13 11:06:19] local.INFO: GPS Element Parsed {"raw_longitude":763083968,"raw_latitude":98416776,"longitude_deg":76.3083968,"latitude_deg":9.8416776,"altitude":0,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d7bbcc0","hex_latitude":"05ddb888","is_valid_coordinates":true} 
[2026-07-13 11:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683733760001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 11:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916212493713967104,"note":"Value kept but may cause issues"} 
[2026-07-13 11:06: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-07-13 11:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783920835000,"timestamp_ms":1783920835000,"timestamp_seconds":1783920835,"priority":1,"record_length":96,"hex_timestamp":"0000019f59f7b9b8"} 
[2026-07-13 11:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-13 11:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1795,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:06:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683733760001,"66":11417,"24":0,"16":105737353183625216,"45":8916212493713967104},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-07-13 11:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683733760001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916212493713967104,"description":"Unknown IO ID 45"} 
[2026-07-13 11:06:19] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456683733760001,"power":11417,"ignition":0,"odometer":null,"unknown_45":8916212493713967104}} 
[2026-07-13 11:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":130458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479670,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:06:19] local.INFO: GPS data processed {"connection_id":130458,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:06:19] local.INFO: Acknowledgment sent {"connection_id":130458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:06:35] local.INFO: TCP Data received {"connection_id":130459,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:06:35] local.INFO: Processing buffer {"connection_id":130459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:06:35] local.INFO: IMEI packet received {"connection_id":130459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":130459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:06:40] local.INFO: TCP Data received {"connection_id":130459,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:06:40] local.INFO: Processing buffer {"connection_id":130459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:06:40] local.INFO: IMEI packet received {"connection_id":130459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":130459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:06:41] local.INFO: TCP Data received {"connection_id":130459,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f59f67d50012d7f914005afd9380009011b21..."} 
[2026-07-13 11:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59f67d50012d7f914005afd9380009011b21..."} 
[2026-07-13 11:06:41] local.INFO: Processing buffer {"connection_id":130459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59f67d50012d7f914005afd9380009011b21..."} 
[2026-07-13 11:06:41] local.INFO: Packet analysis {"connection_id":130459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59f6"} 
[2026-07-13 11:06:41] local.INFO: Extracted packet for processing {"connection_id":130459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59f6"} 
[2026-07-13 11:06:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":9,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683635968001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783920754000,"timestamp_ms":1783920754000,"timestamp_seconds":1783920754,"priority":1,"record_length":96,"hex_timestamp":"0000019f59f67d50"} 
[2026-07-13 11:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683635968001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683635968001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:06:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:06:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683635968001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":130459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:06:41] local.INFO: GPS data processed {"connection_id":130459,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:06:41] local.INFO: Acknowledgment sent {"connection_id":130459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:06:43] local.INFO: TCP Data received {"connection_id":131263,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131263,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:06:43] local.INFO: Processing buffer {"connection_id":131263,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:06:43] local.INFO: IMEI packet received {"connection_id":131263,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 11:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":131263,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:06:48] local.INFO: TCP Data received {"connection_id":131263,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131263,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:06:48] local.INFO: Processing buffer {"connection_id":131263,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:06:48] local.INFO: IMEI packet received {"connection_id":131263,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 11:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":131263,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:06:49] local.INFO: TCP Data received {"connection_id":131263,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f59f7b9b8012d7bbcc005ddb8880000015724..."} 
[2026-07-13 11:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59f7b9b8012d7bbcc005ddb8880000015724..."} 
[2026-07-13 11:06:49] local.INFO: Processing buffer {"connection_id":131263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59f7b9b8012d7bbcc005ddb8880000015724..."} 
[2026-07-13 11:06:49] local.INFO: Packet analysis {"connection_id":131263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59f7"} 
[2026-07-13 11:06:49] local.INFO: Extracted packet for processing {"connection_id":131263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59f7"} 
[2026-07-13 11:06:49] local.INFO: GPS Element Parsed {"raw_longitude":763083968,"raw_latitude":98416776,"longitude_deg":76.3083968,"latitude_deg":9.8416776,"altitude":0,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d7bbcc0","hex_latitude":"05ddb888","is_valid_coordinates":true} 
[2026-07-13 11:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683733760001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 11:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916212493713967104,"note":"Value kept but may cause issues"} 
[2026-07-13 11:06:49] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-07-13 11:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783920835000,"timestamp_ms":1783920835000,"timestamp_seconds":1783920835,"priority":1,"record_length":96,"hex_timestamp":"0000019f59f7b9b8"} 
[2026-07-13 11:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":44,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-13 11:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1795,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11: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-07-13 11:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683733760001,"66":11417,"24":0,"16":105737353183625216,"45":8916212493713967104},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-07-13 11:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683733760001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916212493713967104,"description":"Unknown IO ID 45"} 
[2026-07-13 11:06:49] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456683733760001,"power":11417,"ignition":0,"odometer":null,"unknown_45":8916212493713967104}} 
[2026-07-13 11:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":131263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479672,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:06:49] local.INFO: GPS data processed {"connection_id":131263,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:06:49] local.INFO: Acknowledgment sent {"connection_id":131263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:07:00] local.INFO: TCP Data received {"connection_id":132593,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:07:00] local.INFO: Processing buffer {"connection_id":132593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:07:00] local.INFO: IMEI packet received {"connection_id":132593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 11:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":132593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:07:12] local.INFO: TCP Data received {"connection_id":130459,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f59f67d50012d7f914005afd9380009011b21..."} 
[2026-07-13 11:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59f67d50012d7f914005afd9380009011b21..."} 
[2026-07-13 11:07:12] local.INFO: Processing buffer {"connection_id":130459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59f67d50012d7f914005afd9380009011b21..."} 
[2026-07-13 11:07:12] local.INFO: Packet analysis {"connection_id":130459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59f6"} 
[2026-07-13 11:07:12] local.INFO: Extracted packet for processing {"connection_id":130459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59f6"} 
[2026-07-13 11:07:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":9,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683635968001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783920754000,"timestamp_ms":1783920754000,"timestamp_seconds":1783920754,"priority":1,"record_length":96,"hex_timestamp":"0000019f59f67d50"} 
[2026-07-13 11:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683635968001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683635968001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:07:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:07:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683635968001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":130459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:07:12] local.INFO: GPS data processed {"connection_id":130459,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:07:12] local.INFO: Acknowledgment sent {"connection_id":130459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:07:21] local.INFO: TCP Data received {"connection_id":131263,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f59f7b9b8012d7bbcc005ddb8880000015724..."} 
[2026-07-13 11:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59f7b9b8012d7bbcc005ddb8880000015724..."} 
[2026-07-13 11:07:21] local.INFO: Processing buffer {"connection_id":131263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59f7b9b8012d7bbcc005ddb8880000015724..."} 
[2026-07-13 11:07:21] local.INFO: Packet analysis {"connection_id":131263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59f7"} 
[2026-07-13 11:07:21] local.INFO: Extracted packet for processing {"connection_id":131263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59f7"} 
[2026-07-13 11:07:21] local.INFO: GPS Element Parsed {"raw_longitude":763083968,"raw_latitude":98416776,"longitude_deg":76.3083968,"latitude_deg":9.8416776,"altitude":0,"angle":343,"satellites":36,"speed":0,"hex_longitude":"2d7bbcc0","hex_latitude":"05ddb888","is_valid_coordinates":true} 
[2026-07-13 11:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683733760001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 11:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916212493713967104,"note":"Value kept but may cause issues"} 
[2026-07-13 11:07:21] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-07-13 11:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783920835000,"timestamp_ms":1783920835000,"timestamp_seconds":1783920835,"priority":1,"record_length":96,"hex_timestamp":"0000019f59f7b9b8"} 
[2026-07-13 11:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":44,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-13 11:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1795,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11: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-07-13 11:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":131263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":131263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":131263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683733760001,"66":11417,"24":0,"16":105737353183625216,"45":8916212493713967104},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-07-13 11:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683733760001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916212493713967104,"description":"Unknown IO ID 45"} 
[2026-07-13 11:07:21] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456683733760001,"power":11417,"ignition":0,"odometer":null,"unknown_45":8916212493713967104}} 
[2026-07-13 11:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":131263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479674,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:07:21] local.INFO: GPS data processed {"connection_id":131263,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:07:21] local.INFO: Acknowledgment sent {"connection_id":131263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:07:34] local.INFO: TCP Data received {"connection_id":130460,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:07:35] local.INFO: Processing buffer {"connection_id":130460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:07:35] local.INFO: IMEI packet received {"connection_id":130460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":130460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:07:40] local.INFO: TCP Data received {"connection_id":130460,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:07:40] local.INFO: Processing buffer {"connection_id":130460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:07:40] local.INFO: IMEI packet received {"connection_id":130460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":130460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:07:40] local.INFO: TCP Data received {"connection_id":130461,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130461,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:07:40] local.INFO: Processing buffer {"connection_id":130461,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:07:40] local.INFO: IMEI packet received {"connection_id":130461,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 11:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":130461,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:07:41] local.INFO: TCP Data received {"connection_id":130460,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f59f67d50012d7f914005afd9380009011b21..."} 
[2026-07-13 11:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59f67d50012d7f914005afd9380009011b21..."} 
[2026-07-13 11:07:41] local.INFO: Processing buffer {"connection_id":130460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59f67d50012d7f914005afd9380009011b21..."} 
[2026-07-13 11:07:41] local.INFO: Packet analysis {"connection_id":130460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59f6"} 
[2026-07-13 11:07:41] local.INFO: Extracted packet for processing {"connection_id":130460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59f6"} 
[2026-07-13 11:07:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":9,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683635968001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783920754000,"timestamp_ms":1783920754000,"timestamp_seconds":1783920754,"priority":1,"record_length":96,"hex_timestamp":"0000019f59f67d50"} 
[2026-07-13 11:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683635968001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683635968001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:07:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683635968001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":130460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:07:41] local.INFO: GPS data processed {"connection_id":130460,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:07:41] local.INFO: Acknowledgment sent {"connection_id":130460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:07:43] local.INFO: TCP Data received {"connection_id":132594,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132594,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:07:43] local.INFO: Processing buffer {"connection_id":132594,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:07:43] local.INFO: IMEI packet received {"connection_id":132594,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 11:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":132594,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:07:48] local.INFO: TCP Data received {"connection_id":132594,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132594,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:07:48] local.INFO: Processing buffer {"connection_id":132594,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:07:48] local.INFO: IMEI packet received {"connection_id":132594,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 11:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":132594,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:07:49] local.INFO: TCP Data received {"connection_id":132594,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f59fb1900012d7bbc8005ddb8780000015722..."} 
[2026-07-13 11:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59fb1900012d7bbc8005ddb8780000015722..."} 
[2026-07-13 11:07:49] local.INFO: Processing buffer {"connection_id":132594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59fb1900012d7bbc8005ddb8780000015722..."} 
[2026-07-13 11:07:49] local.INFO: Packet analysis {"connection_id":132594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59fb"} 
[2026-07-13 11:07:49] local.INFO: Extracted packet for processing {"connection_id":132594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59fb"} 
[2026-07-13 11:07:49] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416760,"longitude_deg":76.3083904,"latitude_deg":9.841676,"altitude":0,"angle":343,"satellites":34,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb878","is_valid_coordinates":true} 
[2026-07-13 11:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683733760001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 11:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916212493713967104,"note":"Value kept but may cause issues"} 
[2026-07-13 11:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783921056000,"timestamp_ms":1783921056000,"timestamp_seconds":1783921056,"priority":1,"record_length":96,"hex_timestamp":"0000019f59fb1900"} 
[2026-07-13 11:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":44,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-13 11:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1795,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683733760001,"66":12472,"169":206,"85":15104,"24":0,"16":105737353183625216,"45":8916212493713967104},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-13 11:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683733760001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:07:49] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-13 11:07:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916212493713967104,"description":"Unknown IO ID 45"} 
[2026-07-13 11:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683733760001,"power":12472,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916212493713967104}} 
[2026-07-13 11:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":132594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479676,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:07:49] local.INFO: GPS data processed {"connection_id":132594,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:07:49] local.INFO: Acknowledgment sent {"connection_id":132594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:08:12] local.INFO: TCP Data received {"connection_id":130460,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f59f67d50012d7f914005afd9380009011b21..."} 
[2026-07-13 11:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59f67d50012d7f914005afd9380009011b21..."} 
[2026-07-13 11:08:12] local.INFO: Processing buffer {"connection_id":130460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59f67d50012d7f914005afd9380009011b21..."} 
[2026-07-13 11:08:12] local.INFO: Packet analysis {"connection_id":130460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59f6"} 
[2026-07-13 11:08:12] local.INFO: Extracted packet for processing {"connection_id":130460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59f6"} 
[2026-07-13 11:08:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":9,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683635968001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783920754000,"timestamp_ms":1783920754000,"timestamp_seconds":1783920754,"priority":1,"record_length":96,"hex_timestamp":"0000019f59f67d50"} 
[2026-07-13 11:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683635968001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683635968001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:08:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:08:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683635968001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":130460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:08:12] local.INFO: GPS data processed {"connection_id":130460,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:08:12] local.INFO: Acknowledgment sent {"connection_id":130460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:08:20] local.INFO: TCP Data received {"connection_id":132594,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f59fb1900012d7bbc8005ddb8780000015722..."} 
[2026-07-13 11:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59fb1900012d7bbc8005ddb8780000015722..."} 
[2026-07-13 11:08:20] local.INFO: Processing buffer {"connection_id":132594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59fb1900012d7bbc8005ddb8780000015722..."} 
[2026-07-13 11:08:20] local.INFO: Packet analysis {"connection_id":132594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59fb"} 
[2026-07-13 11:08:20] local.INFO: Extracted packet for processing {"connection_id":132594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59fb"} 
[2026-07-13 11:08:20] local.INFO: GPS Element Parsed {"raw_longitude":763083904,"raw_latitude":98416760,"longitude_deg":76.3083904,"latitude_deg":9.841676,"altitude":0,"angle":343,"satellites":34,"speed":0,"hex_longitude":"2d7bbc80","hex_latitude":"05ddb878","is_valid_coordinates":true} 
[2026-07-13 11:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683790336001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 11:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969785344,"note":"Value kept but may cause issues"} 
[2026-07-13 11:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783921056000,"timestamp_ms":1783921056000,"timestamp_seconds":1783921056,"priority":1,"record_length":96,"hex_timestamp":"0000019f59fb1900"} 
[2026-07-13 11:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 11: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":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-13 11:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11: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-07-13 11:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":132594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":132594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":132594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683790336001,"66":12472,"169":206,"85":15104,"24":0,"16":105737353183625216,"45":8916142124969785344},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-13 11:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683790336001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:08:20] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-13 11:08:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969785344,"description":"Unknown IO ID 45"} 
[2026-07-13 11:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683790336001,"power":12472,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969785344}} 
[2026-07-13 11:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":132594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479678,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:08:20] local.INFO: GPS data processed {"connection_id":132594,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:08:20] local.INFO: Acknowledgment sent {"connection_id":132594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:08:40] local.INFO: TCP Data received {"connection_id":131264,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:08:40] local.INFO: Processing buffer {"connection_id":131264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:08:40] local.INFO: IMEI packet received {"connection_id":131264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":131264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:08:43] local.INFO: TCP Data received {"connection_id":131265,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131265,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:08:43] local.INFO: Processing buffer {"connection_id":131265,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:08:43] local.INFO: IMEI packet received {"connection_id":131265,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 11:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":131265,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:08:45] local.INFO: TCP Data received {"connection_id":131264,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:08:45] local.INFO: Processing buffer {"connection_id":131264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:08:45] local.INFO: IMEI packet received {"connection_id":131264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":131264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:08:46] local.INFO: TCP Data received {"connection_id":131264,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f59fb1518012d7f914005afd938000a011b20..."} 
[2026-07-13 11:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59fb1518012d7f914005afd938000a011b20..."} 
[2026-07-13 11:08:46] local.INFO: Processing buffer {"connection_id":131264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59fb1518012d7f914005afd938000a011b20..."} 
[2026-07-13 11:08:46] local.INFO: Packet analysis {"connection_id":131264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59fb"} 
[2026-07-13 11:08:46] local.INFO: Extracted packet for processing {"connection_id":131264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59fb"} 
[2026-07-13 11:08:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683713024001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783921055000,"timestamp_ms":1783921055000,"timestamp_seconds":1783921055,"priority":1,"record_length":96,"hex_timestamp":"0000019f59fb1518"} 
[2026-07-13 11:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683713024001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683713024001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:08:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:08:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683713024001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":131264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:08:46] local.INFO: GPS data processed {"connection_id":131264,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:08:46] local.INFO: Acknowledgment sent {"connection_id":131264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:08:47] local.INFO: TCP Data received {"connection_id":131265,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131265,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:08:47] local.INFO: Processing buffer {"connection_id":131265,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:08:47] local.INFO: IMEI packet received {"connection_id":131265,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 11:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":131265,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:08:48] local.INFO: TCP Data received {"connection_id":131265,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131265,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:08:48] local.INFO: Processing buffer {"connection_id":131265,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:08:48] local.INFO: IMEI packet received {"connection_id":131265,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 11:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":131265,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:08:48] local.INFO: TCP Data received {"connection_id":131265,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f59fb7e90012d7bbcc005ddb8880000015726..."} 
[2026-07-13 11:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59fb7e90012d7bbcc005ddb8880000015726..."} 
[2026-07-13 11:08:48] local.INFO: Processing buffer {"connection_id":131265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59fb7e90012d7bbcc005ddb8880000015726..."} 
[2026-07-13 11:08:48] local.INFO: Packet analysis {"connection_id":131265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59fb"} 
[2026-07-13 11:08:48] local.INFO: Extracted packet for processing {"connection_id":131265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59fb"} 
[2026-07-13 11:08:48] local.INFO: GPS Element Parsed {"raw_longitude":763083968,"raw_latitude":98416776,"longitude_deg":76.3083968,"latitude_deg":9.8416776,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d7bbcc0","hex_latitude":"05ddb888","is_valid_coordinates":true} 
[2026-07-13 11:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683790336001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 11:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916142124969785344,"note":"Value kept but may cause issues"} 
[2026-07-13 11:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783921082000,"timestamp_ms":1783921082000,"timestamp_seconds":1783921082,"priority":1,"record_length":96,"hex_timestamp":"0000019f59fb7e90"} 
[2026-07-13 11:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 11:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-13 11:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:08:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":131265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":131265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":131265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683790336001,"66":11461,"169":206,"85":15104,"24":0,"16":105737353183625216,"45":8916142124969785344},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-13 11:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683790336001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:08:48] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-13 11:08:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916142124969785344,"description":"Unknown IO ID 45"} 
[2026-07-13 11:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683790336001,"power":11461,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916142124969785344}} 
[2026-07-13 11:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":131265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479680,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:08:48] local.INFO: GPS data processed {"connection_id":131265,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:08:48] local.INFO: Acknowledgment sent {"connection_id":131265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:09:17] local.INFO: TCP Data received {"connection_id":131264,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f59fb1518012d7f914005afd938000a011b20..."} 
[2026-07-13 11:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59fb1518012d7f914005afd938000a011b20..."} 
[2026-07-13 11:09:17] local.INFO: Processing buffer {"connection_id":131264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59fb1518012d7f914005afd938000a011b20..."} 
[2026-07-13 11:09:17] local.INFO: Packet analysis {"connection_id":131264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59fb"} 
[2026-07-13 11:09:17] local.INFO: Extracted packet for processing {"connection_id":131264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59fb"} 
[2026-07-13 11:09:17] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683713024001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783921055000,"timestamp_ms":1783921055000,"timestamp_seconds":1783921055,"priority":1,"record_length":96,"hex_timestamp":"0000019f59fb1518"} 
[2026-07-13 11:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683713024001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683713024001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:09:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:09:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683713024001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":131264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:09:17] local.INFO: GPS data processed {"connection_id":131264,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:09:17] local.INFO: Acknowledgment sent {"connection_id":131264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:09:19] local.INFO: TCP Data received {"connection_id":131265,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f59fbd098012d7bbcc005ddb8880000015725..."} 
[2026-07-13 11:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59fbd098012d7bbcc005ddb8880000015725..."} 
[2026-07-13 11:09:19] local.INFO: Processing buffer {"connection_id":131265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59fbd098012d7bbcc005ddb8880000015725..."} 
[2026-07-13 11:09:19] local.INFO: Packet analysis {"connection_id":131265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59fb"} 
[2026-07-13 11:09:19] local.INFO: Extracted packet for processing {"connection_id":131265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59fb"} 
[2026-07-13 11:09:19] local.INFO: GPS Element Parsed {"raw_longitude":763083968,"raw_latitude":98416776,"longitude_deg":76.3083968,"latitude_deg":9.8416776,"altitude":0,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2d7bbcc0","hex_latitude":"05ddb888","is_valid_coordinates":true} 
[2026-07-13 11:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683796992001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 11:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916212493713967104,"note":"Value kept but may cause issues"} 
[2026-07-13 11:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783921103000,"timestamp_ms":1783921103000,"timestamp_seconds":1783921103,"priority":1,"record_length":96,"hex_timestamp":"0000019f59fbd098"} 
[2026-07-13 11:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 11: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":44,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-07-13 11:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2191,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":131265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":131265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":131265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683796992001,"66":11678,"169":206,"85":15104,"24":0,"16":105737353183625216,"45":8916212493713967104},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-13 11:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683796992001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:09:19] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-13 11:09:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916212493713967104,"description":"Unknown IO ID 45"} 
[2026-07-13 11:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683796992001,"power":11678,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916212493713967104}} 
[2026-07-13 11:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":131265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479682,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:09:19] local.INFO: GPS data processed {"connection_id":131265,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:09:19] local.INFO: Acknowledgment sent {"connection_id":131265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:09:35] local.INFO: TCP Data received {"connection_id":130248,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:09:35] local.INFO: Processing buffer {"connection_id":130248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:09:35] local.INFO: IMEI packet received {"connection_id":130248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":130248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:09:40] local.INFO: TCP Data received {"connection_id":130248,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:09:40] local.INFO: Processing buffer {"connection_id":130248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:09:40] local.INFO: IMEI packet received {"connection_id":130248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":130248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:09:41] local.INFO: TCP Data received {"connection_id":130248,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f59fb1518012d7f914005afd938000a011b20..."} 
[2026-07-13 11:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59fb1518012d7f914005afd938000a011b20..."} 
[2026-07-13 11:09:41] local.INFO: Processing buffer {"connection_id":130248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59fb1518012d7f914005afd938000a011b20..."} 
[2026-07-13 11:09:41] local.INFO: Packet analysis {"connection_id":130248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59fb"} 
[2026-07-13 11:09:41] local.INFO: Extracted packet for processing {"connection_id":130248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59fb"} 
[2026-07-13 11:09:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683713024001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783921055000,"timestamp_ms":1783921055000,"timestamp_seconds":1783921055,"priority":1,"record_length":96,"hex_timestamp":"0000019f59fb1518"} 
[2026-07-13 11:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683713024001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683713024001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:09:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683713024001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":130248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:09:41] local.INFO: GPS data processed {"connection_id":130248,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:09:41] local.INFO: Acknowledgment sent {"connection_id":130248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:09:48] local.INFO: TCP Data received {"connection_id":131266,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131266,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:09:48] local.INFO: Processing buffer {"connection_id":131266,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:09:48] local.INFO: IMEI packet received {"connection_id":131266,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 11:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":131266,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:09:49] local.INFO: TCP Data received {"connection_id":131266,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131266,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:09:49] local.INFO: Processing buffer {"connection_id":131266,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:09:49] local.INFO: IMEI packet received {"connection_id":131266,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 11:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":131266,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:09:49] local.INFO: TCP Data received {"connection_id":131266,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f59fc22a0012d7bbcc005ddb8880000015727..."} 
[2026-07-13 11:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59fc22a0012d7bbcc005ddb8880000015727..."} 
[2026-07-13 11:09:49] local.INFO: Processing buffer {"connection_id":131266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59fc22a0012d7bbcc005ddb8880000015727..."} 
[2026-07-13 11:09:49] local.INFO: Packet analysis {"connection_id":131266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59fc"} 
[2026-07-13 11:09:49] local.INFO: Extracted packet for processing {"connection_id":131266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59fc"} 
[2026-07-13 11:09:49] local.INFO: GPS Element Parsed {"raw_longitude":763083968,"raw_latitude":98416776,"longitude_deg":76.3083968,"latitude_deg":9.8416776,"altitude":0,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2d7bbcc0","hex_latitude":"05ddb888","is_valid_coordinates":true} 
[2026-07-13 11:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683802368001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 11:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916212493713967104,"note":"Value kept but may cause issues"} 
[2026-07-13 11:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783921124000,"timestamp_ms":1783921124000,"timestamp_seconds":1783921124,"priority":1,"record_length":96,"hex_timestamp":"0000019f59fc22a0"} 
[2026-07-13 11:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 11: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":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-13 11:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1845,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683802368001,"66":11743,"169":206,"85":15104,"24":0,"16":105737353183625216,"45":8916212493713967104},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-13 11:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683802368001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:09:49] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-13 11:09:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916212493713967104,"description":"Unknown IO ID 45"} 
[2026-07-13 11:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683802368001,"power":11743,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916212493713967104}} 
[2026-07-13 11:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":131266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479684,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:09:49] local.INFO: GPS data processed {"connection_id":131266,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:09:49] local.INFO: Acknowledgment sent {"connection_id":131266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:09:55] local.INFO: TCP Data received {"connection_id":131266,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f59fc74a8012d7bbcc005ddb8880000015726..."} 
[2026-07-13 11:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59fc74a8012d7bbcc005ddb8880000015726..."} 
[2026-07-13 11:09:55] local.INFO: Processing buffer {"connection_id":131266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59fc74a8012d7bbcc005ddb8880000015726..."} 
[2026-07-13 11:09:55] local.INFO: Packet analysis {"connection_id":131266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59fc"} 
[2026-07-13 11:09:55] local.INFO: Extracted packet for processing {"connection_id":131266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59fc"} 
[2026-07-13 11:09:55] local.INFO: GPS Element Parsed {"raw_longitude":763083968,"raw_latitude":98416776,"longitude_deg":76.3083968,"latitude_deg":9.8416776,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d7bbcc0","hex_latitude":"05ddb888","is_valid_coordinates":true} 
[2026-07-13 11:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683807744001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 11:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916212493713967104,"note":"Value kept but may cause issues"} 
[2026-07-13 11:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783921145000,"timestamp_ms":1783921145000,"timestamp_seconds":1783921145,"priority":1,"record_length":96,"hex_timestamp":"0000019f59fc74a8"} 
[2026-07-13 11:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 11:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-13 11:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":131266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":131266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":131266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683807744001,"66":11776,"169":206,"85":15104,"24":0,"16":105737353183625216,"45":8916212493713967104},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-13 11:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683807744001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:09:55] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-13 11:09:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916212493713967104,"description":"Unknown IO ID 45"} 
[2026-07-13 11:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683807744001,"power":11776,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916212493713967104}} 
[2026-07-13 11:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":131266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479685,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:09:55] local.INFO: GPS data processed {"connection_id":131266,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:09:55] local.INFO: Acknowledgment sent {"connection_id":131266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:10:12] local.INFO: TCP Data received {"connection_id":130248,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f59fb1518012d7f914005afd938000a011b20..."} 
[2026-07-13 11:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59fb1518012d7f914005afd938000a011b20..."} 
[2026-07-13 11:10:12] local.INFO: Processing buffer {"connection_id":130248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59fb1518012d7f914005afd938000a011b20..."} 
[2026-07-13 11:10:12] local.INFO: Packet analysis {"connection_id":130248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59fb"} 
[2026-07-13 11:10:12] local.INFO: Extracted packet for processing {"connection_id":130248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59fb"} 
[2026-07-13 11:10:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683713024001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783921055000,"timestamp_ms":1783921055000,"timestamp_seconds":1783921055,"priority":1,"record_length":96,"hex_timestamp":"0000019f59fb1518"} 
[2026-07-13 11:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683713024001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683713024001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:10:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:10:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683713024001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":130248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:10:12] local.INFO: GPS data processed {"connection_id":130248,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:10:12] local.INFO: Acknowledgment sent {"connection_id":130248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:10:26] local.INFO: TCP Data received {"connection_id":131266,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f59fcc6b0012d7bbcc005ddb8880000015726..."} 
[2026-07-13 11:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59fcc6b0012d7bbcc005ddb8880000015726..."} 
[2026-07-13 11:10:26] local.INFO: Processing buffer {"connection_id":131266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59fcc6b0012d7bbcc005ddb8880000015726..."} 
[2026-07-13 11:10:26] local.INFO: Packet analysis {"connection_id":131266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59fc"} 
[2026-07-13 11:10:26] local.INFO: Extracted packet for processing {"connection_id":131266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59fc"} 
[2026-07-13 11:10:26] local.INFO: GPS Element Parsed {"raw_longitude":763083968,"raw_latitude":98416776,"longitude_deg":76.3083968,"latitude_deg":9.8416776,"altitude":0,"angle":343,"satellites":38,"speed":0,"hex_longitude":"2d7bbcc0","hex_latitude":"05ddb888","is_valid_coordinates":true} 
[2026-07-13 11:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683813120001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 11:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916212493713967104,"note":"Value kept but may cause issues"} 
[2026-07-13 11:10:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783921166000,"timestamp_ms":1783921166000,"timestamp_seconds":1783921166,"priority":1,"record_length":96,"hex_timestamp":"0000019f59fcc6b0"} 
[2026-07-13 11:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:10:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 11: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":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 11:10:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 11:10:26] local.WARNING: Large IO value detected {"io_id":167,"raw_value":2415919104,"note":"Value kept but may cause issues"} 
[2026-07-13 11:10:26] local.WARNING: Large IO value detected {"io_id":89,"raw_value":4212719617,"note":"Value kept but may cause issues"} 
[2026-07-13 11:10:26] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3094872064,"note":"Value kept but may cause issues"} 
[2026-07-13 11:10:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930311374,"corrected_to":0} 
[2026-07-13 11:10:26] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2147868088,"note":"Value kept but may cause issues"} 
[2026-07-13 11:10:26] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3087060398,"note":"Value kept but may cause issues"} 
[2026-07-13 11:10:26] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2811232256,"note":"Value kept but may cause issues"} 
[2026-07-13 11:10:26] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,169,85,24,241,157,16,167,159,34,45,192,184,39,10,66,208,37,126,1,240,197,227,89,221,4,113,205,25,188,120,239,48,2,119],"length":434,"final_offset":564,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2930311374,"validated":0}]} 
[2026-07-13 11:10:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":377295697084416,"timestamp_seconds":377295697084.416,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 11:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":131266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":131266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":131266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:10:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683813120001,"66":11721,"169":206,"85":15104,"24":0,"16":105737353183625216,"45":8916212493713967104},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-13 11:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683813120001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:10:26] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-13 11:10:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916212493713967104,"description":"Unknown IO ID 45"} 
[2026-07-13 11:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683813120001,"power":11721,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916212493713967104}} 
[2026-07-13 11:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":131266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479687,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:10:26] local.INFO: GPS data processed {"connection_id":131266,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:10:26] local.INFO: Acknowledgment sent {"connection_id":131266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:10:35] local.INFO: TCP Data received {"connection_id":132596,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:10:35] local.INFO: Processing buffer {"connection_id":132596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:10:35] local.INFO: IMEI packet received {"connection_id":132596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":132596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:10:40] local.INFO: TCP Data received {"connection_id":132596,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:10:40] local.INFO: Processing buffer {"connection_id":132596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:10:40] local.INFO: IMEI packet received {"connection_id":132596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":132596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:10:41] local.INFO: TCP Data received {"connection_id":132596,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f59fb1518012d7f914005afd938000a011b20..."} 
[2026-07-13 11:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59fb1518012d7f914005afd938000a011b20..."} 
[2026-07-13 11:10:41] local.INFO: Processing buffer {"connection_id":132596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59fb1518012d7f914005afd938000a011b20..."} 
[2026-07-13 11:10:41] local.INFO: Packet analysis {"connection_id":132596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59fb"} 
[2026-07-13 11:10:41] local.INFO: Extracted packet for processing {"connection_id":132596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59fb"} 
[2026-07-13 11:10:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683713024001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783921055000,"timestamp_ms":1783921055000,"timestamp_seconds":1783921055,"priority":1,"record_length":96,"hex_timestamp":"0000019f59fb1518"} 
[2026-07-13 11:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:10:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683713024001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683713024001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:10:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:10:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683713024001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":132596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:10:41] local.INFO: GPS data processed {"connection_id":132596,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:10:41] local.INFO: Acknowledgment sent {"connection_id":132596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:10:43] local.INFO: TCP Data received {"connection_id":132597,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:10:43] local.INFO: Processing buffer {"connection_id":132597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:10:43] local.INFO: IMEI packet received {"connection_id":132597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 11:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":132597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:10:48] local.INFO: TCP Data received {"connection_id":132597,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:10:48] local.INFO: Processing buffer {"connection_id":132597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:10:48] local.INFO: IMEI packet received {"connection_id":132597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 11:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":132597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:10:49] local.INFO: TCP Data received {"connection_id":132597,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f59fd18b8012d7bbcc005ddb8880000015722..."} 
[2026-07-13 11:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59fd18b8012d7bbcc005ddb8880000015722..."} 
[2026-07-13 11:10:49] local.INFO: Processing buffer {"connection_id":132597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59fd18b8012d7bbcc005ddb8880000015722..."} 
[2026-07-13 11:10:49] local.INFO: Packet analysis {"connection_id":132597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59fd"} 
[2026-07-13 11:10:49] local.INFO: Extracted packet for processing {"connection_id":132597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59fd"} 
[2026-07-13 11:10:49] local.INFO: GPS Element Parsed {"raw_longitude":763083968,"raw_latitude":98416776,"longitude_deg":76.3083968,"latitude_deg":9.8416776,"altitude":0,"angle":343,"satellites":34,"speed":0,"hex_longitude":"2d7bbcc0","hex_latitude":"05ddb888","is_valid_coordinates":true} 
[2026-07-13 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-07-13 11:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683818496001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737353183625216,"note":"Value kept but may cause issues"} 
[2026-07-13 11:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916212493713967104,"note":"Value kept but may cause issues"} 
[2026-07-13 11:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783921187000,"timestamp_ms":1783921187000,"timestamp_seconds":1783921187,"priority":1,"record_length":96,"hex_timestamp":"0000019f59fd18b8"} 
[2026-07-13 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-07-13 11:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-13 11:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 11:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683818496001,"66":11721,"169":206,"85":15104,"24":0,"16":105737353183625216,"45":8916212493713967104},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-13 11:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683818496001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:10:49] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-13 11:10:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737353183625216,"km_value":105737353183625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916212493713967104,"description":"Unknown IO ID 45"} 
[2026-07-13 11:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683818496001,"power":11721,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916212493713967104}} 
[2026-07-13 11:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":132597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479689,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:10:49] local.INFO: GPS data processed {"connection_id":132597,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:10:49] local.INFO: Acknowledgment sent {"connection_id":132597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:11:12] local.INFO: TCP Data received {"connection_id":132596,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f59fb1518012d7f914005afd938000a011b20..."} 
[2026-07-13 11:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59fb1518012d7f914005afd938000a011b20..."} 
[2026-07-13 11:11:12] local.INFO: Processing buffer {"connection_id":132596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59fb1518012d7f914005afd938000a011b20..."} 
[2026-07-13 11:11:12] local.INFO: Packet analysis {"connection_id":132596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59fb"} 
[2026-07-13 11:11:12] local.INFO: Extracted packet for processing {"connection_id":132596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59fb"} 
[2026-07-13 11:11:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683713024001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783921055000,"timestamp_ms":1783921055000,"timestamp_seconds":1783921055,"priority":1,"record_length":96,"hex_timestamp":"0000019f59fb1518"} 
[2026-07-13 11:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683713024001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683713024001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:11:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:11:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683713024001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":132596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:11:12] local.INFO: GPS data processed {"connection_id":132596,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:11:12] local.INFO: Acknowledgment sent {"connection_id":132596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:11:20] local.INFO: TCP Data received {"connection_id":132597,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f59fd3be0012d7bbd8005ddbc000000002622..."} 
[2026-07-13 11:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59fd3be0012d7bbd8005ddbc000000002622..."} 
[2026-07-13 11:11:20] local.INFO: Processing buffer {"connection_id":132597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59fd3be0012d7bbd8005ddbc000000002622..."} 
[2026-07-13 11:11:20] local.INFO: Packet analysis {"connection_id":132597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59fd"} 
[2026-07-13 11:11:20] local.INFO: Extracted packet for processing {"connection_id":132597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59fd"} 
[2026-07-13 11:11:20] local.INFO: GPS Element Parsed {"raw_longitude":763084160,"raw_latitude":98417664,"longitude_deg":76.308416,"latitude_deg":9.8417664,"altitude":0,"angle":38,"satellites":34,"speed":0,"hex_longitude":"2d7bbd80","hex_latitude":"05ddbc00","is_valid_coordinates":true} 
[2026-07-13 11:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683823872001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737396133298176,"note":"Value kept but may cause issues"} 
[2026-07-13 11:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916212493713967104,"note":"Value kept but may cause issues"} 
[2026-07-13 11:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783921196000,"timestamp_ms":1783921196000,"timestamp_seconds":1783921196,"priority":1,"record_length":96,"hex_timestamp":"0000019f59fd3be0"} 
[2026-07-13 11:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 11:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-13 11:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":132597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":132597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":132597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683823872001,"66":11700,"169":206,"85":15104,"24":0,"16":105737396133298176,"45":8916212493713967104},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-13 11:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683823872001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:11:20] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-13 11:11:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737396133298176,"km_value":105737396133298.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916212493713967104,"description":"Unknown IO ID 45"} 
[2026-07-13 11:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683823872001,"power":11700,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8916212493713967104}} 
[2026-07-13 11:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":132597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479691,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:11:20] local.INFO: GPS data processed {"connection_id":132597,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:11:20] local.INFO: Acknowledgment sent {"connection_id":132597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:11:34] local.INFO: TCP Data received {"connection_id":130463,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:11:35] local.INFO: Processing buffer {"connection_id":130463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:11:35] local.INFO: IMEI packet received {"connection_id":130463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":130463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:11:40] local.INFO: TCP Data received {"connection_id":130463,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:11:40] local.INFO: Processing buffer {"connection_id":130463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:11:40] local.INFO: IMEI packet received {"connection_id":130463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":130463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:11:41] local.INFO: TCP Data received {"connection_id":130463,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f59fb1518012d7f914005afd938000a011b20..."} 
[2026-07-13 11:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59fb1518012d7f914005afd938000a011b20..."} 
[2026-07-13 11:11:41] local.INFO: Processing buffer {"connection_id":130463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59fb1518012d7f914005afd938000a011b20..."} 
[2026-07-13 11:11:41] local.INFO: Packet analysis {"connection_id":130463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59fb"} 
[2026-07-13 11:11:41] local.INFO: Extracted packet for processing {"connection_id":130463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59fb"} 
[2026-07-13 11:11:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683713024001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783921055000,"timestamp_ms":1783921055000,"timestamp_seconds":1783921055,"priority":1,"record_length":96,"hex_timestamp":"0000019f59fb1518"} 
[2026-07-13 11:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683713024001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683713024001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:11:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:11:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683713024001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":130463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:11:41] local.INFO: GPS data processed {"connection_id":130463,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:11:41] local.INFO: Acknowledgment sent {"connection_id":130463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:11:43] local.INFO: TCP Data received {"connection_id":130249,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130249,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:11:43] local.INFO: Processing buffer {"connection_id":130249,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:11:43] local.INFO: IMEI packet received {"connection_id":130249,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 11:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":130249,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:11:46] local.INFO: TCP Data received {"connection_id":130249,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130249,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:11:46] local.INFO: Processing buffer {"connection_id":130249,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:11:46] local.INFO: IMEI packet received {"connection_id":130249,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 11:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":130249,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:11:47] local.INFO: TCP Data received {"connection_id":130249,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f59fe8400012d7bbb0005dde5900000000d26..."} 
[2026-07-13 11:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59fe8400012d7bbb0005dde5900000000d26..."} 
[2026-07-13 11:11:47] local.INFO: Processing buffer {"connection_id":130249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59fe8400012d7bbb0005dde5900000000d26..."} 
[2026-07-13 11:11:47] local.INFO: Packet analysis {"connection_id":130249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59fe"} 
[2026-07-13 11:11:47] local.INFO: Extracted packet for processing {"connection_id":130249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59fe"} 
[2026-07-13 11:11:47] local.INFO: GPS Element Parsed {"raw_longitude":763083520,"raw_latitude":98428304,"longitude_deg":76.308352,"latitude_deg":9.8428304,"altitude":0,"angle":13,"satellites":38,"speed":9,"hex_longitude":"2d7bbb00","hex_latitude":"05dde590","is_valid_coordinates":true} 
[2026-07-13 11:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683842560001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105737971658915840,"note":"Value kept but may cause issues"} 
[2026-07-13 11:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916634706180628480,"note":"Value kept but may cause issues"} 
[2026-07-13 11:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783921280000,"timestamp_ms":1783921280000,"timestamp_seconds":1783921280,"priority":1,"record_length":96,"hex_timestamp":"0000019f59fe8400"} 
[2026-07-13 11:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 11:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-13 11:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683842560001,"66":13091,"50":206,"85":15104,"24":9,"16":105737971658915840,"45":8916634706180628480},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 11:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683842560001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:11:47] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 11:11:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105737971658915840,"km_value":105737971658915.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916634706180628480,"description":"Unknown IO ID 45"} 
[2026-07-13 11:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683842560001,"power":13091,"unknown_50":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8916634706180628480}} 
[2026-07-13 11:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":130249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479693,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:11:47] local.INFO: GPS data processed {"connection_id":130249,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:11:47] local.INFO: Acknowledgment sent {"connection_id":130249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:12:12] local.INFO: TCP Data received {"connection_id":130463,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f59fb1518012d7f914005afd938000a011b20..."} 
[2026-07-13 11:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59fb1518012d7f914005afd938000a011b20..."} 
[2026-07-13 11:12:12] local.INFO: Processing buffer {"connection_id":130463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59fb1518012d7f914005afd938000a011b20..."} 
[2026-07-13 11:12:12] local.INFO: Packet analysis {"connection_id":130463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59fb"} 
[2026-07-13 11:12:12] local.INFO: Extracted packet for processing {"connection_id":130463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59fb"} 
[2026-07-13 11:12:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683713024001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783921055000,"timestamp_ms":1783921055000,"timestamp_seconds":1783921055,"priority":1,"record_length":96,"hex_timestamp":"0000019f59fb1518"} 
[2026-07-13 11:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683713024001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683713024001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:12:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:12:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683713024001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":130463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:12:12] local.INFO: GPS data processed {"connection_id":130463,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:12:12] local.INFO: Acknowledgment sent {"connection_id":130463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:12:20] local.INFO: TCP Data received {"connection_id":130249,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f59feca50012d7bbbc005ddeaa00000016623..."} 
[2026-07-13 11:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59feca50012d7bbbc005ddeaa00000016623..."} 
[2026-07-13 11:12:20] local.INFO: Processing buffer {"connection_id":130249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59feca50012d7bbbc005ddeaa00000016623..."} 
[2026-07-13 11:12:20] local.INFO: Packet analysis {"connection_id":130249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59fe"} 
[2026-07-13 11:12:20] local.INFO: Extracted packet for processing {"connection_id":130249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59fe"} 
[2026-07-13 11:12:20] local.INFO: GPS Element Parsed {"raw_longitude":763083712,"raw_latitude":98429600,"longitude_deg":76.3083712,"latitude_deg":9.84296,"altitude":0,"angle":358,"satellites":35,"speed":5,"hex_longitude":"2d7bbbc0","hex_latitude":"05ddeaa0","is_valid_coordinates":true} 
[2026-07-13 11:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683847680001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105738036083425280,"note":"Value kept but may cause issues"} 
[2026-07-13 11:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915719912507674624,"note":"Value kept but may cause issues"} 
[2026-07-13 11:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783921298000,"timestamp_ms":1783921298000,"timestamp_seconds":1783921298,"priority":1,"record_length":96,"hex_timestamp":"0000019f59feca50"} 
[2026-07-13 11:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 11:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-13 11:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683847680001,"66":13319,"50":206,"85":15104,"24":5,"16":105738036083425280,"45":8915719912507674624},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 11:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683847680001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:12:20] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 11:12:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105738036083425280,"km_value":105738036083425.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915719912507674624,"description":"Unknown IO ID 45"} 
[2026-07-13 11:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683847680001,"power":13319,"unknown_50":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8915719912507674624}} 
[2026-07-13 11:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":130249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:12:20] local.INFO: GPS data processed {"connection_id":130249,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:12:20] local.INFO: Acknowledgment sent {"connection_id":130249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:12:35] local.INFO: TCP Data received {"connection_id":130250,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:12:35] local.INFO: Processing buffer {"connection_id":130250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:12:35] local.INFO: IMEI packet received {"connection_id":130250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":130250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:12:40] local.INFO: TCP Data received {"connection_id":130250,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:12:40] local.INFO: Processing buffer {"connection_id":130250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:12:40] local.INFO: IMEI packet received {"connection_id":130250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":130250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:12:41] local.INFO: TCP Data received {"connection_id":130250,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f59fb1518012d7f914005afd938000a011b20..."} 
[2026-07-13 11:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59fb1518012d7f914005afd938000a011b20..."} 
[2026-07-13 11:12:41] local.INFO: Processing buffer {"connection_id":130250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59fb1518012d7f914005afd938000a011b20..."} 
[2026-07-13 11:12:41] local.INFO: Packet analysis {"connection_id":130250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59fb"} 
[2026-07-13 11:12:41] local.INFO: Extracted packet for processing {"connection_id":130250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59fb"} 
[2026-07-13 11:12:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683713024001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783921055000,"timestamp_ms":1783921055000,"timestamp_seconds":1783921055,"priority":1,"record_length":96,"hex_timestamp":"0000019f59fb1518"} 
[2026-07-13 11:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683713024001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683713024001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:12:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:12:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683713024001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":130250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:12:41] local.INFO: GPS data processed {"connection_id":130250,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:12:41] local.INFO: Acknowledgment sent {"connection_id":130250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:12:43] local.INFO: TCP Data received {"connection_id":131268,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:12:43] local.INFO: Processing buffer {"connection_id":131268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:12:43] local.INFO: IMEI packet received {"connection_id":131268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 11:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":131268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:12:48] local.INFO: TCP Data received {"connection_id":131268,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:12:48] local.INFO: Processing buffer {"connection_id":131268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:12:48] local.INFO: IMEI packet received {"connection_id":131268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 11:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":131268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:12:48] local.INFO: TCP Data received {"connection_id":131268,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ff7e00012d7bc90005ddca60000000aa21..."} 
[2026-07-13 11:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ff7e00012d7bc90005ddca60000000aa21..."} 
[2026-07-13 11:12:48] local.INFO: Processing buffer {"connection_id":131268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ff7e00012d7bc90005ddca60000000aa21..."} 
[2026-07-13 11:12:48] local.INFO: Packet analysis {"connection_id":131268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ff"} 
[2026-07-13 11:12:48] local.INFO: Extracted packet for processing {"connection_id":131268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ff"} 
[2026-07-13 11:12:48] local.INFO: GPS Element Parsed {"raw_longitude":763087104,"raw_latitude":98421344,"longitude_deg":76.3087104,"latitude_deg":9.8421344,"altitude":0,"angle":170,"satellites":33,"speed":36,"hex_longitude":"2d7bc900","hex_latitude":"05ddca60","is_valid_coordinates":true} 
[2026-07-13 11:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683860736001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105738740458061824,"note":"Value kept but may cause issues"} 
[2026-07-13 11:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917479131112763392,"note":"Value kept but may cause issues"} 
[2026-07-13 11:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783921344000,"timestamp_ms":1783921344000,"timestamp_seconds":1783921344,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ff7e00"} 
[2026-07-13 11:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 11:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-13 11:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":131268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":131268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":131268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683860736001,"66":13243,"50":206,"85":15104,"24":36,"16":105738740458061824,"45":8917479131112763392},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 11:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683860736001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:12:48] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 11:12:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105738740458061824,"km_value":105738740458061.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917479131112763392,"description":"Unknown IO ID 45"} 
[2026-07-13 11:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683860736001,"power":13243,"unknown_50":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8917479131112763392}} 
[2026-07-13 11:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":131268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:12:48] local.INFO: GPS data processed {"connection_id":131268,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:12:48] local.INFO: Acknowledgment sent {"connection_id":131268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:13:10] local.INFO: TCP Data received {"connection_id":130464,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130464,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:13:10] local.INFO: Processing buffer {"connection_id":130464,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:13:10] local.INFO: IMEI packet received {"connection_id":130464,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 11:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":130464,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:13:12] local.INFO: TCP Data received {"connection_id":130250,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f59fb1518012d7f914005afd938000a011b20..."} 
[2026-07-13 11:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59fb1518012d7f914005afd938000a011b20..."} 
[2026-07-13 11:13:12] local.INFO: Processing buffer {"connection_id":130250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59fb1518012d7f914005afd938000a011b20..."} 
[2026-07-13 11:13:12] local.INFO: Packet analysis {"connection_id":130250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59fb"} 
[2026-07-13 11:13:12] local.INFO: Extracted packet for processing {"connection_id":130250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59fb"} 
[2026-07-13 11:13:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683713024001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783921055000,"timestamp_ms":1783921055000,"timestamp_seconds":1783921055,"priority":1,"record_length":96,"hex_timestamp":"0000019f59fb1518"} 
[2026-07-13 11:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683713024001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683713024001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:13:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:13:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683713024001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":130250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:13:12] local.INFO: GPS data processed {"connection_id":130250,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:13:12] local.INFO: Acknowledgment sent {"connection_id":130250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:13:19] local.INFO: TCP Data received {"connection_id":131268,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ffa128012d7bcfc005dda570000000aa20..."} 
[2026-07-13 11:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ffa128012d7bcfc005dda570000000aa20..."} 
[2026-07-13 11:13:19] local.INFO: Processing buffer {"connection_id":131268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ffa128012d7bcfc005dda570000000aa20..."} 
[2026-07-13 11:13:19] local.INFO: Packet analysis {"connection_id":131268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ff"} 
[2026-07-13 11:13:19] local.INFO: Extracted packet for processing {"connection_id":131268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ff"} 
[2026-07-13 11:13:19] local.INFO: GPS Element Parsed {"raw_longitude":763088832,"raw_latitude":98411888,"longitude_deg":76.3088832,"latitude_deg":9.8411888,"altitude":0,"angle":170,"satellites":32,"speed":49,"hex_longitude":"2d7bcfc0","hex_latitude":"05dda570","is_valid_coordinates":true} 
[2026-07-13 11: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-07-13 11:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683864064001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105739208609497088,"note":"Value kept but may cause issues"} 
[2026-07-13 11:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919660562179842048,"note":"Value kept but may cause issues"} 
[2026-07-13 11:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783921353000,"timestamp_ms":1783921353000,"timestamp_seconds":1783921353,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ffa128"} 
[2026-07-13 11:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 11:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 11:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11: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-07-13 11:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":131268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":131268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":131268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683864064001,"66":13048,"50":206,"85":15104,"24":49,"16":105739208609497088,"45":8919660562179842048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 11:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683864064001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:13:19] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 11:13:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105739208609497088,"km_value":105739208609497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919660562179842048,"description":"Unknown IO ID 45"} 
[2026-07-13 11:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683864064001,"power":13048,"unknown_50":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8919660562179842048}} 
[2026-07-13 11:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":131268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:13:19] local.INFO: GPS data processed {"connection_id":131268,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:13:19] local.INFO: Acknowledgment sent {"connection_id":131268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:13:40] local.INFO: TCP Data received {"connection_id":132599,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:13:40] local.INFO: Processing buffer {"connection_id":132599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:13:40] local.INFO: IMEI packet received {"connection_id":132599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":132599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:13:42] local.INFO: TCP Data received {"connection_id":130465,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:13:42] local.INFO: Processing buffer {"connection_id":130465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:13:42] local.INFO: IMEI packet received {"connection_id":130465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 11:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":130465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:13:43] local.INFO: TCP Data received {"connection_id":130466,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:13:43] local.INFO: Processing buffer {"connection_id":130466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:13:43] local.INFO: IMEI packet received {"connection_id":130466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 11:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":130466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:13:45] local.INFO: TCP Data received {"connection_id":132599,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:13:45] local.INFO: Processing buffer {"connection_id":132599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:13:45] local.INFO: IMEI packet received {"connection_id":132599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":132599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:13:46] local.INFO: TCP Data received {"connection_id":132599,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f59fface0012d7f914005afd938000a011b20..."} 
[2026-07-13 11:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59fface0012d7f914005afd938000a011b20..."} 
[2026-07-13 11:13:46] local.INFO: Processing buffer {"connection_id":132599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59fface0012d7f914005afd938000a011b20..."} 
[2026-07-13 11:13:46] local.INFO: Packet analysis {"connection_id":132599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ff"} 
[2026-07-13 11:13:46] local.INFO: Extracted packet for processing {"connection_id":132599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ff"} 
[2026-07-13 11:13:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683790080001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783921356000,"timestamp_ms":1783921356000,"timestamp_seconds":1783921356,"priority":1,"record_length":96,"hex_timestamp":"0000019f59fface0"} 
[2026-07-13 11:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 11:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683790080001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683790080001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:13:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:13:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683790080001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":132599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:13:46] local.INFO: GPS data processed {"connection_id":132599,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:13:46] local.INFO: Acknowledgment sent {"connection_id":132599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:13:47] local.INFO: TCP Data received {"connection_id":130466,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:13:47] local.INFO: Processing buffer {"connection_id":130466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:13:47] local.INFO: IMEI packet received {"connection_id":130466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 11:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":130466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:13:48] local.INFO: TCP Data received {"connection_id":130466,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:13:48] local.INFO: Processing buffer {"connection_id":130466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:13:48] local.INFO: IMEI packet received {"connection_id":130466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 11:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":130466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:13:49] local.INFO: TCP Data received {"connection_id":130466,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ffbc80012d7bd58005dd8138000000ac21..."} 
[2026-07-13 11:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ffbc80012d7bd58005dd8138000000ac21..."} 
[2026-07-13 11:13:49] local.INFO: Processing buffer {"connection_id":130466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ffbc80012d7bd58005dd8138000000ac21..."} 
[2026-07-13 11:13:49] local.INFO: Packet analysis {"connection_id":130466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ff"} 
[2026-07-13 11:13:49] local.INFO: Extracted packet for processing {"connection_id":130466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ff"} 
[2026-07-13 11:13:49] local.INFO: GPS Element Parsed {"raw_longitude":763090304,"raw_latitude":98402616,"longitude_deg":76.3090304,"latitude_deg":9.8402616,"altitude":0,"angle":172,"satellites":33,"speed":55,"hex_longitude":"2d7bd580","hex_latitude":"05dd8138","is_valid_coordinates":true} 
[2026-07-13 11:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683866368001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105739663876030464,"note":"Value kept but may cause issues"} 
[2026-07-13 11:13:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921560518270218240,"note":"Value kept but may cause issues"} 
[2026-07-13 11:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783921360000,"timestamp_ms":1783921360000,"timestamp_seconds":1783921360,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ffbc80"} 
[2026-07-13 11:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:13:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 11:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-13 11:13:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:13:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683866368001,"66":13015,"50":206,"85":15104,"24":55,"16":105739663876030464,"45":8921560518270218240},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 11:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683866368001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:13:50] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 11:13:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105739663876030464,"km_value":105739663876030.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921560518270218240,"description":"Unknown IO ID 45"} 
[2026-07-13 11:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683866368001,"power":13015,"unknown_50":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":8921560518270218240}} 
[2026-07-13 11:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":130466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479701,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:13:50] local.INFO: GPS data processed {"connection_id":130466,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:13:50] local.INFO: Acknowledgment sent {"connection_id":130466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:13:54] local.INFO: TCP Data received {"connection_id":130466,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f59ffd3f0012d7bd98005dd5e38000000ad1c..."} 
[2026-07-13 11:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59ffd3f0012d7bd98005dd5e38000000ad1c..."} 
[2026-07-13 11:13:54] local.INFO: Processing buffer {"connection_id":130466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59ffd3f0012d7bd98005dd5e38000000ad1c..."} 
[2026-07-13 11:13:54] local.INFO: Packet analysis {"connection_id":130466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ff"} 
[2026-07-13 11:13:54] local.INFO: Extracted packet for processing {"connection_id":130466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ff"} 
[2026-07-13 11:13:54] local.INFO: GPS Element Parsed {"raw_longitude":763091328,"raw_latitude":98393656,"longitude_deg":76.3091328,"latitude_deg":9.8393656,"altitude":0,"angle":173,"satellites":28,"speed":60,"hex_longitude":"2d7bd980","hex_latitude":"05dd5e38","is_valid_coordinates":true} 
[2026-07-13 11:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683868160001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105740097667727360,"note":"Value kept but may cause issues"} 
[2026-07-13 11:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923178999383930880,"note":"Value kept but may cause issues"} 
[2026-07-13 11:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783921366000,"timestamp_ms":1783921366000,"timestamp_seconds":1783921366,"priority":1,"record_length":96,"hex_timestamp":"0000019f59ffd3f0"} 
[2026-07-13 11:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:13: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-07-13 11:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-13 11:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683868160001,"66":13428,"50":206,"85":15104,"24":60,"16":105740097667727360,"45":8923178999383930880},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 11:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683868160001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:13:54] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 11:13:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105740097667727360,"km_value":105740097667727.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923178999383930880,"description":"Unknown IO ID 45"} 
[2026-07-13 11:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683868160001,"power":13428,"unknown_50":206,"unknown_85":15104,"ignition":60,"odometer":null,"unknown_45":8923178999383930880}} 
[2026-07-13 11:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":130466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479702,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:13:54] local.INFO: GPS data processed {"connection_id":130466,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:13:54] local.INFO: Acknowledgment sent {"connection_id":130466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:14:17] local.INFO: TCP Data received {"connection_id":132599,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f59fface0012d7f914005afd938000a011b20..."} 
[2026-07-13 11:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59fface0012d7f914005afd938000a011b20..."} 
[2026-07-13 11:14:17] local.INFO: Processing buffer {"connection_id":132599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59fface0012d7f914005afd938000a011b20..."} 
[2026-07-13 11:14:17] local.INFO: Packet analysis {"connection_id":132599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ff"} 
[2026-07-13 11:14:17] local.INFO: Extracted packet for processing {"connection_id":132599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ff"} 
[2026-07-13 11:14:17] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683790080001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783921356000,"timestamp_ms":1783921356000,"timestamp_seconds":1783921356,"priority":1,"record_length":96,"hex_timestamp":"0000019f59fface0"} 
[2026-07-13 11:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 11:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:14: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-07-13 11:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683790080001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683790080001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:14:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:14:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683790080001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":132599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:14:17] local.INFO: GPS data processed {"connection_id":132599,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:14:17] local.INFO: Acknowledgment sent {"connection_id":132599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:14:25] local.INFO: TCP Data received {"connection_id":130466,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a013b50012d7bf2c005dbc0900000014a24..."} 
[2026-07-13 11:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a013b50012d7bf2c005dbc0900000014a24..."} 
[2026-07-13 11:14:25] local.INFO: Processing buffer {"connection_id":130466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a013b50012d7bf2c005dbc0900000014a24..."} 
[2026-07-13 11:14:25] local.INFO: Packet analysis {"connection_id":130466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a01"} 
[2026-07-13 11:14:25] local.INFO: Extracted packet for processing {"connection_id":130466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a01"} 
[2026-07-13 11:14:25] local.INFO: GPS Element Parsed {"raw_longitude":763097792,"raw_latitude":98287760,"longitude_deg":76.3097792,"latitude_deg":9.828776,"altitude":0,"angle":330,"satellites":36,"speed":6,"hex_longitude":"2d7bf2c0","hex_latitude":"05dbc090","is_valid_coordinates":true} 
[2026-07-13 11: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-07-13 11:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683892992001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105745341822795776,"note":"Value kept but may cause issues"} 
[2026-07-13 11:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931482511167449088,"note":"Value kept but may cause issues"} 
[2026-07-13 11:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783921458000,"timestamp_ms":1783921458000,"timestamp_seconds":1783921458,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a013b50"} 
[2026-07-13 11:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:14:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 11: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-13 11:14:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11: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-07-13 11:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":130466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":130466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":130466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:14:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683892992001,"66":13254,"168":206,"85":15104,"24":6,"16":105745341822795776,"45":8931482511167449088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-13 11:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683892992001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:14:25] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-13 11:14:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105745341822795776,"km_value":105745341822795.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931482511167449088,"description":"Unknown IO ID 45"} 
[2026-07-13 11:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683892992001,"power":13254,"unknown_168":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8931482511167449088}} 
[2026-07-13 11:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":130466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479704,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:14:25] local.INFO: GPS data processed {"connection_id":130466,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:14:25] local.INFO: Acknowledgment sent {"connection_id":130466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:14:35] local.INFO: TCP Data received {"connection_id":130467,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:14:35] local.INFO: Processing buffer {"connection_id":130467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:14:35] local.INFO: IMEI packet received {"connection_id":130467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":130467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:14:40] local.INFO: TCP Data received {"connection_id":130467,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:14:40] local.INFO: Processing buffer {"connection_id":130467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:14:40] local.INFO: IMEI packet received {"connection_id":130467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":130467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:14:41] local.INFO: TCP Data received {"connection_id":130467,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f59fface0012d7f914005afd938000a011b20..."} 
[2026-07-13 11:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59fface0012d7f914005afd938000a011b20..."} 
[2026-07-13 11:14:41] local.INFO: Processing buffer {"connection_id":130467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59fface0012d7f914005afd938000a011b20..."} 
[2026-07-13 11:14:41] local.INFO: Packet analysis {"connection_id":130467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ff"} 
[2026-07-13 11:14:41] local.INFO: Extracted packet for processing {"connection_id":130467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ff"} 
[2026-07-13 11:14:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683790080001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783921356000,"timestamp_ms":1783921356000,"timestamp_seconds":1783921356,"priority":1,"record_length":96,"hex_timestamp":"0000019f59fface0"} 
[2026-07-13 11:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 11:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683790080001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683790080001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:14:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:14:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683790080001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":130467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:14:41] local.INFO: GPS data processed {"connection_id":130467,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:14:41] local.INFO: Acknowledgment sent {"connection_id":130467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:14:48] local.INFO: TCP Data received {"connection_id":130251,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:14:48] local.INFO: Processing buffer {"connection_id":130251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:14:48] local.INFO: IMEI packet received {"connection_id":130251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 11:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":130251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:14:53] local.INFO: TCP Data received {"connection_id":130251,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:14:53] local.INFO: Processing buffer {"connection_id":130251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:14:53] local.INFO: IMEI packet received {"connection_id":130251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 11:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":130251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:14:54] local.INFO: TCP Data received {"connection_id":130251,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a014af0012d7bf14005dbc2680000014a20..."} 
[2026-07-13 11:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a014af0012d7bf14005dbc2680000014a20..."} 
[2026-07-13 11:14:54] local.INFO: Processing buffer {"connection_id":130251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a014af0012d7bf14005dbc2680000014a20..."} 
[2026-07-13 11:14:54] local.INFO: Packet analysis {"connection_id":130251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a01"} 
[2026-07-13 11:14:54] local.INFO: Extracted packet for processing {"connection_id":130251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a01"} 
[2026-07-13 11:14:54] local.INFO: GPS Element Parsed {"raw_longitude":763097408,"raw_latitude":98288232,"longitude_deg":76.3097408,"latitude_deg":9.8288232,"altitude":0,"angle":330,"satellites":32,"speed":3,"hex_longitude":"2d7bf140","hex_latitude":"05dbc268","is_valid_coordinates":true} 
[2026-07-13 11:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683893248001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105745367592599552,"note":"Value kept but may cause issues"} 
[2026-07-13 11:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931412142423314432,"note":"Value kept but may cause issues"} 
[2026-07-13 11:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783921462000,"timestamp_ms":1783921462000,"timestamp_seconds":1783921462,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a014af0"} 
[2026-07-13 11:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 11: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-13 11:14:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683893248001,"66":13059,"168":206,"85":15104,"24":3,"16":105745367592599552,"45":8931412142423314432},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-13 11:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683893248001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:14:54] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-13 11:14:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105745367592599552,"km_value":105745367592599.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931412142423314432,"description":"Unknown IO ID 45"} 
[2026-07-13 11:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683893248001,"power":13059,"unknown_168":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8931412142423314432}} 
[2026-07-13 11:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":130251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479706,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:14:54] local.INFO: GPS data processed {"connection_id":130251,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:14:54] local.INFO: Acknowledgment sent {"connection_id":130251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:14:58] local.INFO: TCP Data received {"connection_id":130251,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a014af0012d7bf14005dbc2680000014a20..."} 
[2026-07-13 11:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a014af0012d7bf14005dbc2680000014a20..."} 
[2026-07-13 11:14:58] local.INFO: Processing buffer {"connection_id":130251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a014af0012d7bf14005dbc2680000014a20..."} 
[2026-07-13 11:14:58] local.INFO: Packet analysis {"connection_id":130251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a01"} 
[2026-07-13 11:14:58] local.INFO: Extracted packet for processing {"connection_id":130251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a01"} 
[2026-07-13 11:14:58] local.INFO: GPS Element Parsed {"raw_longitude":763097408,"raw_latitude":98288232,"longitude_deg":76.3097408,"latitude_deg":9.8288232,"altitude":0,"angle":330,"satellites":32,"speed":3,"hex_longitude":"2d7bf140","hex_latitude":"05dbc268","is_valid_coordinates":true} 
[2026-07-13 11:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683894272001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105745367592599552,"note":"Value kept but may cause issues"} 
[2026-07-13 11:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930989929958369280,"note":"Value kept but may cause issues"} 
[2026-07-13 11:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783921462000,"timestamp_ms":1783921462000,"timestamp_seconds":1783921462,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a014af0"} 
[2026-07-13 11:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-13 11:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168113135022,"note":"Value kept but may cause issues"} 
[2026-07-13 11:14:58] local.WARNING: Large IO value detected {"io_id":168,"raw_value":58077557095399432,"note":"Value kept but may cause issues"} 
[2026-07-13 11:14:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 11:14:58] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3456106496,"note":"Value kept but may cause issues"} 
[2026-07-13 11:14:58] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3199729664,"note":"Value kept but may cause issues"} 
[2026-07-13 11:14:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930245838,"corrected_to":0} 
[2026-07-13 11:14:58] local.WARNING: Large IO value detected {"io_id":43,"raw_value":2952867195,"note":"Value kept but may cause issues"} 
[2026-07-13 11:14:58] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":383934,"corrected_to":0} 
[2026-07-13 11:14:58] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802222,"note":"Value kept but may cause issues"} 
[2026-07-13 11:14:58] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2932342784,"note":"Value kept but may cause issues"} 
[2026-07-13 11:14:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3686772736,"note":"Value kept but may cause issues"} 
[2026-07-13 11:14:58] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,168,85,24,241,157,16,174,159,59,45,192,36,10,66,55,191,33,51,1,240,198,227,90,219,4,113,205,8,43,246,160,239,50,2,119,5],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2930245838,"validated":0},{"io_id":246,"original":383934,"validated":0}]} 
[2026-07-13 11:14:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":362976276316399,"timestamp_seconds":362976276316.399,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 11:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683894272001,"66":13059,"168":206,"85":15104,"24":3,"16":105745367592599552,"45":8930989929958369280},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-13 11:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683894272001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:14:58] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-13 11:14:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105745367592599552,"km_value":105745367592599.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930989929958369280,"description":"Unknown IO ID 45"} 
[2026-07-13 11:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683894272001,"power":13059,"unknown_168":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8930989929958369280}} 
[2026-07-13 11:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":130251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479707,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:14:58] local.INFO: GPS data processed {"connection_id":130251,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:14:58] local.INFO: Acknowledgment sent {"connection_id":130251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:15:12] local.INFO: TCP Data received {"connection_id":130467,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f59fface0012d7f914005afd938000a011b20..."} 
[2026-07-13 11:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59fface0012d7f914005afd938000a011b20..."} 
[2026-07-13 11:15:12] local.INFO: Processing buffer {"connection_id":130467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59fface0012d7f914005afd938000a011b20..."} 
[2026-07-13 11:15:12] local.INFO: Packet analysis {"connection_id":130467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ff"} 
[2026-07-13 11:15:12] local.INFO: Extracted packet for processing {"connection_id":130467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ff"} 
[2026-07-13 11:15:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683790080001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783921356000,"timestamp_ms":1783921356000,"timestamp_seconds":1783921356,"priority":1,"record_length":96,"hex_timestamp":"0000019f59fface0"} 
[2026-07-13 11:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 11:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683790080001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683790080001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:15:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:15:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683790080001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":130467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:15:12] local.INFO: GPS data processed {"connection_id":130467,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:15:12] local.INFO: Acknowledgment sent {"connection_id":130467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:15:34] local.INFO: TCP Data received {"connection_id":130468,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:15:34] local.INFO: Processing buffer {"connection_id":130468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:15:34] local.INFO: IMEI packet received {"connection_id":130468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":130468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:15:40] local.INFO: TCP Data received {"connection_id":130468,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:15:40] local.INFO: Processing buffer {"connection_id":130468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:15:40] local.INFO: IMEI packet received {"connection_id":130468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":130468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:15:41] local.INFO: TCP Data received {"connection_id":130468,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f59fface0012d7f914005afd938000a011b20..."} 
[2026-07-13 11:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59fface0012d7f914005afd938000a011b20..."} 
[2026-07-13 11:15:41] local.INFO: Processing buffer {"connection_id":130468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59fface0012d7f914005afd938000a011b20..."} 
[2026-07-13 11:15:41] local.INFO: Packet analysis {"connection_id":130468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ff"} 
[2026-07-13 11:15:41] local.INFO: Extracted packet for processing {"connection_id":130468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ff"} 
[2026-07-13 11:15:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683790080001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783921356000,"timestamp_ms":1783921356000,"timestamp_seconds":1783921356,"priority":1,"record_length":96,"hex_timestamp":"0000019f59fface0"} 
[2026-07-13 11:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 11:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683790080001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683790080001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:15:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:15:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683790080001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":130468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:15:41] local.INFO: GPS data processed {"connection_id":130468,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:15:41] local.INFO: Acknowledgment sent {"connection_id":130468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:15:43] local.INFO: TCP Data received {"connection_id":130252,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130252,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:15:43] local.INFO: Processing buffer {"connection_id":130252,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:15:43] local.INFO: IMEI packet received {"connection_id":130252,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 11:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":130252,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:15:48] local.INFO: TCP Data received {"connection_id":130252,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130252,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:15:48] local.INFO: Processing buffer {"connection_id":130252,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:15:48] local.INFO: IMEI packet received {"connection_id":130252,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 11:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":130252,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:15:49] local.INFO: TCP Data received {"connection_id":130252,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a014af0012d7bf14005dbc2680000014a20..."} 
[2026-07-13 11:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a014af0012d7bf14005dbc2680000014a20..."} 
[2026-07-13 11:15:49] local.INFO: Processing buffer {"connection_id":130252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a014af0012d7bf14005dbc2680000014a20..."} 
[2026-07-13 11:15:49] local.INFO: Packet analysis {"connection_id":130252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a01"} 
[2026-07-13 11:15:49] local.INFO: Extracted packet for processing {"connection_id":130252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a01"} 
[2026-07-13 11:15:49] local.INFO: GPS Element Parsed {"raw_longitude":763097408,"raw_latitude":98288232,"longitude_deg":76.3097408,"latitude_deg":9.8288232,"altitude":0,"angle":330,"satellites":32,"speed":3,"hex_longitude":"2d7bf140","hex_latitude":"05dbc268","is_valid_coordinates":true} 
[2026-07-13 11:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683894272001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105745367592599552,"note":"Value kept but may cause issues"} 
[2026-07-13 11:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930989929958369280,"note":"Value kept but may cause issues"} 
[2026-07-13 11:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783921462000,"timestamp_ms":1783921462000,"timestamp_seconds":1783921462,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a014af0"} 
[2026-07-13 11:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-13 11:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168113135022,"note":"Value kept but may cause issues"} 
[2026-07-13 11:15:49] local.WARNING: Large IO value detected {"io_id":168,"raw_value":58077557095399432,"note":"Value kept but may cause issues"} 
[2026-07-13 11:15:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 11:15:49] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3456106496,"note":"Value kept but may cause issues"} 
[2026-07-13 11:15:49] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3199729664,"note":"Value kept but may cause issues"} 
[2026-07-13 11:15:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930245838,"corrected_to":0} 
[2026-07-13 11:15:49] local.WARNING: Large IO value detected {"io_id":43,"raw_value":2952867195,"note":"Value kept but may cause issues"} 
[2026-07-13 11:15:49] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":383934,"corrected_to":0} 
[2026-07-13 11:15:49] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802222,"note":"Value kept but may cause issues"} 
[2026-07-13 11:15:49] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2932342784,"note":"Value kept but may cause issues"} 
[2026-07-13 11:15:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3686772736,"note":"Value kept but may cause issues"} 
[2026-07-13 11:15:49] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,168,85,24,241,157,16,174,159,59,45,192,36,10,66,55,191,33,51,1,240,198,227,90,219,4,113,205,8,43,246,160,239,50,2,119,5],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2930245838,"validated":0},{"io_id":246,"original":383934,"validated":0}]} 
[2026-07-13 11:15:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":362976276316399,"timestamp_seconds":362976276316.399,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 11:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683894272001,"66":13059,"168":206,"85":15104,"24":3,"16":105745367592599552,"45":8930989929958369280},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-13 11:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683894272001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:15:49] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-13 11:15:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105745367592599552,"km_value":105745367592599.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930989929958369280,"description":"Unknown IO ID 45"} 
[2026-07-13 11:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683894272001,"power":13059,"unknown_168":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8930989929958369280}} 
[2026-07-13 11:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":130252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479710,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:15:49] local.INFO: GPS data processed {"connection_id":130252,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:15:49] local.INFO: Acknowledgment sent {"connection_id":130252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:16:12] local.INFO: TCP Data received {"connection_id":130468,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f59fface0012d7f914005afd938000a011b20..."} 
[2026-07-13 11:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59fface0012d7f914005afd938000a011b20..."} 
[2026-07-13 11:16:12] local.INFO: Processing buffer {"connection_id":130468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59fface0012d7f914005afd938000a011b20..."} 
[2026-07-13 11:16:12] local.INFO: Packet analysis {"connection_id":130468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ff"} 
[2026-07-13 11:16:12] local.INFO: Extracted packet for processing {"connection_id":130468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ff"} 
[2026-07-13 11:16:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683790080001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783921356000,"timestamp_ms":1783921356000,"timestamp_seconds":1783921356,"priority":1,"record_length":96,"hex_timestamp":"0000019f59fface0"} 
[2026-07-13 11:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 11:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683790080001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683790080001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:16:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:16:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683790080001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":130468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:16:12] local.INFO: GPS data processed {"connection_id":130468,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:16:12] local.INFO: Acknowledgment sent {"connection_id":130468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:16:19] local.INFO: TCP Data received {"connection_id":130252,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a014af0012d7bf14005dbc2680000014a20..."} 
[2026-07-13 11:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a014af0012d7bf14005dbc2680000014a20..."} 
[2026-07-13 11:16:19] local.INFO: Processing buffer {"connection_id":130252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a014af0012d7bf14005dbc2680000014a20..."} 
[2026-07-13 11:16:19] local.INFO: Packet analysis {"connection_id":130252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a01"} 
[2026-07-13 11:16:19] local.INFO: Extracted packet for processing {"connection_id":130252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a01"} 
[2026-07-13 11:16:19] local.INFO: GPS Element Parsed {"raw_longitude":763097408,"raw_latitude":98288232,"longitude_deg":76.3097408,"latitude_deg":9.8288232,"altitude":0,"angle":330,"satellites":32,"speed":3,"hex_longitude":"2d7bf140","hex_latitude":"05dbc268","is_valid_coordinates":true} 
[2026-07-13 11:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683894272001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105745367592599552,"note":"Value kept but may cause issues"} 
[2026-07-13 11:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930989929958369280,"note":"Value kept but may cause issues"} 
[2026-07-13 11:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783921462000,"timestamp_ms":1783921462000,"timestamp_seconds":1783921462,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a014af0"} 
[2026-07-13 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-07-13 11:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-13 11:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168113135022,"note":"Value kept but may cause issues"} 
[2026-07-13 11:16:19] local.WARNING: Large IO value detected {"io_id":168,"raw_value":58077557095399432,"note":"Value kept but may cause issues"} 
[2026-07-13 11:16:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 11:16:19] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3456106496,"note":"Value kept but may cause issues"} 
[2026-07-13 11:16:19] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3199729664,"note":"Value kept but may cause issues"} 
[2026-07-13 11:16:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930245838,"corrected_to":0} 
[2026-07-13 11:16:19] local.WARNING: Large IO value detected {"io_id":43,"raw_value":2952867195,"note":"Value kept but may cause issues"} 
[2026-07-13 11:16:19] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":383934,"corrected_to":0} 
[2026-07-13 11:16:19] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802222,"note":"Value kept but may cause issues"} 
[2026-07-13 11:16:19] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2932342784,"note":"Value kept but may cause issues"} 
[2026-07-13 11:16:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3686772736,"note":"Value kept but may cause issues"} 
[2026-07-13 11:16:19] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,168,85,24,241,157,16,174,159,59,45,192,36,10,66,55,191,33,51,1,240,198,227,90,219,4,113,205,8,43,246,160,239,50,2,119,5],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2930245838,"validated":0},{"io_id":246,"original":383934,"validated":0}]} 
[2026-07-13 11:16:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":362976276316399,"timestamp_seconds":362976276316.399,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 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-07-13 11:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683894272001,"66":13059,"168":206,"85":15104,"24":3,"16":105745367592599552,"45":8930989929958369280},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-13 11:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683894272001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:16:19] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-13 11:16:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105745367592599552,"km_value":105745367592599.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930989929958369280,"description":"Unknown IO ID 45"} 
[2026-07-13 11:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683894272001,"power":13059,"unknown_168":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8930989929958369280}} 
[2026-07-13 11:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":130252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479712,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:16:19] local.INFO: GPS data processed {"connection_id":130252,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:16:19] local.INFO: Acknowledgment sent {"connection_id":130252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:16:35] local.INFO: TCP Data received {"connection_id":130469,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:16:35] local.INFO: Processing buffer {"connection_id":130469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:16:35] local.INFO: IMEI packet received {"connection_id":130469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":130469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:16:40] local.INFO: TCP Data received {"connection_id":130469,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:16:40] local.INFO: Processing buffer {"connection_id":130469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:16:40] local.INFO: IMEI packet received {"connection_id":130469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":130469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:16:41] local.INFO: TCP Data received {"connection_id":130469,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f59fface0012d7f914005afd938000a011b20..."} 
[2026-07-13 11:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59fface0012d7f914005afd938000a011b20..."} 
[2026-07-13 11:16:41] local.INFO: Processing buffer {"connection_id":130469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59fface0012d7f914005afd938000a011b20..."} 
[2026-07-13 11:16:41] local.INFO: Packet analysis {"connection_id":130469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ff"} 
[2026-07-13 11:16:41] local.INFO: Extracted packet for processing {"connection_id":130469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ff"} 
[2026-07-13 11:16:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683790080001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783921356000,"timestamp_ms":1783921356000,"timestamp_seconds":1783921356,"priority":1,"record_length":96,"hex_timestamp":"0000019f59fface0"} 
[2026-07-13 11:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 11:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683790080001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683790080001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:16:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:16:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683790080001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":130469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:16:41] local.INFO: GPS data processed {"connection_id":130469,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:16:41] local.INFO: Acknowledgment sent {"connection_id":130469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:16:43] local.INFO: TCP Data received {"connection_id":132602,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132602,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:16:43] local.INFO: Processing buffer {"connection_id":132602,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:16:43] local.INFO: IMEI packet received {"connection_id":132602,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 11:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":132602,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:16:48] local.INFO: TCP Data received {"connection_id":132602,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132602,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:16:48] local.INFO: Processing buffer {"connection_id":132602,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:16:48] local.INFO: IMEI packet received {"connection_id":132602,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 11:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":132602,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:16:49] local.INFO: TCP Data received {"connection_id":132602,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a014af0012d7bf14005dbc2680000014a20..."} 
[2026-07-13 11:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a014af0012d7bf14005dbc2680000014a20..."} 
[2026-07-13 11:16:49] local.INFO: Processing buffer {"connection_id":132602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a014af0012d7bf14005dbc2680000014a20..."} 
[2026-07-13 11:16:49] local.INFO: Packet analysis {"connection_id":132602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a01"} 
[2026-07-13 11:16:49] local.INFO: Extracted packet for processing {"connection_id":132602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a01"} 
[2026-07-13 11:16:49] local.INFO: GPS Element Parsed {"raw_longitude":763097408,"raw_latitude":98288232,"longitude_deg":76.3097408,"latitude_deg":9.8288232,"altitude":0,"angle":330,"satellites":32,"speed":3,"hex_longitude":"2d7bf140","hex_latitude":"05dbc268","is_valid_coordinates":true} 
[2026-07-13 11:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683894272001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105745367592599552,"note":"Value kept but may cause issues"} 
[2026-07-13 11:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930989929958369280,"note":"Value kept but may cause issues"} 
[2026-07-13 11:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783921462000,"timestamp_ms":1783921462000,"timestamp_seconds":1783921462,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a014af0"} 
[2026-07-13 11:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-13 11:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168113135022,"note":"Value kept but may cause issues"} 
[2026-07-13 11:16:49] local.WARNING: Large IO value detected {"io_id":168,"raw_value":58077557095399432,"note":"Value kept but may cause issues"} 
[2026-07-13 11:16:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 11:16:49] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3456106496,"note":"Value kept but may cause issues"} 
[2026-07-13 11:16:49] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3199729664,"note":"Value kept but may cause issues"} 
[2026-07-13 11:16:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930245838,"corrected_to":0} 
[2026-07-13 11:16:49] local.WARNING: Large IO value detected {"io_id":43,"raw_value":2952867195,"note":"Value kept but may cause issues"} 
[2026-07-13 11:16:49] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":383934,"corrected_to":0} 
[2026-07-13 11:16:49] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802222,"note":"Value kept but may cause issues"} 
[2026-07-13 11:16:49] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2932342784,"note":"Value kept but may cause issues"} 
[2026-07-13 11:16:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3686772736,"note":"Value kept but may cause issues"} 
[2026-07-13 11:16:49] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,168,85,24,241,157,16,174,159,59,45,192,36,10,66,55,191,33,51,1,240,198,227,90,219,4,113,205,8,43,246,160,239,50,2,119,5],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2930245838,"validated":0},{"io_id":246,"original":383934,"validated":0}]} 
[2026-07-13 11:16:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":362976276316399,"timestamp_seconds":362976276316.399,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 11:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683894272001,"66":13059,"168":206,"85":15104,"24":3,"16":105745367592599552,"45":8930989929958369280},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-13 11:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683894272001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:16:49] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-13 11:16:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105745367592599552,"km_value":105745367592599.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930989929958369280,"description":"Unknown IO ID 45"} 
[2026-07-13 11:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683894272001,"power":13059,"unknown_168":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8930989929958369280}} 
[2026-07-13 11:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":132602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479714,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:16:49] local.INFO: GPS data processed {"connection_id":132602,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:16:49] local.INFO: Acknowledgment sent {"connection_id":132602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:17:12] local.INFO: TCP Data received {"connection_id":130469,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f59fface0012d7f914005afd938000a011b20..."} 
[2026-07-13 11:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59fface0012d7f914005afd938000a011b20..."} 
[2026-07-13 11:17:12] local.INFO: Processing buffer {"connection_id":130469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59fface0012d7f914005afd938000a011b20..."} 
[2026-07-13 11:17:12] local.INFO: Packet analysis {"connection_id":130469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ff"} 
[2026-07-13 11:17:12] local.INFO: Extracted packet for processing {"connection_id":130469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ff"} 
[2026-07-13 11:17:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683790080001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783921356000,"timestamp_ms":1783921356000,"timestamp_seconds":1783921356,"priority":1,"record_length":96,"hex_timestamp":"0000019f59fface0"} 
[2026-07-13 11:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 11:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683790080001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683790080001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:17:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:17:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683790080001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":130469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:17:12] local.INFO: GPS data processed {"connection_id":130469,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:17:12] local.INFO: Acknowledgment sent {"connection_id":130469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:17:20] local.INFO: TCP Data received {"connection_id":132602,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a014af0012d7bf14005dbc2680000014a20..."} 
[2026-07-13 11:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a014af0012d7bf14005dbc2680000014a20..."} 
[2026-07-13 11:17:20] local.INFO: Processing buffer {"connection_id":132602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a014af0012d7bf14005dbc2680000014a20..."} 
[2026-07-13 11:17:20] local.INFO: Packet analysis {"connection_id":132602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a01"} 
[2026-07-13 11:17:20] local.INFO: Extracted packet for processing {"connection_id":132602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a01"} 
[2026-07-13 11:17:20] local.INFO: GPS Element Parsed {"raw_longitude":763097408,"raw_latitude":98288232,"longitude_deg":76.3097408,"latitude_deg":9.8288232,"altitude":0,"angle":330,"satellites":32,"speed":3,"hex_longitude":"2d7bf140","hex_latitude":"05dbc268","is_valid_coordinates":true} 
[2026-07-13 11:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683894272001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105745367592599552,"note":"Value kept but may cause issues"} 
[2026-07-13 11:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930989929958369280,"note":"Value kept but may cause issues"} 
[2026-07-13 11:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783921462000,"timestamp_ms":1783921462000,"timestamp_seconds":1783921462,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a014af0"} 
[2026-07-13 11:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-13 11:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168113135022,"note":"Value kept but may cause issues"} 
[2026-07-13 11:17:20] local.WARNING: Large IO value detected {"io_id":168,"raw_value":58077557095399432,"note":"Value kept but may cause issues"} 
[2026-07-13 11:17:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 11:17:20] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3456106496,"note":"Value kept but may cause issues"} 
[2026-07-13 11:17:20] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3199729664,"note":"Value kept but may cause issues"} 
[2026-07-13 11:17:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930245838,"corrected_to":0} 
[2026-07-13 11:17:20] local.WARNING: Large IO value detected {"io_id":43,"raw_value":2952867195,"note":"Value kept but may cause issues"} 
[2026-07-13 11:17:20] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":383934,"corrected_to":0} 
[2026-07-13 11:17:20] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802222,"note":"Value kept but may cause issues"} 
[2026-07-13 11:17:20] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2932342784,"note":"Value kept but may cause issues"} 
[2026-07-13 11:17:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3686772736,"note":"Value kept but may cause issues"} 
[2026-07-13 11:17:20] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,168,85,24,241,157,16,174,159,59,45,192,36,10,66,55,191,33,51,1,240,198,227,90,219,4,113,205,8,43,246,160,239,50,2,119,5],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2930245838,"validated":0},{"io_id":246,"original":383934,"validated":0}]} 
[2026-07-13 11:17:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":362976276316399,"timestamp_seconds":362976276316.399,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 11:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":132602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":132602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":132602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683894272001,"66":13059,"168":206,"85":15104,"24":3,"16":105745367592599552,"45":8930989929958369280},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-13 11:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683894272001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:17:20] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-13 11:17:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105745367592599552,"km_value":105745367592599.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930989929958369280,"description":"Unknown IO ID 45"} 
[2026-07-13 11:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683894272001,"power":13059,"unknown_168":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8930989929958369280}} 
[2026-07-13 11:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":132602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479716,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:17:20] local.INFO: GPS data processed {"connection_id":132602,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:17:20] local.INFO: Acknowledgment sent {"connection_id":132602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:17:35] local.INFO: TCP Data received {"connection_id":130254,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:17:35] local.INFO: Processing buffer {"connection_id":130254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:17:35] local.INFO: IMEI packet received {"connection_id":130254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":130254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:17:40] local.INFO: TCP Data received {"connection_id":130254,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:17:40] local.INFO: Processing buffer {"connection_id":130254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:17:40] local.INFO: IMEI packet received {"connection_id":130254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":130254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:17:41] local.INFO: TCP Data received {"connection_id":130254,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f59fface0012d7f914005afd938000a011b20..."} 
[2026-07-13 11:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59fface0012d7f914005afd938000a011b20..."} 
[2026-07-13 11:17:41] local.INFO: Processing buffer {"connection_id":130254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59fface0012d7f914005afd938000a011b20..."} 
[2026-07-13 11:17:41] local.INFO: Packet analysis {"connection_id":130254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ff"} 
[2026-07-13 11:17:41] local.INFO: Extracted packet for processing {"connection_id":130254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ff"} 
[2026-07-13 11:17:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683790080001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783921356000,"timestamp_ms":1783921356000,"timestamp_seconds":1783921356,"priority":1,"record_length":96,"hex_timestamp":"0000019f59fface0"} 
[2026-07-13 11:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 11:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683790080001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683790080001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:17:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:17:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683790080001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":130254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:17:41] local.INFO: GPS data processed {"connection_id":130254,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:17:41] local.INFO: Acknowledgment sent {"connection_id":130254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:17:43] local.INFO: TCP Data received {"connection_id":130256,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:17:43] local.INFO: Processing buffer {"connection_id":130256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:17:43] local.INFO: IMEI packet received {"connection_id":130256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 11:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":130256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:17:48] local.INFO: TCP Data received {"connection_id":130256,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:17:48] local.INFO: Processing buffer {"connection_id":130256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:17:48] local.INFO: IMEI packet received {"connection_id":130256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 11:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":130256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:17:49] local.INFO: TCP Data received {"connection_id":130256,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a014af0012d7bf14005dbc2680000014a20..."} 
[2026-07-13 11:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a014af0012d7bf14005dbc2680000014a20..."} 
[2026-07-13 11:17:49] local.INFO: Processing buffer {"connection_id":130256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a014af0012d7bf14005dbc2680000014a20..."} 
[2026-07-13 11:17:49] local.INFO: Packet analysis {"connection_id":130256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a01"} 
[2026-07-13 11:17:49] local.INFO: Extracted packet for processing {"connection_id":130256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a01"} 
[2026-07-13 11:17:49] local.INFO: GPS Element Parsed {"raw_longitude":763097408,"raw_latitude":98288232,"longitude_deg":76.3097408,"latitude_deg":9.8288232,"altitude":0,"angle":330,"satellites":32,"speed":3,"hex_longitude":"2d7bf140","hex_latitude":"05dbc268","is_valid_coordinates":true} 
[2026-07-13 11:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683894272001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105745367592599552,"note":"Value kept but may cause issues"} 
[2026-07-13 11:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930989929958369280,"note":"Value kept but may cause issues"} 
[2026-07-13 11:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783921462000,"timestamp_ms":1783921462000,"timestamp_seconds":1783921462,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a014af0"} 
[2026-07-13 11:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-13 11:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168113135022,"note":"Value kept but may cause issues"} 
[2026-07-13 11:17:49] local.WARNING: Large IO value detected {"io_id":168,"raw_value":58077557095399432,"note":"Value kept but may cause issues"} 
[2026-07-13 11:17:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 11:17:49] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3456106496,"note":"Value kept but may cause issues"} 
[2026-07-13 11:17:49] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3199729664,"note":"Value kept but may cause issues"} 
[2026-07-13 11:17:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930245838,"corrected_to":0} 
[2026-07-13 11:17:49] local.WARNING: Large IO value detected {"io_id":43,"raw_value":2952867195,"note":"Value kept but may cause issues"} 
[2026-07-13 11:17:49] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":383934,"corrected_to":0} 
[2026-07-13 11:17:49] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802222,"note":"Value kept but may cause issues"} 
[2026-07-13 11:17:49] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2932342784,"note":"Value kept but may cause issues"} 
[2026-07-13 11:17:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3686772736,"note":"Value kept but may cause issues"} 
[2026-07-13 11:17:49] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,168,85,24,241,157,16,174,159,59,45,192,36,10,66,55,191,33,51,1,240,198,227,90,219,4,113,205,8,43,246,160,239,50,2,119,5],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2930245838,"validated":0},{"io_id":246,"original":383934,"validated":0}]} 
[2026-07-13 11:17:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":362976276316399,"timestamp_seconds":362976276316.399,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 11:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683894272001,"66":13059,"168":206,"85":15104,"24":3,"16":105745367592599552,"45":8930989929958369280},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-13 11:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683894272001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:17:49] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-13 11:17:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105745367592599552,"km_value":105745367592599.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930989929958369280,"description":"Unknown IO ID 45"} 
[2026-07-13 11:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683894272001,"power":13059,"unknown_168":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8930989929958369280}} 
[2026-07-13 11:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":130256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479718,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:17:49] local.INFO: GPS data processed {"connection_id":130256,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:17:49] local.INFO: Acknowledgment sent {"connection_id":130256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:18:12] local.INFO: TCP Data received {"connection_id":130254,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f59fface0012d7f914005afd938000a011b20..."} 
[2026-07-13 11:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f59fface0012d7f914005afd938000a011b20..."} 
[2026-07-13 11:18:12] local.INFO: Processing buffer {"connection_id":130254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f59fface0012d7f914005afd938000a011b20..."} 
[2026-07-13 11:18:12] local.INFO: Packet analysis {"connection_id":130254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f59ff"} 
[2026-07-13 11:18:12] local.INFO: Extracted packet for processing {"connection_id":130254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f59ff"} 
[2026-07-13 11:18:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683790080001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783921356000,"timestamp_ms":1783921356000,"timestamp_seconds":1783921356,"priority":1,"record_length":96,"hex_timestamp":"0000019f59fface0"} 
[2026-07-13 11:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 11:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683790080001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683790080001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:18:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:18:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683790080001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":130254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:18:12] local.INFO: GPS data processed {"connection_id":130254,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:18:12] local.INFO: Acknowledgment sent {"connection_id":130254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:18:20] local.INFO: TCP Data received {"connection_id":130256,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a014af0012d7bf14005dbc2680000014a20..."} 
[2026-07-13 11:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a014af0012d7bf14005dbc2680000014a20..."} 
[2026-07-13 11:18:20] local.INFO: Processing buffer {"connection_id":130256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a014af0012d7bf14005dbc2680000014a20..."} 
[2026-07-13 11:18:20] local.INFO: Packet analysis {"connection_id":130256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a01"} 
[2026-07-13 11:18:20] local.INFO: Extracted packet for processing {"connection_id":130256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a01"} 
[2026-07-13 11:18:20] local.INFO: GPS Element Parsed {"raw_longitude":763097408,"raw_latitude":98288232,"longitude_deg":76.3097408,"latitude_deg":9.8288232,"altitude":0,"angle":330,"satellites":32,"speed":3,"hex_longitude":"2d7bf140","hex_latitude":"05dbc268","is_valid_coordinates":true} 
[2026-07-13 11:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683894272001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105745367592599552,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930989929958369280,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783921462000,"timestamp_ms":1783921462000,"timestamp_seconds":1783921462,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a014af0"} 
[2026-07-13 11:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-13 11:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168113135022,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:20] local.WARNING: Large IO value detected {"io_id":168,"raw_value":58077557095399432,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:20] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3456106496,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:20] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3199729664,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930245838,"corrected_to":0} 
[2026-07-13 11:18:20] local.WARNING: Large IO value detected {"io_id":43,"raw_value":2952867195,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:20] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":383934,"corrected_to":0} 
[2026-07-13 11:18:20] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802222,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:20] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2932342784,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3686772736,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:20] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,168,85,24,241,157,16,174,159,59,45,192,36,10,66,55,191,33,51,1,240,198,227,90,219,4,113,205,8,43,246,160,239,50,2,119,5],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2930245838,"validated":0},{"io_id":246,"original":383934,"validated":0}]} 
[2026-07-13 11:18:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":362976276316399,"timestamp_seconds":362976276316.399,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 11:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683894272001,"66":13059,"168":206,"85":15104,"24":3,"16":105745367592599552,"45":8930989929958369280},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-13 11:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683894272001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:18:20] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-13 11:18:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105745367592599552,"km_value":105745367592599.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930989929958369280,"description":"Unknown IO ID 45"} 
[2026-07-13 11:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683894272001,"power":13059,"unknown_168":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8930989929958369280}} 
[2026-07-13 11:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":130256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479720,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:18:20] local.INFO: GPS data processed {"connection_id":130256,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:18:20] local.INFO: Acknowledgment sent {"connection_id":130256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:18:40] local.INFO: TCP Data received {"connection_id":130257,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:18:40] local.INFO: Processing buffer {"connection_id":130257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:18:40] local.INFO: IMEI packet received {"connection_id":130257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":130257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:18:45] local.INFO: TCP Data received {"connection_id":130257,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:18:45] local.INFO: Processing buffer {"connection_id":130257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:18:45] local.INFO: IMEI packet received {"connection_id":130257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":130257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:18:46] local.INFO: TCP Data received {"connection_id":130257,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a0444a8012d7f914005afd938000a011b20..."} 
[2026-07-13 11:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a0444a8012d7f914005afd938000a011b20..."} 
[2026-07-13 11:18:46] local.INFO: Processing buffer {"connection_id":130257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a0444a8012d7f914005afd938000a011b20..."} 
[2026-07-13 11:18:46] local.INFO: Packet analysis {"connection_id":130257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a04"} 
[2026-07-13 11:18:46] local.INFO: Extracted packet for processing {"connection_id":130257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a04"} 
[2026-07-13 11:18:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683867136001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783921657000,"timestamp_ms":1783921657000,"timestamp_seconds":1783921657,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a0444a8"} 
[2026-07-13 11:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 11:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683867136001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683867136001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:18:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:18:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683867136001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":130257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:18:46] local.INFO: GPS data processed {"connection_id":130257,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:18:46] local.INFO: Acknowledgment sent {"connection_id":130257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:18:48] local.INFO: TCP Data received {"connection_id":130470,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130470,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:18:48] local.INFO: Processing buffer {"connection_id":130470,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:18:48] local.INFO: IMEI packet received {"connection_id":130470,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 11:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":130470,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:18:53] local.INFO: TCP Data received {"connection_id":130470,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130470,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:18:53] local.INFO: Processing buffer {"connection_id":130470,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:18:53] local.INFO: IMEI packet received {"connection_id":130470,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 11:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":130470,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:18:54] local.INFO: TCP Data received {"connection_id":130470,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a014af0012d7bf14005dbc2680000014a20..."} 
[2026-07-13 11:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a014af0012d7bf14005dbc2680000014a20..."} 
[2026-07-13 11:18:54] local.INFO: Processing buffer {"connection_id":130470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a014af0012d7bf14005dbc2680000014a20..."} 
[2026-07-13 11:18:54] local.INFO: Packet analysis {"connection_id":130470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a01"} 
[2026-07-13 11:18:54] local.INFO: Extracted packet for processing {"connection_id":130470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a01"} 
[2026-07-13 11:18:54] local.INFO: GPS Element Parsed {"raw_longitude":763097408,"raw_latitude":98288232,"longitude_deg":76.3097408,"latitude_deg":9.8288232,"altitude":0,"angle":330,"satellites":32,"speed":3,"hex_longitude":"2d7bf140","hex_latitude":"05dbc268","is_valid_coordinates":true} 
[2026-07-13 11:18: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-07-13 11:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683894272001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105745367592599552,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930989929958369280,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783921462000,"timestamp_ms":1783921462000,"timestamp_seconds":1783921462,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a014af0"} 
[2026-07-13 11:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-13 11:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168113135022,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:54] local.WARNING: Large IO value detected {"io_id":168,"raw_value":58077557095399432,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:54] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3456106496,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:54] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3199729664,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930245838,"corrected_to":0} 
[2026-07-13 11:18:54] local.WARNING: Large IO value detected {"io_id":43,"raw_value":2952867195,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:54] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":383934,"corrected_to":0} 
[2026-07-13 11:18:54] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802222,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:54] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2932342784,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3686772736,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:54] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,168,85,24,241,157,16,174,159,59,45,192,36,10,66,55,191,33,51,1,240,198,227,90,219,4,113,205,8,43,246,160,239,50,2,119,5],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2930245838,"validated":0},{"io_id":246,"original":383934,"validated":0}]} 
[2026-07-13 11:18:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":362976276316399,"timestamp_seconds":362976276316.399,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 11:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683894272001,"66":13059,"168":206,"85":15104,"24":3,"16":105745367592599552,"45":8930989929958369280},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-13 11:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683894272001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:18:54] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-13 11:18:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105745367592599552,"km_value":105745367592599.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930989929958369280,"description":"Unknown IO ID 45"} 
[2026-07-13 11:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683894272001,"power":13059,"unknown_168":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8930989929958369280}} 
[2026-07-13 11:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":130470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479722,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:18:54] local.INFO: GPS data processed {"connection_id":130470,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:18:54] local.INFO: Acknowledgment sent {"connection_id":130470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:18:58] local.INFO: TCP Data received {"connection_id":130470,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a014af0012d7bf14005dbc2680000014a20..."} 
[2026-07-13 11:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a014af0012d7bf14005dbc2680000014a20..."} 
[2026-07-13 11:18:58] local.INFO: Processing buffer {"connection_id":130470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a014af0012d7bf14005dbc2680000014a20..."} 
[2026-07-13 11:18:58] local.INFO: Packet analysis {"connection_id":130470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a01"} 
[2026-07-13 11:18:58] local.INFO: Extracted packet for processing {"connection_id":130470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a01"} 
[2026-07-13 11:18:58] local.INFO: GPS Element Parsed {"raw_longitude":763097408,"raw_latitude":98288232,"longitude_deg":76.3097408,"latitude_deg":9.8288232,"altitude":0,"angle":330,"satellites":32,"speed":3,"hex_longitude":"2d7bf140","hex_latitude":"05dbc268","is_valid_coordinates":true} 
[2026-07-13 11:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683894272001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105745367592599552,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930989929958369280,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783921462000,"timestamp_ms":1783921462000,"timestamp_seconds":1783921462,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a014af0"} 
[2026-07-13 11:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-13 11:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168113135022,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:58] local.WARNING: Large IO value detected {"io_id":168,"raw_value":58077557095399432,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:58] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3456106496,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:58] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3199729664,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930245838,"corrected_to":0} 
[2026-07-13 11:18:58] local.WARNING: Large IO value detected {"io_id":43,"raw_value":2952867195,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:58] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":383934,"corrected_to":0} 
[2026-07-13 11:18:58] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802222,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:58] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2932342784,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3686772736,"note":"Value kept but may cause issues"} 
[2026-07-13 11:18:58] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,168,85,24,241,157,16,174,159,59,45,192,36,10,66,55,191,33,51,1,240,198,227,90,219,4,113,205,8,43,246,160,239,50,2,119,5],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2930245838,"validated":0},{"io_id":246,"original":383934,"validated":0}]} 
[2026-07-13 11:18:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":362976276316399,"timestamp_seconds":362976276316.399,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 11:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683894272001,"66":13059,"168":206,"85":15104,"24":3,"16":105745367592599552,"45":8930989929958369280},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-13 11:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683894272001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:18:58] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-13 11:18:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105745367592599552,"km_value":105745367592599.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930989929958369280,"description":"Unknown IO ID 45"} 
[2026-07-13 11:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683894272001,"power":13059,"unknown_168":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8930989929958369280}} 
[2026-07-13 11:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":130470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479723,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:18:58] local.INFO: GPS data processed {"connection_id":130470,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:18:58] local.INFO: Acknowledgment sent {"connection_id":130470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:19:05] local.INFO: TCP Data received {"connection_id":130258,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130258,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:19:05] local.INFO: Processing buffer {"connection_id":130258,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:19:05] local.INFO: IMEI packet received {"connection_id":130258,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 11:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":130258,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:19:16] local.INFO: TCP Data received {"connection_id":130257,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a0444a8012d7f914005afd938000a011b20..."} 
[2026-07-13 11:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a0444a8012d7f914005afd938000a011b20..."} 
[2026-07-13 11:19:17] local.INFO: Processing buffer {"connection_id":130257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a0444a8012d7f914005afd938000a011b20..."} 
[2026-07-13 11:19:17] local.INFO: Packet analysis {"connection_id":130257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a04"} 
[2026-07-13 11:19:17] local.INFO: Extracted packet for processing {"connection_id":130257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a04"} 
[2026-07-13 11:19:17] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11: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-07-13 11:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683867136001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783921657000,"timestamp_ms":1783921657000,"timestamp_seconds":1783921657,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a0444a8"} 
[2026-07-13 11:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 11:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11: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-07-13 11:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:19: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-07-13 11:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683867136001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683867136001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:19:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:19:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683867136001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":130257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:19:17] local.INFO: GPS data processed {"connection_id":130257,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:19:17] local.INFO: Acknowledgment sent {"connection_id":130257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:19:34] local.INFO: TCP Data received {"connection_id":130471,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:19:34] local.INFO: Processing buffer {"connection_id":130471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:19:34] local.INFO: IMEI packet received {"connection_id":130471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":130471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:19:40] local.INFO: TCP Data received {"connection_id":130471,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:19:40] local.INFO: Processing buffer {"connection_id":130471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:19:40] local.INFO: IMEI packet received {"connection_id":130471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":130471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:19:41] local.INFO: TCP Data received {"connection_id":130471,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a0444a8012d7f914005afd938000a011b20..."} 
[2026-07-13 11:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a0444a8012d7f914005afd938000a011b20..."} 
[2026-07-13 11:19:41] local.INFO: Processing buffer {"connection_id":130471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a0444a8012d7f914005afd938000a011b20..."} 
[2026-07-13 11:19:41] local.INFO: Packet analysis {"connection_id":130471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a04"} 
[2026-07-13 11:19:41] local.INFO: Extracted packet for processing {"connection_id":130471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a04"} 
[2026-07-13 11:19:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11: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-07-13 11:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683867136001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783921657000,"timestamp_ms":1783921657000,"timestamp_seconds":1783921657,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a0444a8"} 
[2026-07-13 11:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 11:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11: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-07-13 11:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683867136001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683867136001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:19:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:19:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683867136001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":130471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:19:41] local.INFO: GPS data processed {"connection_id":130471,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:19:41] local.INFO: Acknowledgment sent {"connection_id":130471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:19:43] local.INFO: TCP Data received {"connection_id":130472,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:19:43] local.INFO: Processing buffer {"connection_id":130472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:19:43] local.INFO: IMEI packet received {"connection_id":130472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 11:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":130472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:19:45] local.INFO: TCP Data received {"connection_id":131269,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131269,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:19:45] local.INFO: Processing buffer {"connection_id":131269,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:19:45] local.INFO: IMEI packet received {"connection_id":131269,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 11:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":131269,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:19:48] local.INFO: TCP Data received {"connection_id":130472,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:19:48] local.INFO: Processing buffer {"connection_id":130472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:19:48] local.INFO: IMEI packet received {"connection_id":130472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 11:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":130472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:19:49] local.INFO: TCP Data received {"connection_id":130472,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a05ee70012d7bf14005dbc2600000014a23..."} 
[2026-07-13 11:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a05ee70012d7bf14005dbc2600000014a23..."} 
[2026-07-13 11:19:49] local.INFO: Processing buffer {"connection_id":130472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a05ee70012d7bf14005dbc2600000014a23..."} 
[2026-07-13 11:19:49] local.INFO: Packet analysis {"connection_id":130472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a05"} 
[2026-07-13 11:19:49] local.INFO: Extracted packet for processing {"connection_id":130472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a05"} 
[2026-07-13 11:19:49] local.INFO: GPS Element Parsed {"raw_longitude":763097408,"raw_latitude":98288224,"longitude_deg":76.3097408,"latitude_deg":9.8288224,"altitude":0,"angle":330,"satellites":35,"speed":0,"hex_longitude":"2d7bf140","hex_latitude":"05dbc260","is_valid_coordinates":true} 
[2026-07-13 11:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683894272001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105745367592599552,"note":"Value kept but may cause issues"} 
[2026-07-13 11:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930989929958369280,"note":"Value kept but may cause issues"} 
[2026-07-13 11:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783921766000,"timestamp_ms":1783921766000,"timestamp_seconds":1783921766,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a05ee70"} 
[2026-07-13 11:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-13 11:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162828311982,"note":"Value kept but may cause issues"} 
[2026-07-13 11:19:49] local.WARNING: Large IO value detected {"io_id":168,"raw_value":58077557095399431,"note":"Value kept but may cause issues"} 
[2026-07-13 11:19:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 11:19:49] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3523215360,"note":"Value kept but may cause issues"} 
[2026-07-13 11:19:49] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3205496832,"note":"Value kept but may cause issues"} 
[2026-07-13 11:19:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930245838,"corrected_to":0} 
[2026-07-13 11:19:49] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2550214011,"note":"Value kept but may cause issues"} 
[2026-07-13 11:19:49] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802222,"note":"Value kept but may cause issues"} 
[2026-07-13 11:19:49] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2932473856,"note":"Value kept but may cause issues"} 
[2026-07-13 11:19:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3686703104,"note":"Value kept but may cause issues"} 
[2026-07-13 11:19:49] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,168,85,24,241,157,16,174,159,74,45,64,194,32,10,66,59,192,36,55,1,240,198,227,90,219,4,113,205,8,47,245,184,33,239,50,2,119,5,7],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2930245838,"validated":0}]} 
[2026-07-13 11:19:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":362976276316400,"timestamp_seconds":362976276316.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 11:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683894272001,"66":12863,"185":206,"85":15104,"24":0,"16":105745367592599552,"45":8930989929958369280},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-13 11:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683894272001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:19:49] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-13 11:19:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105745367592599552,"km_value":105745367592599.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930989929958369280,"description":"Unknown IO ID 45"} 
[2026-07-13 11:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683894272001,"power":12863,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8930989929958369280}} 
[2026-07-13 11:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":130472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479726,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:19:49] local.INFO: GPS data processed {"connection_id":130472,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:19:49] local.INFO: Acknowledgment sent {"connection_id":130472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:20:12] local.INFO: TCP Data received {"connection_id":130471,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a0444a8012d7f914005afd938000a011b20..."} 
[2026-07-13 11:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a0444a8012d7f914005afd938000a011b20..."} 
[2026-07-13 11:20:12] local.INFO: Processing buffer {"connection_id":130471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a0444a8012d7f914005afd938000a011b20..."} 
[2026-07-13 11:20:12] local.INFO: Packet analysis {"connection_id":130471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a04"} 
[2026-07-13 11:20:12] local.INFO: Extracted packet for processing {"connection_id":130471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a04"} 
[2026-07-13 11:20:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683867136001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783921657000,"timestamp_ms":1783921657000,"timestamp_seconds":1783921657,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a0444a8"} 
[2026-07-13 11:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 11:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683867136001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683867136001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:20:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:20:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683867136001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":130471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:20:12] local.INFO: GPS data processed {"connection_id":130471,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:20:12] local.INFO: Acknowledgment sent {"connection_id":130471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:20:36] local.INFO: TCP Data received {"connection_id":131270,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:20:36] local.INFO: Processing buffer {"connection_id":131270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:20:36] local.INFO: IMEI packet received {"connection_id":131270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":131270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:20:40] local.INFO: TCP Data received {"connection_id":131270,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:20:40] local.INFO: Processing buffer {"connection_id":131270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:20:40] local.INFO: IMEI packet received {"connection_id":131270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":131270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:20:41] local.INFO: TCP Data received {"connection_id":131270,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a0444a8012d7f914005afd938000a011b20..."} 
[2026-07-13 11:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a0444a8012d7f914005afd938000a011b20..."} 
[2026-07-13 11:20:41] local.INFO: Processing buffer {"connection_id":131270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a0444a8012d7f914005afd938000a011b20..."} 
[2026-07-13 11:20:41] local.INFO: Packet analysis {"connection_id":131270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a04"} 
[2026-07-13 11:20:41] local.INFO: Extracted packet for processing {"connection_id":131270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a04"} 
[2026-07-13 11:20:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683867136001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783921657000,"timestamp_ms":1783921657000,"timestamp_seconds":1783921657,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a0444a8"} 
[2026-07-13 11:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 11:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683867136001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683867136001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:20:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:20:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683867136001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":131270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:20:41] local.INFO: GPS data processed {"connection_id":131270,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:20:41] local.INFO: Acknowledgment sent {"connection_id":131270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:21:12] local.INFO: TCP Data received {"connection_id":131270,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a0444a8012d7f914005afd938000a011b20..."} 
[2026-07-13 11:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a0444a8012d7f914005afd938000a011b20..."} 
[2026-07-13 11:21:12] local.INFO: Processing buffer {"connection_id":131270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a0444a8012d7f914005afd938000a011b20..."} 
[2026-07-13 11:21:12] local.INFO: Packet analysis {"connection_id":131270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a04"} 
[2026-07-13 11:21:12] local.INFO: Extracted packet for processing {"connection_id":131270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a04"} 
[2026-07-13 11:21:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683867136001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783921657000,"timestamp_ms":1783921657000,"timestamp_seconds":1783921657,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a0444a8"} 
[2026-07-13 11:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 11:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683867136001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683867136001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:21:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:21:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683867136001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":131270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:21:12] local.INFO: GPS data processed {"connection_id":131270,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:21:12] local.INFO: Acknowledgment sent {"connection_id":131270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:21:34] local.INFO: TCP Data received {"connection_id":130259,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:21:34] local.INFO: Processing buffer {"connection_id":130259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:21:34] local.INFO: IMEI packet received {"connection_id":130259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":130259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:21:40] local.INFO: TCP Data received {"connection_id":130259,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:21:40] local.INFO: Processing buffer {"connection_id":130259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:21:40] local.INFO: IMEI packet received {"connection_id":130259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":130259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:21:41] local.INFO: TCP Data received {"connection_id":130259,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a0444a8012d7f914005afd938000a011b20..."} 
[2026-07-13 11:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a0444a8012d7f914005afd938000a011b20..."} 
[2026-07-13 11:21:41] local.INFO: Processing buffer {"connection_id":130259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a0444a8012d7f914005afd938000a011b20..."} 
[2026-07-13 11:21:41] local.INFO: Packet analysis {"connection_id":130259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a04"} 
[2026-07-13 11:21:41] local.INFO: Extracted packet for processing {"connection_id":130259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a04"} 
[2026-07-13 11:21:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683867136001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783921657000,"timestamp_ms":1783921657000,"timestamp_seconds":1783921657,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a0444a8"} 
[2026-07-13 11:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 11:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683867136001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683867136001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:21:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683867136001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":130259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:21:41] local.INFO: GPS data processed {"connection_id":130259,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:21:41] local.INFO: Acknowledgment sent {"connection_id":130259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:22:12] local.INFO: TCP Data received {"connection_id":130259,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a0444a8012d7f914005afd938000a011b20..."} 
[2026-07-13 11:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a0444a8012d7f914005afd938000a011b20..."} 
[2026-07-13 11:22:12] local.INFO: Processing buffer {"connection_id":130259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a0444a8012d7f914005afd938000a011b20..."} 
[2026-07-13 11:22:12] local.INFO: Packet analysis {"connection_id":130259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a04"} 
[2026-07-13 11:22:12] local.INFO: Extracted packet for processing {"connection_id":130259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a04"} 
[2026-07-13 11:22:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683867136001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783921657000,"timestamp_ms":1783921657000,"timestamp_seconds":1783921657,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a0444a8"} 
[2026-07-13 11:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 11:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683867136001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683867136001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:22:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:22:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683867136001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":130259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:22:12] local.INFO: GPS data processed {"connection_id":130259,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:22:12] local.INFO: Acknowledgment sent {"connection_id":130259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:22:34] local.INFO: TCP Data received {"connection_id":130474,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:22:34] local.INFO: Processing buffer {"connection_id":130474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:22:34] local.INFO: IMEI packet received {"connection_id":130474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":130474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:22:40] local.INFO: TCP Data received {"connection_id":130474,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:22:40] local.INFO: Processing buffer {"connection_id":130474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:22:40] local.INFO: IMEI packet received {"connection_id":130474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":130474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:22:40] local.INFO: TCP Data received {"connection_id":130474,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a0444a8012d7f914005afd938000a011b20..."} 
[2026-07-13 11:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a0444a8012d7f914005afd938000a011b20..."} 
[2026-07-13 11:22:41] local.INFO: Processing buffer {"connection_id":130474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a0444a8012d7f914005afd938000a011b20..."} 
[2026-07-13 11:22:41] local.INFO: Packet analysis {"connection_id":130474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a04"} 
[2026-07-13 11:22:41] local.INFO: Extracted packet for processing {"connection_id":130474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a04"} 
[2026-07-13 11:22:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683867136001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783921657000,"timestamp_ms":1783921657000,"timestamp_seconds":1783921657,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a0444a8"} 
[2026-07-13 11:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 11:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683867136001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683867136001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:22:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683867136001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":130474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:22:41] local.INFO: GPS data processed {"connection_id":130474,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:22:41] local.INFO: Acknowledgment sent {"connection_id":130474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:23:12] local.INFO: TCP Data received {"connection_id":130474,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a0444a8012d7f914005afd938000a011b20..."} 
[2026-07-13 11:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a0444a8012d7f914005afd938000a011b20..."} 
[2026-07-13 11:23:12] local.INFO: Processing buffer {"connection_id":130474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a0444a8012d7f914005afd938000a011b20..."} 
[2026-07-13 11:23:12] local.INFO: Packet analysis {"connection_id":130474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a04"} 
[2026-07-13 11:23:12] local.INFO: Extracted packet for processing {"connection_id":130474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a04"} 
[2026-07-13 11:23:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683867136001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783921657000,"timestamp_ms":1783921657000,"timestamp_seconds":1783921657,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a0444a8"} 
[2026-07-13 11:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 11:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683867136001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683867136001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:23:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:23:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683867136001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":130474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:23:12] local.INFO: GPS data processed {"connection_id":130474,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:23:12] local.INFO: Acknowledgment sent {"connection_id":130474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:23:35] local.INFO: TCP Data received {"connection_id":130475,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:23:35] local.INFO: Processing buffer {"connection_id":130475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:23:35] local.INFO: IMEI packet received {"connection_id":130475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":130475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:23:40] local.INFO: TCP Data received {"connection_id":130475,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:23:40] local.INFO: Processing buffer {"connection_id":130475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:23:40] local.INFO: IMEI packet received {"connection_id":130475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":130475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:23:41] local.INFO: TCP Data received {"connection_id":130475,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a08dc70012d7f914005afd938000b011b1f..."} 
[2026-07-13 11:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a08dc70012d7f914005afd938000b011b1f..."} 
[2026-07-13 11:23:41] local.INFO: Processing buffer {"connection_id":130475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a08dc70012d7f914005afd938000b011b1f..."} 
[2026-07-13 11:23:41] local.INFO: Packet analysis {"connection_id":130475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a08"} 
[2026-07-13 11:23:41] local.INFO: Extracted packet for processing {"connection_id":130475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a08"} 
[2026-07-13 11:23:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683944192001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783921958000,"timestamp_ms":1783921958000,"timestamp_seconds":1783921958,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a08dc70"} 
[2026-07-13 11:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 11:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683944192001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683944192001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:23:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:23:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683944192001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":130475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:23:41] local.INFO: GPS data processed {"connection_id":130475,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:23:41] local.INFO: Acknowledgment sent {"connection_id":130475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:24:12] local.INFO: TCP Data received {"connection_id":130475,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a08dc70012d7f914005afd938000b011b1f..."} 
[2026-07-13 11:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a08dc70012d7f914005afd938000b011b1f..."} 
[2026-07-13 11:24:12] local.INFO: Processing buffer {"connection_id":130475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a08dc70012d7f914005afd938000b011b1f..."} 
[2026-07-13 11:24:12] local.INFO: Packet analysis {"connection_id":130475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a08"} 
[2026-07-13 11:24:12] local.INFO: Extracted packet for processing {"connection_id":130475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a08"} 
[2026-07-13 11:24:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683944192001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783921958000,"timestamp_ms":1783921958000,"timestamp_seconds":1783921958,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a08dc70"} 
[2026-07-13 11:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 11:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683944192001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683944192001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:24:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:24:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683944192001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":130475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:24:12] local.INFO: GPS data processed {"connection_id":130475,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:24:12] local.INFO: Acknowledgment sent {"connection_id":130475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:24:35] local.INFO: TCP Data received {"connection_id":131271,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:24:35] local.INFO: Processing buffer {"connection_id":131271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:24:35] local.INFO: IMEI packet received {"connection_id":131271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":131271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:24:40] local.INFO: TCP Data received {"connection_id":131271,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:24:40] local.INFO: Processing buffer {"connection_id":131271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:24:40] local.INFO: IMEI packet received {"connection_id":131271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":131271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:24:41] local.INFO: TCP Data received {"connection_id":131271,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a08dc70012d7f914005afd938000b011b1f..."} 
[2026-07-13 11:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a08dc70012d7f914005afd938000b011b1f..."} 
[2026-07-13 11:24:41] local.INFO: Processing buffer {"connection_id":131271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a08dc70012d7f914005afd938000b011b1f..."} 
[2026-07-13 11:24:41] local.INFO: Packet analysis {"connection_id":131271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a08"} 
[2026-07-13 11:24:41] local.INFO: Extracted packet for processing {"connection_id":131271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a08"} 
[2026-07-13 11:24:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683944192001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783921958000,"timestamp_ms":1783921958000,"timestamp_seconds":1783921958,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a08dc70"} 
[2026-07-13 11:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 11:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683944192001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683944192001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:24:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:24:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683944192001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":131271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:24:41] local.INFO: GPS data processed {"connection_id":131271,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:24:41] local.INFO: Acknowledgment sent {"connection_id":131271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:24:58] local.INFO: TCP Data received {"connection_id":132606,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:24:58] local.INFO: Processing buffer {"connection_id":132606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:24:58] local.INFO: IMEI packet received {"connection_id":132606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 11:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":132606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:25:03] local.INFO: TCP Data received {"connection_id":132606,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:25:03] local.INFO: Processing buffer {"connection_id":132606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:25:03] local.INFO: IMEI packet received {"connection_id":132606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 11:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":132606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:25:04] local.INFO: TCP Data received {"connection_id":132606,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a064078012d7bf14005dbc2600000014a20..."} 
[2026-07-13 11:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a064078012d7bf14005dbc2600000014a20..."} 
[2026-07-13 11:25:04] local.INFO: Processing buffer {"connection_id":132606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a064078012d7bf14005dbc2600000014a20..."} 
[2026-07-13 11:25:04] local.INFO: Packet analysis {"connection_id":132606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a06"} 
[2026-07-13 11:25:04] local.INFO: Extracted packet for processing {"connection_id":132606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a06"} 
[2026-07-13 11:25:04] local.INFO: GPS Element Parsed {"raw_longitude":763097408,"raw_latitude":98288224,"longitude_deg":76.3097408,"latitude_deg":9.8288224,"altitude":0,"angle":330,"satellites":32,"speed":0,"hex_longitude":"2d7bf140","hex_latitude":"05dbc260","is_valid_coordinates":true} 
[2026-07-13 11:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683977472001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105745367592599552,"note":"Value kept but may cause issues"} 
[2026-07-13 11:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930989929958367232,"note":"Value kept but may cause issues"} 
[2026-07-13 11:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783921787000,"timestamp_ms":1783921787000,"timestamp_seconds":1783921787,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a064078"} 
[2026-07-13 11:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-13 11:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683977472001,"66":12874,"185":206,"85":15104,"24":0,"16":105745367592599552,"45":8930989929958367232},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-13 11:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683977472001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:25:04] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-13 11:25:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105745367592599552,"km_value":105745367592599.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930989929958367232,"description":"Unknown IO ID 45"} 
[2026-07-13 11:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683977472001,"power":12874,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8930989929958367232}} 
[2026-07-13 11:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":132606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479737,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:25:04] local.INFO: GPS data processed {"connection_id":132606,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:25:04] local.INFO: Acknowledgment sent {"connection_id":132606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:25:10] local.INFO: TCP Data received {"connection_id":130477,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:25:10] local.INFO: Processing buffer {"connection_id":130477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:25:10] local.INFO: IMEI packet received {"connection_id":130477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 11:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":130477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:25:12] local.INFO: TCP Data received {"connection_id":131271,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a08dc70012d7f914005afd938000b011b1f..."} 
[2026-07-13 11:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a08dc70012d7f914005afd938000b011b1f..."} 
[2026-07-13 11:25:12] local.INFO: Processing buffer {"connection_id":131271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a08dc70012d7f914005afd938000b011b1f..."} 
[2026-07-13 11:25:12] local.INFO: Packet analysis {"connection_id":131271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a08"} 
[2026-07-13 11:25:12] local.INFO: Extracted packet for processing {"connection_id":131271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a08"} 
[2026-07-13 11:25:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683944192001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783921958000,"timestamp_ms":1783921958000,"timestamp_seconds":1783921958,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a08dc70"} 
[2026-07-13 11:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 11:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683944192001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683944192001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:25:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:25:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683944192001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":131271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:25:12] local.INFO: GPS data processed {"connection_id":131271,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:25:12] local.INFO: Acknowledgment sent {"connection_id":131271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:25:34] local.INFO: TCP Data received {"connection_id":130478,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:25:34] local.INFO: Processing buffer {"connection_id":130478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:25:34] local.INFO: IMEI packet received {"connection_id":130478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":130478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:25:38] local.INFO: TCP Data received {"connection_id":132607,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:25:38] local.INFO: Processing buffer {"connection_id":132607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:25:38] local.INFO: IMEI packet received {"connection_id":132607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 11:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":132607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:25:40] local.INFO: TCP Data received {"connection_id":130478,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:25:40] local.INFO: TCP Data received {"connection_id":130260,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:25:40] local.INFO: Processing buffer {"connection_id":130478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:25:40] local.INFO: IMEI packet received {"connection_id":130478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":130478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130260,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:25:40] local.INFO: Processing buffer {"connection_id":130260,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:25:40] local.INFO: IMEI packet received {"connection_id":130260,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 11:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":130260,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:25:41] local.INFO: TCP Data received {"connection_id":130478,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a08dc70012d7f914005afd938000b011b1f..."} 
[2026-07-13 11:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a08dc70012d7f914005afd938000b011b1f..."} 
[2026-07-13 11:25:41] local.INFO: Processing buffer {"connection_id":130478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a08dc70012d7f914005afd938000b011b1f..."} 
[2026-07-13 11:25:41] local.INFO: Packet analysis {"connection_id":130478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a08"} 
[2026-07-13 11:25:41] local.INFO: Extracted packet for processing {"connection_id":130478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a08"} 
[2026-07-13 11:25:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683944192001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783921958000,"timestamp_ms":1783921958000,"timestamp_seconds":1783921958,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a08dc70"} 
[2026-07-13 11:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 11:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683944192001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683944192001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:25:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:25:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683944192001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":130478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:25:41] local.INFO: GPS data processed {"connection_id":130478,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:25:41] local.INFO: Acknowledgment sent {"connection_id":130478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:25:43] local.INFO: TCP Data received {"connection_id":132607,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:25:43] local.INFO: Processing buffer {"connection_id":132607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:25:43] local.INFO: IMEI packet received {"connection_id":132607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 11:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":132607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:25:48] local.INFO: TCP Data received {"connection_id":132607,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:25:48] local.INFO: Processing buffer {"connection_id":132607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:25:48] local.INFO: IMEI packet received {"connection_id":132607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 11:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":132607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:25:49] local.INFO: TCP Data received {"connection_id":132607,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a064078012d7bf14005dbc2600000014a20..."} 
[2026-07-13 11:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a064078012d7bf14005dbc2600000014a20..."} 
[2026-07-13 11:25:49] local.INFO: Processing buffer {"connection_id":132607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a064078012d7bf14005dbc2600000014a20..."} 
[2026-07-13 11:25:49] local.INFO: Packet analysis {"connection_id":132607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a06"} 
[2026-07-13 11:25:49] local.INFO: Extracted packet for processing {"connection_id":132607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a06"} 
[2026-07-13 11:25:49] local.INFO: GPS Element Parsed {"raw_longitude":763097408,"raw_latitude":98288224,"longitude_deg":76.3097408,"latitude_deg":9.8288224,"altitude":0,"angle":330,"satellites":32,"speed":0,"hex_longitude":"2d7bf140","hex_latitude":"05dbc260","is_valid_coordinates":true} 
[2026-07-13 11:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683977472001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105745367592599552,"note":"Value kept but may cause issues"} 
[2026-07-13 11:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930989929958367232,"note":"Value kept but may cause issues"} 
[2026-07-13 11:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783921787000,"timestamp_ms":1783921787000,"timestamp_seconds":1783921787,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a064078"} 
[2026-07-13 11:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-13 11:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:25:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683977472001,"66":12874,"185":206,"85":15104,"24":0,"16":105745367592599552,"45":8930989929958367232},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-13 11:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683977472001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:25:49] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-13 11:25:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105745367592599552,"km_value":105745367592599.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930989929958367232,"description":"Unknown IO ID 45"} 
[2026-07-13 11:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683977472001,"power":12874,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8930989929958367232}} 
[2026-07-13 11:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":132607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479740,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:25:49] local.INFO: GPS data processed {"connection_id":132607,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:25:49] local.INFO: Acknowledgment sent {"connection_id":132607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:26:12] local.INFO: TCP Data received {"connection_id":130478,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a08dc70012d7f914005afd938000b011b1f..."} 
[2026-07-13 11:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a08dc70012d7f914005afd938000b011b1f..."} 
[2026-07-13 11:26:12] local.INFO: Processing buffer {"connection_id":130478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a08dc70012d7f914005afd938000b011b1f..."} 
[2026-07-13 11:26:12] local.INFO: Packet analysis {"connection_id":130478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a08"} 
[2026-07-13 11:26:12] local.INFO: Extracted packet for processing {"connection_id":130478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a08"} 
[2026-07-13 11:26:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683944192001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783921958000,"timestamp_ms":1783921958000,"timestamp_seconds":1783921958,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a08dc70"} 
[2026-07-13 11:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 11:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683944192001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683944192001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:26:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:26:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683944192001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":130478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:26:12] local.INFO: GPS data processed {"connection_id":130478,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:26:12] local.INFO: Acknowledgment sent {"connection_id":130478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:26:20] local.INFO: TCP Data received {"connection_id":132607,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a064078012d7bf14005dbc2600000014a20..."} 
[2026-07-13 11:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a064078012d7bf14005dbc2600000014a20..."} 
[2026-07-13 11:26:20] local.INFO: Processing buffer {"connection_id":132607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a064078012d7bf14005dbc2600000014a20..."} 
[2026-07-13 11:26:20] local.INFO: Packet analysis {"connection_id":132607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a06"} 
[2026-07-13 11:26:20] local.INFO: Extracted packet for processing {"connection_id":132607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a06"} 
[2026-07-13 11:26:20] local.INFO: GPS Element Parsed {"raw_longitude":763097408,"raw_latitude":98288224,"longitude_deg":76.3097408,"latitude_deg":9.8288224,"altitude":0,"angle":330,"satellites":32,"speed":0,"hex_longitude":"2d7bf140","hex_latitude":"05dbc260","is_valid_coordinates":true} 
[2026-07-13 11:26: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-07-13 11:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683977472001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105745367592599552,"note":"Value kept but may cause issues"} 
[2026-07-13 11:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930989929958367232,"note":"Value kept but may cause issues"} 
[2026-07-13 11:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783921787000,"timestamp_ms":1783921787000,"timestamp_seconds":1783921787,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a064078"} 
[2026-07-13 11:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-13 11:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":132607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":132607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":132607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683977472001,"66":12874,"185":206,"85":15104,"24":0,"16":105745367592599552,"45":8930989929958367232},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-13 11:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683977472001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:26:20] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-13 11:26:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105745367592599552,"km_value":105745367592599.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930989929958367232,"description":"Unknown IO ID 45"} 
[2026-07-13 11:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683977472001,"power":12874,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8930989929958367232}} 
[2026-07-13 11:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":132607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479742,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:26:20] local.INFO: GPS data processed {"connection_id":132607,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:26:20] local.INFO: Acknowledgment sent {"connection_id":132607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:26:34] local.INFO: TCP Data received {"connection_id":131272,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:26:34] local.INFO: Processing buffer {"connection_id":131272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:26:34] local.INFO: IMEI packet received {"connection_id":131272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":131272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:26:40] local.INFO: TCP Data received {"connection_id":131272,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:26:40] local.INFO: Processing buffer {"connection_id":131272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:26:40] local.INFO: IMEI packet received {"connection_id":131272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":131272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:26:41] local.INFO: TCP Data received {"connection_id":131272,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a08dc70012d7f914005afd938000b011b1f..."} 
[2026-07-13 11:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a08dc70012d7f914005afd938000b011b1f..."} 
[2026-07-13 11:26:41] local.INFO: Processing buffer {"connection_id":131272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a08dc70012d7f914005afd938000b011b1f..."} 
[2026-07-13 11:26:41] local.INFO: Packet analysis {"connection_id":131272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a08"} 
[2026-07-13 11:26:41] local.INFO: Extracted packet for processing {"connection_id":131272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a08"} 
[2026-07-13 11:26:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683944192001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783921958000,"timestamp_ms":1783921958000,"timestamp_seconds":1783921958,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a08dc70"} 
[2026-07-13 11:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 11:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683944192001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683944192001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:26:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:26:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683944192001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":131272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:26:41] local.INFO: GPS data processed {"connection_id":131272,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:26:41] local.INFO: Acknowledgment sent {"connection_id":131272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:26:43] local.INFO: TCP Data received {"connection_id":130261,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:26:43] local.INFO: Processing buffer {"connection_id":130261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:26:43] local.INFO: IMEI packet received {"connection_id":130261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 11:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":130261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:26:48] local.INFO: TCP Data received {"connection_id":130261,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:26:48] local.INFO: Processing buffer {"connection_id":130261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:26:48] local.INFO: IMEI packet received {"connection_id":130261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 11:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":130261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:26:49] local.INFO: TCP Data received {"connection_id":130261,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a064078012d7bf14005dbc2600000014a20..."} 
[2026-07-13 11:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a064078012d7bf14005dbc2600000014a20..."} 
[2026-07-13 11:26:49] local.INFO: Processing buffer {"connection_id":130261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a064078012d7bf14005dbc2600000014a20..."} 
[2026-07-13 11:26:49] local.INFO: Packet analysis {"connection_id":130261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a06"} 
[2026-07-13 11:26:49] local.INFO: Extracted packet for processing {"connection_id":130261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a06"} 
[2026-07-13 11:26:49] local.INFO: GPS Element Parsed {"raw_longitude":763097408,"raw_latitude":98288224,"longitude_deg":76.3097408,"latitude_deg":9.8288224,"altitude":0,"angle":330,"satellites":32,"speed":0,"hex_longitude":"2d7bf140","hex_latitude":"05dbc260","is_valid_coordinates":true} 
[2026-07-13 11:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683977472001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105745367592599552,"note":"Value kept but may cause issues"} 
[2026-07-13 11:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930989929958367232,"note":"Value kept but may cause issues"} 
[2026-07-13 11:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783921787000,"timestamp_ms":1783921787000,"timestamp_seconds":1783921787,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a064078"} 
[2026-07-13 11:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-13 11:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11: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-07-13 11:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683977472001,"66":12874,"185":206,"85":15104,"24":0,"16":105745367592599552,"45":8930989929958367232},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-13 11:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683977472001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:26:49] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-13 11:26:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105745367592599552,"km_value":105745367592599.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930989929958367232,"description":"Unknown IO ID 45"} 
[2026-07-13 11:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683977472001,"power":12874,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8930989929958367232}} 
[2026-07-13 11:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":130261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479744,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:26:49] local.INFO: GPS data processed {"connection_id":130261,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:26:49] local.INFO: Acknowledgment sent {"connection_id":130261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:27:12] local.INFO: TCP Data received {"connection_id":131272,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a08dc70012d7f914005afd938000b011b1f..."} 
[2026-07-13 11:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a08dc70012d7f914005afd938000b011b1f..."} 
[2026-07-13 11:27:12] local.INFO: Processing buffer {"connection_id":131272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a08dc70012d7f914005afd938000b011b1f..."} 
[2026-07-13 11:27:12] local.INFO: Packet analysis {"connection_id":131272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a08"} 
[2026-07-13 11:27:12] local.INFO: Extracted packet for processing {"connection_id":131272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a08"} 
[2026-07-13 11:27:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683944192001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783921958000,"timestamp_ms":1783921958000,"timestamp_seconds":1783921958,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a08dc70"} 
[2026-07-13 11:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 11:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683944192001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683944192001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:27:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:27:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683944192001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":131272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:27:12] local.INFO: GPS data processed {"connection_id":131272,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:27:12] local.INFO: Acknowledgment sent {"connection_id":131272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:27:20] local.INFO: TCP Data received {"connection_id":130261,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a064078012d7bf14005dbc2600000014a20..."} 
[2026-07-13 11:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a064078012d7bf14005dbc2600000014a20..."} 
[2026-07-13 11:27:20] local.INFO: Processing buffer {"connection_id":130261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a064078012d7bf14005dbc2600000014a20..."} 
[2026-07-13 11:27:20] local.INFO: Packet analysis {"connection_id":130261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a06"} 
[2026-07-13 11:27:20] local.INFO: Extracted packet for processing {"connection_id":130261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a06"} 
[2026-07-13 11:27:20] local.INFO: GPS Element Parsed {"raw_longitude":763097408,"raw_latitude":98288224,"longitude_deg":76.3097408,"latitude_deg":9.8288224,"altitude":0,"angle":330,"satellites":32,"speed":0,"hex_longitude":"2d7bf140","hex_latitude":"05dbc260","is_valid_coordinates":true} 
[2026-07-13 11:27: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-07-13 11:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683977472001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105745367592599552,"note":"Value kept but may cause issues"} 
[2026-07-13 11:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930989929958367232,"note":"Value kept but may cause issues"} 
[2026-07-13 11:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783921787000,"timestamp_ms":1783921787000,"timestamp_seconds":1783921787,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a064078"} 
[2026-07-13 11:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-13 11:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683977472001,"66":12874,"185":206,"85":15104,"24":0,"16":105745367592599552,"45":8930989929958367232},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-13 11:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683977472001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:27:20] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-13 11:27:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105745367592599552,"km_value":105745367592599.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930989929958367232,"description":"Unknown IO ID 45"} 
[2026-07-13 11:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683977472001,"power":12874,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8930989929958367232}} 
[2026-07-13 11:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":130261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479746,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:27:20] local.INFO: GPS data processed {"connection_id":130261,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:27:20] local.INFO: Acknowledgment sent {"connection_id":130261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:27:40] local.INFO: TCP Data received {"connection_id":132609,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:27:40] local.INFO: Processing buffer {"connection_id":132609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:27:40] local.INFO: IMEI packet received {"connection_id":132609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":132609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:27:45] local.INFO: TCP Data received {"connection_id":132609,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:27:45] local.INFO: Processing buffer {"connection_id":132609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:27:45] local.INFO: IMEI packet received {"connection_id":132609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":132609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:27:46] local.INFO: TCP Data received {"connection_id":132609,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a08dc70012d7f914005afd938000b011b1f..."} 
[2026-07-13 11:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a08dc70012d7f914005afd938000b011b1f..."} 
[2026-07-13 11:27:46] local.INFO: Processing buffer {"connection_id":132609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a08dc70012d7f914005afd938000b011b1f..."} 
[2026-07-13 11:27:46] local.INFO: Packet analysis {"connection_id":132609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a08"} 
[2026-07-13 11:27:46] local.INFO: Extracted packet for processing {"connection_id":132609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a08"} 
[2026-07-13 11:27:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683944192001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783921958000,"timestamp_ms":1783921958000,"timestamp_seconds":1783921958,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a08dc70"} 
[2026-07-13 11:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 11:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683944192001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683944192001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:27:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:27:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683944192001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":132609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:27:46] local.INFO: GPS data processed {"connection_id":132609,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:27:46] local.INFO: Acknowledgment sent {"connection_id":132609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:27:50] local.INFO: TCP Data received {"connection_id":132609,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a08dc70012d7f914005afd938000b011b1f..."} 
[2026-07-13 11:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a08dc70012d7f914005afd938000b011b1f..."} 
[2026-07-13 11:27:50] local.INFO: Processing buffer {"connection_id":132609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a08dc70012d7f914005afd938000b011b1f..."} 
[2026-07-13 11:27:50] local.INFO: Packet analysis {"connection_id":132609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a08"} 
[2026-07-13 11:27:50] local.INFO: Extracted packet for processing {"connection_id":132609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a08"} 
[2026-07-13 11:27:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11: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-07-13 11:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683944192001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:27:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:27:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783921958000,"timestamp_ms":1783921958000,"timestamp_seconds":1783921958,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a08dc70"} 
[2026-07-13 11:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:27:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 11:27:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11: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-07-13 11:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":132609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":132609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":132609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:27: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-07-13 11:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683944192001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683944192001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:27:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:27:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:27:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683944192001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":132609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:27:50] local.INFO: GPS data processed {"connection_id":132609,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:27:50] local.INFO: Acknowledgment sent {"connection_id":132609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:28:35] local.INFO: TCP Data received {"connection_id":132611,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:28:35] local.INFO: Processing buffer {"connection_id":132611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:28:35] local.INFO: IMEI packet received {"connection_id":132611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":132611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:28:40] local.INFO: TCP Data received {"connection_id":132611,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:28:40] local.INFO: Processing buffer {"connection_id":132611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:28:40] local.INFO: IMEI packet received {"connection_id":132611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":132611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:28:41] local.INFO: TCP Data received {"connection_id":132611,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a0d9b48012d7f914005afd938000c011b1e..."} 
[2026-07-13 11:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a0d9b48012d7f914005afd938000c011b1e..."} 
[2026-07-13 11:28:41] local.INFO: Processing buffer {"connection_id":132611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a0d9b48012d7f914005afd938000c011b1e..."} 
[2026-07-13 11:28:41] local.INFO: Packet analysis {"connection_id":132611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a0d"} 
[2026-07-13 11:28:41] local.INFO: Extracted packet for processing {"connection_id":132611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a0d"} 
[2026-07-13 11:28:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":30,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684021248001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783922269000,"timestamp_ms":1783922269000,"timestamp_seconds":1783922269,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a0d9b48"} 
[2026-07-13 11:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684021248001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684021248001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:28:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:28:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684021248001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":132611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:28:41] local.INFO: GPS data processed {"connection_id":132611,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:28:41] local.INFO: Acknowledgment sent {"connection_id":132611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:29:12] local.INFO: TCP Data received {"connection_id":132611,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a0d9b48012d7f914005afd938000c011b1e..."} 
[2026-07-13 11:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a0d9b48012d7f914005afd938000c011b1e..."} 
[2026-07-13 11:29:12] local.INFO: Processing buffer {"connection_id":132611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a0d9b48012d7f914005afd938000c011b1e..."} 
[2026-07-13 11:29:12] local.INFO: Packet analysis {"connection_id":132611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a0d"} 
[2026-07-13 11:29:12] local.INFO: Extracted packet for processing {"connection_id":132611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a0d"} 
[2026-07-13 11:29:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":30,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684021248001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783922269000,"timestamp_ms":1783922269000,"timestamp_seconds":1783922269,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a0d9b48"} 
[2026-07-13 11:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684021248001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684021248001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:29:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:29:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684021248001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":132611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:29:12] local.INFO: GPS data processed {"connection_id":132611,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:29:12] local.INFO: Acknowledgment sent {"connection_id":132611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:29:34] local.INFO: TCP Data received {"connection_id":130480,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:29:34] local.INFO: Processing buffer {"connection_id":130480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:29:34] local.INFO: IMEI packet received {"connection_id":130480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":130480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:29:40] local.INFO: TCP Data received {"connection_id":130480,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:29:40] local.INFO: Processing buffer {"connection_id":130480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:29:40] local.INFO: IMEI packet received {"connection_id":130480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":130480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:29:41] local.INFO: TCP Data received {"connection_id":130480,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a0d9b48012d7f914005afd938000c011b1e..."} 
[2026-07-13 11:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a0d9b48012d7f914005afd938000c011b1e..."} 
[2026-07-13 11:29:41] local.INFO: Processing buffer {"connection_id":130480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a0d9b48012d7f914005afd938000c011b1e..."} 
[2026-07-13 11:29:41] local.INFO: Packet analysis {"connection_id":130480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a0d"} 
[2026-07-13 11:29:41] local.INFO: Extracted packet for processing {"connection_id":130480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a0d"} 
[2026-07-13 11:29:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":30,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 11:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684021248001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783922269000,"timestamp_ms":1783922269000,"timestamp_seconds":1783922269,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a0d9b48"} 
[2026-07-13 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-07-13 11:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 11:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684021248001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684021248001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:29:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:29:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684021248001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":130480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:29:41] local.INFO: GPS data processed {"connection_id":130480,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:29:41] local.INFO: Acknowledgment sent {"connection_id":130480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:30:12] local.INFO: TCP Data received {"connection_id":130480,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a0d9b48012d7f914005afd938000c011b1e..."} 
[2026-07-13 11:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a0d9b48012d7f914005afd938000c011b1e..."} 
[2026-07-13 11:30:12] local.INFO: Processing buffer {"connection_id":130480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a0d9b48012d7f914005afd938000c011b1e..."} 
[2026-07-13 11:30:12] local.INFO: Packet analysis {"connection_id":130480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a0d"} 
[2026-07-13 11:30:12] local.INFO: Extracted packet for processing {"connection_id":130480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a0d"} 
[2026-07-13 11:30:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":30,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684021248001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783922269000,"timestamp_ms":1783922269000,"timestamp_seconds":1783922269,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a0d9b48"} 
[2026-07-13 11:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684021248001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684021248001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:30:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:30:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684021248001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":130480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:30:12] local.INFO: GPS data processed {"connection_id":130480,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:30:12] local.INFO: Acknowledgment sent {"connection_id":130480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:30:35] local.INFO: TCP Data received {"connection_id":130263,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:30:35] local.INFO: Processing buffer {"connection_id":130263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:30:35] local.INFO: IMEI packet received {"connection_id":130263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":130263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:30:40] local.INFO: TCP Data received {"connection_id":130263,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:30:40] local.INFO: Processing buffer {"connection_id":130263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:30:40] local.INFO: IMEI packet received {"connection_id":130263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":130263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:30:41] local.INFO: TCP Data received {"connection_id":130263,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a0d9b48012d7f914005afd938000c011b1e..."} 
[2026-07-13 11:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a0d9b48012d7f914005afd938000c011b1e..."} 
[2026-07-13 11:30:41] local.INFO: Processing buffer {"connection_id":130263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a0d9b48012d7f914005afd938000c011b1e..."} 
[2026-07-13 11:30:41] local.INFO: Packet analysis {"connection_id":130263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a0d"} 
[2026-07-13 11:30:41] local.INFO: Extracted packet for processing {"connection_id":130263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a0d"} 
[2026-07-13 11:30:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":30,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684021248001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783922269000,"timestamp_ms":1783922269000,"timestamp_seconds":1783922269,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a0d9b48"} 
[2026-07-13 11:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684021248001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684021248001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:30:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:30:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684021248001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":130263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:30:41] local.INFO: GPS data processed {"connection_id":130263,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:30:41] local.INFO: Acknowledgment sent {"connection_id":130263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:31:05] local.INFO: TCP Data received {"connection_id":131273,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131273,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:31:05] local.INFO: Processing buffer {"connection_id":131273,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:31:05] local.INFO: IMEI packet received {"connection_id":131273,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 11:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":131273,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:31:12] local.INFO: TCP Data received {"connection_id":130263,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a0d9b48012d7f914005afd938000c011b1e..."} 
[2026-07-13 11:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a0d9b48012d7f914005afd938000c011b1e..."} 
[2026-07-13 11:31:12] local.INFO: Processing buffer {"connection_id":130263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a0d9b48012d7f914005afd938000c011b1e..."} 
[2026-07-13 11:31:12] local.INFO: Packet analysis {"connection_id":130263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a0d"} 
[2026-07-13 11:31:12] local.INFO: Extracted packet for processing {"connection_id":130263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a0d"} 
[2026-07-13 11:31:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":30,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684021248001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783922269000,"timestamp_ms":1783922269000,"timestamp_seconds":1783922269,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a0d9b48"} 
[2026-07-13 11:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684021248001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684021248001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:31:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:31:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684021248001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":130263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:31:12] local.INFO: GPS data processed {"connection_id":130263,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:31:12] local.INFO: Acknowledgment sent {"connection_id":130263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:31:34] local.INFO: TCP Data received {"connection_id":131274,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:31:34] local.INFO: Processing buffer {"connection_id":131274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:31:34] local.INFO: IMEI packet received {"connection_id":131274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":131274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:31:40] local.INFO: TCP Data received {"connection_id":131274,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:31:40] local.INFO: Processing buffer {"connection_id":131274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:31:40] local.INFO: IMEI packet received {"connection_id":131274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":131274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:31:40] local.INFO: TCP Data received {"connection_id":131274,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a0d9b48012d7f914005afd938000c011b1e..."} 
[2026-07-13 11:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a0d9b48012d7f914005afd938000c011b1e..."} 
[2026-07-13 11:31:41] local.INFO: Processing buffer {"connection_id":131274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a0d9b48012d7f914005afd938000c011b1e..."} 
[2026-07-13 11:31:41] local.INFO: Packet analysis {"connection_id":131274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a0d"} 
[2026-07-13 11:31:41] local.INFO: Extracted packet for processing {"connection_id":131274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a0d"} 
[2026-07-13 11:31:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":30,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684021248001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783922269000,"timestamp_ms":1783922269000,"timestamp_seconds":1783922269,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a0d9b48"} 
[2026-07-13 11:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684021248001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684021248001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:31:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:31:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684021248001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":131274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:31:41] local.INFO: GPS data processed {"connection_id":131274,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:31:41] local.INFO: Acknowledgment sent {"connection_id":131274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:31:45] local.INFO: TCP Data received {"connection_id":130481,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130481,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:31:45] local.INFO: Processing buffer {"connection_id":130481,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:31:45] local.INFO: IMEI packet received {"connection_id":130481,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 11:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":130481,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:32:12] local.INFO: TCP Data received {"connection_id":131274,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a0d9b48012d7f914005afd938000c011b1e..."} 
[2026-07-13 11:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a0d9b48012d7f914005afd938000c011b1e..."} 
[2026-07-13 11:32:12] local.INFO: Processing buffer {"connection_id":131274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a0d9b48012d7f914005afd938000c011b1e..."} 
[2026-07-13 11:32:12] local.INFO: Packet analysis {"connection_id":131274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a0d"} 
[2026-07-13 11:32:12] local.INFO: Extracted packet for processing {"connection_id":131274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a0d"} 
[2026-07-13 11:32:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":30,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684021248001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783922269000,"timestamp_ms":1783922269000,"timestamp_seconds":1783922269,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a0d9b48"} 
[2026-07-13 11:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:32:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684021248001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684021248001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:32:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:32:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684021248001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":131274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:32:12] local.INFO: GPS data processed {"connection_id":131274,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:32:12] local.INFO: Acknowledgment sent {"connection_id":131274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:32:24] local.INFO: TCP Data received {"connection_id":130264,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:32:24] local.INFO: Processing buffer {"connection_id":130264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:32:24] local.INFO: IMEI packet received {"connection_id":130264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 11:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":130264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:32:40] local.INFO: TCP Data received {"connection_id":130265,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:32:40] local.INFO: Processing buffer {"connection_id":130265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:32:40] local.INFO: IMEI packet received {"connection_id":130265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":130265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:32:46] local.INFO: TCP Data received {"connection_id":130265,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:32:46] local.INFO: Processing buffer {"connection_id":130265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:32:46] local.INFO: IMEI packet received {"connection_id":130265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":130265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:32:46] local.INFO: TCP Data received {"connection_id":130265,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a0d9b48012d7f914005afd938000c011b1e..."} 
[2026-07-13 11:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a0d9b48012d7f914005afd938000c011b1e..."} 
[2026-07-13 11:32:46] local.INFO: Processing buffer {"connection_id":130265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a0d9b48012d7f914005afd938000c011b1e..."} 
[2026-07-13 11:32:46] local.INFO: Packet analysis {"connection_id":130265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a0d"} 
[2026-07-13 11:32:46] local.INFO: Extracted packet for processing {"connection_id":130265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a0d"} 
[2026-07-13 11:32:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":30,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684021248001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783922269000,"timestamp_ms":1783922269000,"timestamp_seconds":1783922269,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a0d9b48"} 
[2026-07-13 11:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684021248001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684021248001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:32:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:32:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684021248001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":130265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:32:46] local.INFO: GPS data processed {"connection_id":130265,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:32:46] local.INFO: Acknowledgment sent {"connection_id":130265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:32:50] local.INFO: TCP Data received {"connection_id":130265,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a0d9b48012d7f914005afd938000c011b1e..."} 
[2026-07-13 11:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a0d9b48012d7f914005afd938000c011b1e..."} 
[2026-07-13 11:32:50] local.INFO: Processing buffer {"connection_id":130265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a0d9b48012d7f914005afd938000c011b1e..."} 
[2026-07-13 11:32:50] local.INFO: Packet analysis {"connection_id":130265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a0d"} 
[2026-07-13 11:32:50] local.INFO: Extracted packet for processing {"connection_id":130265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a0d"} 
[2026-07-13 11:32:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":30,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11: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-07-13 11:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684021248001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783922269000,"timestamp_ms":1783922269000,"timestamp_seconds":1783922269,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a0d9b48"} 
[2026-07-13 11:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:32: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-07-13 11: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-07-13 11:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:32: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-07-13 11:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684021248001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684021248001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:32:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:32:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684021248001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":130265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:32:50] local.INFO: GPS data processed {"connection_id":130265,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:32:50] local.INFO: Acknowledgment sent {"connection_id":130265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:32:53] local.INFO: TCP Data received {"connection_id":132613,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132613,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:32:53] local.INFO: Processing buffer {"connection_id":132613,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:32:53] local.INFO: IMEI packet received {"connection_id":132613,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 11:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":132613,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:32:58] local.INFO: TCP Data received {"connection_id":132613,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132613,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:32:58] local.INFO: Processing buffer {"connection_id":132613,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:32:58] local.INFO: IMEI packet received {"connection_id":132613,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 11:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":132613,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:32:59] local.INFO: TCP Data received {"connection_id":132613,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a0ec810012d7bf14005dbc2600000014a21..."} 
[2026-07-13 11:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a0ec810012d7bf14005dbc2600000014a21..."} 
[2026-07-13 11:32:59] local.INFO: Processing buffer {"connection_id":132613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a0ec810012d7bf14005dbc2600000014a21..."} 
[2026-07-13 11:32:59] local.INFO: Packet analysis {"connection_id":132613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a0e"} 
[2026-07-13 11:32:59] local.INFO: Extracted packet for processing {"connection_id":132613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a0e"} 
[2026-07-13 11:32:59] local.INFO: GPS Element Parsed {"raw_longitude":763097408,"raw_latitude":98288224,"longitude_deg":76.3097408,"latitude_deg":9.8288224,"altitude":0,"angle":330,"satellites":33,"speed":0,"hex_longitude":"2d7bf140","hex_latitude":"05dbc260","is_valid_coordinates":true} 
[2026-07-13 11:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456683977472001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105745367592599552,"note":"Value kept but may cause issues"} 
[2026-07-13 11:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930989929958367232,"note":"Value kept but may cause issues"} 
[2026-07-13 11:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783922346000,"timestamp_ms":1783922346000,"timestamp_seconds":1783922346,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a0ec810"} 
[2026-07-13 11:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-13 11:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:32:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":132613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":132613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":132613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456683977472001,"66":2242,"185":206,"85":15104,"24":0,"16":105745367592599552,"45":8930989929958367232},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-13 11:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456683977472001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:32:59] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-13 11:32:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105745367592599552,"km_value":105745367592599.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930989929958367232,"description":"Unknown IO ID 45"} 
[2026-07-13 11:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456683977472001,"power":2242,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8930989929958367232}} 
[2026-07-13 11:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":132613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479759,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:32:59] local.INFO: GPS data processed {"connection_id":132613,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:32:59] local.INFO: Acknowledgment sent {"connection_id":132613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:33:35] local.INFO: TCP Data received {"connection_id":130483,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:33:35] local.INFO: Processing buffer {"connection_id":130483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:33:35] local.INFO: IMEI packet received {"connection_id":130483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":130483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:33:40] local.INFO: TCP Data received {"connection_id":130483,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:33:40] local.INFO: Processing buffer {"connection_id":130483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:33:40] local.INFO: IMEI packet received {"connection_id":130483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":130483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:33:41] local.INFO: TCP Data received {"connection_id":130483,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a1236f8012d7f914005afd938000c011b20..."} 
[2026-07-13 11:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a1236f8012d7f914005afd938000c011b20..."} 
[2026-07-13 11:33:41] local.INFO: Processing buffer {"connection_id":130483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a1236f8012d7f914005afd938000c011b20..."} 
[2026-07-13 11:33:41] local.INFO: Packet analysis {"connection_id":130483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a12"} 
[2026-07-13 11:33:41] local.INFO: Extracted packet for processing {"connection_id":130483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a12"} 
[2026-07-13 11:33:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684100864001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783922571000,"timestamp_ms":1783922571000,"timestamp_seconds":1783922571,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a1236f8"} 
[2026-07-13 11:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684100864001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684100864001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:33:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:33:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684100864001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":130483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:33:41] local.INFO: GPS data processed {"connection_id":130483,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:33:41] local.INFO: Acknowledgment sent {"connection_id":130483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:33:48] local.INFO: TCP Data received {"connection_id":130266,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130266,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:33:48] local.INFO: Processing buffer {"connection_id":130266,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:33:48] local.INFO: IMEI packet received {"connection_id":130266,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 11:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":130266,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:33:53] local.INFO: TCP Data received {"connection_id":130266,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130266,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:33:53] local.INFO: Processing buffer {"connection_id":130266,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:33:53] local.INFO: IMEI packet received {"connection_id":130266,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 11:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":130266,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:33:54] local.INFO: TCP Data received {"connection_id":130266,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a107d90012d7bf14005dbc2600000014a1d..."} 
[2026-07-13 11:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a107d90012d7bf14005dbc2600000014a1d..."} 
[2026-07-13 11:33:54] local.INFO: Processing buffer {"connection_id":130266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a107d90012d7bf14005dbc2600000014a1d..."} 
[2026-07-13 11:33:54] local.INFO: Packet analysis {"connection_id":130266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a10"} 
[2026-07-13 11:33:54] local.INFO: Extracted packet for processing {"connection_id":130266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a10"} 
[2026-07-13 11:33:54] local.INFO: GPS Element Parsed {"raw_longitude":763097408,"raw_latitude":98288224,"longitude_deg":76.3097408,"latitude_deg":9.8288224,"altitude":0,"angle":330,"satellites":29,"speed":0,"hex_longitude":"2d7bf140","hex_latitude":"05dbc260","is_valid_coordinates":true} 
[2026-07-13 11:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684120576001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105745367592599552,"note":"Value kept but may cause issues"} 
[2026-07-13 11:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930989929958367232,"note":"Value kept but may cause issues"} 
[2026-07-13 11:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783922458000,"timestamp_ms":1783922458000,"timestamp_seconds":1783922458,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a107d90"} 
[2026-07-13 11:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-13 11:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11: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-07-13 11:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684120576001,"66":2231,"185":206,"85":15104,"24":0,"16":105745367592599552,"45":8930989929958367232},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-13 11:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684120576001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:33:54] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-13 11:33:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105745367592599552,"km_value":105745367592599.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930989929958367232,"description":"Unknown IO ID 45"} 
[2026-07-13 11:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684120576001,"power":2231,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8930989929958367232}} 
[2026-07-13 11:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":130266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479761,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:33:54] local.INFO: GPS data processed {"connection_id":130266,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:33:54] local.INFO: Acknowledgment sent {"connection_id":130266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:34:12] local.INFO: TCP Data received {"connection_id":130483,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a1236f8012d7f914005afd938000c011b20..."} 
[2026-07-13 11:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a1236f8012d7f914005afd938000c011b20..."} 
[2026-07-13 11:34:12] local.INFO: Processing buffer {"connection_id":130483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a1236f8012d7f914005afd938000c011b20..."} 
[2026-07-13 11:34:12] local.INFO: Packet analysis {"connection_id":130483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a12"} 
[2026-07-13 11:34:12] local.INFO: Extracted packet for processing {"connection_id":130483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a12"} 
[2026-07-13 11:34:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684100864001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783922571000,"timestamp_ms":1783922571000,"timestamp_seconds":1783922571,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a1236f8"} 
[2026-07-13 11:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:34:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684100864001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684100864001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:34:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:34:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684100864001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":130483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:34:12] local.INFO: GPS data processed {"connection_id":130483,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:34:12] local.INFO: Acknowledgment sent {"connection_id":130483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:34:25] local.INFO: TCP Data received {"connection_id":130266,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a107d90012d7bf14005dbc2600000014a1d..."} 
[2026-07-13 11:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a107d90012d7bf14005dbc2600000014a1d..."} 
[2026-07-13 11:34:25] local.INFO: Processing buffer {"connection_id":130266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a107d90012d7bf14005dbc2600000014a1d..."} 
[2026-07-13 11:34:25] local.INFO: Packet analysis {"connection_id":130266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a10"} 
[2026-07-13 11:34:25] local.INFO: Extracted packet for processing {"connection_id":130266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a10"} 
[2026-07-13 11:34:25] local.INFO: GPS Element Parsed {"raw_longitude":763097408,"raw_latitude":98288224,"longitude_deg":76.3097408,"latitude_deg":9.8288224,"altitude":0,"angle":330,"satellites":29,"speed":0,"hex_longitude":"2d7bf140","hex_latitude":"05dbc260","is_valid_coordinates":true} 
[2026-07-13 11:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684149248001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105745367592599552,"note":"Value kept but may cause issues"} 
[2026-07-13 11:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930989929958367232,"note":"Value kept but may cause issues"} 
[2026-07-13 11:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783922458000,"timestamp_ms":1783922458000,"timestamp_seconds":1783922458,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a107d90"} 
[2026-07-13 11:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 11: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-13 11:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":130266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":130266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":130266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684149248001,"66":2231,"185":206,"85":15104,"24":0,"16":105745367592599552,"45":8930989929958367232},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-13 11:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684149248001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:34:25] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-13 11:34:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105745367592599552,"km_value":105745367592599.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930989929958367232,"description":"Unknown IO ID 45"} 
[2026-07-13 11:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684149248001,"power":2231,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8930989929958367232}} 
[2026-07-13 11:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":130266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479763,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:34:25] local.INFO: GPS data processed {"connection_id":130266,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:34:25] local.INFO: Acknowledgment sent {"connection_id":130266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:34:35] local.INFO: TCP Data received {"connection_id":131276,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:34:35] local.INFO: Processing buffer {"connection_id":131276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:34:35] local.INFO: IMEI packet received {"connection_id":131276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":131276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:34:40] local.INFO: TCP Data received {"connection_id":131276,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:34:40] local.INFO: Processing buffer {"connection_id":131276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:34:40] local.INFO: IMEI packet received {"connection_id":131276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":131276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:34:41] local.INFO: TCP Data received {"connection_id":131276,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a1236f8012d7f914005afd938000c011b20..."} 
[2026-07-13 11:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a1236f8012d7f914005afd938000c011b20..."} 
[2026-07-13 11:34:41] local.INFO: Processing buffer {"connection_id":131276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a1236f8012d7f914005afd938000c011b20..."} 
[2026-07-13 11:34:41] local.INFO: Packet analysis {"connection_id":131276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a12"} 
[2026-07-13 11:34:41] local.INFO: Extracted packet for processing {"connection_id":131276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a12"} 
[2026-07-13 11:34:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684100864001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783922571000,"timestamp_ms":1783922571000,"timestamp_seconds":1783922571,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a1236f8"} 
[2026-07-13 11:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684100864001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684100864001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:34:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684100864001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":131276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:34:41] local.INFO: GPS data processed {"connection_id":131276,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:34:41] local.INFO: Acknowledgment sent {"connection_id":131276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:34:43] local.INFO: TCP Data received {"connection_id":130267,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130267,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:34:43] local.INFO: Processing buffer {"connection_id":130267,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:34:43] local.INFO: IMEI packet received {"connection_id":130267,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 11:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":130267,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:34:48] local.INFO: TCP Data received {"connection_id":130267,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130267,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:34:48] local.INFO: Processing buffer {"connection_id":130267,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:34:48] local.INFO: IMEI packet received {"connection_id":130267,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 11:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":130267,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:34:49] local.INFO: TCP Data received {"connection_id":130267,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a107d90012d7bf14005dbc2600000014a1d..."} 
[2026-07-13 11:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a107d90012d7bf14005dbc2600000014a1d..."} 
[2026-07-13 11:34:49] local.INFO: Processing buffer {"connection_id":130267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a107d90012d7bf14005dbc2600000014a1d..."} 
[2026-07-13 11:34:49] local.INFO: Packet analysis {"connection_id":130267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a10"} 
[2026-07-13 11:34:49] local.INFO: Extracted packet for processing {"connection_id":130267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a10"} 
[2026-07-13 11:34:49] local.INFO: GPS Element Parsed {"raw_longitude":763097408,"raw_latitude":98288224,"longitude_deg":76.3097408,"latitude_deg":9.8288224,"altitude":0,"angle":330,"satellites":29,"speed":0,"hex_longitude":"2d7bf140","hex_latitude":"05dbc260","is_valid_coordinates":true} 
[2026-07-13 11: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-07-13 11:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684149248001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105745367592599552,"note":"Value kept but may cause issues"} 
[2026-07-13 11:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930989929958367232,"note":"Value kept but may cause issues"} 
[2026-07-13 11:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783922458000,"timestamp_ms":1783922458000,"timestamp_seconds":1783922458,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a107d90"} 
[2026-07-13 11:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 11:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-13 11:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11: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-07-13 11:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684149248001,"66":2231,"185":206,"85":15104,"24":0,"16":105745367592599552,"45":8930989929958367232},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-13 11:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684149248001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:34:49] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-13 11:34:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105745367592599552,"km_value":105745367592599.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930989929958367232,"description":"Unknown IO ID 45"} 
[2026-07-13 11:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684149248001,"power":2231,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8930989929958367232}} 
[2026-07-13 11:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":130267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479765,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:34:49] local.INFO: GPS data processed {"connection_id":130267,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:34:49] local.INFO: Acknowledgment sent {"connection_id":130267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:35:12] local.INFO: TCP Data received {"connection_id":131276,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a1236f8012d7f914005afd938000c011b20..."} 
[2026-07-13 11:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a1236f8012d7f914005afd938000c011b20..."} 
[2026-07-13 11:35:12] local.INFO: Processing buffer {"connection_id":131276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a1236f8012d7f914005afd938000c011b20..."} 
[2026-07-13 11:35:12] local.INFO: Packet analysis {"connection_id":131276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a12"} 
[2026-07-13 11:35:12] local.INFO: Extracted packet for processing {"connection_id":131276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a12"} 
[2026-07-13 11:35:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684100864001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783922571000,"timestamp_ms":1783922571000,"timestamp_seconds":1783922571,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a1236f8"} 
[2026-07-13 11:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684100864001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684100864001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:35:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:35:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684100864001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":131276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:35:12] local.INFO: GPS data processed {"connection_id":131276,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:35:12] local.INFO: Acknowledgment sent {"connection_id":131276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:35:21] local.INFO: TCP Data received {"connection_id":130267,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a107d90012d7bf14005dbc2600000014a1d..."} 
[2026-07-13 11:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a107d90012d7bf14005dbc2600000014a1d..."} 
[2026-07-13 11:35:21] local.INFO: Processing buffer {"connection_id":130267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a107d90012d7bf14005dbc2600000014a1d..."} 
[2026-07-13 11:35:21] local.INFO: Packet analysis {"connection_id":130267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a10"} 
[2026-07-13 11:35:21] local.INFO: Extracted packet for processing {"connection_id":130267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a10"} 
[2026-07-13 11:35:21] local.INFO: GPS Element Parsed {"raw_longitude":763097408,"raw_latitude":98288224,"longitude_deg":76.3097408,"latitude_deg":9.8288224,"altitude":0,"angle":330,"satellites":29,"speed":0,"hex_longitude":"2d7bf140","hex_latitude":"05dbc260","is_valid_coordinates":true} 
[2026-07-13 11:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684149248001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105745367592599552,"note":"Value kept but may cause issues"} 
[2026-07-13 11:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930989929958367232,"note":"Value kept but may cause issues"} 
[2026-07-13 11:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783922458000,"timestamp_ms":1783922458000,"timestamp_seconds":1783922458,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a107d90"} 
[2026-07-13 11:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 11: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-13 11:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":130267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":130267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":130267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684149248001,"66":2231,"185":206,"85":15104,"24":0,"16":105745367592599552,"45":8930989929958367232},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-13 11:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684149248001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:35:21] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-13 11:35:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105745367592599552,"km_value":105745367592599.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930989929958367232,"description":"Unknown IO ID 45"} 
[2026-07-13 11:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684149248001,"power":2231,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8930989929958367232}} 
[2026-07-13 11:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":130267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479767,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:35:21] local.INFO: GPS data processed {"connection_id":130267,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:35:21] local.INFO: Acknowledgment sent {"connection_id":130267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:35:34] local.INFO: TCP Data received {"connection_id":132614,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:35:34] local.INFO: Processing buffer {"connection_id":132614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:35:34] local.INFO: IMEI packet received {"connection_id":132614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":132614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:35:40] local.INFO: TCP Data received {"connection_id":132614,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:35:40] local.INFO: Processing buffer {"connection_id":132614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:35:40] local.INFO: IMEI packet received {"connection_id":132614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":132614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:35:41] local.INFO: TCP Data received {"connection_id":132614,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a1236f8012d7f914005afd938000c011b20..."} 
[2026-07-13 11:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a1236f8012d7f914005afd938000c011b20..."} 
[2026-07-13 11:35:41] local.INFO: Processing buffer {"connection_id":132614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a1236f8012d7f914005afd938000c011b20..."} 
[2026-07-13 11:35:41] local.INFO: Packet analysis {"connection_id":132614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a12"} 
[2026-07-13 11:35:41] local.INFO: Extracted packet for processing {"connection_id":132614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a12"} 
[2026-07-13 11:35:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684100864001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783922571000,"timestamp_ms":1783922571000,"timestamp_seconds":1783922571,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a1236f8"} 
[2026-07-13 11:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684100864001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684100864001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:35:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:35:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684100864001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":132614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:35:41] local.INFO: GPS data processed {"connection_id":132614,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:35:41] local.INFO: Acknowledgment sent {"connection_id":132614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:35:43] local.INFO: TCP Data received {"connection_id":132615,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132615,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:35:43] local.INFO: Processing buffer {"connection_id":132615,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:35:43] local.INFO: IMEI packet received {"connection_id":132615,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 11:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":132615,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:35:48] local.INFO: TCP Data received {"connection_id":132615,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132615,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:35:48] local.INFO: Processing buffer {"connection_id":132615,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:35:48] local.INFO: IMEI packet received {"connection_id":132615,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 11:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":132615,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:35:49] local.INFO: TCP Data received {"connection_id":132615,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a108d30012d7bed8005dbc1a8000000f91b..."} 
[2026-07-13 11:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a108d30012d7bed8005dbc1a8000000f91b..."} 
[2026-07-13 11:35:49] local.INFO: Processing buffer {"connection_id":132615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a108d30012d7bed8005dbc1a8000000f91b..."} 
[2026-07-13 11:35:49] local.INFO: Packet analysis {"connection_id":132615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a10"} 
[2026-07-13 11:35:49] local.INFO: Extracted packet for processing {"connection_id":132615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a10"} 
[2026-07-13 11:35:49] local.INFO: GPS Element Parsed {"raw_longitude":763096448,"raw_latitude":98288040,"longitude_deg":76.3096448,"latitude_deg":9.828804,"altitude":0,"angle":249,"satellites":27,"speed":0,"hex_longitude":"2d7bed80","hex_latitude":"05dbc1a8","is_valid_coordinates":true} 
[2026-07-13 11:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684149248001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105745367592599552,"note":"Value kept but may cause issues"} 
[2026-07-13 11:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930989929958367232,"note":"Value kept but may cause issues"} 
[2026-07-13 11:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783922462000,"timestamp_ms":1783922462000,"timestamp_seconds":1783922462,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a108d30"} 
[2026-07-13 11:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 11:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-13 11:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:35:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684149248001,"66":12113,"185":206,"85":15104,"24":0,"16":105745367592599552,"45":8930989929958367232},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-13 11:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684149248001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:35:49] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-13 11:35:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105745367592599552,"km_value":105745367592599.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930989929958367232,"description":"Unknown IO ID 45"} 
[2026-07-13 11:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684149248001,"power":12113,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8930989929958367232}} 
[2026-07-13 11:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":132615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479769,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:35:49] local.INFO: GPS data processed {"connection_id":132615,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:35:49] local.INFO: Acknowledgment sent {"connection_id":132615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:36:12] local.INFO: TCP Data received {"connection_id":132614,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a1236f8012d7f914005afd938000c011b20..."} 
[2026-07-13 11:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a1236f8012d7f914005afd938000c011b20..."} 
[2026-07-13 11:36:12] local.INFO: Processing buffer {"connection_id":132614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a1236f8012d7f914005afd938000c011b20..."} 
[2026-07-13 11:36:12] local.INFO: Packet analysis {"connection_id":132614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a12"} 
[2026-07-13 11:36:12] local.INFO: Extracted packet for processing {"connection_id":132614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a12"} 
[2026-07-13 11:36:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684100864001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783922571000,"timestamp_ms":1783922571000,"timestamp_seconds":1783922571,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a1236f8"} 
[2026-07-13 11:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684100864001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684100864001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:36:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:36:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684100864001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":132614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:36:12] local.INFO: GPS data processed {"connection_id":132614,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:36:12] local.INFO: Acknowledgment sent {"connection_id":132614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:36:19] local.INFO: TCP Data received {"connection_id":132615,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a109cd0012d7bed8005dbc1a8000000f91b..."} 
[2026-07-13 11:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a109cd0012d7bed8005dbc1a8000000f91b..."} 
[2026-07-13 11:36:19] local.INFO: Processing buffer {"connection_id":132615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a109cd0012d7bed8005dbc1a8000000f91b..."} 
[2026-07-13 11:36:19] local.INFO: Packet analysis {"connection_id":132615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a10"} 
[2026-07-13 11:36:19] local.INFO: Extracted packet for processing {"connection_id":132615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a10"} 
[2026-07-13 11:36:19] local.INFO: GPS Element Parsed {"raw_longitude":763096448,"raw_latitude":98288040,"longitude_deg":76.3096448,"latitude_deg":9.828804,"altitude":0,"angle":249,"satellites":27,"speed":0,"hex_longitude":"2d7bed80","hex_latitude":"05dbc1a8","is_valid_coordinates":true} 
[2026-07-13 11:36: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-07-13 11:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684150272001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105745367592599552,"note":"Value kept but may cause issues"} 
[2026-07-13 11:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929934398795655168,"note":"Value kept but may cause issues"} 
[2026-07-13 11:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783922466000,"timestamp_ms":1783922466000,"timestamp_seconds":1783922466,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a109cd0"} 
[2026-07-13 11:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-07-13 11:36:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:36:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":132615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":132615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":132615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684150272001,"66":12037,"185":206,"85":15104,"24":0,"16":105745367592599552,"45":8929934398795655168},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-13 11:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684150272001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:36:19] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-13 11:36:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105745367592599552,"km_value":105745367592599.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929934398795655168,"description":"Unknown IO ID 45"} 
[2026-07-13 11:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684150272001,"power":12037,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8929934398795655168}} 
[2026-07-13 11:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":132615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:36:19] local.INFO: GPS data processed {"connection_id":132615,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:36:19] local.INFO: Acknowledgment sent {"connection_id":132615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:36:34] local.INFO: TCP Data received {"connection_id":131278,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:36:34] local.INFO: Processing buffer {"connection_id":131278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:36:34] local.INFO: IMEI packet received {"connection_id":131278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":131278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:36:40] local.INFO: TCP Data received {"connection_id":131278,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:36:40] local.INFO: Processing buffer {"connection_id":131278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:36:40] local.INFO: IMEI packet received {"connection_id":131278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":131278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:36:40] local.INFO: TCP Data received {"connection_id":131278,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a1236f8012d7f914005afd938000c011b20..."} 
[2026-07-13 11:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a1236f8012d7f914005afd938000c011b20..."} 
[2026-07-13 11:36:41] local.INFO: Processing buffer {"connection_id":131278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a1236f8012d7f914005afd938000c011b20..."} 
[2026-07-13 11:36:41] local.INFO: Packet analysis {"connection_id":131278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a12"} 
[2026-07-13 11:36:41] local.INFO: Extracted packet for processing {"connection_id":131278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a12"} 
[2026-07-13 11:36:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684100864001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783922571000,"timestamp_ms":1783922571000,"timestamp_seconds":1783922571,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a1236f8"} 
[2026-07-13 11:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684100864001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684100864001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:36:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684100864001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":131278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:36:41] local.INFO: GPS data processed {"connection_id":131278,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:36:41] local.INFO: Acknowledgment sent {"connection_id":131278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:36:43] local.INFO: TCP Data received {"connection_id":130269,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130269,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:36:43] local.INFO: Processing buffer {"connection_id":130269,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:36:43] local.INFO: IMEI packet received {"connection_id":130269,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 11:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":130269,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:36:48] local.INFO: TCP Data received {"connection_id":130269,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130269,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:36:48] local.INFO: Processing buffer {"connection_id":130269,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:36:48] local.INFO: IMEI packet received {"connection_id":130269,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 11:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":130269,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:36:49] local.INFO: TCP Data received {"connection_id":130269,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a109cd0012d7bed8005dbc1a8000000f91b..."} 
[2026-07-13 11:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a109cd0012d7bed8005dbc1a8000000f91b..."} 
[2026-07-13 11:36:49] local.INFO: Processing buffer {"connection_id":130269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a109cd0012d7bed8005dbc1a8000000f91b..."} 
[2026-07-13 11:36:49] local.INFO: Packet analysis {"connection_id":130269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a10"} 
[2026-07-13 11:36:49] local.INFO: Extracted packet for processing {"connection_id":130269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a10"} 
[2026-07-13 11:36:49] local.INFO: GPS Element Parsed {"raw_longitude":763096448,"raw_latitude":98288040,"longitude_deg":76.3096448,"latitude_deg":9.828804,"altitude":0,"angle":249,"satellites":27,"speed":0,"hex_longitude":"2d7bed80","hex_latitude":"05dbc1a8","is_valid_coordinates":true} 
[2026-07-13 11:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684151296001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105745367592599552,"note":"Value kept but may cause issues"} 
[2026-07-13 11:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929934398795655168,"note":"Value kept but may cause issues"} 
[2026-07-13 11:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783922466000,"timestamp_ms":1783922466000,"timestamp_seconds":1783922466,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a109cd0"} 
[2026-07-13 11:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 11:36:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 11:36:49] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3657433088,"note":"Value kept but may cause issues"} 
[2026-07-13 11:36:49] local.WARNING: Large IO value detected {"io_id":125,"raw_value":2415996283,"note":"Value kept but may cause issues"} 
[2026-07-13 11:36:49] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3261071360,"note":"Value kept but may cause issues"} 
[2026-07-13 11:36:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6433109706528849896,"corrected_to":0} 
[2026-07-13 11:36:49] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124433808228352,"note":"Value kept but may cause issues"} 
[2026-07-13 11:36:49] local.WARNING: Large IO value detected {"io_id":8,"raw_value":3070283174,"note":"Value kept but may cause issues"} 
[2026-07-13 11:36:49] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2933522432,"note":"Value kept but may cause issues"} 
[2026-07-13 11:36:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2611419280805115359,"note":"Value kept but may cause issues"} 
[2026-07-13 11:36:49] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993192309248,"note":"Value kept but may cause issues"} 
[2026-07-13 11:36:49] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,185,85,24,241,157,16,174,159,141,45,128,193,27,10,66,125,64,194,29,1,240,183,227,90,219,4,113,205,96,239,8,2,119,5,69],"length":484,"final_offset":614,"validated_count":36,"validation_warnings":[{"io_id":205,"original":-6433109706528849896,"validated":0}]} 
[2026-07-13 11:36:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":273894359433455,"timestamp_seconds":273894359433.455,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 11:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130269,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130269,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684151296001,"66":12037,"185":206,"85":15104,"24":0,"16":105745367592599552,"45":8929934398795655168},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-13 11:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684151296001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:36:49] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-13 11:36:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105745367592599552,"km_value":105745367592599.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929934398795655168,"description":"Unknown IO ID 45"} 
[2026-07-13 11:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684151296001,"power":12037,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8929934398795655168}} 
[2026-07-13 11:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":130269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479773,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:36:49] local.INFO: GPS data processed {"connection_id":130269,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:36:49] local.INFO: Acknowledgment sent {"connection_id":130269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:37:12] local.INFO: TCP Data received {"connection_id":131278,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a1236f8012d7f914005afd938000c011b20..."} 
[2026-07-13 11:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a1236f8012d7f914005afd938000c011b20..."} 
[2026-07-13 11:37:12] local.INFO: Processing buffer {"connection_id":131278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a1236f8012d7f914005afd938000c011b20..."} 
[2026-07-13 11:37:12] local.INFO: Packet analysis {"connection_id":131278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a12"} 
[2026-07-13 11:37:12] local.INFO: Extracted packet for processing {"connection_id":131278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a12"} 
[2026-07-13 11:37:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684100864001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783922571000,"timestamp_ms":1783922571000,"timestamp_seconds":1783922571,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a1236f8"} 
[2026-07-13 11:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684100864001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684100864001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:37:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:37:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684100864001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":131278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:37:12] local.INFO: GPS data processed {"connection_id":131278,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:37:12] local.INFO: Acknowledgment sent {"connection_id":131278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:37:15] local.INFO: TCP Data received {"connection_id":130268,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130268,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:37:15] local.INFO: Processing buffer {"connection_id":130268,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:37:15] local.INFO: IMEI packet received {"connection_id":130268,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 11:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":130268,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:37:20] local.INFO: TCP Data received {"connection_id":130269,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a15b198012d7bec0005dbc170000000f91a..."} 
[2026-07-13 11:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a15b198012d7bec0005dbc170000000f91a..."} 
[2026-07-13 11:37:20] local.INFO: Processing buffer {"connection_id":130269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a15b198012d7bec0005dbc170000000f91a..."} 
[2026-07-13 11:37:20] local.INFO: Packet analysis {"connection_id":130269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a15"} 
[2026-07-13 11:37:20] local.INFO: Extracted packet for processing {"connection_id":130269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a15"} 
[2026-07-13 11:37:20] local.INFO: GPS Element Parsed {"raw_longitude":763096064,"raw_latitude":98287984,"longitude_deg":76.3096064,"latitude_deg":9.8287984,"altitude":0,"angle":249,"satellites":26,"speed":0,"hex_longitude":"2d7bec00","hex_latitude":"05dbc170","is_valid_coordinates":true} 
[2026-07-13 11:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684151296001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105745367592599552,"note":"Value kept but may cause issues"} 
[2026-07-13 11:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929934398795655168,"note":"Value kept but may cause issues"} 
[2026-07-13 11:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783922799000,"timestamp_ms":1783922799000,"timestamp_seconds":1783922799,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a15b198"} 
[2026-07-13 11:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 11:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":34085028234240,"note":"Value kept but may cause issues"} 
[2026-07-13 11:37:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 11:37:20] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3657433088,"note":"Value kept but may cause issues"} 
[2026-07-13 11:37:20] local.WARNING: Large IO value detected {"io_id":125,"raw_value":2415996283,"note":"Value kept but may cause issues"} 
[2026-07-13 11:37:20] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3261071360,"note":"Value kept but may cause issues"} 
[2026-07-13 11:37:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6433109706528849896,"corrected_to":0} 
[2026-07-13 11:37:20] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182014961254656,"note":"Value kept but may cause issues"} 
[2026-07-13 11:37:20] local.WARNING: Large IO value detected {"io_id":8,"raw_value":3070283174,"note":"Value kept but may cause issues"} 
[2026-07-13 11:37:20] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2933522432,"note":"Value kept but may cause issues"} 
[2026-07-13 11:37:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2611419280805115363,"note":"Value kept but may cause issues"} 
[2026-07-13 11:37:20] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993192306432,"note":"Value kept but may cause issues"} 
[2026-07-13 11:37:20] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,185,85,24,241,157,16,174,159,156,45,128,193,27,10,66,141,125,64,1,240,183,227,90,219,4,113,205,96,29,239,8,2,119,5,69],"length":484,"final_offset":614,"validated_count":36,"validation_warnings":[{"io_id":205,"original":-6433109706528849896,"validated":0}]} 
[2026-07-13 11:37:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":273894359433456,"timestamp_seconds":273894359433.456,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 11:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130269,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130269,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684151296001,"66":12689,"185":206,"85":15104,"24":0,"16":105745367592599552,"45":8929934398795655168},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-13 11:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684151296001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:37:20] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-13 11:37:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105745367592599552,"km_value":105745367592599.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929934398795655168,"description":"Unknown IO ID 45"} 
[2026-07-13 11:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684151296001,"power":12689,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8929934398795655168}} 
[2026-07-13 11:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":130269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:37:20] local.INFO: GPS data processed {"connection_id":130269,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:37:20] local.INFO: Acknowledgment sent {"connection_id":130269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:37:34] local.INFO: TCP Data received {"connection_id":132616,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:37:34] local.INFO: Processing buffer {"connection_id":132616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:37:34] local.INFO: IMEI packet received {"connection_id":132616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":132616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:37:40] local.INFO: TCP Data received {"connection_id":132616,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:37:40] local.INFO: Processing buffer {"connection_id":132616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:37:40] local.INFO: IMEI packet received {"connection_id":132616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":132616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:37:40] local.INFO: TCP Data received {"connection_id":132617,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132617,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:37:40] local.INFO: Processing buffer {"connection_id":132617,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:37:40] local.INFO: IMEI packet received {"connection_id":132617,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 11:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":132617,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:37:40] local.INFO: TCP Data received {"connection_id":132616,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a1236f8012d7f914005afd938000c011b20..."} 
[2026-07-13 11:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a1236f8012d7f914005afd938000c011b20..."} 
[2026-07-13 11:37:40] local.INFO: Processing buffer {"connection_id":132616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a1236f8012d7f914005afd938000c011b20..."} 
[2026-07-13 11:37:40] local.INFO: Packet analysis {"connection_id":132616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a12"} 
[2026-07-13 11:37:40] local.INFO: Extracted packet for processing {"connection_id":132616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a12"} 
[2026-07-13 11:37:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684100864001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783922571000,"timestamp_ms":1783922571000,"timestamp_seconds":1783922571,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a1236f8"} 
[2026-07-13 11:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:37: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-07-13 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684100864001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684100864001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:37:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:37:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684100864001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":132616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:37:41] local.INFO: GPS data processed {"connection_id":132616,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:37:41] local.INFO: Acknowledgment sent {"connection_id":132616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:37:48] local.INFO: TCP Data received {"connection_id":132618,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132618,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:37:48] local.INFO: Processing buffer {"connection_id":132618,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:37:48] local.INFO: IMEI packet received {"connection_id":132618,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 11:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":132618,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:37:53] local.INFO: TCP Data received {"connection_id":132618,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132618,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:37:53] local.INFO: Processing buffer {"connection_id":132618,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 11:37:53] local.INFO: IMEI packet received {"connection_id":132618,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 11:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":132618,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:37:54] local.INFO: TCP Data received {"connection_id":132618,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a15b198012d7bec0005dbc170000000f91a..."} 
[2026-07-13 11:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a15b198012d7bec0005dbc170000000f91a..."} 
[2026-07-13 11:37:54] local.INFO: Processing buffer {"connection_id":132618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a15b198012d7bec0005dbc170000000f91a..."} 
[2026-07-13 11:37:54] local.INFO: Packet analysis {"connection_id":132618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a15"} 
[2026-07-13 11:37:54] local.INFO: Extracted packet for processing {"connection_id":132618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a15"} 
[2026-07-13 11:37:54] local.INFO: GPS Element Parsed {"raw_longitude":763096064,"raw_latitude":98287984,"longitude_deg":76.3096064,"latitude_deg":9.8287984,"altitude":0,"angle":249,"satellites":26,"speed":0,"hex_longitude":"2d7bec00","hex_latitude":"05dbc170","is_valid_coordinates":true} 
[2026-07-13 11:37: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-07-13 11:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684236544001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105745367592599552,"note":"Value kept but may cause issues"} 
[2026-07-13 11:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929512186330574848,"note":"Value kept but may cause issues"} 
[2026-07-13 11:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783922799000,"timestamp_ms":1783922799000,"timestamp_seconds":1783922799,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a15b198"} 
[2026-07-13 11:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 11: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-13 11:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11: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-07-13 11:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":132618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":132618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":132618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684236544001,"66":12689,"185":206,"85":15104,"24":0,"16":105745367592599552,"45":8929512186330574848},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-13 11:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684236544001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:37:54] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-13 11:37:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105745367592599552,"km_value":105745367592599.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929512186330574848,"description":"Unknown IO ID 45"} 
[2026-07-13 11:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684236544001,"power":12689,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8929512186330574848}} 
[2026-07-13 11:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":132618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479777,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:37:54] local.INFO: GPS data processed {"connection_id":132618,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:37:54] local.INFO: Acknowledgment sent {"connection_id":132618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:37:55] local.INFO: TCP Data received {"connection_id":132618,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a15e848012d7bef0005dbc328000000041b..."} 
[2026-07-13 11:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a15e848012d7bef0005dbc328000000041b..."} 
[2026-07-13 11:37:55] local.INFO: Processing buffer {"connection_id":132618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a15e848012d7bef0005dbc328000000041b..."} 
[2026-07-13 11:37:55] local.INFO: Packet analysis {"connection_id":132618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a15"} 
[2026-07-13 11:37:55] local.INFO: Extracted packet for processing {"connection_id":132618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a15"} 
[2026-07-13 11:37:55] local.INFO: GPS Element Parsed {"raw_longitude":763096832,"raw_latitude":98288424,"longitude_deg":76.3096832,"latitude_deg":9.8288424,"altitude":0,"angle":4,"satellites":27,"speed":2,"hex_longitude":"2d7bef00","hex_latitude":"05dbc328","is_valid_coordinates":true} 
[2026-07-13 11:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684236544001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105745393362403328,"note":"Value kept but may cause issues"} 
[2026-07-13 11:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929512186330574848,"note":"Value kept but may cause issues"} 
[2026-07-13 11:37: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-07-13 11:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783922813000,"timestamp_ms":1783922813000,"timestamp_seconds":1783922813,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a15e848"} 
[2026-07-13 11:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 11:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-13 11:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":132618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":132618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":132618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 11:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 11:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 11:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684236544001,"66":11830,"185":206,"85":15104,"24":2,"16":105745393362403328,"45":8929512186330574848},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-13 11:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 11:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 11:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684236544001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:37:55] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-13 11:37:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 11:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105745393362403328,"km_value":105745393362403.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929512186330574848,"description":"Unknown IO ID 45"} 
[2026-07-13 11:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684236544001,"power":11830,"unknown_185":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8929512186330574848}} 
[2026-07-13 11:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":132618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479778,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:37:55] local.INFO: GPS data processed {"connection_id":132618,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:37:55] local.INFO: Acknowledgment sent {"connection_id":132618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:38:12] local.INFO: TCP Data received {"connection_id":132616,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a1236f8012d7f914005afd938000c011b20..."} 
[2026-07-13 11:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a1236f8012d7f914005afd938000c011b20..."} 
[2026-07-13 11:38:12] local.INFO: Processing buffer {"connection_id":132616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a1236f8012d7f914005afd938000c011b20..."} 
[2026-07-13 11:38:12] local.INFO: Packet analysis {"connection_id":132616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a12"} 
[2026-07-13 11:38:12] local.INFO: Extracted packet for processing {"connection_id":132616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a12"} 
[2026-07-13 11:38:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684100864001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783922571000,"timestamp_ms":1783922571000,"timestamp_seconds":1783922571,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a1236f8"} 
[2026-07-13 11:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684100864001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684100864001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:38:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:38:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684100864001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":132616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:38:12] local.INFO: GPS data processed {"connection_id":132616,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:38:12] local.INFO: Acknowledgment sent {"connection_id":132616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:38:40] local.INFO: TCP Data received {"connection_id":130270,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:38:40] local.INFO: Processing buffer {"connection_id":130270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:38:40] local.INFO: IMEI packet received {"connection_id":130270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":130270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:38:45] local.INFO: TCP Data received {"connection_id":130270,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:38:45] local.INFO: Processing buffer {"connection_id":130270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:38:45] local.INFO: IMEI packet received {"connection_id":130270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":130270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:38:46] local.INFO: TCP Data received {"connection_id":130270,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a16bf20012d7f914005afd938000d011b1f..."} 
[2026-07-13 11:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a16bf20012d7f914005afd938000d011b1f..."} 
[2026-07-13 11:38:46] local.INFO: Processing buffer {"connection_id":130270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a16bf20012d7f914005afd938000d011b1f..."} 
[2026-07-13 11:38:46] local.INFO: Packet analysis {"connection_id":130270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a16"} 
[2026-07-13 11:38:46] local.INFO: Extracted packet for processing {"connection_id":130270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a16"} 
[2026-07-13 11:38:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684178176001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783922868000,"timestamp_ms":1783922868000,"timestamp_seconds":1783922868,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a16bf20"} 
[2026-07-13 11:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684178176001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684178176001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:38:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:38:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684178176001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":130270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:38:46] local.INFO: GPS data processed {"connection_id":130270,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:38:46] local.INFO: Acknowledgment sent {"connection_id":130270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:39:17] local.INFO: TCP Data received {"connection_id":130270,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a16bf20012d7f914005afd938000d011b1f..."} 
[2026-07-13 11:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a16bf20012d7f914005afd938000d011b1f..."} 
[2026-07-13 11:39:17] local.INFO: Processing buffer {"connection_id":130270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a16bf20012d7f914005afd938000d011b1f..."} 
[2026-07-13 11:39:17] local.INFO: Packet analysis {"connection_id":130270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a16"} 
[2026-07-13 11:39:17] local.INFO: Extracted packet for processing {"connection_id":130270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a16"} 
[2026-07-13 11:39:17] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11: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-07-13 11:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684178176001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783922868000,"timestamp_ms":1783922868000,"timestamp_seconds":1783922868,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a16bf20"} 
[2026-07-13 11:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11: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-07-13 11:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:39: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-07-13 11:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684178176001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684178176001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:39:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:39:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684178176001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":130270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:39:17] local.INFO: GPS data processed {"connection_id":130270,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:39:17] local.INFO: Acknowledgment sent {"connection_id":130270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:39:34] local.INFO: TCP Data received {"connection_id":131280,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:39:34] local.INFO: Processing buffer {"connection_id":131280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:39:34] local.INFO: IMEI packet received {"connection_id":131280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":131280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:39:40] local.INFO: TCP Data received {"connection_id":131280,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:39:40] local.INFO: Processing buffer {"connection_id":131280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:39:40] local.INFO: IMEI packet received {"connection_id":131280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":131280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:39:41] local.INFO: TCP Data received {"connection_id":131280,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a16bf20012d7f914005afd938000d011b1f..."} 
[2026-07-13 11:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a16bf20012d7f914005afd938000d011b1f..."} 
[2026-07-13 11:39:41] local.INFO: Processing buffer {"connection_id":131280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a16bf20012d7f914005afd938000d011b1f..."} 
[2026-07-13 11:39:41] local.INFO: Packet analysis {"connection_id":131280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a16"} 
[2026-07-13 11:39:41] local.INFO: Extracted packet for processing {"connection_id":131280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a16"} 
[2026-07-13 11:39:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684178176001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783922868000,"timestamp_ms":1783922868000,"timestamp_seconds":1783922868,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a16bf20"} 
[2026-07-13 11:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684178176001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684178176001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:39:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:39:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684178176001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":131280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:39:41] local.INFO: GPS data processed {"connection_id":131280,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:39:41] local.INFO: Acknowledgment sent {"connection_id":131280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:40:13] local.INFO: TCP Data received {"connection_id":131280,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a16bf20012d7f914005afd938000d011b1f..."} 
[2026-07-13 11:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a16bf20012d7f914005afd938000d011b1f..."} 
[2026-07-13 11:40:13] local.INFO: Processing buffer {"connection_id":131280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a16bf20012d7f914005afd938000d011b1f..."} 
[2026-07-13 11:40:13] local.INFO: Packet analysis {"connection_id":131280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a16"} 
[2026-07-13 11:40:13] local.INFO: Extracted packet for processing {"connection_id":131280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a16"} 
[2026-07-13 11:40:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684178176001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783922868000,"timestamp_ms":1783922868000,"timestamp_seconds":1783922868,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a16bf20"} 
[2026-07-13 11:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:40:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:40:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684178176001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684178176001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:40:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:40:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684178176001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":131280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:40:13] local.INFO: GPS data processed {"connection_id":131280,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:40:13] local.INFO: Acknowledgment sent {"connection_id":131280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:40:35] local.INFO: TCP Data received {"connection_id":131281,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:40:35] local.INFO: Processing buffer {"connection_id":131281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:40:35] local.INFO: IMEI packet received {"connection_id":131281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":131281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:40:40] local.INFO: TCP Data received {"connection_id":131281,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:40:40] local.INFO: Processing buffer {"connection_id":131281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:40:40] local.INFO: IMEI packet received {"connection_id":131281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":131281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:40:41] local.INFO: TCP Data received {"connection_id":131281,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a16bf20012d7f914005afd938000d011b1f..."} 
[2026-07-13 11:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a16bf20012d7f914005afd938000d011b1f..."} 
[2026-07-13 11:40:41] local.INFO: Processing buffer {"connection_id":131281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a16bf20012d7f914005afd938000d011b1f..."} 
[2026-07-13 11:40:41] local.INFO: Packet analysis {"connection_id":131281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a16"} 
[2026-07-13 11:40:41] local.INFO: Extracted packet for processing {"connection_id":131281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a16"} 
[2026-07-13 11:40:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684178176001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783922868000,"timestamp_ms":1783922868000,"timestamp_seconds":1783922868,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a16bf20"} 
[2026-07-13 11:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684178176001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684178176001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:40:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:40:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684178176001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":131281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:40:41] local.INFO: GPS data processed {"connection_id":131281,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:40:41] local.INFO: Acknowledgment sent {"connection_id":131281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:41:12] local.INFO: TCP Data received {"connection_id":131281,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a16bf20012d7f914005afd938000d011b1f..."} 
[2026-07-13 11:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a16bf20012d7f914005afd938000d011b1f..."} 
[2026-07-13 11:41:12] local.INFO: Processing buffer {"connection_id":131281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a16bf20012d7f914005afd938000d011b1f..."} 
[2026-07-13 11:41:12] local.INFO: Packet analysis {"connection_id":131281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a16"} 
[2026-07-13 11:41:12] local.INFO: Extracted packet for processing {"connection_id":131281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a16"} 
[2026-07-13 11:41:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684178176001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783922868000,"timestamp_ms":1783922868000,"timestamp_seconds":1783922868,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a16bf20"} 
[2026-07-13 11:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684178176001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684178176001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:41:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:41:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684178176001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":131281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:41:12] local.INFO: GPS data processed {"connection_id":131281,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:41:12] local.INFO: Acknowledgment sent {"connection_id":131281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:41:34] local.INFO: TCP Data received {"connection_id":131282,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:41:34] local.INFO: Processing buffer {"connection_id":131282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:41:34] local.INFO: IMEI packet received {"connection_id":131282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":131282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:41:40] local.INFO: TCP Data received {"connection_id":131282,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:41:40] local.INFO: Processing buffer {"connection_id":131282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:41:40] local.INFO: IMEI packet received {"connection_id":131282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":131282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:41:40] local.INFO: TCP Data received {"connection_id":131282,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a16bf20012d7f914005afd938000d011b1f..."} 
[2026-07-13 11:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a16bf20012d7f914005afd938000d011b1f..."} 
[2026-07-13 11:41:41] local.INFO: Processing buffer {"connection_id":131282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a16bf20012d7f914005afd938000d011b1f..."} 
[2026-07-13 11:41:41] local.INFO: Packet analysis {"connection_id":131282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a16"} 
[2026-07-13 11:41:41] local.INFO: Extracted packet for processing {"connection_id":131282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a16"} 
[2026-07-13 11:41:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684178176001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783922868000,"timestamp_ms":1783922868000,"timestamp_seconds":1783922868,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a16bf20"} 
[2026-07-13 11:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684178176001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684178176001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:41:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:41:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684178176001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":131282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:41:41] local.INFO: GPS data processed {"connection_id":131282,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:41:41] local.INFO: Acknowledgment sent {"connection_id":131282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:42:12] local.INFO: TCP Data received {"connection_id":131282,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a16bf20012d7f914005afd938000d011b1f..."} 
[2026-07-13 11:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a16bf20012d7f914005afd938000d011b1f..."} 
[2026-07-13 11:42:12] local.INFO: Processing buffer {"connection_id":131282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a16bf20012d7f914005afd938000d011b1f..."} 
[2026-07-13 11:42:12] local.INFO: Packet analysis {"connection_id":131282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a16"} 
[2026-07-13 11:42:12] local.INFO: Extracted packet for processing {"connection_id":131282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a16"} 
[2026-07-13 11:42:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684178176001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783922868000,"timestamp_ms":1783922868000,"timestamp_seconds":1783922868,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a16bf20"} 
[2026-07-13 11:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684178176001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684178176001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:42:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:42:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684178176001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":131282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:42:12] local.INFO: GPS data processed {"connection_id":131282,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:42:12] local.INFO: Acknowledgment sent {"connection_id":131282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:42:40] local.INFO: TCP Data received {"connection_id":131283,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:42:40] local.INFO: Processing buffer {"connection_id":131283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:42:40] local.INFO: IMEI packet received {"connection_id":131283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":131283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:42:44] local.INFO: TCP Data received {"connection_id":131283,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:42:44] local.INFO: Processing buffer {"connection_id":131283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:42:44] local.INFO: IMEI packet received {"connection_id":131283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":131283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:42:45] local.INFO: TCP Data received {"connection_id":131283,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a16bf20012d7f914005afd938000d011b1f..."} 
[2026-07-13 11:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a16bf20012d7f914005afd938000d011b1f..."} 
[2026-07-13 11:42:45] local.INFO: Processing buffer {"connection_id":131283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a16bf20012d7f914005afd938000d011b1f..."} 
[2026-07-13 11:42:45] local.INFO: Packet analysis {"connection_id":131283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a16"} 
[2026-07-13 11:42:45] local.INFO: Extracted packet for processing {"connection_id":131283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a16"} 
[2026-07-13 11:42:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684178176001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783922868000,"timestamp_ms":1783922868000,"timestamp_seconds":1783922868,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a16bf20"} 
[2026-07-13 11:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684178176001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684178176001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:42:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:42:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684178176001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":131283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:42:45] local.INFO: GPS data processed {"connection_id":131283,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:42:45] local.INFO: Acknowledgment sent {"connection_id":131283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:42:50] local.INFO: TCP Data received {"connection_id":131283,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a16bf20012d7f914005afd938000d011b1f..."} 
[2026-07-13 11:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a16bf20012d7f914005afd938000d011b1f..."} 
[2026-07-13 11:42:50] local.INFO: Processing buffer {"connection_id":131283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a16bf20012d7f914005afd938000d011b1f..."} 
[2026-07-13 11:42:50] local.INFO: Packet analysis {"connection_id":131283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a16"} 
[2026-07-13 11:42:50] local.INFO: Extracted packet for processing {"connection_id":131283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a16"} 
[2026-07-13 11:42:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684178176001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783922868000,"timestamp_ms":1783922868000,"timestamp_seconds":1783922868,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a16bf20"} 
[2026-07-13 11:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:42: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-07-13 11:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:42: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-07-13 11:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684178176001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684178176001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:42:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:42:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684178176001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":131283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:42:50] local.INFO: GPS data processed {"connection_id":131283,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:42:50] local.INFO: Acknowledgment sent {"connection_id":131283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:43:11] local.INFO: TCP Data received {"connection_id":130486,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:43:11] local.INFO: Processing buffer {"connection_id":130486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:43:11] local.INFO: IMEI packet received {"connection_id":130486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 11:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":130486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:43:34] local.INFO: TCP Data received {"connection_id":132619,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:43:34] local.INFO: Processing buffer {"connection_id":132619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:43:34] local.INFO: IMEI packet received {"connection_id":132619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":132619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:43:40] local.INFO: TCP Data received {"connection_id":132619,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:43:40] local.INFO: Processing buffer {"connection_id":132619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:43:40] local.INFO: IMEI packet received {"connection_id":132619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":132619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:43:41] local.INFO: TCP Data received {"connection_id":132619,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a1b4748012d7f914005afd938000d011b20..."} 
[2026-07-13 11:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a1b4748012d7f914005afd938000d011b20..."} 
[2026-07-13 11:43:41] local.INFO: Processing buffer {"connection_id":132619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a1b4748012d7f914005afd938000d011b20..."} 
[2026-07-13 11:43:41] local.INFO: Packet analysis {"connection_id":132619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a1b"} 
[2026-07-13 11:43:41] local.INFO: Extracted packet for processing {"connection_id":132619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a1b"} 
[2026-07-13 11:43:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684254208001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783923165000,"timestamp_ms":1783923165000,"timestamp_seconds":1783923165,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a1b4748"} 
[2026-07-13 11:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684254208001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684254208001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:43:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:43:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684254208001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":132619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:43:41] local.INFO: GPS data processed {"connection_id":132619,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:43:41] local.INFO: Acknowledgment sent {"connection_id":132619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:44:12] local.INFO: TCP Data received {"connection_id":132619,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a1b4748012d7f914005afd938000d011b20..."} 
[2026-07-13 11:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a1b4748012d7f914005afd938000d011b20..."} 
[2026-07-13 11:44:12] local.INFO: Processing buffer {"connection_id":132619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a1b4748012d7f914005afd938000d011b20..."} 
[2026-07-13 11:44:12] local.INFO: Packet analysis {"connection_id":132619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a1b"} 
[2026-07-13 11:44:12] local.INFO: Extracted packet for processing {"connection_id":132619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a1b"} 
[2026-07-13 11:44:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11: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-07-13 11:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684254208001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783923165000,"timestamp_ms":1783923165000,"timestamp_seconds":1783923165,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a1b4748"} 
[2026-07-13 11:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11: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-07-13 11:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684254208001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684254208001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:44:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:44:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684254208001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":132619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:44:12] local.INFO: GPS data processed {"connection_id":132619,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:44:12] local.INFO: Acknowledgment sent {"connection_id":132619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:44:15] local.INFO: TCP Data received {"connection_id":132620,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:44:15] local.INFO: Processing buffer {"connection_id":132620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:44:15] local.INFO: IMEI packet received {"connection_id":132620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 11:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":132620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:44:35] local.INFO: TCP Data received {"connection_id":130271,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:44:35] local.INFO: Processing buffer {"connection_id":130271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:44:35] local.INFO: IMEI packet received {"connection_id":130271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":130271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:44:40] local.INFO: TCP Data received {"connection_id":130271,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:44:40] local.INFO: Processing buffer {"connection_id":130271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:44:40] local.INFO: IMEI packet received {"connection_id":130271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":130271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:44:41] local.INFO: TCP Data received {"connection_id":130271,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a1b4748012d7f914005afd938000d011b20..."} 
[2026-07-13 11:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a1b4748012d7f914005afd938000d011b20..."} 
[2026-07-13 11:44:41] local.INFO: Processing buffer {"connection_id":130271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a1b4748012d7f914005afd938000d011b20..."} 
[2026-07-13 11:44:41] local.INFO: Packet analysis {"connection_id":130271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a1b"} 
[2026-07-13 11:44:41] local.INFO: Extracted packet for processing {"connection_id":130271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a1b"} 
[2026-07-13 11:44:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684254208001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783923165000,"timestamp_ms":1783923165000,"timestamp_seconds":1783923165,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a1b4748"} 
[2026-07-13 11:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684254208001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684254208001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:44:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:44:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684254208001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":130271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:44:41] local.INFO: GPS data processed {"connection_id":130271,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:44:41] local.INFO: Acknowledgment sent {"connection_id":130271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:44:45] local.INFO: TCP Data received {"connection_id":130272,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130272,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:44:45] local.INFO: Processing buffer {"connection_id":130272,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:44:45] local.INFO: IMEI packet received {"connection_id":130272,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 11:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":130272,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:45:13] local.INFO: TCP Data received {"connection_id":130271,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a1b4748012d7f914005afd938000d011b20..."} 
[2026-07-13 11:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a1b4748012d7f914005afd938000d011b20..."} 
[2026-07-13 11:45:13] local.INFO: Processing buffer {"connection_id":130271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a1b4748012d7f914005afd938000d011b20..."} 
[2026-07-13 11:45:13] local.INFO: Packet analysis {"connection_id":130271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a1b"} 
[2026-07-13 11:45:13] local.INFO: Extracted packet for processing {"connection_id":130271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a1b"} 
[2026-07-13 11:45:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684254208001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783923165000,"timestamp_ms":1783923165000,"timestamp_seconds":1783923165,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a1b4748"} 
[2026-07-13 11:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684254208001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684254208001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:45:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:45:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684254208001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":130271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:45:13] local.INFO: GPS data processed {"connection_id":130271,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:45:13] local.INFO: Acknowledgment sent {"connection_id":130271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:45:34] local.INFO: TCP Data received {"connection_id":131284,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:45:34] local.INFO: Processing buffer {"connection_id":131284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:45:34] local.INFO: IMEI packet received {"connection_id":131284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":131284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:45:40] local.INFO: TCP Data received {"connection_id":131284,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:45:40] local.INFO: Processing buffer {"connection_id":131284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:45:40] local.INFO: IMEI packet received {"connection_id":131284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":131284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:45:41] local.INFO: TCP Data received {"connection_id":131284,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a1b4748012d7f914005afd938000d011b20..."} 
[2026-07-13 11:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a1b4748012d7f914005afd938000d011b20..."} 
[2026-07-13 11:45:41] local.INFO: Processing buffer {"connection_id":131284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a1b4748012d7f914005afd938000d011b20..."} 
[2026-07-13 11:45:41] local.INFO: Packet analysis {"connection_id":131284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a1b"} 
[2026-07-13 11:45:41] local.INFO: Extracted packet for processing {"connection_id":131284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a1b"} 
[2026-07-13 11:45:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684254208001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783923165000,"timestamp_ms":1783923165000,"timestamp_seconds":1783923165,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a1b4748"} 
[2026-07-13 11:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684254208001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684254208001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:45:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:45:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684254208001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":131284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:45:41] local.INFO: GPS data processed {"connection_id":131284,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:45:41] local.INFO: Acknowledgment sent {"connection_id":131284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:46:12] local.INFO: TCP Data received {"connection_id":131284,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a1b4748012d7f914005afd938000d011b20..."} 
[2026-07-13 11:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a1b4748012d7f914005afd938000d011b20..."} 
[2026-07-13 11:46:12] local.INFO: Processing buffer {"connection_id":131284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a1b4748012d7f914005afd938000d011b20..."} 
[2026-07-13 11:46:12] local.INFO: Packet analysis {"connection_id":131284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a1b"} 
[2026-07-13 11:46:12] local.INFO: Extracted packet for processing {"connection_id":131284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a1b"} 
[2026-07-13 11:46:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684254208001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783923165000,"timestamp_ms":1783923165000,"timestamp_seconds":1783923165,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a1b4748"} 
[2026-07-13 11:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684254208001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684254208001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:46:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:46:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684254208001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":131284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:46:12] local.INFO: GPS data processed {"connection_id":131284,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:46:12] local.INFO: Acknowledgment sent {"connection_id":131284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:46:34] local.INFO: TCP Data received {"connection_id":130487,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:46:34] local.INFO: Processing buffer {"connection_id":130487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:46:34] local.INFO: IMEI packet received {"connection_id":130487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":130487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:46:40] local.INFO: TCP Data received {"connection_id":130487,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:46:40] local.INFO: Processing buffer {"connection_id":130487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:46:40] local.INFO: IMEI packet received {"connection_id":130487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":130487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:46:41] local.INFO: TCP Data received {"connection_id":130487,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a1b4748012d7f914005afd938000d011b20..."} 
[2026-07-13 11:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a1b4748012d7f914005afd938000d011b20..."} 
[2026-07-13 11:46:41] local.INFO: Processing buffer {"connection_id":130487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a1b4748012d7f914005afd938000d011b20..."} 
[2026-07-13 11:46:41] local.INFO: Packet analysis {"connection_id":130487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a1b"} 
[2026-07-13 11:46:41] local.INFO: Extracted packet for processing {"connection_id":130487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a1b"} 
[2026-07-13 11:46:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684254208001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783923165000,"timestamp_ms":1783923165000,"timestamp_seconds":1783923165,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a1b4748"} 
[2026-07-13 11:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684254208001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684254208001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:46:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:46:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684254208001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":130487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:46:41] local.INFO: GPS data processed {"connection_id":130487,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:46:41] local.INFO: Acknowledgment sent {"connection_id":130487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:47:12] local.INFO: TCP Data received {"connection_id":130487,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a1b4748012d7f914005afd938000d011b20..."} 
[2026-07-13 11:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a1b4748012d7f914005afd938000d011b20..."} 
[2026-07-13 11:47:12] local.INFO: Processing buffer {"connection_id":130487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a1b4748012d7f914005afd938000d011b20..."} 
[2026-07-13 11:47:12] local.INFO: Packet analysis {"connection_id":130487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a1b"} 
[2026-07-13 11:47:12] local.INFO: Extracted packet for processing {"connection_id":130487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a1b"} 
[2026-07-13 11:47:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684254208001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783923165000,"timestamp_ms":1783923165000,"timestamp_seconds":1783923165,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a1b4748"} 
[2026-07-13 11:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684254208001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684254208001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:47:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:47:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684254208001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":130487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:47:12] local.INFO: GPS data processed {"connection_id":130487,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:47:12] local.INFO: Acknowledgment sent {"connection_id":130487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:47:34] local.INFO: TCP Data received {"connection_id":130274,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:47:34] local.INFO: Processing buffer {"connection_id":130274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:47:34] local.INFO: IMEI packet received {"connection_id":130274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":130274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:47:40] local.INFO: TCP Data received {"connection_id":130274,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:47:40] local.INFO: Processing buffer {"connection_id":130274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:47:40] local.INFO: IMEI packet received {"connection_id":130274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":130274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:47:41] local.INFO: TCP Data received {"connection_id":130274,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a1b4748012d7f914005afd938000d011b20..."} 
[2026-07-13 11:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a1b4748012d7f914005afd938000d011b20..."} 
[2026-07-13 11:47:41] local.INFO: Processing buffer {"connection_id":130274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a1b4748012d7f914005afd938000d011b20..."} 
[2026-07-13 11:47:41] local.INFO: Packet analysis {"connection_id":130274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a1b"} 
[2026-07-13 11:47:41] local.INFO: Extracted packet for processing {"connection_id":130274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a1b"} 
[2026-07-13 11:47:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684254208001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783923165000,"timestamp_ms":1783923165000,"timestamp_seconds":1783923165,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a1b4748"} 
[2026-07-13 11:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684254208001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684254208001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:47:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:47:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684254208001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":130274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:47:41] local.INFO: GPS data processed {"connection_id":130274,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:47:41] local.INFO: Acknowledgment sent {"connection_id":130274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:48:12] local.INFO: TCP Data received {"connection_id":130274,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a1b4748012d7f914005afd938000d011b20..."} 
[2026-07-13 11:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a1b4748012d7f914005afd938000d011b20..."} 
[2026-07-13 11:48:12] local.INFO: Processing buffer {"connection_id":130274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a1b4748012d7f914005afd938000d011b20..."} 
[2026-07-13 11:48:12] local.INFO: Packet analysis {"connection_id":130274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a1b"} 
[2026-07-13 11:48:12] local.INFO: Extracted packet for processing {"connection_id":130274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a1b"} 
[2026-07-13 11:48:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684254208001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783923165000,"timestamp_ms":1783923165000,"timestamp_seconds":1783923165,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a1b4748"} 
[2026-07-13 11:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684254208001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684254208001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:48:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:48:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684254208001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":130274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:48:12] local.INFO: GPS data processed {"connection_id":130274,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:48:12] local.INFO: Acknowledgment sent {"connection_id":130274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:48:40] local.INFO: TCP Data received {"connection_id":132622,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:48:40] local.INFO: Processing buffer {"connection_id":132622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:48:40] local.INFO: IMEI packet received {"connection_id":132622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":132622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:48:45] local.INFO: TCP Data received {"connection_id":132622,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:48:45] local.INFO: Processing buffer {"connection_id":132622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:48:45] local.INFO: IMEI packet received {"connection_id":132622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":132622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:48:46] local.INFO: TCP Data received {"connection_id":132622,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a1fd358012d7f914005afd938000e011b23..."} 
[2026-07-13 11:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a1fd358012d7f914005afd938000e011b23..."} 
[2026-07-13 11:48:46] local.INFO: Processing buffer {"connection_id":132622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a1fd358012d7f914005afd938000e011b23..."} 
[2026-07-13 11:48:46] local.INFO: Packet analysis {"connection_id":132622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a1f"} 
[2026-07-13 11:48:46] local.INFO: Extracted packet for processing {"connection_id":132622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a1f"} 
[2026-07-13 11:48:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684330240001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783923463000,"timestamp_ms":1783923463000,"timestamp_seconds":1783923463,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a1fd358"} 
[2026-07-13 11:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684330240001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684330240001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:48:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:48:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684330240001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":132622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:48:46] local.INFO: GPS data processed {"connection_id":132622,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:48:46] local.INFO: Acknowledgment sent {"connection_id":132622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:48:50] local.INFO: TCP Data received {"connection_id":132622,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a1fd358012d7f914005afd938000e011b23..."} 
[2026-07-13 11:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a1fd358012d7f914005afd938000e011b23..."} 
[2026-07-13 11:48:50] local.INFO: Processing buffer {"connection_id":132622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a1fd358012d7f914005afd938000e011b23..."} 
[2026-07-13 11:48:50] local.INFO: Packet analysis {"connection_id":132622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a1f"} 
[2026-07-13 11:48:50] local.INFO: Extracted packet for processing {"connection_id":132622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a1f"} 
[2026-07-13 11:48:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684330240001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783923463000,"timestamp_ms":1783923463000,"timestamp_seconds":1783923463,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a1fd358"} 
[2026-07-13 11:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:48: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-07-13 11:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":132622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":132622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":132622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:48: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-07-13 11:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684330240001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684330240001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:48:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:48:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684330240001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":132622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:48:50] local.INFO: GPS data processed {"connection_id":132622,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:48:50] local.INFO: Acknowledgment sent {"connection_id":132622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:49:34] local.INFO: TCP Data received {"connection_id":130488,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:49:34] local.INFO: Processing buffer {"connection_id":130488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:49:34] local.INFO: IMEI packet received {"connection_id":130488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":130488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:49:40] local.INFO: TCP Data received {"connection_id":130488,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:49:40] local.INFO: Processing buffer {"connection_id":130488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:49:40] local.INFO: IMEI packet received {"connection_id":130488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":130488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:49:41] local.INFO: TCP Data received {"connection_id":130488,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a1fd358012d7f914005afd938000e011b23..."} 
[2026-07-13 11:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a1fd358012d7f914005afd938000e011b23..."} 
[2026-07-13 11:49:41] local.INFO: Processing buffer {"connection_id":130488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a1fd358012d7f914005afd938000e011b23..."} 
[2026-07-13 11:49:41] local.INFO: Packet analysis {"connection_id":130488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a1f"} 
[2026-07-13 11:49:41] local.INFO: Extracted packet for processing {"connection_id":130488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a1f"} 
[2026-07-13 11:49:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684330240001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783923463000,"timestamp_ms":1783923463000,"timestamp_seconds":1783923463,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a1fd358"} 
[2026-07-13 11:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684330240001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684330240001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:49:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:49:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684330240001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":130488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:49:41] local.INFO: GPS data processed {"connection_id":130488,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:49:41] local.INFO: Acknowledgment sent {"connection_id":130488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:50:01] local.INFO: TCP Data received {"connection_id":131287,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:50:01] local.INFO: Processing buffer {"connection_id":131287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:50:01] local.INFO: IMEI packet received {"connection_id":131287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 11:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":131287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:50:12] local.INFO: TCP Data received {"connection_id":130488,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a1fd358012d7f914005afd938000e011b23..."} 
[2026-07-13 11:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a1fd358012d7f914005afd938000e011b23..."} 
[2026-07-13 11:50:12] local.INFO: Processing buffer {"connection_id":130488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a1fd358012d7f914005afd938000e011b23..."} 
[2026-07-13 11:50:12] local.INFO: Packet analysis {"connection_id":130488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a1f"} 
[2026-07-13 11:50:12] local.INFO: Extracted packet for processing {"connection_id":130488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a1f"} 
[2026-07-13 11:50:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684330240001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783923463000,"timestamp_ms":1783923463000,"timestamp_seconds":1783923463,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a1fd358"} 
[2026-07-13 11:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684330240001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684330240001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:50:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:50:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684330240001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":130488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:50:12] local.INFO: GPS data processed {"connection_id":130488,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:50:12] local.INFO: Acknowledgment sent {"connection_id":130488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:50:34] local.INFO: TCP Data received {"connection_id":130275,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:50:34] local.INFO: Processing buffer {"connection_id":130275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:50:34] local.INFO: IMEI packet received {"connection_id":130275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":130275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:50:40] local.INFO: TCP Data received {"connection_id":130275,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:50:40] local.INFO: Processing buffer {"connection_id":130275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:50:40] local.INFO: IMEI packet received {"connection_id":130275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":130275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:50:41] local.INFO: TCP Data received {"connection_id":130275,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a1fd358012d7f914005afd938000e011b23..."} 
[2026-07-13 11:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a1fd358012d7f914005afd938000e011b23..."} 
[2026-07-13 11:50:41] local.INFO: Processing buffer {"connection_id":130275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a1fd358012d7f914005afd938000e011b23..."} 
[2026-07-13 11:50:41] local.INFO: Packet analysis {"connection_id":130275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a1f"} 
[2026-07-13 11:50:41] local.INFO: Extracted packet for processing {"connection_id":130275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a1f"} 
[2026-07-13 11:50:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11: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-07-13 11:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684330240001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783923463000,"timestamp_ms":1783923463000,"timestamp_seconds":1783923463,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a1fd358"} 
[2026-07-13 11:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11: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-07-13 11:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684330240001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684330240001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:50:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:50:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684330240001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":130275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:50:41] local.INFO: GPS data processed {"connection_id":130275,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:50:41] local.INFO: Acknowledgment sent {"connection_id":130275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:50:50] local.INFO: TCP Data received {"connection_id":130489,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130489,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:50:50] local.INFO: Processing buffer {"connection_id":130489,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:50:50] local.INFO: IMEI packet received {"connection_id":130489,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 11:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":130489,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:51:12] local.INFO: TCP Data received {"connection_id":130275,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a1fd358012d7f914005afd938000e011b23..."} 
[2026-07-13 11:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a1fd358012d7f914005afd938000e011b23..."} 
[2026-07-13 11:51:12] local.INFO: Processing buffer {"connection_id":130275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a1fd358012d7f914005afd938000e011b23..."} 
[2026-07-13 11:51:12] local.INFO: Packet analysis {"connection_id":130275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a1f"} 
[2026-07-13 11:51:12] local.INFO: Extracted packet for processing {"connection_id":130275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a1f"} 
[2026-07-13 11:51:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684330240001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783923463000,"timestamp_ms":1783923463000,"timestamp_seconds":1783923463,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a1fd358"} 
[2026-07-13 11:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684330240001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684330240001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:51:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:51:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684330240001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":130275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:51:12] local.INFO: GPS data processed {"connection_id":130275,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:51:12] local.INFO: Acknowledgment sent {"connection_id":130275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:51:34] local.INFO: TCP Data received {"connection_id":131288,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:51:34] local.INFO: Processing buffer {"connection_id":131288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:51:34] local.INFO: IMEI packet received {"connection_id":131288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":131288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:51:40] local.INFO: TCP Data received {"connection_id":131288,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:51:40] local.INFO: Processing buffer {"connection_id":131288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:51:40] local.INFO: IMEI packet received {"connection_id":131288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":131288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:51:41] local.INFO: TCP Data received {"connection_id":131288,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a1fd358012d7f914005afd938000e011b23..."} 
[2026-07-13 11:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a1fd358012d7f914005afd938000e011b23..."} 
[2026-07-13 11:51:41] local.INFO: Processing buffer {"connection_id":131288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a1fd358012d7f914005afd938000e011b23..."} 
[2026-07-13 11:51:41] local.INFO: Packet analysis {"connection_id":131288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a1f"} 
[2026-07-13 11:51:41] local.INFO: Extracted packet for processing {"connection_id":131288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a1f"} 
[2026-07-13 11:51:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684330240001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783923463000,"timestamp_ms":1783923463000,"timestamp_seconds":1783923463,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a1fd358"} 
[2026-07-13 11:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684330240001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684330240001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:51:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:51:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684330240001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":131288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:51:41] local.INFO: GPS data processed {"connection_id":131288,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:51:41] local.INFO: Acknowledgment sent {"connection_id":131288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:52:12] local.INFO: TCP Data received {"connection_id":131288,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a1fd358012d7f914005afd938000e011b23..."} 
[2026-07-13 11:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a1fd358012d7f914005afd938000e011b23..."} 
[2026-07-13 11:52:12] local.INFO: Processing buffer {"connection_id":131288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a1fd358012d7f914005afd938000e011b23..."} 
[2026-07-13 11:52:12] local.INFO: Packet analysis {"connection_id":131288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a1f"} 
[2026-07-13 11:52:12] local.INFO: Extracted packet for processing {"connection_id":131288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a1f"} 
[2026-07-13 11:52:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684330240001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783923463000,"timestamp_ms":1783923463000,"timestamp_seconds":1783923463,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a1fd358"} 
[2026-07-13 11:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684330240001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684330240001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:52:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:52:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684330240001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":131288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:52:12] local.INFO: GPS data processed {"connection_id":131288,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:52:12] local.INFO: Acknowledgment sent {"connection_id":131288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:52:34] local.INFO: TCP Data received {"connection_id":131289,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:52:34] local.INFO: Processing buffer {"connection_id":131289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:52:34] local.INFO: IMEI packet received {"connection_id":131289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":131289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:52:40] local.INFO: TCP Data received {"connection_id":131289,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:52:40] local.INFO: Processing buffer {"connection_id":131289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:52:40] local.INFO: IMEI packet received {"connection_id":131289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":131289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:52:41] local.INFO: TCP Data received {"connection_id":131289,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a1fd358012d7f914005afd938000e011b23..."} 
[2026-07-13 11:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a1fd358012d7f914005afd938000e011b23..."} 
[2026-07-13 11:52:41] local.INFO: Processing buffer {"connection_id":131289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a1fd358012d7f914005afd938000e011b23..."} 
[2026-07-13 11:52:41] local.INFO: Packet analysis {"connection_id":131289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a1f"} 
[2026-07-13 11:52:41] local.INFO: Extracted packet for processing {"connection_id":131289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a1f"} 
[2026-07-13 11:52:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684330240001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783923463000,"timestamp_ms":1783923463000,"timestamp_seconds":1783923463,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a1fd358"} 
[2026-07-13 11:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684330240001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684330240001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:52:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:52:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684330240001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":131289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:52:41] local.INFO: GPS data processed {"connection_id":131289,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:52:41] local.INFO: Acknowledgment sent {"connection_id":131289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:53:12] local.INFO: TCP Data received {"connection_id":131289,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a1fd358012d7f914005afd938000e011b23..."} 
[2026-07-13 11:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a1fd358012d7f914005afd938000e011b23..."} 
[2026-07-13 11:53:12] local.INFO: Processing buffer {"connection_id":131289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a1fd358012d7f914005afd938000e011b23..."} 
[2026-07-13 11:53:12] local.INFO: Packet analysis {"connection_id":131289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a1f"} 
[2026-07-13 11:53:12] local.INFO: Extracted packet for processing {"connection_id":131289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a1f"} 
[2026-07-13 11:53:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684330240001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783923463000,"timestamp_ms":1783923463000,"timestamp_seconds":1783923463,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a1fd358"} 
[2026-07-13 11:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 11:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684330240001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684330240001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:53:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:53:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684330240001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":131289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:53:12] local.INFO: GPS data processed {"connection_id":131289,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:53:12] local.INFO: Acknowledgment sent {"connection_id":131289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:53:40] local.INFO: TCP Data received {"connection_id":132624,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:53:40] local.INFO: Processing buffer {"connection_id":132624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:53:40] local.INFO: IMEI packet received {"connection_id":132624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":132624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:53:45] local.INFO: TCP Data received {"connection_id":132624,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:53:45] local.INFO: Processing buffer {"connection_id":132624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:53:45] local.INFO: IMEI packet received {"connection_id":132624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":132624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:53:46] local.INFO: TCP Data received {"connection_id":132624,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a246b20012d7f914005afd938000e011b21..."} 
[2026-07-13 11:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a246b20012d7f914005afd938000e011b21..."} 
[2026-07-13 11:53:46] local.INFO: Processing buffer {"connection_id":132624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a246b20012d7f914005afd938000e011b21..."} 
[2026-07-13 11:53:46] local.INFO: Packet analysis {"connection_id":132624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a24"} 
[2026-07-13 11:53:46] local.INFO: Extracted packet for processing {"connection_id":132624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a24"} 
[2026-07-13 11:53:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684406528001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783923764000,"timestamp_ms":1783923764000,"timestamp_seconds":1783923764,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a246b20"} 
[2026-07-13 11:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 11:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684406528001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684406528001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:53:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:53:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684406528001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":132624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:53:46] local.INFO: GPS data processed {"connection_id":132624,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:53:46] local.INFO: Acknowledgment sent {"connection_id":132624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:54:17] local.INFO: TCP Data received {"connection_id":132624,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a246b20012d7f914005afd938000e011b21..."} 
[2026-07-13 11:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a246b20012d7f914005afd938000e011b21..."} 
[2026-07-13 11:54:17] local.INFO: Processing buffer {"connection_id":132624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a246b20012d7f914005afd938000e011b21..."} 
[2026-07-13 11:54:17] local.INFO: Packet analysis {"connection_id":132624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a24"} 
[2026-07-13 11:54:17] local.INFO: Extracted packet for processing {"connection_id":132624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a24"} 
[2026-07-13 11:54:17] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11: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-07-13 11:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684406528001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783923764000,"timestamp_ms":1783923764000,"timestamp_seconds":1783923764,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a246b20"} 
[2026-07-13 11:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 11:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11: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-07-13 11:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684406528001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684406528001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:54:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:54:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684406528001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":132624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:54:17] local.INFO: GPS data processed {"connection_id":132624,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:54:17] local.INFO: Acknowledgment sent {"connection_id":132624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:54:35] local.INFO: TCP Data received {"connection_id":130490,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:54:35] local.INFO: Processing buffer {"connection_id":130490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:54:35] local.INFO: IMEI packet received {"connection_id":130490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":130490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:54:40] local.INFO: TCP Data received {"connection_id":130490,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:54:40] local.INFO: Processing buffer {"connection_id":130490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:54:40] local.INFO: IMEI packet received {"connection_id":130490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":130490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:54:41] local.INFO: TCP Data received {"connection_id":130490,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a246b20012d7f914005afd938000e011b21..."} 
[2026-07-13 11:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a246b20012d7f914005afd938000e011b21..."} 
[2026-07-13 11:54:41] local.INFO: Processing buffer {"connection_id":130490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a246b20012d7f914005afd938000e011b21..."} 
[2026-07-13 11:54:41] local.INFO: Packet analysis {"connection_id":130490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a24"} 
[2026-07-13 11:54:41] local.INFO: Extracted packet for processing {"connection_id":130490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a24"} 
[2026-07-13 11:54:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684406528001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783923764000,"timestamp_ms":1783923764000,"timestamp_seconds":1783923764,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a246b20"} 
[2026-07-13 11:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 11:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684406528001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684406528001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:54:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:54:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684406528001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":130490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:54:41] local.INFO: GPS data processed {"connection_id":130490,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:54:41] local.INFO: Acknowledgment sent {"connection_id":130490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:55:12] local.INFO: TCP Data received {"connection_id":130490,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a246b20012d7f914005afd938000e011b21..."} 
[2026-07-13 11:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a246b20012d7f914005afd938000e011b21..."} 
[2026-07-13 11:55:12] local.INFO: Processing buffer {"connection_id":130490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a246b20012d7f914005afd938000e011b21..."} 
[2026-07-13 11:55:12] local.INFO: Packet analysis {"connection_id":130490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a24"} 
[2026-07-13 11:55:12] local.INFO: Extracted packet for processing {"connection_id":130490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a24"} 
[2026-07-13 11:55:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684406528001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783923764000,"timestamp_ms":1783923764000,"timestamp_seconds":1783923764,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a246b20"} 
[2026-07-13 11:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 11:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684406528001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684406528001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:55:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:55:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684406528001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":130490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:55:12] local.INFO: GPS data processed {"connection_id":130490,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:55:12] local.INFO: Acknowledgment sent {"connection_id":130490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:55:34] local.INFO: TCP Data received {"connection_id":130278,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:55:34] local.INFO: Processing buffer {"connection_id":130278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:55:34] local.INFO: IMEI packet received {"connection_id":130278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":130278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:55:40] local.INFO: TCP Data received {"connection_id":130278,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:55:40] local.INFO: Processing buffer {"connection_id":130278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:55:40] local.INFO: IMEI packet received {"connection_id":130278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":130278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:55:40] local.INFO: TCP Data received {"connection_id":130278,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a246b20012d7f914005afd938000e011b21..."} 
[2026-07-13 11:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a246b20012d7f914005afd938000e011b21..."} 
[2026-07-13 11:55:40] local.INFO: Processing buffer {"connection_id":130278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a246b20012d7f914005afd938000e011b21..."} 
[2026-07-13 11:55:40] local.INFO: Packet analysis {"connection_id":130278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a24"} 
[2026-07-13 11:55:40] local.INFO: Extracted packet for processing {"connection_id":130278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a24"} 
[2026-07-13 11:55:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684406528001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783923764000,"timestamp_ms":1783923764000,"timestamp_seconds":1783923764,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a246b20"} 
[2026-07-13 11:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:55: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-07-13 11:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 11:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684406528001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684406528001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:55:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:55:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684406528001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":130278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:55:41] local.INFO: GPS data processed {"connection_id":130278,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:55:41] local.INFO: Acknowledgment sent {"connection_id":130278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:56:06] local.INFO: TCP Data received {"connection_id":131292,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131292,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:56:06] local.INFO: Processing buffer {"connection_id":131292,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:56:06] local.INFO: IMEI packet received {"connection_id":131292,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 11:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":131292,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:56:12] local.INFO: TCP Data received {"connection_id":130278,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a246b20012d7f914005afd938000e011b21..."} 
[2026-07-13 11:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a246b20012d7f914005afd938000e011b21..."} 
[2026-07-13 11:56:12] local.INFO: Processing buffer {"connection_id":130278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a246b20012d7f914005afd938000e011b21..."} 
[2026-07-13 11:56:12] local.INFO: Packet analysis {"connection_id":130278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a24"} 
[2026-07-13 11:56:12] local.INFO: Extracted packet for processing {"connection_id":130278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a24"} 
[2026-07-13 11:56:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684406528001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783923764000,"timestamp_ms":1783923764000,"timestamp_seconds":1783923764,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a246b20"} 
[2026-07-13 11:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 11:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684406528001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684406528001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:56:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:56:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684406528001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":130278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:56:12] local.INFO: GPS data processed {"connection_id":130278,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:56:12] local.INFO: Acknowledgment sent {"connection_id":130278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:56:34] local.INFO: TCP Data received {"connection_id":131293,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:56:34] local.INFO: Processing buffer {"connection_id":131293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:56:34] local.INFO: IMEI packet received {"connection_id":131293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":131293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:56:41] local.INFO: TCP Data received {"connection_id":131293,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:56:41] local.INFO: Processing buffer {"connection_id":131293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:56:41] local.INFO: IMEI packet received {"connection_id":131293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":131293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:56:42] local.INFO: TCP Data received {"connection_id":131293,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a246b20012d7f914005afd938000e011b21..."} 
[2026-07-13 11:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a246b20012d7f914005afd938000e011b21..."} 
[2026-07-13 11:56:42] local.INFO: Processing buffer {"connection_id":131293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a246b20012d7f914005afd938000e011b21..."} 
[2026-07-13 11:56:42] local.INFO: Packet analysis {"connection_id":131293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a24"} 
[2026-07-13 11:56:42] local.INFO: Extracted packet for processing {"connection_id":131293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a24"} 
[2026-07-13 11:56:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684406528001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783923764000,"timestamp_ms":1783923764000,"timestamp_seconds":1783923764,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a246b20"} 
[2026-07-13 11:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 11:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":131293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":131293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":131293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684406528001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684406528001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:56:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:56:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684406528001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":131293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:56:42] local.INFO: GPS data processed {"connection_id":131293,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:56:42] local.INFO: Acknowledgment sent {"connection_id":131293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:57:13] local.INFO: TCP Data received {"connection_id":131293,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a246b20012d7f914005afd938000e011b21..."} 
[2026-07-13 11:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a246b20012d7f914005afd938000e011b21..."} 
[2026-07-13 11:57:13] local.INFO: Processing buffer {"connection_id":131293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a246b20012d7f914005afd938000e011b21..."} 
[2026-07-13 11:57:13] local.INFO: Packet analysis {"connection_id":131293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a24"} 
[2026-07-13 11:57:13] local.INFO: Extracted packet for processing {"connection_id":131293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a24"} 
[2026-07-13 11:57:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684406528001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783923764000,"timestamp_ms":1783923764000,"timestamp_seconds":1783923764,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a246b20"} 
[2026-07-13 11:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 11:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684406528001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684406528001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:57:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:57:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684406528001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":131293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:57:13] local.INFO: GPS data processed {"connection_id":131293,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:57:13] local.INFO: Acknowledgment sent {"connection_id":131293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:57:28] local.INFO: TCP Data received {"connection_id":130279,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130279,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:57:28] local.INFO: Processing buffer {"connection_id":130279,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:57:28] local.INFO: IMEI packet received {"connection_id":130279,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 11:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":130279,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:57:34] local.INFO: TCP Data received {"connection_id":130491,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:57:34] local.INFO: Processing buffer {"connection_id":130491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:57:34] local.INFO: IMEI packet received {"connection_id":130491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":130491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:57:40] local.INFO: TCP Data received {"connection_id":130491,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:57:40] local.INFO: Processing buffer {"connection_id":130491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:57:40] local.INFO: IMEI packet received {"connection_id":130491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":130491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:57:41] local.INFO: TCP Data received {"connection_id":130491,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a246b20012d7f914005afd938000e011b21..."} 
[2026-07-13 11:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a246b20012d7f914005afd938000e011b21..."} 
[2026-07-13 11:57:41] local.INFO: Processing buffer {"connection_id":130491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a246b20012d7f914005afd938000e011b21..."} 
[2026-07-13 11:57:41] local.INFO: Packet analysis {"connection_id":130491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a24"} 
[2026-07-13 11:57:41] local.INFO: Extracted packet for processing {"connection_id":130491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a24"} 
[2026-07-13 11:57:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 11:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684406528001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783923764000,"timestamp_ms":1783923764000,"timestamp_seconds":1783923764,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a246b20"} 
[2026-07-13 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-07-13 11:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 11:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 11:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684406528001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684406528001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:57:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:57:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684406528001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":130491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:57:41] local.INFO: GPS data processed {"connection_id":130491,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:57:41] local.INFO: Acknowledgment sent {"connection_id":130491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:58:11] local.INFO: TCP Data received {"connection_id":130491,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a246b20012d7f914005afd938000e011b21..."} 
[2026-07-13 11:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a246b20012d7f914005afd938000e011b21..."} 
[2026-07-13 11:58:11] local.INFO: Processing buffer {"connection_id":130491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a246b20012d7f914005afd938000e011b21..."} 
[2026-07-13 11:58:11] local.INFO: Packet analysis {"connection_id":130491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a24"} 
[2026-07-13 11:58:11] local.INFO: Extracted packet for processing {"connection_id":130491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a24"} 
[2026-07-13 11:58:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684406528001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783923764000,"timestamp_ms":1783923764000,"timestamp_seconds":1783923764,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a246b20"} 
[2026-07-13 11:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 11:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684406528001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684406528001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:58:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:58:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684406528001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":130491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:58:12] local.INFO: GPS data processed {"connection_id":130491,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:58:12] local.INFO: Acknowledgment sent {"connection_id":130491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:58:40] local.INFO: TCP Data received {"connection_id":130280,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:58:40] local.INFO: Processing buffer {"connection_id":130280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:58:40] local.INFO: IMEI packet received {"connection_id":130280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":130280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:58:45] local.INFO: TCP Data received {"connection_id":130280,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:58:45] local.INFO: Processing buffer {"connection_id":130280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:58:45] local.INFO: IMEI packet received {"connection_id":130280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":130280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:58:46] local.INFO: TCP Data received {"connection_id":130280,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a2902e8012d7f914005afd938000f011b23..."} 
[2026-07-13 11:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a2902e8012d7f914005afd938000f011b23..."} 
[2026-07-13 11:58:46] local.INFO: Processing buffer {"connection_id":130280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a2902e8012d7f914005afd938000f011b23..."} 
[2026-07-13 11:58:46] local.INFO: Packet analysis {"connection_id":130280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a29"} 
[2026-07-13 11:58:46] local.INFO: Extracted packet for processing {"connection_id":130280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a29"} 
[2026-07-13 11:58:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684483584001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783924065000,"timestamp_ms":1783924065000,"timestamp_seconds":1783924065,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a2902e8"} 
[2026-07-13 11:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 11:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684483584001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684483584001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:58:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:58:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684483584001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":130280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:58:46] local.INFO: GPS data processed {"connection_id":130280,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:58:46] local.INFO: Acknowledgment sent {"connection_id":130280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:58:50] local.INFO: TCP Data received {"connection_id":130280,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a2902e8012d7f914005afd938000f011b23..."} 
[2026-07-13 11:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a2902e8012d7f914005afd938000f011b23..."} 
[2026-07-13 11:58:50] local.INFO: Processing buffer {"connection_id":130280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a2902e8012d7f914005afd938000f011b23..."} 
[2026-07-13 11:58:50] local.INFO: Packet analysis {"connection_id":130280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a29"} 
[2026-07-13 11:58:50] local.INFO: Extracted packet for processing {"connection_id":130280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a29"} 
[2026-07-13 11:58:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684483584001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783924065000,"timestamp_ms":1783924065000,"timestamp_seconds":1783924065,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a2902e8"} 
[2026-07-13 11:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 11:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:58: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-07-13 11:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684483584001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684483584001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:58:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:58:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684483584001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":130280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:58:50] local.INFO: GPS data processed {"connection_id":130280,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:58:50] local.INFO: Acknowledgment sent {"connection_id":130280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 11:59:00] local.INFO: TCP Data received {"connection_id":131294,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131294,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:59:00] local.INFO: Processing buffer {"connection_id":131294,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 11:59:00] local.INFO: IMEI packet received {"connection_id":131294,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 11:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":131294,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:59:34] local.INFO: TCP Data received {"connection_id":131295,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:59:34] local.INFO: Processing buffer {"connection_id":131295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:59:34] local.INFO: IMEI packet received {"connection_id":131295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 11:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":131295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 11:59:40] local.INFO: TCP Data received {"connection_id":131295,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:59:40] local.INFO: Processing buffer {"connection_id":131295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 11:59:40] local.INFO: IMEI packet received {"connection_id":131295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 11:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":131295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 11:59:41] local.INFO: TCP Data received {"connection_id":131295,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a2902e8012d7f914005afd938000f011b23..."} 
[2026-07-13 11:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a2902e8012d7f914005afd938000f011b23..."} 
[2026-07-13 11:59:41] local.INFO: Processing buffer {"connection_id":131295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a2902e8012d7f914005afd938000f011b23..."} 
[2026-07-13 11:59:41] local.INFO: Packet analysis {"connection_id":131295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a29"} 
[2026-07-13 11:59:41] local.INFO: Extracted packet for processing {"connection_id":131295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a29"} 
[2026-07-13 11:59:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 11:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 11:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684483584001,"note":"Value kept but may cause issues"} 
[2026-07-13 11:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 11:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 11:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 11:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783924065000,"timestamp_ms":1783924065000,"timestamp_seconds":1783924065,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a2902e8"} 
[2026-07-13 11:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 11:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 11:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 11:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 11:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 11:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 11:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 11:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 11:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 11:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 11:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 11:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 11:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684483584001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 11:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 11:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 11:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684483584001,"description":"Unknown IO ID 0"} 
[2026-07-13 11:59:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 11:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 11:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 11:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 11:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684483584001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 11:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":131295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 11:59:41] local.INFO: GPS data processed {"connection_id":131295,"processed":1,"errors":0,"total":1} 
[2026-07-13 11:59:41] local.INFO: Acknowledgment sent {"connection_id":131295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:00:12] local.INFO: TCP Data received {"connection_id":131295,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a2902e8012d7f914005afd938000f011b23..."} 
[2026-07-13 12:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a2902e8012d7f914005afd938000f011b23..."} 
[2026-07-13 12:00:12] local.INFO: Processing buffer {"connection_id":131295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a2902e8012d7f914005afd938000f011b23..."} 
[2026-07-13 12:00:12] local.INFO: Packet analysis {"connection_id":131295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a29"} 
[2026-07-13 12:00:12] local.INFO: Extracted packet for processing {"connection_id":131295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a29"} 
[2026-07-13 12:00:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684483584001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783924065000,"timestamp_ms":1783924065000,"timestamp_seconds":1783924065,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a2902e8"} 
[2026-07-13 12:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 12:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684483584001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684483584001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:00:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:00:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684483584001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":131295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:00:12] local.INFO: GPS data processed {"connection_id":131295,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:00:12] local.INFO: Acknowledgment sent {"connection_id":131295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:00:35] local.INFO: TCP Data received {"connection_id":130281,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:00:35] local.INFO: Processing buffer {"connection_id":130281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:00:35] local.INFO: IMEI packet received {"connection_id":130281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":130281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:00:40] local.INFO: TCP Data received {"connection_id":130281,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:00:40] local.INFO: Processing buffer {"connection_id":130281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:00:40] local.INFO: IMEI packet received {"connection_id":130281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":130281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:00:41] local.INFO: TCP Data received {"connection_id":130281,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a2902e8012d7f914005afd938000f011b23..."} 
[2026-07-13 12:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a2902e8012d7f914005afd938000f011b23..."} 
[2026-07-13 12:00:41] local.INFO: Processing buffer {"connection_id":130281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a2902e8012d7f914005afd938000f011b23..."} 
[2026-07-13 12:00:41] local.INFO: Packet analysis {"connection_id":130281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a29"} 
[2026-07-13 12:00:41] local.INFO: Extracted packet for processing {"connection_id":130281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a29"} 
[2026-07-13 12:00:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684483584001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783924065000,"timestamp_ms":1783924065000,"timestamp_seconds":1783924065,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a2902e8"} 
[2026-07-13 12:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 12:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684483584001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684483584001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:00:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:00:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684483584001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":130281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:00:41] local.INFO: GPS data processed {"connection_id":130281,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:00:41] local.INFO: Acknowledgment sent {"connection_id":130281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:01:12] local.INFO: TCP Data received {"connection_id":130281,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a2902e8012d7f914005afd938000f011b23..."} 
[2026-07-13 12:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a2902e8012d7f914005afd938000f011b23..."} 
[2026-07-13 12:01:12] local.INFO: Processing buffer {"connection_id":130281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a2902e8012d7f914005afd938000f011b23..."} 
[2026-07-13 12:01:12] local.INFO: Packet analysis {"connection_id":130281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a29"} 
[2026-07-13 12:01:12] local.INFO: Extracted packet for processing {"connection_id":130281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a29"} 
[2026-07-13 12:01:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684483584001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783924065000,"timestamp_ms":1783924065000,"timestamp_seconds":1783924065,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a2902e8"} 
[2026-07-13 12:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 12:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684483584001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684483584001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:01:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:01:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684483584001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":130281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:01:12] local.INFO: GPS data processed {"connection_id":130281,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:01:12] local.INFO: Acknowledgment sent {"connection_id":130281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:01:34] local.INFO: TCP Data received {"connection_id":132627,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:01:34] local.INFO: Processing buffer {"connection_id":132627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:01:34] local.INFO: IMEI packet received {"connection_id":132627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":132627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:01:40] local.INFO: TCP Data received {"connection_id":132627,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:01:40] local.INFO: Processing buffer {"connection_id":132627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:01:40] local.INFO: IMEI packet received {"connection_id":132627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":132627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:01:40] local.INFO: TCP Data received {"connection_id":132627,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a2902e8012d7f914005afd938000f011b23..."} 
[2026-07-13 12:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a2902e8012d7f914005afd938000f011b23..."} 
[2026-07-13 12:01:40] local.INFO: Processing buffer {"connection_id":132627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a2902e8012d7f914005afd938000f011b23..."} 
[2026-07-13 12:01:40] local.INFO: Packet analysis {"connection_id":132627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a29"} 
[2026-07-13 12:01:40] local.INFO: Extracted packet for processing {"connection_id":132627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a29"} 
[2026-07-13 12:01:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684483584001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783924065000,"timestamp_ms":1783924065000,"timestamp_seconds":1783924065,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a2902e8"} 
[2026-07-13 12:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:01: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-07-13 12:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 12:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684483584001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684483584001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:01:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:01:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684483584001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":132627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:01:40] local.INFO: GPS data processed {"connection_id":132627,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:01:40] local.INFO: Acknowledgment sent {"connection_id":132627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:02:12] local.INFO: TCP Data received {"connection_id":132627,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a2902e8012d7f914005afd938000f011b23..."} 
[2026-07-13 12:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a2902e8012d7f914005afd938000f011b23..."} 
[2026-07-13 12:02:12] local.INFO: Processing buffer {"connection_id":132627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a2902e8012d7f914005afd938000f011b23..."} 
[2026-07-13 12:02:12] local.INFO: Packet analysis {"connection_id":132627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a29"} 
[2026-07-13 12:02:12] local.INFO: Extracted packet for processing {"connection_id":132627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a29"} 
[2026-07-13 12:02:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684483584001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783924065000,"timestamp_ms":1783924065000,"timestamp_seconds":1783924065,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a2902e8"} 
[2026-07-13 12:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 12:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684483584001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684483584001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:02:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:02:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684483584001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":132627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:02:12] local.INFO: GPS data processed {"connection_id":132627,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:02:12] local.INFO: Acknowledgment sent {"connection_id":132627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:02:34] local.INFO: TCP Data received {"connection_id":130493,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:02:34] local.INFO: Processing buffer {"connection_id":130493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:02:34] local.INFO: IMEI packet received {"connection_id":130493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":130493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:02:40] local.INFO: TCP Data received {"connection_id":130493,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:02:40] local.INFO: Processing buffer {"connection_id":130493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:02:40] local.INFO: IMEI packet received {"connection_id":130493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":130493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:02:40] local.INFO: TCP Data received {"connection_id":130493,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a2902e8012d7f914005afd938000f011b23..."} 
[2026-07-13 12:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a2902e8012d7f914005afd938000f011b23..."} 
[2026-07-13 12:02:40] local.INFO: Processing buffer {"connection_id":130493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a2902e8012d7f914005afd938000f011b23..."} 
[2026-07-13 12:02:40] local.INFO: Packet analysis {"connection_id":130493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a29"} 
[2026-07-13 12:02:40] local.INFO: Extracted packet for processing {"connection_id":130493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a29"} 
[2026-07-13 12:02:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684483584001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783924065000,"timestamp_ms":1783924065000,"timestamp_seconds":1783924065,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a2902e8"} 
[2026-07-13 12:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:02: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-07-13 12:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 12:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684483584001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684483584001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:02:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:02:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684483584001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":130493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:02:41] local.INFO: GPS data processed {"connection_id":130493,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:02:41] local.INFO: Acknowledgment sent {"connection_id":130493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:03:12] local.INFO: TCP Data received {"connection_id":130493,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a2902e8012d7f914005afd938000f011b23..."} 
[2026-07-13 12:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a2902e8012d7f914005afd938000f011b23..."} 
[2026-07-13 12:03:12] local.INFO: Processing buffer {"connection_id":130493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a2902e8012d7f914005afd938000f011b23..."} 
[2026-07-13 12:03:12] local.INFO: Packet analysis {"connection_id":130493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a29"} 
[2026-07-13 12:03:12] local.INFO: Extracted packet for processing {"connection_id":130493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a29"} 
[2026-07-13 12:03:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684483584001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783924065000,"timestamp_ms":1783924065000,"timestamp_seconds":1783924065,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a2902e8"} 
[2026-07-13 12:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 12:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684483584001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684483584001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:03:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:03:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684483584001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":130493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:03:12] local.INFO: GPS data processed {"connection_id":130493,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:03:12] local.INFO: Acknowledgment sent {"connection_id":130493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:03:40] local.INFO: TCP Data received {"connection_id":130494,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:03:40] local.INFO: Processing buffer {"connection_id":130494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:03:40] local.INFO: IMEI packet received {"connection_id":130494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":130494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:03:45] local.INFO: TCP Data received {"connection_id":130494,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:03:45] local.INFO: Processing buffer {"connection_id":130494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:03:45] local.INFO: IMEI packet received {"connection_id":130494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":130494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:03:46] local.INFO: TCP Data received {"connection_id":130494,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a2d9ab0012d7f914005afd938000e011b24..."} 
[2026-07-13 12:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a2d9ab0012d7f914005afd938000e011b24..."} 
[2026-07-13 12:03:46] local.INFO: Processing buffer {"connection_id":130494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a2d9ab0012d7f914005afd938000e011b24..."} 
[2026-07-13 12:03:46] local.INFO: Packet analysis {"connection_id":130494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a2d"} 
[2026-07-13 12:03:46] local.INFO: Extracted packet for processing {"connection_id":130494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a2d"} 
[2026-07-13 12:03:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684560640001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783924366000,"timestamp_ms":1783924366000,"timestamp_seconds":1783924366,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a2d9ab0"} 
[2026-07-13 12:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 12:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684560640001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684560640001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:03:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:03:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684560640001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":130494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:03:46] local.INFO: GPS data processed {"connection_id":130494,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:03:46] local.INFO: Acknowledgment sent {"connection_id":130494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:03:50] local.INFO: TCP Data received {"connection_id":130494,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a2d9ab0012d7f914005afd938000e011b24..."} 
[2026-07-13 12:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a2d9ab0012d7f914005afd938000e011b24..."} 
[2026-07-13 12:03:50] local.INFO: Processing buffer {"connection_id":130494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a2d9ab0012d7f914005afd938000e011b24..."} 
[2026-07-13 12:03:50] local.INFO: Packet analysis {"connection_id":130494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a2d"} 
[2026-07-13 12:03:50] local.INFO: Extracted packet for processing {"connection_id":130494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a2d"} 
[2026-07-13 12:03:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12: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-07-13 12:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684560640001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783924366000,"timestamp_ms":1783924366000,"timestamp_seconds":1783924366,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a2d9ab0"} 
[2026-07-13 12:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 12:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12: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-07-13 12:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:03: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-07-13 12:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684560640001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684560640001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:03:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:03:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684560640001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":130494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:03:50] local.INFO: GPS data processed {"connection_id":130494,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:03:50] local.INFO: Acknowledgment sent {"connection_id":130494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:04:23] local.INFO: TCP Data received {"connection_id":132630,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132630,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:04:23] local.INFO: Processing buffer {"connection_id":132630,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:04:23] local.INFO: IMEI packet received {"connection_id":132630,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 12:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":132630,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:04:35] local.INFO: TCP Data received {"connection_id":130283,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:04:35] local.INFO: Processing buffer {"connection_id":130283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:04:35] local.INFO: IMEI packet received {"connection_id":130283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":130283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:04:40] local.INFO: TCP Data received {"connection_id":130283,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:04:40] local.INFO: Processing buffer {"connection_id":130283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:04:40] local.INFO: IMEI packet received {"connection_id":130283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":130283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:04:41] local.INFO: TCP Data received {"connection_id":130283,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a2d9ab0012d7f914005afd938000e011b24..."} 
[2026-07-13 12:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a2d9ab0012d7f914005afd938000e011b24..."} 
[2026-07-13 12:04:41] local.INFO: Processing buffer {"connection_id":130283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a2d9ab0012d7f914005afd938000e011b24..."} 
[2026-07-13 12:04:41] local.INFO: Packet analysis {"connection_id":130283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a2d"} 
[2026-07-13 12:04:41] local.INFO: Extracted packet for processing {"connection_id":130283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a2d"} 
[2026-07-13 12:04:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 12:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684560640001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783924366000,"timestamp_ms":1783924366000,"timestamp_seconds":1783924366,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a2d9ab0"} 
[2026-07-13 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-07-13 12:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 12:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 12:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684560640001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684560640001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:04:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684560640001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":130283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:04:41] local.INFO: GPS data processed {"connection_id":130283,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:04:41] local.INFO: Acknowledgment sent {"connection_id":130283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:04:45] local.INFO: TCP Data received {"connection_id":130284,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130284,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:04:45] local.INFO: Processing buffer {"connection_id":130284,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:04:45] local.INFO: IMEI packet received {"connection_id":130284,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 12:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":130284,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:05:12] local.INFO: TCP Data received {"connection_id":130283,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a2d9ab0012d7f914005afd938000e011b24..."} 
[2026-07-13 12:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a2d9ab0012d7f914005afd938000e011b24..."} 
[2026-07-13 12:05:12] local.INFO: Processing buffer {"connection_id":130283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a2d9ab0012d7f914005afd938000e011b24..."} 
[2026-07-13 12:05:12] local.INFO: Packet analysis {"connection_id":130283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a2d"} 
[2026-07-13 12:05:12] local.INFO: Extracted packet for processing {"connection_id":130283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a2d"} 
[2026-07-13 12:05:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684560640001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783924366000,"timestamp_ms":1783924366000,"timestamp_seconds":1783924366,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a2d9ab0"} 
[2026-07-13 12:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 12:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684560640001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684560640001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:05:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:05:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684560640001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":130283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:05:12] local.INFO: GPS data processed {"connection_id":130283,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:05:12] local.INFO: Acknowledgment sent {"connection_id":130283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:05:34] local.INFO: TCP Data received {"connection_id":130495,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:05:34] local.INFO: Processing buffer {"connection_id":130495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:05:34] local.INFO: IMEI packet received {"connection_id":130495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":130495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:05:40] local.INFO: TCP Data received {"connection_id":130495,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:05:40] local.INFO: Processing buffer {"connection_id":130495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:05:40] local.INFO: IMEI packet received {"connection_id":130495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":130495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:05:41] local.INFO: TCP Data received {"connection_id":130495,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a2d9ab0012d7f914005afd938000e011b24..."} 
[2026-07-13 12:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a2d9ab0012d7f914005afd938000e011b24..."} 
[2026-07-13 12:05:41] local.INFO: Processing buffer {"connection_id":130495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a2d9ab0012d7f914005afd938000e011b24..."} 
[2026-07-13 12:05:41] local.INFO: Packet analysis {"connection_id":130495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a2d"} 
[2026-07-13 12:05:41] local.INFO: Extracted packet for processing {"connection_id":130495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a2d"} 
[2026-07-13 12:05:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684560640001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783924366000,"timestamp_ms":1783924366000,"timestamp_seconds":1783924366,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a2d9ab0"} 
[2026-07-13 12:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 12:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684560640001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684560640001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:05:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:05:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684560640001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":130495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:05:41] local.INFO: GPS data processed {"connection_id":130495,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:05:41] local.INFO: Acknowledgment sent {"connection_id":130495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:06:12] local.INFO: TCP Data received {"connection_id":130495,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a2d9ab0012d7f914005afd938000e011b24..."} 
[2026-07-13 12:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a2d9ab0012d7f914005afd938000e011b24..."} 
[2026-07-13 12:06:12] local.INFO: Processing buffer {"connection_id":130495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a2d9ab0012d7f914005afd938000e011b24..."} 
[2026-07-13 12:06:12] local.INFO: Packet analysis {"connection_id":130495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a2d"} 
[2026-07-13 12:06:12] local.INFO: Extracted packet for processing {"connection_id":130495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a2d"} 
[2026-07-13 12:06:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684560640001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783924366000,"timestamp_ms":1783924366000,"timestamp_seconds":1783924366,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a2d9ab0"} 
[2026-07-13 12:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 12:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684560640001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684560640001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:06:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:06:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684560640001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":130495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:06:12] local.INFO: GPS data processed {"connection_id":130495,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:06:12] local.INFO: Acknowledgment sent {"connection_id":130495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:06:35] local.INFO: TCP Data received {"connection_id":131297,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:06:35] local.INFO: Processing buffer {"connection_id":131297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:06:35] local.INFO: IMEI packet received {"connection_id":131297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":131297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:06:40] local.INFO: TCP Data received {"connection_id":131297,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:06:40] local.INFO: Processing buffer {"connection_id":131297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:06:40] local.INFO: IMEI packet received {"connection_id":131297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":131297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:06:41] local.INFO: TCP Data received {"connection_id":131297,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a2d9ab0012d7f914005afd938000e011b24..."} 
[2026-07-13 12:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a2d9ab0012d7f914005afd938000e011b24..."} 
[2026-07-13 12:06:41] local.INFO: Processing buffer {"connection_id":131297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a2d9ab0012d7f914005afd938000e011b24..."} 
[2026-07-13 12:06:41] local.INFO: Packet analysis {"connection_id":131297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a2d"} 
[2026-07-13 12:06:41] local.INFO: Extracted packet for processing {"connection_id":131297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a2d"} 
[2026-07-13 12:06:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684560640001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783924366000,"timestamp_ms":1783924366000,"timestamp_seconds":1783924366,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a2d9ab0"} 
[2026-07-13 12:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 12:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684560640001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684560640001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:06:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:06:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684560640001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":131297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:06:41] local.INFO: GPS data processed {"connection_id":131297,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:06:41] local.INFO: Acknowledgment sent {"connection_id":131297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:07:12] local.INFO: TCP Data received {"connection_id":131297,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a2d9ab0012d7f914005afd938000e011b24..."} 
[2026-07-13 12:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a2d9ab0012d7f914005afd938000e011b24..."} 
[2026-07-13 12:07:12] local.INFO: Processing buffer {"connection_id":131297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a2d9ab0012d7f914005afd938000e011b24..."} 
[2026-07-13 12:07:12] local.INFO: Packet analysis {"connection_id":131297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a2d"} 
[2026-07-13 12:07:12] local.INFO: Extracted packet for processing {"connection_id":131297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a2d"} 
[2026-07-13 12:07:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684560640001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783924366000,"timestamp_ms":1783924366000,"timestamp_seconds":1783924366,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a2d9ab0"} 
[2026-07-13 12:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 12:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684560640001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684560640001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:07:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:07:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684560640001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":131297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:07:12] local.INFO: GPS data processed {"connection_id":131297,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:07:12] local.INFO: Acknowledgment sent {"connection_id":131297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:07:34] local.INFO: TCP Data received {"connection_id":130285,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:07:34] local.INFO: Processing buffer {"connection_id":130285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:07:34] local.INFO: IMEI packet received {"connection_id":130285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":130285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:07:40] local.INFO: TCP Data received {"connection_id":130285,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:07:40] local.INFO: Processing buffer {"connection_id":130285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:07:40] local.INFO: IMEI packet received {"connection_id":130285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":130285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:07:40] local.INFO: TCP Data received {"connection_id":130285,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a2d9ab0012d7f914005afd938000e011b24..."} 
[2026-07-13 12:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a2d9ab0012d7f914005afd938000e011b24..."} 
[2026-07-13 12:07:40] local.INFO: Processing buffer {"connection_id":130285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a2d9ab0012d7f914005afd938000e011b24..."} 
[2026-07-13 12:07:40] local.INFO: Packet analysis {"connection_id":130285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a2d"} 
[2026-07-13 12:07:40] local.INFO: Extracted packet for processing {"connection_id":130285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a2d"} 
[2026-07-13 12:07:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684560640001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783924366000,"timestamp_ms":1783924366000,"timestamp_seconds":1783924366,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a2d9ab0"} 
[2026-07-13 12:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:07: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-07-13 12:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 12:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684560640001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684560640001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:07:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:07:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684560640001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":130285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:07:40] local.INFO: GPS data processed {"connection_id":130285,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:07:40] local.INFO: Acknowledgment sent {"connection_id":130285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:08:11] local.INFO: TCP Data received {"connection_id":130285,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a2d9ab0012d7f914005afd938000e011b24..."} 
[2026-07-13 12:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a2d9ab0012d7f914005afd938000e011b24..."} 
[2026-07-13 12:08:11] local.INFO: Processing buffer {"connection_id":130285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a2d9ab0012d7f914005afd938000e011b24..."} 
[2026-07-13 12:08:11] local.INFO: Packet analysis {"connection_id":130285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a2d"} 
[2026-07-13 12:08:11] local.INFO: Extracted packet for processing {"connection_id":130285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a2d"} 
[2026-07-13 12:08:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684560640001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783924366000,"timestamp_ms":1783924366000,"timestamp_seconds":1783924366,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a2d9ab0"} 
[2026-07-13 12:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 12:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684560640001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684560640001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:08:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:08:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684560640001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":130285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:08:11] local.INFO: GPS data processed {"connection_id":130285,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:08:11] local.INFO: Acknowledgment sent {"connection_id":130285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:08:40] local.INFO: TCP Data received {"connection_id":131299,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:08:40] local.INFO: Processing buffer {"connection_id":131299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:08:40] local.INFO: IMEI packet received {"connection_id":131299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":131299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:08:45] local.INFO: TCP Data received {"connection_id":131299,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:08:45] local.INFO: Processing buffer {"connection_id":131299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:08:45] local.INFO: IMEI packet received {"connection_id":131299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":131299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:08:45] local.INFO: TCP Data received {"connection_id":131299,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a323278012d7f914005afd938000d011b22..."} 
[2026-07-13 12:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a323278012d7f914005afd938000d011b22..."} 
[2026-07-13 12:08:45] local.INFO: Processing buffer {"connection_id":131299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a323278012d7f914005afd938000d011b22..."} 
[2026-07-13 12:08:45] local.INFO: Packet analysis {"connection_id":131299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a32"} 
[2026-07-13 12:08:45] local.INFO: Extracted packet for processing {"connection_id":131299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a32"} 
[2026-07-13 12:08:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684637696001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783924667000,"timestamp_ms":1783924667000,"timestamp_seconds":1783924667,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a323278"} 
[2026-07-13 12:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 12:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684637696001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684637696001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:08:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:08:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684637696001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":131299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:08:45] local.INFO: GPS data processed {"connection_id":131299,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:08:45] local.INFO: Acknowledgment sent {"connection_id":131299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:09:17] local.INFO: TCP Data received {"connection_id":131299,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a323278012d7f914005afd938000d011b22..."} 
[2026-07-13 12:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a323278012d7f914005afd938000d011b22..."} 
[2026-07-13 12:09:17] local.INFO: Processing buffer {"connection_id":131299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a323278012d7f914005afd938000d011b22..."} 
[2026-07-13 12:09:17] local.INFO: Packet analysis {"connection_id":131299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a32"} 
[2026-07-13 12:09:17] local.INFO: Extracted packet for processing {"connection_id":131299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a32"} 
[2026-07-13 12:09:17] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684637696001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783924667000,"timestamp_ms":1783924667000,"timestamp_seconds":1783924667,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a323278"} 
[2026-07-13 12:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 12:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684637696001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684637696001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:09:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:09:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684637696001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":131299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:09:17] local.INFO: GPS data processed {"connection_id":131299,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:09:17] local.INFO: Acknowledgment sent {"connection_id":131299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:09:34] local.INFO: TCP Data received {"connection_id":130496,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:09:34] local.INFO: Processing buffer {"connection_id":130496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:09:34] local.INFO: IMEI packet received {"connection_id":130496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":130496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:09:40] local.INFO: TCP Data received {"connection_id":130496,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:09:40] local.INFO: Processing buffer {"connection_id":130496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:09:40] local.INFO: IMEI packet received {"connection_id":130496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":130496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:09:41] local.INFO: TCP Data received {"connection_id":130496,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a323278012d7f914005afd938000d011b22..."} 
[2026-07-13 12:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a323278012d7f914005afd938000d011b22..."} 
[2026-07-13 12:09:41] local.INFO: Processing buffer {"connection_id":130496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a323278012d7f914005afd938000d011b22..."} 
[2026-07-13 12:09:41] local.INFO: Packet analysis {"connection_id":130496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a32"} 
[2026-07-13 12:09:41] local.INFO: Extracted packet for processing {"connection_id":130496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a32"} 
[2026-07-13 12:09:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684637696001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783924667000,"timestamp_ms":1783924667000,"timestamp_seconds":1783924667,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a323278"} 
[2026-07-13 12:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 12:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684637696001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684637696001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:09:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684637696001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":130496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:09:41] local.INFO: GPS data processed {"connection_id":130496,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:09:41] local.INFO: Acknowledgment sent {"connection_id":130496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:10:10] local.INFO: TCP Data received {"connection_id":132631,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132631,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:10:10] local.INFO: Processing buffer {"connection_id":132631,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:10:10] local.INFO: IMEI packet received {"connection_id":132631,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 12:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":132631,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:10:12] local.INFO: TCP Data received {"connection_id":130496,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a323278012d7f914005afd938000d011b22..."} 
[2026-07-13 12:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a323278012d7f914005afd938000d011b22..."} 
[2026-07-13 12:10:12] local.INFO: Processing buffer {"connection_id":130496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a323278012d7f914005afd938000d011b22..."} 
[2026-07-13 12:10:12] local.INFO: Packet analysis {"connection_id":130496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a32"} 
[2026-07-13 12:10:12] local.INFO: Extracted packet for processing {"connection_id":130496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a32"} 
[2026-07-13 12:10:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684637696001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783924667000,"timestamp_ms":1783924667000,"timestamp_seconds":1783924667,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a323278"} 
[2026-07-13 12:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 12:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684637696001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684637696001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:10:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:10:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684637696001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":130496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:10:12] local.INFO: GPS data processed {"connection_id":130496,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:10:12] local.INFO: Acknowledgment sent {"connection_id":130496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:10:35] local.INFO: TCP Data received {"connection_id":131301,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:10:35] local.INFO: Processing buffer {"connection_id":131301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:10:35] local.INFO: IMEI packet received {"connection_id":131301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":131301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:10:40] local.INFO: TCP Data received {"connection_id":131301,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:10:40] local.INFO: Processing buffer {"connection_id":131301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:10:40] local.INFO: IMEI packet received {"connection_id":131301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":131301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:10:40] local.INFO: TCP Data received {"connection_id":131301,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a323278012d7f914005afd938000d011b22..."} 
[2026-07-13 12:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a323278012d7f914005afd938000d011b22..."} 
[2026-07-13 12:10:40] local.INFO: Processing buffer {"connection_id":131301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a323278012d7f914005afd938000d011b22..."} 
[2026-07-13 12:10:40] local.INFO: Packet analysis {"connection_id":131301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a32"} 
[2026-07-13 12:10:40] local.INFO: Extracted packet for processing {"connection_id":131301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a32"} 
[2026-07-13 12:10:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 12:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684637696001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783924667000,"timestamp_ms":1783924667000,"timestamp_seconds":1783924667,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a323278"} 
[2026-07-13 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-07-13 12:10: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-07-13 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 12:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 12:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684637696001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684637696001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:10:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:10:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684637696001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":131301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:10:40] local.INFO: GPS data processed {"connection_id":131301,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:10:40] local.INFO: Acknowledgment sent {"connection_id":131301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:11:11] local.INFO: TCP Data received {"connection_id":131301,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a323278012d7f914005afd938000d011b22..."} 
[2026-07-13 12:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a323278012d7f914005afd938000d011b22..."} 
[2026-07-13 12:11:11] local.INFO: Processing buffer {"connection_id":131301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a323278012d7f914005afd938000d011b22..."} 
[2026-07-13 12:11:11] local.INFO: Packet analysis {"connection_id":131301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a32"} 
[2026-07-13 12:11:11] local.INFO: Extracted packet for processing {"connection_id":131301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a32"} 
[2026-07-13 12:11:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684637696001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783924667000,"timestamp_ms":1783924667000,"timestamp_seconds":1783924667,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a323278"} 
[2026-07-13 12:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 12:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684637696001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684637696001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:11:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:11:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684637696001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":131301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:11:12] local.INFO: GPS data processed {"connection_id":131301,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:11:12] local.INFO: Acknowledgment sent {"connection_id":131301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:11:34] local.INFO: TCP Data received {"connection_id":132632,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:11:34] local.INFO: Processing buffer {"connection_id":132632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:11:34] local.INFO: IMEI packet received {"connection_id":132632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":132632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:11:35] local.INFO: TCP Data received {"connection_id":130287,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:11:35] local.INFO: Processing buffer {"connection_id":130287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:11:35] local.INFO: IMEI packet received {"connection_id":130287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 12:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":130287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:11:40] local.INFO: TCP Data received {"connection_id":132632,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:11:40] local.INFO: Processing buffer {"connection_id":132632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:11:40] local.INFO: IMEI packet received {"connection_id":132632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":132632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:11:40] local.INFO: TCP Data received {"connection_id":130287,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:11:40] local.INFO: Processing buffer {"connection_id":130287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:11:40] local.INFO: IMEI packet received {"connection_id":130287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 12:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":130287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:11:40] local.INFO: TCP Data received {"connection_id":132632,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a323278012d7f914005afd938000d011b22..."} 
[2026-07-13 12:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a323278012d7f914005afd938000d011b22..."} 
[2026-07-13 12:11:40] local.INFO: Processing buffer {"connection_id":132632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a323278012d7f914005afd938000d011b22..."} 
[2026-07-13 12:11:40] local.INFO: Packet analysis {"connection_id":132632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a32"} 
[2026-07-13 12:11:40] local.INFO: Extracted packet for processing {"connection_id":132632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a32"} 
[2026-07-13 12:11:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12: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-07-13 12:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684637696001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783924667000,"timestamp_ms":1783924667000,"timestamp_seconds":1783924667,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a323278"} 
[2026-07-13 12:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:11: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-07-13 12: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 12:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12: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-07-13 12:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684637696001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684637696001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:11:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:11:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684637696001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":132632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:11:40] local.INFO: GPS data processed {"connection_id":132632,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:11:40] local.INFO: Acknowledgment sent {"connection_id":132632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:11:42] local.INFO: TCP Data received {"connection_id":130287,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a157ae8012cb29ac007823bf8004700e028..."} 
[2026-07-13 12:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a157ae8012cb29ac007823bf8004700e028..."} 
[2026-07-13 12:11:42] local.INFO: Processing buffer {"connection_id":130287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a157ae8012cb29ac007823bf8004700e028..."} 
[2026-07-13 12:11:42] local.INFO: Packet analysis {"connection_id":130287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a15"} 
[2026-07-13 12:11:42] local.INFO: Extracted packet for processing {"connection_id":130287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a15"} 
[2026-07-13 12:11:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 12:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684155904001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 12:11:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 12:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783922785000,"timestamp_ms":1783922785000,"timestamp_seconds":1783922785,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a157ae8"} 
[2026-07-13 12:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-13 12:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 12:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 12:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 12:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 12:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684155904001,"66":25528,"242":206,"85":36864,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-07-13 12:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 12:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 12:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684155904001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:11:42] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-13 12:11:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-13 12:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:11:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 12:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684155904001,"power":25528,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 12:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":130287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479847,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:11:42] local.INFO: GPS data processed {"connection_id":130287,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:11:42] local.INFO: Acknowledgment sent {"connection_id":130287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:12:12] local.INFO: TCP Data received {"connection_id":132632,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a323278012d7f914005afd938000d011b22..."} 
[2026-07-13 12:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a323278012d7f914005afd938000d011b22..."} 
[2026-07-13 12:12:12] local.INFO: Processing buffer {"connection_id":132632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a323278012d7f914005afd938000d011b22..."} 
[2026-07-13 12:12:12] local.INFO: Packet analysis {"connection_id":132632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a32"} 
[2026-07-13 12:12:12] local.INFO: Extracted packet for processing {"connection_id":132632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a32"} 
[2026-07-13 12:12:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684637696001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783924667000,"timestamp_ms":1783924667000,"timestamp_seconds":1783924667,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a323278"} 
[2026-07-13 12:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 12:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684637696001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684637696001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:12:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:12:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684637696001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":132632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:12:12] local.INFO: GPS data processed {"connection_id":132632,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:12:12] local.INFO: Acknowledgment sent {"connection_id":132632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:12:34] local.INFO: TCP Data received {"connection_id":130288,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:12:34] local.INFO: Processing buffer {"connection_id":130288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:12:34] local.INFO: IMEI packet received {"connection_id":130288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":130288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:12:40] local.INFO: TCP Data received {"connection_id":130288,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:12:40] local.INFO: Processing buffer {"connection_id":130288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:12:40] local.INFO: IMEI packet received {"connection_id":130288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":130288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:12:41] local.INFO: TCP Data received {"connection_id":130288,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a323278012d7f914005afd938000d011b22..."} 
[2026-07-13 12:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a323278012d7f914005afd938000d011b22..."} 
[2026-07-13 12:12:41] local.INFO: Processing buffer {"connection_id":130288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a323278012d7f914005afd938000d011b22..."} 
[2026-07-13 12:12:41] local.INFO: Packet analysis {"connection_id":130288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a32"} 
[2026-07-13 12:12:41] local.INFO: Extracted packet for processing {"connection_id":130288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a32"} 
[2026-07-13 12:12:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684637696001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783924667000,"timestamp_ms":1783924667000,"timestamp_seconds":1783924667,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a323278"} 
[2026-07-13 12:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 12:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684637696001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684637696001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:12:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:12:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684637696001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":130288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:12:41] local.INFO: GPS data processed {"connection_id":130288,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:12:41] local.INFO: Acknowledgment sent {"connection_id":130288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:13:12] local.INFO: TCP Data received {"connection_id":130288,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a323278012d7f914005afd938000d011b22..."} 
[2026-07-13 12:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a323278012d7f914005afd938000d011b22..."} 
[2026-07-13 12:13:12] local.INFO: Processing buffer {"connection_id":130288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a323278012d7f914005afd938000d011b22..."} 
[2026-07-13 12:13:12] local.INFO: Packet analysis {"connection_id":130288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a32"} 
[2026-07-13 12:13:12] local.INFO: Extracted packet for processing {"connection_id":130288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a32"} 
[2026-07-13 12:13:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684637696001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783924667000,"timestamp_ms":1783924667000,"timestamp_seconds":1783924667,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a323278"} 
[2026-07-13 12:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 12:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684637696001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684637696001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:13:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:13:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684637696001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":130288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:13:12] local.INFO: GPS data processed {"connection_id":130288,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:13:12] local.INFO: Acknowledgment sent {"connection_id":130288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:13:20] local.INFO: TCP Data received {"connection_id":132633,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132633,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:13:20] local.INFO: Processing buffer {"connection_id":132633,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:13:20] local.INFO: IMEI packet received {"connection_id":132633,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 12:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":132633,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:13:35] local.INFO: TCP Data received {"connection_id":130497,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:13:35] local.INFO: Processing buffer {"connection_id":130497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:13:35] local.INFO: IMEI packet received {"connection_id":130497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":130497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:13:40] local.INFO: TCP Data received {"connection_id":130497,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:13:40] local.INFO: Processing buffer {"connection_id":130497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:13:40] local.INFO: IMEI packet received {"connection_id":130497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":130497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:13:41] local.INFO: TCP Data received {"connection_id":130497,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a36ca40012d7f914005afd938000f011b23..."} 
[2026-07-13 12:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a36ca40012d7f914005afd938000f011b23..."} 
[2026-07-13 12:13:41] local.INFO: Processing buffer {"connection_id":130497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a36ca40012d7f914005afd938000f011b23..."} 
[2026-07-13 12:13:41] local.INFO: Packet analysis {"connection_id":130497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a36"} 
[2026-07-13 12:13:41] local.INFO: Extracted packet for processing {"connection_id":130497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a36"} 
[2026-07-13 12:13:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684714752001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783924968000,"timestamp_ms":1783924968000,"timestamp_seconds":1783924968,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a36ca40"} 
[2026-07-13 12:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684714752001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684714752001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:13:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:13:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684714752001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":130497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:13:41] local.INFO: GPS data processed {"connection_id":130497,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:13:41] local.INFO: Acknowledgment sent {"connection_id":130497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:14:08] local.INFO: TCP Data received {"connection_id":132634,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:14:08] local.INFO: Processing buffer {"connection_id":132634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:14:08] local.INFO: IMEI packet received {"connection_id":132634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 12:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":132634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:14:12] local.INFO: TCP Data received {"connection_id":130497,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a36ca40012d7f914005afd938000f011b23..."} 
[2026-07-13 12:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a36ca40012d7f914005afd938000f011b23..."} 
[2026-07-13 12:14:12] local.INFO: Processing buffer {"connection_id":130497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a36ca40012d7f914005afd938000f011b23..."} 
[2026-07-13 12:14:12] local.INFO: Packet analysis {"connection_id":130497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a36"} 
[2026-07-13 12:14:12] local.INFO: Extracted packet for processing {"connection_id":130497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a36"} 
[2026-07-13 12:14:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684714752001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783924968000,"timestamp_ms":1783924968000,"timestamp_seconds":1783924968,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a36ca40"} 
[2026-07-13 12:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684714752001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684714752001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:14:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:14:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684714752001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":130497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:14:12] local.INFO: GPS data processed {"connection_id":130497,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:14:12] local.INFO: Acknowledgment sent {"connection_id":130497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:14:35] local.INFO: TCP Data received {"connection_id":131303,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:14:35] local.INFO: Processing buffer {"connection_id":131303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:14:35] local.INFO: IMEI packet received {"connection_id":131303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":131303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:14:40] local.INFO: TCP Data received {"connection_id":131303,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:14:40] local.INFO: Processing buffer {"connection_id":131303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:14:40] local.INFO: IMEI packet received {"connection_id":131303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":131303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:14:41] local.INFO: TCP Data received {"connection_id":131303,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a36ca40012d7f914005afd938000f011b23..."} 
[2026-07-13 12:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a36ca40012d7f914005afd938000f011b23..."} 
[2026-07-13 12:14:41] local.INFO: Processing buffer {"connection_id":131303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a36ca40012d7f914005afd938000f011b23..."} 
[2026-07-13 12:14:41] local.INFO: Packet analysis {"connection_id":131303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a36"} 
[2026-07-13 12:14:41] local.INFO: Extracted packet for processing {"connection_id":131303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a36"} 
[2026-07-13 12:14:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684714752001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783924968000,"timestamp_ms":1783924968000,"timestamp_seconds":1783924968,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a36ca40"} 
[2026-07-13 12:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684714752001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684714752001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:14:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:14:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684714752001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":131303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:14:41] local.INFO: GPS data processed {"connection_id":131303,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:14:41] local.INFO: Acknowledgment sent {"connection_id":131303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:14:45] local.INFO: TCP Data received {"connection_id":132635,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:14:45] local.INFO: Processing buffer {"connection_id":132635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:14:45] local.INFO: IMEI packet received {"connection_id":132635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 12:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":132635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:15:12] local.INFO: TCP Data received {"connection_id":131303,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a36ca40012d7f914005afd938000f011b23..."} 
[2026-07-13 12:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a36ca40012d7f914005afd938000f011b23..."} 
[2026-07-13 12:15:12] local.INFO: Processing buffer {"connection_id":131303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a36ca40012d7f914005afd938000f011b23..."} 
[2026-07-13 12:15:12] local.INFO: Packet analysis {"connection_id":131303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a36"} 
[2026-07-13 12:15:12] local.INFO: Extracted packet for processing {"connection_id":131303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a36"} 
[2026-07-13 12:15:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684714752001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783924968000,"timestamp_ms":1783924968000,"timestamp_seconds":1783924968,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a36ca40"} 
[2026-07-13 12:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684714752001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684714752001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:15:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:15:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684714752001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":131303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:15:12] local.INFO: GPS data processed {"connection_id":131303,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:15:12] local.INFO: Acknowledgment sent {"connection_id":131303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:15:34] local.INFO: TCP Data received {"connection_id":130498,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:15:34] local.INFO: Processing buffer {"connection_id":130498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:15:34] local.INFO: IMEI packet received {"connection_id":130498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":130498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:15:40] local.INFO: TCP Data received {"connection_id":130498,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:15:40] local.INFO: Processing buffer {"connection_id":130498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:15:40] local.INFO: IMEI packet received {"connection_id":130498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":130498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:15:40] local.INFO: TCP Data received {"connection_id":130498,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a36ca40012d7f914005afd938000f011b23..."} 
[2026-07-13 12:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a36ca40012d7f914005afd938000f011b23..."} 
[2026-07-13 12:15:41] local.INFO: Processing buffer {"connection_id":130498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a36ca40012d7f914005afd938000f011b23..."} 
[2026-07-13 12:15:41] local.INFO: Packet analysis {"connection_id":130498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a36"} 
[2026-07-13 12:15:41] local.INFO: Extracted packet for processing {"connection_id":130498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a36"} 
[2026-07-13 12:15:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684714752001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783924968000,"timestamp_ms":1783924968000,"timestamp_seconds":1783924968,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a36ca40"} 
[2026-07-13 12:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684714752001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684714752001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:15:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:15:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684714752001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":130498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:15:41] local.INFO: GPS data processed {"connection_id":130498,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:15:41] local.INFO: Acknowledgment sent {"connection_id":130498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:16:12] local.INFO: TCP Data received {"connection_id":130498,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a36ca40012d7f914005afd938000f011b23..."} 
[2026-07-13 12:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a36ca40012d7f914005afd938000f011b23..."} 
[2026-07-13 12:16:12] local.INFO: Processing buffer {"connection_id":130498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a36ca40012d7f914005afd938000f011b23..."} 
[2026-07-13 12:16:12] local.INFO: Packet analysis {"connection_id":130498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a36"} 
[2026-07-13 12:16:12] local.INFO: Extracted packet for processing {"connection_id":130498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a36"} 
[2026-07-13 12:16:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684714752001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783924968000,"timestamp_ms":1783924968000,"timestamp_seconds":1783924968,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a36ca40"} 
[2026-07-13 12:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684714752001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684714752001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:16:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:16:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684714752001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":130498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:16:12] local.INFO: GPS data processed {"connection_id":130498,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:16:12] local.INFO: Acknowledgment sent {"connection_id":130498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:16:34] local.INFO: TCP Data received {"connection_id":131304,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:16:34] local.INFO: Processing buffer {"connection_id":131304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:16:34] local.INFO: IMEI packet received {"connection_id":131304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":131304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:16:40] local.INFO: TCP Data received {"connection_id":131304,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:16:40] local.INFO: Processing buffer {"connection_id":131304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:16:40] local.INFO: IMEI packet received {"connection_id":131304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":131304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:16:40] local.INFO: TCP Data received {"connection_id":131304,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a36ca40012d7f914005afd938000f011b23..."} 
[2026-07-13 12:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a36ca40012d7f914005afd938000f011b23..."} 
[2026-07-13 12:16:40] local.INFO: Processing buffer {"connection_id":131304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a36ca40012d7f914005afd938000f011b23..."} 
[2026-07-13 12:16:40] local.INFO: Packet analysis {"connection_id":131304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a36"} 
[2026-07-13 12:16:40] local.INFO: Extracted packet for processing {"connection_id":131304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a36"} 
[2026-07-13 12:16:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684714752001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783924968000,"timestamp_ms":1783924968000,"timestamp_seconds":1783924968,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a36ca40"} 
[2026-07-13 12:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:16: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-07-13 12:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684714752001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684714752001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:16:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:16:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684714752001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":131304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:16:40] local.INFO: GPS data processed {"connection_id":131304,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:16:40] local.INFO: Acknowledgment sent {"connection_id":131304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:17:12] local.INFO: TCP Data received {"connection_id":131304,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a36ca40012d7f914005afd938000f011b23..."} 
[2026-07-13 12:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a36ca40012d7f914005afd938000f011b23..."} 
[2026-07-13 12:17:12] local.INFO: Processing buffer {"connection_id":131304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a36ca40012d7f914005afd938000f011b23..."} 
[2026-07-13 12:17:12] local.INFO: Packet analysis {"connection_id":131304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a36"} 
[2026-07-13 12:17:12] local.INFO: Extracted packet for processing {"connection_id":131304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a36"} 
[2026-07-13 12:17:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684714752001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783924968000,"timestamp_ms":1783924968000,"timestamp_seconds":1783924968,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a36ca40"} 
[2026-07-13 12:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684714752001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684714752001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:17:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:17:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684714752001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":131304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:17:12] local.INFO: GPS data processed {"connection_id":131304,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:17:12] local.INFO: Acknowledgment sent {"connection_id":131304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:17:34] local.INFO: TCP Data received {"connection_id":130289,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:17:34] local.INFO: Processing buffer {"connection_id":130289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:17:34] local.INFO: IMEI packet received {"connection_id":130289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":130289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:17:40] local.INFO: TCP Data received {"connection_id":130289,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:17:40] local.INFO: Processing buffer {"connection_id":130289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:17:40] local.INFO: IMEI packet received {"connection_id":130289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":130289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:17:41] local.INFO: TCP Data received {"connection_id":130289,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a36ca40012d7f914005afd938000f011b23..."} 
[2026-07-13 12:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a36ca40012d7f914005afd938000f011b23..."} 
[2026-07-13 12:17:41] local.INFO: Processing buffer {"connection_id":130289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a36ca40012d7f914005afd938000f011b23..."} 
[2026-07-13 12:17:41] local.INFO: Packet analysis {"connection_id":130289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a36"} 
[2026-07-13 12:17:41] local.INFO: Extracted packet for processing {"connection_id":130289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a36"} 
[2026-07-13 12:17:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684714752001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783924968000,"timestamp_ms":1783924968000,"timestamp_seconds":1783924968,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a36ca40"} 
[2026-07-13 12:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684714752001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684714752001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:17:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:17:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684714752001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":130289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:17:41] local.INFO: GPS data processed {"connection_id":130289,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:17:41] local.INFO: Acknowledgment sent {"connection_id":130289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:18:12] local.INFO: TCP Data received {"connection_id":130289,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a36ca40012d7f914005afd938000f011b23..."} 
[2026-07-13 12:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a36ca40012d7f914005afd938000f011b23..."} 
[2026-07-13 12:18:12] local.INFO: Processing buffer {"connection_id":130289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a36ca40012d7f914005afd938000f011b23..."} 
[2026-07-13 12:18:12] local.INFO: Packet analysis {"connection_id":130289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a36"} 
[2026-07-13 12:18:12] local.INFO: Extracted packet for processing {"connection_id":130289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a36"} 
[2026-07-13 12:18:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684714752001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783924968000,"timestamp_ms":1783924968000,"timestamp_seconds":1783924968,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a36ca40"} 
[2026-07-13 12:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684714752001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684714752001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:18:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:18:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684714752001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":130289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:18:12] local.INFO: GPS data processed {"connection_id":130289,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:18:12] local.INFO: Acknowledgment sent {"connection_id":130289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:18:40] local.INFO: TCP Data received {"connection_id":130290,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:18:40] local.INFO: Processing buffer {"connection_id":130290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:18:40] local.INFO: IMEI packet received {"connection_id":130290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":130290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:18:45] local.INFO: TCP Data received {"connection_id":130290,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:18:45] local.INFO: Processing buffer {"connection_id":130290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:18:45] local.INFO: IMEI packet received {"connection_id":130290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":130290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:18:45] local.INFO: TCP Data received {"connection_id":130290,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a3b6208012d7f914005afd9380010011b21..."} 
[2026-07-13 12:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a3b6208012d7f914005afd9380010011b21..."} 
[2026-07-13 12:18:45] local.INFO: Processing buffer {"connection_id":130290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a3b6208012d7f914005afd9380010011b21..."} 
[2026-07-13 12:18:45] local.INFO: Packet analysis {"connection_id":130290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a3b"} 
[2026-07-13 12:18:45] local.INFO: Extracted packet for processing {"connection_id":130290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a3b"} 
[2026-07-13 12:18:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684791808001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783925269000,"timestamp_ms":1783925269000,"timestamp_seconds":1783925269,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a3b6208"} 
[2026-07-13 12:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684791808001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684791808001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:18:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:18:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684791808001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":130290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:18:46] local.INFO: GPS data processed {"connection_id":130290,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:18:46] local.INFO: Acknowledgment sent {"connection_id":130290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:18:50] local.INFO: TCP Data received {"connection_id":130290,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a3b6208012d7f914005afd9380010011b21..."} 
[2026-07-13 12:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a3b6208012d7f914005afd9380010011b21..."} 
[2026-07-13 12:18:50] local.INFO: Processing buffer {"connection_id":130290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a3b6208012d7f914005afd9380010011b21..."} 
[2026-07-13 12:18:50] local.INFO: Packet analysis {"connection_id":130290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a3b"} 
[2026-07-13 12:18:50] local.INFO: Extracted packet for processing {"connection_id":130290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a3b"} 
[2026-07-13 12:18:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12: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-07-13 12:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684791808001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783925269000,"timestamp_ms":1783925269000,"timestamp_seconds":1783925269,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a3b6208"} 
[2026-07-13 12:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:18: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-07-13 12: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-07-13 12:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:18: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-07-13 12:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684791808001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684791808001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:18:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:18:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684791808001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":130290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:18:50] local.INFO: GPS data processed {"connection_id":130290,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:18:50] local.INFO: Acknowledgment sent {"connection_id":130290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:19:35] local.INFO: TCP Data received {"connection_id":132639,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:19:35] local.INFO: Processing buffer {"connection_id":132639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:19:35] local.INFO: IMEI packet received {"connection_id":132639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":132639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:19:40] local.INFO: TCP Data received {"connection_id":132639,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:19:40] local.INFO: Processing buffer {"connection_id":132639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:19:40] local.INFO: IMEI packet received {"connection_id":132639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":132639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:19:41] local.INFO: TCP Data received {"connection_id":132639,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a3b6208012d7f914005afd9380010011b21..."} 
[2026-07-13 12:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a3b6208012d7f914005afd9380010011b21..."} 
[2026-07-13 12:19:41] local.INFO: Processing buffer {"connection_id":132639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a3b6208012d7f914005afd9380010011b21..."} 
[2026-07-13 12:19:41] local.INFO: Packet analysis {"connection_id":132639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a3b"} 
[2026-07-13 12:19:41] local.INFO: Extracted packet for processing {"connection_id":132639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a3b"} 
[2026-07-13 12:19:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12: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-07-13 12:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684791808001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783925269000,"timestamp_ms":1783925269000,"timestamp_seconds":1783925269,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a3b6208"} 
[2026-07-13 12:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12: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-07-13 12:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684791808001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684791808001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:19:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:19:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684791808001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":132639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:19:41] local.INFO: GPS data processed {"connection_id":132639,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:19:41] local.INFO: Acknowledgment sent {"connection_id":132639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:19:50] local.INFO: TCP Data received {"connection_id":132640,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132640,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:19:50] local.INFO: Processing buffer {"connection_id":132640,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:19:50] local.INFO: IMEI packet received {"connection_id":132640,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 12:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":132640,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:20:13] local.INFO: TCP Data received {"connection_id":132639,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a3b6208012d7f914005afd9380010011b21..."} 
[2026-07-13 12:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a3b6208012d7f914005afd9380010011b21..."} 
[2026-07-13 12:20:13] local.INFO: Processing buffer {"connection_id":132639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a3b6208012d7f914005afd9380010011b21..."} 
[2026-07-13 12:20:13] local.INFO: Packet analysis {"connection_id":132639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a3b"} 
[2026-07-13 12:20:13] local.INFO: Extracted packet for processing {"connection_id":132639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a3b"} 
[2026-07-13 12:20:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684791808001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783925269000,"timestamp_ms":1783925269000,"timestamp_seconds":1783925269,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a3b6208"} 
[2026-07-13 12:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684791808001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684791808001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:20:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:20:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684791808001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":132639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:20:13] local.INFO: GPS data processed {"connection_id":132639,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:20:13] local.INFO: Acknowledgment sent {"connection_id":132639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:20:35] local.INFO: TCP Data received {"connection_id":130500,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:20:35] local.INFO: Processing buffer {"connection_id":130500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:20:35] local.INFO: IMEI packet received {"connection_id":130500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":130500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:20:40] local.INFO: TCP Data received {"connection_id":130500,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:20:40] local.INFO: Processing buffer {"connection_id":130500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:20:40] local.INFO: IMEI packet received {"connection_id":130500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":130500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:20:41] local.INFO: TCP Data received {"connection_id":130500,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a3b6208012d7f914005afd9380010011b21..."} 
[2026-07-13 12:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a3b6208012d7f914005afd9380010011b21..."} 
[2026-07-13 12:20:41] local.INFO: Processing buffer {"connection_id":130500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a3b6208012d7f914005afd9380010011b21..."} 
[2026-07-13 12:20:41] local.INFO: Packet analysis {"connection_id":130500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a3b"} 
[2026-07-13 12:20:41] local.INFO: Extracted packet for processing {"connection_id":130500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a3b"} 
[2026-07-13 12:20:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684791808001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783925269000,"timestamp_ms":1783925269000,"timestamp_seconds":1783925269,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a3b6208"} 
[2026-07-13 12:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684791808001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684791808001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:20:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:20:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684791808001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":130500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:20:41] local.INFO: GPS data processed {"connection_id":130500,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:20:41] local.INFO: Acknowledgment sent {"connection_id":130500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:21:12] local.INFO: TCP Data received {"connection_id":130500,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a3b6208012d7f914005afd9380010011b21..."} 
[2026-07-13 12:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a3b6208012d7f914005afd9380010011b21..."} 
[2026-07-13 12:21:12] local.INFO: Processing buffer {"connection_id":130500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a3b6208012d7f914005afd9380010011b21..."} 
[2026-07-13 12:21:12] local.INFO: Packet analysis {"connection_id":130500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a3b"} 
[2026-07-13 12:21:12] local.INFO: Extracted packet for processing {"connection_id":130500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a3b"} 
[2026-07-13 12:21:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684791808001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783925269000,"timestamp_ms":1783925269000,"timestamp_seconds":1783925269,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a3b6208"} 
[2026-07-13 12:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684791808001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684791808001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:21:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:21:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684791808001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":130500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:21:12] local.INFO: GPS data processed {"connection_id":130500,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:21:12] local.INFO: Acknowledgment sent {"connection_id":130500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:21:34] local.INFO: TCP Data received {"connection_id":131306,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:21:34] local.INFO: Processing buffer {"connection_id":131306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:21:34] local.INFO: IMEI packet received {"connection_id":131306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":131306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:21:40] local.INFO: TCP Data received {"connection_id":131306,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:21:40] local.INFO: Processing buffer {"connection_id":131306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:21:40] local.INFO: IMEI packet received {"connection_id":131306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":131306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:21:40] local.INFO: TCP Data received {"connection_id":131306,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a3b6208012d7f914005afd9380010011b21..."} 
[2026-07-13 12:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a3b6208012d7f914005afd9380010011b21..."} 
[2026-07-13 12:21:40] local.INFO: Processing buffer {"connection_id":131306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a3b6208012d7f914005afd9380010011b21..."} 
[2026-07-13 12:21:40] local.INFO: Packet analysis {"connection_id":131306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a3b"} 
[2026-07-13 12:21:40] local.INFO: Extracted packet for processing {"connection_id":131306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a3b"} 
[2026-07-13 12:21:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684791808001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783925269000,"timestamp_ms":1783925269000,"timestamp_seconds":1783925269,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a3b6208"} 
[2026-07-13 12:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:21: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-07-13 12:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684791808001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684791808001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:21:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:21:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684791808001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":131306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:21:40] local.INFO: GPS data processed {"connection_id":131306,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:21:40] local.INFO: Acknowledgment sent {"connection_id":131306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:22:12] local.INFO: TCP Data received {"connection_id":131306,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a3b6208012d7f914005afd9380010011b21..."} 
[2026-07-13 12:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a3b6208012d7f914005afd9380010011b21..."} 
[2026-07-13 12:22:12] local.INFO: Processing buffer {"connection_id":131306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a3b6208012d7f914005afd9380010011b21..."} 
[2026-07-13 12:22:12] local.INFO: Packet analysis {"connection_id":131306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a3b"} 
[2026-07-13 12:22:12] local.INFO: Extracted packet for processing {"connection_id":131306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a3b"} 
[2026-07-13 12:22:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684791808001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783925269000,"timestamp_ms":1783925269000,"timestamp_seconds":1783925269,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a3b6208"} 
[2026-07-13 12:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684791808001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684791808001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:22:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:22:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684791808001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":131306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:22:12] local.INFO: GPS data processed {"connection_id":131306,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:22:12] local.INFO: Acknowledgment sent {"connection_id":131306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:22:34] local.INFO: TCP Data received {"connection_id":131308,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:22:34] local.INFO: Processing buffer {"connection_id":131308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:22:34] local.INFO: IMEI packet received {"connection_id":131308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":131308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:22:40] local.INFO: TCP Data received {"connection_id":131308,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:22:40] local.INFO: Processing buffer {"connection_id":131308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:22:40] local.INFO: IMEI packet received {"connection_id":131308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":131308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:22:40] local.INFO: TCP Data received {"connection_id":131308,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a3b6208012d7f914005afd9380010011b21..."} 
[2026-07-13 12:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a3b6208012d7f914005afd9380010011b21..."} 
[2026-07-13 12:22:40] local.INFO: Processing buffer {"connection_id":131308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a3b6208012d7f914005afd9380010011b21..."} 
[2026-07-13 12:22:40] local.INFO: Packet analysis {"connection_id":131308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a3b"} 
[2026-07-13 12:22:40] local.INFO: Extracted packet for processing {"connection_id":131308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a3b"} 
[2026-07-13 12:22:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684791808001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783925269000,"timestamp_ms":1783925269000,"timestamp_seconds":1783925269,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a3b6208"} 
[2026-07-13 12:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:22: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-07-13 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684791808001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684791808001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:22:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684791808001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":131308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:22:41] local.INFO: GPS data processed {"connection_id":131308,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:22:41] local.INFO: Acknowledgment sent {"connection_id":131308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:23:12] local.INFO: TCP Data received {"connection_id":131308,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a3b6208012d7f914005afd9380010011b21..."} 
[2026-07-13 12:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a3b6208012d7f914005afd9380010011b21..."} 
[2026-07-13 12:23:12] local.INFO: Processing buffer {"connection_id":131308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a3b6208012d7f914005afd9380010011b21..."} 
[2026-07-13 12:23:12] local.INFO: Packet analysis {"connection_id":131308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a3b"} 
[2026-07-13 12:23:12] local.INFO: Extracted packet for processing {"connection_id":131308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a3b"} 
[2026-07-13 12:23:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684791808001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783925269000,"timestamp_ms":1783925269000,"timestamp_seconds":1783925269,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a3b6208"} 
[2026-07-13 12:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684791808001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684791808001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:23:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:23:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684791808001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":131308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:23:12] local.INFO: GPS data processed {"connection_id":131308,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:23:12] local.INFO: Acknowledgment sent {"connection_id":131308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:23:40] local.INFO: TCP Data received {"connection_id":131310,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:23:40] local.INFO: Processing buffer {"connection_id":131310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:23:40] local.INFO: IMEI packet received {"connection_id":131310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":131310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:23:45] local.INFO: TCP Data received {"connection_id":131310,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:23:45] local.INFO: Processing buffer {"connection_id":131310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:23:45] local.INFO: IMEI packet received {"connection_id":131310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":131310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:23:46] local.INFO: TCP Data received {"connection_id":131310,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a3ff9d0012d7f914005afd9380010011b21..."} 
[2026-07-13 12:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a3ff9d0012d7f914005afd9380010011b21..."} 
[2026-07-13 12:23:46] local.INFO: Processing buffer {"connection_id":131310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a3ff9d0012d7f914005afd9380010011b21..."} 
[2026-07-13 12:23:46] local.INFO: Packet analysis {"connection_id":131310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a3f"} 
[2026-07-13 12:23:46] local.INFO: Extracted packet for processing {"connection_id":131310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a3f"} 
[2026-07-13 12:23:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684868864001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783925570000,"timestamp_ms":1783925570000,"timestamp_seconds":1783925570,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a3ff9d0"} 
[2026-07-13 12:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684868864001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684868864001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:23:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:23:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684868864001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":131310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:23:46] local.INFO: GPS data processed {"connection_id":131310,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:23:46] local.INFO: Acknowledgment sent {"connection_id":131310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:23:50] local.INFO: TCP Data received {"connection_id":131310,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a3ff9d0012d7f914005afd9380010011b21..."} 
[2026-07-13 12:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a3ff9d0012d7f914005afd9380010011b21..."} 
[2026-07-13 12:23:50] local.INFO: Processing buffer {"connection_id":131310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a3ff9d0012d7f914005afd9380010011b21..."} 
[2026-07-13 12:23:50] local.INFO: Packet analysis {"connection_id":131310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a3f"} 
[2026-07-13 12:23:50] local.INFO: Extracted packet for processing {"connection_id":131310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a3f"} 
[2026-07-13 12:23:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 12:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684868864001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783925570000,"timestamp_ms":1783925570000,"timestamp_seconds":1783925570,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a3ff9d0"} 
[2026-07-13 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-07-13 12:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:23: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-07-13 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-07-13 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-07-13 12:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:23: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-07-13 12:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684868864001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684868864001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:23:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:23:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684868864001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":131310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:23:50] local.INFO: GPS data processed {"connection_id":131310,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:23:50] local.INFO: Acknowledgment sent {"connection_id":131310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:24:35] local.INFO: TCP Data received {"connection_id":131311,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:24:35] local.INFO: Processing buffer {"connection_id":131311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:24:35] local.INFO: IMEI packet received {"connection_id":131311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":131311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:24:40] local.INFO: TCP Data received {"connection_id":131311,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:24:40] local.INFO: Processing buffer {"connection_id":131311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:24:40] local.INFO: IMEI packet received {"connection_id":131311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":131311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:24:40] local.INFO: TCP Data received {"connection_id":131311,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a3ff9d0012d7f914005afd9380010011b21..."} 
[2026-07-13 12:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a3ff9d0012d7f914005afd9380010011b21..."} 
[2026-07-13 12:24:40] local.INFO: Processing buffer {"connection_id":131311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a3ff9d0012d7f914005afd9380010011b21..."} 
[2026-07-13 12:24:40] local.INFO: Packet analysis {"connection_id":131311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a3f"} 
[2026-07-13 12:24:40] local.INFO: Extracted packet for processing {"connection_id":131311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a3f"} 
[2026-07-13 12:24:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684868864001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783925570000,"timestamp_ms":1783925570000,"timestamp_seconds":1783925570,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a3ff9d0"} 
[2026-07-13 12:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:24: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-07-13 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684868864001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684868864001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:24:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:24:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684868864001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":131311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:24:41] local.INFO: GPS data processed {"connection_id":131311,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:24:41] local.INFO: Acknowledgment sent {"connection_id":131311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:25:12] local.INFO: TCP Data received {"connection_id":131311,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a3ff9d0012d7f914005afd9380010011b21..."} 
[2026-07-13 12:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a3ff9d0012d7f914005afd9380010011b21..."} 
[2026-07-13 12:25:12] local.INFO: Processing buffer {"connection_id":131311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a3ff9d0012d7f914005afd9380010011b21..."} 
[2026-07-13 12:25:12] local.INFO: Packet analysis {"connection_id":131311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a3f"} 
[2026-07-13 12:25:12] local.INFO: Extracted packet for processing {"connection_id":131311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a3f"} 
[2026-07-13 12:25:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684868864001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783925570000,"timestamp_ms":1783925570000,"timestamp_seconds":1783925570,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a3ff9d0"} 
[2026-07-13 12:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684868864001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684868864001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:25:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:25:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684868864001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":131311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:25:12] local.INFO: GPS data processed {"connection_id":131311,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:25:12] local.INFO: Acknowledgment sent {"connection_id":131311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:25:34] local.INFO: TCP Data received {"connection_id":130502,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:25:34] local.INFO: Processing buffer {"connection_id":130502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:25:34] local.INFO: IMEI packet received {"connection_id":130502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":130502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:25:40] local.INFO: TCP Data received {"connection_id":130502,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:25:40] local.INFO: Processing buffer {"connection_id":130502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:25:40] local.INFO: IMEI packet received {"connection_id":130502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":130502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:25:40] local.INFO: TCP Data received {"connection_id":130502,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a3ff9d0012d7f914005afd9380010011b21..."} 
[2026-07-13 12:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a3ff9d0012d7f914005afd9380010011b21..."} 
[2026-07-13 12:25:40] local.INFO: Processing buffer {"connection_id":130502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a3ff9d0012d7f914005afd9380010011b21..."} 
[2026-07-13 12:25:40] local.INFO: Packet analysis {"connection_id":130502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a3f"} 
[2026-07-13 12:25:40] local.INFO: Extracted packet for processing {"connection_id":130502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a3f"} 
[2026-07-13 12:25:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12: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-07-13 12:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684868864001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783925570000,"timestamp_ms":1783925570000,"timestamp_seconds":1783925570,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a3ff9d0"} 
[2026-07-13 12:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:25: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-07-13 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12: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-07-13 12:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684868864001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684868864001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:25:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:25:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684868864001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":130502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:25:40] local.INFO: GPS data processed {"connection_id":130502,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:25:40] local.INFO: Acknowledgment sent {"connection_id":130502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:25:41] local.INFO: TCP Data received {"connection_id":132642,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132642,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:25:41] local.INFO: Processing buffer {"connection_id":132642,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:25:41] local.INFO: IMEI packet received {"connection_id":132642,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 12:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":132642,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:26:11] local.INFO: TCP Data received {"connection_id":130502,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a3ff9d0012d7f914005afd9380010011b21..."} 
[2026-07-13 12:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a3ff9d0012d7f914005afd9380010011b21..."} 
[2026-07-13 12:26:11] local.INFO: Processing buffer {"connection_id":130502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a3ff9d0012d7f914005afd9380010011b21..."} 
[2026-07-13 12:26:11] local.INFO: Packet analysis {"connection_id":130502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a3f"} 
[2026-07-13 12:26:11] local.INFO: Extracted packet for processing {"connection_id":130502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a3f"} 
[2026-07-13 12:26:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684868864001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783925570000,"timestamp_ms":1783925570000,"timestamp_seconds":1783925570,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a3ff9d0"} 
[2026-07-13 12:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684868864001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684868864001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:26:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:26:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684868864001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":130502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:26:11] local.INFO: GPS data processed {"connection_id":130502,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:26:11] local.INFO: Acknowledgment sent {"connection_id":130502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:26:34] local.INFO: TCP Data received {"connection_id":132643,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:26:34] local.INFO: Processing buffer {"connection_id":132643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:26:34] local.INFO: IMEI packet received {"connection_id":132643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":132643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:26:40] local.INFO: TCP Data received {"connection_id":132643,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:26:40] local.INFO: Processing buffer {"connection_id":132643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:26:40] local.INFO: IMEI packet received {"connection_id":132643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":132643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:26:41] local.INFO: TCP Data received {"connection_id":132643,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a3ff9d0012d7f914005afd9380010011b21..."} 
[2026-07-13 12:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a3ff9d0012d7f914005afd9380010011b21..."} 
[2026-07-13 12:26:41] local.INFO: Processing buffer {"connection_id":132643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a3ff9d0012d7f914005afd9380010011b21..."} 
[2026-07-13 12:26:41] local.INFO: Packet analysis {"connection_id":132643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a3f"} 
[2026-07-13 12:26:41] local.INFO: Extracted packet for processing {"connection_id":132643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a3f"} 
[2026-07-13 12:26:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684868864001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783925570000,"timestamp_ms":1783925570000,"timestamp_seconds":1783925570,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a3ff9d0"} 
[2026-07-13 12:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684868864001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684868864001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:26:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:26:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684868864001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":132643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:26:41] local.INFO: GPS data processed {"connection_id":132643,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:26:41] local.INFO: Acknowledgment sent {"connection_id":132643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:27:12] local.INFO: TCP Data received {"connection_id":132643,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a3ff9d0012d7f914005afd9380010011b21..."} 
[2026-07-13 12:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a3ff9d0012d7f914005afd9380010011b21..."} 
[2026-07-13 12:27:12] local.INFO: Processing buffer {"connection_id":132643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a3ff9d0012d7f914005afd9380010011b21..."} 
[2026-07-13 12:27:12] local.INFO: Packet analysis {"connection_id":132643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a3f"} 
[2026-07-13 12:27:12] local.INFO: Extracted packet for processing {"connection_id":132643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a3f"} 
[2026-07-13 12:27:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684868864001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783925570000,"timestamp_ms":1783925570000,"timestamp_seconds":1783925570,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a3ff9d0"} 
[2026-07-13 12:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684868864001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684868864001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:27:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:27:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684868864001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":132643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:27:12] local.INFO: GPS data processed {"connection_id":132643,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:27:12] local.INFO: Acknowledgment sent {"connection_id":132643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:27:34] local.INFO: TCP Data received {"connection_id":132644,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:27:34] local.INFO: Processing buffer {"connection_id":132644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:27:34] local.INFO: IMEI packet received {"connection_id":132644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":132644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:27:40] local.INFO: TCP Data received {"connection_id":132644,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:27:40] local.INFO: Processing buffer {"connection_id":132644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:27:40] local.INFO: IMEI packet received {"connection_id":132644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":132644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:27:40] local.INFO: TCP Data received {"connection_id":132644,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a3ff9d0012d7f914005afd9380010011b21..."} 
[2026-07-13 12:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a3ff9d0012d7f914005afd9380010011b21..."} 
[2026-07-13 12:27:40] local.INFO: Processing buffer {"connection_id":132644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a3ff9d0012d7f914005afd9380010011b21..."} 
[2026-07-13 12:27:40] local.INFO: Packet analysis {"connection_id":132644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a3f"} 
[2026-07-13 12:27:40] local.INFO: Extracted packet for processing {"connection_id":132644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a3f"} 
[2026-07-13 12:27:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684868864001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783925570000,"timestamp_ms":1783925570000,"timestamp_seconds":1783925570,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a3ff9d0"} 
[2026-07-13 12:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:27: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-07-13 12:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684868864001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684868864001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:27:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:27:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684868864001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":132644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:27:40] local.INFO: GPS data processed {"connection_id":132644,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:27:40] local.INFO: Acknowledgment sent {"connection_id":132644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:28:12] local.INFO: TCP Data received {"connection_id":132644,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a3ff9d0012d7f914005afd9380010011b21..."} 
[2026-07-13 12:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a3ff9d0012d7f914005afd9380010011b21..."} 
[2026-07-13 12:28:12] local.INFO: Processing buffer {"connection_id":132644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a3ff9d0012d7f914005afd9380010011b21..."} 
[2026-07-13 12:28:12] local.INFO: Packet analysis {"connection_id":132644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a3f"} 
[2026-07-13 12:28:12] local.INFO: Extracted packet for processing {"connection_id":132644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a3f"} 
[2026-07-13 12:28:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684868864001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783925570000,"timestamp_ms":1783925570000,"timestamp_seconds":1783925570,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a3ff9d0"} 
[2026-07-13 12:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684868864001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684868864001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:28:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:28:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684868864001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":132644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:28:12] local.INFO: GPS data processed {"connection_id":132644,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:28:12] local.INFO: Acknowledgment sent {"connection_id":132644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:28:40] local.INFO: TCP Data received {"connection_id":130503,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:28:40] local.INFO: Processing buffer {"connection_id":130503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:28:40] local.INFO: IMEI packet received {"connection_id":130503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":130503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:28:45] local.INFO: TCP Data received {"connection_id":130503,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:28:45] local.INFO: Processing buffer {"connection_id":130503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:28:45] local.INFO: IMEI packet received {"connection_id":130503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":130503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:28:46] local.INFO: TCP Data received {"connection_id":130503,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a449198012d7f914005afd9380011011b22..."} 
[2026-07-13 12:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a449198012d7f914005afd9380011011b22..."} 
[2026-07-13 12:28:46] local.INFO: Processing buffer {"connection_id":130503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a449198012d7f914005afd9380011011b22..."} 
[2026-07-13 12:28:46] local.INFO: Packet analysis {"connection_id":130503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a44"} 
[2026-07-13 12:28:46] local.INFO: Extracted packet for processing {"connection_id":130503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a44"} 
[2026-07-13 12:28:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684945920001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783925871000,"timestamp_ms":1783925871000,"timestamp_seconds":1783925871,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a449198"} 
[2026-07-13 12:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684945920001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684945920001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:28:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:28:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684945920001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":130503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:28:46] local.INFO: GPS data processed {"connection_id":130503,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:28:46] local.INFO: Acknowledgment sent {"connection_id":130503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:28:50] local.INFO: TCP Data received {"connection_id":130503,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a449198012d7f914005afd9380011011b22..."} 
[2026-07-13 12:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a449198012d7f914005afd9380011011b22..."} 
[2026-07-13 12:28:50] local.INFO: Processing buffer {"connection_id":130503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a449198012d7f914005afd9380011011b22..."} 
[2026-07-13 12:28:50] local.INFO: Packet analysis {"connection_id":130503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a44"} 
[2026-07-13 12:28:50] local.INFO: Extracted packet for processing {"connection_id":130503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a44"} 
[2026-07-13 12:28:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12: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-07-13 12:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684945920001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783925871000,"timestamp_ms":1783925871000,"timestamp_seconds":1783925871,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a449198"} 
[2026-07-13 12:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:28: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-07-13 12: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-07-13 12:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684945920001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684945920001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:28:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:28:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684945920001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":130503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:28:50] local.INFO: GPS data processed {"connection_id":130503,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:28:50] local.INFO: Acknowledgment sent {"connection_id":130503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:29:34] local.INFO: TCP Data received {"connection_id":131314,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:29:34] local.INFO: Processing buffer {"connection_id":131314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:29:34] local.INFO: IMEI packet received {"connection_id":131314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":131314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:29:40] local.INFO: TCP Data received {"connection_id":131314,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:29:40] local.INFO: Processing buffer {"connection_id":131314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:29:40] local.INFO: IMEI packet received {"connection_id":131314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":131314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:29:41] local.INFO: TCP Data received {"connection_id":131314,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a449198012d7f914005afd9380011011b22..."} 
[2026-07-13 12:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a449198012d7f914005afd9380011011b22..."} 
[2026-07-13 12:29:41] local.INFO: Processing buffer {"connection_id":131314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a449198012d7f914005afd9380011011b22..."} 
[2026-07-13 12:29:41] local.INFO: Packet analysis {"connection_id":131314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a44"} 
[2026-07-13 12:29:41] local.INFO: Extracted packet for processing {"connection_id":131314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a44"} 
[2026-07-13 12:29:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684945920001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783925871000,"timestamp_ms":1783925871000,"timestamp_seconds":1783925871,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a449198"} 
[2026-07-13 12:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684945920001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684945920001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:29:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:29:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684945920001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":131314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:29:41] local.INFO: GPS data processed {"connection_id":131314,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:29:41] local.INFO: Acknowledgment sent {"connection_id":131314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:30:12] local.INFO: TCP Data received {"connection_id":131314,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a449198012d7f914005afd9380011011b22..."} 
[2026-07-13 12:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a449198012d7f914005afd9380011011b22..."} 
[2026-07-13 12:30:12] local.INFO: Processing buffer {"connection_id":131314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a449198012d7f914005afd9380011011b22..."} 
[2026-07-13 12:30:12] local.INFO: Packet analysis {"connection_id":131314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a44"} 
[2026-07-13 12:30:12] local.INFO: Extracted packet for processing {"connection_id":131314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a44"} 
[2026-07-13 12:30:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684945920001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783925871000,"timestamp_ms":1783925871000,"timestamp_seconds":1783925871,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a449198"} 
[2026-07-13 12:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684945920001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684945920001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:30:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:30:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684945920001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":131314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:30:12] local.INFO: GPS data processed {"connection_id":131314,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:30:12] local.INFO: Acknowledgment sent {"connection_id":131314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:30:34] local.INFO: TCP Data received {"connection_id":130504,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:30:34] local.INFO: Processing buffer {"connection_id":130504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:30:34] local.INFO: IMEI packet received {"connection_id":130504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":130504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:30:40] local.INFO: TCP Data received {"connection_id":130504,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:30:40] local.INFO: Processing buffer {"connection_id":130504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:30:40] local.INFO: IMEI packet received {"connection_id":130504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":130504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:30:40] local.INFO: TCP Data received {"connection_id":130504,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a449198012d7f914005afd9380011011b22..."} 
[2026-07-13 12:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a449198012d7f914005afd9380011011b22..."} 
[2026-07-13 12:30:40] local.INFO: Processing buffer {"connection_id":130504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a449198012d7f914005afd9380011011b22..."} 
[2026-07-13 12:30:40] local.INFO: Packet analysis {"connection_id":130504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a44"} 
[2026-07-13 12:30:40] local.INFO: Extracted packet for processing {"connection_id":130504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a44"} 
[2026-07-13 12:30:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684945920001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783925871000,"timestamp_ms":1783925871000,"timestamp_seconds":1783925871,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a449198"} 
[2026-07-13 12:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:30: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-07-13 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684945920001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684945920001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:30:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:30:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684945920001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":130504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:30:40] local.INFO: GPS data processed {"connection_id":130504,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:30:40] local.INFO: Acknowledgment sent {"connection_id":130504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:31:11] local.INFO: TCP Data received {"connection_id":130504,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a449198012d7f914005afd9380011011b22..."} 
[2026-07-13 12:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a449198012d7f914005afd9380011011b22..."} 
[2026-07-13 12:31:11] local.INFO: Processing buffer {"connection_id":130504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a449198012d7f914005afd9380011011b22..."} 
[2026-07-13 12:31:11] local.INFO: Packet analysis {"connection_id":130504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a44"} 
[2026-07-13 12:31:11] local.INFO: Extracted packet for processing {"connection_id":130504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a44"} 
[2026-07-13 12:31:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684945920001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783925871000,"timestamp_ms":1783925871000,"timestamp_seconds":1783925871,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a449198"} 
[2026-07-13 12:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684945920001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684945920001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:31:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:31:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684945920001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":130504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:31:11] local.INFO: GPS data processed {"connection_id":130504,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:31:11] local.INFO: Acknowledgment sent {"connection_id":130504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:31:15] local.INFO: TCP Data received {"connection_id":130505,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130505,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:31:15] local.INFO: Processing buffer {"connection_id":130505,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:31:15] local.INFO: IMEI packet received {"connection_id":130505,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 12:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":130505,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:31:34] local.INFO: TCP Data received {"connection_id":130506,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:31:34] local.INFO: Processing buffer {"connection_id":130506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:31:34] local.INFO: IMEI packet received {"connection_id":130506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":130506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:31:40] local.INFO: TCP Data received {"connection_id":130506,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:31:40] local.INFO: Processing buffer {"connection_id":130506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:31:40] local.INFO: IMEI packet received {"connection_id":130506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":130506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:31:40] local.INFO: TCP Data received {"connection_id":130292,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130292,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:31:40] local.INFO: Processing buffer {"connection_id":130292,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:31:40] local.INFO: IMEI packet received {"connection_id":130292,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 12:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":130292,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:31:40] local.INFO: TCP Data received {"connection_id":130506,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a449198012d7f914005afd9380011011b22..."} 
[2026-07-13 12:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a449198012d7f914005afd9380011011b22..."} 
[2026-07-13 12:31:40] local.INFO: Processing buffer {"connection_id":130506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a449198012d7f914005afd9380011011b22..."} 
[2026-07-13 12:31:40] local.INFO: Packet analysis {"connection_id":130506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a44"} 
[2026-07-13 12:31:40] local.INFO: Extracted packet for processing {"connection_id":130506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a44"} 
[2026-07-13 12:31:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684945920001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783925871000,"timestamp_ms":1783925871000,"timestamp_seconds":1783925871,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a449198"} 
[2026-07-13 12:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:31: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-07-13 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684945920001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684945920001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:31:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:31:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684945920001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":130506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:31:40] local.INFO: GPS data processed {"connection_id":130506,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:31:40] local.INFO: Acknowledgment sent {"connection_id":130506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:32:13] local.INFO: TCP Data received {"connection_id":130506,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a449198012d7f914005afd9380011011b22..."} 
[2026-07-13 12:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a449198012d7f914005afd9380011011b22..."} 
[2026-07-13 12:32:13] local.INFO: Processing buffer {"connection_id":130506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a449198012d7f914005afd9380011011b22..."} 
[2026-07-13 12:32:13] local.INFO: Packet analysis {"connection_id":130506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a44"} 
[2026-07-13 12:32:13] local.INFO: Extracted packet for processing {"connection_id":130506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a44"} 
[2026-07-13 12:32:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684945920001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783925871000,"timestamp_ms":1783925871000,"timestamp_seconds":1783925871,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a449198"} 
[2026-07-13 12:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684945920001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684945920001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:32:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:32:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684945920001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":130506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:32:13] local.INFO: GPS data processed {"connection_id":130506,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:32:13] local.INFO: Acknowledgment sent {"connection_id":130506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:32:40] local.INFO: TCP Data received {"connection_id":132645,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:32:40] local.INFO: Processing buffer {"connection_id":132645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:32:40] local.INFO: IMEI packet received {"connection_id":132645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":132645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:32:45] local.INFO: TCP Data received {"connection_id":132645,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:32:45] local.INFO: Processing buffer {"connection_id":132645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:32:45] local.INFO: IMEI packet received {"connection_id":132645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":132645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:32:45] local.INFO: TCP Data received {"connection_id":132645,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a449198012d7f914005afd9380011011b22..."} 
[2026-07-13 12:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a449198012d7f914005afd9380011011b22..."} 
[2026-07-13 12:32:45] local.INFO: Processing buffer {"connection_id":132645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a449198012d7f914005afd9380011011b22..."} 
[2026-07-13 12:32:45] local.INFO: Packet analysis {"connection_id":132645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a44"} 
[2026-07-13 12:32:45] local.INFO: Extracted packet for processing {"connection_id":132645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a44"} 
[2026-07-13 12:32:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684945920001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783925871000,"timestamp_ms":1783925871000,"timestamp_seconds":1783925871,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a449198"} 
[2026-07-13 12:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684945920001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684945920001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:32:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:32:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684945920001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":132645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:32:45] local.INFO: GPS data processed {"connection_id":132645,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:32:45] local.INFO: Acknowledgment sent {"connection_id":132645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:32:50] local.INFO: TCP Data received {"connection_id":132645,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a449198012d7f914005afd9380011011b22..."} 
[2026-07-13 12:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a449198012d7f914005afd9380011011b22..."} 
[2026-07-13 12:32:50] local.INFO: Processing buffer {"connection_id":132645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a449198012d7f914005afd9380011011b22..."} 
[2026-07-13 12:32:50] local.INFO: Packet analysis {"connection_id":132645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a44"} 
[2026-07-13 12:32:50] local.INFO: Extracted packet for processing {"connection_id":132645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a44"} 
[2026-07-13 12:32:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12: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-07-13 12:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684945920001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783925871000,"timestamp_ms":1783925871000,"timestamp_seconds":1783925871,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a449198"} 
[2026-07-13 12:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12: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":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:32: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-07-13 12: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-07-13 12:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":132645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":132645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":132645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684945920001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684945920001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:32:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:32:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684945920001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":132645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:32:50] local.INFO: GPS data processed {"connection_id":132645,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:32:50] local.INFO: Acknowledgment sent {"connection_id":132645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:33:40] local.INFO: TCP Data received {"connection_id":130294,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:33:40] local.INFO: Processing buffer {"connection_id":130294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:33:40] local.INFO: IMEI packet received {"connection_id":130294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":130294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:33:45] local.INFO: TCP Data received {"connection_id":130294,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:33:45] local.INFO: Processing buffer {"connection_id":130294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:33:45] local.INFO: IMEI packet received {"connection_id":130294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":130294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:33:45] local.INFO: TCP Data received {"connection_id":130294,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a492960012d7f914005afd9380011011b24..."} 
[2026-07-13 12:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a492960012d7f914005afd9380011011b24..."} 
[2026-07-13 12:33:45] local.INFO: Processing buffer {"connection_id":130294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a492960012d7f914005afd9380011011b24..."} 
[2026-07-13 12:33:45] local.INFO: Packet analysis {"connection_id":130294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a49"} 
[2026-07-13 12:33:45] local.INFO: Extracted packet for processing {"connection_id":130294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a49"} 
[2026-07-13 12:33:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12: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-07-13 12:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685022976001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783926172000,"timestamp_ms":1783926172000,"timestamp_seconds":1783926172,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a492960"} 
[2026-07-13 12:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12: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-07-13 12:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685022976001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685022976001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:33:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:33:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685022976001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":130294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:33:45] local.INFO: GPS data processed {"connection_id":130294,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:33:45] local.INFO: Acknowledgment sent {"connection_id":130294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:34:16] local.INFO: TCP Data received {"connection_id":130294,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a492960012d7f914005afd9380011011b24..."} 
[2026-07-13 12:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a492960012d7f914005afd9380011011b24..."} 
[2026-07-13 12:34:16] local.INFO: Processing buffer {"connection_id":130294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a492960012d7f914005afd9380011011b24..."} 
[2026-07-13 12:34:16] local.INFO: Packet analysis {"connection_id":130294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a49"} 
[2026-07-13 12:34:16] local.INFO: Extracted packet for processing {"connection_id":130294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a49"} 
[2026-07-13 12:34:16] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685022976001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783926172000,"timestamp_ms":1783926172000,"timestamp_seconds":1783926172,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a492960"} 
[2026-07-13 12:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685022976001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685022976001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:34:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:34:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685022976001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":130294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:34:16] local.INFO: GPS data processed {"connection_id":130294,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:34:16] local.INFO: Acknowledgment sent {"connection_id":130294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:34:35] local.INFO: TCP Data received {"connection_id":130507,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:34:35] local.INFO: Processing buffer {"connection_id":130507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:34:35] local.INFO: IMEI packet received {"connection_id":130507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":130507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:34:40] local.INFO: TCP Data received {"connection_id":130507,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:34:40] local.INFO: Processing buffer {"connection_id":130507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:34:40] local.INFO: IMEI packet received {"connection_id":130507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":130507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:34:40] local.INFO: TCP Data received {"connection_id":130507,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a492960012d7f914005afd9380011011b24..."} 
[2026-07-13 12:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a492960012d7f914005afd9380011011b24..."} 
[2026-07-13 12:34:40] local.INFO: Processing buffer {"connection_id":130507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a492960012d7f914005afd9380011011b24..."} 
[2026-07-13 12:34:40] local.INFO: Packet analysis {"connection_id":130507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a49"} 
[2026-07-13 12:34:40] local.INFO: Extracted packet for processing {"connection_id":130507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a49"} 
[2026-07-13 12:34:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685022976001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783926172000,"timestamp_ms":1783926172000,"timestamp_seconds":1783926172,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a492960"} 
[2026-07-13 12:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:34: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-07-13 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685022976001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685022976001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:34:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:34:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685022976001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":130507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:34:40] local.INFO: GPS data processed {"connection_id":130507,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:34:40] local.INFO: Acknowledgment sent {"connection_id":130507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:35:12] local.INFO: TCP Data received {"connection_id":130507,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a492960012d7f914005afd9380011011b24..."} 
[2026-07-13 12:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a492960012d7f914005afd9380011011b24..."} 
[2026-07-13 12:35:12] local.INFO: Processing buffer {"connection_id":130507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a492960012d7f914005afd9380011011b24..."} 
[2026-07-13 12:35:12] local.INFO: Packet analysis {"connection_id":130507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a49"} 
[2026-07-13 12:35:12] local.INFO: Extracted packet for processing {"connection_id":130507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a49"} 
[2026-07-13 12:35:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685022976001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783926172000,"timestamp_ms":1783926172000,"timestamp_seconds":1783926172,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a492960"} 
[2026-07-13 12:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685022976001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685022976001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:35:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:35:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685022976001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":130507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:35:12] local.INFO: GPS data processed {"connection_id":130507,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:35:12] local.INFO: Acknowledgment sent {"connection_id":130507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:35:34] local.INFO: TCP Data received {"connection_id":131318,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:35:34] local.INFO: Processing buffer {"connection_id":131318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:35:34] local.INFO: IMEI packet received {"connection_id":131318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":131318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:35:40] local.INFO: TCP Data received {"connection_id":131318,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:35:40] local.INFO: Processing buffer {"connection_id":131318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:35:40] local.INFO: IMEI packet received {"connection_id":131318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":131318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:35:41] local.INFO: TCP Data received {"connection_id":131318,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a492960012d7f914005afd9380011011b24..."} 
[2026-07-13 12:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a492960012d7f914005afd9380011011b24..."} 
[2026-07-13 12:35:41] local.INFO: Processing buffer {"connection_id":131318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a492960012d7f914005afd9380011011b24..."} 
[2026-07-13 12:35:41] local.INFO: Packet analysis {"connection_id":131318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a49"} 
[2026-07-13 12:35:41] local.INFO: Extracted packet for processing {"connection_id":131318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a49"} 
[2026-07-13 12:35:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685022976001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783926172000,"timestamp_ms":1783926172000,"timestamp_seconds":1783926172,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a492960"} 
[2026-07-13 12:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685022976001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685022976001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:35:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:35:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685022976001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":131318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:35:41] local.INFO: GPS data processed {"connection_id":131318,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:35:41] local.INFO: Acknowledgment sent {"connection_id":131318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:36:13] local.INFO: TCP Data received {"connection_id":131318,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a492960012d7f914005afd9380011011b24..."} 
[2026-07-13 12:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a492960012d7f914005afd9380011011b24..."} 
[2026-07-13 12:36:13] local.INFO: Processing buffer {"connection_id":131318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a492960012d7f914005afd9380011011b24..."} 
[2026-07-13 12:36:13] local.INFO: Packet analysis {"connection_id":131318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a49"} 
[2026-07-13 12:36:13] local.INFO: Extracted packet for processing {"connection_id":131318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a49"} 
[2026-07-13 12:36:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685022976001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783926172000,"timestamp_ms":1783926172000,"timestamp_seconds":1783926172,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a492960"} 
[2026-07-13 12:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685022976001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685022976001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:36:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:36:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685022976001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":131318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:36:13] local.INFO: GPS data processed {"connection_id":131318,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:36:13] local.INFO: Acknowledgment sent {"connection_id":131318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:36:34] local.INFO: TCP Data received {"connection_id":132647,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:36:34] local.INFO: Processing buffer {"connection_id":132647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:36:34] local.INFO: IMEI packet received {"connection_id":132647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":132647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:36:40] local.INFO: TCP Data received {"connection_id":132647,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:36:40] local.INFO: Processing buffer {"connection_id":132647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:36:40] local.INFO: IMEI packet received {"connection_id":132647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":132647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:36:41] local.INFO: TCP Data received {"connection_id":132647,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a492960012d7f914005afd9380011011b24..."} 
[2026-07-13 12:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a492960012d7f914005afd9380011011b24..."} 
[2026-07-13 12:36:41] local.INFO: Processing buffer {"connection_id":132647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a492960012d7f914005afd9380011011b24..."} 
[2026-07-13 12:36:41] local.INFO: Packet analysis {"connection_id":132647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a49"} 
[2026-07-13 12:36:41] local.INFO: Extracted packet for processing {"connection_id":132647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a49"} 
[2026-07-13 12:36:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685022976001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783926172000,"timestamp_ms":1783926172000,"timestamp_seconds":1783926172,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a492960"} 
[2026-07-13 12:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685022976001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685022976001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:36:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685022976001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":132647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:36:41] local.INFO: GPS data processed {"connection_id":132647,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:36:41] local.INFO: Acknowledgment sent {"connection_id":132647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:37:05] local.INFO: TCP Data received {"connection_id":132648,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132648,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:37:05] local.INFO: Processing buffer {"connection_id":132648,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:37:05] local.INFO: IMEI packet received {"connection_id":132648,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 12:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":132648,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:37:12] local.INFO: TCP Data received {"connection_id":132647,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a492960012d7f914005afd9380011011b24..."} 
[2026-07-13 12:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a492960012d7f914005afd9380011011b24..."} 
[2026-07-13 12:37:12] local.INFO: Processing buffer {"connection_id":132647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a492960012d7f914005afd9380011011b24..."} 
[2026-07-13 12:37:12] local.INFO: Packet analysis {"connection_id":132647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a49"} 
[2026-07-13 12:37:12] local.INFO: Extracted packet for processing {"connection_id":132647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a49"} 
[2026-07-13 12:37:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685022976001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783926172000,"timestamp_ms":1783926172000,"timestamp_seconds":1783926172,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a492960"} 
[2026-07-13 12:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685022976001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685022976001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:37:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:37:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685022976001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":132647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:37:12] local.INFO: GPS data processed {"connection_id":132647,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:37:12] local.INFO: Acknowledgment sent {"connection_id":132647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:37:35] local.INFO: TCP Data received {"connection_id":130508,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:37:35] local.INFO: Processing buffer {"connection_id":130508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:37:35] local.INFO: IMEI packet received {"connection_id":130508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":130508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:37:40] local.INFO: TCP Data received {"connection_id":130508,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:37:40] local.INFO: Processing buffer {"connection_id":130508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:37:40] local.INFO: IMEI packet received {"connection_id":130508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":130508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:37:40] local.INFO: TCP Data received {"connection_id":130508,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a492960012d7f914005afd9380011011b24..."} 
[2026-07-13 12:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a492960012d7f914005afd9380011011b24..."} 
[2026-07-13 12:37:40] local.INFO: Processing buffer {"connection_id":130508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a492960012d7f914005afd9380011011b24..."} 
[2026-07-13 12:37:40] local.INFO: Packet analysis {"connection_id":130508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a49"} 
[2026-07-13 12:37:40] local.INFO: Extracted packet for processing {"connection_id":130508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a49"} 
[2026-07-13 12:37:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685022976001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783926172000,"timestamp_ms":1783926172000,"timestamp_seconds":1783926172,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a492960"} 
[2026-07-13 12:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:37: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-07-13 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685022976001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685022976001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:37:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:37:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685022976001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":130508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:37:40] local.INFO: GPS data processed {"connection_id":130508,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:37:40] local.INFO: Acknowledgment sent {"connection_id":130508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:37:45] local.INFO: TCP Data received {"connection_id":131319,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131319,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:37:45] local.INFO: Processing buffer {"connection_id":131319,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:37:45] local.INFO: IMEI packet received {"connection_id":131319,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 12:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":131319,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:38:12] local.INFO: TCP Data received {"connection_id":130508,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a492960012d7f914005afd9380011011b24..."} 
[2026-07-13 12:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a492960012d7f914005afd9380011011b24..."} 
[2026-07-13 12:38:12] local.INFO: Processing buffer {"connection_id":130508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a492960012d7f914005afd9380011011b24..."} 
[2026-07-13 12:38:12] local.INFO: Packet analysis {"connection_id":130508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a49"} 
[2026-07-13 12:38:12] local.INFO: Extracted packet for processing {"connection_id":130508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a49"} 
[2026-07-13 12:38:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685022976001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783926172000,"timestamp_ms":1783926172000,"timestamp_seconds":1783926172,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a492960"} 
[2026-07-13 12:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685022976001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685022976001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:38:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:38:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685022976001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":130508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:38:12] local.INFO: GPS data processed {"connection_id":130508,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:38:12] local.INFO: Acknowledgment sent {"connection_id":130508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:38:40] local.INFO: TCP Data received {"connection_id":131320,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:38:40] local.INFO: Processing buffer {"connection_id":131320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:38:40] local.INFO: IMEI packet received {"connection_id":131320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":131320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:38:45] local.INFO: TCP Data received {"connection_id":131320,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:38:45] local.INFO: Processing buffer {"connection_id":131320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:38:45] local.INFO: IMEI packet received {"connection_id":131320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":131320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:38:46] local.INFO: TCP Data received {"connection_id":131320,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a4dc128012d7f914005afd9380011011b22..."} 
[2026-07-13 12:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a4dc128012d7f914005afd9380011011b22..."} 
[2026-07-13 12:38:46] local.INFO: Processing buffer {"connection_id":131320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a4dc128012d7f914005afd9380011011b22..."} 
[2026-07-13 12:38:46] local.INFO: Packet analysis {"connection_id":131320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a4d"} 
[2026-07-13 12:38:46] local.INFO: Extracted packet for processing {"connection_id":131320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a4d"} 
[2026-07-13 12:38:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685100032001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783926473000,"timestamp_ms":1783926473000,"timestamp_seconds":1783926473,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a4dc128"} 
[2026-07-13 12:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685100032001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685100032001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:38:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:38:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685100032001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":131320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:38:46] local.INFO: GPS data processed {"connection_id":131320,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:38:46] local.INFO: Acknowledgment sent {"connection_id":131320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:38:52] local.INFO: TCP Data received {"connection_id":131320,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a4dc128012d7f914005afd9380011011b22..."} 
[2026-07-13 12:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a4dc128012d7f914005afd9380011011b22..."} 
[2026-07-13 12:38:52] local.INFO: Processing buffer {"connection_id":131320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a4dc128012d7f914005afd9380011011b22..."} 
[2026-07-13 12:38:52] local.INFO: Packet analysis {"connection_id":131320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a4d"} 
[2026-07-13 12:38:52] local.INFO: Extracted packet for processing {"connection_id":131320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a4d"} 
[2026-07-13 12:38:52] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12: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-07-13 12:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685100032001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783926473000,"timestamp_ms":1783926473000,"timestamp_seconds":1783926473,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a4dc128"} 
[2026-07-13 12:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:38:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12: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-07-13 12:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":131320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":131320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":131320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685100032001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685100032001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:38:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:38:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685100032001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":131320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:38:52] local.INFO: GPS data processed {"connection_id":131320,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:38:52] local.INFO: Acknowledgment sent {"connection_id":131320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:39:34] local.INFO: TCP Data received {"connection_id":130296,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:39:34] local.INFO: Processing buffer {"connection_id":130296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:39:34] local.INFO: IMEI packet received {"connection_id":130296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":130296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:39:40] local.INFO: TCP Data received {"connection_id":130296,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:39:40] local.INFO: Processing buffer {"connection_id":130296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:39:40] local.INFO: IMEI packet received {"connection_id":130296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":130296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:39:40] local.INFO: TCP Data received {"connection_id":130296,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a4dc128012d7f914005afd9380011011b22..."} 
[2026-07-13 12:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a4dc128012d7f914005afd9380011011b22..."} 
[2026-07-13 12:39:40] local.INFO: Processing buffer {"connection_id":130296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a4dc128012d7f914005afd9380011011b22..."} 
[2026-07-13 12:39:40] local.INFO: Packet analysis {"connection_id":130296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a4d"} 
[2026-07-13 12:39:40] local.INFO: Extracted packet for processing {"connection_id":130296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a4d"} 
[2026-07-13 12:39:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685100032001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783926473000,"timestamp_ms":1783926473000,"timestamp_seconds":1783926473,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a4dc128"} 
[2026-07-13 12:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:39: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-07-13 12:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685100032001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685100032001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:39:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:39:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685100032001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":130296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:39:41] local.INFO: GPS data processed {"connection_id":130296,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:39:41] local.INFO: Acknowledgment sent {"connection_id":130296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:40:12] local.INFO: TCP Data received {"connection_id":130296,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a4dc128012d7f914005afd9380011011b22..."} 
[2026-07-13 12:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a4dc128012d7f914005afd9380011011b22..."} 
[2026-07-13 12:40:12] local.INFO: Processing buffer {"connection_id":130296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a4dc128012d7f914005afd9380011011b22..."} 
[2026-07-13 12:40:12] local.INFO: Packet analysis {"connection_id":130296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a4d"} 
[2026-07-13 12:40:12] local.INFO: Extracted packet for processing {"connection_id":130296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a4d"} 
[2026-07-13 12:40:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685100032001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783926473000,"timestamp_ms":1783926473000,"timestamp_seconds":1783926473,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a4dc128"} 
[2026-07-13 12:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685100032001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685100032001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:40:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:40:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685100032001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":130296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:40:12] local.INFO: GPS data processed {"connection_id":130296,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:40:12] local.INFO: Acknowledgment sent {"connection_id":130296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:40:34] local.INFO: TCP Data received {"connection_id":130510,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:40:34] local.INFO: Processing buffer {"connection_id":130510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:40:34] local.INFO: IMEI packet received {"connection_id":130510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":130510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:40:40] local.INFO: TCP Data received {"connection_id":130510,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:40:40] local.INFO: Processing buffer {"connection_id":130510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:40:40] local.INFO: IMEI packet received {"connection_id":130510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":130510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:40:40] local.INFO: TCP Data received {"connection_id":130510,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a4dc128012d7f914005afd9380011011b22..."} 
[2026-07-13 12:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a4dc128012d7f914005afd9380011011b22..."} 
[2026-07-13 12:40:40] local.INFO: Processing buffer {"connection_id":130510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a4dc128012d7f914005afd9380011011b22..."} 
[2026-07-13 12:40:40] local.INFO: Packet analysis {"connection_id":130510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a4d"} 
[2026-07-13 12:40:40] local.INFO: Extracted packet for processing {"connection_id":130510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a4d"} 
[2026-07-13 12:40:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685100032001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783926473000,"timestamp_ms":1783926473000,"timestamp_seconds":1783926473,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a4dc128"} 
[2026-07-13 12:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:40: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-07-13 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685100032001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685100032001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:40:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:40:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685100032001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":130510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:40:41] local.INFO: GPS data processed {"connection_id":130510,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:40:41] local.INFO: Acknowledgment sent {"connection_id":130510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:41:12] local.INFO: TCP Data received {"connection_id":130510,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a4dc128012d7f914005afd9380011011b22..."} 
[2026-07-13 12:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a4dc128012d7f914005afd9380011011b22..."} 
[2026-07-13 12:41:12] local.INFO: Processing buffer {"connection_id":130510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a4dc128012d7f914005afd9380011011b22..."} 
[2026-07-13 12:41:12] local.INFO: Packet analysis {"connection_id":130510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a4d"} 
[2026-07-13 12:41:12] local.INFO: Extracted packet for processing {"connection_id":130510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a4d"} 
[2026-07-13 12:41:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685100032001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783926473000,"timestamp_ms":1783926473000,"timestamp_seconds":1783926473,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a4dc128"} 
[2026-07-13 12:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685100032001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685100032001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:41:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:41:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685100032001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":130510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:41:12] local.INFO: GPS data processed {"connection_id":130510,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:41:12] local.INFO: Acknowledgment sent {"connection_id":130510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:41:34] local.INFO: TCP Data received {"connection_id":132649,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:41:34] local.INFO: Processing buffer {"connection_id":132649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:41:34] local.INFO: IMEI packet received {"connection_id":132649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":132649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:41:40] local.INFO: TCP Data received {"connection_id":132649,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:41:40] local.INFO: Processing buffer {"connection_id":132649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:41:40] local.INFO: IMEI packet received {"connection_id":132649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":132649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:41:41] local.INFO: TCP Data received {"connection_id":132649,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a4dc128012d7f914005afd9380011011b22..."} 
[2026-07-13 12:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a4dc128012d7f914005afd9380011011b22..."} 
[2026-07-13 12:41:41] local.INFO: Processing buffer {"connection_id":132649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a4dc128012d7f914005afd9380011011b22..."} 
[2026-07-13 12:41:41] local.INFO: Packet analysis {"connection_id":132649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a4d"} 
[2026-07-13 12:41:41] local.INFO: Extracted packet for processing {"connection_id":132649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a4d"} 
[2026-07-13 12:41:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685100032001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783926473000,"timestamp_ms":1783926473000,"timestamp_seconds":1783926473,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a4dc128"} 
[2026-07-13 12:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685100032001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685100032001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:41:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:41:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685100032001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":132649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:41:41] local.INFO: GPS data processed {"connection_id":132649,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:41:41] local.INFO: Acknowledgment sent {"connection_id":132649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:42:12] local.INFO: TCP Data received {"connection_id":132649,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a4dc128012d7f914005afd9380011011b22..."} 
[2026-07-13 12:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a4dc128012d7f914005afd9380011011b22..."} 
[2026-07-13 12:42:12] local.INFO: Processing buffer {"connection_id":132649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a4dc128012d7f914005afd9380011011b22..."} 
[2026-07-13 12:42:12] local.INFO: Packet analysis {"connection_id":132649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a4d"} 
[2026-07-13 12:42:12] local.INFO: Extracted packet for processing {"connection_id":132649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a4d"} 
[2026-07-13 12:42:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685100032001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783926473000,"timestamp_ms":1783926473000,"timestamp_seconds":1783926473,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a4dc128"} 
[2026-07-13 12:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685100032001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685100032001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:42:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:42:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685100032001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":132649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:42:12] local.INFO: GPS data processed {"connection_id":132649,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:42:12] local.INFO: Acknowledgment sent {"connection_id":132649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:42:40] local.INFO: TCP Data received {"connection_id":130511,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:42:40] local.INFO: Processing buffer {"connection_id":130511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:42:40] local.INFO: IMEI packet received {"connection_id":130511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":130511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:42:45] local.INFO: TCP Data received {"connection_id":130511,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:42:45] local.INFO: Processing buffer {"connection_id":130511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:42:45] local.INFO: IMEI packet received {"connection_id":130511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":130511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:42:45] local.INFO: TCP Data received {"connection_id":130511,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a4dc128012d7f914005afd9380011011b22..."} 
[2026-07-13 12:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a4dc128012d7f914005afd9380011011b22..."} 
[2026-07-13 12:42:45] local.INFO: Processing buffer {"connection_id":130511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a4dc128012d7f914005afd9380011011b22..."} 
[2026-07-13 12:42:45] local.INFO: Packet analysis {"connection_id":130511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a4d"} 
[2026-07-13 12:42:45] local.INFO: Extracted packet for processing {"connection_id":130511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a4d"} 
[2026-07-13 12:42:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685100032001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783926473000,"timestamp_ms":1783926473000,"timestamp_seconds":1783926473,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a4dc128"} 
[2026-07-13 12:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685100032001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685100032001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:42:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:42:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685100032001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":130511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:42:45] local.INFO: GPS data processed {"connection_id":130511,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:42:45] local.INFO: Acknowledgment sent {"connection_id":130511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:42:50] local.INFO: TCP Data received {"connection_id":130511,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a4dc128012d7f914005afd9380011011b22..."} 
[2026-07-13 12:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a4dc128012d7f914005afd9380011011b22..."} 
[2026-07-13 12:42:50] local.INFO: Processing buffer {"connection_id":130511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a4dc128012d7f914005afd9380011011b22..."} 
[2026-07-13 12:42:50] local.INFO: Packet analysis {"connection_id":130511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a4d"} 
[2026-07-13 12:42:50] local.INFO: Extracted packet for processing {"connection_id":130511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a4d"} 
[2026-07-13 12:42:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 12:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685100032001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783926473000,"timestamp_ms":1783926473000,"timestamp_seconds":1783926473,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a4dc128"} 
[2026-07-13 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-07-13 12:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:42: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-07-13 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-07-13 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-07-13 12:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685100032001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685100032001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:42:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:42:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685100032001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":130511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:42:50] local.INFO: GPS data processed {"connection_id":130511,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:42:50] local.INFO: Acknowledgment sent {"connection_id":130511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:43:15] local.INFO: TCP Data received {"connection_id":131322,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131322,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:43:15] local.INFO: Processing buffer {"connection_id":131322,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:43:15] local.INFO: IMEI packet received {"connection_id":131322,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 12:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":131322,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:43:31] local.INFO: TCP Data received {"connection_id":130298,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:43:31] local.INFO: Processing buffer {"connection_id":130298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:43:31] local.INFO: IMEI packet received {"connection_id":130298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":130298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:43:34] local.INFO: TCP Data received {"connection_id":130298,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:43:34] local.INFO: Processing buffer {"connection_id":130298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:43:34] local.INFO: IMEI packet received {"connection_id":130298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":130298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:43:40] local.INFO: TCP Data received {"connection_id":130298,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:43:40] local.INFO: Processing buffer {"connection_id":130298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:43:40] local.INFO: IMEI packet received {"connection_id":130298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":130298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:43:40] local.INFO: TCP Data received {"connection_id":131323,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131323,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:43:40] local.INFO: Processing buffer {"connection_id":131323,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:43:40] local.INFO: IMEI packet received {"connection_id":131323,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 12:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":131323,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:43:40] local.INFO: TCP Data received {"connection_id":130298,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a5258f0012d7f914005afd9380011011b23..."} 
[2026-07-13 12:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a5258f0012d7f914005afd9380011011b23..."} 
[2026-07-13 12:43:40] local.INFO: Processing buffer {"connection_id":130298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a5258f0012d7f914005afd9380011011b23..."} 
[2026-07-13 12:43:40] local.INFO: Packet analysis {"connection_id":130298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a52"} 
[2026-07-13 12:43:40] local.INFO: Extracted packet for processing {"connection_id":130298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a52"} 
[2026-07-13 12:43:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685177088001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783926774000,"timestamp_ms":1783926774000,"timestamp_seconds":1783926774,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a5258f0"} 
[2026-07-13 12:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:43: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-07-13 12:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685177088001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685177088001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:43:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:43:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685177088001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":130298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:43:40] local.INFO: GPS data processed {"connection_id":130298,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:43:40] local.INFO: Acknowledgment sent {"connection_id":130298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:44:11] local.INFO: TCP Data received {"connection_id":130298,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a5258f0012d7f914005afd9380011011b23..."} 
[2026-07-13 12:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a5258f0012d7f914005afd9380011011b23..."} 
[2026-07-13 12:44:11] local.INFO: Processing buffer {"connection_id":130298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a5258f0012d7f914005afd9380011011b23..."} 
[2026-07-13 12:44:11] local.INFO: Packet analysis {"connection_id":130298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a52"} 
[2026-07-13 12:44:11] local.INFO: Extracted packet for processing {"connection_id":130298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a52"} 
[2026-07-13 12:44:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685177088001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783926774000,"timestamp_ms":1783926774000,"timestamp_seconds":1783926774,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a5258f0"} 
[2026-07-13 12:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685177088001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685177088001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:44:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:44:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685177088001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":130298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:44:11] local.INFO: GPS data processed {"connection_id":130298,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:44:11] local.INFO: Acknowledgment sent {"connection_id":130298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:44:35] local.INFO: TCP Data received {"connection_id":131324,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:44:35] local.INFO: Processing buffer {"connection_id":131324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:44:35] local.INFO: IMEI packet received {"connection_id":131324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":131324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:44:40] local.INFO: TCP Data received {"connection_id":131324,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:44:40] local.INFO: Processing buffer {"connection_id":131324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:44:40] local.INFO: IMEI packet received {"connection_id":131324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":131324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:44:40] local.INFO: TCP Data received {"connection_id":131324,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a5258f0012d7f914005afd9380011011b23..."} 
[2026-07-13 12:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a5258f0012d7f914005afd9380011011b23..."} 
[2026-07-13 12:44:40] local.INFO: Processing buffer {"connection_id":131324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a5258f0012d7f914005afd9380011011b23..."} 
[2026-07-13 12:44:40] local.INFO: Packet analysis {"connection_id":131324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a52"} 
[2026-07-13 12:44:40] local.INFO: Extracted packet for processing {"connection_id":131324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a52"} 
[2026-07-13 12:44:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685177088001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783926774000,"timestamp_ms":1783926774000,"timestamp_seconds":1783926774,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a5258f0"} 
[2026-07-13 12:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:44: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-07-13 12:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685177088001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685177088001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:44:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:44:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685177088001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":131324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:44:40] local.INFO: GPS data processed {"connection_id":131324,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:44:40] local.INFO: Acknowledgment sent {"connection_id":131324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:45:13] local.INFO: TCP Data received {"connection_id":131324,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a5258f0012d7f914005afd9380011011b23..."} 
[2026-07-13 12:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a5258f0012d7f914005afd9380011011b23..."} 
[2026-07-13 12:45:13] local.INFO: Processing buffer {"connection_id":131324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a5258f0012d7f914005afd9380011011b23..."} 
[2026-07-13 12:45:13] local.INFO: Packet analysis {"connection_id":131324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a52"} 
[2026-07-13 12:45:13] local.INFO: Extracted packet for processing {"connection_id":131324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a52"} 
[2026-07-13 12:45:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685177088001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783926774000,"timestamp_ms":1783926774000,"timestamp_seconds":1783926774,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a5258f0"} 
[2026-07-13 12:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685177088001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685177088001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:45:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:45:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685177088001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":131324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:45:13] local.INFO: GPS data processed {"connection_id":131324,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:45:13] local.INFO: Acknowledgment sent {"connection_id":131324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:45:34] local.INFO: TCP Data received {"connection_id":130512,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:45:34] local.INFO: Processing buffer {"connection_id":130512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:45:34] local.INFO: IMEI packet received {"connection_id":130512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":130512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:45:40] local.INFO: TCP Data received {"connection_id":130512,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:45:40] local.INFO: Processing buffer {"connection_id":130512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:45:40] local.INFO: IMEI packet received {"connection_id":130512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":130512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:45:40] local.INFO: TCP Data received {"connection_id":130512,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a5258f0012d7f914005afd9380011011b23..."} 
[2026-07-13 12:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a5258f0012d7f914005afd9380011011b23..."} 
[2026-07-13 12:45:40] local.INFO: Processing buffer {"connection_id":130512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a5258f0012d7f914005afd9380011011b23..."} 
[2026-07-13 12:45:40] local.INFO: Packet analysis {"connection_id":130512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a52"} 
[2026-07-13 12:45:40] local.INFO: Extracted packet for processing {"connection_id":130512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a52"} 
[2026-07-13 12:45:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685177088001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783926774000,"timestamp_ms":1783926774000,"timestamp_seconds":1783926774,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a5258f0"} 
[2026-07-13 12:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:45: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-07-13 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685177088001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685177088001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:45:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:45:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685177088001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":130512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:45:40] local.INFO: GPS data processed {"connection_id":130512,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:45:40] local.INFO: Acknowledgment sent {"connection_id":130512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:46:12] local.INFO: TCP Data received {"connection_id":130512,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a5258f0012d7f914005afd9380011011b23..."} 
[2026-07-13 12:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a5258f0012d7f914005afd9380011011b23..."} 
[2026-07-13 12:46:12] local.INFO: Processing buffer {"connection_id":130512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a5258f0012d7f914005afd9380011011b23..."} 
[2026-07-13 12:46:12] local.INFO: Packet analysis {"connection_id":130512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a52"} 
[2026-07-13 12:46:12] local.INFO: Extracted packet for processing {"connection_id":130512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a52"} 
[2026-07-13 12:46:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685177088001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783926774000,"timestamp_ms":1783926774000,"timestamp_seconds":1783926774,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a5258f0"} 
[2026-07-13 12:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685177088001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685177088001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:46:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:46:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685177088001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":130512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:46:12] local.INFO: GPS data processed {"connection_id":130512,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:46:12] local.INFO: Acknowledgment sent {"connection_id":130512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:46:40] local.INFO: TCP Data received {"connection_id":130300,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:46:40] local.INFO: Processing buffer {"connection_id":130300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:46:40] local.INFO: IMEI packet received {"connection_id":130300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":130300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:46:45] local.INFO: TCP Data received {"connection_id":130300,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:46:45] local.INFO: Processing buffer {"connection_id":130300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:46:45] local.INFO: IMEI packet received {"connection_id":130300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":130300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:46:46] local.INFO: TCP Data received {"connection_id":130300,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a5258f0012d7f914005afd9380011011b23..."} 
[2026-07-13 12:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a5258f0012d7f914005afd9380011011b23..."} 
[2026-07-13 12:46:46] local.INFO: Processing buffer {"connection_id":130300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a5258f0012d7f914005afd9380011011b23..."} 
[2026-07-13 12:46:46] local.INFO: Packet analysis {"connection_id":130300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a52"} 
[2026-07-13 12:46:46] local.INFO: Extracted packet for processing {"connection_id":130300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a52"} 
[2026-07-13 12:46:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685177088001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783926774000,"timestamp_ms":1783926774000,"timestamp_seconds":1783926774,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a5258f0"} 
[2026-07-13 12:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685177088001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685177088001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:46:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:46:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685177088001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":130300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:46:46] local.INFO: GPS data processed {"connection_id":130300,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:46:46] local.INFO: Acknowledgment sent {"connection_id":130300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:46:50] local.INFO: TCP Data received {"connection_id":130300,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a5258f0012d7f914005afd9380011011b23..."} 
[2026-07-13 12:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a5258f0012d7f914005afd9380011011b23..."} 
[2026-07-13 12:46:50] local.INFO: Processing buffer {"connection_id":130300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a5258f0012d7f914005afd9380011011b23..."} 
[2026-07-13 12:46:50] local.INFO: Packet analysis {"connection_id":130300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a52"} 
[2026-07-13 12:46:50] local.INFO: Extracted packet for processing {"connection_id":130300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a52"} 
[2026-07-13 12:46:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 12:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685177088001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783926774000,"timestamp_ms":1783926774000,"timestamp_seconds":1783926774,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a5258f0"} 
[2026-07-13 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-07-13 12:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:46: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-07-13 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-07-13 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-07-13 12:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:46: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-07-13 12:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685177088001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685177088001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:46:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:46:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685177088001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":130300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:46:50] local.INFO: GPS data processed {"connection_id":130300,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:46:50] local.INFO: Acknowledgment sent {"connection_id":130300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:47:34] local.INFO: TCP Data received {"connection_id":130513,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:47:34] local.INFO: Processing buffer {"connection_id":130513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:47:34] local.INFO: IMEI packet received {"connection_id":130513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":130513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:47:40] local.INFO: TCP Data received {"connection_id":130513,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:47:40] local.INFO: Processing buffer {"connection_id":130513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:47:40] local.INFO: IMEI packet received {"connection_id":130513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":130513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:47:40] local.INFO: TCP Data received {"connection_id":130513,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a5258f0012d7f914005afd9380011011b23..."} 
[2026-07-13 12:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a5258f0012d7f914005afd9380011011b23..."} 
[2026-07-13 12:47:40] local.INFO: Processing buffer {"connection_id":130513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a5258f0012d7f914005afd9380011011b23..."} 
[2026-07-13 12:47:40] local.INFO: Packet analysis {"connection_id":130513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a52"} 
[2026-07-13 12:47:40] local.INFO: Extracted packet for processing {"connection_id":130513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a52"} 
[2026-07-13 12:47:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685177088001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783926774000,"timestamp_ms":1783926774000,"timestamp_seconds":1783926774,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a5258f0"} 
[2026-07-13 12:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:47: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-07-13 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685177088001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685177088001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:47:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:47:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685177088001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":130513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:47:40] local.INFO: GPS data processed {"connection_id":130513,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:47:40] local.INFO: Acknowledgment sent {"connection_id":130513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:48:12] local.INFO: TCP Data received {"connection_id":130513,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a5258f0012d7f914005afd9380011011b23..."} 
[2026-07-13 12:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a5258f0012d7f914005afd9380011011b23..."} 
[2026-07-13 12:48:12] local.INFO: Processing buffer {"connection_id":130513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a5258f0012d7f914005afd9380011011b23..."} 
[2026-07-13 12:48:12] local.INFO: Packet analysis {"connection_id":130513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a52"} 
[2026-07-13 12:48:12] local.INFO: Extracted packet for processing {"connection_id":130513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a52"} 
[2026-07-13 12:48:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685177088001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783926774000,"timestamp_ms":1783926774000,"timestamp_seconds":1783926774,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a5258f0"} 
[2026-07-13 12:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 12:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685177088001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685177088001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:48:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:48:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685177088001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":130513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:48:12] local.INFO: GPS data processed {"connection_id":130513,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:48:12] local.INFO: Acknowledgment sent {"connection_id":130513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:48:32] local.INFO: TCP Data received {"connection_id":130302,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:48:32] local.INFO: Processing buffer {"connection_id":130302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:48:32] local.INFO: IMEI packet received {"connection_id":130302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":130302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:48:35] local.INFO: TCP Data received {"connection_id":130302,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:48:35] local.INFO: Processing buffer {"connection_id":130302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:48:35] local.INFO: IMEI packet received {"connection_id":130302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":130302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:48:40] local.INFO: TCP Data received {"connection_id":130302,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:48:40] local.INFO: Processing buffer {"connection_id":130302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:48:40] local.INFO: IMEI packet received {"connection_id":130302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":130302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:48:41] local.INFO: TCP Data received {"connection_id":130302,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a56f0b8012d7f914005afd938000e011b23..."} 
[2026-07-13 12:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a56f0b8012d7f914005afd938000e011b23..."} 
[2026-07-13 12:48:41] local.INFO: Processing buffer {"connection_id":130302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a56f0b8012d7f914005afd938000e011b23..."} 
[2026-07-13 12:48:41] local.INFO: Packet analysis {"connection_id":130302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a56"} 
[2026-07-13 12:48:41] local.INFO: Extracted packet for processing {"connection_id":130302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a56"} 
[2026-07-13 12:48:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685254144001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783927075000,"timestamp_ms":1783927075000,"timestamp_seconds":1783927075,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a56f0b8"} 
[2026-07-13 12:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 12:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685254144001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685254144001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:48:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:48:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685254144001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":130302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:48:41] local.INFO: GPS data processed {"connection_id":130302,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:48:41] local.INFO: Acknowledgment sent {"connection_id":130302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:49:10] local.INFO: TCP Data received {"connection_id":130303,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130303,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:49:10] local.INFO: Processing buffer {"connection_id":130303,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:49:10] local.INFO: IMEI packet received {"connection_id":130303,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 12:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":130303,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:49:12] local.INFO: TCP Data received {"connection_id":130302,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a56f0b8012d7f914005afd938000e011b23..."} 
[2026-07-13 12:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a56f0b8012d7f914005afd938000e011b23..."} 
[2026-07-13 12:49:12] local.INFO: Processing buffer {"connection_id":130302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a56f0b8012d7f914005afd938000e011b23..."} 
[2026-07-13 12:49:12] local.INFO: Packet analysis {"connection_id":130302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a56"} 
[2026-07-13 12:49:12] local.INFO: Extracted packet for processing {"connection_id":130302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a56"} 
[2026-07-13 12:49:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685254144001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783927075000,"timestamp_ms":1783927075000,"timestamp_seconds":1783927075,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a56f0b8"} 
[2026-07-13 12:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 12:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685254144001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685254144001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:49:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:49:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685254144001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":130302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:49:12] local.INFO: GPS data processed {"connection_id":130302,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:49:12] local.INFO: Acknowledgment sent {"connection_id":130302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:49:34] local.INFO: TCP Data received {"connection_id":130516,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:49:34] local.INFO: Processing buffer {"connection_id":130516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:49:34] local.INFO: IMEI packet received {"connection_id":130516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":130516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:49:40] local.INFO: TCP Data received {"connection_id":130516,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:49:40] local.INFO: Processing buffer {"connection_id":130516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:49:40] local.INFO: IMEI packet received {"connection_id":130516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":130516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:49:40] local.INFO: TCP Data received {"connection_id":130304,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130304,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:49:40] local.INFO: Processing buffer {"connection_id":130304,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:49:40] local.INFO: IMEI packet received {"connection_id":130304,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 12:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":130304,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:49:41] local.INFO: TCP Data received {"connection_id":130516,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a56f0b8012d7f914005afd938000e011b23..."} 
[2026-07-13 12:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a56f0b8012d7f914005afd938000e011b23..."} 
[2026-07-13 12:49:41] local.INFO: Processing buffer {"connection_id":130516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a56f0b8012d7f914005afd938000e011b23..."} 
[2026-07-13 12:49:41] local.INFO: Packet analysis {"connection_id":130516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a56"} 
[2026-07-13 12:49:41] local.INFO: Extracted packet for processing {"connection_id":130516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a56"} 
[2026-07-13 12:49:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685254144001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783927075000,"timestamp_ms":1783927075000,"timestamp_seconds":1783927075,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a56f0b8"} 
[2026-07-13 12:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 12:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685254144001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685254144001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:49:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:49:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685254144001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":130516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:49:41] local.INFO: GPS data processed {"connection_id":130516,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:49:41] local.INFO: Acknowledgment sent {"connection_id":130516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:50:12] local.INFO: TCP Data received {"connection_id":130516,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a56f0b8012d7f914005afd938000e011b23..."} 
[2026-07-13 12:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a56f0b8012d7f914005afd938000e011b23..."} 
[2026-07-13 12:50:12] local.INFO: Processing buffer {"connection_id":130516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a56f0b8012d7f914005afd938000e011b23..."} 
[2026-07-13 12:50:12] local.INFO: Packet analysis {"connection_id":130516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a56"} 
[2026-07-13 12:50:12] local.INFO: Extracted packet for processing {"connection_id":130516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a56"} 
[2026-07-13 12:50:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685254144001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783927075000,"timestamp_ms":1783927075000,"timestamp_seconds":1783927075,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a56f0b8"} 
[2026-07-13 12:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 12:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685254144001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685254144001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:50:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:50:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685254144001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":130516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:50:12] local.INFO: GPS data processed {"connection_id":130516,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:50:12] local.INFO: Acknowledgment sent {"connection_id":130516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:50:34] local.INFO: TCP Data received {"connection_id":131326,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:50:34] local.INFO: Processing buffer {"connection_id":131326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:50:34] local.INFO: IMEI packet received {"connection_id":131326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":131326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:50:40] local.INFO: TCP Data received {"connection_id":131326,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:50:40] local.INFO: Processing buffer {"connection_id":131326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:50:40] local.INFO: IMEI packet received {"connection_id":131326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":131326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:50:40] local.INFO: TCP Data received {"connection_id":131326,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a56f0b8012d7f914005afd938000e011b23..."} 
[2026-07-13 12:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a56f0b8012d7f914005afd938000e011b23..."} 
[2026-07-13 12:50:40] local.INFO: Processing buffer {"connection_id":131326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a56f0b8012d7f914005afd938000e011b23..."} 
[2026-07-13 12:50:40] local.INFO: Packet analysis {"connection_id":131326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a56"} 
[2026-07-13 12:50:40] local.INFO: Extracted packet for processing {"connection_id":131326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a56"} 
[2026-07-13 12:50:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685254144001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783927075000,"timestamp_ms":1783927075000,"timestamp_seconds":1783927075,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a56f0b8"} 
[2026-07-13 12:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:50: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-07-13 12:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 12:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685254144001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685254144001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:50:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:50:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685254144001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":131326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:50:40] local.INFO: GPS data processed {"connection_id":131326,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:50:40] local.INFO: Acknowledgment sent {"connection_id":131326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:51:11] local.INFO: TCP Data received {"connection_id":131326,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a56f0b8012d7f914005afd938000e011b23..."} 
[2026-07-13 12:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a56f0b8012d7f914005afd938000e011b23..."} 
[2026-07-13 12:51:11] local.INFO: Processing buffer {"connection_id":131326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a56f0b8012d7f914005afd938000e011b23..."} 
[2026-07-13 12:51:11] local.INFO: Packet analysis {"connection_id":131326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a56"} 
[2026-07-13 12:51:11] local.INFO: Extracted packet for processing {"connection_id":131326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a56"} 
[2026-07-13 12:51:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685254144001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783927075000,"timestamp_ms":1783927075000,"timestamp_seconds":1783927075,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a56f0b8"} 
[2026-07-13 12:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 12:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685254144001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685254144001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:51:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:51:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685254144001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":131326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:51:11] local.INFO: GPS data processed {"connection_id":131326,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:51:11] local.INFO: Acknowledgment sent {"connection_id":131326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:51:40] local.INFO: TCP Data received {"connection_id":132651,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:51:40] local.INFO: Processing buffer {"connection_id":132651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:51:40] local.INFO: IMEI packet received {"connection_id":132651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":132651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:51:45] local.INFO: TCP Data received {"connection_id":132651,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:51:45] local.INFO: Processing buffer {"connection_id":132651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:51:45] local.INFO: IMEI packet received {"connection_id":132651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":132651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:51:45] local.INFO: TCP Data received {"connection_id":132651,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a56f0b8012d7f914005afd938000e011b23..."} 
[2026-07-13 12:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a56f0b8012d7f914005afd938000e011b23..."} 
[2026-07-13 12:51:45] local.INFO: Processing buffer {"connection_id":132651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a56f0b8012d7f914005afd938000e011b23..."} 
[2026-07-13 12:51:45] local.INFO: Packet analysis {"connection_id":132651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a56"} 
[2026-07-13 12:51:45] local.INFO: Extracted packet for processing {"connection_id":132651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a56"} 
[2026-07-13 12:51:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685254144001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783927075000,"timestamp_ms":1783927075000,"timestamp_seconds":1783927075,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a56f0b8"} 
[2026-07-13 12:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 12:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685254144001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685254144001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:51:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:51:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685254144001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":132651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:51:45] local.INFO: GPS data processed {"connection_id":132651,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:51:45] local.INFO: Acknowledgment sent {"connection_id":132651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:51:50] local.INFO: TCP Data received {"connection_id":132651,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a56f0b8012d7f914005afd938000e011b23..."} 
[2026-07-13 12:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a56f0b8012d7f914005afd938000e011b23..."} 
[2026-07-13 12:51:50] local.INFO: Processing buffer {"connection_id":132651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a56f0b8012d7f914005afd938000e011b23..."} 
[2026-07-13 12:51:50] local.INFO: Packet analysis {"connection_id":132651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a56"} 
[2026-07-13 12:51:50] local.INFO: Extracted packet for processing {"connection_id":132651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a56"} 
[2026-07-13 12:51:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12: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-07-13 12:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685254144001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783927075000,"timestamp_ms":1783927075000,"timestamp_seconds":1783927075,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a56f0b8"} 
[2026-07-13 12:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 12:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12: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-07-13 12:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":132651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":132651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":132651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:51: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-07-13 12:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685254144001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685254144001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:51:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:51:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685254144001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":132651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:51:50] local.INFO: GPS data processed {"connection_id":132651,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:51:50] local.INFO: Acknowledgment sent {"connection_id":132651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:52:35] local.INFO: TCP Data received {"connection_id":130517,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:52:35] local.INFO: Processing buffer {"connection_id":130517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:52:35] local.INFO: IMEI packet received {"connection_id":130517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":130517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:52:40] local.INFO: TCP Data received {"connection_id":130517,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:52:40] local.INFO: Processing buffer {"connection_id":130517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:52:40] local.INFO: IMEI packet received {"connection_id":130517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":130517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:52:40] local.INFO: TCP Data received {"connection_id":130517,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a56f0b8012d7f914005afd938000e011b23..."} 
[2026-07-13 12:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a56f0b8012d7f914005afd938000e011b23..."} 
[2026-07-13 12:52:40] local.INFO: Processing buffer {"connection_id":130517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a56f0b8012d7f914005afd938000e011b23..."} 
[2026-07-13 12:52:40] local.INFO: Packet analysis {"connection_id":130517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a56"} 
[2026-07-13 12:52:40] local.INFO: Extracted packet for processing {"connection_id":130517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a56"} 
[2026-07-13 12:52:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12: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-07-13 12:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685254144001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783927075000,"timestamp_ms":1783927075000,"timestamp_seconds":1783927075,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a56f0b8"} 
[2026-07-13 12:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:52: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-07-13 12: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 12:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12: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-07-13 12:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685254144001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685254144001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:52:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:52:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685254144001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":130517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:52:40] local.INFO: GPS data processed {"connection_id":130517,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:52:40] local.INFO: Acknowledgment sent {"connection_id":130517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:53:11] local.INFO: TCP Data received {"connection_id":130517,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a56f0b8012d7f914005afd938000e011b23..."} 
[2026-07-13 12:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a56f0b8012d7f914005afd938000e011b23..."} 
[2026-07-13 12:53:11] local.INFO: Processing buffer {"connection_id":130517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a56f0b8012d7f914005afd938000e011b23..."} 
[2026-07-13 12:53:11] local.INFO: Packet analysis {"connection_id":130517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a56"} 
[2026-07-13 12:53:11] local.INFO: Extracted packet for processing {"connection_id":130517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a56"} 
[2026-07-13 12:53:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685254144001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783927075000,"timestamp_ms":1783927075000,"timestamp_seconds":1783927075,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a56f0b8"} 
[2026-07-13 12:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 12:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685254144001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685254144001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:53:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:53:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685254144001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":130517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:53:11] local.INFO: GPS data processed {"connection_id":130517,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:53:11] local.INFO: Acknowledgment sent {"connection_id":130517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:53:34] local.INFO: TCP Data received {"connection_id":130518,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:53:34] local.INFO: Processing buffer {"connection_id":130518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:53:34] local.INFO: IMEI packet received {"connection_id":130518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":130518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:53:34] local.INFO: TCP Data received {"connection_id":130518,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:53:34] local.INFO: Processing buffer {"connection_id":130518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:53:34] local.INFO: IMEI packet received {"connection_id":130518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":130518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:53:40] local.INFO: TCP Data received {"connection_id":130518,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:53:40] local.INFO: Processing buffer {"connection_id":130518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:53:40] local.INFO: IMEI packet received {"connection_id":130518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":130518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:53:40] local.INFO: TCP Data received {"connection_id":130518,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a5b8880012d7f914005afd938000e011b22..."} 
[2026-07-13 12:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a5b8880012d7f914005afd938000e011b22..."} 
[2026-07-13 12:53:40] local.INFO: Processing buffer {"connection_id":130518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a5b8880012d7f914005afd938000e011b22..."} 
[2026-07-13 12:53:40] local.INFO: Packet analysis {"connection_id":130518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a5b"} 
[2026-07-13 12:53:40] local.INFO: Extracted packet for processing {"connection_id":130518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a5b"} 
[2026-07-13 12:53:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685331200001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783927376000,"timestamp_ms":1783927376000,"timestamp_seconds":1783927376,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a5b8880"} 
[2026-07-13 12:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12: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-07-13 12:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 12:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685331200001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685331200001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:53:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:53:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685331200001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":130518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:53:40] local.INFO: GPS data processed {"connection_id":130518,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:53:40] local.INFO: Acknowledgment sent {"connection_id":130518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:54:12] local.INFO: TCP Data received {"connection_id":130518,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a5b8880012d7f914005afd938000e011b22..."} 
[2026-07-13 12:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a5b8880012d7f914005afd938000e011b22..."} 
[2026-07-13 12:54:12] local.INFO: Processing buffer {"connection_id":130518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a5b8880012d7f914005afd938000e011b22..."} 
[2026-07-13 12:54:12] local.INFO: Packet analysis {"connection_id":130518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a5b"} 
[2026-07-13 12:54:12] local.INFO: Extracted packet for processing {"connection_id":130518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a5b"} 
[2026-07-13 12:54:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685331200001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783927376000,"timestamp_ms":1783927376000,"timestamp_seconds":1783927376,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a5b8880"} 
[2026-07-13 12:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 12:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685331200001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685331200001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:54:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:54:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685331200001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":130518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:54:12] local.INFO: GPS data processed {"connection_id":130518,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:54:12] local.INFO: Acknowledgment sent {"connection_id":130518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:54:34] local.INFO: TCP Data received {"connection_id":130519,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:54:34] local.INFO: Processing buffer {"connection_id":130519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:54:34] local.INFO: IMEI packet received {"connection_id":130519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":130519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:54:40] local.INFO: TCP Data received {"connection_id":130519,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:54:40] local.INFO: Processing buffer {"connection_id":130519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:54:40] local.INFO: IMEI packet received {"connection_id":130519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":130519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:54:40] local.INFO: TCP Data received {"connection_id":130519,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a5b8880012d7f914005afd938000e011b22..."} 
[2026-07-13 12:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a5b8880012d7f914005afd938000e011b22..."} 
[2026-07-13 12:54:40] local.INFO: Processing buffer {"connection_id":130519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a5b8880012d7f914005afd938000e011b22..."} 
[2026-07-13 12:54:40] local.INFO: Packet analysis {"connection_id":130519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a5b"} 
[2026-07-13 12:54:40] local.INFO: Extracted packet for processing {"connection_id":130519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a5b"} 
[2026-07-13 12:54:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685331200001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783927376000,"timestamp_ms":1783927376000,"timestamp_seconds":1783927376,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a5b8880"} 
[2026-07-13 12:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:54: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-07-13 12: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 12:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685331200001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685331200001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:54:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:54:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685331200001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":130519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:54:40] local.INFO: GPS data processed {"connection_id":130519,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:54:40] local.INFO: Acknowledgment sent {"connection_id":130519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:55:12] local.INFO: TCP Data received {"connection_id":130519,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a5b8880012d7f914005afd938000e011b22..."} 
[2026-07-13 12:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a5b8880012d7f914005afd938000e011b22..."} 
[2026-07-13 12:55:12] local.INFO: Processing buffer {"connection_id":130519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a5b8880012d7f914005afd938000e011b22..."} 
[2026-07-13 12:55:12] local.INFO: Packet analysis {"connection_id":130519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a5b"} 
[2026-07-13 12:55:12] local.INFO: Extracted packet for processing {"connection_id":130519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a5b"} 
[2026-07-13 12:55:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685331200001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783927376000,"timestamp_ms":1783927376000,"timestamp_seconds":1783927376,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a5b8880"} 
[2026-07-13 12:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 12:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685331200001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685331200001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:55:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:55:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685331200001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":130519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:55:12] local.INFO: GPS data processed {"connection_id":130519,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:55:12] local.INFO: Acknowledgment sent {"connection_id":130519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:55:34] local.INFO: TCP Data received {"connection_id":130520,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:55:34] local.INFO: Processing buffer {"connection_id":130520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:55:34] local.INFO: IMEI packet received {"connection_id":130520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":130520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:55:40] local.INFO: TCP Data received {"connection_id":130520,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:55:40] local.INFO: Processing buffer {"connection_id":130520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:55:40] local.INFO: IMEI packet received {"connection_id":130520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":130520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:55:41] local.INFO: TCP Data received {"connection_id":130520,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a5b8880012d7f914005afd938000e011b22..."} 
[2026-07-13 12:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a5b8880012d7f914005afd938000e011b22..."} 
[2026-07-13 12:55:41] local.INFO: Processing buffer {"connection_id":130520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a5b8880012d7f914005afd938000e011b22..."} 
[2026-07-13 12:55:41] local.INFO: Packet analysis {"connection_id":130520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a5b"} 
[2026-07-13 12:55:41] local.INFO: Extracted packet for processing {"connection_id":130520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a5b"} 
[2026-07-13 12:55:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12: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-07-13 12:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685331200001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783927376000,"timestamp_ms":1783927376000,"timestamp_seconds":1783927376,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a5b8880"} 
[2026-07-13 12:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 12:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12: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-07-13 12:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685331200001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685331200001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:55:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:55:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685331200001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":130520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:55:41] local.INFO: GPS data processed {"connection_id":130520,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:55:41] local.INFO: Acknowledgment sent {"connection_id":130520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:56:00] local.INFO: TCP Data received {"connection_id":131328,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131328,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:56:00] local.INFO: Processing buffer {"connection_id":131328,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:56:00] local.INFO: IMEI packet received {"connection_id":131328,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 12:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":131328,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:56:12] local.INFO: TCP Data received {"connection_id":130520,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a5b8880012d7f914005afd938000e011b22..."} 
[2026-07-13 12:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a5b8880012d7f914005afd938000e011b22..."} 
[2026-07-13 12:56:12] local.INFO: Processing buffer {"connection_id":130520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a5b8880012d7f914005afd938000e011b22..."} 
[2026-07-13 12:56:12] local.INFO: Packet analysis {"connection_id":130520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a5b"} 
[2026-07-13 12:56:12] local.INFO: Extracted packet for processing {"connection_id":130520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a5b"} 
[2026-07-13 12:56:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685331200001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783927376000,"timestamp_ms":1783927376000,"timestamp_seconds":1783927376,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a5b8880"} 
[2026-07-13 12:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 12:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685331200001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685331200001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:56:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:56:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685331200001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":130520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:56:12] local.INFO: GPS data processed {"connection_id":130520,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:56:12] local.INFO: Acknowledgment sent {"connection_id":130520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:56:40] local.INFO: TCP Data received {"connection_id":130306,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:56:40] local.INFO: Processing buffer {"connection_id":130306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:56:40] local.INFO: IMEI packet received {"connection_id":130306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":130306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:56:45] local.INFO: TCP Data received {"connection_id":130306,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:56:45] local.INFO: Processing buffer {"connection_id":130306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:56:45] local.INFO: IMEI packet received {"connection_id":130306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":130306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:56:45] local.INFO: TCP Data received {"connection_id":130306,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a5b8880012d7f914005afd938000e011b22..."} 
[2026-07-13 12:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a5b8880012d7f914005afd938000e011b22..."} 
[2026-07-13 12:56:45] local.INFO: Processing buffer {"connection_id":130306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a5b8880012d7f914005afd938000e011b22..."} 
[2026-07-13 12:56:45] local.INFO: Packet analysis {"connection_id":130306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a5b"} 
[2026-07-13 12:56:45] local.INFO: Extracted packet for processing {"connection_id":130306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a5b"} 
[2026-07-13 12:56:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685331200001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783927376000,"timestamp_ms":1783927376000,"timestamp_seconds":1783927376,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a5b8880"} 
[2026-07-13 12:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 12:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:56: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-07-13 12:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685331200001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685331200001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:56:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:56:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685331200001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":130306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:56:45] local.INFO: GPS data processed {"connection_id":130306,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:56:45] local.INFO: Acknowledgment sent {"connection_id":130306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:56:50] local.INFO: TCP Data received {"connection_id":130306,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a5b8880012d7f914005afd938000e011b22..."} 
[2026-07-13 12:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a5b8880012d7f914005afd938000e011b22..."} 
[2026-07-13 12:56:50] local.INFO: Processing buffer {"connection_id":130306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a5b8880012d7f914005afd938000e011b22..."} 
[2026-07-13 12:56:50] local.INFO: Packet analysis {"connection_id":130306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a5b"} 
[2026-07-13 12:56:50] local.INFO: Extracted packet for processing {"connection_id":130306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a5b"} 
[2026-07-13 12:56:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685331200001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783927376000,"timestamp_ms":1783927376000,"timestamp_seconds":1783927376,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a5b8880"} 
[2026-07-13 12:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 12:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12: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-07-13 12:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12: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-07-13 12:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685331200001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685331200001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:56:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:56:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685331200001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":130306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:56:50] local.INFO: GPS data processed {"connection_id":130306,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:56:50] local.INFO: Acknowledgment sent {"connection_id":130306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:57:10] local.INFO: TCP Data received {"connection_id":132655,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:57:10] local.INFO: Processing buffer {"connection_id":132655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:57:10] local.INFO: IMEI packet received {"connection_id":132655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 12:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":132655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:57:16] local.INFO: TCP Data received {"connection_id":132655,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:57:16] local.INFO: Processing buffer {"connection_id":132655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:57:16] local.INFO: IMEI packet received {"connection_id":132655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 12:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":132655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:57:17] local.INFO: TCP Data received {"connection_id":132655,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a3a3928012cb29ac007823bf8004700e028..."} 
[2026-07-13 12:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a3a3928012cb29ac007823bf8004700e028..."} 
[2026-07-13 12:57:17] local.INFO: Processing buffer {"connection_id":132655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a3a3928012cb29ac007823bf8004700e028..."} 
[2026-07-13 12:57:17] local.INFO: Packet analysis {"connection_id":132655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a3a"} 
[2026-07-13 12:57:17] local.INFO: Extracted packet for processing {"connection_id":132655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a3a"} 
[2026-07-13 12:57:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 12:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684772352001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 12:57:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 12:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783925193000,"timestamp_ms":1783925193000,"timestamp_seconds":1783925193,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a3a3928"} 
[2026-07-13 12:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 12:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132655,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 12:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132655,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 12:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 12:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 12:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684772352001,"66":25212,"221":206,"85":36864,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-13 12:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 12:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 12:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684772352001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:57:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-13 12:57:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-13 12:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:57:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 12:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684772352001,"power":25212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 12:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":132655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479939,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:57:17] local.INFO: GPS data processed {"connection_id":132655,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:57:17] local.INFO: Acknowledgment sent {"connection_id":132655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:57:34] local.INFO: TCP Data received {"connection_id":131329,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:57:34] local.INFO: Processing buffer {"connection_id":131329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:57:34] local.INFO: IMEI packet received {"connection_id":131329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":131329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:57:40] local.INFO: TCP Data received {"connection_id":131329,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:57:40] local.INFO: Processing buffer {"connection_id":131329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:57:40] local.INFO: IMEI packet received {"connection_id":131329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":131329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:57:40] local.INFO: TCP Data received {"connection_id":131329,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a5b8880012d7f914005afd938000e011b22..."} 
[2026-07-13 12:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a5b8880012d7f914005afd938000e011b22..."} 
[2026-07-13 12:57:40] local.INFO: Processing buffer {"connection_id":131329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a5b8880012d7f914005afd938000e011b22..."} 
[2026-07-13 12:57:40] local.INFO: Packet analysis {"connection_id":131329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a5b"} 
[2026-07-13 12:57:40] local.INFO: Extracted packet for processing {"connection_id":131329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a5b"} 
[2026-07-13 12:57:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685331200001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783927376000,"timestamp_ms":1783927376000,"timestamp_seconds":1783927376,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a5b8880"} 
[2026-07-13 12:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:57: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-07-13 12: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 12:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685331200001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685331200001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:57:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:57:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685331200001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":131329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:57:40] local.INFO: GPS data processed {"connection_id":131329,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:57:40] local.INFO: Acknowledgment sent {"connection_id":131329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:57:45] local.INFO: TCP Data received {"connection_id":131330,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131330,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:57:45] local.INFO: Processing buffer {"connection_id":131330,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 12:57:45] local.INFO: IMEI packet received {"connection_id":131330,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 12:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":131330,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:58:12] local.INFO: TCP Data received {"connection_id":131329,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a5b8880012d7f914005afd938000e011b22..."} 
[2026-07-13 12:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a5b8880012d7f914005afd938000e011b22..."} 
[2026-07-13 12:58:12] local.INFO: Processing buffer {"connection_id":131329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a5b8880012d7f914005afd938000e011b22..."} 
[2026-07-13 12:58:12] local.INFO: Packet analysis {"connection_id":131329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a5b"} 
[2026-07-13 12:58:12] local.INFO: Extracted packet for processing {"connection_id":131329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a5b"} 
[2026-07-13 12:58:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685331200001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783927376000,"timestamp_ms":1783927376000,"timestamp_seconds":1783927376,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a5b8880"} 
[2026-07-13 12:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 12:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685331200001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685331200001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:58:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:58:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685331200001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":131329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:58:12] local.INFO: GPS data processed {"connection_id":131329,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:58:12] local.INFO: Acknowledgment sent {"connection_id":131329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:58:35] local.INFO: TCP Data received {"connection_id":130521,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:58:35] local.INFO: Processing buffer {"connection_id":130521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:58:35] local.INFO: IMEI packet received {"connection_id":130521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":130521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:58:35] local.INFO: TCP Data received {"connection_id":130521,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:58:35] local.INFO: Processing buffer {"connection_id":130521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:58:35] local.INFO: IMEI packet received {"connection_id":130521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":130521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:58:40] local.INFO: TCP Data received {"connection_id":130521,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:58:40] local.INFO: Processing buffer {"connection_id":130521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:58:40] local.INFO: IMEI packet received {"connection_id":130521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":130521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:58:40] local.INFO: TCP Data received {"connection_id":130521,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a602048012d7f914005afd938000e011b24..."} 
[2026-07-13 12:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a602048012d7f914005afd938000e011b24..."} 
[2026-07-13 12:58:40] local.INFO: Processing buffer {"connection_id":130521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a602048012d7f914005afd938000e011b24..."} 
[2026-07-13 12:58:40] local.INFO: Packet analysis {"connection_id":130521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a60"} 
[2026-07-13 12:58:40] local.INFO: Extracted packet for processing {"connection_id":130521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a60"} 
[2026-07-13 12:58:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685408256001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783927677000,"timestamp_ms":1783927677000,"timestamp_seconds":1783927677,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a602048"} 
[2026-07-13 12:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:58: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-07-13 12:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 12:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685408256001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685408256001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:58:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:58:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685408256001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":130521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:58:40] local.INFO: GPS data processed {"connection_id":130521,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:58:40] local.INFO: Acknowledgment sent {"connection_id":130521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:59:12] local.INFO: TCP Data received {"connection_id":130521,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a602048012d7f914005afd938000e011b24..."} 
[2026-07-13 12:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a602048012d7f914005afd938000e011b24..."} 
[2026-07-13 12:59:12] local.INFO: Processing buffer {"connection_id":130521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a602048012d7f914005afd938000e011b24..."} 
[2026-07-13 12:59:12] local.INFO: Packet analysis {"connection_id":130521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a60"} 
[2026-07-13 12:59:12] local.INFO: Extracted packet for processing {"connection_id":130521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a60"} 
[2026-07-13 12:59:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685408256001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783927677000,"timestamp_ms":1783927677000,"timestamp_seconds":1783927677,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a602048"} 
[2026-07-13 12:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 12:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 12:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685408256001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685408256001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:59:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:59:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685408256001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":130521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:59:12] local.INFO: GPS data processed {"connection_id":130521,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:59:12] local.INFO: Acknowledgment sent {"connection_id":130521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 12:59:34] local.INFO: TCP Data received {"connection_id":130522,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:59:34] local.INFO: Processing buffer {"connection_id":130522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:59:34] local.INFO: IMEI packet received {"connection_id":130522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 12:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":130522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 12:59:40] local.INFO: TCP Data received {"connection_id":130522,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:59:40] local.INFO: Processing buffer {"connection_id":130522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 12:59:40] local.INFO: IMEI packet received {"connection_id":130522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 12:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":130522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 12:59:40] local.INFO: TCP Data received {"connection_id":130522,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a602048012d7f914005afd938000e011b24..."} 
[2026-07-13 12:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a602048012d7f914005afd938000e011b24..."} 
[2026-07-13 12:59:40] local.INFO: Processing buffer {"connection_id":130522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a602048012d7f914005afd938000e011b24..."} 
[2026-07-13 12:59:40] local.INFO: Packet analysis {"connection_id":130522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a60"} 
[2026-07-13 12:59:40] local.INFO: Extracted packet for processing {"connection_id":130522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a60"} 
[2026-07-13 12:59:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 12:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 12:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685408256001,"note":"Value kept but may cause issues"} 
[2026-07-13 12:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 12:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 12:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 12:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783927677000,"timestamp_ms":1783927677000,"timestamp_seconds":1783927677,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a602048"} 
[2026-07-13 12:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 12:59: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-07-13 12:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 12:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 12:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 12:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 12:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 12:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 12:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 12:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 12:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 12:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 12:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685408256001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 12:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 12:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 12:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685408256001,"description":"Unknown IO ID 0"} 
[2026-07-13 12:59:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 12:59:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 12:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 12:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 12:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685408256001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 12:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":130522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 12:59:40] local.INFO: GPS data processed {"connection_id":130522,"processed":1,"errors":0,"total":1} 
[2026-07-13 12:59:40] local.INFO: Acknowledgment sent {"connection_id":130522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:00:12] local.INFO: TCP Data received {"connection_id":130522,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a602048012d7f914005afd938000e011b24..."} 
[2026-07-13 13:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a602048012d7f914005afd938000e011b24..."} 
[2026-07-13 13:00:12] local.INFO: Processing buffer {"connection_id":130522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a602048012d7f914005afd938000e011b24..."} 
[2026-07-13 13:00:12] local.INFO: Packet analysis {"connection_id":130522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a60"} 
[2026-07-13 13:00:12] local.INFO: Extracted packet for processing {"connection_id":130522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a60"} 
[2026-07-13 13:00:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685408256001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783927677000,"timestamp_ms":1783927677000,"timestamp_seconds":1783927677,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a602048"} 
[2026-07-13 13:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 13:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685408256001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685408256001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:00:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:00:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685408256001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":130522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:00:12] local.INFO: GPS data processed {"connection_id":130522,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:00:12] local.INFO: Acknowledgment sent {"connection_id":130522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:00:34] local.INFO: TCP Data received {"connection_id":132657,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:00:34] local.INFO: Processing buffer {"connection_id":132657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:00:34] local.INFO: IMEI packet received {"connection_id":132657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":132657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:00:40] local.INFO: TCP Data received {"connection_id":132657,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:00:40] local.INFO: Processing buffer {"connection_id":132657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:00:40] local.INFO: IMEI packet received {"connection_id":132657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":132657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:00:40] local.INFO: TCP Data received {"connection_id":132657,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a602048012d7f914005afd938000e011b24..."} 
[2026-07-13 13:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a602048012d7f914005afd938000e011b24..."} 
[2026-07-13 13:00:40] local.INFO: Processing buffer {"connection_id":132657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a602048012d7f914005afd938000e011b24..."} 
[2026-07-13 13:00:40] local.INFO: Packet analysis {"connection_id":132657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a60"} 
[2026-07-13 13:00:40] local.INFO: Extracted packet for processing {"connection_id":132657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a60"} 
[2026-07-13 13:00:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685408256001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783927677000,"timestamp_ms":1783927677000,"timestamp_seconds":1783927677,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a602048"} 
[2026-07-13 13:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:00: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-07-13 13:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 13:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685408256001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685408256001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:00:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:00:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685408256001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":132657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:00:40] local.INFO: GPS data processed {"connection_id":132657,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:00:40] local.INFO: Acknowledgment sent {"connection_id":132657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:01:11] local.INFO: TCP Data received {"connection_id":132657,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a602048012d7f914005afd938000e011b24..."} 
[2026-07-13 13:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a602048012d7f914005afd938000e011b24..."} 
[2026-07-13 13:01:11] local.INFO: Processing buffer {"connection_id":132657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a602048012d7f914005afd938000e011b24..."} 
[2026-07-13 13:01:11] local.INFO: Packet analysis {"connection_id":132657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a60"} 
[2026-07-13 13:01:11] local.INFO: Extracted packet for processing {"connection_id":132657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a60"} 
[2026-07-13 13:01:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685408256001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783927677000,"timestamp_ms":1783927677000,"timestamp_seconds":1783927677,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a602048"} 
[2026-07-13 13:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 13:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685408256001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685408256001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:01:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:01:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685408256001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":132657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:01:11] local.INFO: GPS data processed {"connection_id":132657,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:01:11] local.INFO: Acknowledgment sent {"connection_id":132657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:01:40] local.INFO: TCP Data received {"connection_id":130523,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:01:40] local.INFO: Processing buffer {"connection_id":130523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:01:40] local.INFO: IMEI packet received {"connection_id":130523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":130523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:01:45] local.INFO: TCP Data received {"connection_id":130523,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:01:45] local.INFO: Processing buffer {"connection_id":130523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:01:45] local.INFO: IMEI packet received {"connection_id":130523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":130523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:01:46] local.INFO: TCP Data received {"connection_id":130523,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a602048012d7f914005afd938000e011b24..."} 
[2026-07-13 13:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a602048012d7f914005afd938000e011b24..."} 
[2026-07-13 13:01:46] local.INFO: Processing buffer {"connection_id":130523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a602048012d7f914005afd938000e011b24..."} 
[2026-07-13 13:01:46] local.INFO: Packet analysis {"connection_id":130523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a60"} 
[2026-07-13 13:01:46] local.INFO: Extracted packet for processing {"connection_id":130523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a60"} 
[2026-07-13 13:01:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685408256001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783927677000,"timestamp_ms":1783927677000,"timestamp_seconds":1783927677,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a602048"} 
[2026-07-13 13:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 13:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685408256001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685408256001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:01:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:01:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685408256001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":130523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:01:46] local.INFO: GPS data processed {"connection_id":130523,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:01:46] local.INFO: Acknowledgment sent {"connection_id":130523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:01:50] local.INFO: TCP Data received {"connection_id":130523,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a602048012d7f914005afd938000e011b24..."} 
[2026-07-13 13:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a602048012d7f914005afd938000e011b24..."} 
[2026-07-13 13:01:50] local.INFO: Processing buffer {"connection_id":130523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a602048012d7f914005afd938000e011b24..."} 
[2026-07-13 13:01:50] local.INFO: Packet analysis {"connection_id":130523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a60"} 
[2026-07-13 13:01:50] local.INFO: Extracted packet for processing {"connection_id":130523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a60"} 
[2026-07-13 13:01:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685408256001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783927677000,"timestamp_ms":1783927677000,"timestamp_seconds":1783927677,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a602048"} 
[2026-07-13 13:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 13:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:01: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-07-13 13:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685408256001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685408256001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:01:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:01:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685408256001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":130523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:01:50] local.INFO: GPS data processed {"connection_id":130523,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:01:50] local.INFO: Acknowledgment sent {"connection_id":130523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:02:35] local.INFO: TCP Data received {"connection_id":132659,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:02:35] local.INFO: Processing buffer {"connection_id":132659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:02:35] local.INFO: IMEI packet received {"connection_id":132659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":132659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:02:40] local.INFO: TCP Data received {"connection_id":132659,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:02:40] local.INFO: Processing buffer {"connection_id":132659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:02:40] local.INFO: IMEI packet received {"connection_id":132659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":132659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:02:40] local.INFO: TCP Data received {"connection_id":132659,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a602048012d7f914005afd938000e011b24..."} 
[2026-07-13 13:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a602048012d7f914005afd938000e011b24..."} 
[2026-07-13 13:02:40] local.INFO: Processing buffer {"connection_id":132659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a602048012d7f914005afd938000e011b24..."} 
[2026-07-13 13:02:40] local.INFO: Packet analysis {"connection_id":132659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a60"} 
[2026-07-13 13:02:40] local.INFO: Extracted packet for processing {"connection_id":132659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a60"} 
[2026-07-13 13:02:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685408256001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783927677000,"timestamp_ms":1783927677000,"timestamp_seconds":1783927677,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a602048"} 
[2026-07-13 13:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:02: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-07-13 13:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 13:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685408256001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685408256001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:02:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:02:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685408256001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":132659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:02:40] local.INFO: GPS data processed {"connection_id":132659,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:02:40] local.INFO: Acknowledgment sent {"connection_id":132659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:03:12] local.INFO: TCP Data received {"connection_id":132659,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a602048012d7f914005afd938000e011b24..."} 
[2026-07-13 13:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a602048012d7f914005afd938000e011b24..."} 
[2026-07-13 13:03:12] local.INFO: Processing buffer {"connection_id":132659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a602048012d7f914005afd938000e011b24..."} 
[2026-07-13 13:03:12] local.INFO: Packet analysis {"connection_id":132659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a60"} 
[2026-07-13 13:03:12] local.INFO: Extracted packet for processing {"connection_id":132659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a60"} 
[2026-07-13 13:03:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685408256001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783927677000,"timestamp_ms":1783927677000,"timestamp_seconds":1783927677,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a602048"} 
[2026-07-13 13:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 13:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685408256001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685408256001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:03:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:03:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685408256001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":132659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:03:12] local.INFO: GPS data processed {"connection_id":132659,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:03:12] local.INFO: Acknowledgment sent {"connection_id":132659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:03:15] local.INFO: TCP Data received {"connection_id":130309,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130309,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:03:15] local.INFO: Processing buffer {"connection_id":130309,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:03:15] local.INFO: IMEI packet received {"connection_id":130309,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 13:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":130309,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:03:34] local.INFO: TCP Data received {"connection_id":132660,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:03:35] local.INFO: Processing buffer {"connection_id":132660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:03:35] local.INFO: IMEI packet received {"connection_id":132660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":132660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:03:35] local.INFO: TCP Data received {"connection_id":132660,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:03:35] local.INFO: Processing buffer {"connection_id":132660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:03:35] local.INFO: IMEI packet received {"connection_id":132660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":132660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:03:40] local.INFO: TCP Data received {"connection_id":132660,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:03:40] local.INFO: Processing buffer {"connection_id":132660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:03:40] local.INFO: IMEI packet received {"connection_id":132660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":132660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:03:40] local.INFO: TCP Data received {"connection_id":131331,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131331,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:03:40] local.INFO: Processing buffer {"connection_id":131331,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:03:40] local.INFO: IMEI packet received {"connection_id":131331,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 13:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":131331,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:03:40] local.INFO: TCP Data received {"connection_id":132660,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a64b810012d7f914005afd938000e011b22..."} 
[2026-07-13 13:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a64b810012d7f914005afd938000e011b22..."} 
[2026-07-13 13:03:40] local.INFO: Processing buffer {"connection_id":132660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a64b810012d7f914005afd938000e011b22..."} 
[2026-07-13 13:03:40] local.INFO: Packet analysis {"connection_id":132660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a64"} 
[2026-07-13 13:03:40] local.INFO: Extracted packet for processing {"connection_id":132660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a64"} 
[2026-07-13 13:03:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685485312001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783927978000,"timestamp_ms":1783927978000,"timestamp_seconds":1783927978,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a64b810"} 
[2026-07-13 13:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:03: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-07-13 13:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685485312001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685485312001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:03:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:03:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685485312001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":132660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:03:40] local.INFO: GPS data processed {"connection_id":132660,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:03:40] local.INFO: Acknowledgment sent {"connection_id":132660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:04:12] local.INFO: TCP Data received {"connection_id":132660,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a64b810012d7f914005afd938000e011b22..."} 
[2026-07-13 13:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a64b810012d7f914005afd938000e011b22..."} 
[2026-07-13 13:04:12] local.INFO: Processing buffer {"connection_id":132660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a64b810012d7f914005afd938000e011b22..."} 
[2026-07-13 13:04:12] local.INFO: Packet analysis {"connection_id":132660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a64"} 
[2026-07-13 13:04:12] local.INFO: Extracted packet for processing {"connection_id":132660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a64"} 
[2026-07-13 13:04:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685485312001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783927978000,"timestamp_ms":1783927978000,"timestamp_seconds":1783927978,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a64b810"} 
[2026-07-13 13:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685485312001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685485312001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:04:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:04:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685485312001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":132660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:04:12] local.INFO: GPS data processed {"connection_id":132660,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:04:12] local.INFO: Acknowledgment sent {"connection_id":132660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:04:34] local.INFO: TCP Data received {"connection_id":130524,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:04:34] local.INFO: Processing buffer {"connection_id":130524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:04:34] local.INFO: IMEI packet received {"connection_id":130524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":130524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:04:40] local.INFO: TCP Data received {"connection_id":130524,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:04:40] local.INFO: Processing buffer {"connection_id":130524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:04:40] local.INFO: IMEI packet received {"connection_id":130524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":130524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:04:40] local.INFO: TCP Data received {"connection_id":130524,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a64b810012d7f914005afd938000e011b22..."} 
[2026-07-13 13:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a64b810012d7f914005afd938000e011b22..."} 
[2026-07-13 13:04:40] local.INFO: Processing buffer {"connection_id":130524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a64b810012d7f914005afd938000e011b22..."} 
[2026-07-13 13:04:40] local.INFO: Packet analysis {"connection_id":130524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a64"} 
[2026-07-13 13:04:40] local.INFO: Extracted packet for processing {"connection_id":130524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a64"} 
[2026-07-13 13:04:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685485312001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783927978000,"timestamp_ms":1783927978000,"timestamp_seconds":1783927978,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a64b810"} 
[2026-07-13 13:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:04: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-07-13 13:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685485312001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685485312001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:04:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:04:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685485312001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":130524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:04:40] local.INFO: GPS data processed {"connection_id":130524,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:04:40] local.INFO: Acknowledgment sent {"connection_id":130524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:05:12] local.INFO: TCP Data received {"connection_id":130524,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a64b810012d7f914005afd938000e011b22..."} 
[2026-07-13 13:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a64b810012d7f914005afd938000e011b22..."} 
[2026-07-13 13:05:12] local.INFO: Processing buffer {"connection_id":130524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a64b810012d7f914005afd938000e011b22..."} 
[2026-07-13 13:05:12] local.INFO: Packet analysis {"connection_id":130524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a64"} 
[2026-07-13 13:05:12] local.INFO: Extracted packet for processing {"connection_id":130524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a64"} 
[2026-07-13 13:05:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685485312001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783927978000,"timestamp_ms":1783927978000,"timestamp_seconds":1783927978,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a64b810"} 
[2026-07-13 13:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685485312001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685485312001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:05:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:05:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685485312001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":130524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:05:12] local.INFO: GPS data processed {"connection_id":130524,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:05:12] local.INFO: Acknowledgment sent {"connection_id":130524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:05:34] local.INFO: TCP Data received {"connection_id":130525,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:05:34] local.INFO: Processing buffer {"connection_id":130525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:05:34] local.INFO: IMEI packet received {"connection_id":130525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":130525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:05:40] local.INFO: TCP Data received {"connection_id":130525,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:05:40] local.INFO: Processing buffer {"connection_id":130525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:05:40] local.INFO: IMEI packet received {"connection_id":130525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":130525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:05:40] local.INFO: TCP Data received {"connection_id":130525,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a64b810012d7f914005afd938000e011b22..."} 
[2026-07-13 13:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a64b810012d7f914005afd938000e011b22..."} 
[2026-07-13 13:05:40] local.INFO: Processing buffer {"connection_id":130525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a64b810012d7f914005afd938000e011b22..."} 
[2026-07-13 13:05:40] local.INFO: Packet analysis {"connection_id":130525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a64"} 
[2026-07-13 13:05:40] local.INFO: Extracted packet for processing {"connection_id":130525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a64"} 
[2026-07-13 13:05:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13: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-07-13 13:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685485312001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783927978000,"timestamp_ms":1783927978000,"timestamp_seconds":1783927978,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a64b810"} 
[2026-07-13 13:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:05: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-07-13 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13: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-07-13 13:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685485312001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685485312001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:05:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:05:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685485312001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":130525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:05:40] local.INFO: GPS data processed {"connection_id":130525,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:05:40] local.INFO: Acknowledgment sent {"connection_id":130525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:06:11] local.INFO: TCP Data received {"connection_id":130525,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a64b810012d7f914005afd938000e011b22..."} 
[2026-07-13 13:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a64b810012d7f914005afd938000e011b22..."} 
[2026-07-13 13:06:11] local.INFO: Processing buffer {"connection_id":130525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a64b810012d7f914005afd938000e011b22..."} 
[2026-07-13 13:06:11] local.INFO: Packet analysis {"connection_id":130525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a64"} 
[2026-07-13 13:06:11] local.INFO: Extracted packet for processing {"connection_id":130525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a64"} 
[2026-07-13 13:06:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685485312001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783927978000,"timestamp_ms":1783927978000,"timestamp_seconds":1783927978,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a64b810"} 
[2026-07-13 13:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685485312001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685485312001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:06:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:06:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685485312001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":130525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:06:11] local.INFO: GPS data processed {"connection_id":130525,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:06:11] local.INFO: Acknowledgment sent {"connection_id":130525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:06:40] local.INFO: TCP Data received {"connection_id":131332,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:06:40] local.INFO: Processing buffer {"connection_id":131332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:06:40] local.INFO: IMEI packet received {"connection_id":131332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":131332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:06:45] local.INFO: TCP Data received {"connection_id":131332,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:06:45] local.INFO: Processing buffer {"connection_id":131332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:06:45] local.INFO: IMEI packet received {"connection_id":131332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":131332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:06:45] local.INFO: TCP Data received {"connection_id":131332,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a64b810012d7f914005afd938000e011b22..."} 
[2026-07-13 13:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a64b810012d7f914005afd938000e011b22..."} 
[2026-07-13 13:06:45] local.INFO: Processing buffer {"connection_id":131332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a64b810012d7f914005afd938000e011b22..."} 
[2026-07-13 13:06:45] local.INFO: Packet analysis {"connection_id":131332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a64"} 
[2026-07-13 13:06:45] local.INFO: Extracted packet for processing {"connection_id":131332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a64"} 
[2026-07-13 13:06:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685485312001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783927978000,"timestamp_ms":1783927978000,"timestamp_seconds":1783927978,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a64b810"} 
[2026-07-13 13:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:06:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685485312001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685485312001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:06:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:06:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685485312001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":131332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:06:45] local.INFO: GPS data processed {"connection_id":131332,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:06:45] local.INFO: Acknowledgment sent {"connection_id":131332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:06:50] local.INFO: TCP Data received {"connection_id":131332,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a64b810012d7f914005afd938000e011b22..."} 
[2026-07-13 13:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a64b810012d7f914005afd938000e011b22..."} 
[2026-07-13 13:06:50] local.INFO: Processing buffer {"connection_id":131332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a64b810012d7f914005afd938000e011b22..."} 
[2026-07-13 13:06:50] local.INFO: Packet analysis {"connection_id":131332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a64"} 
[2026-07-13 13:06:50] local.INFO: Extracted packet for processing {"connection_id":131332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a64"} 
[2026-07-13 13:06:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 13:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685485312001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783927978000,"timestamp_ms":1783927978000,"timestamp_seconds":1783927978,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a64b810"} 
[2026-07-13 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-07-13 13:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:06:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 13:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685485312001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685485312001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:06:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:06:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685485312001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":131332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:06:50] local.INFO: GPS data processed {"connection_id":131332,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:06:50] local.INFO: Acknowledgment sent {"connection_id":131332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:07:34] local.INFO: TCP Data received {"connection_id":132661,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:07:34] local.INFO: Processing buffer {"connection_id":132661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:07:34] local.INFO: IMEI packet received {"connection_id":132661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":132661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:07:40] local.INFO: TCP Data received {"connection_id":132661,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:07:40] local.INFO: Processing buffer {"connection_id":132661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:07:40] local.INFO: IMEI packet received {"connection_id":132661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":132661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:07:40] local.INFO: TCP Data received {"connection_id":132661,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a64b810012d7f914005afd938000e011b22..."} 
[2026-07-13 13:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a64b810012d7f914005afd938000e011b22..."} 
[2026-07-13 13:07:40] local.INFO: Processing buffer {"connection_id":132661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a64b810012d7f914005afd938000e011b22..."} 
[2026-07-13 13:07:40] local.INFO: Packet analysis {"connection_id":132661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a64"} 
[2026-07-13 13:07:40] local.INFO: Extracted packet for processing {"connection_id":132661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a64"} 
[2026-07-13 13:07:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685485312001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783927978000,"timestamp_ms":1783927978000,"timestamp_seconds":1783927978,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a64b810"} 
[2026-07-13 13:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:07: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-07-13 13:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685485312001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685485312001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:07:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:07:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685485312001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":132661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:07:40] local.INFO: GPS data processed {"connection_id":132661,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:07:40] local.INFO: Acknowledgment sent {"connection_id":132661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:08:12] local.INFO: TCP Data received {"connection_id":132661,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a64b810012d7f914005afd938000e011b22..."} 
[2026-07-13 13:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a64b810012d7f914005afd938000e011b22..."} 
[2026-07-13 13:08:12] local.INFO: Processing buffer {"connection_id":132661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a64b810012d7f914005afd938000e011b22..."} 
[2026-07-13 13:08:12] local.INFO: Packet analysis {"connection_id":132661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a64"} 
[2026-07-13 13:08:12] local.INFO: Extracted packet for processing {"connection_id":132661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a64"} 
[2026-07-13 13:08:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685485312001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783927978000,"timestamp_ms":1783927978000,"timestamp_seconds":1783927978,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a64b810"} 
[2026-07-13 13:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685485312001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685485312001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:08:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:08:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685485312001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":132661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:08:12] local.INFO: GPS data processed {"connection_id":132661,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:08:12] local.INFO: Acknowledgment sent {"connection_id":132661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:08:36] local.INFO: TCP Data received {"connection_id":132662,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:08:36] local.INFO: Processing buffer {"connection_id":132662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:08:36] local.INFO: IMEI packet received {"connection_id":132662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":132662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:08:40] local.INFO: TCP Data received {"connection_id":132662,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:08:40] local.INFO: Processing buffer {"connection_id":132662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:08:40] local.INFO: IMEI packet received {"connection_id":132662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":132662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:08:45] local.INFO: TCP Data received {"connection_id":132662,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:08:45] local.INFO: Processing buffer {"connection_id":132662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:08:45] local.INFO: IMEI packet received {"connection_id":132662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":132662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:08:45] local.INFO: TCP Data received {"connection_id":132662,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a694fd8012d7f914005afd938000d011b24..."} 
[2026-07-13 13:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a694fd8012d7f914005afd938000d011b24..."} 
[2026-07-13 13:08:45] local.INFO: Processing buffer {"connection_id":132662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a694fd8012d7f914005afd938000d011b24..."} 
[2026-07-13 13:08:45] local.INFO: Packet analysis {"connection_id":132662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a69"} 
[2026-07-13 13:08:45] local.INFO: Extracted packet for processing {"connection_id":132662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a69"} 
[2026-07-13 13:08:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685562368001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783928279000,"timestamp_ms":1783928279000,"timestamp_seconds":1783928279,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a694fd8"} 
[2026-07-13 13:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 13:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685562368001,"66":25028,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685562368001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:08:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:08:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685562368001,"power":25028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":132662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:08:45] local.INFO: GPS data processed {"connection_id":132662,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:08:45] local.INFO: Acknowledgment sent {"connection_id":132662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:08:50] local.INFO: TCP Data received {"connection_id":132662,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a694fd8012d7f914005afd938000d011b24..."} 
[2026-07-13 13:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a694fd8012d7f914005afd938000d011b24..."} 
[2026-07-13 13:08:50] local.INFO: Processing buffer {"connection_id":132662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a694fd8012d7f914005afd938000d011b24..."} 
[2026-07-13 13:08:50] local.INFO: Packet analysis {"connection_id":132662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a69"} 
[2026-07-13 13:08:50] local.INFO: Extracted packet for processing {"connection_id":132662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a69"} 
[2026-07-13 13:08:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685562368001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:08:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783928279000,"timestamp_ms":1783928279000,"timestamp_seconds":1783928279,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a694fd8"} 
[2026-07-13 13:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 13:08:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":132662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":132662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":132662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:08: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-07-13 13:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685562368001,"66":25028,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685562368001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:08:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:08:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:08:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685562368001,"power":25028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":132662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:08:50] local.INFO: GPS data processed {"connection_id":132662,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:08:50] local.INFO: Acknowledgment sent {"connection_id":132662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:09:10] local.INFO: TCP Data received {"connection_id":131335,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131335,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:09:10] local.INFO: Processing buffer {"connection_id":131335,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:09:10] local.INFO: IMEI packet received {"connection_id":131335,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 13:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":131335,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:09:34] local.INFO: TCP Data received {"connection_id":130527,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:09:34] local.INFO: Processing buffer {"connection_id":130527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:09:34] local.INFO: IMEI packet received {"connection_id":130527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":130527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:09:40] local.INFO: TCP Data received {"connection_id":130527,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:09:40] local.INFO: Processing buffer {"connection_id":130527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:09:40] local.INFO: IMEI packet received {"connection_id":130527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":130527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:09:40] local.INFO: TCP Data received {"connection_id":130528,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:09:40] local.INFO: Processing buffer {"connection_id":130528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:09:40] local.INFO: IMEI packet received {"connection_id":130528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 13:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":130528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:09:41] local.INFO: TCP Data received {"connection_id":130527,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a694fd8012d7f914005afd938000d011b24..."} 
[2026-07-13 13:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a694fd8012d7f914005afd938000d011b24..."} 
[2026-07-13 13:09:41] local.INFO: Processing buffer {"connection_id":130527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a694fd8012d7f914005afd938000d011b24..."} 
[2026-07-13 13:09:41] local.INFO: Packet analysis {"connection_id":130527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a69"} 
[2026-07-13 13:09:41] local.INFO: Extracted packet for processing {"connection_id":130527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a69"} 
[2026-07-13 13:09:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685562368001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783928279000,"timestamp_ms":1783928279000,"timestamp_seconds":1783928279,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a694fd8"} 
[2026-07-13 13:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 13:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685562368001,"66":25028,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685562368001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:09:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685562368001,"power":25028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":130527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:09:41] local.INFO: GPS data processed {"connection_id":130527,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:09:41] local.INFO: Acknowledgment sent {"connection_id":130527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:09:45] local.INFO: TCP Data received {"connection_id":130528,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:09:45] local.INFO: Processing buffer {"connection_id":130528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:09:45] local.INFO: IMEI packet received {"connection_id":130528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 13:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":130528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:09:46] local.INFO: TCP Data received {"connection_id":130528,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a3ed0f0012cb29ac007823bf8004700e028..."} 
[2026-07-13 13:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a3ed0f0012cb29ac007823bf8004700e028..."} 
[2026-07-13 13:09:46] local.INFO: Processing buffer {"connection_id":130528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a3ed0f0012cb29ac007823bf8004700e028..."} 
[2026-07-13 13:09:46] local.INFO: Packet analysis {"connection_id":130528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a3e"} 
[2026-07-13 13:09:46] local.INFO: Extracted packet for processing {"connection_id":130528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a3e"} 
[2026-07-13 13:09:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 13:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456684849408001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 13:09:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 13:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783925494000,"timestamp_ms":1783925494000,"timestamp_seconds":1783925494,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a3ed0f0"} 
[2026-07-13 13:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 13:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 13:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 13:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 13:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 13:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456684849408001,"66":25245,"221":206,"85":36864,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-13 13:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 13:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 13:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456684849408001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:09:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-13 13:09:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-13 13:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:09:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 13:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456684849408001,"power":25245,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 13:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":130528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479965,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:09:46] local.INFO: GPS data processed {"connection_id":130528,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:09:46] local.INFO: Acknowledgment sent {"connection_id":130528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:10:12] local.INFO: TCP Data received {"connection_id":130527,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a694fd8012d7f914005afd938000d011b24..."} 
[2026-07-13 13:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a694fd8012d7f914005afd938000d011b24..."} 
[2026-07-13 13:10:12] local.INFO: Processing buffer {"connection_id":130527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a694fd8012d7f914005afd938000d011b24..."} 
[2026-07-13 13:10:12] local.INFO: Packet analysis {"connection_id":130527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a69"} 
[2026-07-13 13:10:12] local.INFO: Extracted packet for processing {"connection_id":130527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a69"} 
[2026-07-13 13:10:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685562368001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783928279000,"timestamp_ms":1783928279000,"timestamp_seconds":1783928279,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a694fd8"} 
[2026-07-13 13:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 13:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685562368001,"66":25028,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685562368001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:10:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:10:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685562368001,"power":25028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":130527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:10:12] local.INFO: GPS data processed {"connection_id":130527,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:10:12] local.INFO: Acknowledgment sent {"connection_id":130527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:10:34] local.INFO: TCP Data received {"connection_id":131336,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:10:34] local.INFO: Processing buffer {"connection_id":131336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:10:34] local.INFO: IMEI packet received {"connection_id":131336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":131336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:10:40] local.INFO: TCP Data received {"connection_id":131336,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:10:40] local.INFO: Processing buffer {"connection_id":131336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:10:40] local.INFO: IMEI packet received {"connection_id":131336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":131336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:10:40] local.INFO: TCP Data received {"connection_id":132663,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132663,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:10:40] local.INFO: Processing buffer {"connection_id":132663,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:10:40] local.INFO: IMEI packet received {"connection_id":132663,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 13:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":132663,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:10:40] local.INFO: TCP Data received {"connection_id":131336,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a694fd8012d7f914005afd938000d011b24..."} 
[2026-07-13 13:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a694fd8012d7f914005afd938000d011b24..."} 
[2026-07-13 13:10:40] local.INFO: Processing buffer {"connection_id":131336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a694fd8012d7f914005afd938000d011b24..."} 
[2026-07-13 13:10:40] local.INFO: Packet analysis {"connection_id":131336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a69"} 
[2026-07-13 13:10:40] local.INFO: Extracted packet for processing {"connection_id":131336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a69"} 
[2026-07-13 13:10:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685562368001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783928279000,"timestamp_ms":1783928279000,"timestamp_seconds":1783928279,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a694fd8"} 
[2026-07-13 13:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:10: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-07-13 13: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 13:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685562368001,"66":25028,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685562368001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:10:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:10:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685562368001,"power":25028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":131336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:10:40] local.INFO: GPS data processed {"connection_id":131336,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:10:40] local.INFO: Acknowledgment sent {"connection_id":131336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:11:12] local.INFO: TCP Data received {"connection_id":131336,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a694fd8012d7f914005afd938000d011b24..."} 
[2026-07-13 13:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a694fd8012d7f914005afd938000d011b24..."} 
[2026-07-13 13:11:12] local.INFO: Processing buffer {"connection_id":131336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a694fd8012d7f914005afd938000d011b24..."} 
[2026-07-13 13:11:12] local.INFO: Packet analysis {"connection_id":131336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a69"} 
[2026-07-13 13:11:12] local.INFO: Extracted packet for processing {"connection_id":131336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a69"} 
[2026-07-13 13:11:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685562368001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783928279000,"timestamp_ms":1783928279000,"timestamp_seconds":1783928279,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a694fd8"} 
[2026-07-13 13:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 13:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:11:12] 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-07-13 13:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685562368001,"66":25028,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685562368001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:11:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:11:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685562368001,"power":25028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":131336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:11:12] local.INFO: GPS data processed {"connection_id":131336,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:11:12] local.INFO: Acknowledgment sent {"connection_id":131336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:11:34] local.INFO: TCP Data received {"connection_id":130312,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:11:34] local.INFO: Processing buffer {"connection_id":130312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:11:34] local.INFO: IMEI packet received {"connection_id":130312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":130312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:11:40] local.INFO: TCP Data received {"connection_id":130312,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:11:40] local.INFO: Processing buffer {"connection_id":130312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:11:40] local.INFO: IMEI packet received {"connection_id":130312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":130312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:11:40] local.INFO: TCP Data received {"connection_id":130312,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a694fd8012d7f914005afd938000d011b24..."} 
[2026-07-13 13:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a694fd8012d7f914005afd938000d011b24..."} 
[2026-07-13 13:11:40] local.INFO: Processing buffer {"connection_id":130312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a694fd8012d7f914005afd938000d011b24..."} 
[2026-07-13 13:11:40] local.INFO: Packet analysis {"connection_id":130312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a69"} 
[2026-07-13 13:11:40] local.INFO: Extracted packet for processing {"connection_id":130312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a69"} 
[2026-07-13 13:11:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685562368001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783928279000,"timestamp_ms":1783928279000,"timestamp_seconds":1783928279,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a694fd8"} 
[2026-07-13 13:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:11: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-07-13 13:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 13:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685562368001,"66":25028,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685562368001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:11:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:11:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685562368001,"power":25028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":130312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:11:40] local.INFO: GPS data processed {"connection_id":130312,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:11:40] local.INFO: Acknowledgment sent {"connection_id":130312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:12:11] local.INFO: TCP Data received {"connection_id":130312,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a694fd8012d7f914005afd938000d011b24..."} 
[2026-07-13 13:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a694fd8012d7f914005afd938000d011b24..."} 
[2026-07-13 13:12:11] local.INFO: Processing buffer {"connection_id":130312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a694fd8012d7f914005afd938000d011b24..."} 
[2026-07-13 13:12:11] local.INFO: Packet analysis {"connection_id":130312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a69"} 
[2026-07-13 13:12:11] local.INFO: Extracted packet for processing {"connection_id":130312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a69"} 
[2026-07-13 13:12:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685562368001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783928279000,"timestamp_ms":1783928279000,"timestamp_seconds":1783928279,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a694fd8"} 
[2026-07-13 13:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 13:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685562368001,"66":25028,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685562368001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:12:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:12:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685562368001,"power":25028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":130312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:12:11] local.INFO: GPS data processed {"connection_id":130312,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:12:11] local.INFO: Acknowledgment sent {"connection_id":130312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:12:22] local.INFO: TCP Data received {"connection_id":130311,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:12:22] local.INFO: Processing buffer {"connection_id":130311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:12:22] local.INFO: IMEI packet received {"connection_id":130311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 13:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":130311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:12:40] local.INFO: TCP Data received {"connection_id":130529,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:12:40] local.INFO: Processing buffer {"connection_id":130529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:12:40] local.INFO: IMEI packet received {"connection_id":130529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":130529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:12:45] local.INFO: TCP Data received {"connection_id":130529,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:12:45] local.INFO: Processing buffer {"connection_id":130529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:12:45] local.INFO: IMEI packet received {"connection_id":130529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":130529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:12:45] local.INFO: TCP Data received {"connection_id":130529,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a694fd8012d7f914005afd938000d011b24..."} 
[2026-07-13 13:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a694fd8012d7f914005afd938000d011b24..."} 
[2026-07-13 13:12:45] local.INFO: Processing buffer {"connection_id":130529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a694fd8012d7f914005afd938000d011b24..."} 
[2026-07-13 13:12:45] local.INFO: Packet analysis {"connection_id":130529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a69"} 
[2026-07-13 13:12:45] local.INFO: Extracted packet for processing {"connection_id":130529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a69"} 
[2026-07-13 13:12:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685562368001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783928279000,"timestamp_ms":1783928279000,"timestamp_seconds":1783928279,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a694fd8"} 
[2026-07-13 13:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 13:12:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:12:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:12: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-07-13 13:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685562368001,"66":25028,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685562368001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:12:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:12:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685562368001,"power":25028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":130529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:12:45] local.INFO: GPS data processed {"connection_id":130529,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:12:45] local.INFO: Acknowledgment sent {"connection_id":130529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:12:50] local.INFO: TCP Data received {"connection_id":130529,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a694fd8012d7f914005afd938000d011b24..."} 
[2026-07-13 13:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a694fd8012d7f914005afd938000d011b24..."} 
[2026-07-13 13:12:50] local.INFO: Processing buffer {"connection_id":130529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a694fd8012d7f914005afd938000d011b24..."} 
[2026-07-13 13:12:50] local.INFO: Packet analysis {"connection_id":130529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a69"} 
[2026-07-13 13:12:50] local.INFO: Extracted packet for processing {"connection_id":130529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a69"} 
[2026-07-13 13:12:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685562368001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783928279000,"timestamp_ms":1783928279000,"timestamp_seconds":1783928279,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a694fd8"} 
[2026-07-13 13:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13: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":135,"data_length":795,"current_offset":136} 
[2026-07-13 13:12:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:12:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13: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-07-13 13:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685562368001,"66":25028,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685562368001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:12:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:12:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685562368001,"power":25028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":130529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:12:50] local.INFO: GPS data processed {"connection_id":130529,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:12:50] local.INFO: Acknowledgment sent {"connection_id":130529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:13:34] local.INFO: TCP Data received {"connection_id":131337,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:13:34] local.INFO: Processing buffer {"connection_id":131337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:13:34] local.INFO: IMEI packet received {"connection_id":131337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":131337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:13:38] local.INFO: TCP Data received {"connection_id":131337,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:13:38] local.INFO: Processing buffer {"connection_id":131337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:13:38] local.INFO: IMEI packet received {"connection_id":131337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":131337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:13:38] local.INFO: TCP Data received {"connection_id":131337,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a6de7a0012d7f914005afd938000e011b25..."} 
[2026-07-13 13:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a6de7a0012d7f914005afd938000e011b25..."} 
[2026-07-13 13:13:38] local.INFO: Processing buffer {"connection_id":131337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a6de7a0012d7f914005afd938000e011b25..."} 
[2026-07-13 13:13:38] local.INFO: Packet analysis {"connection_id":131337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a6d"} 
[2026-07-13 13:13:38] local.INFO: Extracted packet for processing {"connection_id":131337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a6d"} 
[2026-07-13 13:13:38] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685639424001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783928580000,"timestamp_ms":1783928580000,"timestamp_seconds":1783928580,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a6de7a0"} 
[2026-07-13 13:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 13:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":131337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":131337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":131337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685639424001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685639424001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:13:38] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:13:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685639424001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":131337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:13:38] local.INFO: GPS data processed {"connection_id":131337,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:13:38] local.INFO: Acknowledgment sent {"connection_id":131337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:14:10] local.INFO: TCP Data received {"connection_id":131337,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a6de7a0012d7f914005afd938000e011b25..."} 
[2026-07-13 13:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a6de7a0012d7f914005afd938000e011b25..."} 
[2026-07-13 13:14:10] local.INFO: Processing buffer {"connection_id":131337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a6de7a0012d7f914005afd938000e011b25..."} 
[2026-07-13 13:14:10] local.INFO: Packet analysis {"connection_id":131337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a6d"} 
[2026-07-13 13:14:10] local.INFO: Extracted packet for processing {"connection_id":131337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a6d"} 
[2026-07-13 13:14:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685639424001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783928580000,"timestamp_ms":1783928580000,"timestamp_seconds":1783928580,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a6de7a0"} 
[2026-07-13 13:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 13:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685639424001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685639424001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:14:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:14:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685639424001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":131337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:14:10] local.INFO: GPS data processed {"connection_id":131337,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:14:10] local.INFO: Acknowledgment sent {"connection_id":131337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:14:34] local.INFO: TCP Data received {"connection_id":130315,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:14:34] local.INFO: Processing buffer {"connection_id":130315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:14:34] local.INFO: IMEI packet received {"connection_id":130315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":130315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:14:40] local.INFO: TCP Data received {"connection_id":130315,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:14:40] local.INFO: Processing buffer {"connection_id":130315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:14:40] local.INFO: IMEI packet received {"connection_id":130315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":130315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:14:40] local.INFO: TCP Data received {"connection_id":130315,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a6de7a0012d7f914005afd938000e011b25..."} 
[2026-07-13 13:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a6de7a0012d7f914005afd938000e011b25..."} 
[2026-07-13 13:14:40] local.INFO: Processing buffer {"connection_id":130315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a6de7a0012d7f914005afd938000e011b25..."} 
[2026-07-13 13:14:40] local.INFO: Packet analysis {"connection_id":130315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a6d"} 
[2026-07-13 13:14:40] local.INFO: Extracted packet for processing {"connection_id":130315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a6d"} 
[2026-07-13 13:14:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685639424001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783928580000,"timestamp_ms":1783928580000,"timestamp_seconds":1783928580,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a6de7a0"} 
[2026-07-13 13:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 13:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685639424001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685639424001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:14:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:14:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685639424001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":130315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:14:40] local.INFO: GPS data processed {"connection_id":130315,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:14:40] local.INFO: Acknowledgment sent {"connection_id":130315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:14:56] local.INFO: TCP Data received {"connection_id":130316,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130316,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:14:56] local.INFO: Processing buffer {"connection_id":130316,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:14:56] local.INFO: IMEI packet received {"connection_id":130316,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 13:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":130316,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:14:58] local.INFO: TCP Data received {"connection_id":130316,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130316,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:14:58] local.INFO: Processing buffer {"connection_id":130316,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:14:58] local.INFO: IMEI packet received {"connection_id":130316,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":130316,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:15:02] local.INFO: TCP Data received {"connection_id":130316,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-13 13:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130316,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-13 13:15:02] local.INFO: Processing buffer {"connection_id":130316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-13 13:15:02] local.INFO: Packet analysis {"connection_id":130316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-13 13:15:02] local.INFO: Extracted packet for processing {"connection_id":130316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-13 13:15:02] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 13:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24250497749745664,"note":"Value kept but may cause issues"} 
[2026-07-13 13:15:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 13:15:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":48000,"timestamp_seconds":48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 13:15:02] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-13 13:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":130316,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":130316,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-13 13:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":130316,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-13 13:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-13 13:15:02] local.WARNING: DEBUG: No valid data to process  
[2026-07-13 13:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":130316,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-13 13:15:02] local.ERROR: GPS data processing failed {"connection_id":130316,"error":"No valid data to process"} 
[2026-07-13 13:15:02] local.INFO: Acknowledgment sent {"connection_id":130316,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-13 13:15:06] local.INFO: TCP Data received {"connection_id":130316,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-13 13:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130316,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-13 13:15:06] local.INFO: Processing buffer {"connection_id":130316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-13 13:15:06] local.INFO: Packet analysis {"connection_id":130316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-13 13:15:06] local.INFO: Extracted packet for processing {"connection_id":130316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-13 13:15:06] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 13:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24250497749745664,"note":"Value kept but may cause issues"} 
[2026-07-13 13:15:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 13:15:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":48000,"timestamp_seconds":48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 13:15:06] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-13 13:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130316,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130316,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-13 13:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130316,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-13 13:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-13 13:15:06] local.WARNING: DEBUG: No valid data to process  
[2026-07-13 13:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":130316,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-13 13:15:06] local.ERROR: GPS data processing failed {"connection_id":130316,"error":"No valid data to process"} 
[2026-07-13 13:15:06] local.INFO: Acknowledgment sent {"connection_id":130316,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-13 13:15:12] local.INFO: TCP Data received {"connection_id":130315,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a6de7a0012d7f914005afd938000e011b25..."} 
[2026-07-13 13:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a6de7a0012d7f914005afd938000e011b25..."} 
[2026-07-13 13:15:12] local.INFO: Processing buffer {"connection_id":130315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a6de7a0012d7f914005afd938000e011b25..."} 
[2026-07-13 13:15:12] local.INFO: Packet analysis {"connection_id":130315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a6d"} 
[2026-07-13 13:15:12] local.INFO: Extracted packet for processing {"connection_id":130315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a6d"} 
[2026-07-13 13:15:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685639424001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783928580000,"timestamp_ms":1783928580000,"timestamp_seconds":1783928580,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a6de7a0"} 
[2026-07-13 13:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 13:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685639424001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685639424001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:15:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:15:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685639424001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":130315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:15:12] local.INFO: GPS data processed {"connection_id":130315,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:15:12] local.INFO: Acknowledgment sent {"connection_id":130315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:15:34] local.INFO: TCP Data received {"connection_id":131339,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:15:34] local.INFO: Processing buffer {"connection_id":131339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:15:34] local.INFO: IMEI packet received {"connection_id":131339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":131339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:15:39] local.INFO: TCP Data received {"connection_id":130316,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-13 13:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-13 13:15:39] local.INFO: Processing buffer {"connection_id":130316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-13 13:15:39] local.INFO: Packet analysis {"connection_id":130316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-13 13:15:39] local.INFO: Extracted packet for processing {"connection_id":130316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-13 13:15:39] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 13:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24250497749745664,"note":"Value kept but may cause issues"} 
[2026-07-13 13:15: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-07-13 13:15:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":69000,"timestamp_seconds":69,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 13:15:39] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-13 13:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130316,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130316,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-13 13:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130316,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-13 13:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-13 13:15:39] local.WARNING: DEBUG: No valid data to process  
[2026-07-13 13:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":130316,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-13 13:15:39] local.ERROR: GPS data processing failed {"connection_id":130316,"error":"No valid data to process"} 
[2026-07-13 13:15:39] local.INFO: Acknowledgment sent {"connection_id":130316,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-13 13:15:40] local.INFO: TCP Data received {"connection_id":131339,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:15:40] local.INFO: Processing buffer {"connection_id":131339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:15:40] local.INFO: IMEI packet received {"connection_id":131339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":131339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:15:40] local.INFO: TCP Data received {"connection_id":131339,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a6de7a0012d7f914005afd938000e011b25..."} 
[2026-07-13 13:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a6de7a0012d7f914005afd938000e011b25..."} 
[2026-07-13 13:15:40] local.INFO: Processing buffer {"connection_id":131339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a6de7a0012d7f914005afd938000e011b25..."} 
[2026-07-13 13:15:40] local.INFO: Packet analysis {"connection_id":131339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a6d"} 
[2026-07-13 13:15:40] local.INFO: Extracted packet for processing {"connection_id":131339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a6d"} 
[2026-07-13 13:15:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13: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-07-13 13:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685639424001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783928580000,"timestamp_ms":1783928580000,"timestamp_seconds":1783928580,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a6de7a0"} 
[2026-07-13 13:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 13:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13: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-07-13 13:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685639424001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685639424001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:15:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:15:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685639424001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":131339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:15:40] local.INFO: GPS data processed {"connection_id":131339,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:15:40] local.INFO: Acknowledgment sent {"connection_id":131339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:16:10] local.INFO: TCP Data received {"connection_id":130316,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a701e080100000000000000000000000000..."} 
[2026-07-13 13:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a701e080100000000000000000000000000..."} 
[2026-07-13 13:16:10] local.INFO: Processing buffer {"connection_id":130316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a701e080100000000000000000000000000..."} 
[2026-07-13 13:16:10] local.INFO: Packet analysis {"connection_id":130316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a70"} 
[2026-07-13 13:16:10] local.INFO: Extracted packet for processing {"connection_id":130316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a70"} 
[2026-07-13 13:16:10] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 13:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24250497749745664,"note":"Value kept but may cause issues"} 
[2026-07-13 13:16:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 13:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783928725000,"timestamp_ms":1783928725000,"timestamp_seconds":1783928725,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a701e08"} 
[2026-07-13 13:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1024,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-13 13:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130316,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130316,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":130316,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 13:16:10] local.INFO: GPS data processed {"connection_id":130316,"processed":0,"errors":0,"total":1} 
[2026-07-13 13:16:10] local.INFO: Acknowledgment sent {"connection_id":130316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:16:10] local.INFO: TCP Data received {"connection_id":130531,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130531,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:16:10] local.INFO: Processing buffer {"connection_id":130531,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:16:10] local.INFO: IMEI packet received {"connection_id":130531,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 13:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":130531,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:16:12] local.INFO: TCP Data received {"connection_id":131339,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a6de7a0012d7f914005afd938000e011b25..."} 
[2026-07-13 13:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a6de7a0012d7f914005afd938000e011b25..."} 
[2026-07-13 13:16:12] local.INFO: Processing buffer {"connection_id":131339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a6de7a0012d7f914005afd938000e011b25..."} 
[2026-07-13 13:16:12] local.INFO: Packet analysis {"connection_id":131339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a6d"} 
[2026-07-13 13:16:12] local.INFO: Extracted packet for processing {"connection_id":131339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a6d"} 
[2026-07-13 13:16:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685639424001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783928580000,"timestamp_ms":1783928580000,"timestamp_seconds":1783928580,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a6de7a0"} 
[2026-07-13 13:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 13:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685639424001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685639424001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:16:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:16:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685639424001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":131339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:16:12] local.INFO: GPS data processed {"connection_id":131339,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:16:12] local.INFO: Acknowledgment sent {"connection_id":131339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:16:40] local.INFO: TCP Data received {"connection_id":132664,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:16:40] local.INFO: Processing buffer {"connection_id":132664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:16:40] local.INFO: IMEI packet received {"connection_id":132664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":132664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:16:40] local.INFO: TCP Data received {"connection_id":131340,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131340,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:16:40] local.INFO: Processing buffer {"connection_id":131340,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:16:40] local.INFO: IMEI packet received {"connection_id":131340,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 13:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":131340,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:16:41] local.INFO: TCP Data received {"connection_id":130316,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a7070100100000000000000000000000000..."} 
[2026-07-13 13:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a7070100100000000000000000000000000..."} 
[2026-07-13 13:16:41] local.INFO: Processing buffer {"connection_id":130316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a7070100100000000000000000000000000..."} 
[2026-07-13 13:16:41] local.INFO: Packet analysis {"connection_id":130316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a70"} 
[2026-07-13 13:16:41] local.INFO: Extracted packet for processing {"connection_id":130316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a70"} 
[2026-07-13 13:16:41] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 13:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24250497749745664,"note":"Value kept but may cause issues"} 
[2026-07-13 13:16: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-07-13 13:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783928746000,"timestamp_ms":1783928746000,"timestamp_seconds":1783928746,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a707010"} 
[2026-07-13 13:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-13 13:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130316,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130316,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":130316,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 13:16:41] local.INFO: GPS data processed {"connection_id":130316,"processed":0,"errors":0,"total":1} 
[2026-07-13 13:16:41] local.INFO: Acknowledgment sent {"connection_id":130316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:16:45] local.INFO: TCP Data received {"connection_id":132664,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:16:45] local.INFO: Processing buffer {"connection_id":132664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:16:45] local.INFO: IMEI packet received {"connection_id":132664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":132664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:16:45] local.INFO: TCP Data received {"connection_id":132664,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a6de7a0012d7f914005afd938000e011b25..."} 
[2026-07-13 13:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a6de7a0012d7f914005afd938000e011b25..."} 
[2026-07-13 13:16:45] local.INFO: Processing buffer {"connection_id":132664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a6de7a0012d7f914005afd938000e011b25..."} 
[2026-07-13 13:16:45] local.INFO: Packet analysis {"connection_id":132664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a6d"} 
[2026-07-13 13:16:45] local.INFO: Extracted packet for processing {"connection_id":132664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a6d"} 
[2026-07-13 13:16:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685639424001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783928580000,"timestamp_ms":1783928580000,"timestamp_seconds":1783928580,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a6de7a0"} 
[2026-07-13 13:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 13:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:16:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685639424001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685639424001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:16:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:16:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685639424001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":132664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:16:45] local.INFO: GPS data processed {"connection_id":132664,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:16:45] local.INFO: Acknowledgment sent {"connection_id":132664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:16:50] local.INFO: TCP Data received {"connection_id":132664,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a6de7a0012d7f914005afd938000e011b25..."} 
[2026-07-13 13:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a6de7a0012d7f914005afd938000e011b25..."} 
[2026-07-13 13:16:50] local.INFO: Processing buffer {"connection_id":132664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a6de7a0012d7f914005afd938000e011b25..."} 
[2026-07-13 13:16:50] local.INFO: Packet analysis {"connection_id":132664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a6d"} 
[2026-07-13 13:16:50] local.INFO: Extracted packet for processing {"connection_id":132664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a6d"} 
[2026-07-13 13:16:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 13:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685639424001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783928580000,"timestamp_ms":1783928580000,"timestamp_seconds":1783928580,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a6de7a0"} 
[2026-07-13 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-07-13 13:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 13:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 13:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":132664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":132664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":132664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:16: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-07-13 13:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685639424001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685639424001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:16:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:16:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685639424001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":132664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:16:50] local.INFO: GPS data processed {"connection_id":132664,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:16:50] local.INFO: Acknowledgment sent {"connection_id":132664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:17:12] local.INFO: TCP Data received {"connection_id":130316,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a70c2180100000000000000000000000000..."} 
[2026-07-13 13:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a70c2180100000000000000000000000000..."} 
[2026-07-13 13:17:12] local.INFO: Processing buffer {"connection_id":130316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a70c2180100000000000000000000000000..."} 
[2026-07-13 13:17:12] local.INFO: Packet analysis {"connection_id":130316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a70"} 
[2026-07-13 13:17:12] local.INFO: Extracted packet for processing {"connection_id":130316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a70"} 
[2026-07-13 13:17:12] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 13:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24250497749745664,"note":"Value kept but may cause issues"} 
[2026-07-13 13:17:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 13:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783928767000,"timestamp_ms":1783928767000,"timestamp_seconds":1783928767,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a70c218"} 
[2026-07-13 13:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 13:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130316,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130316,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":130316,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 13:17:12] local.INFO: GPS data processed {"connection_id":130316,"processed":0,"errors":0,"total":1} 
[2026-07-13 13:17:12] local.INFO: Acknowledgment sent {"connection_id":130316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:17:34] local.INFO: TCP Data received {"connection_id":130317,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:17:34] local.INFO: Processing buffer {"connection_id":130317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:17:34] local.INFO: IMEI packet received {"connection_id":130317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":130317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:17:40] local.INFO: TCP Data received {"connection_id":130317,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:17:40] local.INFO: Processing buffer {"connection_id":130317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:17:40] local.INFO: IMEI packet received {"connection_id":130317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":130317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:17:40] local.INFO: TCP Data received {"connection_id":130317,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a6de7a0012d7f914005afd938000e011b25..."} 
[2026-07-13 13:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a6de7a0012d7f914005afd938000e011b25..."} 
[2026-07-13 13:17:40] local.INFO: Processing buffer {"connection_id":130317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a6de7a0012d7f914005afd938000e011b25..."} 
[2026-07-13 13:17:40] local.INFO: Packet analysis {"connection_id":130317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a6d"} 
[2026-07-13 13:17:40] local.INFO: Extracted packet for processing {"connection_id":130317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a6d"} 
[2026-07-13 13:17:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685639424001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783928580000,"timestamp_ms":1783928580000,"timestamp_seconds":1783928580,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a6de7a0"} 
[2026-07-13 13:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 13:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685639424001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685639424001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:17:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:17:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685639424001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":130317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:17:40] local.INFO: GPS data processed {"connection_id":130317,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:17:40] local.INFO: Acknowledgment sent {"connection_id":130317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:17:48] local.INFO: TCP Data received {"connection_id":130316,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a7114200100000000000000000000000000..."} 
[2026-07-13 13:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a7114200100000000000000000000000000..."} 
[2026-07-13 13:17:48] local.INFO: Processing buffer {"connection_id":130316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a7114200100000000000000000000000000..."} 
[2026-07-13 13:17:48] local.INFO: Packet analysis {"connection_id":130316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a71"} 
[2026-07-13 13:17:48] local.INFO: Extracted packet for processing {"connection_id":130316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a71"} 
[2026-07-13 13:17:48] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 13:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24250497749745664,"note":"Value kept but may cause issues"} 
[2026-07-13 13:17:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 13:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783928788000,"timestamp_ms":1783928788000,"timestamp_seconds":1783928788,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a711420"} 
[2026-07-13 13:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:17:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 13:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:17:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":130316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":130316,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":130316,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":130316,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 13:17:48] local.INFO: GPS data processed {"connection_id":130316,"processed":0,"errors":0,"total":1} 
[2026-07-13 13:17:48] local.INFO: Acknowledgment sent {"connection_id":130316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:18:12] local.INFO: TCP Data received {"connection_id":130317,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a6de7a0012d7f914005afd938000e011b25..."} 
[2026-07-13 13:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a6de7a0012d7f914005afd938000e011b25..."} 
[2026-07-13 13:18:12] local.INFO: Processing buffer {"connection_id":130317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a6de7a0012d7f914005afd938000e011b25..."} 
[2026-07-13 13:18:12] local.INFO: Packet analysis {"connection_id":130317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a6d"} 
[2026-07-13 13:18:12] local.INFO: Extracted packet for processing {"connection_id":130317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a6d"} 
[2026-07-13 13:18:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685639424001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783928580000,"timestamp_ms":1783928580000,"timestamp_seconds":1783928580,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a6de7a0"} 
[2026-07-13 13:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 13:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685639424001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685639424001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:18:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:18:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685639424001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":130317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:18:12] local.INFO: GPS data processed {"connection_id":130317,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:18:12] local.INFO: Acknowledgment sent {"connection_id":130317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:18:27] local.INFO: TCP Data received {"connection_id":130316,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a7166280100000000000000000000000000..."} 
[2026-07-13 13:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a7166280100000000000000000000000000..."} 
[2026-07-13 13:18:27] local.INFO: Processing buffer {"connection_id":130316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a7166280100000000000000000000000000..."} 
[2026-07-13 13:18:27] local.INFO: Packet analysis {"connection_id":130316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a71"} 
[2026-07-13 13:18:27] local.INFO: Extracted packet for processing {"connection_id":130316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a71"} 
[2026-07-13 13:18:27] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 13:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24250497749745664,"note":"Value kept but may cause issues"} 
[2026-07-13 13:18:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 13:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783928809000,"timestamp_ms":1783928809000,"timestamp_seconds":1783928809,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a716628"} 
[2026-07-13 13:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 13:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":130316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":130316,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":130316,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":130316,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 13:18:27] local.INFO: GPS data processed {"connection_id":130316,"processed":0,"errors":0,"total":1} 
[2026-07-13 13:18:27] local.INFO: Acknowledgment sent {"connection_id":130316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:18:35] local.INFO: TCP Data received {"connection_id":132665,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:18:35] local.INFO: Processing buffer {"connection_id":132665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:18:35] local.INFO: IMEI packet received {"connection_id":132665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":132665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:18:39] local.INFO: TCP Data received {"connection_id":132665,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:18:39] local.INFO: Processing buffer {"connection_id":132665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:18:39] local.INFO: IMEI packet received {"connection_id":132665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":132665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:18:40] local.INFO: TCP Data received {"connection_id":132665,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a727f68012d7f914005afd938000d011b24..."} 
[2026-07-13 13:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a727f68012d7f914005afd938000d011b24..."} 
[2026-07-13 13:18:40] local.INFO: Processing buffer {"connection_id":132665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a727f68012d7f914005afd938000d011b24..."} 
[2026-07-13 13:18:40] local.INFO: Packet analysis {"connection_id":132665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a72"} 
[2026-07-13 13:18:40] local.INFO: Extracted packet for processing {"connection_id":132665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a72"} 
[2026-07-13 13:18:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685716480001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783928881000,"timestamp_ms":1783928881000,"timestamp_seconds":1783928881,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a727f68"} 
[2026-07-13 13:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685716480001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685716480001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:18:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:18:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685716480001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":132665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:18:40] local.INFO: GPS data processed {"connection_id":132665,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:18:40] local.INFO: Acknowledgment sent {"connection_id":132665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:19:00] local.INFO: TCP Data received {"connection_id":130316,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a7346a0012d0b2400070359a00013003608..."} 
[2026-07-13 13:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a7346a0012d0b2400070359a00013003608..."} 
[2026-07-13 13:19:00] local.INFO: Processing buffer {"connection_id":130316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a7346a0012d0b2400070359a00013003608..."} 
[2026-07-13 13:19:00] local.INFO: Packet analysis {"connection_id":130316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a73"} 
[2026-07-13 13:19:00] local.INFO: Extracted packet for processing {"connection_id":130316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a73"} 
[2026-07-13 13:19:00] local.INFO: GPS Element Parsed {"raw_longitude":755704832,"raw_latitude":117660064,"longitude_deg":75.5704832,"latitude_deg":11.7660064,"altitude":19,"angle":54,"satellites":8,"speed":3,"hex_longitude":"2d0b2400","hex_latitude":"070359a0","is_valid_coordinates":true} 
[2026-07-13 13:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685806336001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24250729677979648,"note":"Value kept but may cause issues"} 
[2026-07-13 13:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802555557467222016,"note":"Value kept but may cause issues"} 
[2026-07-13 13:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783928932000,"timestamp_ms":1783928932000,"timestamp_seconds":1783928932,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a7346a0"} 
[2026-07-13 13:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-13 13:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:19:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":130316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":130316,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":130316,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685806336001,"66":14515,"17":206,"94":11008,"24":3,"16":24250729677979648,"45":802555557467222016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-13 13:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685806336001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:19:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 13:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24250729677979648,"km_value":24250729677979.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":802555557467222016,"description":"Unknown IO ID 45"} 
[2026-07-13 13:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685806336001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":802555557467222016}} 
[2026-07-13 13:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":130316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479984,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:19:00] local.INFO: GPS data processed {"connection_id":130316,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:19:00] local.INFO: Acknowledgment sent {"connection_id":130316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:19:11] local.INFO: TCP Data received {"connection_id":132665,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a727f68012d7f914005afd938000d011b24..."} 
[2026-07-13 13:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a727f68012d7f914005afd938000d011b24..."} 
[2026-07-13 13:19:11] local.INFO: Processing buffer {"connection_id":132665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a727f68012d7f914005afd938000d011b24..."} 
[2026-07-13 13:19:11] local.INFO: Packet analysis {"connection_id":132665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a72"} 
[2026-07-13 13:19:11] local.INFO: Extracted packet for processing {"connection_id":132665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a72"} 
[2026-07-13 13:19:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685716480001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783928881000,"timestamp_ms":1783928881000,"timestamp_seconds":1783928881,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a727f68"} 
[2026-07-13 13:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685716480001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685716480001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:19:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685716480001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":132665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:19:11] local.INFO: GPS data processed {"connection_id":132665,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:19:11] local.INFO: Acknowledgment sent {"connection_id":132665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:19:22] local.INFO: TCP Data received {"connection_id":131342,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131342,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:19:22] local.INFO: Processing buffer {"connection_id":131342,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:19:22] local.INFO: IMEI packet received {"connection_id":131342,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 13:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":131342,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:19:28] local.INFO: TCP Data received {"connection_id":131342,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131342,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:19:28] local.INFO: Processing buffer {"connection_id":131342,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:19:28] local.INFO: IMEI packet received {"connection_id":131342,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":131342,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:19:28] local.INFO: TCP Data received {"connection_id":131342,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a734a88012d0b2440070359d80012004308..."} 
[2026-07-13 13:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a734a88012d0b2440070359d80012004308..."} 
[2026-07-13 13:19:28] local.INFO: Processing buffer {"connection_id":131342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a734a88012d0b2440070359d80012004308..."} 
[2026-07-13 13:19:28] local.INFO: Packet analysis {"connection_id":131342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a73"} 
[2026-07-13 13:19:28] local.INFO: Extracted packet for processing {"connection_id":131342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a73"} 
[2026-07-13 13:19:28] local.INFO: GPS Element Parsed {"raw_longitude":755704896,"raw_latitude":117660120,"longitude_deg":75.5704896,"latitude_deg":11.766012,"altitude":18,"angle":67,"satellites":8,"speed":3,"hex_longitude":"2d0b2440","hex_latitude":"070359d8","is_valid_coordinates":true} 
[2026-07-13 13:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685806592001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24250733972946944,"note":"Value kept but may cause issues"} 
[2026-07-13 13:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802766663699767296,"note":"Value kept but may cause issues"} 
[2026-07-13 13:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783928933000,"timestamp_ms":1783928933000,"timestamp_seconds":1783928933,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a734a88"} 
[2026-07-13 13:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-13 13:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:19:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":131342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":131342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":131342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685806592001,"66":14515,"17":206,"94":11008,"24":3,"16":24250733972946944,"45":802766663699767296},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-13 13:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685806592001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:19:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 13:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24250733972946944,"km_value":24250733972946.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":802766663699767296,"description":"Unknown IO ID 45"} 
[2026-07-13 13:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685806592001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":802766663699767296}} 
[2026-07-13 13:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":131342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479986,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:19:29] local.INFO: GPS data processed {"connection_id":131342,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:19:29] local.INFO: Acknowledgment sent {"connection_id":131342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:19:34] local.INFO: TCP Data received {"connection_id":130533,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:19:34] local.INFO: Processing buffer {"connection_id":130533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:19:34] local.INFO: IMEI packet received {"connection_id":130533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":130533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:19:40] local.INFO: TCP Data received {"connection_id":130533,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:19:40] local.INFO: Processing buffer {"connection_id":130533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:19:40] local.INFO: IMEI packet received {"connection_id":130533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":130533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:19:40] local.INFO: TCP Data received {"connection_id":130533,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a727f68012d7f914005afd938000d011b24..."} 
[2026-07-13 13:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a727f68012d7f914005afd938000d011b24..."} 
[2026-07-13 13:19:40] local.INFO: Processing buffer {"connection_id":130533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a727f68012d7f914005afd938000d011b24..."} 
[2026-07-13 13:19:40] local.INFO: Packet analysis {"connection_id":130533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a72"} 
[2026-07-13 13:19:40] local.INFO: Extracted packet for processing {"connection_id":130533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a72"} 
[2026-07-13 13:19:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13: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-07-13 13:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685716480001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783928881000,"timestamp_ms":1783928881000,"timestamp_seconds":1783928881,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a727f68"} 
[2026-07-13 13:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13: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-07-13 13:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685716480001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685716480001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:19:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:19:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685716480001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":130533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:19:40] local.INFO: GPS data processed {"connection_id":130533,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:19:40] local.INFO: Acknowledgment sent {"connection_id":130533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:20:00] local.INFO: TCP Data received {"connection_id":131342,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a73f280012d0b6900070344a0000d00ab08..."} 
[2026-07-13 13:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a73f280012d0b6900070344a0000d00ab08..."} 
[2026-07-13 13:20:00] local.INFO: Processing buffer {"connection_id":131342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a73f280012d0b6900070344a0000d00ab08..."} 
[2026-07-13 13:20:00] local.INFO: Packet analysis {"connection_id":131342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a73"} 
[2026-07-13 13:20:00] local.INFO: Extracted packet for processing {"connection_id":131342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a73"} 
[2026-07-13 13:20:00] local.INFO: GPS Element Parsed {"raw_longitude":755722496,"raw_latitude":117654688,"longitude_deg":75.5722496,"latitude_deg":11.7654688,"altitude":13,"angle":171,"satellites":8,"speed":11,"hex_longitude":"2d0b6900","hex_latitude":"070344a0","is_valid_coordinates":true} 
[2026-07-13 13:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685817344001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24251665980850176,"note":"Value kept but may cause issues"} 
[2026-07-13 13:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":821977330859014144,"note":"Value kept but may cause issues"} 
[2026-07-13 13:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783928976000,"timestamp_ms":1783928976000,"timestamp_seconds":1783928976,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a73f280"} 
[2026-07-13 13:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-13 13:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:20:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":131342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":131342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":131342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685817344001,"66":14591,"17":206,"94":11008,"24":11,"16":24251665980850176,"45":821977330859014144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-13 13:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685817344001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:20:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 13:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24251665980850176,"km_value":24251665980850.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":821977330859014144,"description":"Unknown IO ID 45"} 
[2026-07-13 13:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685817344001,"power":14591,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":821977330859014144}} 
[2026-07-13 13:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":131342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479988,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:20:00] local.INFO: GPS data processed {"connection_id":131342,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:20:00] local.INFO: Acknowledgment sent {"connection_id":131342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:20:12] local.INFO: TCP Data received {"connection_id":130533,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a727f68012d7f914005afd938000d011b24..."} 
[2026-07-13 13:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a727f68012d7f914005afd938000d011b24..."} 
[2026-07-13 13:20:12] local.INFO: Processing buffer {"connection_id":130533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a727f68012d7f914005afd938000d011b24..."} 
[2026-07-13 13:20:12] local.INFO: Packet analysis {"connection_id":130533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a72"} 
[2026-07-13 13:20:12] local.INFO: Extracted packet for processing {"connection_id":130533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a72"} 
[2026-07-13 13:20:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685716480001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783928881000,"timestamp_ms":1783928881000,"timestamp_seconds":1783928881,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a727f68"} 
[2026-07-13 13:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685716480001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685716480001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:20:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:20:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685716480001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":130533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:20:12] local.INFO: GPS data processed {"connection_id":130533,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:20:12] local.INFO: Acknowledgment sent {"connection_id":130533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:20:31] local.INFO: TCP Data received {"connection_id":131342,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a742d18012d0b6d0007034438000b00e407..."} 
[2026-07-13 13:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a742d18012d0b6d0007034438000b00e407..."} 
[2026-07-13 13:20:31] local.INFO: Processing buffer {"connection_id":131342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a742d18012d0b6d0007034438000b00e407..."} 
[2026-07-13 13:20:31] local.INFO: Packet analysis {"connection_id":131342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a74"} 
[2026-07-13 13:20:31] local.INFO: Extracted packet for processing {"connection_id":131342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a74"} 
[2026-07-13 13:20:31] local.INFO: GPS Element Parsed {"raw_longitude":755723520,"raw_latitude":117654584,"longitude_deg":75.572352,"latitude_deg":11.7654584,"altitude":11,"angle":228,"satellites":7,"speed":2,"hex_longitude":"2d0b6d00","hex_latitude":"07034438","is_valid_coordinates":true} 
[2026-07-13 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-07-13 13:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685817856001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24251721815425024,"note":"Value kept but may cause issues"} 
[2026-07-13 13:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822188437091426304,"note":"Value kept but may cause issues"} 
[2026-07-13 13:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783928991000,"timestamp_ms":1783928991000,"timestamp_seconds":1783928991,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a742d18"} 
[2026-07-13 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-07-13 13:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":56,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 13:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2773,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 13:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":131342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":131342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":131342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685817856001,"66":14515,"17":206,"94":11008,"24":2,"16":24251721815425024,"45":822188437091426304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-13 13:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685817856001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:20:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 13:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24251721815425024,"km_value":24251721815425.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":822188437091426304,"description":"Unknown IO ID 45"} 
[2026-07-13 13:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685817856001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":822188437091426304}} 
[2026-07-13 13:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":131342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479990,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:20:31] local.INFO: GPS data processed {"connection_id":131342,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:20:31] local.INFO: Acknowledgment sent {"connection_id":131342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:20:40] local.INFO: TCP Data received {"connection_id":131343,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:20:40] local.INFO: Processing buffer {"connection_id":131343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:20:40] local.INFO: IMEI packet received {"connection_id":131343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":131343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:20:45] local.INFO: TCP Data received {"connection_id":131343,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:20:45] local.INFO: Processing buffer {"connection_id":131343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:20:45] local.INFO: IMEI packet received {"connection_id":131343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":131343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:20:45] local.INFO: TCP Data received {"connection_id":131343,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a727f68012d7f914005afd938000d011b24..."} 
[2026-07-13 13:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a727f68012d7f914005afd938000d011b24..."} 
[2026-07-13 13:20:45] local.INFO: Processing buffer {"connection_id":131343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a727f68012d7f914005afd938000d011b24..."} 
[2026-07-13 13:20:45] local.INFO: Packet analysis {"connection_id":131343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a72"} 
[2026-07-13 13:20:45] local.INFO: Extracted packet for processing {"connection_id":131343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a72"} 
[2026-07-13 13:20:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685716480001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783928881000,"timestamp_ms":1783928881000,"timestamp_seconds":1783928881,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a727f68"} 
[2026-07-13 13:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:20:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685716480001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685716480001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:20:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:20:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685716480001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":131343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:20:45] local.INFO: GPS data processed {"connection_id":131343,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:20:45] local.INFO: Acknowledgment sent {"connection_id":131343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:20:50] local.INFO: TCP Data received {"connection_id":131343,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a727f68012d7f914005afd938000d011b24..."} 
[2026-07-13 13:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a727f68012d7f914005afd938000d011b24..."} 
[2026-07-13 13:20:50] local.INFO: Processing buffer {"connection_id":131343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a727f68012d7f914005afd938000d011b24..."} 
[2026-07-13 13:20:50] local.INFO: Packet analysis {"connection_id":131343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a72"} 
[2026-07-13 13:20:50] local.INFO: Extracted packet for processing {"connection_id":131343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a72"} 
[2026-07-13 13:20:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 13:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685716480001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783928881000,"timestamp_ms":1783928881000,"timestamp_seconds":1783928881,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a727f68"} 
[2026-07-13 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-07-13 13:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:20: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-07-13 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-07-13 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-07-13 13:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685716480001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685716480001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:20:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:20:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685716480001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":131343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:20:50] local.INFO: GPS data processed {"connection_id":131343,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:20:50] local.INFO: Acknowledgment sent {"connection_id":131343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:21:02] local.INFO: TCP Data received {"connection_id":131342,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a752ee8012d0b7ec0070343c00007003909..."} 
[2026-07-13 13:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a752ee8012d0b7ec0070343c00007003909..."} 
[2026-07-13 13:21:02] local.INFO: Processing buffer {"connection_id":131342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a752ee8012d0b7ec0070343c00007003909..."} 
[2026-07-13 13:21:02] local.INFO: Packet analysis {"connection_id":131342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a75"} 
[2026-07-13 13:21:02] local.INFO: Extracted packet for processing {"connection_id":131342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a75"} 
[2026-07-13 13:21:02] local.INFO: GPS Element Parsed {"raw_longitude":755728064,"raw_latitude":117654464,"longitude_deg":75.5728064,"latitude_deg":11.7654464,"altitude":7,"angle":57,"satellites":9,"speed":10,"hex_longitude":"2d0b7ec0","hex_latitude":"070343c0","is_valid_coordinates":true} 
[2026-07-13 13:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685838080001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24251979513462784,"note":"Value kept but may cause issues"} 
[2026-07-13 13:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":827466092904644608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783929057000,"timestamp_ms":1783929057000,"timestamp_seconds":1783929057,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a752ee8"} 
[2026-07-13 13:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-13 13:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":131342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":131342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":131342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685838080001,"66":14428,"37":206,"94":11008,"24":10,"16":24251979513462784,"45":827466092904644608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-13 13:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685838080001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:21:02] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-13 13:21:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 13:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24251979513462784,"km_value":24251979513462.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":827466092904644608,"description":"Unknown IO ID 45"} 
[2026-07-13 13:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685838080001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":827466092904644608}} 
[2026-07-13 13:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":131342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479993,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:21:02] local.INFO: GPS data processed {"connection_id":131342,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:21:02] local.INFO: Acknowledgment sent {"connection_id":131342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:21:23] local.INFO: TCP Data received {"connection_id":130535,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130535,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:21:23] local.INFO: Processing buffer {"connection_id":130535,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:21:23] local.INFO: IMEI packet received {"connection_id":130535,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 13:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":130535,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:21:31] local.INFO: TCP Data received {"connection_id":130535,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130535,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:21:31] local.INFO: Processing buffer {"connection_id":130535,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:21:31] local.INFO: IMEI packet received {"connection_id":130535,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":130535,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:21:32] local.INFO: TCP Data received {"connection_id":130535,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a7532d0012d0b8040070344700007002709..."} 
[2026-07-13 13:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a7532d0012d0b8040070344700007002709..."} 
[2026-07-13 13:21:32] local.INFO: Processing buffer {"connection_id":130535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a7532d0012d0b8040070344700007002709..."} 
[2026-07-13 13:21:32] local.INFO: Packet analysis {"connection_id":130535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a75"} 
[2026-07-13 13:21:32] local.INFO: Extracted packet for processing {"connection_id":130535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a75"} 
[2026-07-13 13:21:32] local.INFO: GPS Element Parsed {"raw_longitude":755728448,"raw_latitude":117654640,"longitude_deg":75.5728448,"latitude_deg":11.765464,"altitude":7,"angle":39,"satellites":9,"speed":10,"hex_longitude":"2d0b8040","hex_latitude":"07034470","is_valid_coordinates":true} 
[2026-07-13 13:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685838592001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24252000988299264,"note":"Value kept but may cause issues"} 
[2026-07-13 13:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828310517834825728,"note":"Value kept but may cause issues"} 
[2026-07-13 13:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783929058000,"timestamp_ms":1783929058000,"timestamp_seconds":1783929058,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a7532d0"} 
[2026-07-13 13:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 13:21: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-07-13 13:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":130535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":130535,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":130535,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685838592001,"66":14407,"37":206,"94":11008,"24":10,"16":24252000988299264,"45":828310517834825728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-13 13:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685838592001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:21:32] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-13 13:21:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 13:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24252000988299264,"km_value":24252000988299.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":828310517834825728,"description":"Unknown IO ID 45"} 
[2026-07-13 13:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685838592001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":828310517834825728}} 
[2026-07-13 13:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":130535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479994,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:21:32] local.INFO: GPS data processed {"connection_id":130535,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:21:32] local.INFO: Acknowledgment sent {"connection_id":130535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:21:34] local.INFO: TCP Data received {"connection_id":130318,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:21:34] local.INFO: Processing buffer {"connection_id":130318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:21:34] local.INFO: IMEI packet received {"connection_id":130318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":130318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:21:40] local.INFO: TCP Data received {"connection_id":130318,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:21:40] local.INFO: Processing buffer {"connection_id":130318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:21:40] local.INFO: IMEI packet received {"connection_id":130318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":130318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:21:40] local.INFO: TCP Data received {"connection_id":130318,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a727f68012d7f914005afd938000d011b24..."} 
[2026-07-13 13:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a727f68012d7f914005afd938000d011b24..."} 
[2026-07-13 13:21:40] local.INFO: Processing buffer {"connection_id":130318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a727f68012d7f914005afd938000d011b24..."} 
[2026-07-13 13:21:40] local.INFO: Packet analysis {"connection_id":130318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a72"} 
[2026-07-13 13:21:40] local.INFO: Extracted packet for processing {"connection_id":130318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a72"} 
[2026-07-13 13:21:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685716480001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783928881000,"timestamp_ms":1783928881000,"timestamp_seconds":1783928881,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a727f68"} 
[2026-07-13 13:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685716480001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685716480001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:21:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:21:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685716480001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":130318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:21:40] local.INFO: GPS data processed {"connection_id":130318,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:21:40] local.INFO: Acknowledgment sent {"connection_id":130318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:22:03] local.INFO: TCP Data received {"connection_id":130535,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a75e680012d0b98c007034e000007005f0a..."} 
[2026-07-13 13:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a75e680012d0b98c007034e000007005f0a..."} 
[2026-07-13 13:22:03] local.INFO: Processing buffer {"connection_id":130535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a75e680012d0b98c007034e000007005f0a..."} 
[2026-07-13 13:22:03] local.INFO: Packet analysis {"connection_id":130535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a75"} 
[2026-07-13 13:22:03] local.INFO: Extracted packet for processing {"connection_id":130535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a75"} 
[2026-07-13 13:22:03] local.INFO: GPS Element Parsed {"raw_longitude":755734720,"raw_latitude":117657088,"longitude_deg":75.573472,"latitude_deg":11.7657088,"altitude":7,"angle":95,"satellites":10,"speed":8,"hex_longitude":"2d0b98c0","hex_latitude":"07034e00","is_valid_coordinates":true} 
[2026-07-13 13:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685850368001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24252426190061568,"note":"Value kept but may cause issues"} 
[2026-07-13 13:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":835347392253253632,"note":"Value kept but may cause issues"} 
[2026-07-13 13:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783929104000,"timestamp_ms":1783929104000,"timestamp_seconds":1783929104,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a75e680"} 
[2026-07-13 13:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-13 13:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":130535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":130535,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":130535,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685850368001,"66":14461,"37":206,"94":11008,"24":8,"16":24252426190061568,"45":835347392253253632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-13 13:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685850368001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:22:03] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-13 13:22:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 13:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24252426190061568,"km_value":24252426190061.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":835347392253253632,"description":"Unknown IO ID 45"} 
[2026-07-13 13:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685850368001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":835347392253253632}} 
[2026-07-13 13:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":130535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479996,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:22:03] local.INFO: GPS data processed {"connection_id":130535,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:22:03] local.INFO: Acknowledgment sent {"connection_id":130535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:22:10] local.INFO: TCP Data received {"connection_id":130536,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130536,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:22:10] local.INFO: Processing buffer {"connection_id":130536,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:22:10] local.INFO: IMEI packet received {"connection_id":130536,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 13:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":130536,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:22:12] local.INFO: TCP Data received {"connection_id":130318,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a727f68012d7f914005afd938000d011b24..."} 
[2026-07-13 13:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a727f68012d7f914005afd938000d011b24..."} 
[2026-07-13 13:22:12] local.INFO: Processing buffer {"connection_id":130318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a727f68012d7f914005afd938000d011b24..."} 
[2026-07-13 13:22:12] local.INFO: Packet analysis {"connection_id":130318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a72"} 
[2026-07-13 13:22:12] local.INFO: Extracted packet for processing {"connection_id":130318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a72"} 
[2026-07-13 13:22:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685716480001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783928881000,"timestamp_ms":1783928881000,"timestamp_seconds":1783928881,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a727f68"} 
[2026-07-13 13:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685716480001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685716480001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:22:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:22:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685716480001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":130318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:22:12] local.INFO: GPS data processed {"connection_id":130318,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:22:12] local.INFO: Acknowledgment sent {"connection_id":130318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:22:28] local.INFO: TCP Data received {"connection_id":130537,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130537,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:22:28] local.INFO: Processing buffer {"connection_id":130537,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:22:28] local.INFO: IMEI packet received {"connection_id":130537,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 13:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":130537,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:22:28] local.INFO: TCP Data received {"connection_id":130537,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a75f238012d0b9d4007034eb80007004d0a..."} 
[2026-07-13 13:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a75f238012d0b9d4007034eb80007004d0a..."} 
[2026-07-13 13:22:28] local.INFO: Processing buffer {"connection_id":130537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a75f238012d0b9d4007034eb80007004d0a..."} 
[2026-07-13 13:22:28] local.INFO: Packet analysis {"connection_id":130537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a75"} 
[2026-07-13 13:22:28] local.INFO: Extracted packet for processing {"connection_id":130537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a75"} 
[2026-07-13 13:22:28] local.INFO: GPS Element Parsed {"raw_longitude":755735872,"raw_latitude":117657272,"longitude_deg":75.5735872,"latitude_deg":11.7657272,"altitude":7,"angle":77,"satellites":10,"speed":13,"hex_longitude":"2d0b9d40","hex_latitude":"07034eb8","is_valid_coordinates":true} 
[2026-07-13 13:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685850624001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24252482024636416,"note":"Value kept but may cause issues"} 
[2026-07-13 13:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":835628867229974528,"note":"Value kept but may cause issues"} 
[2026-07-13 13:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783929107000,"timestamp_ms":1783929107000,"timestamp_seconds":1783929107,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a75f238"} 
[2026-07-13 13:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-13 13:22:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":130537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":130537,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":130537,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685850624001,"66":14439,"37":206,"94":11008,"24":13,"16":24252482024636416,"45":835628867229974528},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-13 13:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685850624001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:22:28] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-13 13:22:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 13:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24252482024636416,"km_value":24252482024636.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":835628867229974528,"description":"Unknown IO ID 45"} 
[2026-07-13 13:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685850624001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":835628867229974528}} 
[2026-07-13 13:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":130537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479998,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:22:29] local.INFO: GPS data processed {"connection_id":130537,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:22:29] local.INFO: Acknowledgment sent {"connection_id":130537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:22:35] local.INFO: TCP Data received {"connection_id":131345,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:22:35] local.INFO: Processing buffer {"connection_id":131345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:22:35] local.INFO: IMEI packet received {"connection_id":131345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":131345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:22:40] local.INFO: TCP Data received {"connection_id":131345,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:22:40] local.INFO: Processing buffer {"connection_id":131345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:22:40] local.INFO: IMEI packet received {"connection_id":131345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":131345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:22:40] local.INFO: TCP Data received {"connection_id":131345,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a727f68012d7f914005afd938000d011b24..."} 
[2026-07-13 13:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a727f68012d7f914005afd938000d011b24..."} 
[2026-07-13 13:22:40] local.INFO: Processing buffer {"connection_id":131345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a727f68012d7f914005afd938000d011b24..."} 
[2026-07-13 13:22:40] local.INFO: Packet analysis {"connection_id":131345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a72"} 
[2026-07-13 13:22:40] local.INFO: Extracted packet for processing {"connection_id":131345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a72"} 
[2026-07-13 13:22:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685716480001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783928881000,"timestamp_ms":1783928881000,"timestamp_seconds":1783928881,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a727f68"} 
[2026-07-13 13:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685716480001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685716480001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:22:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:22:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685716480001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":131345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":479999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:22:40] local.INFO: GPS data processed {"connection_id":131345,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:22:40] local.INFO: Acknowledgment sent {"connection_id":131345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:22:40] local.INFO: TCP Data received {"connection_id":132666,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132666,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:22:40] local.INFO: Processing buffer {"connection_id":132666,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:22:40] local.INFO: IMEI packet received {"connection_id":132666,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 13:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":132666,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:22:59] local.INFO: TCP Data received {"connection_id":130537,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a760d90012d0ba8c007035150000700590a..."} 
[2026-07-13 13:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a760d90012d0ba8c007035150000700590a..."} 
[2026-07-13 13:22:59] local.INFO: Processing buffer {"connection_id":130537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a760d90012d0ba8c007035150000700590a..."} 
[2026-07-13 13:22:59] local.INFO: Packet analysis {"connection_id":130537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a76"} 
[2026-07-13 13:22:59] local.INFO: Extracted packet for processing {"connection_id":130537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a76"} 
[2026-07-13 13:22:59] local.INFO: GPS Element Parsed {"raw_longitude":755738816,"raw_latitude":117657936,"longitude_deg":75.5738816,"latitude_deg":11.7657936,"altitude":7,"angle":89,"satellites":10,"speed":10,"hex_longitude":"2d0ba8c0","hex_latitude":"07035150","is_valid_coordinates":true} 
[2026-07-13 13:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685851392001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24252628053524480,"note":"Value kept but may cause issues"} 
[2026-07-13 13:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":836895504625219584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783929114000,"timestamp_ms":1783929114000,"timestamp_seconds":1783929114,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a760d90"} 
[2026-07-13 13:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 13:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":130537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":130537,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":130537,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685851392001,"66":14450,"37":206,"94":11008,"24":10,"16":24252628053524480,"45":836895504625219584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-13 13:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685851392001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:22:59] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-13 13:22:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 13:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24252628053524480,"km_value":24252628053524.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":836895504625219584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685851392001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":836895504625219584}} 
[2026-07-13 13:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":130537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480000,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:22:59] local.INFO: GPS data processed {"connection_id":130537,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:22:59] local.INFO: Acknowledgment sent {"connection_id":130537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:23:14] local.INFO: TCP Data received {"connection_id":131345,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a727f68012d7f914005afd938000d011b24..."} 
[2026-07-13 13:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a727f68012d7f914005afd938000d011b24..."} 
[2026-07-13 13:23:14] local.INFO: Processing buffer {"connection_id":131345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a727f68012d7f914005afd938000d011b24..."} 
[2026-07-13 13:23:14] local.INFO: Packet analysis {"connection_id":131345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a72"} 
[2026-07-13 13:23:14] local.INFO: Extracted packet for processing {"connection_id":131345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a72"} 
[2026-07-13 13:23:14] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685716480001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783928881000,"timestamp_ms":1783928881000,"timestamp_seconds":1783928881,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a727f68"} 
[2026-07-13 13:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":131345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":131345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":131345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685716480001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685716480001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:23:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:23:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685716480001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":131345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:23:14] local.INFO: GPS data processed {"connection_id":131345,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:23:14] local.INFO: Acknowledgment sent {"connection_id":131345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:23:29] local.INFO: TCP Data received {"connection_id":132667,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132667,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:23:29] local.INFO: Processing buffer {"connection_id":132667,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:23:29] local.INFO: IMEI packet received {"connection_id":132667,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 13:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":132667,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:23:30] local.INFO: TCP Data received {"connection_id":132667,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132667,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:23:30] local.INFO: Processing buffer {"connection_id":132667,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:23:30] local.INFO: IMEI packet received {"connection_id":132667,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":132667,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:23:30] local.INFO: TCP Data received {"connection_id":132667,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a7634a0012d0baa80070352100007004b0a..."} 
[2026-07-13 13:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a7634a0012d0baa80070352100007004b0a..."} 
[2026-07-13 13:23:30] local.INFO: Processing buffer {"connection_id":132667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a7634a0012d0baa80070352100007004b0a..."} 
[2026-07-13 13:23:30] local.INFO: Packet analysis {"connection_id":132667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a76"} 
[2026-07-13 13:23:30] local.INFO: Extracted packet for processing {"connection_id":132667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a76"} 
[2026-07-13 13:23:30] local.INFO: GPS Element Parsed {"raw_longitude":755739264,"raw_latitude":117658128,"longitude_deg":75.5739264,"latitude_deg":11.7658128,"altitude":7,"angle":75,"satellites":10,"speed":8,"hex_longitude":"2d0baa80","hex_latitude":"07035210","is_valid_coordinates":true} 
[2026-07-13 13:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685853184001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24252658118295552,"note":"Value kept but may cause issues"} 
[2026-07-13 13:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840132466857562112,"note":"Value kept but may cause issues"} 
[2026-07-13 13:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783929124000,"timestamp_ms":1783929124000,"timestamp_seconds":1783929124,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a7634a0"} 
[2026-07-13 13:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:23: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-07-13 13: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-13 13:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":132667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":132667,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":132667,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685853184001,"66":14450,"37":206,"94":11008,"24":8,"16":24252658118295552,"45":840132466857562112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-13 13:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685853184001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:23:30] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-13 13:23:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 13:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24252658118295552,"km_value":24252658118295.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":840132466857562112,"description":"Unknown IO ID 45"} 
[2026-07-13 13:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685853184001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":840132466857562112}} 
[2026-07-13 13:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":132667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480002,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:23:30] local.INFO: GPS data processed {"connection_id":132667,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:23:30] local.INFO: Acknowledgment sent {"connection_id":132667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:23:33] local.INFO: TCP Data received {"connection_id":132667,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a766768012d0bc880070358f8000000560a..."} 
[2026-07-13 13:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a766768012d0bc880070358f8000000560a..."} 
[2026-07-13 13:23:33] local.INFO: Processing buffer {"connection_id":132667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a766768012d0bc880070358f8000000560a..."} 
[2026-07-13 13:23:33] local.INFO: Packet analysis {"connection_id":132667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a76"} 
[2026-07-13 13:23:33] local.INFO: Extracted packet for processing {"connection_id":132667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a76"} 
[2026-07-13 13:23:33] local.INFO: GPS Element Parsed {"raw_longitude":755746944,"raw_latitude":117659896,"longitude_deg":75.5746944,"latitude_deg":11.7659896,"altitude":0,"angle":86,"satellites":10,"speed":25,"hex_longitude":"2d0bc880","hex_latitude":"070358f8","is_valid_coordinates":true} 
[2026-07-13 13:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685855744001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24253031780450304,"note":"Value kept but may cause issues"} 
[2026-07-13 13:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840625048066854912,"note":"Value kept but may cause issues"} 
[2026-07-13 13:23: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-07-13 13:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783929137000,"timestamp_ms":1783929137000,"timestamp_seconds":1783929137,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a766768"} 
[2026-07-13 13:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-13 13:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":132667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":132667,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":132667,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685855744001,"66":14515,"37":206,"94":11008,"24":25,"16":24253031780450304,"45":840625048066854912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-13 13:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685855744001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:23:33] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-13 13:23:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 13:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24253031780450304,"km_value":24253031780450.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":840625048066854912,"description":"Unknown IO ID 45"} 
[2026-07-13 13:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685855744001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":25,"odometer":null,"unknown_45":840625048066854912}} 
[2026-07-13 13:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":132667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480003,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:23:33] local.INFO: GPS data processed {"connection_id":132667,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:23:33] local.INFO: Acknowledgment sent {"connection_id":132667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:23:35] local.INFO: TCP Data received {"connection_id":130538,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:23:35] local.INFO: Processing buffer {"connection_id":130538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:23:35] local.INFO: IMEI packet received {"connection_id":130538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":130538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:23:40] local.INFO: TCP Data received {"connection_id":130538,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:23:40] local.INFO: Processing buffer {"connection_id":130538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:23:40] local.INFO: IMEI packet received {"connection_id":130538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":130538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:23:41] local.INFO: TCP Data received {"connection_id":130538,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a771730012d7f914005afd938000d011b24..."} 
[2026-07-13 13:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a771730012d7f914005afd938000d011b24..."} 
[2026-07-13 13:23:41] local.INFO: Processing buffer {"connection_id":130538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a771730012d7f914005afd938000d011b24..."} 
[2026-07-13 13:23:41] local.INFO: Packet analysis {"connection_id":130538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a77"} 
[2026-07-13 13:23:41] local.INFO: Extracted packet for processing {"connection_id":130538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a77"} 
[2026-07-13 13:23:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685793536001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783929182000,"timestamp_ms":1783929182000,"timestamp_seconds":1783929182,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a771730"} 
[2026-07-13 13:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685793536001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685793536001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:23:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:23:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685793536001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":130538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:23:41] local.INFO: GPS data processed {"connection_id":130538,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:23:41] local.INFO: Acknowledgment sent {"connection_id":130538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:24:04] local.INFO: TCP Data received {"connection_id":132667,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a77d698012d0bff0007035658000000880c..."} 
[2026-07-13 13:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a77d698012d0bff0007035658000000880c..."} 
[2026-07-13 13:24:04] local.INFO: Processing buffer {"connection_id":132667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a77d698012d0bff0007035658000000880c..."} 
[2026-07-13 13:24:04] local.INFO: Packet analysis {"connection_id":132667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a77"} 
[2026-07-13 13:24:04] local.INFO: Extracted packet for processing {"connection_id":132667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a77"} 
[2026-07-13 13:24:04] local.INFO: GPS Element Parsed {"raw_longitude":755760896,"raw_latitude":117659224,"longitude_deg":75.5760896,"latitude_deg":11.7659224,"altitude":0,"angle":136,"satellites":12,"speed":7,"hex_longitude":"2d0bff00","hex_latitude":"07035658","is_valid_coordinates":true} 
[2026-07-13 13:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685882368001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24253727565152256,"note":"Value kept but may cause issues"} 
[2026-07-13 13:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":864198577366743040,"note":"Value kept but may cause issues"} 
[2026-07-13 13:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783929231000,"timestamp_ms":1783929231000,"timestamp_seconds":1783929231,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a77d698"} 
[2026-07-13 13:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 13:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132667,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132667,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685882368001,"66":14537,"37":206,"94":11008,"24":7,"16":24253727565152256,"45":864198577366743040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-13 13:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685882368001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:24:04] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-13 13:24:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 13:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24253727565152256,"km_value":24253727565152.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":864198577366743040,"description":"Unknown IO ID 45"} 
[2026-07-13 13:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685882368001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":864198577366743040}} 
[2026-07-13 13:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":132667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480005,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:24:04] local.INFO: GPS data processed {"connection_id":132667,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:24:04] local.INFO: Acknowledgment sent {"connection_id":132667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:24:12] local.INFO: TCP Data received {"connection_id":130538,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a771730012d7f914005afd938000d011b24..."} 
[2026-07-13 13:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a771730012d7f914005afd938000d011b24..."} 
[2026-07-13 13:24:12] local.INFO: Processing buffer {"connection_id":130538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a771730012d7f914005afd938000d011b24..."} 
[2026-07-13 13:24:12] local.INFO: Packet analysis {"connection_id":130538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a77"} 
[2026-07-13 13:24:12] local.INFO: Extracted packet for processing {"connection_id":130538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a77"} 
[2026-07-13 13:24:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685793536001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783929182000,"timestamp_ms":1783929182000,"timestamp_seconds":1783929182,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a771730"} 
[2026-07-13 13:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685793536001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685793536001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:24:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:24:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685793536001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":130538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:24:12] local.INFO: GPS data processed {"connection_id":130538,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:24:12] local.INFO: Acknowledgment sent {"connection_id":130538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:24:19] local.INFO: TCP Data received {"connection_id":130539,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130539,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:24:19] local.INFO: Processing buffer {"connection_id":130539,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:24:19] local.INFO: IMEI packet received {"connection_id":130539,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 13:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":130539,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:24:20] local.INFO: TCP Data received {"connection_id":130539,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130539,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:24:20] local.INFO: Processing buffer {"connection_id":130539,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:24:20] local.INFO: IMEI packet received {"connection_id":130539,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":130539,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:24:21] local.INFO: TCP Data received {"connection_id":130539,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130539,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:24:21] local.INFO: Processing buffer {"connection_id":130539,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:24:21] local.INFO: IMEI packet received {"connection_id":130539,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":130539,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:24:23] local.INFO: TCP Data received {"connection_id":130539,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130539,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:24:23] local.INFO: Processing buffer {"connection_id":130539,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:24:23] local.INFO: IMEI packet received {"connection_id":130539,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":130539,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:24:34] local.INFO: TCP Data received {"connection_id":131346,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:24:34] local.INFO: Processing buffer {"connection_id":131346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:24:34] local.INFO: IMEI packet received {"connection_id":131346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":131346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:24:40] local.INFO: TCP Data received {"connection_id":131346,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:24:40] local.INFO: Processing buffer {"connection_id":131346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:24:40] local.INFO: IMEI packet received {"connection_id":131346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":131346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:24:40] local.INFO: TCP Data received {"connection_id":131346,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a771730012d7f914005afd938000d011b24..."} 
[2026-07-13 13:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a771730012d7f914005afd938000d011b24..."} 
[2026-07-13 13:24:40] local.INFO: Processing buffer {"connection_id":131346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a771730012d7f914005afd938000d011b24..."} 
[2026-07-13 13:24:40] local.INFO: Packet analysis {"connection_id":131346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a77"} 
[2026-07-13 13:24:40] local.INFO: Extracted packet for processing {"connection_id":131346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a77"} 
[2026-07-13 13:24:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685793536001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783929182000,"timestamp_ms":1783929182000,"timestamp_seconds":1783929182,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a771730"} 
[2026-07-13 13:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:24: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-07-13 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685793536001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685793536001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:24:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:24:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685793536001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":131346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:24:40] local.INFO: GPS data processed {"connection_id":131346,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:24:40] local.INFO: Acknowledgment sent {"connection_id":131346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:25:12] local.INFO: TCP Data received {"connection_id":131346,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a771730012d7f914005afd938000d011b24..."} 
[2026-07-13 13:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a771730012d7f914005afd938000d011b24..."} 
[2026-07-13 13:25:12] local.INFO: Processing buffer {"connection_id":131346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a771730012d7f914005afd938000d011b24..."} 
[2026-07-13 13:25:12] local.INFO: Packet analysis {"connection_id":131346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a77"} 
[2026-07-13 13:25:12] local.INFO: Extracted packet for processing {"connection_id":131346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a77"} 
[2026-07-13 13:25:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685793536001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783929182000,"timestamp_ms":1783929182000,"timestamp_seconds":1783929182,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a771730"} 
[2026-07-13 13:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685793536001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685793536001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:25:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:25:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685793536001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":131346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:25:12] local.INFO: GPS data processed {"connection_id":131346,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:25:12] local.INFO: Acknowledgment sent {"connection_id":131346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:25:40] local.INFO: TCP Data received {"connection_id":132668,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:25:40] local.INFO: Processing buffer {"connection_id":132668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:25:40] local.INFO: IMEI packet received {"connection_id":132668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":132668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:25:45] local.INFO: TCP Data received {"connection_id":132668,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:25:45] local.INFO: Processing buffer {"connection_id":132668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:25:45] local.INFO: IMEI packet received {"connection_id":132668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":132668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:25:46] local.INFO: TCP Data received {"connection_id":132668,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a771730012d7f914005afd938000d011b24..."} 
[2026-07-13 13:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a771730012d7f914005afd938000d011b24..."} 
[2026-07-13 13:25:46] local.INFO: Processing buffer {"connection_id":132668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a771730012d7f914005afd938000d011b24..."} 
[2026-07-13 13:25:46] local.INFO: Packet analysis {"connection_id":132668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a77"} 
[2026-07-13 13:25:46] local.INFO: Extracted packet for processing {"connection_id":132668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a77"} 
[2026-07-13 13:25:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685793536001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783929182000,"timestamp_ms":1783929182000,"timestamp_seconds":1783929182,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a771730"} 
[2026-07-13 13:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:25: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-07-13 13:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685793536001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685793536001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:25:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:25:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685793536001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":132668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:25:46] local.INFO: GPS data processed {"connection_id":132668,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:25:46] local.INFO: Acknowledgment sent {"connection_id":132668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:25:50] local.INFO: TCP Data received {"connection_id":132668,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a771730012d7f914005afd938000d011b24..."} 
[2026-07-13 13:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a771730012d7f914005afd938000d011b24..."} 
[2026-07-13 13:25:50] local.INFO: Processing buffer {"connection_id":132668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a771730012d7f914005afd938000d011b24..."} 
[2026-07-13 13:25:50] local.INFO: Packet analysis {"connection_id":132668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a77"} 
[2026-07-13 13:25:50] local.INFO: Extracted packet for processing {"connection_id":132668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a77"} 
[2026-07-13 13:25:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 13:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685793536001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783929182000,"timestamp_ms":1783929182000,"timestamp_seconds":1783929182,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a771730"} 
[2026-07-13 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-07-13 13:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:25: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-07-13 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-07-13 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-07-13 13:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":132668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":132668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":132668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:25: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-07-13 13:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685793536001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685793536001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:25:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:25:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685793536001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":132668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:25:50] local.INFO: GPS data processed {"connection_id":132668,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:25:50] local.INFO: Acknowledgment sent {"connection_id":132668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:26:35] local.INFO: TCP Data received {"connection_id":130322,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:26:35] local.INFO: Processing buffer {"connection_id":130322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:26:35] local.INFO: IMEI packet received {"connection_id":130322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":130322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:26:40] local.INFO: TCP Data received {"connection_id":130322,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:26:40] local.INFO: Processing buffer {"connection_id":130322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:26:40] local.INFO: IMEI packet received {"connection_id":130322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":130322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:26:40] local.INFO: TCP Data received {"connection_id":130322,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a771730012d7f914005afd938000d011b24..."} 
[2026-07-13 13:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a771730012d7f914005afd938000d011b24..."} 
[2026-07-13 13:26:40] local.INFO: Processing buffer {"connection_id":130322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a771730012d7f914005afd938000d011b24..."} 
[2026-07-13 13:26:40] local.INFO: Packet analysis {"connection_id":130322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a77"} 
[2026-07-13 13:26:40] local.INFO: Extracted packet for processing {"connection_id":130322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a77"} 
[2026-07-13 13:26:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685793536001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783929182000,"timestamp_ms":1783929182000,"timestamp_seconds":1783929182,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a771730"} 
[2026-07-13 13:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:26: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-07-13 13:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685793536001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685793536001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:26:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:26:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685793536001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":130322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:26:40] local.INFO: GPS data processed {"connection_id":130322,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:26:40] local.INFO: Acknowledgment sent {"connection_id":130322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:27:12] local.INFO: TCP Data received {"connection_id":130322,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a771730012d7f914005afd938000d011b24..."} 
[2026-07-13 13:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a771730012d7f914005afd938000d011b24..."} 
[2026-07-13 13:27:12] local.INFO: Processing buffer {"connection_id":130322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a771730012d7f914005afd938000d011b24..."} 
[2026-07-13 13:27:12] local.INFO: Packet analysis {"connection_id":130322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a77"} 
[2026-07-13 13:27:12] local.INFO: Extracted packet for processing {"connection_id":130322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a77"} 
[2026-07-13 13:27:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685793536001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783929182000,"timestamp_ms":1783929182000,"timestamp_seconds":1783929182,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a771730"} 
[2026-07-13 13:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685793536001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685793536001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:27:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:27:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685793536001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":130322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:27:12] local.INFO: GPS data processed {"connection_id":130322,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:27:12] local.INFO: Acknowledgment sent {"connection_id":130322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:27:34] local.INFO: TCP Data received {"connection_id":132673,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:27:34] local.INFO: Processing buffer {"connection_id":132673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:27:34] local.INFO: IMEI packet received {"connection_id":132673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":132673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:27:40] local.INFO: TCP Data received {"connection_id":132673,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:27:40] local.INFO: Processing buffer {"connection_id":132673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:27:40] local.INFO: IMEI packet received {"connection_id":132673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":132673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:27:40] local.INFO: TCP Data received {"connection_id":132673,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a771730012d7f914005afd938000d011b24..."} 
[2026-07-13 13:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a771730012d7f914005afd938000d011b24..."} 
[2026-07-13 13:27:40] local.INFO: Processing buffer {"connection_id":132673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a771730012d7f914005afd938000d011b24..."} 
[2026-07-13 13:27:40] local.INFO: Packet analysis {"connection_id":132673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a77"} 
[2026-07-13 13:27:40] local.INFO: Extracted packet for processing {"connection_id":132673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a77"} 
[2026-07-13 13:27:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685793536001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783929182000,"timestamp_ms":1783929182000,"timestamp_seconds":1783929182,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a771730"} 
[2026-07-13 13:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:27: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-07-13 13:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685793536001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685793536001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:27:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:27:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685793536001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":132673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:27:40] local.INFO: GPS data processed {"connection_id":132673,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:27:40] local.INFO: Acknowledgment sent {"connection_id":132673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:28:10] local.INFO: TCP Data received {"connection_id":131347,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131347,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:28:10] local.INFO: Processing buffer {"connection_id":131347,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:28:10] local.INFO: IMEI packet received {"connection_id":131347,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 13:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":131347,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:28:11] local.INFO: TCP Data received {"connection_id":132673,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a771730012d7f914005afd938000d011b24..."} 
[2026-07-13 13:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a771730012d7f914005afd938000d011b24..."} 
[2026-07-13 13:28:11] local.INFO: Processing buffer {"connection_id":132673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a771730012d7f914005afd938000d011b24..."} 
[2026-07-13 13:28:11] local.INFO: Packet analysis {"connection_id":132673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a77"} 
[2026-07-13 13:28:11] local.INFO: Extracted packet for processing {"connection_id":132673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a77"} 
[2026-07-13 13:28:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685793536001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783929182000,"timestamp_ms":1783929182000,"timestamp_seconds":1783929182,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a771730"} 
[2026-07-13 13:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685793536001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685793536001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:28:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:28:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685793536001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":132673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:28:12] local.INFO: GPS data processed {"connection_id":132673,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:28:12] local.INFO: Acknowledgment sent {"connection_id":132673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:28:35] local.INFO: TCP Data received {"connection_id":131348,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:28:35] local.INFO: Processing buffer {"connection_id":131348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:28:35] local.INFO: IMEI packet received {"connection_id":131348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":131348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:28:40] local.INFO: TCP Data received {"connection_id":132674,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:28:40] local.INFO: Processing buffer {"connection_id":132674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:28:40] local.INFO: IMEI packet received {"connection_id":132674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 13:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":132674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:28:40] local.INFO: TCP Data received {"connection_id":131348,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:28:40] local.INFO: Processing buffer {"connection_id":131348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:28:40] local.INFO: IMEI packet received {"connection_id":131348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":131348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:28:41] local.INFO: TCP Data received {"connection_id":131348,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:28:41] local.INFO: Processing buffer {"connection_id":131348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:28:41] local.INFO: Packet analysis {"connection_id":131348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a7b"} 
[2026-07-13 13:28:41] local.INFO: Extracted packet for processing {"connection_id":131348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a7b"} 
[2026-07-13 13:28:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685870592001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783929483000,"timestamp_ms":1783929483000,"timestamp_seconds":1783929483,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a7baef8"} 
[2026-07-13 13:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685870592001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685870592001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:28:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:28:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685870592001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":131348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:28:41] local.INFO: GPS data processed {"connection_id":131348,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:28:41] local.INFO: Acknowledgment sent {"connection_id":131348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:28:45] local.INFO: TCP Data received {"connection_id":132674,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:28:45] local.INFO: Processing buffer {"connection_id":132674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:28:45] local.INFO: IMEI packet received {"connection_id":132674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 13:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":132674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:28:46] local.INFO: TCP Data received {"connection_id":132674,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a5ef768012cb29ac007823bf8004700e028..."} 
[2026-07-13 13:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a5ef768012cb29ac007823bf8004700e028..."} 
[2026-07-13 13:28:46] local.INFO: Processing buffer {"connection_id":132674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a5ef768012cb29ac007823bf8004700e028..."} 
[2026-07-13 13:28:46] local.INFO: Packet analysis {"connection_id":132674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a5e"} 
[2026-07-13 13:28:46] local.INFO: Extracted packet for processing {"connection_id":132674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a5e"} 
[2026-07-13 13:28:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 13:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685388800001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 13:28:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 13:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783927601000,"timestamp_ms":1783927601000,"timestamp_seconds":1783927601,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a5ef768"} 
[2026-07-13 13:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 13:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132674,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 13:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132674,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 13:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 13:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 13:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685388800001,"66":25191,"242":206,"85":36864,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-07-13 13:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 13:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 13:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685388800001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:28:46] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-13 13:28:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-13 13:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:28:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 13:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685388800001,"power":25191,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 13:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":132674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480016,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:28:46] local.INFO: GPS data processed {"connection_id":132674,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:28:46] local.INFO: Acknowledgment sent {"connection_id":132674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:29:12] local.INFO: TCP Data received {"connection_id":131348,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:29:12] local.INFO: Processing buffer {"connection_id":131348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:29:12] local.INFO: Packet analysis {"connection_id":131348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a7b"} 
[2026-07-13 13:29:12] local.INFO: Extracted packet for processing {"connection_id":131348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a7b"} 
[2026-07-13 13:29:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685870592001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783929483000,"timestamp_ms":1783929483000,"timestamp_seconds":1783929483,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a7baef8"} 
[2026-07-13 13:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685870592001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685870592001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:29:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:29:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685870592001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":131348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:29:12] local.INFO: GPS data processed {"connection_id":131348,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:29:12] local.INFO: Acknowledgment sent {"connection_id":131348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:29:26] local.INFO: TCP Data received {"connection_id":130541,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130541,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:29:26] local.INFO: Processing buffer {"connection_id":130541,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:29:26] local.INFO: IMEI packet received {"connection_id":130541,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 13:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":130541,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:29:28] local.INFO: TCP Data received {"connection_id":130541,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130541,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:29:28] local.INFO: Processing buffer {"connection_id":130541,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:29:28] local.INFO: IMEI packet received {"connection_id":130541,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":130541,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:29:29] local.INFO: TCP Data received {"connection_id":130541,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a7bed78012d0cb98007047720001500010d..."} 
[2026-07-13 13:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a7bed78012d0cb98007047720001500010d..."} 
[2026-07-13 13:29:29] local.INFO: Processing buffer {"connection_id":130541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a7bed78012d0cb98007047720001500010d..."} 
[2026-07-13 13:29:29] local.INFO: Packet analysis {"connection_id":130541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a7b"} 
[2026-07-13 13:29:29] local.INFO: Extracted packet for processing {"connection_id":130541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a7b"} 
[2026-07-13 13:29:29] local.INFO: GPS Element Parsed {"raw_longitude":755808640,"raw_latitude":117733152,"longitude_deg":75.580864,"latitude_deg":11.7733152,"altitude":21,"angle":1,"satellites":13,"speed":41,"hex_longitude":"2d0cb980","hex_latitude":"07047720","is_valid_coordinates":true} 
[2026-07-13 13: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-07-13 13:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685949952001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24259564425707520,"note":"Value kept but may cause issues"} 
[2026-07-13 13:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915497391888998400,"note":"Value kept but may cause issues"} 
[2026-07-13 13:29: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-07-13 13:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783929499000,"timestamp_ms":1783929499000,"timestamp_seconds":1783929499,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a7bed78"} 
[2026-07-13 13:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-13 13:29:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13: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-07-13 13:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130541,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130541,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685949952001,"66":14450,"16":24259564425707520,"94":11008,"24":41,"45":915497391888998400},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-07-13 13:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685949952001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24259564425707520,"km_value":24259564425707.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:29:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 13:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":915497391888998400,"description":"Unknown IO ID 45"} 
[2026-07-13 13:29:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456685949952001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":41,"unknown_45":915497391888998400}} 
[2026-07-13 13:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":130541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480018,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:29:29] local.INFO: GPS data processed {"connection_id":130541,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:29:29] local.INFO: Acknowledgment sent {"connection_id":130541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:29:34] local.INFO: TCP Data received {"connection_id":131349,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:29:34] local.INFO: Processing buffer {"connection_id":131349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:29:34] local.INFO: IMEI packet received {"connection_id":131349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":131349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:29:40] local.INFO: TCP Data received {"connection_id":131349,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:29:40] local.INFO: Processing buffer {"connection_id":131349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:29:40] local.INFO: IMEI packet received {"connection_id":131349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":131349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:29:40] local.INFO: TCP Data received {"connection_id":131350,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:29:40] local.INFO: Processing buffer {"connection_id":131350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:29:40] local.INFO: IMEI packet received {"connection_id":131350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 13:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":131350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:29:40] local.INFO: TCP Data received {"connection_id":131349,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:29:40] local.INFO: Processing buffer {"connection_id":131349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:29:40] local.INFO: Packet analysis {"connection_id":131349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a7b"} 
[2026-07-13 13:29:40] local.INFO: Extracted packet for processing {"connection_id":131349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a7b"} 
[2026-07-13 13:29:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685870592001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783929483000,"timestamp_ms":1783929483000,"timestamp_seconds":1783929483,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a7baef8"} 
[2026-07-13 13:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:29: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-07-13 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685870592001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685870592001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:29:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685870592001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":131349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:29:40] local.INFO: GPS data processed {"connection_id":131349,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:29:40] local.INFO: Acknowledgment sent {"connection_id":131349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:30:01] local.INFO: TCP Data received {"connection_id":130541,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a7d1270012d0c55c00704d0e0001700fa0f..."} 
[2026-07-13 13:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a7d1270012d0c55c00704d0e0001700fa0f..."} 
[2026-07-13 13:30:01] local.INFO: Processing buffer {"connection_id":130541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a7d1270012d0c55c00704d0e0001700fa0f..."} 
[2026-07-13 13:30:01] local.INFO: Packet analysis {"connection_id":130541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a7d"} 
[2026-07-13 13:30:01] local.INFO: Extracted packet for processing {"connection_id":130541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a7d"} 
[2026-07-13 13:30:01] local.INFO: GPS Element Parsed {"raw_longitude":755783104,"raw_latitude":117756128,"longitude_deg":75.5783104,"latitude_deg":11.7756128,"altitude":23,"angle":250,"satellites":15,"speed":34,"hex_longitude":"2d0c55c0","hex_latitude":"0704d0e0","is_valid_coordinates":true} 
[2026-07-13 13:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685969664001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24261531520729088,"note":"Value kept but may cause issues"} 
[2026-07-13 13:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893753449946357760,"note":"Value kept but may cause issues"} 
[2026-07-13 13:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783929574000,"timestamp_ms":1783929574000,"timestamp_seconds":1783929574,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a7d1270"} 
[2026-07-13 13:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-13 13:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:30:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":130541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":130541,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":130541,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685969664001,"66":13820,"95":206,"94":10240,"24":34,"16":24261531520729088,"45":893753449946357760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-13 13:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685969664001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:30:01] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-13 13:30:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24261531520729088,"km_value":24261531520729.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":893753449946357760,"description":"Unknown IO ID 45"} 
[2026-07-13 13:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685969664001,"power":13820,"unknown_95":206,"unknown_94":10240,"ignition":34,"odometer":null,"unknown_45":893753449946357760}} 
[2026-07-13 13:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":130541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480020,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:30:02] local.INFO: GPS data processed {"connection_id":130541,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:30:02] local.INFO: Acknowledgment sent {"connection_id":130541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:30:12] local.INFO: TCP Data received {"connection_id":131349,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:30:12] local.INFO: Processing buffer {"connection_id":131349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:30:12] local.INFO: Packet analysis {"connection_id":131349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a7b"} 
[2026-07-13 13:30:12] local.INFO: Extracted packet for processing {"connection_id":131349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a7b"} 
[2026-07-13 13:30:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685870592001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783929483000,"timestamp_ms":1783929483000,"timestamp_seconds":1783929483,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a7baef8"} 
[2026-07-13 13:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685870592001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685870592001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:30:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:30:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685870592001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":131349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:30:12] local.INFO: GPS data processed {"connection_id":131349,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:30:12] local.INFO: Acknowledgment sent {"connection_id":131349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:30:28] local.INFO: TCP Data received {"connection_id":132676,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132676,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:30:28] local.INFO: Processing buffer {"connection_id":132676,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:30:28] local.INFO: IMEI packet received {"connection_id":132676,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 13:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":132676,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:30:31] local.INFO: TCP Data received {"connection_id":132676,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132676,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:30:31] local.INFO: Processing buffer {"connection_id":132676,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:30:31] local.INFO: IMEI packet received {"connection_id":132676,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":132676,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:30:31] local.INFO: TCP Data received {"connection_id":132676,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a7d29e0012d0c43800704ca48001601050f..."} 
[2026-07-13 13:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a7d29e0012d0c43800704ca48001601050f..."} 
[2026-07-13 13:30:31] local.INFO: Processing buffer {"connection_id":132676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a7d29e0012d0c43800704ca48001601050f..."} 
[2026-07-13 13:30:31] local.INFO: Packet analysis {"connection_id":132676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a7d"} 
[2026-07-13 13:30:31] local.INFO: Extracted packet for processing {"connection_id":132676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a7d"} 
[2026-07-13 13:30:31] local.INFO: GPS Element Parsed {"raw_longitude":755778432,"raw_latitude":117754440,"longitude_deg":75.5778432,"latitude_deg":11.775444,"altitude":22,"angle":261,"satellites":15,"speed":35,"hex_longitude":"2d0c4380","hex_latitude":"0704ca48","is_valid_coordinates":true} 
[2026-07-13 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-07-13 13:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685970944001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24261767743930368,"note":"Value kept but may cause issues"} 
[2026-07-13 13:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888827637853642752,"note":"Value kept but may cause issues"} 
[2026-07-13 13:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783929580000,"timestamp_ms":1783929580000,"timestamp_seconds":1783929580,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a7d29e0"} 
[2026-07-13 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-07-13 13:30: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-07-13 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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-13 13:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 13:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":132676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":132676,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":132676,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685970944001,"66":14026,"95":206,"94":10240,"24":35,"16":24261767743930368,"45":888827637853642752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-13 13:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685970944001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:30:31] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-13 13:30:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24261767743930368,"km_value":24261767743930.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":888827637853642752,"description":"Unknown IO ID 45"} 
[2026-07-13 13:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685970944001,"power":14026,"unknown_95":206,"unknown_94":10240,"ignition":35,"odometer":null,"unknown_45":888827637853642752}} 
[2026-07-13 13:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":132676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480022,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:30:32] local.INFO: GPS data processed {"connection_id":132676,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:30:32] local.INFO: Acknowledgment sent {"connection_id":132676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:30:33] local.INFO: TCP Data received {"connection_id":132676,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a7d50f0012d0c1cc00704c408001501050f..."} 
[2026-07-13 13:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a7d50f0012d0c1cc00704c408001501050f..."} 
[2026-07-13 13:30:33] local.INFO: Processing buffer {"connection_id":132676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a7d50f0012d0c1cc00704c408001501050f..."} 
[2026-07-13 13:30:33] local.INFO: Packet analysis {"connection_id":132676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a7d"} 
[2026-07-13 13:30:33] local.INFO: Extracted packet for processing {"connection_id":132676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a7d"} 
[2026-07-13 13:30:33] local.INFO: GPS Element Parsed {"raw_longitude":755768512,"raw_latitude":117752840,"longitude_deg":75.5768512,"latitude_deg":11.775284,"altitude":21,"angle":261,"satellites":15,"speed":41,"hex_longitude":"2d0c1cc0","hex_latitude":"0704c408","is_valid_coordinates":true} 
[2026-07-13 13:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685972480001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24262244485300224,"note":"Value kept but may cause issues"} 
[2026-07-13 13:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":883690719528241152,"note":"Value kept but may cause issues"} 
[2026-07-13 13:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783929590000,"timestamp_ms":1783929590000,"timestamp_seconds":1783929590,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a7d50f0"} 
[2026-07-13 13:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-13 13:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":132676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":132676,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":132676,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685972480001,"66":14548,"95":206,"94":10240,"24":41,"16":24262244485300224,"45":883690719528241152},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-07-13 13:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685972480001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:30:33] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-13 13:30:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24262244485300224,"km_value":24262244485300.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":883690719528241152,"description":"Unknown IO ID 45"} 
[2026-07-13 13:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685972480001,"power":14548,"unknown_95":206,"unknown_94":10240,"ignition":41,"odometer":null,"unknown_45":883690719528241152}} 
[2026-07-13 13:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":132676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480023,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:30:33] local.INFO: GPS data processed {"connection_id":132676,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:30:33] local.INFO: Acknowledgment sent {"connection_id":132676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:30:40] local.INFO: TCP Data received {"connection_id":130542,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:30:40] local.INFO: Processing buffer {"connection_id":130542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:30:40] local.INFO: IMEI packet received {"connection_id":130542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":130542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:30:45] local.INFO: TCP Data received {"connection_id":130542,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:30:45] local.INFO: Processing buffer {"connection_id":130542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:30:45] local.INFO: IMEI packet received {"connection_id":130542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":130542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:30:45] local.INFO: TCP Data received {"connection_id":130542,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:30:45] local.INFO: Processing buffer {"connection_id":130542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:30:45] local.INFO: Packet analysis {"connection_id":130542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a7b"} 
[2026-07-13 13:30:45] local.INFO: Extracted packet for processing {"connection_id":130542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a7b"} 
[2026-07-13 13:30:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685870592001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783929483000,"timestamp_ms":1783929483000,"timestamp_seconds":1783929483,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a7baef8"} 
[2026-07-13 13:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685870592001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685870592001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:30:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:30:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685870592001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":130542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:30:45] local.INFO: GPS data processed {"connection_id":130542,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:30:45] local.INFO: Acknowledgment sent {"connection_id":130542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:30:50] local.INFO: TCP Data received {"connection_id":130542,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:30:50] local.INFO: Processing buffer {"connection_id":130542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:30:50] local.INFO: Packet analysis {"connection_id":130542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a7b"} 
[2026-07-13 13:30:50] local.INFO: Extracted packet for processing {"connection_id":130542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a7b"} 
[2026-07-13 13:30:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685870592001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783929483000,"timestamp_ms":1783929483000,"timestamp_seconds":1783929483,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a7baef8"} 
[2026-07-13 13:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:30: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-07-13 13:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685870592001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685870592001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:30:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:30:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685870592001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":130542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:30:50] local.INFO: GPS data processed {"connection_id":130542,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:30:50] local.INFO: Acknowledgment sent {"connection_id":130542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:31:04] local.INFO: TCP Data received {"connection_id":132676,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a7e56a8012d0b62400704c898001301310f..."} 
[2026-07-13 13:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a7e56a8012d0b62400704c898001301310f..."} 
[2026-07-13 13:31:04] local.INFO: Processing buffer {"connection_id":132676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a7e56a8012d0b62400704c898001301310f..."} 
[2026-07-13 13:31:04] local.INFO: Packet analysis {"connection_id":132676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a7e"} 
[2026-07-13 13:31:04] local.INFO: Extracted packet for processing {"connection_id":132676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a7e"} 
[2026-07-13 13:31:04] local.INFO: GPS Element Parsed {"raw_longitude":755720768,"raw_latitude":117754008,"longitude_deg":75.5720768,"latitude_deg":11.7754008,"altitude":19,"angle":305,"satellites":15,"speed":21,"hex_longitude":"2d0b6240","hex_latitude":"0704c898","is_valid_coordinates":true} 
[2026-07-13 13:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685990656001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24264632487116800,"note":"Value kept but may cause issues"} 
[2026-07-13 13:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":824792080651319296,"note":"Value kept but may cause issues"} 
[2026-07-13 13:31: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-07-13 13:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783929657000,"timestamp_ms":1783929657000,"timestamp_seconds":1783929657,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a7e56a8"} 
[2026-07-13 13:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-13 13:31: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-07-13 13:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132676,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132676,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685990656001,"66":14450,"96":206,"94":10240,"24":21,"16":24264632487116800,"45":824792080651319296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-13 13:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685990656001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:31:04] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 13:31:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24264632487116800,"km_value":24264632487116.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":824792080651319296,"description":"Unknown IO ID 45"} 
[2026-07-13 13:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685990656001,"power":14450,"unknown_96":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":824792080651319296}} 
[2026-07-13 13:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":132676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480026,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:31:04] local.INFO: GPS data processed {"connection_id":132676,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:31:04] local.INFO: Acknowledgment sent {"connection_id":132676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:31:23] local.INFO: TCP Data received {"connection_id":131351,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131351,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:31:23] local.INFO: Processing buffer {"connection_id":131351,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:31:23] local.INFO: IMEI packet received {"connection_id":131351,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 13:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":131351,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:31:25] local.INFO: TCP Data received {"connection_id":131351,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131351,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:31:25] local.INFO: Processing buffer {"connection_id":131351,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:31:25] local.INFO: IMEI packet received {"connection_id":131351,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":131351,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:31:25] local.INFO: TCP Data received {"connection_id":131351,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a7e5a90012d0b61400704ca380013013f0f..."} 
[2026-07-13 13:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a7e5a90012d0b61400704ca380013013f0f..."} 
[2026-07-13 13:31:25] local.INFO: Processing buffer {"connection_id":131351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a7e5a90012d0b61400704ca380013013f0f..."} 
[2026-07-13 13:31:25] local.INFO: Packet analysis {"connection_id":131351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a7e"} 
[2026-07-13 13:31:25] local.INFO: Extracted packet for processing {"connection_id":131351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a7e"} 
[2026-07-13 13:31:25] local.INFO: GPS Element Parsed {"raw_longitude":755720512,"raw_latitude":117754424,"longitude_deg":75.5720512,"latitude_deg":11.7754424,"altitude":19,"angle":319,"satellites":15,"speed":18,"hex_longitude":"2d0b6140","hex_latitude":"0704ca38","is_valid_coordinates":true} 
[2026-07-13 13:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685992192001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24264658256920576,"note":"Value kept but may cause issues"} 
[2026-07-13 13:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":820288481024055296,"note":"Value kept but may cause issues"} 
[2026-07-13 13:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783929658000,"timestamp_ms":1783929658000,"timestamp_seconds":1783929658,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a7e5a90"} 
[2026-07-13 13:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:31: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-07-13 13: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-13 13:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":131351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":131351,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":131351,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685992192001,"66":14439,"96":206,"94":10240,"24":18,"16":24264658256920576,"45":820288481024055296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-13 13:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685992192001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:31:25] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 13:31:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24264658256920576,"km_value":24264658256920.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":820288481024055296,"description":"Unknown IO ID 45"} 
[2026-07-13 13:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685992192001,"power":14439,"unknown_96":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":820288481024055296}} 
[2026-07-13 13:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":131351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480027,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:31:26] local.INFO: GPS data processed {"connection_id":131351,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:31:26] local.INFO: Acknowledgment sent {"connection_id":131351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:31:34] local.INFO: TCP Data received {"connection_id":130324,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:31:34] local.INFO: Processing buffer {"connection_id":130324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:31:34] local.INFO: IMEI packet received {"connection_id":130324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":130324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:31:40] local.INFO: TCP Data received {"connection_id":130324,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:31:40] local.INFO: Processing buffer {"connection_id":130324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:31:40] local.INFO: IMEI packet received {"connection_id":130324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":130324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:31:40] local.INFO: TCP Data received {"connection_id":130324,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:31:40] local.INFO: Processing buffer {"connection_id":130324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:31:40] local.INFO: Packet analysis {"connection_id":130324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a7b"} 
[2026-07-13 13:31:40] local.INFO: Extracted packet for processing {"connection_id":130324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a7b"} 
[2026-07-13 13:31:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685870592001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783929483000,"timestamp_ms":1783929483000,"timestamp_seconds":1783929483,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a7baef8"} 
[2026-07-13 13:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:31: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-07-13 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685870592001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685870592001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:31:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:31:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685870592001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":130324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:31:40] local.INFO: GPS data processed {"connection_id":130324,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:31:40] local.INFO: Acknowledgment sent {"connection_id":130324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:31:57] local.INFO: TCP Data received {"connection_id":131351,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a7e6260012d0b5fc00704cf28001301540f..."} 
[2026-07-13 13:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a7e6260012d0b5fc00704cf28001301540f..."} 
[2026-07-13 13:31:57] local.INFO: Processing buffer {"connection_id":131351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a7e6260012d0b5fc00704cf28001301540f..."} 
[2026-07-13 13:31:57] local.INFO: Packet analysis {"connection_id":131351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a7e"} 
[2026-07-13 13:31:57] local.INFO: Extracted packet for processing {"connection_id":131351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a7e"} 
[2026-07-13 13:31:57] local.INFO: GPS Element Parsed {"raw_longitude":755720128,"raw_latitude":117755688,"longitude_deg":75.5720128,"latitude_deg":11.7755688,"altitude":19,"angle":340,"satellites":15,"speed":26,"hex_longitude":"2d0b5fc0","hex_latitude":"0704cf28","is_valid_coordinates":true} 
[2026-07-13 13:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685992448001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24264722681430016,"note":"Value kept but may cause issues"} 
[2026-07-13 13:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":820007006047451136,"note":"Value kept but may cause issues"} 
[2026-07-13 13:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783929660000,"timestamp_ms":1783929660000,"timestamp_seconds":1783929660,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a7e6260"} 
[2026-07-13 13:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 13:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":131351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":131351,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":131351,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685992448001,"66":13722,"96":206,"94":10240,"24":26,"16":24264722681430016,"45":820007006047451136},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-13 13:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685992448001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:31:57] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 13:31:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24264722681430016,"km_value":24264722681430.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":820007006047451136,"description":"Unknown IO ID 45"} 
[2026-07-13 13:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685992448001,"power":13722,"unknown_96":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":820007006047451136}} 
[2026-07-13 13:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":131351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480029,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:31:57] local.INFO: GPS data processed {"connection_id":131351,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:31:57] local.INFO: Acknowledgment sent {"connection_id":131351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:32:12] local.INFO: TCP Data received {"connection_id":130324,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:32:12] local.INFO: Processing buffer {"connection_id":130324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:32:12] local.INFO: Packet analysis {"connection_id":130324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a7b"} 
[2026-07-13 13:32:12] local.INFO: Extracted packet for processing {"connection_id":130324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a7b"} 
[2026-07-13 13:32:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685870592001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783929483000,"timestamp_ms":1783929483000,"timestamp_seconds":1783929483,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a7baef8"} 
[2026-07-13 13:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:32:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685870592001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685870592001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:32:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:32:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685870592001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":130324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:32:12] local.INFO: GPS data processed {"connection_id":130324,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:32:12] local.INFO: Acknowledgment sent {"connection_id":130324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:32:35] local.INFO: TCP Data received {"connection_id":132677,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:32:35] local.INFO: Processing buffer {"connection_id":132677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:32:35] local.INFO: IMEI packet received {"connection_id":132677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":132677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:32:37] local.INFO: TCP Data received {"connection_id":130543,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130543,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:32:37] local.INFO: Processing buffer {"connection_id":130543,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:32:37] local.INFO: IMEI packet received {"connection_id":130543,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 13:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":130543,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:32:39] local.INFO: TCP Data received {"connection_id":130543,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130543,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:32:39] local.INFO: Processing buffer {"connection_id":130543,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:32:39] local.INFO: IMEI packet received {"connection_id":130543,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":130543,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:32:40] local.INFO: TCP Data received {"connection_id":132677,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:32:40] local.INFO: Processing buffer {"connection_id":132677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:32:40] local.INFO: IMEI packet received {"connection_id":132677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":132677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:32:40] local.INFO: TCP Data received {"connection_id":132677,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:32:40] local.INFO: Processing buffer {"connection_id":132677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:32:40] local.INFO: Packet analysis {"connection_id":132677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a7b"} 
[2026-07-13 13:32:40] local.INFO: Extracted packet for processing {"connection_id":132677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a7b"} 
[2026-07-13 13:32:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 13:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685870592001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783929483000,"timestamp_ms":1783929483000,"timestamp_seconds":1783929483,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a7baef8"} 
[2026-07-13 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-07-13 13:32: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-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 13:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685870592001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685870592001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:32:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:32:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685870592001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":132677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:32:40] local.INFO: GPS data processed {"connection_id":132677,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:32:40] local.INFO: Acknowledgment sent {"connection_id":132677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:32:41] local.INFO: TCP Data received {"connection_id":130543,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130543,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:32:41] local.INFO: Processing buffer {"connection_id":130543,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:32:41] local.INFO: IMEI packet received {"connection_id":130543,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":130543,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:32:42] local.INFO: TCP Data received {"connection_id":130543,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130543,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:32:42] local.INFO: Processing buffer {"connection_id":130543,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:32:42] local.INFO: IMEI packet received {"connection_id":130543,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":130543,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:32:43] local.INFO: TCP Data received {"connection_id":130543,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a7f5878012d0b2a800704fdd00014000a10..."} 
[2026-07-13 13:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a7f5878012d0b2a800704fdd00014000a10..."} 
[2026-07-13 13:32:43] local.INFO: Processing buffer {"connection_id":130543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a7f5878012d0b2a800704fdd00014000a10..."} 
[2026-07-13 13:32:43] local.INFO: Packet analysis {"connection_id":130543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a7f"} 
[2026-07-13 13:32:43] local.INFO: Extracted packet for processing {"connection_id":130543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a7f"} 
[2026-07-13 13:32:43] local.INFO: GPS Element Parsed {"raw_longitude":755706496,"raw_latitude":117767632,"longitude_deg":75.5706496,"latitude_deg":11.7767632,"altitude":20,"angle":10,"satellites":16,"speed":8,"hex_longitude":"2d0b2a80","hex_latitude":"0704fdd0","is_valid_coordinates":true} 
[2026-07-13 13:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686008320001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24265826488025088,"note":"Value kept but may cause issues"} 
[2026-07-13 13:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804385144843114496,"note":"Value kept but may cause issues"} 
[2026-07-13 13:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783929723000,"timestamp_ms":1783929723000,"timestamp_seconds":1783929723,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a7f5878"} 
[2026-07-13 13:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-13 13:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130543,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130543,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686008320001,"66":14559,"96":206,"94":10240,"24":8,"16":24265826488025088,"45":804385144843114496},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-13 13:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686008320001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:32:43] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 13:32:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24265826488025088,"km_value":24265826488025.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":804385144843114496,"description":"Unknown IO ID 45"} 
[2026-07-13 13:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686008320001,"power":14559,"unknown_96":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":804385144843114496}} 
[2026-07-13 13:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":130543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480032,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:32:43] local.INFO: GPS data processed {"connection_id":130543,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:32:43] local.INFO: Acknowledgment sent {"connection_id":130543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:32:44] local.INFO: TCP Data received {"connection_id":130543,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a7f7f88012d0b2e40070512400019001b10..."} 
[2026-07-13 13:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a7f7f88012d0b2e40070512400019001b10..."} 
[2026-07-13 13:32:44] local.INFO: Processing buffer {"connection_id":130543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a7f7f88012d0b2e40070512400019001b10..."} 
[2026-07-13 13:32:44] local.INFO: Packet analysis {"connection_id":130543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a7f"} 
[2026-07-13 13:32:44] local.INFO: Extracted packet for processing {"connection_id":130543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a7f"} 
[2026-07-13 13:32:44] local.INFO: GPS Element Parsed {"raw_longitude":755707456,"raw_latitude":117772864,"longitude_deg":75.5707456,"latitude_deg":11.7772864,"altitude":25,"angle":27,"satellites":16,"speed":24,"hex_longitude":"2d0b2e40","hex_latitude":"07051240","is_valid_coordinates":true} 
[2026-07-13 13:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686009088001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24266088481030144,"note":"Value kept but may cause issues"} 
[2026-07-13 13:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804596251075923968,"note":"Value kept but may cause issues"} 
[2026-07-13 13:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783929733000,"timestamp_ms":1783929733000,"timestamp_seconds":1783929733,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a7f7f88"} 
[2026-07-13 13:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:32: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-07-13 13:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-13 13:32:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:32:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130543,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130543,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686009088001,"66":14428,"96":206,"94":10240,"24":24,"16":24266088481030144,"45":804596251075923968},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-13 13:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686009088001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:32:44] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 13:32:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24266088481030144,"km_value":24266088481030.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":804596251075923968,"description":"Unknown IO ID 45"} 
[2026-07-13 13:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686009088001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":804596251075923968}} 
[2026-07-13 13:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":130543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480033,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:32:44] local.INFO: GPS data processed {"connection_id":130543,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:32:44] local.INFO: Acknowledgment sent {"connection_id":130543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:33:11] local.INFO: TCP Data received {"connection_id":132677,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:33:11] local.INFO: Processing buffer {"connection_id":132677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:33:11] local.INFO: Packet analysis {"connection_id":132677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a7b"} 
[2026-07-13 13:33:11] local.INFO: Extracted packet for processing {"connection_id":132677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a7b"} 
[2026-07-13 13:33:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685870592001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783929483000,"timestamp_ms":1783929483000,"timestamp_seconds":1783929483,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a7baef8"} 
[2026-07-13 13:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685870592001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685870592001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:33:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685870592001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":132677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:33:11] local.INFO: GPS data processed {"connection_id":132677,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:33:11] local.INFO: Acknowledgment sent {"connection_id":132677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:33:22] local.INFO: TCP Data received {"connection_id":130545,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130545,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:33:22] local.INFO: Processing buffer {"connection_id":130545,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:33:22] local.INFO: IMEI packet received {"connection_id":130545,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 13:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":130545,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:33:28] local.INFO: TCP Data received {"connection_id":130545,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130545,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:33:28] local.INFO: Processing buffer {"connection_id":130545,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:33:28] local.INFO: IMEI packet received {"connection_id":130545,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":130545,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:33:28] local.INFO: TCP Data received {"connection_id":130545,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a801fb0012d0b244007055c300021015810..."} 
[2026-07-13 13:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a801fb0012d0b244007055c300021015810..."} 
[2026-07-13 13:33:28] local.INFO: Processing buffer {"connection_id":130545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a801fb0012d0b244007055c300021015810..."} 
[2026-07-13 13:33:28] local.INFO: Packet analysis {"connection_id":130545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a80"} 
[2026-07-13 13:33:28] local.INFO: Extracted packet for processing {"connection_id":130545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a80"} 
[2026-07-13 13:33:28] local.INFO: GPS Element Parsed {"raw_longitude":755704896,"raw_latitude":117791792,"longitude_deg":75.5704896,"latitude_deg":11.7791792,"altitude":33,"angle":344,"satellites":16,"speed":17,"hex_longitude":"2d0b2440","hex_latitude":"07055c30","is_valid_coordinates":true} 
[2026-07-13 13: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-07-13 13:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686021888001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24267316841676800,"note":"Value kept but may cause issues"} 
[2026-07-13 13:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802977769965914112,"note":"Value kept but may cause issues"} 
[2026-07-13 13:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783929774000,"timestamp_ms":1783929774000,"timestamp_seconds":1783929774,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a801fb0"} 
[2026-07-13 13:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-13 13:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13: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-07-13 13:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":130545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":130545,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":130545,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686021888001,"66":14548,"165":206,"94":10240,"24":17,"16":24267316841676800,"45":802977769965914112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-13 13:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686021888001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:33:28] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-13 13:33:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24267316841676800,"km_value":24267316841676.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":802977769965914112,"description":"Unknown IO ID 45"} 
[2026-07-13 13:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686021888001,"power":14548,"unknown_165":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":802977769965914112}} 
[2026-07-13 13:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":130545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480035,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:33:29] local.INFO: GPS data processed {"connection_id":130545,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:33:29] local.INFO: Acknowledgment sent {"connection_id":130545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:33:34] local.INFO: TCP Data received {"connection_id":131352,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:33:34] local.INFO: Processing buffer {"connection_id":131352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:33:34] local.INFO: IMEI packet received {"connection_id":131352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":131352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:33:40] local.INFO: TCP Data received {"connection_id":131352,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:33:40] local.INFO: Processing buffer {"connection_id":131352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:33:40] local.INFO: IMEI packet received {"connection_id":131352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":131352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:33:40] local.INFO: TCP Data received {"connection_id":131352,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:33:40] local.INFO: Processing buffer {"connection_id":131352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a7baef8012d7f914005afd938000f011b25..."} 
[2026-07-13 13:33:40] local.INFO: Packet analysis {"connection_id":131352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a7b"} 
[2026-07-13 13:33:40] local.INFO: Extracted packet for processing {"connection_id":131352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a7b"} 
[2026-07-13 13:33:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685870592001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783929483000,"timestamp_ms":1783929483000,"timestamp_seconds":1783929483,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a7baef8"} 
[2026-07-13 13:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:33: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-07-13 13:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685870592001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685870592001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:33:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:33:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685870592001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":131352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:33:40] local.INFO: GPS data processed {"connection_id":131352,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:33:40] local.INFO: Acknowledgment sent {"connection_id":131352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:33:59] local.INFO: TCP Data received {"connection_id":130545,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a802398012d0b248007055e400020000510..."} 
[2026-07-13 13:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a802398012d0b248007055e400020000510..."} 
[2026-07-13 13:33:59] local.INFO: Processing buffer {"connection_id":130545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a802398012d0b248007055e400020000510..."} 
[2026-07-13 13:33:59] local.INFO: Packet analysis {"connection_id":130545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a80"} 
[2026-07-13 13:33:59] local.INFO: Extracted packet for processing {"connection_id":130545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a80"} 
[2026-07-13 13:33:59] local.INFO: GPS Element Parsed {"raw_longitude":755704960,"raw_latitude":117792320,"longitude_deg":75.570496,"latitude_deg":11.779232,"altitude":32,"angle":5,"satellites":16,"speed":21,"hex_longitude":"2d0b2480","hex_latitude":"07055e40","is_valid_coordinates":true} 
[2026-07-13 13:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686022144001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24267342611480576,"note":"Value kept but may cause issues"} 
[2026-07-13 13:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802837032477667328,"note":"Value kept but may cause issues"} 
[2026-07-13 13:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783929775000,"timestamp_ms":1783929775000,"timestamp_seconds":1783929775,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a802398"} 
[2026-07-13 13:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-13 13:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":130545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":130545,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":130545,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686022144001,"66":14548,"165":206,"94":10240,"24":21,"16":24267342611480576,"45":802837032477667328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-13 13:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686022144001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:33:59] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-13 13:33:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24267342611480576,"km_value":24267342611480.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":802837032477667328,"description":"Unknown IO ID 45"} 
[2026-07-13 13:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686022144001,"power":14548,"unknown_165":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":802837032477667328}} 
[2026-07-13 13:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":130545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480037,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:33:59] local.INFO: GPS data processed {"connection_id":130545,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:33:59] local.INFO: Acknowledgment sent {"connection_id":130545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:34:11] local.INFO: TCP Data received {"connection_id":131352,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8046c0012d7f914005afd938000e011b23..."} 
[2026-07-13 13:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8046c0012d7f914005afd938000e011b23..."} 
[2026-07-13 13:34:11] local.INFO: Processing buffer {"connection_id":131352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8046c0012d7f914005afd938000e011b23..."} 
[2026-07-13 13:34:11] local.INFO: Packet analysis {"connection_id":131352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a80"} 
[2026-07-13 13:34:11] local.INFO: Extracted packet for processing {"connection_id":131352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a80"} 
[2026-07-13 13:34:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685947648001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783929784000,"timestamp_ms":1783929784000,"timestamp_seconds":1783929784,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8046c0"} 
[2026-07-13 13:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685947648001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685947648001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:34:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:34:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685947648001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":131352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:34:11] local.INFO: GPS data processed {"connection_id":131352,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:34:11] local.INFO: Acknowledgment sent {"connection_id":131352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:34:22] local.INFO: TCP Data received {"connection_id":130325,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130325,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:34:22] local.INFO: Processing buffer {"connection_id":130325,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:34:22] local.INFO: IMEI packet received {"connection_id":130325,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 13:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":130325,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:34:27] local.INFO: TCP Data received {"connection_id":130325,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130325,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:34:27] local.INFO: Processing buffer {"connection_id":130325,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:34:27] local.INFO: IMEI packet received {"connection_id":130325,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":130325,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:34:28] local.INFO: TCP Data received {"connection_id":130325,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a812180012d0ae280070594580029011311..."} 
[2026-07-13 13:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a812180012d0ae280070594580029011311..."} 
[2026-07-13 13:34:28] local.INFO: Processing buffer {"connection_id":130325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a812180012d0ae280070594580029011311..."} 
[2026-07-13 13:34:28] local.INFO: Packet analysis {"connection_id":130325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a81"} 
[2026-07-13 13:34:28] local.INFO: Extracted packet for processing {"connection_id":130325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a81"} 
[2026-07-13 13:34:28] local.INFO: GPS Element Parsed {"raw_longitude":755688064,"raw_latitude":117806168,"longitude_deg":75.5688064,"latitude_deg":11.7806168,"altitude":41,"angle":275,"satellites":17,"speed":13,"hex_longitude":"2d0ae280","hex_latitude":"07059458","is_valid_coordinates":true} 
[2026-07-13 13:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686038528001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24268910274543616,"note":"Value kept but may cause issues"} 
[2026-07-13 13:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":785033740204349440,"note":"Value kept but may cause issues"} 
[2026-07-13 13:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783929840000,"timestamp_ms":1783929840000,"timestamp_seconds":1783929840,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a812180"} 
[2026-07-13 13:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:34: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-07-13 13:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-13 13:34:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:34:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":130325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":130325,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":130325,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686038528001,"66":14439,"165":206,"94":10240,"24":13,"16":24268910274543616,"45":785033740204349440},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-13 13:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686038528001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:34:28] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-13 13:34:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24268910274543616,"km_value":24268910274543.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":785033740204349440,"description":"Unknown IO ID 45"} 
[2026-07-13 13:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686038528001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":785033740204349440}} 
[2026-07-13 13:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":130325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480039,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:34:28] local.INFO: GPS data processed {"connection_id":130325,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:34:28] local.INFO: Acknowledgment sent {"connection_id":130325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:34:40] local.INFO: TCP Data received {"connection_id":132678,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:34:40] local.INFO: Processing buffer {"connection_id":132678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:34:40] local.INFO: IMEI packet received {"connection_id":132678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":132678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:34:45] local.INFO: TCP Data received {"connection_id":132678,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:34:45] local.INFO: Processing buffer {"connection_id":132678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:34:45] local.INFO: IMEI packet received {"connection_id":132678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":132678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:34:45] local.INFO: TCP Data received {"connection_id":132678,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8046c0012d7f914005afd938000e011b23..."} 
[2026-07-13 13:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8046c0012d7f914005afd938000e011b23..."} 
[2026-07-13 13:34:45] local.INFO: Processing buffer {"connection_id":132678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8046c0012d7f914005afd938000e011b23..."} 
[2026-07-13 13:34:45] local.INFO: Packet analysis {"connection_id":132678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a80"} 
[2026-07-13 13:34:45] local.INFO: Extracted packet for processing {"connection_id":132678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a80"} 
[2026-07-13 13:34:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685947648001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783929784000,"timestamp_ms":1783929784000,"timestamp_seconds":1783929784,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8046c0"} 
[2026-07-13 13:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685947648001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685947648001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:34:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:34:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685947648001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":132678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:34:45] local.INFO: GPS data processed {"connection_id":132678,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:34:45] local.INFO: Acknowledgment sent {"connection_id":132678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:34:50] local.INFO: TCP Data received {"connection_id":132678,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8046c0012d7f914005afd938000e011b23..."} 
[2026-07-13 13:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8046c0012d7f914005afd938000e011b23..."} 
[2026-07-13 13:34:50] local.INFO: Processing buffer {"connection_id":132678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8046c0012d7f914005afd938000e011b23..."} 
[2026-07-13 13:34:50] local.INFO: Packet analysis {"connection_id":132678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a80"} 
[2026-07-13 13:34:50] local.INFO: Extracted packet for processing {"connection_id":132678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a80"} 
[2026-07-13 13:34:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 13:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685947648001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783929784000,"timestamp_ms":1783929784000,"timestamp_seconds":1783929784,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8046c0"} 
[2026-07-13 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-07-13 13:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:34: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-07-13 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-07-13 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-07-13 13:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":132678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":132678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":132678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:34: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-07-13 13:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685947648001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685947648001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:34:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:34:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685947648001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":132678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:34:50] local.INFO: GPS data processed {"connection_id":132678,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:34:50] local.INFO: Acknowledgment sent {"connection_id":132678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:35:00] local.INFO: TCP Data received {"connection_id":130325,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a812568012d0ae140070594000028010511..."} 
[2026-07-13 13:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a812568012d0ae140070594000028010511..."} 
[2026-07-13 13:35:00] local.INFO: Processing buffer {"connection_id":130325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a812568012d0ae140070594000028010511..."} 
[2026-07-13 13:35:00] local.INFO: Packet analysis {"connection_id":130325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a81"} 
[2026-07-13 13:35:00] local.INFO: Extracted packet for processing {"connection_id":130325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a81"} 
[2026-07-13 13:35:00] local.INFO: GPS Element Parsed {"raw_longitude":755687744,"raw_latitude":117806080,"longitude_deg":75.5687744,"latitude_deg":11.780608,"altitude":40,"angle":261,"satellites":17,"speed":16,"hex_longitude":"2d0ae140","hex_latitude":"07059400","is_valid_coordinates":true} 
[2026-07-13 13:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686039040001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24268931749380096,"note":"Value kept but may cause issues"} 
[2026-07-13 13:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":784330052762621952,"note":"Value kept but may cause issues"} 
[2026-07-13 13:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783929841000,"timestamp_ms":1783929841000,"timestamp_seconds":1783929841,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a812568"} 
[2026-07-13 13:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:35: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-07-13 13: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 13:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":130325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":130325,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":130325,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686039040001,"66":14439,"165":206,"94":10240,"24":16,"16":24268931749380096,"45":784330052762621952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-13 13:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686039040001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:35:00] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-13 13:35:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24268931749380096,"km_value":24268931749380.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":784330052762621952,"description":"Unknown IO ID 45"} 
[2026-07-13 13:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686039040001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":784330052762621952}} 
[2026-07-13 13:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":130325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480042,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:35:00] local.INFO: GPS data processed {"connection_id":130325,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:35:00] local.INFO: Acknowledgment sent {"connection_id":130325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:35:27] local.INFO: TCP Data received {"connection_id":130547,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130547,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:35:27] local.INFO: Processing buffer {"connection_id":130547,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:35:27] local.INFO: IMEI packet received {"connection_id":130547,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 13:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":130547,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:35:27] local.INFO: TCP Data received {"connection_id":130547,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130547,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:35:27] local.INFO: Processing buffer {"connection_id":130547,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:35:27] local.INFO: IMEI packet received {"connection_id":130547,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":130547,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:35:32] local.INFO: TCP Data received {"connection_id":130547,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130547,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:35:32] local.INFO: Processing buffer {"connection_id":130547,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:35:32] local.INFO: IMEI packet received {"connection_id":130547,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":130547,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:35:33] local.INFO: TCP Data received {"connection_id":130547,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8138f0012d0ad800070591a8002700fa11..."} 
[2026-07-13 13:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8138f0012d0ad800070591a8002700fa11..."} 
[2026-07-13 13:35:33] local.INFO: Processing buffer {"connection_id":130547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8138f0012d0ad800070591a8002700fa11..."} 
[2026-07-13 13:35:33] local.INFO: Packet analysis {"connection_id":130547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a81"} 
[2026-07-13 13:35:33] local.INFO: Extracted packet for processing {"connection_id":130547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a81"} 
[2026-07-13 13:35:33] local.INFO: GPS Element Parsed {"raw_longitude":755685376,"raw_latitude":117805480,"longitude_deg":75.5685376,"latitude_deg":11.780548,"altitude":39,"angle":250,"satellites":17,"speed":19,"hex_longitude":"2d0ad800","hex_latitude":"070591a8","is_valid_coordinates":true} 
[2026-07-13 13:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686039296001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24269047713497088,"note":"Value kept but may cause issues"} 
[2026-07-13 13:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":783978209041711104,"note":"Value kept but may cause issues"} 
[2026-07-13 13:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783929846000,"timestamp_ms":1783929846000,"timestamp_seconds":1783929846,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8138f0"} 
[2026-07-13 13:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:35: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-07-13 13:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 13:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":130547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":130547,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":130547,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686039296001,"66":14428,"165":206,"94":10240,"24":19,"16":24269047713497088,"45":783978209041711104},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-13 13:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686039296001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:35:33] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-13 13:35:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24269047713497088,"km_value":24269047713497.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":783978209041711104,"description":"Unknown IO ID 45"} 
[2026-07-13 13:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686039296001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":783978209041711104}} 
[2026-07-13 13:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":130547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480043,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:35:33] local.INFO: GPS data processed {"connection_id":130547,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:35:33] local.INFO: Acknowledgment sent {"connection_id":130547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:35:34] local.INFO: TCP Data received {"connection_id":130326,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:35:34] local.INFO: Processing buffer {"connection_id":130326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:35:34] local.INFO: IMEI packet received {"connection_id":130326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":130326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:35:35] local.INFO: TCP Data received {"connection_id":130547,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a818af8012d0aca0007058d90002200f911..."} 
[2026-07-13 13:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a818af8012d0aca0007058d90002200f911..."} 
[2026-07-13 13:35:35] local.INFO: Processing buffer {"connection_id":130547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a818af8012d0aca0007058d90002200f911..."} 
[2026-07-13 13:35:35] local.INFO: Packet analysis {"connection_id":130547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a81"} 
[2026-07-13 13:35:35] local.INFO: Extracted packet for processing {"connection_id":130547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a81"} 
[2026-07-13 13:35:35] local.INFO: GPS Element Parsed {"raw_longitude":755681792,"raw_latitude":117804432,"longitude_deg":75.5681792,"latitude_deg":11.7804432,"altitude":34,"angle":249,"satellites":17,"speed":0,"hex_longitude":"2d0aca00","hex_latitude":"07058d90","is_valid_coordinates":true} 
[2026-07-13 13:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686040576001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24269228102123520,"note":"Value kept but may cause issues"} 
[2026-07-13 13:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":781374565506983936,"note":"Value kept but may cause issues"} 
[2026-07-13 13:35: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-07-13 13:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783929867000,"timestamp_ms":1783929867000,"timestamp_seconds":1783929867,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a818af8"} 
[2026-07-13 13:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:35: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-07-13 13: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":92,"data_length":795,"current_offset":136} 
[2026-07-13 13:35: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-07-13 13:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130547,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130547,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686040576001,"66":14265,"165":206,"94":10240,"24":0,"16":24269228102123520,"45":781374565506983936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-13 13:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686040576001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:35:35] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-13 13:35:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24269228102123520,"km_value":24269228102123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":781374565506983936,"description":"Unknown IO ID 45"} 
[2026-07-13 13:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686040576001,"power":14265,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":781374565506983936}} 
[2026-07-13 13:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":130547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480044,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:35:35] local.INFO: GPS data processed {"connection_id":130547,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:35:35] local.INFO: Acknowledgment sent {"connection_id":130547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:35:40] local.INFO: TCP Data received {"connection_id":130326,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:35:40] local.INFO: Processing buffer {"connection_id":130326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:35:40] local.INFO: IMEI packet received {"connection_id":130326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":130326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:35:40] local.INFO: TCP Data received {"connection_id":130327,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130327,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:35:40] local.INFO: Processing buffer {"connection_id":130327,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:35:40] local.INFO: IMEI packet received {"connection_id":130327,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 13:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":130327,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:35:40] local.INFO: TCP Data received {"connection_id":130326,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8046c0012d7f914005afd938000e011b23..."} 
[2026-07-13 13:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8046c0012d7f914005afd938000e011b23..."} 
[2026-07-13 13:35:40] local.INFO: Processing buffer {"connection_id":130326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8046c0012d7f914005afd938000e011b23..."} 
[2026-07-13 13:35:40] local.INFO: Packet analysis {"connection_id":130326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a80"} 
[2026-07-13 13:35:40] local.INFO: Extracted packet for processing {"connection_id":130326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a80"} 
[2026-07-13 13:35:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685947648001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783929784000,"timestamp_ms":1783929784000,"timestamp_seconds":1783929784,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8046c0"} 
[2026-07-13 13:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:35: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-07-13 13:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685947648001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685947648001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:35:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:35:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685947648001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":130326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:35:40] local.INFO: GPS data processed {"connection_id":130326,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:35:40] local.INFO: Acknowledgment sent {"connection_id":130326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:36:10] local.INFO: TCP Data received {"connection_id":130547,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a82cb48012d0a978007058ec8001e014b13..."} 
[2026-07-13 13:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a82cb48012d0a978007058ec8001e014b13..."} 
[2026-07-13 13:36:10] local.INFO: Processing buffer {"connection_id":130547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a82cb48012d0a978007058ec8001e014b13..."} 
[2026-07-13 13:36:10] local.INFO: Packet analysis {"connection_id":130547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a82"} 
[2026-07-13 13:36:10] local.INFO: Extracted packet for processing {"connection_id":130547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a82"} 
[2026-07-13 13:36:10] local.INFO: GPS Element Parsed {"raw_longitude":755668864,"raw_latitude":117804744,"longitude_deg":75.5668864,"latitude_deg":11.7804744,"altitude":30,"angle":331,"satellites":19,"speed":20,"hex_longitude":"2d0a9780","hex_latitude":"07058ec8","is_valid_coordinates":true} 
[2026-07-13 13:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686065920001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24269915296890880,"note":"Value kept but may cause issues"} 
[2026-07-13 13:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":764626804392093696,"note":"Value kept but may cause issues"} 
[2026-07-13 13:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783929949000,"timestamp_ms":1783929949000,"timestamp_seconds":1783929949,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a82cb48"} 
[2026-07-13 13:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 13:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130547,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130547,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686065920001,"66":14407,"153":206,"94":10240,"24":20,"16":24269915296890880,"45":764626804392093696},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-13 13:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686065920001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:36:10] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-13 13:36:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24269915296890880,"km_value":24269915296890.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":764626804392093696,"description":"Unknown IO ID 45"} 
[2026-07-13 13:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686065920001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":764626804392093696}} 
[2026-07-13 13:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":130547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480046,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:36:10] local.INFO: GPS data processed {"connection_id":130547,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:36:10] local.INFO: Acknowledgment sent {"connection_id":130547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:36:11] local.INFO: TCP Data received {"connection_id":130326,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8046c0012d7f914005afd938000e011b23..."} 
[2026-07-13 13:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8046c0012d7f914005afd938000e011b23..."} 
[2026-07-13 13:36:11] local.INFO: Processing buffer {"connection_id":130326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8046c0012d7f914005afd938000e011b23..."} 
[2026-07-13 13:36:11] local.INFO: Packet analysis {"connection_id":130326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a80"} 
[2026-07-13 13:36:11] local.INFO: Extracted packet for processing {"connection_id":130326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a80"} 
[2026-07-13 13:36:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685947648001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783929784000,"timestamp_ms":1783929784000,"timestamp_seconds":1783929784,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8046c0"} 
[2026-07-13 13:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685947648001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685947648001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:36:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:36:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685947648001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":130326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:36:11] local.INFO: GPS data processed {"connection_id":130326,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:36:11] local.INFO: Acknowledgment sent {"connection_id":130326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:36:23] local.INFO: TCP Data received {"connection_id":130548,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130548,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:36:23] local.INFO: Processing buffer {"connection_id":130548,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:36:23] local.INFO: IMEI packet received {"connection_id":130548,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 13:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":130548,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:36:23] local.INFO: TCP Data received {"connection_id":130548,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130548,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:36:23] local.INFO: Processing buffer {"connection_id":130548,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:36:23] local.INFO: IMEI packet received {"connection_id":130548,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":130548,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:36:27] local.INFO: TCP Data received {"connection_id":130548,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130548,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:36:27] local.INFO: Processing buffer {"connection_id":130548,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:36:27] local.INFO: IMEI packet received {"connection_id":130548,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":130548,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:36:28] local.INFO: TCP Data received {"connection_id":130548,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8301f8012d0a86800705a880001c013e13..."} 
[2026-07-13 13:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8301f8012d0a86800705a880001c013e13..."} 
[2026-07-13 13:36:28] local.INFO: Processing buffer {"connection_id":130548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8301f8012d0a86800705a880001c013e13..."} 
[2026-07-13 13:36:28] local.INFO: Packet analysis {"connection_id":130548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a83"} 
[2026-07-13 13:36:28] local.INFO: Extracted packet for processing {"connection_id":130548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a83"} 
[2026-07-13 13:36:28] local.INFO: GPS Element Parsed {"raw_longitude":755664512,"raw_latitude":117811328,"longitude_deg":75.5664512,"latitude_deg":11.7811328,"altitude":28,"angle":318,"satellites":19,"speed":13,"hex_longitude":"2d0a8680","hex_latitude":"0705a880","is_valid_coordinates":true} 
[2026-07-13 13:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686066944001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24270297548980224,"note":"Value kept but may cause issues"} 
[2026-07-13 13:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":763219429508958208,"note":"Value kept but may cause issues"} 
[2026-07-13 13:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783929963000,"timestamp_ms":1783929963000,"timestamp_seconds":1783929963,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8301f8"} 
[2026-07-13 13:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-13 13:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":130548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":130548,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":130548,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686066944001,"66":14428,"153":206,"94":10240,"24":13,"16":24270297548980224,"45":763219429508958208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-13 13:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686066944001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:36:28] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-13 13:36:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24270297548980224,"km_value":24270297548980.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":763219429508958208,"description":"Unknown IO ID 45"} 
[2026-07-13 13:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686066944001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":763219429508958208}} 
[2026-07-13 13:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":130548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480048,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:36:28] local.INFO: GPS data processed {"connection_id":130548,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:36:28] local.INFO: Acknowledgment sent {"connection_id":130548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:36:35] local.INFO: TCP Data received {"connection_id":131354,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:36:35] local.INFO: Processing buffer {"connection_id":131354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:36:35] local.INFO: IMEI packet received {"connection_id":131354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":131354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:36:40] local.INFO: TCP Data received {"connection_id":131354,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:36:40] local.INFO: Processing buffer {"connection_id":131354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:36:40] local.INFO: IMEI packet received {"connection_id":131354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":131354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:36:40] local.INFO: TCP Data received {"connection_id":131354,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8046c0012d7f914005afd938000e011b23..."} 
[2026-07-13 13:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8046c0012d7f914005afd938000e011b23..."} 
[2026-07-13 13:36:40] local.INFO: Processing buffer {"connection_id":131354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8046c0012d7f914005afd938000e011b23..."} 
[2026-07-13 13:36:40] local.INFO: Packet analysis {"connection_id":131354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a80"} 
[2026-07-13 13:36:40] local.INFO: Extracted packet for processing {"connection_id":131354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a80"} 
[2026-07-13 13:36:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685947648001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783929784000,"timestamp_ms":1783929784000,"timestamp_seconds":1783929784,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8046c0"} 
[2026-07-13 13:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:36: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-07-13 13:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685947648001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685947648001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:36:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:36:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685947648001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":131354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:36:40] local.INFO: GPS data processed {"connection_id":131354,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:36:40] local.INFO: Acknowledgment sent {"connection_id":131354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:36:59] local.INFO: TCP Data received {"connection_id":130548,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a83bd78012d0a71c00705df880013005e12..."} 
[2026-07-13 13:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a83bd78012d0a71c00705df880013005e12..."} 
[2026-07-13 13:36:59] local.INFO: Processing buffer {"connection_id":130548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a83bd78012d0a71c00705df880013005e12..."} 
[2026-07-13 13:36:59] local.INFO: Packet analysis {"connection_id":130548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a83"} 
[2026-07-13 13:36:59] local.INFO: Extracted packet for processing {"connection_id":130548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a83"} 
[2026-07-13 13:36:59] local.INFO: GPS Element Parsed {"raw_longitude":755659200,"raw_latitude":117825416,"longitude_deg":75.56592,"latitude_deg":11.7825416,"altitude":19,"angle":94,"satellites":18,"speed":2,"hex_longitude":"2d0a71c0","hex_latitude":"0705df88","is_valid_coordinates":true} 
[2026-07-13 13:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686080000001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24271113592766464,"note":"Value kept but may cause issues"} 
[2026-07-13 13:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":751960430445856768,"note":"Value kept but may cause issues"} 
[2026-07-13 13:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783930011000,"timestamp_ms":1783930011000,"timestamp_seconds":1783930011,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a83bd78"} 
[2026-07-13 13:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 13:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":130548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":130548,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":130548,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686080000001,"66":14450,"153":206,"94":10240,"24":2,"16":24271113592766464,"45":751960430445856768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-13 13:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686080000001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:36:59] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-13 13:36:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24271113592766464,"km_value":24271113592766.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":751960430445856768,"description":"Unknown IO ID 45"} 
[2026-07-13 13:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686080000001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":751960430445856768}} 
[2026-07-13 13:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":130548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480050,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:36:59] local.INFO: GPS data processed {"connection_id":130548,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:36:59] local.INFO: Acknowledgment sent {"connection_id":130548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:37:11] local.INFO: TCP Data received {"connection_id":131354,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8046c0012d7f914005afd938000e011b23..."} 
[2026-07-13 13:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8046c0012d7f914005afd938000e011b23..."} 
[2026-07-13 13:37:11] local.INFO: Processing buffer {"connection_id":131354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8046c0012d7f914005afd938000e011b23..."} 
[2026-07-13 13:37:11] local.INFO: Packet analysis {"connection_id":131354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a80"} 
[2026-07-13 13:37:11] local.INFO: Extracted packet for processing {"connection_id":131354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a80"} 
[2026-07-13 13:37:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685947648001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783929784000,"timestamp_ms":1783929784000,"timestamp_seconds":1783929784,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8046c0"} 
[2026-07-13 13:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685947648001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685947648001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:37:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:37:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685947648001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":131354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:37:11] local.INFO: GPS data processed {"connection_id":131354,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:37:11] local.INFO: Acknowledgment sent {"connection_id":131354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:37:23] local.INFO: TCP Data received {"connection_id":130328,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130328,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:37:23] local.INFO: Processing buffer {"connection_id":130328,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:37:23] local.INFO: IMEI packet received {"connection_id":130328,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 13:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":130328,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:37:27] local.INFO: TCP Data received {"connection_id":130328,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130328,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:37:27] local.INFO: Processing buffer {"connection_id":130328,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:37:27] local.INFO: IMEI packet received {"connection_id":130328,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":130328,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:37:28] local.INFO: TCP Data received {"connection_id":130328,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a83c548012d0a72400705dfa00013005113..."} 
[2026-07-13 13:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a83c548012d0a72400705dfa00013005113..."} 
[2026-07-13 13:37:28] local.INFO: Processing buffer {"connection_id":130328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a83c548012d0a72400705dfa00013005113..."} 
[2026-07-13 13:37:28] local.INFO: Packet analysis {"connection_id":130328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a83"} 
[2026-07-13 13:37:28] local.INFO: Extracted packet for processing {"connection_id":130328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a83"} 
[2026-07-13 13:37:28] local.INFO: GPS Element Parsed {"raw_longitude":755659328,"raw_latitude":117825440,"longitude_deg":75.5659328,"latitude_deg":11.782544,"altitude":19,"angle":81,"satellites":19,"speed":2,"hex_longitude":"2d0a7240","hex_latitude":"0705dfa0","is_valid_coordinates":true} 
[2026-07-13 13: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-07-13 13:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686082816001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24271117887733760,"note":"Value kept but may cause issues"} 
[2026-07-13 13:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752593749143422976,"note":"Value kept but may cause issues"} 
[2026-07-13 13:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783930013000,"timestamp_ms":1783930013000,"timestamp_seconds":1783930013,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a83c548"} 
[2026-07-13 13:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-13 13:37:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13: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-07-13 13:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":130328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":130328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":130328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686082816001,"66":14450,"153":206,"94":10240,"24":2,"16":24271117887733760,"45":752593749143422976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-13 13:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686082816001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:37:28] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-13 13:37:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24271117887733760,"km_value":24271117887733.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":752593749143422976,"description":"Unknown IO ID 45"} 
[2026-07-13 13:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686082816001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":752593749143422976}} 
[2026-07-13 13:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":130328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480052,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:37:28] local.INFO: GPS data processed {"connection_id":130328,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:37:28] local.INFO: Acknowledgment sent {"connection_id":130328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:37:34] local.INFO: TCP Data received {"connection_id":131356,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:37:34] local.INFO: Processing buffer {"connection_id":131356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:37:34] local.INFO: IMEI packet received {"connection_id":131356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":131356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:37:40] local.INFO: TCP Data received {"connection_id":131356,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:37:40] local.INFO: Processing buffer {"connection_id":131356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:37:40] local.INFO: IMEI packet received {"connection_id":131356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":131356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:37:40] local.INFO: TCP Data received {"connection_id":131356,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8046c0012d7f914005afd938000e011b23..."} 
[2026-07-13 13:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8046c0012d7f914005afd938000e011b23..."} 
[2026-07-13 13:37:40] local.INFO: Processing buffer {"connection_id":131356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8046c0012d7f914005afd938000e011b23..."} 
[2026-07-13 13:37:40] local.INFO: Packet analysis {"connection_id":131356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a80"} 
[2026-07-13 13:37:40] local.INFO: Extracted packet for processing {"connection_id":131356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a80"} 
[2026-07-13 13:37:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685947648001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783929784000,"timestamp_ms":1783929784000,"timestamp_seconds":1783929784,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8046c0"} 
[2026-07-13 13:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:37: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-07-13 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685947648001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685947648001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:37:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:37:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685947648001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":131356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:37:40] local.INFO: GPS data processed {"connection_id":131356,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:37:40] local.INFO: Acknowledgment sent {"connection_id":131356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:37:59] local.INFO: TCP Data received {"connection_id":130328,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a83cd18012d0a72c00705dfe80013003b13..."} 
[2026-07-13 13:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a83cd18012d0a72c00705dfe80013003b13..."} 
[2026-07-13 13:37:59] local.INFO: Processing buffer {"connection_id":130328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a83cd18012d0a72c00705dfe80013003b13..."} 
[2026-07-13 13:37:59] local.INFO: Packet analysis {"connection_id":130328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a83"} 
[2026-07-13 13:37:59] local.INFO: Extracted packet for processing {"connection_id":130328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a83"} 
[2026-07-13 13:37:59] local.INFO: GPS Element Parsed {"raw_longitude":755659456,"raw_latitude":117825512,"longitude_deg":75.5659456,"latitude_deg":11.7825512,"altitude":19,"angle":59,"satellites":19,"speed":2,"hex_longitude":"2d0a72c0","hex_latitude":"0705dfe8","is_valid_coordinates":true} 
[2026-07-13 13:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686083328001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24271126477668352,"note":"Value kept but may cause issues"} 
[2026-07-13 13:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752734486631784448,"note":"Value kept but may cause issues"} 
[2026-07-13 13:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783930015000,"timestamp_ms":1783930015000,"timestamp_seconds":1783930015,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a83cd18"} 
[2026-07-13 13:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-13 13:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":130328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":130328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":130328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686083328001,"66":14407,"153":206,"94":10240,"24":2,"16":24271126477668352,"45":752734486631784448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-13 13:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686083328001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:37:59] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-13 13:37:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24271126477668352,"km_value":24271126477668.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":752734486631784448,"description":"Unknown IO ID 45"} 
[2026-07-13 13:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686083328001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":752734486631784448}} 
[2026-07-13 13:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":130328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480054,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:37:59] local.INFO: GPS data processed {"connection_id":130328,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:37:59] local.INFO: Acknowledgment sent {"connection_id":130328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:38:11] local.INFO: TCP Data received {"connection_id":131356,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8046c0012d7f914005afd938000e011b23..."} 
[2026-07-13 13:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8046c0012d7f914005afd938000e011b23..."} 
[2026-07-13 13:38:11] local.INFO: Processing buffer {"connection_id":131356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8046c0012d7f914005afd938000e011b23..."} 
[2026-07-13 13:38:11] local.INFO: Packet analysis {"connection_id":131356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a80"} 
[2026-07-13 13:38:11] local.INFO: Extracted packet for processing {"connection_id":131356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a80"} 
[2026-07-13 13:38:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685947648001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783929784000,"timestamp_ms":1783929784000,"timestamp_seconds":1783929784,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8046c0"} 
[2026-07-13 13:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685947648001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685947648001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:38:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:38:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685947648001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":131356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:38:11] local.INFO: GPS data processed {"connection_id":131356,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:38:11] local.INFO: Acknowledgment sent {"connection_id":131356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:38:22] local.INFO: TCP Data received {"connection_id":131357,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131357,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:38:22] local.INFO: Processing buffer {"connection_id":131357,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:38:22] local.INFO: IMEI packet received {"connection_id":131357,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 13:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":131357,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:38:25] local.INFO: TCP Data received {"connection_id":131357,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131357,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:38:25] local.INFO: Processing buffer {"connection_id":131357,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:38:25] local.INFO: IMEI packet received {"connection_id":131357,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":131357,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:38:27] local.INFO: TCP Data received {"connection_id":131357,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131357,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:38:27] local.INFO: Processing buffer {"connection_id":131357,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:38:27] local.INFO: IMEI packet received {"connection_id":131357,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":131357,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:38:28] local.INFO: TCP Data received {"connection_id":131357,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a84ea40012d0a7e800705a310001800da14..."} 
[2026-07-13 13:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a84ea40012d0a7e800705a310001800da14..."} 
[2026-07-13 13:38:28] local.INFO: Processing buffer {"connection_id":131357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a84ea40012d0a7e800705a310001800da14..."} 
[2026-07-13 13:38:28] local.INFO: Packet analysis {"connection_id":131357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a84"} 
[2026-07-13 13:38:28] local.INFO: Extracted packet for processing {"connection_id":131357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a84"} 
[2026-07-13 13:38:28] local.INFO: GPS Element Parsed {"raw_longitude":755662464,"raw_latitude":117809936,"longitude_deg":75.5662464,"latitude_deg":11.7809936,"altitude":24,"angle":218,"satellites":20,"speed":22,"hex_longitude":"2d0a7e80","hex_latitude":"0705a310","is_valid_coordinates":true} 
[2026-07-13 13: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-07-13 13:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686101504001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24271942521454592,"note":"Value kept but may cause issues"} 
[2026-07-13 13:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757238086255564800,"note":"Value kept but may cause issues"} 
[2026-07-13 13:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783930088000,"timestamp_ms":1783930088000,"timestamp_seconds":1783930088,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a84ea40"} 
[2026-07-13 13:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:38: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-07-13 13: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-13 13:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13: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-07-13 13:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":131357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":131357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":131357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686101504001,"66":14439,"153":206,"94":10240,"24":22,"16":24271942521454592,"45":757238086255564800},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-13 13:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686101504001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:38:28] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-13 13:38:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24271942521454592,"km_value":24271942521454.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":757238086255564800,"description":"Unknown IO ID 45"} 
[2026-07-13 13:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686101504001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":757238086255564800}} 
[2026-07-13 13:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":131357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480056,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:38:28] local.INFO: GPS data processed {"connection_id":131357,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:38:28] local.INFO: Acknowledgment sent {"connection_id":131357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:38:34] local.INFO: TCP Data received {"connection_id":132679,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:38:34] local.INFO: Processing buffer {"connection_id":132679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:38:34] local.INFO: IMEI packet received {"connection_id":132679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":132679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:38:40] local.INFO: TCP Data received {"connection_id":132679,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:38:40] local.INFO: Processing buffer {"connection_id":132679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:38:40] local.INFO: IMEI packet received {"connection_id":132679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":132679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:38:41] local.INFO: TCP Data received {"connection_id":132679,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8046c0012d7f914005afd938000e011b23..."} 
[2026-07-13 13:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8046c0012d7f914005afd938000e011b23..."} 
[2026-07-13 13:38:41] local.INFO: Processing buffer {"connection_id":132679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8046c0012d7f914005afd938000e011b23..."} 
[2026-07-13 13:38:41] local.INFO: Packet analysis {"connection_id":132679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a80"} 
[2026-07-13 13:38:41] local.INFO: Extracted packet for processing {"connection_id":132679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a80"} 
[2026-07-13 13:38:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685947648001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783929784000,"timestamp_ms":1783929784000,"timestamp_seconds":1783929784,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8046c0"} 
[2026-07-13 13:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685947648001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685947648001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:38:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:38:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685947648001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":132679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:38:41] local.INFO: GPS data processed {"connection_id":132679,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:38:41] local.INFO: Acknowledgment sent {"connection_id":132679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:38:59] local.INFO: TCP Data received {"connection_id":131357,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8524d8012d0a694007058910000e00e614..."} 
[2026-07-13 13:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8524d8012d0a694007058910000e00e614..."} 
[2026-07-13 13:38:59] local.INFO: Processing buffer {"connection_id":131357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8524d8012d0a694007058910000e00e614..."} 
[2026-07-13 13:38:59] local.INFO: Packet analysis {"connection_id":131357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a85"} 
[2026-07-13 13:38:59] local.INFO: Extracted packet for processing {"connection_id":131357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a85"} 
[2026-07-13 13:38:59] local.INFO: GPS Element Parsed {"raw_longitude":755657024,"raw_latitude":117803280,"longitude_deg":75.5657024,"latitude_deg":11.780328,"altitude":14,"angle":230,"satellites":20,"speed":18,"hex_longitude":"2d0a6940","hex_latitude":"07058910","is_valid_coordinates":true} 
[2026-07-13 13:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686102528001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24272359133282304,"note":"Value kept but may cause issues"} 
[2026-07-13 13:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756182555092520960,"note":"Value kept but may cause issues"} 
[2026-07-13 13:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783930103000,"timestamp_ms":1783930103000,"timestamp_seconds":1783930103,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8524d8"} 
[2026-07-13 13:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 13:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":131357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":131357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":131357,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686102528001,"66":14309,"153":206,"94":10240,"24":18,"16":24272359133282304,"45":756182555092520960},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-13 13:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686102528001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:38:59] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-13 13:38:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24272359133282304,"km_value":24272359133282.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":756182555092520960,"description":"Unknown IO ID 45"} 
[2026-07-13 13:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686102528001,"power":14309,"unknown_153":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":756182555092520960}} 
[2026-07-13 13:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":131357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480058,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:38:59] local.INFO: GPS data processed {"connection_id":131357,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:38:59] local.INFO: Acknowledgment sent {"connection_id":131357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:39:11] local.INFO: TCP Data received {"connection_id":132679,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a84de88012d7f914005afd938000c011b23..."} 
[2026-07-13 13:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a84de88012d7f914005afd938000c011b23..."} 
[2026-07-13 13:39:11] local.INFO: Processing buffer {"connection_id":132679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a84de88012d7f914005afd938000c011b23..."} 
[2026-07-13 13:39:11] local.INFO: Packet analysis {"connection_id":132679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a84"} 
[2026-07-13 13:39:11] local.INFO: Extracted packet for processing {"connection_id":132679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a84"} 
[2026-07-13 13:39:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686024704001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783930085000,"timestamp_ms":1783930085000,"timestamp_seconds":1783930085,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a84de88"} 
[2026-07-13 13:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 13:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686024704001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686024704001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:39:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:39:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686024704001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":132679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:39:11] local.INFO: GPS data processed {"connection_id":132679,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:39:11] local.INFO: Acknowledgment sent {"connection_id":132679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:39:22] local.INFO: TCP Data received {"connection_id":132680,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132680,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:39:22] local.INFO: Processing buffer {"connection_id":132680,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:39:22] local.INFO: IMEI packet received {"connection_id":132680,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 13:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":132680,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:39:27] local.INFO: TCP Data received {"connection_id":132680,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132680,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:39:27] local.INFO: Processing buffer {"connection_id":132680,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:39:27] local.INFO: IMEI packet received {"connection_id":132680,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":132680,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:39:28] local.INFO: TCP Data received {"connection_id":132680,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a852ca8012d0a658007058688000d00f214..."} 
[2026-07-13 13:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a852ca8012d0a658007058688000d00f214..."} 
[2026-07-13 13:39:28] local.INFO: Processing buffer {"connection_id":132680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a852ca8012d0a658007058688000d00f214..."} 
[2026-07-13 13:39:28] local.INFO: Packet analysis {"connection_id":132680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a85"} 
[2026-07-13 13:39:28] local.INFO: Extracted packet for processing {"connection_id":132680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a85"} 
[2026-07-13 13:39:28] local.INFO: GPS Element Parsed {"raw_longitude":755656064,"raw_latitude":117802632,"longitude_deg":75.5656064,"latitude_deg":11.7802632,"altitude":13,"angle":242,"satellites":20,"speed":24,"hex_longitude":"2d0a6580","hex_latitude":"07058688","is_valid_coordinates":true} 
[2026-07-13 13:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686106368001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24272414967857152,"note":"Value kept but may cause issues"} 
[2026-07-13 13:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":750201211835715584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783930105000,"timestamp_ms":1783930105000,"timestamp_seconds":1783930105,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a852ca8"} 
[2026-07-13 13:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-13 13:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132680,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132680,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686106368001,"66":14428,"153":206,"94":10240,"24":24,"16":24272414967857152,"45":750201211835715584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-07-13 13:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686106368001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:39:28] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-13 13:39:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24272414967857152,"km_value":24272414967857.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":750201211835715584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686106368001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":750201211835715584}} 
[2026-07-13 13:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":132680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480060,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:39:28] local.INFO: GPS data processed {"connection_id":132680,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:39:28] local.INFO: Acknowledgment sent {"connection_id":132680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:39:34] local.INFO: TCP Data received {"connection_id":130550,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:39:34] local.INFO: Processing buffer {"connection_id":130550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:39:34] local.INFO: IMEI packet received {"connection_id":130550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":130550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:39:40] local.INFO: TCP Data received {"connection_id":130550,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:39:40] local.INFO: Processing buffer {"connection_id":130550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:39:40] local.INFO: IMEI packet received {"connection_id":130550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":130550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:39:41] local.INFO: TCP Data received {"connection_id":130550,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a84de88012d7f914005afd938000c011b23..."} 
[2026-07-13 13:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a84de88012d7f914005afd938000c011b23..."} 
[2026-07-13 13:39:41] local.INFO: Processing buffer {"connection_id":130550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a84de88012d7f914005afd938000c011b23..."} 
[2026-07-13 13:39:41] local.INFO: Packet analysis {"connection_id":130550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a84"} 
[2026-07-13 13:39:41] local.INFO: Extracted packet for processing {"connection_id":130550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a84"} 
[2026-07-13 13:39:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686024704001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783930085000,"timestamp_ms":1783930085000,"timestamp_seconds":1783930085,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a84de88"} 
[2026-07-13 13:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 13:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686024704001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686024704001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:39:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:39:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686024704001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":130550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:39:41] local.INFO: GPS data processed {"connection_id":130550,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:39:41] local.INFO: Acknowledgment sent {"connection_id":130550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:40:01] local.INFO: TCP Data received {"connection_id":132680,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a863648012d0a45c0070588e8000e00f416..."} 
[2026-07-13 13:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a863648012d0a45c0070588e8000e00f416..."} 
[2026-07-13 13:40:01] local.INFO: Processing buffer {"connection_id":132680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a863648012d0a45c0070588e8000e00f416..."} 
[2026-07-13 13:40:01] local.INFO: Packet analysis {"connection_id":132680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a86"} 
[2026-07-13 13:40:01] local.INFO: Extracted packet for processing {"connection_id":132680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a86"} 
[2026-07-13 13:40:01] local.INFO: GPS Element Parsed {"raw_longitude":755647936,"raw_latitude":117803240,"longitude_deg":75.5647936,"latitude_deg":11.780324,"altitude":14,"angle":244,"satellites":22,"speed":10,"hex_longitude":"2d0a45c0","hex_latitude":"070588e8","is_valid_coordinates":true} 
[2026-07-13 13:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686124032001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24272943248834560,"note":"Value kept but may cause issues"} 
[2026-07-13 13:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":740490325139204096,"note":"Value kept but may cause issues"} 
[2026-07-13 13:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783930173000,"timestamp_ms":1783930173000,"timestamp_seconds":1783930173,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a863648"} 
[2026-07-13 13:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:40: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-07-13 13: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-13 13:40:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:40:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":132680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":132680,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":132680,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686124032001,"66":14450,"177":206,"94":10240,"24":10,"16":24272943248834560,"45":740490325139204096},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-13 13:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686124032001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:40:01] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-13 13:40:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24272943248834560,"km_value":24272943248834.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":740490325139204096,"description":"Unknown IO ID 45"} 
[2026-07-13 13:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686124032001,"power":14450,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":740490325139204096}} 
[2026-07-13 13:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":132680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480062,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:40:01] local.INFO: GPS data processed {"connection_id":132680,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:40:01] local.INFO: Acknowledgment sent {"connection_id":132680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:40:12] local.INFO: TCP Data received {"connection_id":130550,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a84de88012d7f914005afd938000c011b23..."} 
[2026-07-13 13:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a84de88012d7f914005afd938000c011b23..."} 
[2026-07-13 13:40:12] local.INFO: Processing buffer {"connection_id":130550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a84de88012d7f914005afd938000c011b23..."} 
[2026-07-13 13:40:12] local.INFO: Packet analysis {"connection_id":130550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a84"} 
[2026-07-13 13:40:12] local.INFO: Extracted packet for processing {"connection_id":130550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a84"} 
[2026-07-13 13:40:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686024704001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783930085000,"timestamp_ms":1783930085000,"timestamp_seconds":1783930085,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a84de88"} 
[2026-07-13 13:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 13:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686024704001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686024704001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:40:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:40:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686024704001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":130550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:40:12] local.INFO: GPS data processed {"connection_id":130550,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:40:12] local.INFO: Acknowledgment sent {"connection_id":130550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:40:22] local.INFO: TCP Data received {"connection_id":131359,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131359,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:40:22] local.INFO: Processing buffer {"connection_id":131359,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:40:22] local.INFO: IMEI packet received {"connection_id":131359,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 13:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":131359,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:40:24] local.INFO: TCP Data received {"connection_id":131359,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131359,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:40:24] local.INFO: Processing buffer {"connection_id":131359,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:40:24] local.INFO: IMEI packet received {"connection_id":131359,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":131359,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:40:25] local.INFO: TCP Data received {"connection_id":131359,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131359,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:40:25] local.INFO: Processing buffer {"connection_id":131359,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:40:25] local.INFO: IMEI packet received {"connection_id":131359,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":131359,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:40:27] local.INFO: TCP Data received {"connection_id":131359,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131359,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:40:27] local.INFO: Processing buffer {"connection_id":131359,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:40:27] local.INFO: IMEI packet received {"connection_id":131359,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":131359,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:40:35] local.INFO: TCP Data received {"connection_id":130551,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:40:35] local.INFO: Processing buffer {"connection_id":130551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:40:35] local.INFO: IMEI packet received {"connection_id":130551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":130551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:40:40] local.INFO: TCP Data received {"connection_id":130551,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:40:40] local.INFO: Processing buffer {"connection_id":130551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:40:40] local.INFO: IMEI packet received {"connection_id":130551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":130551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:40:40] local.INFO: TCP Data received {"connection_id":130551,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a84de88012d7f914005afd938000c011b23..."} 
[2026-07-13 13:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a84de88012d7f914005afd938000c011b23..."} 
[2026-07-13 13:40:40] local.INFO: Processing buffer {"connection_id":130551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a84de88012d7f914005afd938000c011b23..."} 
[2026-07-13 13:40:40] local.INFO: Packet analysis {"connection_id":130551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a84"} 
[2026-07-13 13:40:40] local.INFO: Extracted packet for processing {"connection_id":130551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a84"} 
[2026-07-13 13:40:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686024704001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783930085000,"timestamp_ms":1783930085000,"timestamp_seconds":1783930085,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a84de88"} 
[2026-07-13 13:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:40: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-07-13 13: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 13:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686024704001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686024704001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:40:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:40:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686024704001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":130551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:40:40] local.INFO: GPS data processed {"connection_id":130551,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:40:40] local.INFO: Acknowledgment sent {"connection_id":130551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:41:05] local.INFO: TCP Data received {"connection_id":131360,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131360,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:41:05] local.INFO: Processing buffer {"connection_id":131360,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:41:05] local.INFO: IMEI packet received {"connection_id":131360,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 13:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":131360,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:41:12] local.INFO: TCP Data received {"connection_id":130551,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a84de88012d7f914005afd938000c011b23..."} 
[2026-07-13 13:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a84de88012d7f914005afd938000c011b23..."} 
[2026-07-13 13:41:12] local.INFO: Processing buffer {"connection_id":130551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a84de88012d7f914005afd938000c011b23..."} 
[2026-07-13 13:41:12] local.INFO: Packet analysis {"connection_id":130551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a84"} 
[2026-07-13 13:41:12] local.INFO: Extracted packet for processing {"connection_id":130551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a84"} 
[2026-07-13 13:41:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686024704001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783930085000,"timestamp_ms":1783930085000,"timestamp_seconds":1783930085,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a84de88"} 
[2026-07-13 13:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 13:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686024704001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686024704001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:41:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:41:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686024704001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":130551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:41:12] local.INFO: GPS data processed {"connection_id":130551,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:41:12] local.INFO: Acknowledgment sent {"connection_id":130551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:41:34] local.INFO: TCP Data received {"connection_id":132682,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:41:34] local.INFO: Processing buffer {"connection_id":132682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:41:34] local.INFO: IMEI packet received {"connection_id":132682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":132682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:41:40] local.INFO: TCP Data received {"connection_id":132682,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:41:40] local.INFO: Processing buffer {"connection_id":132682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:41:40] local.INFO: IMEI packet received {"connection_id":132682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":132682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:41:40] local.INFO: TCP Data received {"connection_id":132682,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a84de88012d7f914005afd938000c011b23..."} 
[2026-07-13 13:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a84de88012d7f914005afd938000c011b23..."} 
[2026-07-13 13:41:40] local.INFO: Processing buffer {"connection_id":132682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a84de88012d7f914005afd938000c011b23..."} 
[2026-07-13 13:41:40] local.INFO: Packet analysis {"connection_id":132682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a84"} 
[2026-07-13 13:41:40] local.INFO: Extracted packet for processing {"connection_id":132682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a84"} 
[2026-07-13 13:41:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686024704001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783930085000,"timestamp_ms":1783930085000,"timestamp_seconds":1783930085,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a84de88"} 
[2026-07-13 13:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:41: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-07-13 13: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 13:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686024704001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686024704001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:41:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:41:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686024704001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":132682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:41:40] local.INFO: GPS data processed {"connection_id":132682,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:41:40] local.INFO: Acknowledgment sent {"connection_id":132682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:41:41] local.INFO: TCP Data received {"connection_id":131362,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131362,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:41:41] local.INFO: Processing buffer {"connection_id":131362,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:41:41] local.INFO: IMEI packet received {"connection_id":131362,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 13:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":131362,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:42:11] local.INFO: TCP Data received {"connection_id":132682,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a84de88012d7f914005afd938000c011b23..."} 
[2026-07-13 13:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a84de88012d7f914005afd938000c011b23..."} 
[2026-07-13 13:42:11] local.INFO: Processing buffer {"connection_id":132682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a84de88012d7f914005afd938000c011b23..."} 
[2026-07-13 13:42:11] local.INFO: Packet analysis {"connection_id":132682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a84"} 
[2026-07-13 13:42:11] local.INFO: Extracted packet for processing {"connection_id":132682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a84"} 
[2026-07-13 13:42:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686024704001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783930085000,"timestamp_ms":1783930085000,"timestamp_seconds":1783930085,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a84de88"} 
[2026-07-13 13:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 13:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686024704001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686024704001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:42:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:42:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686024704001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":132682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:42:11] local.INFO: GPS data processed {"connection_id":132682,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:42:11] local.INFO: Acknowledgment sent {"connection_id":132682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:42:34] local.INFO: TCP Data received {"connection_id":130330,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:42:34] local.INFO: Processing buffer {"connection_id":130330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:42:34] local.INFO: IMEI packet received {"connection_id":130330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":130330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:42:40] local.INFO: TCP Data received {"connection_id":130330,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:42:40] local.INFO: Processing buffer {"connection_id":130330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:42:40] local.INFO: IMEI packet received {"connection_id":130330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":130330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:42:40] local.INFO: TCP Data received {"connection_id":130330,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a84de88012d7f914005afd938000c011b23..."} 
[2026-07-13 13:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a84de88012d7f914005afd938000c011b23..."} 
[2026-07-13 13:42:40] local.INFO: Processing buffer {"connection_id":130330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a84de88012d7f914005afd938000c011b23..."} 
[2026-07-13 13:42:40] local.INFO: Packet analysis {"connection_id":130330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a84"} 
[2026-07-13 13:42:40] local.INFO: Extracted packet for processing {"connection_id":130330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a84"} 
[2026-07-13 13:42:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13: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-07-13 13:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686024704001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783930085000,"timestamp_ms":1783930085000,"timestamp_seconds":1783930085,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a84de88"} 
[2026-07-13 13:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:42: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-07-13 13: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 13:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13: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-07-13 13:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686024704001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686024704001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:42:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:42:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686024704001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":130330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:42:40] local.INFO: GPS data processed {"connection_id":130330,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:42:40] local.INFO: Acknowledgment sent {"connection_id":130330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:43:11] local.INFO: TCP Data received {"connection_id":130330,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a84de88012d7f914005afd938000c011b23..."} 
[2026-07-13 13:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a84de88012d7f914005afd938000c011b23..."} 
[2026-07-13 13:43:11] local.INFO: Processing buffer {"connection_id":130330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a84de88012d7f914005afd938000c011b23..."} 
[2026-07-13 13:43:11] local.INFO: Packet analysis {"connection_id":130330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a84"} 
[2026-07-13 13:43:11] local.INFO: Extracted packet for processing {"connection_id":130330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a84"} 
[2026-07-13 13:43:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686024704001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783930085000,"timestamp_ms":1783930085000,"timestamp_seconds":1783930085,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a84de88"} 
[2026-07-13 13:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 13:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686024704001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686024704001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:43:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:43:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686024704001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":130330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:43:11] local.INFO: GPS data processed {"connection_id":130330,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:43:11] local.INFO: Acknowledgment sent {"connection_id":130330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:43:40] local.INFO: TCP Data received {"connection_id":131363,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:43:40] local.INFO: Processing buffer {"connection_id":131363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:43:40] local.INFO: IMEI packet received {"connection_id":131363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":131363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:43:44] local.INFO: TCP Data received {"connection_id":131363,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:43:44] local.INFO: Processing buffer {"connection_id":131363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:43:44] local.INFO: IMEI packet received {"connection_id":131363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":131363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:43:44] local.INFO: TCP Data received {"connection_id":131363,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:43:44] local.INFO: Processing buffer {"connection_id":131363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:43:44] local.INFO: Packet analysis {"connection_id":131363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a89"} 
[2026-07-13 13:43:44] local.INFO: Extracted packet for processing {"connection_id":131363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a89"} 
[2026-07-13 13:43:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686101760001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783930385000,"timestamp_ms":1783930385000,"timestamp_seconds":1783930385,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a897268"} 
[2026-07-13 13:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":131363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":131363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":131363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686101760001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686101760001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:43:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:43:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686101760001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":131363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:43:44] local.INFO: GPS data processed {"connection_id":131363,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:43:44] local.INFO: Acknowledgment sent {"connection_id":131363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:43:45] local.INFO: TCP Data received {"connection_id":131363,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:43:45] local.INFO: Processing buffer {"connection_id":131363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:43:45] local.INFO: Packet analysis {"connection_id":131363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a89"} 
[2026-07-13 13:43:45] local.INFO: Extracted packet for processing {"connection_id":131363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a89"} 
[2026-07-13 13:43:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686101760001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783930385000,"timestamp_ms":1783930385000,"timestamp_seconds":1783930385,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a897268"} 
[2026-07-13 13:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686101760001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686101760001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:43:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:43:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686101760001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":131363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:43:45] local.INFO: GPS data processed {"connection_id":131363,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:43:45] local.INFO: Acknowledgment sent {"connection_id":131363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:44:17] local.INFO: TCP Data received {"connection_id":131363,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:44:17] local.INFO: Processing buffer {"connection_id":131363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:44:17] local.INFO: Packet analysis {"connection_id":131363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a89"} 
[2026-07-13 13:44:17] local.INFO: Extracted packet for processing {"connection_id":131363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a89"} 
[2026-07-13 13:44:17] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686101760001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783930385000,"timestamp_ms":1783930385000,"timestamp_seconds":1783930385,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a897268"} 
[2026-07-13 13:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686101760001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686101760001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:44:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:44:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686101760001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":131363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:44:17] local.INFO: GPS data processed {"connection_id":131363,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:44:17] local.INFO: Acknowledgment sent {"connection_id":131363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:44:35] local.INFO: TCP Data received {"connection_id":131365,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:44:35] local.INFO: Processing buffer {"connection_id":131365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:44:35] local.INFO: IMEI packet received {"connection_id":131365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":131365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:44:40] local.INFO: TCP Data received {"connection_id":131365,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:44:40] local.INFO: Processing buffer {"connection_id":131365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:44:40] local.INFO: IMEI packet received {"connection_id":131365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":131365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:44:40] local.INFO: TCP Data received {"connection_id":131365,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:44:40] local.INFO: Processing buffer {"connection_id":131365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:44:40] local.INFO: Packet analysis {"connection_id":131365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a89"} 
[2026-07-13 13:44:40] local.INFO: Extracted packet for processing {"connection_id":131365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a89"} 
[2026-07-13 13:44:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686101760001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783930385000,"timestamp_ms":1783930385000,"timestamp_seconds":1783930385,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a897268"} 
[2026-07-13 13:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:44: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-07-13 13:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686101760001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686101760001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:44:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:44:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686101760001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":131365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:44:40] local.INFO: GPS data processed {"connection_id":131365,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:44:40] local.INFO: Acknowledgment sent {"connection_id":131365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:45:12] local.INFO: TCP Data received {"connection_id":131365,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:45:12] local.INFO: Processing buffer {"connection_id":131365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:45:12] local.INFO: Packet analysis {"connection_id":131365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a89"} 
[2026-07-13 13:45:12] local.INFO: Extracted packet for processing {"connection_id":131365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a89"} 
[2026-07-13 13:45:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686101760001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783930385000,"timestamp_ms":1783930385000,"timestamp_seconds":1783930385,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a897268"} 
[2026-07-13 13:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686101760001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686101760001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:45:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:45:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686101760001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":131365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:45:12] local.INFO: GPS data processed {"connection_id":131365,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:45:12] local.INFO: Acknowledgment sent {"connection_id":131365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:45:32] local.INFO: TCP Data received {"connection_id":132684,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132684,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:45:32] local.INFO: Processing buffer {"connection_id":132684,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:45:32] local.INFO: IMEI packet received {"connection_id":132684,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 13:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":132684,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:45:33] local.INFO: TCP Data received {"connection_id":132684,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132684,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:45:33] local.INFO: Processing buffer {"connection_id":132684,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:45:33] local.INFO: IMEI packet received {"connection_id":132684,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":132684,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:45:34] local.INFO: TCP Data received {"connection_id":132684,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132684,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:45:34] local.INFO: Processing buffer {"connection_id":132684,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:45:34] local.INFO: IMEI packet received {"connection_id":132684,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":132684,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:45:34] local.INFO: TCP Data received {"connection_id":130554,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:45:34] local.INFO: Processing buffer {"connection_id":130554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:45:34] local.INFO: IMEI packet received {"connection_id":130554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":130554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:45:38] local.INFO: TCP Data received {"connection_id":132684,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132684,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:45:38] local.INFO: Processing buffer {"connection_id":132684,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:45:38] local.INFO: IMEI packet received {"connection_id":132684,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":132684,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:45:39] local.INFO: TCP Data received {"connection_id":132684,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8b6a50012d0aedc00704f988001d005716..."} 
[2026-07-13 13:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8b6a50012d0aedc00704f988001d005716..."} 
[2026-07-13 13:45:39] local.INFO: Processing buffer {"connection_id":132684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8b6a50012d0aedc00704f988001d005716..."} 
[2026-07-13 13:45:39] local.INFO: Packet analysis {"connection_id":132684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a8b"} 
[2026-07-13 13:45:39] local.INFO: Extracted packet for processing {"connection_id":132684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a8b"} 
[2026-07-13 13:45:39] local.INFO: GPS Element Parsed {"raw_longitude":755690944,"raw_latitude":117766536,"longitude_deg":75.5690944,"latitude_deg":11.7766536,"altitude":29,"angle":87,"satellites":22,"speed":46,"hex_longitude":"2d0aedc0","hex_latitude":"0704f988","is_valid_coordinates":true} 
[2026-07-13 13:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686211584001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24280940477939712,"note":"Value kept but may cause issues"} 
[2026-07-13 13:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787496646240471040,"note":"Value kept but may cause issues"} 
[2026-07-13 13:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783930514000,"timestamp_ms":1783930514000,"timestamp_seconds":1783930514,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8b6a50"} 
[2026-07-13 13:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-13 13:45: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-07-13 13:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132684,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132684,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686211584001,"66":14396,"177":206,"94":10240,"24":46,"16":24280940477939712,"45":787496646240471040},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-13 13:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686211584001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:45:39] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-13 13:45:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24280940477939712,"km_value":24280940477939.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":787496646240471040,"description":"Unknown IO ID 45"} 
[2026-07-13 13:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686211584001,"power":14396,"unknown_177":206,"unknown_94":10240,"ignition":46,"odometer":null,"unknown_45":787496646240471040}} 
[2026-07-13 13:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":132684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480075,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:45:39] local.INFO: GPS data processed {"connection_id":132684,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:45:39] local.INFO: Acknowledgment sent {"connection_id":132684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:45:40] local.INFO: TCP Data received {"connection_id":130554,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:45:40] local.INFO: Processing buffer {"connection_id":130554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:45:40] local.INFO: IMEI packet received {"connection_id":130554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":130554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:45:42] local.INFO: TCP Data received {"connection_id":130554,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:45:42] local.INFO: Processing buffer {"connection_id":130554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:45:42] local.INFO: Packet analysis {"connection_id":130554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a89"} 
[2026-07-13 13:45:42] local.INFO: Extracted packet for processing {"connection_id":130554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a89"} 
[2026-07-13 13:45:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686101760001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783930385000,"timestamp_ms":1783930385000,"timestamp_seconds":1783930385,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a897268"} 
[2026-07-13 13:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686101760001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686101760001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:45:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:45:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686101760001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":130554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:45:42] local.INFO: GPS data processed {"connection_id":130554,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:45:42] local.INFO: Acknowledgment sent {"connection_id":130554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:45:43] local.INFO: TCP Data received {"connection_id":132684,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8b8990012d0b13400704fb98001b005f16..."} 
[2026-07-13 13:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8b8990012d0b13400704fb98001b005f16..."} 
[2026-07-13 13:45:43] local.INFO: Processing buffer {"connection_id":132684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8b8990012d0b13400704fb98001b005f16..."} 
[2026-07-13 13:45:43] local.INFO: Packet analysis {"connection_id":132684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a8b"} 
[2026-07-13 13:45:43] local.INFO: Extracted packet for processing {"connection_id":132684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a8b"} 
[2026-07-13 13:45:43] local.INFO: GPS Element Parsed {"raw_longitude":755700544,"raw_latitude":117767064,"longitude_deg":75.5700544,"latitude_deg":11.7767064,"altitude":27,"angle":95,"satellites":22,"speed":47,"hex_longitude":"2d0b1340","hex_latitude":"0704fb98","is_valid_coordinates":true} 
[2026-07-13 13:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686211584001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24281395744473088,"note":"Value kept but may cause issues"} 
[2026-07-13 13:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787496646240471040,"note":"Value kept but may cause issues"} 
[2026-07-13 13:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783930522000,"timestamp_ms":1783930522000,"timestamp_seconds":1783930522,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8b8990"} 
[2026-07-13 13:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-13 13:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":132684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":132684,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":132684,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:45:43] 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-07-13 13:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686211584001,"66":14439,"177":206,"94":10240,"24":47,"16":24281395744473088,"45":787496646240471040},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-07-13 13:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686211584001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:45:43] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-13 13:45:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24281395744473088,"km_value":24281395744473.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":787496646240471040,"description":"Unknown IO ID 45"} 
[2026-07-13 13:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686211584001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":47,"odometer":null,"unknown_45":787496646240471040}} 
[2026-07-13 13:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":132684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480077,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:45:43] local.INFO: GPS data processed {"connection_id":132684,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:45:43] local.INFO: Acknowledgment sent {"connection_id":132684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:46:13] local.INFO: TCP Data received {"connection_id":130554,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:46:13] local.INFO: Processing buffer {"connection_id":130554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:46:13] local.INFO: Packet analysis {"connection_id":130554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a89"} 
[2026-07-13 13:46:13] local.INFO: Extracted packet for processing {"connection_id":130554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a89"} 
[2026-07-13 13:46:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686101760001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783930385000,"timestamp_ms":1783930385000,"timestamp_seconds":1783930385,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a897268"} 
[2026-07-13 13:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686101760001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686101760001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:46:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:46:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686101760001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":130554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:46:13] local.INFO: GPS data processed {"connection_id":130554,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:46:13] local.INFO: Acknowledgment sent {"connection_id":130554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:46:23] local.INFO: TCP Data received {"connection_id":131367,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131367,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:46:23] local.INFO: Processing buffer {"connection_id":131367,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:46:23] local.INFO: IMEI packet received {"connection_id":131367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 13:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":131367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:46:28] local.INFO: TCP Data received {"connection_id":131367,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131367,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:46:28] local.INFO: Processing buffer {"connection_id":131367,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:46:28] local.INFO: IMEI packet received {"connection_id":131367,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":131367,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:46:28] local.INFO: TCP Data received {"connection_id":131367,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8c29b8012d0b73400704c6580019005616..."} 
[2026-07-13 13:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8c29b8012d0b73400704c6580019005616..."} 
[2026-07-13 13:46:28] local.INFO: Processing buffer {"connection_id":131367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8c29b8012d0b73400704c6580019005616..."} 
[2026-07-13 13:46:28] local.INFO: Packet analysis {"connection_id":131367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a8c"} 
[2026-07-13 13:46:28] local.INFO: Extracted packet for processing {"connection_id":131367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a8c"} 
[2026-07-13 13:46:28] local.INFO: GPS Element Parsed {"raw_longitude":755725120,"raw_latitude":117753432,"longitude_deg":75.572512,"latitude_deg":11.7753432,"altitude":25,"angle":86,"satellites":22,"speed":30,"hex_longitude":"2d0b7340","hex_latitude":"0704c658","is_valid_coordinates":true} 
[2026-07-13 13:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686223360001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24282997767274496,"note":"Value kept but may cause issues"} 
[2026-07-13 13:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822610649581748224,"note":"Value kept but may cause issues"} 
[2026-07-13 13:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783930563000,"timestamp_ms":1783930563000,"timestamp_seconds":1783930563,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8c29b8"} 
[2026-07-13 13:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-13 13:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":131367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":131367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":131367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:46:28] 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-07-13 13:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686223360001,"66":13863,"96":206,"94":10240,"24":30,"16":24282997767274496,"45":822610649581748224},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-13 13:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686223360001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:46:28] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 13:46:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24282997767274496,"km_value":24282997767274.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":822610649581748224,"description":"Unknown IO ID 45"} 
[2026-07-13 13:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686223360001,"power":13863,"unknown_96":206,"unknown_94":10240,"ignition":30,"odometer":null,"unknown_45":822610649581748224}} 
[2026-07-13 13:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":131367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480079,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:46:29] local.INFO: GPS data processed {"connection_id":131367,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:46:29] local.INFO: Acknowledgment sent {"connection_id":131367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:46:34] local.INFO: TCP Data received {"connection_id":132685,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:46:34] local.INFO: Processing buffer {"connection_id":132685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:46:34] local.INFO: IMEI packet received {"connection_id":132685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":132685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:46:40] local.INFO: TCP Data received {"connection_id":132685,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:46:40] local.INFO: Processing buffer {"connection_id":132685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:46:40] local.INFO: IMEI packet received {"connection_id":132685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":132685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:46:41] local.INFO: TCP Data received {"connection_id":132685,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:46:41] local.INFO: Processing buffer {"connection_id":132685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:46:41] local.INFO: Packet analysis {"connection_id":132685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a89"} 
[2026-07-13 13:46:41] local.INFO: Extracted packet for processing {"connection_id":132685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a89"} 
[2026-07-13 13:46:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686101760001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783930385000,"timestamp_ms":1783930385000,"timestamp_seconds":1783930385,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a897268"} 
[2026-07-13 13:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686101760001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686101760001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:46:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:46:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686101760001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":132685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:46:41] local.INFO: GPS data processed {"connection_id":132685,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:46:41] local.INFO: Acknowledgment sent {"connection_id":132685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:47:00] local.INFO: TCP Data received {"connection_id":131367,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8cd598012d0bb7000704e4d0001c000616..."} 
[2026-07-13 13:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8cd598012d0bb7000704e4d0001c000616..."} 
[2026-07-13 13:47:00] local.INFO: Processing buffer {"connection_id":131367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8cd598012d0bb7000704e4d0001c000616..."} 
[2026-07-13 13:47:00] local.INFO: Packet analysis {"connection_id":131367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a8c"} 
[2026-07-13 13:47:00] local.INFO: Extracted packet for processing {"connection_id":131367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a8c"} 
[2026-07-13 13:47:00] local.INFO: GPS Element Parsed {"raw_longitude":755742464,"raw_latitude":117761232,"longitude_deg":75.5742464,"latitude_deg":11.7761232,"altitude":28,"angle":6,"satellites":22,"speed":33,"hex_longitude":"2d0bb700","hex_latitude":"0704e4d0","is_valid_coordinates":true} 
[2026-07-13 13:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686234880001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24284440876285952,"note":"Value kept but may cause issues"} 
[2026-07-13 13:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":844073116557533184,"note":"Value kept but may cause issues"} 
[2026-07-13 13:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783930607000,"timestamp_ms":1783930607000,"timestamp_seconds":1783930607,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8cd598"} 
[2026-07-13 13:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-13 13:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:47:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":131367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":131367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":131367,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:47:00] 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-07-13 13:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686234880001,"66":14548,"96":206,"94":10240,"24":33,"16":24284440876285952,"45":844073116557533184},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-13 13:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686234880001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:47:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 13:47:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24284440876285952,"km_value":24284440876285.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":844073116557533184,"description":"Unknown IO ID 45"} 
[2026-07-13 13:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686234880001,"power":14548,"unknown_96":206,"unknown_94":10240,"ignition":33,"odometer":null,"unknown_45":844073116557533184}} 
[2026-07-13 13:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":131367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480081,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:47:00] local.INFO: GPS data processed {"connection_id":131367,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:47:00] local.INFO: Acknowledgment sent {"connection_id":131367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:47:12] local.INFO: TCP Data received {"connection_id":132685,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:47:12] local.INFO: Processing buffer {"connection_id":132685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:47:12] local.INFO: Packet analysis {"connection_id":132685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a89"} 
[2026-07-13 13:47:12] local.INFO: Extracted packet for processing {"connection_id":132685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a89"} 
[2026-07-13 13:47:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686101760001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783930385000,"timestamp_ms":1783930385000,"timestamp_seconds":1783930385,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a897268"} 
[2026-07-13 13:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686101760001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686101760001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:47:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:47:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686101760001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":132685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:47:12] local.INFO: GPS data processed {"connection_id":132685,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:47:12] local.INFO: Acknowledgment sent {"connection_id":132685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:47:15] local.INFO: TCP Data received {"connection_id":131368,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:47:15] local.INFO: Processing buffer {"connection_id":131368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:47:15] local.INFO: IMEI packet received {"connection_id":131368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 13:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":131368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:47:22] local.INFO: TCP Data received {"connection_id":130331,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:47:22] local.INFO: Processing buffer {"connection_id":130331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:47:22] local.INFO: IMEI packet received {"connection_id":130331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 13:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":130331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:47:23] local.INFO: TCP Data received {"connection_id":130331,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:47:23] local.INFO: Processing buffer {"connection_id":130331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:47:23] local.INFO: IMEI packet received {"connection_id":130331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":130331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:47:28] local.INFO: TCP Data received {"connection_id":130331,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:47:28] local.INFO: Processing buffer {"connection_id":130331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:47:28] local.INFO: IMEI packet received {"connection_id":130331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":130331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:47:29] local.INFO: TCP Data received {"connection_id":130331,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8cf0f0012d0bbac00704fa10001e002016..."} 
[2026-07-13 13:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8cf0f0012d0bbac00704fa10001e002016..."} 
[2026-07-13 13:47:29] local.INFO: Processing buffer {"connection_id":130331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8cf0f0012d0bbac00704fa10001e002016..."} 
[2026-07-13 13:47:29] local.INFO: Packet analysis {"connection_id":130331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a8c"} 
[2026-07-13 13:47:29] local.INFO: Extracted packet for processing {"connection_id":130331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a8c"} 
[2026-07-13 13:47:29] local.INFO: GPS Element Parsed {"raw_longitude":755743424,"raw_latitude":117766672,"longitude_deg":75.5743424,"latitude_deg":11.7766672,"altitude":30,"angle":32,"satellites":22,"speed":24,"hex_longitude":"2d0bbac0","hex_latitude":"0704fa10","is_valid_coordinates":true} 
[2026-07-13 13: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-07-13 13:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686235392001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24284711459225600,"note":"Value kept but may cause issues"} 
[2026-07-13 13:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":844143485302132736,"note":"Value kept but may cause issues"} 
[2026-07-13 13:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783930614000,"timestamp_ms":1783930614000,"timestamp_seconds":1783930614,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8cf0f0"} 
[2026-07-13 13:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:47: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-07-13 13: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-13 13:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13: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-07-13 13:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:47:29] 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-07-13 13:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686235392001,"66":14515,"96":206,"94":10240,"24":24,"16":24284711459225600,"45":844143485302132736},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-07-13 13:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686235392001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:47:29] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 13:47:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24284711459225600,"km_value":24284711459225.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":844143485302132736,"description":"Unknown IO ID 45"} 
[2026-07-13 13:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686235392001,"power":14515,"unknown_96":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":844143485302132736}} 
[2026-07-13 13:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":130331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480083,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:47:29] local.INFO: GPS data processed {"connection_id":130331,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:47:29] local.INFO: Acknowledgment sent {"connection_id":130331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:47:34] local.INFO: TCP Data received {"connection_id":131369,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:47:34] local.INFO: Processing buffer {"connection_id":131369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:47:34] local.INFO: IMEI packet received {"connection_id":131369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":131369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:47:40] local.INFO: TCP Data received {"connection_id":131369,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:47:40] local.INFO: Processing buffer {"connection_id":131369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:47:40] local.INFO: IMEI packet received {"connection_id":131369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":131369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:47:40] local.INFO: TCP Data received {"connection_id":131369,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:47:40] local.INFO: Processing buffer {"connection_id":131369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:47:40] local.INFO: Packet analysis {"connection_id":131369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a89"} 
[2026-07-13 13:47:40] local.INFO: Extracted packet for processing {"connection_id":131369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a89"} 
[2026-07-13 13:47:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686101760001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783930385000,"timestamp_ms":1783930385000,"timestamp_seconds":1783930385,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a897268"} 
[2026-07-13 13:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:47: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-07-13 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686101760001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686101760001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:47:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:47:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686101760001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":131369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:47:40] local.INFO: GPS data processed {"connection_id":131369,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:47:40] local.INFO: Acknowledgment sent {"connection_id":131369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:47:45] local.INFO: TCP Data received {"connection_id":131370,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131370,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:47:45] local.INFO: Processing buffer {"connection_id":131370,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:47:45] local.INFO: IMEI packet received {"connection_id":131370,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 13:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":131370,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:48:00] local.INFO: TCP Data received {"connection_id":130331,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8d9cd0012d0bcd80070560d00018000716..."} 
[2026-07-13 13:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8d9cd0012d0bcd80070560d00018000716..."} 
[2026-07-13 13:48:00] local.INFO: Processing buffer {"connection_id":130331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8d9cd0012d0bcd80070560d00018000716..."} 
[2026-07-13 13:48:00] local.INFO: Packet analysis {"connection_id":130331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a8d"} 
[2026-07-13 13:48:00] local.INFO: Extracted packet for processing {"connection_id":130331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a8d"} 
[2026-07-13 13:48:00] local.INFO: GPS Element Parsed {"raw_longitude":755748224,"raw_latitude":117792976,"longitude_deg":75.5748224,"latitude_deg":11.7792976,"altitude":24,"angle":7,"satellites":22,"speed":22,"hex_longitude":"2d0bcd80","hex_latitude":"070560d0","is_valid_coordinates":true} 
[2026-07-13 13:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686247936001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24286072963858432,"note":"Value kept but may cause issues"} 
[2026-07-13 13:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":850476672285986816,"note":"Value kept but may cause issues"} 
[2026-07-13 13:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783930658000,"timestamp_ms":1783930658000,"timestamp_seconds":1783930658,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8d9cd0"} 
[2026-07-13 13:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-13 13:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":130331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":130331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":130331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:48:00] 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-07-13 13:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686247936001,"66":14439,"164":206,"94":10240,"24":22,"16":24286072963858432,"45":850476672285986816},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-13 13:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686247936001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:48:00] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-13 13:48:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24286072963858432,"km_value":24286072963858.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":850476672285986816,"description":"Unknown IO ID 45"} 
[2026-07-13 13:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686247936001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":850476672285986816}} 
[2026-07-13 13:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":130331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480085,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:48:01] local.INFO: GPS data processed {"connection_id":130331,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:48:01] local.INFO: Acknowledgment sent {"connection_id":130331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:48:12] local.INFO: TCP Data received {"connection_id":131369,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:48:12] local.INFO: Processing buffer {"connection_id":131369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a897268012d7f914005afd938000b011b24..."} 
[2026-07-13 13:48:12] local.INFO: Packet analysis {"connection_id":131369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a89"} 
[2026-07-13 13:48:12] local.INFO: Extracted packet for processing {"connection_id":131369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a89"} 
[2026-07-13 13:48:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686101760001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783930385000,"timestamp_ms":1783930385000,"timestamp_seconds":1783930385,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a897268"} 
[2026-07-13 13:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686101760001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686101760001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:48:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:48:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686101760001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":131369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:48:12] local.INFO: GPS data processed {"connection_id":131369,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:48:12] local.INFO: Acknowledgment sent {"connection_id":131369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:48:22] local.INFO: TCP Data received {"connection_id":131371,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131371,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:48:22] local.INFO: Processing buffer {"connection_id":131371,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:48:22] local.INFO: IMEI packet received {"connection_id":131371,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 13:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":131371,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:48:27] local.INFO: TCP Data received {"connection_id":131371,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131371,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:48:27] local.INFO: Processing buffer {"connection_id":131371,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:48:27] local.INFO: IMEI packet received {"connection_id":131371,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":131371,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:48:28] local.INFO: TCP Data received {"connection_id":131371,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8dc7c8012d0bd400070583580012001016..."} 
[2026-07-13 13:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8dc7c8012d0bd400070583580012001016..."} 
[2026-07-13 13:48:28] local.INFO: Processing buffer {"connection_id":131371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8dc7c8012d0bd400070583580012001016..."} 
[2026-07-13 13:48:28] local.INFO: Packet analysis {"connection_id":131371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a8d"} 
[2026-07-13 13:48:28] local.INFO: Extracted packet for processing {"connection_id":131371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a8d"} 
[2026-07-13 13:48:28] local.INFO: GPS Element Parsed {"raw_longitude":755749888,"raw_latitude":117801816,"longitude_deg":75.5749888,"latitude_deg":11.7801816,"altitude":18,"angle":16,"satellites":22,"speed":26,"hex_longitude":"2d0bd400","hex_latitude":"07058358","is_valid_coordinates":true} 
[2026-07-13 13: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-07-13 13:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686248448001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24286506755555328,"note":"Value kept but may cause issues"} 
[2026-07-13 13:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":850476672286248960,"note":"Value kept but may cause issues"} 
[2026-07-13 13:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783930669000,"timestamp_ms":1783930669000,"timestamp_seconds":1783930669,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8dc7c8"} 
[2026-07-13 13:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:48: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-07-13 13: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 13:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13: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-07-13 13:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":131371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":131371,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":131371,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:48:28] 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-07-13 13:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686248448001,"66":14439,"164":206,"94":10240,"24":26,"16":24286506755555328,"45":850476672286248960},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-13 13:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686248448001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:48:28] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-13 13:48:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24286506755555328,"km_value":24286506755555.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":850476672286248960,"description":"Unknown IO ID 45"} 
[2026-07-13 13:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686248448001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":850476672286248960}} 
[2026-07-13 13:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":131371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480087,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:48:28] local.INFO: GPS data processed {"connection_id":131371,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:48:28] local.INFO: Acknowledgment sent {"connection_id":131371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:48:40] local.INFO: TCP Data received {"connection_id":132686,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:48:40] local.INFO: Processing buffer {"connection_id":132686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:48:40] local.INFO: IMEI packet received {"connection_id":132686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":132686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:48:45] local.INFO: TCP Data received {"connection_id":132686,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:48:45] local.INFO: Processing buffer {"connection_id":132686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:48:45] local.INFO: IMEI packet received {"connection_id":132686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":132686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:48:46] local.INFO: TCP Data received {"connection_id":132686,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:48:46] local.INFO: Processing buffer {"connection_id":132686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:48:46] local.INFO: Packet analysis {"connection_id":132686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a8e"} 
[2026-07-13 13:48:46] local.INFO: Extracted packet for processing {"connection_id":132686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a8e"} 
[2026-07-13 13:48:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686178560001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783930686000,"timestamp_ms":1783930686000,"timestamp_seconds":1783930686,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8e0a30"} 
[2026-07-13 13:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686178560001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686178560001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:48:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:48:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686178560001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":132686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:48:46] local.INFO: GPS data processed {"connection_id":132686,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:48:46] local.INFO: Acknowledgment sent {"connection_id":132686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:48:46] local.INFO: TCP Data received {"connection_id":132686,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:48:46] local.INFO: Processing buffer {"connection_id":132686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:48:46] local.INFO: Packet analysis {"connection_id":132686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a8e"} 
[2026-07-13 13:48:46] local.INFO: Extracted packet for processing {"connection_id":132686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a8e"} 
[2026-07-13 13:48:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686178560001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783930686000,"timestamp_ms":1783930686000,"timestamp_seconds":1783930686,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8e0a30"} 
[2026-07-13 13:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686178560001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686178560001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:48:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:48:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686178560001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":132686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:48:46] local.INFO: GPS data processed {"connection_id":132686,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:48:46] local.INFO: Acknowledgment sent {"connection_id":132686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:48:59] local.INFO: TCP Data received {"connection_id":131371,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8dcf98012d0bd500070588280011000116..."} 
[2026-07-13 13:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8dcf98012d0bd500070588280011000116..."} 
[2026-07-13 13:48:59] local.INFO: Processing buffer {"connection_id":131371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8dcf98012d0bd500070588280011000116..."} 
[2026-07-13 13:48:59] local.INFO: Packet analysis {"connection_id":131371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a8d"} 
[2026-07-13 13:48:59] local.INFO: Extracted packet for processing {"connection_id":131371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a8d"} 
[2026-07-13 13:48:59] local.INFO: GPS Element Parsed {"raw_longitude":755750144,"raw_latitude":117803048,"longitude_deg":75.5750144,"latitude_deg":11.7803048,"altitude":17,"angle":1,"satellites":22,"speed":23,"hex_longitude":"2d0bd500","hex_latitude":"07058828","is_valid_coordinates":true} 
[2026-07-13 13:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686251264001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24286571180064768,"note":"Value kept but may cause issues"} 
[2026-07-13 13:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":852306259637131264,"note":"Value kept but may cause issues"} 
[2026-07-13 13:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783930671000,"timestamp_ms":1783930671000,"timestamp_seconds":1783930671,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8dcf98"} 
[2026-07-13 13:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 13:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:48:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":131371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":131371,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":131371,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:48:59] 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-07-13 13:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686251264001,"66":14548,"164":206,"94":10240,"24":23,"16":24286571180064768,"45":852306259637131264},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-13 13:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686251264001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:48:59] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-13 13:48:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24286571180064768,"km_value":24286571180064.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":852306259637131264,"description":"Unknown IO ID 45"} 
[2026-07-13 13:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686251264001,"power":14548,"unknown_164":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":852306259637131264}} 
[2026-07-13 13:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":131371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480090,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:48:59] local.INFO: GPS data processed {"connection_id":131371,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:48:59] local.INFO: Acknowledgment sent {"connection_id":131371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:49:18] local.INFO: TCP Data received {"connection_id":132686,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:49:18] local.INFO: Processing buffer {"connection_id":132686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:49:18] local.INFO: Packet analysis {"connection_id":132686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a8e"} 
[2026-07-13 13:49:18] local.INFO: Extracted packet for processing {"connection_id":132686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a8e"} 
[2026-07-13 13:49:18] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 13:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686178560001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783930686000,"timestamp_ms":1783930686000,"timestamp_seconds":1783930686,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8e0a30"} 
[2026-07-13 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-07-13 13:49: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-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:49: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-07-13 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-07-13 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-07-13 13:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:49: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-07-13 13:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686178560001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686178560001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:49:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:49:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686178560001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":132686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:49:18] local.INFO: GPS data processed {"connection_id":132686,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:49:18] local.INFO: Acknowledgment sent {"connection_id":132686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:49:22] local.INFO: TCP Data received {"connection_id":130332,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130332,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:49:22] local.INFO: Processing buffer {"connection_id":130332,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:49:22] local.INFO: IMEI packet received {"connection_id":130332,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 13:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":130332,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:49:27] local.INFO: TCP Data received {"connection_id":130332,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130332,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:49:27] local.INFO: Processing buffer {"connection_id":130332,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:49:27] local.INFO: IMEI packet received {"connection_id":130332,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":130332,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:49:28] local.INFO: TCP Data received {"connection_id":130332,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8ed168012d0c20000705ba28001b000c16..."} 
[2026-07-13 13:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8ed168012d0c20000705ba28001b000c16..."} 
[2026-07-13 13:49:28] local.INFO: Processing buffer {"connection_id":130332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8ed168012d0c20000705ba28001b000c16..."} 
[2026-07-13 13:49:28] local.INFO: Packet analysis {"connection_id":130332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a8e"} 
[2026-07-13 13:49:28] local.INFO: Extracted packet for processing {"connection_id":130332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a8e"} 
[2026-07-13 13:49:28] local.INFO: GPS Element Parsed {"raw_longitude":755769344,"raw_latitude":117815848,"longitude_deg":75.5769344,"latitude_deg":11.7815848,"altitude":27,"angle":12,"satellites":22,"speed":26,"hex_longitude":"2d0c2000","hex_latitude":"0705ba28","is_valid_coordinates":true} 
[2026-07-13 13: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-07-13 13:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686265088001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24288220447506432,"note":"Value kept but may cause issues"} 
[2026-07-13 13:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871094714333919232,"note":"Value kept but may cause issues"} 
[2026-07-13 13:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783930737000,"timestamp_ms":1783930737000,"timestamp_seconds":1783930737,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8ed168"} 
[2026-07-13 13:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:49: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-07-13 13: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-13 13:49: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-07-13 13: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-07-13 13:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":130332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":130332,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":130332,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:49:28] 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-07-13 13:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686265088001,"66":14254,"164":206,"94":10240,"24":26,"16":24288220447506432,"45":871094714333919232},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-13 13:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686265088001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:49:28] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-13 13:49:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24288220447506432,"km_value":24288220447506.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":871094714333919232,"description":"Unknown IO ID 45"} 
[2026-07-13 13:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686265088001,"power":14254,"unknown_164":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":871094714333919232}} 
[2026-07-13 13:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":130332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480092,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:49:28] local.INFO: GPS data processed {"connection_id":130332,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:49:28] local.INFO: Acknowledgment sent {"connection_id":130332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:49:34] local.INFO: TCP Data received {"connection_id":131372,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:49:34] local.INFO: Processing buffer {"connection_id":131372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:49:34] local.INFO: IMEI packet received {"connection_id":131372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":131372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:49:40] local.INFO: TCP Data received {"connection_id":131372,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:49:40] local.INFO: Processing buffer {"connection_id":131372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:49:40] local.INFO: IMEI packet received {"connection_id":131372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":131372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:49:42] local.INFO: TCP Data received {"connection_id":131372,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:49:42] local.INFO: Processing buffer {"connection_id":131372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:49:42] local.INFO: Packet analysis {"connection_id":131372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a8e"} 
[2026-07-13 13:49:42] local.INFO: Extracted packet for processing {"connection_id":131372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a8e"} 
[2026-07-13 13:49:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686178560001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783930686000,"timestamp_ms":1783930686000,"timestamp_seconds":1783930686,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8e0a30"} 
[2026-07-13 13:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":131372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":131372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":131372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686178560001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686178560001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:49:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:49:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686178560001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":131372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:49:42] local.INFO: GPS data processed {"connection_id":131372,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:49:42] local.INFO: Acknowledgment sent {"connection_id":131372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:50:00] local.INFO: TCP Data received {"connection_id":130332,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8ee108012d0c21800705c4e0001b000016..."} 
[2026-07-13 13:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8ee108012d0c21800705c4e0001b000016..."} 
[2026-07-13 13:50:00] local.INFO: Processing buffer {"connection_id":130332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8ee108012d0c21800705c4e0001b000016..."} 
[2026-07-13 13:50:00] local.INFO: Packet analysis {"connection_id":130332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a8e"} 
[2026-07-13 13:50:00] local.INFO: Extracted packet for processing {"connection_id":130332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a8e"} 
[2026-07-13 13:50:00] local.INFO: GPS Element Parsed {"raw_longitude":755769728,"raw_latitude":117818592,"longitude_deg":75.5769728,"latitude_deg":11.7818592,"altitude":27,"angle":0,"satellites":22,"speed":24,"hex_longitude":"2d0c2180","hex_latitude":"0705c4e0","is_valid_coordinates":true} 
[2026-07-13 13:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686268672001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24288353591492608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873698357870733312,"note":"Value kept but may cause issues"} 
[2026-07-13 13:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783930741000,"timestamp_ms":1783930741000,"timestamp_seconds":1783930741,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8ee108"} 
[2026-07-13 13:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-13 13:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":130332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":130332,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":130332,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:50:00] 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-07-13 13:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686268672001,"66":14298,"164":206,"94":10240,"24":24,"16":24288353591492608,"45":873698357870733312},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-13 13:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686268672001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:50:00] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-13 13:50:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24288353591492608,"km_value":24288353591492.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":873698357870733312,"description":"Unknown IO ID 45"} 
[2026-07-13 13:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686268672001,"power":14298,"unknown_164":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":873698357870733312}} 
[2026-07-13 13:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":130332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480094,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:50:00] local.INFO: GPS data processed {"connection_id":130332,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:50:00] local.INFO: Acknowledgment sent {"connection_id":130332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:50:13] local.INFO: TCP Data received {"connection_id":131372,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:50:13] local.INFO: Processing buffer {"connection_id":131372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:50:13] local.INFO: Packet analysis {"connection_id":131372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a8e"} 
[2026-07-13 13:50:13] local.INFO: Extracted packet for processing {"connection_id":131372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a8e"} 
[2026-07-13 13:50:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686178560001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783930686000,"timestamp_ms":1783930686000,"timestamp_seconds":1783930686,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8e0a30"} 
[2026-07-13 13:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:50:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686178560001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686178560001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:50:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:50:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686178560001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":131372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:50:13] local.INFO: GPS data processed {"connection_id":131372,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:50:13] local.INFO: Acknowledgment sent {"connection_id":131372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:50:24] local.INFO: TCP Data received {"connection_id":130333,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130333,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:50:24] local.INFO: Processing buffer {"connection_id":130333,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:50:24] local.INFO: IMEI packet received {"connection_id":130333,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 13:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":130333,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:50:28] local.INFO: TCP Data received {"connection_id":130333,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130333,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:50:28] local.INFO: Processing buffer {"connection_id":130333,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:50:28] local.INFO: IMEI packet received {"connection_id":130333,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":130333,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:50:32] local.INFO: TCP Data received {"connection_id":130333,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130333,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:50:32] local.INFO: Processing buffer {"connection_id":130333,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:50:32] local.INFO: IMEI packet received {"connection_id":130333,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":130333,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:50:33] local.INFO: TCP Data received {"connection_id":130333,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a9009e8012d0c3c0007062ec80019001216..."} 
[2026-07-13 13:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a9009e8012d0c3c0007062ec80019001216..."} 
[2026-07-13 13:50:33] local.INFO: Processing buffer {"connection_id":130333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a9009e8012d0c3c0007062ec80019001216..."} 
[2026-07-13 13:50:33] local.INFO: Packet analysis {"connection_id":130333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a90"} 
[2026-07-13 13:50:33] local.INFO: Extracted packet for processing {"connection_id":130333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a90"} 
[2026-07-13 13:50:33] local.INFO: GPS Element Parsed {"raw_longitude":755776512,"raw_latitude":117845704,"longitude_deg":75.5776512,"latitude_deg":11.7845704,"altitude":25,"angle":18,"satellites":22,"speed":15,"hex_longitude":"2d0c3c00","hex_latitude":"07062ec8","is_valid_coordinates":true} 
[2026-07-13 13:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686288896001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24289831060242432,"note":"Value kept but may cause issues"} 
[2026-07-13 13:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881438919737835520,"note":"Value kept but may cause issues"} 
[2026-07-13 13:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783930817000,"timestamp_ms":1783930817000,"timestamp_seconds":1783930817,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a9009e8"} 
[2026-07-13 13:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13: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":103,"data_length":795,"current_offset":136} 
[2026-07-13 13:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":130333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":130333,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":130333,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:50:33] 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-07-13 13:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686288896001,"66":14439,"164":206,"94":10240,"24":15,"16":24289831060242432,"45":881438919737835520},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-13 13:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686288896001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:50:33] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-13 13:50:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24289831060242432,"km_value":24289831060242.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":881438919737835520,"description":"Unknown IO ID 45"} 
[2026-07-13 13:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686288896001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":881438919737835520}} 
[2026-07-13 13:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":130333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480096,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:50:33] local.INFO: GPS data processed {"connection_id":130333,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:50:33] local.INFO: Acknowledgment sent {"connection_id":130333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:50:34] local.INFO: TCP Data received {"connection_id":130333,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a900dd0012d0c3c40070630480018016616..."} 
[2026-07-13 13:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a900dd0012d0c3c40070630480018016616..."} 
[2026-07-13 13:50:34] local.INFO: Processing buffer {"connection_id":130333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a900dd0012d0c3c40070630480018016616..."} 
[2026-07-13 13:50:34] local.INFO: Packet analysis {"connection_id":130333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a90"} 
[2026-07-13 13:50:34] local.INFO: Extracted packet for processing {"connection_id":130333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a90"} 
[2026-07-13 13:50:34] local.INFO: GPS Element Parsed {"raw_longitude":755776576,"raw_latitude":117846088,"longitude_deg":75.5776576,"latitude_deg":11.7846088,"altitude":24,"angle":358,"satellites":22,"speed":15,"hex_longitude":"2d0c3c40","hex_latitude":"07063048","is_valid_coordinates":true} 
[2026-07-13 13:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686289152001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24289848240111616,"note":"Value kept but may cause issues"} 
[2026-07-13 13:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881579657226274816,"note":"Value kept but may cause issues"} 
[2026-07-13 13:50: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-07-13 13:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783930818000,"timestamp_ms":1783930818000,"timestamp_seconds":1783930818,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a900dd0"} 
[2026-07-13 13:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 13:50: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-07-13 13:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":130333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":130333,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":130333,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:50:34] 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-07-13 13:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686289152001,"66":14330,"164":206,"94":10240,"24":15,"16":24289848240111616,"45":881579657226274816},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-13 13:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686289152001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:50:34] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-13 13:50:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24289848240111616,"km_value":24289848240111.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":881579657226274816,"description":"Unknown IO ID 45"} 
[2026-07-13 13:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686289152001,"power":14330,"unknown_164":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":881579657226274816}} 
[2026-07-13 13:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":130333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480097,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:50:34] local.INFO: GPS data processed {"connection_id":130333,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:50:34] local.INFO: Acknowledgment sent {"connection_id":130333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:50:34] local.INFO: TCP Data received {"connection_id":132687,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:50:34] local.INFO: Processing buffer {"connection_id":132687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:50:34] local.INFO: IMEI packet received {"connection_id":132687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":132687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:50:40] local.INFO: TCP Data received {"connection_id":132687,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:50:40] local.INFO: Processing buffer {"connection_id":132687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:50:40] local.INFO: IMEI packet received {"connection_id":132687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":132687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:50:40] local.INFO: TCP Data received {"connection_id":132687,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:50:40] local.INFO: Processing buffer {"connection_id":132687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:50:40] local.INFO: Packet analysis {"connection_id":132687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a8e"} 
[2026-07-13 13:50:40] local.INFO: Extracted packet for processing {"connection_id":132687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a8e"} 
[2026-07-13 13:50:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686178560001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783930686000,"timestamp_ms":1783930686000,"timestamp_seconds":1783930686,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8e0a30"} 
[2026-07-13 13:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:50: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-07-13 13:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686178560001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686178560001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:50:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:50:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686178560001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":132687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:50:40] local.INFO: GPS data processed {"connection_id":132687,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:50:40] local.INFO: Acknowledgment sent {"connection_id":132687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:51:05] local.INFO: TCP Data received {"connection_id":130333,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a9011b8012d0c3bc0070631e00018015716..."} 
[2026-07-13 13:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a9011b8012d0c3bc0070631e00018015716..."} 
[2026-07-13 13:51:05] local.INFO: Processing buffer {"connection_id":130333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a9011b8012d0c3bc0070631e00018015716..."} 
[2026-07-13 13:51:05] local.INFO: Packet analysis {"connection_id":130333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a90"} 
[2026-07-13 13:51:05] local.INFO: Extracted packet for processing {"connection_id":130333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a90"} 
[2026-07-13 13:51:05] local.INFO: GPS Element Parsed {"raw_longitude":755776448,"raw_latitude":117846496,"longitude_deg":75.5776448,"latitude_deg":11.7846496,"altitude":24,"angle":343,"satellites":22,"speed":17,"hex_longitude":"2d0c3bc0","hex_latitude":"070631e0","is_valid_coordinates":true} 
[2026-07-13 13:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686289408001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24289869714948096,"note":"Value kept but may cause issues"} 
[2026-07-13 13:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881650025970550784,"note":"Value kept but may cause issues"} 
[2026-07-13 13:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783930819000,"timestamp_ms":1783930819000,"timestamp_seconds":1783930819,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a9011b8"} 
[2026-07-13 13:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-07-13 13:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130333,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130333,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:51:05] 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-07-13 13:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686289408001,"66":14330,"164":206,"94":10240,"24":17,"16":24289869714948096,"45":881650025970550784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-13 13:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686289408001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:51:05] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-13 13:51:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24289869714948096,"km_value":24289869714948.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":881650025970550784,"description":"Unknown IO ID 45"} 
[2026-07-13 13:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686289408001,"power":14330,"unknown_164":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":881650025970550784}} 
[2026-07-13 13:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":130333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480099,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:51:05] local.INFO: GPS data processed {"connection_id":130333,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:51:05] local.INFO: Acknowledgment sent {"connection_id":130333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:51:11] local.INFO: TCP Data received {"connection_id":132687,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:51:11] local.INFO: Processing buffer {"connection_id":132687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:51:11] local.INFO: Packet analysis {"connection_id":132687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a8e"} 
[2026-07-13 13:51:11] local.INFO: Extracted packet for processing {"connection_id":132687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a8e"} 
[2026-07-13 13:51:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686178560001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783930686000,"timestamp_ms":1783930686000,"timestamp_seconds":1783930686,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8e0a30"} 
[2026-07-13 13:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686178560001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686178560001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:51:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:51:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686178560001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":132687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:51:12] local.INFO: GPS data processed {"connection_id":132687,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:51:12] local.INFO: Acknowledgment sent {"connection_id":132687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:51:23] local.INFO: TCP Data received {"connection_id":130558,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130558,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:51:23] local.INFO: Processing buffer {"connection_id":130558,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:51:23] local.INFO: IMEI packet received {"connection_id":130558,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 13:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":130558,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:51:28] local.INFO: TCP Data received {"connection_id":130558,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130558,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:51:28] local.INFO: Processing buffer {"connection_id":130558,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:51:28] local.INFO: IMEI packet received {"connection_id":130558,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":130558,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:51:28] local.INFO: TCP Data received {"connection_id":130558,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a901d70012d0c3ac0070637600017016317..."} 
[2026-07-13 13:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a901d70012d0c3ac0070637600017016317..."} 
[2026-07-13 13:51:28] local.INFO: Processing buffer {"connection_id":130558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a901d70012d0c3ac0070637600017016317..."} 
[2026-07-13 13:51:28] local.INFO: Packet analysis {"connection_id":130558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a90"} 
[2026-07-13 13:51:28] local.INFO: Extracted packet for processing {"connection_id":130558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a90"} 
[2026-07-13 13:51:28] local.INFO: GPS Element Parsed {"raw_longitude":755776192,"raw_latitude":117847904,"longitude_deg":75.5776192,"latitude_deg":11.7847904,"altitude":23,"angle":355,"satellites":23,"speed":21,"hex_longitude":"2d0c3ac0","hex_latitude":"07063760","is_valid_coordinates":true} 
[2026-07-13 13:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686289664001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24289938434424832,"note":"Value kept but may cause issues"} 
[2026-07-13 13:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881509288482299904,"note":"Value kept but may cause issues"} 
[2026-07-13 13:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783930822000,"timestamp_ms":1783930822000,"timestamp_seconds":1783930822,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a901d70"} 
[2026-07-13 13:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:51: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-07-13 13: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":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-07-13 13:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":130558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":130558,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":130558,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:51:28] 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-07-13 13:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686289664001,"66":14396,"164":206,"94":10240,"24":21,"16":24289938434424832,"45":881509288482299904},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-13 13:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686289664001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:51:28] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-13 13:51:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24289938434424832,"km_value":24289938434424.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":881509288482299904,"description":"Unknown IO ID 45"} 
[2026-07-13 13:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686289664001,"power":14396,"unknown_164":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":881509288482299904}} 
[2026-07-13 13:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":130558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480101,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:51:29] local.INFO: GPS data processed {"connection_id":130558,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:51:29] local.INFO: Acknowledgment sent {"connection_id":130558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:51:34] local.INFO: TCP Data received {"connection_id":131374,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:51:34] local.INFO: Processing buffer {"connection_id":131374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:51:34] local.INFO: IMEI packet received {"connection_id":131374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":131374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:51:39] local.INFO: TCP Data received {"connection_id":131374,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:51:39] local.INFO: Processing buffer {"connection_id":131374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:51:39] local.INFO: IMEI packet received {"connection_id":131374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":131374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:51:40] local.INFO: TCP Data received {"connection_id":131374,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:51:40] local.INFO: Processing buffer {"connection_id":131374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:51:40] local.INFO: Packet analysis {"connection_id":131374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a8e"} 
[2026-07-13 13:51:40] local.INFO: Extracted packet for processing {"connection_id":131374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a8e"} 
[2026-07-13 13:51:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686178560001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783930686000,"timestamp_ms":1783930686000,"timestamp_seconds":1783930686,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8e0a30"} 
[2026-07-13 13:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:51: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-07-13 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686178560001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686178560001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:51:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:51:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686178560001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":131374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:51:40] local.INFO: GPS data processed {"connection_id":131374,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:51:40] local.INFO: Acknowledgment sent {"connection_id":131374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:52:00] local.INFO: TCP Data received {"connection_id":130558,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a903cb0012d0c3b40070644380016000917..."} 
[2026-07-13 13:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a903cb0012d0c3b40070644380016000917..."} 
[2026-07-13 13:52:00] local.INFO: Processing buffer {"connection_id":130558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a903cb0012d0c3b40070644380016000917..."} 
[2026-07-13 13:52:00] local.INFO: Packet analysis {"connection_id":130558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a90"} 
[2026-07-13 13:52:00] local.INFO: Extracted packet for processing {"connection_id":130558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a90"} 
[2026-07-13 13:52:00] local.INFO: GPS Element Parsed {"raw_longitude":755776320,"raw_latitude":117851192,"longitude_deg":75.577632,"latitude_deg":11.7851192,"altitude":22,"angle":9,"satellites":23,"speed":12,"hex_longitude":"2d0c3b40","hex_latitude":"07064438","is_valid_coordinates":true} 
[2026-07-13 13:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686290432001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24290097348214784,"note":"Value kept but may cause issues"} 
[2026-07-13 13:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881227813505949696,"note":"Value kept but may cause issues"} 
[2026-07-13 13:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783930830000,"timestamp_ms":1783930830000,"timestamp_seconds":1783930830,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a903cb0"} 
[2026-07-13 13:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-13 13:52: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-07-13 13:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":130558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":130558,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":130558,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:52:00] 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-07-13 13:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686290432001,"66":14396,"164":206,"94":10240,"24":12,"16":24290097348214784,"45":881227813505949696},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-13 13:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686290432001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:52:00] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-13 13:52:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24290097348214784,"km_value":24290097348214.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":881227813505949696,"description":"Unknown IO ID 45"} 
[2026-07-13 13:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686290432001,"power":14396,"unknown_164":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":881227813505949696}} 
[2026-07-13 13:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":130558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480103,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:52:00] local.INFO: GPS data processed {"connection_id":130558,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:52:00] local.INFO: Acknowledgment sent {"connection_id":130558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:52:11] local.INFO: TCP Data received {"connection_id":131374,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:52:11] local.INFO: Processing buffer {"connection_id":131374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:52:11] local.INFO: Packet analysis {"connection_id":131374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a8e"} 
[2026-07-13 13:52:11] local.INFO: Extracted packet for processing {"connection_id":131374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a8e"} 
[2026-07-13 13:52:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686178560001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783930686000,"timestamp_ms":1783930686000,"timestamp_seconds":1783930686,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8e0a30"} 
[2026-07-13 13:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686178560001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686178560001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:52:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:52:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686178560001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":131374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:52:11] local.INFO: GPS data processed {"connection_id":131374,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:52:11] local.INFO: Acknowledgment sent {"connection_id":131374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:52:22] local.INFO: TCP Data received {"connection_id":130334,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130334,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:52:22] local.INFO: Processing buffer {"connection_id":130334,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:52:22] local.INFO: IMEI packet received {"connection_id":130334,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 13:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":130334,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:52:22] local.INFO: TCP Data received {"connection_id":130334,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130334,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:52:22] local.INFO: Processing buffer {"connection_id":130334,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:52:22] local.INFO: IMEI packet received {"connection_id":130334,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":130334,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:52:28] local.INFO: TCP Data received {"connection_id":130334,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130334,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:52:28] local.INFO: Processing buffer {"connection_id":130334,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:52:28] local.INFO: IMEI packet received {"connection_id":130334,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":130334,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:52:28] local.INFO: TCP Data received {"connection_id":130334,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a908eb8012d0c3e80070653080014000d16..."} 
[2026-07-13 13:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a908eb8012d0c3e80070653080014000d16..."} 
[2026-07-13 13:52:28] local.INFO: Processing buffer {"connection_id":130334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a908eb8012d0c3e80070653080014000d16..."} 
[2026-07-13 13:52:28] local.INFO: Packet analysis {"connection_id":130334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a90"} 
[2026-07-13 13:52:28] local.INFO: Extracted packet for processing {"connection_id":130334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a90"} 
[2026-07-13 13:52:28] local.INFO: GPS Element Parsed {"raw_longitude":755777152,"raw_latitude":117854984,"longitude_deg":75.5777152,"latitude_deg":11.7854984,"altitude":20,"angle":13,"satellites":22,"speed":0,"hex_longitude":"2d0c3e80","hex_latitude":"07065308","is_valid_coordinates":true} 
[2026-07-13 13:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686292480001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24290286326775808,"note":"Value kept but may cause issues"} 
[2026-07-13 13:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881368550995146752,"note":"Value kept but may cause issues"} 
[2026-07-13 13:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783930851000,"timestamp_ms":1783930851000,"timestamp_seconds":1783930851,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a908eb8"} 
[2026-07-13 13:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-13 13:52: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-07-13 13:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":130334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":130334,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":130334,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:52:28] 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-07-13 13:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686292480001,"66":14407,"164":206,"94":10240,"24":0,"16":24290286326775808,"45":881368550995146752},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-07-13 13:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686292480001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:52:28] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-13 13:52:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24290286326775808,"km_value":24290286326775.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":881368550995146752,"description":"Unknown IO ID 45"} 
[2026-07-13 13:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686292480001,"power":14407,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":881368550995146752}} 
[2026-07-13 13:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":130334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480105,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:52:29] local.INFO: GPS data processed {"connection_id":130334,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:52:29] local.INFO: Acknowledgment sent {"connection_id":130334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:52:40] local.INFO: TCP Data received {"connection_id":132689,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:52:40] local.INFO: Processing buffer {"connection_id":132689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:52:40] local.INFO: IMEI packet received {"connection_id":132689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":132689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:52:45] local.INFO: TCP Data received {"connection_id":132689,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:52:45] local.INFO: Processing buffer {"connection_id":132689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:52:45] local.INFO: IMEI packet received {"connection_id":132689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":132689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:52:45] local.INFO: TCP Data received {"connection_id":132689,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:52:45] local.INFO: Processing buffer {"connection_id":132689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:52:45] local.INFO: Packet analysis {"connection_id":132689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a8e"} 
[2026-07-13 13:52:45] local.INFO: Extracted packet for processing {"connection_id":132689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a8e"} 
[2026-07-13 13:52:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13: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-07-13 13:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686178560001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783930686000,"timestamp_ms":1783930686000,"timestamp_seconds":1783930686,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8e0a30"} 
[2026-07-13 13:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13: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-07-13 13:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686178560001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686178560001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:52:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:52:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686178560001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":132689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:52:45] local.INFO: GPS data processed {"connection_id":132689,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:52:45] local.INFO: Acknowledgment sent {"connection_id":132689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:52:50] local.INFO: TCP Data received {"connection_id":132689,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:52:50] local.INFO: Processing buffer {"connection_id":132689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:52:50] local.INFO: Packet analysis {"connection_id":132689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a8e"} 
[2026-07-13 13:52:50] local.INFO: Extracted packet for processing {"connection_id":132689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a8e"} 
[2026-07-13 13:52:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 13:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686178560001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783930686000,"timestamp_ms":1783930686000,"timestamp_seconds":1783930686,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8e0a30"} 
[2026-07-13 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-07-13 13:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:52: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-07-13 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-07-13 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-07-13 13:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":132689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":132689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":132689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:52: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-07-13 13:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686178560001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686178560001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:52:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:52:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686178560001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":132689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:52:50] local.INFO: GPS data processed {"connection_id":132689,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:52:50] local.INFO: Acknowledgment sent {"connection_id":132689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:53:01] local.INFO: TCP Data received {"connection_id":130334,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a9205b8012d0c6600070625900016008817..."} 
[2026-07-13 13:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a9205b8012d0c6600070625900016008817..."} 
[2026-07-13 13:53:01] local.INFO: Processing buffer {"connection_id":130334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a9205b8012d0c6600070625900016008817..."} 
[2026-07-13 13:53:01] local.INFO: Packet analysis {"connection_id":130334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a92"} 
[2026-07-13 13:53:01] local.INFO: Extracted packet for processing {"connection_id":130334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a92"} 
[2026-07-13 13:53:01] local.INFO: GPS Element Parsed {"raw_longitude":755787264,"raw_latitude":117843344,"longitude_deg":75.5787264,"latitude_deg":11.7843344,"altitude":22,"angle":136,"satellites":23,"speed":17,"hex_longitude":"2d0c6600","hex_latitude":"07062590","is_valid_coordinates":true} 
[2026-07-13 13:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686320640001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24291171090038784,"note":"Value kept but may cause issues"} 
[2026-07-13 13:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891220175178713088,"note":"Value kept but may cause issues"} 
[2026-07-13 13:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783930947000,"timestamp_ms":1783930947000,"timestamp_seconds":1783930947,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a9205b8"} 
[2026-07-13 13:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-13 13:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":130334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":130334,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":130334,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:53:01] 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-07-13 13:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686320640001,"66":14461,"220":206,"94":10240,"24":17,"16":24291171090038784,"45":891220175178713088},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-13 13:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686320640001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:53:01] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-13 13:53:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24291171090038784,"km_value":24291171090038.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":891220175178713088,"description":"Unknown IO ID 45"} 
[2026-07-13 13:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686320640001,"power":14461,"unknown_220":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":891220175178713088}} 
[2026-07-13 13:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":130334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480108,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:53:01] local.INFO: GPS data processed {"connection_id":130334,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:53:01] local.INFO: Acknowledgment sent {"connection_id":130334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:53:15] local.INFO: TCP Data received {"connection_id":132690,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:53:15] local.INFO: Processing buffer {"connection_id":132690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:53:15] local.INFO: IMEI packet received {"connection_id":132690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 13:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":132690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:53:23] local.INFO: TCP Data received {"connection_id":131375,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131375,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:53:23] local.INFO: Processing buffer {"connection_id":131375,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:53:23] local.INFO: IMEI packet received {"connection_id":131375,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 13:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":131375,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:53:28] local.INFO: TCP Data received {"connection_id":131375,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131375,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:53:28] local.INFO: Processing buffer {"connection_id":131375,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:53:28] local.INFO: IMEI packet received {"connection_id":131375,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":131375,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:53:29] local.INFO: TCP Data received {"connection_id":131375,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a9253d8012d0c7fc007060bf00018008517..."} 
[2026-07-13 13:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a9253d8012d0c7fc007060bf00018008517..."} 
[2026-07-13 13:53:29] local.INFO: Processing buffer {"connection_id":131375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a9253d8012d0c7fc007060bf00018008517..."} 
[2026-07-13 13:53:29] local.INFO: Packet analysis {"connection_id":131375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a92"} 
[2026-07-13 13:53:29] local.INFO: Extracted packet for processing {"connection_id":131375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a92"} 
[2026-07-13 13:53:29] local.INFO: GPS Element Parsed {"raw_longitude":755793856,"raw_latitude":117836784,"longitude_deg":75.5793856,"latitude_deg":11.7836784,"altitude":24,"angle":133,"satellites":23,"speed":12,"hex_longitude":"2d0c7fc0","hex_latitude":"07060bf0","is_valid_coordinates":true} 
[2026-07-13 13: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-07-13 13:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686322432001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24291613471670272,"note":"Value kept but may cause issues"} 
[2026-07-13 13:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893401606247518208,"note":"Value kept but may cause issues"} 
[2026-07-13 13:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783930967000,"timestamp_ms":1783930967000,"timestamp_seconds":1783930967,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a9253d8"} 
[2026-07-13 13:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-13 13:53:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13: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-07-13 13:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":131375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":131375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":131375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:53:29] 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-07-13 13:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686322432001,"66":14537,"220":206,"94":10240,"24":12,"16":24291613471670272,"45":893401606247518208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-13 13:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686322432001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:53:29] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-13 13:53:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24291613471670272,"km_value":24291613471670.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":893401606247518208,"description":"Unknown IO ID 45"} 
[2026-07-13 13:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686322432001,"power":14537,"unknown_220":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":893401606247518208}} 
[2026-07-13 13:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":131375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480109,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:53:29] local.INFO: GPS data processed {"connection_id":131375,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:53:29] local.INFO: Acknowledgment sent {"connection_id":131375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:53:34] local.INFO: TCP Data received {"connection_id":130335,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:53:34] local.INFO: Processing buffer {"connection_id":130335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:53:34] local.INFO: IMEI packet received {"connection_id":130335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":130335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:53:40] local.INFO: TCP Data received {"connection_id":130335,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:53:40] local.INFO: Processing buffer {"connection_id":130335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:53:40] local.INFO: IMEI packet received {"connection_id":130335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":130335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:53:40] local.INFO: TCP Data received {"connection_id":131376,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131376,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:53:40] local.INFO: Processing buffer {"connection_id":131376,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:53:40] local.INFO: IMEI packet received {"connection_id":131376,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 13:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":131376,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:53:40] local.INFO: TCP Data received {"connection_id":130335,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:53:40] local.INFO: Processing buffer {"connection_id":130335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a8e0a30012d7f914005afd938000b011b24..."} 
[2026-07-13 13:53:40] local.INFO: Packet analysis {"connection_id":130335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a8e"} 
[2026-07-13 13:53:40] local.INFO: Extracted packet for processing {"connection_id":130335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a8e"} 
[2026-07-13 13:53:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686178560001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783930686000,"timestamp_ms":1783930686000,"timestamp_seconds":1783930686,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a8e0a30"} 
[2026-07-13 13:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13: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-07-13 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686178560001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686178560001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:53:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:53:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686178560001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":130335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:53:40] local.INFO: GPS data processed {"connection_id":130335,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:53:40] local.INFO: Acknowledgment sent {"connection_id":130335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:54:00] local.INFO: TCP Data received {"connection_id":131375,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a926f30012d0c8600070607280019007a17..."} 
[2026-07-13 13:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a926f30012d0c8600070607280019007a17..."} 
[2026-07-13 13:54:00] local.INFO: Processing buffer {"connection_id":131375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a926f30012d0c8600070607280019007a17..."} 
[2026-07-13 13:54:00] local.INFO: Packet analysis {"connection_id":131375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a92"} 
[2026-07-13 13:54:00] local.INFO: Extracted packet for processing {"connection_id":131375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a92"} 
[2026-07-13 13:54:00] local.INFO: GPS Element Parsed {"raw_longitude":755795456,"raw_latitude":117835560,"longitude_deg":75.5795456,"latitude_deg":11.783556,"altitude":25,"angle":122,"satellites":23,"speed":12,"hex_longitude":"2d0c8600","hex_latitude":"07060728","is_valid_coordinates":true} 
[2026-07-13 13:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686327552001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24291712255918080,"note":"Value kept but may cause issues"} 
[2026-07-13 13:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":900649586896138240,"note":"Value kept but may cause issues"} 
[2026-07-13 13:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783930974000,"timestamp_ms":1783930974000,"timestamp_seconds":1783930974,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a926f30"} 
[2026-07-13 13:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-13 13:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":131375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":131375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":131375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:54:00] 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-07-13 13:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686327552001,"66":14396,"220":206,"94":10240,"24":12,"16":24291712255918080,"45":900649586896138240},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-07-13 13:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686327552001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:54:00] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-13 13:54:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24291712255918080,"km_value":24291712255918.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":900649586896138240,"description":"Unknown IO ID 45"} 
[2026-07-13 13:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686327552001,"power":14396,"unknown_220":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":900649586896138240}} 
[2026-07-13 13:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":131375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480111,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:54:00] local.INFO: GPS data processed {"connection_id":131375,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:54:00] local.INFO: Acknowledgment sent {"connection_id":131375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:54:11] local.INFO: TCP Data received {"connection_id":130335,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a92a1f8012d7f914005afd938000a011b27..."} 
[2026-07-13 13:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a92a1f8012d7f914005afd938000a011b27..."} 
[2026-07-13 13:54:11] local.INFO: Processing buffer {"connection_id":130335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a92a1f8012d7f914005afd938000a011b27..."} 
[2026-07-13 13:54:11] local.INFO: Packet analysis {"connection_id":130335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a92"} 
[2026-07-13 13:54:11] local.INFO: Extracted packet for processing {"connection_id":130335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a92"} 
[2026-07-13 13:54:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686255616001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783930987000,"timestamp_ms":1783930987000,"timestamp_seconds":1783930987,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a92a1f8"} 
[2026-07-13 13:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686255616001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686255616001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:54:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:54:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686255616001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":130335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:54:11] local.INFO: GPS data processed {"connection_id":130335,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:54:11] local.INFO: Acknowledgment sent {"connection_id":130335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:54:21] local.INFO: TCP Data received {"connection_id":132691,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132691,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:54:21] local.INFO: Processing buffer {"connection_id":132691,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:54:21] local.INFO: IMEI packet received {"connection_id":132691,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 13:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":132691,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:54:22] local.INFO: TCP Data received {"connection_id":132691,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132691,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:54:22] local.INFO: Processing buffer {"connection_id":132691,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:54:22] local.INFO: IMEI packet received {"connection_id":132691,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":132691,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:54:22] local.INFO: TCP Data received {"connection_id":132691,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132691,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:54:22] local.INFO: Processing buffer {"connection_id":132691,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:54:22] local.INFO: IMEI packet received {"connection_id":132691,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":132691,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:54:23] local.INFO: TCP Data received {"connection_id":132691,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132691,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:54:23] local.INFO: Processing buffer {"connection_id":132691,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:54:23] local.INFO: IMEI packet received {"connection_id":132691,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 13:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":132691,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:54:35] local.INFO: TCP Data received {"connection_id":131377,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:54:35] local.INFO: Processing buffer {"connection_id":131377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:54:35] local.INFO: IMEI packet received {"connection_id":131377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":131377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:54:40] local.INFO: TCP Data received {"connection_id":131377,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:54:40] local.INFO: Processing buffer {"connection_id":131377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:54:40] local.INFO: IMEI packet received {"connection_id":131377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":131377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:54:40] local.INFO: TCP Data received {"connection_id":131377,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a92a1f8012d7f914005afd938000a011b27..."} 
[2026-07-13 13:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a92a1f8012d7f914005afd938000a011b27..."} 
[2026-07-13 13:54:40] local.INFO: Processing buffer {"connection_id":131377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a92a1f8012d7f914005afd938000a011b27..."} 
[2026-07-13 13:54:40] local.INFO: Packet analysis {"connection_id":131377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a92"} 
[2026-07-13 13:54:40] local.INFO: Extracted packet for processing {"connection_id":131377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a92"} 
[2026-07-13 13:54:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686255616001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783930987000,"timestamp_ms":1783930987000,"timestamp_seconds":1783930987,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a92a1f8"} 
[2026-07-13 13:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686255616001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686255616001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:54:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:54:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686255616001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":131377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:54:40] local.INFO: GPS data processed {"connection_id":131377,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:54:40] local.INFO: Acknowledgment sent {"connection_id":131377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:55:11] local.INFO: TCP Data received {"connection_id":131377,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a92a1f8012d7f914005afd938000a011b27..."} 
[2026-07-13 13:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a92a1f8012d7f914005afd938000a011b27..."} 
[2026-07-13 13:55:11] local.INFO: Processing buffer {"connection_id":131377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a92a1f8012d7f914005afd938000a011b27..."} 
[2026-07-13 13:55:11] local.INFO: Packet analysis {"connection_id":131377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a92"} 
[2026-07-13 13:55:11] local.INFO: Extracted packet for processing {"connection_id":131377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a92"} 
[2026-07-13 13:55:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686255616001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783930987000,"timestamp_ms":1783930987000,"timestamp_seconds":1783930987,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a92a1f8"} 
[2026-07-13 13:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686255616001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686255616001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:55:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:55:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686255616001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":131377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:55:11] local.INFO: GPS data processed {"connection_id":131377,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:55:11] local.INFO: Acknowledgment sent {"connection_id":131377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:55:34] local.INFO: TCP Data received {"connection_id":131379,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:55:34] local.INFO: Processing buffer {"connection_id":131379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:55:34] local.INFO: IMEI packet received {"connection_id":131379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":131379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:55:40] local.INFO: TCP Data received {"connection_id":131379,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:55:40] local.INFO: Processing buffer {"connection_id":131379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:55:40] local.INFO: IMEI packet received {"connection_id":131379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":131379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:55:40] local.INFO: TCP Data received {"connection_id":131379,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a92a1f8012d7f914005afd938000a011b27..."} 
[2026-07-13 13:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a92a1f8012d7f914005afd938000a011b27..."} 
[2026-07-13 13:55:40] local.INFO: Processing buffer {"connection_id":131379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a92a1f8012d7f914005afd938000a011b27..."} 
[2026-07-13 13:55:40] local.INFO: Packet analysis {"connection_id":131379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a92"} 
[2026-07-13 13:55:40] local.INFO: Extracted packet for processing {"connection_id":131379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a92"} 
[2026-07-13 13:55:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686255616001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783930987000,"timestamp_ms":1783930987000,"timestamp_seconds":1783930987,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a92a1f8"} 
[2026-07-13 13:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686255616001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686255616001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:55:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:55:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686255616001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":131379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:55:40] local.INFO: GPS data processed {"connection_id":131379,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:55:40] local.INFO: Acknowledgment sent {"connection_id":131379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:56:12] local.INFO: TCP Data received {"connection_id":131379,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a92a1f8012d7f914005afd938000a011b27..."} 
[2026-07-13 13:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a92a1f8012d7f914005afd938000a011b27..."} 
[2026-07-13 13:56:12] local.INFO: Processing buffer {"connection_id":131379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a92a1f8012d7f914005afd938000a011b27..."} 
[2026-07-13 13:56:12] local.INFO: Packet analysis {"connection_id":131379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a92"} 
[2026-07-13 13:56:12] local.INFO: Extracted packet for processing {"connection_id":131379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a92"} 
[2026-07-13 13:56:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686255616001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783930987000,"timestamp_ms":1783930987000,"timestamp_seconds":1783930987,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a92a1f8"} 
[2026-07-13 13:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686255616001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686255616001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:56:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:56:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686255616001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":131379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:56:12] local.INFO: GPS data processed {"connection_id":131379,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:56:12] local.INFO: Acknowledgment sent {"connection_id":131379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:56:34] local.INFO: TCP Data received {"connection_id":130336,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:56:34] local.INFO: Processing buffer {"connection_id":130336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:56:34] local.INFO: IMEI packet received {"connection_id":130336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":130336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:56:40] local.INFO: TCP Data received {"connection_id":130336,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:56:40] local.INFO: Processing buffer {"connection_id":130336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:56:40] local.INFO: IMEI packet received {"connection_id":130336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":130336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:56:41] local.INFO: TCP Data received {"connection_id":130336,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a92a1f8012d7f914005afd938000a011b27..."} 
[2026-07-13 13:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a92a1f8012d7f914005afd938000a011b27..."} 
[2026-07-13 13:56:41] local.INFO: Processing buffer {"connection_id":130336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a92a1f8012d7f914005afd938000a011b27..."} 
[2026-07-13 13:56:41] local.INFO: Packet analysis {"connection_id":130336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a92"} 
[2026-07-13 13:56:41] local.INFO: Extracted packet for processing {"connection_id":130336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a92"} 
[2026-07-13 13:56:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686255616001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783930987000,"timestamp_ms":1783930987000,"timestamp_seconds":1783930987,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a92a1f8"} 
[2026-07-13 13:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686255616001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686255616001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:56:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686255616001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":130336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:56:41] local.INFO: GPS data processed {"connection_id":130336,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:56:41] local.INFO: Acknowledgment sent {"connection_id":130336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:57:12] local.INFO: TCP Data received {"connection_id":130336,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a92a1f8012d7f914005afd938000a011b27..."} 
[2026-07-13 13:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a92a1f8012d7f914005afd938000a011b27..."} 
[2026-07-13 13:57:12] local.INFO: Processing buffer {"connection_id":130336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a92a1f8012d7f914005afd938000a011b27..."} 
[2026-07-13 13:57:12] local.INFO: Packet analysis {"connection_id":130336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a92"} 
[2026-07-13 13:57:12] local.INFO: Extracted packet for processing {"connection_id":130336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a92"} 
[2026-07-13 13:57:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686255616001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783930987000,"timestamp_ms":1783930987000,"timestamp_seconds":1783930987,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a92a1f8"} 
[2026-07-13 13:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686255616001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686255616001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:57:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:57:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686255616001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":130336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:57:12] local.INFO: GPS data processed {"connection_id":130336,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:57:12] local.INFO: Acknowledgment sent {"connection_id":130336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:57:40] local.INFO: TCP Data received {"connection_id":130338,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:57:40] local.INFO: Processing buffer {"connection_id":130338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:57:40] local.INFO: IMEI packet received {"connection_id":130338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":130338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:57:45] local.INFO: TCP Data received {"connection_id":130338,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:57:45] local.INFO: Processing buffer {"connection_id":130338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:57:45] local.INFO: IMEI packet received {"connection_id":130338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":130338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:57:45] local.INFO: TCP Data received {"connection_id":130338,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a92a1f8012d7f914005afd938000a011b27..."} 
[2026-07-13 13:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a92a1f8012d7f914005afd938000a011b27..."} 
[2026-07-13 13:57:45] local.INFO: Processing buffer {"connection_id":130338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a92a1f8012d7f914005afd938000a011b27..."} 
[2026-07-13 13:57:45] local.INFO: Packet analysis {"connection_id":130338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a92"} 
[2026-07-13 13:57:45] local.INFO: Extracted packet for processing {"connection_id":130338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a92"} 
[2026-07-13 13:57:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686255616001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783930987000,"timestamp_ms":1783930987000,"timestamp_seconds":1783930987,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a92a1f8"} 
[2026-07-13 13:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686255616001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686255616001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:57:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:57:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686255616001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":130338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:57:45] local.INFO: GPS data processed {"connection_id":130338,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:57:45] local.INFO: Acknowledgment sent {"connection_id":130338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:57:50] local.INFO: TCP Data received {"connection_id":130338,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a92a1f8012d7f914005afd938000a011b27..."} 
[2026-07-13 13:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a92a1f8012d7f914005afd938000a011b27..."} 
[2026-07-13 13:57:50] local.INFO: Processing buffer {"connection_id":130338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a92a1f8012d7f914005afd938000a011b27..."} 
[2026-07-13 13:57:50] local.INFO: Packet analysis {"connection_id":130338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a92"} 
[2026-07-13 13:57:50] local.INFO: Extracted packet for processing {"connection_id":130338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a92"} 
[2026-07-13 13:57:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686255616001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783930987000,"timestamp_ms":1783930987000,"timestamp_seconds":1783930987,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a92a1f8"} 
[2026-07-13 13:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:57: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-07-13 13:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:57: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-07-13 13:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686255616001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686255616001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:57:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:57:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686255616001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":130338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:57:50] local.INFO: GPS data processed {"connection_id":130338,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:57:50] local.INFO: Acknowledgment sent {"connection_id":130338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:58:35] local.INFO: TCP Data received {"connection_id":132695,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:58:35] local.INFO: Processing buffer {"connection_id":132695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:58:35] local.INFO: IMEI packet received {"connection_id":132695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":132695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:58:39] local.INFO: TCP Data received {"connection_id":132695,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:58:39] local.INFO: Processing buffer {"connection_id":132695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:58:39] local.INFO: IMEI packet received {"connection_id":132695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":132695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:58:40] local.INFO: TCP Data received {"connection_id":132695,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a92a1f8012d7f914005afd938000a011b27..."} 
[2026-07-13 13:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a92a1f8012d7f914005afd938000a011b27..."} 
[2026-07-13 13:58:40] local.INFO: Processing buffer {"connection_id":132695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a92a1f8012d7f914005afd938000a011b27..."} 
[2026-07-13 13:58:40] local.INFO: Packet analysis {"connection_id":132695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a92"} 
[2026-07-13 13:58:40] local.INFO: Extracted packet for processing {"connection_id":132695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a92"} 
[2026-07-13 13:58:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686255616001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783930987000,"timestamp_ms":1783930987000,"timestamp_seconds":1783930987,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a92a1f8"} 
[2026-07-13 13:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686255616001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686255616001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:58:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:58:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686255616001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":132695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:58:40] local.INFO: GPS data processed {"connection_id":132695,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:58:40] local.INFO: Acknowledgment sent {"connection_id":132695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:59:10] local.INFO: TCP Data received {"connection_id":130562,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130562,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:59:10] local.INFO: Processing buffer {"connection_id":130562,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:59:10] local.INFO: IMEI packet received {"connection_id":130562,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 13:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":130562,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:59:11] local.INFO: TCP Data received {"connection_id":132695,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a9739c0012d7f914005afd938000b011b27..."} 
[2026-07-13 13:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a9739c0012d7f914005afd938000b011b27..."} 
[2026-07-13 13:59:11] local.INFO: Processing buffer {"connection_id":132695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a9739c0012d7f914005afd938000b011b27..."} 
[2026-07-13 13:59:11] local.INFO: Packet analysis {"connection_id":132695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a97"} 
[2026-07-13 13:59:11] local.INFO: Extracted packet for processing {"connection_id":132695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a97"} 
[2026-07-13 13:59:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686332672001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783931288000,"timestamp_ms":1783931288000,"timestamp_seconds":1783931288,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a9739c0"} 
[2026-07-13 13:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686332672001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686332672001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:59:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:59:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686332672001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":132695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:59:11] local.INFO: GPS data processed {"connection_id":132695,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:59:11] local.INFO: Acknowledgment sent {"connection_id":132695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:59:28] local.INFO: TCP Data received {"connection_id":130339,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130339,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:59:28] local.INFO: Processing buffer {"connection_id":130339,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 13:59:28] local.INFO: IMEI packet received {"connection_id":130339,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 13:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":130339,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:59:29] local.INFO: TCP Data received {"connection_id":130339,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a97a720012d0dd2000706fcd00026004219..."} 
[2026-07-13 13:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a97a720012d0dd2000706fcd00026004219..."} 
[2026-07-13 13:59:29] local.INFO: Processing buffer {"connection_id":130339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a97a720012d0dd2000706fcd00026004219..."} 
[2026-07-13 13:59:29] local.INFO: Packet analysis {"connection_id":130339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a97"} 
[2026-07-13 13:59:29] local.INFO: Extracted packet for processing {"connection_id":130339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a97"} 
[2026-07-13 13:59:29] local.INFO: GPS Element Parsed {"raw_longitude":755880448,"raw_latitude":117898448,"longitude_deg":75.5880448,"latitude_deg":11.7898448,"altitude":38,"angle":66,"satellites":25,"speed":17,"hex_longitude":"2d0dd200","hex_latitude":"0706fcd0","is_valid_coordinates":true} 
[2026-07-13 13: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-07-13 13:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686416640001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24300233471033344,"note":"Value kept but may cause issues"} 
[2026-07-13 13:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995436285319182336,"note":"Value kept but may cause issues"} 
[2026-07-13 13:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783931316000,"timestamp_ms":1783931316000,"timestamp_seconds":1783931316,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a97a720"} 
[2026-07-13 13:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 13: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 13:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13: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-07-13 13:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130339,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130339,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 13:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 13:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 13:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686416640001,"66":13798,"219":206,"94":10240,"24":17,"16":24300233471033344,"45":995436285319182336},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-13 13:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 13:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 13:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686416640001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:59:29] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-13 13:59:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 13:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24300233471033344,"km_value":24300233471033.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":995436285319182336,"description":"Unknown IO ID 45"} 
[2026-07-13 13:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686416640001,"power":13798,"unknown_219":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":995436285319182336}} 
[2026-07-13 13:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":130339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480123,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:59:29] local.INFO: GPS data processed {"connection_id":130339,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:59:29] local.INFO: Acknowledgment sent {"connection_id":130339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:59:34] local.INFO: TCP Data received {"connection_id":131380,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:59:34] local.INFO: Processing buffer {"connection_id":131380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:59:34] local.INFO: IMEI packet received {"connection_id":131380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 13:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":131380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:59:40] local.INFO: TCP Data received {"connection_id":131380,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:59:40] local.INFO: Processing buffer {"connection_id":131380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 13:59:40] local.INFO: IMEI packet received {"connection_id":131380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 13:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":131380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:59:40] local.INFO: TCP Data received {"connection_id":132696,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132696,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:59:40] local.INFO: Processing buffer {"connection_id":132696,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:59:40] local.INFO: IMEI packet received {"connection_id":132696,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 13:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":132696,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 13:59:40] local.INFO: TCP Data received {"connection_id":131380,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a9739c0012d7f914005afd938000b011b27..."} 
[2026-07-13 13:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a9739c0012d7f914005afd938000b011b27..."} 
[2026-07-13 13:59:40] local.INFO: Processing buffer {"connection_id":131380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a9739c0012d7f914005afd938000b011b27..."} 
[2026-07-13 13:59:40] local.INFO: Packet analysis {"connection_id":131380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a97"} 
[2026-07-13 13:59:40] local.INFO: Extracted packet for processing {"connection_id":131380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a97"} 
[2026-07-13 13:59:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 13:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686332672001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 13:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 13:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783931288000,"timestamp_ms":1783931288000,"timestamp_seconds":1783931288,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a9739c0"} 
[2026-07-13 13:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:59: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-07-13 13:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 13:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 13:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 13:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 13:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686332672001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 13:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 13:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 13:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686332672001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:59:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 13:59:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 13:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 13:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686332672001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 13:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":131380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:59:40] local.INFO: GPS data processed {"connection_id":131380,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:59:40] local.INFO: Acknowledgment sent {"connection_id":131380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 13:59:45] local.INFO: TCP Data received {"connection_id":132696,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132696,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:59:45] local.INFO: Processing buffer {"connection_id":132696,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 13:59:45] local.INFO: IMEI packet received {"connection_id":132696,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 13:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":132696,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 13:59:46] local.INFO: TCP Data received {"connection_id":132696,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a7f1de0012cb29ac007823bf8004700e028..."} 
[2026-07-13 13:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a7f1de0012cb29ac007823bf8004700e028..."} 
[2026-07-13 13:59:46] local.INFO: Processing buffer {"connection_id":132696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a7f1de0012cb29ac007823bf8004700e028..."} 
[2026-07-13 13:59:46] local.INFO: Packet analysis {"connection_id":132696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a7f"} 
[2026-07-13 13:59:46] local.INFO: Extracted packet for processing {"connection_id":132696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a7f"} 
[2026-07-13 13:59:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 13:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 13:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456685928192001,"note":"Value kept but may cause issues"} 
[2026-07-13 13:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 13:59:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 13:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 13:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783929708000,"timestamp_ms":1783929708000,"timestamp_seconds":1783929708,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a7f1de0"} 
[2026-07-13 13:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 13:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 13:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-13 13:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 13:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 13:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 13:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 13:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 13:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132696,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 13:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132696,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 13:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 13:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 13:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 13:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456685928192001,"66":25147,"221":206,"85":36864,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-13 13:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 13:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 13:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456685928192001,"description":"Unknown IO ID 0"} 
[2026-07-13 13:59:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-13 13:59:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-13 13:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 13:59:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 13:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456685928192001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 13:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":132696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480125,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 13:59:46] local.INFO: GPS data processed {"connection_id":132696,"processed":1,"errors":0,"total":1} 
[2026-07-13 13:59:46] local.INFO: Acknowledgment sent {"connection_id":132696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:00:00] local.INFO: TCP Data received {"connection_id":130339,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a98b890012d0e3dc00706ef900028009f19..."} 
[2026-07-13 14:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a98b890012d0e3dc00706ef900028009f19..."} 
[2026-07-13 14:00:00] local.INFO: Processing buffer {"connection_id":130339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a98b890012d0e3dc00706ef900028009f19..."} 
[2026-07-13 14:00:00] local.INFO: Packet analysis {"connection_id":130339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a98"} 
[2026-07-13 14:00:00] local.INFO: Extracted packet for processing {"connection_id":130339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a98"} 
[2026-07-13 14:00:00] local.INFO: GPS Element Parsed {"raw_longitude":755908032,"raw_latitude":117895056,"longitude_deg":75.5908032,"latitude_deg":11.7895056,"altitude":40,"angle":159,"satellites":25,"speed":11,"hex_longitude":"2d0e3dc0","hex_latitude":"0706ef90","is_valid_coordinates":true} 
[2026-07-13 14:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686434304001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24301818313965568,"note":"Value kept but may cause issues"} 
[2026-07-13 14:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026046689035835392,"note":"Value kept but may cause issues"} 
[2026-07-13 14:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783931386000,"timestamp_ms":1783931386000,"timestamp_seconds":1783931386,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a98b890"} 
[2026-07-13 14:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:00: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-07-13 14:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-13 14:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":130339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":130339,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":130339,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 14:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 14:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686434304001,"66":13722,"219":206,"94":10240,"24":11,"16":24301818313965568,"45":1026046689035835392},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-13 14:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 14:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 14:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686434304001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:00:00] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-13 14:00:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 14:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24301818313965568,"km_value":24301818313965.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026046689035835392,"description":"Unknown IO ID 45"} 
[2026-07-13 14:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686434304001,"power":13722,"unknown_219":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":1026046689035835392}} 
[2026-07-13 14:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":130339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480126,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:00:00] local.INFO: GPS data processed {"connection_id":130339,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:00:00] local.INFO: Acknowledgment sent {"connection_id":130339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:00:11] local.INFO: TCP Data received {"connection_id":131380,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a9739c0012d7f914005afd938000b011b27..."} 
[2026-07-13 14:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a9739c0012d7f914005afd938000b011b27..."} 
[2026-07-13 14:00:11] local.INFO: Processing buffer {"connection_id":131380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a9739c0012d7f914005afd938000b011b27..."} 
[2026-07-13 14:00:11] local.INFO: Packet analysis {"connection_id":131380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a97"} 
[2026-07-13 14:00:11] local.INFO: Extracted packet for processing {"connection_id":131380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a97"} 
[2026-07-13 14:00:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686332672001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783931288000,"timestamp_ms":1783931288000,"timestamp_seconds":1783931288,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a9739c0"} 
[2026-07-13 14:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686332672001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686332672001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:00:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:00:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686332672001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":131380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:00:11] local.INFO: GPS data processed {"connection_id":131380,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:00:11] local.INFO: Acknowledgment sent {"connection_id":131380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:00:23] local.INFO: TCP Data received {"connection_id":132697,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132697,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:00:23] local.INFO: Processing buffer {"connection_id":132697,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:00:23] local.INFO: IMEI packet received {"connection_id":132697,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 14:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":132697,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:00:24] local.INFO: TCP Data received {"connection_id":132697,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132697,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:00:24] local.INFO: Processing buffer {"connection_id":132697,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:00:24] local.INFO: IMEI packet received {"connection_id":132697,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 14:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":132697,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:00:28] local.INFO: TCP Data received {"connection_id":132697,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132697,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:00:28] local.INFO: Processing buffer {"connection_id":132697,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:00:28] local.INFO: IMEI packet received {"connection_id":132697,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 14:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":132697,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:00:29] local.INFO: TCP Data received {"connection_id":132697,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a98c830012d0e3e000706eb70002800b119..."} 
[2026-07-13 14:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a98c830012d0e3e000706eb70002800b119..."} 
[2026-07-13 14:00:29] local.INFO: Processing buffer {"connection_id":132697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a98c830012d0e3e000706eb70002800b119..."} 
[2026-07-13 14:00:29] local.INFO: Packet analysis {"connection_id":132697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a98"} 
[2026-07-13 14:00:29] local.INFO: Extracted packet for processing {"connection_id":132697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a98"} 
[2026-07-13 14:00:29] local.INFO: GPS Element Parsed {"raw_longitude":755908096,"raw_latitude":117894000,"longitude_deg":75.5908096,"latitude_deg":11.7894,"altitude":40,"angle":177,"satellites":25,"speed":7,"hex_longitude":"2d0e3e00","hex_latitude":"0706eb70","is_valid_coordinates":true} 
[2026-07-13 14:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686434816001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24301869853573120,"note":"Value kept but may cause issues"} 
[2026-07-13 14:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026187426524008448,"note":"Value kept but may cause issues"} 
[2026-07-13 14:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783931390000,"timestamp_ms":1783931390000,"timestamp_seconds":1783931390,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a98c830"} 
[2026-07-13 14:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-07-13 14:00:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:00:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132697,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132697,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 14:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 14:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686434816001,"66":14515,"219":206,"94":10240,"24":7,"16":24301869853573120,"45":1026187426524008448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-13 14:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 14:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 14:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686434816001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:00:29] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-13 14:00:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 14:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24301869853573120,"km_value":24301869853573.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026187426524008448,"description":"Unknown IO ID 45"} 
[2026-07-13 14:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686434816001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":1026187426524008448}} 
[2026-07-13 14:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":132697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480128,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:00:29] local.INFO: GPS data processed {"connection_id":132697,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:00:29] local.INFO: Acknowledgment sent {"connection_id":132697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:00:31] local.INFO: TCP Data received {"connection_id":130340,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130340,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:00:31] local.INFO: Processing buffer {"connection_id":130340,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:00:31] local.INFO: IMEI packet received {"connection_id":130340,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 14:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":130340,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:00:34] local.INFO: TCP Data received {"connection_id":132698,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:00:34] local.INFO: Processing buffer {"connection_id":132698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:00:34] local.INFO: IMEI packet received {"connection_id":132698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":132698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:00:40] local.INFO: TCP Data received {"connection_id":132698,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:00:40] local.INFO: Processing buffer {"connection_id":132698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:00:40] local.INFO: IMEI packet received {"connection_id":132698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":132698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:00:40] local.INFO: TCP Data received {"connection_id":132698,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a9739c0012d7f914005afd938000b011b27..."} 
[2026-07-13 14:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a9739c0012d7f914005afd938000b011b27..."} 
[2026-07-13 14:00:40] local.INFO: Processing buffer {"connection_id":132698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a9739c0012d7f914005afd938000b011b27..."} 
[2026-07-13 14:00:40] local.INFO: Packet analysis {"connection_id":132698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a97"} 
[2026-07-13 14:00:40] local.INFO: Extracted packet for processing {"connection_id":132698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a97"} 
[2026-07-13 14:00:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686332672001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783931288000,"timestamp_ms":1783931288000,"timestamp_seconds":1783931288,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a9739c0"} 
[2026-07-13 14:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:00: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-07-13 14:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686332672001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686332672001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:00:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:00:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686332672001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":132698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:00:40] local.INFO: GPS data processed {"connection_id":132698,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:00:40] local.INFO: Acknowledgment sent {"connection_id":132698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:01:00] local.INFO: TCP Data received {"connection_id":132697,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a98cc18012d0e3e000706ea68002800bd19..."} 
[2026-07-13 14:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a98cc18012d0e3e000706ea68002800bd19..."} 
[2026-07-13 14:01:00] local.INFO: Processing buffer {"connection_id":132697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a98cc18012d0e3e000706ea68002800bd19..."} 
[2026-07-13 14:01:00] local.INFO: Packet analysis {"connection_id":132697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a98"} 
[2026-07-13 14:01:00] local.INFO: Extracted packet for processing {"connection_id":132697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a98"} 
[2026-07-13 14:01:00] local.INFO: GPS Element Parsed {"raw_longitude":755908096,"raw_latitude":117893736,"longitude_deg":75.5908096,"latitude_deg":11.7893736,"altitude":40,"angle":189,"satellites":25,"speed":8,"hex_longitude":"2d0e3e00","hex_latitude":"0706ea68","is_valid_coordinates":true} 
[2026-07-13 14:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686435840001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24301882738475008,"note":"Value kept but may cause issues"} 
[2026-07-13 14:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026257795267915776,"note":"Value kept but may cause issues"} 
[2026-07-13 14:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783931391000,"timestamp_ms":1783931391000,"timestamp_seconds":1783931391,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a98cc18"} 
[2026-07-13 14:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:01: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-07-13 14:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-13 14:01:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:01:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":132697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":132697,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":132697,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 14:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 14:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686435840001,"66":14515,"219":206,"94":10240,"24":8,"16":24301882738475008,"45":1026257795267915776},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-13 14:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 14:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 14:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686435840001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:01:00] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-13 14:01:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 14:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24301882738475008,"km_value":24301882738475.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026257795267915776,"description":"Unknown IO ID 45"} 
[2026-07-13 14:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686435840001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":1026257795267915776}} 
[2026-07-13 14:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":132697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480130,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:01:00] local.INFO: GPS data processed {"connection_id":132697,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:01:00] local.INFO: Acknowledgment sent {"connection_id":132697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:01:12] local.INFO: TCP Data received {"connection_id":132698,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a9739c0012d7f914005afd938000b011b27..."} 
[2026-07-13 14:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a9739c0012d7f914005afd938000b011b27..."} 
[2026-07-13 14:01:12] local.INFO: Processing buffer {"connection_id":132698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a9739c0012d7f914005afd938000b011b27..."} 
[2026-07-13 14:01:12] local.INFO: Packet analysis {"connection_id":132698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a97"} 
[2026-07-13 14:01:12] local.INFO: Extracted packet for processing {"connection_id":132698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a97"} 
[2026-07-13 14:01:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686332672001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783931288000,"timestamp_ms":1783931288000,"timestamp_seconds":1783931288,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a9739c0"} 
[2026-07-13 14:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686332672001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686332672001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:01:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:01:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686332672001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":132698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:01:12] local.INFO: GPS data processed {"connection_id":132698,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:01:12] local.INFO: Acknowledgment sent {"connection_id":132698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:01:23] local.INFO: TCP Data received {"connection_id":131381,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131381,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:01:23] local.INFO: Processing buffer {"connection_id":131381,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:01:23] local.INFO: IMEI packet received {"connection_id":131381,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 14:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":131381,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:01:28] local.INFO: TCP Data received {"connection_id":131381,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131381,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:01:28] local.INFO: Processing buffer {"connection_id":131381,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:01:28] local.INFO: IMEI packet received {"connection_id":131381,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 14:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":131381,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:01:28] local.INFO: TCP Data received {"connection_id":131381,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a99e170012d0e298007068158001c013019..."} 
[2026-07-13 14:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a99e170012d0e298007068158001c013019..."} 
[2026-07-13 14:01:28] local.INFO: Processing buffer {"connection_id":131381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a99e170012d0e298007068158001c013019..."} 
[2026-07-13 14:01:28] local.INFO: Packet analysis {"connection_id":131381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a99"} 
[2026-07-13 14:01:28] local.INFO: Extracted packet for processing {"connection_id":131381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a99"} 
[2026-07-13 14:01:28] local.INFO: GPS Element Parsed {"raw_longitude":755902848,"raw_latitude":117866840,"longitude_deg":75.5902848,"latitude_deg":11.786684,"altitude":28,"angle":304,"satellites":25,"speed":5,"hex_longitude":"2d0e2980","hex_latitude":"07068158","is_valid_coordinates":true} 
[2026-07-13 14:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686452224001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24303287192780800,"note":"Value kept but may cause issues"} 
[2026-07-13 14:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1021683826889435136,"note":"Value kept but may cause issues"} 
[2026-07-13 14:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783931462000,"timestamp_ms":1783931462000,"timestamp_seconds":1783931462,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a99e170"} 
[2026-07-13 14:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-13 14:01:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":131381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":131381,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":131381,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 14:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 14:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686452224001,"66":14428,"219":206,"94":10240,"24":5,"16":24303287192780800,"45":1021683826889435136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-13 14:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 14:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 14:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686452224001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:01:28] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-13 14:01:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 14:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24303287192780800,"km_value":24303287192780.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1021683826889435136,"description":"Unknown IO ID 45"} 
[2026-07-13 14:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686452224001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":1021683826889435136}} 
[2026-07-13 14:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":131381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480132,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:01:29] local.INFO: GPS data processed {"connection_id":131381,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:01:29] local.INFO: Acknowledgment sent {"connection_id":131381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:01:39] local.INFO: TCP Data received {"connection_id":132699,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:01:39] local.INFO: Processing buffer {"connection_id":132699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:01:39] local.INFO: IMEI packet received {"connection_id":132699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":132699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:01:40] local.INFO: TCP Data received {"connection_id":130563,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:01:40] local.INFO: Processing buffer {"connection_id":130563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:01:40] local.INFO: IMEI packet received {"connection_id":130563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 14:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":130563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:01:44] local.INFO: TCP Data received {"connection_id":132699,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:01:44] local.INFO: Processing buffer {"connection_id":132699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:01:44] local.INFO: IMEI packet received {"connection_id":132699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":132699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:01:46] local.INFO: TCP Data received {"connection_id":132699,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a9739c0012d7f914005afd938000b011b27..."} 
[2026-07-13 14:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a9739c0012d7f914005afd938000b011b27..."} 
[2026-07-13 14:01:46] local.INFO: Processing buffer {"connection_id":132699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a9739c0012d7f914005afd938000b011b27..."} 
[2026-07-13 14:01:46] local.INFO: Packet analysis {"connection_id":132699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a97"} 
[2026-07-13 14:01:46] local.INFO: Extracted packet for processing {"connection_id":132699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a97"} 
[2026-07-13 14:01:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686332672001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783931288000,"timestamp_ms":1783931288000,"timestamp_seconds":1783931288,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a9739c0"} 
[2026-07-13 14:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686332672001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686332672001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:01:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:01:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686332672001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":132699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:01:46] local.INFO: GPS data processed {"connection_id":132699,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:01:46] local.INFO: Acknowledgment sent {"connection_id":132699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:02:00] local.INFO: TCP Data received {"connection_id":131381,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a99e940012d0e2840070681b8001c012519..."} 
[2026-07-13 14:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a99e940012d0e2840070681b8001c012519..."} 
[2026-07-13 14:02:00] local.INFO: Processing buffer {"connection_id":131381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a99e940012d0e2840070681b8001c012519..."} 
[2026-07-13 14:02:00] local.INFO: Packet analysis {"connection_id":131381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a99"} 
[2026-07-13 14:02:00] local.INFO: Extracted packet for processing {"connection_id":131381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a99"} 
[2026-07-13 14:02:00] local.INFO: GPS Element Parsed {"raw_longitude":755902528,"raw_latitude":117866936,"longitude_deg":75.5902528,"latitude_deg":11.7866936,"altitude":28,"angle":293,"satellites":25,"speed":6,"hex_longitude":"2d0e2840","hex_latitude":"070681b8","is_valid_coordinates":true} 
[2026-07-13 14:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686454272001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24303304372649984,"note":"Value kept but may cause issues"} 
[2026-07-13 14:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020487558238394368,"note":"Value kept but may cause issues"} 
[2026-07-13 14:02:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783931464000,"timestamp_ms":1783931464000,"timestamp_seconds":1783931464,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a99e940"} 
[2026-07-13 14:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 14:02:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":131381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":131381,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":131381,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 14:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 14:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686454272001,"66":14515,"219":206,"94":10240,"24":6,"16":24303304372649984,"45":1020487558238394368},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-07-13 14:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 14:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 14:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686454272001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:02:00] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-13 14:02:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 14:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24303304372649984,"km_value":24303304372649.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1020487558238394368,"description":"Unknown IO ID 45"} 
[2026-07-13 14:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686454272001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":1020487558238394368}} 
[2026-07-13 14:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":131381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480134,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:02:00] local.INFO: GPS data processed {"connection_id":131381,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:02:00] local.INFO: Acknowledgment sent {"connection_id":131381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:02:17] local.INFO: TCP Data received {"connection_id":132699,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a9739c0012d7f914005afd938000b011b27..."} 
[2026-07-13 14:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a9739c0012d7f914005afd938000b011b27..."} 
[2026-07-13 14:02:17] local.INFO: Processing buffer {"connection_id":132699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a9739c0012d7f914005afd938000b011b27..."} 
[2026-07-13 14:02:17] local.INFO: Packet analysis {"connection_id":132699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a97"} 
[2026-07-13 14:02:17] local.INFO: Extracted packet for processing {"connection_id":132699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a97"} 
[2026-07-13 14:02:17] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14: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-07-13 14:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686332672001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783931288000,"timestamp_ms":1783931288000,"timestamp_seconds":1783931288,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a9739c0"} 
[2026-07-13 14:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14: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-07-13 14:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:02: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-07-13 14:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686332672001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686332672001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:02:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:02:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686332672001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":132699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:02:17] local.INFO: GPS data processed {"connection_id":132699,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:02:17] local.INFO: Acknowledgment sent {"connection_id":132699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:02:22] local.INFO: TCP Data received {"connection_id":130341,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130341,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:02:22] local.INFO: Processing buffer {"connection_id":130341,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:02:22] local.INFO: IMEI packet received {"connection_id":130341,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 14:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":130341,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:02:22] local.INFO: TCP Data received {"connection_id":130341,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130341,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:02:22] local.INFO: Processing buffer {"connection_id":130341,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:02:22] local.INFO: IMEI packet received {"connection_id":130341,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 14:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":130341,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:02:23] local.INFO: TCP Data received {"connection_id":130341,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130341,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:02:23] local.INFO: Processing buffer {"connection_id":130341,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:02:23] local.INFO: IMEI packet received {"connection_id":130341,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 14:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":130341,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:02:24] local.INFO: TCP Data received {"connection_id":130341,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130341,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:02:24] local.INFO: Processing buffer {"connection_id":130341,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:02:24] local.INFO: IMEI packet received {"connection_id":130341,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 14:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":130341,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:02:35] local.INFO: TCP Data received {"connection_id":131382,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:02:35] local.INFO: Processing buffer {"connection_id":131382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:02:35] local.INFO: IMEI packet received {"connection_id":131382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":131382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:02:40] local.INFO: TCP Data received {"connection_id":131382,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:02:40] local.INFO: Processing buffer {"connection_id":131382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:02:40] local.INFO: IMEI packet received {"connection_id":131382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":131382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:02:40] local.INFO: TCP Data received {"connection_id":131382,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a9739c0012d7f914005afd938000b011b27..."} 
[2026-07-13 14:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a9739c0012d7f914005afd938000b011b27..."} 
[2026-07-13 14:02:40] local.INFO: Processing buffer {"connection_id":131382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a9739c0012d7f914005afd938000b011b27..."} 
[2026-07-13 14:02:40] local.INFO: Packet analysis {"connection_id":131382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a97"} 
[2026-07-13 14:02:40] local.INFO: Extracted packet for processing {"connection_id":131382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a97"} 
[2026-07-13 14:02:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686332672001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783931288000,"timestamp_ms":1783931288000,"timestamp_seconds":1783931288,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a9739c0"} 
[2026-07-13 14:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:02: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-07-13 14:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686332672001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686332672001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:02:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:02:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686332672001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":131382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:02:41] local.INFO: GPS data processed {"connection_id":131382,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:02:41] local.INFO: Acknowledgment sent {"connection_id":131382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:03:12] local.INFO: TCP Data received {"connection_id":131382,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a9739c0012d7f914005afd938000b011b27..."} 
[2026-07-13 14:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a9739c0012d7f914005afd938000b011b27..."} 
[2026-07-13 14:03:12] local.INFO: Processing buffer {"connection_id":131382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a9739c0012d7f914005afd938000b011b27..."} 
[2026-07-13 14:03:12] local.INFO: Packet analysis {"connection_id":131382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a97"} 
[2026-07-13 14:03:12] local.INFO: Extracted packet for processing {"connection_id":131382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a97"} 
[2026-07-13 14:03:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686332672001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783931288000,"timestamp_ms":1783931288000,"timestamp_seconds":1783931288,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a9739c0"} 
[2026-07-13 14:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686332672001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686332672001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:03:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:03:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686332672001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":131382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:03:12] local.INFO: GPS data processed {"connection_id":131382,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:03:12] local.INFO: Acknowledgment sent {"connection_id":131382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:03:34] local.INFO: TCP Data received {"connection_id":130564,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:03:34] local.INFO: Processing buffer {"connection_id":130564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:03:34] local.INFO: IMEI packet received {"connection_id":130564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":130564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:03:40] local.INFO: TCP Data received {"connection_id":130564,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:03:40] local.INFO: Processing buffer {"connection_id":130564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:03:40] local.INFO: IMEI packet received {"connection_id":130564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":130564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:03:40] local.INFO: TCP Data received {"connection_id":130564,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a9739c0012d7f914005afd938000b011b27..."} 
[2026-07-13 14:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a9739c0012d7f914005afd938000b011b27..."} 
[2026-07-13 14:03:40] local.INFO: Processing buffer {"connection_id":130564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a9739c0012d7f914005afd938000b011b27..."} 
[2026-07-13 14:03:40] local.INFO: Packet analysis {"connection_id":130564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a97"} 
[2026-07-13 14:03:40] local.INFO: Extracted packet for processing {"connection_id":130564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a97"} 
[2026-07-13 14:03:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":11,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686332672001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783931288000,"timestamp_ms":1783931288000,"timestamp_seconds":1783931288,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a9739c0"} 
[2026-07-13 14:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:03: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-07-13 14:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686332672001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686332672001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:03:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:03:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686332672001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":130564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:03:40] local.INFO: GPS data processed {"connection_id":130564,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:03:40] local.INFO: Acknowledgment sent {"connection_id":130564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:04:11] local.INFO: TCP Data received {"connection_id":130564,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a9bd188012d7f914005afd938000c011b23..."} 
[2026-07-13 14:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a9bd188012d7f914005afd938000c011b23..."} 
[2026-07-13 14:04:11] local.INFO: Processing buffer {"connection_id":130564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a9bd188012d7f914005afd938000c011b23..."} 
[2026-07-13 14:04:11] local.INFO: Packet analysis {"connection_id":130564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a9b"} 
[2026-07-13 14:04:11] local.INFO: Extracted packet for processing {"connection_id":130564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a9b"} 
[2026-07-13 14:04:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 14:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686409728001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783931589000,"timestamp_ms":1783931589000,"timestamp_seconds":1783931589,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a9bd188"} 
[2026-07-13 14:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686409728001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686409728001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:04:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:04:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686409728001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":130564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:04:11] local.INFO: GPS data processed {"connection_id":130564,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:04:11] local.INFO: Acknowledgment sent {"connection_id":130564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:04:34] local.INFO: TCP Data received {"connection_id":132701,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:04:34] local.INFO: Processing buffer {"connection_id":132701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:04:34] local.INFO: IMEI packet received {"connection_id":132701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":132701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:04:40] local.INFO: TCP Data received {"connection_id":132701,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:04:40] local.INFO: Processing buffer {"connection_id":132701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:04:40] local.INFO: IMEI packet received {"connection_id":132701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":132701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:04:41] local.INFO: TCP Data received {"connection_id":132701,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a9bd188012d7f914005afd938000c011b23..."} 
[2026-07-13 14:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a9bd188012d7f914005afd938000c011b23..."} 
[2026-07-13 14:04:41] local.INFO: Processing buffer {"connection_id":132701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a9bd188012d7f914005afd938000c011b23..."} 
[2026-07-13 14:04:41] local.INFO: Packet analysis {"connection_id":132701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a9b"} 
[2026-07-13 14:04:41] local.INFO: Extracted packet for processing {"connection_id":132701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a9b"} 
[2026-07-13 14:04:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686409728001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783931589000,"timestamp_ms":1783931589000,"timestamp_seconds":1783931589,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a9bd188"} 
[2026-07-13 14:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686409728001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686409728001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:04:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686409728001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":132701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:04:41] local.INFO: GPS data processed {"connection_id":132701,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:04:41] local.INFO: Acknowledgment sent {"connection_id":132701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:05:12] local.INFO: TCP Data received {"connection_id":132701,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a9bd188012d7f914005afd938000c011b23..."} 
[2026-07-13 14:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a9bd188012d7f914005afd938000c011b23..."} 
[2026-07-13 14:05:12] local.INFO: Processing buffer {"connection_id":132701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a9bd188012d7f914005afd938000c011b23..."} 
[2026-07-13 14:05:12] local.INFO: Packet analysis {"connection_id":132701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a9b"} 
[2026-07-13 14:05:12] local.INFO: Extracted packet for processing {"connection_id":132701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a9b"} 
[2026-07-13 14:05:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686409728001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783931589000,"timestamp_ms":1783931589000,"timestamp_seconds":1783931589,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a9bd188"} 
[2026-07-13 14:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686409728001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686409728001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:05:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:05:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686409728001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":132701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:05:12] local.INFO: GPS data processed {"connection_id":132701,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:05:12] local.INFO: Acknowledgment sent {"connection_id":132701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:05:39] local.INFO: TCP Data received {"connection_id":131386,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:05:39] local.INFO: Processing buffer {"connection_id":131386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:05:39] local.INFO: IMEI packet received {"connection_id":131386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":131386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:05:44] local.INFO: TCP Data received {"connection_id":131386,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:05:44] local.INFO: Processing buffer {"connection_id":131386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:05:44] local.INFO: IMEI packet received {"connection_id":131386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":131386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:05:45] local.INFO: TCP Data received {"connection_id":131386,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a9bd188012d7f914005afd938000c011b23..."} 
[2026-07-13 14:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a9bd188012d7f914005afd938000c011b23..."} 
[2026-07-13 14:05:45] local.INFO: Processing buffer {"connection_id":131386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a9bd188012d7f914005afd938000c011b23..."} 
[2026-07-13 14:05:45] local.INFO: Packet analysis {"connection_id":131386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a9b"} 
[2026-07-13 14:05:45] local.INFO: Extracted packet for processing {"connection_id":131386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a9b"} 
[2026-07-13 14:05:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686409728001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783931589000,"timestamp_ms":1783931589000,"timestamp_seconds":1783931589,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a9bd188"} 
[2026-07-13 14:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686409728001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686409728001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:05:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:05:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686409728001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":131386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:05:45] local.INFO: GPS data processed {"connection_id":131386,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:05:45] local.INFO: Acknowledgment sent {"connection_id":131386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:05:50] local.INFO: TCP Data received {"connection_id":131386,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a9bd188012d7f914005afd938000c011b23..."} 
[2026-07-13 14:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a9bd188012d7f914005afd938000c011b23..."} 
[2026-07-13 14:05:50] local.INFO: Processing buffer {"connection_id":131386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a9bd188012d7f914005afd938000c011b23..."} 
[2026-07-13 14:05:50] local.INFO: Packet analysis {"connection_id":131386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a9b"} 
[2026-07-13 14:05:50] local.INFO: Extracted packet for processing {"connection_id":131386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a9b"} 
[2026-07-13 14:05:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686409728001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783931589000,"timestamp_ms":1783931589000,"timestamp_seconds":1783931589,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a9bd188"} 
[2026-07-13 14:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:05: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-07-13 14:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:05: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-07-13 14:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686409728001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686409728001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:05:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:05:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686409728001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":131386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:05:50] local.INFO: GPS data processed {"connection_id":131386,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:05:50] local.INFO: Acknowledgment sent {"connection_id":131386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:06:34] local.INFO: TCP Data received {"connection_id":132703,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:06:35] local.INFO: Processing buffer {"connection_id":132703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:06:35] local.INFO: IMEI packet received {"connection_id":132703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":132703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:06:39] local.INFO: TCP Data received {"connection_id":132703,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:06:39] local.INFO: Processing buffer {"connection_id":132703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:06:39] local.INFO: IMEI packet received {"connection_id":132703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":132703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:06:40] local.INFO: TCP Data received {"connection_id":132703,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a9bd188012d7f914005afd938000c011b23..."} 
[2026-07-13 14:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a9bd188012d7f914005afd938000c011b23..."} 
[2026-07-13 14:06:40] local.INFO: Processing buffer {"connection_id":132703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a9bd188012d7f914005afd938000c011b23..."} 
[2026-07-13 14:06:40] local.INFO: Packet analysis {"connection_id":132703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a9b"} 
[2026-07-13 14:06:40] local.INFO: Extracted packet for processing {"connection_id":132703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a9b"} 
[2026-07-13 14:06:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686409728001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783931589000,"timestamp_ms":1783931589000,"timestamp_seconds":1783931589,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a9bd188"} 
[2026-07-13 14:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:06: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-07-13 14:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686409728001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686409728001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:06:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:06:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686409728001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":132703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:06:40] local.INFO: GPS data processed {"connection_id":132703,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:06:40] local.INFO: Acknowledgment sent {"connection_id":132703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:06:45] local.INFO: TCP Data received {"connection_id":132704,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:06:45] local.INFO: Processing buffer {"connection_id":132704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:06:45] local.INFO: IMEI packet received {"connection_id":132704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 14:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":132704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:07:11] local.INFO: TCP Data received {"connection_id":132703,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a9bd188012d7f914005afd938000c011b23..."} 
[2026-07-13 14:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a9bd188012d7f914005afd938000c011b23..."} 
[2026-07-13 14:07:11] local.INFO: Processing buffer {"connection_id":132703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a9bd188012d7f914005afd938000c011b23..."} 
[2026-07-13 14:07:11] local.INFO: Packet analysis {"connection_id":132703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a9b"} 
[2026-07-13 14:07:11] local.INFO: Extracted packet for processing {"connection_id":132703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a9b"} 
[2026-07-13 14:07:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686409728001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783931589000,"timestamp_ms":1783931589000,"timestamp_seconds":1783931589,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a9bd188"} 
[2026-07-13 14:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686409728001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686409728001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:07:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:07:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686409728001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":132703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:07:11] local.INFO: GPS data processed {"connection_id":132703,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:07:11] local.INFO: Acknowledgment sent {"connection_id":132703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:07:28] local.INFO: TCP Data received {"connection_id":130565,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130565,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:07:28] local.INFO: Processing buffer {"connection_id":130565,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:07:28] local.INFO: IMEI packet received {"connection_id":130565,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 14:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":130565,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:07:28] local.INFO: TCP Data received {"connection_id":130565,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a9f86c0012d0ce800070756200025010e19..."} 
[2026-07-13 14:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a9f86c0012d0ce800070756200025010e19..."} 
[2026-07-13 14:07:28] local.INFO: Processing buffer {"connection_id":130565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a9f86c0012d0ce800070756200025010e19..."} 
[2026-07-13 14:07:28] local.INFO: Packet analysis {"connection_id":130565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a9f"} 
[2026-07-13 14:07:28] local.INFO: Extracted packet for processing {"connection_id":130565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a9f"} 
[2026-07-13 14:07:28] local.INFO: GPS Element Parsed {"raw_longitude":755820544,"raw_latitude":117921312,"longitude_deg":75.5820544,"latitude_deg":11.7921312,"altitude":37,"angle":270,"satellites":25,"speed":17,"hex_longitude":"2d0ce800","hex_latitude":"07075620","is_valid_coordinates":true} 
[2026-07-13 14:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686548736001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24311035313782784,"note":"Value kept but may cause issues"} 
[2026-07-13 14:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":930556303193272320,"note":"Value kept but may cause issues"} 
[2026-07-13 14:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783931832000,"timestamp_ms":1783931832000,"timestamp_seconds":1783931832,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a9f86c0"} 
[2026-07-13 14:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:07: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-07-13 14: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-07-13 14:07:28] 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-07-13 14:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":130565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":130565,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":130565,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 14:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 14:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686548736001,"66":14515,"221":206,"94":10240,"24":17,"16":24311035313782784,"45":930556303193272320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-13 14:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 14:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 14:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686548736001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:07:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-13 14:07:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 14:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24311035313782784,"km_value":24311035313782.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":930556303193272320,"description":"Unknown IO ID 45"} 
[2026-07-13 14:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686548736001,"power":14515,"unknown_221":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":930556303193272320}} 
[2026-07-13 14:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":130565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480146,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:07:29] local.INFO: GPS data processed {"connection_id":130565,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:07:29] local.INFO: Acknowledgment sent {"connection_id":130565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:07:34] local.INFO: TCP Data received {"connection_id":130345,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:07:34] local.INFO: Processing buffer {"connection_id":130345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:07:34] local.INFO: IMEI packet received {"connection_id":130345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":130345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:07:39] local.INFO: TCP Data received {"connection_id":130345,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:07:39] local.INFO: Processing buffer {"connection_id":130345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:07:39] local.INFO: IMEI packet received {"connection_id":130345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":130345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:07:40] local.INFO: TCP Data received {"connection_id":130345,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a9bd188012d7f914005afd938000c011b23..."} 
[2026-07-13 14:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a9bd188012d7f914005afd938000c011b23..."} 
[2026-07-13 14:07:40] local.INFO: Processing buffer {"connection_id":130345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a9bd188012d7f914005afd938000c011b23..."} 
[2026-07-13 14:07:40] local.INFO: Packet analysis {"connection_id":130345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a9b"} 
[2026-07-13 14:07:40] local.INFO: Extracted packet for processing {"connection_id":130345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a9b"} 
[2026-07-13 14:07:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686409728001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783931589000,"timestamp_ms":1783931589000,"timestamp_seconds":1783931589,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a9bd188"} 
[2026-07-13 14:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:07: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-07-13 14:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686409728001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686409728001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:07:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:07:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686409728001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":130345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:07:40] local.INFO: GPS data processed {"connection_id":130345,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:07:40] local.INFO: Acknowledgment sent {"connection_id":130345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:08:00] local.INFO: TCP Data received {"connection_id":130565,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a9f8aa8012d0ce680070755d0002500fb19..."} 
[2026-07-13 14:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a9f8aa8012d0ce680070755d0002500fb19..."} 
[2026-07-13 14:08:00] local.INFO: Processing buffer {"connection_id":130565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a9f8aa8012d0ce680070755d0002500fb19..."} 
[2026-07-13 14:08:00] local.INFO: Packet analysis {"connection_id":130565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a9f"} 
[2026-07-13 14:08:00] local.INFO: Extracted packet for processing {"connection_id":130565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a9f"} 
[2026-07-13 14:08:00] local.INFO: GPS Element Parsed {"raw_longitude":755820160,"raw_latitude":117921232,"longitude_deg":75.582016,"latitude_deg":11.7921232,"altitude":37,"angle":251,"satellites":25,"speed":15,"hex_longitude":"2d0ce680","hex_latitude":"070755d0","is_valid_coordinates":true} 
[2026-07-13 14:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686548992001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24311052493651968,"note":"Value kept but may cause issues"} 
[2026-07-13 14:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":929993353239863296,"note":"Value kept but may cause issues"} 
[2026-07-13 14:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783931833000,"timestamp_ms":1783931833000,"timestamp_seconds":1783931833,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a9f8aa8"} 
[2026-07-13 14:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-13 14:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":130565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":130565,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":130565,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 14:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 14:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686548992001,"66":14515,"221":206,"94":10240,"24":15,"16":24311052493651968,"45":929993353239863296},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-07-13 14:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 14:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 14:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686548992001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:08:00] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-13 14:08:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 14:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24311052493651968,"km_value":24311052493651.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":929993353239863296,"description":"Unknown IO ID 45"} 
[2026-07-13 14:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686548992001,"power":14515,"unknown_221":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":929993353239863296}} 
[2026-07-13 14:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":130565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480148,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:08:00] local.INFO: GPS data processed {"connection_id":130565,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:08:00] local.INFO: Acknowledgment sent {"connection_id":130565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:08:11] local.INFO: TCP Data received {"connection_id":130345,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a9bd188012d7f914005afd938000c011b23..."} 
[2026-07-13 14:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a9bd188012d7f914005afd938000c011b23..."} 
[2026-07-13 14:08:11] local.INFO: Processing buffer {"connection_id":130345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a9bd188012d7f914005afd938000c011b23..."} 
[2026-07-13 14:08:11] local.INFO: Packet analysis {"connection_id":130345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a9b"} 
[2026-07-13 14:08:11] local.INFO: Extracted packet for processing {"connection_id":130345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a9b"} 
[2026-07-13 14:08:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686409728001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783931589000,"timestamp_ms":1783931589000,"timestamp_seconds":1783931589,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a9bd188"} 
[2026-07-13 14:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686409728001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686409728001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:08:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:08:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686409728001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":130345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:08:11] local.INFO: GPS data processed {"connection_id":130345,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:08:11] local.INFO: Acknowledgment sent {"connection_id":130345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:08:20] local.INFO: TCP Data received {"connection_id":131387,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:08:20] local.INFO: Processing buffer {"connection_id":131387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:08:20] local.INFO: IMEI packet received {"connection_id":131387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 14:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":131387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:08:21] local.INFO: TCP Data received {"connection_id":131387,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:08:21] local.INFO: Processing buffer {"connection_id":131387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:08:21] local.INFO: IMEI packet received {"connection_id":131387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 14:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":131387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:08:22] local.INFO: TCP Data received {"connection_id":131387,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:08:22] local.INFO: Processing buffer {"connection_id":131387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:08:22] local.INFO: IMEI packet received {"connection_id":131387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 14:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":131387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:08:22] local.INFO: TCP Data received {"connection_id":131387,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:08:22] local.INFO: Processing buffer {"connection_id":131387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:08:22] local.INFO: IMEI packet received {"connection_id":131387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 14:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":131387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:08:34] local.INFO: TCP Data received {"connection_id":130566,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:08:34] local.INFO: Processing buffer {"connection_id":130566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:08:34] local.INFO: IMEI packet received {"connection_id":130566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":130566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:08:40] local.INFO: TCP Data received {"connection_id":130566,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:08:40] local.INFO: Processing buffer {"connection_id":130566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:08:40] local.INFO: IMEI packet received {"connection_id":130566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":130566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:08:40] local.INFO: TCP Data received {"connection_id":130566,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5a9bd188012d7f914005afd938000c011b23..."} 
[2026-07-13 14:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5a9bd188012d7f914005afd938000c011b23..."} 
[2026-07-13 14:08:40] local.INFO: Processing buffer {"connection_id":130566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5a9bd188012d7f914005afd938000c011b23..."} 
[2026-07-13 14:08:40] local.INFO: Packet analysis {"connection_id":130566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5a9b"} 
[2026-07-13 14:08:40] local.INFO: Extracted packet for processing {"connection_id":130566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5a9b"} 
[2026-07-13 14:08:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686409728001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783931589000,"timestamp_ms":1783931589000,"timestamp_seconds":1783931589,"priority":1,"record_length":96,"hex_timestamp":"0000019f5a9bd188"} 
[2026-07-13 14:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:08: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-07-13 14:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686409728001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686409728001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:08:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:08:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686409728001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":130566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:08:40] local.INFO: GPS data processed {"connection_id":130566,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:08:40] local.INFO: Acknowledgment sent {"connection_id":130566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:09:11] local.INFO: TCP Data received {"connection_id":130566,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa06950012d7f914005afd938000c011b26..."} 
[2026-07-13 14:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa06950012d7f914005afd938000c011b26..."} 
[2026-07-13 14:09:11] local.INFO: Processing buffer {"connection_id":130566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa06950012d7f914005afd938000c011b26..."} 
[2026-07-13 14:09:11] local.INFO: Packet analysis {"connection_id":130566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa0"} 
[2026-07-13 14:09:11] local.INFO: Extracted packet for processing {"connection_id":130566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa0"} 
[2026-07-13 14:09:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686486784001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783931890000,"timestamp_ms":1783931890000,"timestamp_seconds":1783931890,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa06950"} 
[2026-07-13 14:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686486784001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686486784001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:09:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:09:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686486784001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":130566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:09:11] local.INFO: GPS data processed {"connection_id":130566,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:09:11] local.INFO: Acknowledgment sent {"connection_id":130566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:09:34] local.INFO: TCP Data received {"connection_id":132705,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:09:34] local.INFO: Processing buffer {"connection_id":132705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:09:34] local.INFO: IMEI packet received {"connection_id":132705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":132705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:09:39] local.INFO: TCP Data received {"connection_id":132705,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:09:39] local.INFO: Processing buffer {"connection_id":132705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:09:39] local.INFO: IMEI packet received {"connection_id":132705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":132705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:09:40] local.INFO: TCP Data received {"connection_id":132705,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa06950012d7f914005afd938000c011b26..."} 
[2026-07-13 14:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa06950012d7f914005afd938000c011b26..."} 
[2026-07-13 14:09:40] local.INFO: Processing buffer {"connection_id":132705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa06950012d7f914005afd938000c011b26..."} 
[2026-07-13 14:09:40] local.INFO: Packet analysis {"connection_id":132705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa0"} 
[2026-07-13 14:09:40] local.INFO: Extracted packet for processing {"connection_id":132705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa0"} 
[2026-07-13 14:09:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686486784001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783931890000,"timestamp_ms":1783931890000,"timestamp_seconds":1783931890,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa06950"} 
[2026-07-13 14:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:09: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-07-13 14:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686486784001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686486784001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:09:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:09:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686486784001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":132705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:09:40] local.INFO: GPS data processed {"connection_id":132705,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:09:40] local.INFO: Acknowledgment sent {"connection_id":132705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:10:12] local.INFO: TCP Data received {"connection_id":132705,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa06950012d7f914005afd938000c011b26..."} 
[2026-07-13 14:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa06950012d7f914005afd938000c011b26..."} 
[2026-07-13 14:10:12] local.INFO: Processing buffer {"connection_id":132705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa06950012d7f914005afd938000c011b26..."} 
[2026-07-13 14:10:12] local.INFO: Packet analysis {"connection_id":132705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa0"} 
[2026-07-13 14:10:12] local.INFO: Extracted packet for processing {"connection_id":132705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa0"} 
[2026-07-13 14:10:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686486784001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783931890000,"timestamp_ms":1783931890000,"timestamp_seconds":1783931890,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa06950"} 
[2026-07-13 14:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686486784001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686486784001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:10:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:10:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686486784001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":132705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:10:12] local.INFO: GPS data processed {"connection_id":132705,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:10:12] local.INFO: Acknowledgment sent {"connection_id":132705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:10:34] local.INFO: TCP Data received {"connection_id":130568,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:10:34] local.INFO: Processing buffer {"connection_id":130568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:10:34] local.INFO: IMEI packet received {"connection_id":130568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":130568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:10:39] local.INFO: TCP Data received {"connection_id":130568,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:10:39] local.INFO: Processing buffer {"connection_id":130568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:10:39] local.INFO: IMEI packet received {"connection_id":130568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":130568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:10:40] local.INFO: TCP Data received {"connection_id":130568,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa06950012d7f914005afd938000c011b26..."} 
[2026-07-13 14:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa06950012d7f914005afd938000c011b26..."} 
[2026-07-13 14:10:40] local.INFO: Processing buffer {"connection_id":130568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa06950012d7f914005afd938000c011b26..."} 
[2026-07-13 14:10:40] local.INFO: Packet analysis {"connection_id":130568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa0"} 
[2026-07-13 14:10:40] local.INFO: Extracted packet for processing {"connection_id":130568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa0"} 
[2026-07-13 14:10:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686486784001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783931890000,"timestamp_ms":1783931890000,"timestamp_seconds":1783931890,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa06950"} 
[2026-07-13 14:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:10: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-07-13 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686486784001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686486784001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:10:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:10:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686486784001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":130568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:10:40] local.INFO: GPS data processed {"connection_id":130568,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:10:40] local.INFO: Acknowledgment sent {"connection_id":130568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:11:11] local.INFO: TCP Data received {"connection_id":130568,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa06950012d7f914005afd938000c011b26..."} 
[2026-07-13 14:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa06950012d7f914005afd938000c011b26..."} 
[2026-07-13 14:11:11] local.INFO: Processing buffer {"connection_id":130568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa06950012d7f914005afd938000c011b26..."} 
[2026-07-13 14:11:11] local.INFO: Packet analysis {"connection_id":130568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa0"} 
[2026-07-13 14:11:11] local.INFO: Extracted packet for processing {"connection_id":130568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa0"} 
[2026-07-13 14:11:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686486784001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783931890000,"timestamp_ms":1783931890000,"timestamp_seconds":1783931890,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa06950"} 
[2026-07-13 14:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686486784001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686486784001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:11:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:11:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686486784001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":130568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:11:11] local.INFO: GPS data processed {"connection_id":130568,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:11:11] local.INFO: Acknowledgment sent {"connection_id":130568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:11:34] local.INFO: TCP Data received {"connection_id":131391,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:11:34] local.INFO: Processing buffer {"connection_id":131391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:11:34] local.INFO: IMEI packet received {"connection_id":131391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":131391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:11:39] local.INFO: TCP Data received {"connection_id":131391,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:11:39] local.INFO: Processing buffer {"connection_id":131391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:11:39] local.INFO: IMEI packet received {"connection_id":131391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":131391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:11:40] local.INFO: TCP Data received {"connection_id":131391,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa06950012d7f914005afd938000c011b26..."} 
[2026-07-13 14:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa06950012d7f914005afd938000c011b26..."} 
[2026-07-13 14:11:40] local.INFO: Processing buffer {"connection_id":131391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa06950012d7f914005afd938000c011b26..."} 
[2026-07-13 14:11:40] local.INFO: Packet analysis {"connection_id":131391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa0"} 
[2026-07-13 14:11:40] local.INFO: Extracted packet for processing {"connection_id":131391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa0"} 
[2026-07-13 14:11:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14: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-07-13 14:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686486784001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783931890000,"timestamp_ms":1783931890000,"timestamp_seconds":1783931890,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa06950"} 
[2026-07-13 14:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:11: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-07-13 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14: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-07-13 14:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686486784001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686486784001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:11:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:11:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686486784001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":131391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:11:40] local.INFO: GPS data processed {"connection_id":131391,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:11:40] local.INFO: Acknowledgment sent {"connection_id":131391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:12:11] local.INFO: TCP Data received {"connection_id":131391,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa06950012d7f914005afd938000c011b26..."} 
[2026-07-13 14:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa06950012d7f914005afd938000c011b26..."} 
[2026-07-13 14:12:11] local.INFO: Processing buffer {"connection_id":131391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa06950012d7f914005afd938000c011b26..."} 
[2026-07-13 14:12:11] local.INFO: Packet analysis {"connection_id":131391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa0"} 
[2026-07-13 14:12:11] local.INFO: Extracted packet for processing {"connection_id":131391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa0"} 
[2026-07-13 14:12:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686486784001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783931890000,"timestamp_ms":1783931890000,"timestamp_seconds":1783931890,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa06950"} 
[2026-07-13 14:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686486784001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686486784001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:12:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:12:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686486784001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":131391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:12:11] local.INFO: GPS data processed {"connection_id":131391,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:12:11] local.INFO: Acknowledgment sent {"connection_id":131391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:12:20] local.INFO: TCP Data received {"connection_id":130349,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130349,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:12:20] local.INFO: Processing buffer {"connection_id":130349,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:12:20] local.INFO: IMEI packet received {"connection_id":130349,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 14:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":130349,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:12:34] local.INFO: TCP Data received {"connection_id":132707,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:12:34] local.INFO: Processing buffer {"connection_id":132707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:12:34] local.INFO: IMEI packet received {"connection_id":132707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":132707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:12:39] local.INFO: TCP Data received {"connection_id":132707,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:12:39] local.INFO: Processing buffer {"connection_id":132707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:12:39] local.INFO: IMEI packet received {"connection_id":132707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":132707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:12:41] local.INFO: TCP Data received {"connection_id":130569,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130569,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:12:41] local.INFO: Processing buffer {"connection_id":130569,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:12:41] local.INFO: IMEI packet received {"connection_id":130569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 14:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":130569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:12:41] local.INFO: TCP Data received {"connection_id":132707,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa06950012d7f914005afd938000c011b26..."} 
[2026-07-13 14:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa06950012d7f914005afd938000c011b26..."} 
[2026-07-13 14:12:41] local.INFO: Processing buffer {"connection_id":132707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa06950012d7f914005afd938000c011b26..."} 
[2026-07-13 14:12:41] local.INFO: Packet analysis {"connection_id":132707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa0"} 
[2026-07-13 14:12:41] local.INFO: Extracted packet for processing {"connection_id":132707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa0"} 
[2026-07-13 14:12:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686486784001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783931890000,"timestamp_ms":1783931890000,"timestamp_seconds":1783931890,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa06950"} 
[2026-07-13 14:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686486784001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686486784001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:12:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:12:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686486784001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":132707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:12:41] local.INFO: GPS data processed {"connection_id":132707,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:12:41] local.INFO: Acknowledgment sent {"connection_id":132707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:13:12] local.INFO: TCP Data received {"connection_id":132707,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa06950012d7f914005afd938000c011b26..."} 
[2026-07-13 14:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa06950012d7f914005afd938000c011b26..."} 
[2026-07-13 14:13:12] local.INFO: Processing buffer {"connection_id":132707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa06950012d7f914005afd938000c011b26..."} 
[2026-07-13 14:13:12] local.INFO: Packet analysis {"connection_id":132707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa0"} 
[2026-07-13 14:13:12] local.INFO: Extracted packet for processing {"connection_id":132707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa0"} 
[2026-07-13 14:13:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686486784001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783931890000,"timestamp_ms":1783931890000,"timestamp_seconds":1783931890,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa06950"} 
[2026-07-13 14:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686486784001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686486784001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:13:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:13:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686486784001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":132707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:13:12] local.INFO: GPS data processed {"connection_id":132707,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:13:12] local.INFO: Acknowledgment sent {"connection_id":132707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:13:24] local.INFO: TCP Data received {"connection_id":131392,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131392,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:13:24] local.INFO: Processing buffer {"connection_id":131392,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:13:24] local.INFO: IMEI packet received {"connection_id":131392,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 14:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":131392,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:13:28] local.INFO: TCP Data received {"connection_id":131392,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131392,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:13:28] local.INFO: Processing buffer {"connection_id":131392,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:13:28] local.INFO: IMEI packet received {"connection_id":131392,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 14:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":131392,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:13:28] local.INFO: TCP Data received {"connection_id":131392,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa3cc80012d0aef4007066cc0001100a31b..."} 
[2026-07-13 14:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa3cc80012d0aef4007066cc0001100a31b..."} 
[2026-07-13 14:13:28] local.INFO: Processing buffer {"connection_id":131392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa3cc80012d0aef4007066cc0001100a31b..."} 
[2026-07-13 14:13:28] local.INFO: Packet analysis {"connection_id":131392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa3"} 
[2026-07-13 14:13:28] local.INFO: Extracted packet for processing {"connection_id":131392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa3"} 
[2026-07-13 14:13:28] local.INFO: GPS Element Parsed {"raw_longitude":755691328,"raw_latitude":117861568,"longitude_deg":75.5691328,"latitude_deg":11.7861568,"altitude":17,"angle":163,"satellites":27,"speed":10,"hex_longitude":"2d0aef40","hex_latitude":"07066cc0","is_valid_coordinates":true} 
[2026-07-13 14:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686615296001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24319543643996160,"note":"Value kept but may cause issues"} 
[2026-07-13 14:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788833652404537344,"note":"Value kept but may cause issues"} 
[2026-07-13 14:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783932112000,"timestamp_ms":1783932112000,"timestamp_seconds":1783932112,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa3cc80"} 
[2026-07-13 14:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 14:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:13:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":131392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":131392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":131392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 14:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 14:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686615296001,"66":14537,"163":206,"94":10240,"24":10,"16":24319543643996160,"45":788833652404537344},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-13 14:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 14:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 14:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686615296001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:13:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-13 14:13:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 14:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24319543643996160,"km_value":24319543643996.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":788833652404537344,"description":"Unknown IO ID 45"} 
[2026-07-13 14:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686615296001,"power":14537,"unknown_163":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":788833652404537344}} 
[2026-07-13 14:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":131392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480160,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:13:29] local.INFO: GPS data processed {"connection_id":131392,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:13:29] local.INFO: Acknowledgment sent {"connection_id":131392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:13:33] local.INFO: TCP Data received {"connection_id":131392,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa3cc80012d0aef4007066cc0001100a31b..."} 
[2026-07-13 14:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa3cc80012d0aef4007066cc0001100a31b..."} 
[2026-07-13 14:13:33] local.INFO: Processing buffer {"connection_id":131392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa3cc80012d0aef4007066cc0001100a31b..."} 
[2026-07-13 14:13:33] local.INFO: Packet analysis {"connection_id":131392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa3"} 
[2026-07-13 14:13:33] local.INFO: Extracted packet for processing {"connection_id":131392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa3"} 
[2026-07-13 14:13:33] local.INFO: GPS Element Parsed {"raw_longitude":755691328,"raw_latitude":117861568,"longitude_deg":75.5691328,"latitude_deg":11.7861568,"altitude":17,"angle":163,"satellites":27,"speed":10,"hex_longitude":"2d0aef40","hex_latitude":"07066cc0","is_valid_coordinates":true} 
[2026-07-13 14:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686620672001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24319543643996160,"note":"Value kept but may cause issues"} 
[2026-07-13 14:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787918858729865216,"note":"Value kept but may cause issues"} 
[2026-07-13 14:13: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-07-13 14:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783932112000,"timestamp_ms":1783932112000,"timestamp_seconds":1783932112,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa3cc80"} 
[2026-07-13 14:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-13 14:13: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-07-13 14:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":131392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":131392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":131392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 14:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 14:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686620672001,"66":14537,"163":206,"94":10240,"24":10,"16":24319543643996160,"45":787918858729865216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-07-13 14:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 14:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 14:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686620672001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:13:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-13 14:13:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 14:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24319543643996160,"km_value":24319543643996.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":787918858729865216,"description":"Unknown IO ID 45"} 
[2026-07-13 14:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686620672001,"power":14537,"unknown_163":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":787918858729865216}} 
[2026-07-13 14:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":131392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480161,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:13:33] local.INFO: GPS data processed {"connection_id":131392,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:13:33] local.INFO: Acknowledgment sent {"connection_id":131392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:13:34] local.INFO: TCP Data received {"connection_id":130350,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:13:34] local.INFO: Processing buffer {"connection_id":130350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:13:34] local.INFO: IMEI packet received {"connection_id":130350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":130350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:13:40] local.INFO: TCP Data received {"connection_id":130350,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:13:40] local.INFO: Processing buffer {"connection_id":130350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:13:40] local.INFO: IMEI packet received {"connection_id":130350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":130350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:13:41] local.INFO: TCP Data received {"connection_id":130350,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa06950012d7f914005afd938000c011b26..."} 
[2026-07-13 14:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa06950012d7f914005afd938000c011b26..."} 
[2026-07-13 14:13:41] local.INFO: Processing buffer {"connection_id":130350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa06950012d7f914005afd938000c011b26..."} 
[2026-07-13 14:13:41] local.INFO: Packet analysis {"connection_id":130350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa0"} 
[2026-07-13 14:13:41] local.INFO: Extracted packet for processing {"connection_id":130350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa0"} 
[2026-07-13 14:13:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686486784001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783931890000,"timestamp_ms":1783931890000,"timestamp_seconds":1783931890,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa06950"} 
[2026-07-13 14:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686486784001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686486784001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:13:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:13:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686486784001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":130350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:13:41] local.INFO: GPS data processed {"connection_id":130350,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:13:41] local.INFO: Acknowledgment sent {"connection_id":130350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:14:04] local.INFO: TCP Data received {"connection_id":131392,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa59588012d0b53c007060b50001000d31d..."} 
[2026-07-13 14:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa59588012d0b53c007060b50001000d31d..."} 
[2026-07-13 14:14:04] local.INFO: Processing buffer {"connection_id":131392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa59588012d0b53c007060b50001000d31d..."} 
[2026-07-13 14:14:04] local.INFO: Packet analysis {"connection_id":131392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa5"} 
[2026-07-13 14:14:04] local.INFO: Extracted packet for processing {"connection_id":131392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa5"} 
[2026-07-13 14:14:04] local.INFO: GPS Element Parsed {"raw_longitude":755717056,"raw_latitude":117836624,"longitude_deg":75.5717056,"latitude_deg":11.7836624,"altitude":16,"angle":211,"satellites":29,"speed":1,"hex_longitude":"2d0b53c0","hex_latitude":"07060b50","is_valid_coordinates":true} 
[2026-07-13 14:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686649088001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24321575163527168,"note":"Value kept but may cause issues"} 
[2026-07-13 14:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816347831371278336,"note":"Value kept but may cause issues"} 
[2026-07-13 14:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783932229000,"timestamp_ms":1783932229000,"timestamp_seconds":1783932229,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa59588"} 
[2026-07-13 14:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 14:14: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-07-13 14:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":131392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":131392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":131392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 14:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 14:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686649088001,"66":14407,"165":206,"94":10240,"24":1,"16":24321575163527168,"45":816347831371278336},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-13 14:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 14:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 14:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686649088001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:14:04] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-13 14:14:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 14:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24321575163527168,"km_value":24321575163527.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":816347831371278336,"description":"Unknown IO ID 45"} 
[2026-07-13 14:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686649088001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":816347831371278336}} 
[2026-07-13 14:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":131392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480163,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:14:04] local.INFO: GPS data processed {"connection_id":131392,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:14:04] local.INFO: Acknowledgment sent {"connection_id":131392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:14:12] local.INFO: TCP Data received {"connection_id":130350,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa50118012d7f914005afd938000e011b29..."} 
[2026-07-13 14:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa50118012d7f914005afd938000e011b29..."} 
[2026-07-13 14:14:12] local.INFO: Processing buffer {"connection_id":130350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa50118012d7f914005afd938000e011b29..."} 
[2026-07-13 14:14:12] local.INFO: Packet analysis {"connection_id":130350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa5"} 
[2026-07-13 14:14:12] local.INFO: Extracted packet for processing {"connection_id":130350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa5"} 
[2026-07-13 14:14:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686563840001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783932191000,"timestamp_ms":1783932191000,"timestamp_seconds":1783932191,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa50118"} 
[2026-07-13 14:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686563840001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686563840001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:14:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:14:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686563840001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":130350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:14:12] local.INFO: GPS data processed {"connection_id":130350,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:14:12] local.INFO: Acknowledgment sent {"connection_id":130350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:14:23] local.INFO: TCP Data received {"connection_id":132708,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132708,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:14:23] local.INFO: Processing buffer {"connection_id":132708,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:14:23] local.INFO: IMEI packet received {"connection_id":132708,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 14:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":132708,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:14:24] local.INFO: TCP Data received {"connection_id":132708,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132708,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:14:24] local.INFO: Processing buffer {"connection_id":132708,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:14:24] local.INFO: IMEI packet received {"connection_id":132708,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 14:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":132708,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:14:27] local.INFO: TCP Data received {"connection_id":132708,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132708,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:14:27] local.INFO: Processing buffer {"connection_id":132708,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:14:27] local.INFO: IMEI packet received {"connection_id":132708,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 14:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":132708,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:14:28] local.INFO: TCP Data received {"connection_id":132708,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa59970012d0b538007060b18001000c71d..."} 
[2026-07-13 14:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa59970012d0b538007060b18001000c71d..."} 
[2026-07-13 14:14:28] local.INFO: Processing buffer {"connection_id":132708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa59970012d0b538007060b18001000c71d..."} 
[2026-07-13 14:14:28] local.INFO: Packet analysis {"connection_id":132708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa5"} 
[2026-07-13 14:14:28] local.INFO: Extracted packet for processing {"connection_id":132708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa5"} 
[2026-07-13 14:14:28] local.INFO: GPS Element Parsed {"raw_longitude":755716992,"raw_latitude":117836568,"longitude_deg":75.5716992,"latitude_deg":11.7836568,"altitude":16,"angle":199,"satellites":29,"speed":2,"hex_longitude":"2d0b5380","hex_latitude":"07060b18","is_valid_coordinates":true} 
[2026-07-13 14:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686650624001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24321579458494464,"note":"Value kept but may cause issues"} 
[2026-07-13 14:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816207093882900480,"note":"Value kept but may cause issues"} 
[2026-07-13 14:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783932230000,"timestamp_ms":1783932230000,"timestamp_seconds":1783932230,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa59970"} 
[2026-07-13 14:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-13 14:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132708,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132708,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 14:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 14:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686650624001,"66":14461,"165":206,"94":10240,"24":2,"16":24321579458494464,"45":816207093882900480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-13 14:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 14:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 14:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686650624001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:14:28] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-13 14:14:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 14:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24321579458494464,"km_value":24321579458494.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":816207093882900480,"description":"Unknown IO ID 45"} 
[2026-07-13 14:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686650624001,"power":14461,"unknown_165":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":816207093882900480}} 
[2026-07-13 14:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":132708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480165,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:14:28] local.INFO: GPS data processed {"connection_id":132708,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:14:28] local.INFO: Acknowledgment sent {"connection_id":132708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:14:35] local.INFO: TCP Data received {"connection_id":131393,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:14:35] local.INFO: Processing buffer {"connection_id":131393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:14:35] local.INFO: IMEI packet received {"connection_id":131393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":131393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:14:39] local.INFO: TCP Data received {"connection_id":131393,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:14:39] local.INFO: Processing buffer {"connection_id":131393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:14:39] local.INFO: IMEI packet received {"connection_id":131393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":131393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:14:41] local.INFO: TCP Data received {"connection_id":131393,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa50118012d7f914005afd938000e011b29..."} 
[2026-07-13 14:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa50118012d7f914005afd938000e011b29..."} 
[2026-07-13 14:14:41] local.INFO: Processing buffer {"connection_id":131393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa50118012d7f914005afd938000e011b29..."} 
[2026-07-13 14:14:41] local.INFO: Packet analysis {"connection_id":131393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa5"} 
[2026-07-13 14:14:41] local.INFO: Extracted packet for processing {"connection_id":131393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa5"} 
[2026-07-13 14:14:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686563840001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783932191000,"timestamp_ms":1783932191000,"timestamp_seconds":1783932191,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa50118"} 
[2026-07-13 14:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686563840001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686563840001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:14:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:14:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686563840001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":131393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:14:41] local.INFO: GPS data processed {"connection_id":131393,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:14:41] local.INFO: Acknowledgment sent {"connection_id":131393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:14:59] local.INFO: TCP Data received {"connection_id":132708,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa5a528012d0b534007060a88001000d21d..."} 
[2026-07-13 14:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa5a528012d0b534007060a88001000d21d..."} 
[2026-07-13 14:14:59] local.INFO: Processing buffer {"connection_id":132708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa5a528012d0b534007060a88001000d21d..."} 
[2026-07-13 14:14:59] local.INFO: Packet analysis {"connection_id":132708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa5"} 
[2026-07-13 14:14:59] local.INFO: Extracted packet for processing {"connection_id":132708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa5"} 
[2026-07-13 14:14:59] local.INFO: GPS Element Parsed {"raw_longitude":755716928,"raw_latitude":117836424,"longitude_deg":75.5716928,"latitude_deg":11.7836424,"altitude":16,"angle":210,"satellites":29,"speed":2,"hex_longitude":"2d0b5340","hex_latitude":"07060a88","is_valid_coordinates":true} 
[2026-07-13 14:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686650880001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24321588048429056,"note":"Value kept but may cause issues"} 
[2026-07-13 14:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816136725138708480,"note":"Value kept but may cause issues"} 
[2026-07-13 14:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783932233000,"timestamp_ms":1783932233000,"timestamp_seconds":1783932233,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa5a528"} 
[2026-07-13 14:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-13 14:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":132708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":132708,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":132708,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 14:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 14:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686650880001,"66":14548,"165":206,"94":10240,"24":2,"16":24321588048429056,"45":816136725138708480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-13 14:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 14:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 14:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686650880001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:14:59] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-13 14:14:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 14:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24321588048429056,"km_value":24321588048429.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":816136725138708480,"description":"Unknown IO ID 45"} 
[2026-07-13 14:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686650880001,"power":14548,"unknown_165":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":816136725138708480}} 
[2026-07-13 14:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":132708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480167,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:15:00] local.INFO: GPS data processed {"connection_id":132708,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:15:00] local.INFO: Acknowledgment sent {"connection_id":132708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:15:12] local.INFO: TCP Data received {"connection_id":131393,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa50118012d7f914005afd938000e011b29..."} 
[2026-07-13 14:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa50118012d7f914005afd938000e011b29..."} 
[2026-07-13 14:15:12] local.INFO: Processing buffer {"connection_id":131393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa50118012d7f914005afd938000e011b29..."} 
[2026-07-13 14:15:12] local.INFO: Packet analysis {"connection_id":131393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa5"} 
[2026-07-13 14:15:12] local.INFO: Extracted packet for processing {"connection_id":131393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa5"} 
[2026-07-13 14:15:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686563840001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783932191000,"timestamp_ms":1783932191000,"timestamp_seconds":1783932191,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa50118"} 
[2026-07-13 14:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686563840001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686563840001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:15:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:15:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686563840001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":131393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:15:12] local.INFO: GPS data processed {"connection_id":131393,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:15:12] local.INFO: Acknowledgment sent {"connection_id":131393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:15:22] local.INFO: TCP Data received {"connection_id":130352,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130352,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:15:22] local.INFO: Processing buffer {"connection_id":130352,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:15:22] local.INFO: IMEI packet received {"connection_id":130352,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 14:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":130352,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:15:25] local.INFO: TCP Data received {"connection_id":130352,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130352,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:15:25] local.INFO: Processing buffer {"connection_id":130352,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:15:25] local.INFO: IMEI packet received {"connection_id":130352,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 14:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":130352,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:15:29] local.INFO: TCP Data received {"connection_id":130352,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130352,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:15:29] local.INFO: Processing buffer {"connection_id":130352,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:15:29] local.INFO: IMEI packet received {"connection_id":130352,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 14:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":130352,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:15:34] local.INFO: TCP Data received {"connection_id":130353,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:15:34] local.INFO: Processing buffer {"connection_id":130353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:15:34] local.INFO: IMEI packet received {"connection_id":130353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":130353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:15:39] local.INFO: TCP Data received {"connection_id":130353,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:15:39] local.INFO: Processing buffer {"connection_id":130353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:15:39] local.INFO: IMEI packet received {"connection_id":130353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":130353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:15:40] local.INFO: TCP Data received {"connection_id":130353,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa50118012d7f914005afd938000e011b29..."} 
[2026-07-13 14:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa50118012d7f914005afd938000e011b29..."} 
[2026-07-13 14:15:40] local.INFO: Processing buffer {"connection_id":130353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa50118012d7f914005afd938000e011b29..."} 
[2026-07-13 14:15:40] local.INFO: Packet analysis {"connection_id":130353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa5"} 
[2026-07-13 14:15:40] local.INFO: Extracted packet for processing {"connection_id":130353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa5"} 
[2026-07-13 14:15:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14: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-07-13 14:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686563840001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783932191000,"timestamp_ms":1783932191000,"timestamp_seconds":1783932191,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa50118"} 
[2026-07-13 14:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14: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-07-13 14:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686563840001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686563840001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:15:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:15:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686563840001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":130353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:15:40] local.INFO: GPS data processed {"connection_id":130353,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:15:40] local.INFO: Acknowledgment sent {"connection_id":130353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:15:57] local.INFO: TCP Data received {"connection_id":130352,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa5f730012d0b5000070603c8001000c81d..."} 
[2026-07-13 14:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa5f730012d0b5000070603c8001000c81d..."} 
[2026-07-13 14:15:57] local.INFO: Processing buffer {"connection_id":130352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa5f730012d0b5000070603c8001000c81d..."} 
[2026-07-13 14:15:57] local.INFO: Packet analysis {"connection_id":130352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa5"} 
[2026-07-13 14:15:57] local.INFO: Extracted packet for processing {"connection_id":130352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa5"} 
[2026-07-13 14:15:57] local.INFO: GPS Element Parsed {"raw_longitude":755716096,"raw_latitude":117834696,"longitude_deg":75.5716096,"latitude_deg":11.7834696,"altitude":16,"angle":200,"satellites":29,"speed":3,"hex_longitude":"2d0b5000","hex_latitude":"070603c8","is_valid_coordinates":true} 
[2026-07-13 14:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686651648001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24321686832676864,"note":"Value kept but may cause issues"} 
[2026-07-13 14:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816066356394493952,"note":"Value kept but may cause issues"} 
[2026-07-13 14:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783932254000,"timestamp_ms":1783932254000,"timestamp_seconds":1783932254,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa5f730"} 
[2026-07-13 14:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-13 14:15:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:15:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":130352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":130352,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":130352,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 14:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 14:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686651648001,"66":14396,"165":206,"94":10240,"24":3,"16":24321686832676864,"45":816066356394493952},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-07-13 14:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 14:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 14:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686651648001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:15:57] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-13 14:15:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-13 14:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24321686832676864,"km_value":24321686832676.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":816066356394493952,"description":"Unknown IO ID 45"} 
[2026-07-13 14:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686651648001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":816066356394493952}} 
[2026-07-13 14:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":130352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480170,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:15:57] local.INFO: GPS data processed {"connection_id":130352,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:15:57] local.INFO: Acknowledgment sent {"connection_id":130352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:16:12] local.INFO: TCP Data received {"connection_id":130353,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa50118012d7f914005afd938000e011b29..."} 
[2026-07-13 14:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa50118012d7f914005afd938000e011b29..."} 
[2026-07-13 14:16:12] local.INFO: Processing buffer {"connection_id":130353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa50118012d7f914005afd938000e011b29..."} 
[2026-07-13 14:16:12] local.INFO: Packet analysis {"connection_id":130353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa5"} 
[2026-07-13 14:16:12] local.INFO: Extracted packet for processing {"connection_id":130353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa5"} 
[2026-07-13 14:16:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686563840001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783932191000,"timestamp_ms":1783932191000,"timestamp_seconds":1783932191,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa50118"} 
[2026-07-13 14:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686563840001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686563840001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:16:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:16:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686563840001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":130353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:16:12] local.INFO: GPS data processed {"connection_id":130353,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:16:12] local.INFO: Acknowledgment sent {"connection_id":130353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:16:34] local.INFO: TCP Data received {"connection_id":130355,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:16:34] local.INFO: Processing buffer {"connection_id":130355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:16:34] local.INFO: IMEI packet received {"connection_id":130355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":130355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:16:39] local.INFO: TCP Data received {"connection_id":130355,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:16:39] local.INFO: Processing buffer {"connection_id":130355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:16:39] local.INFO: IMEI packet received {"connection_id":130355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":130355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:16:41] local.INFO: TCP Data received {"connection_id":130355,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa50118012d7f914005afd938000e011b29..."} 
[2026-07-13 14:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa50118012d7f914005afd938000e011b29..."} 
[2026-07-13 14:16:41] local.INFO: Processing buffer {"connection_id":130355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa50118012d7f914005afd938000e011b29..."} 
[2026-07-13 14:16:41] local.INFO: Packet analysis {"connection_id":130355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa5"} 
[2026-07-13 14:16:41] local.INFO: Extracted packet for processing {"connection_id":130355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa5"} 
[2026-07-13 14:16:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686563840001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783932191000,"timestamp_ms":1783932191000,"timestamp_seconds":1783932191,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa50118"} 
[2026-07-13 14:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686563840001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686563840001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:16:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:16:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686563840001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":130355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:16:41] local.INFO: GPS data processed {"connection_id":130355,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:16:41] local.INFO: Acknowledgment sent {"connection_id":130355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:16:49] local.INFO: TCP Data received {"connection_id":130571,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130571,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:16:49] local.INFO: Processing buffer {"connection_id":130571,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:16:49] local.INFO: IMEI packet received {"connection_id":130571,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 14:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":130571,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:17:11] local.INFO: TCP Data received {"connection_id":130571,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130571,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:17:11] local.INFO: Processing buffer {"connection_id":130571,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:17:11] local.INFO: IMEI packet received {"connection_id":130571,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 14:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":130571,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:17:12] local.INFO: TCP Data received {"connection_id":130355,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa50118012d7f914005afd938000e011b29..."} 
[2026-07-13 14:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa50118012d7f914005afd938000e011b29..."} 
[2026-07-13 14:17:12] local.INFO: Processing buffer {"connection_id":130355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa50118012d7f914005afd938000e011b29..."} 
[2026-07-13 14:17:12] local.INFO: Packet analysis {"connection_id":130355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa5"} 
[2026-07-13 14:17:12] local.INFO: Extracted packet for processing {"connection_id":130355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa5"} 
[2026-07-13 14:17:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686563840001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783932191000,"timestamp_ms":1783932191000,"timestamp_seconds":1783932191,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa50118"} 
[2026-07-13 14:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686563840001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686563840001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:17:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:17:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686563840001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":130355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:17:12] local.INFO: GPS data processed {"connection_id":130355,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:17:12] local.INFO: Acknowledgment sent {"connection_id":130355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:17:22] local.INFO: TCP Data received {"connection_id":131394,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131394,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:17:22] local.INFO: Processing buffer {"connection_id":131394,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:17:22] local.INFO: IMEI packet received {"connection_id":131394,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 14:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":131394,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:17:34] local.INFO: TCP Data received {"connection_id":132709,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:17:34] local.INFO: Processing buffer {"connection_id":132709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:17:34] local.INFO: IMEI packet received {"connection_id":132709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":132709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:17:39] local.INFO: TCP Data received {"connection_id":132709,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:17:39] local.INFO: Processing buffer {"connection_id":132709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:17:39] local.INFO: IMEI packet received {"connection_id":132709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":132709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:17:40] local.INFO: TCP Data received {"connection_id":132709,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa50118012d7f914005afd938000e011b29..."} 
[2026-07-13 14:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa50118012d7f914005afd938000e011b29..."} 
[2026-07-13 14:17:40] local.INFO: Processing buffer {"connection_id":132709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa50118012d7f914005afd938000e011b29..."} 
[2026-07-13 14:17:40] local.INFO: Packet analysis {"connection_id":132709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa5"} 
[2026-07-13 14:17:40] local.INFO: Extracted packet for processing {"connection_id":132709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa5"} 
[2026-07-13 14:17:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686563840001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783932191000,"timestamp_ms":1783932191000,"timestamp_seconds":1783932191,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa50118"} 
[2026-07-13 14:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686563840001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686563840001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:17:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:17:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686563840001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":132709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:17:40] local.INFO: GPS data processed {"connection_id":132709,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:17:40] local.INFO: Acknowledgment sent {"connection_id":132709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:18:00] local.INFO: TCP Data received {"connection_id":130357,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130357,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:18:00] local.INFO: Processing buffer {"connection_id":130357,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:18:00] local.INFO: IMEI packet received {"connection_id":130357,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 14:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":130357,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:18:12] local.INFO: TCP Data received {"connection_id":132709,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa50118012d7f914005afd938000e011b29..."} 
[2026-07-13 14:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa50118012d7f914005afd938000e011b29..."} 
[2026-07-13 14:18:12] local.INFO: Processing buffer {"connection_id":132709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa50118012d7f914005afd938000e011b29..."} 
[2026-07-13 14:18:12] local.INFO: Packet analysis {"connection_id":132709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa5"} 
[2026-07-13 14:18:12] local.INFO: Extracted packet for processing {"connection_id":132709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa5"} 
[2026-07-13 14:18:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686563840001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783932191000,"timestamp_ms":1783932191000,"timestamp_seconds":1783932191,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa50118"} 
[2026-07-13 14:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686563840001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686563840001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:18:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:18:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686563840001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":132709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:18:12] local.INFO: GPS data processed {"connection_id":132709,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:18:12] local.INFO: Acknowledgment sent {"connection_id":132709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:18:34] local.INFO: TCP Data received {"connection_id":130358,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:18:34] local.INFO: Processing buffer {"connection_id":130358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:18:34] local.INFO: IMEI packet received {"connection_id":130358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":130358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:18:39] local.INFO: TCP Data received {"connection_id":130358,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:18:39] local.INFO: Processing buffer {"connection_id":130358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:18:39] local.INFO: IMEI packet received {"connection_id":130358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":130358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:18:40] local.INFO: TCP Data received {"connection_id":130358,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa50118012d7f914005afd938000e011b29..."} 
[2026-07-13 14:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa50118012d7f914005afd938000e011b29..."} 
[2026-07-13 14:18:40] local.INFO: Processing buffer {"connection_id":130358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa50118012d7f914005afd938000e011b29..."} 
[2026-07-13 14:18:40] local.INFO: Packet analysis {"connection_id":130358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa5"} 
[2026-07-13 14:18:40] local.INFO: Extracted packet for processing {"connection_id":130358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa5"} 
[2026-07-13 14:18:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686563840001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783932191000,"timestamp_ms":1783932191000,"timestamp_seconds":1783932191,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa50118"} 
[2026-07-13 14:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686563840001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686563840001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:18:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:18:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686563840001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":130358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:18:40] local.INFO: GPS data processed {"connection_id":130358,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:18:40] local.INFO: Acknowledgment sent {"connection_id":130358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:18:45] local.INFO: TCP Data received {"connection_id":131396,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:18:45] local.INFO: Processing buffer {"connection_id":131396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:18:45] local.INFO: IMEI packet received {"connection_id":131396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 14:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":131396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:19:12] local.INFO: TCP Data received {"connection_id":130358,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa998e0012d7f914005afd938000e011b2b..."} 
[2026-07-13 14:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa998e0012d7f914005afd938000e011b2b..."} 
[2026-07-13 14:19:12] local.INFO: Processing buffer {"connection_id":130358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa998e0012d7f914005afd938000e011b2b..."} 
[2026-07-13 14:19:12] local.INFO: Packet analysis {"connection_id":130358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa9"} 
[2026-07-13 14:19:12] local.INFO: Extracted packet for processing {"connection_id":130358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa9"} 
[2026-07-13 14:19:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686640896001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783932492000,"timestamp_ms":1783932492000,"timestamp_seconds":1783932492,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa998e0"} 
[2026-07-13 14:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686640896001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686640896001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:19:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:19:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686640896001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":130358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:19:12] local.INFO: GPS data processed {"connection_id":130358,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:19:12] local.INFO: Acknowledgment sent {"connection_id":130358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:19:34] local.INFO: TCP Data received {"connection_id":132710,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:19:34] local.INFO: Processing buffer {"connection_id":132710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:19:34] local.INFO: IMEI packet received {"connection_id":132710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":132710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:19:39] local.INFO: TCP Data received {"connection_id":132710,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:19:39] local.INFO: Processing buffer {"connection_id":132710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:19:39] local.INFO: IMEI packet received {"connection_id":132710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":132710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:19:40] local.INFO: TCP Data received {"connection_id":132710,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa998e0012d7f914005afd938000e011b2b..."} 
[2026-07-13 14:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa998e0012d7f914005afd938000e011b2b..."} 
[2026-07-13 14:19:40] local.INFO: Processing buffer {"connection_id":132710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa998e0012d7f914005afd938000e011b2b..."} 
[2026-07-13 14:19:40] local.INFO: Packet analysis {"connection_id":132710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa9"} 
[2026-07-13 14:19:40] local.INFO: Extracted packet for processing {"connection_id":132710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa9"} 
[2026-07-13 14:19:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686640896001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783932492000,"timestamp_ms":1783932492000,"timestamp_seconds":1783932492,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa998e0"} 
[2026-07-13 14:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686640896001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686640896001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:19:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:19:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686640896001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":132710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:19:40] local.INFO: GPS data processed {"connection_id":132710,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:19:40] local.INFO: Acknowledgment sent {"connection_id":132710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:20:12] local.INFO: TCP Data received {"connection_id":132710,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa998e0012d7f914005afd938000e011b2b..."} 
[2026-07-13 14:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa998e0012d7f914005afd938000e011b2b..."} 
[2026-07-13 14:20:12] local.INFO: Processing buffer {"connection_id":132710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa998e0012d7f914005afd938000e011b2b..."} 
[2026-07-13 14:20:12] local.INFO: Packet analysis {"connection_id":132710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa9"} 
[2026-07-13 14:20:12] local.INFO: Extracted packet for processing {"connection_id":132710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa9"} 
[2026-07-13 14:20:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686640896001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783932492000,"timestamp_ms":1783932492000,"timestamp_seconds":1783932492,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa998e0"} 
[2026-07-13 14:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686640896001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686640896001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:20:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:20:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686640896001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":132710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:20:12] local.INFO: GPS data processed {"connection_id":132710,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:20:12] local.INFO: Acknowledgment sent {"connection_id":132710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:20:34] local.INFO: TCP Data received {"connection_id":130359,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:20:34] local.INFO: Processing buffer {"connection_id":130359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:20:34] local.INFO: IMEI packet received {"connection_id":130359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":130359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:20:39] local.INFO: TCP Data received {"connection_id":130359,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:20:39] local.INFO: Processing buffer {"connection_id":130359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:20:39] local.INFO: IMEI packet received {"connection_id":130359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":130359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:20:40] local.INFO: TCP Data received {"connection_id":130359,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa998e0012d7f914005afd938000e011b2b..."} 
[2026-07-13 14:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa998e0012d7f914005afd938000e011b2b..."} 
[2026-07-13 14:20:40] local.INFO: Processing buffer {"connection_id":130359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa998e0012d7f914005afd938000e011b2b..."} 
[2026-07-13 14:20:40] local.INFO: Packet analysis {"connection_id":130359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa9"} 
[2026-07-13 14:20:40] local.INFO: Extracted packet for processing {"connection_id":130359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa9"} 
[2026-07-13 14:20:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686640896001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783932492000,"timestamp_ms":1783932492000,"timestamp_seconds":1783932492,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa998e0"} 
[2026-07-13 14:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686640896001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686640896001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:20:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:20:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686640896001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":130359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:20:40] local.INFO: GPS data processed {"connection_id":130359,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:20:40] local.INFO: Acknowledgment sent {"connection_id":130359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:21:11] local.INFO: TCP Data received {"connection_id":130359,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa998e0012d7f914005afd938000e011b2b..."} 
[2026-07-13 14:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa998e0012d7f914005afd938000e011b2b..."} 
[2026-07-13 14:21:11] local.INFO: Processing buffer {"connection_id":130359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa998e0012d7f914005afd938000e011b2b..."} 
[2026-07-13 14:21:11] local.INFO: Packet analysis {"connection_id":130359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa9"} 
[2026-07-13 14:21:11] local.INFO: Extracted packet for processing {"connection_id":130359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa9"} 
[2026-07-13 14:21:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686640896001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783932492000,"timestamp_ms":1783932492000,"timestamp_seconds":1783932492,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa998e0"} 
[2026-07-13 14:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686640896001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686640896001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:21:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:21:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686640896001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":130359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:21:11] local.INFO: GPS data processed {"connection_id":130359,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:21:11] local.INFO: Acknowledgment sent {"connection_id":130359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:21:34] local.INFO: TCP Data received {"connection_id":131399,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:21:34] local.INFO: Processing buffer {"connection_id":131399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:21:34] local.INFO: IMEI packet received {"connection_id":131399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":131399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:21:39] local.INFO: TCP Data received {"connection_id":131399,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:21:40] local.INFO: Processing buffer {"connection_id":131399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:21:40] local.INFO: IMEI packet received {"connection_id":131399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":131399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:21:40] local.INFO: TCP Data received {"connection_id":131399,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa998e0012d7f914005afd938000e011b2b..."} 
[2026-07-13 14:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa998e0012d7f914005afd938000e011b2b..."} 
[2026-07-13 14:21:40] local.INFO: Processing buffer {"connection_id":131399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa998e0012d7f914005afd938000e011b2b..."} 
[2026-07-13 14:21:40] local.INFO: Packet analysis {"connection_id":131399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa9"} 
[2026-07-13 14:21:40] local.INFO: Extracted packet for processing {"connection_id":131399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa9"} 
[2026-07-13 14:21:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686640896001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783932492000,"timestamp_ms":1783932492000,"timestamp_seconds":1783932492,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa998e0"} 
[2026-07-13 14:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686640896001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686640896001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:21:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:21:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686640896001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":131399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:21:40] local.INFO: GPS data processed {"connection_id":131399,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:21:40] local.INFO: Acknowledgment sent {"connection_id":131399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:22:12] local.INFO: TCP Data received {"connection_id":131399,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa998e0012d7f914005afd938000e011b2b..."} 
[2026-07-13 14:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa998e0012d7f914005afd938000e011b2b..."} 
[2026-07-13 14:22:12] local.INFO: Processing buffer {"connection_id":131399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa998e0012d7f914005afd938000e011b2b..."} 
[2026-07-13 14:22:12] local.INFO: Packet analysis {"connection_id":131399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa9"} 
[2026-07-13 14:22:12] local.INFO: Extracted packet for processing {"connection_id":131399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa9"} 
[2026-07-13 14:22:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686640896001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783932492000,"timestamp_ms":1783932492000,"timestamp_seconds":1783932492,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa998e0"} 
[2026-07-13 14:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686640896001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686640896001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:22:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:22:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686640896001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":131399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:22:12] local.INFO: GPS data processed {"connection_id":131399,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:22:12] local.INFO: Acknowledgment sent {"connection_id":131399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:22:22] local.INFO: TCP Data received {"connection_id":130574,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130574,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:22:22] local.INFO: Processing buffer {"connection_id":130574,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:22:22] local.INFO: IMEI packet received {"connection_id":130574,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 14:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":130574,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:22:28] local.INFO: TCP Data received {"connection_id":130574,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130574,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:22:28] local.INFO: Processing buffer {"connection_id":130574,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:22:28] local.INFO: IMEI packet received {"connection_id":130574,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 14:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":130574,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:22:28] local.INFO: TCP Data received {"connection_id":130574,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aabbbc0012d0c26c00702aa50000f01091d..."} 
[2026-07-13 14:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aabbbc0012d0c26c00702aa50000f01091d..."} 
[2026-07-13 14:22:28] local.INFO: Processing buffer {"connection_id":130574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aabbbc0012d0c26c00702aa50000f01091d..."} 
[2026-07-13 14:22:28] local.INFO: Packet analysis {"connection_id":130574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aab"} 
[2026-07-13 14:22:28] local.INFO: Extracted packet for processing {"connection_id":130574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aab"} 
[2026-07-13 14:22:28] local.INFO: GPS Element Parsed {"raw_longitude":755771072,"raw_latitude":117615184,"longitude_deg":75.5771072,"latitude_deg":11.7615184,"altitude":15,"angle":265,"satellites":29,"speed":3,"hex_longitude":"2d0c26c0","hex_latitude":"0702aa50","is_valid_coordinates":true} 
[2026-07-13 14:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686753536001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24335611116650496,"note":"Value kept but may cause issues"} 
[2026-07-13 14:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875739051400525824,"note":"Value kept but may cause issues"} 
[2026-07-13 14:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783932632000,"timestamp_ms":1783932632000,"timestamp_seconds":1783932632,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aabbbc0"} 
[2026-07-13 14:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-13 14:22: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-07-13 14:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":130574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":130574,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":130574,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 14:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 14:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686753536001,"66":13961,"37":206,"94":11008,"24":3,"16":24335611116650496,"45":875739051400525824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-13 14:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 14:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 14:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686753536001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:22:28] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-13 14:22:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 14:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24335611116650496,"km_value":24335611116650.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":875739051400525824,"description":"Unknown IO ID 45"} 
[2026-07-13 14:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686753536001,"power":13961,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":875739051400525824}} 
[2026-07-13 14:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":130574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480184,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:22:29] local.INFO: GPS data processed {"connection_id":130574,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:22:29] local.INFO: Acknowledgment sent {"connection_id":130574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:22:34] local.INFO: TCP Data received {"connection_id":130361,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:22:34] local.INFO: Processing buffer {"connection_id":130361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:22:34] local.INFO: IMEI packet received {"connection_id":130361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":130361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:22:39] local.INFO: TCP Data received {"connection_id":130361,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:22:39] local.INFO: Processing buffer {"connection_id":130361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:22:39] local.INFO: IMEI packet received {"connection_id":130361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":130361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:22:40] local.INFO: TCP Data received {"connection_id":130361,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa998e0012d7f914005afd938000e011b2b..."} 
[2026-07-13 14:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa998e0012d7f914005afd938000e011b2b..."} 
[2026-07-13 14:22:40] local.INFO: Processing buffer {"connection_id":130361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa998e0012d7f914005afd938000e011b2b..."} 
[2026-07-13 14:22:40] local.INFO: Packet analysis {"connection_id":130361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa9"} 
[2026-07-13 14:22:40] local.INFO: Extracted packet for processing {"connection_id":130361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa9"} 
[2026-07-13 14:22:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686640896001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783932492000,"timestamp_ms":1783932492000,"timestamp_seconds":1783932492,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa998e0"} 
[2026-07-13 14:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686640896001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686640896001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:22:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:22:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686640896001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":130361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:22:40] local.INFO: GPS data processed {"connection_id":130361,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:22:40] local.INFO: Acknowledgment sent {"connection_id":130361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:23:00] local.INFO: TCP Data received {"connection_id":130574,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aace888012d0c27c00702aac0001e010921..."} 
[2026-07-13 14:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aace888012d0c27c00702aac0001e010921..."} 
[2026-07-13 14:23:00] local.INFO: Processing buffer {"connection_id":130574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aace888012d0c27c00702aac0001e010921..."} 
[2026-07-13 14:23:00] local.INFO: Packet analysis {"connection_id":130574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aac"} 
[2026-07-13 14:23:00] local.INFO: Extracted packet for processing {"connection_id":130574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aac"} 
[2026-07-13 14:23:00] local.INFO: GPS Element Parsed {"raw_longitude":755771328,"raw_latitude":117615296,"longitude_deg":75.5771328,"latitude_deg":11.7615296,"altitude":30,"angle":265,"satellites":33,"speed":0,"hex_longitude":"2d0c27c0","hex_latitude":"0702aac0","is_valid_coordinates":true} 
[2026-07-13 14:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686753792001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24335611116650496,"note":"Value kept but may cause issues"} 
[2026-07-13 14:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875598313912160256,"note":"Value kept but may cause issues"} 
[2026-07-13 14:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783932709000,"timestamp_ms":1783932709000,"timestamp_seconds":1783932709,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aace888"} 
[2026-07-13 14:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-13 14:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":130574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":130574,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":130574,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 14:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 14:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686753792001,"66":13015,"37":206,"94":11008,"24":0,"16":24335611116650496,"45":875598313912160256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-13 14:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 14:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 14:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686753792001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:23:00] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-13 14:23:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 14:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24335611116650496,"km_value":24335611116650.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":875598313912160256,"description":"Unknown IO ID 45"} 
[2026-07-13 14:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686753792001,"power":13015,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":875598313912160256}} 
[2026-07-13 14:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":130574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480186,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:23:00] local.INFO: GPS data processed {"connection_id":130574,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:23:00] local.INFO: Acknowledgment sent {"connection_id":130574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:23:12] local.INFO: TCP Data received {"connection_id":130361,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa998e0012d7f914005afd938000e011b2b..."} 
[2026-07-13 14:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa998e0012d7f914005afd938000e011b2b..."} 
[2026-07-13 14:23:12] local.INFO: Processing buffer {"connection_id":130361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa998e0012d7f914005afd938000e011b2b..."} 
[2026-07-13 14:23:12] local.INFO: Packet analysis {"connection_id":130361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa9"} 
[2026-07-13 14:23:12] local.INFO: Extracted packet for processing {"connection_id":130361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa9"} 
[2026-07-13 14:23:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686640896001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783932492000,"timestamp_ms":1783932492000,"timestamp_seconds":1783932492,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa998e0"} 
[2026-07-13 14:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686640896001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686640896001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:23:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:23:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686640896001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":130361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:23:12] local.INFO: GPS data processed {"connection_id":130361,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:23:12] local.INFO: Acknowledgment sent {"connection_id":130361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:23:23] local.INFO: TCP Data received {"connection_id":132712,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132712,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:23:23] local.INFO: Processing buffer {"connection_id":132712,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:23:23] local.INFO: IMEI packet received {"connection_id":132712,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 14:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":132712,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:23:27] local.INFO: TCP Data received {"connection_id":132712,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132712,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:23:27] local.INFO: Processing buffer {"connection_id":132712,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:23:27] local.INFO: IMEI packet received {"connection_id":132712,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 14:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":132712,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:23:27] local.INFO: TCP Data received {"connection_id":132712,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132712,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:23:27] local.INFO: Processing buffer {"connection_id":132712,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:23:27] local.INFO: IMEI packet received {"connection_id":132712,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 14:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":132712,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:23:30] local.INFO: TCP Data received {"connection_id":132712,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132712,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:23:30] local.INFO: Processing buffer {"connection_id":132712,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:23:30] local.INFO: IMEI packet received {"connection_id":132712,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 14:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":132712,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:23:30] local.INFO: TCP Data received {"connection_id":132712,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aae1168012d0bf6800702a1a0001900f522..."} 
[2026-07-13 14:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aae1168012d0bf6800702a1a0001900f522..."} 
[2026-07-13 14:23:30] local.INFO: Processing buffer {"connection_id":132712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aae1168012d0bf6800702a1a0001900f522..."} 
[2026-07-13 14:23:30] local.INFO: Packet analysis {"connection_id":132712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aae"} 
[2026-07-13 14:23:30] local.INFO: Extracted packet for processing {"connection_id":132712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aae"} 
[2026-07-13 14:23:30] local.INFO: GPS Element Parsed {"raw_longitude":755758720,"raw_latitude":117612960,"longitude_deg":75.575872,"latitude_deg":11.761296,"altitude":25,"angle":245,"satellites":34,"speed":12,"hex_longitude":"2d0bf680","hex_latitude":"0702a1a0","is_valid_coordinates":true} 
[2026-07-13 14:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686792448001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24336242476843008,"note":"Value kept but may cause issues"} 
[2026-07-13 14:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862720833727162368,"note":"Value kept but may cause issues"} 
[2026-07-13 14:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783932785000,"timestamp_ms":1783932785000,"timestamp_seconds":1783932785,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aae1168"} 
[2026-07-13 14:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:23: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-07-13 14: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-13 14:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":132712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":132712,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":132712,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 14:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 14:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686792448001,"66":14428,"37":206,"94":11008,"24":12,"16":24336242476843008,"45":862720833727162368},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-13 14:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 14:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 14:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686792448001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:23:30] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-13 14:23:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 14:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24336242476843008,"km_value":24336242476843.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":862720833727162368,"description":"Unknown IO ID 45"} 
[2026-07-13 14:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686792448001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":862720833727162368}} 
[2026-07-13 14:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":132712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480188,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:23:31] local.INFO: GPS data processed {"connection_id":132712,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:23:31] local.INFO: Acknowledgment sent {"connection_id":132712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:23:33] local.INFO: TCP Data received {"connection_id":132712,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aae1938012d0bf4400702a0f00019010a22..."} 
[2026-07-13 14:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aae1938012d0bf4400702a0f00019010a22..."} 
[2026-07-13 14:23:33] local.INFO: Processing buffer {"connection_id":132712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aae1938012d0bf4400702a0f00019010a22..."} 
[2026-07-13 14:23:33] local.INFO: Packet analysis {"connection_id":132712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aae"} 
[2026-07-13 14:23:33] local.INFO: Extracted packet for processing {"connection_id":132712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aae"} 
[2026-07-13 14:23:33] local.INFO: GPS Element Parsed {"raw_longitude":755758144,"raw_latitude":117612784,"longitude_deg":75.5758144,"latitude_deg":11.7612784,"altitude":25,"angle":266,"satellites":34,"speed":12,"hex_longitude":"2d0bf440","hex_latitude":"0702a0f0","is_valid_coordinates":true} 
[2026-07-13 14:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686792960001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24336272541614080,"note":"Value kept but may cause issues"} 
[2026-07-13 14:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862017146285301760,"note":"Value kept but may cause issues"} 
[2026-07-13 14:23: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-07-13 14:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783932787000,"timestamp_ms":1783932787000,"timestamp_seconds":1783932787,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aae1938"} 
[2026-07-13 14:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 14:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":132712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":132712,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":132712,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 14:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 14:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686792960001,"66":14396,"37":206,"94":11008,"24":12,"16":24336272541614080,"45":862017146285301760},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-13 14:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 14:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 14:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686792960001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:23:33] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-13 14:23:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 14:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24336272541614080,"km_value":24336272541614.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":862017146285301760,"description":"Unknown IO ID 45"} 
[2026-07-13 14:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686792960001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":862017146285301760}} 
[2026-07-13 14:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":132712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480189,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:23:33] local.INFO: GPS data processed {"connection_id":132712,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:23:33] local.INFO: Acknowledgment sent {"connection_id":132712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:23:34] local.INFO: TCP Data received {"connection_id":130576,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:23:34] local.INFO: Processing buffer {"connection_id":130576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:23:34] local.INFO: IMEI packet received {"connection_id":130576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":130576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:23:39] local.INFO: TCP Data received {"connection_id":130576,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:23:39] local.INFO: Processing buffer {"connection_id":130576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:23:39] local.INFO: IMEI packet received {"connection_id":130576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":130576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:23:40] local.INFO: TCP Data received {"connection_id":130576,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aa998e0012d7f914005afd938000e011b2b..."} 
[2026-07-13 14:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aa998e0012d7f914005afd938000e011b2b..."} 
[2026-07-13 14:23:40] local.INFO: Processing buffer {"connection_id":130576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aa998e0012d7f914005afd938000e011b2b..."} 
[2026-07-13 14:23:40] local.INFO: Packet analysis {"connection_id":130576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aa9"} 
[2026-07-13 14:23:40] local.INFO: Extracted packet for processing {"connection_id":130576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aa9"} 
[2026-07-13 14:23:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686640896001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783932492000,"timestamp_ms":1783932492000,"timestamp_seconds":1783932492,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aa998e0"} 
[2026-07-13 14:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686640896001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686640896001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:23:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:23:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686640896001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":130576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:23:40] local.INFO: GPS data processed {"connection_id":130576,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:23:40] local.INFO: Acknowledgment sent {"connection_id":130576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:24:04] local.INFO: TCP Data received {"connection_id":132712,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aae2108012d0bf2000702a0c80018011522..."} 
[2026-07-13 14:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aae2108012d0bf2000702a0c80018011522..."} 
[2026-07-13 14:24:04] local.INFO: Processing buffer {"connection_id":132712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aae2108012d0bf2000702a0c80018011522..."} 
[2026-07-13 14:24:04] local.INFO: Packet analysis {"connection_id":132712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aae"} 
[2026-07-13 14:24:04] local.INFO: Extracted packet for processing {"connection_id":132712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aae"} 
[2026-07-13 14:24:04] local.INFO: GPS Element Parsed {"raw_longitude":755757568,"raw_latitude":117612744,"longitude_deg":75.5757568,"latitude_deg":11.7612744,"altitude":24,"angle":277,"satellites":34,"speed":10,"hex_longitude":"2d0bf200","hex_latitude":"0702a0c8","is_valid_coordinates":true} 
[2026-07-13 14:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686793472001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24336298311417856,"note":"Value kept but may cause issues"} 
[2026-07-13 14:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":861383827587657728,"note":"Value kept but may cause issues"} 
[2026-07-13 14:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783932789000,"timestamp_ms":1783932789000,"timestamp_seconds":1783932789,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aae2108"} 
[2026-07-13 14:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-13 14:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132712,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132712,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 14:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 14:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686793472001,"66":13722,"37":206,"94":11008,"24":10,"16":24336298311417856,"45":861383827587657728},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-07-13 14:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 14:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 14:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686793472001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:24:04] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-13 14:24:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 14:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24336298311417856,"km_value":24336298311417.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":861383827587657728,"description":"Unknown IO ID 45"} 
[2026-07-13 14:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686793472001,"power":13722,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":861383827587657728}} 
[2026-07-13 14:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":132712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480191,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:24:04] local.INFO: GPS data processed {"connection_id":132712,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:24:04] local.INFO: Acknowledgment sent {"connection_id":132712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:24:11] local.INFO: TCP Data received {"connection_id":130576,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:24:11] local.INFO: Processing buffer {"connection_id":130576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:24:11] local.INFO: Packet analysis {"connection_id":130576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aae"} 
[2026-07-13 14:24:11] local.INFO: Extracted packet for processing {"connection_id":130576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aae"} 
[2026-07-13 14:24:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14: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-07-13 14:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686717952001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783932793000,"timestamp_ms":1783932793000,"timestamp_seconds":1783932793,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aae30a8"} 
[2026-07-13 14:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14: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-07-13 14:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686717952001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686717952001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:24:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:24:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686717952001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":130576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:24:11] local.INFO: GPS data processed {"connection_id":130576,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:24:11] local.INFO: Acknowledgment sent {"connection_id":130576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:24:22] local.INFO: TCP Data received {"connection_id":132713,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132713,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:24:22] local.INFO: Processing buffer {"connection_id":132713,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:24:22] local.INFO: IMEI packet received {"connection_id":132713,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 14:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":132713,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:24:23] local.INFO: TCP Data received {"connection_id":132713,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132713,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:24:23] local.INFO: Processing buffer {"connection_id":132713,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:24:23] local.INFO: IMEI packet received {"connection_id":132713,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 14:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":132713,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:24:29] local.INFO: TCP Data received {"connection_id":132713,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132713,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:24:29] local.INFO: Processing buffer {"connection_id":132713,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:24:29] local.INFO: IMEI packet received {"connection_id":132713,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 14:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":132713,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:24:31] local.INFO: TCP Data received {"connection_id":132713,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aaf22d8012d0b9a000702abd8000e010a1f..."} 
[2026-07-13 14:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aaf22d8012d0b9a000702abd8000e010a1f..."} 
[2026-07-13 14:24:31] local.INFO: Processing buffer {"connection_id":132713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aaf22d8012d0b9a000702abd8000e010a1f..."} 
[2026-07-13 14:24:31] local.INFO: Packet analysis {"connection_id":132713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aaf"} 
[2026-07-13 14:24:31] local.INFO: Extracted packet for processing {"connection_id":132713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aaf"} 
[2026-07-13 14:24:31] local.INFO: GPS Element Parsed {"raw_longitude":755735040,"raw_latitude":117615576,"longitude_deg":75.573504,"latitude_deg":11.7615576,"altitude":14,"angle":266,"satellites":31,"speed":21,"hex_longitude":"2d0b9a00","hex_latitude":"0702abd8","is_valid_coordinates":true} 
[2026-07-13 14:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686808320001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24337457952587776,"note":"Value kept but may cause issues"} 
[2026-07-13 14:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":841047260521035776,"note":"Value kept but may cause issues"} 
[2026-07-13 14:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783932855000,"timestamp_ms":1783932855000,"timestamp_seconds":1783932855,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aaf22d8"} 
[2026-07-13 14:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14: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-07-13 14: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-13 14:24: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-07-13 14:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":132713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":132713,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":132713,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 14:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 14:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686808320001,"66":14396,"17":206,"94":11008,"24":21,"16":24337457952587776,"45":841047260521035776},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-13 14:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 14:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 14:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686808320001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:24:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 14:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24337457952587776,"km_value":24337457952587.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":841047260521035776,"description":"Unknown IO ID 45"} 
[2026-07-13 14:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686808320001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":841047260521035776}} 
[2026-07-13 14:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":132713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480193,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:24:31] local.INFO: GPS data processed {"connection_id":132713,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:24:31] local.INFO: Acknowledgment sent {"connection_id":132713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:24:34] local.INFO: TCP Data received {"connection_id":131400,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:24:34] local.INFO: Processing buffer {"connection_id":131400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:24:34] local.INFO: IMEI packet received {"connection_id":131400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":131400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:24:39] local.INFO: TCP Data received {"connection_id":131400,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:24:39] local.INFO: Processing buffer {"connection_id":131400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:24:39] local.INFO: IMEI packet received {"connection_id":131400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":131400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:24:40] local.INFO: TCP Data received {"connection_id":130362,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130362,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:24:40] local.INFO: Processing buffer {"connection_id":130362,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:24:40] local.INFO: IMEI packet received {"connection_id":130362,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 14:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":130362,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:24:40] local.INFO: TCP Data received {"connection_id":131400,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:24:40] local.INFO: Processing buffer {"connection_id":131400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:24:40] local.INFO: Packet analysis {"connection_id":131400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aae"} 
[2026-07-13 14:24:40] local.INFO: Extracted packet for processing {"connection_id":131400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aae"} 
[2026-07-13 14:24:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686717952001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783932793000,"timestamp_ms":1783932793000,"timestamp_seconds":1783932793,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aae30a8"} 
[2026-07-13 14:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:24: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-07-13 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686717952001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686717952001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:24:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:24:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686717952001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":131400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:24:40] local.INFO: GPS data processed {"connection_id":131400,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:24:40] local.INFO: Acknowledgment sent {"connection_id":131400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:25:04] local.INFO: TCP Data received {"connection_id":132713,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aaf3660012d0b8f000702ac90000c01171f..."} 
[2026-07-13 14:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aaf3660012d0b8f000702ac90000c01171f..."} 
[2026-07-13 14:25:04] local.INFO: Processing buffer {"connection_id":132713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aaf3660012d0b8f000702ac90000c01171f..."} 
[2026-07-13 14:25:04] local.INFO: Packet analysis {"connection_id":132713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aaf"} 
[2026-07-13 14:25:04] local.INFO: Extracted packet for processing {"connection_id":132713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aaf"} 
[2026-07-13 14:25:04] local.INFO: GPS Element Parsed {"raw_longitude":755732224,"raw_latitude":117615760,"longitude_deg":75.5732224,"latitude_deg":11.761576,"altitude":12,"angle":279,"satellites":31,"speed":15,"hex_longitude":"2d0b8f00","hex_latitude":"0702ac90","is_valid_coordinates":true} 
[2026-07-13 14:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686810880001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":24337595391541248,"note":"Value kept but may cause issues"} 
[2026-07-13 14:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":835980710940235776,"note":"Value kept but may cause issues"} 
[2026-07-13 14:25: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-07-13 14:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783932860000,"timestamp_ms":1783932860000,"timestamp_seconds":1783932860,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aaf3660"} 
[2026-07-13 14:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-13 14:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132713,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132713,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-13 14:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-13 14:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-13 14:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686810880001,"66":14396,"17":206,"94":11008,"24":15,"16":24337595391541248,"45":835980710940235776},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-07-13 14:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-07-13 14:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-07-13 14:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686810880001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:25:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-13 14:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":24337595391541248,"km_value":24337595391541.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":835980710940235776,"description":"Unknown IO ID 45"} 
[2026-07-13 14:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686810880001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":835980710940235776}} 
[2026-07-13 14:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":132713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480195,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:25:04] local.INFO: GPS data processed {"connection_id":132713,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:25:04] local.INFO: Acknowledgment sent {"connection_id":132713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:25:12] local.INFO: TCP Data received {"connection_id":131400,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:25:12] local.INFO: Processing buffer {"connection_id":131400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:25:12] local.INFO: Packet analysis {"connection_id":131400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aae"} 
[2026-07-13 14:25:12] local.INFO: Extracted packet for processing {"connection_id":131400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aae"} 
[2026-07-13 14:25:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686717952001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783932793000,"timestamp_ms":1783932793000,"timestamp_seconds":1783932793,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aae30a8"} 
[2026-07-13 14:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686717952001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686717952001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:25:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:25:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686717952001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":131400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:25:12] local.INFO: GPS data processed {"connection_id":131400,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:25:12] local.INFO: Acknowledgment sent {"connection_id":131400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:25:34] local.INFO: TCP Data received {"connection_id":130364,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130364,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:25:34] local.INFO: Processing buffer {"connection_id":130364,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:25:34] local.INFO: IMEI packet received {"connection_id":130364,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-13 14:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":130364,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:25:34] local.INFO: TCP Data received {"connection_id":130363,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:25:34] local.INFO: Processing buffer {"connection_id":130363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:25:34] local.INFO: IMEI packet received {"connection_id":130363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":130363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:25:37] local.INFO: TCP Data received {"connection_id":130364,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130364,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:25:37] local.INFO: Processing buffer {"connection_id":130364,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-13 14:25:37] local.INFO: IMEI packet received {"connection_id":130364,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 14:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":130364,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:25:37] local.INFO: TCP Data received {"connection_id":130364,"ip":"42.106.6.26","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-13 14:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130364,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-13 14:25:37] local.INFO: Processing buffer {"connection_id":130364,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-13 14:25:37] local.INFO: IMEI packet received {"connection_id":130364,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-13 14:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":130364,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:25:39] local.INFO: TCP Data received {"connection_id":130363,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:25:39] local.INFO: Processing buffer {"connection_id":130363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:25:39] local.INFO: IMEI packet received {"connection_id":130363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":130363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:25:40] local.INFO: TCP Data received {"connection_id":130363,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:25:40] local.INFO: Processing buffer {"connection_id":130363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:25:40] local.INFO: Packet analysis {"connection_id":130363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aae"} 
[2026-07-13 14:25:40] local.INFO: Extracted packet for processing {"connection_id":130363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aae"} 
[2026-07-13 14:25:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14: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-07-13 14:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686717952001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783932793000,"timestamp_ms":1783932793000,"timestamp_seconds":1783932793,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aae30a8"} 
[2026-07-13 14:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:25: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-07-13 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14: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-07-13 14:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686717952001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686717952001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:25:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:25:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686717952001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":130363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:25:40] local.INFO: GPS data processed {"connection_id":130363,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:25:40] local.INFO: Acknowledgment sent {"connection_id":130363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:26:11] local.INFO: TCP Data received {"connection_id":130363,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:26:11] local.INFO: Processing buffer {"connection_id":130363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:26:11] local.INFO: Packet analysis {"connection_id":130363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aae"} 
[2026-07-13 14:26:11] local.INFO: Extracted packet for processing {"connection_id":130363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aae"} 
[2026-07-13 14:26:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686717952001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783932793000,"timestamp_ms":1783932793000,"timestamp_seconds":1783932793,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aae30a8"} 
[2026-07-13 14:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686717952001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686717952001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:26:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:26:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686717952001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":130363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:26:11] local.INFO: GPS data processed {"connection_id":130363,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:26:11] local.INFO: Acknowledgment sent {"connection_id":130363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:26:34] local.INFO: TCP Data received {"connection_id":131402,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:26:34] local.INFO: Processing buffer {"connection_id":131402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:26:34] local.INFO: IMEI packet received {"connection_id":131402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":131402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:26:39] local.INFO: TCP Data received {"connection_id":131402,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:26:39] local.INFO: Processing buffer {"connection_id":131402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:26:39] local.INFO: IMEI packet received {"connection_id":131402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":131402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:26:40] local.INFO: TCP Data received {"connection_id":131402,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:26:40] local.INFO: Processing buffer {"connection_id":131402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:26:40] local.INFO: Packet analysis {"connection_id":131402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aae"} 
[2026-07-13 14:26:40] local.INFO: Extracted packet for processing {"connection_id":131402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aae"} 
[2026-07-13 14:26:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686717952001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783932793000,"timestamp_ms":1783932793000,"timestamp_seconds":1783932793,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aae30a8"} 
[2026-07-13 14:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:26: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-07-13 14:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686717952001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686717952001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:26:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:26:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686717952001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":131402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:26:40] local.INFO: GPS data processed {"connection_id":131402,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:26:40] local.INFO: Acknowledgment sent {"connection_id":131402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:27:11] local.INFO: TCP Data received {"connection_id":131402,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:27:11] local.INFO: Processing buffer {"connection_id":131402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:27:11] local.INFO: Packet analysis {"connection_id":131402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aae"} 
[2026-07-13 14:27:11] local.INFO: Extracted packet for processing {"connection_id":131402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aae"} 
[2026-07-13 14:27:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686717952001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783932793000,"timestamp_ms":1783932793000,"timestamp_seconds":1783932793,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aae30a8"} 
[2026-07-13 14:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686717952001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686717952001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:27:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:27:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686717952001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":131402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:27:11] local.INFO: GPS data processed {"connection_id":131402,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:27:11] local.INFO: Acknowledgment sent {"connection_id":131402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:27:34] local.INFO: TCP Data received {"connection_id":131403,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:27:34] local.INFO: Processing buffer {"connection_id":131403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:27:34] local.INFO: IMEI packet received {"connection_id":131403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":131403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:27:39] local.INFO: TCP Data received {"connection_id":131403,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:27:39] local.INFO: Processing buffer {"connection_id":131403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:27:39] local.INFO: IMEI packet received {"connection_id":131403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":131403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:27:40] local.INFO: TCP Data received {"connection_id":131403,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:27:40] local.INFO: Processing buffer {"connection_id":131403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:27:40] local.INFO: Packet analysis {"connection_id":131403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aae"} 
[2026-07-13 14:27:40] local.INFO: Extracted packet for processing {"connection_id":131403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aae"} 
[2026-07-13 14:27:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686717952001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783932793000,"timestamp_ms":1783932793000,"timestamp_seconds":1783932793,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aae30a8"} 
[2026-07-13 14:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:27: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-07-13 14:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686717952001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686717952001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:27:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:27:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686717952001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":131403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:27:40] local.INFO: GPS data processed {"connection_id":131403,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:27:40] local.INFO: Acknowledgment sent {"connection_id":131403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:28:11] local.INFO: TCP Data received {"connection_id":131403,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:28:11] local.INFO: Processing buffer {"connection_id":131403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:28:11] local.INFO: Packet analysis {"connection_id":131403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aae"} 
[2026-07-13 14:28:11] local.INFO: Extracted packet for processing {"connection_id":131403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aae"} 
[2026-07-13 14:28:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686717952001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783932793000,"timestamp_ms":1783932793000,"timestamp_seconds":1783932793,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aae30a8"} 
[2026-07-13 14:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686717952001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686717952001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:28:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:28:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686717952001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":131403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:28:12] local.INFO: GPS data processed {"connection_id":131403,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:28:12] local.INFO: Acknowledgment sent {"connection_id":131403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:28:39] local.INFO: TCP Data received {"connection_id":132715,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:28:39] local.INFO: Processing buffer {"connection_id":132715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:28:39] local.INFO: IMEI packet received {"connection_id":132715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":132715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:28:44] local.INFO: TCP Data received {"connection_id":132715,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:28:44] local.INFO: Processing buffer {"connection_id":132715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:28:44] local.INFO: IMEI packet received {"connection_id":132715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":132715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:28:45] local.INFO: TCP Data received {"connection_id":132715,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:28:45] local.INFO: Processing buffer {"connection_id":132715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:28:45] local.INFO: Packet analysis {"connection_id":132715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aae"} 
[2026-07-13 14:28:45] local.INFO: Extracted packet for processing {"connection_id":132715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aae"} 
[2026-07-13 14:28:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686717952001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783932793000,"timestamp_ms":1783932793000,"timestamp_seconds":1783932793,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aae30a8"} 
[2026-07-13 14:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686717952001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686717952001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:28:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:28:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686717952001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":132715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:28:45] local.INFO: GPS data processed {"connection_id":132715,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:28:45] local.INFO: Acknowledgment sent {"connection_id":132715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:28:50] local.INFO: TCP Data received {"connection_id":132715,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:28:50] local.INFO: Processing buffer {"connection_id":132715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aae30a8012d7f914005afd938000f011b29..."} 
[2026-07-13 14:28:50] local.INFO: Packet analysis {"connection_id":132715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aae"} 
[2026-07-13 14:28:50] local.INFO: Extracted packet for processing {"connection_id":132715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aae"} 
[2026-07-13 14:28:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 14:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686717952001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783932793000,"timestamp_ms":1783932793000,"timestamp_seconds":1783932793,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aae30a8"} 
[2026-07-13 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-07-13 14:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:28: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-07-13 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-07-13 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-07-13 14:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":132715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":132715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":132715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:28: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-07-13 14:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686717952001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686717952001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:28:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:28:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686717952001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":132715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:28:50] local.INFO: GPS data processed {"connection_id":132715,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:28:50] local.INFO: Acknowledgment sent {"connection_id":132715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:29:34] local.INFO: TCP Data received {"connection_id":130579,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:29:34] local.INFO: Processing buffer {"connection_id":130579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:29:34] local.INFO: IMEI packet received {"connection_id":130579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":130579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:29:39] local.INFO: TCP Data received {"connection_id":130579,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:29:39] local.INFO: Processing buffer {"connection_id":130579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:29:39] local.INFO: IMEI packet received {"connection_id":130579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":130579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:29:41] local.INFO: TCP Data received {"connection_id":130579,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab2c870012d7f914005afd938000e011b2a..."} 
[2026-07-13 14:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab2c870012d7f914005afd938000e011b2a..."} 
[2026-07-13 14:29:41] local.INFO: Processing buffer {"connection_id":130579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab2c870012d7f914005afd938000e011b2a..."} 
[2026-07-13 14:29:41] local.INFO: Packet analysis {"connection_id":130579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab2"} 
[2026-07-13 14:29:41] local.INFO: Extracted packet for processing {"connection_id":130579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab2"} 
[2026-07-13 14:29:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686795008001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783933094000,"timestamp_ms":1783933094000,"timestamp_seconds":1783933094,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab2c870"} 
[2026-07-13 14:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 14:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686795008001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686795008001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:29:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:29:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686795008001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":130579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:29:41] local.INFO: GPS data processed {"connection_id":130579,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:29:41] local.INFO: Acknowledgment sent {"connection_id":130579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:29:42] local.INFO: TCP Data received {"connection_id":130367,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130367,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:29:42] local.INFO: Processing buffer {"connection_id":130367,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:29:42] local.INFO: IMEI packet received {"connection_id":130367,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 14:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":130367,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:29:43] local.INFO: TCP Data received {"connection_id":130367,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130367,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:29:43] local.INFO: Processing buffer {"connection_id":130367,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:29:43] local.INFO: IMEI packet received {"connection_id":130367,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 14:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":130367,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:29:47] local.INFO: TCP Data received {"connection_id":130367,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130367,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:29:47] local.INFO: Processing buffer {"connection_id":130367,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:29:47] local.INFO: IMEI packet received {"connection_id":130367,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 14:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":130367,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:29:47] local.INFO: TCP Data received {"connection_id":130367,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-13 14:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130367,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-13 14:29:47] local.INFO: Processing buffer {"connection_id":130367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-13 14:29:47] local.INFO: Packet analysis {"connection_id":130367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-13 14:29:47] local.INFO: Extracted packet for processing {"connection_id":130367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-13 14:29:47] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 14:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105748674717417472,"note":"Value kept but may cause issues"} 
[2026-07-13 14:29:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,169,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 14:29:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 14:29:47] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-13 14:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130367,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130367,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-13 14:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130367,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-13 14:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-13 14:29:47] local.WARNING: DEBUG: No valid data to process  
[2026-07-13 14:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":130367,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-13 14:29:47] local.ERROR: GPS data processing failed {"connection_id":130367,"error":"No valid data to process"} 
[2026-07-13 14:29:47] local.INFO: Acknowledgment sent {"connection_id":130367,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-13 14:30:10] local.INFO: TCP Data received {"connection_id":130580,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130580,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:30:10] local.INFO: Processing buffer {"connection_id":130580,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:30:10] local.INFO: IMEI packet received {"connection_id":130580,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 14:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":130580,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:30:12] local.INFO: TCP Data received {"connection_id":130579,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab2c870012d7f914005afd938000e011b2a..."} 
[2026-07-13 14:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab2c870012d7f914005afd938000e011b2a..."} 
[2026-07-13 14:30:12] local.INFO: Processing buffer {"connection_id":130579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab2c870012d7f914005afd938000e011b2a..."} 
[2026-07-13 14:30:12] local.INFO: Packet analysis {"connection_id":130579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab2"} 
[2026-07-13 14:30:12] local.INFO: Extracted packet for processing {"connection_id":130579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab2"} 
[2026-07-13 14:30:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686795008001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783933094000,"timestamp_ms":1783933094000,"timestamp_seconds":1783933094,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab2c870"} 
[2026-07-13 14:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 14:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686795008001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686795008001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:30:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:30:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686795008001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":130579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:30:12] local.INFO: GPS data processed {"connection_id":130579,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:30:12] local.INFO: Acknowledgment sent {"connection_id":130579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:30:18] local.INFO: TCP Data received {"connection_id":130367,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-13 14:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130367,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-13 14:30:18] local.INFO: Processing buffer {"connection_id":130367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-13 14:30:18] local.INFO: Packet analysis {"connection_id":130367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-13 14:30:18] local.INFO: Extracted packet for processing {"connection_id":130367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-13 14:30:18] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 14: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-07-13 14:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105748674717417472,"note":"Value kept but may cause issues"} 
[2026-07-13 14:30:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,169,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 14:30:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 14:30:18] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-13 14:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130367,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130367,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-13 14:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130367,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-13 14:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-13 14:30:18] local.WARNING: DEBUG: No valid data to process  
[2026-07-13 14:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":130367,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-13 14:30:18] local.ERROR: GPS data processing failed {"connection_id":130367,"error":"No valid data to process"} 
[2026-07-13 14:30:18] local.INFO: Acknowledgment sent {"connection_id":130367,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-13 14:30:35] local.INFO: TCP Data received {"connection_id":130581,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:30:35] local.INFO: Processing buffer {"connection_id":130581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:30:35] local.INFO: IMEI packet received {"connection_id":130581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":130581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:30:39] local.INFO: TCP Data received {"connection_id":130581,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:30:39] local.INFO: Processing buffer {"connection_id":130581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:30:39] local.INFO: IMEI packet received {"connection_id":130581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":130581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:30:40] local.INFO: TCP Data received {"connection_id":131404,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131404,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:30:40] local.INFO: Processing buffer {"connection_id":131404,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:30:40] local.INFO: IMEI packet received {"connection_id":131404,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 14:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":131404,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:30:40] local.INFO: TCP Data received {"connection_id":130581,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab2c870012d7f914005afd938000e011b2a..."} 
[2026-07-13 14:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab2c870012d7f914005afd938000e011b2a..."} 
[2026-07-13 14:30:40] local.INFO: Processing buffer {"connection_id":130581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab2c870012d7f914005afd938000e011b2a..."} 
[2026-07-13 14:30:40] local.INFO: Packet analysis {"connection_id":130581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab2"} 
[2026-07-13 14:30:40] local.INFO: Extracted packet for processing {"connection_id":130581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab2"} 
[2026-07-13 14:30:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686795008001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783933094000,"timestamp_ms":1783933094000,"timestamp_seconds":1783933094,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab2c870"} 
[2026-07-13 14:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:30: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-07-13 14:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 14:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686795008001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686795008001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:30:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:30:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686795008001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":130581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:30:40] local.INFO: GPS data processed {"connection_id":130581,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:30:40] local.INFO: Acknowledgment sent {"connection_id":130581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:30:49] local.INFO: TCP Data received {"connection_id":130367,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab4c0580100000000000000000000000000..."} 
[2026-07-13 14:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab4c0580100000000000000000000000000..."} 
[2026-07-13 14:30:49] local.INFO: Processing buffer {"connection_id":130367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab4c0580100000000000000000000000000..."} 
[2026-07-13 14:30:49] local.INFO: Packet analysis {"connection_id":130367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab4"} 
[2026-07-13 14:30:49] local.INFO: Extracted packet for processing {"connection_id":130367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab4"} 
[2026-07-13 14:30:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 14:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105748674717417472,"note":"Value kept but may cause issues"} 
[2026-07-13 14:30:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,169,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 14:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783933223000,"timestamp_ms":1783933223000,"timestamp_seconds":1783933223,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab4c058"} 
[2026-07-13 14:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-13 14:30: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-07-13 14:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 14:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 14:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":130367,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 14:30:49] local.INFO: GPS data processed {"connection_id":130367,"processed":0,"errors":0,"total":1} 
[2026-07-13 14:30:49] local.INFO: Acknowledgment sent {"connection_id":130367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:31:12] local.INFO: TCP Data received {"connection_id":130581,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab2c870012d7f914005afd938000e011b2a..."} 
[2026-07-13 14:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab2c870012d7f914005afd938000e011b2a..."} 
[2026-07-13 14:31:12] local.INFO: Processing buffer {"connection_id":130581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab2c870012d7f914005afd938000e011b2a..."} 
[2026-07-13 14:31:12] local.INFO: Packet analysis {"connection_id":130581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab2"} 
[2026-07-13 14:31:12] local.INFO: Extracted packet for processing {"connection_id":130581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab2"} 
[2026-07-13 14:31:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686795008001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783933094000,"timestamp_ms":1783933094000,"timestamp_seconds":1783933094,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab2c870"} 
[2026-07-13 14:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 14:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686795008001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686795008001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:31:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:31:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686795008001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":130581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:31:12] local.INFO: GPS data processed {"connection_id":130581,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:31:12] local.INFO: Acknowledgment sent {"connection_id":130581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:31:20] local.INFO: TCP Data received {"connection_id":130367,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab512600100000000000000000000000000..."} 
[2026-07-13 14:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab512600100000000000000000000000000..."} 
[2026-07-13 14:31:20] local.INFO: Processing buffer {"connection_id":130367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab512600100000000000000000000000000..."} 
[2026-07-13 14:31:20] local.INFO: Packet analysis {"connection_id":130367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab5"} 
[2026-07-13 14:31:20] local.INFO: Extracted packet for processing {"connection_id":130367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab5"} 
[2026-07-13 14:31: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-07-13 14: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-07-13 14:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105748674717417472,"note":"Value kept but may cause issues"} 
[2026-07-13 14:31:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,169,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 14:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783933244000,"timestamp_ms":1783933244000,"timestamp_seconds":1783933244,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab51260"} 
[2026-07-13 14:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 14:31:20] local.WARNING: Large IO value detected {"io_id":177,"raw_value":3690987520,"note":"Value kept but may cause issues"} 
[2026-07-13 14:31:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19423972483416623,"note":"Value kept but may cause issues"} 
[2026-07-13 14:31:20] local.WARNING: Large IO value detected {"io_id":124,"raw_value":57702370239184896,"note":"Value kept but may cause issues"} 
[2026-07-13 14:31:20] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2983985152,"note":"Value kept but may cause issues"} 
[2026-07-13 14:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2796734073733824507,"note":"Value kept but may cause issues"} 
[2026-07-13 14:31:20] local.WARNING: Large IO value detected {"io_id":220,"raw_value":-3805541685125374464,"note":"Value kept but may cause issues"} 
[2026-07-13 14:31:20] local.INFO: IO Element Parsed {"io_data_count":25,"io_data_keys":[0,169,85,24,241,157,16,177,9,10,66,183,27,1,240,124,4,113,205,239,2,47,119,45,220],"length":527,"final_offset":657,"validated_count":25,"validation_warnings":[]} 
[2026-07-13 14:31:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 14:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 14:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 14:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":130367,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 14:31:20] local.INFO: GPS data processed {"connection_id":130367,"processed":0,"errors":0,"total":1} 
[2026-07-13 14:31:20] local.INFO: Acknowledgment sent {"connection_id":130367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:31:34] local.INFO: TCP Data received {"connection_id":132716,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:31:34] local.INFO: Processing buffer {"connection_id":132716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:31:34] local.INFO: IMEI packet received {"connection_id":132716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":132716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:31:39] local.INFO: TCP Data received {"connection_id":132716,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:31:39] local.INFO: Processing buffer {"connection_id":132716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:31:39] local.INFO: IMEI packet received {"connection_id":132716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":132716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:31:40] local.INFO: TCP Data received {"connection_id":132716,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab2c870012d7f914005afd938000e011b2a..."} 
[2026-07-13 14:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab2c870012d7f914005afd938000e011b2a..."} 
[2026-07-13 14:31:40] local.INFO: Processing buffer {"connection_id":132716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab2c870012d7f914005afd938000e011b2a..."} 
[2026-07-13 14:31:40] local.INFO: Packet analysis {"connection_id":132716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab2"} 
[2026-07-13 14:31:40] local.INFO: Extracted packet for processing {"connection_id":132716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab2"} 
[2026-07-13 14:31:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686795008001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783933094000,"timestamp_ms":1783933094000,"timestamp_seconds":1783933094,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab2c870"} 
[2026-07-13 14:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:31: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-07-13 14:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 14:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686795008001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686795008001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:31:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:31:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686795008001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":132716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:31:40] local.INFO: GPS data processed {"connection_id":132716,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:31:40] local.INFO: Acknowledgment sent {"connection_id":132716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:31:52] local.INFO: TCP Data received {"connection_id":130367,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab564680100000000000000000000000000..."} 
[2026-07-13 14:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab564680100000000000000000000000000..."} 
[2026-07-13 14:31:52] local.INFO: Processing buffer {"connection_id":130367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab564680100000000000000000000000000..."} 
[2026-07-13 14:31:52] local.INFO: Packet analysis {"connection_id":130367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab5"} 
[2026-07-13 14:31:52] local.INFO: Extracted packet for processing {"connection_id":130367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab5"} 
[2026-07-13 14:31:52] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 14:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105748674717417472,"note":"Value kept but may cause issues"} 
[2026-07-13 14:31:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,50,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 14:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783933265000,"timestamp_ms":1783933265000,"timestamp_seconds":1783933265,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab56468"} 
[2026-07-13 14:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2304,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-13 14:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:31:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":130367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":130367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":130367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 14:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 14:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":130367,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 14:31:52] local.INFO: GPS data processed {"connection_id":130367,"processed":0,"errors":0,"total":1} 
[2026-07-13 14:31:52] local.INFO: Acknowledgment sent {"connection_id":130367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:32:11] local.INFO: TCP Data received {"connection_id":132716,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab2c870012d7f914005afd938000e011b2a..."} 
[2026-07-13 14:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab2c870012d7f914005afd938000e011b2a..."} 
[2026-07-13 14:32:11] local.INFO: Processing buffer {"connection_id":132716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab2c870012d7f914005afd938000e011b2a..."} 
[2026-07-13 14:32:11] local.INFO: Packet analysis {"connection_id":132716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab2"} 
[2026-07-13 14:32:11] local.INFO: Extracted packet for processing {"connection_id":132716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab2"} 
[2026-07-13 14:32:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686795008001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783933094000,"timestamp_ms":1783933094000,"timestamp_seconds":1783933094,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab2c870"} 
[2026-07-13 14:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 14:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686795008001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686795008001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:32:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:32:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686795008001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":132716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:32:11] local.INFO: GPS data processed {"connection_id":132716,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:32:11] local.INFO: Acknowledgment sent {"connection_id":132716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:32:23] local.INFO: TCP Data received {"connection_id":130367,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab5b6700100000000000000000000000000..."} 
[2026-07-13 14:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab5b6700100000000000000000000000000..."} 
[2026-07-13 14:32:23] local.INFO: Processing buffer {"connection_id":130367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab5b6700100000000000000000000000000..."} 
[2026-07-13 14:32:23] local.INFO: Packet analysis {"connection_id":130367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab5"} 
[2026-07-13 14:32:23] local.INFO: Extracted packet for processing {"connection_id":130367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab5"} 
[2026-07-13 14:32:23] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 14:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105748674717417472,"note":"Value kept but may cause issues"} 
[2026-07-13 14:32:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,50,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 14:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783933286000,"timestamp_ms":1783933286000,"timestamp_seconds":1783933286,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab5b670"} 
[2026-07-13 14:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-13 14:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":130367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":130367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":130367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 14:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 14:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":130367,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 14:32:23] local.INFO: GPS data processed {"connection_id":130367,"processed":0,"errors":0,"total":1} 
[2026-07-13 14:32:23] local.INFO: Acknowledgment sent {"connection_id":130367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:32:34] local.INFO: TCP Data received {"connection_id":130583,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:32:34] local.INFO: Processing buffer {"connection_id":130583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:32:34] local.INFO: IMEI packet received {"connection_id":130583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":130583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:32:39] local.INFO: TCP Data received {"connection_id":130583,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:32:39] local.INFO: Processing buffer {"connection_id":130583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:32:39] local.INFO: IMEI packet received {"connection_id":130583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":130583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:32:40] local.INFO: TCP Data received {"connection_id":130583,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab2c870012d7f914005afd938000e011b2a..."} 
[2026-07-13 14:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab2c870012d7f914005afd938000e011b2a..."} 
[2026-07-13 14:32:40] local.INFO: Processing buffer {"connection_id":130583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab2c870012d7f914005afd938000e011b2a..."} 
[2026-07-13 14:32:40] local.INFO: Packet analysis {"connection_id":130583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab2"} 
[2026-07-13 14:32:40] local.INFO: Extracted packet for processing {"connection_id":130583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab2"} 
[2026-07-13 14:32:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686795008001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783933094000,"timestamp_ms":1783933094000,"timestamp_seconds":1783933094,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab2c870"} 
[2026-07-13 14:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:32: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-07-13 14:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 14:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686795008001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686795008001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:32:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:32:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686795008001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":130583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:32:40] local.INFO: GPS data processed {"connection_id":130583,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:32:40] local.INFO: Acknowledgment sent {"connection_id":130583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:32:54] local.INFO: TCP Data received {"connection_id":130367,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab608780100000000000000000000000000..."} 
[2026-07-13 14:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab608780100000000000000000000000000..."} 
[2026-07-13 14:32:54] local.INFO: Processing buffer {"connection_id":130367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab608780100000000000000000000000000..."} 
[2026-07-13 14:32:54] local.INFO: Packet analysis {"connection_id":130367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab6"} 
[2026-07-13 14:32:54] local.INFO: Extracted packet for processing {"connection_id":130367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab6"} 
[2026-07-13 14:32:54] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 14:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105748674717417472,"note":"Value kept but may cause issues"} 
[2026-07-13 14:32:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,50,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 14:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783933307000,"timestamp_ms":1783933307000,"timestamp_seconds":1783933307,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab60878"} 
[2026-07-13 14:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-13 14:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 14:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 14:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":130367,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 14:32:54] local.INFO: GPS data processed {"connection_id":130367,"processed":0,"errors":0,"total":1} 
[2026-07-13 14:32:54] local.INFO: Acknowledgment sent {"connection_id":130367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:33:11] local.INFO: TCP Data received {"connection_id":130583,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab2c870012d7f914005afd938000e011b2a..."} 
[2026-07-13 14:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab2c870012d7f914005afd938000e011b2a..."} 
[2026-07-13 14:33:11] local.INFO: Processing buffer {"connection_id":130583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab2c870012d7f914005afd938000e011b2a..."} 
[2026-07-13 14:33:11] local.INFO: Packet analysis {"connection_id":130583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab2"} 
[2026-07-13 14:33:11] local.INFO: Extracted packet for processing {"connection_id":130583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab2"} 
[2026-07-13 14:33:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686795008001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783933094000,"timestamp_ms":1783933094000,"timestamp_seconds":1783933094,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab2c870"} 
[2026-07-13 14:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 14:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686795008001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686795008001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:33:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686795008001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":130583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:33:11] local.INFO: GPS data processed {"connection_id":130583,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:33:11] local.INFO: Acknowledgment sent {"connection_id":130583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:33:26] local.INFO: TCP Data received {"connection_id":130367,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab65a800100000000000000000000000000..."} 
[2026-07-13 14:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab65a800100000000000000000000000000..."} 
[2026-07-13 14:33:26] local.INFO: Processing buffer {"connection_id":130367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab65a800100000000000000000000000000..."} 
[2026-07-13 14:33:26] local.INFO: Packet analysis {"connection_id":130367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab6"} 
[2026-07-13 14:33:26] local.INFO: Extracted packet for processing {"connection_id":130367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab6"} 
[2026-07-13 14:33:26] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 14:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105748674717417472,"note":"Value kept but may cause issues"} 
[2026-07-13 14:33:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,49,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 14:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783933328000,"timestamp_ms":1783933328000,"timestamp_seconds":1783933328,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab65a80"} 
[2026-07-13 14:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 14:33:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:33:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":130367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":130367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":130367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:33:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 14:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 14:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":130367,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 14:33:26] local.INFO: GPS data processed {"connection_id":130367,"processed":0,"errors":0,"total":1} 
[2026-07-13 14:33:26] local.INFO: Acknowledgment sent {"connection_id":130367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:33:39] local.INFO: TCP Data received {"connection_id":130585,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:33:39] local.INFO: Processing buffer {"connection_id":130585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:33:39] local.INFO: IMEI packet received {"connection_id":130585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":130585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:33:44] local.INFO: TCP Data received {"connection_id":130585,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:33:44] local.INFO: Processing buffer {"connection_id":130585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:33:44] local.INFO: IMEI packet received {"connection_id":130585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":130585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:33:45] local.INFO: TCP Data received {"connection_id":130585,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab2c870012d7f914005afd938000e011b2a..."} 
[2026-07-13 14:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab2c870012d7f914005afd938000e011b2a..."} 
[2026-07-13 14:33:45] local.INFO: Processing buffer {"connection_id":130585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab2c870012d7f914005afd938000e011b2a..."} 
[2026-07-13 14:33:45] local.INFO: Packet analysis {"connection_id":130585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab2"} 
[2026-07-13 14:33:45] local.INFO: Extracted packet for processing {"connection_id":130585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab2"} 
[2026-07-13 14:33:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14: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-07-13 14:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686795008001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783933094000,"timestamp_ms":1783933094000,"timestamp_seconds":1783933094,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab2c870"} 
[2026-07-13 14:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 14:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14: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-07-13 14:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686795008001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686795008001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:33:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:33:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686795008001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":130585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:33:45] local.INFO: GPS data processed {"connection_id":130585,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:33:45] local.INFO: Acknowledgment sent {"connection_id":130585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:33:50] local.INFO: TCP Data received {"connection_id":130585,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab2c870012d7f914005afd938000e011b2a..."} 
[2026-07-13 14:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab2c870012d7f914005afd938000e011b2a..."} 
[2026-07-13 14:33:50] local.INFO: Processing buffer {"connection_id":130585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab2c870012d7f914005afd938000e011b2a..."} 
[2026-07-13 14:33:50] local.INFO: Packet analysis {"connection_id":130585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab2"} 
[2026-07-13 14:33:50] local.INFO: Extracted packet for processing {"connection_id":130585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab2"} 
[2026-07-13 14:33:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 14:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686795008001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783933094000,"timestamp_ms":1783933094000,"timestamp_seconds":1783933094,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab2c870"} 
[2026-07-13 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-07-13 14:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 14:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 14:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:33: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-07-13 14:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686795008001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686795008001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:33:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:33:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686795008001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":130585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:33:50] local.INFO: GPS data processed {"connection_id":130585,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:33:50] local.INFO: Acknowledgment sent {"connection_id":130585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:33:57] local.INFO: TCP Data received {"connection_id":130367,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab6ac880100000000000000000000000000..."} 
[2026-07-13 14:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab6ac880100000000000000000000000000..."} 
[2026-07-13 14:33:57] local.INFO: Processing buffer {"connection_id":130367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab6ac880100000000000000000000000000..."} 
[2026-07-13 14:33:57] local.INFO: Packet analysis {"connection_id":130367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab6"} 
[2026-07-13 14:33:57] local.INFO: Extracted packet for processing {"connection_id":130367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab6"} 
[2026-07-13 14:33:57] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 14:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105748674717417472,"note":"Value kept but may cause issues"} 
[2026-07-13 14:33:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,49,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 14:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783933349000,"timestamp_ms":1783933349000,"timestamp_seconds":1783933349,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab6ac88"} 
[2026-07-13 14:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-13 14:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:33:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":130367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":130367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":130367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 14:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 14:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":130367,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 14:33:57] local.INFO: GPS data processed {"connection_id":130367,"processed":0,"errors":0,"total":1} 
[2026-07-13 14:33:57] local.INFO: Acknowledgment sent {"connection_id":130367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:34:27] local.INFO: TCP Data received {"connection_id":132717,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132717,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:34:27] local.INFO: Processing buffer {"connection_id":132717,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:34:27] local.INFO: IMEI packet received {"connection_id":132717,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 14:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":132717,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:34:32] local.INFO: TCP Data received {"connection_id":132717,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132717,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:34:32] local.INFO: Processing buffer {"connection_id":132717,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:34:32] local.INFO: IMEI packet received {"connection_id":132717,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 14:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":132717,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:34:33] local.INFO: TCP Data received {"connection_id":132717,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab6fe900100000000000000000000000000..."} 
[2026-07-13 14:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab6fe900100000000000000000000000000..."} 
[2026-07-13 14:34:33] local.INFO: Processing buffer {"connection_id":132717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab6fe900100000000000000000000000000..."} 
[2026-07-13 14:34:33] local.INFO: Packet analysis {"connection_id":132717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab6"} 
[2026-07-13 14:34:33] local.INFO: Extracted packet for processing {"connection_id":132717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab6"} 
[2026-07-13 14:34:33] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 14:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105748674717417472,"note":"Value kept but may cause issues"} 
[2026-07-13 14:34:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,36,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 14:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783933370000,"timestamp_ms":1783933370000,"timestamp_seconds":1783933370,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab6fe90"} 
[2026-07-13 14:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 14:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":132717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":132717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":132717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 14:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 14:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":132717,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 14:34:33] local.INFO: GPS data processed {"connection_id":132717,"processed":0,"errors":0,"total":1} 
[2026-07-13 14:34:33] local.INFO: Acknowledgment sent {"connection_id":132717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:34:34] local.INFO: TCP Data received {"connection_id":132718,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:34:34] local.INFO: Processing buffer {"connection_id":132718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:34:34] local.INFO: IMEI packet received {"connection_id":132718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":132718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:34:36] local.INFO: TCP Data received {"connection_id":132717,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab750980100000000000000000000000000..."} 
[2026-07-13 14:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab750980100000000000000000000000000..."} 
[2026-07-13 14:34:36] local.INFO: Processing buffer {"connection_id":132717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab750980100000000000000000000000000..."} 
[2026-07-13 14:34:36] local.INFO: Packet analysis {"connection_id":132717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab7"} 
[2026-07-13 14:34:36] local.INFO: Extracted packet for processing {"connection_id":132717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab7"} 
[2026-07-13 14:34:36] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 14:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105748674717417472,"note":"Value kept but may cause issues"} 
[2026-07-13 14:34:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,35,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 14:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783933391000,"timestamp_ms":1783933391000,"timestamp_seconds":1783933391,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab75098"} 
[2026-07-13 14:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-13 14:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 14:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 14:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":132717,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 14:34:36] local.INFO: GPS data processed {"connection_id":132717,"processed":0,"errors":0,"total":1} 
[2026-07-13 14:34:36] local.INFO: Acknowledgment sent {"connection_id":132717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:34:39] local.INFO: TCP Data received {"connection_id":132718,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:34:39] local.INFO: Processing buffer {"connection_id":132718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:34:39] local.INFO: IMEI packet received {"connection_id":132718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":132718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:34:41] local.INFO: TCP Data received {"connection_id":132718,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab76038012d7f914005afd938000f011b28..."} 
[2026-07-13 14:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab76038012d7f914005afd938000f011b28..."} 
[2026-07-13 14:34:41] local.INFO: Processing buffer {"connection_id":132718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab76038012d7f914005afd938000f011b28..."} 
[2026-07-13 14:34:41] local.INFO: Packet analysis {"connection_id":132718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab7"} 
[2026-07-13 14:34:41] local.INFO: Extracted packet for processing {"connection_id":132718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab7"} 
[2026-07-13 14:34:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686872064001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783933395000,"timestamp_ms":1783933395000,"timestamp_seconds":1783933395,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab76038"} 
[2026-07-13 14:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 14:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686872064001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686872064001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:34:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686872064001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":132718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:34:41] local.INFO: GPS data processed {"connection_id":132718,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:34:41] local.INFO: Acknowledgment sent {"connection_id":132718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:35:07] local.INFO: TCP Data received {"connection_id":132717,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab7a2a00100000000000000000000000000..."} 
[2026-07-13 14:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab7a2a00100000000000000000000000000..."} 
[2026-07-13 14:35:07] local.INFO: Processing buffer {"connection_id":132717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab7a2a00100000000000000000000000000..."} 
[2026-07-13 14:35:07] local.INFO: Packet analysis {"connection_id":132717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab7"} 
[2026-07-13 14:35:07] local.INFO: Extracted packet for processing {"connection_id":132717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab7"} 
[2026-07-13 14:35:07] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 14:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105748674717417472,"note":"Value kept but may cause issues"} 
[2026-07-13 14:35:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,35,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 14:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783933412000,"timestamp_ms":1783933412000,"timestamp_seconds":1783933412,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab7a2a0"} 
[2026-07-13 14:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:35:07] 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-07-13 14:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-13 14:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 14:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 14:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":132717,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 14:35:07] local.INFO: GPS data processed {"connection_id":132717,"processed":0,"errors":0,"total":1} 
[2026-07-13 14:35:07] local.INFO: Acknowledgment sent {"connection_id":132717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:35:12] local.INFO: TCP Data received {"connection_id":132718,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab76038012d7f914005afd938000f011b28..."} 
[2026-07-13 14:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab76038012d7f914005afd938000f011b28..."} 
[2026-07-13 14:35:12] local.INFO: Processing buffer {"connection_id":132718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab76038012d7f914005afd938000f011b28..."} 
[2026-07-13 14:35:12] local.INFO: Packet analysis {"connection_id":132718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab7"} 
[2026-07-13 14:35:12] local.INFO: Extracted packet for processing {"connection_id":132718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab7"} 
[2026-07-13 14:35:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686872064001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783933395000,"timestamp_ms":1783933395000,"timestamp_seconds":1783933395,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab76038"} 
[2026-07-13 14:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 14:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686872064001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686872064001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:35:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:35:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686872064001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":132718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:35:12] local.INFO: GPS data processed {"connection_id":132718,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:35:12] local.INFO: Acknowledgment sent {"connection_id":132718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:35:34] local.INFO: TCP Data received {"connection_id":130369,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:35:34] local.INFO: Processing buffer {"connection_id":130369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:35:34] local.INFO: IMEI packet received {"connection_id":130369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":130369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:35:39] local.INFO: TCP Data received {"connection_id":130369,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:35:39] local.INFO: Processing buffer {"connection_id":130369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:35:39] local.INFO: IMEI packet received {"connection_id":130369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":130369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:35:40] local.INFO: TCP Data received {"connection_id":132717,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab7f4a80100000000000000000000000000..."} 
[2026-07-13 14:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab7f4a80100000000000000000000000000..."} 
[2026-07-13 14:35:40] local.INFO: Processing buffer {"connection_id":132717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab7f4a80100000000000000000000000000..."} 
[2026-07-13 14:35:40] local.INFO: Packet analysis {"connection_id":132717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab7"} 
[2026-07-13 14:35:40] local.INFO: Extracted packet for processing {"connection_id":132717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab7"} 
[2026-07-13 14:35: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-07-13 14:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105748674717417472,"note":"Value kept but may cause issues"} 
[2026-07-13 14:35:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,170,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 14:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783933433000,"timestamp_ms":1783933433000,"timestamp_seconds":1783933433,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab7f4a8"} 
[2026-07-13 14:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-13 14:35: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-07-13 14:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 14:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 14:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":132717,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 14:35:40] local.INFO: GPS data processed {"connection_id":132717,"processed":0,"errors":0,"total":1} 
[2026-07-13 14:35:40] local.INFO: Acknowledgment sent {"connection_id":132717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:35:41] local.INFO: TCP Data received {"connection_id":130369,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab76038012d7f914005afd938000f011b28..."} 
[2026-07-13 14:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab76038012d7f914005afd938000f011b28..."} 
[2026-07-13 14:35:41] local.INFO: Processing buffer {"connection_id":130369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab76038012d7f914005afd938000f011b28..."} 
[2026-07-13 14:35:41] local.INFO: Packet analysis {"connection_id":130369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab7"} 
[2026-07-13 14:35:41] local.INFO: Extracted packet for processing {"connection_id":130369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab7"} 
[2026-07-13 14:35:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686872064001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783933395000,"timestamp_ms":1783933395000,"timestamp_seconds":1783933395,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab76038"} 
[2026-07-13 14:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 14:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686872064001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686872064001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:35:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:35:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686872064001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":130369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:35:41] local.INFO: GPS data processed {"connection_id":130369,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:35:41] local.INFO: Acknowledgment sent {"connection_id":130369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:36:10] local.INFO: TCP Data received {"connection_id":130586,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130586,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:36:10] local.INFO: Processing buffer {"connection_id":130586,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:36:10] local.INFO: IMEI packet received {"connection_id":130586,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 14:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":130586,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:36:12] local.INFO: TCP Data received {"connection_id":130369,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab76038012d7f914005afd938000f011b28..."} 
[2026-07-13 14:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab76038012d7f914005afd938000f011b28..."} 
[2026-07-13 14:36:12] local.INFO: Processing buffer {"connection_id":130369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab76038012d7f914005afd938000f011b28..."} 
[2026-07-13 14:36:12] local.INFO: Packet analysis {"connection_id":130369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab7"} 
[2026-07-13 14:36:12] local.INFO: Extracted packet for processing {"connection_id":130369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab7"} 
[2026-07-13 14:36:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686872064001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783933395000,"timestamp_ms":1783933395000,"timestamp_seconds":1783933395,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab76038"} 
[2026-07-13 14:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 14:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686872064001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686872064001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:36:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:36:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686872064001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":130369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:36:12] local.INFO: GPS data processed {"connection_id":130369,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:36:12] local.INFO: Acknowledgment sent {"connection_id":130369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:36:21] local.INFO: TCP Data received {"connection_id":130587,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130587,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:36:21] local.INFO: Processing buffer {"connection_id":130587,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:36:21] local.INFO: IMEI packet received {"connection_id":130587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 14:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":130587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:36:22] local.INFO: TCP Data received {"connection_id":130587,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130587,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:36:22] local.INFO: Processing buffer {"connection_id":130587,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:36:22] local.INFO: IMEI packet received {"connection_id":130587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 14:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":130587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:36:27] local.INFO: TCP Data received {"connection_id":130587,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130587,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:36:27] local.INFO: Processing buffer {"connection_id":130587,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:36:27] local.INFO: IMEI packet received {"connection_id":130587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 14:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":130587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:36:29] local.INFO: TCP Data received {"connection_id":130587,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab846b00100000000000000000000000000..."} 
[2026-07-13 14:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab846b00100000000000000000000000000..."} 
[2026-07-13 14:36:29] local.INFO: Processing buffer {"connection_id":130587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab846b00100000000000000000000000000..."} 
[2026-07-13 14:36:29] local.INFO: Packet analysis {"connection_id":130587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab8"} 
[2026-07-13 14:36:29] local.INFO: Extracted packet for processing {"connection_id":130587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab8"} 
[2026-07-13 14:36:29] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 14:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105748674717417472,"note":"Value kept but may cause issues"} 
[2026-07-13 14:36:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,170,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 14:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783933454000,"timestamp_ms":1783933454000,"timestamp_seconds":1783933454,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab846b0"} 
[2026-07-13 14:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:36:29] 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-07-13 14: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-13 14:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 14:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 14:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":130587,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 14:36:29] local.INFO: GPS data processed {"connection_id":130587,"processed":0,"errors":0,"total":1} 
[2026-07-13 14:36:29] local.INFO: Acknowledgment sent {"connection_id":130587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:36:34] local.INFO: TCP Data received {"connection_id":131406,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:36:34] local.INFO: Processing buffer {"connection_id":131406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:36:34] local.INFO: IMEI packet received {"connection_id":131406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":131406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:36:39] local.INFO: TCP Data received {"connection_id":131406,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:36:39] local.INFO: Processing buffer {"connection_id":131406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:36:39] local.INFO: IMEI packet received {"connection_id":131406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":131406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:36:40] local.INFO: TCP Data received {"connection_id":131407,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:36:40] local.INFO: Processing buffer {"connection_id":131407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:36:40] local.INFO: IMEI packet received {"connection_id":131407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 14:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":131407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:36:40] local.INFO: TCP Data received {"connection_id":131406,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab76038012d7f914005afd938000f011b28..."} 
[2026-07-13 14:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab76038012d7f914005afd938000f011b28..."} 
[2026-07-13 14:36:40] local.INFO: Processing buffer {"connection_id":131406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab76038012d7f914005afd938000f011b28..."} 
[2026-07-13 14:36:40] local.INFO: Packet analysis {"connection_id":131406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab7"} 
[2026-07-13 14:36:40] local.INFO: Extracted packet for processing {"connection_id":131406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab7"} 
[2026-07-13 14:36:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686872064001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783933395000,"timestamp_ms":1783933395000,"timestamp_seconds":1783933395,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab76038"} 
[2026-07-13 14:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 14:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686872064001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686872064001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:36:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:36:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686872064001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":131406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:36:40] local.INFO: GPS data processed {"connection_id":131406,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:36:40] local.INFO: Acknowledgment sent {"connection_id":131406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:37:00] local.INFO: TCP Data received {"connection_id":130587,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab898b80100000000000000000000000000..."} 
[2026-07-13 14:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab898b80100000000000000000000000000..."} 
[2026-07-13 14:37:00] local.INFO: Processing buffer {"connection_id":130587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab898b80100000000000000000000000000..."} 
[2026-07-13 14:37:00] local.INFO: Packet analysis {"connection_id":130587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab8"} 
[2026-07-13 14:37:00] local.INFO: Extracted packet for processing {"connection_id":130587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab8"} 
[2026-07-13 14:37:00] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 14:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105748674717417472,"note":"Value kept but may cause issues"} 
[2026-07-13 14:37:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,170,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 14:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783933475000,"timestamp_ms":1783933475000,"timestamp_seconds":1783933475,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab898b8"} 
[2026-07-13 14:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:37:00] 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-07-13 14:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-13 14:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":130587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":130587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":130587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 14:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 14:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":130587,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 14:37:00] local.INFO: GPS data processed {"connection_id":130587,"processed":0,"errors":0,"total":1} 
[2026-07-13 14:37:00] local.INFO: Acknowledgment sent {"connection_id":130587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:37:12] local.INFO: TCP Data received {"connection_id":131406,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab76038012d7f914005afd938000f011b28..."} 
[2026-07-13 14:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab76038012d7f914005afd938000f011b28..."} 
[2026-07-13 14:37:12] local.INFO: Processing buffer {"connection_id":131406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab76038012d7f914005afd938000f011b28..."} 
[2026-07-13 14:37:12] local.INFO: Packet analysis {"connection_id":131406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab7"} 
[2026-07-13 14:37:12] local.INFO: Extracted packet for processing {"connection_id":131406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab7"} 
[2026-07-13 14:37:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686872064001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783933395000,"timestamp_ms":1783933395000,"timestamp_seconds":1783933395,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab76038"} 
[2026-07-13 14:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 14:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686872064001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686872064001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:37:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:37:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686872064001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":131406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:37:12] local.INFO: GPS data processed {"connection_id":131406,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:37:12] local.INFO: Acknowledgment sent {"connection_id":131406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:37:22] local.INFO: TCP Data received {"connection_id":132719,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:37:22] local.INFO: Processing buffer {"connection_id":132719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:37:22] local.INFO: IMEI packet received {"connection_id":132719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 14:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":132719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:37:24] local.INFO: TCP Data received {"connection_id":132719,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:37:24] local.INFO: Processing buffer {"connection_id":132719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:37:24] local.INFO: IMEI packet received {"connection_id":132719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 14:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":132719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:37:27] local.INFO: TCP Data received {"connection_id":132719,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:37:27] local.INFO: Processing buffer {"connection_id":132719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:37:27] local.INFO: IMEI packet received {"connection_id":132719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 14:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":132719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:37:28] local.INFO: TCP Data received {"connection_id":132719,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab8eac00100000000000000000000000000..."} 
[2026-07-13 14:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab8eac00100000000000000000000000000..."} 
[2026-07-13 14:37:28] local.INFO: Processing buffer {"connection_id":132719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab8eac00100000000000000000000000000..."} 
[2026-07-13 14:37:28] local.INFO: Packet analysis {"connection_id":132719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab8"} 
[2026-07-13 14:37:28] local.INFO: Extracted packet for processing {"connection_id":132719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab8"} 
[2026-07-13 14:37:28] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 14: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-07-13 14:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105748674717417472,"note":"Value kept but may cause issues"} 
[2026-07-13 14:37:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,169,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 14:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783933496000,"timestamp_ms":1783933496000,"timestamp_seconds":1783933496,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab8eac0"} 
[2026-07-13 14:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:37:28] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-13 14:37:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14: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-07-13 14:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 14:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 14:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":132719,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 14:37:28] local.INFO: GPS data processed {"connection_id":132719,"processed":0,"errors":0,"total":1} 
[2026-07-13 14:37:28] local.INFO: Acknowledgment sent {"connection_id":132719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:37:34] local.INFO: TCP Data received {"connection_id":130588,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:37:34] local.INFO: Processing buffer {"connection_id":130588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:37:34] local.INFO: IMEI packet received {"connection_id":130588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":130588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:37:39] local.INFO: TCP Data received {"connection_id":130588,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:37:39] local.INFO: Processing buffer {"connection_id":130588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:37:39] local.INFO: IMEI packet received {"connection_id":130588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":130588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:37:40] local.INFO: TCP Data received {"connection_id":130588,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab76038012d7f914005afd938000f011b28..."} 
[2026-07-13 14:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab76038012d7f914005afd938000f011b28..."} 
[2026-07-13 14:37:40] local.INFO: Processing buffer {"connection_id":130588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab76038012d7f914005afd938000f011b28..."} 
[2026-07-13 14:37:40] local.INFO: Packet analysis {"connection_id":130588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab7"} 
[2026-07-13 14:37:40] local.INFO: Extracted packet for processing {"connection_id":130588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab7"} 
[2026-07-13 14:37:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686872064001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783933395000,"timestamp_ms":1783933395000,"timestamp_seconds":1783933395,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab76038"} 
[2026-07-13 14:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 14:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686872064001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686872064001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:37:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:37:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686872064001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":130588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:37:40] local.INFO: GPS data processed {"connection_id":130588,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:37:40] local.INFO: Acknowledgment sent {"connection_id":130588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:37:59] local.INFO: TCP Data received {"connection_id":132719,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab93cc80100000000000000000000000000..."} 
[2026-07-13 14:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab93cc80100000000000000000000000000..."} 
[2026-07-13 14:37:59] local.INFO: Processing buffer {"connection_id":132719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab93cc80100000000000000000000000000..."} 
[2026-07-13 14:37:59] local.INFO: Packet analysis {"connection_id":132719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab9"} 
[2026-07-13 14:37:59] local.INFO: Extracted packet for processing {"connection_id":132719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab9"} 
[2026-07-13 14:37:59] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 14:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105748674717417472,"note":"Value kept but may cause issues"} 
[2026-07-13 14:37:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,169,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 14:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783933517000,"timestamp_ms":1783933517000,"timestamp_seconds":1783933517,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab93cc8"} 
[2026-07-13 14:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:37:59] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 14:37:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 14:37:59] local.WARNING: Large IO value detected {"io_id":177,"raw_value":3690987520,"note":"Value kept but may cause issues"} 
[2026-07-13 14:37:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19423972483416628,"note":"Value kept but may cause issues"} 
[2026-07-13 14:37:59] local.WARNING: Large IO value detected {"io_id":90,"raw_value":3080888321,"note":"Value kept but may cause issues"} 
[2026-07-13 14:37:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1445134542,"corrected_to":0} 
[2026-07-13 14:37:59] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2550202368,"note":"Value kept but may cause issues"} 
[2026-07-13 14:37:59] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2983985152,"note":"Value kept but may cause issues"} 
[2026-07-13 14:37:59] local.WARNING: Large IO value detected {"io_id":116,"raw_value":57797082858018107,"note":"Value kept but may cause issues"} 
[2026-07-13 14:37:59] local.WARNING: Large IO value detected {"io_id":182,"raw_value":-6014556202841669632,"note":"Value kept but may cause issues"} 
[2026-07-13 14:37:59] local.INFO: IO Element Parsed {"io_data_count":31,"io_data_keys":[0,169,85,24,241,157,16,177,159,152,10,66,170,70,244,1,240,214,227,90,4,113,205,80,239,2,50,35,119,116,182],"length":527,"final_offset":657,"validated_count":31,"validation_warnings":[{"io_id":205,"original":1445134542,"validated":0}]} 
[2026-07-13 14:37:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 14:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":132719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":132719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":132719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 14:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 14:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":132719,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 14:37:59] local.INFO: GPS data processed {"connection_id":132719,"processed":0,"errors":0,"total":1} 
[2026-07-13 14:37:59] local.INFO: Acknowledgment sent {"connection_id":132719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:38:12] local.INFO: TCP Data received {"connection_id":130588,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab76038012d7f914005afd938000f011b28..."} 
[2026-07-13 14:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab76038012d7f914005afd938000f011b28..."} 
[2026-07-13 14:38:12] local.INFO: Processing buffer {"connection_id":130588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab76038012d7f914005afd938000f011b28..."} 
[2026-07-13 14:38:12] local.INFO: Packet analysis {"connection_id":130588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab7"} 
[2026-07-13 14:38:12] local.INFO: Extracted packet for processing {"connection_id":130588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab7"} 
[2026-07-13 14:38:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686872064001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783933395000,"timestamp_ms":1783933395000,"timestamp_seconds":1783933395,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab76038"} 
[2026-07-13 14:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 14:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686872064001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686872064001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:38:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:38:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686872064001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":130588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:38:12] local.INFO: GPS data processed {"connection_id":130588,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:38:12] local.INFO: Acknowledgment sent {"connection_id":130588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:38:22] local.INFO: TCP Data received {"connection_id":131409,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131409,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:38:22] local.INFO: Processing buffer {"connection_id":131409,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:38:22] local.INFO: IMEI packet received {"connection_id":131409,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 14:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":131409,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:38:23] local.INFO: TCP Data received {"connection_id":131409,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131409,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:38:23] local.INFO: Processing buffer {"connection_id":131409,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:38:23] local.INFO: IMEI packet received {"connection_id":131409,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 14:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":131409,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:38:27] local.INFO: TCP Data received {"connection_id":131409,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131409,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:38:27] local.INFO: Processing buffer {"connection_id":131409,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:38:27] local.INFO: IMEI packet received {"connection_id":131409,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 14:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":131409,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:38:28] local.INFO: TCP Data received {"connection_id":131409,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab98ed00100000000000000000000000000..."} 
[2026-07-13 14:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab98ed00100000000000000000000000000..."} 
[2026-07-13 14:38:28] local.INFO: Processing buffer {"connection_id":131409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab98ed00100000000000000000000000000..."} 
[2026-07-13 14:38:28] local.INFO: Packet analysis {"connection_id":131409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab9"} 
[2026-07-13 14:38:28] local.INFO: Extracted packet for processing {"connection_id":131409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab9"} 
[2026-07-13 14:38:28] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 14: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-07-13 14:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105748674717417472,"note":"Value kept but may cause issues"} 
[2026-07-13 14:38:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,169,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 14:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783933538000,"timestamp_ms":1783933538000,"timestamp_seconds":1783933538,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab98ed0"} 
[2026-07-13 14:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:38:28] 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-07-13 14: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-13 14:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14: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-07-13 14:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":131409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":131409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":131409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 14:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 14:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":131409,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 14:38:28] local.INFO: GPS data processed {"connection_id":131409,"processed":0,"errors":0,"total":1} 
[2026-07-13 14:38:28] local.INFO: Acknowledgment sent {"connection_id":131409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:38:39] local.INFO: TCP Data received {"connection_id":132720,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:38:39] local.INFO: Processing buffer {"connection_id":132720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:38:39] local.INFO: IMEI packet received {"connection_id":132720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":132720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:38:44] local.INFO: TCP Data received {"connection_id":132720,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:38:44] local.INFO: Processing buffer {"connection_id":132720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:38:44] local.INFO: IMEI packet received {"connection_id":132720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":132720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:38:45] local.INFO: TCP Data received {"connection_id":132720,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab76038012d7f914005afd938000f011b28..."} 
[2026-07-13 14:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab76038012d7f914005afd938000f011b28..."} 
[2026-07-13 14:38:45] local.INFO: Processing buffer {"connection_id":132720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab76038012d7f914005afd938000f011b28..."} 
[2026-07-13 14:38:45] local.INFO: Packet analysis {"connection_id":132720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab7"} 
[2026-07-13 14:38:45] local.INFO: Extracted packet for processing {"connection_id":132720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab7"} 
[2026-07-13 14:38:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686872064001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783933395000,"timestamp_ms":1783933395000,"timestamp_seconds":1783933395,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab76038"} 
[2026-07-13 14:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 14:38:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686872064001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686872064001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:38:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:38:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686872064001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":132720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:38:45] local.INFO: GPS data processed {"connection_id":132720,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:38:45] local.INFO: Acknowledgment sent {"connection_id":132720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:38:50] local.INFO: TCP Data received {"connection_id":132720,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ab76038012d7f914005afd938000f011b28..."} 
[2026-07-13 14:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ab76038012d7f914005afd938000f011b28..."} 
[2026-07-13 14:38:50] local.INFO: Processing buffer {"connection_id":132720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ab76038012d7f914005afd938000f011b28..."} 
[2026-07-13 14:38:50] local.INFO: Packet analysis {"connection_id":132720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ab7"} 
[2026-07-13 14:38:50] local.INFO: Extracted packet for processing {"connection_id":132720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ab7"} 
[2026-07-13 14:38:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686872064001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783933395000,"timestamp_ms":1783933395000,"timestamp_seconds":1783933395,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ab76038"} 
[2026-07-13 14:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 14:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14: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-07-13 14:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":132720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":132720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":132720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686872064001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686872064001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:38:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:38:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686872064001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":132720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:38:50] local.INFO: GPS data processed {"connection_id":132720,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:38:50] local.INFO: Acknowledgment sent {"connection_id":132720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:39:12] local.INFO: TCP Data received {"connection_id":131409,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5abc4a08012d7be10005e48ee00008002111..."} 
[2026-07-13 14:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5abc4a08012d7be10005e48ee00008002111..."} 
[2026-07-13 14:39:12] local.INFO: Processing buffer {"connection_id":131409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5abc4a08012d7be10005e48ee00008002111..."} 
[2026-07-13 14:39:12] local.INFO: Packet analysis {"connection_id":131409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5abc"} 
[2026-07-13 14:39:12] local.INFO: Extracted packet for processing {"connection_id":131409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5abc"} 
[2026-07-13 14:39:12] local.INFO: GPS Element Parsed {"raw_longitude":763093248,"raw_latitude":98864864,"longitude_deg":76.3093248,"latitude_deg":9.8864864,"altitude":8,"angle":33,"satellites":17,"speed":48,"hex_longitude":"2d7be100","hex_latitude":"05e48ee0","is_valid_coordinates":true} 
[2026-07-13 14:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687029504001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105751496510930944,"note":"Value kept but may cause issues"} 
[2026-07-13 14:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920645724709804032,"note":"Value kept but may cause issues"} 
[2026-07-13 14:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783933717000,"timestamp_ms":1783933717000,"timestamp_seconds":1783933717,"priority":1,"record_length":96,"hex_timestamp":"0000019f5abc4a08"} 
[2026-07-13 14:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-13 14:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:39:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 14:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 14:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687029504001,"66":13374,"97":206,"85":15104,"24":48,"16":105751496510930944,"45":8920645724709804032},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 14:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 14:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 14:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687029504001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:39:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 14:39:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 14:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105751496510930944,"km_value":105751496510930.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920645724709804032,"description":"Unknown IO ID 45"} 
[2026-07-13 14:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687029504001,"power":13374,"unknown_97":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8920645724709804032}} 
[2026-07-13 14:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":131409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:39:12] local.INFO: GPS data processed {"connection_id":131409,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:39:12] local.INFO: Acknowledgment sent {"connection_id":131409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:39:22] local.INFO: TCP Data received {"connection_id":131410,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:39:22] local.INFO: Processing buffer {"connection_id":131410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:39:22] local.INFO: IMEI packet received {"connection_id":131410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 14:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":131410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:39:27] local.INFO: TCP Data received {"connection_id":131410,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:39:27] local.INFO: Processing buffer {"connection_id":131410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:39:27] local.INFO: IMEI packet received {"connection_id":131410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 14:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":131410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:39:28] local.INFO: TCP Data received {"connection_id":131410,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5abc6948012d7bf60005e4ae700008002114..."} 
[2026-07-13 14:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5abc6948012d7bf60005e4ae700008002114..."} 
[2026-07-13 14:39:28] local.INFO: Processing buffer {"connection_id":131410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5abc6948012d7bf60005e4ae700008002114..."} 
[2026-07-13 14:39:28] local.INFO: Packet analysis {"connection_id":131410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5abc"} 
[2026-07-13 14:39:28] local.INFO: Extracted packet for processing {"connection_id":131410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5abc"} 
[2026-07-13 14:39:28] local.INFO: GPS Element Parsed {"raw_longitude":763098624,"raw_latitude":98872944,"longitude_deg":76.3098624,"latitude_deg":9.8872944,"altitude":8,"angle":33,"satellites":20,"speed":45,"hex_longitude":"2d7bf600","hex_latitude":"05e4ae70","is_valid_coordinates":true} 
[2026-07-13 14:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687031552001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105751964662366208,"note":"Value kept but may cause issues"} 
[2026-07-13 14:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926415961734438912,"note":"Value kept but may cause issues"} 
[2026-07-13 14:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783933725000,"timestamp_ms":1783933725000,"timestamp_seconds":1783933725,"priority":1,"record_length":96,"hex_timestamp":"0000019f5abc6948"} 
[2026-07-13 14:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-13 14:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":131410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":131410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":131410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 14:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 14:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687031552001,"66":13374,"97":206,"85":15104,"24":45,"16":105751964662366208,"45":8926415961734438912},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 14:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 14:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 14:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687031552001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:39:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 14:39:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 14:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105751964662366208,"km_value":105751964662366.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926415961734438912,"description":"Unknown IO ID 45"} 
[2026-07-13 14:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687031552001,"power":13374,"unknown_97":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8926415961734438912}} 
[2026-07-13 14:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":131410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480226,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:39:28] local.INFO: GPS data processed {"connection_id":131410,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:39:28] local.INFO: Acknowledgment sent {"connection_id":131410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:39:34] local.INFO: TCP Data received {"connection_id":132722,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:39:34] local.INFO: Processing buffer {"connection_id":132722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:39:34] local.INFO: IMEI packet received {"connection_id":132722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":132722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:39:39] local.INFO: TCP Data received {"connection_id":132722,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:39:39] local.INFO: Processing buffer {"connection_id":132722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:39:39] local.INFO: IMEI packet received {"connection_id":132722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":132722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:39:41] local.INFO: TCP Data received {"connection_id":132722,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5abbf800012d7f914005afd9380010011b28..."} 
[2026-07-13 14:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5abbf800012d7f914005afd9380010011b28..."} 
[2026-07-13 14:39:41] local.INFO: Processing buffer {"connection_id":132722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5abbf800012d7f914005afd9380010011b28..."} 
[2026-07-13 14:39:41] local.INFO: Packet analysis {"connection_id":132722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5abb"} 
[2026-07-13 14:39:41] local.INFO: Extracted packet for processing {"connection_id":132722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5abb"} 
[2026-07-13 14:39:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686949120001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783933696000,"timestamp_ms":1783933696000,"timestamp_seconds":1783933696,"priority":1,"record_length":96,"hex_timestamp":"0000019f5abbf800"} 
[2026-07-13 14:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 14:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686949120001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686949120001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:39:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:39:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686949120001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":132722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:39:41] local.INFO: GPS data processed {"connection_id":132722,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:39:41] local.INFO: Acknowledgment sent {"connection_id":132722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:39:59] local.INFO: TCP Data received {"connection_id":131410,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5abc8c70012d7c0ac005e4cda00008002115..."} 
[2026-07-13 14:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5abc8c70012d7c0ac005e4cda00008002115..."} 
[2026-07-13 14:39:59] local.INFO: Processing buffer {"connection_id":131410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5abc8c70012d7c0ac005e4cda00008002115..."} 
[2026-07-13 14:39:59] local.INFO: Packet analysis {"connection_id":131410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5abc"} 
[2026-07-13 14:39:59] local.INFO: Extracted packet for processing {"connection_id":131410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5abc"} 
[2026-07-13 14:39:59] local.INFO: GPS Element Parsed {"raw_longitude":763103936,"raw_latitude":98880928,"longitude_deg":76.3103936,"latitude_deg":9.8880928,"altitude":8,"angle":33,"satellites":21,"speed":39,"hex_longitude":"2d7c0ac0","hex_latitude":"05e4cda0","is_valid_coordinates":true} 
[2026-07-13 14:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687033600001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105752428518834176,"note":"Value kept but may cause issues"} 
[2026-07-13 14:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8932326936247431168,"note":"Value kept but may cause issues"} 
[2026-07-13 14:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783933734000,"timestamp_ms":1783933734000,"timestamp_seconds":1783933734,"priority":1,"record_length":96,"hex_timestamp":"0000019f5abc8c70"} 
[2026-07-13 14:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-13 14:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":131410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":131410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":131410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 14:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 14:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687033600001,"66":13461,"123":206,"85":15104,"24":39,"16":105752428518834176,"45":8932326936247431168},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,85,24,16,45]} 
[2026-07-13 14:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 14:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 14:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687033600001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:39:59] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-07-13 14:39:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 14:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105752428518834176,"km_value":105752428518834.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8932326936247431168,"description":"Unknown IO ID 45"} 
[2026-07-13 14:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687033600001,"power":13461,"unknown_123":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8932326936247431168}} 
[2026-07-13 14:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":131410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:39:59] local.INFO: GPS data processed {"connection_id":131410,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:39:59] local.INFO: Acknowledgment sent {"connection_id":131410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:40:12] local.INFO: TCP Data received {"connection_id":132722,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5abbf800012d7f914005afd9380010011b28..."} 
[2026-07-13 14:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5abbf800012d7f914005afd9380010011b28..."} 
[2026-07-13 14:40:12] local.INFO: Processing buffer {"connection_id":132722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5abbf800012d7f914005afd9380010011b28..."} 
[2026-07-13 14:40:12] local.INFO: Packet analysis {"connection_id":132722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5abb"} 
[2026-07-13 14:40:12] local.INFO: Extracted packet for processing {"connection_id":132722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5abb"} 
[2026-07-13 14:40:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686949120001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783933696000,"timestamp_ms":1783933696000,"timestamp_seconds":1783933696,"priority":1,"record_length":96,"hex_timestamp":"0000019f5abbf800"} 
[2026-07-13 14:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 14:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686949120001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686949120001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:40:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:40:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686949120001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":132722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:40:12] local.INFO: GPS data processed {"connection_id":132722,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:40:12] local.INFO: Acknowledgment sent {"connection_id":132722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:40:22] local.INFO: TCP Data received {"connection_id":130370,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:40:22] local.INFO: Processing buffer {"connection_id":130370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:40:22] local.INFO: IMEI packet received {"connection_id":130370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 14:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":130370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:40:27] local.INFO: TCP Data received {"connection_id":130370,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:40:27] local.INFO: Processing buffer {"connection_id":130370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:40:27] local.INFO: IMEI packet received {"connection_id":130370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 14:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":130370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:40:28] local.INFO: TCP Data received {"connection_id":130370,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5abdb168012d7c62c005e554280008003b16..."} 
[2026-07-13 14:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5abdb168012d7c62c005e554280008003b16..."} 
[2026-07-13 14:40:28] local.INFO: Processing buffer {"connection_id":130370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5abdb168012d7c62c005e554280008003b16..."} 
[2026-07-13 14:40:28] local.INFO: Packet analysis {"connection_id":130370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5abd"} 
[2026-07-13 14:40:28] local.INFO: Extracted packet for processing {"connection_id":130370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5abd"} 
[2026-07-13 14:40:28] local.INFO: GPS Element Parsed {"raw_longitude":763126464,"raw_latitude":98915368,"longitude_deg":76.3126464,"latitude_deg":9.8915368,"altitude":8,"angle":59,"satellites":22,"speed":13,"hex_longitude":"2d7c62c0","hex_latitude":"05e55428","is_valid_coordinates":true} 
[2026-07-13 14:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687054848001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105754498693070848,"note":"Value kept but may cause issues"} 
[2026-07-13 14:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962585496254633984,"note":"Value kept but may cause issues"} 
[2026-07-13 14:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783933809000,"timestamp_ms":1783933809000,"timestamp_seconds":1783933809,"priority":1,"record_length":96,"hex_timestamp":"0000019f5abdb168"} 
[2026-07-13 14:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-13 14:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":130370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":130370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":130370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 14:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 14:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687054848001,"66":12863,"39":206,"87":13824,"24":13,"16":105754498693070848,"45":8962585496254633984},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-13 14:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 14:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 14:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687054848001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:40:28] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-13 14:40:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 14:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105754498693070848,"km_value":105754498693070.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962585496254633984,"description":"Unknown IO ID 45"} 
[2026-07-13 14:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687054848001,"power":12863,"unknown_39":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8962585496254633984}} 
[2026-07-13 14:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":130370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480230,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:40:28] local.INFO: GPS data processed {"connection_id":130370,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:40:28] local.INFO: Acknowledgment sent {"connection_id":130370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:40:34] local.INFO: TCP Data received {"connection_id":132723,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:40:34] local.INFO: Processing buffer {"connection_id":132723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:40:34] local.INFO: IMEI packet received {"connection_id":132723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":132723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:40:39] local.INFO: TCP Data received {"connection_id":132723,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:40:39] local.INFO: Processing buffer {"connection_id":132723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:40:39] local.INFO: IMEI packet received {"connection_id":132723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":132723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:40:41] local.INFO: TCP Data received {"connection_id":132723,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5abbf800012d7f914005afd9380010011b28..."} 
[2026-07-13 14:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5abbf800012d7f914005afd9380010011b28..."} 
[2026-07-13 14:40:41] local.INFO: Processing buffer {"connection_id":132723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5abbf800012d7f914005afd9380010011b28..."} 
[2026-07-13 14:40:41] local.INFO: Packet analysis {"connection_id":132723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5abb"} 
[2026-07-13 14:40:41] local.INFO: Extracted packet for processing {"connection_id":132723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5abb"} 
[2026-07-13 14:40:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686949120001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783933696000,"timestamp_ms":1783933696000,"timestamp_seconds":1783933696,"priority":1,"record_length":96,"hex_timestamp":"0000019f5abbf800"} 
[2026-07-13 14:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 14:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686949120001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686949120001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:40:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:40:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686949120001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":132723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:40:41] local.INFO: GPS data processed {"connection_id":132723,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:40:41] local.INFO: Acknowledgment sent {"connection_id":132723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:40:59] local.INFO: TCP Data received {"connection_id":130370,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5abdb938012d7c644005e554b80008004f17..."} 
[2026-07-13 14:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5abdb938012d7c644005e554b80008004f17..."} 
[2026-07-13 14:40:59] local.INFO: Processing buffer {"connection_id":130370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5abdb938012d7c644005e554b80008004f17..."} 
[2026-07-13 14:40:59] local.INFO: Packet analysis {"connection_id":130370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5abd"} 
[2026-07-13 14:40:59] local.INFO: Extracted packet for processing {"connection_id":130370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5abd"} 
[2026-07-13 14:40:59] local.INFO: GPS Element Parsed {"raw_longitude":763126848,"raw_latitude":98915512,"longitude_deg":76.3126848,"latitude_deg":9.8915512,"altitude":8,"angle":79,"satellites":23,"speed":6,"hex_longitude":"2d7c6440","hex_latitude":"05e554b8","is_valid_coordinates":true} 
[2026-07-13 14:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687055104001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105754515872940032,"note":"Value kept but may cause issues"} 
[2026-07-13 14:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962937339975575552,"note":"Value kept but may cause issues"} 
[2026-07-13 14:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783933811000,"timestamp_ms":1783933811000,"timestamp_seconds":1783933811,"priority":1,"record_length":96,"hex_timestamp":"0000019f5abdb938"} 
[2026-07-13 14:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-13 14:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":130370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":130370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":130370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 14:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 14:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687055104001,"66":12624,"39":206,"87":13824,"24":6,"16":105754515872940032,"45":8962937339975575552},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-13 14:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 14:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 14:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687055104001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:40:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-13 14:40:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 14:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105754515872940032,"km_value":105754515872940.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962937339975575552,"description":"Unknown IO ID 45"} 
[2026-07-13 14:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687055104001,"power":12624,"unknown_39":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8962937339975575552}} 
[2026-07-13 14:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":130370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480232,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:40:59] local.INFO: GPS data processed {"connection_id":130370,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:40:59] local.INFO: Acknowledgment sent {"connection_id":130370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:41:12] local.INFO: TCP Data received {"connection_id":132723,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5abbf800012d7f914005afd9380010011b28..."} 
[2026-07-13 14:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5abbf800012d7f914005afd9380010011b28..."} 
[2026-07-13 14:41:12] local.INFO: Processing buffer {"connection_id":132723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5abbf800012d7f914005afd9380010011b28..."} 
[2026-07-13 14:41:12] local.INFO: Packet analysis {"connection_id":132723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5abb"} 
[2026-07-13 14:41:12] local.INFO: Extracted packet for processing {"connection_id":132723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5abb"} 
[2026-07-13 14:41:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686949120001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783933696000,"timestamp_ms":1783933696000,"timestamp_seconds":1783933696,"priority":1,"record_length":96,"hex_timestamp":"0000019f5abbf800"} 
[2026-07-13 14:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 14:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686949120001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686949120001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:41:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:41:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686949120001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":132723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:41:12] local.INFO: GPS data processed {"connection_id":132723,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:41:12] local.INFO: Acknowledgment sent {"connection_id":132723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:41:22] local.INFO: TCP Data received {"connection_id":130371,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130371,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:41:22] local.INFO: Processing buffer {"connection_id":130371,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:41:22] local.INFO: IMEI packet received {"connection_id":130371,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 14:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":130371,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:41:27] local.INFO: TCP Data received {"connection_id":130371,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130371,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:41:27] local.INFO: Processing buffer {"connection_id":130371,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:41:27] local.INFO: IMEI packet received {"connection_id":130371,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 14:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":130371,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:41:29] local.INFO: TCP Data received {"connection_id":130371,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5abdbd20012d7c650005e554c00007005b17..."} 
[2026-07-13 14:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5abdbd20012d7c650005e554c00007005b17..."} 
[2026-07-13 14:41:29] local.INFO: Processing buffer {"connection_id":130371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5abdbd20012d7c650005e554c00007005b17..."} 
[2026-07-13 14:41:29] local.INFO: Packet analysis {"connection_id":130371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5abd"} 
[2026-07-13 14:41:29] local.INFO: Extracted packet for processing {"connection_id":130371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5abd"} 
[2026-07-13 14:41:29] local.INFO: GPS Element Parsed {"raw_longitude":763127040,"raw_latitude":98915520,"longitude_deg":76.312704,"latitude_deg":9.891552,"altitude":7,"angle":91,"satellites":23,"speed":6,"hex_longitude":"2d7c6500","hex_latitude":"05e554c0","is_valid_coordinates":true} 
[2026-07-13 14: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-07-13 14:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687055616001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105754528757841920,"note":"Value kept but may cause issues"} 
[2026-07-13 14:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963359552440678400,"note":"Value kept but may cause issues"} 
[2026-07-13 14:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783933812000,"timestamp_ms":1783933812000,"timestamp_seconds":1783933812,"priority":1,"record_length":96,"hex_timestamp":"0000019f5abdbd20"} 
[2026-07-13 14:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-13 14:41:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14: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-07-13 14:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 14:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 14:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687055616001,"66":13059,"39":206,"87":13824,"24":6,"16":105754528757841920,"45":8963359552440678400},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-13 14:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 14:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 14:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687055616001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:41:29] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-13 14:41:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 14:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105754528757841920,"km_value":105754528757841.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963359552440678400,"description":"Unknown IO ID 45"} 
[2026-07-13 14:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687055616001,"power":13059,"unknown_39":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8963359552440678400}} 
[2026-07-13 14:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":130371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:41:29] local.INFO: GPS data processed {"connection_id":130371,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:41:29] local.INFO: Acknowledgment sent {"connection_id":130371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:41:34] local.INFO: TCP Data received {"connection_id":131412,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:41:34] local.INFO: Processing buffer {"connection_id":131412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:41:34] local.INFO: IMEI packet received {"connection_id":131412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":131412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:41:39] local.INFO: TCP Data received {"connection_id":131412,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:41:39] local.INFO: Processing buffer {"connection_id":131412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:41:39] local.INFO: IMEI packet received {"connection_id":131412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":131412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:41:40] local.INFO: TCP Data received {"connection_id":131412,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5abbf800012d7f914005afd9380010011b28..."} 
[2026-07-13 14:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5abbf800012d7f914005afd9380010011b28..."} 
[2026-07-13 14:41:40] local.INFO: Processing buffer {"connection_id":131412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5abbf800012d7f914005afd9380010011b28..."} 
[2026-07-13 14:41:40] local.INFO: Packet analysis {"connection_id":131412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5abb"} 
[2026-07-13 14:41:40] local.INFO: Extracted packet for processing {"connection_id":131412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5abb"} 
[2026-07-13 14:41:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686949120001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783933696000,"timestamp_ms":1783933696000,"timestamp_seconds":1783933696,"priority":1,"record_length":96,"hex_timestamp":"0000019f5abbf800"} 
[2026-07-13 14:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:41: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-07-13 14: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 14:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686949120001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686949120001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:41:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:41:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686949120001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":131412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:41:40] local.INFO: GPS data processed {"connection_id":131412,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:41:40] local.INFO: Acknowledgment sent {"connection_id":131412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:42:00] local.INFO: TCP Data received {"connection_id":130371,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5abe0b40012d7c824005e556100004005217..."} 
[2026-07-13 14:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5abe0b40012d7c824005e556100004005217..."} 
[2026-07-13 14:42:00] local.INFO: Processing buffer {"connection_id":130371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5abe0b40012d7c824005e556100004005217..."} 
[2026-07-13 14:42:00] local.INFO: Packet analysis {"connection_id":130371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5abe"} 
[2026-07-13 14:42:00] local.INFO: Extracted packet for processing {"connection_id":130371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5abe"} 
[2026-07-13 14:42:00] local.INFO: GPS Element Parsed {"raw_longitude":763134528,"raw_latitude":98915856,"longitude_deg":76.3134528,"latitude_deg":9.8915856,"altitude":4,"angle":82,"satellites":23,"speed":18,"hex_longitude":"2d7c8240","hex_latitude":"05e55610","is_valid_coordinates":true} 
[2026-07-13 14:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687055872001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105754885240127488,"note":"Value kept but may cause issues"} 
[2026-07-13 14:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963570658673213440,"note":"Value kept but may cause issues"} 
[2026-07-13 14:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783933832000,"timestamp_ms":1783933832000,"timestamp_seconds":1783933832,"priority":1,"record_length":96,"hex_timestamp":"0000019f5abe0b40"} 
[2026-07-13 14:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-13 14:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303170663271768,"note":"Value kept but may cause issues"} 
[2026-07-13 14:42:00] local.WARNING: Large IO value detected {"io_id":39,"raw_value":58079734643818502,"note":"Value kept but may cause issues"} 
[2026-07-13 14:42:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 14:42:00] local.WARNING: Large IO value detected {"io_id":90,"raw_value":3180216321,"note":"Value kept but may cause issues"} 
[2026-07-13 14:42:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-07-13 14:42:00] local.WARNING: Large IO value detected {"io_id":119,"raw_value":3062628352,"note":"Value kept but may cause issues"} 
[2026-07-13 14:42:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3844190208,"note":"Value kept but may cause issues"} 
[2026-07-13 14:42:00] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,39,87,24,241,157,16,183,159,185,45,64,84,8,23,10,66,177,192,22,173,128,1,240,63,227,90,229,4,113,205,28,99,73,239,52,2,119,5,7,6],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0}]} 
[2026-07-13 14:42:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504503312608264192,"timestamp_seconds":504503312608264.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 14:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":130371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":130371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":130371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 14:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 14:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687055872001,"66":13102,"39":206,"87":13824,"24":18,"16":105754885240127488,"45":8963570658673213440},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-13 14:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 14:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 14:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687055872001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:42:00] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-13 14:42:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 14:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105754885240127488,"km_value":105754885240127.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963570658673213440,"description":"Unknown IO ID 45"} 
[2026-07-13 14:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687055872001,"power":13102,"unknown_39":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8963570658673213440}} 
[2026-07-13 14:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":130371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:42:00] local.INFO: GPS data processed {"connection_id":130371,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:42:00] local.INFO: Acknowledgment sent {"connection_id":130371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:42:05] local.INFO: TCP Data received {"connection_id":131413,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131413,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:42:05] local.INFO: Processing buffer {"connection_id":131413,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:42:05] local.INFO: IMEI packet received {"connection_id":131413,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 14:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":131413,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:42:11] local.INFO: TCP Data received {"connection_id":131412,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5abbf800012d7f914005afd9380010011b28..."} 
[2026-07-13 14:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5abbf800012d7f914005afd9380010011b28..."} 
[2026-07-13 14:42:11] local.INFO: Processing buffer {"connection_id":131412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5abbf800012d7f914005afd9380010011b28..."} 
[2026-07-13 14:42:11] local.INFO: Packet analysis {"connection_id":131412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5abb"} 
[2026-07-13 14:42:11] local.INFO: Extracted packet for processing {"connection_id":131412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5abb"} 
[2026-07-13 14:42:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686949120001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783933696000,"timestamp_ms":1783933696000,"timestamp_seconds":1783933696,"priority":1,"record_length":96,"hex_timestamp":"0000019f5abbf800"} 
[2026-07-13 14:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 14:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686949120001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686949120001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:42:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:42:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686949120001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":131412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:42:11] local.INFO: GPS data processed {"connection_id":131412,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:42:11] local.INFO: Acknowledgment sent {"connection_id":131412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:42:27] local.INFO: TCP Data received {"connection_id":132725,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:42:27] local.INFO: Processing buffer {"connection_id":132725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:42:27] local.INFO: IMEI packet received {"connection_id":132725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 14:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":132725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:42:32] local.INFO: TCP Data received {"connection_id":132725,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:42:32] local.INFO: Processing buffer {"connection_id":132725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 14:42:32] local.INFO: IMEI packet received {"connection_id":132725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 14:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":132725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:42:33] local.INFO: TCP Data received {"connection_id":132725,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5abe1ae0012d7c874005e557700005004717..."} 
[2026-07-13 14:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5abe1ae0012d7c874005e557700005004717..."} 
[2026-07-13 14:42:33] local.INFO: Processing buffer {"connection_id":132725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5abe1ae0012d7c874005e557700005004717..."} 
[2026-07-13 14:42:33] local.INFO: Packet analysis {"connection_id":132725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5abe"} 
[2026-07-13 14:42:33] local.INFO: Extracted packet for processing {"connection_id":132725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5abe"} 
[2026-07-13 14:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763135808,"raw_latitude":98916208,"longitude_deg":76.3135808,"latitude_deg":9.8916208,"altitude":5,"angle":71,"satellites":23,"speed":10,"hex_longitude":"2d7c8740","hex_latitude":"05e55770","is_valid_coordinates":true} 
[2026-07-13 14:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687060992001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105754949664636928,"note":"Value kept but may cause issues"} 
[2026-07-13 14:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971803801742086144,"note":"Value kept but may cause issues"} 
[2026-07-13 14:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783933836000,"timestamp_ms":1783933836000,"timestamp_seconds":1783933836,"priority":1,"record_length":96,"hex_timestamp":"0000019f5abe1ae0"} 
[2026-07-13 14:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:42: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-07-13 14: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-13 14:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:42:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":132725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":132725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":132725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 14:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 14:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687060992001,"66":13406,"39":206,"87":13824,"24":10,"16":105754949664636928,"45":8971803801742086144},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-13 14:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 14:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 14:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687060992001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:42:33] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-13 14:42:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 14:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105754949664636928,"km_value":105754949664636.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971803801742086144,"description":"Unknown IO ID 45"} 
[2026-07-13 14:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687060992001,"power":13406,"unknown_39":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8971803801742086144}} 
[2026-07-13 14:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":132725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:42:33] local.INFO: GPS data processed {"connection_id":132725,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:42:33] local.INFO: Acknowledgment sent {"connection_id":132725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:42:38] local.INFO: TCP Data received {"connection_id":132725,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5abe2e68012d7c8c0005e558800007005617..."} 
[2026-07-13 14:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5abe2e68012d7c8c0005e558800007005617..."} 
[2026-07-13 14:42:38] local.INFO: Processing buffer {"connection_id":132725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5abe2e68012d7c8c0005e558800007005617..."} 
[2026-07-13 14:42:38] local.INFO: Packet analysis {"connection_id":132725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5abe"} 
[2026-07-13 14:42:38] local.INFO: Extracted packet for processing {"connection_id":132725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5abe"} 
[2026-07-13 14:42:38] local.INFO: GPS Element Parsed {"raw_longitude":763137024,"raw_latitude":98916480,"longitude_deg":76.3137024,"latitude_deg":9.891648,"altitude":7,"angle":86,"satellites":23,"speed":7,"hex_longitude":"2d7c8c00","hex_latitude":"05e55880","is_valid_coordinates":true} 
[2026-07-13 14:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687062016001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105755009794179072,"note":"Value kept but may cause issues"} 
[2026-07-13 14:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973211176625729536,"note":"Value kept but may cause issues"} 
[2026-07-13 14:42: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-07-13 14:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783933841000,"timestamp_ms":1783933841000,"timestamp_seconds":1783933841,"priority":1,"record_length":96,"hex_timestamp":"0000019f5abe2e68"} 
[2026-07-13 14:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 14:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-13 14:42: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-07-13 14:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":132725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":132725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":132725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 14:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 14:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 14:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687062016001,"66":12961,"39":206,"87":13824,"24":7,"16":105755009794179072,"45":8973211176625729536},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-13 14:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 14:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 14:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687062016001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:42:38] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-13 14:42:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 14:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105755009794179072,"km_value":105755009794179.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973211176625729536,"description":"Unknown IO ID 45"} 
[2026-07-13 14:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687062016001,"power":12961,"unknown_39":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8973211176625729536}} 
[2026-07-13 14:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":132725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480239,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:42:38] local.INFO: GPS data processed {"connection_id":132725,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:42:38] local.INFO: Acknowledgment sent {"connection_id":132725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:42:39] local.INFO: TCP Data received {"connection_id":130372,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:42:39] local.INFO: Processing buffer {"connection_id":130372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:42:39] local.INFO: IMEI packet received {"connection_id":130372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":130372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:42:44] local.INFO: TCP Data received {"connection_id":130372,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:42:44] local.INFO: Processing buffer {"connection_id":130372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:42:44] local.INFO: IMEI packet received {"connection_id":130372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":130372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:42:45] local.INFO: TCP Data received {"connection_id":130589,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130589,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:42:45] local.INFO: Processing buffer {"connection_id":130589,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:42:45] local.INFO: IMEI packet received {"connection_id":130589,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 14:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":130589,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:42:45] local.INFO: TCP Data received {"connection_id":130372,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5abbf800012d7f914005afd9380010011b28..."} 
[2026-07-13 14:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5abbf800012d7f914005afd9380010011b28..."} 
[2026-07-13 14:42:45] local.INFO: Processing buffer {"connection_id":130372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5abbf800012d7f914005afd9380010011b28..."} 
[2026-07-13 14:42:45] local.INFO: Packet analysis {"connection_id":130372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5abb"} 
[2026-07-13 14:42:45] local.INFO: Extracted packet for processing {"connection_id":130372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5abb"} 
[2026-07-13 14:42:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686949120001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783933696000,"timestamp_ms":1783933696000,"timestamp_seconds":1783933696,"priority":1,"record_length":96,"hex_timestamp":"0000019f5abbf800"} 
[2026-07-13 14:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 14:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686949120001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686949120001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:42:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:42:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686949120001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":130372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:42:45] local.INFO: GPS data processed {"connection_id":130372,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:42:45] local.INFO: Acknowledgment sent {"connection_id":130372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:42:50] local.INFO: TCP Data received {"connection_id":130372,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5abbf800012d7f914005afd9380010011b28..."} 
[2026-07-13 14:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5abbf800012d7f914005afd9380010011b28..."} 
[2026-07-13 14:42:50] local.INFO: Processing buffer {"connection_id":130372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5abbf800012d7f914005afd9380010011b28..."} 
[2026-07-13 14:42:50] local.INFO: Packet analysis {"connection_id":130372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5abb"} 
[2026-07-13 14:42:50] local.INFO: Extracted packet for processing {"connection_id":130372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5abb"} 
[2026-07-13 14:42:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 14:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686949120001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783933696000,"timestamp_ms":1783933696000,"timestamp_seconds":1783933696,"priority":1,"record_length":96,"hex_timestamp":"0000019f5abbf800"} 
[2026-07-13 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-07-13 14:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 14:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 14:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686949120001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686949120001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:42:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:42:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686949120001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":130372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:42:50] local.INFO: GPS data processed {"connection_id":130372,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:42:50] local.INFO: Acknowledgment sent {"connection_id":130372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:43:34] local.INFO: TCP Data received {"connection_id":132726,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:43:34] local.INFO: Processing buffer {"connection_id":132726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:43:34] local.INFO: IMEI packet received {"connection_id":132726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":132726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:43:39] local.INFO: TCP Data received {"connection_id":132726,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:43:39] local.INFO: Processing buffer {"connection_id":132726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:43:39] local.INFO: IMEI packet received {"connection_id":132726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":132726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:43:40] local.INFO: TCP Data received {"connection_id":132726,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5abbf800012d7f914005afd9380010011b28..."} 
[2026-07-13 14:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5abbf800012d7f914005afd9380010011b28..."} 
[2026-07-13 14:43:40] local.INFO: Processing buffer {"connection_id":132726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5abbf800012d7f914005afd9380010011b28..."} 
[2026-07-13 14:43:40] local.INFO: Packet analysis {"connection_id":132726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5abb"} 
[2026-07-13 14:43:40] local.INFO: Extracted packet for processing {"connection_id":132726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5abb"} 
[2026-07-13 14:43:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456686949120001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783933696000,"timestamp_ms":1783933696000,"timestamp_seconds":1783933696,"priority":1,"record_length":96,"hex_timestamp":"0000019f5abbf800"} 
[2026-07-13 14:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:43: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-07-13 14:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 14:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456686949120001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456686949120001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:43:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:43:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456686949120001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":132726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:43:40] local.INFO: GPS data processed {"connection_id":132726,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:43:40] local.INFO: Acknowledgment sent {"connection_id":132726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:44:11] local.INFO: TCP Data received {"connection_id":132726,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ac08fc8012d7f914005afd9380011011b28..."} 
[2026-07-13 14:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ac08fc8012d7f914005afd9380011011b28..."} 
[2026-07-13 14:44:11] local.INFO: Processing buffer {"connection_id":132726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ac08fc8012d7f914005afd9380011011b28..."} 
[2026-07-13 14:44:11] local.INFO: Packet analysis {"connection_id":132726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ac0"} 
[2026-07-13 14:44:11] local.INFO: Extracted packet for processing {"connection_id":132726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ac0"} 
[2026-07-13 14:44:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687026176001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783933997000,"timestamp_ms":1783933997000,"timestamp_seconds":1783933997,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ac08fc8"} 
[2026-07-13 14:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687026176001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687026176001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:44:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:44:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687026176001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":132726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:44:11] local.INFO: GPS data processed {"connection_id":132726,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:44:11] local.INFO: Acknowledgment sent {"connection_id":132726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:44:34] local.INFO: TCP Data received {"connection_id":131415,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:44:34] local.INFO: Processing buffer {"connection_id":131415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:44:34] local.INFO: IMEI packet received {"connection_id":131415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":131415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:44:39] local.INFO: TCP Data received {"connection_id":131415,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:44:39] local.INFO: Processing buffer {"connection_id":131415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:44:39] local.INFO: IMEI packet received {"connection_id":131415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":131415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:44:41] local.INFO: TCP Data received {"connection_id":131415,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ac08fc8012d7f914005afd9380011011b28..."} 
[2026-07-13 14:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ac08fc8012d7f914005afd9380011011b28..."} 
[2026-07-13 14:44:41] local.INFO: Processing buffer {"connection_id":131415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ac08fc8012d7f914005afd9380011011b28..."} 
[2026-07-13 14:44:41] local.INFO: Packet analysis {"connection_id":131415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ac0"} 
[2026-07-13 14:44:41] local.INFO: Extracted packet for processing {"connection_id":131415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ac0"} 
[2026-07-13 14:44:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687026176001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783933997000,"timestamp_ms":1783933997000,"timestamp_seconds":1783933997,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ac08fc8"} 
[2026-07-13 14:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687026176001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687026176001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:44:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:44:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687026176001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":131415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:44:41] local.INFO: GPS data processed {"connection_id":131415,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:44:41] local.INFO: Acknowledgment sent {"connection_id":131415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:45:12] local.INFO: TCP Data received {"connection_id":131415,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ac08fc8012d7f914005afd9380011011b28..."} 
[2026-07-13 14:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ac08fc8012d7f914005afd9380011011b28..."} 
[2026-07-13 14:45:12] local.INFO: Processing buffer {"connection_id":131415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ac08fc8012d7f914005afd9380011011b28..."} 
[2026-07-13 14:45:12] local.INFO: Packet analysis {"connection_id":131415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ac0"} 
[2026-07-13 14:45:12] local.INFO: Extracted packet for processing {"connection_id":131415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ac0"} 
[2026-07-13 14:45:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687026176001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783933997000,"timestamp_ms":1783933997000,"timestamp_seconds":1783933997,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ac08fc8"} 
[2026-07-13 14:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687026176001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687026176001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:45:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:45:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687026176001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":131415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:45:12] local.INFO: GPS data processed {"connection_id":131415,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:45:12] local.INFO: Acknowledgment sent {"connection_id":131415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:45:34] local.INFO: TCP Data received {"connection_id":132727,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:45:34] local.INFO: Processing buffer {"connection_id":132727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:45:34] local.INFO: IMEI packet received {"connection_id":132727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":132727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:45:40] local.INFO: TCP Data received {"connection_id":132727,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:45:40] local.INFO: Processing buffer {"connection_id":132727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:45:40] local.INFO: IMEI packet received {"connection_id":132727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":132727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:45:41] local.INFO: TCP Data received {"connection_id":132727,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ac08fc8012d7f914005afd9380011011b28..."} 
[2026-07-13 14:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ac08fc8012d7f914005afd9380011011b28..."} 
[2026-07-13 14:45:41] local.INFO: Processing buffer {"connection_id":132727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ac08fc8012d7f914005afd9380011011b28..."} 
[2026-07-13 14:45:41] local.INFO: Packet analysis {"connection_id":132727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ac0"} 
[2026-07-13 14:45:41] local.INFO: Extracted packet for processing {"connection_id":132727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ac0"} 
[2026-07-13 14:45:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687026176001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783933997000,"timestamp_ms":1783933997000,"timestamp_seconds":1783933997,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ac08fc8"} 
[2026-07-13 14:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687026176001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687026176001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:45:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:45:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687026176001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":132727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:45:41] local.INFO: GPS data processed {"connection_id":132727,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:45:41] local.INFO: Acknowledgment sent {"connection_id":132727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:46:12] local.INFO: TCP Data received {"connection_id":132727,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ac08fc8012d7f914005afd9380011011b28..."} 
[2026-07-13 14:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ac08fc8012d7f914005afd9380011011b28..."} 
[2026-07-13 14:46:12] local.INFO: Processing buffer {"connection_id":132727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ac08fc8012d7f914005afd9380011011b28..."} 
[2026-07-13 14:46:12] local.INFO: Packet analysis {"connection_id":132727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ac0"} 
[2026-07-13 14:46:12] local.INFO: Extracted packet for processing {"connection_id":132727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ac0"} 
[2026-07-13 14:46:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687026176001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783933997000,"timestamp_ms":1783933997000,"timestamp_seconds":1783933997,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ac08fc8"} 
[2026-07-13 14:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687026176001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687026176001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:46:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:46:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687026176001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":132727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:46:12] local.INFO: GPS data processed {"connection_id":132727,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:46:12] local.INFO: Acknowledgment sent {"connection_id":132727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:46:39] local.INFO: TCP Data received {"connection_id":131416,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:46:39] local.INFO: Processing buffer {"connection_id":131416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:46:39] local.INFO: IMEI packet received {"connection_id":131416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":131416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:46:44] local.INFO: TCP Data received {"connection_id":131416,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:46:44] local.INFO: Processing buffer {"connection_id":131416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:46:44] local.INFO: IMEI packet received {"connection_id":131416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":131416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:46:45] local.INFO: TCP Data received {"connection_id":131416,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ac08fc8012d7f914005afd9380011011b28..."} 
[2026-07-13 14:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ac08fc8012d7f914005afd9380011011b28..."} 
[2026-07-13 14:46:45] local.INFO: Processing buffer {"connection_id":131416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ac08fc8012d7f914005afd9380011011b28..."} 
[2026-07-13 14:46:45] local.INFO: Packet analysis {"connection_id":131416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ac0"} 
[2026-07-13 14:46:45] local.INFO: Extracted packet for processing {"connection_id":131416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ac0"} 
[2026-07-13 14:46:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687026176001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783933997000,"timestamp_ms":1783933997000,"timestamp_seconds":1783933997,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ac08fc8"} 
[2026-07-13 14:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687026176001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687026176001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:46:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:46:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687026176001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":131416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:46:45] local.INFO: GPS data processed {"connection_id":131416,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:46:45] local.INFO: Acknowledgment sent {"connection_id":131416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:46:50] local.INFO: TCP Data received {"connection_id":131416,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ac08fc8012d7f914005afd9380011011b28..."} 
[2026-07-13 14:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ac08fc8012d7f914005afd9380011011b28..."} 
[2026-07-13 14:46:50] local.INFO: Processing buffer {"connection_id":131416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ac08fc8012d7f914005afd9380011011b28..."} 
[2026-07-13 14:46:50] local.INFO: Packet analysis {"connection_id":131416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ac0"} 
[2026-07-13 14:46:50] local.INFO: Extracted packet for processing {"connection_id":131416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ac0"} 
[2026-07-13 14:46:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687026176001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783933997000,"timestamp_ms":1783933997000,"timestamp_seconds":1783933997,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ac08fc8"} 
[2026-07-13 14:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:46: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-07-13 14:46:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:46: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-07-13 14:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687026176001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687026176001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:46:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:46:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687026176001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":131416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:46:50] local.INFO: GPS data processed {"connection_id":131416,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:46:50] local.INFO: Acknowledgment sent {"connection_id":131416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:47:34] local.INFO: TCP Data received {"connection_id":132729,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:47:34] local.INFO: Processing buffer {"connection_id":132729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:47:34] local.INFO: IMEI packet received {"connection_id":132729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":132729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:47:39] local.INFO: TCP Data received {"connection_id":132729,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:47:39] local.INFO: Processing buffer {"connection_id":132729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:47:39] local.INFO: IMEI packet received {"connection_id":132729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":132729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:47:40] local.INFO: TCP Data received {"connection_id":132729,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ac08fc8012d7f914005afd9380011011b28..."} 
[2026-07-13 14:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ac08fc8012d7f914005afd9380011011b28..."} 
[2026-07-13 14:47:40] local.INFO: Processing buffer {"connection_id":132729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ac08fc8012d7f914005afd9380011011b28..."} 
[2026-07-13 14:47:40] local.INFO: Packet analysis {"connection_id":132729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ac0"} 
[2026-07-13 14:47:40] local.INFO: Extracted packet for processing {"connection_id":132729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ac0"} 
[2026-07-13 14:47:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687026176001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783933997000,"timestamp_ms":1783933997000,"timestamp_seconds":1783933997,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ac08fc8"} 
[2026-07-13 14:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687026176001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687026176001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:47:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:47:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687026176001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":132729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:47:40] local.INFO: GPS data processed {"connection_id":132729,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:47:40] local.INFO: Acknowledgment sent {"connection_id":132729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:48:10] local.INFO: TCP Data received {"connection_id":130592,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130592,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:48:10] local.INFO: Processing buffer {"connection_id":130592,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:48:10] local.INFO: IMEI packet received {"connection_id":130592,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 14:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":130592,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:48:12] local.INFO: TCP Data received {"connection_id":132729,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ac08fc8012d7f914005afd9380011011b28..."} 
[2026-07-13 14:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ac08fc8012d7f914005afd9380011011b28..."} 
[2026-07-13 14:48:12] local.INFO: Processing buffer {"connection_id":132729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ac08fc8012d7f914005afd9380011011b28..."} 
[2026-07-13 14:48:12] local.INFO: Packet analysis {"connection_id":132729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ac0"} 
[2026-07-13 14:48:12] local.INFO: Extracted packet for processing {"connection_id":132729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ac0"} 
[2026-07-13 14:48:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687026176001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783933997000,"timestamp_ms":1783933997000,"timestamp_seconds":1783933997,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ac08fc8"} 
[2026-07-13 14:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687026176001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687026176001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:48:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:48:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687026176001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":132729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:48:12] local.INFO: GPS data processed {"connection_id":132729,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:48:12] local.INFO: Acknowledgment sent {"connection_id":132729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:48:34] local.INFO: TCP Data received {"connection_id":131417,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:48:34] local.INFO: Processing buffer {"connection_id":131417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:48:34] local.INFO: IMEI packet received {"connection_id":131417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":131417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:48:39] local.INFO: TCP Data received {"connection_id":131417,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:48:39] local.INFO: Processing buffer {"connection_id":131417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:48:39] local.INFO: IMEI packet received {"connection_id":131417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":131417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:48:40] local.INFO: TCP Data received {"connection_id":130593,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:48:40] local.INFO: Processing buffer {"connection_id":130593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:48:40] local.INFO: IMEI packet received {"connection_id":130593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 14:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":130593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:48:40] local.INFO: TCP Data received {"connection_id":131417,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ac08fc8012d7f914005afd9380011011b28..."} 
[2026-07-13 14:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ac08fc8012d7f914005afd9380011011b28..."} 
[2026-07-13 14:48:40] local.INFO: Processing buffer {"connection_id":131417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ac08fc8012d7f914005afd9380011011b28..."} 
[2026-07-13 14:48:40] local.INFO: Packet analysis {"connection_id":131417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ac0"} 
[2026-07-13 14:48:40] local.INFO: Extracted packet for processing {"connection_id":131417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ac0"} 
[2026-07-13 14:48:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687026176001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783933997000,"timestamp_ms":1783933997000,"timestamp_seconds":1783933997,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ac08fc8"} 
[2026-07-13 14:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687026176001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687026176001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:48:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:48:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687026176001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":131417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:48:40] local.INFO: GPS data processed {"connection_id":131417,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:48:40] local.INFO: Acknowledgment sent {"connection_id":131417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:49:11] local.INFO: TCP Data received {"connection_id":131417,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ac52790012d7f914005afd9380012011b2c..."} 
[2026-07-13 14:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ac52790012d7f914005afd9380012011b2c..."} 
[2026-07-13 14:49:11] local.INFO: Processing buffer {"connection_id":131417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ac52790012d7f914005afd9380012011b2c..."} 
[2026-07-13 14:49:11] local.INFO: Packet analysis {"connection_id":131417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ac5"} 
[2026-07-13 14:49:11] local.INFO: Extracted packet for processing {"connection_id":131417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ac5"} 
[2026-07-13 14:49:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":44,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687103232001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783934298000,"timestamp_ms":1783934298000,"timestamp_seconds":1783934298,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ac52790"} 
[2026-07-13 14:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687103232001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687103232001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:49:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:49:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687103232001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":131417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:49:11] local.INFO: GPS data processed {"connection_id":131417,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:49:11] local.INFO: Acknowledgment sent {"connection_id":131417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:49:34] local.INFO: TCP Data received {"connection_id":132730,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:49:34] local.INFO: Processing buffer {"connection_id":132730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:49:34] local.INFO: IMEI packet received {"connection_id":132730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":132730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:49:39] local.INFO: TCP Data received {"connection_id":132730,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:49:39] local.INFO: Processing buffer {"connection_id":132730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:49:39] local.INFO: IMEI packet received {"connection_id":132730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":132730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:49:40] local.INFO: TCP Data received {"connection_id":132730,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ac52790012d7f914005afd9380012011b2c..."} 
[2026-07-13 14:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ac52790012d7f914005afd9380012011b2c..."} 
[2026-07-13 14:49:40] local.INFO: Processing buffer {"connection_id":132730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ac52790012d7f914005afd9380012011b2c..."} 
[2026-07-13 14:49:40] local.INFO: Packet analysis {"connection_id":132730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ac5"} 
[2026-07-13 14:49:40] local.INFO: Extracted packet for processing {"connection_id":132730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ac5"} 
[2026-07-13 14:49:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":44,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687103232001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783934298000,"timestamp_ms":1783934298000,"timestamp_seconds":1783934298,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ac52790"} 
[2026-07-13 14:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:49: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-07-13 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687103232001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687103232001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:49:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:49:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687103232001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":132730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:49:40] local.INFO: GPS data processed {"connection_id":132730,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:49:40] local.INFO: Acknowledgment sent {"connection_id":132730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:50:11] local.INFO: TCP Data received {"connection_id":132730,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ac52790012d7f914005afd9380012011b2c..."} 
[2026-07-13 14:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ac52790012d7f914005afd9380012011b2c..."} 
[2026-07-13 14:50:11] local.INFO: Processing buffer {"connection_id":132730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ac52790012d7f914005afd9380012011b2c..."} 
[2026-07-13 14:50:11] local.INFO: Packet analysis {"connection_id":132730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ac5"} 
[2026-07-13 14:50:11] local.INFO: Extracted packet for processing {"connection_id":132730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ac5"} 
[2026-07-13 14:50:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":44,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687103232001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783934298000,"timestamp_ms":1783934298000,"timestamp_seconds":1783934298,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ac52790"} 
[2026-07-13 14:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687103232001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687103232001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:50:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:50:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687103232001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":132730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:50:11] local.INFO: GPS data processed {"connection_id":132730,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:50:11] local.INFO: Acknowledgment sent {"connection_id":132730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:50:39] local.INFO: TCP Data received {"connection_id":130594,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:50:39] local.INFO: Processing buffer {"connection_id":130594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:50:39] local.INFO: IMEI packet received {"connection_id":130594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":130594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:50:44] local.INFO: TCP Data received {"connection_id":130594,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:50:44] local.INFO: Processing buffer {"connection_id":130594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:50:44] local.INFO: IMEI packet received {"connection_id":130594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":130594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:50:45] local.INFO: TCP Data received {"connection_id":130594,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ac52790012d7f914005afd9380012011b2c..."} 
[2026-07-13 14:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ac52790012d7f914005afd9380012011b2c..."} 
[2026-07-13 14:50:45] local.INFO: Processing buffer {"connection_id":130594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ac52790012d7f914005afd9380012011b2c..."} 
[2026-07-13 14:50:45] local.INFO: Packet analysis {"connection_id":130594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ac5"} 
[2026-07-13 14:50:45] local.INFO: Extracted packet for processing {"connection_id":130594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ac5"} 
[2026-07-13 14:50:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":44,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687103232001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783934298000,"timestamp_ms":1783934298000,"timestamp_seconds":1783934298,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ac52790"} 
[2026-07-13 14:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:50: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-07-13 14:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687103232001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687103232001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:50:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:50:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687103232001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":130594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:50:45] local.INFO: GPS data processed {"connection_id":130594,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:50:45] local.INFO: Acknowledgment sent {"connection_id":130594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:50:50] local.INFO: TCP Data received {"connection_id":130594,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ac52790012d7f914005afd9380012011b2c..."} 
[2026-07-13 14:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ac52790012d7f914005afd9380012011b2c..."} 
[2026-07-13 14:50:50] local.INFO: Processing buffer {"connection_id":130594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ac52790012d7f914005afd9380012011b2c..."} 
[2026-07-13 14:50:50] local.INFO: Packet analysis {"connection_id":130594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ac5"} 
[2026-07-13 14:50:50] local.INFO: Extracted packet for processing {"connection_id":130594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ac5"} 
[2026-07-13 14:50:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":44,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14: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-07-13 14:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687103232001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783934298000,"timestamp_ms":1783934298000,"timestamp_seconds":1783934298,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ac52790"} 
[2026-07-13 14:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:50: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-07-13 14: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-07-13 14:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14: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-07-13 14:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687103232001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687103232001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:50:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:50:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687103232001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":130594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:50:50] local.INFO: GPS data processed {"connection_id":130594,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:50:50] local.INFO: Acknowledgment sent {"connection_id":130594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:51:34] local.INFO: TCP Data received {"connection_id":130374,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:51:34] local.INFO: Processing buffer {"connection_id":130374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:51:34] local.INFO: IMEI packet received {"connection_id":130374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":130374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:51:39] local.INFO: TCP Data received {"connection_id":130374,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:51:39] local.INFO: Processing buffer {"connection_id":130374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:51:39] local.INFO: IMEI packet received {"connection_id":130374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":130374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:51:40] local.INFO: TCP Data received {"connection_id":130374,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ac52790012d7f914005afd9380012011b2c..."} 
[2026-07-13 14:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ac52790012d7f914005afd9380012011b2c..."} 
[2026-07-13 14:51:40] local.INFO: Processing buffer {"connection_id":130374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ac52790012d7f914005afd9380012011b2c..."} 
[2026-07-13 14:51:40] local.INFO: Packet analysis {"connection_id":130374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ac5"} 
[2026-07-13 14:51:40] local.INFO: Extracted packet for processing {"connection_id":130374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ac5"} 
[2026-07-13 14:51:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":44,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687103232001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783934298000,"timestamp_ms":1783934298000,"timestamp_seconds":1783934298,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ac52790"} 
[2026-07-13 14:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:51: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-07-13 14:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687103232001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687103232001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:51:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:51:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687103232001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":130374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:51:40] local.INFO: GPS data processed {"connection_id":130374,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:51:40] local.INFO: Acknowledgment sent {"connection_id":130374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:52:11] local.INFO: TCP Data received {"connection_id":130374,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ac52790012d7f914005afd9380012011b2c..."} 
[2026-07-13 14:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ac52790012d7f914005afd9380012011b2c..."} 
[2026-07-13 14:52:11] local.INFO: Processing buffer {"connection_id":130374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ac52790012d7f914005afd9380012011b2c..."} 
[2026-07-13 14:52:11] local.INFO: Packet analysis {"connection_id":130374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ac5"} 
[2026-07-13 14:52:11] local.INFO: Extracted packet for processing {"connection_id":130374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ac5"} 
[2026-07-13 14:52:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":44,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687103232001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783934298000,"timestamp_ms":1783934298000,"timestamp_seconds":1783934298,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ac52790"} 
[2026-07-13 14:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687103232001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687103232001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:52:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:52:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687103232001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":130374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:52:11] local.INFO: GPS data processed {"connection_id":130374,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:52:11] local.INFO: Acknowledgment sent {"connection_id":130374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:52:34] local.INFO: TCP Data received {"connection_id":132731,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:52:34] local.INFO: Processing buffer {"connection_id":132731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:52:34] local.INFO: IMEI packet received {"connection_id":132731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":132731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:52:39] local.INFO: TCP Data received {"connection_id":132731,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:52:39] local.INFO: Processing buffer {"connection_id":132731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:52:39] local.INFO: IMEI packet received {"connection_id":132731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":132731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:52:40] local.INFO: TCP Data received {"connection_id":132731,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ac52790012d7f914005afd9380012011b2c..."} 
[2026-07-13 14:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ac52790012d7f914005afd9380012011b2c..."} 
[2026-07-13 14:52:40] local.INFO: Processing buffer {"connection_id":132731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ac52790012d7f914005afd9380012011b2c..."} 
[2026-07-13 14:52:40] local.INFO: Packet analysis {"connection_id":132731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ac5"} 
[2026-07-13 14:52:40] local.INFO: Extracted packet for processing {"connection_id":132731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ac5"} 
[2026-07-13 14:52:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":44,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687103232001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783934298000,"timestamp_ms":1783934298000,"timestamp_seconds":1783934298,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ac52790"} 
[2026-07-13 14:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:52: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-07-13 14:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687103232001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687103232001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:52:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:52:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687103232001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":132731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:52:40] local.INFO: GPS data processed {"connection_id":132731,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:52:40] local.INFO: Acknowledgment sent {"connection_id":132731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:53:11] local.INFO: TCP Data received {"connection_id":132731,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ac52790012d7f914005afd9380012011b2c..."} 
[2026-07-13 14:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ac52790012d7f914005afd9380012011b2c..."} 
[2026-07-13 14:53:11] local.INFO: Processing buffer {"connection_id":132731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ac52790012d7f914005afd9380012011b2c..."} 
[2026-07-13 14:53:11] local.INFO: Packet analysis {"connection_id":132731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ac5"} 
[2026-07-13 14:53:11] local.INFO: Extracted packet for processing {"connection_id":132731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ac5"} 
[2026-07-13 14:53:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":44,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687103232001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783934298000,"timestamp_ms":1783934298000,"timestamp_seconds":1783934298,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ac52790"} 
[2026-07-13 14:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687103232001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687103232001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:53:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:53:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687103232001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":132731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:53:11] local.INFO: GPS data processed {"connection_id":132731,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:53:11] local.INFO: Acknowledgment sent {"connection_id":132731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:53:34] local.INFO: TCP Data received {"connection_id":130376,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:53:34] local.INFO: Processing buffer {"connection_id":130376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:53:34] local.INFO: IMEI packet received {"connection_id":130376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":130376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:53:39] local.INFO: TCP Data received {"connection_id":130376,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:53:39] local.INFO: Processing buffer {"connection_id":130376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:53:39] local.INFO: IMEI packet received {"connection_id":130376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":130376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:53:40] local.INFO: TCP Data received {"connection_id":130376,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ac52790012d7f914005afd9380012011b2c..."} 
[2026-07-13 14:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ac52790012d7f914005afd9380012011b2c..."} 
[2026-07-13 14:53:40] local.INFO: Processing buffer {"connection_id":130376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ac52790012d7f914005afd9380012011b2c..."} 
[2026-07-13 14:53:40] local.INFO: Packet analysis {"connection_id":130376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ac5"} 
[2026-07-13 14:53:40] local.INFO: Extracted packet for processing {"connection_id":130376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ac5"} 
[2026-07-13 14:53:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":44,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687103232001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783934298000,"timestamp_ms":1783934298000,"timestamp_seconds":1783934298,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ac52790"} 
[2026-07-13 14:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14: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-07-13 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687103232001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687103232001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:53:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:53:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687103232001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":130376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:53:40] local.INFO: GPS data processed {"connection_id":130376,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:53:40] local.INFO: Acknowledgment sent {"connection_id":130376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:54:10] local.INFO: TCP Data received {"connection_id":132732,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:54:10] local.INFO: Processing buffer {"connection_id":132732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:54:10] local.INFO: IMEI packet received {"connection_id":132732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 14:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":132732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:54:11] local.INFO: TCP Data received {"connection_id":130376,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ac9bf58012d7f914005afd9380014011b29..."} 
[2026-07-13 14:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ac9bf58012d7f914005afd9380014011b29..."} 
[2026-07-13 14:54:11] local.INFO: Processing buffer {"connection_id":130376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ac9bf58012d7f914005afd9380014011b29..."} 
[2026-07-13 14:54:11] local.INFO: Packet analysis {"connection_id":130376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ac9"} 
[2026-07-13 14:54:11] local.INFO: Extracted packet for processing {"connection_id":130376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ac9"} 
[2026-07-13 14:54:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687180288001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783934599000,"timestamp_ms":1783934599000,"timestamp_seconds":1783934599,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ac9bf58"} 
[2026-07-13 14:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 14:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687180288001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687180288001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:54:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:54:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687180288001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":130376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:54:11] local.INFO: GPS data processed {"connection_id":130376,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:54:11] local.INFO: Acknowledgment sent {"connection_id":130376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:54:34] local.INFO: TCP Data received {"connection_id":132733,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:54:34] local.INFO: Processing buffer {"connection_id":132733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:54:34] local.INFO: IMEI packet received {"connection_id":132733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":132733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:54:39] local.INFO: TCP Data received {"connection_id":132733,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:54:39] local.INFO: Processing buffer {"connection_id":132733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:54:39] local.INFO: IMEI packet received {"connection_id":132733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":132733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:54:39] local.INFO: TCP Data received {"connection_id":131419,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:54:39] local.INFO: Processing buffer {"connection_id":131419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 14:54:39] local.INFO: IMEI packet received {"connection_id":131419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 14:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":131419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:54:40] local.INFO: TCP Data received {"connection_id":132733,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ac9bf58012d7f914005afd9380014011b29..."} 
[2026-07-13 14:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ac9bf58012d7f914005afd9380014011b29..."} 
[2026-07-13 14:54:40] local.INFO: Processing buffer {"connection_id":132733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ac9bf58012d7f914005afd9380014011b29..."} 
[2026-07-13 14:54:40] local.INFO: Packet analysis {"connection_id":132733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ac9"} 
[2026-07-13 14:54:40] local.INFO: Extracted packet for processing {"connection_id":132733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ac9"} 
[2026-07-13 14:54:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687180288001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783934599000,"timestamp_ms":1783934599000,"timestamp_seconds":1783934599,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ac9bf58"} 
[2026-07-13 14:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 14:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687180288001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687180288001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:54:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:54:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687180288001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":132733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:54:40] local.INFO: GPS data processed {"connection_id":132733,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:54:40] local.INFO: Acknowledgment sent {"connection_id":132733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:55:11] local.INFO: TCP Data received {"connection_id":132733,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ac9bf58012d7f914005afd9380014011b29..."} 
[2026-07-13 14:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ac9bf58012d7f914005afd9380014011b29..."} 
[2026-07-13 14:55:11] local.INFO: Processing buffer {"connection_id":132733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ac9bf58012d7f914005afd9380014011b29..."} 
[2026-07-13 14:55:11] local.INFO: Packet analysis {"connection_id":132733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ac9"} 
[2026-07-13 14:55:11] local.INFO: Extracted packet for processing {"connection_id":132733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ac9"} 
[2026-07-13 14:55:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687180288001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783934599000,"timestamp_ms":1783934599000,"timestamp_seconds":1783934599,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ac9bf58"} 
[2026-07-13 14:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 14:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687180288001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687180288001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:55:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:55:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687180288001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":132733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:55:11] local.INFO: GPS data processed {"connection_id":132733,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:55:11] local.INFO: Acknowledgment sent {"connection_id":132733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:55:34] local.INFO: TCP Data received {"connection_id":130377,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:55:34] local.INFO: Processing buffer {"connection_id":130377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:55:34] local.INFO: IMEI packet received {"connection_id":130377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":130377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:55:39] local.INFO: TCP Data received {"connection_id":130377,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:55:39] local.INFO: Processing buffer {"connection_id":130377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:55:39] local.INFO: IMEI packet received {"connection_id":130377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":130377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:55:40] local.INFO: TCP Data received {"connection_id":130377,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ac9bf58012d7f914005afd9380014011b29..."} 
[2026-07-13 14:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ac9bf58012d7f914005afd9380014011b29..."} 
[2026-07-13 14:55:40] local.INFO: Processing buffer {"connection_id":130377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ac9bf58012d7f914005afd9380014011b29..."} 
[2026-07-13 14:55:40] local.INFO: Packet analysis {"connection_id":130377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ac9"} 
[2026-07-13 14:55:40] local.INFO: Extracted packet for processing {"connection_id":130377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ac9"} 
[2026-07-13 14:55:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687180288001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783934599000,"timestamp_ms":1783934599000,"timestamp_seconds":1783934599,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ac9bf58"} 
[2026-07-13 14:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 14:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687180288001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687180288001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:55:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:55:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687180288001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":130377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:55:40] local.INFO: GPS data processed {"connection_id":130377,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:55:40] local.INFO: Acknowledgment sent {"connection_id":130377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:56:11] local.INFO: TCP Data received {"connection_id":130377,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ac9bf58012d7f914005afd9380014011b29..."} 
[2026-07-13 14:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ac9bf58012d7f914005afd9380014011b29..."} 
[2026-07-13 14:56:11] local.INFO: Processing buffer {"connection_id":130377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ac9bf58012d7f914005afd9380014011b29..."} 
[2026-07-13 14:56:11] local.INFO: Packet analysis {"connection_id":130377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ac9"} 
[2026-07-13 14:56:11] local.INFO: Extracted packet for processing {"connection_id":130377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ac9"} 
[2026-07-13 14:56:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687180288001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783934599000,"timestamp_ms":1783934599000,"timestamp_seconds":1783934599,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ac9bf58"} 
[2026-07-13 14:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 14:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687180288001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687180288001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:56:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:56:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687180288001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":130377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:56:11] local.INFO: GPS data processed {"connection_id":130377,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:56:11] local.INFO: Acknowledgment sent {"connection_id":130377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:56:39] local.INFO: TCP Data received {"connection_id":131420,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:56:39] local.INFO: Processing buffer {"connection_id":131420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:56:39] local.INFO: IMEI packet received {"connection_id":131420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":131420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:56:44] local.INFO: TCP Data received {"connection_id":131420,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:56:44] local.INFO: Processing buffer {"connection_id":131420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:56:44] local.INFO: IMEI packet received {"connection_id":131420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":131420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:56:45] local.INFO: TCP Data received {"connection_id":131420,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ac9bf58012d7f914005afd9380014011b29..."} 
[2026-07-13 14:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ac9bf58012d7f914005afd9380014011b29..."} 
[2026-07-13 14:56:45] local.INFO: Processing buffer {"connection_id":131420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ac9bf58012d7f914005afd9380014011b29..."} 
[2026-07-13 14:56:45] local.INFO: Packet analysis {"connection_id":131420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ac9"} 
[2026-07-13 14:56:45] local.INFO: Extracted packet for processing {"connection_id":131420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ac9"} 
[2026-07-13 14:56:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687180288001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783934599000,"timestamp_ms":1783934599000,"timestamp_seconds":1783934599,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ac9bf58"} 
[2026-07-13 14:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 14:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687180288001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687180288001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:56:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:56:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687180288001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":131420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:56:45] local.INFO: GPS data processed {"connection_id":131420,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:56:45] local.INFO: Acknowledgment sent {"connection_id":131420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:56:50] local.INFO: TCP Data received {"connection_id":131420,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ac9bf58012d7f914005afd9380014011b29..."} 
[2026-07-13 14:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ac9bf58012d7f914005afd9380014011b29..."} 
[2026-07-13 14:56:50] local.INFO: Processing buffer {"connection_id":131420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ac9bf58012d7f914005afd9380014011b29..."} 
[2026-07-13 14:56:50] local.INFO: Packet analysis {"connection_id":131420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ac9"} 
[2026-07-13 14:56:50] local.INFO: Extracted packet for processing {"connection_id":131420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ac9"} 
[2026-07-13 14:56:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 14:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687180288001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783934599000,"timestamp_ms":1783934599000,"timestamp_seconds":1783934599,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ac9bf58"} 
[2026-07-13 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-07-13 14:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 14:56: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-07-13 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-07-13 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-07-13 14:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:56: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-07-13 14:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687180288001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687180288001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:56:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:56:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687180288001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":131420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:56:50] local.INFO: GPS data processed {"connection_id":131420,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:56:50] local.INFO: Acknowledgment sent {"connection_id":131420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:57:34] local.INFO: TCP Data received {"connection_id":132735,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:57:34] local.INFO: Processing buffer {"connection_id":132735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:57:34] local.INFO: IMEI packet received {"connection_id":132735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":132735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:57:39] local.INFO: TCP Data received {"connection_id":132735,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:57:39] local.INFO: Processing buffer {"connection_id":132735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:57:39] local.INFO: IMEI packet received {"connection_id":132735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":132735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:57:40] local.INFO: TCP Data received {"connection_id":132735,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ac9bf58012d7f914005afd9380014011b29..."} 
[2026-07-13 14:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ac9bf58012d7f914005afd9380014011b29..."} 
[2026-07-13 14:57:40] local.INFO: Processing buffer {"connection_id":132735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ac9bf58012d7f914005afd9380014011b29..."} 
[2026-07-13 14:57:40] local.INFO: Packet analysis {"connection_id":132735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ac9"} 
[2026-07-13 14:57:40] local.INFO: Extracted packet for processing {"connection_id":132735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ac9"} 
[2026-07-13 14:57:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687180288001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783934599000,"timestamp_ms":1783934599000,"timestamp_seconds":1783934599,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ac9bf58"} 
[2026-07-13 14:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 14:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687180288001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687180288001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:57:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:57:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687180288001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":132735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:57:40] local.INFO: GPS data processed {"connection_id":132735,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:57:40] local.INFO: Acknowledgment sent {"connection_id":132735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:58:11] local.INFO: TCP Data received {"connection_id":132735,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ac9bf58012d7f914005afd9380014011b29..."} 
[2026-07-13 14:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ac9bf58012d7f914005afd9380014011b29..."} 
[2026-07-13 14:58:11] local.INFO: Processing buffer {"connection_id":132735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ac9bf58012d7f914005afd9380014011b29..."} 
[2026-07-13 14:58:11] local.INFO: Packet analysis {"connection_id":132735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ac9"} 
[2026-07-13 14:58:11] local.INFO: Extracted packet for processing {"connection_id":132735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ac9"} 
[2026-07-13 14:58:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687180288001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783934599000,"timestamp_ms":1783934599000,"timestamp_seconds":1783934599,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ac9bf58"} 
[2026-07-13 14:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 14:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687180288001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687180288001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:58:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:58:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687180288001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":132735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:58:11] local.INFO: GPS data processed {"connection_id":132735,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:58:11] local.INFO: Acknowledgment sent {"connection_id":132735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:58:34] local.INFO: TCP Data received {"connection_id":130378,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:58:34] local.INFO: Processing buffer {"connection_id":130378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:58:34] local.INFO: IMEI packet received {"connection_id":130378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":130378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:58:39] local.INFO: TCP Data received {"connection_id":130378,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:58:39] local.INFO: Processing buffer {"connection_id":130378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:58:39] local.INFO: IMEI packet received {"connection_id":130378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":130378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:58:40] local.INFO: TCP Data received {"connection_id":130378,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ac9bf58012d7f914005afd9380014011b29..."} 
[2026-07-13 14:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ac9bf58012d7f914005afd9380014011b29..."} 
[2026-07-13 14:58:40] local.INFO: Processing buffer {"connection_id":130378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ac9bf58012d7f914005afd9380014011b29..."} 
[2026-07-13 14:58:40] local.INFO: Packet analysis {"connection_id":130378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ac9"} 
[2026-07-13 14:58:40] local.INFO: Extracted packet for processing {"connection_id":130378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ac9"} 
[2026-07-13 14:58:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687180288001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783934599000,"timestamp_ms":1783934599000,"timestamp_seconds":1783934599,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ac9bf58"} 
[2026-07-13 14:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 14:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687180288001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687180288001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:58:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:58:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687180288001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":130378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:58:40] local.INFO: GPS data processed {"connection_id":130378,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:58:40] local.INFO: Acknowledgment sent {"connection_id":130378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:59:11] local.INFO: TCP Data received {"connection_id":130378,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ace5720012d7f914005afd9380015011b2a..."} 
[2026-07-13 14:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ace5720012d7f914005afd9380015011b2a..."} 
[2026-07-13 14:59:11] local.INFO: Processing buffer {"connection_id":130378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ace5720012d7f914005afd9380015011b2a..."} 
[2026-07-13 14:59:11] local.INFO: Packet analysis {"connection_id":130378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ace"} 
[2026-07-13 14:59:11] local.INFO: Extracted packet for processing {"connection_id":130378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ace"} 
[2026-07-13 14:59:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":21,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687257344001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783934900000,"timestamp_ms":1783934900000,"timestamp_seconds":1783934900,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ace5720"} 
[2026-07-13 14:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 14:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687257344001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687257344001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:59:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:59:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687257344001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":130378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:59:11] local.INFO: GPS data processed {"connection_id":130378,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:59:11] local.INFO: Acknowledgment sent {"connection_id":130378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 14:59:34] local.INFO: TCP Data received {"connection_id":132736,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:59:34] local.INFO: Processing buffer {"connection_id":132736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:59:34] local.INFO: IMEI packet received {"connection_id":132736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 14:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":132736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 14:59:39] local.INFO: TCP Data received {"connection_id":132736,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:59:39] local.INFO: Processing buffer {"connection_id":132736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 14:59:39] local.INFO: IMEI packet received {"connection_id":132736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 14:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":132736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 14:59:40] local.INFO: TCP Data received {"connection_id":132736,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ace5720012d7f914005afd9380015011b2a..."} 
[2026-07-13 14:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ace5720012d7f914005afd9380015011b2a..."} 
[2026-07-13 14:59:40] local.INFO: Processing buffer {"connection_id":132736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ace5720012d7f914005afd9380015011b2a..."} 
[2026-07-13 14:59:40] local.INFO: Packet analysis {"connection_id":132736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ace"} 
[2026-07-13 14:59:40] local.INFO: Extracted packet for processing {"connection_id":132736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ace"} 
[2026-07-13 14:59:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":21,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 14:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 14:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687257344001,"note":"Value kept but may cause issues"} 
[2026-07-13 14:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 14:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 14:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 14:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783934900000,"timestamp_ms":1783934900000,"timestamp_seconds":1783934900,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ace5720"} 
[2026-07-13 14:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 14:59: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-07-13 14:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 14:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 14:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 14:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 14:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 14:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 14:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 14:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 14:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 14:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 14:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687257344001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 14:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 14:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 14:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687257344001,"description":"Unknown IO ID 0"} 
[2026-07-13 14:59:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 14:59:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 14:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 14:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 14:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687257344001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 14:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":132736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 14:59:40] local.INFO: GPS data processed {"connection_id":132736,"processed":1,"errors":0,"total":1} 
[2026-07-13 14:59:40] local.INFO: Acknowledgment sent {"connection_id":132736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:00:00] local.INFO: TCP Data received {"connection_id":132737,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132737,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:00:00] local.INFO: Processing buffer {"connection_id":132737,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:00:00] local.INFO: IMEI packet received {"connection_id":132737,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 15:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":132737,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:00:11] local.INFO: TCP Data received {"connection_id":132736,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ace5720012d7f914005afd9380015011b2a..."} 
[2026-07-13 15:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ace5720012d7f914005afd9380015011b2a..."} 
[2026-07-13 15:00:11] local.INFO: Processing buffer {"connection_id":132736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ace5720012d7f914005afd9380015011b2a..."} 
[2026-07-13 15:00:11] local.INFO: Packet analysis {"connection_id":132736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ace"} 
[2026-07-13 15:00:11] local.INFO: Extracted packet for processing {"connection_id":132736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ace"} 
[2026-07-13 15:00:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":21,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687257344001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783934900000,"timestamp_ms":1783934900000,"timestamp_seconds":1783934900,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ace5720"} 
[2026-07-13 15:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687257344001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687257344001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:00:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:00:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687257344001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":132736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:00:11] local.INFO: GPS data processed {"connection_id":132736,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:00:11] local.INFO: Acknowledgment sent {"connection_id":132736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:00:34] local.INFO: TCP Data received {"connection_id":132738,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:00:34] local.INFO: Processing buffer {"connection_id":132738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:00:34] local.INFO: IMEI packet received {"connection_id":132738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":132738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:00:39] local.INFO: TCP Data received {"connection_id":132738,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:00:39] local.INFO: Processing buffer {"connection_id":132738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:00:39] local.INFO: IMEI packet received {"connection_id":132738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":132738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:00:40] local.INFO: TCP Data received {"connection_id":132739,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132739,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:00:40] local.INFO: Processing buffer {"connection_id":132739,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:00:40] local.INFO: IMEI packet received {"connection_id":132739,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 15:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":132739,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:00:40] local.INFO: TCP Data received {"connection_id":132738,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ace5720012d7f914005afd9380015011b2a..."} 
[2026-07-13 15:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ace5720012d7f914005afd9380015011b2a..."} 
[2026-07-13 15:00:40] local.INFO: Processing buffer {"connection_id":132738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ace5720012d7f914005afd9380015011b2a..."} 
[2026-07-13 15:00:40] local.INFO: Packet analysis {"connection_id":132738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ace"} 
[2026-07-13 15:00:40] local.INFO: Extracted packet for processing {"connection_id":132738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ace"} 
[2026-07-13 15:00:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":21,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687257344001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783934900000,"timestamp_ms":1783934900000,"timestamp_seconds":1783934900,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ace5720"} 
[2026-07-13 15:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:00: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-07-13 15:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687257344001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687257344001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:00:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:00:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687257344001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":132738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:00:40] local.INFO: GPS data processed {"connection_id":132738,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:00:40] local.INFO: Acknowledgment sent {"connection_id":132738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:01:11] local.INFO: TCP Data received {"connection_id":132738,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ace5720012d7f914005afd9380015011b2a..."} 
[2026-07-13 15:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ace5720012d7f914005afd9380015011b2a..."} 
[2026-07-13 15:01:11] local.INFO: Processing buffer {"connection_id":132738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ace5720012d7f914005afd9380015011b2a..."} 
[2026-07-13 15:01:11] local.INFO: Packet analysis {"connection_id":132738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ace"} 
[2026-07-13 15:01:11] local.INFO: Extracted packet for processing {"connection_id":132738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ace"} 
[2026-07-13 15:01:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":21,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687257344001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783934900000,"timestamp_ms":1783934900000,"timestamp_seconds":1783934900,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ace5720"} 
[2026-07-13 15:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687257344001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687257344001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:01:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:01:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687257344001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":132738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:01:11] local.INFO: GPS data processed {"connection_id":132738,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:01:11] local.INFO: Acknowledgment sent {"connection_id":132738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:01:39] local.INFO: TCP Data received {"connection_id":130379,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:01:39] local.INFO: Processing buffer {"connection_id":130379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:01:39] local.INFO: IMEI packet received {"connection_id":130379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":130379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:01:44] local.INFO: TCP Data received {"connection_id":130379,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:01:44] local.INFO: Processing buffer {"connection_id":130379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:01:44] local.INFO: IMEI packet received {"connection_id":130379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":130379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:01:45] local.INFO: TCP Data received {"connection_id":130379,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ace5720012d7f914005afd9380015011b2a..."} 
[2026-07-13 15:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ace5720012d7f914005afd9380015011b2a..."} 
[2026-07-13 15:01:45] local.INFO: Processing buffer {"connection_id":130379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ace5720012d7f914005afd9380015011b2a..."} 
[2026-07-13 15:01:45] local.INFO: Packet analysis {"connection_id":130379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ace"} 
[2026-07-13 15:01:45] local.INFO: Extracted packet for processing {"connection_id":130379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ace"} 
[2026-07-13 15:01:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":21,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687257344001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783934900000,"timestamp_ms":1783934900000,"timestamp_seconds":1783934900,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ace5720"} 
[2026-07-13 15:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687257344001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687257344001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:01:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:01:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687257344001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":130379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:01:45] local.INFO: GPS data processed {"connection_id":130379,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:01:45] local.INFO: Acknowledgment sent {"connection_id":130379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:01:50] local.INFO: TCP Data received {"connection_id":130379,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ace5720012d7f914005afd9380015011b2a..."} 
[2026-07-13 15:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ace5720012d7f914005afd9380015011b2a..."} 
[2026-07-13 15:01:50] local.INFO: Processing buffer {"connection_id":130379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ace5720012d7f914005afd9380015011b2a..."} 
[2026-07-13 15:01:50] local.INFO: Packet analysis {"connection_id":130379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ace"} 
[2026-07-13 15:01:50] local.INFO: Extracted packet for processing {"connection_id":130379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ace"} 
[2026-07-13 15:01:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":21,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687257344001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783934900000,"timestamp_ms":1783934900000,"timestamp_seconds":1783934900,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ace5720"} 
[2026-07-13 15:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:01: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-07-13 15:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:01: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-07-13 15:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687257344001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687257344001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:01:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:01:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687257344001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":130379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:01:50] local.INFO: GPS data processed {"connection_id":130379,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:01:50] local.INFO: Acknowledgment sent {"connection_id":130379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:02:34] local.INFO: TCP Data received {"connection_id":131421,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:02:34] local.INFO: Processing buffer {"connection_id":131421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:02:34] local.INFO: IMEI packet received {"connection_id":131421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":131421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:02:39] local.INFO: TCP Data received {"connection_id":131421,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:02:39] local.INFO: Processing buffer {"connection_id":131421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:02:39] local.INFO: IMEI packet received {"connection_id":131421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":131421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:02:41] local.INFO: TCP Data received {"connection_id":131421,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ace5720012d7f914005afd9380015011b2a..."} 
[2026-07-13 15:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ace5720012d7f914005afd9380015011b2a..."} 
[2026-07-13 15:02:41] local.INFO: Processing buffer {"connection_id":131421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ace5720012d7f914005afd9380015011b2a..."} 
[2026-07-13 15:02:41] local.INFO: Packet analysis {"connection_id":131421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ace"} 
[2026-07-13 15:02:41] local.INFO: Extracted packet for processing {"connection_id":131421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ace"} 
[2026-07-13 15:02:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":21,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687257344001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783934900000,"timestamp_ms":1783934900000,"timestamp_seconds":1783934900,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ace5720"} 
[2026-07-13 15:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687257344001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687257344001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:02:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:02:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687257344001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":131421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:02:41] local.INFO: GPS data processed {"connection_id":131421,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:02:41] local.INFO: Acknowledgment sent {"connection_id":131421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:03:12] local.INFO: TCP Data received {"connection_id":131421,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ace5720012d7f914005afd9380015011b2a..."} 
[2026-07-13 15:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ace5720012d7f914005afd9380015011b2a..."} 
[2026-07-13 15:03:12] local.INFO: Processing buffer {"connection_id":131421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ace5720012d7f914005afd9380015011b2a..."} 
[2026-07-13 15:03:12] local.INFO: Packet analysis {"connection_id":131421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ace"} 
[2026-07-13 15:03:12] local.INFO: Extracted packet for processing {"connection_id":131421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ace"} 
[2026-07-13 15:03:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":21,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687257344001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783934900000,"timestamp_ms":1783934900000,"timestamp_seconds":1783934900,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ace5720"} 
[2026-07-13 15:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687257344001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687257344001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:03:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:03:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687257344001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":131421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:03:12] local.INFO: GPS data processed {"connection_id":131421,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:03:12] local.INFO: Acknowledgment sent {"connection_id":131421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:03:34] local.INFO: TCP Data received {"connection_id":131422,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:03:34] local.INFO: Processing buffer {"connection_id":131422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:03:34] local.INFO: IMEI packet received {"connection_id":131422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":131422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:03:39] local.INFO: TCP Data received {"connection_id":131422,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:03:39] local.INFO: Processing buffer {"connection_id":131422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:03:39] local.INFO: IMEI packet received {"connection_id":131422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":131422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:03:40] local.INFO: TCP Data received {"connection_id":131422,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ace5720012d7f914005afd9380015011b2a..."} 
[2026-07-13 15:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ace5720012d7f914005afd9380015011b2a..."} 
[2026-07-13 15:03:40] local.INFO: Processing buffer {"connection_id":131422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ace5720012d7f914005afd9380015011b2a..."} 
[2026-07-13 15:03:40] local.INFO: Packet analysis {"connection_id":131422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ace"} 
[2026-07-13 15:03:40] local.INFO: Extracted packet for processing {"connection_id":131422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ace"} 
[2026-07-13 15:03:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":21,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687257344001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783934900000,"timestamp_ms":1783934900000,"timestamp_seconds":1783934900,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ace5720"} 
[2026-07-13 15:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:03: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-07-13 15:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687257344001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687257344001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:03:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:03:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687257344001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":131422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:03:40] local.INFO: GPS data processed {"connection_id":131422,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:03:40] local.INFO: Acknowledgment sent {"connection_id":131422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:04:11] local.INFO: TCP Data received {"connection_id":131422,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad2eee8012d7f914005afd9380014011b29..."} 
[2026-07-13 15:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad2eee8012d7f914005afd9380014011b29..."} 
[2026-07-13 15:04:11] local.INFO: Processing buffer {"connection_id":131422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad2eee8012d7f914005afd9380014011b29..."} 
[2026-07-13 15:04:11] local.INFO: Packet analysis {"connection_id":131422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad2"} 
[2026-07-13 15:04:11] local.INFO: Extracted packet for processing {"connection_id":131422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad2"} 
[2026-07-13 15:04:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687334400001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783935201000,"timestamp_ms":1783935201000,"timestamp_seconds":1783935201,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad2eee8"} 
[2026-07-13 15:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 15:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687334400001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687334400001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:04:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:04:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687334400001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":131422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:04:11] local.INFO: GPS data processed {"connection_id":131422,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:04:11] local.INFO: Acknowledgment sent {"connection_id":131422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:04:19] local.INFO: TCP Data received {"connection_id":130381,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:04:19] local.INFO: Processing buffer {"connection_id":130381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:04:19] local.INFO: IMEI packet received {"connection_id":130381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":130381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:04:21] local.INFO: TCP Data received {"connection_id":130381,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:04:21] local.INFO: Processing buffer {"connection_id":130381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:04:21] local.INFO: IMEI packet received {"connection_id":130381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":130381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:04:23] local.INFO: TCP Data received {"connection_id":130381,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:04:23] local.INFO: Processing buffer {"connection_id":130381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:04:23] local.INFO: IMEI packet received {"connection_id":130381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":130381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:04:24] local.INFO: TCP Data received {"connection_id":130381,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-13 15:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130381,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-13 15:04:24] local.INFO: Processing buffer {"connection_id":130381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-13 15:04:24] local.INFO: Packet analysis {"connection_id":130381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-13 15:04:24] local.INFO: Extracted packet for processing {"connection_id":130381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-13 15:04:24] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 15: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-07-13 15:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105755061333786624,"note":"Value kept but may cause issues"} 
[2026-07-13 15:04:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,88,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 15:04:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 15:04:24] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-13 15:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":130381,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":130381,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-13 15:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":130381,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-13 15:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-13 15:04:24] local.WARNING: DEBUG: No valid data to process  
[2026-07-13 15:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":130381,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-13 15:04:24] local.ERROR: GPS data processing failed {"connection_id":130381,"error":"No valid data to process"} 
[2026-07-13 15:04:24] local.INFO: Acknowledgment sent {"connection_id":130381,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-13 15:04:29] local.INFO: TCP Data received {"connection_id":130381,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-13 15:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130381,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-13 15:04:29] local.INFO: Processing buffer {"connection_id":130381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-13 15:04:29] local.INFO: Packet analysis {"connection_id":130381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-13 15:04:29] local.INFO: Extracted packet for processing {"connection_id":130381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-13 15:04:29] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 15: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-07-13 15:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105755061333786624,"note":"Value kept but may cause issues"} 
[2026-07-13 15:04:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,88,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 15:04:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 15:04:29] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-13 15:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130381,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130381,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-13 15:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130381,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-13 15:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-13 15:04:29] local.WARNING: DEBUG: No valid data to process  
[2026-07-13 15:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":130381,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-13 15:04:29] local.ERROR: GPS data processing failed {"connection_id":130381,"error":"No valid data to process"} 
[2026-07-13 15:04:29] local.INFO: Acknowledgment sent {"connection_id":130381,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-13 15:04:34] local.INFO: TCP Data received {"connection_id":130601,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:04:34] local.INFO: Processing buffer {"connection_id":130601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:04:34] local.INFO: IMEI packet received {"connection_id":130601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":130601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:04:39] local.INFO: TCP Data received {"connection_id":130601,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:04:39] local.INFO: Processing buffer {"connection_id":130601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:04:39] local.INFO: IMEI packet received {"connection_id":130601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":130601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:04:40] local.INFO: TCP Data received {"connection_id":130601,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad2eee8012d7f914005afd9380014011b29..."} 
[2026-07-13 15:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad2eee8012d7f914005afd9380014011b29..."} 
[2026-07-13 15:04:40] local.INFO: Processing buffer {"connection_id":130601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad2eee8012d7f914005afd9380014011b29..."} 
[2026-07-13 15:04:40] local.INFO: Packet analysis {"connection_id":130601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad2"} 
[2026-07-13 15:04:40] local.INFO: Extracted packet for processing {"connection_id":130601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad2"} 
[2026-07-13 15:04:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 15:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687334400001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783935201000,"timestamp_ms":1783935201000,"timestamp_seconds":1783935201,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad2eee8"} 
[2026-07-13 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-07-13 15:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 15:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 15:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687334400001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687334400001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:04:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:04:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687334400001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":130601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:04:40] local.INFO: GPS data processed {"connection_id":130601,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:04:40] local.INFO: Acknowledgment sent {"connection_id":130601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:05:00] local.INFO: TCP Data received {"connection_id":130381,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-13 15:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130381,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-13 15:05:00] local.INFO: Processing buffer {"connection_id":130381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-13 15:05:00] local.INFO: Packet analysis {"connection_id":130381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-13 15:05:00] local.INFO: Extracted packet for processing {"connection_id":130381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-13 15:05:00] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 15:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105755061333786624,"note":"Value kept but may cause issues"} 
[2026-07-13 15:05:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,88,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 15:05:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 15:05:00] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-13 15:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":130381,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":130381,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-13 15:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":130381,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-13 15:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-13 15:05:00] local.WARNING: DEBUG: No valid data to process  
[2026-07-13 15:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":130381,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-13 15:05:00] local.ERROR: GPS data processing failed {"connection_id":130381,"error":"No valid data to process"} 
[2026-07-13 15:05:00] local.INFO: Acknowledgment sent {"connection_id":130381,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-13 15:05:12] local.INFO: TCP Data received {"connection_id":130601,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad2eee8012d7f914005afd9380014011b29..."} 
[2026-07-13 15:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad2eee8012d7f914005afd9380014011b29..."} 
[2026-07-13 15:05:12] local.INFO: Processing buffer {"connection_id":130601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad2eee8012d7f914005afd9380014011b29..."} 
[2026-07-13 15:05:12] local.INFO: Packet analysis {"connection_id":130601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad2"} 
[2026-07-13 15:05:12] local.INFO: Extracted packet for processing {"connection_id":130601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad2"} 
[2026-07-13 15:05:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687334400001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783935201000,"timestamp_ms":1783935201000,"timestamp_seconds":1783935201,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad2eee8"} 
[2026-07-13 15:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 15:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687334400001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687334400001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:05:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:05:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687334400001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":130601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:05:12] local.INFO: GPS data processed {"connection_id":130601,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:05:12] local.INFO: Acknowledgment sent {"connection_id":130601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:05:31] local.INFO: TCP Data received {"connection_id":130381,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad46200012d7cac0005e546100009004b05..."} 
[2026-07-13 15:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad46200012d7cac0005e546100009004b05..."} 
[2026-07-13 15:05:31] local.INFO: Processing buffer {"connection_id":130381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad46200012d7cac0005e546100009004b05..."} 
[2026-07-13 15:05:31] local.INFO: Packet analysis {"connection_id":130381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad4"} 
[2026-07-13 15:05:31] local.INFO: Extracted packet for processing {"connection_id":130381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad4"} 
[2026-07-13 15:05:31] local.INFO: GPS Element Parsed {"raw_longitude":763145216,"raw_latitude":98911760,"longitude_deg":76.3145216,"latitude_deg":9.891176,"altitude":9,"angle":75,"satellites":5,"speed":4,"hex_longitude":"2d7cac00","hex_latitude":"05e54610","is_valid_coordinates":true} 
[2026-07-13 15:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105755061333786624,"note":"Value kept but may cause issues"} 
[2026-07-13 15:05:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,88,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 15:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783935296000,"timestamp_ms":1783935296000,"timestamp_seconds":1783935296,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad46200"} 
[2026-07-13 15:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-13 15:05: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-07-13 15:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":130381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":130381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":130381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13059,"88":206,"87":13824,"24":4,"16":105755061333786624},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,87,24,16]} 
[2026-07-13 15:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-13 15:05:31] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-13 15:05:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105755061333786624,"km_value":105755061333786.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:05:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13059,"unknown_88":206,"unknown_87":13824,"ignition":4,"odometer":null}} 
[2026-07-13 15:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":130381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:05:31] local.INFO: GPS data processed {"connection_id":130381,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:05:31] local.INFO: Acknowledgment sent {"connection_id":130381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:05:34] local.INFO: TCP Data received {"connection_id":131423,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:05:34] local.INFO: Processing buffer {"connection_id":131423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:05:34] local.INFO: IMEI packet received {"connection_id":131423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":131423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:05:39] local.INFO: TCP Data received {"connection_id":131423,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:05:39] local.INFO: Processing buffer {"connection_id":131423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:05:39] local.INFO: IMEI packet received {"connection_id":131423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":131423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:05:40] local.INFO: TCP Data received {"connection_id":131423,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad2eee8012d7f914005afd9380014011b29..."} 
[2026-07-13 15:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad2eee8012d7f914005afd9380014011b29..."} 
[2026-07-13 15:05:40] local.INFO: Processing buffer {"connection_id":131423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad2eee8012d7f914005afd9380014011b29..."} 
[2026-07-13 15:05:40] local.INFO: Packet analysis {"connection_id":131423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad2"} 
[2026-07-13 15:05:40] local.INFO: Extracted packet for processing {"connection_id":131423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad2"} 
[2026-07-13 15:05:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687334400001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783935201000,"timestamp_ms":1783935201000,"timestamp_seconds":1783935201,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad2eee8"} 
[2026-07-13 15:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 15:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687334400001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687334400001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:05:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:05:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687334400001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":131423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:05:40] local.INFO: GPS data processed {"connection_id":131423,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:05:40] local.INFO: Acknowledgment sent {"connection_id":131423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:06:02] local.INFO: TCP Data received {"connection_id":130381,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad46db8012d7cac8005e54768000b005305..."} 
[2026-07-13 15:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad46db8012d7cac8005e54768000b005305..."} 
[2026-07-13 15:06:02] local.INFO: Processing buffer {"connection_id":130381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad46db8012d7cac8005e54768000b005305..."} 
[2026-07-13 15:06:02] local.INFO: Packet analysis {"connection_id":130381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad4"} 
[2026-07-13 15:06:02] local.INFO: Extracted packet for processing {"connection_id":130381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad4"} 
[2026-07-13 15:06:02] local.INFO: GPS Element Parsed {"raw_longitude":763145344,"raw_latitude":98912104,"longitude_deg":76.3145344,"latitude_deg":9.8912104,"altitude":11,"angle":83,"satellites":5,"speed":1,"hex_longitude":"2d7cac80","hex_latitude":"05e54768","is_valid_coordinates":true} 
[2026-07-13 15:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687435776001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105755078513655808,"note":"Value kept but may cause issues"} 
[2026-07-13 15:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983555382018707456,"note":"Value kept but may cause issues"} 
[2026-07-13 15:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783935299000,"timestamp_ms":1783935299000,"timestamp_seconds":1783935299,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad46db8"} 
[2026-07-13 15:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-13 15:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":57983845203968000,"note":"Value kept but may cause issues"} 
[2026-07-13 15:06:02] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2868903936,"note":"Value kept but may cause issues"} 
[2026-07-13 15:06:02] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465344,"note":"Value kept but may cause issues"} 
[2026-07-13 15:06:02] local.WARNING: Large IO value detected {"io_id":119,"raw_value":3081437184,"note":"Value kept but may cause issues"} 
[2026-07-13 15:06:02] local.INFO: IO Element Parsed {"io_data_count":22,"io_data_keys":[0,88,87,24,241,157,16,183,9,10,66,27,1,240,254,4,113,205,239,2,49,119],"length":486,"final_offset":616,"validated_count":22,"validation_warnings":[]} 
[2026-07-13 15:06:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648600831188533317,"timestamp_seconds":648600831188533.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 15:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":130381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":130381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":130381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687435776001,"66":13222,"88":206,"87":13824,"24":1,"16":105755078513655808,"45":8983555382018707456},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,87,24,16,45]} 
[2026-07-13 15:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687435776001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:06:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-13 15:06:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105755078513655808,"km_value":105755078513655.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983555382018707456,"description":"Unknown IO ID 45"} 
[2026-07-13 15:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687435776001,"power":13222,"unknown_88":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8983555382018707456}} 
[2026-07-13 15:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":130381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:06:02] local.INFO: GPS data processed {"connection_id":130381,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:06:02] local.INFO: Acknowledgment sent {"connection_id":130381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:06:05] local.INFO: TCP Data received {"connection_id":131424,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131424,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:06:05] local.INFO: Processing buffer {"connection_id":131424,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:06:05] local.INFO: IMEI packet received {"connection_id":131424,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 15:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":131424,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:06:12] local.INFO: TCP Data received {"connection_id":131423,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad2eee8012d7f914005afd9380014011b29..."} 
[2026-07-13 15:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad2eee8012d7f914005afd9380014011b29..."} 
[2026-07-13 15:06:12] local.INFO: Processing buffer {"connection_id":131423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad2eee8012d7f914005afd9380014011b29..."} 
[2026-07-13 15:06:12] local.INFO: Packet analysis {"connection_id":131423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad2"} 
[2026-07-13 15:06:12] local.INFO: Extracted packet for processing {"connection_id":131423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad2"} 
[2026-07-13 15:06:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687334400001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783935201000,"timestamp_ms":1783935201000,"timestamp_seconds":1783935201,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad2eee8"} 
[2026-07-13 15:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 15:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687334400001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687334400001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:06:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:06:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687334400001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":131423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:06:12] local.INFO: GPS data processed {"connection_id":131423,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:06:12] local.INFO: Acknowledgment sent {"connection_id":131423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:06:33] local.INFO: TCP Data received {"connection_id":130381,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad5a250012d7cca8005e597a80013015a0a..."} 
[2026-07-13 15:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad5a250012d7cca8005e597a80013015a0a..."} 
[2026-07-13 15:06:33] local.INFO: Processing buffer {"connection_id":130381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad5a250012d7cca8005e597a80013015a0a..."} 
[2026-07-13 15:06:33] local.INFO: Packet analysis {"connection_id":130381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad5"} 
[2026-07-13 15:06:33] local.INFO: Extracted packet for processing {"connection_id":130381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad5"} 
[2026-07-13 15:06:33] local.INFO: GPS Element Parsed {"raw_longitude":763153024,"raw_latitude":98932648,"longitude_deg":76.3153024,"latitude_deg":9.8932648,"altitude":19,"angle":346,"satellites":10,"speed":11,"hex_longitude":"2d7cca80","hex_latitude":"05e597a8","is_valid_coordinates":true} 
[2026-07-13 15:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687456256001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105756543097503744,"note":"Value kept but may cause issues"} 
[2026-07-13 15:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992210737557753856,"note":"Value kept but may cause issues"} 
[2026-07-13 15:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783935378000,"timestamp_ms":1783935378000,"timestamp_seconds":1783935378,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad5a250"} 
[2026-07-13 15:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-13 15:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":130381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":130381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":130381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687456256001,"66":13189,"88":206,"87":13824,"24":11,"16":105756543097503744,"45":8992210737557753856},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,87,24,16,45]} 
[2026-07-13 15:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687456256001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:06:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-13 15:06:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105756543097503744,"km_value":105756543097503.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992210737557753856,"description":"Unknown IO ID 45"} 
[2026-07-13 15:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687456256001,"power":13189,"unknown_88":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8992210737557753856}} 
[2026-07-13 15:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":130381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480290,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:06:33] local.INFO: GPS data processed {"connection_id":130381,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:06:33] local.INFO: Acknowledgment sent {"connection_id":130381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:06:40] local.INFO: TCP Data received {"connection_id":130384,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130384,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:06:40] local.INFO: Processing buffer {"connection_id":130384,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:06:40] local.INFO: IMEI packet received {"connection_id":130384,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 15:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":130384,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:06:41] local.INFO: TCP Data received {"connection_id":130383,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:06:41] local.INFO: Processing buffer {"connection_id":130383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:06:41] local.INFO: IMEI packet received {"connection_id":130383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":130383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:06:44] local.INFO: TCP Data received {"connection_id":130383,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:06:44] local.INFO: Processing buffer {"connection_id":130383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:06:44] local.INFO: IMEI packet received {"connection_id":130383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":130383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:06:45] local.INFO: TCP Data received {"connection_id":130383,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad2eee8012d7f914005afd9380014011b29..."} 
[2026-07-13 15:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad2eee8012d7f914005afd9380014011b29..."} 
[2026-07-13 15:06:45] local.INFO: Processing buffer {"connection_id":130383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad2eee8012d7f914005afd9380014011b29..."} 
[2026-07-13 15:06:45] local.INFO: Packet analysis {"connection_id":130383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad2"} 
[2026-07-13 15:06:45] local.INFO: Extracted packet for processing {"connection_id":130383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad2"} 
[2026-07-13 15:06:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687334400001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783935201000,"timestamp_ms":1783935201000,"timestamp_seconds":1783935201,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad2eee8"} 
[2026-07-13 15:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 15:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:06:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687334400001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687334400001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:06:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:06:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687334400001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":130383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:06:45] local.INFO: GPS data processed {"connection_id":130383,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:06:45] local.INFO: Acknowledgment sent {"connection_id":130383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:06:50] local.INFO: TCP Data received {"connection_id":130383,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad2eee8012d7f914005afd9380014011b29..."} 
[2026-07-13 15:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad2eee8012d7f914005afd9380014011b29..."} 
[2026-07-13 15:06:50] local.INFO: Processing buffer {"connection_id":130383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad2eee8012d7f914005afd9380014011b29..."} 
[2026-07-13 15:06:50] local.INFO: Packet analysis {"connection_id":130383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad2"} 
[2026-07-13 15:06:50] local.INFO: Extracted packet for processing {"connection_id":130383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad2"} 
[2026-07-13 15:06:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687334400001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783935201000,"timestamp_ms":1783935201000,"timestamp_seconds":1783935201,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad2eee8"} 
[2026-07-13 15:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 15:06: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-07-13 15:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:06: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-07-13 15:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687334400001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687334400001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:06:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:06:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687334400001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":130383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:06:50] local.INFO: GPS data processed {"connection_id":130383,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:06:50] local.INFO: Acknowledgment sent {"connection_id":130383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:07:04] local.INFO: TCP Data received {"connection_id":130381,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad5c190012d7cc80005e5a3e0001401670a..."} 
[2026-07-13 15:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad5c190012d7cc80005e5a3e0001401670a..."} 
[2026-07-13 15:07:04] local.INFO: Processing buffer {"connection_id":130381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad5c190012d7cc80005e5a3e0001401670a..."} 
[2026-07-13 15:07:04] local.INFO: Packet analysis {"connection_id":130381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad5"} 
[2026-07-13 15:07:04] local.INFO: Extracted packet for processing {"connection_id":130381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad5"} 
[2026-07-13 15:07:04] local.INFO: GPS Element Parsed {"raw_longitude":763152384,"raw_latitude":98935776,"longitude_deg":76.3152384,"latitude_deg":9.8935776,"altitude":20,"angle":359,"satellites":10,"speed":19,"hex_longitude":"2d7cc800","hex_latitude":"05e5a3e0","is_valid_coordinates":true} 
[2026-07-13 15:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687456768001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105756697716326400,"note":"Value kept but may cause issues"} 
[2026-07-13 15:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992140368813729792,"note":"Value kept but may cause issues"} 
[2026-07-13 15:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783935386000,"timestamp_ms":1783935386000,"timestamp_seconds":1783935386,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad5c190"} 
[2026-07-13 15:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3072,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-13 15:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687456768001,"66":12972,"88":206,"87":13824,"24":19,"16":105756697716326400,"45":8992140368813729792},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,87,24,16,45]} 
[2026-07-13 15:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687456768001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:07:04] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-13 15:07:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105756697716326400,"km_value":105756697716326.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992140368813729792,"description":"Unknown IO ID 45"} 
[2026-07-13 15:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687456768001,"power":12972,"unknown_88":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8992140368813729792}} 
[2026-07-13 15:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":130381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480293,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:07:04] local.INFO: GPS data processed {"connection_id":130381,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:07:04] local.INFO: Acknowledgment sent {"connection_id":130381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:07:34] local.INFO: TCP Data received {"connection_id":132740,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:07:34] local.INFO: Processing buffer {"connection_id":132740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:07:34] local.INFO: IMEI packet received {"connection_id":132740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":132740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:07:36] local.INFO: TCP Data received {"connection_id":130381,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad68cb0012d7cadc005e5dda8000001500c..."} 
[2026-07-13 15:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad68cb0012d7cadc005e5dda8000001500c..."} 
[2026-07-13 15:07:36] local.INFO: Processing buffer {"connection_id":130381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad68cb0012d7cadc005e5dda8000001500c..."} 
[2026-07-13 15:07:36] local.INFO: Packet analysis {"connection_id":130381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad6"} 
[2026-07-13 15:07:36] local.INFO: Extracted packet for processing {"connection_id":130381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad6"} 
[2026-07-13 15:07:36] local.INFO: GPS Element Parsed {"raw_longitude":763145664,"raw_latitude":98950568,"longitude_deg":76.3145664,"latitude_deg":9.8950568,"altitude":0,"angle":336,"satellites":12,"speed":8,"hex_longitude":"2d7cadc0","hex_latitude":"05e5dda8","is_valid_coordinates":true} 
[2026-07-13 15:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687471872001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105757629724229632,"note":"Value kept but may cause issues"} 
[2026-07-13 15:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984047963237834752,"note":"Value kept but may cause issues"} 
[2026-07-13 15:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783935438000,"timestamp_ms":1783935438000,"timestamp_seconds":1783935438,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad68cb0"} 
[2026-07-13 15:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 15:07:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 15:07:36] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-07-13 15:07:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1398276302,"corrected_to":0} 
[2026-07-13 15:07:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-13 15:07:36] local.WARNING: Large IO value detected {"io_id":90,"raw_value":3595448321,"note":"Value kept but may cause issues"} 
[2026-07-13 15:07:36] local.WARNING: Large IO value detected {"io_id":229,"raw_value":-4672484570426832128,"note":"Value kept but may cause issues"} 
[2026-07-13 15:07:36] local.WARNING: Large IO value detected {"io_id":182,"raw_value":3221611975,"note":"Value kept but may cause issues"} 
[2026-07-13 15:07:36] local.WARNING: Large IO value detected {"io_id":119,"raw_value":3115843584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:07:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3854526464,"note":"Value kept but may cause issues"} 
[2026-07-13 15:07:36] local.WARNING: Large IO value detected {"io_id":198,"raw_value":57794007661434678,"note":"Value kept but may cause issues"} 
[2026-07-13 15:07:36] local.WARNING: Large IO value detected {"io_id":214,"raw_value":567454847927451653,"note":"Value kept but may cause issues"} 
[2026-07-13 15:07:36] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,88,87,24,241,157,16,185,159,132,45,192,220,11,10,66,89,64,205,12,86,128,1,240,7,227,90,229,4,113,70,182,48,239,51,2,119,5,9,198,214],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1398276302,"validated":0}]} 
[2026-07-13 15:07:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":351895261085696,"timestamp_seconds":351895261085.696,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 15:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":130381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":130381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":130381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687471872001,"66":13319,"88":206,"87":13824,"24":8,"16":105757629724229632,"45":8984047963237834752},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,87,24,16,45]} 
[2026-07-13 15:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687471872001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:07:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-13 15:07:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105757629724229632,"km_value":105757629724229.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984047963237834752,"description":"Unknown IO ID 45"} 
[2026-07-13 15:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687471872001,"power":13319,"unknown_88":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8984047963237834752}} 
[2026-07-13 15:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":130381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:07:36] local.INFO: GPS data processed {"connection_id":130381,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:07:36] local.INFO: Acknowledgment sent {"connection_id":130381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:07:39] local.INFO: TCP Data received {"connection_id":132740,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:07:39] local.INFO: Processing buffer {"connection_id":132740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:07:39] local.INFO: IMEI packet received {"connection_id":132740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":132740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:07:40] local.INFO: TCP Data received {"connection_id":132740,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad2eee8012d7f914005afd9380014011b29..."} 
[2026-07-13 15:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad2eee8012d7f914005afd9380014011b29..."} 
[2026-07-13 15:07:40] local.INFO: Processing buffer {"connection_id":132740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad2eee8012d7f914005afd9380014011b29..."} 
[2026-07-13 15:07:40] local.INFO: Packet analysis {"connection_id":132740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad2"} 
[2026-07-13 15:07:40] local.INFO: Extracted packet for processing {"connection_id":132740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad2"} 
[2026-07-13 15:07:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687334400001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783935201000,"timestamp_ms":1783935201000,"timestamp_seconds":1783935201,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad2eee8"} 
[2026-07-13 15:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 15:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687334400001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687334400001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:07:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:07:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687334400001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":132740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:07:40] local.INFO: GPS data processed {"connection_id":132740,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:07:40] local.INFO: Acknowledgment sent {"connection_id":132740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:08:07] local.INFO: TCP Data received {"connection_id":130381,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad69098012d7cadc005e5de780000015d0c..."} 
[2026-07-13 15:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad69098012d7cadc005e5de780000015d0c..."} 
[2026-07-13 15:08:07] local.INFO: Processing buffer {"connection_id":130381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad69098012d7cadc005e5de780000015d0c..."} 
[2026-07-13 15:08:07] local.INFO: Packet analysis {"connection_id":130381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad6"} 
[2026-07-13 15:08:07] local.INFO: Extracted packet for processing {"connection_id":130381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad6"} 
[2026-07-13 15:08:07] local.INFO: GPS Element Parsed {"raw_longitude":763145664,"raw_latitude":98950776,"longitude_deg":76.3145664,"latitude_deg":9.8950776,"altitude":0,"angle":349,"satellites":12,"speed":8,"hex_longitude":"2d7cadc0","hex_latitude":"05e5de78","is_valid_coordinates":true} 
[2026-07-13 15:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687472128001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105757638314164224,"note":"Value kept but may cause issues"} 
[2026-07-13 15:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984047963237885952,"note":"Value kept but may cause issues"} 
[2026-07-13 15:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783935439000,"timestamp_ms":1783935439000,"timestamp_seconds":1783935439,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad69098"} 
[2026-07-13 15:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 15:08:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 15:08:07] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3456106496,"note":"Value kept but may cause issues"} 
[2026-07-13 15:08:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-13 15:08:07] local.WARNING: Large IO value detected {"io_id":90,"raw_value":3595960321,"note":"Value kept but may cause issues"} 
[2026-07-13 15:08:07] local.WARNING: Large IO value detected {"io_id":229,"raw_value":-4654470176213234944,"note":"Value kept but may cause issues"} 
[2026-07-13 15:08:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1398276302,"corrected_to":0} 
[2026-07-13 15:08:07] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3221611977,"note":"Value kept but may cause issues"} 
[2026-07-13 15:08:07] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391955,"note":"Value kept but may cause issues"} 
[2026-07-13 15:08:07] local.WARNING: Large IO value detected {"io_id":119,"raw_value":3116433408,"note":"Value kept but may cause issues"} 
[2026-07-13 15:08:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3855036416,"note":"Value kept but may cause issues"} 
[2026-07-13 15:08:07] local.WARNING: Large IO value detected {"io_id":122,"raw_value":57794007661434678,"note":"Value kept but may cause issues"} 
[2026-07-13 15:08:07] local.WARNING: Large IO value detected {"io_id":214,"raw_value":848929824638042117,"note":"Value kept but may cause issues"} 
[2026-07-13 15:08:07] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,88,87,24,241,157,16,186,159,136,45,192,220,12,10,66,185,132,11,89,64,1,240,133,227,90,229,4,113,205,78,180,40,239,51,2,119,5,122,214],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1398276302,"validated":0}]} 
[2026-07-13 15:08:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":369487447064576,"timestamp_seconds":369487447064.576,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 15:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":130381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":130381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":130381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687472128001,"66":13396,"88":206,"87":13824,"24":8,"16":105757638314164224,"45":8984047963237885952},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,87,24,16,45]} 
[2026-07-13 15:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687472128001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:08:07] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-13 15:08:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105757638314164224,"km_value":105757638314164.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984047963237885952,"description":"Unknown IO ID 45"} 
[2026-07-13 15:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687472128001,"power":13396,"unknown_88":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8984047963237885952}} 
[2026-07-13 15:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":130381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480296,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:08:07] local.INFO: GPS data processed {"connection_id":130381,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:08:07] local.INFO: Acknowledgment sent {"connection_id":130381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:08:12] local.INFO: TCP Data received {"connection_id":132740,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad2eee8012d7f914005afd9380014011b29..."} 
[2026-07-13 15:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad2eee8012d7f914005afd9380014011b29..."} 
[2026-07-13 15:08:12] local.INFO: Processing buffer {"connection_id":132740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad2eee8012d7f914005afd9380014011b29..."} 
[2026-07-13 15:08:12] local.INFO: Packet analysis {"connection_id":132740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad2"} 
[2026-07-13 15:08:12] local.INFO: Extracted packet for processing {"connection_id":132740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad2"} 
[2026-07-13 15:08:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687334400001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783935201000,"timestamp_ms":1783935201000,"timestamp_seconds":1783935201,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad2eee8"} 
[2026-07-13 15:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 15:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687334400001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687334400001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:08:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:08:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687334400001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":132740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:08:12] local.INFO: GPS data processed {"connection_id":132740,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:08:12] local.INFO: Acknowledgment sent {"connection_id":132740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:08:34] local.INFO: TCP Data received {"connection_id":131425,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:08:34] local.INFO: Processing buffer {"connection_id":131425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:08:34] local.INFO: IMEI packet received {"connection_id":131425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":131425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:08:39] local.INFO: TCP Data received {"connection_id":130381,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad78a98012d7c9ac005e62528000001020e..."} 
[2026-07-13 15:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad78a98012d7c9ac005e62528000001020e..."} 
[2026-07-13 15:08:39] local.INFO: Processing buffer {"connection_id":130381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad78a98012d7c9ac005e62528000001020e..."} 
[2026-07-13 15:08:39] local.INFO: Packet analysis {"connection_id":130381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad7"} 
[2026-07-13 15:08:39] local.INFO: Extracted packet for processing {"connection_id":130381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad7"} 
[2026-07-13 15:08:39] local.INFO: GPS Element Parsed {"raw_longitude":763140800,"raw_latitude":98968872,"longitude_deg":76.31408,"latitude_deg":9.8968872,"altitude":0,"angle":258,"satellites":14,"speed":4,"hex_longitude":"2d7c9ac0","hex_latitude":"05e62528","is_valid_coordinates":true} 
[2026-07-13 15:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687488512001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105758600386838528,"note":"Value kept but may cause issues"} 
[2026-07-13 15:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978840676173424640,"note":"Value kept but may cause issues"} 
[2026-07-13 15:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783935503000,"timestamp_ms":1783935503000,"timestamp_seconds":1783935503,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad78a98"} 
[2026-07-13 15:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-07-13 15:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687488512001,"66":13461,"38":206,"87":13824,"24":4,"16":105758600386838528,"45":8978840676173424640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-07-13 15:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687488512001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:08:39] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-13 15:08:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105758600386838528,"km_value":105758600386838.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978840676173424640,"description":"Unknown IO ID 45"} 
[2026-07-13 15:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687488512001,"power":13461,"unknown_38":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8978840676173424640}} 
[2026-07-13 15:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":130381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:08:39] local.INFO: GPS data processed {"connection_id":130381,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:08:39] local.INFO: Acknowledgment sent {"connection_id":130381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:08:39] local.INFO: TCP Data received {"connection_id":131425,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:08:39] local.INFO: Processing buffer {"connection_id":131425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:08:39] local.INFO: IMEI packet received {"connection_id":131425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":131425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:08:40] local.INFO: TCP Data received {"connection_id":131425,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad2eee8012d7f914005afd9380014011b29..."} 
[2026-07-13 15:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad2eee8012d7f914005afd9380014011b29..."} 
[2026-07-13 15:08:40] local.INFO: Processing buffer {"connection_id":131425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad2eee8012d7f914005afd9380014011b29..."} 
[2026-07-13 15:08:40] local.INFO: Packet analysis {"connection_id":131425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad2"} 
[2026-07-13 15:08:40] local.INFO: Extracted packet for processing {"connection_id":131425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad2"} 
[2026-07-13 15:08:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687334400001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783935201000,"timestamp_ms":1783935201000,"timestamp_seconds":1783935201,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad2eee8"} 
[2026-07-13 15:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 15:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687334400001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687334400001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:08:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:08:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687334400001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":131425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:08:40] local.INFO: GPS data processed {"connection_id":131425,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:08:40] local.INFO: Acknowledgment sent {"connection_id":131425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:08:58] local.INFO: TCP Data received {"connection_id":130602,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130602,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:08:58] local.INFO: Processing buffer {"connection_id":130602,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:08:58] local.INFO: IMEI packet received {"connection_id":130602,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":130602,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:09:00] local.INFO: TCP Data received {"connection_id":130602,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130602,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:09:00] local.INFO: Processing buffer {"connection_id":130602,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:09:00] local.INFO: IMEI packet received {"connection_id":130602,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":130602,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:09:03] local.INFO: TCP Data received {"connection_id":130602,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130602,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:09:03] local.INFO: Processing buffer {"connection_id":130602,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:09:03] local.INFO: IMEI packet received {"connection_id":130602,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":130602,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:09:04] local.INFO: TCP Data received {"connection_id":130602,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad78e80012d7c9a4005e624e0000000e50e..."} 
[2026-07-13 15:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad78e80012d7c9a4005e624e0000000e50e..."} 
[2026-07-13 15:09:04] local.INFO: Processing buffer {"connection_id":130602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad78e80012d7c9a4005e624e0000000e50e..."} 
[2026-07-13 15:09:04] local.INFO: Packet analysis {"connection_id":130602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad7"} 
[2026-07-13 15:09:04] local.INFO: Extracted packet for processing {"connection_id":130602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad7"} 
[2026-07-13 15:09:04] local.INFO: GPS Element Parsed {"raw_longitude":763140672,"raw_latitude":98968800,"longitude_deg":76.3140672,"latitude_deg":9.89688,"altitude":0,"angle":229,"satellites":14,"speed":6,"hex_longitude":"2d7c9a40","hex_latitude":"05e624e0","is_valid_coordinates":true} 
[2026-07-13 15:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687488768001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105758608976773120,"note":"Value kept but may cause issues"} 
[2026-07-13 15:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978699938685069312,"note":"Value kept but may cause issues"} 
[2026-07-13 15:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783935504000,"timestamp_ms":1783935504000,"timestamp_seconds":1783935504,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad78e80"} 
[2026-07-13 15:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-07-13 15:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687488768001,"66":13461,"38":206,"87":13824,"24":6,"16":105758608976773120,"45":8978699938685069312},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-07-13 15:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687488768001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:09:04] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-13 15:09:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105758608976773120,"km_value":105758608976773.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978699938685069312,"description":"Unknown IO ID 45"} 
[2026-07-13 15:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687488768001,"power":13461,"unknown_38":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8978699938685069312}} 
[2026-07-13 15:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":130602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480300,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:09:04] local.INFO: GPS data processed {"connection_id":130602,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:09:04] local.INFO: Acknowledgment sent {"connection_id":130602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:09:12] local.INFO: TCP Data received {"connection_id":131425,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad786b0012d7f914005afd9380012011b2a..."} 
[2026-07-13 15:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad786b0012d7f914005afd9380012011b2a..."} 
[2026-07-13 15:09:12] local.INFO: Processing buffer {"connection_id":131425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad786b0012d7f914005afd9380012011b2a..."} 
[2026-07-13 15:09:12] local.INFO: Packet analysis {"connection_id":131425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad7"} 
[2026-07-13 15:09:12] local.INFO: Extracted packet for processing {"connection_id":131425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad7"} 
[2026-07-13 15:09:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687411456001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783935502000,"timestamp_ms":1783935502000,"timestamp_seconds":1783935502,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad786b0"} 
[2026-07-13 15:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687411456001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687411456001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:09:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:09:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687411456001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":131425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:09:12] local.INFO: GPS data processed {"connection_id":131425,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:09:12] local.INFO: Acknowledgment sent {"connection_id":131425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:09:34] local.INFO: TCP Data received {"connection_id":131427,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:09:34] local.INFO: Processing buffer {"connection_id":131427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:09:34] local.INFO: IMEI packet received {"connection_id":131427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":131427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:09:35] local.INFO: TCP Data received {"connection_id":130602,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad859a0012d7ca10005e67920000a000a13..."} 
[2026-07-13 15:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad859a0012d7ca10005e67920000a000a13..."} 
[2026-07-13 15:09:35] local.INFO: Processing buffer {"connection_id":130602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad859a0012d7ca10005e67920000a000a13..."} 
[2026-07-13 15:09:35] local.INFO: Packet analysis {"connection_id":130602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad8"} 
[2026-07-13 15:09:35] local.INFO: Extracted packet for processing {"connection_id":130602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad8"} 
[2026-07-13 15:09:35] local.INFO: GPS Element Parsed {"raw_longitude":763142400,"raw_latitude":98990368,"longitude_deg":76.31424,"latitude_deg":9.8990368,"altitude":10,"angle":10,"satellites":19,"speed":47,"hex_longitude":"2d7ca100","hex_latitude":"05e67920","is_valid_coordinates":true} 
[2026-07-13 15:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687500288001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105760472992579584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978559201199865856,"note":"Value kept but may cause issues"} 
[2026-07-13 15:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783935556000,"timestamp_ms":1783935556000,"timestamp_seconds":1783935556,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad859a0"} 
[2026-07-13 15:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 15:09:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 15:09:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-07-13 15:09:35] local.WARNING: Large IO value detected {"io_id":90,"raw_value":3621816321,"note":"Value kept but may cause issues"} 
[2026-07-13 15:09:35] local.WARNING: Large IO value detected {"io_id":230,"raw_value":520165774158597888,"note":"Value kept but may cause issues"} 
[2026-07-13 15:09:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478885582,"corrected_to":0} 
[2026-07-13 15:09:35] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2684431740,"note":"Value kept but may cause issues"} 
[2026-07-13 15:09:35] local.WARNING: Large IO value detected {"io_id":140,"raw_value":2147870216,"note":"Value kept but may cause issues"} 
[2026-07-13 15:09:35] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465432,"note":"Value kept but may cause issues"} 
[2026-07-13 15:09:35] local.WARNING: Large IO value detected {"io_id":119,"raw_value":3142189056,"note":"Value kept but may cause issues"} 
[2026-07-13 15:09:35] local.WARNING: Large IO value detected {"io_id":254,"raw_value":57799290471208758,"note":"Value kept but may cause issues"} 
[2026-07-13 15:09:35] local.WARNING: Large IO value detected {"io_id":215,"raw_value":-3393461024348831739,"note":"Value kept but may cause issues"} 
[2026-07-13 15:09:35] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,38,87,24,241,157,16,188,159,23,45,48,8,15,10,66,187,236,192,14,6,228,128,1,240,122,227,90,230,4,113,205,220,140,88,239,49,2,119,5,7,254,215],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1478885582,"validated":0}]} 
[2026-07-13 15:09:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720586999922950144,"timestamp_seconds":720586999922950.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 15:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687500288001,"66":13363,"38":206,"87":13824,"24":47,"16":105760472992579584,"45":8978559201199865856},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-07-13 15:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687500288001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:09:35] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-13 15:09:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105760472992579584,"km_value":105760472992579.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978559201199865856,"description":"Unknown IO ID 45"} 
[2026-07-13 15:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687500288001,"power":13363,"unknown_38":206,"unknown_87":13824,"ignition":47,"odometer":null,"unknown_45":8978559201199865856}} 
[2026-07-13 15:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":130602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:09:35] local.INFO: GPS data processed {"connection_id":130602,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:09:35] local.INFO: Acknowledgment sent {"connection_id":130602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:09:39] local.INFO: TCP Data received {"connection_id":131427,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:09:39] local.INFO: Processing buffer {"connection_id":131427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:09:39] local.INFO: IMEI packet received {"connection_id":131427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":131427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:09:40] local.INFO: TCP Data received {"connection_id":131427,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad786b0012d7f914005afd9380012011b2a..."} 
[2026-07-13 15:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad786b0012d7f914005afd9380012011b2a..."} 
[2026-07-13 15:09:40] local.INFO: Processing buffer {"connection_id":131427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad786b0012d7f914005afd9380012011b2a..."} 
[2026-07-13 15:09:40] local.INFO: Packet analysis {"connection_id":131427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad7"} 
[2026-07-13 15:09:40] local.INFO: Extracted packet for processing {"connection_id":131427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad7"} 
[2026-07-13 15:09:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687411456001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783935502000,"timestamp_ms":1783935502000,"timestamp_seconds":1783935502,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad786b0"} 
[2026-07-13 15:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687411456001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687411456001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:09:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:09:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687411456001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":131427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:09:40] local.INFO: GPS data processed {"connection_id":131427,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:09:40] local.INFO: Acknowledgment sent {"connection_id":131427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:09:59] local.INFO: TCP Data received {"connection_id":130603,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130603,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:09:59] local.INFO: Processing buffer {"connection_id":130603,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:09:59] local.INFO: IMEI packet received {"connection_id":130603,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":130603,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:10:03] local.INFO: TCP Data received {"connection_id":130603,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130603,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:10:03] local.INFO: Processing buffer {"connection_id":130603,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:10:03] local.INFO: IMEI packet received {"connection_id":130603,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":130603,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:10:08] local.INFO: TCP Data received {"connection_id":130603,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130603,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:10:08] local.INFO: Processing buffer {"connection_id":130603,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:10:08] local.INFO: IMEI packet received {"connection_id":130603,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":130603,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:10:08] local.INFO: TCP Data received {"connection_id":130603,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad878e0012d7ca88005e69f00000a000b16..."} 
[2026-07-13 15:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad878e0012d7ca88005e69f00000a000b16..."} 
[2026-07-13 15:10:09] local.INFO: Processing buffer {"connection_id":130603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad878e0012d7ca88005e69f00000a000b16..."} 
[2026-07-13 15:10:09] local.INFO: Packet analysis {"connection_id":130603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad8"} 
[2026-07-13 15:10:09] local.INFO: Extracted packet for processing {"connection_id":130603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad8"} 
[2026-07-13 15:10:09] local.INFO: GPS Element Parsed {"raw_longitude":763144320,"raw_latitude":99000064,"longitude_deg":76.314432,"latitude_deg":9.9000064,"altitude":10,"angle":11,"satellites":22,"speed":49,"hex_longitude":"2d7ca880","hex_latitude":"05e69f00","is_valid_coordinates":true} 
[2026-07-13 15:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687502336001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105760949733949440,"note":"Value kept but may cause issues"} 
[2026-07-13 15:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980459157295013888,"note":"Value kept but may cause issues"} 
[2026-07-13 15:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783935564000,"timestamp_ms":1783935564000,"timestamp_seconds":1783935564,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad878e0"} 
[2026-07-13 15:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-13 15:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687502336001,"66":13374,"38":206,"87":13824,"24":49,"16":105760949733949440,"45":8980459157295013888},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-07-13 15:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687502336001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:10:09] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-13 15:10:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105760949733949440,"km_value":105760949733949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980459157295013888,"description":"Unknown IO ID 45"} 
[2026-07-13 15:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687502336001,"power":13374,"unknown_38":206,"unknown_87":13824,"ignition":49,"odometer":null,"unknown_45":8980459157295013888}} 
[2026-07-13 15:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":130603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480304,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:10:09] local.INFO: GPS data processed {"connection_id":130603,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:10:09] local.INFO: Acknowledgment sent {"connection_id":130603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:10:12] local.INFO: TCP Data received {"connection_id":131427,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad786b0012d7f914005afd9380012011b2a..."} 
[2026-07-13 15:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad786b0012d7f914005afd9380012011b2a..."} 
[2026-07-13 15:10:12] local.INFO: Processing buffer {"connection_id":131427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad786b0012d7f914005afd9380012011b2a..."} 
[2026-07-13 15:10:12] local.INFO: Packet analysis {"connection_id":131427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad7"} 
[2026-07-13 15:10:12] local.INFO: Extracted packet for processing {"connection_id":131427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad7"} 
[2026-07-13 15:10:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687411456001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783935502000,"timestamp_ms":1783935502000,"timestamp_seconds":1783935502,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad786b0"} 
[2026-07-13 15:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687411456001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687411456001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:10:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:10:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687411456001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":131427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:10:12] local.INFO: GPS data processed {"connection_id":131427,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:10:12] local.INFO: Acknowledgment sent {"connection_id":131427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:10:12] local.INFO: TCP Data received {"connection_id":130603,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad89820012d7cb04005e6c5000008000b16..."} 
[2026-07-13 15:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad89820012d7cb04005e6c5000008000b16..."} 
[2026-07-13 15:10:12] local.INFO: Processing buffer {"connection_id":130603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad89820012d7cb04005e6c5000008000b16..."} 
[2026-07-13 15:10:12] local.INFO: Packet analysis {"connection_id":130603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad8"} 
[2026-07-13 15:10:12] local.INFO: Extracted packet for processing {"connection_id":130603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad8"} 
[2026-07-13 15:10:12] local.INFO: GPS Element Parsed {"raw_longitude":763146304,"raw_latitude":99009792,"longitude_deg":76.3146304,"latitude_deg":9.9009792,"altitude":8,"angle":11,"satellites":22,"speed":49,"hex_longitude":"2d7cb040","hex_latitude":"05e6c500","is_valid_coordinates":true} 
[2026-07-13 15:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687504384001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105761435065253888,"note":"Value kept but may cause issues"} 
[2026-07-13 15:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982570219622825984,"note":"Value kept but may cause issues"} 
[2026-07-13 15:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783935572000,"timestamp_ms":1783935572000,"timestamp_seconds":1783935572,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad89820"} 
[2026-07-13 15:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-13 15:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687504384001,"66":13341,"38":206,"87":13824,"24":49,"16":105761435065253888,"45":8982570219622825984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-07-13 15:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687504384001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:10:12] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-13 15:10:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105761435065253888,"km_value":105761435065253.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982570219622825984,"description":"Unknown IO ID 45"} 
[2026-07-13 15:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687504384001,"power":13341,"unknown_38":206,"unknown_87":13824,"ignition":49,"odometer":null,"unknown_45":8982570219622825984}} 
[2026-07-13 15:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":130603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:10:12] local.INFO: GPS data processed {"connection_id":130603,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:10:12] local.INFO: Acknowledgment sent {"connection_id":130603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:10:34] local.INFO: TCP Data received {"connection_id":130604,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:10:34] local.INFO: Processing buffer {"connection_id":130604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:10:34] local.INFO: IMEI packet received {"connection_id":130604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":130604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:10:39] local.INFO: TCP Data received {"connection_id":130604,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:10:39] local.INFO: Processing buffer {"connection_id":130604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:10:39] local.INFO: IMEI packet received {"connection_id":130604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":130604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:10:41] local.INFO: TCP Data received {"connection_id":130604,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad786b0012d7f914005afd9380012011b2a..."} 
[2026-07-13 15:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad786b0012d7f914005afd9380012011b2a..."} 
[2026-07-13 15:10:41] local.INFO: Processing buffer {"connection_id":130604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad786b0012d7f914005afd9380012011b2a..."} 
[2026-07-13 15:10:41] local.INFO: Packet analysis {"connection_id":130604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad7"} 
[2026-07-13 15:10:41] local.INFO: Extracted packet for processing {"connection_id":130604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad7"} 
[2026-07-13 15:10:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687411456001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783935502000,"timestamp_ms":1783935502000,"timestamp_seconds":1783935502,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad786b0"} 
[2026-07-13 15:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:10:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687411456001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687411456001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:10:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:10:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687411456001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":130604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:10:41] local.INFO: GPS data processed {"connection_id":130604,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:10:41] local.INFO: Acknowledgment sent {"connection_id":130604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:10:54] local.INFO: TCP Data received {"connection_id":130386,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:10:54] local.INFO: Processing buffer {"connection_id":130386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:10:54] local.INFO: IMEI packet received {"connection_id":130386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":130386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:10:58] local.INFO: TCP Data received {"connection_id":130386,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:10:58] local.INFO: Processing buffer {"connection_id":130386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:10:58] local.INFO: IMEI packet received {"connection_id":130386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":130386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:11:02] local.INFO: TCP Data received {"connection_id":130386,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:11:02] local.INFO: Processing buffer {"connection_id":130386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:11:02] local.INFO: IMEI packet received {"connection_id":130386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":130386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:11:03] local.INFO: TCP Data received {"connection_id":130386,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad8d6a0012d7cc0c005e70e68000e000d17..."} 
[2026-07-13 15:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad8d6a0012d7cc0c005e70e68000e000d17..."} 
[2026-07-13 15:11:03] local.INFO: Processing buffer {"connection_id":130386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad8d6a0012d7cc0c005e70e68000e000d17..."} 
[2026-07-13 15:11:03] local.INFO: Packet analysis {"connection_id":130386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad8"} 
[2026-07-13 15:11:03] local.INFO: Extracted packet for processing {"connection_id":130386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad8"} 
[2026-07-13 15:11:03] local.INFO: GPS Element Parsed {"raw_longitude":763150528,"raw_latitude":99028584,"longitude_deg":76.3150528,"latitude_deg":9.9028584,"altitude":14,"angle":13,"satellites":23,"speed":46,"hex_longitude":"2d7cc0c0","hex_latitude":"05e70e68","is_valid_coordinates":true} 
[2026-07-13 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-07-13 15:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687508480001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105762367073157120,"note":"Value kept but may cause issues"} 
[2026-07-13 15:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987003450510911488,"note":"Value kept but may cause issues"} 
[2026-07-13 15:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783935588000,"timestamp_ms":1783935588000,"timestamp_seconds":1783935588,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad8d6a0"} 
[2026-07-13 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-07-13 15:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-13 15:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 15:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":130386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":130386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":130386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687508480001,"66":13374,"94":206,"87":13824,"24":46,"16":105762367073157120,"45":8987003450510911488},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,87,24,16,45]} 
[2026-07-13 15:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687508480001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:11:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-13 15:11:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105762367073157120,"km_value":105762367073157.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987003450510911488,"description":"Unknown IO ID 45"} 
[2026-07-13 15:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687508480001,"power":13374,"unknown_94":206,"unknown_87":13824,"ignition":46,"odometer":null,"unknown_45":8987003450510911488}} 
[2026-07-13 15:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":130386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480308,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:11:03] local.INFO: GPS data processed {"connection_id":130386,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:11:03] local.INFO: Acknowledgment sent {"connection_id":130386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:11:12] local.INFO: TCP Data received {"connection_id":130604,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad786b0012d7f914005afd9380012011b2a..."} 
[2026-07-13 15:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad786b0012d7f914005afd9380012011b2a..."} 
[2026-07-13 15:11:12] local.INFO: Processing buffer {"connection_id":130604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad786b0012d7f914005afd9380012011b2a..."} 
[2026-07-13 15:11:12] local.INFO: Packet analysis {"connection_id":130604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad7"} 
[2026-07-13 15:11:12] local.INFO: Extracted packet for processing {"connection_id":130604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad7"} 
[2026-07-13 15:11:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687411456001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783935502000,"timestamp_ms":1783935502000,"timestamp_seconds":1783935502,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad786b0"} 
[2026-07-13 15:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687411456001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687411456001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:11:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:11:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687411456001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":130604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:11:12] local.INFO: GPS data processed {"connection_id":130604,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:11:12] local.INFO: Acknowledgment sent {"connection_id":130604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:11:34] local.INFO: TCP Data received {"connection_id":130387,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:11:34] local.INFO: Processing buffer {"connection_id":130387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:11:34] local.INFO: IMEI packet received {"connection_id":130387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":130387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:11:34] local.INFO: TCP Data received {"connection_id":130386,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad8fdb0012d7cc94005e732580010000d17..."} 
[2026-07-13 15:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad8fdb0012d7cc94005e732580010000d17..."} 
[2026-07-13 15:11:34] local.INFO: Processing buffer {"connection_id":130386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad8fdb0012d7cc94005e732580010000d17..."} 
[2026-07-13 15:11:34] local.INFO: Packet analysis {"connection_id":130386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad8"} 
[2026-07-13 15:11:34] local.INFO: Extracted packet for processing {"connection_id":130386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad8"} 
[2026-07-13 15:11:34] local.INFO: GPS Element Parsed {"raw_longitude":763152704,"raw_latitude":99037784,"longitude_deg":76.3152704,"latitude_deg":9.9037784,"altitude":16,"angle":13,"satellites":23,"speed":22,"hex_longitude":"2d7cc940","hex_latitude":"05e73258","is_valid_coordinates":true} 
[2026-07-13 15:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687510528001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105762822339690496,"note":"Value kept but may cause issues"} 
[2026-07-13 15:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8989395987815360512,"note":"Value kept but may cause issues"} 
[2026-07-13 15:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783935598000,"timestamp_ms":1783935598000,"timestamp_seconds":1783935598,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad8fdb0"} 
[2026-07-13 15:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-13 15:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":130386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":130386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":130386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687510528001,"66":13243,"94":206,"87":13824,"24":22,"16":105762822339690496,"45":8989395987815360512},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,87,24,16,45]} 
[2026-07-13 15:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687510528001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:11:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-13 15:11:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105762822339690496,"km_value":105762822339690.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8989395987815360512,"description":"Unknown IO ID 45"} 
[2026-07-13 15:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687510528001,"power":13243,"unknown_94":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8989395987815360512}} 
[2026-07-13 15:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":130386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:11:34] local.INFO: GPS data processed {"connection_id":130386,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:11:34] local.INFO: Acknowledgment sent {"connection_id":130386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:11:39] local.INFO: TCP Data received {"connection_id":130387,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:11:39] local.INFO: Processing buffer {"connection_id":130387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:11:39] local.INFO: IMEI packet received {"connection_id":130387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":130387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:11:40] local.INFO: TCP Data received {"connection_id":130387,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad786b0012d7f914005afd9380012011b2a..."} 
[2026-07-13 15:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad786b0012d7f914005afd9380012011b2a..."} 
[2026-07-13 15:11:40] local.INFO: Processing buffer {"connection_id":130387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad786b0012d7f914005afd9380012011b2a..."} 
[2026-07-13 15:11:40] local.INFO: Packet analysis {"connection_id":130387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad7"} 
[2026-07-13 15:11:40] local.INFO: Extracted packet for processing {"connection_id":130387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad7"} 
[2026-07-13 15:11:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15: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-07-13 15:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687411456001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783935502000,"timestamp_ms":1783935502000,"timestamp_seconds":1783935502,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad786b0"} 
[2026-07-13 15:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15: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-07-13 15:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687411456001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687411456001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:11:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:11:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687411456001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":130387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:11:40] local.INFO: GPS data processed {"connection_id":130387,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:11:40] local.INFO: Acknowledgment sent {"connection_id":130387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:11:58] local.INFO: TCP Data received {"connection_id":130605,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:11:58] local.INFO: Processing buffer {"connection_id":130605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:11:58] local.INFO: IMEI packet received {"connection_id":130605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":130605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:11:59] local.INFO: TCP Data received {"connection_id":130605,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:11:59] local.INFO: Processing buffer {"connection_id":130605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:11:59] local.INFO: IMEI packet received {"connection_id":130605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":130605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:12:03] local.INFO: TCP Data received {"connection_id":130605,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:12:03] local.INFO: Processing buffer {"connection_id":130605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:12:03] local.INFO: IMEI packet received {"connection_id":130605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":130605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:12:04] local.INFO: TCP Data received {"connection_id":130606,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:12:04] local.INFO: Processing buffer {"connection_id":130606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:12:04] local.INFO: IMEI packet received {"connection_id":130606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":130606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:12:05] local.INFO: TCP Data received {"connection_id":130605,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad93078012d7cd14005e756480012000c18..."} 
[2026-07-13 15:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad93078012d7cd14005e756480012000c18..."} 
[2026-07-13 15:12:05] local.INFO: Processing buffer {"connection_id":130605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad93078012d7cd14005e756480012000c18..."} 
[2026-07-13 15:12:05] local.INFO: Packet analysis {"connection_id":130605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad9"} 
[2026-07-13 15:12:05] local.INFO: Extracted packet for processing {"connection_id":130605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad9"} 
[2026-07-13 15:12:05] local.INFO: GPS Element Parsed {"raw_longitude":763154752,"raw_latitude":99046984,"longitude_deg":76.3154752,"latitude_deg":9.9046984,"altitude":18,"angle":12,"satellites":24,"speed":36,"hex_longitude":"2d7cd140","hex_latitude":"05e75648","is_valid_coordinates":true} 
[2026-07-13 15:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687513088001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105763281901191168,"note":"Value kept but may cause issues"} 
[2026-07-13 15:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8991788525119756288,"note":"Value kept but may cause issues"} 
[2026-07-13 15:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783935611000,"timestamp_ms":1783935611000,"timestamp_seconds":1783935611,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad93078"} 
[2026-07-13 15:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 15:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687513088001,"66":13254,"31":206,"87":13824,"24":36,"16":105763281901191168,"45":8991788525119756288},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-07-13 15:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687513088001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:12:05] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-13 15:12:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105763281901191168,"km_value":105763281901191.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8991788525119756288,"description":"Unknown IO ID 45"} 
[2026-07-13 15:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687513088001,"power":13254,"unknown_31":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8991788525119756288}} 
[2026-07-13 15:12:05] local.INFO: TCP Data received {"connection_id":132742,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132742,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:12:05] local.INFO: Processing buffer {"connection_id":132742,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:12:05] local.INFO: IMEI packet received {"connection_id":132742,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 15:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":132742,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":130605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480312,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:12:05] local.INFO: GPS data processed {"connection_id":130605,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:12:05] local.INFO: Acknowledgment sent {"connection_id":130605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:12:09] local.INFO: TCP Data received {"connection_id":130606,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:12:09] local.INFO: Processing buffer {"connection_id":130606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:12:09] local.INFO: IMEI packet received {"connection_id":130606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":130606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:12:10] local.INFO: TCP Data received {"connection_id":130606,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad786b0012d7f914005afd9380012011b2a..."} 
[2026-07-13 15:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad786b0012d7f914005afd9380012011b2a..."} 
[2026-07-13 15:12:10] local.INFO: Processing buffer {"connection_id":130606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad786b0012d7f914005afd9380012011b2a..."} 
[2026-07-13 15:12:10] local.INFO: Packet analysis {"connection_id":130606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad7"} 
[2026-07-13 15:12:10] local.INFO: Extracted packet for processing {"connection_id":130606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad7"} 
[2026-07-13 15:12:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687411456001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783935502000,"timestamp_ms":1783935502000,"timestamp_seconds":1783935502,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad786b0"} 
[2026-07-13 15:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687411456001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687411456001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:12:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:12:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687411456001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":130606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:12:10] local.INFO: GPS data processed {"connection_id":130606,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:12:10] local.INFO: Acknowledgment sent {"connection_id":130606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:12:34] local.INFO: TCP Data received {"connection_id":130607,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:12:34] local.INFO: Processing buffer {"connection_id":130607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:12:34] local.INFO: IMEI packet received {"connection_id":130607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":130607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:12:37] local.INFO: TCP Data received {"connection_id":130605,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5adb0d08012d7d0b0005e90e58000900021d..."} 
[2026-07-13 15:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5adb0d08012d7d0b0005e90e58000900021d..."} 
[2026-07-13 15:12:37] local.INFO: Processing buffer {"connection_id":130605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5adb0d08012d7d0b0005e90e58000900021d..."} 
[2026-07-13 15:12:37] local.INFO: Packet analysis {"connection_id":130605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5adb"} 
[2026-07-13 15:12:37] local.INFO: Extracted packet for processing {"connection_id":130605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5adb"} 
[2026-07-13 15:12:37] local.INFO: GPS Element Parsed {"raw_longitude":763169536,"raw_latitude":99159640,"longitude_deg":76.3169536,"latitude_deg":9.915964,"altitude":9,"angle":2,"satellites":29,"speed":48,"hex_longitude":"2d7d0b00","hex_latitude":"05e90e58","is_valid_coordinates":true} 
[2026-07-13 15:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687545600001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105768813819068416,"note":"Value kept but may cause issues"} 
[2026-07-13 15:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009802923658129408,"note":"Value kept but may cause issues"} 
[2026-07-13 15:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783935733000,"timestamp_ms":1783935733000,"timestamp_seconds":1783935733,"priority":1,"record_length":96,"hex_timestamp":"0000019f5adb0d08"} 
[2026-07-13 15:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-13 15:12: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-07-13 15:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687545600001,"66":13298,"155":206,"87":13824,"24":48,"16":105768813819068416,"45":9009802923658129408},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-13 15:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687545600001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:12:37] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 15:12:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105768813819068416,"km_value":105768813819068.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009802923658129408,"description":"Unknown IO ID 45"} 
[2026-07-13 15:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687545600001,"power":13298,"unknown_155":206,"unknown_87":13824,"ignition":48,"odometer":null,"unknown_45":9009802923658129408}} 
[2026-07-13 15:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":130605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:12:37] local.INFO: GPS data processed {"connection_id":130605,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:12:37] local.INFO: Acknowledgment sent {"connection_id":130605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:12:39] local.INFO: TCP Data received {"connection_id":130607,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:12:39] local.INFO: Processing buffer {"connection_id":130607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:12:39] local.INFO: IMEI packet received {"connection_id":130607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":130607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:12:40] local.INFO: TCP Data received {"connection_id":130608,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130608,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:12:40] local.INFO: Processing buffer {"connection_id":130608,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:12:40] local.INFO: IMEI packet received {"connection_id":130608,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 15:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":130608,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:12:40] local.INFO: TCP Data received {"connection_id":130607,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad786b0012d7f914005afd9380012011b2a..."} 
[2026-07-13 15:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad786b0012d7f914005afd9380012011b2a..."} 
[2026-07-13 15:12:40] local.INFO: Processing buffer {"connection_id":130607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad786b0012d7f914005afd9380012011b2a..."} 
[2026-07-13 15:12:40] local.INFO: Packet analysis {"connection_id":130607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad7"} 
[2026-07-13 15:12:40] local.INFO: Extracted packet for processing {"connection_id":130607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad7"} 
[2026-07-13 15:12:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687411456001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783935502000,"timestamp_ms":1783935502000,"timestamp_seconds":1783935502,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad786b0"} 
[2026-07-13 15:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687411456001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687411456001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:12:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:12:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687411456001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":130607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:12:40] local.INFO: GPS data processed {"connection_id":130607,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:12:40] local.INFO: Acknowledgment sent {"connection_id":130607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:12:58] local.INFO: TCP Data received {"connection_id":130609,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:12:58] local.INFO: Processing buffer {"connection_id":130609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:12:58] local.INFO: IMEI packet received {"connection_id":130609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":130609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:13:03] local.INFO: TCP Data received {"connection_id":130609,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:13:03] local.INFO: Processing buffer {"connection_id":130609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:13:03] local.INFO: IMEI packet received {"connection_id":130609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":130609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:13:04] local.INFO: TCP Data received {"connection_id":130609,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5adb2860012d7d0cc005e93100000900021e..."} 
[2026-07-13 15:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5adb2860012d7d0cc005e93100000900021e..."} 
[2026-07-13 15:13:04] local.INFO: Processing buffer {"connection_id":130609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5adb2860012d7d0cc005e93100000900021e..."} 
[2026-07-13 15:13:04] local.INFO: Packet analysis {"connection_id":130609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5adb"} 
[2026-07-13 15:13:04] local.INFO: Extracted packet for processing {"connection_id":130609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5adb"} 
[2026-07-13 15:13:04] local.INFO: GPS Element Parsed {"raw_longitude":763169984,"raw_latitude":99168512,"longitude_deg":76.3169984,"latitude_deg":9.9168512,"altitude":9,"angle":2,"satellites":30,"speed":50,"hex_longitude":"2d7d0cc0","hex_latitude":"05e93100","is_valid_coordinates":true} 
[2026-07-13 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-07-13 15:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687547648001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105769243315798016,"note":"Value kept but may cause issues"} 
[2026-07-13 15:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010295504869677056,"note":"Value kept but may cause issues"} 
[2026-07-13 15:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783935740000,"timestamp_ms":1783935740000,"timestamp_seconds":1783935740,"priority":1,"record_length":96,"hex_timestamp":"0000019f5adb2860"} 
[2026-07-13 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-07-13 15:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-13 15:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 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-07-13 15:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687547648001,"66":13374,"155":206,"87":13824,"24":50,"16":105769243315798016,"45":9010295504869677056},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-13 15:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687547648001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:13:04] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 15:13:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105769243315798016,"km_value":105769243315798.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010295504869677056,"description":"Unknown IO ID 45"} 
[2026-07-13 15:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687547648001,"power":13374,"unknown_155":206,"unknown_87":13824,"ignition":50,"odometer":null,"unknown_45":9010295504869677056}} 
[2026-07-13 15:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":130609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:13:04] local.INFO: GPS data processed {"connection_id":130609,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:13:04] local.INFO: Acknowledgment sent {"connection_id":130609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:13:11] local.INFO: TCP Data received {"connection_id":130607,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad786b0012d7f914005afd9380012011b2a..."} 
[2026-07-13 15:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad786b0012d7f914005afd9380012011b2a..."} 
[2026-07-13 15:13:11] local.INFO: Processing buffer {"connection_id":130607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad786b0012d7f914005afd9380012011b2a..."} 
[2026-07-13 15:13:11] local.INFO: Packet analysis {"connection_id":130607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad7"} 
[2026-07-13 15:13:11] local.INFO: Extracted packet for processing {"connection_id":130607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad7"} 
[2026-07-13 15:13:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687411456001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783935502000,"timestamp_ms":1783935502000,"timestamp_seconds":1783935502,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad786b0"} 
[2026-07-13 15:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687411456001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687411456001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:13:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:13:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687411456001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":130607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:13:11] local.INFO: GPS data processed {"connection_id":130607,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:13:11] local.INFO: Acknowledgment sent {"connection_id":130607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:13:34] local.INFO: TCP Data received {"connection_id":131429,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:13:34] local.INFO: Processing buffer {"connection_id":131429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:13:34] local.INFO: IMEI packet received {"connection_id":131429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":131429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:13:38] local.INFO: TCP Data received {"connection_id":130609,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5adb43b8012d7d0f0005e95198000b00041e..."} 
[2026-07-13 15:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5adb43b8012d7d0f0005e95198000b00041e..."} 
[2026-07-13 15:13:38] local.INFO: Processing buffer {"connection_id":130609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5adb43b8012d7d0f0005e95198000b00041e..."} 
[2026-07-13 15:13:38] local.INFO: Packet analysis {"connection_id":130609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5adb"} 
[2026-07-13 15:13:38] local.INFO: Extracted packet for processing {"connection_id":130609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5adb"} 
[2026-07-13 15:13:38] local.INFO: GPS Element Parsed {"raw_longitude":763170560,"raw_latitude":99176856,"longitude_deg":76.317056,"latitude_deg":9.9176856,"altitude":11,"angle":4,"satellites":30,"speed":42,"hex_longitude":"2d7d0f00","hex_latitude":"05e95198","is_valid_coordinates":true} 
[2026-07-13 15:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687549440001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105769702877298688,"note":"Value kept but may cause issues"} 
[2026-07-13 15:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010788086081191936,"note":"Value kept but may cause issues"} 
[2026-07-13 15:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783935747000,"timestamp_ms":1783935747000,"timestamp_seconds":1783935747,"priority":1,"record_length":96,"hex_timestamp":"0000019f5adb43b8"} 
[2026-07-13 15:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-13 15:13: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-07-13 15:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":130609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":130609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":130609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687549440001,"66":13472,"155":206,"87":13824,"24":42,"16":105769702877298688,"45":9010788086081191936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-13 15:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687549440001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:13:38] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 15:13:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105769702877298688,"km_value":105769702877298.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010788086081191936,"description":"Unknown IO ID 45"} 
[2026-07-13 15:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687549440001,"power":13472,"unknown_155":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":9010788086081191936}} 
[2026-07-13 15:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":130609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:13:38] local.INFO: GPS data processed {"connection_id":130609,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:13:38] local.INFO: Acknowledgment sent {"connection_id":130609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:13:39] local.INFO: TCP Data received {"connection_id":131429,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:13:39] local.INFO: Processing buffer {"connection_id":131429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:13:39] local.INFO: IMEI packet received {"connection_id":131429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":131429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:13:40] local.INFO: TCP Data received {"connection_id":131429,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ad786b0012d7f914005afd9380012011b2a..."} 
[2026-07-13 15:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ad786b0012d7f914005afd9380012011b2a..."} 
[2026-07-13 15:13:40] local.INFO: Processing buffer {"connection_id":131429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ad786b0012d7f914005afd9380012011b2a..."} 
[2026-07-13 15:13:40] local.INFO: Packet analysis {"connection_id":131429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ad7"} 
[2026-07-13 15:13:40] local.INFO: Extracted packet for processing {"connection_id":131429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ad7"} 
[2026-07-13 15:13:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687411456001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783935502000,"timestamp_ms":1783935502000,"timestamp_seconds":1783935502,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ad786b0"} 
[2026-07-13 15:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687411456001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687411456001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:13:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687411456001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":131429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:13:40] local.INFO: GPS data processed {"connection_id":131429,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:13:40] local.INFO: Acknowledgment sent {"connection_id":131429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:13:58] local.INFO: TCP Data received {"connection_id":130610,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130610,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:13:58] local.INFO: Processing buffer {"connection_id":130610,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:13:58] local.INFO: IMEI packet received {"connection_id":130610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":130610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:14:04] local.INFO: TCP Data received {"connection_id":130610,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130610,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:14:04] local.INFO: Processing buffer {"connection_id":130610,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:14:04] local.INFO: IMEI packet received {"connection_id":130610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":130610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:14:06] local.INFO: TCP Data received {"connection_id":130610,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5adb6ac8012d7d11c005e97b40000d00021f..."} 
[2026-07-13 15:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5adb6ac8012d7d11c005e97b40000d00021f..."} 
[2026-07-13 15:14:06] local.INFO: Processing buffer {"connection_id":130610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5adb6ac8012d7d11c005e97b40000d00021f..."} 
[2026-07-13 15:14:06] local.INFO: Packet analysis {"connection_id":130610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5adb"} 
[2026-07-13 15:14:06] local.INFO: Extracted packet for processing {"connection_id":130610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5adb"} 
[2026-07-13 15:14:06] local.INFO: GPS Element Parsed {"raw_longitude":763171264,"raw_latitude":99187520,"longitude_deg":76.3171264,"latitude_deg":9.918752,"altitude":13,"angle":2,"satellites":31,"speed":44,"hex_longitude":"2d7d11c0","hex_latitude":"05e97b40","is_valid_coordinates":true} 
[2026-07-13 15:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687551232001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105770166733766656,"note":"Value kept but may cause issues"} 
[2026-07-13 15:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011421404780926976,"note":"Value kept but may cause issues"} 
[2026-07-13 15:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783935757000,"timestamp_ms":1783935757000,"timestamp_seconds":1783935757,"priority":1,"record_length":96,"hex_timestamp":"0000019f5adb6ac8"} 
[2026-07-13 15:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-13 15:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687551232001,"66":13450,"154":206,"87":13824,"24":44,"16":105770166733766656,"45":9011421404780926976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-07-13 15:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687551232001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:14:06] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-13 15:14:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105770166733766656,"km_value":105770166733766.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011421404780926976,"description":"Unknown IO ID 45"} 
[2026-07-13 15:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687551232001,"power":13450,"unknown_154":206,"unknown_87":13824,"ignition":44,"odometer":null,"unknown_45":9011421404780926976}} 
[2026-07-13 15:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":130610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:14:06] local.INFO: GPS data processed {"connection_id":130610,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:14:06] local.INFO: Acknowledgment sent {"connection_id":130610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:14:11] local.INFO: TCP Data received {"connection_id":131429,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:14:11] local.INFO: Processing buffer {"connection_id":131429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:14:11] local.INFO: Packet analysis {"connection_id":131429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5adc"} 
[2026-07-13 15:14:11] local.INFO: Extracted packet for processing {"connection_id":131429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5adc"} 
[2026-07-13 15:14:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":19,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687488512001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783935803000,"timestamp_ms":1783935803000,"timestamp_seconds":1783935803,"priority":1,"record_length":96,"hex_timestamp":"0000019f5adc1e78"} 
[2026-07-13 15:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 15:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687488512001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687488512001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:14:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:14:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687488512001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":131429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:14:11] local.INFO: GPS data processed {"connection_id":131429,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:14:11] local.INFO: Acknowledgment sent {"connection_id":131429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:14:34] local.INFO: TCP Data received {"connection_id":130388,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:14:34] local.INFO: Processing buffer {"connection_id":130388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:14:34] local.INFO: IMEI packet received {"connection_id":130388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":130388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:14:38] local.INFO: TCP Data received {"connection_id":130610,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5adce998012d7d268005eb0120000c000221..."} 
[2026-07-13 15:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5adce998012d7d268005eb0120000c000221..."} 
[2026-07-13 15:14:38] local.INFO: Processing buffer {"connection_id":130610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5adce998012d7d268005eb0120000c000221..."} 
[2026-07-13 15:14:38] local.INFO: Packet analysis {"connection_id":130610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5adc"} 
[2026-07-13 15:14:38] local.INFO: Extracted packet for processing {"connection_id":130610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5adc"} 
[2026-07-13 15:14:38] local.INFO: GPS Element Parsed {"raw_longitude":763176576,"raw_latitude":99287328,"longitude_deg":76.3176576,"latitude_deg":9.9287328,"altitude":12,"angle":2,"satellites":33,"speed":52,"hex_longitude":"2d7d2680","hex_latitude":"05eb0120","is_valid_coordinates":true} 
[2026-07-13 15:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687577088001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105775080176353280,"note":"Value kept but may cause issues"} 
[2026-07-13 15:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017684223038707712,"note":"Value kept but may cause issues"} 
[2026-07-13 15:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783935855000,"timestamp_ms":1783935855000,"timestamp_seconds":1783935855,"priority":1,"record_length":96,"hex_timestamp":"0000019f5adce998"} 
[2026-07-13 15:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-13 15:14: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-07-13 15:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":130610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":130610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":130610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687577088001,"66":13319,"157":206,"87":13824,"24":52,"16":105775080176353280,"45":9017684223038707712},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687577088001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:14:38] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:14:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105775080176353280,"km_value":105775080176353.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017684223038707712,"description":"Unknown IO ID 45"} 
[2026-07-13 15:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687577088001,"power":13319,"unknown_157":206,"unknown_87":13824,"ignition":52,"odometer":null,"unknown_45":9017684223038707712}} 
[2026-07-13 15:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":130610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480322,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:14:38] local.INFO: GPS data processed {"connection_id":130610,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:14:38] local.INFO: Acknowledgment sent {"connection_id":130610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:14:39] local.INFO: TCP Data received {"connection_id":130388,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:14:39] local.INFO: Processing buffer {"connection_id":130388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:14:39] local.INFO: IMEI packet received {"connection_id":130388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":130388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:14:40] local.INFO: TCP Data received {"connection_id":130388,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:14:40] local.INFO: Processing buffer {"connection_id":130388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:14:40] local.INFO: Packet analysis {"connection_id":130388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5adc"} 
[2026-07-13 15:14:40] local.INFO: Extracted packet for processing {"connection_id":130388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5adc"} 
[2026-07-13 15:14:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":19,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687488512001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783935803000,"timestamp_ms":1783935803000,"timestamp_seconds":1783935803,"priority":1,"record_length":96,"hex_timestamp":"0000019f5adc1e78"} 
[2026-07-13 15:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 15:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687488512001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687488512001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:14:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:14:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687488512001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":130388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:14:40] local.INFO: GPS data processed {"connection_id":130388,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:14:40] local.INFO: Acknowledgment sent {"connection_id":130388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:14:58] local.INFO: TCP Data received {"connection_id":131431,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131431,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:14:58] local.INFO: Processing buffer {"connection_id":131431,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:14:58] local.INFO: IMEI packet received {"connection_id":131431,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":131431,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:15:03] local.INFO: TCP Data received {"connection_id":131431,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131431,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:15:03] local.INFO: Processing buffer {"connection_id":131431,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:15:03] local.INFO: IMEI packet received {"connection_id":131431,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":131431,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:15:04] local.INFO: TCP Data received {"connection_id":131431,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5add04f0012d7d290005eb2468000e000322..."} 
[2026-07-13 15:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5add04f0012d7d290005eb2468000e000322..."} 
[2026-07-13 15:15:04] local.INFO: Processing buffer {"connection_id":131431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5add04f0012d7d290005eb2468000e000322..."} 
[2026-07-13 15:15:04] local.INFO: Packet analysis {"connection_id":131431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5add"} 
[2026-07-13 15:15:04] local.INFO: Extracted packet for processing {"connection_id":131431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5add"} 
[2026-07-13 15:15:04] local.INFO: GPS Element Parsed {"raw_longitude":763177216,"raw_latitude":99296360,"longitude_deg":76.3177216,"latitude_deg":9.929636,"altitude":14,"angle":3,"satellites":34,"speed":51,"hex_longitude":"2d7d2900","hex_latitude":"05eb2468","is_valid_coordinates":true} 
[2026-07-13 15:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687578880001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105775518263017472,"note":"Value kept but may cause issues"} 
[2026-07-13 15:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018036066761908224,"note":"Value kept but may cause issues"} 
[2026-07-13 15:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783935862000,"timestamp_ms":1783935862000,"timestamp_seconds":1783935862,"priority":1,"record_length":96,"hex_timestamp":"0000019f5add04f0"} 
[2026-07-13 15:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:15: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-07-13 15:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 15:15:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 15:15:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-13 15:15:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2818572288,"corrected_to":0} 
[2026-07-13 15:15:04] local.WARNING: Large IO value detected {"io_id":90,"raw_value":3698872321,"note":"Value kept but may cause issues"} 
[2026-07-13 15:15:04] local.WARNING: Large IO value detected {"io_id":234,"raw_value":403072222484439040,"note":"Value kept but may cause issues"} 
[2026-07-13 15:15:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1350435022,"corrected_to":0} 
[2026-07-13 15:15:04] local.WARNING: Large IO value detected {"io_id":119,"raw_value":3352625152,"note":"Value kept but may cause issues"} 
[2026-07-13 15:15:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3928590336,"note":"Value kept but may cause issues"} 
[2026-07-13 15:15:04] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57797752872916790,"note":"Value kept but may cause issues"} 
[2026-07-13 15:15:04] local.WARNING: Large IO value detected {"io_id":220,"raw_value":1632556159805833221,"note":"Value kept but may cause issues"} 
[2026-07-13 15:15:04] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,157,87,24,241,16,201,159,206,45,64,221,12,33,10,66,126,178,128,184,11,151,192,1,240,122,227,200,90,234,4,113,205,43,85,29,32,239,52,2,119,5,13,44,7,220],"length":527,"final_offset":657,"validated_count":46,"validation_warnings":[{"io_id":200,"original":2818572288,"validated":0},{"io_id":205,"original":1350435022,"validated":0}]} 
[2026-07-13 15:15:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864693469215719424,"timestamp_seconds":864693469215719.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 15:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":131431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":131431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":131431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687578880001,"66":13243,"157":206,"87":13824,"24":51,"16":105775518263017472,"45":9018036066761908224},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687578880001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:15:04] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:15:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105775518263017472,"km_value":105775518263017.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018036066761908224,"description":"Unknown IO ID 45"} 
[2026-07-13 15:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687578880001,"power":13243,"unknown_157":206,"unknown_87":13824,"ignition":51,"odometer":null,"unknown_45":9018036066761908224}} 
[2026-07-13 15:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":131431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:15:04] local.INFO: GPS data processed {"connection_id":131431,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:15:04] local.INFO: Acknowledgment sent {"connection_id":131431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:15:11] local.INFO: TCP Data received {"connection_id":130388,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:15:11] local.INFO: Processing buffer {"connection_id":130388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:15:11] local.INFO: Packet analysis {"connection_id":130388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5adc"} 
[2026-07-13 15:15:11] local.INFO: Extracted packet for processing {"connection_id":130388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5adc"} 
[2026-07-13 15:15:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":19,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687488512001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783935803000,"timestamp_ms":1783935803000,"timestamp_seconds":1783935803,"priority":1,"record_length":96,"hex_timestamp":"0000019f5adc1e78"} 
[2026-07-13 15:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 15:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687488512001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687488512001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:15:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:15:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687488512001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":130388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:15:11] local.INFO: GPS data processed {"connection_id":130388,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:15:11] local.INFO: Acknowledgment sent {"connection_id":130388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:15:34] local.INFO: TCP Data received {"connection_id":132744,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:15:34] local.INFO: Processing buffer {"connection_id":132744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:15:34] local.INFO: IMEI packet received {"connection_id":132744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":132744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:15:39] local.INFO: TCP Data received {"connection_id":132744,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:15:39] local.INFO: Processing buffer {"connection_id":132744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:15:39] local.INFO: IMEI packet received {"connection_id":132744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":132744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:15:40] local.INFO: TCP Data received {"connection_id":132744,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:15:40] local.INFO: Processing buffer {"connection_id":132744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:15:40] local.INFO: Packet analysis {"connection_id":132744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5adc"} 
[2026-07-13 15:15:40] local.INFO: Extracted packet for processing {"connection_id":132744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5adc"} 
[2026-07-13 15:15:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":19,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687488512001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783935803000,"timestamp_ms":1783935803000,"timestamp_seconds":1783935803,"priority":1,"record_length":96,"hex_timestamp":"0000019f5adc1e78"} 
[2026-07-13 15:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 15:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687488512001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687488512001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:15:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:15:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687488512001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":132744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:15:40] local.INFO: GPS data processed {"connection_id":132744,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:15:40] local.INFO: Acknowledgment sent {"connection_id":132744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:15:45] local.INFO: TCP Data received {"connection_id":131431,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5add2430012d7d2ac005eb47a80010000222..."} 
[2026-07-13 15:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5add2430012d7d2ac005eb47a80010000222..."} 
[2026-07-13 15:15:45] local.INFO: Processing buffer {"connection_id":131431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5add2430012d7d2ac005eb47a80010000222..."} 
[2026-07-13 15:15:45] local.INFO: Packet analysis {"connection_id":131431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5add"} 
[2026-07-13 15:15:45] local.INFO: Extracted packet for processing {"connection_id":131431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5add"} 
[2026-07-13 15:15:45] local.INFO: GPS Element Parsed {"raw_longitude":763177664,"raw_latitude":99305384,"longitude_deg":76.3177664,"latitude_deg":9.9305384,"altitude":16,"angle":2,"satellites":34,"speed":42,"hex_longitude":"2d7d2ac0","hex_latitude":"05eb47a8","is_valid_coordinates":true} 
[2026-07-13 15:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687580672001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105775956349681664,"note":"Value kept but may cause issues"} 
[2026-07-13 15:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018739754205997056,"note":"Value kept but may cause issues"} 
[2026-07-13 15:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783935870000,"timestamp_ms":1783935870000,"timestamp_seconds":1783935870,"priority":1,"record_length":96,"hex_timestamp":"0000019f5add2430"} 
[2026-07-13 15:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 15:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:15:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687580672001,"66":13254,"157":206,"87":13824,"24":42,"16":105775956349681664,"45":9018739754205997056},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687580672001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:15:45] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:15:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105775956349681664,"km_value":105775956349681.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018739754205997056,"description":"Unknown IO ID 45"} 
[2026-07-13 15:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687580672001,"power":13254,"unknown_157":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":9018739754205997056}} 
[2026-07-13 15:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":131431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:15:45] local.INFO: GPS data processed {"connection_id":131431,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:15:45] local.INFO: Acknowledgment sent {"connection_id":131431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:16:03] local.INFO: TCP Data received {"connection_id":130611,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:16:03] local.INFO: Processing buffer {"connection_id":130611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:16:03] local.INFO: IMEI packet received {"connection_id":130611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":130611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:16:08] local.INFO: TCP Data received {"connection_id":130611,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:16:08] local.INFO: Processing buffer {"connection_id":130611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:16:08] local.INFO: IMEI packet received {"connection_id":130611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":130611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:16:11] local.INFO: TCP Data received {"connection_id":130611,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5add4758012d7d2bc005eb6d200010000023..."} 
[2026-07-13 15:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5add4758012d7d2bc005eb6d200010000023..."} 
[2026-07-13 15:16:11] local.INFO: Processing buffer {"connection_id":130611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5add4758012d7d2bc005eb6d200010000023..."} 
[2026-07-13 15:16:11] local.INFO: Packet analysis {"connection_id":130611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5add"} 
[2026-07-13 15:16:11] local.INFO: Extracted packet for processing {"connection_id":130611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5add"} 
[2026-07-13 15:16:11] local.INFO: GPS Element Parsed {"raw_longitude":763177920,"raw_latitude":99314976,"longitude_deg":76.317792,"latitude_deg":9.9314976,"altitude":16,"angle":0,"satellites":35,"speed":36,"hex_longitude":"2d7d2bc0","hex_latitude":"05eb6d20","is_valid_coordinates":true} 
[2026-07-13 15:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687582720001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105776420206149632,"note":"Value kept but may cause issues"} 
[2026-07-13 15:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019232335417550848,"note":"Value kept but may cause issues"} 
[2026-07-13 15:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783935879000,"timestamp_ms":1783935879000,"timestamp_seconds":1783935879,"priority":1,"record_length":96,"hex_timestamp":"0000019f5add4758"} 
[2026-07-13 15:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:16: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-07-13 15:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-13 15:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687582720001,"66":13189,"156":206,"87":13824,"24":36,"16":105776420206149632,"45":9019232335417550848},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-13 15:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687582720001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:16:11] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-13 15:16:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105776420206149632,"km_value":105776420206149.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019232335417550848,"description":"Unknown IO ID 45"} 
[2026-07-13 15:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687582720001,"power":13189,"unknown_156":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":9019232335417550848}} 
[2026-07-13 15:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":130611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480328,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:16:11] local.INFO: GPS data processed {"connection_id":130611,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:16:11] local.INFO: Acknowledgment sent {"connection_id":130611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:16:12] local.INFO: TCP Data received {"connection_id":132744,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:16:12] local.INFO: Processing buffer {"connection_id":132744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:16:12] local.INFO: Packet analysis {"connection_id":132744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5adc"} 
[2026-07-13 15:16:12] local.INFO: Extracted packet for processing {"connection_id":132744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5adc"} 
[2026-07-13 15:16:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":19,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687488512001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783935803000,"timestamp_ms":1783935803000,"timestamp_seconds":1783935803,"priority":1,"record_length":96,"hex_timestamp":"0000019f5adc1e78"} 
[2026-07-13 15:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 15:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687488512001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687488512001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:16:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:16:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687488512001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":132744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:16:12] local.INFO: GPS data processed {"connection_id":132744,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:16:12] local.INFO: Acknowledgment sent {"connection_id":132744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:16:15] local.INFO: TCP Data received {"connection_id":130611,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5add85d8012d7d2cc005eb90380011000123..."} 
[2026-07-13 15:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5add85d8012d7d2cc005eb90380011000123..."} 
[2026-07-13 15:16:15] local.INFO: Processing buffer {"connection_id":130611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5add85d8012d7d2cc005eb90380011000123..."} 
[2026-07-13 15:16:15] local.INFO: Packet analysis {"connection_id":130611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5add"} 
[2026-07-13 15:16:15] local.INFO: Extracted packet for processing {"connection_id":130611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5add"} 
[2026-07-13 15:16:15] local.INFO: GPS Element Parsed {"raw_longitude":763178176,"raw_latitude":99323960,"longitude_deg":76.3178176,"latitude_deg":9.932396,"altitude":17,"angle":1,"satellites":35,"speed":19,"hex_longitude":"2d7d2cc0","hex_latitude":"05eb9038","is_valid_coordinates":true} 
[2026-07-13 15:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687585024001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105776858292813824,"note":"Value kept but may cause issues"} 
[2026-07-13 15:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019513810396717056,"note":"Value kept but may cause issues"} 
[2026-07-13 15:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783935895000,"timestamp_ms":1783935895000,"timestamp_seconds":1783935895,"priority":1,"record_length":96,"hex_timestamp":"0000019f5add85d8"} 
[2026-07-13 15:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-13 15:16: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-07-13 15:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687585024001,"66":12645,"156":206,"87":13824,"24":19,"16":105776858292813824,"45":9019513810396717056},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-13 15:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687585024001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:16:15] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-13 15:16:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105776858292813824,"km_value":105776858292813.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019513810396717056,"description":"Unknown IO ID 45"} 
[2026-07-13 15:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687585024001,"power":12645,"unknown_156":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":9019513810396717056}} 
[2026-07-13 15:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":130611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:16:16] local.INFO: GPS data processed {"connection_id":130611,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:16:16] local.INFO: Acknowledgment sent {"connection_id":130611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:16:34] local.INFO: TCP Data received {"connection_id":130612,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:16:34] local.INFO: Processing buffer {"connection_id":130612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:16:34] local.INFO: IMEI packet received {"connection_id":130612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":130612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:16:39] local.INFO: TCP Data received {"connection_id":130612,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:16:39] local.INFO: Processing buffer {"connection_id":130612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:16:39] local.INFO: IMEI packet received {"connection_id":130612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":130612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:16:40] local.INFO: TCP Data received {"connection_id":130612,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:16:40] local.INFO: Processing buffer {"connection_id":130612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:16:40] local.INFO: Packet analysis {"connection_id":130612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5adc"} 
[2026-07-13 15:16:40] local.INFO: Extracted packet for processing {"connection_id":130612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5adc"} 
[2026-07-13 15:16:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":19,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687488512001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783935803000,"timestamp_ms":1783935803000,"timestamp_seconds":1783935803,"priority":1,"record_length":96,"hex_timestamp":"0000019f5adc1e78"} 
[2026-07-13 15:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 15:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687488512001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687488512001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:16:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:16:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687488512001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":130612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:16:40] local.INFO: GPS data processed {"connection_id":130612,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:16:40] local.INFO: Acknowledgment sent {"connection_id":130612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:16:58] local.INFO: TCP Data received {"connection_id":132746,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:16:58] local.INFO: Processing buffer {"connection_id":132746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:16:58] local.INFO: IMEI packet received {"connection_id":132746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":132746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:17:04] local.INFO: TCP Data received {"connection_id":132746,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:17:04] local.INFO: Processing buffer {"connection_id":132746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:17:04] local.INFO: IMEI packet received {"connection_id":132746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":132746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:17:05] local.INFO: TCP Data received {"connection_id":132746,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aded1e0012d7d240005ec3880000a011622..."} 
[2026-07-13 15:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aded1e0012d7d240005ec3880000a011622..."} 
[2026-07-13 15:17:05] local.INFO: Processing buffer {"connection_id":132746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aded1e0012d7d240005ec3880000a011622..."} 
[2026-07-13 15:17:05] local.INFO: Packet analysis {"connection_id":132746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ade"} 
[2026-07-13 15:17:05] local.INFO: Extracted packet for processing {"connection_id":132746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ade"} 
[2026-07-13 15:17:05] local.INFO: GPS Element Parsed {"raw_longitude":763175936,"raw_latitude":99367040,"longitude_deg":76.3175936,"latitude_deg":9.936704,"altitude":10,"angle":278,"satellites":34,"speed":18,"hex_longitude":"2d7d2400","hex_latitude":"05ec3880","is_valid_coordinates":true} 
[2026-07-13 15:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687610368001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105779027251298304,"note":"Value kept but may cause issues"} 
[2026-07-13 15:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018317541758978048,"note":"Value kept but may cause issues"} 
[2026-07-13 15:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783935980000,"timestamp_ms":1783935980000,"timestamp_seconds":1783935980,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aded1e0"} 
[2026-07-13 15:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-13 15:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687610368001,"66":13243,"110":206,"87":13824,"24":18,"16":105779027251298304,"45":9018317541758978048},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-13 15:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687610368001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:17:05] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-13 15:17:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105779027251298304,"km_value":105779027251298.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018317541758978048,"description":"Unknown IO ID 45"} 
[2026-07-13 15:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687610368001,"power":13243,"unknown_110":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":9018317541758978048}} 
[2026-07-13 15:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":132746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480332,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:17:05] local.INFO: GPS data processed {"connection_id":132746,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:17:05] local.INFO: Acknowledgment sent {"connection_id":132746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:17:08] local.INFO: TCP Data received {"connection_id":132746,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5adf0c78012d7cff8005ec3960000b010b21..."} 
[2026-07-13 15:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5adf0c78012d7cff8005ec3960000b010b21..."} 
[2026-07-13 15:17:08] local.INFO: Processing buffer {"connection_id":132746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5adf0c78012d7cff8005ec3960000b010b21..."} 
[2026-07-13 15:17:08] local.INFO: Packet analysis {"connection_id":132746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5adf"} 
[2026-07-13 15:17:08] local.INFO: Extracted packet for processing {"connection_id":132746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5adf"} 
[2026-07-13 15:17:08] local.INFO: GPS Element Parsed {"raw_longitude":763166592,"raw_latitude":99367264,"longitude_deg":76.3166592,"latitude_deg":9.9367264,"altitude":11,"angle":267,"satellites":33,"speed":29,"hex_longitude":"2d7cff80","hex_latitude":"05ec3960","is_valid_coordinates":true} 
[2026-07-13 15:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687610880001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105779473927897088,"note":"Value kept but may cause issues"} 
[2026-07-13 15:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017332379340537856,"note":"Value kept but may cause issues"} 
[2026-07-13 15:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783935995000,"timestamp_ms":1783935995000,"timestamp_seconds":1783935995,"priority":1,"record_length":96,"hex_timestamp":"0000019f5adf0c78"} 
[2026-07-13 15:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15: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-07-13 15: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-07-13 15:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687610880001,"66":13319,"110":206,"87":13824,"24":29,"16":105779473927897088,"45":9017332379340537856},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-13 15:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687610880001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:17:08] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-13 15:17:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105779473927897088,"km_value":105779473927897.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017332379340537856,"description":"Unknown IO ID 45"} 
[2026-07-13 15:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687610880001,"power":13319,"unknown_110":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":9017332379340537856}} 
[2026-07-13 15:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":132746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480333,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:17:08] local.INFO: GPS data processed {"connection_id":132746,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:17:08] local.INFO: Acknowledgment sent {"connection_id":132746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:17:12] local.INFO: TCP Data received {"connection_id":130612,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:17:12] local.INFO: Processing buffer {"connection_id":130612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:17:12] local.INFO: Packet analysis {"connection_id":130612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5adc"} 
[2026-07-13 15:17:12] local.INFO: Extracted packet for processing {"connection_id":130612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5adc"} 
[2026-07-13 15:17:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":19,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687488512001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783935803000,"timestamp_ms":1783935803000,"timestamp_seconds":1783935803,"priority":1,"record_length":96,"hex_timestamp":"0000019f5adc1e78"} 
[2026-07-13 15:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 15:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687488512001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687488512001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:17:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:17:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687488512001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":130612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:17:12] local.INFO: GPS data processed {"connection_id":130612,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:17:12] local.INFO: Acknowledgment sent {"connection_id":130612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:17:34] local.INFO: TCP Data received {"connection_id":130613,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:17:34] local.INFO: Processing buffer {"connection_id":130613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:17:34] local.INFO: IMEI packet received {"connection_id":130613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":130613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:17:39] local.INFO: TCP Data received {"connection_id":132746,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5adf0c78012d7cff8005ec3960000b010b21..."} 
[2026-07-13 15:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5adf0c78012d7cff8005ec3960000b010b21..."} 
[2026-07-13 15:17:39] local.INFO: Processing buffer {"connection_id":132746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5adf0c78012d7cff8005ec3960000b010b21..."} 
[2026-07-13 15:17:39] local.INFO: Packet analysis {"connection_id":132746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5adf"} 
[2026-07-13 15:17:39] local.INFO: Extracted packet for processing {"connection_id":132746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5adf"} 
[2026-07-13 15:17:39] local.INFO: GPS Element Parsed {"raw_longitude":763166592,"raw_latitude":99367264,"longitude_deg":76.3166592,"latitude_deg":9.9367264,"altitude":11,"angle":267,"satellites":33,"speed":29,"hex_longitude":"2d7cff80","hex_latitude":"05ec3960","is_valid_coordinates":true} 
[2026-07-13 15:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687614720001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105779473927897088,"note":"Value kept but may cause issues"} 
[2026-07-13 15:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007058542690656256,"note":"Value kept but may cause issues"} 
[2026-07-13 15:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783935995000,"timestamp_ms":1783935995000,"timestamp_seconds":1783935995,"priority":1,"record_length":96,"hex_timestamp":"0000019f5adf0c78"} 
[2026-07-13 15:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 15:17:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 15:17:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-07-13 15:17:39] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":4097,"corrected_to":0} 
[2026-07-13 15:17:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-13 15:17:39] local.WARNING: Large IO value detected {"io_id":90,"raw_value":3736504321,"note":"Value kept but may cause issues"} 
[2026-07-13 15:17:39] local.WARNING: Large IO value detected {"io_id":236,"raw_value":3573606347291238400,"note":"Value kept but may cause issues"} 
[2026-07-13 15:17:39] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3087084925,"note":"Value kept but may cause issues"} 
[2026-07-13 15:17:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3221613619,"note":"Value kept but may cause issues"} 
[2026-07-13 15:17:39] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3976252745,"note":"Value kept but may cause issues"} 
[2026-07-13 15:17:39] local.WARNING: Large IO value detected {"io_id":119,"raw_value":3445161984,"note":"Value kept but may cause issues"} 
[2026-07-13 15:17:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3962673152,"note":"Value kept but may cause issues"} 
[2026-07-13 15:17:39] local.WARNING: Large IO value detected {"io_id":237,"raw_value":57783102739470134,"note":"Value kept but may cause issues"} 
[2026-07-13 15:17:39] local.WARNING: Large IO value detected {"io_id":222,"raw_value":-6419879973931384827,"note":"Value kept but may cause issues"} 
[2026-07-13 15:17:39] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,110,87,24,241,157,16,205,159,209,45,56,10,34,66,202,128,55,194,192,1,240,248,227,90,236,4,113,7,174,44,104,31,239,50,109,2,119,5,15,237,222],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0},{"io_id":202,"original":4097,"validated":0}]} 
[2026-07-13 15:17:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792927245757644800,"timestamp_seconds":792927245757644.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 15:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687614720001,"66":13319,"110":206,"87":13824,"24":29,"16":105779473927897088,"45":9007058542690656256},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-13 15:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687614720001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:17:39] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-13 15:17:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105779473927897088,"km_value":105779473927897.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007058542690656256,"description":"Unknown IO ID 45"} 
[2026-07-13 15:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687614720001,"power":13319,"unknown_110":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":9007058542690656256}} 
[2026-07-13 15:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":132746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:17:39] local.INFO: GPS data processed {"connection_id":132746,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:17:39] local.INFO: Acknowledgment sent {"connection_id":132746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:17:39] local.INFO: TCP Data received {"connection_id":130613,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:17:39] local.INFO: Processing buffer {"connection_id":130613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:17:39] local.INFO: IMEI packet received {"connection_id":130613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":130613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:17:40] local.INFO: TCP Data received {"connection_id":130613,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:17:40] local.INFO: Processing buffer {"connection_id":130613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:17:40] local.INFO: Packet analysis {"connection_id":130613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5adc"} 
[2026-07-13 15:17:40] local.INFO: Extracted packet for processing {"connection_id":130613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5adc"} 
[2026-07-13 15:17:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":19,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687488512001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783935803000,"timestamp_ms":1783935803000,"timestamp_seconds":1783935803,"priority":1,"record_length":96,"hex_timestamp":"0000019f5adc1e78"} 
[2026-07-13 15:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 15:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687488512001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687488512001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:17:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:17:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687488512001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":130613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:17:40] local.INFO: GPS data processed {"connection_id":130613,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:17:40] local.INFO: Acknowledgment sent {"connection_id":130613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:17:56] local.INFO: TCP Data received {"connection_id":131432,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:17:56] local.INFO: Processing buffer {"connection_id":131432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:17:56] local.INFO: IMEI packet received {"connection_id":131432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":131432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:17:58] local.INFO: TCP Data received {"connection_id":131432,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:17:58] local.INFO: Processing buffer {"connection_id":131432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:17:58] local.INFO: IMEI packet received {"connection_id":131432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":131432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:18:00] local.INFO: TCP Data received {"connection_id":132747,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:18:00] local.INFO: Processing buffer {"connection_id":132747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:18:00] local.INFO: IMEI packet received {"connection_id":132747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 15:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":132747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:18:03] local.INFO: TCP Data received {"connection_id":131432,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:18:03] local.INFO: Processing buffer {"connection_id":131432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:18:03] local.INFO: IMEI packet received {"connection_id":131432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":131432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:18:05] local.INFO: TCP Data received {"connection_id":131432,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5adf4328012d7cda8005ec3850000d010d22..."} 
[2026-07-13 15:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5adf4328012d7cda8005ec3850000d010d22..."} 
[2026-07-13 15:18:05] local.INFO: Processing buffer {"connection_id":131432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5adf4328012d7cda8005ec3850000d010d22..."} 
[2026-07-13 15:18:05] local.INFO: Packet analysis {"connection_id":131432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5adf"} 
[2026-07-13 15:18:05] local.INFO: Extracted packet for processing {"connection_id":131432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5adf"} 
[2026-07-13 15:18:05] local.INFO: GPS Element Parsed {"raw_longitude":763157120,"raw_latitude":99366992,"longitude_deg":76.315712,"latitude_deg":9.9366992,"altitude":13,"angle":269,"satellites":34,"speed":24,"hex_longitude":"2d7cda80","hex_latitude":"05ec3850","is_valid_coordinates":true} 
[2026-07-13 15:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687614720001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105779924899463168,"note":"Value kept but may cause issues"} 
[2026-07-13 15:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007058542690656256,"note":"Value kept but may cause issues"} 
[2026-07-13 15:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783936009000,"timestamp_ms":1783936009000,"timestamp_seconds":1783936009,"priority":1,"record_length":96,"hex_timestamp":"0000019f5adf4328"} 
[2026-07-13 15:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 15:18:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 15:18:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-07-13 15:18:05] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":4097,"corrected_to":0} 
[2026-07-13 15:18:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-13 15:18:05] local.WARNING: Large IO value detected {"io_id":90,"raw_value":3737272321,"note":"Value kept but may cause issues"} 
[2026-07-13 15:18:05] local.WARNING: Large IO value detected {"io_id":236,"raw_value":3573606347291238400,"note":"Value kept but may cause issues"} 
[2026-07-13 15:18:05] local.WARNING: Large IO value detected {"io_id":182,"raw_value":2281778557,"note":"Value kept but may cause issues"} 
[2026-07-13 15:18:05] local.WARNING: Large IO value detected {"io_id":43,"raw_value":3221613620,"note":"Value kept but may cause issues"} 
[2026-07-13 15:18:05] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802121,"note":"Value kept but may cause issues"} 
[2026-07-13 15:18:05] local.WARNING: Large IO value detected {"io_id":119,"raw_value":3445424128,"note":"Value kept but may cause issues"} 
[2026-07-13 15:18:05] local.WARNING: Large IO value detected {"io_id":237,"raw_value":57783102739470134,"note":"Value kept but may cause issues"} 
[2026-07-13 15:18:05] local.WARNING: Large IO value detected {"io_id":222,"raw_value":-6419879973931384827,"note":"Value kept but may cause issues"} 
[2026-07-13 15:18:05] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,110,87,24,241,157,16,205,159,12,45,128,57,11,33,10,66,209,56,34,202,1,240,35,227,90,236,4,113,14,182,43,120,239,50,109,2,119,5,237,222],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0},{"io_id":202,"original":4097,"validated":0}]} 
[2026-07-13 15:18:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792927245757644800,"timestamp_seconds":792927245757644.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 15:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":131432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":131432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":131432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687614720001,"66":13298,"110":206,"87":13824,"24":24,"16":105779924899463168,"45":9007058542690656256},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-13 15:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687614720001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:18:05] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-13 15:18:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105779924899463168,"km_value":105779924899463.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007058542690656256,"description":"Unknown IO ID 45"} 
[2026-07-13 15:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687614720001,"power":13298,"unknown_110":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":9007058542690656256}} 
[2026-07-13 15:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":131432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:18:05] local.INFO: GPS data processed {"connection_id":131432,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:18:05] local.INFO: Acknowledgment sent {"connection_id":131432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:18:13] local.INFO: TCP Data received {"connection_id":130613,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:18:13] local.INFO: Processing buffer {"connection_id":130613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:18:13] local.INFO: Packet analysis {"connection_id":130613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5adc"} 
[2026-07-13 15:18:13] local.INFO: Extracted packet for processing {"connection_id":130613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5adc"} 
[2026-07-13 15:18:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":19,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687488512001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783935803000,"timestamp_ms":1783935803000,"timestamp_seconds":1783935803,"priority":1,"record_length":96,"hex_timestamp":"0000019f5adc1e78"} 
[2026-07-13 15:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 15:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687488512001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687488512001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:18:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:18:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687488512001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":130613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:18:13] local.INFO: GPS data processed {"connection_id":130613,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:18:13] local.INFO: Acknowledgment sent {"connection_id":130613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:18:37] local.INFO: TCP Data received {"connection_id":131432,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5adf7dc0012d7cb64005ec3758000e010b23..."} 
[2026-07-13 15:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5adf7dc0012d7cb64005ec3758000e010b23..."} 
[2026-07-13 15:18:37] local.INFO: Processing buffer {"connection_id":131432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5adf7dc0012d7cb64005ec3758000e010b23..."} 
[2026-07-13 15:18:37] local.INFO: Packet analysis {"connection_id":131432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5adf"} 
[2026-07-13 15:18:37] local.INFO: Extracted packet for processing {"connection_id":131432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5adf"} 
[2026-07-13 15:18:37] local.INFO: GPS Element Parsed {"raw_longitude":763147840,"raw_latitude":99366744,"longitude_deg":76.314784,"latitude_deg":9.9366744,"altitude":14,"angle":267,"satellites":35,"speed":27,"hex_longitude":"2d7cb640","hex_latitude":"05ec3758","is_valid_coordinates":true} 
[2026-07-13 15:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687618304001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105780371576061952,"note":"Value kept but may cause issues"} 
[2026-07-13 15:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8996643968552292352,"note":"Value kept but may cause issues"} 
[2026-07-13 15:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783936024000,"timestamp_ms":1783936024000,"timestamp_seconds":1783936024,"priority":1,"record_length":96,"hex_timestamp":"0000019f5adf7dc0"} 
[2026-07-13 15:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-13 15:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":131432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":131432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":131432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687618304001,"66":12993,"110":206,"87":13824,"24":27,"16":105780371576061952,"45":8996643968552292352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-13 15:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687618304001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:18:37] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-13 15:18:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105780371576061952,"km_value":105780371576061.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8996643968552292352,"description":"Unknown IO ID 45"} 
[2026-07-13 15:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687618304001,"power":12993,"unknown_110":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8996643968552292352}} 
[2026-07-13 15:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":131432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:18:37] local.INFO: GPS data processed {"connection_id":131432,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:18:37] local.INFO: Acknowledgment sent {"connection_id":131432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:18:39] local.INFO: TCP Data received {"connection_id":130614,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:18:39] local.INFO: Processing buffer {"connection_id":130614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:18:39] local.INFO: IMEI packet received {"connection_id":130614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":130614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:18:40] local.INFO: TCP Data received {"connection_id":130390,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130390,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:18:40] local.INFO: Processing buffer {"connection_id":130390,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:18:40] local.INFO: IMEI packet received {"connection_id":130390,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 15:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":130390,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:18:44] local.INFO: TCP Data received {"connection_id":130614,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:18:44] local.INFO: Processing buffer {"connection_id":130614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:18:44] local.INFO: IMEI packet received {"connection_id":130614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":130614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:18:46] local.INFO: TCP Data received {"connection_id":130614,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:18:46] local.INFO: Processing buffer {"connection_id":130614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:18:46] local.INFO: Packet analysis {"connection_id":130614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5adc"} 
[2026-07-13 15:18:46] local.INFO: Extracted packet for processing {"connection_id":130614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5adc"} 
[2026-07-13 15:18:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":19,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687488512001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783935803000,"timestamp_ms":1783935803000,"timestamp_seconds":1783935803,"priority":1,"record_length":96,"hex_timestamp":"0000019f5adc1e78"} 
[2026-07-13 15:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 15:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687488512001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687488512001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:18:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:18:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687488512001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":130614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:18:46] local.INFO: GPS data processed {"connection_id":130614,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:18:46] local.INFO: Acknowledgment sent {"connection_id":130614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:18:50] local.INFO: TCP Data received {"connection_id":130614,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:18:50] local.INFO: Processing buffer {"connection_id":130614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:18:50] local.INFO: Packet analysis {"connection_id":130614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5adc"} 
[2026-07-13 15:18:50] local.INFO: Extracted packet for processing {"connection_id":130614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5adc"} 
[2026-07-13 15:18:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":19,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15: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-07-13 15:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687488512001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783935803000,"timestamp_ms":1783935803000,"timestamp_seconds":1783935803,"priority":1,"record_length":96,"hex_timestamp":"0000019f5adc1e78"} 
[2026-07-13 15:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 15:18: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-07-13 15: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-07-13 15:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687488512001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687488512001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:18:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:18:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687488512001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":130614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:18:50] local.INFO: GPS data processed {"connection_id":130614,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:18:50] local.INFO: Acknowledgment sent {"connection_id":130614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:18:55] local.INFO: TCP Data received {"connection_id":130614,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:18:55] local.INFO: Processing buffer {"connection_id":130614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5adc1e78012d7f914005afd9380013011b2a..."} 
[2026-07-13 15:18:55] local.INFO: Packet analysis {"connection_id":130614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5adc"} 
[2026-07-13 15:18:55] local.INFO: Extracted packet for processing {"connection_id":130614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5adc"} 
[2026-07-13 15:18:55] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":19,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687488512001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783935803000,"timestamp_ms":1783935803000,"timestamp_seconds":1783935803,"priority":1,"record_length":96,"hex_timestamp":"0000019f5adc1e78"} 
[2026-07-13 15:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 15:18: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-07-13 15:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687488512001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687488512001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:18:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:18:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687488512001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":130614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:18:55] local.INFO: GPS data processed {"connection_id":130614,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:18:55] local.INFO: Acknowledgment sent {"connection_id":130614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:19:31] local.INFO: TCP Data received {"connection_id":132748,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:19:31] local.INFO: Processing buffer {"connection_id":132748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:19:31] local.INFO: IMEI packet received {"connection_id":132748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":132748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:19:33] local.INFO: TCP Data received {"connection_id":132748,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:19:33] local.INFO: Processing buffer {"connection_id":132748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:19:33] local.INFO: IMEI packet received {"connection_id":132748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":132748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:19:34] local.INFO: TCP Data received {"connection_id":130391,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:19:34] local.INFO: Processing buffer {"connection_id":130391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:19:34] local.INFO: IMEI packet received {"connection_id":130391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":130391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:19:38] local.INFO: TCP Data received {"connection_id":132748,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:19:38] local.INFO: Processing buffer {"connection_id":132748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:19:38] local.INFO: IMEI packet received {"connection_id":132748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":132748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:19:39] local.INFO: TCP Data received {"connection_id":132748,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5adfb470012d7c910005ec3668000e010c23..."} 
[2026-07-13 15:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5adfb470012d7c910005ec3668000e010c23..."} 
[2026-07-13 15:19:39] local.INFO: Processing buffer {"connection_id":132748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5adfb470012d7c910005ec3668000e010c23..."} 
[2026-07-13 15:19:39] local.INFO: Packet analysis {"connection_id":132748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5adf"} 
[2026-07-13 15:19:39] local.INFO: Extracted packet for processing {"connection_id":132748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5adf"} 
[2026-07-13 15:19:39] local.INFO: GPS Element Parsed {"raw_longitude":763138304,"raw_latitude":99366504,"longitude_deg":76.3138304,"latitude_deg":9.9366504,"altitude":14,"angle":268,"satellites":35,"speed":29,"hex_longitude":"2d7c9100","hex_latitude":"05ec3668","is_valid_coordinates":true} 
[2026-07-13 15:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687622144001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105780826842595328,"note":"Value kept but may cause issues"} 
[2026-07-13 15:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8986440500646467584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783936038000,"timestamp_ms":1783936038000,"timestamp_seconds":1783936038,"priority":1,"record_length":96,"hex_timestamp":"0000019f5adfb470"} 
[2026-07-13 15:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-13 15:19: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-07-13 15:19:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687622144001,"66":13276,"198":206,"87":13824,"24":29,"16":105780826842595328,"45":8986440500646467584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-13 15:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687622144001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:19:39] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-13 15:19:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105780826842595328,"km_value":105780826842595.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8986440500646467584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687622144001,"power":13276,"unknown_198":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8986440500646467584}} 
[2026-07-13 15:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":132748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480343,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:19:39] local.INFO: GPS data processed {"connection_id":132748,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:19:39] local.INFO: Acknowledgment sent {"connection_id":132748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:19:39] local.INFO: TCP Data received {"connection_id":130391,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:19:39] local.INFO: Processing buffer {"connection_id":130391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:19:39] local.INFO: IMEI packet received {"connection_id":130391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":130391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:19:40] local.INFO: TCP Data received {"connection_id":130391,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae0b640012d7f914005afd9380014011b27..."} 
[2026-07-13 15:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae0b640012d7f914005afd9380014011b27..."} 
[2026-07-13 15:19:40] local.INFO: Processing buffer {"connection_id":130391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae0b640012d7f914005afd9380014011b27..."} 
[2026-07-13 15:19:40] local.INFO: Packet analysis {"connection_id":130391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae0"} 
[2026-07-13 15:19:40] local.INFO: Extracted packet for processing {"connection_id":130391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae0"} 
[2026-07-13 15:19:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15: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-07-13 15:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687565568001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783936104000,"timestamp_ms":1783936104000,"timestamp_seconds":1783936104,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae0b640"} 
[2026-07-13 15:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15: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-07-13 15:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687565568001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687565568001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:19:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:19:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687565568001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":130391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:19:40] local.INFO: GPS data processed {"connection_id":130391,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:19:40] local.INFO: Acknowledgment sent {"connection_id":130391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:20:01] local.INFO: TCP Data received {"connection_id":131433,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131433,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:20:01] local.INFO: Processing buffer {"connection_id":131433,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:20:01] local.INFO: IMEI packet received {"connection_id":131433,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":131433,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:20:03] local.INFO: TCP Data received {"connection_id":131433,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131433,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:20:03] local.INFO: Processing buffer {"connection_id":131433,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:20:03] local.INFO: IMEI packet received {"connection_id":131433,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":131433,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:20:08] local.INFO: TCP Data received {"connection_id":131433,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131433,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:20:08] local.INFO: Processing buffer {"connection_id":131433,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:20:08] local.INFO: IMEI packet received {"connection_id":131433,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":131433,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:20:09] local.INFO: TCP Data received {"connection_id":131433,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae1e308012d7b16c005ebe438001100f328..."} 
[2026-07-13 15:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae1e308012d7b16c005ebe438001100f328..."} 
[2026-07-13 15:20:09] local.INFO: Processing buffer {"connection_id":131433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae1e308012d7b16c005ebe438001100f328..."} 
[2026-07-13 15:20:09] local.INFO: Packet analysis {"connection_id":131433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae1"} 
[2026-07-13 15:20:09] local.INFO: Extracted packet for processing {"connection_id":131433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae1"} 
[2026-07-13 15:20:09] local.INFO: GPS Element Parsed {"raw_longitude":763041472,"raw_latitude":99345464,"longitude_deg":76.3041472,"latitude_deg":9.9345464,"altitude":17,"angle":243,"satellites":40,"speed":39,"hex_longitude":"2d7b16c0","hex_latitude":"05ebe438","is_valid_coordinates":true} 
[2026-07-13 15:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687659264001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105785624321064960,"note":"Value kept but may cause issues"} 
[2026-07-13 15:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878776322050281472,"note":"Value kept but may cause issues"} 
[2026-07-13 15:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783936181000,"timestamp_ms":1783936181000,"timestamp_seconds":1783936181,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae1e308"} 
[2026-07-13 15:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-13 15:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":131433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":131433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":131433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687659264001,"66":12939,"155":206,"87":13824,"24":39,"16":105785624321064960,"45":8878776322050281472},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-13 15:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687659264001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:20:09] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 15:20:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105785624321064960,"km_value":105785624321064.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878776322050281472,"description":"Unknown IO ID 45"} 
[2026-07-13 15:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687659264001,"power":12939,"unknown_155":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":8878776322050281472}} 
[2026-07-13 15:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":131433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480345,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:20:09] local.INFO: GPS data processed {"connection_id":131433,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:20:09] local.INFO: Acknowledgment sent {"connection_id":131433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:20:11] local.INFO: TCP Data received {"connection_id":130391,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae0b640012d7f914005afd9380014011b27..."} 
[2026-07-13 15:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae0b640012d7f914005afd9380014011b27..."} 
[2026-07-13 15:20:11] local.INFO: Processing buffer {"connection_id":130391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae0b640012d7f914005afd9380014011b27..."} 
[2026-07-13 15:20:11] local.INFO: Packet analysis {"connection_id":130391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae0"} 
[2026-07-13 15:20:11] local.INFO: Extracted packet for processing {"connection_id":130391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae0"} 
[2026-07-13 15:20:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687565568001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783936104000,"timestamp_ms":1783936104000,"timestamp_seconds":1783936104,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae0b640"} 
[2026-07-13 15:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687565568001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687565568001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:20:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:20:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687565568001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":130391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:20:11] local.INFO: GPS data processed {"connection_id":130391,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:20:11] local.INFO: Acknowledgment sent {"connection_id":130391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:20:34] local.INFO: TCP Data received {"connection_id":130616,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:20:34] local.INFO: Processing buffer {"connection_id":130616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:20:34] local.INFO: IMEI packet received {"connection_id":130616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":130616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:20:39] local.INFO: TCP Data received {"connection_id":130616,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:20:39] local.INFO: Processing buffer {"connection_id":130616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:20:39] local.INFO: IMEI packet received {"connection_id":130616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":130616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:20:41] local.INFO: TCP Data received {"connection_id":131433,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae20630012d7af50005ebd398001000f32a..."} 
[2026-07-13 15:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae20630012d7af50005ebd398001000f32a..."} 
[2026-07-13 15:20:41] local.INFO: Processing buffer {"connection_id":131433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae20630012d7af50005ebd398001000f32a..."} 
[2026-07-13 15:20:41] local.INFO: Packet analysis {"connection_id":131433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae2"} 
[2026-07-13 15:20:41] local.INFO: Extracted packet for processing {"connection_id":131433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae2"} 
[2026-07-13 15:20:41] local.INFO: GPS Element Parsed {"raw_longitude":763032832,"raw_latitude":99341208,"longitude_deg":76.3032832,"latitude_deg":9.9341208,"altitude":16,"angle":243,"satellites":42,"speed":41,"hex_longitude":"2d7af500","hex_latitude":"05ebd398","is_valid_coordinates":true} 
[2026-07-13 15:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687662336001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105786088177532928,"note":"Value kept but may cause issues"} 
[2026-07-13 15:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869487647817742336,"note":"Value kept but may cause issues"} 
[2026-07-13 15:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783936190000,"timestamp_ms":1783936190000,"timestamp_seconds":1783936190,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae20630"} 
[2026-07-13 15:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-13 15:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687662336001,"66":12493,"155":206,"87":13824,"24":41,"16":105786088177532928,"45":8869487647817742336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-13 15:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687662336001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:20:41] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 15:20:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105786088177532928,"km_value":105786088177532.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869487647817742336,"description":"Unknown IO ID 45"} 
[2026-07-13 15:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687662336001,"power":12493,"unknown_155":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":8869487647817742336}} 
[2026-07-13 15:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":131433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480347,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:20:41] local.INFO: GPS data processed {"connection_id":131433,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:20:41] local.INFO: Acknowledgment sent {"connection_id":131433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:20:42] local.INFO: TCP Data received {"connection_id":130616,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae0b640012d7f914005afd9380014011b27..."} 
[2026-07-13 15:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae0b640012d7f914005afd9380014011b27..."} 
[2026-07-13 15:20:42] local.INFO: Processing buffer {"connection_id":130616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae0b640012d7f914005afd9380014011b27..."} 
[2026-07-13 15:20:42] local.INFO: Packet analysis {"connection_id":130616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae0"} 
[2026-07-13 15:20:42] local.INFO: Extracted packet for processing {"connection_id":130616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae0"} 
[2026-07-13 15:20:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687565568001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783936104000,"timestamp_ms":1783936104000,"timestamp_seconds":1783936104,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae0b640"} 
[2026-07-13 15:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687565568001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687565568001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:20:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:20:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687565568001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":130616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:20:42] local.INFO: GPS data processed {"connection_id":130616,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:20:42] local.INFO: Acknowledgment sent {"connection_id":130616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:20:58] local.INFO: TCP Data received {"connection_id":132749,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:20:58] local.INFO: Processing buffer {"connection_id":132749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:20:58] local.INFO: IMEI packet received {"connection_id":132749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":132749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:21:02] local.INFO: TCP Data received {"connection_id":132749,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:21:02] local.INFO: Processing buffer {"connection_id":132749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:21:02] local.INFO: IMEI packet received {"connection_id":132749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":132749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:21:03] local.INFO: TCP Data received {"connection_id":132749,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae22958012d7ad40005ebc338000e00f32a..."} 
[2026-07-13 15:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae22958012d7ad40005ebc338000e00f32a..."} 
[2026-07-13 15:21:03] local.INFO: Processing buffer {"connection_id":132749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae22958012d7ad40005ebc338000e00f32a..."} 
[2026-07-13 15:21:03] local.INFO: Packet analysis {"connection_id":132749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae2"} 
[2026-07-13 15:21:03] local.INFO: Extracted packet for processing {"connection_id":132749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae2"} 
[2026-07-13 15:21:03] local.INFO: GPS Element Parsed {"raw_longitude":763024384,"raw_latitude":99337016,"longitude_deg":76.3024384,"latitude_deg":9.9337016,"altitude":14,"angle":243,"satellites":42,"speed":39,"hex_longitude":"2d7ad400","hex_latitude":"05ebc338","is_valid_coordinates":true} 
[2026-07-13 15:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687664640001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105786539149099008,"note":"Value kept but may cause issues"} 
[2026-07-13 15:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859987867352668160,"note":"Value kept but may cause issues"} 
[2026-07-13 15:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783936199000,"timestamp_ms":1783936199000,"timestamp_seconds":1783936199,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae22958"} 
[2026-07-13 15:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15: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":205,"data_length":795,"current_offset":136} 
[2026-07-13 15:21: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-07-13 15:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":132749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":132749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":132749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687664640001,"66":13341,"155":206,"87":13824,"24":39,"16":105786539149099008,"45":8859987867352668160},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-13 15:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687664640001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:21:03] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 15:21:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105786539149099008,"km_value":105786539149099.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859987867352668160,"description":"Unknown IO ID 45"} 
[2026-07-13 15:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687664640001,"power":13341,"unknown_155":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":8859987867352668160}} 
[2026-07-13 15:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":132749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480349,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:21:03] local.INFO: GPS data processed {"connection_id":132749,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:21:03] local.INFO: Acknowledgment sent {"connection_id":132749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:21:13] local.INFO: TCP Data received {"connection_id":130616,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae0b640012d7f914005afd9380014011b27..."} 
[2026-07-13 15:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae0b640012d7f914005afd9380014011b27..."} 
[2026-07-13 15:21:13] local.INFO: Processing buffer {"connection_id":130616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae0b640012d7f914005afd9380014011b27..."} 
[2026-07-13 15:21:13] local.INFO: Packet analysis {"connection_id":130616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae0"} 
[2026-07-13 15:21:13] local.INFO: Extracted packet for processing {"connection_id":130616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae0"} 
[2026-07-13 15:21:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687565568001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783936104000,"timestamp_ms":1783936104000,"timestamp_seconds":1783936104,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae0b640"} 
[2026-07-13 15:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:21:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687565568001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687565568001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:21:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:21:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687565568001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":130616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:21:13] local.INFO: GPS data processed {"connection_id":130616,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:21:13] local.INFO: Acknowledgment sent {"connection_id":130616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:21:34] local.INFO: TCP Data received {"connection_id":132749,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae25068012d7ab20005ebb440000b00f72a..."} 
[2026-07-13 15:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae25068012d7ab20005ebb440000b00f72a..."} 
[2026-07-13 15:21:34] local.INFO: Processing buffer {"connection_id":132749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae25068012d7ab20005ebb440000b00f72a..."} 
[2026-07-13 15:21:34] local.INFO: Packet analysis {"connection_id":132749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae2"} 
[2026-07-13 15:21:34] local.INFO: Extracted packet for processing {"connection_id":132749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae2"} 
[2026-07-13 15:21:34] local.INFO: GPS Element Parsed {"raw_longitude":763015680,"raw_latitude":99333184,"longitude_deg":76.301568,"latitude_deg":9.9333184,"altitude":11,"angle":247,"satellites":42,"speed":37,"hex_longitude":"2d7ab200","hex_latitude":"05ebb440","is_valid_coordinates":true} 
[2026-07-13 15:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687666944001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105786994415632384,"note":"Value kept but may cause issues"} 
[2026-07-13 15:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850699193120143360,"note":"Value kept but may cause issues"} 
[2026-07-13 15:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783936209000,"timestamp_ms":1783936209000,"timestamp_seconds":1783936209,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae25068"} 
[2026-07-13 15:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-13 15:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":132749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":132749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":132749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687666944001,"66":12765,"155":206,"87":13824,"24":37,"16":105786994415632384,"45":8850699193120143360},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-13 15:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687666944001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:21:34] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 15:21:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105786994415632384,"km_value":105786994415632.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850699193120143360,"description":"Unknown IO ID 45"} 
[2026-07-13 15:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687666944001,"power":12765,"unknown_155":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8850699193120143360}} 
[2026-07-13 15:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":132749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480351,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:21:34] local.INFO: GPS data processed {"connection_id":132749,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:21:34] local.INFO: Acknowledgment sent {"connection_id":132749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:21:34] local.INFO: TCP Data received {"connection_id":132750,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:21:34] local.INFO: Processing buffer {"connection_id":132750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:21:34] local.INFO: IMEI packet received {"connection_id":132750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":132750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:21:39] local.INFO: TCP Data received {"connection_id":132750,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:21:39] local.INFO: Processing buffer {"connection_id":132750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:21:39] local.INFO: IMEI packet received {"connection_id":132750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":132750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:21:40] local.INFO: TCP Data received {"connection_id":132750,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae0b640012d7f914005afd9380014011b27..."} 
[2026-07-13 15:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae0b640012d7f914005afd9380014011b27..."} 
[2026-07-13 15:21:40] local.INFO: Processing buffer {"connection_id":132750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae0b640012d7f914005afd9380014011b27..."} 
[2026-07-13 15:21:40] local.INFO: Packet analysis {"connection_id":132750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae0"} 
[2026-07-13 15:21:40] local.INFO: Extracted packet for processing {"connection_id":132750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae0"} 
[2026-07-13 15:21:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687565568001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783936104000,"timestamp_ms":1783936104000,"timestamp_seconds":1783936104,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae0b640"} 
[2026-07-13 15:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687565568001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687565568001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:21:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687565568001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":132750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:21:41] local.INFO: GPS data processed {"connection_id":132750,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:21:41] local.INFO: Acknowledgment sent {"connection_id":132750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:21:58] local.INFO: TCP Data received {"connection_id":131434,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:21:58] local.INFO: Processing buffer {"connection_id":131434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:21:58] local.INFO: IMEI packet received {"connection_id":131434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":131434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:21:59] local.INFO: TCP Data received {"connection_id":131434,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:21:59] local.INFO: Processing buffer {"connection_id":131434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:21:59] local.INFO: IMEI packet received {"connection_id":131434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":131434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:22:03] local.INFO: TCP Data received {"connection_id":131434,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:22:03] local.INFO: Processing buffer {"connection_id":131434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:22:03] local.INFO: IMEI packet received {"connection_id":131434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":131434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:22:04] local.INFO: TCP Data received {"connection_id":131434,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae3d708012d7a400005ebbae80009015d26..."} 
[2026-07-13 15:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae3d708012d7a400005ebbae80009015d26..."} 
[2026-07-13 15:22:04] local.INFO: Processing buffer {"connection_id":131434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae3d708012d7a400005ebbae80009015d26..."} 
[2026-07-13 15:22:04] local.INFO: Packet analysis {"connection_id":131434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae3"} 
[2026-07-13 15:22:04] local.INFO: Extracted packet for processing {"connection_id":131434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae3"} 
[2026-07-13 15:22:04] local.INFO: GPS Element Parsed {"raw_longitude":762986496,"raw_latitude":99334888,"longitude_deg":76.2986496,"latitude_deg":9.9334888,"altitude":9,"angle":349,"satellites":38,"speed":10,"hex_longitude":"2d7a4000","hex_latitude":"05ebbae8","is_valid_coordinates":true} 
[2026-07-13 15:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687694336001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105788763942158336,"note":"Value kept but may cause issues"} 
[2026-07-13 15:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809603846519588864,"note":"Value kept but may cause issues"} 
[2026-07-13 15:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783936309000,"timestamp_ms":1783936309000,"timestamp_seconds":1783936309,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae3d708"} 
[2026-07-13 15:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-13 15:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":131434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":131434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":131434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687694336001,"66":13091,"161":206,"87":13824,"24":10,"16":105788763942158336,"45":8809603846519588864},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-13 15:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687694336001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:22:04] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-13 15:22:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105788763942158336,"km_value":105788763942158.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809603846519588864,"description":"Unknown IO ID 45"} 
[2026-07-13 15:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687694336001,"power":13091,"unknown_161":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8809603846519588864}} 
[2026-07-13 15:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":131434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480353,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:22:04] local.INFO: GPS data processed {"connection_id":131434,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:22:04] local.INFO: Acknowledgment sent {"connection_id":131434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:22:11] local.INFO: TCP Data received {"connection_id":132750,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae0b640012d7f914005afd9380014011b27..."} 
[2026-07-13 15:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae0b640012d7f914005afd9380014011b27..."} 
[2026-07-13 15:22:11] local.INFO: Processing buffer {"connection_id":132750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae0b640012d7f914005afd9380014011b27..."} 
[2026-07-13 15:22:11] local.INFO: Packet analysis {"connection_id":132750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae0"} 
[2026-07-13 15:22:11] local.INFO: Extracted packet for processing {"connection_id":132750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae0"} 
[2026-07-13 15:22:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687565568001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783936104000,"timestamp_ms":1783936104000,"timestamp_seconds":1783936104,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae0b640"} 
[2026-07-13 15:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687565568001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687565568001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:22:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:22:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687565568001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":132750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:22:12] local.INFO: GPS data processed {"connection_id":132750,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:22:12] local.INFO: Acknowledgment sent {"connection_id":132750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:22:34] local.INFO: TCP Data received {"connection_id":132751,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:22:34] local.INFO: Processing buffer {"connection_id":132751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:22:34] local.INFO: IMEI packet received {"connection_id":132751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":132751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:22:35] local.INFO: TCP Data received {"connection_id":131434,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae3e2c0012d7a3f8005ebbd080009014c27..."} 
[2026-07-13 15:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae3e2c0012d7a3f8005ebbd080009014c27..."} 
[2026-07-13 15:22:35] local.INFO: Processing buffer {"connection_id":131434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae3e2c0012d7a3f8005ebbd080009014c27..."} 
[2026-07-13 15:22:35] local.INFO: Packet analysis {"connection_id":131434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae3"} 
[2026-07-13 15:22:35] local.INFO: Extracted packet for processing {"connection_id":131434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae3"} 
[2026-07-13 15:22:35] local.INFO: GPS Element Parsed {"raw_longitude":762986368,"raw_latitude":99335432,"longitude_deg":76.2986368,"latitude_deg":9.9335432,"altitude":9,"angle":332,"satellites":39,"speed":8,"hex_longitude":"2d7a3f80","hex_latitude":"05ebbd08","is_valid_coordinates":true} 
[2026-07-13 15:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687695104001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105788794006929408,"note":"Value kept but may cause issues"} 
[2026-07-13 15:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809040896566421504,"note":"Value kept but may cause issues"} 
[2026-07-13 15:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783936312000,"timestamp_ms":1783936312000,"timestamp_seconds":1783936312,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae3e2c0"} 
[2026-07-13 15:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-13 15:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":131434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":131434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":131434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687695104001,"66":13124,"161":206,"87":13824,"24":8,"16":105788794006929408,"45":8809040896566421504},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-13 15:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687695104001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:22:35] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-13 15:22:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105788794006929408,"km_value":105788794006929.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809040896566421504,"description":"Unknown IO ID 45"} 
[2026-07-13 15:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687695104001,"power":13124,"unknown_161":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8809040896566421504}} 
[2026-07-13 15:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":131434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:22:35] local.INFO: GPS data processed {"connection_id":131434,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:22:35] local.INFO: Acknowledgment sent {"connection_id":131434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:22:39] local.INFO: TCP Data received {"connection_id":132751,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:22:39] local.INFO: Processing buffer {"connection_id":132751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:22:39] local.INFO: IMEI packet received {"connection_id":132751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":132751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:22:40] local.INFO: TCP Data received {"connection_id":132751,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae0b640012d7f914005afd9380014011b27..."} 
[2026-07-13 15:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae0b640012d7f914005afd9380014011b27..."} 
[2026-07-13 15:22:40] local.INFO: Processing buffer {"connection_id":132751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae0b640012d7f914005afd9380014011b27..."} 
[2026-07-13 15:22:40] local.INFO: Packet analysis {"connection_id":132751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae0"} 
[2026-07-13 15:22:40] local.INFO: Extracted packet for processing {"connection_id":132751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae0"} 
[2026-07-13 15:22:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687565568001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783936104000,"timestamp_ms":1783936104000,"timestamp_seconds":1783936104,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae0b640"} 
[2026-07-13 15:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687565568001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687565568001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:22:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:22:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687565568001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":132751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:22:40] local.INFO: GPS data processed {"connection_id":132751,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:22:40] local.INFO: Acknowledgment sent {"connection_id":132751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:22:57] local.INFO: TCP Data received {"connection_id":132752,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132752,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:22:57] local.INFO: Processing buffer {"connection_id":132752,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:22:57] local.INFO: IMEI packet received {"connection_id":132752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":132752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:22:58] local.INFO: TCP Data received {"connection_id":132752,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132752,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:22:58] local.INFO: Processing buffer {"connection_id":132752,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:22:58] local.INFO: IMEI packet received {"connection_id":132752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":132752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:23:03] local.INFO: TCP Data received {"connection_id":132752,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132752,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:23:03] local.INFO: Processing buffer {"connection_id":132752,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:23:03] local.INFO: IMEI packet received {"connection_id":132752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":132752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:23:04] local.INFO: TCP Data received {"connection_id":132752,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae3e6a8012d7a3f0005ebbdb00009013d27..."} 
[2026-07-13 15:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae3e6a8012d7a3f0005ebbdb00009013d27..."} 
[2026-07-13 15:23:04] local.INFO: Processing buffer {"connection_id":132752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae3e6a8012d7a3f0005ebbdb00009013d27..."} 
[2026-07-13 15:23:04] local.INFO: Packet analysis {"connection_id":132752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae3"} 
[2026-07-13 15:23:04] local.INFO: Extracted packet for processing {"connection_id":132752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae3"} 
[2026-07-13 15:23:04] local.INFO: GPS Element Parsed {"raw_longitude":762986240,"raw_latitude":99335600,"longitude_deg":76.298624,"latitude_deg":9.93356,"altitude":9,"angle":317,"satellites":39,"speed":10,"hex_longitude":"2d7a3f00","hex_latitude":"05ebbdb0","is_valid_coordinates":true} 
[2026-07-13 15:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687695872001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105788802596864000,"note":"Value kept but may cause issues"} 
[2026-07-13 15:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808900159078205440,"note":"Value kept but may cause issues"} 
[2026-07-13 15:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783936313000,"timestamp_ms":1783936313000,"timestamp_seconds":1783936313,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae3e6a8"} 
[2026-07-13 15:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-13 15:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687695872001,"66":13222,"161":206,"87":13824,"24":10,"16":105788802596864000,"45":8808900159078205440},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-13 15:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687695872001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:23:04] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-13 15:23:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105788802596864000,"km_value":105788802596864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808900159078205440,"description":"Unknown IO ID 45"} 
[2026-07-13 15:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687695872001,"power":13222,"unknown_161":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8808900159078205440}} 
[2026-07-13 15:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":132752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480357,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:23:04] local.INFO: GPS data processed {"connection_id":132752,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:23:04] local.INFO: Acknowledgment sent {"connection_id":132752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:23:12] local.INFO: TCP Data received {"connection_id":132751,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae0b640012d7f914005afd9380014011b27..."} 
[2026-07-13 15:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae0b640012d7f914005afd9380014011b27..."} 
[2026-07-13 15:23:12] local.INFO: Processing buffer {"connection_id":132751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae0b640012d7f914005afd9380014011b27..."} 
[2026-07-13 15:23:12] local.INFO: Packet analysis {"connection_id":132751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae0"} 
[2026-07-13 15:23:12] local.INFO: Extracted packet for processing {"connection_id":132751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae0"} 
[2026-07-13 15:23:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687565568001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783936104000,"timestamp_ms":1783936104000,"timestamp_seconds":1783936104,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae0b640"} 
[2026-07-13 15:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687565568001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687565568001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:23:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:23:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687565568001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":132751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:23:12] local.INFO: GPS data processed {"connection_id":132751,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:23:12] local.INFO: Acknowledgment sent {"connection_id":132751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:23:35] local.INFO: TCP Data received {"connection_id":132752,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae3f260012d7a3c4005ebc1a80009014e27..."} 
[2026-07-13 15:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae3f260012d7a3c4005ebc1a80009014e27..."} 
[2026-07-13 15:23:35] local.INFO: Processing buffer {"connection_id":132752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae3f260012d7a3c4005ebc1a80009014e27..."} 
[2026-07-13 15:23:35] local.INFO: Packet analysis {"connection_id":132752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae3"} 
[2026-07-13 15:23:35] local.INFO: Extracted packet for processing {"connection_id":132752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae3"} 
[2026-07-13 15:23:35] local.INFO: GPS Element Parsed {"raw_longitude":762985536,"raw_latitude":99336616,"longitude_deg":76.2985536,"latitude_deg":9.9336616,"altitude":9,"angle":334,"satellites":39,"speed":19,"hex_longitude":"2d7a3c40","hex_latitude":"05ebc1a8","is_valid_coordinates":true} 
[2026-07-13 15:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687696128001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105788862726406144,"note":"Value kept but may cause issues"} 
[2026-07-13 15:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808759421589893120,"note":"Value kept but may cause issues"} 
[2026-07-13 15:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783936316000,"timestamp_ms":1783936316000,"timestamp_seconds":1783936316,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae3f260"} 
[2026-07-13 15:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-13 15:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687696128001,"66":13222,"163":206,"87":13824,"24":19,"16":105788862726406144,"45":8808759421589893120},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-13 15:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687696128001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:23:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-13 15:23:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105788862726406144,"km_value":105788862726406.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808759421589893120,"description":"Unknown IO ID 45"} 
[2026-07-13 15:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687696128001,"power":13222,"unknown_163":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8808759421589893120}} 
[2026-07-13 15:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":132752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:23:36] local.INFO: GPS data processed {"connection_id":132752,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:23:36] local.INFO: Acknowledgment sent {"connection_id":132752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:23:39] local.INFO: TCP Data received {"connection_id":130618,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:23:39] local.INFO: Processing buffer {"connection_id":130618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:23:39] local.INFO: IMEI packet received {"connection_id":130618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":130618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:23:44] local.INFO: TCP Data received {"connection_id":130618,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:23:44] local.INFO: Processing buffer {"connection_id":130618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:23:44] local.INFO: IMEI packet received {"connection_id":130618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":130618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:23:45] local.INFO: TCP Data received {"connection_id":130618,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae0b640012d7f914005afd9380014011b27..."} 
[2026-07-13 15:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae0b640012d7f914005afd9380014011b27..."} 
[2026-07-13 15:23:45] local.INFO: Processing buffer {"connection_id":130618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae0b640012d7f914005afd9380014011b27..."} 
[2026-07-13 15:23:45] local.INFO: Packet analysis {"connection_id":130618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae0"} 
[2026-07-13 15:23:45] local.INFO: Extracted packet for processing {"connection_id":130618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae0"} 
[2026-07-13 15:23:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 15:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687565568001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783936104000,"timestamp_ms":1783936104000,"timestamp_seconds":1783936104,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae0b640"} 
[2026-07-13 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-07-13 15:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 15:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687565568001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687565568001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:23:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:23:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687565568001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":130618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:23:45] local.INFO: GPS data processed {"connection_id":130618,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:23:45] local.INFO: Acknowledgment sent {"connection_id":130618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:23:58] local.INFO: TCP Data received {"connection_id":132753,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132753,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:23:58] local.INFO: Processing buffer {"connection_id":132753,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:23:58] local.INFO: IMEI packet received {"connection_id":132753,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":132753,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:24:00] local.INFO: TCP Data received {"connection_id":130618,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae0b640012d7f914005afd9380014011b27..."} 
[2026-07-13 15:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae0b640012d7f914005afd9380014011b27..."} 
[2026-07-13 15:24:00] local.INFO: Processing buffer {"connection_id":130618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae0b640012d7f914005afd9380014011b27..."} 
[2026-07-13 15:24:00] local.INFO: Packet analysis {"connection_id":130618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae0"} 
[2026-07-13 15:24:00] local.INFO: Extracted packet for processing {"connection_id":130618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae0"} 
[2026-07-13 15:24:00] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687565568001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783936104000,"timestamp_ms":1783936104000,"timestamp_seconds":1783936104,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae0b640"} 
[2026-07-13 15:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":130618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":130618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":130618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687565568001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687565568001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:24:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:24:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687565568001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":130618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:24:00] local.INFO: GPS data processed {"connection_id":130618,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:24:00] local.INFO: Acknowledgment sent {"connection_id":130618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:24:03] local.INFO: TCP Data received {"connection_id":132753,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132753,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:24:03] local.INFO: Processing buffer {"connection_id":132753,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:24:03] local.INFO: IMEI packet received {"connection_id":132753,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":132753,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:24:04] local.INFO: TCP Data received {"connection_id":132753,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae44080012d7a2e0005ebdc90000a014c29..."} 
[2026-07-13 15:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae44080012d7a2e0005ebdc90000a014c29..."} 
[2026-07-13 15:24:04] local.INFO: Processing buffer {"connection_id":132753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae44080012d7a2e0005ebdc90000a014c29..."} 
[2026-07-13 15:24:04] local.INFO: Packet analysis {"connection_id":132753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae4"} 
[2026-07-13 15:24:04] local.INFO: Extracted packet for processing {"connection_id":132753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae4"} 
[2026-07-13 15:24:04] local.INFO: GPS Element Parsed {"raw_longitude":762981888,"raw_latitude":99343504,"longitude_deg":76.2981888,"latitude_deg":9.9343504,"altitude":10,"angle":332,"satellites":41,"speed":24,"hex_longitude":"2d7a2e00","hex_latitude":"05ebdc90","is_valid_coordinates":true} 
[2026-07-13 15:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687696896001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105789240683528192,"note":"Value kept but may cause issues"} 
[2026-07-13 15:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807985365404198912,"note":"Value kept but may cause issues"} 
[2026-07-13 15:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783936336000,"timestamp_ms":1783936336000,"timestamp_seconds":1783936336,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae44080"} 
[2026-07-13 15:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-13 15:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687696896001,"66":13167,"163":206,"87":13824,"24":24,"16":105789240683528192,"45":8807985365404198912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-13 15:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687696896001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:24:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-13 15:24:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105789240683528192,"km_value":105789240683528.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807985365404198912,"description":"Unknown IO ID 45"} 
[2026-07-13 15:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687696896001,"power":13167,"unknown_163":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8807985365404198912}} 
[2026-07-13 15:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":132753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:24:04] local.INFO: GPS data processed {"connection_id":132753,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:24:04] local.INFO: Acknowledgment sent {"connection_id":132753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:24:10] local.INFO: TCP Data received {"connection_id":131436,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:24:10] local.INFO: Processing buffer {"connection_id":131436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:24:10] local.INFO: IMEI packet received {"connection_id":131436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 15:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":131436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:24:34] local.INFO: TCP Data received {"connection_id":130619,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:24:34] local.INFO: Processing buffer {"connection_id":130619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:24:34] local.INFO: IMEI packet received {"connection_id":130619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":130619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:24:35] local.INFO: TCP Data received {"connection_id":132753,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae47f00012d7a1f0005ebfe380009015325..."} 
[2026-07-13 15:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae47f00012d7a1f0005ebfe380009015325..."} 
[2026-07-13 15:24:35] local.INFO: Processing buffer {"connection_id":132753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae47f00012d7a1f0005ebfe380009015325..."} 
[2026-07-13 15:24:35] local.INFO: Packet analysis {"connection_id":132753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae4"} 
[2026-07-13 15:24:35] local.INFO: Extracted packet for processing {"connection_id":132753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae4"} 
[2026-07-13 15:24:35] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":99352120,"longitude_deg":76.2978048,"latitude_deg":9.935212,"altitude":9,"angle":339,"satellites":37,"speed":29,"hex_longitude":"2d7a1f00","hex_latitude":"05ebfe38","is_valid_coordinates":true} 
[2026-07-13 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-07-13 15:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687702016001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105789700245028864,"note":"Value kept but may cause issues"} 
[2026-07-13 15:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803974346987835392,"note":"Value kept but may cause issues"} 
[2026-07-13 15:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783936352000,"timestamp_ms":1783936352000,"timestamp_seconds":1783936352,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae47f00"} 
[2026-07-13 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-07-13 15:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-13 15:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 15:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687702016001,"66":13406,"163":206,"87":13824,"24":29,"16":105789700245028864,"45":8803974346987835392},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-13 15:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687702016001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:24:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-13 15:24:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105789700245028864,"km_value":105789700245028.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803974346987835392,"description":"Unknown IO ID 45"} 
[2026-07-13 15:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687702016001,"power":13406,"unknown_163":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8803974346987835392}} 
[2026-07-13 15:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":132753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480363,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:24:35] local.INFO: GPS data processed {"connection_id":132753,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:24:35] local.INFO: Acknowledgment sent {"connection_id":132753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:24:39] local.INFO: TCP Data received {"connection_id":130619,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:24:39] local.INFO: Processing buffer {"connection_id":130619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:24:39] local.INFO: IMEI packet received {"connection_id":130619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":130619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:24:40] local.INFO: TCP Data received {"connection_id":132754,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132754,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:24:40] local.INFO: Processing buffer {"connection_id":132754,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:24:40] local.INFO: IMEI packet received {"connection_id":132754,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 15:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":132754,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:24:40] local.INFO: TCP Data received {"connection_id":130619,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae54e08012d7f914005afd9380016011b29..."} 
[2026-07-13 15:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae54e08012d7f914005afd9380016011b29..."} 
[2026-07-13 15:24:40] local.INFO: Processing buffer {"connection_id":130619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae54e08012d7f914005afd9380016011b29..."} 
[2026-07-13 15:24:40] local.INFO: Packet analysis {"connection_id":130619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae5"} 
[2026-07-13 15:24:40] local.INFO: Extracted packet for processing {"connection_id":130619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae5"} 
[2026-07-13 15:24:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":22,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687642624001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783936405000,"timestamp_ms":1783936405000,"timestamp_seconds":1783936405,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae54e08"} 
[2026-07-13 15:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:24: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-07-13 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687642624001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687642624001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:24:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:24:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687642624001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":130619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:24:41] local.INFO: GPS data processed {"connection_id":130619,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:24:41] local.INFO: Acknowledgment sent {"connection_id":130619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:24:58] local.INFO: TCP Data received {"connection_id":130393,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:24:58] local.INFO: Processing buffer {"connection_id":130393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:24:58] local.INFO: IMEI packet received {"connection_id":130393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":130393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:24:59] local.INFO: TCP Data received {"connection_id":130393,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:24:59] local.INFO: Processing buffer {"connection_id":130393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:24:59] local.INFO: IMEI packet received {"connection_id":130393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":130393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:25:01] local.INFO: TCP Data received {"connection_id":130393,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:25:01] local.INFO: Processing buffer {"connection_id":130393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:25:01] local.INFO: IMEI packet received {"connection_id":130393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":130393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:25:03] local.INFO: TCP Data received {"connection_id":130393,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:25:03] local.INFO: Processing buffer {"connection_id":130393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:25:03] local.INFO: IMEI packet received {"connection_id":130393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":130393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:25:03] local.INFO: TCP Data received {"connection_id":130393,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae69240012d79e58005ecac500008004a26..."} 
[2026-07-13 15:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae69240012d79e58005ecac500008004a26..."} 
[2026-07-13 15:25:03] local.INFO: Processing buffer {"connection_id":130393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae69240012d79e58005ecac500008004a26..."} 
[2026-07-13 15:25:03] local.INFO: Packet analysis {"connection_id":130393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae6"} 
[2026-07-13 15:25:03] local.INFO: Extracted packet for processing {"connection_id":130393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae6"} 
[2026-07-13 15:25:03] local.INFO: GPS Element Parsed {"raw_longitude":762963328,"raw_latitude":99396688,"longitude_deg":76.2963328,"latitude_deg":9.9396688,"altitude":8,"angle":74,"satellites":38,"speed":8,"hex_longitude":"2d79e580","hex_latitude":"05ecac50","is_valid_coordinates":true} 
[2026-07-13 15:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687740416001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105792071066976256,"note":"Value kept but may cause issues"} 
[2026-07-13 15:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783145198724839424,"note":"Value kept but may cause issues"} 
[2026-07-13 15:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783936488000,"timestamp_ms":1783936488000,"timestamp_seconds":1783936488,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae69240"} 
[2026-07-13 15:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-13 15:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":130393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":130393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":130393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687740416001,"66":13124,"157":206,"87":13824,"24":8,"16":105792071066976256,"45":8783145198724839424},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687740416001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:25:03] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:25:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105792071066976256,"km_value":105792071066976.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783145198724839424,"description":"Unknown IO ID 45"} 
[2026-07-13 15:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687740416001,"power":13124,"unknown_157":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8783145198724839424}} 
[2026-07-13 15:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":130393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:25:03] local.INFO: GPS data processed {"connection_id":130393,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:25:03] local.INFO: Acknowledgment sent {"connection_id":130393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:25:12] local.INFO: TCP Data received {"connection_id":130619,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae54e08012d7f914005afd9380016011b29..."} 
[2026-07-13 15:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae54e08012d7f914005afd9380016011b29..."} 
[2026-07-13 15:25:12] local.INFO: Processing buffer {"connection_id":130619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae54e08012d7f914005afd9380016011b29..."} 
[2026-07-13 15:25:12] local.INFO: Packet analysis {"connection_id":130619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae5"} 
[2026-07-13 15:25:12] local.INFO: Extracted packet for processing {"connection_id":130619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae5"} 
[2026-07-13 15:25:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":22,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687642624001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783936405000,"timestamp_ms":1783936405000,"timestamp_seconds":1783936405,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae54e08"} 
[2026-07-13 15:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687642624001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687642624001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:25:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:25:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687642624001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":130619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:25:12] local.INFO: GPS data processed {"connection_id":130619,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:25:12] local.INFO: Acknowledgment sent {"connection_id":130619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:25:34] local.INFO: TCP Data received {"connection_id":130394,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:25:34] local.INFO: Processing buffer {"connection_id":130394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:25:34] local.INFO: IMEI packet received {"connection_id":130394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":130394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:25:34] local.INFO: TCP Data received {"connection_id":130393,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae6b568012d79ed8005ecaea00009005b1d..."} 
[2026-07-13 15:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae6b568012d79ed8005ecaea00009005b1d..."} 
[2026-07-13 15:25:34] local.INFO: Processing buffer {"connection_id":130393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae6b568012d79ed8005ecaea00009005b1d..."} 
[2026-07-13 15:25:34] local.INFO: Packet analysis {"connection_id":130393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae6"} 
[2026-07-13 15:25:34] local.INFO: Extracted packet for processing {"connection_id":130393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae6"} 
[2026-07-13 15:25:34] local.INFO: GPS Element Parsed {"raw_longitude":762965376,"raw_latitude":99397280,"longitude_deg":76.2965376,"latitude_deg":9.939728,"altitude":9,"angle":91,"satellites":29,"speed":8,"hex_longitude":"2d79ed80","hex_latitude":"05ecaea0","is_valid_coordinates":true} 
[2026-07-13 15:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687740928001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105792174146191360,"note":"Value kept but may cause issues"} 
[2026-07-13 15:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783567411189927936,"note":"Value kept but may cause issues"} 
[2026-07-13 15:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783936497000,"timestamp_ms":1783936497000,"timestamp_seconds":1783936497,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae6b568"} 
[2026-07-13 15:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-13 15:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":130393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":130393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":130393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687740928001,"66":13200,"157":206,"87":13824,"24":8,"16":105792174146191360,"45":8783567411189927936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687740928001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:25:34] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:25:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105792174146191360,"km_value":105792174146191.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783567411189927936,"description":"Unknown IO ID 45"} 
[2026-07-13 15:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687740928001,"power":13200,"unknown_157":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8783567411189927936}} 
[2026-07-13 15:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":130393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:25:35] local.INFO: GPS data processed {"connection_id":130393,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:25:35] local.INFO: Acknowledgment sent {"connection_id":130393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:25:39] local.INFO: TCP Data received {"connection_id":130394,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:25:39] local.INFO: Processing buffer {"connection_id":130394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:25:39] local.INFO: IMEI packet received {"connection_id":130394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":130394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:25:41] local.INFO: TCP Data received {"connection_id":130394,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae54e08012d7f914005afd9380016011b29..."} 
[2026-07-13 15:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae54e08012d7f914005afd9380016011b29..."} 
[2026-07-13 15:25:41] local.INFO: Processing buffer {"connection_id":130394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae54e08012d7f914005afd9380016011b29..."} 
[2026-07-13 15:25:41] local.INFO: Packet analysis {"connection_id":130394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae5"} 
[2026-07-13 15:25:41] local.INFO: Extracted packet for processing {"connection_id":130394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae5"} 
[2026-07-13 15:25:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":22,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687642624001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783936405000,"timestamp_ms":1783936405000,"timestamp_seconds":1783936405,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae54e08"} 
[2026-07-13 15:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687642624001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687642624001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:25:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:25:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687642624001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":130394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:25:41] local.INFO: GPS data processed {"connection_id":130394,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:25:41] local.INFO: Acknowledgment sent {"connection_id":130394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:26:03] local.INFO: TCP Data received {"connection_id":132755,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132755,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:26:03] local.INFO: Processing buffer {"connection_id":132755,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:26:03] local.INFO: IMEI packet received {"connection_id":132755,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":132755,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:26:08] local.INFO: TCP Data received {"connection_id":132755,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132755,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:26:08] local.INFO: Processing buffer {"connection_id":132755,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:26:08] local.INFO: IMEI packet received {"connection_id":132755,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":132755,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:26:09] local.INFO: TCP Data received {"connection_id":132755,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae6bd38012d79f00005ecaf38000a004f21..."} 
[2026-07-13 15:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae6bd38012d79f00005ecaf38000a004f21..."} 
[2026-07-13 15:26:09] local.INFO: Processing buffer {"connection_id":132755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae6bd38012d79f00005ecaf38000a004f21..."} 
[2026-07-13 15:26:09] local.INFO: Packet analysis {"connection_id":132755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae6"} 
[2026-07-13 15:26:09] local.INFO: Extracted packet for processing {"connection_id":132755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae6"} 
[2026-07-13 15:26:09] local.INFO: GPS Element Parsed {"raw_longitude":762966016,"raw_latitude":99397432,"longitude_deg":76.2966016,"latitude_deg":9.9397432,"altitude":10,"angle":79,"satellites":33,"speed":7,"hex_longitude":"2d79f000","hex_latitude":"05ecaf38","is_valid_coordinates":true} 
[2026-07-13 15:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687743232001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105792204210962432,"note":"Value kept but may cause issues"} 
[2026-07-13 15:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8785819211003764736,"note":"Value kept but may cause issues"} 
[2026-07-13 15:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783936499000,"timestamp_ms":1783936499000,"timestamp_seconds":1783936499,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae6bd38"} 
[2026-07-13 15:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-13 15:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687743232001,"66":13015,"157":206,"87":13824,"24":7,"16":105792204210962432,"45":8785819211003764736},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687743232001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:26:09] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:26:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105792204210962432,"km_value":105792204210962.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8785819211003764736,"description":"Unknown IO ID 45"} 
[2026-07-13 15:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687743232001,"power":13015,"unknown_157":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8785819211003764736}} 
[2026-07-13 15:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":132755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:26:09] local.INFO: GPS data processed {"connection_id":132755,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:26:09] local.INFO: Acknowledgment sent {"connection_id":132755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:26:12] local.INFO: TCP Data received {"connection_id":130394,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae54e08012d7f914005afd9380016011b29..."} 
[2026-07-13 15:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae54e08012d7f914005afd9380016011b29..."} 
[2026-07-13 15:26:12] local.INFO: Processing buffer {"connection_id":130394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae54e08012d7f914005afd9380016011b29..."} 
[2026-07-13 15:26:12] local.INFO: Packet analysis {"connection_id":130394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae5"} 
[2026-07-13 15:26:12] local.INFO: Extracted packet for processing {"connection_id":130394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae5"} 
[2026-07-13 15:26:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":22,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687642624001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783936405000,"timestamp_ms":1783936405000,"timestamp_seconds":1783936405,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae54e08"} 
[2026-07-13 15:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687642624001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687642624001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:26:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:26:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687642624001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":130394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:26:12] local.INFO: GPS data processed {"connection_id":130394,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:26:12] local.INFO: Acknowledgment sent {"connection_id":130394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:26:34] local.INFO: TCP Data received {"connection_id":131437,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:26:34] local.INFO: Processing buffer {"connection_id":131437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:26:34] local.INFO: IMEI packet received {"connection_id":131437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":131437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:26:39] local.INFO: TCP Data received {"connection_id":131437,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:26:39] local.INFO: Processing buffer {"connection_id":131437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:26:39] local.INFO: IMEI packet received {"connection_id":131437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":131437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:26:40] local.INFO: TCP Data received {"connection_id":132755,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae6c8f0012d79f30005ecb090000a003320..."} 
[2026-07-13 15:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae6c8f0012d79f30005ecb090000a003320..."} 
[2026-07-13 15:26:40] local.INFO: Processing buffer {"connection_id":132755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae6c8f0012d79f30005ecb090000a003320..."} 
[2026-07-13 15:26:40] local.INFO: Packet analysis {"connection_id":132755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae6"} 
[2026-07-13 15:26:40] local.INFO: Extracted packet for processing {"connection_id":132755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae6"} 
[2026-07-13 15:26:40] local.INFO: GPS Element Parsed {"raw_longitude":762966784,"raw_latitude":99397776,"longitude_deg":76.2966784,"latitude_deg":9.9397776,"altitude":10,"angle":51,"satellites":32,"speed":8,"hex_longitude":"2d79f300","hex_latitude":"05ecb090","is_valid_coordinates":true} 
[2026-07-13 15:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687743744001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105792242865668096,"note":"Value kept but may cause issues"} 
[2026-07-13 15:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786522898445580288,"note":"Value kept but may cause issues"} 
[2026-07-13 15:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783936502000,"timestamp_ms":1783936502000,"timestamp_seconds":1783936502,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae6c8f0"} 
[2026-07-13 15:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-13 15:26: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-07-13 15:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687743744001,"66":12906,"157":206,"87":13824,"24":8,"16":105792242865668096,"45":8786522898445580288},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687743744001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:26:40] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:26:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105792242865668096,"km_value":105792242865668.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786522898445580288,"description":"Unknown IO ID 45"} 
[2026-07-13 15:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687743744001,"power":12906,"unknown_157":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8786522898445580288}} 
[2026-07-13 15:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":132755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480371,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:26:40] local.INFO: GPS data processed {"connection_id":132755,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:26:40] local.INFO: Acknowledgment sent {"connection_id":132755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:26:41] local.INFO: TCP Data received {"connection_id":131437,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae54e08012d7f914005afd9380016011b29..."} 
[2026-07-13 15:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae54e08012d7f914005afd9380016011b29..."} 
[2026-07-13 15:26:41] local.INFO: Processing buffer {"connection_id":131437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae54e08012d7f914005afd9380016011b29..."} 
[2026-07-13 15:26:41] local.INFO: Packet analysis {"connection_id":131437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae5"} 
[2026-07-13 15:26:41] local.INFO: Extracted packet for processing {"connection_id":131437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae5"} 
[2026-07-13 15:26:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":22,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687642624001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783936405000,"timestamp_ms":1783936405000,"timestamp_seconds":1783936405,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae54e08"} 
[2026-07-13 15:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687642624001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687642624001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:26:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:26:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687642624001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":131437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:26:41] local.INFO: GPS data processed {"connection_id":131437,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:26:41] local.INFO: Acknowledgment sent {"connection_id":131437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:26:58] local.INFO: TCP Data received {"connection_id":132756,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132756,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:26:58] local.INFO: Processing buffer {"connection_id":132756,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:26:58] local.INFO: IMEI packet received {"connection_id":132756,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":132756,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:27:03] local.INFO: TCP Data received {"connection_id":132756,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132756,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:27:03] local.INFO: Processing buffer {"connection_id":132756,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:27:03] local.INFO: IMEI packet received {"connection_id":132756,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":132756,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:27:05] local.INFO: TCP Data received {"connection_id":132756,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae6ccd8012d79f38005ecb110000a00261f..."} 
[2026-07-13 15:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae6ccd8012d79f38005ecb110000a00261f..."} 
[2026-07-13 15:27:05] local.INFO: Processing buffer {"connection_id":132756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae6ccd8012d79f38005ecb110000a00261f..."} 
[2026-07-13 15:27:05] local.INFO: Packet analysis {"connection_id":132756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae6"} 
[2026-07-13 15:27:05] local.INFO: Extracted packet for processing {"connection_id":132756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae6"} 
[2026-07-13 15:27:05] local.INFO: GPS Element Parsed {"raw_longitude":762966912,"raw_latitude":99397904,"longitude_deg":76.2966912,"latitude_deg":9.9397904,"altitude":10,"angle":38,"satellites":31,"speed":6,"hex_longitude":"2d79f380","hex_latitude":"05ecb110","is_valid_coordinates":true} 
[2026-07-13 15:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687744512001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105792255750569984,"note":"Value kept but may cause issues"} 
[2026-07-13 15:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787367323375800320,"note":"Value kept but may cause issues"} 
[2026-07-13 15:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783936503000,"timestamp_ms":1783936503000,"timestamp_seconds":1783936503,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae6ccd8"} 
[2026-07-13 15:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:27: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-07-13 15: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-13 15:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687744512001,"66":12906,"157":206,"87":13824,"24":6,"16":105792255750569984,"45":8787367323375800320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687744512001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:27:05] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:27:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105792255750569984,"km_value":105792255750569.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787367323375800320,"description":"Unknown IO ID 45"} 
[2026-07-13 15:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687744512001,"power":12906,"unknown_157":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8787367323375800320}} 
[2026-07-13 15:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":132756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:27:05] local.INFO: GPS data processed {"connection_id":132756,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:27:05] local.INFO: Acknowledgment sent {"connection_id":132756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:27:12] local.INFO: TCP Data received {"connection_id":131437,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae54e08012d7f914005afd9380016011b29..."} 
[2026-07-13 15:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae54e08012d7f914005afd9380016011b29..."} 
[2026-07-13 15:27:12] local.INFO: Processing buffer {"connection_id":131437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae54e08012d7f914005afd9380016011b29..."} 
[2026-07-13 15:27:12] local.INFO: Packet analysis {"connection_id":131437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae5"} 
[2026-07-13 15:27:12] local.INFO: Extracted packet for processing {"connection_id":131437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae5"} 
[2026-07-13 15:27:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":22,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687642624001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783936405000,"timestamp_ms":1783936405000,"timestamp_seconds":1783936405,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae54e08"} 
[2026-07-13 15:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687642624001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687642624001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:27:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:27:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687642624001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":131437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:27:12] local.INFO: GPS data processed {"connection_id":131437,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:27:12] local.INFO: Acknowledgment sent {"connection_id":131437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:27:34] local.INFO: TCP Data received {"connection_id":131438,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:27:34] local.INFO: Processing buffer {"connection_id":131438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:27:34] local.INFO: IMEI packet received {"connection_id":131438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":131438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:27:36] local.INFO: TCP Data received {"connection_id":132756,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae6d0c0012d79f3c005ecb170000a001a21..."} 
[2026-07-13 15:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae6d0c0012d79f3c005ecb170000a001a21..."} 
[2026-07-13 15:27:36] local.INFO: Processing buffer {"connection_id":132756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae6d0c0012d79f3c005ecb170000a001a21..."} 
[2026-07-13 15:27:36] local.INFO: Packet analysis {"connection_id":132756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae6"} 
[2026-07-13 15:27:36] local.INFO: Extracted packet for processing {"connection_id":132756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae6"} 
[2026-07-13 15:27:36] local.INFO: GPS Element Parsed {"raw_longitude":762966976,"raw_latitude":99398000,"longitude_deg":76.2966976,"latitude_deg":9.9398,"altitude":10,"angle":26,"satellites":33,"speed":3,"hex_longitude":"2d79f3c0","hex_latitude":"05ecb170","is_valid_coordinates":true} 
[2026-07-13 15:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687744768001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105792260045537280,"note":"Value kept but may cause issues"} 
[2026-07-13 15:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787508060864188416,"note":"Value kept but may cause issues"} 
[2026-07-13 15:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783936504000,"timestamp_ms":1783936504000,"timestamp_seconds":1783936504,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae6d0c0"} 
[2026-07-13 15:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-13 15:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687744768001,"66":13048,"157":206,"87":13824,"24":3,"16":105792260045537280,"45":8787508060864188416},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687744768001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:27:36] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:27:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105792260045537280,"km_value":105792260045537.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787508060864188416,"description":"Unknown IO ID 45"} 
[2026-07-13 15:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687744768001,"power":13048,"unknown_157":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8787508060864188416}} 
[2026-07-13 15:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":132756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:27:36] local.INFO: GPS data processed {"connection_id":132756,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:27:36] local.INFO: Acknowledgment sent {"connection_id":132756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:27:39] local.INFO: TCP Data received {"connection_id":131438,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:27:39] local.INFO: Processing buffer {"connection_id":131438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:27:39] local.INFO: IMEI packet received {"connection_id":131438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":131438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:27:40] local.INFO: TCP Data received {"connection_id":131438,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae54e08012d7f914005afd9380016011b29..."} 
[2026-07-13 15:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae54e08012d7f914005afd9380016011b29..."} 
[2026-07-13 15:27:40] local.INFO: Processing buffer {"connection_id":131438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae54e08012d7f914005afd9380016011b29..."} 
[2026-07-13 15:27:40] local.INFO: Packet analysis {"connection_id":131438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae5"} 
[2026-07-13 15:27:40] local.INFO: Extracted packet for processing {"connection_id":131438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae5"} 
[2026-07-13 15:27:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":22,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687642624001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783936405000,"timestamp_ms":1783936405000,"timestamp_seconds":1783936405,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae54e08"} 
[2026-07-13 15:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:27: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-07-13 15:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687642624001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687642624001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:27:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:27:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687642624001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":131438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:27:40] local.INFO: GPS data processed {"connection_id":131438,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:27:40] local.INFO: Acknowledgment sent {"connection_id":131438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:27:58] local.INFO: TCP Data received {"connection_id":130623,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130623,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:27:58] local.INFO: Processing buffer {"connection_id":130623,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:27:58] local.INFO: IMEI packet received {"connection_id":130623,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":130623,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:27:59] local.INFO: TCP Data received {"connection_id":130623,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130623,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:27:59] local.INFO: Processing buffer {"connection_id":130623,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:27:59] local.INFO: IMEI packet received {"connection_id":130623,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":130623,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:28:00] local.INFO: TCP Data received {"connection_id":130623,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130623,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:28:00] local.INFO: Processing buffer {"connection_id":130623,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:28:00] local.INFO: IMEI packet received {"connection_id":130623,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":130623,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:28:01] local.INFO: TCP Data received {"connection_id":130623,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae71ee0012d79f4c005ecb188000a001f1d..."} 
[2026-07-13 15:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae71ee0012d79f4c005ecb188000a001f1d..."} 
[2026-07-13 15:28:01] local.INFO: Processing buffer {"connection_id":130623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae71ee0012d79f4c005ecb188000a001f1d..."} 
[2026-07-13 15:28:01] local.INFO: Packet analysis {"connection_id":130623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae7"} 
[2026-07-13 15:28:01] local.INFO: Extracted packet for processing {"connection_id":130623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae7"} 
[2026-07-13 15:28:01] local.INFO: GPS Element Parsed {"raw_longitude":762967232,"raw_latitude":99398024,"longitude_deg":76.2967232,"latitude_deg":9.9398024,"altitude":10,"angle":31,"satellites":29,"speed":0,"hex_longitude":"2d79f4c0","hex_latitude":"05ecb188","is_valid_coordinates":true} 
[2026-07-13 15:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687745024001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105792272930439168,"note":"Value kept but may cause issues"} 
[2026-07-13 15:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787578429608390656,"note":"Value kept but may cause issues"} 
[2026-07-13 15:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783936524000,"timestamp_ms":1783936524000,"timestamp_seconds":1783936524,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae71ee0"} 
[2026-07-13 15:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-13 15:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":130623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":130623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":130623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687745024001,"66":12939,"157":206,"87":13824,"24":0,"16":105792272930439168,"45":8787578429608390656},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687745024001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:28:01] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:28:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105792272930439168,"km_value":105792272930439.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787578429608390656,"description":"Unknown IO ID 45"} 
[2026-07-13 15:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687745024001,"power":12939,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787578429608390656}} 
[2026-07-13 15:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":130623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480377,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:28:01] local.INFO: GPS data processed {"connection_id":130623,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:28:01] local.INFO: Acknowledgment sent {"connection_id":130623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:28:12] local.INFO: TCP Data received {"connection_id":131438,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae54e08012d7f914005afd9380016011b29..."} 
[2026-07-13 15:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae54e08012d7f914005afd9380016011b29..."} 
[2026-07-13 15:28:12] local.INFO: Processing buffer {"connection_id":131438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae54e08012d7f914005afd9380016011b29..."} 
[2026-07-13 15:28:12] local.INFO: Packet analysis {"connection_id":131438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae5"} 
[2026-07-13 15:28:12] local.INFO: Extracted packet for processing {"connection_id":131438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae5"} 
[2026-07-13 15:28:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":22,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687642624001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783936405000,"timestamp_ms":1783936405000,"timestamp_seconds":1783936405,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae54e08"} 
[2026-07-13 15:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687642624001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687642624001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:28:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:28:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687642624001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":131438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:28:12] local.INFO: GPS data processed {"connection_id":131438,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:28:12] local.INFO: Acknowledgment sent {"connection_id":131438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:28:32] local.INFO: TCP Data received {"connection_id":130623,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae9af20012d79f08005ecaed00009011324..."} 
[2026-07-13 15:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae9af20012d79f08005ecaed00009011324..."} 
[2026-07-13 15:28:32] local.INFO: Processing buffer {"connection_id":130623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae9af20012d79f08005ecaed00009011324..."} 
[2026-07-13 15:28:32] local.INFO: Packet analysis {"connection_id":130623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae9"} 
[2026-07-13 15:28:32] local.INFO: Extracted packet for processing {"connection_id":130623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae9"} 
[2026-07-13 15:28:32] local.INFO: GPS Element Parsed {"raw_longitude":762966144,"raw_latitude":99397328,"longitude_deg":76.2966144,"latitude_deg":9.9397328,"altitude":9,"angle":275,"satellites":36,"speed":4,"hex_longitude":"2d79f080","hex_latitude":"05ecaed0","is_valid_coordinates":true} 
[2026-07-13 15:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687792640001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105792367419719680,"note":"Value kept but may cause issues"} 
[2026-07-13 15:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786945110910623744,"note":"Value kept but may cause issues"} 
[2026-07-13 15:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783936692000,"timestamp_ms":1783936692000,"timestamp_seconds":1783936692,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae9af20"} 
[2026-07-13 15:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-13 15:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":130623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":130623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":130623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687792640001,"66":13243,"118":206,"87":13824,"24":4,"16":105792367419719680,"45":8786945110910623744},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-07-13 15:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687792640001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:28:32] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-13 15:28:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105792367419719680,"km_value":105792367419719.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786945110910623744,"description":"Unknown IO ID 45"} 
[2026-07-13 15:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687792640001,"power":13243,"unknown_118":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8786945110910623744}} 
[2026-07-13 15:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":130623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:28:32] local.INFO: GPS data processed {"connection_id":130623,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:28:32] local.INFO: Acknowledgment sent {"connection_id":130623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:28:39] local.INFO: TCP Data received {"connection_id":131439,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:28:39] local.INFO: Processing buffer {"connection_id":131439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:28:39] local.INFO: IMEI packet received {"connection_id":131439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":131439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:28:44] local.INFO: TCP Data received {"connection_id":131439,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:28:44] local.INFO: Processing buffer {"connection_id":131439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:28:44] local.INFO: IMEI packet received {"connection_id":131439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":131439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:28:45] local.INFO: TCP Data received {"connection_id":131439,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae54e08012d7f914005afd9380016011b29..."} 
[2026-07-13 15:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae54e08012d7f914005afd9380016011b29..."} 
[2026-07-13 15:28:45] local.INFO: Processing buffer {"connection_id":131439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae54e08012d7f914005afd9380016011b29..."} 
[2026-07-13 15:28:45] local.INFO: Packet analysis {"connection_id":131439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae5"} 
[2026-07-13 15:28:45] local.INFO: Extracted packet for processing {"connection_id":131439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae5"} 
[2026-07-13 15:28:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":22,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687642624001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783936405000,"timestamp_ms":1783936405000,"timestamp_seconds":1783936405,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae54e08"} 
[2026-07-13 15:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687642624001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687642624001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:28:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:28:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687642624001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":131439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:28:45] local.INFO: GPS data processed {"connection_id":131439,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:28:45] local.INFO: Acknowledgment sent {"connection_id":131439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:28:50] local.INFO: TCP Data received {"connection_id":131439,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae54e08012d7f914005afd9380016011b29..."} 
[2026-07-13 15:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae54e08012d7f914005afd9380016011b29..."} 
[2026-07-13 15:28:50] local.INFO: Processing buffer {"connection_id":131439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae54e08012d7f914005afd9380016011b29..."} 
[2026-07-13 15:28:50] local.INFO: Packet analysis {"connection_id":131439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae5"} 
[2026-07-13 15:28:50] local.INFO: Extracted packet for processing {"connection_id":131439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae5"} 
[2026-07-13 15:28:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":22,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15: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-07-13 15:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687642624001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783936405000,"timestamp_ms":1783936405000,"timestamp_seconds":1783936405,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae54e08"} 
[2026-07-13 15:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:28: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-07-13 15: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-07-13 15:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687642624001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687642624001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:28:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:28:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687642624001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":131439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:28:50] local.INFO: GPS data processed {"connection_id":131439,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:28:50] local.INFO: Acknowledgment sent {"connection_id":131439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:28:58] local.INFO: TCP Data received {"connection_id":130624,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:28:58] local.INFO: Processing buffer {"connection_id":130624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:28:58] local.INFO: IMEI packet received {"connection_id":130624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":130624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:29:03] local.INFO: TCP Data received {"connection_id":130624,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:29:03] local.INFO: Processing buffer {"connection_id":130624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:29:03] local.INFO: IMEI packet received {"connection_id":130624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":130624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:29:04] local.INFO: TCP Data received {"connection_id":130624,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae9bad8012d79ef0005ecae800009010725..."} 
[2026-07-13 15:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae9bad8012d79ef0005ecae800009010725..."} 
[2026-07-13 15:29:04] local.INFO: Processing buffer {"connection_id":130624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae9bad8012d79ef0005ecae800009010725..."} 
[2026-07-13 15:29:04] local.INFO: Packet analysis {"connection_id":130624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae9"} 
[2026-07-13 15:29:04] local.INFO: Extracted packet for processing {"connection_id":130624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae9"} 
[2026-07-13 15:29:04] local.INFO: GPS Element Parsed {"raw_longitude":762965760,"raw_latitude":99397248,"longitude_deg":76.296576,"latitude_deg":9.9397248,"altitude":9,"angle":263,"satellites":37,"speed":5,"hex_longitude":"2d79ef00","hex_latitude":"05ecae80","is_valid_coordinates":true} 
[2026-07-13 15:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687793152001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105792384599588864,"note":"Value kept but may cause issues"} 
[2026-07-13 15:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786663635933908992,"note":"Value kept but may cause issues"} 
[2026-07-13 15:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783936695000,"timestamp_ms":1783936695000,"timestamp_seconds":1783936695,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae9bad8"} 
[2026-07-13 15:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:29: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-07-13 15:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 15:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687793152001,"66":13189,"118":206,"87":13824,"24":5,"16":105792384599588864,"45":8786663635933908992},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-07-13 15:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687793152001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:29:04] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-13 15:29:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105792384599588864,"km_value":105792384599588.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786663635933908992,"description":"Unknown IO ID 45"} 
[2026-07-13 15:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687793152001,"power":13189,"unknown_118":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8786663635933908992}} 
[2026-07-13 15:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":130624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:29:04] local.INFO: GPS data processed {"connection_id":130624,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:29:04] local.INFO: Acknowledgment sent {"connection_id":130624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:29:34] local.INFO: TCP Data received {"connection_id":130625,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:29:34] local.INFO: Processing buffer {"connection_id":130625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:29:34] local.INFO: IMEI packet received {"connection_id":130625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":130625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:29:35] local.INFO: TCP Data received {"connection_id":130624,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae9ce60012d79ebc005ecad78000900fc23..."} 
[2026-07-13 15:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae9ce60012d79ebc005ecad78000900fc23..."} 
[2026-07-13 15:29:35] local.INFO: Processing buffer {"connection_id":130624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae9ce60012d79ebc005ecad78000900fc23..."} 
[2026-07-13 15:29:35] local.INFO: Packet analysis {"connection_id":130624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae9"} 
[2026-07-13 15:29:35] local.INFO: Extracted packet for processing {"connection_id":130624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae9"} 
[2026-07-13 15:29:35] local.INFO: GPS Element Parsed {"raw_longitude":762964928,"raw_latitude":99396984,"longitude_deg":76.2964928,"latitude_deg":9.9396984,"altitude":9,"angle":252,"satellites":35,"speed":5,"hex_longitude":"2d79ebc0","hex_latitude":"05ecad78","is_valid_coordinates":true} 
[2026-07-13 15:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687793920001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105792427549261824,"note":"Value kept but may cause issues"} 
[2026-07-13 15:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786241423468822528,"note":"Value kept but may cause issues"} 
[2026-07-13 15:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783936700000,"timestamp_ms":1783936700000,"timestamp_seconds":1783936700,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae9ce60"} 
[2026-07-13 15:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-13 15:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687793920001,"66":13091,"118":206,"87":13824,"24":5,"16":105792427549261824,"45":8786241423468822528},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-07-13 15:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687793920001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:29:35] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-13 15:29:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105792427549261824,"km_value":105792427549261.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786241423468822528,"description":"Unknown IO ID 45"} 
[2026-07-13 15:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687793920001,"power":13091,"unknown_118":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8786241423468822528}} 
[2026-07-13 15:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":130624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:29:35] local.INFO: GPS data processed {"connection_id":130624,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:29:35] local.INFO: Acknowledgment sent {"connection_id":130624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:29:39] local.INFO: TCP Data received {"connection_id":130625,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:29:39] local.INFO: Processing buffer {"connection_id":130625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:29:39] local.INFO: IMEI packet received {"connection_id":130625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":130625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:29:40] local.INFO: TCP Data received {"connection_id":130625,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae9e5d0012d7f914005afd9380016011b28..."} 
[2026-07-13 15:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae9e5d0012d7f914005afd9380016011b28..."} 
[2026-07-13 15:29:40] local.INFO: Processing buffer {"connection_id":130625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae9e5d0012d7f914005afd9380016011b28..."} 
[2026-07-13 15:29:40] local.INFO: Packet analysis {"connection_id":130625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae9"} 
[2026-07-13 15:29:40] local.INFO: Extracted packet for processing {"connection_id":130625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae9"} 
[2026-07-13 15:29:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":22,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687719680001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783936706000,"timestamp_ms":1783936706000,"timestamp_seconds":1783936706,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae9e5d0"} 
[2026-07-13 15:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:29: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-07-13 15: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 15:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687719680001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687719680001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:29:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687719680001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":130625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:29:40] local.INFO: GPS data processed {"connection_id":130625,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:29:40] local.INFO: Acknowledgment sent {"connection_id":130625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:29:58] local.INFO: TCP Data received {"connection_id":131440,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131440,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:29:58] local.INFO: Processing buffer {"connection_id":131440,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:29:58] local.INFO: IMEI packet received {"connection_id":131440,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":131440,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:29:58] local.INFO: TCP Data received {"connection_id":131440,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131440,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:29:58] local.INFO: Processing buffer {"connection_id":131440,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:29:58] local.INFO: IMEI packet received {"connection_id":131440,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":131440,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:30:01] local.INFO: TCP Data received {"connection_id":131440,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131440,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:30:01] local.INFO: Processing buffer {"connection_id":131440,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:30:01] local.INFO: IMEI packet received {"connection_id":131440,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":131440,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:30:02] local.INFO: TCP Data received {"connection_id":131440,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aea1c80012d79e60005ecade0000900f327..."} 
[2026-07-13 15:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aea1c80012d79e60005ecade0000900f327..."} 
[2026-07-13 15:30:02] local.INFO: Processing buffer {"connection_id":131440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aea1c80012d79e60005ecade0000900f327..."} 
[2026-07-13 15:30:02] local.INFO: Packet analysis {"connection_id":131440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aea"} 
[2026-07-13 15:30:02] local.INFO: Extracted packet for processing {"connection_id":131440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aea"} 
[2026-07-13 15:30:02] local.INFO: GPS Element Parsed {"raw_longitude":762963456,"raw_latitude":99397088,"longitude_deg":76.2963456,"latitude_deg":9.9397088,"altitude":9,"angle":243,"satellites":39,"speed":0,"hex_longitude":"2d79e600","hex_latitude":"05ecade0","is_valid_coordinates":true} 
[2026-07-13 15:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687795200001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105792500563705856,"note":"Value kept but may cause issues"} 
[2026-07-13 15:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8785326629794445312,"note":"Value kept but may cause issues"} 
[2026-07-13 15:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783936720000,"timestamp_ms":1783936720000,"timestamp_seconds":1783936720,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aea1c80"} 
[2026-07-13 15:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15: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":35,"data_length":795,"current_offset":136} 
[2026-07-13 15:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:30:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":131440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":131440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":131440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687795200001,"66":13254,"157":206,"87":13824,"24":0,"16":105792500563705856,"45":8785326629794445312},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687795200001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:30:02] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:30:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105792500563705856,"km_value":105792500563705.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8785326629794445312,"description":"Unknown IO ID 45"} 
[2026-07-13 15:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687795200001,"power":13254,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8785326629794445312}} 
[2026-07-13 15:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":131440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:30:02] local.INFO: GPS data processed {"connection_id":131440,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:30:02] local.INFO: Acknowledgment sent {"connection_id":131440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:30:05] local.INFO: TCP Data received {"connection_id":132758,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132758,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:30:05] local.INFO: Processing buffer {"connection_id":132758,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:30:05] local.INFO: IMEI packet received {"connection_id":132758,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 15:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":132758,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:30:11] local.INFO: TCP Data received {"connection_id":130625,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae9e5d0012d7f914005afd9380016011b28..."} 
[2026-07-13 15:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae9e5d0012d7f914005afd9380016011b28..."} 
[2026-07-13 15:30:11] local.INFO: Processing buffer {"connection_id":130625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae9e5d0012d7f914005afd9380016011b28..."} 
[2026-07-13 15:30:11] local.INFO: Packet analysis {"connection_id":130625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae9"} 
[2026-07-13 15:30:11] local.INFO: Extracted packet for processing {"connection_id":130625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae9"} 
[2026-07-13 15:30:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":22,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687719680001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783936706000,"timestamp_ms":1783936706000,"timestamp_seconds":1783936706,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae9e5d0"} 
[2026-07-13 15:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 15:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687719680001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687719680001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:30:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:30:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687719680001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":130625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:30:11] local.INFO: GPS data processed {"connection_id":130625,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:30:11] local.INFO: Acknowledgment sent {"connection_id":130625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:30:33] local.INFO: TCP Data received {"connection_id":131440,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aeba708012d7a1a4005ec83d0000b012829..."} 
[2026-07-13 15:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aeba708012d7a1a4005ec83d0000b012829..."} 
[2026-07-13 15:30:33] local.INFO: Processing buffer {"connection_id":131440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aeba708012d7a1a4005ec83d0000b012829..."} 
[2026-07-13 15:30:33] local.INFO: Packet analysis {"connection_id":131440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aeb"} 
[2026-07-13 15:30:33] local.INFO: Extracted packet for processing {"connection_id":131440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aeb"} 
[2026-07-13 15:30:33] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":99386320,"longitude_deg":76.2976832,"latitude_deg":9.938632,"altitude":11,"angle":296,"satellites":41,"speed":9,"hex_longitude":"2d7a1a40","hex_latitude":"05ec83d0","is_valid_coordinates":true} 
[2026-07-13 15:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687825920001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105793776168992768,"note":"Value kept but may cause issues"} 
[2026-07-13 15:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798696691185432576,"note":"Value kept but may cause issues"} 
[2026-07-13 15:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783936821000,"timestamp_ms":1783936821000,"timestamp_seconds":1783936821,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aeba708"} 
[2026-07-13 15:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-13 15:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":131440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":131440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":131440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687825920001,"66":12874,"157":206,"87":13824,"24":9,"16":105793776168992768,"45":8798696691185432576},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687825920001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:30:33] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:30:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105793776168992768,"km_value":105793776168992.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798696691185432576,"description":"Unknown IO ID 45"} 
[2026-07-13 15:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687825920001,"power":12874,"unknown_157":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8798696691185432576}} 
[2026-07-13 15:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":131440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:30:33] local.INFO: GPS data processed {"connection_id":131440,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:30:33] local.INFO: Acknowledgment sent {"connection_id":131440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:30:34] local.INFO: TCP Data received {"connection_id":132759,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:30:34] local.INFO: Processing buffer {"connection_id":132759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:30:34] local.INFO: IMEI packet received {"connection_id":132759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":132759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:30:39] local.INFO: TCP Data received {"connection_id":132759,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:30:39] local.INFO: Processing buffer {"connection_id":132759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:30:39] local.INFO: IMEI packet received {"connection_id":132759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":132759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:30:40] local.INFO: TCP Data received {"connection_id":132759,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae9e5d0012d7f914005afd9380016011b28..."} 
[2026-07-13 15:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae9e5d0012d7f914005afd9380016011b28..."} 
[2026-07-13 15:30:40] local.INFO: Processing buffer {"connection_id":132759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae9e5d0012d7f914005afd9380016011b28..."} 
[2026-07-13 15:30:40] local.INFO: Packet analysis {"connection_id":132759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae9"} 
[2026-07-13 15:30:40] local.INFO: Extracted packet for processing {"connection_id":132759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae9"} 
[2026-07-13 15:30:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":22,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687719680001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783936706000,"timestamp_ms":1783936706000,"timestamp_seconds":1783936706,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae9e5d0"} 
[2026-07-13 15:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:30: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-07-13 15: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 15:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687719680001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687719680001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:30:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:30:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687719680001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":132759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:30:40] local.INFO: GPS data processed {"connection_id":132759,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:30:40] local.INFO: Acknowledgment sent {"connection_id":132759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:30:45] local.INFO: TCP Data received {"connection_id":130626,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130626,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:30:45] local.INFO: Processing buffer {"connection_id":130626,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:30:45] local.INFO: IMEI packet received {"connection_id":130626,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 15:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":130626,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:30:58] local.INFO: TCP Data received {"connection_id":132760,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:30:58] local.INFO: Processing buffer {"connection_id":132760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:30:58] local.INFO: IMEI packet received {"connection_id":132760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":132760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:31:03] local.INFO: TCP Data received {"connection_id":132760,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:31:03] local.INFO: Processing buffer {"connection_id":132760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:31:03] local.INFO: IMEI packet received {"connection_id":132760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":132760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:31:03] local.INFO: TCP Data received {"connection_id":132760,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aebaaf0012d7a198005ec83e0000b010c29..."} 
[2026-07-13 15:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aebaaf0012d7a198005ec83e0000b010c29..."} 
[2026-07-13 15:31:03] local.INFO: Processing buffer {"connection_id":132760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aebaaf0012d7a198005ec83e0000b010c29..."} 
[2026-07-13 15:31:03] local.INFO: Packet analysis {"connection_id":132760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aeb"} 
[2026-07-13 15:31:03] local.INFO: Extracted packet for processing {"connection_id":132760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aeb"} 
[2026-07-13 15:31:03] local.INFO: GPS Element Parsed {"raw_longitude":762976640,"raw_latitude":99386336,"longitude_deg":76.297664,"latitude_deg":9.9386336,"altitude":11,"angle":268,"satellites":41,"speed":9,"hex_longitude":"2d7a1980","hex_latitude":"05ec83e0","is_valid_coordinates":true} 
[2026-07-13 15:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687826176001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105793784758927360,"note":"Value kept but may cause issues"} 
[2026-07-13 15:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216208760832,"note":"Value kept but may cause issues"} 
[2026-07-13 15:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783936822000,"timestamp_ms":1783936822000,"timestamp_seconds":1783936822,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aebaaf0"} 
[2026-07-13 15:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-13 15:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":132760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":132760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":132760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687826176001,"66":13254,"157":206,"87":13824,"24":9,"16":105793784758927360,"45":8798415216208760832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687826176001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:31:03] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:31:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105793784758927360,"km_value":105793784758927.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216208760832,"description":"Unknown IO ID 45"} 
[2026-07-13 15:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687826176001,"power":13254,"unknown_157":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8798415216208760832}} 
[2026-07-13 15:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":132760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480389,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:31:03] local.INFO: GPS data processed {"connection_id":132760,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:31:03] local.INFO: Acknowledgment sent {"connection_id":132760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:31:11] local.INFO: TCP Data received {"connection_id":132759,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae9e5d0012d7f914005afd9380016011b28..."} 
[2026-07-13 15:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae9e5d0012d7f914005afd9380016011b28..."} 
[2026-07-13 15:31:11] local.INFO: Processing buffer {"connection_id":132759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae9e5d0012d7f914005afd9380016011b28..."} 
[2026-07-13 15:31:11] local.INFO: Packet analysis {"connection_id":132759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae9"} 
[2026-07-13 15:31:11] local.INFO: Extracted packet for processing {"connection_id":132759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae9"} 
[2026-07-13 15:31:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":22,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687719680001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783936706000,"timestamp_ms":1783936706000,"timestamp_seconds":1783936706,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae9e5d0"} 
[2026-07-13 15:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 15:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687719680001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687719680001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:31:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:31:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687719680001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":132759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:31:11] local.INFO: GPS data processed {"connection_id":132759,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:31:11] local.INFO: Acknowledgment sent {"connection_id":132759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:31:34] local.INFO: TCP Data received {"connection_id":131441,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:31:34] local.INFO: Processing buffer {"connection_id":131441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:31:34] local.INFO: IMEI packet received {"connection_id":131441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":131441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:31:34] local.INFO: TCP Data received {"connection_id":132760,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aebaed8012d7a18c005ec8390000b00ec29..."} 
[2026-07-13 15:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aebaed8012d7a18c005ec8390000b00ec29..."} 
[2026-07-13 15:31:34] local.INFO: Processing buffer {"connection_id":132760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aebaed8012d7a18c005ec8390000b00ec29..."} 
[2026-07-13 15:31:34] local.INFO: Packet analysis {"connection_id":132760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aeb"} 
[2026-07-13 15:31:34] local.INFO: Extracted packet for processing {"connection_id":132760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aeb"} 
[2026-07-13 15:31:34] local.INFO: GPS Element Parsed {"raw_longitude":762976448,"raw_latitude":99386256,"longitude_deg":76.2976448,"latitude_deg":9.9386256,"altitude":11,"angle":236,"satellites":41,"speed":8,"hex_longitude":"2d7a18c0","hex_latitude":"05ec8390","is_valid_coordinates":true} 
[2026-07-13 15:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687826432001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105793793348861952,"note":"Value kept but may cause issues"} 
[2026-07-13 15:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798204109976231936,"note":"Value kept but may cause issues"} 
[2026-07-13 15:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783936823000,"timestamp_ms":1783936823000,"timestamp_seconds":1783936823,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aebaed8"} 
[2026-07-13 15:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-13 15:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":132760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":132760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":132760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687826432001,"66":13254,"157":206,"87":13824,"24":8,"16":105793793348861952,"45":8798204109976231936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687826432001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:31:34] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:31:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105793793348861952,"km_value":105793793348861.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798204109976231936,"description":"Unknown IO ID 45"} 
[2026-07-13 15:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687826432001,"power":13254,"unknown_157":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8798204109976231936}} 
[2026-07-13 15:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":132760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480391,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:31:34] local.INFO: GPS data processed {"connection_id":132760,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:31:34] local.INFO: Acknowledgment sent {"connection_id":132760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:31:39] local.INFO: TCP Data received {"connection_id":131441,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:31:39] local.INFO: Processing buffer {"connection_id":131441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:31:39] local.INFO: IMEI packet received {"connection_id":131441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":131441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:31:40] local.INFO: TCP Data received {"connection_id":131441,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae9e5d0012d7f914005afd9380016011b28..."} 
[2026-07-13 15:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae9e5d0012d7f914005afd9380016011b28..."} 
[2026-07-13 15:31:40] local.INFO: Processing buffer {"connection_id":131441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae9e5d0012d7f914005afd9380016011b28..."} 
[2026-07-13 15:31:40] local.INFO: Packet analysis {"connection_id":131441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae9"} 
[2026-07-13 15:31:40] local.INFO: Extracted packet for processing {"connection_id":131441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae9"} 
[2026-07-13 15:31:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":22,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687719680001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783936706000,"timestamp_ms":1783936706000,"timestamp_seconds":1783936706,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae9e5d0"} 
[2026-07-13 15:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:31: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-07-13 15:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 15:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687719680001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687719680001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:31:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:31:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687719680001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":131441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:31:40] local.INFO: GPS data processed {"connection_id":131441,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:31:40] local.INFO: Acknowledgment sent {"connection_id":131441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:31:58] local.INFO: TCP Data received {"connection_id":130627,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:31:58] local.INFO: Processing buffer {"connection_id":130627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:31:58] local.INFO: IMEI packet received {"connection_id":130627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":130627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:32:03] local.INFO: TCP Data received {"connection_id":130627,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:32:03] local.INFO: Processing buffer {"connection_id":130627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:32:03] local.INFO: IMEI packet received {"connection_id":130627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":130627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:32:04] local.INFO: TCP Data received {"connection_id":130627,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aebce18012d7a130005ec7fb8000a00f82b..."} 
[2026-07-13 15:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aebce18012d7a130005ec7fb8000a00f82b..."} 
[2026-07-13 15:32:04] local.INFO: Processing buffer {"connection_id":130627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aebce18012d7a130005ec7fb8000a00f82b..."} 
[2026-07-13 15:32:04] local.INFO: Packet analysis {"connection_id":130627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aeb"} 
[2026-07-13 15:32:04] local.INFO: Extracted packet for processing {"connection_id":130627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aeb"} 
[2026-07-13 15:32:04] local.INFO: GPS Element Parsed {"raw_longitude":762974976,"raw_latitude":99385272,"longitude_deg":76.2974976,"latitude_deg":9.9385272,"altitude":10,"angle":248,"satellites":43,"speed":8,"hex_longitude":"2d7a1300","hex_latitude":"05ec7fb8","is_valid_coordinates":true} 
[2026-07-13 15:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687826688001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105793879248207872,"note":"Value kept but may cause issues"} 
[2026-07-13 15:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797993003743678464,"note":"Value kept but may cause issues"} 
[2026-07-13 15:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783936831000,"timestamp_ms":1783936831000,"timestamp_seconds":1783936831,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aebce18"} 
[2026-07-13 15:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:32: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-07-13 15:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-13 15:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687826688001,"66":12863,"157":206,"87":13824,"24":8,"16":105793879248207872,"45":8797993003743678464},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687826688001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:32:04] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:32:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105793879248207872,"km_value":105793879248207.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797993003743678464,"description":"Unknown IO ID 45"} 
[2026-07-13 15:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687826688001,"power":12863,"unknown_157":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8797993003743678464}} 
[2026-07-13 15:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":130627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:32:04] local.INFO: GPS data processed {"connection_id":130627,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:32:04] local.INFO: Acknowledgment sent {"connection_id":130627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:32:11] local.INFO: TCP Data received {"connection_id":131441,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae9e5d0012d7f914005afd9380016011b28..."} 
[2026-07-13 15:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae9e5d0012d7f914005afd9380016011b28..."} 
[2026-07-13 15:32:11] local.INFO: Processing buffer {"connection_id":131441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae9e5d0012d7f914005afd9380016011b28..."} 
[2026-07-13 15:32:11] local.INFO: Packet analysis {"connection_id":131441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae9"} 
[2026-07-13 15:32:11] local.INFO: Extracted packet for processing {"connection_id":131441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae9"} 
[2026-07-13 15:32:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":22,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687719680001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783936706000,"timestamp_ms":1783936706000,"timestamp_seconds":1783936706,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae9e5d0"} 
[2026-07-13 15:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 15:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687719680001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687719680001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:32:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:32:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687719680001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":131441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:32:11] local.INFO: GPS data processed {"connection_id":131441,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:32:11] local.INFO: Acknowledgment sent {"connection_id":131441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:32:34] local.INFO: TCP Data received {"connection_id":130396,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:32:34] local.INFO: Processing buffer {"connection_id":130396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:32:34] local.INFO: IMEI packet received {"connection_id":130396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":130396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:32:35] local.INFO: TCP Data received {"connection_id":130627,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aebd200012d7a124005ec7f88000a01092b..."} 
[2026-07-13 15:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aebd200012d7a124005ec7f88000a01092b..."} 
[2026-07-13 15:32:35] local.INFO: Processing buffer {"connection_id":130627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aebd200012d7a124005ec7f88000a01092b..."} 
[2026-07-13 15:32:35] local.INFO: Packet analysis {"connection_id":130627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aeb"} 
[2026-07-13 15:32:35] local.INFO: Extracted packet for processing {"connection_id":130627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aeb"} 
[2026-07-13 15:32:35] local.INFO: GPS Element Parsed {"raw_longitude":762974784,"raw_latitude":99385224,"longitude_deg":76.2974784,"latitude_deg":9.9385224,"altitude":10,"angle":265,"satellites":43,"speed":7,"hex_longitude":"2d7a1240","hex_latitude":"05ec7f88","is_valid_coordinates":true} 
[2026-07-13 15:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687828736001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105793892133109760,"note":"Value kept but may cause issues"} 
[2026-07-13 15:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796374522627340288,"note":"Value kept but may cause issues"} 
[2026-07-13 15:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783936832000,"timestamp_ms":1783936832000,"timestamp_seconds":1783936832,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aebd200"} 
[2026-07-13 15:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-13 15:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687828736001,"66":12493,"157":206,"87":13824,"24":7,"16":105793892133109760,"45":8796374522627340288},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687828736001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:32:35] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:32:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105793892133109760,"km_value":105793892133109.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796374522627340288,"description":"Unknown IO ID 45"} 
[2026-07-13 15:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687828736001,"power":12493,"unknown_157":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8796374522627340288}} 
[2026-07-13 15:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":130627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480395,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:32:35] local.INFO: GPS data processed {"connection_id":130627,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:32:35] local.INFO: Acknowledgment sent {"connection_id":130627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:32:39] local.INFO: TCP Data received {"connection_id":130396,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:32:39] local.INFO: Processing buffer {"connection_id":130396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:32:39] local.INFO: IMEI packet received {"connection_id":130396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":130396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:32:40] local.INFO: TCP Data received {"connection_id":130396,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae9e5d0012d7f914005afd9380016011b28..."} 
[2026-07-13 15:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae9e5d0012d7f914005afd9380016011b28..."} 
[2026-07-13 15:32:40] local.INFO: Processing buffer {"connection_id":130396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae9e5d0012d7f914005afd9380016011b28..."} 
[2026-07-13 15:32:40] local.INFO: Packet analysis {"connection_id":130396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae9"} 
[2026-07-13 15:32:40] local.INFO: Extracted packet for processing {"connection_id":130396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae9"} 
[2026-07-13 15:32:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":22,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687719680001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783936706000,"timestamp_ms":1783936706000,"timestamp_seconds":1783936706,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae9e5d0"} 
[2026-07-13 15:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:32: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-07-13 15:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 15:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687719680001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687719680001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:32:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:32:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687719680001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":130396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:32:40] local.INFO: GPS data processed {"connection_id":130396,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:32:40] local.INFO: Acknowledgment sent {"connection_id":130396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:33:03] local.INFO: TCP Data received {"connection_id":131442,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:33:03] local.INFO: Processing buffer {"connection_id":131442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:33:03] local.INFO: IMEI packet received {"connection_id":131442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":131442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:33:04] local.INFO: TCP Data received {"connection_id":131442,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aebd5e8012d7a11c005ec7f880009011a2b..."} 
[2026-07-13 15:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aebd5e8012d7a11c005ec7f880009011a2b..."} 
[2026-07-13 15:33:04] local.INFO: Processing buffer {"connection_id":131442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aebd5e8012d7a11c005ec7f880009011a2b..."} 
[2026-07-13 15:33:04] local.INFO: Packet analysis {"connection_id":131442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aeb"} 
[2026-07-13 15:33:04] local.INFO: Extracted packet for processing {"connection_id":131442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aeb"} 
[2026-07-13 15:33:04] local.INFO: GPS Element Parsed {"raw_longitude":762974656,"raw_latitude":99385224,"longitude_deg":76.2974656,"latitude_deg":9.9385224,"altitude":9,"angle":282,"satellites":43,"speed":6,"hex_longitude":"2d7a11c0","hex_latitude":"05ec7f88","is_valid_coordinates":true} 
[2026-07-13 15:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687828992001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105793896428077056,"note":"Value kept but may cause issues"} 
[2026-07-13 15:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796163416394795008,"note":"Value kept but may cause issues"} 
[2026-07-13 15:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783936833000,"timestamp_ms":1783936833000,"timestamp_seconds":1783936833,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aebd5e8"} 
[2026-07-13 15:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-13 15:33:04] 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-07-13 15:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":131442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":131442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":131442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687828992001,"66":12493,"157":206,"87":13824,"24":6,"16":105793896428077056,"45":8796163416394795008},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687828992001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:33:04] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:33:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105793896428077056,"km_value":105793896428077.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796163416394795008,"description":"Unknown IO ID 45"} 
[2026-07-13 15:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687828992001,"power":12493,"unknown_157":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8796163416394795008}} 
[2026-07-13 15:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":131442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480397,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:33:04] local.INFO: GPS data processed {"connection_id":131442,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:33:04] local.INFO: Acknowledgment sent {"connection_id":131442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:33:11] local.INFO: TCP Data received {"connection_id":130396,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae9e5d0012d7f914005afd9380016011b28..."} 
[2026-07-13 15:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae9e5d0012d7f914005afd9380016011b28..."} 
[2026-07-13 15:33:11] local.INFO: Processing buffer {"connection_id":130396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae9e5d0012d7f914005afd9380016011b28..."} 
[2026-07-13 15:33:11] local.INFO: Packet analysis {"connection_id":130396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae9"} 
[2026-07-13 15:33:11] local.INFO: Extracted packet for processing {"connection_id":130396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae9"} 
[2026-07-13 15:33:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":22,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687719680001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783936706000,"timestamp_ms":1783936706000,"timestamp_seconds":1783936706,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae9e5d0"} 
[2026-07-13 15:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 15:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687719680001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687719680001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:33:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687719680001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":130396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:33:11] local.INFO: GPS data processed {"connection_id":130396,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:33:11] local.INFO: Acknowledgment sent {"connection_id":130396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:33:34] local.INFO: TCP Data received {"connection_id":131442,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aec2408012d7a0ec005ec7f380007011a29..."} 
[2026-07-13 15:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aec2408012d7a0ec005ec7f380007011a29..."} 
[2026-07-13 15:33:34] local.INFO: Processing buffer {"connection_id":131442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aec2408012d7a0ec005ec7f380007011a29..."} 
[2026-07-13 15:33:34] local.INFO: Packet analysis {"connection_id":131442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aec"} 
[2026-07-13 15:33:34] local.INFO: Extracted packet for processing {"connection_id":131442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aec"} 
[2026-07-13 15:33:34] local.INFO: GPS Element Parsed {"raw_longitude":762973888,"raw_latitude":99385144,"longitude_deg":76.2973888,"latitude_deg":9.9385144,"altitude":7,"angle":282,"satellites":41,"speed":0,"hex_longitude":"2d7a0ec0","hex_latitude":"05ec7f38","is_valid_coordinates":true} 
[2026-07-13 15:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687829248001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105793935082782720,"note":"Value kept but may cause issues"} 
[2026-07-13 15:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796022678906439680,"note":"Value kept but may cause issues"} 
[2026-07-13 15:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783936853000,"timestamp_ms":1783936853000,"timestamp_seconds":1783936853,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aec2408"} 
[2026-07-13 15:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15: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":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-13 15:33:35] 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-07-13 15:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":131442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":131442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":131442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687829248001,"66":13319,"157":206,"87":13824,"24":0,"16":105793935082782720,"45":8796022678906439680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687829248001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:33:35] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:33:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105793935082782720,"km_value":105793935082782.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796022678906439680,"description":"Unknown IO ID 45"} 
[2026-07-13 15:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687829248001,"power":13319,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796022678906439680}} 
[2026-07-13 15:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":131442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480399,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:33:35] local.INFO: GPS data processed {"connection_id":131442,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:33:35] local.INFO: Acknowledgment sent {"connection_id":131442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:33:39] local.INFO: TCP Data received {"connection_id":130398,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:33:39] local.INFO: Processing buffer {"connection_id":130398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:33:39] local.INFO: IMEI packet received {"connection_id":130398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":130398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:33:44] local.INFO: TCP Data received {"connection_id":130398,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:33:44] local.INFO: Processing buffer {"connection_id":130398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:33:44] local.INFO: IMEI packet received {"connection_id":130398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":130398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:33:45] local.INFO: TCP Data received {"connection_id":130398,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae9e5d0012d7f914005afd9380016011b28..."} 
[2026-07-13 15:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae9e5d0012d7f914005afd9380016011b28..."} 
[2026-07-13 15:33:46] local.INFO: Processing buffer {"connection_id":130398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae9e5d0012d7f914005afd9380016011b28..."} 
[2026-07-13 15:33:46] local.INFO: Packet analysis {"connection_id":130398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae9"} 
[2026-07-13 15:33:46] local.INFO: Extracted packet for processing {"connection_id":130398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae9"} 
[2026-07-13 15:33:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":22,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687719680001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783936706000,"timestamp_ms":1783936706000,"timestamp_seconds":1783936706,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae9e5d0"} 
[2026-07-13 15:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 15:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687719680001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687719680001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:33:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:33:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687719680001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":130398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:33:46] local.INFO: GPS data processed {"connection_id":130398,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:33:46] local.INFO: Acknowledgment sent {"connection_id":130398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:33:50] local.INFO: TCP Data received {"connection_id":130398,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ae9e5d0012d7f914005afd9380016011b28..."} 
[2026-07-13 15:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ae9e5d0012d7f914005afd9380016011b28..."} 
[2026-07-13 15:33:50] local.INFO: Processing buffer {"connection_id":130398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ae9e5d0012d7f914005afd9380016011b28..."} 
[2026-07-13 15:33:50] local.INFO: Packet analysis {"connection_id":130398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ae9"} 
[2026-07-13 15:33:50] local.INFO: Extracted packet for processing {"connection_id":130398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ae9"} 
[2026-07-13 15:33:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":22,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15: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-07-13 15:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687719680001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783936706000,"timestamp_ms":1783936706000,"timestamp_seconds":1783936706,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ae9e5d0"} 
[2026-07-13 15:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 15:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15: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-07-13 15:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:33: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-07-13 15:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687719680001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687719680001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:33:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:33:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687719680001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":130398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:33:50] local.INFO: GPS data processed {"connection_id":130398,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:33:50] local.INFO: Acknowledgment sent {"connection_id":130398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:34:03] local.INFO: TCP Data received {"connection_id":130400,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:34:03] local.INFO: Processing buffer {"connection_id":130400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:34:03] local.INFO: IMEI packet received {"connection_id":130400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":130400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:34:08] local.INFO: TCP Data received {"connection_id":130400,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:34:08] local.INFO: Processing buffer {"connection_id":130400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:34:08] local.INFO: IMEI packet received {"connection_id":130400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":130400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:34:09] local.INFO: TCP Data received {"connection_id":130400,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aec6a58012d7a0ec005ec7f380007011a27..."} 
[2026-07-13 15:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aec6a58012d7a0ec005ec7f380007011a27..."} 
[2026-07-13 15:34:09] local.INFO: Processing buffer {"connection_id":130400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aec6a58012d7a0ec005ec7f380007011a27..."} 
[2026-07-13 15:34:09] local.INFO: Packet analysis {"connection_id":130400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aec"} 
[2026-07-13 15:34:09] local.INFO: Extracted packet for processing {"connection_id":130400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aec"} 
[2026-07-13 15:34:09] local.INFO: GPS Element Parsed {"raw_longitude":762973888,"raw_latitude":99385144,"longitude_deg":76.2973888,"latitude_deg":9.9385144,"altitude":7,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d7a0ec0","hex_latitude":"05ec7f38","is_valid_coordinates":true} 
[2026-07-13 15:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687834368001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105793935082782720,"note":"Value kept but may cause issues"} 
[2026-07-13 15:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253976287232,"note":"Value kept but may cause issues"} 
[2026-07-13 15:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783936871000,"timestamp_ms":1783936871000,"timestamp_seconds":1783936871,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aec6a58"} 
[2026-07-13 15:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 15:34:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 15:34:09] local.WARNING: Large IO value detected {"io_id":218,"raw_value":4177526784,"note":"Value kept but may cause issues"} 
[2026-07-13 15:34:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-13 15:34:09] local.WARNING: Large IO value detected {"io_id":90,"raw_value":3954104321,"note":"Value kept but may cause issues"} 
[2026-07-13 15:34:09] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-8991436608778983168,"note":"Value kept but may cause issues"} 
[2026-07-13 15:34:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-07-13 15:34:09] local.WARNING: Large IO value detected {"io_id":170,"raw_value":4026609018,"note":"Value kept but may cause issues"} 
[2026-07-13 15:34:09] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2147871875,"note":"Value kept but may cause issues"} 
[2026-07-13 15:34:09] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941309,"note":"Value kept but may cause issues"} 
[2026-07-13 15:34:09] local.WARNING: Large IO value detected {"io_id":119,"raw_value":3672309760,"note":"Value kept but may cause issues"} 
[2026-07-13 15:34:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968061440,"note":"Value kept but may cause issues"} 
[2026-07-13 15:34:09] local.WARNING: Large IO value detected {"io_id":74,"raw_value":57770114758367030,"note":"Value kept but may cause issues"} 
[2026-07-13 15:34:09] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-6692347751438794747,"note":"Value kept but may cause issues"} 
[2026-07-13 15:34:09] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,157,87,24,241,16,219,159,213,45,192,127,9,43,10,66,218,210,64,206,1,240,63,227,90,236,4,113,205,8,170,25,224,41,239,51,2,119,5,11,74,235],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-07-13 15:34:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504713396638187520,"timestamp_seconds":504713396638187.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 15:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:34: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-07-13 15:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687834368001,"66":13091,"157":206,"87":13824,"24":0,"16":105793935082782720,"45":8795178253976287232},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687834368001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:34:09] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:34:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105793935082782720,"km_value":105793935082782.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253976287232,"description":"Unknown IO ID 45"} 
[2026-07-13 15:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687834368001,"power":13091,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795178253976287232}} 
[2026-07-13 15:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":130400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480402,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:34:09] local.INFO: GPS data processed {"connection_id":130400,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:34:09] local.INFO: Acknowledgment sent {"connection_id":130400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:34:34] local.INFO: TCP Data received {"connection_id":131443,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:34:34] local.INFO: Processing buffer {"connection_id":131443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:34:34] local.INFO: IMEI packet received {"connection_id":131443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":131443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:34:39] local.INFO: TCP Data received {"connection_id":131443,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:34:39] local.INFO: Processing buffer {"connection_id":131443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:34:39] local.INFO: IMEI packet received {"connection_id":131443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":131443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:34:40] local.INFO: TCP Data received {"connection_id":130400,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aec6a58012d7a0ec005ec7f380007011a27..."} 
[2026-07-13 15:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aec6a58012d7a0ec005ec7f380007011a27..."} 
[2026-07-13 15:34:40] local.INFO: Processing buffer {"connection_id":130400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aec6a58012d7a0ec005ec7f380007011a27..."} 
[2026-07-13 15:34:40] local.INFO: Packet analysis {"connection_id":130400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aec"} 
[2026-07-13 15:34:40] local.INFO: Extracted packet for processing {"connection_id":130400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aec"} 
[2026-07-13 15:34:40] local.INFO: GPS Element Parsed {"raw_longitude":762973888,"raw_latitude":99385144,"longitude_deg":76.2973888,"latitude_deg":9.9385144,"altitude":7,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d7a0ec0","hex_latitude":"05ec7f38","is_valid_coordinates":true} 
[2026-07-13 15:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687838976001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105793935082782720,"note":"Value kept but may cause issues"} 
[2026-07-13 15:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253976287232,"note":"Value kept but may cause issues"} 
[2026-07-13 15:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783936871000,"timestamp_ms":1783936871000,"timestamp_seconds":1783936871,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aec6a58"} 
[2026-07-13 15:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-13 15:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687838976001,"66":13091,"157":206,"87":13824,"24":0,"16":105793935082782720,"45":8795178253976287232},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687838976001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:34:40] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:34:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105793935082782720,"km_value":105793935082782.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253976287232,"description":"Unknown IO ID 45"} 
[2026-07-13 15:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687838976001,"power":13091,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795178253976287232}} 
[2026-07-13 15:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":130400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:34:40] local.INFO: GPS data processed {"connection_id":130400,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:34:40] local.INFO: Acknowledgment sent {"connection_id":130400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:34:41] local.INFO: TCP Data received {"connection_id":131443,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aee7d98012d7f914005afd9380018011b24..."} 
[2026-07-13 15:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aee7d98012d7f914005afd9380018011b24..."} 
[2026-07-13 15:34:41] local.INFO: Processing buffer {"connection_id":131443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aee7d98012d7f914005afd9380018011b24..."} 
[2026-07-13 15:34:41] local.INFO: Packet analysis {"connection_id":131443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aee"} 
[2026-07-13 15:34:41] local.INFO: Extracted packet for processing {"connection_id":131443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aee"} 
[2026-07-13 15:34:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687796736001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783937007000,"timestamp_ms":1783937007000,"timestamp_seconds":1783937007,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aee7d98"} 
[2026-07-13 15:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687796736001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687796736001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:34:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687796736001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":131443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:34:41] local.INFO: GPS data processed {"connection_id":131443,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:34:41] local.INFO: Acknowledgment sent {"connection_id":131443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:34:58] local.INFO: TCP Data received {"connection_id":130629,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:34:58] local.INFO: Processing buffer {"connection_id":130629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:34:58] local.INFO: IMEI packet received {"connection_id":130629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":130629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:35:03] local.INFO: TCP Data received {"connection_id":130629,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:35:03] local.INFO: Processing buffer {"connection_id":130629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:35:03] local.INFO: IMEI packet received {"connection_id":130629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":130629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:35:04] local.INFO: TCP Data received {"connection_id":130629,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aec7610012d7a0ec005ec7f380007011a26..."} 
[2026-07-13 15:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aec7610012d7a0ec005ec7f380007011a26..."} 
[2026-07-13 15:35:04] local.INFO: Processing buffer {"connection_id":130629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aec7610012d7a0ec005ec7f380007011a26..."} 
[2026-07-13 15:35:04] local.INFO: Packet analysis {"connection_id":130629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aec"} 
[2026-07-13 15:35:04] local.INFO: Extracted packet for processing {"connection_id":130629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aec"} 
[2026-07-13 15:35:04] local.INFO: GPS Element Parsed {"raw_longitude":762973888,"raw_latitude":99385144,"longitude_deg":76.2973888,"latitude_deg":9.9385144,"altitude":7,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d7a0ec0","hex_latitude":"05ec7f38","is_valid_coordinates":true} 
[2026-07-13 15:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687838976001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105793935082782720,"note":"Value kept but may cause issues"} 
[2026-07-13 15:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253976287232,"note":"Value kept but may cause issues"} 
[2026-07-13 15:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783936874000,"timestamp_ms":1783936874000,"timestamp_seconds":1783936874,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aec7610"} 
[2026-07-13 15:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-13 15:35: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-07-13 15:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687838976001,"66":12798,"157":206,"87":13824,"24":0,"16":105793935082782720,"45":8795178253976287232},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687838976001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:35:04] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:35:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105793935082782720,"km_value":105793935082782.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253976287232,"description":"Unknown IO ID 45"} 
[2026-07-13 15:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687838976001,"power":12798,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795178253976287232}} 
[2026-07-13 15:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":130629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:35:04] local.INFO: GPS data processed {"connection_id":130629,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:35:04] local.INFO: Acknowledgment sent {"connection_id":130629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:35:12] local.INFO: TCP Data received {"connection_id":131443,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aee7d98012d7f914005afd9380018011b24..."} 
[2026-07-13 15:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aee7d98012d7f914005afd9380018011b24..."} 
[2026-07-13 15:35:12] local.INFO: Processing buffer {"connection_id":131443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aee7d98012d7f914005afd9380018011b24..."} 
[2026-07-13 15:35:12] local.INFO: Packet analysis {"connection_id":131443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aee"} 
[2026-07-13 15:35:12] local.INFO: Extracted packet for processing {"connection_id":131443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aee"} 
[2026-07-13 15:35:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687796736001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783937007000,"timestamp_ms":1783937007000,"timestamp_seconds":1783937007,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aee7d98"} 
[2026-07-13 15:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687796736001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687796736001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:35:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:35:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687796736001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":131443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:35:12] local.INFO: GPS data processed {"connection_id":131443,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:35:12] local.INFO: Acknowledgment sent {"connection_id":131443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:35:34] local.INFO: TCP Data received {"connection_id":130630,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:35:34] local.INFO: Processing buffer {"connection_id":130630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:35:34] local.INFO: IMEI packet received {"connection_id":130630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":130630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:35:35] local.INFO: TCP Data received {"connection_id":130629,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aec7610012d7a0ec005ec7f380007011a26..."} 
[2026-07-13 15:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aec7610012d7a0ec005ec7f380007011a26..."} 
[2026-07-13 15:35:35] local.INFO: Processing buffer {"connection_id":130629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aec7610012d7a0ec005ec7f380007011a26..."} 
[2026-07-13 15:35:35] local.INFO: Packet analysis {"connection_id":130629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aec"} 
[2026-07-13 15:35:35] local.INFO: Extracted packet for processing {"connection_id":130629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aec"} 
[2026-07-13 15:35:35] local.INFO: GPS Element Parsed {"raw_longitude":762973888,"raw_latitude":99385144,"longitude_deg":76.2973888,"latitude_deg":9.9385144,"altitude":7,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d7a0ec0","hex_latitude":"05ec7f38","is_valid_coordinates":true} 
[2026-07-13 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-07-13 15:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687838976001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105793935082782720,"note":"Value kept but may cause issues"} 
[2026-07-13 15:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253976287232,"note":"Value kept but may cause issues"} 
[2026-07-13 15:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783936874000,"timestamp_ms":1783936874000,"timestamp_seconds":1783936874,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aec7610"} 
[2026-07-13 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-07-13 15:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-13 15:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 15:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687838976001,"66":12798,"157":206,"87":13824,"24":0,"16":105793935082782720,"45":8795178253976287232},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687838976001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:35:35] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:35:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105793935082782720,"km_value":105793935082782.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253976287232,"description":"Unknown IO ID 45"} 
[2026-07-13 15:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687838976001,"power":12798,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795178253976287232}} 
[2026-07-13 15:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":130629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:35:35] local.INFO: GPS data processed {"connection_id":130629,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:35:35] local.INFO: Acknowledgment sent {"connection_id":130629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:35:39] local.INFO: TCP Data received {"connection_id":130630,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:35:39] local.INFO: Processing buffer {"connection_id":130630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:35:39] local.INFO: IMEI packet received {"connection_id":130630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":130630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:35:40] local.INFO: TCP Data received {"connection_id":130630,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aee7d98012d7f914005afd9380018011b24..."} 
[2026-07-13 15:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aee7d98012d7f914005afd9380018011b24..."} 
[2026-07-13 15:35:40] local.INFO: Processing buffer {"connection_id":130630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aee7d98012d7f914005afd9380018011b24..."} 
[2026-07-13 15:35:40] local.INFO: Packet analysis {"connection_id":130630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aee"} 
[2026-07-13 15:35:40] local.INFO: Extracted packet for processing {"connection_id":130630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aee"} 
[2026-07-13 15:35:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687796736001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783937007000,"timestamp_ms":1783937007000,"timestamp_seconds":1783937007,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aee7d98"} 
[2026-07-13 15:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687796736001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687796736001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:35:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:35:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687796736001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":130630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:35:40] local.INFO: GPS data processed {"connection_id":130630,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:35:40] local.INFO: Acknowledgment sent {"connection_id":130630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:35:58] local.INFO: TCP Data received {"connection_id":132761,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:35:58] local.INFO: Processing buffer {"connection_id":132761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:35:58] local.INFO: IMEI packet received {"connection_id":132761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":132761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:36:03] local.INFO: TCP Data received {"connection_id":132761,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:36:03] local.INFO: Processing buffer {"connection_id":132761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:36:03] local.INFO: IMEI packet received {"connection_id":132761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":132761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:36:04] local.INFO: TCP Data received {"connection_id":132761,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aec7610012d7a0ec005ec7f380007011a26..."} 
[2026-07-13 15:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aec7610012d7a0ec005ec7f380007011a26..."} 
[2026-07-13 15:36:04] local.INFO: Processing buffer {"connection_id":132761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aec7610012d7a0ec005ec7f380007011a26..."} 
[2026-07-13 15:36:04] local.INFO: Packet analysis {"connection_id":132761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aec"} 
[2026-07-13 15:36:04] local.INFO: Extracted packet for processing {"connection_id":132761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aec"} 
[2026-07-13 15:36:04] local.INFO: GPS Element Parsed {"raw_longitude":762973888,"raw_latitude":99385144,"longitude_deg":76.2973888,"latitude_deg":9.9385144,"altitude":7,"angle":282,"satellites":38,"speed":0,"hex_longitude":"2d7a0ec0","hex_latitude":"05ec7f38","is_valid_coordinates":true} 
[2026-07-13 15:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687838976001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105793935082782720,"note":"Value kept but may cause issues"} 
[2026-07-13 15:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253976287232,"note":"Value kept but may cause issues"} 
[2026-07-13 15:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783936874000,"timestamp_ms":1783936874000,"timestamp_seconds":1783936874,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aec7610"} 
[2026-07-13 15:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-13 15:36: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-07-13 15:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687838976001,"66":12798,"157":206,"87":13824,"24":0,"16":105793935082782720,"45":8795178253976287232},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687838976001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:36:04] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:36:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105793935082782720,"km_value":105793935082782.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253976287232,"description":"Unknown IO ID 45"} 
[2026-07-13 15:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687838976001,"power":12798,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795178253976287232}} 
[2026-07-13 15:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":132761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:36:04] local.INFO: GPS data processed {"connection_id":132761,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:36:04] local.INFO: Acknowledgment sent {"connection_id":132761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:36:11] local.INFO: TCP Data received {"connection_id":130630,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aee7d98012d7f914005afd9380018011b24..."} 
[2026-07-13 15:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aee7d98012d7f914005afd9380018011b24..."} 
[2026-07-13 15:36:11] local.INFO: Processing buffer {"connection_id":130630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aee7d98012d7f914005afd9380018011b24..."} 
[2026-07-13 15:36:11] local.INFO: Packet analysis {"connection_id":130630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aee"} 
[2026-07-13 15:36:11] local.INFO: Extracted packet for processing {"connection_id":130630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aee"} 
[2026-07-13 15:36:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687796736001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783937007000,"timestamp_ms":1783937007000,"timestamp_seconds":1783937007,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aee7d98"} 
[2026-07-13 15:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687796736001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687796736001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:36:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:36:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687796736001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":130630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:36:12] local.INFO: GPS data processed {"connection_id":130630,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:36:12] local.INFO: Acknowledgment sent {"connection_id":130630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:36:34] local.INFO: TCP Data received {"connection_id":132762,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:36:34] local.INFO: Processing buffer {"connection_id":132762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:36:34] local.INFO: IMEI packet received {"connection_id":132762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":132762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:36:35] local.INFO: TCP Data received {"connection_id":132761,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:36:35] local.INFO: Processing buffer {"connection_id":132761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:36:35] local.INFO: Packet analysis {"connection_id":132761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af1"} 
[2026-07-13 15:36:35] local.INFO: Extracted packet for processing {"connection_id":132761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af1"} 
[2026-07-13 15:36:35] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":7,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-07-13 15:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687839744001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105793935082782720,"note":"Value kept but may cause issues"} 
[2026-07-13 15:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253976287232,"note":"Value kept but may cause issues"} 
[2026-07-13 15:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783937176000,"timestamp_ms":1783937176000,"timestamp_seconds":1783937176,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af111c0"} 
[2026-07-13 15:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-13 15:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687839744001,"66":12178,"157":206,"87":13824,"24":0,"16":105793935082782720,"45":8795178253976287232},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687839744001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:36:35] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:36:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105793935082782720,"km_value":105793935082782.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253976287232,"description":"Unknown IO ID 45"} 
[2026-07-13 15:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687839744001,"power":12178,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795178253976287232}} 
[2026-07-13 15:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":132761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:36:35] local.INFO: GPS data processed {"connection_id":132761,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:36:35] local.INFO: Acknowledgment sent {"connection_id":132761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:36:39] local.INFO: TCP Data received {"connection_id":132762,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:36:39] local.INFO: Processing buffer {"connection_id":132762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:36:39] local.INFO: IMEI packet received {"connection_id":132762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":132762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:36:40] local.INFO: TCP Data received {"connection_id":131444,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:36:40] local.INFO: Processing buffer {"connection_id":131444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:36:40] local.INFO: IMEI packet received {"connection_id":131444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 15:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":131444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:36:41] local.INFO: TCP Data received {"connection_id":132762,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aee7d98012d7f914005afd9380018011b24..."} 
[2026-07-13 15:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aee7d98012d7f914005afd9380018011b24..."} 
[2026-07-13 15:36:41] local.INFO: Processing buffer {"connection_id":132762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aee7d98012d7f914005afd9380018011b24..."} 
[2026-07-13 15:36:41] local.INFO: Packet analysis {"connection_id":132762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aee"} 
[2026-07-13 15:36:41] local.INFO: Extracted packet for processing {"connection_id":132762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aee"} 
[2026-07-13 15:36:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687796736001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783937007000,"timestamp_ms":1783937007000,"timestamp_seconds":1783937007,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aee7d98"} 
[2026-07-13 15:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687796736001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687796736001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:36:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687796736001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":132762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:36:41] local.INFO: GPS data processed {"connection_id":132762,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:36:41] local.INFO: Acknowledgment sent {"connection_id":132762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:37:03] local.INFO: TCP Data received {"connection_id":132763,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132763,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:37:03] local.INFO: Processing buffer {"connection_id":132763,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:37:03] local.INFO: IMEI packet received {"connection_id":132763,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":132763,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:37:08] local.INFO: TCP Data received {"connection_id":132763,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132763,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:37:08] local.INFO: Processing buffer {"connection_id":132763,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:37:08] local.INFO: IMEI packet received {"connection_id":132763,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":132763,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:37:09] local.INFO: TCP Data received {"connection_id":132763,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:37:09] local.INFO: Processing buffer {"connection_id":132763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:37:09] local.INFO: Packet analysis {"connection_id":132763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af1"} 
[2026-07-13 15:37:09] local.INFO: Extracted packet for processing {"connection_id":132763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af1"} 
[2026-07-13 15:37:09] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":7,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-07-13 15:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687839744001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105793935082782720,"note":"Value kept but may cause issues"} 
[2026-07-13 15:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253976287232,"note":"Value kept but may cause issues"} 
[2026-07-13 15:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783937176000,"timestamp_ms":1783937176000,"timestamp_seconds":1783937176,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af111c0"} 
[2026-07-13 15:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15: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-07-13 15:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-13 15:37: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-07-13 15:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:37: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-07-13 15:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687839744001,"66":12178,"157":206,"87":13824,"24":0,"16":105793935082782720,"45":8795178253976287232},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687839744001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:37:09] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:37:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105793935082782720,"km_value":105793935082782.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253976287232,"description":"Unknown IO ID 45"} 
[2026-07-13 15:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687839744001,"power":12178,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795178253976287232}} 
[2026-07-13 15:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":132763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:37:09] local.INFO: GPS data processed {"connection_id":132763,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:37:09] local.INFO: Acknowledgment sent {"connection_id":132763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:37:12] local.INFO: TCP Data received {"connection_id":132762,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aee7d98012d7f914005afd9380018011b24..."} 
[2026-07-13 15:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aee7d98012d7f914005afd9380018011b24..."} 
[2026-07-13 15:37:12] local.INFO: Processing buffer {"connection_id":132762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aee7d98012d7f914005afd9380018011b24..."} 
[2026-07-13 15:37:12] local.INFO: Packet analysis {"connection_id":132762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aee"} 
[2026-07-13 15:37:12] local.INFO: Extracted packet for processing {"connection_id":132762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aee"} 
[2026-07-13 15:37:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687796736001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783937007000,"timestamp_ms":1783937007000,"timestamp_seconds":1783937007,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aee7d98"} 
[2026-07-13 15:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687796736001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687796736001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:37:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:37:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687796736001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":132762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:37:12] local.INFO: GPS data processed {"connection_id":132762,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:37:12] local.INFO: Acknowledgment sent {"connection_id":132762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:37:13] local.INFO: TCP Data received {"connection_id":132763,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:37:13] local.INFO: Processing buffer {"connection_id":132763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:37:13] local.INFO: Packet analysis {"connection_id":132763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af1"} 
[2026-07-13 15:37:13] local.INFO: Extracted packet for processing {"connection_id":132763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af1"} 
[2026-07-13 15:37:13] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":7,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-07-13 15:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687839744001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105793935082782720,"note":"Value kept but may cause issues"} 
[2026-07-13 15:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253976287232,"note":"Value kept but may cause issues"} 
[2026-07-13 15:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783937176000,"timestamp_ms":1783937176000,"timestamp_seconds":1783937176,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af111c0"} 
[2026-07-13 15:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-13 15:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687839744001,"66":12178,"157":206,"87":13824,"24":0,"16":105793935082782720,"45":8795178253976287232},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687839744001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:37:13] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:37:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105793935082782720,"km_value":105793935082782.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253976287232,"description":"Unknown IO ID 45"} 
[2026-07-13 15:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687839744001,"power":12178,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795178253976287232}} 
[2026-07-13 15:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":132763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:37:14] local.INFO: GPS data processed {"connection_id":132763,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:37:14] local.INFO: Acknowledgment sent {"connection_id":132763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:37:34] local.INFO: TCP Data received {"connection_id":131445,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:37:34] local.INFO: Processing buffer {"connection_id":131445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:37:34] local.INFO: IMEI packet received {"connection_id":131445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":131445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:37:39] local.INFO: TCP Data received {"connection_id":131445,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:37:39] local.INFO: Processing buffer {"connection_id":131445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:37:39] local.INFO: IMEI packet received {"connection_id":131445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":131445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:37:40] local.INFO: TCP Data received {"connection_id":131445,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aee7d98012d7f914005afd9380018011b24..."} 
[2026-07-13 15:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aee7d98012d7f914005afd9380018011b24..."} 
[2026-07-13 15:37:40] local.INFO: Processing buffer {"connection_id":131445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aee7d98012d7f914005afd9380018011b24..."} 
[2026-07-13 15:37:40] local.INFO: Packet analysis {"connection_id":131445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aee"} 
[2026-07-13 15:37:40] local.INFO: Extracted packet for processing {"connection_id":131445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aee"} 
[2026-07-13 15:37:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687796736001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783937007000,"timestamp_ms":1783937007000,"timestamp_seconds":1783937007,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aee7d98"} 
[2026-07-13 15:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687796736001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687796736001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:37:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:37:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687796736001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":131445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:37:40] local.INFO: GPS data processed {"connection_id":131445,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:37:40] local.INFO: Acknowledgment sent {"connection_id":131445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:37:58] local.INFO: TCP Data received {"connection_id":132764,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:37:58] local.INFO: Processing buffer {"connection_id":132764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:37:58] local.INFO: IMEI packet received {"connection_id":132764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":132764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:38:03] local.INFO: TCP Data received {"connection_id":132764,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:38:03] local.INFO: Processing buffer {"connection_id":132764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:38:03] local.INFO: IMEI packet received {"connection_id":132764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":132764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:38:04] local.INFO: TCP Data received {"connection_id":132764,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:38:04] local.INFO: Processing buffer {"connection_id":132764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:38:04] local.INFO: Packet analysis {"connection_id":132764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af1"} 
[2026-07-13 15:38:04] local.INFO: Extracted packet for processing {"connection_id":132764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af1"} 
[2026-07-13 15:38:04] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":7,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-07-13 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-07-13 15:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687839744001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105793935082782720,"note":"Value kept but may cause issues"} 
[2026-07-13 15:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253976287232,"note":"Value kept but may cause issues"} 
[2026-07-13 15:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783937176000,"timestamp_ms":1783937176000,"timestamp_seconds":1783937176,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af111c0"} 
[2026-07-13 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-07-13 15:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-13 15:38: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-07-13 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-07-13 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-07-13 15:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687839744001,"66":12178,"157":206,"87":13824,"24":0,"16":105793935082782720,"45":8795178253976287232},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687839744001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:38:04] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:38:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105793935082782720,"km_value":105793935082782.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253976287232,"description":"Unknown IO ID 45"} 
[2026-07-13 15:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687839744001,"power":12178,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795178253976287232}} 
[2026-07-13 15:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":132764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480417,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:38:04] local.INFO: GPS data processed {"connection_id":132764,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:38:04] local.INFO: Acknowledgment sent {"connection_id":132764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:38:08] local.INFO: TCP Data received {"connection_id":132764,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:38:08] local.INFO: Processing buffer {"connection_id":132764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:38:08] local.INFO: Packet analysis {"connection_id":132764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af1"} 
[2026-07-13 15:38:08] local.INFO: Extracted packet for processing {"connection_id":132764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af1"} 
[2026-07-13 15:38:08] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":7,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-07-13 15:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687839744001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105793935082782720,"note":"Value kept but may cause issues"} 
[2026-07-13 15:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253976287232,"note":"Value kept but may cause issues"} 
[2026-07-13 15:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783937176000,"timestamp_ms":1783937176000,"timestamp_seconds":1783937176,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af111c0"} 
[2026-07-13 15:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-13 15:38: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-07-13 15:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687839744001,"66":12178,"157":206,"87":13824,"24":0,"16":105793935082782720,"45":8795178253976287232},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687839744001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:38:08] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:38:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105793935082782720,"km_value":105793935082782.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253976287232,"description":"Unknown IO ID 45"} 
[2026-07-13 15:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687839744001,"power":12178,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795178253976287232}} 
[2026-07-13 15:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":132764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:38:09] local.INFO: GPS data processed {"connection_id":132764,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:38:09] local.INFO: Acknowledgment sent {"connection_id":132764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:38:11] local.INFO: TCP Data received {"connection_id":131445,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aee7d98012d7f914005afd9380018011b24..."} 
[2026-07-13 15:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aee7d98012d7f914005afd9380018011b24..."} 
[2026-07-13 15:38:11] local.INFO: Processing buffer {"connection_id":131445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aee7d98012d7f914005afd9380018011b24..."} 
[2026-07-13 15:38:11] local.INFO: Packet analysis {"connection_id":131445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aee"} 
[2026-07-13 15:38:11] local.INFO: Extracted packet for processing {"connection_id":131445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aee"} 
[2026-07-13 15:38:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687796736001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783937007000,"timestamp_ms":1783937007000,"timestamp_seconds":1783937007,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aee7d98"} 
[2026-07-13 15:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687796736001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687796736001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:38:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:38:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687796736001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":131445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:38:11] local.INFO: GPS data processed {"connection_id":131445,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:38:11] local.INFO: Acknowledgment sent {"connection_id":131445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:38:39] local.INFO: TCP Data received {"connection_id":132764,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:38:39] local.INFO: Processing buffer {"connection_id":132764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:38:39] local.INFO: Packet analysis {"connection_id":132764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af1"} 
[2026-07-13 15:38:39] local.INFO: Extracted packet for processing {"connection_id":132764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af1"} 
[2026-07-13 15:38:39] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":7,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-07-13 15:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687839744001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105793935082782720,"note":"Value kept but may cause issues"} 
[2026-07-13 15:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253976287232,"note":"Value kept but may cause issues"} 
[2026-07-13 15:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783937176000,"timestamp_ms":1783937176000,"timestamp_seconds":1783937176,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af111c0"} 
[2026-07-13 15:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-13 15:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687839744001,"66":12178,"157":206,"87":13824,"24":0,"16":105793935082782720,"45":8795178253976287232},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687839744001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:38:39] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:38:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105793935082782720,"km_value":105793935082782.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253976287232,"description":"Unknown IO ID 45"} 
[2026-07-13 15:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687839744001,"power":12178,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795178253976287232}} 
[2026-07-13 15:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":132764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:38:39] local.INFO: GPS data processed {"connection_id":132764,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:38:39] local.INFO: Acknowledgment sent {"connection_id":132764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:38:39] local.INFO: TCP Data received {"connection_id":132765,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:38:39] local.INFO: Processing buffer {"connection_id":132765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:38:39] local.INFO: IMEI packet received {"connection_id":132765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":132765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:38:44] local.INFO: TCP Data received {"connection_id":132765,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:38:44] local.INFO: Processing buffer {"connection_id":132765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:38:44] local.INFO: IMEI packet received {"connection_id":132765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":132765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:38:45] local.INFO: TCP Data received {"connection_id":132765,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aee7d98012d7f914005afd9380018011b24..."} 
[2026-07-13 15:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aee7d98012d7f914005afd9380018011b24..."} 
[2026-07-13 15:38:45] local.INFO: Processing buffer {"connection_id":132765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aee7d98012d7f914005afd9380018011b24..."} 
[2026-07-13 15:38:45] local.INFO: Packet analysis {"connection_id":132765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aee"} 
[2026-07-13 15:38:45] local.INFO: Extracted packet for processing {"connection_id":132765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aee"} 
[2026-07-13 15:38:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687796736001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783937007000,"timestamp_ms":1783937007000,"timestamp_seconds":1783937007,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aee7d98"} 
[2026-07-13 15:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:38:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687796736001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687796736001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:38:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:38:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687796736001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":132765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:38:45] local.INFO: GPS data processed {"connection_id":132765,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:38:45] local.INFO: Acknowledgment sent {"connection_id":132765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:38:50] local.INFO: TCP Data received {"connection_id":132765,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5aee7d98012d7f914005afd9380018011b24..."} 
[2026-07-13 15:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5aee7d98012d7f914005afd9380018011b24..."} 
[2026-07-13 15:38:50] local.INFO: Processing buffer {"connection_id":132765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5aee7d98012d7f914005afd9380018011b24..."} 
[2026-07-13 15:38:50] local.INFO: Packet analysis {"connection_id":132765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aee"} 
[2026-07-13 15:38:50] local.INFO: Extracted packet for processing {"connection_id":132765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aee"} 
[2026-07-13 15:38:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 15:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687796736001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783937007000,"timestamp_ms":1783937007000,"timestamp_seconds":1783937007,"priority":1,"record_length":96,"hex_timestamp":"0000019f5aee7d98"} 
[2026-07-13 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-07-13 15:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:38: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-07-13 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-07-13 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-07-13 15:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":132765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":132765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":132765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:38: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-07-13 15:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687796736001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687796736001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:38:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:38:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687796736001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":132765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:38:50] local.INFO: GPS data processed {"connection_id":132765,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:38:50] local.INFO: Acknowledgment sent {"connection_id":132765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:38:58] local.INFO: TCP Data received {"connection_id":131446,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:38:58] local.INFO: Processing buffer {"connection_id":131446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:38:58] local.INFO: IMEI packet received {"connection_id":131446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":131446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:39:03] local.INFO: TCP Data received {"connection_id":131446,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:39:03] local.INFO: Processing buffer {"connection_id":131446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:39:03] local.INFO: IMEI packet received {"connection_id":131446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":131446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:39:04] local.INFO: TCP Data received {"connection_id":131446,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:39:04] local.INFO: Processing buffer {"connection_id":131446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:39:04] local.INFO: Packet analysis {"connection_id":131446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af1"} 
[2026-07-13 15:39:04] local.INFO: Extracted packet for processing {"connection_id":131446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af1"} 
[2026-07-13 15:39:04] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":7,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-07-13 15:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687839744001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105793935082782720,"note":"Value kept but may cause issues"} 
[2026-07-13 15:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253976287232,"note":"Value kept but may cause issues"} 
[2026-07-13 15:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783937176000,"timestamp_ms":1783937176000,"timestamp_seconds":1783937176,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af111c0"} 
[2026-07-13 15:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-13 15:39: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-07-13 15:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":131446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":131446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":131446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687839744001,"66":12178,"157":206,"87":13824,"24":0,"16":105793935082782720,"45":8795178253976287232},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687839744001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:39:04] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:39:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105793935082782720,"km_value":105793935082782.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253976287232,"description":"Unknown IO ID 45"} 
[2026-07-13 15:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687839744001,"power":12178,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795178253976287232}} 
[2026-07-13 15:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":131446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480423,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:39:04] local.INFO: GPS data processed {"connection_id":131446,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:39:04] local.INFO: Acknowledgment sent {"connection_id":131446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:39:35] local.INFO: TCP Data received {"connection_id":131446,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:39:35] local.INFO: Processing buffer {"connection_id":131446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:39:35] local.INFO: Packet analysis {"connection_id":131446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af1"} 
[2026-07-13 15:39:35] local.INFO: Extracted packet for processing {"connection_id":131446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af1"} 
[2026-07-13 15:39:35] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":7,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-07-13 15:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687839744001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105793935082782720,"note":"Value kept but may cause issues"} 
[2026-07-13 15:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253976287232,"note":"Value kept but may cause issues"} 
[2026-07-13 15:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783937176000,"timestamp_ms":1783937176000,"timestamp_seconds":1783937176,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af111c0"} 
[2026-07-13 15:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-13 15:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":131446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":131446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":131446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687839744001,"66":12178,"157":206,"87":13824,"24":0,"16":105793935082782720,"45":8795178253976287232},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687839744001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:39:35] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:39:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105793935082782720,"km_value":105793935082782.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253976287232,"description":"Unknown IO ID 45"} 
[2026-07-13 15:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687839744001,"power":12178,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795178253976287232}} 
[2026-07-13 15:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":131446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:39:35] local.INFO: GPS data processed {"connection_id":131446,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:39:35] local.INFO: Acknowledgment sent {"connection_id":131446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:39:39] local.INFO: TCP Data received {"connection_id":132766,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:39:39] local.INFO: Processing buffer {"connection_id":132766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:39:39] local.INFO: IMEI packet received {"connection_id":132766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":132766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:39:44] local.INFO: TCP Data received {"connection_id":132766,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:39:44] local.INFO: Processing buffer {"connection_id":132766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:39:44] local.INFO: IMEI packet received {"connection_id":132766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":132766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:39:45] local.INFO: TCP Data received {"connection_id":132766,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af31560012d7f914005afd9380019011b25..."} 
[2026-07-13 15:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af31560012d7f914005afd9380019011b25..."} 
[2026-07-13 15:39:45] local.INFO: Processing buffer {"connection_id":132766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af31560012d7f914005afd9380019011b25..."} 
[2026-07-13 15:39:45] local.INFO: Packet analysis {"connection_id":132766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af3"} 
[2026-07-13 15:39:45] local.INFO: Extracted packet for processing {"connection_id":132766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af3"} 
[2026-07-13 15:39:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687873792001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783937308000,"timestamp_ms":1783937308000,"timestamp_seconds":1783937308,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af31560"} 
[2026-07-13 15:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:39:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 15:39:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:39:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687873792001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687873792001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:39:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:39:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687873792001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":132766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:39:45] local.INFO: GPS data processed {"connection_id":132766,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:39:45] local.INFO: Acknowledgment sent {"connection_id":132766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:39:49] local.INFO: TCP Data received {"connection_id":132766,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af31560012d7f914005afd9380019011b25..."} 
[2026-07-13 15:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af31560012d7f914005afd9380019011b25..."} 
[2026-07-13 15:39:49] local.INFO: Processing buffer {"connection_id":132766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af31560012d7f914005afd9380019011b25..."} 
[2026-07-13 15:39:49] local.INFO: Packet analysis {"connection_id":132766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af3"} 
[2026-07-13 15:39:49] local.INFO: Extracted packet for processing {"connection_id":132766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af3"} 
[2026-07-13 15:39:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 15:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687873792001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783937308000,"timestamp_ms":1783937308000,"timestamp_seconds":1783937308,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af31560"} 
[2026-07-13 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-07-13 15:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 15:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 15:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687873792001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687873792001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:39:49] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:39:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687873792001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":132766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:39:49] local.INFO: GPS data processed {"connection_id":132766,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:39:49] local.INFO: Acknowledgment sent {"connection_id":132766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:39:58] local.INFO: TCP Data received {"connection_id":131447,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131447,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:39:58] local.INFO: Processing buffer {"connection_id":131447,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:39:58] local.INFO: IMEI packet received {"connection_id":131447,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":131447,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:40:04] local.INFO: TCP Data received {"connection_id":131447,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131447,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:40:04] local.INFO: Processing buffer {"connection_id":131447,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:40:04] local.INFO: IMEI packet received {"connection_id":131447,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":131447,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:40:04] local.INFO: TCP Data received {"connection_id":131447,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:40:04] local.INFO: Processing buffer {"connection_id":131447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:40:04] local.INFO: Packet analysis {"connection_id":131447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af1"} 
[2026-07-13 15:40:04] local.INFO: Extracted packet for processing {"connection_id":131447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af1"} 
[2026-07-13 15:40:04] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":7,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-07-13 15:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687839744001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105793935082782720,"note":"Value kept but may cause issues"} 
[2026-07-13 15:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253976287232,"note":"Value kept but may cause issues"} 
[2026-07-13 15:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783937176000,"timestamp_ms":1783937176000,"timestamp_seconds":1783937176,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af111c0"} 
[2026-07-13 15:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-13 15:40: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-07-13 15:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":131447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":131447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":131447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687839744001,"66":12178,"157":206,"87":13824,"24":0,"16":105793935082782720,"45":8795178253976287232},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687839744001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:40:04] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:40:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105793935082782720,"km_value":105793935082782.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253976287232,"description":"Unknown IO ID 45"} 
[2026-07-13 15:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687839744001,"power":12178,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795178253976287232}} 
[2026-07-13 15:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":131447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:40:04] local.INFO: GPS data processed {"connection_id":131447,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:40:04] local.INFO: Acknowledgment sent {"connection_id":131447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:40:34] local.INFO: TCP Data received {"connection_id":130403,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:40:34] local.INFO: Processing buffer {"connection_id":130403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:40:34] local.INFO: IMEI packet received {"connection_id":130403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":130403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:40:35] local.INFO: TCP Data received {"connection_id":131447,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:40:35] local.INFO: Processing buffer {"connection_id":131447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:40:35] local.INFO: Packet analysis {"connection_id":131447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af1"} 
[2026-07-13 15:40:35] local.INFO: Extracted packet for processing {"connection_id":131447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af1"} 
[2026-07-13 15:40:35] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":7,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-07-13 15:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687839744001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105793935082782720,"note":"Value kept but may cause issues"} 
[2026-07-13 15:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253976287232,"note":"Value kept but may cause issues"} 
[2026-07-13 15:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783937176000,"timestamp_ms":1783937176000,"timestamp_seconds":1783937176,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af111c0"} 
[2026-07-13 15:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-13 15:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":131447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":131447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":131447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687839744001,"66":12178,"157":206,"87":13824,"24":0,"16":105793935082782720,"45":8795178253976287232},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687839744001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:40:35] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:40:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105793935082782720,"km_value":105793935082782.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253976287232,"description":"Unknown IO ID 45"} 
[2026-07-13 15:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687839744001,"power":12178,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795178253976287232}} 
[2026-07-13 15:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":131447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480428,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:40:35] local.INFO: GPS data processed {"connection_id":131447,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:40:35] local.INFO: Acknowledgment sent {"connection_id":131447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:40:39] local.INFO: TCP Data received {"connection_id":130403,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:40:39] local.INFO: Processing buffer {"connection_id":130403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:40:39] local.INFO: IMEI packet received {"connection_id":130403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":130403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:40:40] local.INFO: TCP Data received {"connection_id":130403,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af31560012d7f914005afd9380019011b25..."} 
[2026-07-13 15:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af31560012d7f914005afd9380019011b25..."} 
[2026-07-13 15:40:40] local.INFO: Processing buffer {"connection_id":130403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af31560012d7f914005afd9380019011b25..."} 
[2026-07-13 15:40:40] local.INFO: Packet analysis {"connection_id":130403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af3"} 
[2026-07-13 15:40:40] local.INFO: Extracted packet for processing {"connection_id":130403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af3"} 
[2026-07-13 15:40:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 15:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687873792001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783937308000,"timestamp_ms":1783937308000,"timestamp_seconds":1783937308,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af31560"} 
[2026-07-13 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-07-13 15:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 15:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 15:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687873792001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687873792001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:40:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:40:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687873792001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":130403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:40:40] local.INFO: GPS data processed {"connection_id":130403,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:40:40] local.INFO: Acknowledgment sent {"connection_id":130403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:40:58] local.INFO: TCP Data received {"connection_id":130404,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:40:58] local.INFO: Processing buffer {"connection_id":130404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:40:58] local.INFO: IMEI packet received {"connection_id":130404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":130404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:41:03] local.INFO: TCP Data received {"connection_id":130404,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:41:03] local.INFO: Processing buffer {"connection_id":130404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:41:03] local.INFO: IMEI packet received {"connection_id":130404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":130404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:41:04] local.INFO: TCP Data received {"connection_id":130404,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:41:04] local.INFO: Processing buffer {"connection_id":130404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af111c0012d7a0e0005ec7f280007011a22..."} 
[2026-07-13 15:41:04] local.INFO: Packet analysis {"connection_id":130404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af1"} 
[2026-07-13 15:41:04] local.INFO: Extracted packet for processing {"connection_id":130404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af1"} 
[2026-07-13 15:41:04] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":7,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-07-13 15:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687839744001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105793935082782720,"note":"Value kept but may cause issues"} 
[2026-07-13 15:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795178253976287232,"note":"Value kept but may cause issues"} 
[2026-07-13 15:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783937176000,"timestamp_ms":1783937176000,"timestamp_seconds":1783937176,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af111c0"} 
[2026-07-13 15:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-13 15:41: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-07-13 15:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687839744001,"66":12178,"157":206,"87":13824,"24":0,"16":105793935082782720,"45":8795178253976287232},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687839744001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:41:04] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:41:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105793935082782720,"km_value":105793935082782.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795178253976287232,"description":"Unknown IO ID 45"} 
[2026-07-13 15:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687839744001,"power":12178,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795178253976287232}} 
[2026-07-13 15:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":130404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:41:04] local.INFO: GPS data processed {"connection_id":130404,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:41:04] local.INFO: Acknowledgment sent {"connection_id":130404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:41:11] local.INFO: TCP Data received {"connection_id":130403,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af31560012d7f914005afd9380019011b25..."} 
[2026-07-13 15:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af31560012d7f914005afd9380019011b25..."} 
[2026-07-13 15:41:11] local.INFO: Processing buffer {"connection_id":130403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af31560012d7f914005afd9380019011b25..."} 
[2026-07-13 15:41:11] local.INFO: Packet analysis {"connection_id":130403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af3"} 
[2026-07-13 15:41:11] local.INFO: Extracted packet for processing {"connection_id":130403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af3"} 
[2026-07-13 15:41:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687873792001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783937308000,"timestamp_ms":1783937308000,"timestamp_seconds":1783937308,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af31560"} 
[2026-07-13 15:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 15:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687873792001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687873792001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:41:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:41:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687873792001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":130403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:41:11] local.INFO: GPS data processed {"connection_id":130403,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:41:11] local.INFO: Acknowledgment sent {"connection_id":130403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:41:34] local.INFO: TCP Data received {"connection_id":132769,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:41:34] local.INFO: Processing buffer {"connection_id":132769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:41:34] local.INFO: IMEI packet received {"connection_id":132769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":132769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:41:35] local.INFO: TCP Data received {"connection_id":130404,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af58e30012d7a0e0005ec7f280007011a28..."} 
[2026-07-13 15:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af58e30012d7a0e0005ec7f280007011a28..."} 
[2026-07-13 15:41:35] local.INFO: Processing buffer {"connection_id":130404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af58e30012d7a0e0005ec7f280007011a28..."} 
[2026-07-13 15:41:35] local.INFO: Packet analysis {"connection_id":130404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af5"} 
[2026-07-13 15:41:35] local.INFO: Extracted packet for processing {"connection_id":130404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af5"} 
[2026-07-13 15:41:35] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":7,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-07-13 15:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687917056001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105793935082782720,"note":"Value kept but may cause issues"} 
[2026-07-13 15:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147743750144,"note":"Value kept but may cause issues"} 
[2026-07-13 15:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783937470000,"timestamp_ms":1783937470000,"timestamp_seconds":1783937470,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af58e30"} 
[2026-07-13 15:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-13 15:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687917056001,"66":12189,"157":206,"87":13824,"24":0,"16":105793935082782720,"45":8794967147743750144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687917056001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:41:35] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:41:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105793935082782720,"km_value":105793935082782.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147743750144,"description":"Unknown IO ID 45"} 
[2026-07-13 15:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687917056001,"power":12189,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8794967147743750144}} 
[2026-07-13 15:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":130404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:41:35] local.INFO: GPS data processed {"connection_id":130404,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:41:35] local.INFO: Acknowledgment sent {"connection_id":130404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:41:39] local.INFO: TCP Data received {"connection_id":132769,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:41:39] local.INFO: Processing buffer {"connection_id":132769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:41:39] local.INFO: IMEI packet received {"connection_id":132769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":132769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:41:40] local.INFO: TCP Data received {"connection_id":132769,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af31560012d7f914005afd9380019011b25..."} 
[2026-07-13 15:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af31560012d7f914005afd9380019011b25..."} 
[2026-07-13 15:41:40] local.INFO: Processing buffer {"connection_id":132769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af31560012d7f914005afd9380019011b25..."} 
[2026-07-13 15:41:40] local.INFO: Packet analysis {"connection_id":132769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af3"} 
[2026-07-13 15:41:40] local.INFO: Extracted packet for processing {"connection_id":132769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af3"} 
[2026-07-13 15:41:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687873792001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783937308000,"timestamp_ms":1783937308000,"timestamp_seconds":1783937308,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af31560"} 
[2026-07-13 15:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 15:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687873792001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687873792001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:41:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:41:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687873792001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":132769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:41:40] local.INFO: GPS data processed {"connection_id":132769,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:41:40] local.INFO: Acknowledgment sent {"connection_id":132769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:41:58] local.INFO: TCP Data received {"connection_id":130405,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130405,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:41:58] local.INFO: Processing buffer {"connection_id":130405,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:41:58] local.INFO: IMEI packet received {"connection_id":130405,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":130405,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:42:03] local.INFO: TCP Data received {"connection_id":130405,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130405,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:42:03] local.INFO: Processing buffer {"connection_id":130405,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:42:03] local.INFO: IMEI packet received {"connection_id":130405,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":130405,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:42:04] local.INFO: TCP Data received {"connection_id":130405,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af58e30012d7a0e0005ec7f280007011a28..."} 
[2026-07-13 15:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af58e30012d7a0e0005ec7f280007011a28..."} 
[2026-07-13 15:42:04] local.INFO: Processing buffer {"connection_id":130405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af58e30012d7a0e0005ec7f280007011a28..."} 
[2026-07-13 15:42:04] local.INFO: Packet analysis {"connection_id":130405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af5"} 
[2026-07-13 15:42:04] local.INFO: Extracted packet for processing {"connection_id":130405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af5"} 
[2026-07-13 15:42:04] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":7,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-07-13 15:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687992320001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105793935082782720,"note":"Value kept but may cause issues"} 
[2026-07-13 15:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147743750144,"note":"Value kept but may cause issues"} 
[2026-07-13 15:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783937470000,"timestamp_ms":1783937470000,"timestamp_seconds":1783937470,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af58e30"} 
[2026-07-13 15:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-07-13 15:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687992320001,"66":12189,"157":206,"87":13824,"24":0,"16":105793935082782720,"45":8794967147743750144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687992320001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:42:04] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:42:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105793935082782720,"km_value":105793935082782.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147743750144,"description":"Unknown IO ID 45"} 
[2026-07-13 15:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687992320001,"power":12189,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8794967147743750144}} 
[2026-07-13 15:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":130405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480434,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:42:04] local.INFO: GPS data processed {"connection_id":130405,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:42:04] local.INFO: Acknowledgment sent {"connection_id":130405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:42:10] local.INFO: TCP Data received {"connection_id":132770,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132770,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:42:10] local.INFO: Processing buffer {"connection_id":132770,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:42:10] local.INFO: IMEI packet received {"connection_id":132770,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 15:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":132770,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:42:12] local.INFO: TCP Data received {"connection_id":132769,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af31560012d7f914005afd9380019011b25..."} 
[2026-07-13 15:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af31560012d7f914005afd9380019011b25..."} 
[2026-07-13 15:42:12] local.INFO: Processing buffer {"connection_id":132769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af31560012d7f914005afd9380019011b25..."} 
[2026-07-13 15:42:12] local.INFO: Packet analysis {"connection_id":132769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af3"} 
[2026-07-13 15:42:12] local.INFO: Extracted packet for processing {"connection_id":132769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af3"} 
[2026-07-13 15:42:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687873792001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783937308000,"timestamp_ms":1783937308000,"timestamp_seconds":1783937308,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af31560"} 
[2026-07-13 15:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 15:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687873792001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687873792001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:42:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:42:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687873792001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":132769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:42:12] local.INFO: GPS data processed {"connection_id":132769,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:42:12] local.INFO: Acknowledgment sent {"connection_id":132769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:42:34] local.INFO: TCP Data received {"connection_id":131448,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:42:34] local.INFO: Processing buffer {"connection_id":131448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:42:34] local.INFO: IMEI packet received {"connection_id":131448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":131448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:42:35] local.INFO: TCP Data received {"connection_id":130405,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af5a988012d7a0e0005ec7f280007011a29..."} 
[2026-07-13 15:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af5a988012d7a0e0005ec7f280007011a29..."} 
[2026-07-13 15:42:35] local.INFO: Processing buffer {"connection_id":130405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af5a988012d7a0e0005ec7f280007011a29..."} 
[2026-07-13 15:42:35] local.INFO: Packet analysis {"connection_id":130405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af5"} 
[2026-07-13 15:42:35] local.INFO: Extracted packet for processing {"connection_id":130405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af5"} 
[2026-07-13 15:42:35] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":7,"angle":282,"satellites":41,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-07-13 15:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687992320001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105793935082782720,"note":"Value kept but may cause issues"} 
[2026-07-13 15:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147743750144,"note":"Value kept but may cause issues"} 
[2026-07-13 15:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783937477000,"timestamp_ms":1783937477000,"timestamp_seconds":1783937477,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af5a988"} 
[2026-07-13 15:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-07-13 15:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687992320001,"66":2438,"157":206,"87":13824,"24":0,"16":105793935082782720,"45":8794967147743750144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687992320001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:42:35] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:42:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105793935082782720,"km_value":105793935082782.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147743750144,"description":"Unknown IO ID 45"} 
[2026-07-13 15:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687992320001,"power":2438,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8794967147743750144}} 
[2026-07-13 15:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":130405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:42:35] local.INFO: GPS data processed {"connection_id":130405,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:42:35] local.INFO: Acknowledgment sent {"connection_id":130405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:42:39] local.INFO: TCP Data received {"connection_id":131448,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:42:39] local.INFO: Processing buffer {"connection_id":131448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:42:39] local.INFO: IMEI packet received {"connection_id":131448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":131448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:42:39] local.INFO: TCP Data received {"connection_id":132771,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132771,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:42:39] local.INFO: Processing buffer {"connection_id":132771,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:42:39] local.INFO: IMEI packet received {"connection_id":132771,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 15:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":132771,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:42:41] local.INFO: TCP Data received {"connection_id":131448,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af31560012d7f914005afd9380019011b25..."} 
[2026-07-13 15:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af31560012d7f914005afd9380019011b25..."} 
[2026-07-13 15:42:41] local.INFO: Processing buffer {"connection_id":131448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af31560012d7f914005afd9380019011b25..."} 
[2026-07-13 15:42:41] local.INFO: Packet analysis {"connection_id":131448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af3"} 
[2026-07-13 15:42:41] local.INFO: Extracted packet for processing {"connection_id":131448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af3"} 
[2026-07-13 15:42:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687873792001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783937308000,"timestamp_ms":1783937308000,"timestamp_seconds":1783937308,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af31560"} 
[2026-07-13 15:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 15:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687873792001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687873792001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:42:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:42:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687873792001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":131448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:42:41] local.INFO: GPS data processed {"connection_id":131448,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:42:41] local.INFO: Acknowledgment sent {"connection_id":131448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:43:03] local.INFO: TCP Data received {"connection_id":132772,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:43:03] local.INFO: Processing buffer {"connection_id":132772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:43:03] local.INFO: IMEI packet received {"connection_id":132772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":132772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:43:08] local.INFO: TCP Data received {"connection_id":132772,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:43:08] local.INFO: Processing buffer {"connection_id":132772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:43:08] local.INFO: IMEI packet received {"connection_id":132772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":132772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:43:09] local.INFO: TCP Data received {"connection_id":132772,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af5a988012d7a0e0005ec7f280007011a29..."} 
[2026-07-13 15:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af5a988012d7a0e0005ec7f280007011a29..."} 
[2026-07-13 15:43:09] local.INFO: Processing buffer {"connection_id":132772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af5a988012d7a0e0005ec7f280007011a29..."} 
[2026-07-13 15:43:09] local.INFO: Packet analysis {"connection_id":132772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af5"} 
[2026-07-13 15:43:09] local.INFO: Extracted packet for processing {"connection_id":132772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af5"} 
[2026-07-13 15:43:09] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":7,"angle":282,"satellites":41,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-07-13 15:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687992320001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105793935082782720,"note":"Value kept but may cause issues"} 
[2026-07-13 15:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147743750144,"note":"Value kept but may cause issues"} 
[2026-07-13 15:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783937477000,"timestamp_ms":1783937477000,"timestamp_seconds":1783937477,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af5a988"} 
[2026-07-13 15:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-07-13 15:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:43: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-07-13 15:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687992320001,"66":2438,"157":206,"87":13824,"24":0,"16":105793935082782720,"45":8794967147743750144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687992320001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:43:09] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:43:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105793935082782720,"km_value":105793935082782.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147743750144,"description":"Unknown IO ID 45"} 
[2026-07-13 15:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687992320001,"power":2438,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8794967147743750144}} 
[2026-07-13 15:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":132772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:43:09] local.INFO: GPS data processed {"connection_id":132772,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:43:09] local.INFO: Acknowledgment sent {"connection_id":132772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:43:12] local.INFO: TCP Data received {"connection_id":131448,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af31560012d7f914005afd9380019011b25..."} 
[2026-07-13 15:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af31560012d7f914005afd9380019011b25..."} 
[2026-07-13 15:43:12] local.INFO: Processing buffer {"connection_id":131448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af31560012d7f914005afd9380019011b25..."} 
[2026-07-13 15:43:12] local.INFO: Packet analysis {"connection_id":131448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af3"} 
[2026-07-13 15:43:12] local.INFO: Extracted packet for processing {"connection_id":131448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af3"} 
[2026-07-13 15:43:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687873792001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783937308000,"timestamp_ms":1783937308000,"timestamp_seconds":1783937308,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af31560"} 
[2026-07-13 15:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 15:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687873792001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687873792001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:43:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:43:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687873792001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":131448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:43:12] local.INFO: GPS data processed {"connection_id":131448,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:43:12] local.INFO: Acknowledgment sent {"connection_id":131448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:43:13] local.INFO: TCP Data received {"connection_id":132772,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af5a988012d7a0e0005ec7f280007011a29..."} 
[2026-07-13 15:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af5a988012d7a0e0005ec7f280007011a29..."} 
[2026-07-13 15:43:13] local.INFO: Processing buffer {"connection_id":132772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af5a988012d7a0e0005ec7f280007011a29..."} 
[2026-07-13 15:43:13] local.INFO: Packet analysis {"connection_id":132772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af5"} 
[2026-07-13 15:43:13] local.INFO: Extracted packet for processing {"connection_id":132772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af5"} 
[2026-07-13 15:43:13] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":7,"angle":282,"satellites":41,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-07-13 15:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687992320001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105793935082782720,"note":"Value kept but may cause issues"} 
[2026-07-13 15:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147743750144,"note":"Value kept but may cause issues"} 
[2026-07-13 15:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783937477000,"timestamp_ms":1783937477000,"timestamp_seconds":1783937477,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af5a988"} 
[2026-07-13 15:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-07-13 15:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687992320001,"66":2438,"157":206,"87":13824,"24":0,"16":105793935082782720,"45":8794967147743750144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687992320001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:43:13] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:43:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105793935082782720,"km_value":105793935082782.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147743750144,"description":"Unknown IO ID 45"} 
[2026-07-13 15:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687992320001,"power":2438,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8794967147743750144}} 
[2026-07-13 15:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":132772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:43:13] local.INFO: GPS data processed {"connection_id":132772,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:43:13] local.INFO: Acknowledgment sent {"connection_id":132772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:43:34] local.INFO: TCP Data received {"connection_id":130406,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:43:34] local.INFO: Processing buffer {"connection_id":130406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:43:34] local.INFO: IMEI packet received {"connection_id":130406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":130406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:43:39] local.INFO: TCP Data received {"connection_id":130406,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:43:39] local.INFO: Processing buffer {"connection_id":130406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:43:39] local.INFO: IMEI packet received {"connection_id":130406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":130406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:43:40] local.INFO: TCP Data received {"connection_id":130406,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af31560012d7f914005afd9380019011b25..."} 
[2026-07-13 15:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af31560012d7f914005afd9380019011b25..."} 
[2026-07-13 15:43:40] local.INFO: Processing buffer {"connection_id":130406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af31560012d7f914005afd9380019011b25..."} 
[2026-07-13 15:43:40] local.INFO: Packet analysis {"connection_id":130406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af3"} 
[2026-07-13 15:43:40] local.INFO: Extracted packet for processing {"connection_id":130406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af3"} 
[2026-07-13 15:43:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687873792001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783937308000,"timestamp_ms":1783937308000,"timestamp_seconds":1783937308,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af31560"} 
[2026-07-13 15:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 15:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687873792001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687873792001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:43:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:43:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687873792001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":130406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:43:40] local.INFO: GPS data processed {"connection_id":130406,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:43:40] local.INFO: Acknowledgment sent {"connection_id":130406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:43:58] local.INFO: TCP Data received {"connection_id":130632,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:43:58] local.INFO: Processing buffer {"connection_id":130632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:43:58] local.INFO: IMEI packet received {"connection_id":130632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":130632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:44:03] local.INFO: TCP Data received {"connection_id":130632,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130632,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:44:03] local.INFO: Processing buffer {"connection_id":130632,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:44:03] local.INFO: IMEI packet received {"connection_id":130632,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":130632,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:44:04] local.INFO: TCP Data received {"connection_id":130632,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af5a988012d7a0e0005ec7f280007011a29..."} 
[2026-07-13 15:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af5a988012d7a0e0005ec7f280007011a29..."} 
[2026-07-13 15:44:04] local.INFO: Processing buffer {"connection_id":130632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af5a988012d7a0e0005ec7f280007011a29..."} 
[2026-07-13 15:44:04] local.INFO: Packet analysis {"connection_id":130632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af5"} 
[2026-07-13 15:44:04] local.INFO: Extracted packet for processing {"connection_id":130632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af5"} 
[2026-07-13 15:44:04] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":7,"angle":282,"satellites":41,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-07-13 15:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687992320001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105793935082782720,"note":"Value kept but may cause issues"} 
[2026-07-13 15:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147743750144,"note":"Value kept but may cause issues"} 
[2026-07-13 15:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783937477000,"timestamp_ms":1783937477000,"timestamp_seconds":1783937477,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af5a988"} 
[2026-07-13 15:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-07-13 15:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687992320001,"66":2438,"157":206,"87":13824,"24":0,"16":105793935082782720,"45":8794967147743750144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687992320001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:44:04] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:44:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105793935082782720,"km_value":105793935082782.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147743750144,"description":"Unknown IO ID 45"} 
[2026-07-13 15:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687992320001,"power":2438,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8794967147743750144}} 
[2026-07-13 15:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":130632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:44:04] local.INFO: GPS data processed {"connection_id":130632,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:44:04] local.INFO: Acknowledgment sent {"connection_id":130632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:44:11] local.INFO: TCP Data received {"connection_id":130406,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af7ad28012d7f914005afd938001a011b23..."} 
[2026-07-13 15:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af7ad28012d7f914005afd938001a011b23..."} 
[2026-07-13 15:44:11] local.INFO: Processing buffer {"connection_id":130406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af7ad28012d7f914005afd938001a011b23..."} 
[2026-07-13 15:44:11] local.INFO: Packet analysis {"connection_id":130406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af7"} 
[2026-07-13 15:44:11] local.INFO: Extracted packet for processing {"connection_id":130406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af7"} 
[2026-07-13 15:44:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687950848001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783937609000,"timestamp_ms":1783937609000,"timestamp_seconds":1783937609,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af7ad28"} 
[2026-07-13 15:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687950848001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687950848001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:44:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:44:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687950848001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":130406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:44:11] local.INFO: GPS data processed {"connection_id":130406,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:44:11] local.INFO: Acknowledgment sent {"connection_id":130406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:44:35] local.INFO: TCP Data received {"connection_id":130632,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af5a988012d7a0e0005ec7f280007011a29..."} 
[2026-07-13 15:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af5a988012d7a0e0005ec7f280007011a29..."} 
[2026-07-13 15:44:35] local.INFO: Processing buffer {"connection_id":130632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af5a988012d7a0e0005ec7f280007011a29..."} 
[2026-07-13 15:44:35] local.INFO: Packet analysis {"connection_id":130632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af5"} 
[2026-07-13 15:44:35] local.INFO: Extracted packet for processing {"connection_id":130632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af5"} 
[2026-07-13 15:44:35] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":7,"angle":282,"satellites":41,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-07-13 15:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687992320001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105793935082782720,"note":"Value kept but may cause issues"} 
[2026-07-13 15:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147743750144,"note":"Value kept but may cause issues"} 
[2026-07-13 15:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783937477000,"timestamp_ms":1783937477000,"timestamp_seconds":1783937477,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af5a988"} 
[2026-07-13 15:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-07-13 15:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130632,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687992320001,"66":2438,"157":206,"87":13824,"24":0,"16":105793935082782720,"45":8794967147743750144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687992320001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:44:35] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:44:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105793935082782720,"km_value":105793935082782.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147743750144,"description":"Unknown IO ID 45"} 
[2026-07-13 15:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687992320001,"power":2438,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8794967147743750144}} 
[2026-07-13 15:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":130632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:44:35] local.INFO: GPS data processed {"connection_id":130632,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:44:35] local.INFO: Acknowledgment sent {"connection_id":130632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:44:39] local.INFO: TCP Data received {"connection_id":132774,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:44:39] local.INFO: Processing buffer {"connection_id":132774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:44:39] local.INFO: IMEI packet received {"connection_id":132774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":132774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:44:44] local.INFO: TCP Data received {"connection_id":132774,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:44:44] local.INFO: Processing buffer {"connection_id":132774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:44:44] local.INFO: IMEI packet received {"connection_id":132774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":132774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:44:45] local.INFO: TCP Data received {"connection_id":132774,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af7ad28012d7f914005afd938001a011b23..."} 
[2026-07-13 15:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af7ad28012d7f914005afd938001a011b23..."} 
[2026-07-13 15:44:45] local.INFO: Processing buffer {"connection_id":132774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af7ad28012d7f914005afd938001a011b23..."} 
[2026-07-13 15:44:45] local.INFO: Packet analysis {"connection_id":132774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af7"} 
[2026-07-13 15:44:45] local.INFO: Extracted packet for processing {"connection_id":132774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af7"} 
[2026-07-13 15:44:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687950848001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783937609000,"timestamp_ms":1783937609000,"timestamp_seconds":1783937609,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af7ad28"} 
[2026-07-13 15:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:44:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:44: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-07-13 15:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687950848001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687950848001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:44:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:44:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687950848001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":132774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:44:45] local.INFO: GPS data processed {"connection_id":132774,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:44:45] local.INFO: Acknowledgment sent {"connection_id":132774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:44:50] local.INFO: TCP Data received {"connection_id":132774,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af7ad28012d7f914005afd938001a011b23..."} 
[2026-07-13 15:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af7ad28012d7f914005afd938001a011b23..."} 
[2026-07-13 15:44:50] local.INFO: Processing buffer {"connection_id":132774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af7ad28012d7f914005afd938001a011b23..."} 
[2026-07-13 15:44:50] local.INFO: Packet analysis {"connection_id":132774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af7"} 
[2026-07-13 15:44:50] local.INFO: Extracted packet for processing {"connection_id":132774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af7"} 
[2026-07-13 15:44:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 15:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687950848001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783937609000,"timestamp_ms":1783937609000,"timestamp_seconds":1783937609,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af7ad28"} 
[2026-07-13 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-07-13 15:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:44: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-07-13 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-07-13 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-07-13 15:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":132774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":132774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":132774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15: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-07-13 15:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687950848001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687950848001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:44:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:44:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687950848001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":132774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:44:50] local.INFO: GPS data processed {"connection_id":132774,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:44:50] local.INFO: Acknowledgment sent {"connection_id":132774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:44:58] local.INFO: TCP Data received {"connection_id":131449,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131449,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:44:58] local.INFO: Processing buffer {"connection_id":131449,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:44:58] local.INFO: IMEI packet received {"connection_id":131449,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":131449,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:45:03] local.INFO: TCP Data received {"connection_id":131449,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131449,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:45:03] local.INFO: Processing buffer {"connection_id":131449,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:45:03] local.INFO: IMEI packet received {"connection_id":131449,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":131449,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:45:04] local.INFO: TCP Data received {"connection_id":131449,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af5a988012d7a0e0005ec7f280007011a29..."} 
[2026-07-13 15:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af5a988012d7a0e0005ec7f280007011a29..."} 
[2026-07-13 15:45:04] local.INFO: Processing buffer {"connection_id":131449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af5a988012d7a0e0005ec7f280007011a29..."} 
[2026-07-13 15:45:04] local.INFO: Packet analysis {"connection_id":131449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af5"} 
[2026-07-13 15:45:04] local.INFO: Extracted packet for processing {"connection_id":131449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af5"} 
[2026-07-13 15:45:04] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99385128,"longitude_deg":76.2973696,"latitude_deg":9.9385128,"altitude":7,"angle":282,"satellites":41,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec7f28","is_valid_coordinates":true} 
[2026-07-13 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-07-13 15:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687992320001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105793935082782720,"note":"Value kept but may cause issues"} 
[2026-07-13 15:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147743750144,"note":"Value kept but may cause issues"} 
[2026-07-13 15:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783937477000,"timestamp_ms":1783937477000,"timestamp_seconds":1783937477,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af5a988"} 
[2026-07-13 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-07-13 15:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-07-13 15:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 15:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":131449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":131449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":131449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687992320001,"66":2438,"157":206,"87":13824,"24":0,"16":105793935082782720,"45":8794967147743750144},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 15:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687992320001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:45:04] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 15:45:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105793935082782720,"km_value":105793935082782.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147743750144,"description":"Unknown IO ID 45"} 
[2026-07-13 15:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687992320001,"power":2438,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8794967147743750144}} 
[2026-07-13 15:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":131449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:45:04] local.INFO: GPS data processed {"connection_id":131449,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:45:04] local.INFO: Acknowledgment sent {"connection_id":131449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:45:34] local.INFO: TCP Data received {"connection_id":130407,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:45:34] local.INFO: Processing buffer {"connection_id":130407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:45:34] local.INFO: IMEI packet received {"connection_id":130407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":130407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:45:39] local.INFO: TCP Data received {"connection_id":130407,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:45:39] local.INFO: Processing buffer {"connection_id":130407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:45:39] local.INFO: IMEI packet received {"connection_id":130407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":130407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:45:41] local.INFO: TCP Data received {"connection_id":130407,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af7ad28012d7f914005afd938001a011b23..."} 
[2026-07-13 15:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af7ad28012d7f914005afd938001a011b23..."} 
[2026-07-13 15:45:41] local.INFO: Processing buffer {"connection_id":130407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af7ad28012d7f914005afd938001a011b23..."} 
[2026-07-13 15:45:41] local.INFO: Packet analysis {"connection_id":130407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af7"} 
[2026-07-13 15:45:41] local.INFO: Extracted packet for processing {"connection_id":130407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af7"} 
[2026-07-13 15:45:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687950848001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783937609000,"timestamp_ms":1783937609000,"timestamp_seconds":1783937609,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af7ad28"} 
[2026-07-13 15:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687950848001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687950848001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:45:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:45:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687950848001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":130407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:45:41] local.INFO: GPS data processed {"connection_id":130407,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:45:41] local.INFO: Acknowledgment sent {"connection_id":130407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:46:12] local.INFO: TCP Data received {"connection_id":130407,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af7ad28012d7f914005afd938001a011b23..."} 
[2026-07-13 15:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af7ad28012d7f914005afd938001a011b23..."} 
[2026-07-13 15:46:12] local.INFO: Processing buffer {"connection_id":130407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af7ad28012d7f914005afd938001a011b23..."} 
[2026-07-13 15:46:12] local.INFO: Packet analysis {"connection_id":130407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af7"} 
[2026-07-13 15:46:12] local.INFO: Extracted packet for processing {"connection_id":130407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af7"} 
[2026-07-13 15:46:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687950848001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783937609000,"timestamp_ms":1783937609000,"timestamp_seconds":1783937609,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af7ad28"} 
[2026-07-13 15:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687950848001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687950848001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:46:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:46:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687950848001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":130407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:46:12] local.INFO: GPS data processed {"connection_id":130407,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:46:12] local.INFO: Acknowledgment sent {"connection_id":130407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:46:34] local.INFO: TCP Data received {"connection_id":131450,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:46:34] local.INFO: Processing buffer {"connection_id":131450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:46:34] local.INFO: IMEI packet received {"connection_id":131450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":131450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:46:39] local.INFO: TCP Data received {"connection_id":131450,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:46:39] local.INFO: Processing buffer {"connection_id":131450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:46:39] local.INFO: IMEI packet received {"connection_id":131450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":131450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:46:40] local.INFO: TCP Data received {"connection_id":131450,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af7ad28012d7f914005afd938001a011b23..."} 
[2026-07-13 15:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af7ad28012d7f914005afd938001a011b23..."} 
[2026-07-13 15:46:40] local.INFO: Processing buffer {"connection_id":131450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af7ad28012d7f914005afd938001a011b23..."} 
[2026-07-13 15:46:40] local.INFO: Packet analysis {"connection_id":131450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af7"} 
[2026-07-13 15:46:40] local.INFO: Extracted packet for processing {"connection_id":131450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af7"} 
[2026-07-13 15:46:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687950848001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783937609000,"timestamp_ms":1783937609000,"timestamp_seconds":1783937609,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af7ad28"} 
[2026-07-13 15:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:46: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-07-13 15:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:46:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687950848001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687950848001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:46:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:46:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687950848001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":131450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:46:40] local.INFO: GPS data processed {"connection_id":131450,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:46:40] local.INFO: Acknowledgment sent {"connection_id":131450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:47:11] local.INFO: TCP Data received {"connection_id":131450,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af7ad28012d7f914005afd938001a011b23..."} 
[2026-07-13 15:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af7ad28012d7f914005afd938001a011b23..."} 
[2026-07-13 15:47:11] local.INFO: Processing buffer {"connection_id":131450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af7ad28012d7f914005afd938001a011b23..."} 
[2026-07-13 15:47:11] local.INFO: Packet analysis {"connection_id":131450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af7"} 
[2026-07-13 15:47:11] local.INFO: Extracted packet for processing {"connection_id":131450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af7"} 
[2026-07-13 15:47:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687950848001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783937609000,"timestamp_ms":1783937609000,"timestamp_seconds":1783937609,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af7ad28"} 
[2026-07-13 15:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687950848001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687950848001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:47:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:47:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687950848001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":131450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:47:11] local.INFO: GPS data processed {"connection_id":131450,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:47:11] local.INFO: Acknowledgment sent {"connection_id":131450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:47:34] local.INFO: TCP Data received {"connection_id":130633,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:47:34] local.INFO: Processing buffer {"connection_id":130633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:47:34] local.INFO: IMEI packet received {"connection_id":130633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":130633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:47:39] local.INFO: TCP Data received {"connection_id":130633,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:47:39] local.INFO: Processing buffer {"connection_id":130633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:47:39] local.INFO: IMEI packet received {"connection_id":130633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":130633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:47:40] local.INFO: TCP Data received {"connection_id":130633,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af7ad28012d7f914005afd938001a011b23..."} 
[2026-07-13 15:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af7ad28012d7f914005afd938001a011b23..."} 
[2026-07-13 15:47:40] local.INFO: Processing buffer {"connection_id":130633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af7ad28012d7f914005afd938001a011b23..."} 
[2026-07-13 15:47:40] local.INFO: Packet analysis {"connection_id":130633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af7"} 
[2026-07-13 15:47:40] local.INFO: Extracted packet for processing {"connection_id":130633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af7"} 
[2026-07-13 15:47:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687950848001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783937609000,"timestamp_ms":1783937609000,"timestamp_seconds":1783937609,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af7ad28"} 
[2026-07-13 15:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:47: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-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687950848001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687950848001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:47:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:47:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687950848001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":130633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:47:40] local.INFO: GPS data processed {"connection_id":130633,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:47:40] local.INFO: Acknowledgment sent {"connection_id":130633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:48:05] local.INFO: TCP Data received {"connection_id":130409,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130409,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:48:05] local.INFO: Processing buffer {"connection_id":130409,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:48:05] local.INFO: IMEI packet received {"connection_id":130409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 15:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":130409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:48:11] local.INFO: TCP Data received {"connection_id":130633,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af7ad28012d7f914005afd938001a011b23..."} 
[2026-07-13 15:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af7ad28012d7f914005afd938001a011b23..."} 
[2026-07-13 15:48:11] local.INFO: Processing buffer {"connection_id":130633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af7ad28012d7f914005afd938001a011b23..."} 
[2026-07-13 15:48:11] local.INFO: Packet analysis {"connection_id":130633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af7"} 
[2026-07-13 15:48:11] local.INFO: Extracted packet for processing {"connection_id":130633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af7"} 
[2026-07-13 15:48:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687950848001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783937609000,"timestamp_ms":1783937609000,"timestamp_seconds":1783937609,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af7ad28"} 
[2026-07-13 15:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687950848001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687950848001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:48:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:48:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687950848001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":130633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:48:11] local.INFO: GPS data processed {"connection_id":130633,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:48:11] local.INFO: Acknowledgment sent {"connection_id":130633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:48:34] local.INFO: TCP Data received {"connection_id":132777,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:48:34] local.INFO: Processing buffer {"connection_id":132777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:48:34] local.INFO: IMEI packet received {"connection_id":132777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":132777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:48:39] local.INFO: TCP Data received {"connection_id":132777,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:48:39] local.INFO: Processing buffer {"connection_id":132777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:48:39] local.INFO: IMEI packet received {"connection_id":132777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":132777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:48:40] local.INFO: TCP Data received {"connection_id":132777,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af7ad28012d7f914005afd938001a011b23..."} 
[2026-07-13 15:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af7ad28012d7f914005afd938001a011b23..."} 
[2026-07-13 15:48:40] local.INFO: Processing buffer {"connection_id":132777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af7ad28012d7f914005afd938001a011b23..."} 
[2026-07-13 15:48:40] local.INFO: Packet analysis {"connection_id":132777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af7"} 
[2026-07-13 15:48:40] local.INFO: Extracted packet for processing {"connection_id":132777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af7"} 
[2026-07-13 15:48:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 15:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687950848001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783937609000,"timestamp_ms":1783937609000,"timestamp_seconds":1783937609,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af7ad28"} 
[2026-07-13 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-07-13 15:48: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-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 15:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687950848001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687950848001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:48:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:48:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687950848001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":132777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:48:40] local.INFO: GPS data processed {"connection_id":132777,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:48:40] local.INFO: Acknowledgment sent {"connection_id":132777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:48:41] local.INFO: TCP Data received {"connection_id":130634,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:48:41] local.INFO: Processing buffer {"connection_id":130634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:48:41] local.INFO: IMEI packet received {"connection_id":130634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 15:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":130634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:49:11] local.INFO: TCP Data received {"connection_id":132777,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5afc44f0012d7f914005afd9380020011b23..."} 
[2026-07-13 15:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5afc44f0012d7f914005afd9380020011b23..."} 
[2026-07-13 15:49:11] local.INFO: Processing buffer {"connection_id":132777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5afc44f0012d7f914005afd9380020011b23..."} 
[2026-07-13 15:49:11] local.INFO: Packet analysis {"connection_id":132777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5afc"} 
[2026-07-13 15:49:11] local.INFO: Extracted packet for processing {"connection_id":132777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5afc"} 
[2026-07-13 15:49:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":32,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688027904001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783937910000,"timestamp_ms":1783937910000,"timestamp_seconds":1783937910,"priority":1,"record_length":96,"hex_timestamp":"0000019f5afc44f0"} 
[2026-07-13 15:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688027904001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688027904001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:49:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:49:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688027904001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":132777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:49:11] local.INFO: GPS data processed {"connection_id":132777,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:49:11] local.INFO: Acknowledgment sent {"connection_id":132777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:49:39] local.INFO: TCP Data received {"connection_id":131451,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:49:39] local.INFO: Processing buffer {"connection_id":131451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:49:39] local.INFO: IMEI packet received {"connection_id":131451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":131451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:49:44] local.INFO: TCP Data received {"connection_id":131451,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:49:44] local.INFO: Processing buffer {"connection_id":131451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:49:44] local.INFO: IMEI packet received {"connection_id":131451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":131451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:49:45] local.INFO: TCP Data received {"connection_id":131451,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5afc44f0012d7f914005afd9380020011b23..."} 
[2026-07-13 15:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5afc44f0012d7f914005afd9380020011b23..."} 
[2026-07-13 15:49:45] local.INFO: Processing buffer {"connection_id":131451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5afc44f0012d7f914005afd9380020011b23..."} 
[2026-07-13 15:49:45] local.INFO: Packet analysis {"connection_id":131451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5afc"} 
[2026-07-13 15:49:45] local.INFO: Extracted packet for processing {"connection_id":131451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5afc"} 
[2026-07-13 15:49:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":32,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688027904001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783937910000,"timestamp_ms":1783937910000,"timestamp_seconds":1783937910,"priority":1,"record_length":96,"hex_timestamp":"0000019f5afc44f0"} 
[2026-07-13 15:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688027904001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688027904001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:49:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:49:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688027904001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":131451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:49:45] local.INFO: GPS data processed {"connection_id":131451,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:49:45] local.INFO: Acknowledgment sent {"connection_id":131451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:49:50] local.INFO: TCP Data received {"connection_id":131451,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5afc44f0012d7f914005afd9380020011b23..."} 
[2026-07-13 15:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5afc44f0012d7f914005afd9380020011b23..."} 
[2026-07-13 15:49:50] local.INFO: Processing buffer {"connection_id":131451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5afc44f0012d7f914005afd9380020011b23..."} 
[2026-07-13 15:49:50] local.INFO: Packet analysis {"connection_id":131451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5afc"} 
[2026-07-13 15:49:50] local.INFO: Extracted packet for processing {"connection_id":131451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5afc"} 
[2026-07-13 15:49:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":32,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688027904001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783937910000,"timestamp_ms":1783937910000,"timestamp_seconds":1783937910,"priority":1,"record_length":96,"hex_timestamp":"0000019f5afc44f0"} 
[2026-07-13 15:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:49:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:49: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-07-13 15:49:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:49: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-07-13 15:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688027904001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688027904001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:49:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:49:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688027904001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":131451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:49:50] local.INFO: GPS data processed {"connection_id":131451,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:49:50] local.INFO: Acknowledgment sent {"connection_id":131451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:50:34] local.INFO: TCP Data received {"connection_id":132778,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:50:34] local.INFO: Processing buffer {"connection_id":132778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:50:34] local.INFO: IMEI packet received {"connection_id":132778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":132778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:50:39] local.INFO: TCP Data received {"connection_id":132778,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:50:39] local.INFO: Processing buffer {"connection_id":132778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:50:39] local.INFO: IMEI packet received {"connection_id":132778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":132778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:50:40] local.INFO: TCP Data received {"connection_id":132778,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5afc44f0012d7f914005afd9380020011b23..."} 
[2026-07-13 15:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5afc44f0012d7f914005afd9380020011b23..."} 
[2026-07-13 15:50:40] local.INFO: Processing buffer {"connection_id":132778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5afc44f0012d7f914005afd9380020011b23..."} 
[2026-07-13 15:50:40] local.INFO: Packet analysis {"connection_id":132778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5afc"} 
[2026-07-13 15:50:40] local.INFO: Extracted packet for processing {"connection_id":132778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5afc"} 
[2026-07-13 15:50:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":32,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688027904001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783937910000,"timestamp_ms":1783937910000,"timestamp_seconds":1783937910,"priority":1,"record_length":96,"hex_timestamp":"0000019f5afc44f0"} 
[2026-07-13 15:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688027904001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688027904001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:50:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:50:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688027904001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":132778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:50:40] local.INFO: GPS data processed {"connection_id":132778,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:50:40] local.INFO: Acknowledgment sent {"connection_id":132778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:51:12] local.INFO: TCP Data received {"connection_id":132778,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5afc44f0012d7f914005afd9380020011b23..."} 
[2026-07-13 15:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5afc44f0012d7f914005afd9380020011b23..."} 
[2026-07-13 15:51:12] local.INFO: Processing buffer {"connection_id":132778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5afc44f0012d7f914005afd9380020011b23..."} 
[2026-07-13 15:51:12] local.INFO: Packet analysis {"connection_id":132778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5afc"} 
[2026-07-13 15:51:12] local.INFO: Extracted packet for processing {"connection_id":132778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5afc"} 
[2026-07-13 15:51:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":32,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688027904001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783937910000,"timestamp_ms":1783937910000,"timestamp_seconds":1783937910,"priority":1,"record_length":96,"hex_timestamp":"0000019f5afc44f0"} 
[2026-07-13 15:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688027904001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688027904001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:51:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:51:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688027904001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":132778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:51:12] local.INFO: GPS data processed {"connection_id":132778,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:51:12] local.INFO: Acknowledgment sent {"connection_id":132778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:51:34] local.INFO: TCP Data received {"connection_id":130635,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:51:34] local.INFO: Processing buffer {"connection_id":130635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:51:34] local.INFO: IMEI packet received {"connection_id":130635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":130635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:51:47] local.INFO: TCP Data received {"connection_id":130635,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:51:47] local.INFO: Processing buffer {"connection_id":130635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:51:47] local.INFO: IMEI packet received {"connection_id":130635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":130635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:51:48] local.INFO: TCP Data received {"connection_id":130635,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5afc44f0012d7f914005afd9380020011b23..."} 
[2026-07-13 15:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5afc44f0012d7f914005afd9380020011b23..."} 
[2026-07-13 15:51:48] local.INFO: Processing buffer {"connection_id":130635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5afc44f0012d7f914005afd9380020011b23..."} 
[2026-07-13 15:51:48] local.INFO: Packet analysis {"connection_id":130635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5afc"} 
[2026-07-13 15:51:48] local.INFO: Extracted packet for processing {"connection_id":130635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5afc"} 
[2026-07-13 15:51:48] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":32,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688027904001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783937910000,"timestamp_ms":1783937910000,"timestamp_seconds":1783937910,"priority":1,"record_length":96,"hex_timestamp":"0000019f5afc44f0"} 
[2026-07-13 15:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:51:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":130635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":130635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":130635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688027904001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688027904001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:51:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:51:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688027904001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":130635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:51:48] local.INFO: GPS data processed {"connection_id":130635,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:51:48] local.INFO: Acknowledgment sent {"connection_id":130635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:52:19] local.INFO: TCP Data received {"connection_id":130635,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5afc44f0012d7f914005afd9380020011b23..."} 
[2026-07-13 15:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5afc44f0012d7f914005afd9380020011b23..."} 
[2026-07-13 15:52:19] local.INFO: Processing buffer {"connection_id":130635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5afc44f0012d7f914005afd9380020011b23..."} 
[2026-07-13 15:52:19] local.INFO: Packet analysis {"connection_id":130635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5afc"} 
[2026-07-13 15:52:19] local.INFO: Extracted packet for processing {"connection_id":130635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5afc"} 
[2026-07-13 15:52:19] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":32,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15: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-07-13 15:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688027904001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783937910000,"timestamp_ms":1783937910000,"timestamp_seconds":1783937910,"priority":1,"record_length":96,"hex_timestamp":"0000019f5afc44f0"} 
[2026-07-13 15:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:52:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:52: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-07-13 15: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-07-13 15:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:52: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-07-13 15:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688027904001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688027904001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:52:19] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:52:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688027904001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":130635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:52:19] local.INFO: GPS data processed {"connection_id":130635,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:52:19] local.INFO: Acknowledgment sent {"connection_id":130635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:52:34] local.INFO: TCP Data received {"connection_id":131454,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:52:34] local.INFO: Processing buffer {"connection_id":131454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:52:34] local.INFO: IMEI packet received {"connection_id":131454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":131454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:52:39] local.INFO: TCP Data received {"connection_id":131454,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:52:39] local.INFO: Processing buffer {"connection_id":131454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:52:39] local.INFO: IMEI packet received {"connection_id":131454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":131454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:52:40] local.INFO: TCP Data received {"connection_id":131454,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5afc44f0012d7f914005afd9380020011b23..."} 
[2026-07-13 15:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5afc44f0012d7f914005afd9380020011b23..."} 
[2026-07-13 15:52:40] local.INFO: Processing buffer {"connection_id":131454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5afc44f0012d7f914005afd9380020011b23..."} 
[2026-07-13 15:52:40] local.INFO: Packet analysis {"connection_id":131454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5afc"} 
[2026-07-13 15:52:40] local.INFO: Extracted packet for processing {"connection_id":131454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5afc"} 
[2026-07-13 15:52:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":32,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688027904001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783937910000,"timestamp_ms":1783937910000,"timestamp_seconds":1783937910,"priority":1,"record_length":96,"hex_timestamp":"0000019f5afc44f0"} 
[2026-07-13 15:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688027904001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688027904001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:52:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:52:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688027904001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":131454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:52:40] local.INFO: GPS data processed {"connection_id":131454,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:52:40] local.INFO: Acknowledgment sent {"connection_id":131454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:53:11] local.INFO: TCP Data received {"connection_id":131454,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5afc44f0012d7f914005afd9380020011b23..."} 
[2026-07-13 15:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5afc44f0012d7f914005afd9380020011b23..."} 
[2026-07-13 15:53:11] local.INFO: Processing buffer {"connection_id":131454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5afc44f0012d7f914005afd9380020011b23..."} 
[2026-07-13 15:53:11] local.INFO: Packet analysis {"connection_id":131454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5afc"} 
[2026-07-13 15:53:11] local.INFO: Extracted packet for processing {"connection_id":131454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5afc"} 
[2026-07-13 15:53:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":32,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688027904001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783937910000,"timestamp_ms":1783937910000,"timestamp_seconds":1783937910,"priority":1,"record_length":96,"hex_timestamp":"0000019f5afc44f0"} 
[2026-07-13 15:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688027904001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688027904001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:53:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:53:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688027904001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":131454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:53:11] local.INFO: GPS data processed {"connection_id":131454,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:53:11] local.INFO: Acknowledgment sent {"connection_id":131454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:53:34] local.INFO: TCP Data received {"connection_id":130411,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:53:34] local.INFO: Processing buffer {"connection_id":130411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:53:34] local.INFO: IMEI packet received {"connection_id":130411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":130411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:53:39] local.INFO: TCP Data received {"connection_id":130411,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:53:39] local.INFO: Processing buffer {"connection_id":130411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:53:39] local.INFO: IMEI packet received {"connection_id":130411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":130411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:53:40] local.INFO: TCP Data received {"connection_id":130411,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5afc44f0012d7f914005afd9380020011b23..."} 
[2026-07-13 15:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5afc44f0012d7f914005afd9380020011b23..."} 
[2026-07-13 15:53:40] local.INFO: Processing buffer {"connection_id":130411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5afc44f0012d7f914005afd9380020011b23..."} 
[2026-07-13 15:53:40] local.INFO: Packet analysis {"connection_id":130411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5afc"} 
[2026-07-13 15:53:40] local.INFO: Extracted packet for processing {"connection_id":130411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5afc"} 
[2026-07-13 15:53:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":32,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688027904001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783937910000,"timestamp_ms":1783937910000,"timestamp_seconds":1783937910,"priority":1,"record_length":96,"hex_timestamp":"0000019f5afc44f0"} 
[2026-07-13 15:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688027904001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688027904001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:53:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:53:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688027904001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":130411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:53:40] local.INFO: GPS data processed {"connection_id":130411,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:53:40] local.INFO: Acknowledgment sent {"connection_id":130411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:53:58] local.INFO: TCP Data received {"connection_id":130636,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:53:58] local.INFO: Processing buffer {"connection_id":130636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:53:58] local.INFO: IMEI packet received {"connection_id":130636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":130636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:54:00] local.INFO: TCP Data received {"connection_id":130636,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:54:00] local.INFO: Processing buffer {"connection_id":130636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:54:00] local.INFO: IMEI packet received {"connection_id":130636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":130636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:54:01] local.INFO: TCP Data received {"connection_id":130636,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5affa820012d79f94005ec7520000400f025..."} 
[2026-07-13 15:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5affa820012d79f94005ec7520000400f025..."} 
[2026-07-13 15:54:01] local.INFO: Processing buffer {"connection_id":130636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5affa820012d79f94005ec7520000400f025..."} 
[2026-07-13 15:54:01] local.INFO: Packet analysis {"connection_id":130636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aff"} 
[2026-07-13 15:54:01] local.INFO: Extracted packet for processing {"connection_id":130636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aff"} 
[2026-07-13 15:54:01] local.INFO: GPS Element Parsed {"raw_longitude":762968384,"raw_latitude":99382560,"longitude_deg":76.2968384,"latitude_deg":9.938256,"altitude":4,"angle":240,"satellites":37,"speed":0,"hex_longitude":"2d79f940","hex_latitude":"05ec7520","is_valid_coordinates":true} 
[2026-07-13 15:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688156672001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105794235730493440,"note":"Value kept but may cause issues"} 
[2026-07-13 15:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790393179371726848,"note":"Value kept but may cause issues"} 
[2026-07-13 15:54:01] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-07-13 15:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783938132000,"timestamp_ms":1783938132000,"timestamp_seconds":1783938132,"priority":1,"record_length":96,"hex_timestamp":"0000019f5affa820"} 
[2026-07-13 15:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-13 15:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":130636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":130636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":130636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688156672001,"66":13015,"24":0,"16":105794235730493440,"45":8790393179371726848},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-07-13 15:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688156672001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105794235730493440,"km_value":105794235730493.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790393179371726848,"description":"Unknown IO ID 45"} 
[2026-07-13 15:54:01] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456688156672001,"power":13015,"ignition":0,"odometer":null,"unknown_45":8790393179371726848}} 
[2026-07-13 15:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":130636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480465,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:54:01] local.INFO: GPS data processed {"connection_id":130636,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:54:01] local.INFO: Acknowledgment sent {"connection_id":130636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:54:11] local.INFO: TCP Data received {"connection_id":130411,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b00dcb8012d7f914005afd9380019011b24..."} 
[2026-07-13 15:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b00dcb8012d7f914005afd9380019011b24..."} 
[2026-07-13 15:54:11] local.INFO: Processing buffer {"connection_id":130411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b00dcb8012d7f914005afd9380019011b24..."} 
[2026-07-13 15:54:11] local.INFO: Packet analysis {"connection_id":130411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b00"} 
[2026-07-13 15:54:11] local.INFO: Extracted packet for processing {"connection_id":130411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b00"} 
[2026-07-13 15:54:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688104960001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783938211000,"timestamp_ms":1783938211000,"timestamp_seconds":1783938211,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b00dcb8"} 
[2026-07-13 15:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688104960001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688104960001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:54:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:54:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688104960001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":130411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:54:11] local.INFO: GPS data processed {"connection_id":130411,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:54:11] local.INFO: Acknowledgment sent {"connection_id":130411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:54:14] local.INFO: TCP Data received {"connection_id":132780,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:54:14] local.INFO: Processing buffer {"connection_id":132780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 15:54:14] local.INFO: IMEI packet received {"connection_id":132780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 15:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":132780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:54:32] local.INFO: TCP Data received {"connection_id":130636,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5affaff0012d79f88005ec73c8000400b524..."} 
[2026-07-13 15:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5affaff0012d79f88005ec73c8000400b524..."} 
[2026-07-13 15:54:32] local.INFO: Processing buffer {"connection_id":130636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5affaff0012d79f88005ec73c8000400b524..."} 
[2026-07-13 15:54:32] local.INFO: Packet analysis {"connection_id":130636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aff"} 
[2026-07-13 15:54:32] local.INFO: Extracted packet for processing {"connection_id":130636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aff"} 
[2026-07-13 15:54:32] local.INFO: GPS Element Parsed {"raw_longitude":762968192,"raw_latitude":99382216,"longitude_deg":76.2968192,"latitude_deg":9.9382216,"altitude":4,"angle":181,"satellites":36,"speed":4,"hex_longitude":"2d79f880","hex_latitude":"05ec73c8","is_valid_coordinates":true} 
[2026-07-13 15:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688161792001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105794252910362624,"note":"Value kept but may cause issues"} 
[2026-07-13 15:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789126541976346624,"note":"Value kept but may cause issues"} 
[2026-07-13 15:54:32] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-07-13 15:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783938134000,"timestamp_ms":1783938134000,"timestamp_seconds":1783938134,"priority":1,"record_length":96,"hex_timestamp":"0000019f5affaff0"} 
[2026-07-13 15:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15: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-07-13 15: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-07-13 15:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":130636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":130636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":130636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688161792001,"66":12982,"24":4,"16":105794252910362624,"45":8789126541976346624},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-07-13 15:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688161792001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105794252910362624,"km_value":105794252910362.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789126541976346624,"description":"Unknown IO ID 45"} 
[2026-07-13 15:54:32] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456688161792001,"power":12982,"ignition":4,"odometer":null,"unknown_45":8789126541976346624}} 
[2026-07-13 15:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":130636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:54:32] local.INFO: GPS data processed {"connection_id":130636,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:54:32] local.INFO: Acknowledgment sent {"connection_id":130636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:54:39] local.INFO: TCP Data received {"connection_id":130412,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:54:39] local.INFO: Processing buffer {"connection_id":130412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:54:39] local.INFO: IMEI packet received {"connection_id":130412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":130412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:54:44] local.INFO: TCP Data received {"connection_id":130412,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:54:44] local.INFO: Processing buffer {"connection_id":130412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:54:44] local.INFO: IMEI packet received {"connection_id":130412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":130412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:54:45] local.INFO: TCP Data received {"connection_id":130412,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b00dcb8012d7f914005afd9380019011b24..."} 
[2026-07-13 15:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b00dcb8012d7f914005afd9380019011b24..."} 
[2026-07-13 15:54:45] local.INFO: Processing buffer {"connection_id":130412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b00dcb8012d7f914005afd9380019011b24..."} 
[2026-07-13 15:54:45] local.INFO: Packet analysis {"connection_id":130412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b00"} 
[2026-07-13 15:54:45] local.INFO: Extracted packet for processing {"connection_id":130412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b00"} 
[2026-07-13 15:54:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688104960001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783938211000,"timestamp_ms":1783938211000,"timestamp_seconds":1783938211,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b00dcb8"} 
[2026-07-13 15:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:54:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:54:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688104960001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688104960001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:54:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:54:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688104960001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":130412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:54:45] local.INFO: GPS data processed {"connection_id":130412,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:54:45] local.INFO: Acknowledgment sent {"connection_id":130412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:54:50] local.INFO: TCP Data received {"connection_id":130412,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b00dcb8012d7f914005afd9380019011b24..."} 
[2026-07-13 15:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b00dcb8012d7f914005afd9380019011b24..."} 
[2026-07-13 15:54:50] local.INFO: Processing buffer {"connection_id":130412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b00dcb8012d7f914005afd9380019011b24..."} 
[2026-07-13 15:54:50] local.INFO: Packet analysis {"connection_id":130412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b00"} 
[2026-07-13 15:54:50] local.INFO: Extracted packet for processing {"connection_id":130412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b00"} 
[2026-07-13 15:54:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688104960001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783938211000,"timestamp_ms":1783938211000,"timestamp_seconds":1783938211,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b00dcb8"} 
[2026-07-13 15:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:54: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-07-13 15:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:54: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-07-13 15:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688104960001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688104960001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:54:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:54:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688104960001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":130412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:54:50] local.INFO: GPS data processed {"connection_id":130412,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:54:50] local.INFO: Acknowledgment sent {"connection_id":130412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:54:58] local.INFO: TCP Data received {"connection_id":131455,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:54:58] local.INFO: Processing buffer {"connection_id":131455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:54:58] local.INFO: IMEI packet received {"connection_id":131455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":131455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:55:03] local.INFO: TCP Data received {"connection_id":131455,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:55:03] local.INFO: Processing buffer {"connection_id":131455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:55:03] local.INFO: IMEI packet received {"connection_id":131455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":131455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:55:04] local.INFO: TCP Data received {"connection_id":131455,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5affb7c0012d79f90005ec72700004009d24..."} 
[2026-07-13 15:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5affb7c0012d79f90005ec72700004009d24..."} 
[2026-07-13 15:55:04] local.INFO: Processing buffer {"connection_id":131455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5affb7c0012d79f90005ec72700004009d24..."} 
[2026-07-13 15:55:04] local.INFO: Packet analysis {"connection_id":131455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aff"} 
[2026-07-13 15:55:04] local.INFO: Extracted packet for processing {"connection_id":131455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aff"} 
[2026-07-13 15:55:04] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99381872,"longitude_deg":76.296832,"latitude_deg":9.9381872,"altitude":4,"angle":157,"satellites":36,"speed":7,"hex_longitude":"2d79f900","hex_latitude":"05ec7270","is_valid_coordinates":true} 
[2026-07-13 15:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688162304001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105794270090231808,"note":"Value kept but may cause issues"} 
[2026-07-13 15:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788915435743725568,"note":"Value kept but may cause issues"} 
[2026-07-13 15:55:04] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-07-13 15:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783938136000,"timestamp_ms":1783938136000,"timestamp_seconds":1783938136,"priority":1,"record_length":96,"hex_timestamp":"0000019f5affb7c0"} 
[2026-07-13 15:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15: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-07-13 15: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-07-13 15:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":131455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":131455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":131455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688162304001,"66":12917,"24":7,"16":105794270090231808,"45":8788915435743725568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-07-13 15:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688162304001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105794270090231808,"km_value":105794270090231.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788915435743725568,"description":"Unknown IO ID 45"} 
[2026-07-13 15:55:04] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456688162304001,"power":12917,"ignition":7,"odometer":null,"unknown_45":8788915435743725568}} 
[2026-07-13 15:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":131455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480470,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:55:04] local.INFO: GPS data processed {"connection_id":131455,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:55:04] local.INFO: Acknowledgment sent {"connection_id":131455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:55:34] local.INFO: TCP Data received {"connection_id":130413,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:55:34] local.INFO: Processing buffer {"connection_id":130413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:55:34] local.INFO: IMEI packet received {"connection_id":130413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":130413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:55:35] local.INFO: TCP Data received {"connection_id":131455,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b026358012d7a1f0005ec05a0000000a71d..."} 
[2026-07-13 15:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b026358012d7a1f0005ec05a0000000a71d..."} 
[2026-07-13 15:55:35] local.INFO: Processing buffer {"connection_id":131455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b026358012d7a1f0005ec05a0000000a71d..."} 
[2026-07-13 15:55:35] local.INFO: Packet analysis {"connection_id":131455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b02"} 
[2026-07-13 15:55:35] local.INFO: Extracted packet for processing {"connection_id":131455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b02"} 
[2026-07-13 15:55:35] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":99354016,"longitude_deg":76.2978048,"latitude_deg":9.9354016,"altitude":0,"angle":167,"satellites":29,"speed":8,"hex_longitude":"2d7a1f00","hex_latitude":"05ec05a0","is_valid_coordinates":true} 
[2026-07-13 15:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688205312001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105795747558981632,"note":"Value kept but may cause issues"} 
[2026-07-13 15:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799330009875034112,"note":"Value kept but may cause issues"} 
[2026-07-13 15:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783938311000,"timestamp_ms":1783938311000,"timestamp_seconds":1783938311,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b026358"} 
[2026-07-13 15:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 15:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3386705624949948411,"note":"Value kept but may cause issues"} 
[2026-07-13 15:55:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 15:55:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-13 15:55:35] local.WARNING: Large IO value detected {"io_id":236,"raw_value":4050987869125288192,"note":"Value kept but may cause issues"} 
[2026-07-13 15:55:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033633998,"corrected_to":0} 
[2026-07-13 15:55:35] local.WARNING: Large IO value detected {"io_id":19,"raw_value":2147871778,"note":"Value kept but may cause issues"} 
[2026-07-13 15:55:35] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391933,"note":"Value kept but may cause issues"} 
[2026-07-13 15:55:35] local.WARNING: Large IO value detected {"io_id":119,"raw_value":3695837184,"note":"Value kept but may cause issues"} 
[2026-07-13 15:55:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3962079232,"note":"Value kept but may cause issues"} 
[2026-07-13 15:55:35] local.WARNING: Large IO value detected {"io_id":117,"raw_value":57770114758367030,"note":"Value kept but may cause issues"} 
[2026-07-13 15:55:35] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,156,87,24,241,157,16,220,159,242,45,128,29,34,10,66,222,64,31,191,1,240,46,227,91,236,4,113,205,70,19,248,33,239,51,2,119,5,13,117],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1033633998,"validated":0}]} 
[2026-07-13 15:55:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":168349833101312,"timestamp_seconds":168349833101.312,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 15:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":131455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":131455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":131455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688205312001,"66":12917,"156":206,"87":13824,"24":8,"16":105795747558981632,"45":8799330009875034112},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-13 15:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688205312001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:55:35] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-13 15:55:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105795747558981632,"km_value":105795747558981.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799330009875034112,"description":"Unknown IO ID 45"} 
[2026-07-13 15:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688205312001,"power":12917,"unknown_156":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8799330009875034112}} 
[2026-07-13 15:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":131455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:55:35] local.INFO: GPS data processed {"connection_id":131455,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:55:35] local.INFO: Acknowledgment sent {"connection_id":131455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:55:39] local.INFO: TCP Data received {"connection_id":130413,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:55:39] local.INFO: Processing buffer {"connection_id":130413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:55:39] local.INFO: IMEI packet received {"connection_id":130413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":130413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:55:40] local.INFO: TCP Data received {"connection_id":130413,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b00dcb8012d7f914005afd9380019011b24..."} 
[2026-07-13 15:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b00dcb8012d7f914005afd9380019011b24..."} 
[2026-07-13 15:55:40] local.INFO: Processing buffer {"connection_id":130413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b00dcb8012d7f914005afd9380019011b24..."} 
[2026-07-13 15:55:40] local.INFO: Packet analysis {"connection_id":130413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b00"} 
[2026-07-13 15:55:40] local.INFO: Extracted packet for processing {"connection_id":130413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b00"} 
[2026-07-13 15:55:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688104960001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783938211000,"timestamp_ms":1783938211000,"timestamp_seconds":1783938211,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b00dcb8"} 
[2026-07-13 15:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688104960001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688104960001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:55:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:55:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688104960001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":130413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:55:40] local.INFO: GPS data processed {"connection_id":130413,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:55:40] local.INFO: Acknowledgment sent {"connection_id":130413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:55:58] local.INFO: TCP Data received {"connection_id":131456,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131456,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:55:58] local.INFO: Processing buffer {"connection_id":131456,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:55:58] local.INFO: IMEI packet received {"connection_id":131456,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":131456,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:56:03] local.INFO: TCP Data received {"connection_id":131456,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131456,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:56:03] local.INFO: Processing buffer {"connection_id":131456,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:56:03] local.INFO: IMEI packet received {"connection_id":131456,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":131456,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:56:04] local.INFO: TCP Data received {"connection_id":131456,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b029620012d7a228005ebfa58000000991d..."} 
[2026-07-13 15:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b029620012d7a228005ebfa58000000991d..."} 
[2026-07-13 15:56:04] local.INFO: Processing buffer {"connection_id":131456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b029620012d7a228005ebfa58000000991d..."} 
[2026-07-13 15:56:04] local.INFO: Packet analysis {"connection_id":131456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b02"} 
[2026-07-13 15:56:04] local.INFO: Extracted packet for processing {"connection_id":131456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b02"} 
[2026-07-13 15:56:04] local.INFO: GPS Element Parsed {"raw_longitude":762978944,"raw_latitude":99351128,"longitude_deg":76.2978944,"latitude_deg":9.9351128,"altitude":0,"angle":153,"satellites":29,"speed":5,"hex_longitude":"2d7a2280","hex_latitude":"05ebfa58","is_valid_coordinates":true} 
[2026-07-13 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-07-13 15:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688207616001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105795897882836992,"note":"Value kept but may cause issues"} 
[2026-07-13 15:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222339866624,"note":"Value kept but may cause issues"} 
[2026-07-13 15:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783938324000,"timestamp_ms":1783938324000,"timestamp_seconds":1783938324,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b029620"} 
[2026-07-13 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-07-13 15:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-13 15:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 15:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":131456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":131456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":131456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688207616001,"66":13243,"156":206,"87":13824,"24":5,"16":105795897882836992,"45":8799752222339866624},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-13 15:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688207616001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:56:04] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-13 15:56:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105795897882836992,"km_value":105795897882836.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222339866624,"description":"Unknown IO ID 45"} 
[2026-07-13 15:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688207616001,"power":13243,"unknown_156":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8799752222339866624}} 
[2026-07-13 15:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":131456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:56:04] local.INFO: GPS data processed {"connection_id":131456,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:56:04] local.INFO: Acknowledgment sent {"connection_id":131456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:56:12] local.INFO: TCP Data received {"connection_id":130413,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b00dcb8012d7f914005afd9380019011b24..."} 
[2026-07-13 15:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b00dcb8012d7f914005afd9380019011b24..."} 
[2026-07-13 15:56:12] local.INFO: Processing buffer {"connection_id":130413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b00dcb8012d7f914005afd9380019011b24..."} 
[2026-07-13 15:56:12] local.INFO: Packet analysis {"connection_id":130413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b00"} 
[2026-07-13 15:56:12] local.INFO: Extracted packet for processing {"connection_id":130413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b00"} 
[2026-07-13 15:56:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688104960001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783938211000,"timestamp_ms":1783938211000,"timestamp_seconds":1783938211,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b00dcb8"} 
[2026-07-13 15:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688104960001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688104960001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:56:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:56:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688104960001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":130413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:56:12] local.INFO: GPS data processed {"connection_id":130413,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:56:12] local.INFO: Acknowledgment sent {"connection_id":130413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:56:34] local.INFO: TCP Data received {"connection_id":130637,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:56:34] local.INFO: Processing buffer {"connection_id":130637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:56:34] local.INFO: IMEI packet received {"connection_id":130637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":130637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:56:34] local.INFO: TCP Data received {"connection_id":131456,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b02a5c0012d7a238005ebf8b0000000791d..."} 
[2026-07-13 15:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b02a5c0012d7a238005ebf8b0000000791d..."} 
[2026-07-13 15:56:34] local.INFO: Processing buffer {"connection_id":131456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b02a5c0012d7a238005ebf8b0000000791d..."} 
[2026-07-13 15:56:34] local.INFO: Packet analysis {"connection_id":131456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b02"} 
[2026-07-13 15:56:34] local.INFO: Extracted packet for processing {"connection_id":131456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b02"} 
[2026-07-13 15:56:34] local.INFO: GPS Element Parsed {"raw_longitude":762979200,"raw_latitude":99350704,"longitude_deg":76.29792,"latitude_deg":9.9350704,"altitude":0,"angle":121,"satellites":29,"speed":2,"hex_longitude":"2d7a2380","hex_latitude":"05ebf8b0","is_valid_coordinates":true} 
[2026-07-13 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-07-13 15:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688210944001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105795923652640768,"note":"Value kept but may cause issues"} 
[2026-07-13 15:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800737384757614592,"note":"Value kept but may cause issues"} 
[2026-07-13 15:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783938328000,"timestamp_ms":1783938328000,"timestamp_seconds":1783938328,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b02a5c0"} 
[2026-07-13 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-07-13 15:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 15:56: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-07-13 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-07-13 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-07-13 15:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":131456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":131456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":131456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688210944001,"66":13091,"156":206,"87":13824,"24":2,"16":105795923652640768,"45":8800737384757614592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-13 15:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688210944001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:56:34] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-13 15:56:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105795923652640768,"km_value":105795923652640.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800737384757614592,"description":"Unknown IO ID 45"} 
[2026-07-13 15:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688210944001,"power":13091,"unknown_156":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8800737384757614592}} 
[2026-07-13 15:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":131456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:56:34] local.INFO: GPS data processed {"connection_id":131456,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:56:34] local.INFO: Acknowledgment sent {"connection_id":131456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:56:39] local.INFO: TCP Data received {"connection_id":130637,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:56:39] local.INFO: Processing buffer {"connection_id":130637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:56:39] local.INFO: IMEI packet received {"connection_id":130637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":130637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:56:41] local.INFO: TCP Data received {"connection_id":130637,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b00dcb8012d7f914005afd9380019011b24..."} 
[2026-07-13 15:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b00dcb8012d7f914005afd9380019011b24..."} 
[2026-07-13 15:56:41] local.INFO: Processing buffer {"connection_id":130637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b00dcb8012d7f914005afd9380019011b24..."} 
[2026-07-13 15:56:41] local.INFO: Packet analysis {"connection_id":130637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b00"} 
[2026-07-13 15:56:41] local.INFO: Extracted packet for processing {"connection_id":130637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b00"} 
[2026-07-13 15:56:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688104960001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783938211000,"timestamp_ms":1783938211000,"timestamp_seconds":1783938211,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b00dcb8"} 
[2026-07-13 15:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688104960001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688104960001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:56:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688104960001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":130637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:56:41] local.INFO: GPS data processed {"connection_id":130637,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:56:41] local.INFO: Acknowledgment sent {"connection_id":130637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:56:58] local.INFO: TCP Data received {"connection_id":132781,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132781,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:56:58] local.INFO: Processing buffer {"connection_id":132781,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:56:58] local.INFO: IMEI packet received {"connection_id":132781,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":132781,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:57:03] local.INFO: TCP Data received {"connection_id":132781,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132781,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:57:03] local.INFO: Processing buffer {"connection_id":132781,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:57:03] local.INFO: IMEI packet received {"connection_id":132781,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":132781,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:57:04] local.INFO: TCP Data received {"connection_id":132781,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b02c118012d7a23c005ebf880000000921c..."} 
[2026-07-13 15:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b02c118012d7a23c005ebf880000000921c..."} 
[2026-07-13 15:57:04] local.INFO: Processing buffer {"connection_id":132781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b02c118012d7a23c005ebf880000000921c..."} 
[2026-07-13 15:57:04] local.INFO: Packet analysis {"connection_id":132781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b02"} 
[2026-07-13 15:57:04] local.INFO: Extracted packet for processing {"connection_id":132781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b02"} 
[2026-07-13 15:57:04] local.INFO: GPS Element Parsed {"raw_longitude":762979264,"raw_latitude":99350656,"longitude_deg":76.2979264,"latitude_deg":9.9350656,"altitude":0,"angle":146,"satellites":28,"speed":4,"hex_longitude":"2d7a23c0","hex_latitude":"05ebf880","is_valid_coordinates":true} 
[2026-07-13 15:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688211968001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105795927947608064,"note":"Value kept but may cause issues"} 
[2026-07-13 15:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801018859734216704,"note":"Value kept but may cause issues"} 
[2026-07-13 15:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783938335000,"timestamp_ms":1783938335000,"timestamp_seconds":1783938335,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b02c118"} 
[2026-07-13 15:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-13 15:57: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-07-13 15:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688211968001,"66":13189,"156":206,"87":13824,"24":4,"16":105795927947608064,"45":8801018859734216704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-13 15:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688211968001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:57:04] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-13 15:57:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105795927947608064,"km_value":105795927947608.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801018859734216704,"description":"Unknown IO ID 45"} 
[2026-07-13 15:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688211968001,"power":13189,"unknown_156":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8801018859734216704}} 
[2026-07-13 15:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":132781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:57:04] local.INFO: GPS data processed {"connection_id":132781,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:57:04] local.INFO: Acknowledgment sent {"connection_id":132781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:57:12] local.INFO: TCP Data received {"connection_id":130637,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b00dcb8012d7f914005afd9380019011b24..."} 
[2026-07-13 15:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b00dcb8012d7f914005afd9380019011b24..."} 
[2026-07-13 15:57:12] local.INFO: Processing buffer {"connection_id":130637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b00dcb8012d7f914005afd9380019011b24..."} 
[2026-07-13 15:57:12] local.INFO: Packet analysis {"connection_id":130637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b00"} 
[2026-07-13 15:57:12] local.INFO: Extracted packet for processing {"connection_id":130637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b00"} 
[2026-07-13 15:57:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688104960001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783938211000,"timestamp_ms":1783938211000,"timestamp_seconds":1783938211,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b00dcb8"} 
[2026-07-13 15:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688104960001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688104960001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:57:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:57:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688104960001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":130637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:57:12] local.INFO: GPS data processed {"connection_id":130637,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:57:12] local.INFO: Acknowledgment sent {"connection_id":130637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:57:34] local.INFO: TCP Data received {"connection_id":132782,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:57:34] local.INFO: Processing buffer {"connection_id":132782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:57:34] local.INFO: IMEI packet received {"connection_id":132782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":132782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:57:39] local.INFO: TCP Data received {"connection_id":132782,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:57:39] local.INFO: Processing buffer {"connection_id":132782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:57:39] local.INFO: IMEI packet received {"connection_id":132782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":132782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:57:40] local.INFO: TCP Data received {"connection_id":132782,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b00dcb8012d7f914005afd9380019011b24..."} 
[2026-07-13 15:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b00dcb8012d7f914005afd9380019011b24..."} 
[2026-07-13 15:57:40] local.INFO: Processing buffer {"connection_id":132782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b00dcb8012d7f914005afd9380019011b24..."} 
[2026-07-13 15:57:40] local.INFO: Packet analysis {"connection_id":132782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b00"} 
[2026-07-13 15:57:40] local.INFO: Extracted packet for processing {"connection_id":132782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b00"} 
[2026-07-13 15:57:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688104960001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783938211000,"timestamp_ms":1783938211000,"timestamp_seconds":1783938211,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b00dcb8"} 
[2026-07-13 15:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688104960001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688104960001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:57:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:57:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688104960001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":132782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:57:40] local.INFO: GPS data processed {"connection_id":132782,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:57:40] local.INFO: Acknowledgment sent {"connection_id":132782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:57:44] local.INFO: TCP Data received {"connection_id":132781,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b044ba0012d7a5a0005eb97300000005121..."} 
[2026-07-13 15:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b044ba0012d7a5a0005eb97300000005121..."} 
[2026-07-13 15:57:44] local.INFO: Processing buffer {"connection_id":132781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b044ba0012d7a5a0005eb97300000005121..."} 
[2026-07-13 15:57:44] local.INFO: Packet analysis {"connection_id":132781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b04"} 
[2026-07-13 15:57:44] local.INFO: Extracted packet for processing {"connection_id":132781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b04"} 
[2026-07-13 15:57:44] local.INFO: GPS Element Parsed {"raw_longitude":762993152,"raw_latitude":99325744,"longitude_deg":76.2993152,"latitude_deg":9.9325744,"altitude":0,"angle":81,"satellites":33,"speed":19,"hex_longitude":"2d7a5a00","hex_latitude":"05eb9730","is_valid_coordinates":true} 
[2026-07-13 15:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688239360001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105797375351586816,"note":"Value kept but may cause issues"} 
[2026-07-13 15:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815796296005117952,"note":"Value kept but may cause issues"} 
[2026-07-13 15:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783938436000,"timestamp_ms":1783938436000,"timestamp_seconds":1783938436,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b044ba0"} 
[2026-07-13 15:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 15:57:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688239360001,"66":13243,"163":206,"87":13824,"24":19,"16":105797375351586816,"45":8815796296005117952},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-13 15:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688239360001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:57:44] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-13 15:57:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105797375351586816,"km_value":105797375351586.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815796296005117952,"description":"Unknown IO ID 45"} 
[2026-07-13 15:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688239360001,"power":13243,"unknown_163":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8815796296005117952}} 
[2026-07-13 15:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":132781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480480,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:57:44] local.INFO: GPS data processed {"connection_id":132781,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:57:44] local.INFO: Acknowledgment sent {"connection_id":132781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:57:58] local.INFO: TCP Data received {"connection_id":130414,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:57:58] local.INFO: Processing buffer {"connection_id":130414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:57:58] local.INFO: IMEI packet received {"connection_id":130414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":130414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:58:01] local.INFO: TCP Data received {"connection_id":130414,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:58:01] local.INFO: Processing buffer {"connection_id":130414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:58:01] local.INFO: IMEI packet received {"connection_id":130414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":130414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:58:03] local.INFO: TCP Data received {"connection_id":130414,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:58:03] local.INFO: Processing buffer {"connection_id":130414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:58:03] local.INFO: IMEI packet received {"connection_id":130414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":130414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:58:03] local.INFO: TCP Data received {"connection_id":130414,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b044f88012d7a5c4005eb97d00000004622..."} 
[2026-07-13 15:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b044f88012d7a5c4005eb97d00000004622..."} 
[2026-07-13 15:58:03] local.INFO: Processing buffer {"connection_id":130414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b044f88012d7a5c4005eb97d00000004622..."} 
[2026-07-13 15:58:03] local.INFO: Packet analysis {"connection_id":130414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b04"} 
[2026-07-13 15:58:03] local.INFO: Extracted packet for processing {"connection_id":130414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b04"} 
[2026-07-13 15:58:03] local.INFO: GPS Element Parsed {"raw_longitude":762993728,"raw_latitude":99325904,"longitude_deg":76.2993728,"latitude_deg":9.9325904,"altitude":0,"angle":70,"satellites":34,"speed":22,"hex_longitude":"2d7a5c40","hex_latitude":"05eb97d0","is_valid_coordinates":true} 
[2026-07-13 15:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688239616001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105797401121390592,"note":"Value kept but may cause issues"} 
[2026-07-13 15:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816359245958557696,"note":"Value kept but may cause issues"} 
[2026-07-13 15:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783938437000,"timestamp_ms":1783938437000,"timestamp_seconds":1783938437,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b044f88"} 
[2026-07-13 15:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 15:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":130414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":130414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":130414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688239616001,"66":13243,"163":206,"87":13824,"24":22,"16":105797401121390592,"45":8816359245958557696},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-13 15:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688239616001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:58:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-13 15:58:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105797401121390592,"km_value":105797401121390.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816359245958557696,"description":"Unknown IO ID 45"} 
[2026-07-13 15:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688239616001,"power":13243,"unknown_163":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8816359245958557696}} 
[2026-07-13 15:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":130414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:58:04] local.INFO: GPS data processed {"connection_id":130414,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:58:04] local.INFO: Acknowledgment sent {"connection_id":130414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:58:11] local.INFO: TCP Data received {"connection_id":132782,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b00dcb8012d7f914005afd9380019011b24..."} 
[2026-07-13 15:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b00dcb8012d7f914005afd9380019011b24..."} 
[2026-07-13 15:58:11] local.INFO: Processing buffer {"connection_id":132782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b00dcb8012d7f914005afd9380019011b24..."} 
[2026-07-13 15:58:11] local.INFO: Packet analysis {"connection_id":132782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b00"} 
[2026-07-13 15:58:11] local.INFO: Extracted packet for processing {"connection_id":132782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b00"} 
[2026-07-13 15:58:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688104960001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783938211000,"timestamp_ms":1783938211000,"timestamp_seconds":1783938211,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b00dcb8"} 
[2026-07-13 15:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688104960001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688104960001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:58:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:58:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688104960001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":132782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:58:11] local.INFO: GPS data processed {"connection_id":132782,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:58:11] local.INFO: Acknowledgment sent {"connection_id":132782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:58:34] local.INFO: TCP Data received {"connection_id":131457,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:58:34] local.INFO: Processing buffer {"connection_id":131457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:58:34] local.INFO: IMEI packet received {"connection_id":131457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":131457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:58:36] local.INFO: TCP Data received {"connection_id":130414,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b047e68012d7a804005eba3a80000004824..."} 
[2026-07-13 15:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b047e68012d7a804005eba3a80000004824..."} 
[2026-07-13 15:58:36] local.INFO: Processing buffer {"connection_id":130414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b047e68012d7a804005eba3a80000004824..."} 
[2026-07-13 15:58:36] local.INFO: Packet analysis {"connection_id":130414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b04"} 
[2026-07-13 15:58:36] local.INFO: Extracted packet for processing {"connection_id":130414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b04"} 
[2026-07-13 15:58:36] local.INFO: GPS Element Parsed {"raw_longitude":763002944,"raw_latitude":99328936,"longitude_deg":76.3002944,"latitude_deg":9.9328936,"altitude":0,"angle":72,"satellites":36,"speed":34,"hex_longitude":"2d7a8040","hex_latitude":"05eba3a8","is_valid_coordinates":true} 
[2026-07-13 15:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688239872001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105797864977858560,"note":"Value kept but may cause issues"} 
[2026-07-13 15:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816992564656197632,"note":"Value kept but may cause issues"} 
[2026-07-13 15:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783938449000,"timestamp_ms":1783938449000,"timestamp_seconds":1783938449,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b047e68"} 
[2026-07-13 15:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 15:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":130414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":130414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":130414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688239872001,"66":13341,"163":206,"87":13824,"24":34,"16":105797864977858560,"45":8816992564656197632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-13 15:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688239872001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:58:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-13 15:58:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105797864977858560,"km_value":105797864977858.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816992564656197632,"description":"Unknown IO ID 45"} 
[2026-07-13 15:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688239872001,"power":13341,"unknown_163":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8816992564656197632}} 
[2026-07-13 15:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":130414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:58:36] local.INFO: GPS data processed {"connection_id":130414,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:58:36] local.INFO: Acknowledgment sent {"connection_id":130414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:58:39] local.INFO: TCP Data received {"connection_id":131457,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:58:39] local.INFO: Processing buffer {"connection_id":131457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:58:39] local.INFO: IMEI packet received {"connection_id":131457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":131457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:58:40] local.INFO: TCP Data received {"connection_id":131457,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b00dcb8012d7f914005afd9380019011b24..."} 
[2026-07-13 15:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b00dcb8012d7f914005afd9380019011b24..."} 
[2026-07-13 15:58:40] local.INFO: Processing buffer {"connection_id":131457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b00dcb8012d7f914005afd9380019011b24..."} 
[2026-07-13 15:58:40] local.INFO: Packet analysis {"connection_id":131457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b00"} 
[2026-07-13 15:58:40] local.INFO: Extracted packet for processing {"connection_id":131457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b00"} 
[2026-07-13 15:58:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688104960001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783938211000,"timestamp_ms":1783938211000,"timestamp_seconds":1783938211,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b00dcb8"} 
[2026-07-13 15:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688104960001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688104960001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:58:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:58:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688104960001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":131457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:58:40] local.INFO: GPS data processed {"connection_id":131457,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:58:40] local.INFO: Acknowledgment sent {"connection_id":131457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:59:11] local.INFO: TCP Data received {"connection_id":131457,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 15:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 15:59:11] local.INFO: Processing buffer {"connection_id":131457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 15:59:11] local.INFO: Packet analysis {"connection_id":131457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b05"} 
[2026-07-13 15:59:11] local.INFO: Extracted packet for processing {"connection_id":131457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b05"} 
[2026-07-13 15:59:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688182016001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783938512000,"timestamp_ms":1783938512000,"timestamp_seconds":1783938512,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b057480"} 
[2026-07-13 15:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688182016001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688182016001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:59:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:59:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688182016001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":131457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:59:11] local.INFO: GPS data processed {"connection_id":131457,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:59:11] local.INFO: Acknowledgment sent {"connection_id":131457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:59:19] local.INFO: TCP Data received {"connection_id":130415,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:59:19] local.INFO: Processing buffer {"connection_id":130415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:59:19] local.INFO: IMEI packet received {"connection_id":130415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":130415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:59:20] local.INFO: TCP Data received {"connection_id":130415,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130415,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:59:20] local.INFO: Processing buffer {"connection_id":130415,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:59:20] local.INFO: IMEI packet received {"connection_id":130415,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 15:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":130415,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:59:21] local.INFO: TCP Data received {"connection_id":130415,"ip":"42.106.6.15","data_length":717,"data_hex":"00000000000002c18e090000019f5b04a578012d7aa30005ebb0980000004523..."} 
[2026-07-13 15:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130415,"packet_length":717,"packet_hex":"00000000000002c18e090000019f5b04a578012d7aa30005ebb0980000004523..."} 
[2026-07-13 15:59:21] local.INFO: Processing buffer {"connection_id":130415,"buffer_length":717,"buffer_hex":"00000000000002c18e090000019f5b04a578012d7aa30005ebb0980000004523..."} 
[2026-07-13 15:59:21] local.INFO: Packet analysis {"connection_id":130415,"data_field_length":705,"total_packet_length":717,"buffer_length":717,"packet_hex_start":"00000000000002c18e090000019f5b04"} 
[2026-07-13 15:59:21] local.INFO: Extracted packet for processing {"connection_id":130415,"packet_length":717,"remaining_buffer_length":0,"packet_hex_start":"00000000000002c18e090000019f5b04"} 
[2026-07-13 15:59:21] local.INFO: GPS Element Parsed {"raw_longitude":763011840,"raw_latitude":99332248,"longitude_deg":76.301184,"latitude_deg":9.9332248,"altitude":0,"angle":69,"satellites":35,"speed":36,"hex_longitude":"2d7aa300","hex_latitude":"05ebb098","is_valid_coordinates":true} 
[2026-07-13 15:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":717,"current_offset":40} 
[2026-07-13 15:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688242944001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105798320244391936,"note":"Value kept but may cause issues"} 
[2026-07-13 15:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8827125663818557440,"note":"Value kept but may cause issues"} 
[2026-07-13 15:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783938459000,"timestamp_ms":1783938459000,"timestamp_seconds":1783938459,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b04a578"} 
[2026-07-13 15:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":9,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":717,"current_offset":136} 
[2026-07-13 15:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":717,"available_bytes":581,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":717,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":9,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:59:21] local.INFO: AVL Records parsing completed {"total_expected":9,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":130415,"avl_records_parsed":1,"avl_records_expected":9,"crc_valid":false} 
[2026-07-13 15:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":130415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":130415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688242944001,"66":13167,"163":206,"87":13824,"24":36,"16":105798320244391936,"45":8827125663818557440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-13 15:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688242944001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:59:21] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-13 15:59:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105798320244391936,"km_value":105798320244391.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8827125663818557440,"description":"Unknown IO ID 45"} 
[2026-07-13 15:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688242944001,"power":13167,"unknown_163":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8827125663818557440}} 
[2026-07-13 15:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":130415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480486,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:59:21] local.INFO: GPS data processed {"connection_id":130415,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:59:21] local.INFO: Acknowledgment sent {"connection_id":130415,"records_acknowledged":1,"records_expected":9,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:59:22] local.INFO: TCP Data received {"connection_id":130415,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b04cc88012d7ac48005ebbef80000004125..."} 
[2026-07-13 15:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b04cc88012d7ac48005ebbef80000004125..."} 
[2026-07-13 15:59:22] local.INFO: Processing buffer {"connection_id":130415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b04cc88012d7ac48005ebbef80000004125..."} 
[2026-07-13 15:59:22] local.INFO: Packet analysis {"connection_id":130415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b04"} 
[2026-07-13 15:59:22] local.INFO: Extracted packet for processing {"connection_id":130415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b04"} 
[2026-07-13 15:59:22] local.INFO: GPS Element Parsed {"raw_longitude":763020416,"raw_latitude":99335928,"longitude_deg":76.3020416,"latitude_deg":9.9335928,"altitude":0,"angle":65,"satellites":37,"speed":34,"hex_longitude":"2d7ac480","hex_latitude":"05ebbef8","is_valid_coordinates":true} 
[2026-07-13 15:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688245504001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105798766920990720,"note":"Value kept but may cause issues"} 
[2026-07-13 15:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836906919260100608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783938469000,"timestamp_ms":1783938469000,"timestamp_seconds":1783938469,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b04cc88"} 
[2026-07-13 15:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 15:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-13 15:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130415,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 15:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 15:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 15:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688245504001,"66":13243,"156":206,"87":13824,"24":34,"16":105798766920990720,"45":8836906919260100608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-13 15:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 15:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 15:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688245504001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:59:22] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-13 15:59:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 15:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105798766920990720,"km_value":105798766920990.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836906919260100608,"description":"Unknown IO ID 45"} 
[2026-07-13 15:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688245504001,"power":13243,"unknown_156":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8836906919260100608}} 
[2026-07-13 15:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":130415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480487,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:59:22] local.INFO: GPS data processed {"connection_id":130415,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:59:22] local.INFO: Acknowledgment sent {"connection_id":130415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:59:39] local.INFO: TCP Data received {"connection_id":131458,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:59:39] local.INFO: Processing buffer {"connection_id":131458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:59:39] local.INFO: IMEI packet received {"connection_id":131458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 15:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":131458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 15:59:44] local.INFO: TCP Data received {"connection_id":131458,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:59:44] local.INFO: Processing buffer {"connection_id":131458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 15:59:44] local.INFO: IMEI packet received {"connection_id":131458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 15:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":131458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 15:59:45] local.INFO: TCP Data received {"connection_id":131458,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 15:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 15:59:45] local.INFO: Processing buffer {"connection_id":131458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 15:59:45] local.INFO: Packet analysis {"connection_id":131458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b05"} 
[2026-07-13 15:59:45] local.INFO: Extracted packet for processing {"connection_id":131458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b05"} 
[2026-07-13 15:59:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 15:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 15:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688182016001,"note":"Value kept but may cause issues"} 
[2026-07-13 15:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 15:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 15:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 15:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783938512000,"timestamp_ms":1783938512000,"timestamp_seconds":1783938512,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b057480"} 
[2026-07-13 15:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 15:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 15:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 15:59:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 15:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 15:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 15:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 15:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 15:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 15:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 15:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 15:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 15:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688182016001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 15:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 15:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 15:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688182016001,"description":"Unknown IO ID 0"} 
[2026-07-13 15:59:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 15:59:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 15:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 15:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 15:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688182016001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 15:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":131458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 15:59:45] local.INFO: GPS data processed {"connection_id":131458,"processed":1,"errors":0,"total":1} 
[2026-07-13 15:59:45] local.INFO: Acknowledgment sent {"connection_id":131458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 15:59:58] local.INFO: TCP Data received {"connection_id":132783,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:59:58] local.INFO: Processing buffer {"connection_id":132783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 15:59:58] local.INFO: IMEI packet received {"connection_id":132783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 15:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":132783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:00:00] local.INFO: TCP Data received {"connection_id":132783,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:00:00] local.INFO: Processing buffer {"connection_id":132783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:00:00] local.INFO: IMEI packet received {"connection_id":132783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":132783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:00:01] local.INFO: TCP Data received {"connection_id":132783,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b04f398012d7ae50005ebce880003003f28..."} 
[2026-07-13 16:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b04f398012d7ae50005ebce880003003f28..."} 
[2026-07-13 16:00:01] local.INFO: Processing buffer {"connection_id":132783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b04f398012d7ae50005ebce880003003f28..."} 
[2026-07-13 16:00:01] local.INFO: Packet analysis {"connection_id":132783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b04"} 
[2026-07-13 16:00:01] local.INFO: Extracted packet for processing {"connection_id":132783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b04"} 
[2026-07-13 16:00:01] local.INFO: GPS Element Parsed {"raw_longitude":763028736,"raw_latitude":99339912,"longitude_deg":76.3028736,"latitude_deg":9.9339912,"altitude":3,"angle":63,"satellites":40,"speed":34,"hex_longitude":"2d7ae500","hex_latitude":"05ebce88","is_valid_coordinates":true} 
[2026-07-13 16:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688248064001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105799209302622208,"note":"Value kept but may cause issues"} 
[2026-07-13 16:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8846336330980849664,"note":"Value kept but may cause issues"} 
[2026-07-13 16:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783938479000,"timestamp_ms":1783938479000,"timestamp_seconds":1783938479,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b04f398"} 
[2026-07-13 16:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16: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-07-13 16: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 16:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":132783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":132783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":132783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688248064001,"66":13091,"156":206,"87":13824,"24":34,"16":105799209302622208,"45":8846336330980849664},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-13 16:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688248064001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:00:01] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-13 16:00:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105799209302622208,"km_value":105799209302622.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8846336330980849664,"description":"Unknown IO ID 45"} 
[2026-07-13 16:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688248064001,"power":13091,"unknown_156":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8846336330980849664}} 
[2026-07-13 16:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":132783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480489,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:00:02] local.INFO: GPS data processed {"connection_id":132783,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:00:02] local.INFO: Acknowledgment sent {"connection_id":132783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:00:16] local.INFO: TCP Data received {"connection_id":131458,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 16:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 16:00:16] local.INFO: Processing buffer {"connection_id":131458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 16:00:16] local.INFO: Packet analysis {"connection_id":131458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b05"} 
[2026-07-13 16:00:16] local.INFO: Extracted packet for processing {"connection_id":131458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b05"} 
[2026-07-13 16:00:16] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688182016001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783938512000,"timestamp_ms":1783938512000,"timestamp_seconds":1783938512,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b057480"} 
[2026-07-13 16:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:00:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":131458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":131458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":131458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688182016001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688182016001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:00:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:00:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688182016001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":131458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:00:16] local.INFO: GPS data processed {"connection_id":131458,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:00:16] local.INFO: Acknowledgment sent {"connection_id":131458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:00:33] local.INFO: TCP Data received {"connection_id":132783,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b051e90012d7b058005ebde680007003f2c..."} 
[2026-07-13 16:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b051e90012d7b058005ebde680007003f2c..."} 
[2026-07-13 16:00:33] local.INFO: Processing buffer {"connection_id":132783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b051e90012d7b058005ebde680007003f2c..."} 
[2026-07-13 16:00:33] local.INFO: Packet analysis {"connection_id":132783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b05"} 
[2026-07-13 16:00:33] local.INFO: Extracted packet for processing {"connection_id":132783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b05"} 
[2026-07-13 16:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763037056,"raw_latitude":99343976,"longitude_deg":76.3037056,"latitude_deg":9.9343976,"altitude":7,"angle":63,"satellites":44,"speed":25,"hex_longitude":"2d7b0580","hex_latitude":"05ebde68","is_valid_coordinates":true} 
[2026-07-13 16:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688250624001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105799651684253696,"note":"Value kept but may cause issues"} 
[2026-07-13 16:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8855484267724965888,"note":"Value kept but may cause issues"} 
[2026-07-13 16:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783938490000,"timestamp_ms":1783938490000,"timestamp_seconds":1783938490,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b051e90"} 
[2026-07-13 16:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-13 16:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":132783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":132783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":132783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688250624001,"66":13091,"156":206,"87":13824,"24":25,"16":105799651684253696,"45":8855484267724965888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-13 16:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688250624001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:00:33] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-13 16:00:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105799651684253696,"km_value":105799651684253.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8855484267724965888,"description":"Unknown IO ID 45"} 
[2026-07-13 16:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688250624001,"power":13091,"unknown_156":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8855484267724965888}} 
[2026-07-13 16:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":132783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480491,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:00:33] local.INFO: GPS data processed {"connection_id":132783,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:00:33] local.INFO: Acknowledgment sent {"connection_id":132783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:00:35] local.INFO: TCP Data received {"connection_id":132784,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:00:35] local.INFO: Processing buffer {"connection_id":132784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:00:35] local.INFO: IMEI packet received {"connection_id":132784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":132784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:00:39] local.INFO: TCP Data received {"connection_id":132784,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:00:39] local.INFO: Processing buffer {"connection_id":132784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:00:39] local.INFO: IMEI packet received {"connection_id":132784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":132784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:00:40] local.INFO: TCP Data received {"connection_id":132784,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 16:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 16:00:40] local.INFO: Processing buffer {"connection_id":132784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 16:00:40] local.INFO: Packet analysis {"connection_id":132784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b05"} 
[2026-07-13 16:00:40] local.INFO: Extracted packet for processing {"connection_id":132784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b05"} 
[2026-07-13 16:00:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688182016001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783938512000,"timestamp_ms":1783938512000,"timestamp_seconds":1783938512,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b057480"} 
[2026-07-13 16:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688182016001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688182016001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:00:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:00:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688182016001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":132784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:00:40] local.INFO: GPS data processed {"connection_id":132784,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:00:40] local.INFO: Acknowledgment sent {"connection_id":132784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:00:45] local.INFO: TCP Data received {"connection_id":132784,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 16:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 16:00:45] local.INFO: Processing buffer {"connection_id":132784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 16:00:45] local.INFO: Packet analysis {"connection_id":132784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b05"} 
[2026-07-13 16:00:45] local.INFO: Extracted packet for processing {"connection_id":132784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b05"} 
[2026-07-13 16:00:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688182016001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783938512000,"timestamp_ms":1783938512000,"timestamp_seconds":1783938512,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b057480"} 
[2026-07-13 16:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:00:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688182016001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688182016001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:00:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:00:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688182016001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":132784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:00:45] local.INFO: GPS data processed {"connection_id":132784,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:00:45] local.INFO: Acknowledgment sent {"connection_id":132784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:01:01] local.INFO: TCP Data received {"connection_id":132785,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132785,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:01:01] local.INFO: Processing buffer {"connection_id":132785,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:01:01] local.INFO: IMEI packet received {"connection_id":132785,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":132785,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:01:02] local.INFO: TCP Data received {"connection_id":132785,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132785,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:01:02] local.INFO: Processing buffer {"connection_id":132785,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:01:02] local.INFO: IMEI packet received {"connection_id":132785,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":132785,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:01:03] local.INFO: TCP Data received {"connection_id":132785,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132785,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:01:03] local.INFO: Processing buffer {"connection_id":132785,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:01:03] local.INFO: IMEI packet received {"connection_id":132785,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":132785,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:01:04] local.INFO: TCP Data received {"connection_id":132785,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b072a00012d7c8b4005ec37d8000c00572d..."} 
[2026-07-13 16:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b072a00012d7c8b4005ec37d8000c00572d..."} 
[2026-07-13 16:01:04] local.INFO: Processing buffer {"connection_id":132785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b072a00012d7c8b4005ec37d8000c00572d..."} 
[2026-07-13 16:01:04] local.INFO: Packet analysis {"connection_id":132785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b07"} 
[2026-07-13 16:01:04] local.INFO: Extracted packet for processing {"connection_id":132785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b07"} 
[2026-07-13 16:01:04] local.INFO: GPS Element Parsed {"raw_longitude":763136832,"raw_latitude":99366872,"longitude_deg":76.3136832,"latitude_deg":9.9366872,"altitude":12,"angle":87,"satellites":45,"speed":31,"hex_longitude":"2d7c8b40","hex_latitude":"05ec37d8","is_valid_coordinates":true} 
[2026-07-13 16: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-07-13 16:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688284160001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105804612371480576,"note":"Value kept but may cause issues"} 
[2026-07-13 16:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963570658788696064,"note":"Value kept but may cause issues"} 
[2026-07-13 16:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783938624000,"timestamp_ms":1783938624000,"timestamp_seconds":1783938624,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b072a00"} 
[2026-07-13 16:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-13 16:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16: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-07-13 16:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688284160001,"66":13222,"196":206,"87":13824,"24":31,"16":105804612371480576,"45":8963570658788696064},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-07-13 16:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688284160001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:01:04] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-13 16:01:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105804612371480576,"km_value":105804612371480.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963570658788696064,"description":"Unknown IO ID 45"} 
[2026-07-13 16:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688284160001,"power":13222,"unknown_196":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8963570658788696064}} 
[2026-07-13 16:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":132785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480494,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:01:04] local.INFO: GPS data processed {"connection_id":132785,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:01:04] local.INFO: Acknowledgment sent {"connection_id":132785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:01:09] local.INFO: TCP Data received {"connection_id":132785,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0754f8012d7cb00005ec38f8000a00582d..."} 
[2026-07-13 16:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0754f8012d7cb00005ec38f8000a00582d..."} 
[2026-07-13 16:01:09] local.INFO: Processing buffer {"connection_id":132785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0754f8012d7cb00005ec38f8000a00582d..."} 
[2026-07-13 16:01:09] local.INFO: Packet analysis {"connection_id":132785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b07"} 
[2026-07-13 16:01:09] local.INFO: Extracted packet for processing {"connection_id":132785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b07"} 
[2026-07-13 16:01:09] local.INFO: GPS Element Parsed {"raw_longitude":763146240,"raw_latitude":99367160,"longitude_deg":76.314624,"latitude_deg":9.936716,"altitude":10,"angle":88,"satellites":45,"speed":34,"hex_longitude":"2d7cb000","hex_latitude":"05ec38f8","is_valid_coordinates":true} 
[2026-07-13 16:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688287744001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105805059048079360,"note":"Value kept but may cause issues"} 
[2026-07-13 16:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974337076647942144,"note":"Value kept but may cause issues"} 
[2026-07-13 16:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783938635000,"timestamp_ms":1783938635000,"timestamp_seconds":1783938635,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0754f8"} 
[2026-07-13 16:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-13 16:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688287744001,"66":13059,"196":206,"87":13824,"24":34,"16":105805059048079360,"45":8974337076647942144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-07-13 16:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688287744001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:01:09] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-13 16:01:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105805059048079360,"km_value":105805059048079.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974337076647942144,"description":"Unknown IO ID 45"} 
[2026-07-13 16:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688287744001,"power":13059,"unknown_196":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8974337076647942144}} 
[2026-07-13 16:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":132785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480495,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:01:09] local.INFO: GPS data processed {"connection_id":132785,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:01:09] local.INFO: Acknowledgment sent {"connection_id":132785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:01:16] local.INFO: TCP Data received {"connection_id":132784,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 16:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 16:01:16] local.INFO: Processing buffer {"connection_id":132784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 16:01:16] local.INFO: Packet analysis {"connection_id":132784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b05"} 
[2026-07-13 16:01:16] local.INFO: Extracted packet for processing {"connection_id":132784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b05"} 
[2026-07-13 16:01:16] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688182016001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783938512000,"timestamp_ms":1783938512000,"timestamp_seconds":1783938512,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b057480"} 
[2026-07-13 16:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688182016001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688182016001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:01:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:01:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688182016001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":132784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:01:16] local.INFO: GPS data processed {"connection_id":132784,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:01:16] local.INFO: Acknowledgment sent {"connection_id":132784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:01:34] local.INFO: TCP Data received {"connection_id":131459,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:01:34] local.INFO: Processing buffer {"connection_id":131459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:01:34] local.INFO: IMEI packet received {"connection_id":131459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":131459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:01:39] local.INFO: TCP Data received {"connection_id":131459,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:01:39] local.INFO: Processing buffer {"connection_id":131459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:01:39] local.INFO: IMEI packet received {"connection_id":131459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":131459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:01:40] local.INFO: TCP Data received {"connection_id":132785,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b077c08012d7cd34005ec39e80009005b2d..."} 
[2026-07-13 16:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b077c08012d7cd34005ec39e80009005b2d..."} 
[2026-07-13 16:01:40] local.INFO: Processing buffer {"connection_id":132785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b077c08012d7cd34005ec39e80009005b2d..."} 
[2026-07-13 16:01:40] local.INFO: Packet analysis {"connection_id":132785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b07"} 
[2026-07-13 16:01:40] local.INFO: Extracted packet for processing {"connection_id":132785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b07"} 
[2026-07-13 16:01:40] local.INFO: GPS Element Parsed {"raw_longitude":763155264,"raw_latitude":99367400,"longitude_deg":76.3155264,"latitude_deg":9.93674,"altitude":9,"angle":91,"satellites":45,"speed":37,"hex_longitude":"2d7cd340","hex_latitude":"05ec39e8","is_valid_coordinates":true} 
[2026-07-13 16:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688290560001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105805492839776256,"note":"Value kept but may cause issues"} 
[2026-07-13 16:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984681282042132480,"note":"Value kept but may cause issues"} 
[2026-07-13 16:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783938645000,"timestamp_ms":1783938645000,"timestamp_seconds":1783938645,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b077c08"} 
[2026-07-13 16:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-13 16:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160630496597,"note":"Value kept but may cause issues"} 
[2026-07-13 16:01:40] local.WARNING: Large IO value detected {"io_id":196,"raw_value":58079734643818532,"note":"Value kept but may cause issues"} 
[2026-07-13 16:01:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 16:01:40] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3925868544,"note":"Value kept but may cause issues"} 
[2026-07-13 16:01:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1438908622,"corrected_to":0} 
[2026-07-13 16:01:40] local.WARNING: Large IO value detected {"io_id":110,"raw_value":2147560827,"note":"Value kept but may cause issues"} 
[2026-07-13 16:01:40] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":2147871794,"corrected_to":0} 
[2026-07-13 16:01:40] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718549,"note":"Value kept but may cause issues"} 
[2026-07-13 16:01:40] local.WARNING: Large IO value detected {"io_id":119,"raw_value":3809935360,"note":"Value kept but may cause issues"} 
[2026-07-13 16:01:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3962279936,"note":"Value kept but may cause issues"} 
[2026-07-13 16:01:40] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,196,87,24,241,157,16,229,159,42,45,64,55,12,10,66,228,243,54,14,128,1,240,46,227,91,236,4,113,205,34,110,247,112,239,49,2,119,5,17,36],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1438908622,"validated":0},{"io_id":247,"original":2147871794,"validated":0}]} 
[2026-07-13 16:01:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720672890678280192,"timestamp_seconds":720672890678280.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 16:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688290560001,"66":13124,"198":206,"87":13824,"24":37,"16":105805492839776256,"45":8984681282042132480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-13 16:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688290560001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:01:40] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-13 16:01:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105805492839776256,"km_value":105805492839776.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984681282042132480,"description":"Unknown IO ID 45"} 
[2026-07-13 16:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688290560001,"power":13124,"unknown_198":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8984681282042132480}} 
[2026-07-13 16:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":132785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480497,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:01:40] local.INFO: GPS data processed {"connection_id":132785,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:01:40] local.INFO: Acknowledgment sent {"connection_id":132785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:01:40] local.INFO: TCP Data received {"connection_id":131459,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 16:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 16:01:40] local.INFO: Processing buffer {"connection_id":131459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 16:01:40] local.INFO: Packet analysis {"connection_id":131459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b05"} 
[2026-07-13 16:01:40] local.INFO: Extracted packet for processing {"connection_id":131459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b05"} 
[2026-07-13 16:01:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688182016001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783938512000,"timestamp_ms":1783938512000,"timestamp_seconds":1783938512,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b057480"} 
[2026-07-13 16:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688182016001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688182016001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:01:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:01:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688182016001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":131459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:01:40] local.INFO: GPS data processed {"connection_id":131459,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:01:40] local.INFO: Acknowledgment sent {"connection_id":131459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:02:00] local.INFO: TCP Data received {"connection_id":130638,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:02:00] local.INFO: Processing buffer {"connection_id":130638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:02:00] local.INFO: IMEI packet received {"connection_id":130638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":130638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:02:03] local.INFO: TCP Data received {"connection_id":130638,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:02:03] local.INFO: Processing buffer {"connection_id":130638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:02:03] local.INFO: IMEI packet received {"connection_id":130638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":130638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:02:04] local.INFO: TCP Data received {"connection_id":130638,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b07a318012d7cfa0005ec3b70000800562e..."} 
[2026-07-13 16:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b07a318012d7cfa0005ec3b70000800562e..."} 
[2026-07-13 16:02:04] local.INFO: Processing buffer {"connection_id":130638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b07a318012d7cfa0005ec3b70000800562e..."} 
[2026-07-13 16:02:04] local.INFO: Packet analysis {"connection_id":130638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b07"} 
[2026-07-13 16:02:04] local.INFO: Extracted packet for processing {"connection_id":130638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b07"} 
[2026-07-13 16:02:04] local.INFO: GPS Element Parsed {"raw_longitude":763165184,"raw_latitude":99367792,"longitude_deg":76.3165184,"latitude_deg":9.9367792,"altitude":8,"angle":86,"satellites":46,"speed":38,"hex_longitude":"2d7cfa00","hex_latitude":"05ec3b70","is_valid_coordinates":true} 
[2026-07-13 16:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688293120001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105805969581146112,"note":"Value kept but may cause issues"} 
[2026-07-13 16:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994603274971244544,"note":"Value kept but may cause issues"} 
[2026-07-13 16:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783938655000,"timestamp_ms":1783938655000,"timestamp_seconds":1783938655,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b07a318"} 
[2026-07-13 16:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-13 16:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688293120001,"66":12722,"198":206,"87":13824,"24":38,"16":105805969581146112,"45":8994603274971244544},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-13 16:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688293120001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:02:04] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-13 16:02:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105805969581146112,"km_value":105805969581146.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994603274971244544,"description":"Unknown IO ID 45"} 
[2026-07-13 16:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688293120001,"power":12722,"unknown_198":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8994603274971244544}} 
[2026-07-13 16:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":130638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480499,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:02:04] local.INFO: GPS data processed {"connection_id":130638,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:02:04] local.INFO: Acknowledgment sent {"connection_id":130638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:02:08] local.INFO: TCP Data received {"connection_id":130638,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b07e968012d7d1cc005ec3ed8000800552a..."} 
[2026-07-13 16:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b07e968012d7d1cc005ec3ed8000800552a..."} 
[2026-07-13 16:02:08] local.INFO: Processing buffer {"connection_id":130638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b07e968012d7d1cc005ec3ed8000800552a..."} 
[2026-07-13 16:02:08] local.INFO: Packet analysis {"connection_id":130638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b07"} 
[2026-07-13 16:02:08] local.INFO: Extracted packet for processing {"connection_id":130638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b07"} 
[2026-07-13 16:02:08] local.INFO: GPS Element Parsed {"raw_longitude":763174080,"raw_latitude":99368664,"longitude_deg":76.317408,"latitude_deg":9.9368664,"altitude":8,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d7d1cc0","hex_latitude":"05ec3ed8","is_valid_coordinates":true} 
[2026-07-13 16:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688295680001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105806399077875712,"note":"Value kept but may cause issues"} 
[2026-07-13 16:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005510430318882816,"note":"Value kept but may cause issues"} 
[2026-07-13 16:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783938673000,"timestamp_ms":1783938673000,"timestamp_seconds":1783938673,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b07e968"} 
[2026-07-13 16:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-13 16:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:02: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-07-13 16:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688295680001,"66":12145,"110":206,"87":13824,"24":0,"16":105806399077875712,"45":9005510430318882816},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-13 16:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688295680001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:02:08] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-13 16:02:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105806399077875712,"km_value":105806399077875.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005510430318882816,"description":"Unknown IO ID 45"} 
[2026-07-13 16:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688295680001,"power":12145,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9005510430318882816}} 
[2026-07-13 16:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":130638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480500,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:02:08] local.INFO: GPS data processed {"connection_id":130638,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:02:08] local.INFO: Acknowledgment sent {"connection_id":130638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:02:11] local.INFO: TCP Data received {"connection_id":131459,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 16:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 16:02:11] local.INFO: Processing buffer {"connection_id":131459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 16:02:11] local.INFO: Packet analysis {"connection_id":131459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b05"} 
[2026-07-13 16:02:11] local.INFO: Extracted packet for processing {"connection_id":131459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b05"} 
[2026-07-13 16:02:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688182016001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783938512000,"timestamp_ms":1783938512000,"timestamp_seconds":1783938512,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b057480"} 
[2026-07-13 16:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688182016001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688182016001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:02:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:02:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688182016001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":131459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:02:11] local.INFO: GPS data processed {"connection_id":131459,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:02:11] local.INFO: Acknowledgment sent {"connection_id":131459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:02:34] local.INFO: TCP Data received {"connection_id":130416,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:02:34] local.INFO: Processing buffer {"connection_id":130416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:02:34] local.INFO: IMEI packet received {"connection_id":130416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":130416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:02:39] local.INFO: TCP Data received {"connection_id":130638,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b07ed50012d7d1d0005ec3eb80008001629..."} 
[2026-07-13 16:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b07ed50012d7d1d0005ec3eb80008001629..."} 
[2026-07-13 16:02:39] local.INFO: Processing buffer {"connection_id":130638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b07ed50012d7d1d0005ec3eb80008001629..."} 
[2026-07-13 16:02:39] local.INFO: Packet analysis {"connection_id":130638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b07"} 
[2026-07-13 16:02:39] local.INFO: Extracted packet for processing {"connection_id":130638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b07"} 
[2026-07-13 16:02:39] local.INFO: GPS Element Parsed {"raw_longitude":763174144,"raw_latitude":99368632,"longitude_deg":76.3174144,"latitude_deg":9.9368632,"altitude":8,"angle":22,"satellites":41,"speed":7,"hex_longitude":"2d7d1d00","hex_latitude":"05ec3eb8","is_valid_coordinates":true} 
[2026-07-13 16:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688300288001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105806403372843008,"note":"Value kept but may cause issues"} 
[2026-07-13 16:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015291685759801344,"note":"Value kept but may cause issues"} 
[2026-07-13 16:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783938674000,"timestamp_ms":1783938674000,"timestamp_seconds":1783938674,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b07ed50"} 
[2026-07-13 16:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 16:02: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-07-13 16:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:02: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-07-13 16:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688300288001,"66":12287,"110":206,"87":13824,"24":7,"16":105806403372843008,"45":9015291685759801344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-13 16:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688300288001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:02:39] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-13 16:02:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105806403372843008,"km_value":105806403372843.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015291685759801344,"description":"Unknown IO ID 45"} 
[2026-07-13 16:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688300288001,"power":12287,"unknown_110":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9015291685759801344}} 
[2026-07-13 16:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":130638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480502,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:02:39] local.INFO: GPS data processed {"connection_id":130638,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:02:39] local.INFO: Acknowledgment sent {"connection_id":130638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:02:39] local.INFO: TCP Data received {"connection_id":130416,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:02:39] local.INFO: Processing buffer {"connection_id":130416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:02:39] local.INFO: IMEI packet received {"connection_id":130416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":130416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:02:40] local.INFO: TCP Data received {"connection_id":130416,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 16:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 16:02:40] local.INFO: Processing buffer {"connection_id":130416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 16:02:40] local.INFO: Packet analysis {"connection_id":130416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b05"} 
[2026-07-13 16:02:40] local.INFO: Extracted packet for processing {"connection_id":130416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b05"} 
[2026-07-13 16:02:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688182016001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783938512000,"timestamp_ms":1783938512000,"timestamp_seconds":1783938512,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b057480"} 
[2026-07-13 16:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688182016001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688182016001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:02:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:02:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688182016001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":130416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:02:40] local.INFO: GPS data processed {"connection_id":130416,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:02:40] local.INFO: Acknowledgment sent {"connection_id":130416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:02:58] local.INFO: TCP Data received {"connection_id":132786,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:02:58] local.INFO: Processing buffer {"connection_id":132786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:02:58] local.INFO: IMEI packet received {"connection_id":132786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":132786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:03:01] local.INFO: TCP Data received {"connection_id":132786,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:03:01] local.INFO: Processing buffer {"connection_id":132786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:03:01] local.INFO: IMEI packet received {"connection_id":132786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":132786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:03:02] local.INFO: TCP Data received {"connection_id":132786,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0929b8012d7c3c8005ec38c0000e010d29..."} 
[2026-07-13 16:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0929b8012d7c3c8005ec38c0000e010d29..."} 
[2026-07-13 16:03:02] local.INFO: Processing buffer {"connection_id":132786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0929b8012d7c3c8005ec38c0000e010d29..."} 
[2026-07-13 16:03:02] local.INFO: Packet analysis {"connection_id":132786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b09"} 
[2026-07-13 16:03:02] local.INFO: Extracted packet for processing {"connection_id":132786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b09"} 
[2026-07-13 16:03:02] local.INFO: GPS Element Parsed {"raw_longitude":763116672,"raw_latitude":99367104,"longitude_deg":76.3116672,"latitude_deg":9.9367104,"altitude":14,"angle":269,"satellites":41,"speed":29,"hex_longitude":"2d7c3c80","hex_latitude":"05ec38c0","is_valid_coordinates":true} 
[2026-07-13 16:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688317952001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105809173626748928,"note":"Value kept but may cause issues"} 
[2026-07-13 16:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962655865114580992,"note":"Value kept but may cause issues"} 
[2026-07-13 16:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783938755000,"timestamp_ms":1783938755000,"timestamp_seconds":1783938755,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0929b8"} 
[2026-07-13 16:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-13 16:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":132786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":132786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":132786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688317952001,"66":13178,"198":206,"87":13824,"24":29,"16":105809173626748928,"45":8962655865114580992},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-13 16:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688317952001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:03:02] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-13 16:03:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105809173626748928,"km_value":105809173626748.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962655865114580992,"description":"Unknown IO ID 45"} 
[2026-07-13 16:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688317952001,"power":13178,"unknown_198":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8962655865114580992}} 
[2026-07-13 16:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":132786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480504,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:03:02] local.INFO: GPS data processed {"connection_id":132786,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:03:02] local.INFO: Acknowledgment sent {"connection_id":132786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:03:11] local.INFO: TCP Data received {"connection_id":130416,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 16:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 16:03:11] local.INFO: Processing buffer {"connection_id":130416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 16:03:11] local.INFO: Packet analysis {"connection_id":130416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b05"} 
[2026-07-13 16:03:11] local.INFO: Extracted packet for processing {"connection_id":130416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b05"} 
[2026-07-13 16:03:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688182016001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783938512000,"timestamp_ms":1783938512000,"timestamp_seconds":1783938512,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b057480"} 
[2026-07-13 16:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688182016001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688182016001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:03:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:03:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688182016001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":130416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:03:11] local.INFO: GPS data processed {"connection_id":130416,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:03:11] local.INFO: Acknowledgment sent {"connection_id":130416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:03:34] local.INFO: TCP Data received {"connection_id":132786,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b095c80012d7c184005ec37b8000b010d25..."} 
[2026-07-13 16:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b095c80012d7c184005ec37b8000b010d25..."} 
[2026-07-13 16:03:34] local.INFO: Processing buffer {"connection_id":132786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b095c80012d7c184005ec37b8000b010d25..."} 
[2026-07-13 16:03:34] local.INFO: Packet analysis {"connection_id":132786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b09"} 
[2026-07-13 16:03:34] local.INFO: Extracted packet for processing {"connection_id":132786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b09"} 
[2026-07-13 16:03:34] local.INFO: GPS Element Parsed {"raw_longitude":763107392,"raw_latitude":99366840,"longitude_deg":76.3107392,"latitude_deg":9.936684,"altitude":11,"angle":269,"satellites":37,"speed":38,"hex_longitude":"2d7c1840","hex_latitude":"05ec37b8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 16:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688321280001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105809620303347712,"note":"Value kept but may cause issues"} 
[2026-07-13 16:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952170922232037376,"note":"Value kept but may cause issues"} 
[2026-07-13 16:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783938768000,"timestamp_ms":1783938768000,"timestamp_seconds":1783938768,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b095c80"} 
[2026-07-13 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-07-13 16:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-13 16:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 16:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":132786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":132786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":132786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688321280001,"66":12961,"198":206,"87":13824,"24":38,"16":105809620303347712,"45":8952170922232037376},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-13 16:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688321280001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:03:34] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-13 16:03:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105809620303347712,"km_value":105809620303347.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952170922232037376,"description":"Unknown IO ID 45"} 
[2026-07-13 16:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688321280001,"power":12961,"unknown_198":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8952170922232037376}} 
[2026-07-13 16:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":132786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:03:34] local.INFO: GPS data processed {"connection_id":132786,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:03:34] local.INFO: Acknowledgment sent {"connection_id":132786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:03:34] local.INFO: TCP Data received {"connection_id":131460,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:03:34] local.INFO: Processing buffer {"connection_id":131460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:03:34] local.INFO: IMEI packet received {"connection_id":131460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":131460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:03:39] local.INFO: TCP Data received {"connection_id":131460,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:03:39] local.INFO: Processing buffer {"connection_id":131460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:03:39] local.INFO: IMEI packet received {"connection_id":131460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":131460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:03:40] local.INFO: TCP Data received {"connection_id":131460,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 16:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 16:03:40] local.INFO: Processing buffer {"connection_id":131460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 16:03:40] local.INFO: Packet analysis {"connection_id":131460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b05"} 
[2026-07-13 16:03:40] local.INFO: Extracted packet for processing {"connection_id":131460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b05"} 
[2026-07-13 16:03:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688182016001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783938512000,"timestamp_ms":1783938512000,"timestamp_seconds":1783938512,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b057480"} 
[2026-07-13 16:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688182016001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688182016001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:03:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:03:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688182016001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":131460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:03:40] local.INFO: GPS data processed {"connection_id":131460,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:03:40] local.INFO: Acknowledgment sent {"connection_id":131460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:03:58] local.INFO: TCP Data received {"connection_id":130639,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130639,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:03:58] local.INFO: Processing buffer {"connection_id":130639,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:03:58] local.INFO: IMEI packet received {"connection_id":130639,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":130639,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:04:03] local.INFO: TCP Data received {"connection_id":130639,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130639,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:04:03] local.INFO: Processing buffer {"connection_id":130639,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:04:03] local.INFO: IMEI packet received {"connection_id":130639,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":130639,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:04:04] local.INFO: TCP Data received {"connection_id":130639,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b098778012d7bf30005ec3698000a010723..."} 
[2026-07-13 16:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b098778012d7bf30005ec3698000a010723..."} 
[2026-07-13 16:04:04] local.INFO: Processing buffer {"connection_id":130639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b098778012d7bf30005ec3698000a010723..."} 
[2026-07-13 16:04:04] local.INFO: Packet analysis {"connection_id":130639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b09"} 
[2026-07-13 16:04:04] local.INFO: Extracted packet for processing {"connection_id":130639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b09"} 
[2026-07-13 16:04:04] local.INFO: GPS Element Parsed {"raw_longitude":763097856,"raw_latitude":99366552,"longitude_deg":76.3097856,"latitude_deg":9.9366552,"altitude":10,"angle":263,"satellites":35,"speed":22,"hex_longitude":"2d7bf300","hex_latitude":"05ec3698","is_valid_coordinates":true} 
[2026-07-13 16:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688324608001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105810075569881088,"note":"Value kept but may cause issues"} 
[2026-07-13 16:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941967454326208512,"note":"Value kept but may cause issues"} 
[2026-07-13 16:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783938779000,"timestamp_ms":1783938779000,"timestamp_seconds":1783938779,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b098778"} 
[2026-07-13 16:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-13 16:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688324608001,"66":12841,"198":206,"87":13824,"24":22,"16":105810075569881088,"45":8941967454326208512},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-13 16:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688324608001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:04:04] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-13 16:04:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105810075569881088,"km_value":105810075569881.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941967454326208512,"description":"Unknown IO ID 45"} 
[2026-07-13 16:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688324608001,"power":12841,"unknown_198":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8941967454326208512}} 
[2026-07-13 16:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":130639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480508,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:04:04] local.INFO: GPS data processed {"connection_id":130639,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:04:04] local.INFO: Acknowledgment sent {"connection_id":130639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:04:11] local.INFO: TCP Data received {"connection_id":131460,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 16:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 16:04:11] local.INFO: Processing buffer {"connection_id":131460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b057480012d7f914005afd938000a011b24..."} 
[2026-07-13 16:04:11] local.INFO: Packet analysis {"connection_id":131460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b05"} 
[2026-07-13 16:04:11] local.INFO: Extracted packet for processing {"connection_id":131460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b05"} 
[2026-07-13 16:04:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688182016001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783938512000,"timestamp_ms":1783938512000,"timestamp_seconds":1783938512,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b057480"} 
[2026-07-13 16:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688182016001,"66":25343,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688182016001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:04:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:04:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688182016001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":131460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:04:11] local.INFO: GPS data processed {"connection_id":131460,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:04:11] local.INFO: Acknowledgment sent {"connection_id":131460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:04:39] local.INFO: TCP Data received {"connection_id":130640,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:04:39] local.INFO: Processing buffer {"connection_id":130640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:04:39] local.INFO: IMEI packet received {"connection_id":130640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":130640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:04:43] local.INFO: TCP Data received {"connection_id":130639,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0a8948012d7c05c005ebb9e80000009d25..."} 
[2026-07-13 16:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0a8948012d7c05c005ebb9e80000009d25..."} 
[2026-07-13 16:04:43] local.INFO: Processing buffer {"connection_id":130639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0a8948012d7c05c005ebb9e80000009d25..."} 
[2026-07-13 16:04:43] local.INFO: Packet analysis {"connection_id":130639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0a"} 
[2026-07-13 16:04:43] local.INFO: Extracted packet for processing {"connection_id":130639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0a"} 
[2026-07-13 16:04:43] local.INFO: GPS Element Parsed {"raw_longitude":763102656,"raw_latitude":99334632,"longitude_deg":76.3102656,"latitude_deg":9.9334632,"altitude":0,"angle":157,"satellites":37,"speed":39,"hex_longitude":"2d7c05c0","hex_latitude":"05ebb9e8","is_valid_coordinates":true} 
[2026-07-13 16:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688341504001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105811802146734080,"note":"Value kept but may cause issues"} 
[2026-07-13 16:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8933452836274857984,"note":"Value kept but may cause issues"} 
[2026-07-13 16:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783938845000,"timestamp_ms":1783938845000,"timestamp_seconds":1783938845,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0a8948"} 
[2026-07-13 16:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:04:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-13 16:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:04:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688341504001,"66":12515,"198":206,"87":13824,"24":39,"16":105811802146734080,"45":8933452836274857984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-13 16:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688341504001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:04:43] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-13 16:04:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105811802146734080,"km_value":105811802146734.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8933452836274857984,"description":"Unknown IO ID 45"} 
[2026-07-13 16:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688341504001,"power":12515,"unknown_198":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":8933452836274857984}} 
[2026-07-13 16:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":130639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480510,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:04:43] local.INFO: GPS data processed {"connection_id":130639,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:04:43] local.INFO: Acknowledgment sent {"connection_id":130639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:04:44] local.INFO: TCP Data received {"connection_id":130640,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:04:44] local.INFO: Processing buffer {"connection_id":130640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:04:44] local.INFO: IMEI packet received {"connection_id":130640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":130640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:04:45] local.INFO: TCP Data received {"connection_id":130640,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0a0c48012d7f914005afd9380000011b27..."} 
[2026-07-13 16:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0a0c48012d7f914005afd9380000011b27..."} 
[2026-07-13 16:04:45] local.INFO: Processing buffer {"connection_id":130640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0a0c48012d7f914005afd9380000011b27..."} 
[2026-07-13 16:04:45] local.INFO: Packet analysis {"connection_id":130640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0a"} 
[2026-07-13 16:04:45] local.INFO: Extracted packet for processing {"connection_id":130640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0a"} 
[2026-07-13 16:04:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688259072001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783938813000,"timestamp_ms":1783938813000,"timestamp_seconds":1783938813,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0a0c48"} 
[2026-07-13 16:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 16:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:04:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688259072001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688259072001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:04:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:04:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688259072001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":130640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:04:45] local.INFO: GPS data processed {"connection_id":130640,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:04:45] local.INFO: Acknowledgment sent {"connection_id":130640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:04:58] local.INFO: TCP Data received {"connection_id":131461,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131461,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:04:58] local.INFO: Processing buffer {"connection_id":131461,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:04:58] local.INFO: IMEI packet received {"connection_id":131461,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":131461,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:05:03] local.INFO: TCP Data received {"connection_id":131461,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131461,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:05:03] local.INFO: Processing buffer {"connection_id":131461,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:05:03] local.INFO: IMEI packet received {"connection_id":131461,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":131461,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:05:04] local.INFO: TCP Data received {"connection_id":131461,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0ab058012d7c144005eb96a0000000a527..."} 
[2026-07-13 16:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0ab058012d7c144005eb96a0000000a527..."} 
[2026-07-13 16:05:04] local.INFO: Processing buffer {"connection_id":131461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0ab058012d7c144005eb96a0000000a527..."} 
[2026-07-13 16:05:04] local.INFO: Packet analysis {"connection_id":131461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0a"} 
[2026-07-13 16:05:04] local.INFO: Extracted packet for processing {"connection_id":131461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0a"} 
[2026-07-13 16:05:04] local.INFO: GPS Element Parsed {"raw_longitude":763106368,"raw_latitude":99325600,"longitude_deg":76.3106368,"latitude_deg":9.93256,"altitude":0,"angle":165,"satellites":39,"speed":33,"hex_longitude":"2d7c1440","hex_latitude":"05eb96a0","is_valid_coordinates":true} 
[2026-07-13 16:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688344320001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105812278888103936,"note":"Value kept but may cause issues"} 
[2026-07-13 16:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936760167248816128,"note":"Value kept but may cause issues"} 
[2026-07-13 16:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783938855000,"timestamp_ms":1783938855000,"timestamp_seconds":1783938855,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0ab058"} 
[2026-07-13 16:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:05: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-07-13 16:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-13 16:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":131461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":131461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":131461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688344320001,"66":13091,"198":206,"87":13824,"24":33,"16":105812278888103936,"45":8936760167248816128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-13 16:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688344320001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:05:04] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-13 16:05:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105812278888103936,"km_value":105812278888103.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936760167248816128,"description":"Unknown IO ID 45"} 
[2026-07-13 16:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688344320001,"power":13091,"unknown_198":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8936760167248816128}} 
[2026-07-13 16:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":131461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:05:04] local.INFO: GPS data processed {"connection_id":131461,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:05:04] local.INFO: Acknowledgment sent {"connection_id":131461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:05:16] local.INFO: TCP Data received {"connection_id":130640,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0a0c48012d7f914005afd9380000011b27..."} 
[2026-07-13 16:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0a0c48012d7f914005afd9380000011b27..."} 
[2026-07-13 16:05:16] local.INFO: Processing buffer {"connection_id":130640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0a0c48012d7f914005afd9380000011b27..."} 
[2026-07-13 16:05:16] local.INFO: Packet analysis {"connection_id":130640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0a"} 
[2026-07-13 16:05:16] local.INFO: Extracted packet for processing {"connection_id":130640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0a"} 
[2026-07-13 16:05:16] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688259072001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783938813000,"timestamp_ms":1783938813000,"timestamp_seconds":1783938813,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0a0c48"} 
[2026-07-13 16:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 16:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688259072001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688259072001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:05:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:05:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688259072001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":130640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:05:16] local.INFO: GPS data processed {"connection_id":130640,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:05:16] local.INFO: Acknowledgment sent {"connection_id":130640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:05:34] local.INFO: TCP Data received {"connection_id":130417,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:05:34] local.INFO: Processing buffer {"connection_id":130417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:05:34] local.INFO: IMEI packet received {"connection_id":130417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":130417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:05:35] local.INFO: TCP Data received {"connection_id":131461,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0bb9f8012d7c3ac005eb09a8000000952a..."} 
[2026-07-13 16:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0bb9f8012d7c3ac005eb09a8000000952a..."} 
[2026-07-13 16:05:35] local.INFO: Processing buffer {"connection_id":131461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0bb9f8012d7c3ac005eb09a8000000952a..."} 
[2026-07-13 16:05:35] local.INFO: Packet analysis {"connection_id":131461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0b"} 
[2026-07-13 16:05:35] local.INFO: Extracted packet for processing {"connection_id":131461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0b"} 
[2026-07-13 16:05:35] local.INFO: GPS Element Parsed {"raw_longitude":763116224,"raw_latitude":99289512,"longitude_deg":76.3116224,"latitude_deg":9.9289512,"altitude":0,"angle":149,"satellites":42,"speed":24,"hex_longitude":"2d7c3ac0","hex_latitude":"05eb09a8","is_valid_coordinates":true} 
[2026-07-13 16:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688363520001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105814125724041216,"note":"Value kept but may cause issues"} 
[2026-07-13 16:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950341334863919104,"note":"Value kept but may cause issues"} 
[2026-07-13 16:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783938923000,"timestamp_ms":1783938923000,"timestamp_seconds":1783938923,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0bb9f8"} 
[2026-07-13 16:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-13 16:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":131461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":131461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":131461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688363520001,"66":12917,"10":206,"87":13824,"24":24,"16":105814125724041216,"45":8950341334863919104},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-13 16:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688363520001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:05:35] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-13 16:05:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105814125724041216,"km_value":105814125724041.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950341334863919104,"description":"Unknown IO ID 45"} 
[2026-07-13 16:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688363520001,"power":12917,"unknown_10":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8950341334863919104}} 
[2026-07-13 16:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":131461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:05:36] local.INFO: GPS data processed {"connection_id":131461,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:05:36] local.INFO: Acknowledgment sent {"connection_id":131461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:05:39] local.INFO: TCP Data received {"connection_id":130417,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:05:39] local.INFO: Processing buffer {"connection_id":130417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:05:39] local.INFO: IMEI packet received {"connection_id":130417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":130417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:05:40] local.INFO: TCP Data received {"connection_id":130417,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0a0c48012d7f914005afd9380000011b27..."} 
[2026-07-13 16:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0a0c48012d7f914005afd9380000011b27..."} 
[2026-07-13 16:05:40] local.INFO: Processing buffer {"connection_id":130417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0a0c48012d7f914005afd9380000011b27..."} 
[2026-07-13 16:05:40] local.INFO: Packet analysis {"connection_id":130417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0a"} 
[2026-07-13 16:05:40] local.INFO: Extracted packet for processing {"connection_id":130417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0a"} 
[2026-07-13 16:05:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688259072001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783938813000,"timestamp_ms":1783938813000,"timestamp_seconds":1783938813,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0a0c48"} 
[2026-07-13 16:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:05: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-07-13 16:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 16:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688259072001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688259072001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:05:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:05:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688259072001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":130417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:05:40] local.INFO: GPS data processed {"connection_id":130417,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:05:40] local.INFO: Acknowledgment sent {"connection_id":130417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:05:58] local.INFO: TCP Data received {"connection_id":132787,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:05:58] local.INFO: Processing buffer {"connection_id":132787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:05:58] local.INFO: IMEI packet received {"connection_id":132787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":132787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:05:59] local.INFO: TCP Data received {"connection_id":132787,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:05:59] local.INFO: Processing buffer {"connection_id":132787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:05:59] local.INFO: IMEI packet received {"connection_id":132787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":132787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:06:04] local.INFO: TCP Data received {"connection_id":132787,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:06:04] local.INFO: Processing buffer {"connection_id":132787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:06:04] local.INFO: IMEI packet received {"connection_id":132787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":132787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:06:05] local.INFO: TCP Data received {"connection_id":132787,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0bbde0012d7c3c0005eb0750000000a12a..."} 
[2026-07-13 16:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0bbde0012d7c3c0005eb0750000000a12a..."} 
[2026-07-13 16:06:05] local.INFO: Processing buffer {"connection_id":132787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0bbde0012d7c3c0005eb0750000000a12a..."} 
[2026-07-13 16:06:05] local.INFO: Packet analysis {"connection_id":132787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0b"} 
[2026-07-13 16:06:05] local.INFO: Extracted packet for processing {"connection_id":132787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0b"} 
[2026-07-13 16:06:05] local.INFO: GPS Element Parsed {"raw_longitude":763116544,"raw_latitude":99288912,"longitude_deg":76.3116544,"latitude_deg":9.9288912,"altitude":0,"angle":161,"satellites":42,"speed":25,"hex_longitude":"2d7c3c00","hex_latitude":"05eb0750","is_valid_coordinates":true} 
[2026-07-13 16:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688364288001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105814160083779584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951678341002930176,"note":"Value kept but may cause issues"} 
[2026-07-13 16:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783938924000,"timestamp_ms":1783938924000,"timestamp_seconds":1783938924,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0bbde0"} 
[2026-07-13 16:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:06: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-07-13 16: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":117,"data_length":795,"current_offset":136} 
[2026-07-13 16:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688364288001,"66":12917,"10":206,"87":13824,"24":25,"16":105814160083779584,"45":8951678341002930176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-13 16:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688364288001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:06:05] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-13 16:06:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105814160083779584,"km_value":105814160083779.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951678341002930176,"description":"Unknown IO ID 45"} 
[2026-07-13 16:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688364288001,"power":12917,"unknown_10":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8951678341002930176}} 
[2026-07-13 16:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":132787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480516,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:06:05] local.INFO: GPS data processed {"connection_id":132787,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:06:05] local.INFO: Acknowledgment sent {"connection_id":132787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:06:11] local.INFO: TCP Data received {"connection_id":130417,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0a0c48012d7f914005afd9380000011b27..."} 
[2026-07-13 16:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0a0c48012d7f914005afd9380000011b27..."} 
[2026-07-13 16:06:11] local.INFO: Processing buffer {"connection_id":130417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0a0c48012d7f914005afd9380000011b27..."} 
[2026-07-13 16:06:11] local.INFO: Packet analysis {"connection_id":130417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0a"} 
[2026-07-13 16:06:11] local.INFO: Extracted packet for processing {"connection_id":130417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0a"} 
[2026-07-13 16:06:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688259072001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783938813000,"timestamp_ms":1783938813000,"timestamp_seconds":1783938813,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0a0c48"} 
[2026-07-13 16:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 16:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688259072001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688259072001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:06:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:06:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688259072001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":130417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:06:11] local.INFO: GPS data processed {"connection_id":130417,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:06:11] local.INFO: Acknowledgment sent {"connection_id":130417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:06:34] local.INFO: TCP Data received {"connection_id":130641,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:06:34] local.INFO: Processing buffer {"connection_id":130641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:06:34] local.INFO: IMEI packet received {"connection_id":130641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":130641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:06:36] local.INFO: TCP Data received {"connection_id":132787,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0bc5b0012d7c3cc005eb01f0000000af2c..."} 
[2026-07-13 16:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0bc5b0012d7c3cc005eb01f0000000af2c..."} 
[2026-07-13 16:06:36] local.INFO: Processing buffer {"connection_id":132787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0bc5b0012d7c3cc005eb01f0000000af2c..."} 
[2026-07-13 16:06:36] local.INFO: Packet analysis {"connection_id":132787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0b"} 
[2026-07-13 16:06:36] local.INFO: Extracted packet for processing {"connection_id":132787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0b"} 
[2026-07-13 16:06:36] local.INFO: GPS Element Parsed {"raw_longitude":763116736,"raw_latitude":99287536,"longitude_deg":76.3116736,"latitude_deg":9.9287536,"altitude":0,"angle":175,"satellites":44,"speed":29,"hex_longitude":"2d7c3cc0","hex_latitude":"05eb01f0","is_valid_coordinates":true} 
[2026-07-13 16:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688364544001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105814224508289024,"note":"Value kept but may cause issues"} 
[2026-07-13 16:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952030184723664896,"note":"Value kept but may cause issues"} 
[2026-07-13 16:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783938926000,"timestamp_ms":1783938926000,"timestamp_seconds":1783938926,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0bc5b0"} 
[2026-07-13 16:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-13 16:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688364544001,"66":13015,"10":206,"87":13824,"24":29,"16":105814224508289024,"45":8952030184723664896},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-13 16:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688364544001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:06:36] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-13 16:06:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105814224508289024,"km_value":105814224508289.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952030184723664896,"description":"Unknown IO ID 45"} 
[2026-07-13 16:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688364544001,"power":13015,"unknown_10":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8952030184723664896}} 
[2026-07-13 16:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":132787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480518,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:06:36] local.INFO: GPS data processed {"connection_id":132787,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:06:36] local.INFO: Acknowledgment sent {"connection_id":132787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:06:39] local.INFO: TCP Data received {"connection_id":130641,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:06:39] local.INFO: Processing buffer {"connection_id":130641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:06:39] local.INFO: IMEI packet received {"connection_id":130641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":130641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:06:40] local.INFO: TCP Data received {"connection_id":130641,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0a0c48012d7f914005afd9380000011b27..."} 
[2026-07-13 16:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0a0c48012d7f914005afd9380000011b27..."} 
[2026-07-13 16:06:40] local.INFO: Processing buffer {"connection_id":130641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0a0c48012d7f914005afd9380000011b27..."} 
[2026-07-13 16:06:40] local.INFO: Packet analysis {"connection_id":130641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0a"} 
[2026-07-13 16:06:40] local.INFO: Extracted packet for processing {"connection_id":130641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0a"} 
[2026-07-13 16:06:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688259072001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783938813000,"timestamp_ms":1783938813000,"timestamp_seconds":1783938813,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0a0c48"} 
[2026-07-13 16:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:06: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-07-13 16:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 16:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688259072001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688259072001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:06:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:06:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688259072001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":130641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:06:40] local.INFO: GPS data processed {"connection_id":130641,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:06:40] local.INFO: Acknowledgment sent {"connection_id":130641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:06:58] local.INFO: TCP Data received {"connection_id":130418,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130418,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:06:58] local.INFO: Processing buffer {"connection_id":130418,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:06:58] local.INFO: IMEI packet received {"connection_id":130418,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":130418,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:07:03] local.INFO: TCP Data received {"connection_id":130418,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130418,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:07:03] local.INFO: Processing buffer {"connection_id":130418,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:07:03] local.INFO: IMEI packet received {"connection_id":130418,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":130418,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:07:04] local.INFO: TCP Data received {"connection_id":130418,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0bf490012d7c3e0005eaddf0000100b22b..."} 
[2026-07-13 16:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0bf490012d7c3e0005eaddf0000100b22b..."} 
[2026-07-13 16:07:04] local.INFO: Processing buffer {"connection_id":130418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0bf490012d7c3e0005eaddf0000100b22b..."} 
[2026-07-13 16:07:04] local.INFO: Packet analysis {"connection_id":130418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0b"} 
[2026-07-13 16:07:04] local.INFO: Extracted packet for processing {"connection_id":130418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0b"} 
[2026-07-13 16:07:04] local.INFO: GPS Element Parsed {"raw_longitude":763117056,"raw_latitude":99278320,"longitude_deg":76.3117056,"latitude_deg":9.927832,"altitude":1,"angle":178,"satellites":43,"speed":21,"hex_longitude":"2d7c3e00","hex_latitude":"05eaddf0","is_valid_coordinates":true} 
[2026-07-13 16:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688365056001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105814675479855104,"note":"Value kept but may cause issues"} 
[2026-07-13 16:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952241290955845632,"note":"Value kept but may cause issues"} 
[2026-07-13 16:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783938938000,"timestamp_ms":1783938938000,"timestamp_seconds":1783938938,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0bf490"} 
[2026-07-13 16:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-13 16:07: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-07-13 16:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688365056001,"66":12885,"10":206,"87":13824,"24":21,"16":105814675479855104,"45":8952241290955845632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-13 16:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688365056001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:07:04] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-13 16:07:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105814675479855104,"km_value":105814675479855.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952241290955845632,"description":"Unknown IO ID 45"} 
[2026-07-13 16:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688365056001,"power":12885,"unknown_10":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8952241290955845632}} 
[2026-07-13 16:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":130418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480520,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:07:04] local.INFO: GPS data processed {"connection_id":130418,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:07:04] local.INFO: Acknowledgment sent {"connection_id":130418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:07:11] local.INFO: TCP Data received {"connection_id":130641,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0a0c48012d7f914005afd9380000011b27..."} 
[2026-07-13 16:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0a0c48012d7f914005afd9380000011b27..."} 
[2026-07-13 16:07:11] local.INFO: Processing buffer {"connection_id":130641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0a0c48012d7f914005afd9380000011b27..."} 
[2026-07-13 16:07:11] local.INFO: Packet analysis {"connection_id":130641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0a"} 
[2026-07-13 16:07:11] local.INFO: Extracted packet for processing {"connection_id":130641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0a"} 
[2026-07-13 16:07:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688259072001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783938813000,"timestamp_ms":1783938813000,"timestamp_seconds":1783938813,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0a0c48"} 
[2026-07-13 16:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 16:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688259072001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688259072001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:07:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:07:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688259072001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":130641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:07:11] local.INFO: GPS data processed {"connection_id":130641,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:07:11] local.INFO: Acknowledgment sent {"connection_id":130641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:07:34] local.INFO: TCP Data received {"connection_id":130419,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:07:34] local.INFO: Processing buffer {"connection_id":130419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:07:34] local.INFO: IMEI packet received {"connection_id":130419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":130419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:07:35] local.INFO: TCP Data received {"connection_id":130418,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0da240012d7ccb0005eaebb8000a005029..."} 
[2026-07-13 16:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0da240012d7ccb0005eaebb8000a005029..."} 
[2026-07-13 16:07:35] local.INFO: Processing buffer {"connection_id":130418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0da240012d7ccb0005eaebb8000a005029..."} 
[2026-07-13 16:07:35] local.INFO: Packet analysis {"connection_id":130418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0d"} 
[2026-07-13 16:07:35] local.INFO: Extracted packet for processing {"connection_id":130418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0d"} 
[2026-07-13 16:07:35] local.INFO: GPS Element Parsed {"raw_longitude":763153152,"raw_latitude":99281848,"longitude_deg":76.3153152,"latitude_deg":9.9281848,"altitude":10,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d7ccb00","hex_latitude":"05eaebb8","is_valid_coordinates":true} 
[2026-07-13 16:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688391168001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105816762833960960,"note":"Value kept but may cause issues"} 
[2026-07-13 16:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984118332066359296,"note":"Value kept but may cause issues"} 
[2026-07-13 16:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783939048000,"timestamp_ms":1783939048000,"timestamp_seconds":1783939048,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0da240"} 
[2026-07-13 16:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-13 16:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688391168001,"66":12798,"8":206,"87":13824,"24":0,"16":105816762833960960,"45":8984118332066359296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-07-13 16:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688391168001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:07:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-13 16:07:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105816762833960960,"km_value":105816762833960.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984118332066359296,"description":"Unknown IO ID 45"} 
[2026-07-13 16:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688391168001,"power":12798,"unknown_8":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8984118332066359296}} 
[2026-07-13 16:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":130418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:07:35] local.INFO: GPS data processed {"connection_id":130418,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:07:35] local.INFO: Acknowledgment sent {"connection_id":130418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:07:39] local.INFO: TCP Data received {"connection_id":130419,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:07:39] local.INFO: Processing buffer {"connection_id":130419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:07:39] local.INFO: IMEI packet received {"connection_id":130419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":130419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:07:40] local.INFO: TCP Data received {"connection_id":130419,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0a0c48012d7f914005afd9380000011b27..."} 
[2026-07-13 16:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0a0c48012d7f914005afd9380000011b27..."} 
[2026-07-13 16:07:40] local.INFO: Processing buffer {"connection_id":130419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0a0c48012d7f914005afd9380000011b27..."} 
[2026-07-13 16:07:40] local.INFO: Packet analysis {"connection_id":130419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0a"} 
[2026-07-13 16:07:40] local.INFO: Extracted packet for processing {"connection_id":130419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0a"} 
[2026-07-13 16:07:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688259072001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783938813000,"timestamp_ms":1783938813000,"timestamp_seconds":1783938813,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0a0c48"} 
[2026-07-13 16:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:07: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-07-13 16:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 16:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688259072001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688259072001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:07:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:07:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688259072001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":130419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:07:40] local.INFO: GPS data processed {"connection_id":130419,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:07:40] local.INFO: Acknowledgment sent {"connection_id":130419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:08:02] local.INFO: TCP Data received {"connection_id":132788,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132788,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:08:02] local.INFO: Processing buffer {"connection_id":132788,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:08:02] local.INFO: IMEI packet received {"connection_id":132788,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":132788,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:08:03] local.INFO: TCP Data received {"connection_id":132788,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132788,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:08:03] local.INFO: Processing buffer {"connection_id":132788,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:08:03] local.INFO: IMEI packet received {"connection_id":132788,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":132788,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:08:08] local.INFO: TCP Data received {"connection_id":132788,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132788,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:08:08] local.INFO: Processing buffer {"connection_id":132788,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:08:08] local.INFO: IMEI packet received {"connection_id":132788,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":132788,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:08:10] local.INFO: TCP Data received {"connection_id":132788,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0da628012d7ccb0005eaebb80009006029..."} 
[2026-07-13 16:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0da628012d7ccb0005eaebb80009006029..."} 
[2026-07-13 16:08:10] local.INFO: Processing buffer {"connection_id":132788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0da628012d7ccb0005eaebb80009006029..."} 
[2026-07-13 16:08:10] local.INFO: Packet analysis {"connection_id":132788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0d"} 
[2026-07-13 16:08:10] local.INFO: Extracted packet for processing {"connection_id":132788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0d"} 
[2026-07-13 16:08:10] local.INFO: GPS Element Parsed {"raw_longitude":763153152,"raw_latitude":99281848,"longitude_deg":76.3153152,"latitude_deg":9.9281848,"altitude":9,"angle":96,"satellites":41,"speed":7,"hex_longitude":"2d7ccb00","hex_latitude":"05eaebb8","is_valid_coordinates":true} 
[2026-07-13 16:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688396288001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105816762833960960,"note":"Value kept but may cause issues"} 
[2026-07-13 16:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992281106391480320,"note":"Value kept but may cause issues"} 
[2026-07-13 16:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783939049000,"timestamp_ms":1783939049000,"timestamp_seconds":1783939049,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0da628"} 
[2026-07-13 16:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-13 16:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688396288001,"66":12798,"8":206,"87":13824,"24":7,"16":105816762833960960,"45":8992281106391480320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-07-13 16:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688396288001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:08:10] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-13 16:08:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105816762833960960,"km_value":105816762833960.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992281106391480320,"description":"Unknown IO ID 45"} 
[2026-07-13 16:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688396288001,"power":12798,"unknown_8":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8992281106391480320}} 
[2026-07-13 16:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":132788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:08:10] local.INFO: GPS data processed {"connection_id":132788,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:08:10] local.INFO: Acknowledgment sent {"connection_id":132788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:08:11] local.INFO: TCP Data received {"connection_id":130419,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0a0c48012d7f914005afd9380000011b27..."} 
[2026-07-13 16:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0a0c48012d7f914005afd9380000011b27..."} 
[2026-07-13 16:08:11] local.INFO: Processing buffer {"connection_id":130419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0a0c48012d7f914005afd9380000011b27..."} 
[2026-07-13 16:08:11] local.INFO: Packet analysis {"connection_id":130419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0a"} 
[2026-07-13 16:08:11] local.INFO: Extracted packet for processing {"connection_id":130419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0a"} 
[2026-07-13 16:08:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688259072001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783938813000,"timestamp_ms":1783938813000,"timestamp_seconds":1783938813,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0a0c48"} 
[2026-07-13 16:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 16:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688259072001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688259072001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:08:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:08:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688259072001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":130419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:08:11] local.INFO: GPS data processed {"connection_id":130419,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:08:11] local.INFO: Acknowledgment sent {"connection_id":130419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:08:39] local.INFO: TCP Data received {"connection_id":132789,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:08:39] local.INFO: Processing buffer {"connection_id":132789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:08:39] local.INFO: IMEI packet received {"connection_id":132789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":132789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:08:41] local.INFO: TCP Data received {"connection_id":132788,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0dadf8012d7ccc8005eaebc8000a005228..."} 
[2026-07-13 16:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0dadf8012d7ccc8005eaebc8000a005228..."} 
[2026-07-13 16:08:41] local.INFO: Processing buffer {"connection_id":132788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0dadf8012d7ccc8005eaebc8000a005228..."} 
[2026-07-13 16:08:41] local.INFO: Packet analysis {"connection_id":132788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0d"} 
[2026-07-13 16:08:41] local.INFO: Extracted packet for processing {"connection_id":132788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0d"} 
[2026-07-13 16:08:41] local.INFO: GPS Element Parsed {"raw_longitude":763153536,"raw_latitude":99281864,"longitude_deg":76.3153536,"latitude_deg":9.9281864,"altitude":10,"angle":82,"satellites":40,"speed":7,"hex_longitude":"2d7ccc80","hex_latitude":"05eaebc8","is_valid_coordinates":true} 
[2026-07-13 16:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688396544001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105816784308797440,"note":"Value kept but may cause issues"} 
[2026-07-13 16:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992281106391480320,"note":"Value kept but may cause issues"} 
[2026-07-13 16:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783939051000,"timestamp_ms":1783939051000,"timestamp_seconds":1783939051,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0dadf8"} 
[2026-07-13 16:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-13 16:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688396544001,"66":12298,"8":206,"87":13824,"24":7,"16":105816784308797440,"45":8992281106391480320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-07-13 16:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688396544001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:08:41] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-13 16:08:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105816784308797440,"km_value":105816784308797.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992281106391480320,"description":"Unknown IO ID 45"} 
[2026-07-13 16:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688396544001,"power":12298,"unknown_8":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8992281106391480320}} 
[2026-07-13 16:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":132788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480526,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:08:41] local.INFO: GPS data processed {"connection_id":132788,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:08:41] local.INFO: Acknowledgment sent {"connection_id":132788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:08:44] local.INFO: TCP Data received {"connection_id":132789,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:08:44] local.INFO: Processing buffer {"connection_id":132789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:08:44] local.INFO: IMEI packet received {"connection_id":132789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":132789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:08:45] local.INFO: TCP Data received {"connection_id":132789,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0a0c48012d7f914005afd9380000011b27..."} 
[2026-07-13 16:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0a0c48012d7f914005afd9380000011b27..."} 
[2026-07-13 16:08:45] local.INFO: Processing buffer {"connection_id":132789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0a0c48012d7f914005afd9380000011b27..."} 
[2026-07-13 16:08:45] local.INFO: Packet analysis {"connection_id":132789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0a"} 
[2026-07-13 16:08:45] local.INFO: Extracted packet for processing {"connection_id":132789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0a"} 
[2026-07-13 16:08:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688259072001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783938813000,"timestamp_ms":1783938813000,"timestamp_seconds":1783938813,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0a0c48"} 
[2026-07-13 16:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 16:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688259072001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688259072001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:08:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:08:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688259072001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":132789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:08:45] local.INFO: GPS data processed {"connection_id":132789,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:08:45] local.INFO: Acknowledgment sent {"connection_id":132789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:08:51] local.INFO: TCP Data received {"connection_id":132789,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0a0c48012d7f914005afd9380000011b27..."} 
[2026-07-13 16:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0a0c48012d7f914005afd9380000011b27..."} 
[2026-07-13 16:08:51] local.INFO: Processing buffer {"connection_id":132789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0a0c48012d7f914005afd9380000011b27..."} 
[2026-07-13 16:08:51] local.INFO: Packet analysis {"connection_id":132789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0a"} 
[2026-07-13 16:08:51] local.INFO: Extracted packet for processing {"connection_id":132789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0a"} 
[2026-07-13 16:08:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688259072001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783938813000,"timestamp_ms":1783938813000,"timestamp_seconds":1783938813,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0a0c48"} 
[2026-07-13 16:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 16:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688259072001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688259072001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:08:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:08:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688259072001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":132789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:08:51] local.INFO: GPS data processed {"connection_id":132789,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:08:51] local.INFO: Acknowledgment sent {"connection_id":132789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:08:58] local.INFO: TCP Data received {"connection_id":131462,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131462,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:08:58] local.INFO: Processing buffer {"connection_id":131462,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:08:58] local.INFO: IMEI packet received {"connection_id":131462,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":131462,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:09:00] local.INFO: TCP Data received {"connection_id":131462,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131462,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:09:00] local.INFO: Processing buffer {"connection_id":131462,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:09:00] local.INFO: IMEI packet received {"connection_id":131462,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":131462,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:09:01] local.INFO: TCP Data received {"connection_id":131462,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0de890012d7ce20005eaedb8000b00602a..."} 
[2026-07-13 16:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0de890012d7ce20005eaedb8000b00602a..."} 
[2026-07-13 16:09:01] local.INFO: Processing buffer {"connection_id":131462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0de890012d7ce20005eaedb8000b00602a..."} 
[2026-07-13 16:09:01] local.INFO: Packet analysis {"connection_id":131462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0d"} 
[2026-07-13 16:09:01] local.INFO: Extracted packet for processing {"connection_id":131462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0d"} 
[2026-07-13 16:09:01] local.INFO: GPS Element Parsed {"raw_longitude":763159040,"raw_latitude":99282360,"longitude_deg":76.315904,"latitude_deg":9.928236,"altitude":11,"angle":96,"satellites":42,"speed":7,"hex_longitude":"2d7ce200","hex_latitude":"05eaedb8","is_valid_coordinates":true} 
[2026-07-13 16:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688397056001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105817046301802496,"note":"Value kept but may cause issues"} 
[2026-07-13 16:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992703318856550400,"note":"Value kept but may cause issues"} 
[2026-07-13 16:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783939066000,"timestamp_ms":1783939066000,"timestamp_seconds":1783939066,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0de890"} 
[2026-07-13 16:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-13 16:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":426376109442138185,"note":"Value kept but may cause issues"} 
[2026-07-13 16:09:01] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3891136466327175680,"note":"Value kept but may cause issues"} 
[2026-07-13 16:09:01] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185975,"note":"Value kept but may cause issues"} 
[2026-07-13 16:09:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 16:09:01] local.WARNING: Large IO value detected {"io_id":159,"raw_value":6560790865121213541,"note":"Value kept but may cause issues"} 
[2026-07-13 16:09:01] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-07-13 16:09:01] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3507460566568927438,"note":"Value kept but may cause issues"} 
[2026-07-13 16:09:01] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3631218694,"note":"Value kept but may cause issues"} 
[2026-07-13 16:09:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309147342,"corrected_to":0} 
[2026-07-13 16:09:01] local.WARNING: Large IO value detected {"io_id":125,"raw_value":2147871441,"note":"Value kept but may cause issues"} 
[2026-07-13 16:09:01] local.WARNING: Large IO value detected {"io_id":119,"raw_value":4007591936,"note":"Value kept but may cause issues"} 
[2026-07-13 16:09:01] local.WARNING: Large IO value detected {"io_id":5,"raw_value":20028703811567616,"note":"Value kept but may cause issues"} 
[2026-07-13 16:09:01] local.WARNING: Large IO value detected {"io_id":238,"raw_value":-2522015791327477759,"note":"Value kept but may cause issues"} 
[2026-07-13 16:09:01] local.WARNING: Large IO value detected {"io_id":39,"raw_value":5629499534868484,"note":"Value kept but may cause issues"} 
[2026-07-13 16:09:01] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,8,87,24,241,157,16,239,159,166,45,235,9,41,10,66,162,84,1,240,161,227,91,234,4,113,205,25,250,125,248,50,2,119,5,238,39],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1309147342,"validated":0}]} 
[2026-07-13 16:09:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720666272131907584,"timestamp_seconds":720666272131907.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 16:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":131462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":131462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":131462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688397056001,"66":12863,"8":206,"87":13824,"24":7,"16":105817046301802496,"45":8992703318856550400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-07-13 16:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688397056001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:09:01] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-13 16:09:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105817046301802496,"km_value":105817046301802.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992703318856550400,"description":"Unknown IO ID 45"} 
[2026-07-13 16:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688397056001,"power":12863,"unknown_8":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8992703318856550400}} 
[2026-07-13 16:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":131462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480529,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:09:01] local.INFO: GPS data processed {"connection_id":131462,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:09:01] local.INFO: Acknowledgment sent {"connection_id":131462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:09:32] local.INFO: TCP Data received {"connection_id":131462,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0e1f40012d7ce8c005eaecf0000b00502b..."} 
[2026-07-13 16:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0e1f40012d7ce8c005eaecf0000b00502b..."} 
[2026-07-13 16:09:32] local.INFO: Processing buffer {"connection_id":131462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0e1f40012d7ce8c005eaecf0000b00502b..."} 
[2026-07-13 16:09:32] local.INFO: Packet analysis {"connection_id":131462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0e"} 
[2026-07-13 16:09:32] local.INFO: Extracted packet for processing {"connection_id":131462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0e"} 
[2026-07-13 16:09:32] local.INFO: GPS Element Parsed {"raw_longitude":763160768,"raw_latitude":99282160,"longitude_deg":76.3160768,"latitude_deg":9.928216,"altitude":11,"angle":80,"satellites":43,"speed":9,"hex_longitude":"2d7ce8c0","hex_latitude":"05eaecf0","is_valid_coordinates":true} 
[2026-07-13 16:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688400896001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105817132201148416,"note":"Value kept but may cause issues"} 
[2026-07-13 16:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8998755030855956480,"note":"Value kept but may cause issues"} 
[2026-07-13 16:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783939080000,"timestamp_ms":1783939080000,"timestamp_seconds":1783939080,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0e1f40"} 
[2026-07-13 16:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16: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":63,"data_length":795,"current_offset":136} 
[2026-07-13 16:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":131462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":131462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":131462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688400896001,"66":12602,"8":206,"87":13824,"24":9,"16":105817132201148416,"45":8998755030855956480},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-07-13 16:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688400896001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:09:32] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-13 16:09:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105817132201148416,"km_value":105817132201148.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8998755030855956480,"description":"Unknown IO ID 45"} 
[2026-07-13 16:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688400896001,"power":12602,"unknown_8":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8998755030855956480}} 
[2026-07-13 16:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":131462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480530,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:09:32] local.INFO: GPS data processed {"connection_id":131462,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:09:32] local.INFO: Acknowledgment sent {"connection_id":131462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:09:34] local.INFO: TCP Data received {"connection_id":131463,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:09:34] local.INFO: Processing buffer {"connection_id":131463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:09:34] local.INFO: IMEI packet received {"connection_id":131463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":131463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:09:39] local.INFO: TCP Data received {"connection_id":131463,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:09:39] local.INFO: Processing buffer {"connection_id":131463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:09:39] local.INFO: IMEI packet received {"connection_id":131463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":131463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:09:40] local.INFO: TCP Data received {"connection_id":131463,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0ea410012d7f914005afd9380003011b26..."} 
[2026-07-13 16:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0ea410012d7f914005afd9380003011b26..."} 
[2026-07-13 16:09:40] local.INFO: Processing buffer {"connection_id":131463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0ea410012d7f914005afd9380003011b26..."} 
[2026-07-13 16:09:40] local.INFO: Packet analysis {"connection_id":131463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0e"} 
[2026-07-13 16:09:40] local.INFO: Extracted packet for processing {"connection_id":131463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0e"} 
[2026-07-13 16:09:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":3,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688336128001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783939114000,"timestamp_ms":1783939114000,"timestamp_seconds":1783939114,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0ea410"} 
[2026-07-13 16:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 16:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688336128001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688336128001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:09:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:09:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688336128001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":131463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:09:40] local.INFO: GPS data processed {"connection_id":131463,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:09:40] local.INFO: Acknowledgment sent {"connection_id":131463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:09:58] local.INFO: TCP Data received {"connection_id":130642,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:09:58] local.INFO: Processing buffer {"connection_id":130642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:09:58] local.INFO: IMEI packet received {"connection_id":130642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":130642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:10:00] local.INFO: TCP Data received {"connection_id":130642,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:10:00] local.INFO: Processing buffer {"connection_id":130642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:10:00] local.INFO: IMEI packet received {"connection_id":130642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":130642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:10:03] local.INFO: TCP Data received {"connection_id":130642,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:10:03] local.INFO: Processing buffer {"connection_id":130642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:10:03] local.INFO: IMEI packet received {"connection_id":130642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":130642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:10:04] local.INFO: TCP Data received {"connection_id":130642,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0e6d60012d7cf30005eaee90000b004f23..."} 
[2026-07-13 16:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0e6d60012d7cf30005eaee90000b004f23..."} 
[2026-07-13 16:10:04] local.INFO: Processing buffer {"connection_id":130642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0e6d60012d7cf30005eaee90000b004f23..."} 
[2026-07-13 16:10:04] local.INFO: Packet analysis {"connection_id":130642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0e"} 
[2026-07-13 16:10:04] local.INFO: Extracted packet for processing {"connection_id":130642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0e"} 
[2026-07-13 16:10:04] local.INFO: GPS Element Parsed {"raw_longitude":763163392,"raw_latitude":99282576,"longitude_deg":76.3163392,"latitude_deg":9.9282576,"altitude":11,"angle":79,"satellites":35,"speed":0,"hex_longitude":"2d7cf300","hex_latitude":"05eaee90","is_valid_coordinates":true} 
[2026-07-13 16:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688404480001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105817261050167296,"note":"Value kept but may cause issues"} 
[2026-07-13 16:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9000654986948702208,"note":"Value kept but may cause issues"} 
[2026-07-13 16:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783939100000,"timestamp_ms":1783939100000,"timestamp_seconds":1783939100,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0e6d60"} 
[2026-07-13 16:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-13 16:10: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-07-13 16:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688404480001,"66":12961,"158":206,"87":13824,"24":0,"16":105817261050167296,"45":9000654986948702208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-13 16:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688404480001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:10:04] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-13 16:10:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105817261050167296,"km_value":105817261050167.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9000654986948702208,"description":"Unknown IO ID 45"} 
[2026-07-13 16:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688404480001,"power":12961,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9000654986948702208}} 
[2026-07-13 16:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":130642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480532,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:10:04] local.INFO: GPS data processed {"connection_id":130642,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:10:04] local.INFO: Acknowledgment sent {"connection_id":130642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:10:09] local.INFO: TCP Data received {"connection_id":130642,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0eb3b0012d7cfb0005eaf060000b00441e..."} 
[2026-07-13 16:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0eb3b0012d7cfb0005eaf060000b00441e..."} 
[2026-07-13 16:10:09] local.INFO: Processing buffer {"connection_id":130642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0eb3b0012d7cfb0005eaf060000b00441e..."} 
[2026-07-13 16:10:09] local.INFO: Packet analysis {"connection_id":130642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0e"} 
[2026-07-13 16:10:09] local.INFO: Extracted packet for processing {"connection_id":130642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0e"} 
[2026-07-13 16:10:09] local.INFO: GPS Element Parsed {"raw_longitude":763165440,"raw_latitude":99283040,"longitude_deg":76.316544,"latitude_deg":9.928304,"altitude":11,"angle":68,"satellites":30,"speed":18,"hex_longitude":"2d7cfb00","hex_latitude":"05eaf060","is_valid_coordinates":true} 
[2026-07-13 16:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688409600001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105817359834415104,"note":"Value kept but may cause issues"} 
[2026-07-13 16:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003540105460092928,"note":"Value kept but may cause issues"} 
[2026-07-13 16:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783939118000,"timestamp_ms":1783939118000,"timestamp_seconds":1783939118,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0eb3b0"} 
[2026-07-13 16:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-13 16:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688409600001,"66":12885,"158":206,"87":13824,"24":18,"16":105817359834415104,"45":9003540105460092928},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-13 16:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688409600001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:10:09] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-13 16:10:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105817359834415104,"km_value":105817359834415.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003540105460092928,"description":"Unknown IO ID 45"} 
[2026-07-13 16:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688409600001,"power":12885,"unknown_158":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":9003540105460092928}} 
[2026-07-13 16:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":130642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480533,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:10:09] local.INFO: GPS data processed {"connection_id":130642,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:10:09] local.INFO: Acknowledgment sent {"connection_id":130642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:10:17] local.INFO: TCP Data received {"connection_id":131463,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0ea410012d7f914005afd9380003011b26..."} 
[2026-07-13 16:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0ea410012d7f914005afd9380003011b26..."} 
[2026-07-13 16:10:17] local.INFO: Processing buffer {"connection_id":131463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0ea410012d7f914005afd9380003011b26..."} 
[2026-07-13 16:10:17] local.INFO: Packet analysis {"connection_id":131463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0e"} 
[2026-07-13 16:10:17] local.INFO: Extracted packet for processing {"connection_id":131463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0e"} 
[2026-07-13 16:10:17] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":3,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688336128001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783939114000,"timestamp_ms":1783939114000,"timestamp_seconds":1783939114,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0ea410"} 
[2026-07-13 16:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 16:10:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688336128001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688336128001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:10:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:10:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688336128001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":131463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:10:17] local.INFO: GPS data processed {"connection_id":131463,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:10:17] local.INFO: Acknowledgment sent {"connection_id":131463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:10:34] local.INFO: TCP Data received {"connection_id":132790,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:10:34] local.INFO: Processing buffer {"connection_id":132790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:10:34] local.INFO: IMEI packet received {"connection_id":132790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":132790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:10:39] local.INFO: TCP Data received {"connection_id":132790,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:10:39] local.INFO: Processing buffer {"connection_id":132790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:10:39] local.INFO: IMEI packet received {"connection_id":132790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":132790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:10:40] local.INFO: TCP Data received {"connection_id":132790,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0ea410012d7f914005afd9380003011b26..."} 
[2026-07-13 16:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0ea410012d7f914005afd9380003011b26..."} 
[2026-07-13 16:10:40] local.INFO: Processing buffer {"connection_id":132790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0ea410012d7f914005afd9380003011b26..."} 
[2026-07-13 16:10:40] local.INFO: Packet analysis {"connection_id":132790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0e"} 
[2026-07-13 16:10:40] local.INFO: Extracted packet for processing {"connection_id":132790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0e"} 
[2026-07-13 16:10:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":3,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688336128001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783939114000,"timestamp_ms":1783939114000,"timestamp_seconds":1783939114,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0ea410"} 
[2026-07-13 16:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 16:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688336128001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688336128001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:10:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:10:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688336128001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":132790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:10:40] local.INFO: GPS data processed {"connection_id":132790,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:10:40] local.INFO: Acknowledgment sent {"connection_id":132790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:10:40] local.INFO: TCP Data received {"connection_id":130642,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0f01d0012d7d0a0005eaf580000a003b29..."} 
[2026-07-13 16:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0f01d0012d7d0a0005eaf580000a003b29..."} 
[2026-07-13 16:10:40] local.INFO: Processing buffer {"connection_id":130642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0f01d0012d7d0a0005eaf580000a003b29..."} 
[2026-07-13 16:10:40] local.INFO: Packet analysis {"connection_id":130642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0f"} 
[2026-07-13 16:10:40] local.INFO: Extracted packet for processing {"connection_id":130642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0f"} 
[2026-07-13 16:10:40] local.INFO: GPS Element Parsed {"raw_longitude":763169280,"raw_latitude":99284352,"longitude_deg":76.316928,"latitude_deg":9.9284352,"altitude":10,"angle":59,"satellites":41,"speed":17,"hex_longitude":"2d7d0a00","hex_latitude":"05eaf580","is_valid_coordinates":true} 
[2026-07-13 16:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688414208001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105817557402910720,"note":"Value kept but may cause issues"} 
[2026-07-13 16:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005791905273896960,"note":"Value kept but may cause issues"} 
[2026-07-13 16:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783939138000,"timestamp_ms":1783939138000,"timestamp_seconds":1783939138,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0f01d0"} 
[2026-07-13 16:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-13 16:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688414208001,"66":13091,"158":206,"87":13824,"24":17,"16":105817557402910720,"45":9005791905273896960},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-13 16:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688414208001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:10:40] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-13 16:10:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105817557402910720,"km_value":105817557402910.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005791905273896960,"description":"Unknown IO ID 45"} 
[2026-07-13 16:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688414208001,"power":13091,"unknown_158":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":9005791905273896960}} 
[2026-07-13 16:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":130642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:10:40] local.INFO: GPS data processed {"connection_id":130642,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:10:40] local.INFO: Acknowledgment sent {"connection_id":130642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:10:59] local.INFO: TCP Data received {"connection_id":132791,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:10:59] local.INFO: Processing buffer {"connection_id":132791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:10:59] local.INFO: IMEI packet received {"connection_id":132791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":132791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:11:03] local.INFO: TCP Data received {"connection_id":132791,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:11:03] local.INFO: Processing buffer {"connection_id":132791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:11:03] local.INFO: IMEI packet received {"connection_id":132791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":132791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:11:08] local.INFO: TCP Data received {"connection_id":132791,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0f09a0012d7d0dc005eaf718000b00472b..."} 
[2026-07-13 16:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0f09a0012d7d0dc005eaf718000b00472b..."} 
[2026-07-13 16:11:08] local.INFO: Processing buffer {"connection_id":132791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0f09a0012d7d0dc005eaf718000b00472b..."} 
[2026-07-13 16:11:08] local.INFO: Packet analysis {"connection_id":132791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0f"} 
[2026-07-13 16:11:08] local.INFO: Extracted packet for processing {"connection_id":132791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0f"} 
[2026-07-13 16:11:08] local.INFO: GPS Element Parsed {"raw_longitude":763170240,"raw_latitude":99284760,"longitude_deg":76.317024,"latitude_deg":9.928476,"altitude":11,"angle":71,"satellites":43,"speed":20,"hex_longitude":"2d7d0dc0","hex_latitude":"05eaf718","is_valid_coordinates":true} 
[2026-07-13 16:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688419328001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105817608942518272,"note":"Value kept but may cause issues"} 
[2026-07-13 16:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010014029924892672,"note":"Value kept but may cause issues"} 
[2026-07-13 16:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783939140000,"timestamp_ms":1783939140000,"timestamp_seconds":1783939140,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0f09a0"} 
[2026-07-13 16:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16: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-07-13 16: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-07-13 16:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688419328001,"66":13091,"158":206,"87":13824,"24":20,"16":105817608942518272,"45":9010014029924892672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-13 16:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688419328001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:11:08] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-13 16:11:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105817608942518272,"km_value":105817608942518.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010014029924892672,"description":"Unknown IO ID 45"} 
[2026-07-13 16:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688419328001,"power":13091,"unknown_158":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":9010014029924892672}} 
[2026-07-13 16:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":132791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480537,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:11:08] local.INFO: GPS data processed {"connection_id":132791,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:11:08] local.INFO: Acknowledgment sent {"connection_id":132791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:11:11] local.INFO: TCP Data received {"connection_id":132790,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0ea410012d7f914005afd9380003011b26..."} 
[2026-07-13 16:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0ea410012d7f914005afd9380003011b26..."} 
[2026-07-13 16:11:11] local.INFO: Processing buffer {"connection_id":132790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0ea410012d7f914005afd9380003011b26..."} 
[2026-07-13 16:11:11] local.INFO: Packet analysis {"connection_id":132790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0e"} 
[2026-07-13 16:11:11] local.INFO: Extracted packet for processing {"connection_id":132790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0e"} 
[2026-07-13 16:11:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":3,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688336128001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783939114000,"timestamp_ms":1783939114000,"timestamp_seconds":1783939114,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0ea410"} 
[2026-07-13 16:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 16:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688336128001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688336128001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:11:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:11:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688336128001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":132790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:11:11] local.INFO: GPS data processed {"connection_id":132790,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:11:11] local.INFO: Acknowledgment sent {"connection_id":132790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:11:41] local.INFO: TCP Data received {"connection_id":132791,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0f57c0012d7d20c005eafe20000e004e2b..."} 
[2026-07-13 16:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0f57c0012d7d20c005eafe20000e004e2b..."} 
[2026-07-13 16:11:41] local.INFO: Processing buffer {"connection_id":132791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0f57c0012d7d20c005eafe20000e004e2b..."} 
[2026-07-13 16:11:41] local.INFO: Packet analysis {"connection_id":132791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0f"} 
[2026-07-13 16:11:41] local.INFO: Extracted packet for processing {"connection_id":132791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0f"} 
[2026-07-13 16:11:41] local.INFO: GPS Element Parsed {"raw_longitude":763175104,"raw_latitude":99286560,"longitude_deg":76.3175104,"latitude_deg":9.928656,"altitude":14,"angle":78,"satellites":43,"speed":3,"hex_longitude":"2d7d20c0","hex_latitude":"05eafe20","is_valid_coordinates":true} 
[2026-07-13 16:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688419840001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105817858050621440,"note":"Value kept but may cause issues"} 
[2026-07-13 16:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011069561087662080,"note":"Value kept but may cause issues"} 
[2026-07-13 16:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783939160000,"timestamp_ms":1783939160000,"timestamp_seconds":1783939160,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0f57c0"} 
[2026-07-13 16:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-13 16:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688419840001,"66":12885,"158":206,"87":13824,"24":3,"16":105817858050621440,"45":9011069561087662080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-13 16:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688419840001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:11:41] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-13 16:11:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105817858050621440,"km_value":105817858050621.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011069561087662080,"description":"Unknown IO ID 45"} 
[2026-07-13 16:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688419840001,"power":12885,"unknown_158":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9011069561087662080}} 
[2026-07-13 16:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":132791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:11:41] local.INFO: GPS data processed {"connection_id":132791,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:11:41] local.INFO: Acknowledgment sent {"connection_id":132791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:11:42] local.INFO: TCP Data received {"connection_id":131464,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:11:42] local.INFO: Processing buffer {"connection_id":131464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:11:42] local.INFO: IMEI packet received {"connection_id":131464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":131464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:11:49] local.INFO: TCP Data received {"connection_id":131464,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:11:49] local.INFO: Processing buffer {"connection_id":131464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:11:49] local.INFO: IMEI packet received {"connection_id":131464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":131464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:11:50] local.INFO: TCP Data received {"connection_id":131464,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0ea410012d7f914005afd9380003011b26..."} 
[2026-07-13 16:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0ea410012d7f914005afd9380003011b26..."} 
[2026-07-13 16:11:50] local.INFO: Processing buffer {"connection_id":131464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0ea410012d7f914005afd9380003011b26..."} 
[2026-07-13 16:11:50] local.INFO: Packet analysis {"connection_id":131464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0e"} 
[2026-07-13 16:11:50] local.INFO: Extracted packet for processing {"connection_id":131464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0e"} 
[2026-07-13 16:11:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":3,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 16:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688336128001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783939114000,"timestamp_ms":1783939114000,"timestamp_seconds":1783939114,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0ea410"} 
[2026-07-13 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-07-13 16:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 16:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 16:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:11: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-07-13 16:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688336128001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688336128001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:11:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:11:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688336128001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":131464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:11:50] local.INFO: GPS data processed {"connection_id":131464,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:11:50] local.INFO: Acknowledgment sent {"connection_id":131464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:11:59] local.INFO: TCP Data received {"connection_id":132792,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:11:59] local.INFO: Processing buffer {"connection_id":132792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:11:59] local.INFO: IMEI packet received {"connection_id":132792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":132792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:11:59] local.INFO: TCP Data received {"connection_id":132792,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:11:59] local.INFO: Processing buffer {"connection_id":132792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:11:59] local.INFO: IMEI packet received {"connection_id":132792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":132792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:12:03] local.INFO: TCP Data received {"connection_id":132792,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:12:03] local.INFO: Processing buffer {"connection_id":132792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:12:03] local.INFO: IMEI packet received {"connection_id":132792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":132792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:12:04] local.INFO: TCP Data received {"connection_id":131464,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0ea410012d7f914005afd9380003011b26..."} 
[2026-07-13 16:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0ea410012d7f914005afd9380003011b26..."} 
[2026-07-13 16:12:04] local.INFO: Processing buffer {"connection_id":131464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0ea410012d7f914005afd9380003011b26..."} 
[2026-07-13 16:12:04] local.INFO: Packet analysis {"connection_id":131464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0e"} 
[2026-07-13 16:12:04] local.INFO: Extracted packet for processing {"connection_id":131464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0e"} 
[2026-07-13 16:12:04] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":3,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688336128001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783939114000,"timestamp_ms":1783939114000,"timestamp_seconds":1783939114,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0ea410"} 
[2026-07-13 16:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 16:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":131464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":131464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":131464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688336128001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688336128001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:12:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:12:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688336128001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":131464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:12:04] local.INFO: GPS data processed {"connection_id":131464,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:12:04] local.INFO: Acknowledgment sent {"connection_id":131464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:12:04] local.INFO: TCP Data received {"connection_id":132792,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0f7318012d7d234005eafdd0000e00992a..."} 
[2026-07-13 16:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0f7318012d7d234005eafdd0000e00992a..."} 
[2026-07-13 16:12:04] local.INFO: Processing buffer {"connection_id":132792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0f7318012d7d234005eafdd0000e00992a..."} 
[2026-07-13 16:12:04] local.INFO: Packet analysis {"connection_id":132792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0f"} 
[2026-07-13 16:12:04] local.INFO: Extracted packet for processing {"connection_id":132792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0f"} 
[2026-07-13 16:12:04] local.INFO: GPS Element Parsed {"raw_longitude":763175744,"raw_latitude":99286480,"longitude_deg":76.3175744,"latitude_deg":9.928648,"altitude":14,"angle":153,"satellites":42,"speed":7,"hex_longitude":"2d7d2340","hex_latitude":"05eafdd0","is_valid_coordinates":true} 
[2026-07-13 16:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688424960001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105817896705327104,"note":"Value kept but may cause issues"} 
[2026-07-13 16:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016417585645625344,"note":"Value kept but may cause issues"} 
[2026-07-13 16:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783939167000,"timestamp_ms":1783939167000,"timestamp_seconds":1783939167,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0f7318"} 
[2026-07-13 16:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-13 16:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688424960001,"66":12939,"158":206,"87":13824,"24":7,"16":105817896705327104,"45":9016417585645625344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-13 16:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688424960001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:12:04] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-13 16:12:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105817896705327104,"km_value":105817896705327.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016417585645625344,"description":"Unknown IO ID 45"} 
[2026-07-13 16:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688424960001,"power":12939,"unknown_158":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9016417585645625344}} 
[2026-07-13 16:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":132792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480542,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:12:04] local.INFO: GPS data processed {"connection_id":132792,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:12:04] local.INFO: Acknowledgment sent {"connection_id":132792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:12:34] local.INFO: TCP Data received {"connection_id":131465,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:12:34] local.INFO: Processing buffer {"connection_id":131465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:12:34] local.INFO: IMEI packet received {"connection_id":131465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":131465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:12:36] local.INFO: TCP Data received {"connection_id":132792,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b11f3b8012d7d10c005e9bf28000900fa2a..."} 
[2026-07-13 16:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b11f3b8012d7d10c005e9bf28000900fa2a..."} 
[2026-07-13 16:12:36] local.INFO: Processing buffer {"connection_id":132792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b11f3b8012d7d10c005e9bf28000900fa2a..."} 
[2026-07-13 16:12:36] local.INFO: Packet analysis {"connection_id":132792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b11"} 
[2026-07-13 16:12:36] local.INFO: Extracted packet for processing {"connection_id":132792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b11"} 
[2026-07-13 16:12:36] local.INFO: GPS Element Parsed {"raw_longitude":763171008,"raw_latitude":99204904,"longitude_deg":76.3171008,"latitude_deg":9.9204904,"altitude":9,"angle":250,"satellites":42,"speed":6,"hex_longitude":"2d7d10c0","hex_latitude":"05e9bf28","is_valid_coordinates":true} 
[2026-07-13 16:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688468480001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105821878140010496,"note":"Value kept but may cause issues"} 
[2026-07-13 16:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012054723485718528,"note":"Value kept but may cause issues"} 
[2026-07-13 16:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783939331000,"timestamp_ms":1783939331000,"timestamp_seconds":1783939331,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b11f3b8"} 
[2026-07-13 16:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-13 16:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688468480001,"66":12906,"126":206,"87":13824,"24":6,"16":105821878140010496,"45":9012054723485718528},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,87,24,16,45]} 
[2026-07-13 16:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688468480001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:12:36] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 16:12:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105821878140010496,"km_value":105821878140010.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012054723485718528,"description":"Unknown IO ID 45"} 
[2026-07-13 16:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688468480001,"power":12906,"unknown_126":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9012054723485718528}} 
[2026-07-13 16:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":132792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480543,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:12:36] local.INFO: GPS data processed {"connection_id":132792,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:12:36] local.INFO: Acknowledgment sent {"connection_id":132792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:12:39] local.INFO: TCP Data received {"connection_id":131465,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:12:39] local.INFO: Processing buffer {"connection_id":131465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:12:39] local.INFO: IMEI packet received {"connection_id":131465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":131465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:12:40] local.INFO: TCP Data received {"connection_id":131465,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0ea410012d7f914005afd9380003011b26..."} 
[2026-07-13 16:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0ea410012d7f914005afd9380003011b26..."} 
[2026-07-13 16:12:40] local.INFO: Processing buffer {"connection_id":131465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0ea410012d7f914005afd9380003011b26..."} 
[2026-07-13 16:12:40] local.INFO: Packet analysis {"connection_id":131465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0e"} 
[2026-07-13 16:12:40] local.INFO: Extracted packet for processing {"connection_id":131465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0e"} 
[2026-07-13 16:12:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":3,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688336128001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783939114000,"timestamp_ms":1783939114000,"timestamp_seconds":1783939114,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0ea410"} 
[2026-07-13 16:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 16:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688336128001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688336128001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:12:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:12:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688336128001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":131465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:12:40] local.INFO: GPS data processed {"connection_id":131465,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:12:40] local.INFO: Acknowledgment sent {"connection_id":131465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:12:57] local.INFO: TCP Data received {"connection_id":130643,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:12:57] local.INFO: Processing buffer {"connection_id":130643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:12:57] local.INFO: IMEI packet received {"connection_id":130643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":130643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:12:58] local.INFO: TCP Data received {"connection_id":130643,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:12:58] local.INFO: Processing buffer {"connection_id":130643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:12:58] local.INFO: IMEI packet received {"connection_id":130643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":130643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:13:02] local.INFO: TCP Data received {"connection_id":130643,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:13:02] local.INFO: Processing buffer {"connection_id":130643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:13:02] local.INFO: IMEI packet received {"connection_id":130643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":130643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:13:02] local.INFO: TCP Data received {"connection_id":130643,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:13:02] local.INFO: Processing buffer {"connection_id":130643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:13:02] local.INFO: IMEI packet received {"connection_id":130643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":130643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:13:03] local.INFO: TCP Data received {"connection_id":130643,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b128ff8012d7ccc8005e9bb480009015e2b..."} 
[2026-07-13 16:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b128ff8012d7ccc8005e9bb480009015e2b..."} 
[2026-07-13 16:13:03] local.INFO: Processing buffer {"connection_id":130643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b128ff8012d7ccc8005e9bb480009015e2b..."} 
[2026-07-13 16:13:03] local.INFO: Packet analysis {"connection_id":130643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b12"} 
[2026-07-13 16:13:03] local.INFO: Extracted packet for processing {"connection_id":130643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b12"} 
[2026-07-13 16:13:03] local.INFO: GPS Element Parsed {"raw_longitude":763153536,"raw_latitude":99203912,"longitude_deg":76.3153536,"latitude_deg":9.9203912,"altitude":9,"angle":350,"satellites":43,"speed":15,"hex_longitude":"2d7ccc80","hex_latitude":"05e9bb48","is_valid_coordinates":true} 
[2026-07-13 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-07-13 16:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688478720001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105822775788175360,"note":"Value kept but may cause issues"} 
[2026-07-13 16:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992703318836490240,"note":"Value kept but may cause issues"} 
[2026-07-13 16:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783939371000,"timestamp_ms":1783939371000,"timestamp_seconds":1783939371,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b128ff8"} 
[2026-07-13 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-07-13 16:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-13 16:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 16:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":130643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":130643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":130643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688478720001,"66":12939,"192":206,"87":13824,"24":15,"16":105822775788175360,"45":8992703318836490240},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-13 16:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688478720001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:13:03] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-13 16:13:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105822775788175360,"km_value":105822775788175.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992703318836490240,"description":"Unknown IO ID 45"} 
[2026-07-13 16:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688478720001,"power":12939,"unknown_192":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8992703318836490240}} 
[2026-07-13 16:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":130643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480545,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:13:03] local.INFO: GPS data processed {"connection_id":130643,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:13:03] local.INFO: Acknowledgment sent {"connection_id":130643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:13:04] local.INFO: TCP Data received {"connection_id":130643,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1293e0012d7ccc0005e9bcb8000901472a..."} 
[2026-07-13 16:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1293e0012d7ccc0005e9bcb8000901472a..."} 
[2026-07-13 16:13:04] local.INFO: Processing buffer {"connection_id":130643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1293e0012d7ccc0005e9bcb8000901472a..."} 
[2026-07-13 16:13:04] local.INFO: Packet analysis {"connection_id":130643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b12"} 
[2026-07-13 16:13:04] local.INFO: Extracted packet for processing {"connection_id":130643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b12"} 
[2026-07-13 16:13:04] local.INFO: GPS Element Parsed {"raw_longitude":763153408,"raw_latitude":99204280,"longitude_deg":76.3153408,"latitude_deg":9.920428,"altitude":9,"angle":327,"satellites":42,"speed":15,"hex_longitude":"2d7ccc00","hex_latitude":"05e9bcb8","is_valid_coordinates":true} 
[2026-07-13 16:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688478976001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105822792968044544,"note":"Value kept but may cause issues"} 
[2026-07-13 16:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992703318836594688,"note":"Value kept but may cause issues"} 
[2026-07-13 16:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783939372000,"timestamp_ms":1783939372000,"timestamp_seconds":1783939372,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1293e0"} 
[2026-07-13 16:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-13 16:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688478976001,"66":12939,"192":206,"87":13824,"24":15,"16":105822792968044544,"45":8992703318836594688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-13 16:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688478976001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:13:04] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-13 16:13:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105822792968044544,"km_value":105822792968044.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992703318836594688,"description":"Unknown IO ID 45"} 
[2026-07-13 16:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688478976001,"power":12939,"unknown_192":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8992703318836594688}} 
[2026-07-13 16:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":130643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:13:04] local.INFO: GPS data processed {"connection_id":130643,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:13:04] local.INFO: Acknowledgment sent {"connection_id":130643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:13:09] local.INFO: TCP Data received {"connection_id":131466,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131466,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:13:09] local.INFO: Processing buffer {"connection_id":131466,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:13:09] local.INFO: IMEI packet received {"connection_id":131466,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":131466,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:13:11] local.INFO: TCP Data received {"connection_id":131465,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0ea410012d7f914005afd9380003011b26..."} 
[2026-07-13 16:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0ea410012d7f914005afd9380003011b26..."} 
[2026-07-13 16:13:11] local.INFO: Processing buffer {"connection_id":131465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0ea410012d7f914005afd9380003011b26..."} 
[2026-07-13 16:13:11] local.INFO: Packet analysis {"connection_id":131465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0e"} 
[2026-07-13 16:13:11] local.INFO: Extracted packet for processing {"connection_id":131465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0e"} 
[2026-07-13 16:13:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":3,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688336128001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783939114000,"timestamp_ms":1783939114000,"timestamp_seconds":1783939114,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0ea410"} 
[2026-07-13 16:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 16:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688336128001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688336128001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:13:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:13:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688336128001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":131465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:13:11] local.INFO: GPS data processed {"connection_id":131465,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:13:11] local.INFO: Acknowledgment sent {"connection_id":131465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:13:14] local.INFO: TCP Data received {"connection_id":131466,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131466,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:13:14] local.INFO: Processing buffer {"connection_id":131466,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:13:14] local.INFO: IMEI packet received {"connection_id":131466,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":131466,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:13:16] local.INFO: TCP Data received {"connection_id":131466,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5af68830012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5af68830012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:13:16] local.INFO: Processing buffer {"connection_id":131466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5af68830012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:13:16] local.INFO: Packet analysis {"connection_id":131466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5af6"} 
[2026-07-13 16:13:16] local.INFO: Extracted packet for processing {"connection_id":131466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5af6"} 
[2026-07-13 16:13:16] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 16:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456687931648001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:13:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783937534000,"timestamp_ms":1783937534000,"timestamp_seconds":1783937534,"priority":1,"record_length":96,"hex_timestamp":"0000019f5af68830"} 
[2026-07-13 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-07-13 16:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-13 16:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2100,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 16:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":131466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":131466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":131466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456687931648001,"66":24723,"221":206,"85":36864,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-13 16:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456687931648001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:13:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-13 16:13:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-13 16:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:13:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456687931648001,"power":24723,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":131466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480548,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:13:16] local.INFO: GPS data processed {"connection_id":131466,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:13:16] local.INFO: Acknowledgment sent {"connection_id":131466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:13:34] local.INFO: TCP Data received {"connection_id":130644,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:13:34] local.INFO: Processing buffer {"connection_id":130644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:13:34] local.INFO: IMEI packet received {"connection_id":130644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":130644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:13:35] local.INFO: TCP Data received {"connection_id":130643,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1297c8012d7ccb0005e9bdb0000901312b..."} 
[2026-07-13 16:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1297c8012d7ccb0005e9bdb0000901312b..."} 
[2026-07-13 16:13:35] local.INFO: Processing buffer {"connection_id":130643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1297c8012d7ccb0005e9bdb0000901312b..."} 
[2026-07-13 16:13:35] local.INFO: Packet analysis {"connection_id":130643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b12"} 
[2026-07-13 16:13:35] local.INFO: Extracted packet for processing {"connection_id":130643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b12"} 
[2026-07-13 16:13:35] local.INFO: GPS Element Parsed {"raw_longitude":763153152,"raw_latitude":99204528,"longitude_deg":76.3153152,"latitude_deg":9.9204528,"altitude":9,"angle":305,"satellites":43,"speed":14,"hex_longitude":"2d7ccb00","hex_latitude":"05e9bdb0","is_valid_coordinates":true} 
[2026-07-13 16:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688479232001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105822810147913728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992562581348333568,"note":"Value kept but may cause issues"} 
[2026-07-13 16:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783939373000,"timestamp_ms":1783939373000,"timestamp_seconds":1783939373,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1297c8"} 
[2026-07-13 16:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:13: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-07-13 16:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-13 16:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688479232001,"66":12961,"192":206,"87":13824,"24":14,"16":105822810147913728,"45":8992562581348333568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-13 16:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688479232001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:13:35] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-13 16:13:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105822810147913728,"km_value":105822810147913.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992562581348333568,"description":"Unknown IO ID 45"} 
[2026-07-13 16:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688479232001,"power":12961,"unknown_192":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8992562581348333568}} 
[2026-07-13 16:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":130643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480549,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:13:35] local.INFO: GPS data processed {"connection_id":130643,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:13:35] local.INFO: Acknowledgment sent {"connection_id":130643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:13:39] local.INFO: TCP Data received {"connection_id":130644,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:13:39] local.INFO: Processing buffer {"connection_id":130644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:13:39] local.INFO: IMEI packet received {"connection_id":130644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":130644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:13:39] local.INFO: TCP Data received {"connection_id":130645,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130645,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:13:39] local.INFO: Processing buffer {"connection_id":130645,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:13:39] local.INFO: IMEI packet received {"connection_id":130645,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":130645,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:13:40] local.INFO: TCP Data received {"connection_id":130644,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0ea410012d7f914005afd9380003011b26..."} 
[2026-07-13 16:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0ea410012d7f914005afd9380003011b26..."} 
[2026-07-13 16:13:40] local.INFO: Processing buffer {"connection_id":130644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0ea410012d7f914005afd9380003011b26..."} 
[2026-07-13 16:13:40] local.INFO: Packet analysis {"connection_id":130644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0e"} 
[2026-07-13 16:13:40] local.INFO: Extracted packet for processing {"connection_id":130644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0e"} 
[2026-07-13 16:13:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":3,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688336128001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783939114000,"timestamp_ms":1783939114000,"timestamp_seconds":1783939114,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0ea410"} 
[2026-07-13 16:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 16:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688336128001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688336128001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:13:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688336128001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":130644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:13:40] local.INFO: GPS data processed {"connection_id":130644,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:13:40] local.INFO: Acknowledgment sent {"connection_id":130644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:13:44] local.INFO: TCP Data received {"connection_id":130645,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130645,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:13:44] local.INFO: Processing buffer {"connection_id":130645,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:13:44] local.INFO: IMEI packet received {"connection_id":130645,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":130645,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:13:46] local.INFO: TCP Data received {"connection_id":130645,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5afb1ff8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5afb1ff8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:13:46] local.INFO: Processing buffer {"connection_id":130645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5afb1ff8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:13:46] local.INFO: Packet analysis {"connection_id":130645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5afb"} 
[2026-07-13 16:13:46] local.INFO: Extracted packet for processing {"connection_id":130645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5afb"} 
[2026-07-13 16:13:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688008704001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:13:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783937835000,"timestamp_ms":1783937835000,"timestamp_seconds":1783937835,"priority":1,"record_length":96,"hex_timestamp":"0000019f5afb1ff8"} 
[2026-07-13 16:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-13 16:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130645,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130645,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688008704001,"66":24723,"221":206,"85":36864,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-13 16:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688008704001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:13:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-13 16:13:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-13 16:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:13:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688008704001,"power":24723,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":130645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480551,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:13:46] local.INFO: GPS data processed {"connection_id":130645,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:13:46] local.INFO: Acknowledgment sent {"connection_id":130645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:13:57] local.INFO: TCP Data received {"connection_id":132793,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:13:57] local.INFO: Processing buffer {"connection_id":132793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:13:57] local.INFO: IMEI packet received {"connection_id":132793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":132793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:13:58] local.INFO: TCP Data received {"connection_id":132793,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:13:58] local.INFO: Processing buffer {"connection_id":132793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:13:58] local.INFO: IMEI packet received {"connection_id":132793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":132793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:14:03] local.INFO: TCP Data received {"connection_id":132793,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:14:03] local.INFO: Processing buffer {"connection_id":132793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:14:03] local.INFO: IMEI packet received {"connection_id":132793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":132793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:14:04] local.INFO: TCP Data received {"connection_id":132793,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b129bb0012d7cc98005e9be10000901192b..."} 
[2026-07-13 16:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b129bb0012d7cc98005e9be10000901192b..."} 
[2026-07-13 16:14:04] local.INFO: Processing buffer {"connection_id":132793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b129bb0012d7cc98005e9be10000901192b..."} 
[2026-07-13 16:14:04] local.INFO: Packet analysis {"connection_id":132793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b12"} 
[2026-07-13 16:14:04] local.INFO: Extracted packet for processing {"connection_id":132793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b12"} 
[2026-07-13 16:14:04] local.INFO: GPS Element Parsed {"raw_longitude":763152768,"raw_latitude":99204624,"longitude_deg":76.3152768,"latitude_deg":9.9204624,"altitude":9,"angle":281,"satellites":43,"speed":13,"hex_longitude":"2d7cc980","hex_latitude":"05e9be10","is_valid_coordinates":true} 
[2026-07-13 16:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688479488001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105822831622750208,"note":"Value kept but may cause issues"} 
[2026-07-13 16:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992281106371686400,"note":"Value kept but may cause issues"} 
[2026-07-13 16:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783939374000,"timestamp_ms":1783939374000,"timestamp_seconds":1783939374,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b129bb0"} 
[2026-07-13 16:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-13 16:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688479488001,"66":12961,"192":206,"87":13824,"24":13,"16":105822831622750208,"45":8992281106371686400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-13 16:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688479488001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:14:04] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-13 16:14:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105822831622750208,"km_value":105822831622750.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992281106371686400,"description":"Unknown IO ID 45"} 
[2026-07-13 16:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688479488001,"power":12961,"unknown_192":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8992281106371686400}} 
[2026-07-13 16:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":132793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480552,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:14:04] local.INFO: GPS data processed {"connection_id":132793,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:14:04] local.INFO: Acknowledgment sent {"connection_id":132793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:14:11] local.INFO: TCP Data received {"connection_id":130644,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0ea410012d7f914005afd9380003011b26..."} 
[2026-07-13 16:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0ea410012d7f914005afd9380003011b26..."} 
[2026-07-13 16:14:11] local.INFO: Processing buffer {"connection_id":130644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0ea410012d7f914005afd9380003011b26..."} 
[2026-07-13 16:14:11] local.INFO: Packet analysis {"connection_id":130644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0e"} 
[2026-07-13 16:14:11] local.INFO: Extracted packet for processing {"connection_id":130644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0e"} 
[2026-07-13 16:14:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":3,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688336128001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783939114000,"timestamp_ms":1783939114000,"timestamp_seconds":1783939114,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0ea410"} 
[2026-07-13 16:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 16:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688336128001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688336128001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:14:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:14:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688336128001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":130644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:14:11] local.INFO: GPS data processed {"connection_id":130644,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:14:11] local.INFO: Acknowledgment sent {"connection_id":130644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:14:17] local.INFO: TCP Data received {"connection_id":130645,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5affb7c0012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5affb7c0012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:14:17] local.INFO: Processing buffer {"connection_id":130645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5affb7c0012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:14:17] local.INFO: Packet analysis {"connection_id":130645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5aff"} 
[2026-07-13 16:14:17] local.INFO: Extracted packet for processing {"connection_id":130645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5aff"} 
[2026-07-13 16:14:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688085760001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:14:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783938136000,"timestamp_ms":1783938136000,"timestamp_seconds":1783938136,"priority":1,"record_length":96,"hex_timestamp":"0000019f5affb7c0"} 
[2026-07-13 16:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-13 16:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130645,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130645,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688085760001,"66":24734,"221":206,"85":36864,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-13 16:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688085760001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:14:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-13 16:14:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-13 16:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:14:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688085760001,"power":24734,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":130645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480554,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:14:17] local.INFO: GPS data processed {"connection_id":130645,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:14:17] local.INFO: Acknowledgment sent {"connection_id":130645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:14:34] local.INFO: TCP Data received {"connection_id":130420,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:14:34] local.INFO: Processing buffer {"connection_id":130420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:14:34] local.INFO: IMEI packet received {"connection_id":130420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":130420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:14:35] local.INFO: TCP Data received {"connection_id":132793,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b13b8d8012d7c8e0005e9a810000600a52a..."} 
[2026-07-13 16:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b13b8d8012d7c8e0005e9a810000600a52a..."} 
[2026-07-13 16:14:35] local.INFO: Processing buffer {"connection_id":132793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b13b8d8012d7c8e0005e9a810000600a52a..."} 
[2026-07-13 16:14:35] local.INFO: Packet analysis {"connection_id":132793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b13"} 
[2026-07-13 16:14:35] local.INFO: Extracted packet for processing {"connection_id":132793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b13"} 
[2026-07-13 16:14:35] local.INFO: GPS Element Parsed {"raw_longitude":763137536,"raw_latitude":99198992,"longitude_deg":76.3137536,"latitude_deg":9.9198992,"altitude":6,"angle":165,"satellites":42,"speed":9,"hex_longitude":"2d7c8e00","hex_latitude":"05e9a810","is_valid_coordinates":true} 
[2026-07-13 16:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688497920001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105823789400457216,"note":"Value kept but may cause issues"} 
[2026-07-13 16:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975111132791023616,"note":"Value kept but may cause issues"} 
[2026-07-13 16:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783939447000,"timestamp_ms":1783939447000,"timestamp_seconds":1783939447,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b13b8d8"} 
[2026-07-13 16:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-13 16:14: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-07-13 16:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688497920001,"66":13080,"192":206,"87":13824,"24":9,"16":105823789400457216,"45":8975111132791023616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-13 16:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688497920001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:14:35] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-13 16:14:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105823789400457216,"km_value":105823789400457.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975111132791023616,"description":"Unknown IO ID 45"} 
[2026-07-13 16:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688497920001,"power":13080,"unknown_192":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8975111132791023616}} 
[2026-07-13 16:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":132793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480555,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:14:35] local.INFO: GPS data processed {"connection_id":132793,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:14:35] local.INFO: Acknowledgment sent {"connection_id":132793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:14:39] local.INFO: TCP Data received {"connection_id":130420,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:14:39] local.INFO: Processing buffer {"connection_id":130420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:14:39] local.INFO: IMEI packet received {"connection_id":130420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":130420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:14:40] local.INFO: TCP Data received {"connection_id":130420,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b133bd8012d7f914005afd9380001011b25..."} 
[2026-07-13 16:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b133bd8012d7f914005afd9380001011b25..."} 
[2026-07-13 16:14:40] local.INFO: Processing buffer {"connection_id":130420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b133bd8012d7f914005afd9380001011b25..."} 
[2026-07-13 16:14:40] local.INFO: Packet analysis {"connection_id":130420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b13"} 
[2026-07-13 16:14:40] local.INFO: Extracted packet for processing {"connection_id":130420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b13"} 
[2026-07-13 16:14:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688413184001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783939415000,"timestamp_ms":1783939415000,"timestamp_seconds":1783939415,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b133bd8"} 
[2026-07-13 16:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:14: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-07-13 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688413184001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688413184001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:14:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:14:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688413184001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":130420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:14:40] local.INFO: GPS data processed {"connection_id":130420,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:14:40] local.INFO: Acknowledgment sent {"connection_id":130420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:14:44] local.INFO: TCP Data received {"connection_id":130646,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130646,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:14:44] local.INFO: Processing buffer {"connection_id":130646,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:14:44] local.INFO: IMEI packet received {"connection_id":130646,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":130646,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:14:50] local.INFO: TCP Data received {"connection_id":130646,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130646,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:14:50] local.INFO: Processing buffer {"connection_id":130646,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:14:50] local.INFO: IMEI packet received {"connection_id":130646,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":130646,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:14:51] local.INFO: TCP Data received {"connection_id":130646,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b044f88012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b044f88012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:14:51] local.INFO: Processing buffer {"connection_id":130646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b044f88012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:14:51] local.INFO: Packet analysis {"connection_id":130646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b04"} 
[2026-07-13 16:14:51] local.INFO: Extracted packet for processing {"connection_id":130646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b04"} 
[2026-07-13 16:14:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688162816001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:14:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783938437000,"timestamp_ms":1783938437000,"timestamp_seconds":1783938437,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b044f88"} 
[2026-07-13 16:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-13 16:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2100,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130646,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130646,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688162816001,"66":24854,"221":206,"85":36864,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-13 16:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688162816001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:14:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-13 16:14:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-13 16:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:14:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688162816001,"power":24854,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":130646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480557,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:14:51] local.INFO: GPS data processed {"connection_id":130646,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:14:51] local.INFO: Acknowledgment sent {"connection_id":130646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:14:58] local.INFO: TCP Data received {"connection_id":132794,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:14:58] local.INFO: Processing buffer {"connection_id":132794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:14:58] local.INFO: IMEI packet received {"connection_id":132794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":132794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:15:06] local.INFO: TCP Data received {"connection_id":132794,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:15:06] local.INFO: Processing buffer {"connection_id":132794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:15:06] local.INFO: IMEI packet received {"connection_id":132794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":132794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:15:06] local.INFO: TCP Data received {"connection_id":132794,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b13d430012d7c900005e99e90000600b12b..."} 
[2026-07-13 16:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b13d430012d7c900005e99e90000600b12b..."} 
[2026-07-13 16:15:06] local.INFO: Processing buffer {"connection_id":132794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b13d430012d7c900005e99e90000600b12b..."} 
[2026-07-13 16:15:06] local.INFO: Packet analysis {"connection_id":132794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b13"} 
[2026-07-13 16:15:06] local.INFO: Extracted packet for processing {"connection_id":132794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b13"} 
[2026-07-13 16:15:06] local.INFO: GPS Element Parsed {"raw_longitude":763138048,"raw_latitude":99196560,"longitude_deg":76.3138048,"latitude_deg":9.919656,"altitude":6,"angle":177,"satellites":43,"speed":6,"hex_longitude":"2d7c9000","hex_latitude":"05e99e90","is_valid_coordinates":true} 
[2026-07-13 16:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688498432001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105823913954508800,"note":"Value kept but may cause issues"} 
[2026-07-13 16:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975111132790919168,"note":"Value kept but may cause issues"} 
[2026-07-13 16:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783939454000,"timestamp_ms":1783939454000,"timestamp_seconds":1783939454,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b13d430"} 
[2026-07-13 16:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-13 16:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688498432001,"66":12765,"192":206,"87":13824,"24":6,"16":105823913954508800,"45":8975111132790919168},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-13 16:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688498432001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:15:06] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-13 16:15:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105823913954508800,"km_value":105823913954508.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975111132790919168,"description":"Unknown IO ID 45"} 
[2026-07-13 16:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688498432001,"power":12765,"unknown_192":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8975111132790919168}} 
[2026-07-13 16:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":132794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480558,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:15:07] local.INFO: GPS data processed {"connection_id":132794,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:15:07] local.INFO: Acknowledgment sent {"connection_id":132794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:15:11] local.INFO: TCP Data received {"connection_id":130420,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b133bd8012d7f914005afd9380001011b25..."} 
[2026-07-13 16:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b133bd8012d7f914005afd9380001011b25..."} 
[2026-07-13 16:15:11] local.INFO: Processing buffer {"connection_id":130420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b133bd8012d7f914005afd9380001011b25..."} 
[2026-07-13 16:15:11] local.INFO: Packet analysis {"connection_id":130420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b13"} 
[2026-07-13 16:15:11] local.INFO: Extracted packet for processing {"connection_id":130420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b13"} 
[2026-07-13 16:15:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688413184001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783939415000,"timestamp_ms":1783939415000,"timestamp_seconds":1783939415,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b133bd8"} 
[2026-07-13 16:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688413184001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688413184001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:15:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:15:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688413184001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":130420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:15:11] local.INFO: GPS data processed {"connection_id":130420,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:15:11] local.INFO: Acknowledgment sent {"connection_id":130420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:15:24] local.INFO: TCP Data received {"connection_id":130646,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b08e750012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b08e750012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:15:24] local.INFO: Processing buffer {"connection_id":130646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b08e750012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:15:24] local.INFO: Packet analysis {"connection_id":130646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b08"} 
[2026-07-13 16:15:24] local.INFO: Extracted packet for processing {"connection_id":130646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b08"} 
[2026-07-13 16:15:24] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16: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-07-13 16:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688239872001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:15:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783938738000,"timestamp_ms":1783938738000,"timestamp_seconds":1783938738,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b08e750"} 
[2026-07-13 16:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 16:15:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16: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-07-13 16:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":130646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":130646,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":130646,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688239872001,"66":24984,"242":206,"85":36864,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-07-13 16:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688239872001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:15:24] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-13 16:15:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-13 16:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:15:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688239872001,"power":24984,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":130646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480560,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:15:24] local.INFO: GPS data processed {"connection_id":130646,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:15:24] local.INFO: Acknowledgment sent {"connection_id":130646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:15:34] local.INFO: TCP Data received {"connection_id":130421,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:15:34] local.INFO: Processing buffer {"connection_id":130421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:15:34] local.INFO: IMEI packet received {"connection_id":130421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":130421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:15:40] local.INFO: TCP Data received {"connection_id":130421,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:15:40] local.INFO: Processing buffer {"connection_id":130421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:15:40] local.INFO: IMEI packet received {"connection_id":130421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":130421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:15:40] local.INFO: TCP Data received {"connection_id":130647,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130647,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:15:40] local.INFO: Processing buffer {"connection_id":130647,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:15:40] local.INFO: IMEI packet received {"connection_id":130647,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":130647,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:15:41] local.INFO: TCP Data received {"connection_id":130421,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b133bd8012d7f914005afd9380001011b25..."} 
[2026-07-13 16:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b133bd8012d7f914005afd9380001011b25..."} 
[2026-07-13 16:15:41] local.INFO: Processing buffer {"connection_id":130421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b133bd8012d7f914005afd9380001011b25..."} 
[2026-07-13 16:15:41] local.INFO: Packet analysis {"connection_id":130421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b13"} 
[2026-07-13 16:15:41] local.INFO: Extracted packet for processing {"connection_id":130421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b13"} 
[2026-07-13 16:15:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688413184001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783939415000,"timestamp_ms":1783939415000,"timestamp_seconds":1783939415,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b133bd8"} 
[2026-07-13 16:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688413184001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688413184001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:15:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:15:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688413184001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":130421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:15:41] local.INFO: GPS data processed {"connection_id":130421,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:15:41] local.INFO: Acknowledgment sent {"connection_id":130421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:15:45] local.INFO: TCP Data received {"connection_id":130647,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130647,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:15:45] local.INFO: Processing buffer {"connection_id":130647,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:15:45] local.INFO: IMEI packet received {"connection_id":130647,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":130647,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:15:46] local.INFO: TCP Data received {"connection_id":130647,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0d7f18012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0d7f18012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:15:46] local.INFO: Processing buffer {"connection_id":130647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0d7f18012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:15:46] local.INFO: Packet analysis {"connection_id":130647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0d"} 
[2026-07-13 16:15:46] local.INFO: Extracted packet for processing {"connection_id":130647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0d"} 
[2026-07-13 16:15:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688316928001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:15:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783939039000,"timestamp_ms":1783939039000,"timestamp_seconds":1783939039,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0d7f18"} 
[2026-07-13 16:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-13 16:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688316928001,"66":24973,"221":206,"85":36864,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-13 16:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688316928001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:15:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-13 16:15:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-13 16:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:15:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688316928001,"power":24973,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":130647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480562,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:15:46] local.INFO: GPS data processed {"connection_id":130647,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:15:46] local.INFO: Acknowledgment sent {"connection_id":130647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:15:49] local.INFO: TCP Data received {"connection_id":132794,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b140310012d7c8e8005e99b28000600fe2e..."} 
[2026-07-13 16:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b140310012d7c8e8005e99b28000600fe2e..."} 
[2026-07-13 16:15:49] local.INFO: Processing buffer {"connection_id":132794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b140310012d7c8e8005e99b28000600fe2e..."} 
[2026-07-13 16:15:49] local.INFO: Packet analysis {"connection_id":132794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b14"} 
[2026-07-13 16:15:49] local.INFO: Extracted packet for processing {"connection_id":132794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b14"} 
[2026-07-13 16:15:49] local.INFO: GPS Element Parsed {"raw_longitude":763137664,"raw_latitude":99195688,"longitude_deg":76.3137664,"latitude_deg":9.9195688,"altitude":6,"angle":254,"satellites":46,"speed":4,"hex_longitude":"2d7c8e80","hex_latitude":"05e99b28","is_valid_coordinates":true} 
[2026-07-13 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-07-13 16:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688500224001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105823965494116352,"note":"Value kept but may cause issues"} 
[2026-07-13 16:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975674082743717888,"note":"Value kept but may cause issues"} 
[2026-07-13 16:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783939466000,"timestamp_ms":1783939466000,"timestamp_seconds":1783939466,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b140310"} 
[2026-07-13 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-07-13 16:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-13 16:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 16:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688500224001,"66":12939,"192":206,"87":13824,"24":4,"16":105823965494116352,"45":8975674082743717888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-13 16:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688500224001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:15:49] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-13 16:15:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105823965494116352,"km_value":105823965494116.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975674082743717888,"description":"Unknown IO ID 45"} 
[2026-07-13 16:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688500224001,"power":12939,"unknown_192":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8975674082743717888}} 
[2026-07-13 16:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":132794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480563,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:15:49] local.INFO: GPS data processed {"connection_id":132794,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:15:49] local.INFO: Acknowledgment sent {"connection_id":132794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:15:59] local.INFO: TCP Data received {"connection_id":130648,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130648,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:15:59] local.INFO: Processing buffer {"connection_id":130648,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:15:59] local.INFO: IMEI packet received {"connection_id":130648,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":130648,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:16:03] local.INFO: TCP Data received {"connection_id":130648,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130648,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:16:03] local.INFO: Processing buffer {"connection_id":130648,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:16:03] local.INFO: IMEI packet received {"connection_id":130648,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":130648,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:16:08] local.INFO: TCP Data received {"connection_id":130648,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130648,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:16:08] local.INFO: Processing buffer {"connection_id":130648,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:16:08] local.INFO: IMEI packet received {"connection_id":130648,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":130648,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:16:10] local.INFO: TCP Data received {"connection_id":130648,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1439c0012d7c7c0005e996a8000500ed29..."} 
[2026-07-13 16:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1439c0012d7c7c0005e996a8000500ed29..."} 
[2026-07-13 16:16:10] local.INFO: Processing buffer {"connection_id":130648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1439c0012d7c7c0005e996a8000500ed29..."} 
[2026-07-13 16:16:10] local.INFO: Packet analysis {"connection_id":130648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b14"} 
[2026-07-13 16:16:10] local.INFO: Extracted packet for processing {"connection_id":130648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b14"} 
[2026-07-13 16:16:10] local.INFO: GPS Element Parsed {"raw_longitude":763132928,"raw_latitude":99194536,"longitude_deg":76.3132928,"latitude_deg":9.9194536,"altitude":5,"angle":237,"satellites":41,"speed":15,"hex_longitude":"2d7c7c00","hex_latitude":"05e996a8","is_valid_coordinates":true} 
[2026-07-13 16:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688503296001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105824201717317632,"note":"Value kept but may cause issues"} 
[2026-07-13 16:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975251870278428672,"note":"Value kept but may cause issues"} 
[2026-07-13 16:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783939480000,"timestamp_ms":1783939480000,"timestamp_seconds":1783939480,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1439c0"} 
[2026-07-13 16:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16: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":139,"data_length":795,"current_offset":136} 
[2026-07-13 16:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688503296001,"66":12667,"192":206,"87":13824,"24":15,"16":105824201717317632,"45":8975251870278428672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-13 16:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688503296001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:16:10] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-13 16:16:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105824201717317632,"km_value":105824201717317.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975251870278428672,"description":"Unknown IO ID 45"} 
[2026-07-13 16:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688503296001,"power":12667,"unknown_192":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8975251870278428672}} 
[2026-07-13 16:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":130648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480564,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:16:10] local.INFO: GPS data processed {"connection_id":130648,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:16:10] local.INFO: Acknowledgment sent {"connection_id":130648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:16:11] local.INFO: TCP Data received {"connection_id":130648,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b143da8012d7c7ac005e995a8000500de2a..."} 
[2026-07-13 16:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b143da8012d7c7ac005e995a8000500de2a..."} 
[2026-07-13 16:16:11] local.INFO: Processing buffer {"connection_id":130648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b143da8012d7c7ac005e995a8000500de2a..."} 
[2026-07-13 16:16:11] local.INFO: Packet analysis {"connection_id":130648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b14"} 
[2026-07-13 16:16:11] local.INFO: Extracted packet for processing {"connection_id":130648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b14"} 
[2026-07-13 16:16:11] local.INFO: GPS Element Parsed {"raw_longitude":763132608,"raw_latitude":99194280,"longitude_deg":76.3132608,"latitude_deg":9.919428,"altitude":5,"angle":222,"satellites":42,"speed":14,"hex_longitude":"2d7c7ac0","hex_latitude":"05e995a8","is_valid_coordinates":true} 
[2026-07-13 16:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688506880001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105824218897186816,"note":"Value kept but may cause issues"} 
[2026-07-13 16:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970044583208986624,"note":"Value kept but may cause issues"} 
[2026-07-13 16:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783939481000,"timestamp_ms":1783939481000,"timestamp_seconds":1783939481,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b143da8"} 
[2026-07-13 16:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16: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":123,"data_length":795,"current_offset":136} 
[2026-07-13 16:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688506880001,"66":12667,"192":206,"87":13824,"24":14,"16":105824218897186816,"45":8970044583208986624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-13 16:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688506880001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:16:11] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-13 16:16:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105824218897186816,"km_value":105824218897186.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970044583208986624,"description":"Unknown IO ID 45"} 
[2026-07-13 16:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688506880001,"power":12667,"unknown_192":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8970044583208986624}} 
[2026-07-13 16:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":130648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480565,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:16:11] local.INFO: GPS data processed {"connection_id":130648,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:16:11] local.INFO: Acknowledgment sent {"connection_id":130648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:16:12] local.INFO: TCP Data received {"connection_id":130421,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b133bd8012d7f914005afd9380001011b25..."} 
[2026-07-13 16:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b133bd8012d7f914005afd9380001011b25..."} 
[2026-07-13 16:16:12] local.INFO: Processing buffer {"connection_id":130421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b133bd8012d7f914005afd9380001011b25..."} 
[2026-07-13 16:16:12] local.INFO: Packet analysis {"connection_id":130421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b13"} 
[2026-07-13 16:16:12] local.INFO: Extracted packet for processing {"connection_id":130421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b13"} 
[2026-07-13 16:16:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688413184001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783939415000,"timestamp_ms":1783939415000,"timestamp_seconds":1783939415,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b133bd8"} 
[2026-07-13 16:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688413184001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688413184001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:16:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:16:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688413184001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":130421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:16:12] local.INFO: GPS data processed {"connection_id":130421,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:16:12] local.INFO: Acknowledgment sent {"connection_id":130421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:16:18] local.INFO: TCP Data received {"connection_id":130647,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0d7f18012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0d7f18012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:16:18] local.INFO: Processing buffer {"connection_id":130647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0d7f18012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:16:18] local.INFO: Packet analysis {"connection_id":130647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0d"} 
[2026-07-13 16:16:18] local.INFO: Extracted packet for processing {"connection_id":130647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0d"} 
[2026-07-13 16:16:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 16:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688316928001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:16:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783939039000,"timestamp_ms":1783939039000,"timestamp_seconds":1783939039,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0d7f18"} 
[2026-07-13 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-07-13 16:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-13 16:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 16:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688316928001,"66":24973,"221":206,"85":36864,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-13 16:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688316928001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:16:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-13 16:16:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-13 16:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:16:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688316928001,"power":24973,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":130647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480567,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:16:18] local.INFO: GPS data processed {"connection_id":130647,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:16:18] local.INFO: Acknowledgment sent {"connection_id":130647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:16:34] local.INFO: TCP Data received {"connection_id":130422,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:16:34] local.INFO: Processing buffer {"connection_id":130422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:16:34] local.INFO: IMEI packet received {"connection_id":130422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":130422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:16:39] local.INFO: TCP Data received {"connection_id":130422,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:16:39] local.INFO: Processing buffer {"connection_id":130422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:16:39] local.INFO: IMEI packet received {"connection_id":130422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":130422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:16:40] local.INFO: TCP Data received {"connection_id":132795,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132795,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:16:40] local.INFO: Processing buffer {"connection_id":132795,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:16:40] local.INFO: IMEI packet received {"connection_id":132795,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":132795,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:16:40] local.INFO: TCP Data received {"connection_id":130422,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b133bd8012d7f914005afd9380001011b25..."} 
[2026-07-13 16:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b133bd8012d7f914005afd9380001011b25..."} 
[2026-07-13 16:16:40] local.INFO: Processing buffer {"connection_id":130422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b133bd8012d7f914005afd9380001011b25..."} 
[2026-07-13 16:16:40] local.INFO: Packet analysis {"connection_id":130422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b13"} 
[2026-07-13 16:16:40] local.INFO: Extracted packet for processing {"connection_id":130422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b13"} 
[2026-07-13 16:16:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688413184001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783939415000,"timestamp_ms":1783939415000,"timestamp_seconds":1783939415,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b133bd8"} 
[2026-07-13 16:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:16: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-07-13 16:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688413184001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688413184001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:16:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:16:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688413184001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":130422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:16:40] local.INFO: GPS data processed {"connection_id":130422,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:16:40] local.INFO: Acknowledgment sent {"connection_id":130422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:16:43] local.INFO: TCP Data received {"connection_id":130648,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b144960012d7c774005e99298000500ef28..."} 
[2026-07-13 16:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b144960012d7c774005e99298000500ef28..."} 
[2026-07-13 16:16:43] local.INFO: Processing buffer {"connection_id":130648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b144960012d7c774005e99298000500ef28..."} 
[2026-07-13 16:16:43] local.INFO: Packet analysis {"connection_id":130648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b14"} 
[2026-07-13 16:16:43] local.INFO: Extracted packet for processing {"connection_id":130648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b14"} 
[2026-07-13 16:16:43] local.INFO: GPS Element Parsed {"raw_longitude":763131712,"raw_latitude":99193496,"longitude_deg":76.3131712,"latitude_deg":9.9193496,"altitude":5,"angle":239,"satellites":40,"speed":14,"hex_longitude":"2d7c7740","hex_latitude":"05e99298","is_valid_coordinates":true} 
[2026-07-13 16:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688507136001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105824279026728960,"note":"Value kept but may cause issues"} 
[2026-07-13 16:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969692739488032768,"note":"Value kept but may cause issues"} 
[2026-07-13 16:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783939484000,"timestamp_ms":1783939484000,"timestamp_seconds":1783939484,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b144960"} 
[2026-07-13 16:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:16:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-13 16:16:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:16:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130648,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688507136001,"66":12722,"192":206,"87":13824,"24":14,"16":105824279026728960,"45":8969692739488032768},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-13 16:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688507136001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:16:43] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-13 16:16:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105824279026728960,"km_value":105824279026728.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969692739488032768,"description":"Unknown IO ID 45"} 
[2026-07-13 16:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688507136001,"power":12722,"unknown_192":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8969692739488032768}} 
[2026-07-13 16:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":130648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:16:43] local.INFO: GPS data processed {"connection_id":130648,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:16:43] local.INFO: Acknowledgment sent {"connection_id":130648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:16:45] local.INFO: TCP Data received {"connection_id":132795,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132795,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:16:45] local.INFO: Processing buffer {"connection_id":132795,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:16:45] local.INFO: IMEI packet received {"connection_id":132795,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":132795,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:16:46] local.INFO: TCP Data received {"connection_id":132795,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0d7f18012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0d7f18012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:16:46] local.INFO: Processing buffer {"connection_id":132795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0d7f18012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:16:46] local.INFO: Packet analysis {"connection_id":132795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0d"} 
[2026-07-13 16:16:46] local.INFO: Extracted packet for processing {"connection_id":132795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0d"} 
[2026-07-13 16:16:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688316928001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:16:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783939039000,"timestamp_ms":1783939039000,"timestamp_seconds":1783939039,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0d7f18"} 
[2026-07-13 16:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-13 16:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688316928001,"66":24973,"221":206,"85":36864,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-13 16:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688316928001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:16:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-13 16:16:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-13 16:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:16:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688316928001,"power":24973,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":132795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480570,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:16:46] local.INFO: GPS data processed {"connection_id":132795,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:16:46] local.INFO: Acknowledgment sent {"connection_id":132795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:16:58] local.INFO: TCP Data received {"connection_id":130649,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:16:58] local.INFO: Processing buffer {"connection_id":130649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:16:58] local.INFO: IMEI packet received {"connection_id":130649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":130649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:16:59] local.INFO: TCP Data received {"connection_id":130649,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:16:59] local.INFO: Processing buffer {"connection_id":130649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:16:59] local.INFO: IMEI packet received {"connection_id":130649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":130649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:17:03] local.INFO: TCP Data received {"connection_id":130649,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:17:03] local.INFO: Processing buffer {"connection_id":130649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:17:03] local.INFO: IMEI packet received {"connection_id":130649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":130649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:17:04] local.INFO: TCP Data received {"connection_id":130649,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b145130012d7c754005e99190000600fb2a..."} 
[2026-07-13 16:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b145130012d7c754005e99190000600fb2a..."} 
[2026-07-13 16:17:04] local.INFO: Processing buffer {"connection_id":130649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b145130012d7c754005e99190000600fb2a..."} 
[2026-07-13 16:17:04] local.INFO: Packet analysis {"connection_id":130649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b14"} 
[2026-07-13 16:17:04] local.INFO: Extracted packet for processing {"connection_id":130649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b14"} 
[2026-07-13 16:17:04] local.INFO: GPS Element Parsed {"raw_longitude":763131200,"raw_latitude":99193232,"longitude_deg":76.31312,"latitude_deg":9.9193232,"altitude":6,"angle":251,"satellites":42,"speed":10,"hex_longitude":"2d7c7540","hex_latitude":"05e99190","is_valid_coordinates":true} 
[2026-07-13 16:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688507904001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105824309091500032,"note":"Value kept but may cause issues"} 
[2026-07-13 16:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968707577069344768,"note":"Value kept but may cause issues"} 
[2026-07-13 16:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783939486000,"timestamp_ms":1783939486000,"timestamp_seconds":1783939486,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b145130"} 
[2026-07-13 16:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-13 16:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688507904001,"66":12852,"192":206,"87":13824,"24":10,"16":105824309091500032,"45":8968707577069344768},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-13 16:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688507904001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:17:04] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-13 16:17:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105824309091500032,"km_value":105824309091500.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968707577069344768,"description":"Unknown IO ID 45"} 
[2026-07-13 16:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688507904001,"power":12852,"unknown_192":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8968707577069344768}} 
[2026-07-13 16:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":130649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480571,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:17:04] local.INFO: GPS data processed {"connection_id":130649,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:17:04] local.INFO: Acknowledgment sent {"connection_id":130649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:17:08] local.INFO: TCP Data received {"connection_id":130649,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b149f50012d7c718005e99010000701072a..."} 
[2026-07-13 16:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b149f50012d7c718005e99010000701072a..."} 
[2026-07-13 16:17:08] local.INFO: Processing buffer {"connection_id":130649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b149f50012d7c718005e99010000701072a..."} 
[2026-07-13 16:17:08] local.INFO: Packet analysis {"connection_id":130649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b14"} 
[2026-07-13 16:17:08] local.INFO: Extracted packet for processing {"connection_id":130649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b14"} 
[2026-07-13 16:17:08] local.INFO: GPS Element Parsed {"raw_longitude":763130240,"raw_latitude":99192848,"longitude_deg":76.313024,"latitude_deg":9.9192848,"altitude":7,"angle":263,"satellites":42,"speed":5,"hex_longitude":"2d7c7180","hex_latitude":"05e99010","is_valid_coordinates":true} 
[2026-07-13 16:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688508416001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105824356336140288,"note":"Value kept but may cause issues"} 
[2026-07-13 16:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968144627115855872,"note":"Value kept but may cause issues"} 
[2026-07-13 16:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783939506000,"timestamp_ms":1783939506000,"timestamp_seconds":1783939506,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b149f50"} 
[2026-07-13 16:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-13 16:17: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-07-13 16:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688508416001,"66":12939,"192":206,"87":13824,"24":5,"16":105824356336140288,"45":8968144627115855872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-13 16:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688508416001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:17:08] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-13 16:17:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105824356336140288,"km_value":105824356336140.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968144627115855872,"description":"Unknown IO ID 45"} 
[2026-07-13 16:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688508416001,"power":12939,"unknown_192":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8968144627115855872}} 
[2026-07-13 16:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":130649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480572,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:17:08] local.INFO: GPS data processed {"connection_id":130649,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:17:08] local.INFO: Acknowledgment sent {"connection_id":130649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:17:11] local.INFO: TCP Data received {"connection_id":130422,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b133bd8012d7f914005afd9380001011b25..."} 
[2026-07-13 16:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b133bd8012d7f914005afd9380001011b25..."} 
[2026-07-13 16:17:11] local.INFO: Processing buffer {"connection_id":130422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b133bd8012d7f914005afd9380001011b25..."} 
[2026-07-13 16:17:11] local.INFO: Packet analysis {"connection_id":130422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b13"} 
[2026-07-13 16:17:11] local.INFO: Extracted packet for processing {"connection_id":130422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b13"} 
[2026-07-13 16:17:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 16:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688413184001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783939415000,"timestamp_ms":1783939415000,"timestamp_seconds":1783939415,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b133bd8"} 
[2026-07-13 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-07-13 16:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 16:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688413184001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688413184001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:17:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:17:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688413184001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":130422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:17:11] local.INFO: GPS data processed {"connection_id":130422,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:17:11] local.INFO: Acknowledgment sent {"connection_id":130422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:17:18] local.INFO: TCP Data received {"connection_id":132795,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0d7f18012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0d7f18012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:17:18] local.INFO: Processing buffer {"connection_id":132795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0d7f18012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:17:18] local.INFO: Packet analysis {"connection_id":132795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0d"} 
[2026-07-13 16:17:18] local.INFO: Extracted packet for processing {"connection_id":132795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0d"} 
[2026-07-13 16:17:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16: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-07-13 16:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688316928001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:17:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783939039000,"timestamp_ms":1783939039000,"timestamp_seconds":1783939039,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0d7f18"} 
[2026-07-13 16:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-13 16:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16: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-07-13 16:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688316928001,"66":24973,"221":206,"85":36864,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-13 16:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688316928001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:17:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-13 16:17:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-13 16:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:17:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688316928001,"power":24973,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":132795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480574,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:17:18] local.INFO: GPS data processed {"connection_id":132795,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:17:18] local.INFO: Acknowledgment sent {"connection_id":132795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:17:39] local.INFO: TCP Data received {"connection_id":132796,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:17:39] local.INFO: Processing buffer {"connection_id":132796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:17:39] local.INFO: IMEI packet received {"connection_id":132796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":132796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:17:40] local.INFO: TCP Data received {"connection_id":130649,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b14a338012d7c70c005e98fd0000700fc2a..."} 
[2026-07-13 16:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b14a338012d7c70c005e98fd0000700fc2a..."} 
[2026-07-13 16:17:40] local.INFO: Processing buffer {"connection_id":130649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b14a338012d7c70c005e98fd0000700fc2a..."} 
[2026-07-13 16:17:40] local.INFO: Packet analysis {"connection_id":130649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b14"} 
[2026-07-13 16:17:40] local.INFO: Extracted packet for processing {"connection_id":130649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b14"} 
[2026-07-13 16:17:40] local.INFO: GPS Element Parsed {"raw_longitude":763130048,"raw_latitude":99192784,"longitude_deg":76.3130048,"latitude_deg":9.9192784,"altitude":7,"angle":252,"satellites":42,"speed":10,"hex_longitude":"2d7c70c0","hex_latitude":"05e98fd0","is_valid_coordinates":true} 
[2026-07-13 16:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688513536001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105824369221042176,"note":"Value kept but may cause issues"} 
[2026-07-13 16:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8967089095953092608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783939507000,"timestamp_ms":1783939507000,"timestamp_seconds":1783939507,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b14a338"} 
[2026-07-13 16:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:17: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-07-13 16:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-13 16:17: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-07-13 16:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688513536001,"66":12939,"192":206,"87":13824,"24":10,"16":105824369221042176,"45":8967089095953092608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-13 16:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688513536001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:17:40] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-13 16:17:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105824369221042176,"km_value":105824369221042.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8967089095953092608,"description":"Unknown IO ID 45"} 
[2026-07-13 16:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688513536001,"power":12939,"unknown_192":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8967089095953092608}} 
[2026-07-13 16:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":130649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480575,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:17:40] local.INFO: GPS data processed {"connection_id":130649,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:17:40] local.INFO: Acknowledgment sent {"connection_id":130649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:17:44] local.INFO: TCP Data received {"connection_id":132796,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:17:44] local.INFO: Processing buffer {"connection_id":132796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:17:44] local.INFO: IMEI packet received {"connection_id":132796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":132796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:17:45] local.INFO: TCP Data received {"connection_id":130423,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:17:45] local.INFO: Processing buffer {"connection_id":130423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:17:45] local.INFO: IMEI packet received {"connection_id":130423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":130423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:17:45] local.INFO: TCP Data received {"connection_id":132796,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b133bd8012d7f914005afd9380001011b25..."} 
[2026-07-13 16:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b133bd8012d7f914005afd9380001011b25..."} 
[2026-07-13 16:17:45] local.INFO: Processing buffer {"connection_id":132796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b133bd8012d7f914005afd9380001011b25..."} 
[2026-07-13 16:17:45] local.INFO: Packet analysis {"connection_id":132796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b13"} 
[2026-07-13 16:17:45] local.INFO: Extracted packet for processing {"connection_id":132796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b13"} 
[2026-07-13 16:17:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688413184001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783939415000,"timestamp_ms":1783939415000,"timestamp_seconds":1783939415,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b133bd8"} 
[2026-07-13 16:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:17:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688413184001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688413184001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:17:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:17:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688413184001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":132796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:17:45] local.INFO: GPS data processed {"connection_id":132796,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:17:45] local.INFO: Acknowledgment sent {"connection_id":132796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:17:50] local.INFO: TCP Data received {"connection_id":130423,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:17:50] local.INFO: Processing buffer {"connection_id":130423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:17:50] local.INFO: IMEI packet received {"connection_id":130423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":130423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:17:50] local.INFO: TCP Data received {"connection_id":132796,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b133bd8012d7f914005afd9380001011b25..."} 
[2026-07-13 16:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b133bd8012d7f914005afd9380001011b25..."} 
[2026-07-13 16:17:50] local.INFO: Processing buffer {"connection_id":132796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b133bd8012d7f914005afd9380001011b25..."} 
[2026-07-13 16:17:50] local.INFO: Packet analysis {"connection_id":132796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b13"} 
[2026-07-13 16:17:50] local.INFO: Extracted packet for processing {"connection_id":132796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b13"} 
[2026-07-13 16:17:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688413184001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783939415000,"timestamp_ms":1783939415000,"timestamp_seconds":1783939415,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b133bd8"} 
[2026-07-13 16:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:17: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-07-13 16:17:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":132796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":132796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":132796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:17: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-07-13 16:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688413184001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688413184001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:17:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:17:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688413184001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":132796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:17:50] local.INFO: GPS data processed {"connection_id":132796,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:17:50] local.INFO: Acknowledgment sent {"connection_id":132796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:17:51] local.INFO: TCP Data received {"connection_id":130423,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0d7f18012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0d7f18012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:17:51] local.INFO: Processing buffer {"connection_id":130423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0d7f18012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:17:51] local.INFO: Packet analysis {"connection_id":130423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0d"} 
[2026-07-13 16:17:51] local.INFO: Extracted packet for processing {"connection_id":130423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0d"} 
[2026-07-13 16:17:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688316928001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:17:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783939039000,"timestamp_ms":1783939039000,"timestamp_seconds":1783939039,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0d7f18"} 
[2026-07-13 16:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-13 16:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688316928001,"66":24973,"221":206,"85":36864,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-13 16:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688316928001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:17:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-13 16:17:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-13 16:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:17:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688316928001,"power":24973,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":130423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480578,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:17:51] local.INFO: GPS data processed {"connection_id":130423,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:17:51] local.INFO: Acknowledgment sent {"connection_id":130423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:17:56] local.INFO: TCP Data received {"connection_id":130423,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b0d7f18012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b0d7f18012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:17:56] local.INFO: Processing buffer {"connection_id":130423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b0d7f18012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:17:56] local.INFO: Packet analysis {"connection_id":130423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b0d"} 
[2026-07-13 16:17:56] local.INFO: Extracted packet for processing {"connection_id":130423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b0d"} 
[2026-07-13 16:17:56] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688316928001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:17:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783939039000,"timestamp_ms":1783939039000,"timestamp_seconds":1783939039,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b0d7f18"} 
[2026-07-13 16:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-13 16:17:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":130423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":130423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":130423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688316928001,"66":24973,"221":206,"85":36864,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-13 16:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688316928001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:17:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-13 16:17:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-13 16:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:17:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688316928001,"power":24973,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":130423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480579,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:17:56] local.INFO: GPS data processed {"connection_id":130423,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:17:56] local.INFO: Acknowledgment sent {"connection_id":130423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:18:13] local.INFO: TCP Data received {"connection_id":132797,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:18:13] local.INFO: Processing buffer {"connection_id":132797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:18:13] local.INFO: IMEI packet received {"connection_id":132797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":132797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:18:14] local.INFO: TCP Data received {"connection_id":132797,"ip":"42.106.6.18","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-13 16:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132797,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-13 16:18:14] local.INFO: Processing buffer {"connection_id":132797,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-13 16:18:14] local.INFO: IMEI packet received {"connection_id":132797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":132797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:18:15] local.INFO: TCP Data received {"connection_id":132797,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:18:15] local.INFO: Processing buffer {"connection_id":132797,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-13 16:18:15] local.INFO: IMEI packet received {"connection_id":132797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":132797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:18:34] local.INFO: TCP Data received {"connection_id":131467,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:18:34] local.INFO: Processing buffer {"connection_id":131467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:18:34] local.INFO: IMEI packet received {"connection_id":131467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":131467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:18:39] local.INFO: TCP Data received {"connection_id":131467,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:18:39] local.INFO: Processing buffer {"connection_id":131467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:18:39] local.INFO: IMEI packet received {"connection_id":131467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":131467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:18:40] local.INFO: TCP Data received {"connection_id":131468,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131468,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:18:40] local.INFO: Processing buffer {"connection_id":131468,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:18:40] local.INFO: IMEI packet received {"connection_id":131468,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":131468,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:18:40] local.INFO: TCP Data received {"connection_id":131467,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b133bd8012d7f914005afd9380001011b25..."} 
[2026-07-13 16:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b133bd8012d7f914005afd9380001011b25..."} 
[2026-07-13 16:18:40] local.INFO: Processing buffer {"connection_id":131467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b133bd8012d7f914005afd9380001011b25..."} 
[2026-07-13 16:18:40] local.INFO: Packet analysis {"connection_id":131467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b13"} 
[2026-07-13 16:18:40] local.INFO: Extracted packet for processing {"connection_id":131467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b13"} 
[2026-07-13 16:18:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688413184001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783939415000,"timestamp_ms":1783939415000,"timestamp_seconds":1783939415,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b133bd8"} 
[2026-07-13 16:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:18: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-07-13 16:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688413184001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688413184001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:18:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:18:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688413184001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":131467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:18:40] local.INFO: GPS data processed {"connection_id":131467,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:18:40] local.INFO: Acknowledgment sent {"connection_id":131467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:18:45] local.INFO: TCP Data received {"connection_id":131468,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131468,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:18:45] local.INFO: Processing buffer {"connection_id":131468,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:18:45] local.INFO: IMEI packet received {"connection_id":131468,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":131468,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:18:47] local.INFO: TCP Data received {"connection_id":131468,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b16a2f0012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b16a2f0012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:18:47] local.INFO: Processing buffer {"connection_id":131468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b16a2f0012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:18:47] local.INFO: Packet analysis {"connection_id":131468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b16"} 
[2026-07-13 16:18:47] local.INFO: Extracted packet for processing {"connection_id":131468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b16"} 
[2026-07-13 16:18:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688393984001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:18:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783939638000,"timestamp_ms":1783939638000,"timestamp_seconds":1783939638,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b16a2f0"} 
[2026-07-13 16:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 16:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":131468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":131468,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":131468,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688393984001,"66":24930,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 16:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688393984001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:18:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 16:18:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:18:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688393984001,"power":24930,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":131468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480581,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:18:47] local.INFO: GPS data processed {"connection_id":131468,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:18:47] local.INFO: Acknowledgment sent {"connection_id":131468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:19:11] local.INFO: TCP Data received {"connection_id":131467,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b133bd8012d7f914005afd9380001011b25..."} 
[2026-07-13 16:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b133bd8012d7f914005afd9380001011b25..."} 
[2026-07-13 16:19:11] local.INFO: Processing buffer {"connection_id":131467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b133bd8012d7f914005afd9380001011b25..."} 
[2026-07-13 16:19:11] local.INFO: Packet analysis {"connection_id":131467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b13"} 
[2026-07-13 16:19:11] local.INFO: Extracted packet for processing {"connection_id":131467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b13"} 
[2026-07-13 16:19:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":1,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688413184001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783939415000,"timestamp_ms":1783939415000,"timestamp_seconds":1783939415,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b133bd8"} 
[2026-07-13 16:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688413184001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688413184001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:19:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688413184001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":131467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:19:11] local.INFO: GPS data processed {"connection_id":131467,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:19:11] local.INFO: Acknowledgment sent {"connection_id":131467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:19:18] local.INFO: TCP Data received {"connection_id":131468,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b16a2f0012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b16a2f0012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:19:18] local.INFO: Processing buffer {"connection_id":131468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b16a2f0012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:19:18] local.INFO: Packet analysis {"connection_id":131468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b16"} 
[2026-07-13 16:19:18] local.INFO: Extracted packet for processing {"connection_id":131468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b16"} 
[2026-07-13 16:19:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 16:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688393984001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:19:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783939638000,"timestamp_ms":1783939638000,"timestamp_seconds":1783939638,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b16a2f0"} 
[2026-07-13 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-07-13 16:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 16:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 16:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131468,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131468,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688393984001,"66":24930,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 16:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688393984001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:19:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 16:19:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:19:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688393984001,"power":24930,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":131468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480583,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:19:18] local.INFO: GPS data processed {"connection_id":131468,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:19:18] local.INFO: Acknowledgment sent {"connection_id":131468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:19:35] local.INFO: TCP Data received {"connection_id":131469,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:19:35] local.INFO: Processing buffer {"connection_id":131469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:19:35] local.INFO: IMEI packet received {"connection_id":131469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":131469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:19:39] local.INFO: TCP Data received {"connection_id":130650,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130650,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:19:39] local.INFO: Processing buffer {"connection_id":130650,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:19:39] local.INFO: IMEI packet received {"connection_id":130650,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":130650,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:19:43] local.INFO: TCP Data received {"connection_id":131469,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:19:43] local.INFO: Processing buffer {"connection_id":131469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:19:43] local.INFO: IMEI packet received {"connection_id":131469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":131469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:19:45] local.INFO: TCP Data received {"connection_id":130650,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130650,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:19:45] local.INFO: Processing buffer {"connection_id":130650,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:19:45] local.INFO: IMEI packet received {"connection_id":130650,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":130650,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:19:45] local.INFO: TCP Data received {"connection_id":131469,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b17d3a0012d7f914005afd9380005011b23..."} 
[2026-07-13 16:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b17d3a0012d7f914005afd9380005011b23..."} 
[2026-07-13 16:19:45] local.INFO: Processing buffer {"connection_id":131469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b17d3a0012d7f914005afd9380005011b23..."} 
[2026-07-13 16:19:45] local.INFO: Packet analysis {"connection_id":131469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b17"} 
[2026-07-13 16:19:45] local.INFO: Extracted packet for processing {"connection_id":131469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b17"} 
[2026-07-13 16:19:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688490240001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783939716000,"timestamp_ms":1783939716000,"timestamp_seconds":1783939716,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b17d3a0"} 
[2026-07-13 16:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:19:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:19:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688490240001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688490240001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:19:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:19:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688490240001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":131469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:19:45] local.INFO: GPS data processed {"connection_id":131469,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:19:45] local.INFO: Acknowledgment sent {"connection_id":131469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:19:46] local.INFO: TCP Data received {"connection_id":130650,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b16a2f0012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b16a2f0012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:19:46] local.INFO: Processing buffer {"connection_id":130650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b16a2f0012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:19:46] local.INFO: Packet analysis {"connection_id":130650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b16"} 
[2026-07-13 16:19:46] local.INFO: Extracted packet for processing {"connection_id":130650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b16"} 
[2026-07-13 16:19:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688393984001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:19:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783939638000,"timestamp_ms":1783939638000,"timestamp_seconds":1783939638,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b16a2f0"} 
[2026-07-13 16:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 16:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130650,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130650,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688393984001,"66":24930,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 16:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688393984001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:19:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 16:19:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:19:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688393984001,"power":24930,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":130650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480585,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:19:46] local.INFO: GPS data processed {"connection_id":130650,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:19:46] local.INFO: Acknowledgment sent {"connection_id":130650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:20:18] local.INFO: TCP Data received {"connection_id":131469,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b17d3a0012d7f914005afd9380005011b23..."} 
[2026-07-13 16:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b17d3a0012d7f914005afd9380005011b23..."} 
[2026-07-13 16:20:18] local.INFO: Processing buffer {"connection_id":131469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b17d3a0012d7f914005afd9380005011b23..."} 
[2026-07-13 16:20:18] local.INFO: Packet analysis {"connection_id":131469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b17"} 
[2026-07-13 16:20:18] local.INFO: Extracted packet for processing {"connection_id":131469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b17"} 
[2026-07-13 16:20:18] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 16:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688490240001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783939716000,"timestamp_ms":1783939716000,"timestamp_seconds":1783939716,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b17d3a0"} 
[2026-07-13 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-07-13 16:20: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-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:20: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-07-13 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-07-13 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-07-13 16:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:20: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-07-13 16:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688490240001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688490240001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:20:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:20:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688490240001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:20:18] local.INFO: TCP Data received {"connection_id":130650,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b16a2f0012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b16a2f0012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:20:18] local.INFO: Processing buffer {"connection_id":130650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b16a2f0012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:20:18] local.INFO: Packet analysis {"connection_id":130650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b16"} 
[2026-07-13 16:20:18] local.INFO: Extracted packet for processing {"connection_id":130650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b16"} 
[2026-07-13 16:20:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 16:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688393984001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:20:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783939638000,"timestamp_ms":1783939638000,"timestamp_seconds":1783939638,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b16a2f0"} 
[2026-07-13 16:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":131469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 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-07-13 16:20:18] local.INFO: GPS data processed {"connection_id":131469,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 16:20:18] local.INFO: Acknowledgment sent {"connection_id":131469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:20:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 16:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130650,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130650,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688393984001,"66":24930,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 16:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688393984001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:20:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 16:20:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:20:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688393984001,"power":24930,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":130650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480587,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:20:18] local.INFO: GPS data processed {"connection_id":130650,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:20:18] local.INFO: Acknowledgment sent {"connection_id":130650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:20:45] local.INFO: TCP Data received {"connection_id":130425,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130425,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:20:45] local.INFO: Processing buffer {"connection_id":130425,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:20:45] local.INFO: IMEI packet received {"connection_id":130425,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":130425,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:20:50] local.INFO: TCP Data received {"connection_id":130425,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130425,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:20:50] local.INFO: Processing buffer {"connection_id":130425,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:20:50] local.INFO: IMEI packet received {"connection_id":130425,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":130425,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:20:51] local.INFO: TCP Data received {"connection_id":130425,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b16a2f0012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b16a2f0012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:20:51] local.INFO: Processing buffer {"connection_id":130425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b16a2f0012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:20:51] local.INFO: Packet analysis {"connection_id":130425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b16"} 
[2026-07-13 16:20:51] local.INFO: Extracted packet for processing {"connection_id":130425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b16"} 
[2026-07-13 16:20:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688393984001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:20:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783939638000,"timestamp_ms":1783939638000,"timestamp_seconds":1783939638,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b16a2f0"} 
[2026-07-13 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-07-13 16:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 16:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 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-07-13 16:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130425,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130425,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688393984001,"66":24930,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 16:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688393984001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:20:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 16:20:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:20:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688393984001,"power":24930,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":130425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480588,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:20:51] local.INFO: GPS data processed {"connection_id":130425,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:20:51] local.INFO: Acknowledgment sent {"connection_id":130425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:20:55] local.INFO: TCP Data received {"connection_id":130425,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b16a2f0012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b16a2f0012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:20:55] local.INFO: Processing buffer {"connection_id":130425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b16a2f0012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:20:55] local.INFO: Packet analysis {"connection_id":130425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b16"} 
[2026-07-13 16:20:55] local.INFO: Extracted packet for processing {"connection_id":130425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b16"} 
[2026-07-13 16:20:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688393984001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:20:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783939638000,"timestamp_ms":1783939638000,"timestamp_seconds":1783939638,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b16a2f0"} 
[2026-07-13 16:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 16:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130425,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130425,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688393984001,"66":24930,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 16:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688393984001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:20:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 16:20:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:20:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688393984001,"power":24930,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":130425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480589,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:20:55] local.INFO: GPS data processed {"connection_id":130425,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:20:55] local.INFO: Acknowledgment sent {"connection_id":130425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:21:18] local.INFO: TCP Data received {"connection_id":131470,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:21:18] local.INFO: Processing buffer {"connection_id":131470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:21:18] local.INFO: IMEI packet received {"connection_id":131470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":131470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:21:40] local.INFO: TCP Data received {"connection_id":130653,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:21:40] local.INFO: Processing buffer {"connection_id":130653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:21:40] local.INFO: IMEI packet received {"connection_id":130653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":130653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:21:45] local.INFO: TCP Data received {"connection_id":130653,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:21:45] local.INFO: Processing buffer {"connection_id":130653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:21:45] local.INFO: IMEI packet received {"connection_id":130653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":130653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:21:46] local.INFO: TCP Data received {"connection_id":130653,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b16a2f0012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b16a2f0012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:21:46] local.INFO: Processing buffer {"connection_id":130653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b16a2f0012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:21:46] local.INFO: Packet analysis {"connection_id":130653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b16"} 
[2026-07-13 16:21:46] local.INFO: Extracted packet for processing {"connection_id":130653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b16"} 
[2026-07-13 16:21:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16: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-07-13 16:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688393984001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:21:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783939638000,"timestamp_ms":1783939638000,"timestamp_seconds":1783939638,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b16a2f0"} 
[2026-07-13 16:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 16:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16: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-07-13 16:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688393984001,"66":24930,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 16:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688393984001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:21:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 16:21:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:21:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688393984001,"power":24930,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":130653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480590,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:21:46] local.INFO: GPS data processed {"connection_id":130653,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:21:46] local.INFO: Acknowledgment sent {"connection_id":130653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:21:46] local.INFO: TCP Data received {"connection_id":130654,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:21:46] local.INFO: Processing buffer {"connection_id":130654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:21:46] local.INFO: IMEI packet received {"connection_id":130654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":130654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:22:05] local.INFO: TCP Data received {"connection_id":130654,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:22:05] local.INFO: Processing buffer {"connection_id":130654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:22:05] local.INFO: IMEI packet received {"connection_id":130654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":130654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:22:18] local.INFO: TCP Data received {"connection_id":130653,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b16a2f0012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b16a2f0012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:22:18] local.INFO: Processing buffer {"connection_id":130653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b16a2f0012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:22:18] local.INFO: Packet analysis {"connection_id":130653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b16"} 
[2026-07-13 16:22:18] local.INFO: Extracted packet for processing {"connection_id":130653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b16"} 
[2026-07-13 16:22:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688393984001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:22:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783939638000,"timestamp_ms":1783939638000,"timestamp_seconds":1783939638,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b16a2f0"} 
[2026-07-13 16:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 16:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:22:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688393984001,"66":24930,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 16:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688393984001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:22:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 16:22:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:22:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688393984001,"power":24930,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":130653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480591,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:22:18] local.INFO: GPS data processed {"connection_id":130653,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:22:18] local.INFO: Acknowledgment sent {"connection_id":130653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:22:34] local.INFO: TCP Data received {"connection_id":130654,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:22:34] local.INFO: Processing buffer {"connection_id":130654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:22:34] local.INFO: IMEI packet received {"connection_id":130654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":130654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:22:39] local.INFO: TCP Data received {"connection_id":132799,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132799,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:22:39] local.INFO: Processing buffer {"connection_id":132799,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:22:39] local.INFO: IMEI packet received {"connection_id":132799,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":132799,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:22:45] local.INFO: TCP Data received {"connection_id":132799,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132799,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:22:45] local.INFO: Processing buffer {"connection_id":132799,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:22:45] local.INFO: IMEI packet received {"connection_id":132799,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":132799,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:22:46] local.INFO: TCP Data received {"connection_id":132799,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b16a2f0012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b16a2f0012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:22:46] local.INFO: Processing buffer {"connection_id":132799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b16a2f0012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:22:46] local.INFO: Packet analysis {"connection_id":132799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b16"} 
[2026-07-13 16:22:46] local.INFO: Extracted packet for processing {"connection_id":132799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b16"} 
[2026-07-13 16:22:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688393984001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:22:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783939638000,"timestamp_ms":1783939638000,"timestamp_seconds":1783939638,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b16a2f0"} 
[2026-07-13 16:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 16:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132799,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132799,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688393984001,"66":24930,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 16:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688393984001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:22:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 16:22:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:22:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688393984001,"power":24930,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":132799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480592,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:22:46] local.INFO: GPS data processed {"connection_id":132799,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:22:46] local.INFO: Acknowledgment sent {"connection_id":132799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:23:17] local.INFO: TCP Data received {"connection_id":132799,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:23:17] local.INFO: Processing buffer {"connection_id":132799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:23:17] local.INFO: Packet analysis {"connection_id":132799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1b"} 
[2026-07-13 16:23:17] local.INFO: Extracted packet for processing {"connection_id":132799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1b"} 
[2026-07-13 16:23:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 16:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688547328001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:23:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783939939000,"timestamp_ms":1783939939000,"timestamp_seconds":1783939939,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1b3ab8"} 
[2026-07-13 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-07-13 16:23: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-07-13 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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-13 16:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 16:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132799,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132799,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688547328001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688547328001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:23:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:23:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:23:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688547328001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":132799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480593,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:23:17] local.INFO: GPS data processed {"connection_id":132799,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:23:17] local.INFO: Acknowledgment sent {"connection_id":132799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:23:18] local.INFO: TCP Data received {"connection_id":130655,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130655,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:23:18] local.INFO: Processing buffer {"connection_id":130655,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:23:18] local.INFO: IMEI packet received {"connection_id":130655,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":130655,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:23:19] local.INFO: TCP Data received {"connection_id":130655,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1ad910012d7b764005e742a0000300b42a..."} 
[2026-07-13 16:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1ad910012d7b764005e742a0000300b42a..."} 
[2026-07-13 16:23:19] local.INFO: Processing buffer {"connection_id":130655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1ad910012d7b764005e742a0000300b42a..."} 
[2026-07-13 16:23:19] local.INFO: Packet analysis {"connection_id":130655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1a"} 
[2026-07-13 16:23:19] local.INFO: Extracted packet for processing {"connection_id":130655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1a"} 
[2026-07-13 16:23:19] local.INFO: GPS Element Parsed {"raw_longitude":763065920,"raw_latitude":99041952,"longitude_deg":76.306592,"latitude_deg":9.9041952,"altitude":3,"angle":180,"satellites":42,"speed":36,"hex_longitude":"2d7b7640","hex_latitude":"05e742a0","is_valid_coordinates":true} 
[2026-07-13 16: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-07-13 16:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688614144001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105834385084776448,"note":"Value kept but may cause issues"} 
[2026-07-13 16:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894820395646425088,"note":"Value kept but may cause issues"} 
[2026-07-13 16:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783939914000,"timestamp_ms":1783939914000,"timestamp_seconds":1783939914,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1ad910"} 
[2026-07-13 16:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:23: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-07-13 16: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-13 16:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16: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-07-13 16:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688614144001,"66":12906,"96":206,"87":13824,"24":36,"16":105834385084776448,"45":8894820395646425088},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-13 16:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688614144001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:23:19] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 16:23:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105834385084776448,"km_value":105834385084776.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894820395646425088,"description":"Unknown IO ID 45"} 
[2026-07-13 16:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688614144001,"power":12906,"unknown_96":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8894820395646425088}} 
[2026-07-13 16:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":130655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480594,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:23:19] local.INFO: GPS data processed {"connection_id":130655,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:23:19] local.INFO: Acknowledgment sent {"connection_id":130655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:23:45] local.INFO: TCP Data received {"connection_id":131472,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:23:45] local.INFO: Processing buffer {"connection_id":131472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:23:45] local.INFO: IMEI packet received {"connection_id":131472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":131472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:23:50] local.INFO: TCP Data received {"connection_id":131472,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:23:50] local.INFO: Processing buffer {"connection_id":131472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:23:50] local.INFO: IMEI packet received {"connection_id":131472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":131472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:23:51] local.INFO: TCP Data received {"connection_id":131472,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:23:51] local.INFO: Processing buffer {"connection_id":131472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:23:51] local.INFO: Packet analysis {"connection_id":131472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1b"} 
[2026-07-13 16:23:51] local.INFO: Extracted packet for processing {"connection_id":131472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1b"} 
[2026-07-13 16:23:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16: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-07-13 16:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688547328001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:23:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783939939000,"timestamp_ms":1783939939000,"timestamp_seconds":1783939939,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1b3ab8"} 
[2026-07-13 16:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-13 16:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16: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-07-13 16:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":131472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":131472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":131472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688547328001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688547328001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:23:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:23:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:23:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688547328001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":131472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480595,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:23:51] local.INFO: GPS data processed {"connection_id":131472,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:23:51] local.INFO: Acknowledgment sent {"connection_id":131472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:23:55] local.INFO: TCP Data received {"connection_id":131472,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:23:55] local.INFO: Processing buffer {"connection_id":131472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:23:55] local.INFO: Packet analysis {"connection_id":131472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1b"} 
[2026-07-13 16:23:55] local.INFO: Extracted packet for processing {"connection_id":131472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1b"} 
[2026-07-13 16:23:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688547328001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:23:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783939939000,"timestamp_ms":1783939939000,"timestamp_seconds":1783939939,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1b3ab8"} 
[2026-07-13 16:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-13 16:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":131472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":131472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":131472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688547328001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688547328001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:23:55] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:23:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:23:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688547328001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":131472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480596,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:23:55] local.INFO: GPS data processed {"connection_id":131472,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:23:55] local.INFO: Acknowledgment sent {"connection_id":131472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:23:58] local.INFO: TCP Data received {"connection_id":130426,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130426,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:23:58] local.INFO: Processing buffer {"connection_id":130426,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:23:58] local.INFO: IMEI packet received {"connection_id":130426,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":130426,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:23:59] local.INFO: TCP Data received {"connection_id":130426,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130426,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:23:59] local.INFO: Processing buffer {"connection_id":130426,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:23:59] local.INFO: IMEI packet received {"connection_id":130426,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":130426,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:24:03] local.INFO: TCP Data received {"connection_id":130426,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130426,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:24:03] local.INFO: Processing buffer {"connection_id":130426,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:24:03] local.INFO: IMEI packet received {"connection_id":130426,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":130426,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:24:04] local.INFO: TCP Data received {"connection_id":130426,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1c5fb0012d7b968005e6b528000500a927..."} 
[2026-07-13 16:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1c5fb0012d7b968005e6b528000500a927..."} 
[2026-07-13 16:24:04] local.INFO: Processing buffer {"connection_id":130426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1c5fb0012d7b968005e6b528000500a927..."} 
[2026-07-13 16:24:04] local.INFO: Packet analysis {"connection_id":130426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1c"} 
[2026-07-13 16:24:04] local.INFO: Extracted packet for processing {"connection_id":130426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1c"} 
[2026-07-13 16:24:04] local.INFO: GPS Element Parsed {"raw_longitude":763074176,"raw_latitude":99005736,"longitude_deg":76.3074176,"latitude_deg":9.9005736,"altitude":5,"angle":169,"satellites":39,"speed":35,"hex_longitude":"2d7b9680","hex_latitude":"05e6b528","is_valid_coordinates":true} 
[2026-07-13 16:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688641792001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105836244805615616,"note":"Value kept but may cause issues"} 
[2026-07-13 16:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906149763448838144,"note":"Value kept but may cause issues"} 
[2026-07-13 16:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783940014000,"timestamp_ms":1783940014000,"timestamp_seconds":1783940014,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1c5fb0"} 
[2026-07-13 16:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-13 16:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303161721015629,"note":"Value kept but may cause issues"} 
[2026-07-13 16:24:04] local.WARNING: Large IO value detected {"io_id":96,"raw_value":58079734643818512,"note":"Value kept but may cause issues"} 
[2026-07-13 16:24:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 16:24:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3876220928,"note":"Value kept but may cause issues"} 
[2026-07-13 16:24:04] local.WARNING: Large IO value detected {"io_id":230,"raw_value":4109893636,"note":"Value kept but may cause issues"} 
[2026-07-13 16:24:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298137294,"corrected_to":0} 
[2026-07-13 16:24:04] local.WARNING: Large IO value detected {"io_id":183,"raw_value":3087084923,"note":"Value kept but may cause issues"} 
[2026-07-13 16:24:04] local.WARNING: Large IO value detected {"io_id":140,"raw_value":3221612280,"note":"Value kept but may cause issues"} 
[2026-07-13 16:24:04] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,96,87,24,241,157,16,1,159,52,45,215,5,42,10,66,33,64,225,226,240,248,227,91,230,4,113,205,11,183,140,41,239,50,2,120,6],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1298137294,"validated":0}]} 
[2026-07-13 16:24:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432552448509345792,"timestamp_seconds":432552448509345.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 16:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130426,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130426,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688641792001,"66":13059,"96":206,"87":13824,"24":35,"16":105836244805615616,"45":8906149763448838144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-13 16:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688641792001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:24:04] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 16:24:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105836244805615616,"km_value":105836244805615.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906149763448838144,"description":"Unknown IO ID 45"} 
[2026-07-13 16:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688641792001,"power":13059,"unknown_96":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8906149763448838144}} 
[2026-07-13 16:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":130426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480597,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:24:04] local.INFO: GPS data processed {"connection_id":130426,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:24:04] local.INFO: Acknowledgment sent {"connection_id":130426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:24:35] local.INFO: TCP Data received {"connection_id":130426,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1c86c0012d7b9f8005e69048000500a726..."} 
[2026-07-13 16:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1c86c0012d7b9f8005e69048000500a726..."} 
[2026-07-13 16:24:35] local.INFO: Processing buffer {"connection_id":130426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1c86c0012d7b9f8005e69048000500a726..."} 
[2026-07-13 16:24:35] local.INFO: Packet analysis {"connection_id":130426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1c"} 
[2026-07-13 16:24:35] local.INFO: Extracted packet for processing {"connection_id":130426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1c"} 
[2026-07-13 16:24:35] local.INFO: GPS Element Parsed {"raw_longitude":763076480,"raw_latitude":98996296,"longitude_deg":76.307648,"latitude_deg":9.8996296,"altitude":5,"angle":167,"satellites":38,"speed":37,"hex_longitude":"2d7b9f80","hex_latitude":"05e69048","is_valid_coordinates":true} 
[2026-07-13 16:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688643584001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105836712957050880,"note":"Value kept but may cause issues"} 
[2026-07-13 16:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905446076005558272,"note":"Value kept but may cause issues"} 
[2026-07-13 16:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783940024000,"timestamp_ms":1783940024000,"timestamp_seconds":1783940024,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1c86c0"} 
[2026-07-13 16:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-13 16:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160093625677,"note":"Value kept but may cause issues"} 
[2026-07-13 16:24:35] local.WARNING: Large IO value detected {"io_id":96,"raw_value":58079734643818498,"note":"Value kept but may cause issues"} 
[2026-07-13 16:24:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 16:24:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3875074048,"note":"Value kept but may cause issues"} 
[2026-07-13 16:24:35] local.WARNING: Large IO value detected {"io_id":230,"raw_value":4072144900,"note":"Value kept but may cause issues"} 
[2026-07-13 16:24:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298137294,"corrected_to":0} 
[2026-07-13 16:24:35] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3758173563,"note":"Value kept but may cause issues"} 
[2026-07-13 16:24:35] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,96,87,24,241,157,16,1,159,68,45,204,6,41,10,66,52,215,5,42,33,64,240,248,227,91,230,4,113,205,12,218,142,43,239,51,2,120],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1298137294,"validated":0}]} 
[2026-07-13 16:24:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360473955160752128,"timestamp_seconds":360473955160752.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 16:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130426,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130426,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688643584001,"66":13102,"96":206,"87":13824,"24":37,"16":105836712957050880,"45":8905446076005558272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-13 16:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688643584001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:24:35] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 16:24:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105836712957050880,"km_value":105836712957050.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905446076005558272,"description":"Unknown IO ID 45"} 
[2026-07-13 16:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688643584001,"power":13102,"unknown_96":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8905446076005558272}} 
[2026-07-13 16:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":130426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480598,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:24:35] local.INFO: GPS data processed {"connection_id":130426,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:24:35] local.INFO: Acknowledgment sent {"connection_id":130426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:24:40] local.INFO: TCP Data received {"connection_id":130656,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130656,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:24:40] local.INFO: Processing buffer {"connection_id":130656,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:24:40] local.INFO: IMEI packet received {"connection_id":130656,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":130656,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:24:45] local.INFO: TCP Data received {"connection_id":130656,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130656,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:24:45] local.INFO: Processing buffer {"connection_id":130656,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:24:45] local.INFO: IMEI packet received {"connection_id":130656,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":130656,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:24:46] local.INFO: TCP Data received {"connection_id":130656,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:24:46] local.INFO: Processing buffer {"connection_id":130656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:24:46] local.INFO: Packet analysis {"connection_id":130656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1b"} 
[2026-07-13 16:24:46] local.INFO: Extracted packet for processing {"connection_id":130656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1b"} 
[2026-07-13 16:24:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688547328001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:24:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783939939000,"timestamp_ms":1783939939000,"timestamp_seconds":1783939939,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1b3ab8"} 
[2026-07-13 16:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-13 16:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688547328001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688547328001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:24:46] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:24:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:24:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688547328001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":130656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480599,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:24:46] local.INFO: GPS data processed {"connection_id":130656,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:24:46] local.INFO: Acknowledgment sent {"connection_id":130656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:24:58] local.INFO: TCP Data received {"connection_id":131473,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:24:58] local.INFO: Processing buffer {"connection_id":131473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:24:58] local.INFO: IMEI packet received {"connection_id":131473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":131473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:24:58] local.INFO: TCP Data received {"connection_id":131473,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:24:58] local.INFO: Processing buffer {"connection_id":131473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:24:58] local.INFO: IMEI packet received {"connection_id":131473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":131473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:25:03] local.INFO: TCP Data received {"connection_id":131473,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:25:03] local.INFO: Processing buffer {"connection_id":131473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:25:03] local.INFO: IMEI packet received {"connection_id":131473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":131473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:25:04] local.INFO: TCP Data received {"connection_id":131473,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1ca9e8012d7ba88005e66c900007009f27..."} 
[2026-07-13 16:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1ca9e8012d7ba88005e66c900007009f27..."} 
[2026-07-13 16:25:04] local.INFO: Processing buffer {"connection_id":131473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1ca9e8012d7ba88005e66c900007009f27..."} 
[2026-07-13 16:25:04] local.INFO: Packet analysis {"connection_id":131473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1c"} 
[2026-07-13 16:25:04] local.INFO: Extracted packet for processing {"connection_id":131473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1c"} 
[2026-07-13 16:25:04] local.INFO: GPS Element Parsed {"raw_longitude":763078784,"raw_latitude":98987152,"longitude_deg":76.3078784,"latitude_deg":9.8987152,"altitude":7,"angle":159,"satellites":39,"speed":40,"hex_longitude":"2d7ba880","hex_latitude":"05e66c90","is_valid_coordinates":true} 
[2026-07-13 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-07-13 16:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688646144001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105837172518551552,"note":"Value kept but may cause issues"} 
[2026-07-13 16:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907979350793537536,"note":"Value kept but may cause issues"} 
[2026-07-13 16:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783940033000,"timestamp_ms":1783940033000,"timestamp_seconds":1783940033,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1ca9e8"} 
[2026-07-13 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-07-13 16:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-13 16:25: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-07-13 16:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 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-07-13 16:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":131473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":131473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":131473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688646144001,"66":13189,"95":206,"87":13824,"24":40,"16":105837172518551552,"45":8907979350793537536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-07-13 16:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688646144001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:25:04] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-13 16:25:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105837172518551552,"km_value":105837172518551.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907979350793537536,"description":"Unknown IO ID 45"} 
[2026-07-13 16:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688646144001,"power":13189,"unknown_95":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8907979350793537536}} 
[2026-07-13 16:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":131473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480600,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:25:04] local.INFO: GPS data processed {"connection_id":131473,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:25:04] local.INFO: Acknowledgment sent {"connection_id":131473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:25:18] local.INFO: TCP Data received {"connection_id":130656,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:25:18] local.INFO: Processing buffer {"connection_id":130656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:25:18] local.INFO: Packet analysis {"connection_id":130656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1b"} 
[2026-07-13 16:25:18] local.INFO: Extracted packet for processing {"connection_id":130656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1b"} 
[2026-07-13 16:25:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688547328001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:25:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783939939000,"timestamp_ms":1783939939000,"timestamp_seconds":1783939939,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1b3ab8"} 
[2026-07-13 16:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-13 16:25:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688547328001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688547328001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:25:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:25:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:25:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688547328001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":130656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480601,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:25:18] local.INFO: GPS data processed {"connection_id":130656,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:25:18] local.INFO: Acknowledgment sent {"connection_id":130656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:25:35] local.INFO: TCP Data received {"connection_id":131473,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1dcee0012d7c078005e5c8080006009628..."} 
[2026-07-13 16:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1dcee0012d7c078005e5c8080006009628..."} 
[2026-07-13 16:25:35] local.INFO: Processing buffer {"connection_id":131473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1dcee0012d7c078005e5c8080006009628..."} 
[2026-07-13 16:25:35] local.INFO: Packet analysis {"connection_id":131473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1d"} 
[2026-07-13 16:25:35] local.INFO: Extracted packet for processing {"connection_id":131473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1d"} 
[2026-07-13 16:25:35] local.INFO: GPS Element Parsed {"raw_longitude":763103104,"raw_latitude":98945032,"longitude_deg":76.3103104,"latitude_deg":9.8945032,"altitude":6,"angle":150,"satellites":40,"speed":40,"hex_longitude":"2d7c0780","hex_latitude":"05e5c808","is_valid_coordinates":true} 
[2026-07-13 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-07-13 16:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688666624001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105839573405270016,"note":"Value kept but may cause issues"} 
[2026-07-13 16:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934649104824520704,"note":"Value kept but may cause issues"} 
[2026-07-13 16:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783940108000,"timestamp_ms":1783940108000,"timestamp_seconds":1783940108,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1dcee0"} 
[2026-07-13 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-07-13 16:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-13 16:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 16:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":131473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":131473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":131473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688666624001,"66":13102,"40":206,"87":13824,"24":40,"16":105839573405270016,"45":8934649104824520704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-07-13 16:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688666624001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:25:35] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-13 16:25:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105839573405270016,"km_value":105839573405270.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934649104824520704,"description":"Unknown IO ID 45"} 
[2026-07-13 16:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688666624001,"power":13102,"unknown_40":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8934649104824520704}} 
[2026-07-13 16:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":131473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480602,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:25:35] local.INFO: GPS data processed {"connection_id":131473,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:25:35] local.INFO: Acknowledgment sent {"connection_id":131473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:25:40] local.INFO: TCP Data received {"connection_id":130427,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:25:40] local.INFO: Processing buffer {"connection_id":130427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:25:40] local.INFO: IMEI packet received {"connection_id":130427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":130427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:25:45] local.INFO: TCP Data received {"connection_id":130427,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:25:45] local.INFO: Processing buffer {"connection_id":130427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:25:45] local.INFO: IMEI packet received {"connection_id":130427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":130427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:25:46] local.INFO: TCP Data received {"connection_id":130427,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:25:46] local.INFO: Processing buffer {"connection_id":130427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:25:46] local.INFO: Packet analysis {"connection_id":130427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1b"} 
[2026-07-13 16:25:46] local.INFO: Extracted packet for processing {"connection_id":130427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1b"} 
[2026-07-13 16:25:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688547328001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:25:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783939939000,"timestamp_ms":1783939939000,"timestamp_seconds":1783939939,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1b3ab8"} 
[2026-07-13 16:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-13 16:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688547328001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688547328001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:25:46] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:25:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:25:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688547328001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":130427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480603,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:25:46] local.INFO: GPS data processed {"connection_id":130427,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:25:46] local.INFO: Acknowledgment sent {"connection_id":130427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:25:58] local.INFO: TCP Data received {"connection_id":130657,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130657,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:25:58] local.INFO: Processing buffer {"connection_id":130657,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:25:58] local.INFO: IMEI packet received {"connection_id":130657,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":130657,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:26:03] local.INFO: TCP Data received {"connection_id":130657,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130657,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:26:03] local.INFO: Processing buffer {"connection_id":130657,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:26:03] local.INFO: IMEI packet received {"connection_id":130657,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":130657,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:26:04] local.INFO: TCP Data received {"connection_id":130657,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1df208012d7c198005e5a5180007009b27..."} 
[2026-07-13 16:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1df208012d7c198005e5a5180007009b27..."} 
[2026-07-13 16:26:04] local.INFO: Processing buffer {"connection_id":130657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1df208012d7c198005e5a5180007009b27..."} 
[2026-07-13 16:26:04] local.INFO: Packet analysis {"connection_id":130657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1d"} 
[2026-07-13 16:26:04] local.INFO: Extracted packet for processing {"connection_id":130657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1d"} 
[2026-07-13 16:26:04] local.INFO: GPS Element Parsed {"raw_longitude":763107712,"raw_latitude":98936088,"longitude_deg":76.3107712,"latitude_deg":9.8936088,"altitude":7,"angle":155,"satellites":39,"speed":46,"hex_longitude":"2d7c1980","hex_latitude":"05e5a518","is_valid_coordinates":true} 
[2026-07-13 16:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688667648001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105840058736574464,"note":"Value kept but may cause issues"} 
[2026-07-13 16:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937252748358322176,"note":"Value kept but may cause issues"} 
[2026-07-13 16:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783940117000,"timestamp_ms":1783940117000,"timestamp_seconds":1783940117,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1df208"} 
[2026-07-13 16:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:26:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16: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-07-13 16: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-07-13 16:26:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688667648001,"66":13102,"40":206,"87":13824,"24":46,"16":105840058736574464,"45":8937252748358322176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-07-13 16:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688667648001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:26:04] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-13 16:26:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105840058736574464,"km_value":105840058736574.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937252748358322176,"description":"Unknown IO ID 45"} 
[2026-07-13 16:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688667648001,"power":13102,"unknown_40":206,"unknown_87":13824,"ignition":46,"odometer":null,"unknown_45":8937252748358322176}} 
[2026-07-13 16:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":130657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480604,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:26:04] local.INFO: GPS data processed {"connection_id":130657,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:26:04] local.INFO: Acknowledgment sent {"connection_id":130657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:26:17] local.INFO: TCP Data received {"connection_id":130427,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:26:17] local.INFO: Processing buffer {"connection_id":130427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:26:17] local.INFO: Packet analysis {"connection_id":130427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1b"} 
[2026-07-13 16:26:17] local.INFO: Extracted packet for processing {"connection_id":130427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1b"} 
[2026-07-13 16:26:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 16:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688547328001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:26:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783939939000,"timestamp_ms":1783939939000,"timestamp_seconds":1783939939,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1b3ab8"} 
[2026-07-13 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-07-13 16:26: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-07-13 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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-13 16:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 16:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688547328001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688547328001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:26:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:26:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:26:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688547328001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":130427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480605,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:26:17] local.INFO: GPS data processed {"connection_id":130427,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:26:17] local.INFO: Acknowledgment sent {"connection_id":130427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:26:35] local.INFO: TCP Data received {"connection_id":130657,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1e1148012d7c270005e58540000500a326..."} 
[2026-07-13 16:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1e1148012d7c270005e58540000500a326..."} 
[2026-07-13 16:26:35] local.INFO: Processing buffer {"connection_id":130657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1e1148012d7c270005e58540000500a326..."} 
[2026-07-13 16:26:35] local.INFO: Packet analysis {"connection_id":130657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1e"} 
[2026-07-13 16:26:35] local.INFO: Extracted packet for processing {"connection_id":130657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1e"} 
[2026-07-13 16:26:35] local.INFO: GPS Element Parsed {"raw_longitude":763111168,"raw_latitude":98927936,"longitude_deg":76.3111168,"latitude_deg":9.8927936,"altitude":5,"angle":163,"satellites":38,"speed":35,"hex_longitude":"2d7c2700","hex_latitude":"05e58540","is_valid_coordinates":true} 
[2026-07-13 16:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688669952001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105840488233304064,"note":"Value kept but may cause issues"} 
[2026-07-13 16:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942319297936824320,"note":"Value kept but may cause issues"} 
[2026-07-13 16:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783940125000,"timestamp_ms":1783940125000,"timestamp_seconds":1783940125,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1e1148"} 
[2026-07-13 16:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-13 16:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688669952001,"66":12993,"40":206,"87":13824,"24":35,"16":105840488233304064,"45":8942319297936824320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-07-13 16:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688669952001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:26:35] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-13 16:26:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105840488233304064,"km_value":105840488233304.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942319297936824320,"description":"Unknown IO ID 45"} 
[2026-07-13 16:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688669952001,"power":12993,"unknown_40":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8942319297936824320}} 
[2026-07-13 16:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":130657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:26:35] local.INFO: GPS data processed {"connection_id":130657,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:26:35] local.INFO: Acknowledgment sent {"connection_id":130657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:26:39] local.INFO: TCP Data received {"connection_id":131475,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:26:39] local.INFO: Processing buffer {"connection_id":131475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:26:39] local.INFO: IMEI packet received {"connection_id":131475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":131475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:26:48] local.INFO: TCP Data received {"connection_id":131475,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:26:48] local.INFO: Processing buffer {"connection_id":131475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:26:48] local.INFO: IMEI packet received {"connection_id":131475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":131475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:26:49] local.INFO: TCP Data received {"connection_id":131475,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:26:49] local.INFO: Processing buffer {"connection_id":131475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:26:49] local.INFO: Packet analysis {"connection_id":131475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1b"} 
[2026-07-13 16:26:49] local.INFO: Extracted packet for processing {"connection_id":131475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1b"} 
[2026-07-13 16:26:49] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16: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-07-13 16:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688547328001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:26:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783939939000,"timestamp_ms":1783939939000,"timestamp_seconds":1783939939,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1b3ab8"} 
[2026-07-13 16:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-13 16:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16: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-07-13 16:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688547328001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688547328001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:26:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:26:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:26:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688547328001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":131475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480607,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:26:49] local.INFO: GPS data processed {"connection_id":131475,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:26:49] local.INFO: Acknowledgment sent {"connection_id":131475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:26:58] local.INFO: TCP Data received {"connection_id":131476,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:26:58] local.INFO: Processing buffer {"connection_id":131476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:26:58] local.INFO: IMEI packet received {"connection_id":131476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":131476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:26:59] local.INFO: TCP Data received {"connection_id":131474,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:26:59] local.INFO: Processing buffer {"connection_id":131474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:26:59] local.INFO: IMEI packet received {"connection_id":131474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":131474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:27:00] local.INFO: TCP Data received {"connection_id":131474,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1c6b68012d7f914005afd9380002011b25..."} 
[2026-07-13 16:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1c6b68012d7f914005afd9380002011b25..."} 
[2026-07-13 16:27:00] local.INFO: Processing buffer {"connection_id":131474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1c6b68012d7f914005afd9380002011b25..."} 
[2026-07-13 16:27:00] local.INFO: Packet analysis {"connection_id":131474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1c"} 
[2026-07-13 16:27:00] local.INFO: Extracted packet for processing {"connection_id":131474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1c"} 
[2026-07-13 16:27:00] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 16:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688567296001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:27:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783940017000,"timestamp_ms":1783940017000,"timestamp_seconds":1783940017,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1c6b68"} 
[2026-07-13 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-07-13 16:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 16:27:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 16:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":131474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":131474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":131474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688567296001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688567296001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:27:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:27:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688567296001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":131474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:27:00] local.INFO: GPS data processed {"connection_id":131474,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:27:00] local.INFO: Acknowledgment sent {"connection_id":131474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:27:02] local.INFO: TCP Data received {"connection_id":131476,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:27:02] local.INFO: Processing buffer {"connection_id":131476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:27:02] local.INFO: IMEI packet received {"connection_id":131476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":131476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:27:03] local.INFO: TCP Data received {"connection_id":131476,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:27:03] local.INFO: Processing buffer {"connection_id":131476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:27:03] local.INFO: IMEI packet received {"connection_id":131476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":131476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:27:04] local.INFO: TCP Data received {"connection_id":131476,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1f45e0012d7c090005e4c200000d00d52b..."} 
[2026-07-13 16:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1f45e0012d7c090005e4c200000d00d52b..."} 
[2026-07-13 16:27:04] local.INFO: Processing buffer {"connection_id":131476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1f45e0012d7c090005e4c200000d00d52b..."} 
[2026-07-13 16:27:04] local.INFO: Packet analysis {"connection_id":131476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1f"} 
[2026-07-13 16:27:04] local.INFO: Extracted packet for processing {"connection_id":131476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1f"} 
[2026-07-13 16:27:04] local.INFO: GPS Element Parsed {"raw_longitude":763103488,"raw_latitude":98877952,"longitude_deg":76.3103488,"latitude_deg":9.8877952,"altitude":13,"angle":213,"satellites":43,"speed":40,"hex_longitude":"2d7c0900","hex_latitude":"05e4c200","is_valid_coordinates":true} 
[2026-07-13 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-07-13 16:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688689664001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105843185472765952,"note":"Value kept but may cause issues"} 
[2026-07-13 16:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943445197830821888,"note":"Value kept but may cause issues"} 
[2026-07-13 16:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783940204000,"timestamp_ms":1783940204000,"timestamp_seconds":1783940204,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1f45e0"} 
[2026-07-13 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-07-13 16:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-13 16:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 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-07-13 16:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":131476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":131476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":131476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688689664001,"66":13080,"39":206,"87":13824,"24":40,"16":105843185472765952,"45":8943445197830821888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-13 16:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688689664001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:27:04] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-13 16:27:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105843185472765952,"km_value":105843185472765.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943445197830821888,"description":"Unknown IO ID 45"} 
[2026-07-13 16:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688689664001,"power":13080,"unknown_39":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8943445197830821888}} 
[2026-07-13 16:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":131476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480609,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:27:04] local.INFO: GPS data processed {"connection_id":131476,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:27:04] local.INFO: Acknowledgment sent {"connection_id":131476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:27:12] local.INFO: TCP Data received {"connection_id":131476,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1f6520012d7bf58005e4a408000d00d42d..."} 
[2026-07-13 16:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1f6520012d7bf58005e4a408000d00d42d..."} 
[2026-07-13 16:27:12] local.INFO: Processing buffer {"connection_id":131476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1f6520012d7bf58005e4a408000d00d42d..."} 
[2026-07-13 16:27:12] local.INFO: Packet analysis {"connection_id":131476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1f"} 
[2026-07-13 16:27:12] local.INFO: Extracted packet for processing {"connection_id":131476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1f"} 
[2026-07-13 16:27:12] local.INFO: GPS Element Parsed {"raw_longitude":763098496,"raw_latitude":98870280,"longitude_deg":76.3098496,"latitude_deg":9.887028,"altitude":13,"angle":212,"satellites":45,"speed":49,"hex_longitude":"2d7bf580","hex_latitude":"05e4a408","is_valid_coordinates":true} 
[2026-07-13 16:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688692224001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105843627854397440,"note":"Value kept but may cause issues"} 
[2026-07-13 16:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937674960806215680,"note":"Value kept but may cause issues"} 
[2026-07-13 16:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783940212000,"timestamp_ms":1783940212000,"timestamp_seconds":1783940212,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1f6520"} 
[2026-07-13 16:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-13 16:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688692224001,"66":12885,"39":206,"87":13824,"24":49,"16":105843627854397440,"45":8937674960806215680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-13 16:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688692224001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:27:12] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-13 16:27:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105843627854397440,"km_value":105843627854397.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937674960806215680,"description":"Unknown IO ID 45"} 
[2026-07-13 16:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688692224001,"power":12885,"unknown_39":206,"unknown_87":13824,"ignition":49,"odometer":null,"unknown_45":8937674960806215680}} 
[2026-07-13 16:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":131476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480610,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:27:12] local.INFO: GPS data processed {"connection_id":131476,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:27:12] local.INFO: Acknowledgment sent {"connection_id":131476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:27:21] local.INFO: TCP Data received {"connection_id":131475,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:27:21] local.INFO: Processing buffer {"connection_id":131475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:27:21] local.INFO: Packet analysis {"connection_id":131475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1b"} 
[2026-07-13 16:27:21] local.INFO: Extracted packet for processing {"connection_id":131475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1b"} 
[2026-07-13 16:27:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16: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-07-13 16:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688547328001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:27:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783939939000,"timestamp_ms":1783939939000,"timestamp_seconds":1783939939,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1b3ab8"} 
[2026-07-13 16:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-13 16:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16: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-07-13 16:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":131475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":131475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":131475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688547328001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688547328001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:27:21] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:27:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:27:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688547328001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":131475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480611,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:27:21] local.INFO: GPS data processed {"connection_id":131475,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:27:21] local.INFO: Acknowledgment sent {"connection_id":131475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:27:34] local.INFO: TCP Data received {"connection_id":130659,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:27:34] local.INFO: Processing buffer {"connection_id":130659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:27:34] local.INFO: IMEI packet received {"connection_id":130659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":130659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:27:39] local.INFO: TCP Data received {"connection_id":130659,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:27:39] local.INFO: Processing buffer {"connection_id":130659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:27:39] local.INFO: IMEI packet received {"connection_id":130659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":130659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:27:40] local.INFO: TCP Data received {"connection_id":130659,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1c6b68012d7f914005afd9380002011b25..."} 
[2026-07-13 16:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1c6b68012d7f914005afd9380002011b25..."} 
[2026-07-13 16:27:40] local.INFO: Processing buffer {"connection_id":130659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1c6b68012d7f914005afd9380002011b25..."} 
[2026-07-13 16:27:40] local.INFO: Packet analysis {"connection_id":130659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1c"} 
[2026-07-13 16:27:40] local.INFO: Extracted packet for processing {"connection_id":130659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1c"} 
[2026-07-13 16:27:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688567296001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783940017000,"timestamp_ms":1783940017000,"timestamp_seconds":1783940017,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1c6b68"} 
[2026-07-13 16:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 16:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688567296001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688567296001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:27:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:27:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688567296001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":130659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:27:40] local.INFO: GPS data processed {"connection_id":130659,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:27:40] local.INFO: Acknowledgment sent {"connection_id":130659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:27:45] local.INFO: TCP Data received {"connection_id":132802,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132802,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:27:45] local.INFO: Processing buffer {"connection_id":132802,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:27:45] local.INFO: IMEI packet received {"connection_id":132802,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":132802,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:27:50] local.INFO: TCP Data received {"connection_id":132802,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132802,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:27:50] local.INFO: Processing buffer {"connection_id":132802,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:27:50] local.INFO: IMEI packet received {"connection_id":132802,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":132802,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:27:51] local.INFO: TCP Data received {"connection_id":132802,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:27:51] local.INFO: Processing buffer {"connection_id":132802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:27:51] local.INFO: Packet analysis {"connection_id":132802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1b"} 
[2026-07-13 16:27:51] local.INFO: Extracted packet for processing {"connection_id":132802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1b"} 
[2026-07-13 16:27:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688547328001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:27:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783939939000,"timestamp_ms":1783939939000,"timestamp_seconds":1783939939,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1b3ab8"} 
[2026-07-13 16:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-13 16:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132802,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132802,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688547328001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688547328001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:27:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:27:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:27:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688547328001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":132802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480613,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:27:51] local.INFO: GPS data processed {"connection_id":132802,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:27:51] local.INFO: Acknowledgment sent {"connection_id":132802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:27:56] local.INFO: TCP Data received {"connection_id":132802,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:27:56] local.INFO: Processing buffer {"connection_id":132802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1b3ab8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:27:56] local.INFO: Packet analysis {"connection_id":132802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1b"} 
[2026-07-13 16:27:56] local.INFO: Extracted packet for processing {"connection_id":132802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1b"} 
[2026-07-13 16:27:56] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688547328001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:27:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783939939000,"timestamp_ms":1783939939000,"timestamp_seconds":1783939939,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1b3ab8"} 
[2026-07-13 16:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-13 16:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132802,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132802,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688547328001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688547328001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:27:56] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:27:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:27:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688547328001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":132802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480614,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:27:56] local.INFO: GPS data processed {"connection_id":132802,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:27:56] local.INFO: Acknowledgment sent {"connection_id":132802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:28:03] local.INFO: TCP Data received {"connection_id":132803,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:28:03] local.INFO: Processing buffer {"connection_id":132803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:28:03] local.INFO: IMEI packet received {"connection_id":132803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":132803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:28:07] local.INFO: TCP Data received {"connection_id":132803,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:28:07] local.INFO: Processing buffer {"connection_id":132803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:28:07] local.INFO: IMEI packet received {"connection_id":132803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":132803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:28:08] local.INFO: TCP Data received {"connection_id":132803,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1f8460012d7be04005e482c8000e00d42e..."} 
[2026-07-13 16:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1f8460012d7be04005e482c8000e00d42e..."} 
[2026-07-13 16:28:08] local.INFO: Processing buffer {"connection_id":132803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1f8460012d7be04005e482c8000e00d42e..."} 
[2026-07-13 16:28:08] local.INFO: Packet analysis {"connection_id":132803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1f"} 
[2026-07-13 16:28:08] local.INFO: Extracted packet for processing {"connection_id":132803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1f"} 
[2026-07-13 16:28:08] local.INFO: GPS Element Parsed {"raw_longitude":763093056,"raw_latitude":98861768,"longitude_deg":76.3093056,"latitude_deg":9.8861768,"altitude":14,"angle":212,"satellites":46,"speed":50,"hex_longitude":"2d7be040","hex_latitude":"05e482c8","is_valid_coordinates":true} 
[2026-07-13 16:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688694272001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105844117480669184,"note":"Value kept but may cause issues"} 
[2026-07-13 16:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8932186198758393856,"note":"Value kept but may cause issues"} 
[2026-07-13 16:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783940220000,"timestamp_ms":1783940220000,"timestamp_seconds":1783940220,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1f8460"} 
[2026-07-13 16:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-13 16:28: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-07-13 16:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688694272001,"66":13189,"39":206,"87":13824,"24":50,"16":105844117480669184,"45":8932186198758393856},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-13 16:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688694272001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:28:08] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-13 16:28:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-13 16:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105844117480669184,"km_value":105844117480669.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8932186198758393856,"description":"Unknown IO ID 45"} 
[2026-07-13 16:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688694272001,"power":13189,"unknown_39":206,"unknown_87":13824,"ignition":50,"odometer":null,"unknown_45":8932186198758393856}} 
[2026-07-13 16:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":132803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480615,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:28:08] local.INFO: GPS data processed {"connection_id":132803,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:28:08] local.INFO: Acknowledgment sent {"connection_id":132803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:28:09] local.INFO: TCP Data received {"connection_id":132803,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1f9fb8012d7bcb8005e46378000e00d52d..."} 
[2026-07-13 16:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1f9fb8012d7bcb8005e46378000e00d52d..."} 
[2026-07-13 16:28:09] local.INFO: Processing buffer {"connection_id":132803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1f9fb8012d7bcb8005e46378000e00d52d..."} 
[2026-07-13 16:28:09] local.INFO: Packet analysis {"connection_id":132803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1f"} 
[2026-07-13 16:28:09] local.INFO: Extracted packet for processing {"connection_id":132803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1f"} 
[2026-07-13 16:28:09] local.INFO: GPS Element Parsed {"raw_longitude":763087744,"raw_latitude":98853752,"longitude_deg":76.3087744,"latitude_deg":9.8853752,"altitude":14,"angle":213,"satellites":45,"speed":56,"hex_longitude":"2d7bcb80","hex_latitude":"05e46378","is_valid_coordinates":true} 
[2026-07-13 16:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688696320001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105844581337137152,"note":"Value kept but may cause issues"} 
[2026-07-13 16:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926204855501113344,"note":"Value kept but may cause issues"} 
[2026-07-13 16:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783940227000,"timestamp_ms":1783940227000,"timestamp_seconds":1783940227,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1f9fb8"} 
[2026-07-13 16:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-13 16:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688696320001,"66":13189,"97":206,"85":15104,"24":56,"16":105844581337137152,"45":8926204855501113344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688696320001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:28:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:28:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105844581337137152,"km_value":105844581337137.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926204855501113344,"description":"Unknown IO ID 45"} 
[2026-07-13 16:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688696320001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":8926204855501113344}} 
[2026-07-13 16:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":132803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:28:09] local.INFO: GPS data processed {"connection_id":132803,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:28:09] local.INFO: Acknowledgment sent {"connection_id":132803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:28:11] local.INFO: TCP Data received {"connection_id":130659,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1c6b68012d7f914005afd9380002011b25..."} 
[2026-07-13 16:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1c6b68012d7f914005afd9380002011b25..."} 
[2026-07-13 16:28:11] local.INFO: Processing buffer {"connection_id":130659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1c6b68012d7f914005afd9380002011b25..."} 
[2026-07-13 16:28:11] local.INFO: Packet analysis {"connection_id":130659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1c"} 
[2026-07-13 16:28:11] local.INFO: Extracted packet for processing {"connection_id":130659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1c"} 
[2026-07-13 16:28:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688567296001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783940017000,"timestamp_ms":1783940017000,"timestamp_seconds":1783940017,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1c6b68"} 
[2026-07-13 16:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 16:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688567296001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688567296001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:28:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:28:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688567296001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":130659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:28:11] local.INFO: GPS data processed {"connection_id":130659,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:28:11] local.INFO: Acknowledgment sent {"connection_id":130659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:28:34] local.INFO: TCP Data received {"connection_id":131477,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:28:34] local.INFO: Processing buffer {"connection_id":131477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:28:34] local.INFO: IMEI packet received {"connection_id":131477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":131477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:28:40] local.INFO: TCP Data received {"connection_id":132803,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1fb728012d7bb84005e44690000f00d52d..."} 
[2026-07-13 16:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1fb728012d7bb84005e44690000f00d52d..."} 
[2026-07-13 16:28:40] local.INFO: Processing buffer {"connection_id":132803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1fb728012d7bb84005e44690000f00d52d..."} 
[2026-07-13 16:28:40] local.INFO: Packet analysis {"connection_id":132803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1f"} 
[2026-07-13 16:28:40] local.INFO: Extracted packet for processing {"connection_id":132803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1f"} 
[2026-07-13 16:28:40] local.INFO: GPS Element Parsed {"raw_longitude":763082816,"raw_latitude":98846352,"longitude_deg":76.3082816,"latitude_deg":9.8846352,"altitude":15,"angle":213,"satellites":45,"speed":59,"hex_longitude":"2d7bb840","hex_latitude":"05e44690","is_valid_coordinates":true} 
[2026-07-13 16:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688698112001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105845010833866752,"note":"Value kept but may cause issues"} 
[2026-07-13 16:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920364249732315136,"note":"Value kept but may cause issues"} 
[2026-07-13 16:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783940233000,"timestamp_ms":1783940233000,"timestamp_seconds":1783940233,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1fb728"} 
[2026-07-13 16:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-13 16:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688698112001,"66":13243,"97":206,"85":15104,"24":59,"16":105845010833866752,"45":8920364249732315136},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688698112001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:28:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:28:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105845010833866752,"km_value":105845010833866.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920364249732315136,"description":"Unknown IO ID 45"} 
[2026-07-13 16:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688698112001,"power":13243,"unknown_97":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":8920364249732315136}} 
[2026-07-13 16:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":132803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480618,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:28:40] local.INFO: GPS data processed {"connection_id":132803,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:28:40] local.INFO: Acknowledgment sent {"connection_id":132803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:28:40] local.INFO: TCP Data received {"connection_id":131478,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:28:40] local.INFO: Processing buffer {"connection_id":131478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:28:40] local.INFO: IMEI packet received {"connection_id":131478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":131478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:28:41] local.INFO: TCP Data received {"connection_id":131477,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:28:41] local.INFO: Processing buffer {"connection_id":131477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:28:41] local.INFO: IMEI packet received {"connection_id":131477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":131477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:28:42] local.INFO: TCP Data received {"connection_id":131477,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1c6b68012d7f914005afd9380002011b25..."} 
[2026-07-13 16:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1c6b68012d7f914005afd9380002011b25..."} 
[2026-07-13 16:28:42] local.INFO: Processing buffer {"connection_id":131477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1c6b68012d7f914005afd9380002011b25..."} 
[2026-07-13 16:28:42] local.INFO: Packet analysis {"connection_id":131477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1c"} 
[2026-07-13 16:28:42] local.INFO: Extracted packet for processing {"connection_id":131477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1c"} 
[2026-07-13 16:28:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688567296001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783940017000,"timestamp_ms":1783940017000,"timestamp_seconds":1783940017,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1c6b68"} 
[2026-07-13 16:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 16:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":131477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":131477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":131477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688567296001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688567296001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:28:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:28:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688567296001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":131477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:28:42] local.INFO: GPS data processed {"connection_id":131477,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:28:42] local.INFO: Acknowledgment sent {"connection_id":131477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:28:45] local.INFO: TCP Data received {"connection_id":131478,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:28:45] local.INFO: Processing buffer {"connection_id":131478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:28:45] local.INFO: IMEI packet received {"connection_id":131478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":131478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:28:46] local.INFO: TCP Data received {"connection_id":131478,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1fd280012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1fd280012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:28:46] local.INFO: Processing buffer {"connection_id":131478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1fd280012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:28:46] local.INFO: Packet analysis {"connection_id":131478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1f"} 
[2026-07-13 16:28:46] local.INFO: Extracted packet for processing {"connection_id":131478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1f"} 
[2026-07-13 16:28:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688624384001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:28:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783940240000,"timestamp_ms":1783940240000,"timestamp_seconds":1783940240,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1fd280"} 
[2026-07-13 16:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688624384001,"66":24962,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688624384001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:28:46] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:28:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:28:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688624384001,"power":24962,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":131478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480620,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:28:46] local.INFO: GPS data processed {"connection_id":131478,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:28:46] local.INFO: Acknowledgment sent {"connection_id":131478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:28:58] local.INFO: TCP Data received {"connection_id":131479,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:28:58] local.INFO: Processing buffer {"connection_id":131479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:28:58] local.INFO: IMEI packet received {"connection_id":131479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":131479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:28:59] local.INFO: TCP Data received {"connection_id":131479,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:28:59] local.INFO: Processing buffer {"connection_id":131479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:28:59] local.INFO: IMEI packet received {"connection_id":131479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":131479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:29:00] local.INFO: TCP Data received {"connection_id":131479,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1fce98012d7ba4c005e42920000e00d52f..."} 
[2026-07-13 16:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1fce98012d7ba4c005e42920000e00d52f..."} 
[2026-07-13 16:29:00] local.INFO: Processing buffer {"connection_id":131479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1fce98012d7ba4c005e42920000e00d52f..."} 
[2026-07-13 16:29:00] local.INFO: Packet analysis {"connection_id":131479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1f"} 
[2026-07-13 16:29:00] local.INFO: Extracted packet for processing {"connection_id":131479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1f"} 
[2026-07-13 16:29:00] local.INFO: GPS Element Parsed {"raw_longitude":763077824,"raw_latitude":98838816,"longitude_deg":76.3077824,"latitude_deg":9.8838816,"altitude":14,"angle":213,"satellites":47,"speed":58,"hex_longitude":"2d7ba4c0","hex_latitude":"05e42920","is_valid_coordinates":true} 
[2026-07-13 16:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688699648001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105845444625563648,"note":"Value kept but may cause issues"} 
[2026-07-13 16:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8914945856428740608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783940239000,"timestamp_ms":1783940239000,"timestamp_seconds":1783940239,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1fce98"} 
[2026-07-13 16:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 16:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":131479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":131479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":131479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688699648001,"66":12906,"97":206,"85":15104,"24":58,"16":105845444625563648,"45":8914945856428740608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688699648001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:29:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:29:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105845444625563648,"km_value":105845444625563.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8914945856428740608,"description":"Unknown IO ID 45"} 
[2026-07-13 16:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688699648001,"power":12906,"unknown_97":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":8914945856428740608}} 
[2026-07-13 16:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":131479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:29:00] local.INFO: GPS data processed {"connection_id":131479,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:29:00] local.INFO: Acknowledgment sent {"connection_id":131479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:29:13] local.INFO: TCP Data received {"connection_id":131477,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1c6b68012d7f914005afd9380002011b25..."} 
[2026-07-13 16:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1c6b68012d7f914005afd9380002011b25..."} 
[2026-07-13 16:29:13] local.INFO: Processing buffer {"connection_id":131477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1c6b68012d7f914005afd9380002011b25..."} 
[2026-07-13 16:29:13] local.INFO: Packet analysis {"connection_id":131477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1c"} 
[2026-07-13 16:29:13] local.INFO: Extracted packet for processing {"connection_id":131477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1c"} 
[2026-07-13 16:29:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":2,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688567296001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783940017000,"timestamp_ms":1783940017000,"timestamp_seconds":1783940017,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1c6b68"} 
[2026-07-13 16:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 16:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688567296001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688567296001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:29:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:29:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688567296001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":131477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:29:13] local.INFO: GPS data processed {"connection_id":131477,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:29:13] local.INFO: Acknowledgment sent {"connection_id":131477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:29:18] local.INFO: TCP Data received {"connection_id":131478,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1fd280012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1fd280012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:29:18] local.INFO: Processing buffer {"connection_id":131478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1fd280012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:29:18] local.INFO: Packet analysis {"connection_id":131478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1f"} 
[2026-07-13 16:29:18] local.INFO: Extracted packet for processing {"connection_id":131478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1f"} 
[2026-07-13 16:29:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688624384001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:29:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783940240000,"timestamp_ms":1783940240000,"timestamp_seconds":1783940240,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1fd280"} 
[2026-07-13 16:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688624384001,"66":24962,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688624384001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:29:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:29:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:29:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688624384001,"power":24962,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":131478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480623,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:29:18] local.INFO: GPS data processed {"connection_id":131478,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:29:18] local.INFO: Acknowledgment sent {"connection_id":131478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:29:31] local.INFO: TCP Data received {"connection_id":131479,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b21ab28012d7b088005e32a48000601491e..."} 
[2026-07-13 16:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b21ab28012d7b088005e32a48000601491e..."} 
[2026-07-13 16:29:31] local.INFO: Processing buffer {"connection_id":131479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b21ab28012d7b088005e32a48000601491e..."} 
[2026-07-13 16:29:31] local.INFO: Packet analysis {"connection_id":131479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b21"} 
[2026-07-13 16:29:31] local.INFO: Extracted packet for processing {"connection_id":131479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b21"} 
[2026-07-13 16:29:31] local.INFO: GPS Element Parsed {"raw_longitude":763037824,"raw_latitude":98773576,"longitude_deg":76.3037824,"latitude_deg":9.8773576,"altitude":6,"angle":329,"satellites":30,"speed":9,"hex_longitude":"2d7b0880","hex_latitude":"05e32a48","is_valid_coordinates":true} 
[2026-07-13 16:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688732160001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105849232786718720,"note":"Value kept but may cause issues"} 
[2026-07-13 16:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865546997997340672,"note":"Value kept but may cause issues"} 
[2026-07-13 16:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783940361000,"timestamp_ms":1783940361000,"timestamp_seconds":1783940361,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b21ab28"} 
[2026-07-13 16:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:29: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-07-13 16: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-13 16:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":131479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":131479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":131479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688732160001,"66":12363,"97":206,"85":15104,"24":9,"16":105849232786718720,"45":8865546997997340672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688732160001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:29:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:29:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105849232786718720,"km_value":105849232786718.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865546997997340672,"description":"Unknown IO ID 45"} 
[2026-07-13 16:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688732160001,"power":12363,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8865546997997340672}} 
[2026-07-13 16:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":131479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:29:31] local.INFO: GPS data processed {"connection_id":131479,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:29:31] local.INFO: Acknowledgment sent {"connection_id":131479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:29:39] local.INFO: TCP Data received {"connection_id":130428,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:29:39] local.INFO: Processing buffer {"connection_id":130428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:29:39] local.INFO: IMEI packet received {"connection_id":130428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":130428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:29:40] local.INFO: TCP Data received {"connection_id":130429,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130429,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:29:40] local.INFO: Processing buffer {"connection_id":130429,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:29:40] local.INFO: IMEI packet received {"connection_id":130429,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":130429,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:29:44] local.INFO: TCP Data received {"connection_id":130428,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:29:44] local.INFO: Processing buffer {"connection_id":130428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:29:44] local.INFO: IMEI packet received {"connection_id":130428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":130428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:29:45] local.INFO: TCP Data received {"connection_id":130429,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130429,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:29:45] local.INFO: Processing buffer {"connection_id":130429,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:29:45] local.INFO: IMEI packet received {"connection_id":130429,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":130429,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:29:45] local.INFO: TCP Data received {"connection_id":130428,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b210330012d7f914005afd9380003011b25..."} 
[2026-07-13 16:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b210330012d7f914005afd9380003011b25..."} 
[2026-07-13 16:29:45] local.INFO: Processing buffer {"connection_id":130428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b210330012d7f914005afd9380003011b25..."} 
[2026-07-13 16:29:45] local.INFO: Packet analysis {"connection_id":130428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b21"} 
[2026-07-13 16:29:45] local.INFO: Extracted packet for processing {"connection_id":130428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b21"} 
[2026-07-13 16:29:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":3,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688644352001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783940318000,"timestamp_ms":1783940318000,"timestamp_seconds":1783940318,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b210330"} 
[2026-07-13 16:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688644352001,"66":25028,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688644352001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:29:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:29:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688644352001,"power":25028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":130428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:29:45] local.INFO: GPS data processed {"connection_id":130428,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:29:45] local.INFO: Acknowledgment sent {"connection_id":130428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:29:46] local.INFO: TCP Data received {"connection_id":130429,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1fd280012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1fd280012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:29:46] local.INFO: Processing buffer {"connection_id":130429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1fd280012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:29:46] local.INFO: Packet analysis {"connection_id":130429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1f"} 
[2026-07-13 16:29:46] local.INFO: Extracted packet for processing {"connection_id":130429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1f"} 
[2026-07-13 16:29:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688624384001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:29:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783940240000,"timestamp_ms":1783940240000,"timestamp_seconds":1783940240,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1fd280"} 
[2026-07-13 16:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688624384001,"66":24962,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688624384001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:29:46] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:29:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:29:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688624384001,"power":24962,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":130429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480626,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:29:46] local.INFO: GPS data processed {"connection_id":130429,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:29:46] local.INFO: Acknowledgment sent {"connection_id":130429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:29:49] local.INFO: TCP Data received {"connection_id":130428,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b210330012d7f914005afd9380003011b25..."} 
[2026-07-13 16:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b210330012d7f914005afd9380003011b25..."} 
[2026-07-13 16:29:49] local.INFO: Processing buffer {"connection_id":130428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b210330012d7f914005afd9380003011b25..."} 
[2026-07-13 16:29:49] local.INFO: Packet analysis {"connection_id":130428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b21"} 
[2026-07-13 16:29:49] local.INFO: Extracted packet for processing {"connection_id":130428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b21"} 
[2026-07-13 16:29:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":3,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16: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-07-13 16:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688644352001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783940318000,"timestamp_ms":1783940318000,"timestamp_seconds":1783940318,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b210330"} 
[2026-07-13 16:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16: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-07-13 16:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688644352001,"66":25028,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688644352001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:29:49] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:29:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688644352001,"power":25028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":130428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:29:49] local.INFO: GPS data processed {"connection_id":130428,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:29:49] local.INFO: Acknowledgment sent {"connection_id":130428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:29:58] local.INFO: TCP Data received {"connection_id":130660,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130660,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:29:58] local.INFO: Processing buffer {"connection_id":130660,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:29:58] local.INFO: IMEI packet received {"connection_id":130660,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":130660,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:29:59] local.INFO: TCP Data received {"connection_id":130660,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130660,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:29:59] local.INFO: Processing buffer {"connection_id":130660,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:29:59] local.INFO: IMEI packet received {"connection_id":130660,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":130660,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:30:03] local.INFO: TCP Data received {"connection_id":130660,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130660,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:30:03] local.INFO: Processing buffer {"connection_id":130660,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:30:03] local.INFO: IMEI packet received {"connection_id":130660,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":130660,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:30:04] local.INFO: TCP Data received {"connection_id":130660,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b21b2f8012d7b07c005e32c380006015619..."} 
[2026-07-13 16:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b21b2f8012d7b07c005e32c380006015619..."} 
[2026-07-13 16:30:04] local.INFO: Processing buffer {"connection_id":130660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b21b2f8012d7b07c005e32c380006015619..."} 
[2026-07-13 16:30:04] local.INFO: Packet analysis {"connection_id":130660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b21"} 
[2026-07-13 16:30:04] local.INFO: Extracted packet for processing {"connection_id":130660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b21"} 
[2026-07-13 16:30:04] local.INFO: GPS Element Parsed {"raw_longitude":763037632,"raw_latitude":98774072,"longitude_deg":76.3037632,"latitude_deg":9.8774072,"altitude":6,"angle":342,"satellites":25,"speed":11,"hex_longitude":"2d7b07c0","hex_latitude":"05e32c38","is_valid_coordinates":true} 
[2026-07-13 16:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688732416001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105849258556522496,"note":"Value kept but may cause issues"} 
[2026-07-13 16:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865476629253212160,"note":"Value kept but may cause issues"} 
[2026-07-13 16:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783940363000,"timestamp_ms":1783940363000,"timestamp_seconds":1783940363,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b21b2f8"} 
[2026-07-13 16:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-13 16:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688732416001,"66":12961,"97":206,"85":15104,"24":11,"16":105849258556522496,"45":8865476629253212160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688732416001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:30:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:30:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105849258556522496,"km_value":105849258556522.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865476629253212160,"description":"Unknown IO ID 45"} 
[2026-07-13 16:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688732416001,"power":12961,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8865476629253212160}} 
[2026-07-13 16:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":130660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:30:04] local.INFO: GPS data processed {"connection_id":130660,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:30:04] local.INFO: Acknowledgment sent {"connection_id":130660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:30:18] local.INFO: TCP Data received {"connection_id":130429,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1fd280012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1fd280012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:30:18] local.INFO: Processing buffer {"connection_id":130429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1fd280012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:30:18] local.INFO: Packet analysis {"connection_id":130429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1f"} 
[2026-07-13 16:30:18] local.INFO: Extracted packet for processing {"connection_id":130429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1f"} 
[2026-07-13 16:30:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 16:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688624384001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:30:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783940240000,"timestamp_ms":1783940240000,"timestamp_seconds":1783940240,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1fd280"} 
[2026-07-13 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-07-13 16:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 16:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688624384001,"66":24962,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688624384001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:30:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:30:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:30:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688624384001,"power":24962,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":130429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480629,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:30:18] local.INFO: GPS data processed {"connection_id":130429,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:30:18] local.INFO: Acknowledgment sent {"connection_id":130429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:30:34] local.INFO: TCP Data received {"connection_id":130430,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:30:34] local.INFO: Processing buffer {"connection_id":130430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:30:34] local.INFO: IMEI packet received {"connection_id":130430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":130430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:30:35] local.INFO: TCP Data received {"connection_id":130660,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b21bac8012d7b078005e32fb80006000017..."} 
[2026-07-13 16:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b21bac8012d7b078005e32fb80006000017..."} 
[2026-07-13 16:30:35] local.INFO: Processing buffer {"connection_id":130660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b21bac8012d7b078005e32fb80006000017..."} 
[2026-07-13 16:30:35] local.INFO: Packet analysis {"connection_id":130660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b21"} 
[2026-07-13 16:30:35] local.INFO: Extracted packet for processing {"connection_id":130660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b21"} 
[2026-07-13 16:30:35] local.INFO: GPS Element Parsed {"raw_longitude":763037568,"raw_latitude":98774968,"longitude_deg":76.3037568,"latitude_deg":9.8774968,"altitude":6,"angle":0,"satellites":23,"speed":18,"hex_longitude":"2d7b0780","hex_latitude":"05e32fb8","is_valid_coordinates":true} 
[2026-07-13 16:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688732928001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105849301506195456,"note":"Value kept but may cause issues"} 
[2026-07-13 16:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865265523020806144,"note":"Value kept but may cause issues"} 
[2026-07-13 16:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783940365000,"timestamp_ms":1783940365000,"timestamp_seconds":1783940365,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b21bac8"} 
[2026-07-13 16:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:30: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-07-13 16:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-13 16:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688732928001,"66":12765,"97":206,"85":15104,"24":18,"16":105849301506195456,"45":8865265523020806144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688732928001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:30:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:30:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105849301506195456,"km_value":105849301506195.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865265523020806144,"description":"Unknown IO ID 45"} 
[2026-07-13 16:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688732928001,"power":12765,"unknown_97":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8865265523020806144}} 
[2026-07-13 16:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":130660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480630,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:30:35] local.INFO: GPS data processed {"connection_id":130660,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:30:35] local.INFO: Acknowledgment sent {"connection_id":130660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:30:39] local.INFO: TCP Data received {"connection_id":130430,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:30:39] local.INFO: Processing buffer {"connection_id":130430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:30:39] local.INFO: IMEI packet received {"connection_id":130430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":130430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:30:39] local.INFO: TCP Data received {"connection_id":130431,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:30:39] local.INFO: Processing buffer {"connection_id":130431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:30:39] local.INFO: IMEI packet received {"connection_id":130431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":130431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:30:40] local.INFO: TCP Data received {"connection_id":130430,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b210330012d7f914005afd9380003011b25..."} 
[2026-07-13 16:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b210330012d7f914005afd9380003011b25..."} 
[2026-07-13 16:30:40] local.INFO: Processing buffer {"connection_id":130430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b210330012d7f914005afd9380003011b25..."} 
[2026-07-13 16:30:40] local.INFO: Packet analysis {"connection_id":130430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b21"} 
[2026-07-13 16:30:40] local.INFO: Extracted packet for processing {"connection_id":130430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b21"} 
[2026-07-13 16:30:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":3,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688644352001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783940318000,"timestamp_ms":1783940318000,"timestamp_seconds":1783940318,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b210330"} 
[2026-07-13 16:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688644352001,"66":25028,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688644352001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:30:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:30:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688644352001,"power":25028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":130430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:30:40] local.INFO: GPS data processed {"connection_id":130430,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:30:40] local.INFO: Acknowledgment sent {"connection_id":130430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:30:44] local.INFO: TCP Data received {"connection_id":130431,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:30:44] local.INFO: Processing buffer {"connection_id":130431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:30:44] local.INFO: IMEI packet received {"connection_id":130431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":130431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:30:46] local.INFO: TCP Data received {"connection_id":130431,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1fd280012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1fd280012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:30:46] local.INFO: Processing buffer {"connection_id":130431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1fd280012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:30:46] local.INFO: Packet analysis {"connection_id":130431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1f"} 
[2026-07-13 16:30:46] local.INFO: Extracted packet for processing {"connection_id":130431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1f"} 
[2026-07-13 16:30:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688624384001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:30:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783940240000,"timestamp_ms":1783940240000,"timestamp_seconds":1783940240,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1fd280"} 
[2026-07-13 16:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688624384001,"66":24962,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688624384001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:30:46] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:30:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:30:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688624384001,"power":24962,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":130431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480632,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:30:46] local.INFO: GPS data processed {"connection_id":130431,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:30:46] local.INFO: Acknowledgment sent {"connection_id":130431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:30:58] local.INFO: TCP Data received {"connection_id":130432,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:30:58] local.INFO: Processing buffer {"connection_id":130432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:30:58] local.INFO: IMEI packet received {"connection_id":130432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":130432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:31:03] local.INFO: TCP Data received {"connection_id":130432,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:31:03] local.INFO: Processing buffer {"connection_id":130432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:31:03] local.INFO: IMEI packet received {"connection_id":130432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":130432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:31:04] local.INFO: TCP Data received {"connection_id":130432,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b21f948012d7b074005e348500006015a20..."} 
[2026-07-13 16:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b21f948012d7b074005e348500006015a20..."} 
[2026-07-13 16:31:04] local.INFO: Processing buffer {"connection_id":130432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b21f948012d7b074005e348500006015a20..."} 
[2026-07-13 16:31:04] local.INFO: Packet analysis {"connection_id":130432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b21"} 
[2026-07-13 16:31:04] local.INFO: Extracted packet for processing {"connection_id":130432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b21"} 
[2026-07-13 16:31:04] local.INFO: GPS Element Parsed {"raw_longitude":763037504,"raw_latitude":98781264,"longitude_deg":76.3037504,"latitude_deg":9.8781264,"altitude":6,"angle":346,"satellites":32,"speed":10,"hex_longitude":"2d7b0740","hex_latitude":"05e34850","is_valid_coordinates":true} 
[2026-07-13 16:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688733440001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105849610743840768,"note":"Value kept but may cause issues"} 
[2026-07-13 16:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865195154276857856,"note":"Value kept but may cause issues"} 
[2026-07-13 16:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783940381000,"timestamp_ms":1783940381000,"timestamp_seconds":1783940381,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b21f948"} 
[2026-07-13 16:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-13 16:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688733440001,"66":12504,"97":206,"85":15104,"24":10,"16":105849610743840768,"45":8865195154276857856},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688733440001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:31:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:31:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105849610743840768,"km_value":105849610743840.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865195154276857856,"description":"Unknown IO ID 45"} 
[2026-07-13 16:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688733440001,"power":12504,"unknown_97":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8865195154276857856}} 
[2026-07-13 16:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":130432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480633,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:31:04] local.INFO: GPS data processed {"connection_id":130432,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:31:04] local.INFO: Acknowledgment sent {"connection_id":130432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:31:12] local.INFO: TCP Data received {"connection_id":130430,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b210330012d7f914005afd9380003011b25..."} 
[2026-07-13 16:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b210330012d7f914005afd9380003011b25..."} 
[2026-07-13 16:31:12] local.INFO: Processing buffer {"connection_id":130430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b210330012d7f914005afd9380003011b25..."} 
[2026-07-13 16:31:12] local.INFO: Packet analysis {"connection_id":130430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b21"} 
[2026-07-13 16:31:12] local.INFO: Extracted packet for processing {"connection_id":130430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b21"} 
[2026-07-13 16:31:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":3,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688644352001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783940318000,"timestamp_ms":1783940318000,"timestamp_seconds":1783940318,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b210330"} 
[2026-07-13 16:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688644352001,"66":25028,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688644352001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:31:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:31:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688644352001,"power":25028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":130430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:31:12] local.INFO: GPS data processed {"connection_id":130430,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:31:12] local.INFO: Acknowledgment sent {"connection_id":130430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:31:17] local.INFO: TCP Data received {"connection_id":130431,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1fd280012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1fd280012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:31:17] local.INFO: Processing buffer {"connection_id":130431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1fd280012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:31:17] local.INFO: Packet analysis {"connection_id":130431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1f"} 
[2026-07-13 16:31:17] local.INFO: Extracted packet for processing {"connection_id":130431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1f"} 
[2026-07-13 16:31:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 16:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688624384001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:31:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783940240000,"timestamp_ms":1783940240000,"timestamp_seconds":1783940240,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1fd280"} 
[2026-07-13 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-07-13 16:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 16:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688624384001,"66":24962,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688624384001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:31:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:31:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:31:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688624384001,"power":24962,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":130431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480635,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:31:17] local.INFO: GPS data processed {"connection_id":130431,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:31:17] local.INFO: Acknowledgment sent {"connection_id":130431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:31:34] local.INFO: TCP Data received {"connection_id":130661,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:31:34] local.INFO: Processing buffer {"connection_id":130661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:31:34] local.INFO: IMEI packet received {"connection_id":130661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":130661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:31:34] local.INFO: TCP Data received {"connection_id":130432,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b21fd30012d7b070005e349680006014b23..."} 
[2026-07-13 16:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b21fd30012d7b070005e349680006014b23..."} 
[2026-07-13 16:31:34] local.INFO: Processing buffer {"connection_id":130432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b21fd30012d7b070005e349680006014b23..."} 
[2026-07-13 16:31:34] local.INFO: Packet analysis {"connection_id":130432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b21"} 
[2026-07-13 16:31:34] local.INFO: Extracted packet for processing {"connection_id":130432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b21"} 
[2026-07-13 16:31:34] local.INFO: GPS Element Parsed {"raw_longitude":763037440,"raw_latitude":98781544,"longitude_deg":76.303744,"latitude_deg":9.8781544,"altitude":6,"angle":331,"satellites":35,"speed":9,"hex_longitude":"2d7b0700","hex_latitude":"05e34968","is_valid_coordinates":true} 
[2026-07-13 16:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688737536001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105849623628742656,"note":"Value kept but may cause issues"} 
[2026-07-13 16:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865124785534291968,"note":"Value kept but may cause issues"} 
[2026-07-13 16:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783940382000,"timestamp_ms":1783940382000,"timestamp_seconds":1783940382,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b21fd30"} 
[2026-07-13 16:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:31: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-07-13 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 16:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":130432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":130432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":130432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688737536001,"66":12385,"97":206,"85":15104,"24":9,"16":105849623628742656,"45":8865124785534291968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688737536001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:31:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:31:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105849623628742656,"km_value":105849623628742.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865124785534291968,"description":"Unknown IO ID 45"} 
[2026-07-13 16:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688737536001,"power":12385,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8865124785534291968}} 
[2026-07-13 16:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":130432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480636,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:31:34] local.INFO: GPS data processed {"connection_id":130432,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:31:34] local.INFO: Acknowledgment sent {"connection_id":130432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:31:39] local.INFO: TCP Data received {"connection_id":130661,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:31:39] local.INFO: Processing buffer {"connection_id":130661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:31:39] local.INFO: IMEI packet received {"connection_id":130661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":130661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:31:39] local.INFO: TCP Data received {"connection_id":130433,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130433,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:31:39] local.INFO: Processing buffer {"connection_id":130433,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:31:39] local.INFO: IMEI packet received {"connection_id":130433,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":130433,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:31:44] local.INFO: TCP Data received {"connection_id":130661,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b210330012d7f914005afd9380003011b25..."} 
[2026-07-13 16:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b210330012d7f914005afd9380003011b25..."} 
[2026-07-13 16:31:44] local.INFO: Processing buffer {"connection_id":130661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b210330012d7f914005afd9380003011b25..."} 
[2026-07-13 16:31:44] local.INFO: Packet analysis {"connection_id":130661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b21"} 
[2026-07-13 16:31:44] local.INFO: Extracted packet for processing {"connection_id":130661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b21"} 
[2026-07-13 16:31:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":3,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688644352001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783940318000,"timestamp_ms":1783940318000,"timestamp_seconds":1783940318,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b210330"} 
[2026-07-13 16:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:31:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688644352001,"66":25028,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688644352001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:31:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:31:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688644352001,"power":25028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":130661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:31:44] local.INFO: GPS data processed {"connection_id":130661,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:31:44] local.INFO: Acknowledgment sent {"connection_id":130661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:31:45] local.INFO: TCP Data received {"connection_id":130433,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130433,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:31:45] local.INFO: Processing buffer {"connection_id":130433,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:31:45] local.INFO: IMEI packet received {"connection_id":130433,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":130433,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:31:46] local.INFO: TCP Data received {"connection_id":130433,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1fd280012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1fd280012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:31:46] local.INFO: Processing buffer {"connection_id":130433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1fd280012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:31:46] local.INFO: Packet analysis {"connection_id":130433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1f"} 
[2026-07-13 16:31:46] local.INFO: Extracted packet for processing {"connection_id":130433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1f"} 
[2026-07-13 16:31:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688624384001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:31:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783940240000,"timestamp_ms":1783940240000,"timestamp_seconds":1783940240,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1fd280"} 
[2026-07-13 16:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688624384001,"66":24962,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688624384001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:31:46] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:31:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:31:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688624384001,"power":24962,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":130433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480638,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:31:46] local.INFO: GPS data processed {"connection_id":130433,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:31:46] local.INFO: Acknowledgment sent {"connection_id":130433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:31:58] local.INFO: TCP Data received {"connection_id":131480,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131480,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:31:58] local.INFO: Processing buffer {"connection_id":131480,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:31:58] local.INFO: IMEI packet received {"connection_id":131480,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":131480,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:32:03] local.INFO: TCP Data received {"connection_id":131480,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131480,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:32:03] local.INFO: Processing buffer {"connection_id":131480,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:32:03] local.INFO: IMEI packet received {"connection_id":131480,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":131480,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:32:04] local.INFO: TCP Data received {"connection_id":131480,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b220118012d7b060005e34a400007013122..."} 
[2026-07-13 16:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b220118012d7b060005e34a400007013122..."} 
[2026-07-13 16:32:04] local.INFO: Processing buffer {"connection_id":131480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b220118012d7b060005e34a400007013122..."} 
[2026-07-13 16:32:04] local.INFO: Packet analysis {"connection_id":131480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b22"} 
[2026-07-13 16:32:04] local.INFO: Extracted packet for processing {"connection_id":131480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b22"} 
[2026-07-13 16:32:04] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98781760,"longitude_deg":76.3037184,"latitude_deg":9.878176,"altitude":7,"angle":305,"satellites":34,"speed":9,"hex_longitude":"2d7b0600","hex_latitude":"05e34a40","is_valid_coordinates":true} 
[2026-07-13 16:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688737792001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105849640808611840,"note":"Value kept but may cause issues"} 
[2026-07-13 16:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865054416790185984,"note":"Value kept but may cause issues"} 
[2026-07-13 16:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783940383000,"timestamp_ms":1783940383000,"timestamp_seconds":1783940383,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b220118"} 
[2026-07-13 16:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:32: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-07-13 16:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-13 16:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":131480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":131480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":131480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688737792001,"66":12385,"97":206,"85":15104,"24":9,"16":105849640808611840,"45":8865054416790185984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688737792001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:32:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:32:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105849640808611840,"km_value":105849640808611.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865054416790185984,"description":"Unknown IO ID 45"} 
[2026-07-13 16:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688737792001,"power":12385,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8865054416790185984}} 
[2026-07-13 16:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":131480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480639,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:32:04] local.INFO: GPS data processed {"connection_id":131480,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:32:04] local.INFO: Acknowledgment sent {"connection_id":131480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:32:15] local.INFO: TCP Data received {"connection_id":130661,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b210330012d7f914005afd9380003011b25..."} 
[2026-07-13 16:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b210330012d7f914005afd9380003011b25..."} 
[2026-07-13 16:32:15] local.INFO: Processing buffer {"connection_id":130661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b210330012d7f914005afd9380003011b25..."} 
[2026-07-13 16:32:15] local.INFO: Packet analysis {"connection_id":130661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b21"} 
[2026-07-13 16:32:15] local.INFO: Extracted packet for processing {"connection_id":130661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b21"} 
[2026-07-13 16:32:15] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":3,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688644352001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783940318000,"timestamp_ms":1783940318000,"timestamp_seconds":1783940318,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b210330"} 
[2026-07-13 16:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688644352001,"66":25028,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688644352001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:32:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:32:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688644352001,"power":25028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":130661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:32:15] local.INFO: GPS data processed {"connection_id":130661,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:32:15] local.INFO: Acknowledgment sent {"connection_id":130661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:32:18] local.INFO: TCP Data received {"connection_id":130433,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1fd280012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1fd280012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:32:18] local.INFO: Processing buffer {"connection_id":130433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1fd280012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:32:18] local.INFO: Packet analysis {"connection_id":130433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1f"} 
[2026-07-13 16:32:18] local.INFO: Extracted packet for processing {"connection_id":130433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1f"} 
[2026-07-13 16:32:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 16:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688624384001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:32:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783940240000,"timestamp_ms":1783940240000,"timestamp_seconds":1783940240,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1fd280"} 
[2026-07-13 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-07-13 16:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 16:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688624384001,"66":24962,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688624384001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:32:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:32:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:32:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688624384001,"power":24962,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":130433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480641,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:32:18] local.INFO: GPS data processed {"connection_id":130433,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:32:18] local.INFO: Acknowledgment sent {"connection_id":130433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:32:34] local.INFO: TCP Data received {"connection_id":131481,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:32:34] local.INFO: Processing buffer {"connection_id":131481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:32:34] local.INFO: IMEI packet received {"connection_id":131481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":131481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:32:35] local.INFO: TCP Data received {"connection_id":131480,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b247600012d7accc005e410500007013d2b..."} 
[2026-07-13 16:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b247600012d7accc005e410500007013d2b..."} 
[2026-07-13 16:32:35] local.INFO: Processing buffer {"connection_id":131480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b247600012d7accc005e410500007013d2b..."} 
[2026-07-13 16:32:35] local.INFO: Packet analysis {"connection_id":131480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b24"} 
[2026-07-13 16:32:35] local.INFO: Extracted packet for processing {"connection_id":131480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b24"} 
[2026-07-13 16:32:35] local.INFO: GPS Element Parsed {"raw_longitude":763022528,"raw_latitude":98832464,"longitude_deg":76.3022528,"latitude_deg":9.8832464,"altitude":7,"angle":317,"satellites":43,"speed":6,"hex_longitude":"2d7accc0","hex_latitude":"05e41050","is_valid_coordinates":true} 
[2026-07-13 16:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688779008001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105852217788989440,"note":"Value kept but may cause issues"} 
[2026-07-13 16:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848728868153962496,"note":"Value kept but may cause issues"} 
[2026-07-13 16:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783940544000,"timestamp_ms":1783940544000,"timestamp_seconds":1783940544,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b247600"} 
[2026-07-13 16:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-13 16:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":131480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":131480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":131480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688779008001,"66":12515,"97":206,"85":15104,"24":6,"16":105852217788989440,"45":8848728868153962496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688779008001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:32:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:32:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105852217788989440,"km_value":105852217788989.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848728868153962496,"description":"Unknown IO ID 45"} 
[2026-07-13 16:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688779008001,"power":12515,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8848728868153962496}} 
[2026-07-13 16:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":131480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480642,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:32:35] local.INFO: GPS data processed {"connection_id":131480,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:32:35] local.INFO: Acknowledgment sent {"connection_id":131480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:32:39] local.INFO: TCP Data received {"connection_id":131481,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:32:39] local.INFO: Processing buffer {"connection_id":131481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:32:39] local.INFO: IMEI packet received {"connection_id":131481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":131481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:32:40] local.INFO: TCP Data received {"connection_id":131481,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b210330012d7f914005afd9380003011b25..."} 
[2026-07-13 16:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b210330012d7f914005afd9380003011b25..."} 
[2026-07-13 16:32:40] local.INFO: Processing buffer {"connection_id":131481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b210330012d7f914005afd9380003011b25..."} 
[2026-07-13 16:32:40] local.INFO: Packet analysis {"connection_id":131481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b21"} 
[2026-07-13 16:32:40] local.INFO: Extracted packet for processing {"connection_id":131481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b21"} 
[2026-07-13 16:32:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":3,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688644352001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783940318000,"timestamp_ms":1783940318000,"timestamp_seconds":1783940318,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b210330"} 
[2026-07-13 16:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688644352001,"66":25028,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688644352001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:32:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:32:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688644352001,"power":25028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":131481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:32:40] local.INFO: GPS data processed {"connection_id":131481,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:32:40] local.INFO: Acknowledgment sent {"connection_id":131481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:32:45] local.INFO: TCP Data received {"connection_id":130662,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:32:45] local.INFO: Processing buffer {"connection_id":130662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:32:45] local.INFO: IMEI packet received {"connection_id":130662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":130662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:32:50] local.INFO: TCP Data received {"connection_id":130662,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:32:50] local.INFO: Processing buffer {"connection_id":130662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:32:50] local.INFO: IMEI packet received {"connection_id":130662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":130662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:32:51] local.INFO: TCP Data received {"connection_id":130662,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1fd280012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1fd280012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:32:51] local.INFO: Processing buffer {"connection_id":130662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1fd280012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:32:51] local.INFO: Packet analysis {"connection_id":130662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1f"} 
[2026-07-13 16:32:51] local.INFO: Extracted packet for processing {"connection_id":130662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1f"} 
[2026-07-13 16:32:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 16:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688624384001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:32:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783940240000,"timestamp_ms":1783940240000,"timestamp_seconds":1783940240,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1fd280"} 
[2026-07-13 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-07-13 16:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 16:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688624384001,"66":24962,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688624384001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:32:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:32:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:32:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688624384001,"power":24962,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":130662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480644,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:32:51] local.INFO: GPS data processed {"connection_id":130662,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:32:51] local.INFO: Acknowledgment sent {"connection_id":130662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:32:55] local.INFO: TCP Data received {"connection_id":130662,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b1fd280012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b1fd280012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:32:55] local.INFO: Processing buffer {"connection_id":130662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b1fd280012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:32:55] local.INFO: Packet analysis {"connection_id":130662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b1f"} 
[2026-07-13 16:32:55] local.INFO: Extracted packet for processing {"connection_id":130662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b1f"} 
[2026-07-13 16:32:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688624384001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:32:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783940240000,"timestamp_ms":1783940240000,"timestamp_seconds":1783940240,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b1fd280"} 
[2026-07-13 16:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688624384001,"66":24962,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688624384001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:32:55] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:32:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:32:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688624384001,"power":24962,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":130662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480645,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:32:56] local.INFO: GPS data processed {"connection_id":130662,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:32:56] local.INFO: Acknowledgment sent {"connection_id":130662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:32:58] local.INFO: TCP Data received {"connection_id":132804,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:32:58] local.INFO: Processing buffer {"connection_id":132804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:32:58] local.INFO: IMEI packet received {"connection_id":132804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":132804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:33:03] local.INFO: TCP Data received {"connection_id":132804,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:33:03] local.INFO: Processing buffer {"connection_id":132804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:33:03] local.INFO: IMEI packet received {"connection_id":132804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":132804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:33:04] local.INFO: TCP Data received {"connection_id":132804,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2481b8012d7acb4005e410e0000801202d..."} 
[2026-07-13 16:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2481b8012d7acb4005e410e0000801202d..."} 
[2026-07-13 16:33:04] local.INFO: Processing buffer {"connection_id":132804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2481b8012d7acb4005e410e0000801202d..."} 
[2026-07-13 16:33:04] local.INFO: Packet analysis {"connection_id":132804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b24"} 
[2026-07-13 16:33:04] local.INFO: Extracted packet for processing {"connection_id":132804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b24"} 
[2026-07-13 16:33:04] local.INFO: GPS Element Parsed {"raw_longitude":763022144,"raw_latitude":98832608,"longitude_deg":76.3022144,"latitude_deg":9.8832608,"altitude":8,"angle":288,"satellites":45,"speed":5,"hex_longitude":"2d7acb40","hex_latitude":"05e410e0","is_valid_coordinates":true} 
[2026-07-13 16:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688779264001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105852239263825920,"note":"Value kept but may cause issues"} 
[2026-07-13 16:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848658499409825792,"note":"Value kept but may cause issues"} 
[2026-07-13 16:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783940547000,"timestamp_ms":1783940547000,"timestamp_seconds":1783940547,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2481b8"} 
[2026-07-13 16:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:33: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-07-13 16: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-13 16:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688779264001,"66":12743,"97":206,"85":15104,"24":5,"16":105852239263825920,"45":8848658499409825792},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688779264001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:33:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:33:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105852239263825920,"km_value":105852239263825.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848658499409825792,"description":"Unknown IO ID 45"} 
[2026-07-13 16:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688779264001,"power":12743,"unknown_97":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8848658499409825792}} 
[2026-07-13 16:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":132804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480646,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:33:04] local.INFO: GPS data processed {"connection_id":132804,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:33:04] local.INFO: Acknowledgment sent {"connection_id":132804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:33:11] local.INFO: TCP Data received {"connection_id":131481,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b210330012d7f914005afd9380003011b25..."} 
[2026-07-13 16:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b210330012d7f914005afd9380003011b25..."} 
[2026-07-13 16:33:11] local.INFO: Processing buffer {"connection_id":131481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b210330012d7f914005afd9380003011b25..."} 
[2026-07-13 16:33:11] local.INFO: Packet analysis {"connection_id":131481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b21"} 
[2026-07-13 16:33:11] local.INFO: Extracted packet for processing {"connection_id":131481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b21"} 
[2026-07-13 16:33:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":3,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688644352001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783940318000,"timestamp_ms":1783940318000,"timestamp_seconds":1783940318,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b210330"} 
[2026-07-13 16:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688644352001,"66":25028,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688644352001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:33:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688644352001,"power":25028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":131481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:33:11] local.INFO: GPS data processed {"connection_id":131481,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:33:11] local.INFO: Acknowledgment sent {"connection_id":131481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:33:34] local.INFO: TCP Data received {"connection_id":130434,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:33:34] local.INFO: Processing buffer {"connection_id":130434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:33:34] local.INFO: IMEI packet received {"connection_id":130434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":130434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:33:35] local.INFO: TCP Data received {"connection_id":132804,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2485a0012d7aca8005e410d0000801062d..."} 
[2026-07-13 16:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2485a0012d7aca8005e410d0000801062d..."} 
[2026-07-13 16:33:35] local.INFO: Processing buffer {"connection_id":132804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2485a0012d7aca8005e410d0000801062d..."} 
[2026-07-13 16:33:35] local.INFO: Packet analysis {"connection_id":132804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b24"} 
[2026-07-13 16:33:35] local.INFO: Extracted packet for processing {"connection_id":132804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b24"} 
[2026-07-13 16:33:35] local.INFO: GPS Element Parsed {"raw_longitude":763021952,"raw_latitude":98832592,"longitude_deg":76.3021952,"latitude_deg":9.8832592,"altitude":8,"angle":262,"satellites":45,"speed":9,"hex_longitude":"2d7aca80","hex_latitude":"05e410d0","is_valid_coordinates":true} 
[2026-07-13 16:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688780032001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105852247853760512,"note":"Value kept but may cause issues"} 
[2026-07-13 16:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848236286944796672,"note":"Value kept but may cause issues"} 
[2026-07-13 16:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783940548000,"timestamp_ms":1783940548000,"timestamp_seconds":1783940548,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2485a0"} 
[2026-07-13 16:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-13 16:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688780032001,"66":12819,"97":206,"85":15104,"24":9,"16":105852247853760512,"45":8848236286944796672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688780032001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:33:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:33:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105852247853760512,"km_value":105852247853760.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848236286944796672,"description":"Unknown IO ID 45"} 
[2026-07-13 16:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688780032001,"power":12819,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8848236286944796672}} 
[2026-07-13 16:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":132804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480648,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:33:35] local.INFO: GPS data processed {"connection_id":132804,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:33:35] local.INFO: Acknowledgment sent {"connection_id":132804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:33:39] local.INFO: TCP Data received {"connection_id":130434,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:33:39] local.INFO: Processing buffer {"connection_id":130434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:33:39] local.INFO: IMEI packet received {"connection_id":130434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":130434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:33:40] local.INFO: TCP Data received {"connection_id":130434,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b210330012d7f914005afd9380003011b25..."} 
[2026-07-13 16:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b210330012d7f914005afd9380003011b25..."} 
[2026-07-13 16:33:40] local.INFO: Processing buffer {"connection_id":130434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b210330012d7f914005afd9380003011b25..."} 
[2026-07-13 16:33:40] local.INFO: Packet analysis {"connection_id":130434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b21"} 
[2026-07-13 16:33:40] local.INFO: Extracted packet for processing {"connection_id":130434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b21"} 
[2026-07-13 16:33:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":3,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688644352001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783940318000,"timestamp_ms":1783940318000,"timestamp_seconds":1783940318,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b210330"} 
[2026-07-13 16:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688644352001,"66":25028,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688644352001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:33:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:33:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688644352001,"power":25028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":130434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:33:40] local.INFO: GPS data processed {"connection_id":130434,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:33:40] local.INFO: Acknowledgment sent {"connection_id":130434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:33:40] local.INFO: TCP Data received {"connection_id":132805,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132805,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:33:40] local.INFO: Processing buffer {"connection_id":132805,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:33:40] local.INFO: IMEI packet received {"connection_id":132805,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":132805,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:33:45] local.INFO: TCP Data received {"connection_id":132805,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132805,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:33:45] local.INFO: Processing buffer {"connection_id":132805,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:33:45] local.INFO: IMEI packet received {"connection_id":132805,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":132805,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:33:46] local.INFO: TCP Data received {"connection_id":132805,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b246a48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b246a48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:33:46] local.INFO: Processing buffer {"connection_id":132805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b246a48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:33:46] local.INFO: Packet analysis {"connection_id":132805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b24"} 
[2026-07-13 16:33:46] local.INFO: Extracted packet for processing {"connection_id":132805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b24"} 
[2026-07-13 16:33:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688701440001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:33:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783940541000,"timestamp_ms":1783940541000,"timestamp_seconds":1783940541,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b246a48"} 
[2026-07-13 16:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-13 16:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688701440001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688701440001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:33:46] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:33:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:33:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688701440001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":132805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480650,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:33:46] local.INFO: GPS data processed {"connection_id":132805,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:33:46] local.INFO: Acknowledgment sent {"connection_id":132805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:33:58] local.INFO: TCP Data received {"connection_id":131482,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:33:58] local.INFO: Processing buffer {"connection_id":131482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:33:58] local.INFO: IMEI packet received {"connection_id":131482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":131482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:34:03] local.INFO: TCP Data received {"connection_id":131482,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:34:03] local.INFO: Processing buffer {"connection_id":131482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:34:03] local.INFO: IMEI packet received {"connection_id":131482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":131482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:34:04] local.INFO: TCP Data received {"connection_id":131482,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b24d3c0012d7aa8c005e40b70000901022b..."} 
[2026-07-13 16:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b24d3c0012d7aa8c005e40b70000901022b..."} 
[2026-07-13 16:34:04] local.INFO: Processing buffer {"connection_id":131482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b24d3c0012d7aa8c005e40b70000901022b..."} 
[2026-07-13 16:34:04] local.INFO: Packet analysis {"connection_id":131482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b24"} 
[2026-07-13 16:34:04] local.INFO: Extracted packet for processing {"connection_id":131482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b24"} 
[2026-07-13 16:34:04] local.INFO: GPS Element Parsed {"raw_longitude":763013312,"raw_latitude":98831216,"longitude_deg":76.3013312,"latitude_deg":9.8831216,"altitude":9,"angle":258,"satellites":43,"speed":29,"hex_longitude":"2d7aa8c0","hex_latitude":"05e40b70","is_valid_coordinates":true} 
[2026-07-13 16:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688780288001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105852664465588224,"note":"Value kept but may cause issues"} 
[2026-07-13 16:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848025180712259584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783940568000,"timestamp_ms":1783940568000,"timestamp_seconds":1783940568,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b24d3c0"} 
[2026-07-13 16:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:34: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-07-13 16:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-13 16:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-13 16:34:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 16:34:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-13 16:34:04] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505214781947904,"note":"Value kept but may cause issues"} 
[2026-07-13 16:34:04] local.WARNING: Large IO value detected {"io_id":91,"raw_value":2559117716753148800,"note":"Value kept but may cause issues"} 
[2026-07-13 16:34:04] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5908986598200246528,"note":"Value kept but may cause issues"} 
[2026-07-13 16:34:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6457879504479387624,"corrected_to":0} 
[2026-07-13 16:34:04] local.WARNING: Large IO value detected {"io_id":216,"raw_value":3221611484,"note":"Value kept but may cause issues"} 
[2026-07-13 16:34:04] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182191054913792,"note":"Value kept but may cause issues"} 
[2026-07-13 16:34:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2044572658040744145,"note":"Value kept but may cause issues"} 
[2026-07-13 16:34:04] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121607699582549,"note":"Value kept but may cause issues"} 
[2026-07-13 16:34:04] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755541175107825,"note":"Value kept but may cause issues"} 
[2026-07-13 16:34:04] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194964224,"note":"Value kept but may cause issues"} 
[2026-07-13 16:34:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":84859129537356693,"corrected_to":0} 
[2026-07-13 16:34:04] local.WARNING: Large IO value detected {"io_id":88,"raw_value":1971811700965376,"note":"Value kept but may cause issues"} 
[2026-07-13 16:34:04] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,97,85,24,241,157,16,159,129,45,64,8,10,66,118,192,7,43,114,1,240,146,227,91,4,113,205,29,216,56,44,239,47,2,120,5,33,50,59,28,69,200,88],"length":625,"final_offset":755,"validated_count":43,"validation_warnings":[{"io_id":205,"original":-6457879504479387624,"validated":0},{"io_id":200,"original":84859129537356693,"validated":0}]} 
[2026-07-13 16:34:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576749017624018944,"timestamp_seconds":576749017624019.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 16:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":131482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":131482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":131482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688780288001,"66":12841,"97":206,"85":15104,"24":29,"16":105852664465588224,"45":8848025180712259584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688780288001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:34:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:34:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105852664465588224,"km_value":105852664465588.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848025180712259584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688780288001,"power":12841,"unknown_97":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8848025180712259584}} 
[2026-07-13 16:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":131482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480651,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:34:04] local.INFO: GPS data processed {"connection_id":131482,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:34:04] local.INFO: Acknowledgment sent {"connection_id":131482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:34:11] local.INFO: TCP Data received {"connection_id":130434,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b210330012d7f914005afd9380003011b25..."} 
[2026-07-13 16:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b210330012d7f914005afd9380003011b25..."} 
[2026-07-13 16:34:11] local.INFO: Processing buffer {"connection_id":130434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b210330012d7f914005afd9380003011b25..."} 
[2026-07-13 16:34:11] local.INFO: Packet analysis {"connection_id":130434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b21"} 
[2026-07-13 16:34:11] local.INFO: Extracted packet for processing {"connection_id":130434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b21"} 
[2026-07-13 16:34:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":3,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688644352001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783940318000,"timestamp_ms":1783940318000,"timestamp_seconds":1783940318,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b210330"} 
[2026-07-13 16:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688644352001,"66":25028,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688644352001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:34:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:34:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688644352001,"power":25028,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":130434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:34:11] local.INFO: GPS data processed {"connection_id":130434,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:34:11] local.INFO: Acknowledgment sent {"connection_id":130434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:34:17] local.INFO: TCP Data received {"connection_id":132805,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b246a48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b246a48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:34:17] local.INFO: Processing buffer {"connection_id":132805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b246a48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:34:17] local.INFO: Packet analysis {"connection_id":132805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b24"} 
[2026-07-13 16:34:17] local.INFO: Extracted packet for processing {"connection_id":132805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b24"} 
[2026-07-13 16:34:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688701440001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:34:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783940541000,"timestamp_ms":1783940541000,"timestamp_seconds":1783940541,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b246a48"} 
[2026-07-13 16:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:34: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-07-13 16: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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-13 16:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688701440001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688701440001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:34:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:34:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:34:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688701440001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":132805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480653,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:34:18] local.INFO: GPS data processed {"connection_id":132805,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:34:18] local.INFO: Acknowledgment sent {"connection_id":132805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:34:35] local.INFO: TCP Data received {"connection_id":131482,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b24eb30012d7a9e4005e409e00008010e27..."} 
[2026-07-13 16:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b24eb30012d7a9e4005e409e00008010e27..."} 
[2026-07-13 16:34:35] local.INFO: Processing buffer {"connection_id":131482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b24eb30012d7a9e4005e409e00008010e27..."} 
[2026-07-13 16:34:35] local.INFO: Packet analysis {"connection_id":131482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b24"} 
[2026-07-13 16:34:35] local.INFO: Extracted packet for processing {"connection_id":131482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b24"} 
[2026-07-13 16:34:35] local.INFO: GPS Element Parsed {"raw_longitude":763010624,"raw_latitude":98830816,"longitude_deg":76.3010624,"latitude_deg":9.8830816,"altitude":8,"angle":270,"satellites":39,"speed":6,"hex_longitude":"2d7a9e40","hex_latitude":"05e409e0","is_valid_coordinates":true} 
[2026-07-13 16:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688785408001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105852797609574400,"note":"Value kept but may cause issues"} 
[2026-07-13 16:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8838525400247922688,"note":"Value kept but may cause issues"} 
[2026-07-13 16:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783940574000,"timestamp_ms":1783940574000,"timestamp_seconds":1783940574,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b24eb30"} 
[2026-07-13 16:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-13 16:34: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-07-13 16:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":131482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":131482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":131482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688785408001,"66":12961,"97":206,"85":15104,"24":6,"16":105852797609574400,"45":8838525400247922688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688785408001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:34:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:34:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105852797609574400,"km_value":105852797609574.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8838525400247922688,"description":"Unknown IO ID 45"} 
[2026-07-13 16:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688785408001,"power":12961,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8838525400247922688}} 
[2026-07-13 16:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":131482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480654,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:34:36] local.INFO: GPS data processed {"connection_id":131482,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:34:36] local.INFO: Acknowledgment sent {"connection_id":131482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:34:39] local.INFO: TCP Data received {"connection_id":130435,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:34:39] local.INFO: Processing buffer {"connection_id":130435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:34:39] local.INFO: IMEI packet received {"connection_id":130435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":130435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:34:39] local.INFO: TCP Data received {"connection_id":132806,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:34:39] local.INFO: Processing buffer {"connection_id":132806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:34:39] local.INFO: IMEI packet received {"connection_id":132806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":132806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:34:44] local.INFO: TCP Data received {"connection_id":130435,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:34:44] local.INFO: Processing buffer {"connection_id":130435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:34:44] local.INFO: IMEI packet received {"connection_id":130435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":130435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:34:45] local.INFO: TCP Data received {"connection_id":132806,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:34:45] local.INFO: Processing buffer {"connection_id":132806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:34:45] local.INFO: IMEI packet received {"connection_id":132806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":132806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:34:46] local.INFO: TCP Data received {"connection_id":132806,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b246a48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b246a48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:34:46] local.INFO: Processing buffer {"connection_id":132806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b246a48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:34:46] local.INFO: Packet analysis {"connection_id":132806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b24"} 
[2026-07-13 16:34:46] local.INFO: Extracted packet for processing {"connection_id":132806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b24"} 
[2026-07-13 16:34:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688701440001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:34:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783940541000,"timestamp_ms":1783940541000,"timestamp_seconds":1783940541,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b246a48"} 
[2026-07-13 16:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-13 16:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132806,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132806,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688701440001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688701440001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:34:46] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:34:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:34:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688701440001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":132806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480655,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:34:46] local.INFO: GPS data processed {"connection_id":132806,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:34:46] local.INFO: Acknowledgment sent {"connection_id":132806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:34:54] local.INFO: TCP Data received {"connection_id":130435,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b259af8012d7f914005afd9380005011b26..."} 
[2026-07-13 16:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b259af8012d7f914005afd9380005011b26..."} 
[2026-07-13 16:34:54] local.INFO: Processing buffer {"connection_id":130435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b259af8012d7f914005afd9380005011b26..."} 
[2026-07-13 16:34:54] local.INFO: Packet analysis {"connection_id":130435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b25"} 
[2026-07-13 16:34:54] local.INFO: Extracted packet for processing {"connection_id":130435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b25"} 
[2026-07-13 16:34:54] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 16:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688721408001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783940619000,"timestamp_ms":1783940619000,"timestamp_seconds":1783940619,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b259af8"} 
[2026-07-13 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-07-13 16:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 16:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 16:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688721408001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688721408001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:34:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:34:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688721408001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":130435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:34:54] local.INFO: GPS data processed {"connection_id":130435,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:34:54] local.INFO: Acknowledgment sent {"connection_id":130435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:35:00] local.INFO: TCP Data received {"connection_id":132807,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132807,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:35:00] local.INFO: Processing buffer {"connection_id":132807,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:35:00] local.INFO: IMEI packet received {"connection_id":132807,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":132807,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:35:03] local.INFO: TCP Data received {"connection_id":132807,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132807,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:35:03] local.INFO: Processing buffer {"connection_id":132807,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:35:03] local.INFO: IMEI packet received {"connection_id":132807,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":132807,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:35:08] local.INFO: TCP Data received {"connection_id":132807,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132807,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:35:08] local.INFO: Processing buffer {"connection_id":132807,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:35:08] local.INFO: IMEI packet received {"connection_id":132807,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":132807,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:35:09] local.INFO: TCP Data received {"connection_id":132807,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b251a10012d7a9fc005e40a880009005e2b..."} 
[2026-07-13 16:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b251a10012d7a9fc005e40a880009005e2b..."} 
[2026-07-13 16:35:09] local.INFO: Processing buffer {"connection_id":132807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b251a10012d7a9fc005e40a880009005e2b..."} 
[2026-07-13 16:35:09] local.INFO: Packet analysis {"connection_id":132807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b25"} 
[2026-07-13 16:35:09] local.INFO: Extracted packet for processing {"connection_id":132807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b25"} 
[2026-07-13 16:35:09] local.INFO: GPS Element Parsed {"raw_longitude":763011008,"raw_latitude":98830984,"longitude_deg":76.3011008,"latitude_deg":9.8830984,"altitude":9,"angle":94,"satellites":43,"speed":1,"hex_longitude":"2d7a9fc0","hex_latitude":"05e40a88","is_valid_coordinates":true} 
[2026-07-13 16:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688786944001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105852831969312768,"note":"Value kept but may cause issues"} 
[2026-07-13 16:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835569912992358400,"note":"Value kept but may cause issues"} 
[2026-07-13 16:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783940586000,"timestamp_ms":1783940586000,"timestamp_seconds":1783940586,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b251a10"} 
[2026-07-13 16:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:35: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-07-13 16:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-13 16:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688786944001,"66":12689,"97":206,"85":15104,"24":1,"16":105852831969312768,"45":8835569912992358400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688786944001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:35:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:35:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105852831969312768,"km_value":105852831969312.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835569912992358400,"description":"Unknown IO ID 45"} 
[2026-07-13 16:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688786944001,"power":12689,"unknown_97":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8835569912992358400}} 
[2026-07-13 16:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":132807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480657,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:35:09] local.INFO: GPS data processed {"connection_id":132807,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:35:09] local.INFO: Acknowledgment sent {"connection_id":132807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:35:18] local.INFO: TCP Data received {"connection_id":132806,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b246a48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b246a48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:35:18] local.INFO: Processing buffer {"connection_id":132806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b246a48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:35:18] local.INFO: Packet analysis {"connection_id":132806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b24"} 
[2026-07-13 16:35:18] local.INFO: Extracted packet for processing {"connection_id":132806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b24"} 
[2026-07-13 16:35:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 16:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688701440001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:35:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783940541000,"timestamp_ms":1783940541000,"timestamp_seconds":1783940541,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b246a48"} 
[2026-07-13 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-07-13 16:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-13 16:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 16:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132806,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132806,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688701440001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688701440001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:35:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:35:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:35:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688701440001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":132806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480658,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:35:18] local.INFO: GPS data processed {"connection_id":132806,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:35:18] local.INFO: Acknowledgment sent {"connection_id":132806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:35:34] local.INFO: TCP Data received {"connection_id":130436,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:35:34] local.INFO: Processing buffer {"connection_id":130436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:35:34] local.INFO: IMEI packet received {"connection_id":130436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":130436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:35:39] local.INFO: TCP Data received {"connection_id":130436,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:35:39] local.INFO: Processing buffer {"connection_id":130436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:35:39] local.INFO: IMEI packet received {"connection_id":130436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":130436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:35:39] local.INFO: TCP Data received {"connection_id":130663,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130663,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:35:39] local.INFO: Processing buffer {"connection_id":130663,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:35:39] local.INFO: IMEI packet received {"connection_id":130663,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":130663,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:35:40] local.INFO: TCP Data received {"connection_id":132807,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b26f6a0012d7adc0005e3d658000a00a12e..."} 
[2026-07-13 16:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b26f6a0012d7adc0005e3d658000a00a12e..."} 
[2026-07-13 16:35:40] local.INFO: Processing buffer {"connection_id":132807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b26f6a0012d7adc0005e3d658000a00a12e..."} 
[2026-07-13 16:35:40] local.INFO: Packet analysis {"connection_id":132807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b26"} 
[2026-07-13 16:35:40] local.INFO: Extracted packet for processing {"connection_id":132807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b26"} 
[2026-07-13 16:35:40] local.INFO: GPS Element Parsed {"raw_longitude":763026432,"raw_latitude":98817624,"longitude_deg":76.3026432,"latitude_deg":9.8817624,"altitude":10,"angle":161,"satellites":46,"speed":39,"hex_longitude":"2d7adc00","hex_latitude":"05e3d658","is_valid_coordinates":true} 
[2026-07-13 16:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688818688001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105854163409174528,"note":"Value kept but may cause issues"} 
[2026-07-13 16:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850910299221710848,"note":"Value kept but may cause issues"} 
[2026-07-13 16:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783940708000,"timestamp_ms":1783940708000,"timestamp_seconds":1783940708,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b26f6a0"} 
[2026-07-13 16:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-13 16:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132807,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688818688001,"66":13254,"97":206,"85":15104,"24":39,"16":105854163409174528,"45":8850910299221710848},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688818688001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:35:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:35:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105854163409174528,"km_value":105854163409174.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850910299221710848,"description":"Unknown IO ID 45"} 
[2026-07-13 16:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688818688001,"power":13254,"unknown_97":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8850910299221710848}} 
[2026-07-13 16:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":132807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480659,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:35:40] local.INFO: GPS data processed {"connection_id":132807,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:35:40] local.INFO: Acknowledgment sent {"connection_id":132807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:35:45] local.INFO: TCP Data received {"connection_id":130663,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130663,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:35:45] local.INFO: Processing buffer {"connection_id":130663,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:35:45] local.INFO: IMEI packet received {"connection_id":130663,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":130663,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:35:46] local.INFO: TCP Data received {"connection_id":130663,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b246a48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b246a48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:35:46] local.INFO: Processing buffer {"connection_id":130663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b246a48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:35:46] local.INFO: Packet analysis {"connection_id":130663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b24"} 
[2026-07-13 16:35:46] local.INFO: Extracted packet for processing {"connection_id":130663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b24"} 
[2026-07-13 16:35:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688701440001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:35:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783940541000,"timestamp_ms":1783940541000,"timestamp_seconds":1783940541,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b246a48"} 
[2026-07-13 16:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-13 16:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130663,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130663,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688701440001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688701440001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:35:46] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:35:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:35:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688701440001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":130663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480660,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:35:47] local.INFO: GPS data processed {"connection_id":130663,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:35:47] local.INFO: Acknowledgment sent {"connection_id":130663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:35:50] local.INFO: TCP Data received {"connection_id":130436,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b259af8012d7f914005afd9380005011b26..."} 
[2026-07-13 16:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b259af8012d7f914005afd9380005011b26..."} 
[2026-07-13 16:35:50] local.INFO: Processing buffer {"connection_id":130436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b259af8012d7f914005afd9380005011b26..."} 
[2026-07-13 16:35:50] local.INFO: Packet analysis {"connection_id":130436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b25"} 
[2026-07-13 16:35:50] local.INFO: Extracted packet for processing {"connection_id":130436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b25"} 
[2026-07-13 16:35:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 16:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688721408001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783940619000,"timestamp_ms":1783940619000,"timestamp_seconds":1783940619,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b259af8"} 
[2026-07-13 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-07-13 16:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 16:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 16:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688721408001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688721408001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:35:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:35:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688721408001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":130436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:35:50] local.INFO: GPS data processed {"connection_id":130436,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:35:50] local.INFO: Acknowledgment sent {"connection_id":130436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:35:54] local.INFO: TCP Data received {"connection_id":130437,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130437,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:35:54] local.INFO: Processing buffer {"connection_id":130437,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:35:54] local.INFO: IMEI packet received {"connection_id":130437,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":130437,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:35:58] local.INFO: TCP Data received {"connection_id":130437,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130437,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:35:58] local.INFO: Processing buffer {"connection_id":130437,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:35:58] local.INFO: IMEI packet received {"connection_id":130437,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":130437,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:36:03] local.INFO: TCP Data received {"connection_id":130437,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130437,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:36:03] local.INFO: Processing buffer {"connection_id":130437,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:36:03] local.INFO: IMEI packet received {"connection_id":130437,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":130437,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:36:04] local.INFO: TCP Data received {"connection_id":130437,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2719c8012d7ae6c005e3b3a8000800a42d..."} 
[2026-07-13 16:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2719c8012d7ae6c005e3b3a8000800a42d..."} 
[2026-07-13 16:36:04] local.INFO: Processing buffer {"connection_id":130437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2719c8012d7ae6c005e3b3a8000800a42d..."} 
[2026-07-13 16:36:04] local.INFO: Packet analysis {"connection_id":130437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b27"} 
[2026-07-13 16:36:04] local.INFO: Extracted packet for processing {"connection_id":130437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b27"} 
[2026-07-13 16:36:04] local.INFO: GPS Element Parsed {"raw_longitude":763029184,"raw_latitude":98808744,"longitude_deg":76.3029184,"latitude_deg":9.8808744,"altitude":8,"angle":164,"satellites":45,"speed":39,"hex_longitude":"2d7ae6c0","hex_latitude":"05e3b3a8","is_valid_coordinates":true} 
[2026-07-13 16:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688821248001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105854614380740608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8852950992800864256,"note":"Value kept but may cause issues"} 
[2026-07-13 16:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783940717000,"timestamp_ms":1783940717000,"timestamp_seconds":1783940717,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2719c8"} 
[2026-07-13 16:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:36: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-07-13 16:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-13 16:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688821248001,"66":12526,"97":206,"85":15104,"24":39,"16":105854614380740608,"45":8852950992800864256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688821248001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:36:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:36:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105854614380740608,"km_value":105854614380740.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8852950992800864256,"description":"Unknown IO ID 45"} 
[2026-07-13 16:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688821248001,"power":12526,"unknown_97":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8852950992800864256}} 
[2026-07-13 16:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":130437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480662,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:36:04] local.INFO: GPS data processed {"connection_id":130437,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:36:04] local.INFO: Acknowledgment sent {"connection_id":130437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:36:18] local.INFO: TCP Data received {"connection_id":130663,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b246a48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b246a48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:36:18] local.INFO: Processing buffer {"connection_id":130663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b246a48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:36:18] local.INFO: Packet analysis {"connection_id":130663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b24"} 
[2026-07-13 16:36:18] local.INFO: Extracted packet for processing {"connection_id":130663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b24"} 
[2026-07-13 16:36:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 16:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688701440001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:36:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783940541000,"timestamp_ms":1783940541000,"timestamp_seconds":1783940541,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b246a48"} 
[2026-07-13 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-07-13 16:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-13 16:36:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 16:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130663,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130663,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688701440001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688701440001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:36:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:36:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:36:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688701440001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":130663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480663,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:36:18] local.INFO: GPS data processed {"connection_id":130663,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:36:18] local.INFO: Acknowledgment sent {"connection_id":130663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:36:34] local.INFO: TCP Data received {"connection_id":130664,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:36:34] local.INFO: Processing buffer {"connection_id":130664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:36:34] local.INFO: IMEI packet received {"connection_id":130664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":130664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:36:35] local.INFO: TCP Data received {"connection_id":130437,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b275460012d7af18005e392a00007009e2f..."} 
[2026-07-13 16:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b275460012d7af18005e392a00007009e2f..."} 
[2026-07-13 16:36:35] local.INFO: Processing buffer {"connection_id":130437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b275460012d7af18005e392a00007009e2f..."} 
[2026-07-13 16:36:35] local.INFO: Packet analysis {"connection_id":130437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b27"} 
[2026-07-13 16:36:35] local.INFO: Extracted packet for processing {"connection_id":130437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b27"} 
[2026-07-13 16:36:35] local.INFO: GPS Element Parsed {"raw_longitude":763031936,"raw_latitude":98800288,"longitude_deg":76.3031936,"latitude_deg":9.8800288,"altitude":7,"angle":158,"satellites":47,"speed":10,"hex_longitude":"2d7af180","hex_latitude":"05e392a0","is_valid_coordinates":true} 
[2026-07-13 16:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688823552001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105855048172437504,"note":"Value kept but may cause issues"} 
[2026-07-13 16:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8855976848798230528,"note":"Value kept but may cause issues"} 
[2026-07-13 16:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783940732000,"timestamp_ms":1783940732000,"timestamp_seconds":1783940732,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b275460"} 
[2026-07-13 16:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-13 16:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688823552001,"66":12982,"97":206,"85":15104,"24":10,"16":105855048172437504,"45":8855976848798230528},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688823552001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:36:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:36:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105855048172437504,"km_value":105855048172437.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8855976848798230528,"description":"Unknown IO ID 45"} 
[2026-07-13 16:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688823552001,"power":12982,"unknown_97":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8855976848798230528}} 
[2026-07-13 16:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":130437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480664,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:36:35] local.INFO: GPS data processed {"connection_id":130437,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:36:35] local.INFO: Acknowledgment sent {"connection_id":130437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:36:39] local.INFO: TCP Data received {"connection_id":130664,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:36:39] local.INFO: Processing buffer {"connection_id":130664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:36:39] local.INFO: IMEI packet received {"connection_id":130664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":130664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:36:41] local.INFO: TCP Data received {"connection_id":130664,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b259af8012d7f914005afd9380005011b26..."} 
[2026-07-13 16:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b259af8012d7f914005afd9380005011b26..."} 
[2026-07-13 16:36:41] local.INFO: Processing buffer {"connection_id":130664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b259af8012d7f914005afd9380005011b26..."} 
[2026-07-13 16:36:41] local.INFO: Packet analysis {"connection_id":130664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b25"} 
[2026-07-13 16:36:41] local.INFO: Extracted packet for processing {"connection_id":130664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b25"} 
[2026-07-13 16:36:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688721408001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783940619000,"timestamp_ms":1783940619000,"timestamp_seconds":1783940619,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b259af8"} 
[2026-07-13 16:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 16:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688721408001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688721408001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:36:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688721408001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":130664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:36:41] local.INFO: GPS data processed {"connection_id":130664,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:36:41] local.INFO: Acknowledgment sent {"connection_id":130664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:36:45] local.INFO: TCP Data received {"connection_id":130438,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130438,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:36:45] local.INFO: Processing buffer {"connection_id":130438,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:36:45] local.INFO: IMEI packet received {"connection_id":130438,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":130438,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:36:50] local.INFO: TCP Data received {"connection_id":130438,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130438,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:36:50] local.INFO: Processing buffer {"connection_id":130438,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:36:50] local.INFO: IMEI packet received {"connection_id":130438,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":130438,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:36:51] local.INFO: TCP Data received {"connection_id":130438,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b246a48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b246a48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:36:51] local.INFO: Processing buffer {"connection_id":130438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b246a48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:36:51] local.INFO: Packet analysis {"connection_id":130438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b24"} 
[2026-07-13 16:36:51] local.INFO: Extracted packet for processing {"connection_id":130438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b24"} 
[2026-07-13 16:36:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688701440001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:36:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783940541000,"timestamp_ms":1783940541000,"timestamp_seconds":1783940541,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b246a48"} 
[2026-07-13 16:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-13 16:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16: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-07-13 16:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130438,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130438,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688701440001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688701440001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:36:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:36:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:36:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688701440001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":130438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480666,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:36:51] local.INFO: GPS data processed {"connection_id":130438,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:36:51] local.INFO: Acknowledgment sent {"connection_id":130438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:36:55] local.INFO: TCP Data received {"connection_id":130438,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b246a48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b246a48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:36:55] local.INFO: Processing buffer {"connection_id":130438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b246a48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:36:55] local.INFO: Packet analysis {"connection_id":130438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b24"} 
[2026-07-13 16:36:55] local.INFO: Extracted packet for processing {"connection_id":130438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b24"} 
[2026-07-13 16:36:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688701440001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:36:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783940541000,"timestamp_ms":1783940541000,"timestamp_seconds":1783940541,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b246a48"} 
[2026-07-13 16:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-13 16:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130438,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130438,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688701440001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688701440001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:36:55] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:36:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:36:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688701440001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":130438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480667,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:36:55] local.INFO: GPS data processed {"connection_id":130438,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:36:55] local.INFO: Acknowledgment sent {"connection_id":130438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:36:58] local.INFO: TCP Data received {"connection_id":130665,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:36:58] local.INFO: Processing buffer {"connection_id":130665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:36:58] local.INFO: IMEI packet received {"connection_id":130665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":130665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:37:03] local.INFO: TCP Data received {"connection_id":130665,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:37:03] local.INFO: Processing buffer {"connection_id":130665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:37:03] local.INFO: IMEI packet received {"connection_id":130665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":130665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:37:04] local.INFO: TCP Data received {"connection_id":130665,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b27a280012d7afa0005e37778000900a62d..."} 
[2026-07-13 16:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b27a280012d7afa0005e37778000900a62d..."} 
[2026-07-13 16:37:04] local.INFO: Processing buffer {"connection_id":130665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b27a280012d7afa0005e37778000900a62d..."} 
[2026-07-13 16:37:04] local.INFO: Packet analysis {"connection_id":130665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b27"} 
[2026-07-13 16:37:04] local.INFO: Extracted packet for processing {"connection_id":130665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b27"} 
[2026-07-13 16:37:04] local.INFO: GPS Element Parsed {"raw_longitude":763034112,"raw_latitude":98793336,"longitude_deg":76.3034112,"latitude_deg":9.8793336,"altitude":9,"angle":166,"satellites":45,"speed":26,"hex_longitude":"2d7afa00","hex_latitude":"05e37778","is_valid_coordinates":true} 
[2026-07-13 16:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688827392001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105855404654723072,"note":"Value kept but may cause issues"} 
[2026-07-13 16:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859002704795705344,"note":"Value kept but may cause issues"} 
[2026-07-13 16:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783940752000,"timestamp_ms":1783940752000,"timestamp_seconds":1783940752,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b27a280"} 
[2026-07-13 16:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:37: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-07-13 16: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-13 16:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688827392001,"66":13178,"97":206,"85":15104,"24":26,"16":105855404654723072,"45":8859002704795705344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688827392001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:37:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:37:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105855404654723072,"km_value":105855404654723.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859002704795705344,"description":"Unknown IO ID 45"} 
[2026-07-13 16:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688827392001,"power":13178,"unknown_97":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8859002704795705344}} 
[2026-07-13 16:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":130665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480668,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:37:04] local.INFO: GPS data processed {"connection_id":130665,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:37:04] local.INFO: Acknowledgment sent {"connection_id":130665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:37:12] local.INFO: TCP Data received {"connection_id":130664,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b259af8012d7f914005afd9380005011b26..."} 
[2026-07-13 16:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b259af8012d7f914005afd9380005011b26..."} 
[2026-07-13 16:37:12] local.INFO: Processing buffer {"connection_id":130664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b259af8012d7f914005afd9380005011b26..."} 
[2026-07-13 16:37:12] local.INFO: Packet analysis {"connection_id":130664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b25"} 
[2026-07-13 16:37:12] local.INFO: Extracted packet for processing {"connection_id":130664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b25"} 
[2026-07-13 16:37:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688721408001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783940619000,"timestamp_ms":1783940619000,"timestamp_seconds":1783940619,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b259af8"} 
[2026-07-13 16:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 16:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688721408001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688721408001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:37:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:37:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688721408001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":130664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:37:12] local.INFO: GPS data processed {"connection_id":130664,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:37:12] local.INFO: Acknowledgment sent {"connection_id":130664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:37:34] local.INFO: TCP Data received {"connection_id":130665,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b27cd78012d7b050005e358480008009a2c..."} 
[2026-07-13 16:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b27cd78012d7b050005e358480008009a2c..."} 
[2026-07-13 16:37:34] local.INFO: Processing buffer {"connection_id":130665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b27cd78012d7b050005e358480008009a2c..."} 
[2026-07-13 16:37:34] local.INFO: Packet analysis {"connection_id":130665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b27"} 
[2026-07-13 16:37:34] local.INFO: Extracted packet for processing {"connection_id":130665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b27"} 
[2026-07-13 16:37:34] local.INFO: GPS Element Parsed {"raw_longitude":763036928,"raw_latitude":98785352,"longitude_deg":76.3036928,"latitude_deg":9.8785352,"altitude":8,"angle":154,"satellites":44,"speed":25,"hex_longitude":"2d7b0500","hex_latitude":"05e35848","is_valid_coordinates":true} 
[2026-07-13 16:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688832512001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105855812676616192,"note":"Value kept but may cause issues"} 
[2026-07-13 16:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861395242095966208,"note":"Value kept but may cause issues"} 
[2026-07-13 16:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783940763000,"timestamp_ms":1783940763000,"timestamp_seconds":1783940763,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b27cd78"} 
[2026-07-13 16:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-13 16:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":130665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":130665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":130665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688832512001,"66":12906,"97":206,"85":15104,"24":25,"16":105855812676616192,"45":8861395242095966208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688832512001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:37:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:37:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105855812676616192,"km_value":105855812676616.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861395242095966208,"description":"Unknown IO ID 45"} 
[2026-07-13 16:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688832512001,"power":12906,"unknown_97":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8861395242095966208}} 
[2026-07-13 16:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":130665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480670,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:37:35] local.INFO: GPS data processed {"connection_id":130665,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:37:35] local.INFO: Acknowledgment sent {"connection_id":130665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:37:40] local.INFO: TCP Data received {"connection_id":130439,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130439,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:37:40] local.INFO: Processing buffer {"connection_id":130439,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:37:40] local.INFO: IMEI packet received {"connection_id":130439,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":130439,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:37:41] local.INFO: TCP Data received {"connection_id":130666,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:37:41] local.INFO: Processing buffer {"connection_id":130666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:37:41] local.INFO: IMEI packet received {"connection_id":130666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":130666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:37:44] local.INFO: TCP Data received {"connection_id":130439,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130439,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:37:44] local.INFO: Processing buffer {"connection_id":130439,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:37:44] local.INFO: IMEI packet received {"connection_id":130439,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":130439,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:37:46] local.INFO: TCP Data received {"connection_id":130439,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b246a48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b246a48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:37:46] local.INFO: Processing buffer {"connection_id":130439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b246a48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:37:46] local.INFO: Packet analysis {"connection_id":130439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b24"} 
[2026-07-13 16:37:46] local.INFO: Extracted packet for processing {"connection_id":130439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b24"} 
[2026-07-13 16:37:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688701440001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:37:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783940541000,"timestamp_ms":1783940541000,"timestamp_seconds":1783940541,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b246a48"} 
[2026-07-13 16:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-13 16:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130439,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130439,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688701440001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688701440001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:37:46] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:37:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:37:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688701440001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:37:46] local.INFO: TCP Data received {"connection_id":130666,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:37:46] local.INFO: Processing buffer {"connection_id":130666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:37:46] local.INFO: IMEI packet received {"connection_id":130666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":130666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":130439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480671,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:37:46] local.INFO: GPS data processed {"connection_id":130439,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:37:46] local.INFO: Acknowledgment sent {"connection_id":130439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:37:46] local.INFO: TCP Data received {"connection_id":130666,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b259af8012d7f914005afd9380005011b26..."} 
[2026-07-13 16:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b259af8012d7f914005afd9380005011b26..."} 
[2026-07-13 16:37:46] local.INFO: Processing buffer {"connection_id":130666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b259af8012d7f914005afd9380005011b26..."} 
[2026-07-13 16:37:46] local.INFO: Packet analysis {"connection_id":130666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b25"} 
[2026-07-13 16:37:46] local.INFO: Extracted packet for processing {"connection_id":130666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b25"} 
[2026-07-13 16:37:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688721408001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783940619000,"timestamp_ms":1783940619000,"timestamp_seconds":1783940619,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b259af8"} 
[2026-07-13 16:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 16:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688721408001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688721408001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:37:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:37:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688721408001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":130666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:37:46] local.INFO: GPS data processed {"connection_id":130666,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:37:46] local.INFO: Acknowledgment sent {"connection_id":130666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:37:58] local.INFO: TCP Data received {"connection_id":132808,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:37:58] local.INFO: Processing buffer {"connection_id":132808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:37:58] local.INFO: IMEI packet received {"connection_id":132808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":132808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:38:03] local.INFO: TCP Data received {"connection_id":132808,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:38:03] local.INFO: Processing buffer {"connection_id":132808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:38:03] local.INFO: IMEI packet received {"connection_id":132808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":132808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:38:04] local.INFO: TCP Data received {"connection_id":132808,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b281b98012d7b0b4005e34e280006008b2d..."} 
[2026-07-13 16:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b281b98012d7b0b4005e34e280006008b2d..."} 
[2026-07-13 16:38:04] local.INFO: Processing buffer {"connection_id":132808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b281b98012d7b0b4005e34e280006008b2d..."} 
[2026-07-13 16:38:04] local.INFO: Packet analysis {"connection_id":132808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b28"} 
[2026-07-13 16:38:04] local.INFO: Extracted packet for processing {"connection_id":132808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b28"} 
[2026-07-13 16:38:04] local.INFO: GPS Element Parsed {"raw_longitude":763038528,"raw_latitude":98782760,"longitude_deg":76.3038528,"latitude_deg":9.878276,"altitude":6,"angle":139,"satellites":45,"speed":11,"hex_longitude":"2d7b0b40","hex_latitude":"05e34e28","is_valid_coordinates":true} 
[2026-07-13 16:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688835328001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105855967295438848,"note":"Value kept but may cause issues"} 
[2026-07-13 16:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864491466837739520,"note":"Value kept but may cause issues"} 
[2026-07-13 16:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783940783000,"timestamp_ms":1783940783000,"timestamp_seconds":1783940783,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b281b98"} 
[2026-07-13 16:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:38: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-07-13 16: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-13 16:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688835328001,"66":12722,"97":206,"85":15104,"24":11,"16":105855967295438848,"45":8864491466837739520},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688835328001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:38:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:38:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105855967295438848,"km_value":105855967295438.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864491466837739520,"description":"Unknown IO ID 45"} 
[2026-07-13 16:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688835328001,"power":12722,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8864491466837739520}} 
[2026-07-13 16:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":132808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480673,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:38:04] local.INFO: GPS data processed {"connection_id":132808,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:38:04] local.INFO: Acknowledgment sent {"connection_id":132808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:38:17] local.INFO: TCP Data received {"connection_id":130439,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b290210012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b290210012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:38:17] local.INFO: Processing buffer {"connection_id":130439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b290210012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:38:17] local.INFO: Packet analysis {"connection_id":130439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b29"} 
[2026-07-13 16:38:17] local.INFO: Extracted packet for processing {"connection_id":130439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b29"} 
[2026-07-13 16:38:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 16:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688778496001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:38:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783940842000,"timestamp_ms":1783940842000,"timestamp_seconds":1783940842,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b290210"} 
[2026-07-13 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-07-13 16:38: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-07-13 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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 16:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130439,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130439,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688778496001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688778496001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:38:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:38:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:38:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688778496001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":130439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480674,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:38:17] local.INFO: GPS data processed {"connection_id":130439,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:38:17] local.INFO: Acknowledgment sent {"connection_id":130439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:38:22] local.INFO: TCP Data received {"connection_id":130666,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b259af8012d7f914005afd9380005011b26..."} 
[2026-07-13 16:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b259af8012d7f914005afd9380005011b26..."} 
[2026-07-13 16:38:22] local.INFO: Processing buffer {"connection_id":130666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b259af8012d7f914005afd9380005011b26..."} 
[2026-07-13 16:38:22] local.INFO: Packet analysis {"connection_id":130666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b25"} 
[2026-07-13 16:38:22] local.INFO: Extracted packet for processing {"connection_id":130666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b25"} 
[2026-07-13 16:38:22] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16: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-07-13 16:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688721408001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783940619000,"timestamp_ms":1783940619000,"timestamp_seconds":1783940619,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b259af8"} 
[2026-07-13 16:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 16:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16: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-07-13 16:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688721408001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688721408001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:38:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:38:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688721408001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":130666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:38:22] local.INFO: GPS data processed {"connection_id":130666,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:38:22] local.INFO: Acknowledgment sent {"connection_id":130666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:38:35] local.INFO: TCP Data received {"connection_id":132808,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b285a18012d7b10c005e34608000600bc26..."} 
[2026-07-13 16:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b285a18012d7b10c005e34608000600bc26..."} 
[2026-07-13 16:38:35] local.INFO: Processing buffer {"connection_id":132808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b285a18012d7b10c005e34608000600bc26..."} 
[2026-07-13 16:38:35] local.INFO: Packet analysis {"connection_id":132808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b28"} 
[2026-07-13 16:38:35] local.INFO: Extracted packet for processing {"connection_id":132808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b28"} 
[2026-07-13 16:38:35] local.INFO: GPS Element Parsed {"raw_longitude":763039936,"raw_latitude":98780680,"longitude_deg":76.3039936,"latitude_deg":9.878068,"altitude":6,"angle":188,"satellites":38,"speed":8,"hex_longitude":"2d7b10c0","hex_latitude":"05e34608","is_valid_coordinates":true} 
[2026-07-13 16:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688840448001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105856104734392320,"note":"Value kept but may cause issues"} 
[2026-07-13 16:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866250685441517568,"note":"Value kept but may cause issues"} 
[2026-07-13 16:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783940799000,"timestamp_ms":1783940799000,"timestamp_seconds":1783940799,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b285a18"} 
[2026-07-13 16:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-13 16:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688840448001,"66":12765,"97":206,"85":15104,"24":8,"16":105856104734392320,"45":8866250685441517568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688840448001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:38:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:38:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105856104734392320,"km_value":105856104734392.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866250685441517568,"description":"Unknown IO ID 45"} 
[2026-07-13 16:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688840448001,"power":12765,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8866250685441517568}} 
[2026-07-13 16:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":132808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480676,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:38:35] local.INFO: GPS data processed {"connection_id":132808,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:38:35] local.INFO: Acknowledgment sent {"connection_id":132808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:38:39] local.INFO: TCP Data received {"connection_id":130440,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130440,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:38:39] local.INFO: Processing buffer {"connection_id":130440,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:38:39] local.INFO: IMEI packet received {"connection_id":130440,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":130440,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:38:41] local.INFO: TCP Data received {"connection_id":132809,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:38:41] local.INFO: Processing buffer {"connection_id":132809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:38:41] local.INFO: IMEI packet received {"connection_id":132809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":132809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:38:44] local.INFO: TCP Data received {"connection_id":130440,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130440,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:38:44] local.INFO: Processing buffer {"connection_id":130440,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:38:44] local.INFO: IMEI packet received {"connection_id":130440,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":130440,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:38:46] local.INFO: TCP Data received {"connection_id":130440,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b290210012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b290210012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:38:46] local.INFO: Processing buffer {"connection_id":130440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b290210012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:38:46] local.INFO: Packet analysis {"connection_id":130440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b29"} 
[2026-07-13 16:38:46] local.INFO: Extracted packet for processing {"connection_id":130440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b29"} 
[2026-07-13 16:38:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688778496001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:38:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783940842000,"timestamp_ms":1783940842000,"timestamp_seconds":1783940842,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b290210"} 
[2026-07-13 16:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130440,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130440,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688778496001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688778496001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:38:46] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:38:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:38:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688778496001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":130440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480677,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:38:46] local.INFO: GPS data processed {"connection_id":130440,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:38:46] local.INFO: Acknowledgment sent {"connection_id":130440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:38:51] local.INFO: TCP Data received {"connection_id":132809,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:38:51] local.INFO: Processing buffer {"connection_id":132809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:38:51] local.INFO: IMEI packet received {"connection_id":132809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":132809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:38:54] local.INFO: TCP Data received {"connection_id":132809,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b259af8012d7f914005afd9380005011b26..."} 
[2026-07-13 16:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b259af8012d7f914005afd9380005011b26..."} 
[2026-07-13 16:38:54] local.INFO: Processing buffer {"connection_id":132809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b259af8012d7f914005afd9380005011b26..."} 
[2026-07-13 16:38:54] local.INFO: Packet analysis {"connection_id":132809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b25"} 
[2026-07-13 16:38:54] local.INFO: Extracted packet for processing {"connection_id":132809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b25"} 
[2026-07-13 16:38:54] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16: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-07-13 16:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688721408001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783940619000,"timestamp_ms":1783940619000,"timestamp_seconds":1783940619,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b259af8"} 
[2026-07-13 16:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 16:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16: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-07-13 16:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":132809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":132809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":132809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688721408001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688721408001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:38:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:38:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688721408001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":132809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:38:54] local.INFO: GPS data processed {"connection_id":132809,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:38:54] local.INFO: Acknowledgment sent {"connection_id":132809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:38:56] local.INFO: TCP Data received {"connection_id":132809,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b259af8012d7f914005afd9380005011b26..."} 
[2026-07-13 16:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b259af8012d7f914005afd9380005011b26..."} 
[2026-07-13 16:38:56] local.INFO: Processing buffer {"connection_id":132809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b259af8012d7f914005afd9380005011b26..."} 
[2026-07-13 16:38:56] local.INFO: Packet analysis {"connection_id":132809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b25"} 
[2026-07-13 16:38:56] local.INFO: Extracted packet for processing {"connection_id":132809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b25"} 
[2026-07-13 16:38:56] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16: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-07-13 16:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688721408001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783940619000,"timestamp_ms":1783940619000,"timestamp_seconds":1783940619,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b259af8"} 
[2026-07-13 16:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 16:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16: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-07-13 16:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:38: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-07-13 16:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688721408001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688721408001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:38:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:38:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688721408001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":132809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:38:56] local.INFO: GPS data processed {"connection_id":132809,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:38:56] local.INFO: Acknowledgment sent {"connection_id":132809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:38:58] local.INFO: TCP Data received {"connection_id":130667,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130667,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:38:58] local.INFO: Processing buffer {"connection_id":130667,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:38:58] local.INFO: IMEI packet received {"connection_id":130667,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":130667,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:39:03] local.INFO: TCP Data received {"connection_id":130667,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130667,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:39:03] local.INFO: Processing buffer {"connection_id":130667,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:39:03] local.INFO: IMEI packet received {"connection_id":130667,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":130667,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:39:04] local.INFO: TCP Data received {"connection_id":130667,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b287d40012d7b0f0005e33450000700b026..."} 
[2026-07-13 16:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b287d40012d7b0f0005e33450000700b026..."} 
[2026-07-13 16:39:04] local.INFO: Processing buffer {"connection_id":130667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b287d40012d7b0f0005e33450000700b026..."} 
[2026-07-13 16:39:04] local.INFO: Packet analysis {"connection_id":130667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b28"} 
[2026-07-13 16:39:04] local.INFO: Extracted packet for processing {"connection_id":130667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b28"} 
[2026-07-13 16:39:04] local.INFO: GPS Element Parsed {"raw_longitude":763039488,"raw_latitude":98776144,"longitude_deg":76.3039488,"latitude_deg":9.8776144,"altitude":7,"angle":176,"satellites":38,"speed":19,"hex_longitude":"2d7b0f00","hex_latitude":"05e33450","is_valid_coordinates":true} 
[2026-07-13 16:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688844544001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105856328072691712,"note":"Value kept but may cause issues"} 
[2026-07-13 16:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867798797812893696,"note":"Value kept but may cause issues"} 
[2026-07-13 16:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783940808000,"timestamp_ms":1783940808000,"timestamp_seconds":1783940808,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b287d40"} 
[2026-07-13 16:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:39: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-07-13 16:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-13 16:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688844544001,"66":12863,"97":206,"85":15104,"24":19,"16":105856328072691712,"45":8867798797812893696},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688844544001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:39:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:39:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105856328072691712,"km_value":105856328072691.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867798797812893696,"description":"Unknown IO ID 45"} 
[2026-07-13 16:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688844544001,"power":12863,"unknown_97":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8867798797812893696}} 
[2026-07-13 16:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":130667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480680,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:39:04] local.INFO: GPS data processed {"connection_id":130667,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:39:04] local.INFO: Acknowledgment sent {"connection_id":130667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:39:17] local.INFO: TCP Data received {"connection_id":130440,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b290210012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b290210012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:39:17] local.INFO: Processing buffer {"connection_id":130440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b290210012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:39:17] local.INFO: Packet analysis {"connection_id":130440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b29"} 
[2026-07-13 16:39:17] local.INFO: Extracted packet for processing {"connection_id":130440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b29"} 
[2026-07-13 16:39:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16: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-07-13 16:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688778496001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:39:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783940842000,"timestamp_ms":1783940842000,"timestamp_seconds":1783940842,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b290210"} 
[2026-07-13 16:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:39: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-07-13 16: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16: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-07-13 16:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130440,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130440,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688778496001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688778496001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:39:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:39:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:39:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688778496001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":130440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480681,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:39:17] local.INFO: GPS data processed {"connection_id":130440,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:39:17] local.INFO: Acknowledgment sent {"connection_id":130440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:39:35] local.INFO: TCP Data received {"connection_id":130667,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2adea0012d7b21c005e29018000b01272c..."} 
[2026-07-13 16:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2adea0012d7b21c005e29018000b01272c..."} 
[2026-07-13 16:39:35] local.INFO: Processing buffer {"connection_id":130667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2adea0012d7b21c005e29018000b01272c..."} 
[2026-07-13 16:39:35] local.INFO: Packet analysis {"connection_id":130667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2a"} 
[2026-07-13 16:39:35] local.INFO: Extracted packet for processing {"connection_id":130667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2a"} 
[2026-07-13 16:39:35] local.INFO: GPS Element Parsed {"raw_longitude":763044288,"raw_latitude":98734104,"longitude_deg":76.3044288,"latitude_deg":9.8734104,"altitude":11,"angle":295,"satellites":44,"speed":7,"hex_longitude":"2d7b21c0","hex_latitude":"05e29018","is_valid_coordinates":true} 
[2026-07-13 16:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688886528001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105858484146274304,"note":"Value kept but may cause issues"} 
[2026-07-13 16:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872724609893394432,"note":"Value kept but may cause issues"} 
[2026-07-13 16:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783940964000,"timestamp_ms":1783940964000,"timestamp_seconds":1783940964,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2adea0"} 
[2026-07-13 16:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-13 16:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688886528001,"66":12765,"96":206,"85":15104,"24":7,"16":105858484146274304,"45":8872724609893394432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-13 16:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688886528001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:39:35] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 16:39:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105858484146274304,"km_value":105858484146274.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872724609893394432,"description":"Unknown IO ID 45"} 
[2026-07-13 16:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688886528001,"power":12765,"unknown_96":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8872724609893394432}} 
[2026-07-13 16:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":130667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480682,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:39:35] local.INFO: GPS data processed {"connection_id":130667,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:39:35] local.INFO: Acknowledgment sent {"connection_id":130667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:39:40] local.INFO: TCP Data received {"connection_id":132810,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:39:40] local.INFO: Processing buffer {"connection_id":132810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:39:40] local.INFO: IMEI packet received {"connection_id":132810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":132810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:39:44] local.INFO: TCP Data received {"connection_id":132810,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:39:44] local.INFO: Processing buffer {"connection_id":132810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:39:44] local.INFO: IMEI packet received {"connection_id":132810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":132810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:39:45] local.INFO: TCP Data received {"connection_id":131483,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131483,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:39:45] local.INFO: Processing buffer {"connection_id":131483,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:39:45] local.INFO: IMEI packet received {"connection_id":131483,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":131483,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:39:45] local.INFO: TCP Data received {"connection_id":132810,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2a32c0012d7f914005afd9380006011b24..."} 
[2026-07-13 16:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2a32c0012d7f914005afd9380006011b24..."} 
[2026-07-13 16:39:45] local.INFO: Processing buffer {"connection_id":132810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2a32c0012d7f914005afd9380006011b24..."} 
[2026-07-13 16:39:45] local.INFO: Packet analysis {"connection_id":132810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2a"} 
[2026-07-13 16:39:45] local.INFO: Extracted packet for processing {"connection_id":132810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2a"} 
[2026-07-13 16:39:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":6,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688798464001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783940920000,"timestamp_ms":1783940920000,"timestamp_seconds":1783940920,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2a32c0"} 
[2026-07-13 16:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:39:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 16:39:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:39:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:39: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-07-13 16:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688798464001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 16:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688798464001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:39:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 16:39:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688798464001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":132810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:39:45] local.INFO: GPS data processed {"connection_id":132810,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:39:45] local.INFO: Acknowledgment sent {"connection_id":132810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:39:50] local.INFO: TCP Data received {"connection_id":131483,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131483,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:39:50] local.INFO: Processing buffer {"connection_id":131483,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:39:50] local.INFO: IMEI packet received {"connection_id":131483,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":131483,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:39:51] local.INFO: TCP Data received {"connection_id":131483,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b290210012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b290210012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:39:51] local.INFO: Processing buffer {"connection_id":131483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b290210012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:39:51] local.INFO: Packet analysis {"connection_id":131483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b29"} 
[2026-07-13 16:39:51] local.INFO: Extracted packet for processing {"connection_id":131483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b29"} 
[2026-07-13 16:39:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688778496001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:39:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783940842000,"timestamp_ms":1783940842000,"timestamp_seconds":1783940842,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b290210"} 
[2026-07-13 16:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":131483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":131483,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":131483,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688778496001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688778496001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:39:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:39:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:39:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688778496001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":131483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480684,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:39:51] local.INFO: GPS data processed {"connection_id":131483,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:39:51] local.INFO: Acknowledgment sent {"connection_id":131483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:39:53] local.INFO: TCP Data received {"connection_id":132810,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2a32c0012d7f914005afd9380006011b24..."} 
[2026-07-13 16:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2a32c0012d7f914005afd9380006011b24..."} 
[2026-07-13 16:39:53] local.INFO: Processing buffer {"connection_id":132810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2a32c0012d7f914005afd9380006011b24..."} 
[2026-07-13 16:39:53] local.INFO: Packet analysis {"connection_id":132810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2a"} 
[2026-07-13 16:39:53] local.INFO: Extracted packet for processing {"connection_id":132810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2a"} 
[2026-07-13 16:39:53] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":6,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688798464001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783940920000,"timestamp_ms":1783940920000,"timestamp_seconds":1783940920,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2a32c0"} 
[2026-07-13 16:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:39: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":124,"data_length":795,"current_offset":136} 
[2026-07-13 16:39:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:39:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":132810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":132810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":132810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:39: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-07-13 16:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688798464001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 16:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688798464001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:39:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 16:39:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688798464001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":132810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:39:53] local.INFO: GPS data processed {"connection_id":132810,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:39:53] local.INFO: Acknowledgment sent {"connection_id":132810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:39:55] local.INFO: TCP Data received {"connection_id":131483,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b290210012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b290210012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:39:55] local.INFO: Processing buffer {"connection_id":131483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b290210012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:39:55] local.INFO: Packet analysis {"connection_id":131483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b29"} 
[2026-07-13 16:39:55] local.INFO: Extracted packet for processing {"connection_id":131483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b29"} 
[2026-07-13 16:39:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688778496001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:39:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783940842000,"timestamp_ms":1783940842000,"timestamp_seconds":1783940842,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b290210"} 
[2026-07-13 16:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":131483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":131483,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":131483,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688778496001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688778496001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:39:55] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:39:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:39:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688778496001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":131483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480686,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:39:55] local.INFO: GPS data processed {"connection_id":131483,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:39:55] local.INFO: Acknowledgment sent {"connection_id":131483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:39:58] local.INFO: TCP Data received {"connection_id":130441,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130441,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:39:58] local.INFO: Processing buffer {"connection_id":130441,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:39:58] local.INFO: IMEI packet received {"connection_id":130441,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":130441,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:40:03] local.INFO: TCP Data received {"connection_id":130441,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130441,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:40:03] local.INFO: Processing buffer {"connection_id":130441,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:40:03] local.INFO: IMEI packet received {"connection_id":130441,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":130441,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:40:04] local.INFO: TCP Data received {"connection_id":130441,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2ae288012d7b214005e29078000b01362c..."} 
[2026-07-13 16:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2ae288012d7b214005e29078000b01362c..."} 
[2026-07-13 16:40:04] local.INFO: Processing buffer {"connection_id":130441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2ae288012d7b214005e29078000b01362c..."} 
[2026-07-13 16:40:04] local.INFO: Packet analysis {"connection_id":130441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2a"} 
[2026-07-13 16:40:04] local.INFO: Extracted packet for processing {"connection_id":130441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2a"} 
[2026-07-13 16:40:04] local.INFO: GPS Element Parsed {"raw_longitude":763044160,"raw_latitude":98734200,"longitude_deg":76.304416,"latitude_deg":9.87342,"altitude":11,"angle":310,"satellites":44,"speed":6,"hex_longitude":"2d7b2140","hex_latitude":"05e29078","is_valid_coordinates":true} 
[2026-07-13 16:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688886784001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105858492736208896,"note":"Value kept but may cause issues"} 
[2026-07-13 16:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872583872405051392,"note":"Value kept but may cause issues"} 
[2026-07-13 16:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783940965000,"timestamp_ms":1783940965000,"timestamp_seconds":1783940965,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2ae288"} 
[2026-07-13 16:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:40: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-07-13 16: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-13 16:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688886784001,"66":12765,"96":206,"85":15104,"24":6,"16":105858492736208896,"45":8872583872405051392},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-13 16:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688886784001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:40:04] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 16:40:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105858492736208896,"km_value":105858492736208.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872583872405051392,"description":"Unknown IO ID 45"} 
[2026-07-13 16:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688886784001,"power":12765,"unknown_96":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8872583872405051392}} 
[2026-07-13 16:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":130441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480687,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:40:04] local.INFO: GPS data processed {"connection_id":130441,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:40:04] local.INFO: Acknowledgment sent {"connection_id":130441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:40:34] local.INFO: TCP Data received {"connection_id":130668,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:40:34] local.INFO: Processing buffer {"connection_id":130668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:40:34] local.INFO: IMEI packet received {"connection_id":130668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":130668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:40:35] local.INFO: TCP Data received {"connection_id":130441,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2aea58012d7b204005e29118000b014c2c..."} 
[2026-07-13 16:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2aea58012d7b204005e29118000b014c2c..."} 
[2026-07-13 16:40:35] local.INFO: Processing buffer {"connection_id":130441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2aea58012d7b204005e29118000b014c2c..."} 
[2026-07-13 16:40:35] local.INFO: Packet analysis {"connection_id":130441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2a"} 
[2026-07-13 16:40:35] local.INFO: Extracted packet for processing {"connection_id":130441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2a"} 
[2026-07-13 16:40:35] local.INFO: GPS Element Parsed {"raw_longitude":763043904,"raw_latitude":98734360,"longitude_deg":76.3043904,"latitude_deg":9.873436,"altitude":11,"angle":332,"satellites":44,"speed":2,"hex_longitude":"2d7b2040","hex_latitude":"05e29118","is_valid_coordinates":true} 
[2026-07-13 16:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688887040001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105858505621110784,"note":"Value kept but may cause issues"} 
[2026-07-13 16:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872443134916720640,"note":"Value kept but may cause issues"} 
[2026-07-13 16:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783940967000,"timestamp_ms":1783940967000,"timestamp_seconds":1783940967,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2aea58"} 
[2026-07-13 16:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-13 16:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688887040001,"66":12906,"96":206,"85":15104,"24":2,"16":105858505621110784,"45":8872443134916720640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-13 16:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688887040001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:40:35] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 16:40:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105858505621110784,"km_value":105858505621110.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872443134916720640,"description":"Unknown IO ID 45"} 
[2026-07-13 16:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688887040001,"power":12906,"unknown_96":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8872443134916720640}} 
[2026-07-13 16:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":130441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480688,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:40:35] local.INFO: GPS data processed {"connection_id":130441,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:40:35] local.INFO: Acknowledgment sent {"connection_id":130441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:40:40] local.INFO: TCP Data received {"connection_id":130669,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:40:40] local.INFO: Processing buffer {"connection_id":130669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:40:40] local.INFO: IMEI packet received {"connection_id":130669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":130669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:40:40] local.INFO: TCP Data received {"connection_id":130668,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:40:40] local.INFO: Processing buffer {"connection_id":130668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:40:40] local.INFO: IMEI packet received {"connection_id":130668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":130668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:40:41] local.INFO: TCP Data received {"connection_id":130668,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2a32c0012d7f914005afd9380006011b24..."} 
[2026-07-13 16:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2a32c0012d7f914005afd9380006011b24..."} 
[2026-07-13 16:40:41] local.INFO: Processing buffer {"connection_id":130668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2a32c0012d7f914005afd9380006011b24..."} 
[2026-07-13 16:40:41] local.INFO: Packet analysis {"connection_id":130668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2a"} 
[2026-07-13 16:40:41] local.INFO: Extracted packet for processing {"connection_id":130668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2a"} 
[2026-07-13 16:40:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":6,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688798464001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783940920000,"timestamp_ms":1783940920000,"timestamp_seconds":1783940920,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2a32c0"} 
[2026-07-13 16:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 16:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688798464001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 16:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688798464001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:40:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 16:40:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688798464001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":130668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:40:41] local.INFO: GPS data processed {"connection_id":130668,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:40:41] local.INFO: Acknowledgment sent {"connection_id":130668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:40:45] local.INFO: TCP Data received {"connection_id":130669,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:40:45] local.INFO: Processing buffer {"connection_id":130669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:40:45] local.INFO: IMEI packet received {"connection_id":130669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":130669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:40:46] local.INFO: TCP Data received {"connection_id":130669,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b290210012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b290210012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:40:46] local.INFO: Processing buffer {"connection_id":130669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b290210012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:40:46] local.INFO: Packet analysis {"connection_id":130669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b29"} 
[2026-07-13 16:40:46] local.INFO: Extracted packet for processing {"connection_id":130669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b29"} 
[2026-07-13 16:40:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688778496001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:40:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783940842000,"timestamp_ms":1783940842000,"timestamp_seconds":1783940842,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b290210"} 
[2026-07-13 16:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688778496001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688778496001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:40:46] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:40:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:40:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688778496001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":130669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480690,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:40:46] local.INFO: GPS data processed {"connection_id":130669,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:40:46] local.INFO: Acknowledgment sent {"connection_id":130669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:40:58] local.INFO: TCP Data received {"connection_id":130670,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:40:58] local.INFO: Processing buffer {"connection_id":130670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:40:58] local.INFO: IMEI packet received {"connection_id":130670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":130670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:41:03] local.INFO: TCP Data received {"connection_id":130670,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:41:03] local.INFO: Processing buffer {"connection_id":130670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:41:03] local.INFO: IMEI packet received {"connection_id":130670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":130670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:41:04] local.INFO: TCP Data received {"connection_id":130670,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2b30a8012d7b204005e291a8000a00042c..."} 
[2026-07-13 16:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2b30a8012d7b204005e291a8000a00042c..."} 
[2026-07-13 16:41:04] local.INFO: Processing buffer {"connection_id":130670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2b30a8012d7b204005e291a8000a00042c..."} 
[2026-07-13 16:41:04] local.INFO: Packet analysis {"connection_id":130670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2b"} 
[2026-07-13 16:41:04] local.INFO: Extracted packet for processing {"connection_id":130670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2b"} 
[2026-07-13 16:41:04] local.INFO: GPS Element Parsed {"raw_longitude":763043904,"raw_latitude":98734504,"longitude_deg":76.3043904,"latitude_deg":9.8734504,"altitude":10,"angle":4,"satellites":44,"speed":4,"hex_longitude":"2d7b2040","hex_latitude":"05e291a8","is_valid_coordinates":true} 
[2026-07-13 16:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688887552001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105858518506012672,"note":"Value kept but may cause issues"} 
[2026-07-13 16:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872161659940050944,"note":"Value kept but may cause issues"} 
[2026-07-13 16:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783940985000,"timestamp_ms":1783940985000,"timestamp_seconds":1783940985,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2b30a8"} 
[2026-07-13 16:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:41: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-07-13 16: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-13 16:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688887552001,"66":12841,"96":206,"85":15104,"24":4,"16":105858518506012672,"45":8872161659940050944},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-13 16:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688887552001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:41:04] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 16:41:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105858518506012672,"km_value":105858518506012.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872161659940050944,"description":"Unknown IO ID 45"} 
[2026-07-13 16:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688887552001,"power":12841,"unknown_96":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8872161659940050944}} 
[2026-07-13 16:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":130670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480691,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:41:04] local.INFO: GPS data processed {"connection_id":130670,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:41:04] local.INFO: Acknowledgment sent {"connection_id":130670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:41:12] local.INFO: TCP Data received {"connection_id":130668,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2a32c0012d7f914005afd9380006011b24..."} 
[2026-07-13 16:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2a32c0012d7f914005afd9380006011b24..."} 
[2026-07-13 16:41:12] local.INFO: Processing buffer {"connection_id":130668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2a32c0012d7f914005afd9380006011b24..."} 
[2026-07-13 16:41:12] local.INFO: Packet analysis {"connection_id":130668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2a"} 
[2026-07-13 16:41:12] local.INFO: Extracted packet for processing {"connection_id":130668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2a"} 
[2026-07-13 16:41:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":6,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688798464001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783940920000,"timestamp_ms":1783940920000,"timestamp_seconds":1783940920,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2a32c0"} 
[2026-07-13 16:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 16:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688798464001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 16:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688798464001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:41:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 16:41:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688798464001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":130668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:41:12] local.INFO: GPS data processed {"connection_id":130668,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:41:12] local.INFO: Acknowledgment sent {"connection_id":130668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:41:18] local.INFO: TCP Data received {"connection_id":130669,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b290210012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b290210012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:41:18] local.INFO: Processing buffer {"connection_id":130669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b290210012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:41:18] local.INFO: Packet analysis {"connection_id":130669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b29"} 
[2026-07-13 16:41:18] local.INFO: Extracted packet for processing {"connection_id":130669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b29"} 
[2026-07-13 16:41:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16: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-07-13 16:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688778496001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:41:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783940842000,"timestamp_ms":1783940842000,"timestamp_seconds":1783940842,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b290210"} 
[2026-07-13 16:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:41:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:41:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16: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-07-13 16:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:41:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688778496001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688778496001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:41:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:41:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:41:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688778496001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":130669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480693,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:41:18] local.INFO: GPS data processed {"connection_id":130669,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:41:18] local.INFO: Acknowledgment sent {"connection_id":130669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:41:34] local.INFO: TCP Data received {"connection_id":132811,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:41:34] local.INFO: Processing buffer {"connection_id":132811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:41:34] local.INFO: IMEI packet received {"connection_id":132811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":132811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:41:36] local.INFO: TCP Data received {"connection_id":130670,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2b4430012d7b1fc005e29740000a01612c..."} 
[2026-07-13 16:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2b4430012d7b1fc005e29740000a01612c..."} 
[2026-07-13 16:41:36] local.INFO: Processing buffer {"connection_id":130670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2b4430012d7b1fc005e29740000a01612c..."} 
[2026-07-13 16:41:36] local.INFO: Packet analysis {"connection_id":130670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2b"} 
[2026-07-13 16:41:36] local.INFO: Extracted packet for processing {"connection_id":130670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2b"} 
[2026-07-13 16:41:36] local.INFO: GPS Element Parsed {"raw_longitude":763043776,"raw_latitude":98735936,"longitude_deg":76.3043776,"latitude_deg":9.8735936,"altitude":10,"angle":353,"satellites":44,"speed":19,"hex_longitude":"2d7b1fc0","hex_latitude":"05e29740","is_valid_coordinates":true} 
[2026-07-13 16:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688892160001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105858591520456704,"note":"Value kept but may cause issues"} 
[2026-07-13 16:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872161659940087808,"note":"Value kept but may cause issues"} 
[2026-07-13 16:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783940990000,"timestamp_ms":1783940990000,"timestamp_seconds":1783940990,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2b4430"} 
[2026-07-13 16:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-13 16:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":130670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":130670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":130670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688892160001,"66":12678,"96":206,"85":15104,"24":19,"16":105858591520456704,"45":8872161659940087808},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-13 16:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688892160001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:41:36] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 16:41:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105858591520456704,"km_value":105858591520456.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872161659940087808,"description":"Unknown IO ID 45"} 
[2026-07-13 16:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688892160001,"power":12678,"unknown_96":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8872161659940087808}} 
[2026-07-13 16:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":130670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480694,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:41:36] local.INFO: GPS data processed {"connection_id":130670,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:41:36] local.INFO: Acknowledgment sent {"connection_id":130670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:41:39] local.INFO: TCP Data received {"connection_id":132811,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:41:39] local.INFO: Processing buffer {"connection_id":132811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:41:39] local.INFO: IMEI packet received {"connection_id":132811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":132811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:41:40] local.INFO: TCP Data received {"connection_id":130671,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130671,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:41:40] local.INFO: Processing buffer {"connection_id":130671,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:41:40] local.INFO: IMEI packet received {"connection_id":130671,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":130671,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:41:40] local.INFO: TCP Data received {"connection_id":132811,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2a32c0012d7f914005afd9380006011b24..."} 
[2026-07-13 16:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2a32c0012d7f914005afd9380006011b24..."} 
[2026-07-13 16:41:40] local.INFO: Processing buffer {"connection_id":132811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2a32c0012d7f914005afd9380006011b24..."} 
[2026-07-13 16:41:40] local.INFO: Packet analysis {"connection_id":132811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2a"} 
[2026-07-13 16:41:40] local.INFO: Extracted packet for processing {"connection_id":132811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2a"} 
[2026-07-13 16:41:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":6,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688798464001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783940920000,"timestamp_ms":1783940920000,"timestamp_seconds":1783940920,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2a32c0"} 
[2026-07-13 16:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 16:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688798464001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 16:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688798464001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:41:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 16:41:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688798464001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":132811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:41:40] local.INFO: GPS data processed {"connection_id":132811,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:41:40] local.INFO: Acknowledgment sent {"connection_id":132811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:41:45] local.INFO: TCP Data received {"connection_id":130671,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130671,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:41:45] local.INFO: Processing buffer {"connection_id":130671,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:41:45] local.INFO: IMEI packet received {"connection_id":130671,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":130671,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:41:46] local.INFO: TCP Data received {"connection_id":130671,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b290210012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b290210012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:41:46] local.INFO: Processing buffer {"connection_id":130671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b290210012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:41:46] local.INFO: Packet analysis {"connection_id":130671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b29"} 
[2026-07-13 16:41:46] local.INFO: Extracted packet for processing {"connection_id":130671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b29"} 
[2026-07-13 16:41:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688778496001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:41:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783940842000,"timestamp_ms":1783940842000,"timestamp_seconds":1783940842,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b290210"} 
[2026-07-13 16:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688778496001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688778496001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:41:46] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:41:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:41:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688778496001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":130671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480696,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:41:46] local.INFO: GPS data processed {"connection_id":130671,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:41:46] local.INFO: Acknowledgment sent {"connection_id":130671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:41:58] local.INFO: TCP Data received {"connection_id":131484,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:41:58] local.INFO: Processing buffer {"connection_id":131484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:41:58] local.INFO: IMEI packet received {"connection_id":131484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":131484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:41:59] local.INFO: TCP Data received {"connection_id":131484,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:41:59] local.INFO: Processing buffer {"connection_id":131484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:41:59] local.INFO: IMEI packet received {"connection_id":131484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":131484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:42:03] local.INFO: TCP Data received {"connection_id":131484,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:42:03] local.INFO: Processing buffer {"connection_id":131484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:42:03] local.INFO: IMEI packet received {"connection_id":131484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":131484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:42:05] local.INFO: TCP Data received {"connection_id":131484,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2b6f28012d7b190005e2ba380009015f24..."} 
[2026-07-13 16:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2b6f28012d7b190005e2ba380009015f24..."} 
[2026-07-13 16:42:05] local.INFO: Processing buffer {"connection_id":131484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2b6f28012d7b190005e2ba380009015f24..."} 
[2026-07-13 16:42:05] local.INFO: Packet analysis {"connection_id":131484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2b"} 
[2026-07-13 16:42:05] local.INFO: Extracted packet for processing {"connection_id":131484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2b"} 
[2026-07-13 16:42:05] local.INFO: GPS Element Parsed {"raw_longitude":763042048,"raw_latitude":98744888,"longitude_deg":76.3042048,"latitude_deg":9.8744888,"altitude":9,"angle":351,"satellites":36,"speed":43,"hex_longitude":"2d7b1900","hex_latitude":"05e2ba38","is_valid_coordinates":true} 
[2026-07-13 16:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688893440001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105859033902088192,"note":"Value kept but may cause issues"} 
[2026-07-13 16:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872020922452099072,"note":"Value kept but may cause issues"} 
[2026-07-13 16:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783941001000,"timestamp_ms":1783941001000,"timestamp_seconds":1783941001,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2b6f28"} 
[2026-07-13 16:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:42: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-07-13 16:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-13 16:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":131484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":131484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":131484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688893440001,"66":13319,"96":206,"85":15104,"24":43,"16":105859033902088192,"45":8872020922452099072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-13 16:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688893440001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:42:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 16:42:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105859033902088192,"km_value":105859033902088.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872020922452099072,"description":"Unknown IO ID 45"} 
[2026-07-13 16:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688893440001,"power":13319,"unknown_96":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8872020922452099072}} 
[2026-07-13 16:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":131484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:42:05] local.INFO: GPS data processed {"connection_id":131484,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:42:05] local.INFO: Acknowledgment sent {"connection_id":131484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:42:12] local.INFO: TCP Data received {"connection_id":132811,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2a32c0012d7f914005afd9380006011b24..."} 
[2026-07-13 16:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2a32c0012d7f914005afd9380006011b24..."} 
[2026-07-13 16:42:12] local.INFO: Processing buffer {"connection_id":132811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2a32c0012d7f914005afd9380006011b24..."} 
[2026-07-13 16:42:12] local.INFO: Packet analysis {"connection_id":132811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2a"} 
[2026-07-13 16:42:12] local.INFO: Extracted packet for processing {"connection_id":132811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2a"} 
[2026-07-13 16:42:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":6,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688798464001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783940920000,"timestamp_ms":1783940920000,"timestamp_seconds":1783940920,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2a32c0"} 
[2026-07-13 16:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 16:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688798464001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 16:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688798464001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:42:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 16:42:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688798464001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":132811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:42:12] local.INFO: GPS data processed {"connection_id":132811,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:42:12] local.INFO: Acknowledgment sent {"connection_id":132811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:42:17] local.INFO: TCP Data received {"connection_id":130671,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b290210012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b290210012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:42:17] local.INFO: Processing buffer {"connection_id":130671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b290210012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:42:17] local.INFO: Packet analysis {"connection_id":130671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b29"} 
[2026-07-13 16:42:17] local.INFO: Extracted packet for processing {"connection_id":130671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b29"} 
[2026-07-13 16:42:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16: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-07-13 16:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688778496001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:42:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783940842000,"timestamp_ms":1783940842000,"timestamp_seconds":1783940842,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b290210"} 
[2026-07-13 16:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:42: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-07-13 16: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:42:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16: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-07-13 16:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688778496001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688778496001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:42:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:42:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:42:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688778496001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":130671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480699,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:42:18] local.INFO: GPS data processed {"connection_id":130671,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:42:18] local.INFO: Acknowledgment sent {"connection_id":130671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:42:34] local.INFO: TCP Data received {"connection_id":131485,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:42:34] local.INFO: Processing buffer {"connection_id":131485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:42:34] local.INFO: IMEI packet received {"connection_id":131485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":131485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:42:36] local.INFO: TCP Data received {"connection_id":131484,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2b8e68012d7b140005e2dce00009015f1c..."} 
[2026-07-13 16:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2b8e68012d7b140005e2dce00009015f1c..."} 
[2026-07-13 16:42:36] local.INFO: Processing buffer {"connection_id":131484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2b8e68012d7b140005e2dce00009015f1c..."} 
[2026-07-13 16:42:36] local.INFO: Packet analysis {"connection_id":131484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2b"} 
[2026-07-13 16:42:36] local.INFO: Extracted packet for processing {"connection_id":131484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2b"} 
[2026-07-13 16:42:36] local.INFO: GPS Element Parsed {"raw_longitude":763040768,"raw_latitude":98753760,"longitude_deg":76.3040768,"latitude_deg":9.875376,"altitude":9,"angle":351,"satellites":28,"speed":41,"hex_longitude":"2d7b1400","hex_latitude":"05e2dce0","is_valid_coordinates":true} 
[2026-07-13 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-07-13 16:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688896256001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105859467693785088,"note":"Value kept but may cause issues"} 
[2026-07-13 16:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870120966361593856,"note":"Value kept but may cause issues"} 
[2026-07-13 16:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783941009000,"timestamp_ms":1783941009000,"timestamp_seconds":1783941009,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2b8e68"} 
[2026-07-13 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-07-13 16:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 16:42:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 16:42:36] local.WARNING: Large IO value detected {"io_id":21,"raw_value":3221225472,"note":"Value kept but may cause issues"} 
[2026-07-13 16:42:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-13 16:42:36] local.WARNING: Large IO value detected {"io_id":226,"raw_value":-8088464883495982592,"note":"Value kept but may cause issues"} 
[2026-07-13 16:42:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791309518,"corrected_to":0} 
[2026-07-13 16:42:36] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2684431739,"note":"Value kept but may cause issues"} 
[2026-07-13 16:42:36] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221611152,"note":"Value kept but may cause issues"} 
[2026-07-13 16:42:36] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817382,"note":"Value kept but may cause issues"} 
[2026-07-13 16:42:36] local.WARNING: Large IO value detected {"io_id":182,"raw_value":57885301486277947,"note":"Value kept but may cause issues"} 
[2026-07-13 16:42:36] local.WARNING: Large IO value detected {"io_id":42,"raw_value":-3249345836296749051,"note":"Value kept but may cause issues"} 
[2026-07-13 16:42:36] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,96,85,24,241,157,16,22,159,68,45,192,151,10,44,66,21,48,64,145,234,1,240,106,227,91,226,4,113,205,6,222,33,239,49,2,120,5,11,182,42],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2791309518,"validated":0}]} 
[2026-07-13 16:42:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648904429544341504,"timestamp_seconds":648904429544341.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 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-07-13 16:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":131484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":131484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":131484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688896256001,"66":13124,"96":206,"85":15104,"24":41,"16":105859467693785088,"45":8870120966361593856},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-13 16:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688896256001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:42:36] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 16:42:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105859467693785088,"km_value":105859467693785.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870120966361593856,"description":"Unknown IO ID 45"} 
[2026-07-13 16:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688896256001,"power":13124,"unknown_96":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8870120966361593856}} 
[2026-07-13 16:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":131484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480700,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:42:36] local.INFO: GPS data processed {"connection_id":131484,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:42:36] local.INFO: Acknowledgment sent {"connection_id":131484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:42:39] local.INFO: TCP Data received {"connection_id":131485,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:42:39] local.INFO: Processing buffer {"connection_id":131485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:42:39] local.INFO: IMEI packet received {"connection_id":131485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":131485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:42:40] local.INFO: TCP Data received {"connection_id":130442,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:42:40] local.INFO: Processing buffer {"connection_id":130442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:42:40] local.INFO: IMEI packet received {"connection_id":130442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":130442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:42:40] local.INFO: TCP Data received {"connection_id":131485,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2a32c0012d7f914005afd9380006011b24..."} 
[2026-07-13 16:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2a32c0012d7f914005afd9380006011b24..."} 
[2026-07-13 16:42:40] local.INFO: Processing buffer {"connection_id":131485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2a32c0012d7f914005afd9380006011b24..."} 
[2026-07-13 16:42:40] local.INFO: Packet analysis {"connection_id":131485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2a"} 
[2026-07-13 16:42:40] local.INFO: Extracted packet for processing {"connection_id":131485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2a"} 
[2026-07-13 16:42:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":6,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 16:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688798464001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783940920000,"timestamp_ms":1783940920000,"timestamp_seconds":1783940920,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2a32c0"} 
[2026-07-13 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-07-13 16:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 16:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 16:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688798464001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 16:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688798464001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:42:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 16:42:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688798464001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":131485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:42:40] local.INFO: GPS data processed {"connection_id":131485,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:42:40] local.INFO: Acknowledgment sent {"connection_id":131485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:42:45] local.INFO: TCP Data received {"connection_id":130442,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:42:45] local.INFO: Processing buffer {"connection_id":130442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:42:45] local.INFO: IMEI packet received {"connection_id":130442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":130442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:42:46] local.INFO: TCP Data received {"connection_id":130442,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b290210012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b290210012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:42:46] local.INFO: Processing buffer {"connection_id":130442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b290210012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:42:46] local.INFO: Packet analysis {"connection_id":130442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b29"} 
[2026-07-13 16:42:46] local.INFO: Extracted packet for processing {"connection_id":130442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b29"} 
[2026-07-13 16:42:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688778496001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:42:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783940842000,"timestamp_ms":1783940842000,"timestamp_seconds":1783940842,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b290210"} 
[2026-07-13 16:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688778496001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688778496001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:42:46] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:42:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:42:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688778496001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":130442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480702,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:42:46] local.INFO: GPS data processed {"connection_id":130442,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:42:46] local.INFO: Acknowledgment sent {"connection_id":130442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:43:03] local.INFO: TCP Data received {"connection_id":130672,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130672,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:43:03] local.INFO: Processing buffer {"connection_id":130672,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:43:03] local.INFO: IMEI packet received {"connection_id":130672,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":130672,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:43:09] local.INFO: TCP Data received {"connection_id":130672,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130672,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:43:09] local.INFO: Processing buffer {"connection_id":130672,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:43:09] local.INFO: IMEI packet received {"connection_id":130672,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":130672,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:43:11] local.INFO: TCP Data received {"connection_id":131485,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2a32c0012d7f914005afd9380006011b24..."} 
[2026-07-13 16:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2a32c0012d7f914005afd9380006011b24..."} 
[2026-07-13 16:43:11] local.INFO: Processing buffer {"connection_id":131485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2a32c0012d7f914005afd9380006011b24..."} 
[2026-07-13 16:43:11] local.INFO: Packet analysis {"connection_id":131485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2a"} 
[2026-07-13 16:43:11] local.INFO: Extracted packet for processing {"connection_id":131485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2a"} 
[2026-07-13 16:43:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":6,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688798464001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783940920000,"timestamp_ms":1783940920000,"timestamp_seconds":1783940920,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2a32c0"} 
[2026-07-13 16:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 16:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688798464001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 16:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688798464001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:43:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 16:43:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688798464001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":131485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:43:11] local.INFO: GPS data processed {"connection_id":131485,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:43:11] local.INFO: Acknowledgment sent {"connection_id":131485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:43:17] local.INFO: TCP Data received {"connection_id":130672,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2dd858012d7acd8005e40ec80009014a2f..."} 
[2026-07-13 16:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2dd858012d7acd8005e40ec80009014a2f..."} 
[2026-07-13 16:43:17] local.INFO: Processing buffer {"connection_id":130672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2dd858012d7acd8005e40ec80009014a2f..."} 
[2026-07-13 16:43:17] local.INFO: Packet analysis {"connection_id":130672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2d"} 
[2026-07-13 16:43:17] local.INFO: Extracted packet for processing {"connection_id":130672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2d"} 
[2026-07-13 16:43:17] local.INFO: GPS Element Parsed {"raw_longitude":763022720,"raw_latitude":98832072,"longitude_deg":76.302272,"latitude_deg":9.8832072,"altitude":9,"angle":330,"satellites":47,"speed":27,"hex_longitude":"2d7acd80","hex_latitude":"05e40ec8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 16:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688933376001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105863401883828224,"note":"Value kept but may cause issues"} 
[2026-07-13 16:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850910299221411840,"note":"Value kept but may cause issues"} 
[2026-07-13 16:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783941159000,"timestamp_ms":1783941159000,"timestamp_seconds":1783941159,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2dd858"} 
[2026-07-13 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-07-13 16:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-13 16:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 16:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688933376001,"66":12765,"97":206,"85":15104,"24":27,"16":105863401883828224,"45":8850910299221411840},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688933376001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:43:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:43:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105863401883828224,"km_value":105863401883828.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850910299221411840,"description":"Unknown IO ID 45"} 
[2026-07-13 16:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688933376001,"power":12765,"unknown_97":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8850910299221411840}} 
[2026-07-13 16:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":130672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480704,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:43:17] local.INFO: GPS data processed {"connection_id":130672,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:43:17] local.INFO: Acknowledgment sent {"connection_id":130672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:43:18] local.INFO: TCP Data received {"connection_id":130442,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2d99d8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2d99d8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:43:18] local.INFO: Processing buffer {"connection_id":130442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2d99d8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:43:18] local.INFO: Packet analysis {"connection_id":130442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2d"} 
[2026-07-13 16:43:18] local.INFO: Extracted packet for processing {"connection_id":130442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2d"} 
[2026-07-13 16:43:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688855552001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:43:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783941143000,"timestamp_ms":1783941143000,"timestamp_seconds":1783941143,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2d99d8"} 
[2026-07-13 16:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688855552001,"66":24973,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688855552001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:43:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:43:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:43:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688855552001,"power":24973,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":130442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480705,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:43:18] local.INFO: GPS data processed {"connection_id":130442,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:43:18] local.INFO: Acknowledgment sent {"connection_id":130442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:43:19] local.INFO: TCP Data received {"connection_id":130672,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2de410012d7ac78005e416000009013e2f..."} 
[2026-07-13 16:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2de410012d7ac78005e416000009013e2f..."} 
[2026-07-13 16:43:19] local.INFO: Processing buffer {"connection_id":130672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2de410012d7ac78005e416000009013e2f..."} 
[2026-07-13 16:43:19] local.INFO: Packet analysis {"connection_id":130672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2d"} 
[2026-07-13 16:43:19] local.INFO: Extracted packet for processing {"connection_id":130672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2d"} 
[2026-07-13 16:43:19] local.INFO: GPS Element Parsed {"raw_longitude":763021184,"raw_latitude":98833920,"longitude_deg":76.3021184,"latitude_deg":9.883392,"altitude":9,"angle":318,"satellites":47,"speed":34,"hex_longitude":"2d7ac780","hex_latitude":"05e41600","is_valid_coordinates":true} 
[2026-07-13 16:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688936704001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105863517847945216,"note":"Value kept but may cause issues"} 
[2026-07-13 16:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848869605642258432,"note":"Value kept but may cause issues"} 
[2026-07-13 16:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783941162000,"timestamp_ms":1783941162000,"timestamp_seconds":1783941162,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2de410"} 
[2026-07-13 16:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:43: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-07-13 16:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-13 16:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688936704001,"66":12885,"97":206,"85":15104,"24":34,"16":105863517847945216,"45":8848869605642258432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688936704001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:43:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:43:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105863517847945216,"km_value":105863517847945.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848869605642258432,"description":"Unknown IO ID 45"} 
[2026-07-13 16:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688936704001,"power":12885,"unknown_97":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8848869605642258432}} 
[2026-07-13 16:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":130672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480706,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:43:19] local.INFO: GPS data processed {"connection_id":130672,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:43:19] local.INFO: Acknowledgment sent {"connection_id":130672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:43:34] local.INFO: TCP Data received {"connection_id":131486,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:43:34] local.INFO: Processing buffer {"connection_id":131486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:43:34] local.INFO: IMEI packet received {"connection_id":131486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":131486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:43:39] local.INFO: TCP Data received {"connection_id":131486,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:43:39] local.INFO: Processing buffer {"connection_id":131486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:43:39] local.INFO: IMEI packet received {"connection_id":131486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":131486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:43:39] local.INFO: TCP Data received {"connection_id":132812,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:43:39] local.INFO: Processing buffer {"connection_id":132812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:43:39] local.INFO: IMEI packet received {"connection_id":132812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":132812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:43:40] local.INFO: TCP Data received {"connection_id":131486,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2a32c0012d7f914005afd9380006011b24..."} 
[2026-07-13 16:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2a32c0012d7f914005afd9380006011b24..."} 
[2026-07-13 16:43:40] local.INFO: Processing buffer {"connection_id":131486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2a32c0012d7f914005afd9380006011b24..."} 
[2026-07-13 16:43:40] local.INFO: Packet analysis {"connection_id":131486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2a"} 
[2026-07-13 16:43:40] local.INFO: Extracted packet for processing {"connection_id":131486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2a"} 
[2026-07-13 16:43:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":6,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688798464001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783940920000,"timestamp_ms":1783940920000,"timestamp_seconds":1783940920,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2a32c0"} 
[2026-07-13 16:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 16:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688798464001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 16:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688798464001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:43:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 16:43:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688798464001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":131486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:43:40] local.INFO: GPS data processed {"connection_id":131486,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:43:40] local.INFO: Acknowledgment sent {"connection_id":131486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:43:45] local.INFO: TCP Data received {"connection_id":132812,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:43:45] local.INFO: Processing buffer {"connection_id":132812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:43:45] local.INFO: IMEI packet received {"connection_id":132812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":132812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:43:46] local.INFO: TCP Data received {"connection_id":132812,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2d99d8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2d99d8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:43:46] local.INFO: Processing buffer {"connection_id":132812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2d99d8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:43:46] local.INFO: Packet analysis {"connection_id":132812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2d"} 
[2026-07-13 16:43:46] local.INFO: Extracted packet for processing {"connection_id":132812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2d"} 
[2026-07-13 16:43:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688855552001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:43:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783941143000,"timestamp_ms":1783941143000,"timestamp_seconds":1783941143,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2d99d8"} 
[2026-07-13 16:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688855552001,"66":24973,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688855552001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:43:46] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:43:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:43:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688855552001,"power":24973,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":132812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480708,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:43:46] local.INFO: GPS data processed {"connection_id":132812,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:43:46] local.INFO: Acknowledgment sent {"connection_id":132812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:43:58] local.INFO: TCP Data received {"connection_id":131487,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:43:58] local.INFO: Processing buffer {"connection_id":131487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:43:58] local.INFO: IMEI packet received {"connection_id":131487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":131487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:44:03] local.INFO: TCP Data received {"connection_id":131487,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:44:03] local.INFO: Processing buffer {"connection_id":131487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:44:03] local.INFO: IMEI packet received {"connection_id":131487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":131487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:44:11] local.INFO: TCP Data received {"connection_id":131486,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2a32c0012d7f914005afd9380006011b24..."} 
[2026-07-13 16:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2a32c0012d7f914005afd9380006011b24..."} 
[2026-07-13 16:44:11] local.INFO: Processing buffer {"connection_id":131486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2a32c0012d7f914005afd9380006011b24..."} 
[2026-07-13 16:44:11] local.INFO: Packet analysis {"connection_id":131486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2a"} 
[2026-07-13 16:44:11] local.INFO: Extracted packet for processing {"connection_id":131486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2a"} 
[2026-07-13 16:44:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":6,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688798464001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783940920000,"timestamp_ms":1783940920000,"timestamp_seconds":1783940920,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2a32c0"} 
[2026-07-13 16:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 16:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688798464001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 16:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688798464001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:44:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 16:44:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688798464001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":131486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:44:11] local.INFO: GPS data processed {"connection_id":131486,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:44:11] local.INFO: Acknowledgment sent {"connection_id":131486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:44:15] local.INFO: TCP Data received {"connection_id":131487,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2e0b20012d7aac4005e43040000901362d..."} 
[2026-07-13 16:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2e0b20012d7aac4005e43040000901362d..."} 
[2026-07-13 16:44:15] local.INFO: Processing buffer {"connection_id":131487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2e0b20012d7aac4005e43040000901362d..."} 
[2026-07-13 16:44:15] local.INFO: Packet analysis {"connection_id":131487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2e"} 
[2026-07-13 16:44:15] local.INFO: Extracted packet for processing {"connection_id":131487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2e"} 
[2026-07-13 16:44:15] local.INFO: GPS Element Parsed {"raw_longitude":763014208,"raw_latitude":98840640,"longitude_deg":76.3014208,"latitude_deg":9.884064,"altitude":9,"angle":310,"satellites":45,"speed":37,"hex_longitude":"2d7aac40","hex_latitude":"05e43040","is_valid_coordinates":true} 
[2026-07-13 16:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688937472001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105863985999380480,"note":"Value kept but may cause issues"} 
[2026-07-13 16:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847180755782467584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783941172000,"timestamp_ms":1783941172000,"timestamp_seconds":1783941172,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2e0b20"} 
[2026-07-13 16:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-13 16:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":131487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":131487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":131487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688937472001,"66":12624,"97":206,"85":15104,"24":37,"16":105863985999380480,"45":8847180755782467584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688937472001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:44:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:44:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105863985999380480,"km_value":105863985999380.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847180755782467584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688937472001,"power":12624,"unknown_97":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8847180755782467584}} 
[2026-07-13 16:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":131487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480710,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:44:15] local.INFO: GPS data processed {"connection_id":131487,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:44:15] local.INFO: Acknowledgment sent {"connection_id":131487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:44:17] local.INFO: TCP Data received {"connection_id":132812,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2d99d8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2d99d8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:44:17] local.INFO: Processing buffer {"connection_id":132812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2d99d8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:44:17] local.INFO: Packet analysis {"connection_id":132812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2d"} 
[2026-07-13 16:44:17] local.INFO: Extracted packet for processing {"connection_id":132812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2d"} 
[2026-07-13 16:44:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 16:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688855552001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:44:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783941143000,"timestamp_ms":1783941143000,"timestamp_seconds":1783941143,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2d99d8"} 
[2026-07-13 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-07-13 16:44: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-07-13 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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 16:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688855552001,"66":24973,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688855552001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:44:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:44:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:44:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688855552001,"power":24973,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":132812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480711,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:44:18] local.INFO: GPS data processed {"connection_id":132812,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:44:18] local.INFO: Acknowledgment sent {"connection_id":132812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:44:20] local.INFO: TCP Data received {"connection_id":131487,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2e3618012d7a8fc005e447a80007013230..."} 
[2026-07-13 16:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2e3618012d7a8fc005e447a80007013230..."} 
[2026-07-13 16:44:20] local.INFO: Processing buffer {"connection_id":131487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2e3618012d7a8fc005e447a80007013230..."} 
[2026-07-13 16:44:20] local.INFO: Packet analysis {"connection_id":131487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2e"} 
[2026-07-13 16:44:20] local.INFO: Extracted packet for processing {"connection_id":131487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2e"} 
[2026-07-13 16:44:20] local.INFO: GPS Element Parsed {"raw_longitude":763006912,"raw_latitude":98846632,"longitude_deg":76.3006912,"latitude_deg":9.8846632,"altitude":7,"angle":306,"satellites":48,"speed":28,"hex_longitude":"2d7a8fc0","hex_latitude":"05e447a8","is_valid_coordinates":true} 
[2026-07-13 16: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-07-13 16:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688940032001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105864441265913856,"note":"Value kept but may cause issues"} 
[2026-07-13 16:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8839510562668822528,"note":"Value kept but may cause issues"} 
[2026-07-13 16:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783941183000,"timestamp_ms":1783941183000,"timestamp_seconds":1783941183,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2e3618"} 
[2026-07-13 16:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-13 16:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16: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-07-13 16:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":131487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":131487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":131487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688940032001,"66":12874,"97":206,"85":15104,"24":28,"16":105864441265913856,"45":8839510562668822528},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688940032001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:44:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:44:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105864441265913856,"km_value":105864441265913.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8839510562668822528,"description":"Unknown IO ID 45"} 
[2026-07-13 16:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688940032001,"power":12874,"unknown_97":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8839510562668822528}} 
[2026-07-13 16:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":131487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480712,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:44:20] local.INFO: GPS data processed {"connection_id":131487,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:44:20] local.INFO: Acknowledgment sent {"connection_id":131487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:44:39] local.INFO: TCP Data received {"connection_id":131488,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:44:39] local.INFO: Processing buffer {"connection_id":131488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:44:39] local.INFO: IMEI packet received {"connection_id":131488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":131488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:44:44] local.INFO: TCP Data received {"connection_id":131488,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:44:44] local.INFO: Processing buffer {"connection_id":131488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:44:44] local.INFO: IMEI packet received {"connection_id":131488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":131488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:44:45] local.INFO: TCP Data received {"connection_id":130673,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:44:45] local.INFO: Processing buffer {"connection_id":130673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:44:45] local.INFO: IMEI packet received {"connection_id":130673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":130673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:44:45] local.INFO: TCP Data received {"connection_id":131488,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2eca88012d7f914005afd9380005011b25..."} 
[2026-07-13 16:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2eca88012d7f914005afd9380005011b25..."} 
[2026-07-13 16:44:45] local.INFO: Processing buffer {"connection_id":131488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2eca88012d7f914005afd9380005011b25..."} 
[2026-07-13 16:44:45] local.INFO: Packet analysis {"connection_id":131488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2e"} 
[2026-07-13 16:44:45] local.INFO: Extracted packet for processing {"connection_id":131488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2e"} 
[2026-07-13 16:44:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688875520001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783941221000,"timestamp_ms":1783941221000,"timestamp_seconds":1783941221,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2eca88"} 
[2026-07-13 16:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:44:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688875520001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688875520001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:44:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:44:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688875520001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":131488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:44:45] local.INFO: GPS data processed {"connection_id":131488,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:44:45] local.INFO: Acknowledgment sent {"connection_id":131488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:44:50] local.INFO: TCP Data received {"connection_id":130673,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:44:50] local.INFO: Processing buffer {"connection_id":130673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:44:50] local.INFO: IMEI packet received {"connection_id":130673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":130673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:44:51] local.INFO: TCP Data received {"connection_id":130673,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2d99d8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2d99d8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:44:51] local.INFO: Processing buffer {"connection_id":130673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2d99d8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:44:51] local.INFO: Packet analysis {"connection_id":130673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2d"} 
[2026-07-13 16:44:51] local.INFO: Extracted packet for processing {"connection_id":130673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2d"} 
[2026-07-13 16:44:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688855552001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:44:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783941143000,"timestamp_ms":1783941143000,"timestamp_seconds":1783941143,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2d99d8"} 
[2026-07-13 16:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688855552001,"66":24973,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688855552001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:44:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:44:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:44:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688855552001,"power":24973,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":130673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480714,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:44:51] local.INFO: GPS data processed {"connection_id":130673,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:44:51] local.INFO: Acknowledgment sent {"connection_id":130673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:44:55] local.INFO: TCP Data received {"connection_id":130673,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2d99d8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2d99d8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:44:55] local.INFO: Processing buffer {"connection_id":130673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2d99d8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:44:55] local.INFO: Packet analysis {"connection_id":130673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2d"} 
[2026-07-13 16:44:55] local.INFO: Extracted packet for processing {"connection_id":130673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2d"} 
[2026-07-13 16:44:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688855552001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:44:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783941143000,"timestamp_ms":1783941143000,"timestamp_seconds":1783941143,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2d99d8"} 
[2026-07-13 16:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688855552001,"66":24973,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688855552001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:44:55] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:44:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:44:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688855552001,"power":24973,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":130673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480715,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:44:55] local.INFO: GPS data processed {"connection_id":130673,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:44:55] local.INFO: Acknowledgment sent {"connection_id":130673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:44:59] local.INFO: TCP Data received {"connection_id":130674,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:44:59] local.INFO: Processing buffer {"connection_id":130674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:44:59] local.INFO: IMEI packet received {"connection_id":130674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":130674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:45:03] local.INFO: TCP Data received {"connection_id":130674,"ip":"42.106.6.18","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-13 16:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130674,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-13 16:45:03] local.INFO: Processing buffer {"connection_id":130674,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-13 16:45:03] local.INFO: IMEI packet received {"connection_id":130674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":130674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:45:05] local.INFO: TCP Data received {"connection_id":130674,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2f89f0012d7a460005e45fa8001101072f..."} 
[2026-07-13 16:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2f89f0012d7a460005e45fa8001101072f..."} 
[2026-07-13 16:45:05] local.INFO: Processing buffer {"connection_id":130674,"buffer_length":829,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-13 16:45:05] local.INFO: IMEI packet received {"connection_id":130674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":130674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:45:06] local.INFO: TCP Data received {"connection_id":130674,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2fc0a0012d7a300005e45b50000f01212f..."} 
[2026-07-13 16:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2fc0a0012d7a300005e45b50000f01212f..."} 
[2026-07-13 16:45:06] local.INFO: Processing buffer {"connection_id":130674,"buffer_length":1607,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f5b..."} 
[2026-07-13 16:45:06] local.INFO: IMEI packet received {"connection_id":130674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":130674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:45:09] local.INFO: TCP Data received {"connection_id":130674,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2fc870012d7a2dc005e45c90000f013830..."} 
[2026-07-13 16:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2fc870012d7a2dc005e45c90000f013830..."} 
[2026-07-13 16:45:09] local.INFO: Processing buffer {"connection_id":130674,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019f5b2f89f0012d7a460005e45fa8001101072f..."} 
[2026-07-13 16:45:09] local.INFO: Packet analysis {"connection_id":130674,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019f5b2f"} 
[2026-07-13 16:45:09] local.INFO: Extracted packet for processing {"connection_id":130674,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f5b2f"} 
[2026-07-13 16:45:09] local.INFO: GPS Element Parsed {"raw_longitude":762988032,"raw_latitude":98852776,"longitude_deg":76.2988032,"latitude_deg":9.8852776,"altitude":17,"angle":263,"satellites":47,"speed":11,"hex_longitude":"2d7a4600","hex_latitude":"05e45fa8","is_valid_coordinates":true} 
[2026-07-13 16:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688964864001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105865515007737856,"note":"Value kept but may cause issues"} 
[2026-07-13 16:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8811011221279975424,"note":"Value kept but may cause issues"} 
[2026-07-13 16:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783941270000,"timestamp_ms":1783941270000,"timestamp_seconds":1783941270,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2f89f0"} 
[2026-07-13 16:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:45: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-07-13 16:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-13 16:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688964864001,"66":12613,"97":206,"85":15104,"24":11,"16":105865515007737856,"45":8811011221279975424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688964864001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:45:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:45:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105865515007737856,"km_value":105865515007737.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8811011221279975424,"description":"Unknown IO ID 45"} 
[2026-07-13 16:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688964864001,"power":12613,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8811011221279975424}} 
[2026-07-13 16:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":130674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480716,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:45:09] local.INFO: GPS data processed {"connection_id":130674,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:45:09] local.INFO: Acknowledgment sent {"connection_id":130674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:45:09] local.INFO: Packet analysis {"connection_id":130674,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f5b2f"} 
[2026-07-13 16:45:09] local.INFO: Extracted packet for processing {"connection_id":130674,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2f"} 
[2026-07-13 16:45:09] local.INFO: GPS Element Parsed {"raw_longitude":762982400,"raw_latitude":98851664,"longitude_deg":76.29824,"latitude_deg":9.8851664,"altitude":15,"angle":289,"satellites":47,"speed":12,"hex_longitude":"2d7a3000","hex_latitude":"05e45b50","is_valid_coordinates":true} 
[2026-07-13 16:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688965120001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105865794180612096,"note":"Value kept but may cause issues"} 
[2026-07-13 16:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8810729746303264768,"note":"Value kept but may cause issues"} 
[2026-07-13 16:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783941284000,"timestamp_ms":1783941284000,"timestamp_seconds":1783941284,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2fc0a0"} 
[2026-07-13 16:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:45: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-07-13 16:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-13 16:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688965120001,"66":12863,"97":206,"85":15104,"24":12,"16":105865794180612096,"45":8810729746303264768},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688965120001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:45:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:45:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105865794180612096,"km_value":105865794180612.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8810729746303264768,"description":"Unknown IO ID 45"} 
[2026-07-13 16:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688965120001,"power":12863,"unknown_97":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8810729746303264768}} 
[2026-07-13 16:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":130674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480717,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:45:09] local.INFO: GPS data processed {"connection_id":130674,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:45:09] local.INFO: Acknowledgment sent {"connection_id":130674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:45:09] local.INFO: Packet analysis {"connection_id":130674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2f"} 
[2026-07-13 16:45:09] local.INFO: Extracted packet for processing {"connection_id":130674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2f"} 
[2026-07-13 16:45:09] local.INFO: GPS Element Parsed {"raw_longitude":762981824,"raw_latitude":98851984,"longitude_deg":76.2981824,"latitude_deg":9.8851984,"altitude":15,"angle":312,"satellites":48,"speed":15,"hex_longitude":"2d7a2dc0","hex_latitude":"05e45c90","is_valid_coordinates":true} 
[2026-07-13 16:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688968704001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105865824245383168,"note":"Value kept but may cause issues"} 
[2026-07-13 16:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804537296815345664,"note":"Value kept but may cause issues"} 
[2026-07-13 16:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783941286000,"timestamp_ms":1783941286000,"timestamp_seconds":1783941286,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2fc870"} 
[2026-07-13 16:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:45: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-07-13 16:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-13 16:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688968704001,"66":12613,"97":206,"85":15104,"24":15,"16":105865824245383168,"45":8804537296815345664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688968704001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:45:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:45:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105865824245383168,"km_value":105865824245383.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804537296815345664,"description":"Unknown IO ID 45"} 
[2026-07-13 16:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688968704001,"power":12613,"unknown_97":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8804537296815345664}} 
[2026-07-13 16:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":130674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480718,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:45:09] local.INFO: GPS data processed {"connection_id":130674,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:45:09] local.INFO: Acknowledgment sent {"connection_id":130674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:45:14] local.INFO: TCP Data received {"connection_id":130674,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2fd040012d7a2b4005e45f80000f01462f..."} 
[2026-07-13 16:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2fd040012d7a2b4005e45f80000f01462f..."} 
[2026-07-13 16:45:14] local.INFO: Processing buffer {"connection_id":130674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2fd040012d7a2b4005e45f80000f01462f..."} 
[2026-07-13 16:45:14] local.INFO: Packet analysis {"connection_id":130674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2f"} 
[2026-07-13 16:45:14] local.INFO: Extracted packet for processing {"connection_id":130674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2f"} 
[2026-07-13 16:45:14] local.INFO: GPS Element Parsed {"raw_longitude":762981184,"raw_latitude":98852736,"longitude_deg":76.2981184,"latitude_deg":9.8852736,"altitude":15,"angle":326,"satellites":47,"speed":22,"hex_longitude":"2d7a2b40","hex_latitude":"05e45f80","is_valid_coordinates":true} 
[2026-07-13 16:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688969216001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105865871490023424,"note":"Value kept but may cause issues"} 
[2026-07-13 16:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803903978117828608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:45:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783941288000,"timestamp_ms":1783941288000,"timestamp_seconds":1783941288,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2fd040"} 
[2026-07-13 16:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-13 16:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688969216001,"66":12515,"97":206,"85":15104,"24":22,"16":105865871490023424,"45":8803903978117828608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688969216001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:45:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:45:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105865871490023424,"km_value":105865871490023.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803903978117828608,"description":"Unknown IO ID 45"} 
[2026-07-13 16:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688969216001,"power":12515,"unknown_97":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8803903978117828608}} 
[2026-07-13 16:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":130674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480719,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:45:14] local.INFO: GPS data processed {"connection_id":130674,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:45:14] local.INFO: Acknowledgment sent {"connection_id":130674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:45:17] local.INFO: TCP Data received {"connection_id":131488,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2eca88012d7f914005afd9380005011b25..."} 
[2026-07-13 16:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2eca88012d7f914005afd9380005011b25..."} 
[2026-07-13 16:45:17] local.INFO: Processing buffer {"connection_id":131488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2eca88012d7f914005afd9380005011b25..."} 
[2026-07-13 16:45:17] local.INFO: Packet analysis {"connection_id":131488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2e"} 
[2026-07-13 16:45:17] local.INFO: Extracted packet for processing {"connection_id":131488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2e"} 
[2026-07-13 16:45:17] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688875520001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783941221000,"timestamp_ms":1783941221000,"timestamp_seconds":1783941221,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2eca88"} 
[2026-07-13 16:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16: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-07-13 16:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:45: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-07-13 16:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688875520001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688875520001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:45:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:45:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688875520001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":131488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:45:17] local.INFO: GPS data processed {"connection_id":131488,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:45:17] local.INFO: Acknowledgment sent {"connection_id":131488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:45:34] local.INFO: TCP Data received {"connection_id":132813,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:45:34] local.INFO: Processing buffer {"connection_id":132813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:45:34] local.INFO: IMEI packet received {"connection_id":132813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":132813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:45:39] local.INFO: TCP Data received {"connection_id":132813,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:45:39] local.INFO: Processing buffer {"connection_id":132813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:45:39] local.INFO: IMEI packet received {"connection_id":132813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":132813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:45:40] local.INFO: TCP Data received {"connection_id":130675,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130675,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:45:40] local.INFO: Processing buffer {"connection_id":130675,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:45:40] local.INFO: IMEI packet received {"connection_id":130675,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":130675,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:45:40] local.INFO: TCP Data received {"connection_id":132813,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2eca88012d7f914005afd9380005011b25..."} 
[2026-07-13 16:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2eca88012d7f914005afd9380005011b25..."} 
[2026-07-13 16:45:40] local.INFO: Processing buffer {"connection_id":132813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2eca88012d7f914005afd9380005011b25..."} 
[2026-07-13 16:45:40] local.INFO: Packet analysis {"connection_id":132813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2e"} 
[2026-07-13 16:45:40] local.INFO: Extracted packet for processing {"connection_id":132813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2e"} 
[2026-07-13 16:45:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688875520001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783941221000,"timestamp_ms":1783941221000,"timestamp_seconds":1783941221,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2eca88"} 
[2026-07-13 16:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688875520001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688875520001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:45:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:45:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688875520001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":132813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:45:40] local.INFO: GPS data processed {"connection_id":132813,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:45:40] local.INFO: Acknowledgment sent {"connection_id":132813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:45:45] local.INFO: TCP Data received {"connection_id":130675,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130675,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:45:45] local.INFO: Processing buffer {"connection_id":130675,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:45:45] local.INFO: IMEI packet received {"connection_id":130675,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":130675,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:45:46] local.INFO: TCP Data received {"connection_id":130675,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2d99d8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2d99d8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:45:46] local.INFO: Processing buffer {"connection_id":130675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2d99d8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:45:46] local.INFO: Packet analysis {"connection_id":130675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2d"} 
[2026-07-13 16:45:46] local.INFO: Extracted packet for processing {"connection_id":130675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2d"} 
[2026-07-13 16:45:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16: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-07-13 16:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688855552001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:45:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783941143000,"timestamp_ms":1783941143000,"timestamp_seconds":1783941143,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2d99d8"} 
[2026-07-13 16:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16: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-07-13 16:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130675,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130675,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688855552001,"66":24973,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688855552001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:45:46] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:45:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:45:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688855552001,"power":24973,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":130675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480722,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:45:46] local.INFO: GPS data processed {"connection_id":130675,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:45:46] local.INFO: Acknowledgment sent {"connection_id":130675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:45:58] local.INFO: TCP Data received {"connection_id":130676,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:45:58] local.INFO: Processing buffer {"connection_id":130676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:45:58] local.INFO: IMEI packet received {"connection_id":130676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":130676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:46:07] local.INFO: TCP Data received {"connection_id":130676,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:46:07] local.INFO: Processing buffer {"connection_id":130676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:46:07] local.INFO: IMEI packet received {"connection_id":130676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":130676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:46:08] local.INFO: TCP Data received {"connection_id":130676,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2feb98012d7a250005e468e0000e012b2c..."} 
[2026-07-13 16:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2feb98012d7a250005e468e0000e012b2c..."} 
[2026-07-13 16:46:08] local.INFO: Processing buffer {"connection_id":130676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2feb98012d7a250005e468e0000e012b2c..."} 
[2026-07-13 16:46:08] local.INFO: Packet analysis {"connection_id":130676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2f"} 
[2026-07-13 16:46:08] local.INFO: Extracted packet for processing {"connection_id":130676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2f"} 
[2026-07-13 16:46:08] local.INFO: GPS Element Parsed {"raw_longitude":762979584,"raw_latitude":98855136,"longitude_deg":76.2979584,"latitude_deg":9.8855136,"altitude":14,"angle":299,"satellites":44,"speed":7,"hex_longitude":"2d7a2500","hex_latitude":"05e468e0","is_valid_coordinates":true} 
[2026-07-13 16:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688969728001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105866013223944192,"note":"Value kept but may cause issues"} 
[2026-07-13 16:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803200290676244480,"note":"Value kept but may cause issues"} 
[2026-07-13 16:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783941295000,"timestamp_ms":1783941295000,"timestamp_seconds":1783941295,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2feb98"} 
[2026-07-13 16:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-13 16:46: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-07-13 16:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688969728001,"66":12613,"97":206,"85":15104,"24":7,"16":105866013223944192,"45":8803200290676244480},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688969728001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:46:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:46:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105866013223944192,"km_value":105866013223944.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803200290676244480,"description":"Unknown IO ID 45"} 
[2026-07-13 16:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688969728001,"power":12613,"unknown_97":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8803200290676244480}} 
[2026-07-13 16:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":130676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480723,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:46:08] local.INFO: GPS data processed {"connection_id":130676,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:46:08] local.INFO: Acknowledgment sent {"connection_id":130676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:46:11] local.INFO: TCP Data received {"connection_id":132813,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2eca88012d7f914005afd9380005011b25..."} 
[2026-07-13 16:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2eca88012d7f914005afd9380005011b25..."} 
[2026-07-13 16:46:11] local.INFO: Processing buffer {"connection_id":132813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2eca88012d7f914005afd9380005011b25..."} 
[2026-07-13 16:46:11] local.INFO: Packet analysis {"connection_id":132813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2e"} 
[2026-07-13 16:46:11] local.INFO: Extracted packet for processing {"connection_id":132813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2e"} 
[2026-07-13 16:46:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688875520001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783941221000,"timestamp_ms":1783941221000,"timestamp_seconds":1783941221,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2eca88"} 
[2026-07-13 16:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688875520001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688875520001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:46:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:46:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688875520001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":132813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:46:11] local.INFO: GPS data processed {"connection_id":132813,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:46:11] local.INFO: Acknowledgment sent {"connection_id":132813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:46:18] local.INFO: TCP Data received {"connection_id":130675,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2d99d8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2d99d8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:46:18] local.INFO: Processing buffer {"connection_id":130675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2d99d8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:46:18] local.INFO: Packet analysis {"connection_id":130675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2d"} 
[2026-07-13 16:46:18] local.INFO: Extracted packet for processing {"connection_id":130675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2d"} 
[2026-07-13 16:46:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 16:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688855552001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:46:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783941143000,"timestamp_ms":1783941143000,"timestamp_seconds":1783941143,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2d99d8"} 
[2026-07-13 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-07-13 16:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:46:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 16:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130675,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130675,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688855552001,"66":24973,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688855552001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:46:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:46:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:46:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688855552001,"power":24973,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":130675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480725,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:46:18] local.INFO: GPS data processed {"connection_id":130675,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:46:18] local.INFO: Acknowledgment sent {"connection_id":130675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:46:34] local.INFO: TCP Data received {"connection_id":130677,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:46:34] local.INFO: Processing buffer {"connection_id":130677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:46:34] local.INFO: IMEI packet received {"connection_id":130677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":130677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:46:39] local.INFO: TCP Data received {"connection_id":130677,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:46:39] local.INFO: Processing buffer {"connection_id":130677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:46:39] local.INFO: IMEI packet received {"connection_id":130677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":130677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:46:40] local.INFO: TCP Data received {"connection_id":131489,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131489,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:46:40] local.INFO: Processing buffer {"connection_id":131489,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:46:40] local.INFO: IMEI packet received {"connection_id":131489,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":131489,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:46:40] local.INFO: TCP Data received {"connection_id":130676,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2fef80012d7a240005e46900000e01192c..."} 
[2026-07-13 16:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2fef80012d7a240005e46900000e01192c..."} 
[2026-07-13 16:46:40] local.INFO: Processing buffer {"connection_id":130676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2fef80012d7a240005e46900000e01192c..."} 
[2026-07-13 16:46:40] local.INFO: Packet analysis {"connection_id":130676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2f"} 
[2026-07-13 16:46:40] local.INFO: Extracted packet for processing {"connection_id":130676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2f"} 
[2026-07-13 16:46:40] local.INFO: GPS Element Parsed {"raw_longitude":762979328,"raw_latitude":98855168,"longitude_deg":76.2979328,"latitude_deg":9.8855168,"altitude":14,"angle":281,"satellites":44,"speed":7,"hex_longitude":"2d7a2400","hex_latitude":"05e46900","is_valid_coordinates":true} 
[2026-07-13 16:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688971520001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105866026108846080,"note":"Value kept but may cause issues"} 
[2026-07-13 16:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801441072072417280,"note":"Value kept but may cause issues"} 
[2026-07-13 16:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783941296000,"timestamp_ms":1783941296000,"timestamp_seconds":1783941296,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2fef80"} 
[2026-07-13 16:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-13 16:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:46:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688971520001,"66":12645,"97":206,"85":15104,"24":7,"16":105866026108846080,"45":8801441072072417280},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688971520001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:46:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:46:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105866026108846080,"km_value":105866026108846.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801441072072417280,"description":"Unknown IO ID 45"} 
[2026-07-13 16:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688971520001,"power":12645,"unknown_97":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8801441072072417280}} 
[2026-07-13 16:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":130676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480726,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:46:40] local.INFO: GPS data processed {"connection_id":130676,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:46:40] local.INFO: Acknowledgment sent {"connection_id":130676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:46:40] local.INFO: TCP Data received {"connection_id":130677,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2eca88012d7f914005afd9380005011b25..."} 
[2026-07-13 16:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2eca88012d7f914005afd9380005011b25..."} 
[2026-07-13 16:46:40] local.INFO: Processing buffer {"connection_id":130677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2eca88012d7f914005afd9380005011b25..."} 
[2026-07-13 16:46:40] local.INFO: Packet analysis {"connection_id":130677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2e"} 
[2026-07-13 16:46:40] local.INFO: Extracted packet for processing {"connection_id":130677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2e"} 
[2026-07-13 16:46:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688875520001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783941221000,"timestamp_ms":1783941221000,"timestamp_seconds":1783941221,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2eca88"} 
[2026-07-13 16:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:46:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688875520001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688875520001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:46:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:46:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688875520001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":130677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:46:40] local.INFO: GPS data processed {"connection_id":130677,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:46:40] local.INFO: Acknowledgment sent {"connection_id":130677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:46:45] local.INFO: TCP Data received {"connection_id":131489,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131489,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:46:45] local.INFO: Processing buffer {"connection_id":131489,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:46:45] local.INFO: IMEI packet received {"connection_id":131489,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":131489,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:46:46] local.INFO: TCP Data received {"connection_id":131489,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2d99d8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2d99d8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:46:46] local.INFO: Processing buffer {"connection_id":131489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2d99d8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:46:46] local.INFO: Packet analysis {"connection_id":131489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2d"} 
[2026-07-13 16:46:46] local.INFO: Extracted packet for processing {"connection_id":131489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2d"} 
[2026-07-13 16:46:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688855552001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:46:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783941143000,"timestamp_ms":1783941143000,"timestamp_seconds":1783941143,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2d99d8"} 
[2026-07-13 16:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131489,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131489,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688855552001,"66":24973,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688855552001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:46:46] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:46:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:46:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688855552001,"power":24973,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":131489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480728,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:46:46] local.INFO: GPS data processed {"connection_id":131489,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:46:46] local.INFO: Acknowledgment sent {"connection_id":131489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:47:03] local.INFO: TCP Data received {"connection_id":130443,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:47:03] local.INFO: Processing buffer {"connection_id":130443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:47:03] local.INFO: IMEI packet received {"connection_id":130443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":130443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:47:04] local.INFO: TCP Data received {"connection_id":130443,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:47:04] local.INFO: Processing buffer {"connection_id":130443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:47:04] local.INFO: IMEI packet received {"connection_id":130443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":130443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:47:09] local.INFO: TCP Data received {"connection_id":130443,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:47:09] local.INFO: Processing buffer {"connection_id":130443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:47:09] local.INFO: IMEI packet received {"connection_id":130443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":130443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:47:11] local.INFO: TCP Data received {"connection_id":130443,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2ffb38012d7a224005e468e0000d01052e..."} 
[2026-07-13 16:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2ffb38012d7a224005e468e0000d01052e..."} 
[2026-07-13 16:47:11] local.INFO: Processing buffer {"connection_id":130443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2ffb38012d7a224005e468e0000d01052e..."} 
[2026-07-13 16:47:11] local.INFO: Packet analysis {"connection_id":130443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2f"} 
[2026-07-13 16:47:11] local.INFO: Extracted packet for processing {"connection_id":130443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2f"} 
[2026-07-13 16:47:11] local.INFO: GPS Element Parsed {"raw_longitude":762978880,"raw_latitude":98855136,"longitude_deg":76.297888,"latitude_deg":9.8855136,"altitude":13,"angle":261,"satellites":46,"speed":6,"hex_longitude":"2d7a2240","hex_latitude":"05e468e0","is_valid_coordinates":true} 
[2026-07-13 16:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688971776001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105866047583682560,"note":"Value kept but may cause issues"} 
[2026-07-13 16:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801159597095714816,"note":"Value kept but may cause issues"} 
[2026-07-13 16:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783941299000,"timestamp_ms":1783941299000,"timestamp_seconds":1783941299,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2ffb38"} 
[2026-07-13 16:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-13 16:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688971776001,"66":11711,"97":206,"85":15104,"24":6,"16":105866047583682560,"45":8801159597095714816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 16:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688971776001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:47:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 16:47:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 16:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105866047583682560,"km_value":105866047583682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801159597095714816,"description":"Unknown IO ID 45"} 
[2026-07-13 16:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688971776001,"power":11711,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8801159597095714816}} 
[2026-07-13 16:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":130443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480729,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:47:11] local.INFO: GPS data processed {"connection_id":130443,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:47:11] local.INFO: Acknowledgment sent {"connection_id":130443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:47:11] local.INFO: TCP Data received {"connection_id":130677,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2eca88012d7f914005afd9380005011b25..."} 
[2026-07-13 16:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2eca88012d7f914005afd9380005011b25..."} 
[2026-07-13 16:47:11] local.INFO: Processing buffer {"connection_id":130677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2eca88012d7f914005afd9380005011b25..."} 
[2026-07-13 16:47:11] local.INFO: Packet analysis {"connection_id":130677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2e"} 
[2026-07-13 16:47:11] local.INFO: Extracted packet for processing {"connection_id":130677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2e"} 
[2026-07-13 16:47:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688875520001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783941221000,"timestamp_ms":1783941221000,"timestamp_seconds":1783941221,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2eca88"} 
[2026-07-13 16:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688875520001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688875520001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:47:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:47:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688875520001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":130677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:47:11] local.INFO: GPS data processed {"connection_id":130677,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:47:11] local.INFO: Acknowledgment sent {"connection_id":130677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:47:18] local.INFO: TCP Data received {"connection_id":131489,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2d99d8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2d99d8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:47:18] local.INFO: Processing buffer {"connection_id":131489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2d99d8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:47:18] local.INFO: Packet analysis {"connection_id":131489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2d"} 
[2026-07-13 16:47:18] local.INFO: Extracted packet for processing {"connection_id":131489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2d"} 
[2026-07-13 16:47:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688855552001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:47:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783941143000,"timestamp_ms":1783941143000,"timestamp_seconds":1783941143,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2d99d8"} 
[2026-07-13 16:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131489,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131489,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688855552001,"66":24973,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688855552001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:47:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:47:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:47:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688855552001,"power":24973,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":131489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480731,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:47:18] local.INFO: GPS data processed {"connection_id":131489,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:47:18] local.INFO: Acknowledgment sent {"connection_id":131489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:47:34] local.INFO: TCP Data received {"connection_id":131490,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:47:34] local.INFO: Processing buffer {"connection_id":131490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:47:34] local.INFO: IMEI packet received {"connection_id":131490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":131490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:47:39] local.INFO: TCP Data received {"connection_id":131490,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:47:39] local.INFO: Processing buffer {"connection_id":131490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:47:39] local.INFO: IMEI packet received {"connection_id":131490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":131490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:47:39] local.INFO: TCP Data received {"connection_id":132814,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:47:39] local.INFO: Processing buffer {"connection_id":132814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:47:39] local.INFO: IMEI packet received {"connection_id":132814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":132814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:47:40] local.INFO: TCP Data received {"connection_id":131490,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2eca88012d7f914005afd9380005011b25..."} 
[2026-07-13 16:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2eca88012d7f914005afd9380005011b25..."} 
[2026-07-13 16:47:40] local.INFO: Processing buffer {"connection_id":131490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2eca88012d7f914005afd9380005011b25..."} 
[2026-07-13 16:47:40] local.INFO: Packet analysis {"connection_id":131490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2e"} 
[2026-07-13 16:47:40] local.INFO: Extracted packet for processing {"connection_id":131490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2e"} 
[2026-07-13 16:47:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688875520001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783941221000,"timestamp_ms":1783941221000,"timestamp_seconds":1783941221,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2eca88"} 
[2026-07-13 16:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688875520001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688875520001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:47:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:47:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688875520001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":131490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:47:40] local.INFO: GPS data processed {"connection_id":131490,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:47:40] local.INFO: Acknowledgment sent {"connection_id":131490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:47:42] local.INFO: TCP Data received {"connection_id":130443,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b322db8012d7a1b4005e467a00006005533..."} 
[2026-07-13 16:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b322db8012d7a1b4005e467a00006005533..."} 
[2026-07-13 16:47:42] local.INFO: Processing buffer {"connection_id":130443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b322db8012d7a1b4005e467a00006005533..."} 
[2026-07-13 16:47:42] local.INFO: Packet analysis {"connection_id":130443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:47:42] local.INFO: Extracted packet for processing {"connection_id":130443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:47:42] local.INFO: GPS Element Parsed {"raw_longitude":762977088,"raw_latitude":98854816,"longitude_deg":76.2977088,"latitude_deg":9.8854816,"altitude":6,"angle":85,"satellites":51,"speed":0,"hex_longitude":"2d7a1b40","hex_latitude":"05e467a0","is_valid_coordinates":true} 
[2026-07-13 16:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689004032001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105866550094856192,"note":"Value kept but may cause issues"} 
[2026-07-13 16:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798696691049406464,"note":"Value kept but may cause issues"} 
[2026-07-13 16:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783941443000,"timestamp_ms":1783941443000,"timestamp_seconds":1783941443,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b322db8"} 
[2026-07-13 16:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-13 16:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689004032001,"66":13091,"157":206,"87":12288,"24":0,"16":105866550094856192,"45":8798696691049406464},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 16:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689004032001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:47:42] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 16:47:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-13 16:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105866550094856192,"km_value":105866550094856.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798696691049406464,"description":"Unknown IO ID 45"} 
[2026-07-13 16:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689004032001,"power":13091,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798696691049406464}} 
[2026-07-13 16:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":130443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480733,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:47:42] local.INFO: GPS data processed {"connection_id":130443,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:47:42] local.INFO: Acknowledgment sent {"connection_id":130443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:47:45] local.INFO: TCP Data received {"connection_id":132814,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:47:45] local.INFO: Processing buffer {"connection_id":132814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:47:45] local.INFO: IMEI packet received {"connection_id":132814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":132814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:47:46] local.INFO: TCP Data received {"connection_id":132814,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2d99d8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2d99d8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:47:46] local.INFO: Processing buffer {"connection_id":132814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2d99d8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:47:46] local.INFO: Packet analysis {"connection_id":132814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2d"} 
[2026-07-13 16:47:46] local.INFO: Extracted packet for processing {"connection_id":132814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2d"} 
[2026-07-13 16:47:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688855552001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:47:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783941143000,"timestamp_ms":1783941143000,"timestamp_seconds":1783941143,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2d99d8"} 
[2026-07-13 16:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688855552001,"66":24973,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688855552001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:47:46] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:47:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:47:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688855552001,"power":24973,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":132814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480734,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:47:46] local.INFO: GPS data processed {"connection_id":132814,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:47:46] local.INFO: Acknowledgment sent {"connection_id":132814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:48:03] local.INFO: TCP Data received {"connection_id":132815,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:48:03] local.INFO: Processing buffer {"connection_id":132815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:48:03] local.INFO: IMEI packet received {"connection_id":132815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":132815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:48:11] local.INFO: TCP Data received {"connection_id":131490,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2eca88012d7f914005afd9380005011b25..."} 
[2026-07-13 16:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2eca88012d7f914005afd9380005011b25..."} 
[2026-07-13 16:48:11] local.INFO: Processing buffer {"connection_id":131490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2eca88012d7f914005afd9380005011b25..."} 
[2026-07-13 16:48:11] local.INFO: Packet analysis {"connection_id":131490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2e"} 
[2026-07-13 16:48:11] local.INFO: Extracted packet for processing {"connection_id":131490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2e"} 
[2026-07-13 16:48:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688875520001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783941221000,"timestamp_ms":1783941221000,"timestamp_seconds":1783941221,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2eca88"} 
[2026-07-13 16:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688875520001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688875520001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:48:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:48:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688875520001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":131490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:48:11] local.INFO: GPS data processed {"connection_id":131490,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:48:11] local.INFO: Acknowledgment sent {"connection_id":131490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:48:13] local.INFO: TCP Data received {"connection_id":132815,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:48:13] local.INFO: Processing buffer {"connection_id":132815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:48:13] local.INFO: IMEI packet received {"connection_id":132815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":132815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:48:14] local.INFO: TCP Data received {"connection_id":132815,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b326850012d7a1b4005e467a00006005530..."} 
[2026-07-13 16:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b326850012d7a1b4005e467a00006005530..."} 
[2026-07-13 16:48:14] local.INFO: Processing buffer {"connection_id":132815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b326850012d7a1b4005e467a00006005530..."} 
[2026-07-13 16:48:14] local.INFO: Packet analysis {"connection_id":132815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:48:14] local.INFO: Extracted packet for processing {"connection_id":132815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:48:14] local.INFO: GPS Element Parsed {"raw_longitude":762977088,"raw_latitude":98854816,"longitude_deg":76.2977088,"latitude_deg":9.8854816,"altitude":6,"angle":85,"satellites":48,"speed":0,"hex_longitude":"2d7a1b40","hex_latitude":"05e467a0","is_valid_coordinates":true} 
[2026-07-13 16: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-07-13 16:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689009408001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105866550094856192,"note":"Value kept but may cause issues"} 
[2026-07-13 16:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798696691049406464,"note":"Value kept but may cause issues"} 
[2026-07-13 16:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783941458000,"timestamp_ms":1783941458000,"timestamp_seconds":1783941458,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b326850"} 
[2026-07-13 16:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 16:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-13 16:48:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:48:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":132815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":132815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":132815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:48: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-07-13 16:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689009408001,"66":13254,"157":206,"87":12288,"24":0,"16":105866550094856192,"45":8798696691049406464},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 16:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689009408001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:48:14] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 16:48:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-13 16:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105866550094856192,"km_value":105866550094856.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798696691049406464,"description":"Unknown IO ID 45"} 
[2026-07-13 16:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689009408001,"power":13254,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798696691049406464}} 
[2026-07-13 16:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":132815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480736,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:48:14] local.INFO: GPS data processed {"connection_id":132815,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:48:14] local.INFO: Acknowledgment sent {"connection_id":132815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:48:15] local.INFO: TCP Data received {"connection_id":132815,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b326850012d7a1b4005e467a00006005530..."} 
[2026-07-13 16:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b326850012d7a1b4005e467a00006005530..."} 
[2026-07-13 16:48:15] local.INFO: Processing buffer {"connection_id":132815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b326850012d7a1b4005e467a00006005530..."} 
[2026-07-13 16:48:15] local.INFO: Packet analysis {"connection_id":132815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:48:15] local.INFO: Extracted packet for processing {"connection_id":132815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:48:15] local.INFO: GPS Element Parsed {"raw_longitude":762977088,"raw_latitude":98854816,"longitude_deg":76.2977088,"latitude_deg":9.8854816,"altitude":6,"angle":85,"satellites":48,"speed":0,"hex_longitude":"2d7a1b40","hex_latitude":"05e467a0","is_valid_coordinates":true} 
[2026-07-13 16:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689013248001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105866550094856192,"note":"Value kept but may cause issues"} 
[2026-07-13 16:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798696691049406464,"note":"Value kept but may cause issues"} 
[2026-07-13 16:48:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783941458000,"timestamp_ms":1783941458000,"timestamp_seconds":1783941458,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b326850"} 
[2026-07-13 16:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-13 16:48:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:48:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":132815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":132815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":132815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689013248001,"66":13254,"157":206,"87":12288,"24":0,"16":105866550094856192,"45":8798696691049406464},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 16:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689013248001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:48:15] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 16:48:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-13 16:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105866550094856192,"km_value":105866550094856.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798696691049406464,"description":"Unknown IO ID 45"} 
[2026-07-13 16:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689013248001,"power":13254,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798696691049406464}} 
[2026-07-13 16:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":132815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480737,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:48:15] local.INFO: GPS data processed {"connection_id":132815,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:48:15] local.INFO: Acknowledgment sent {"connection_id":132815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:48:18] local.INFO: TCP Data received {"connection_id":132814,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b322db8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b322db8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:48:18] local.INFO: Processing buffer {"connection_id":132814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b322db8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:48:18] local.INFO: Packet analysis {"connection_id":132814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:48:18] local.INFO: Extracted packet for processing {"connection_id":132814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:48:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 16:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688932608001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:48:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783941443000,"timestamp_ms":1783941443000,"timestamp_seconds":1783941443,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b322db8"} 
[2026-07-13 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-07-13 16:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 16:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 16:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688932608001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688932608001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:48:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:48:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:48:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688932608001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":132814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480738,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:48:18] local.INFO: GPS data processed {"connection_id":132814,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:48:18] local.INFO: Acknowledgment sent {"connection_id":132814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:48:39] local.INFO: TCP Data received {"connection_id":130678,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:48:39] local.INFO: Processing buffer {"connection_id":130678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:48:39] local.INFO: IMEI packet received {"connection_id":130678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":130678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:48:44] local.INFO: TCP Data received {"connection_id":130678,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:48:44] local.INFO: Processing buffer {"connection_id":130678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:48:44] local.INFO: IMEI packet received {"connection_id":130678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":130678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:48:45] local.INFO: TCP Data received {"connection_id":130444,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:48:45] local.INFO: Processing buffer {"connection_id":130444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:48:45] local.INFO: IMEI packet received {"connection_id":130444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":130444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:48:46] local.INFO: TCP Data received {"connection_id":130678,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2eca88012d7f914005afd9380005011b25..."} 
[2026-07-13 16:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2eca88012d7f914005afd9380005011b25..."} 
[2026-07-13 16:48:46] local.INFO: Processing buffer {"connection_id":130678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2eca88012d7f914005afd9380005011b25..."} 
[2026-07-13 16:48:46] local.INFO: Packet analysis {"connection_id":130678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2e"} 
[2026-07-13 16:48:46] local.INFO: Extracted packet for processing {"connection_id":130678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2e"} 
[2026-07-13 16:48:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688875520001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783941221000,"timestamp_ms":1783941221000,"timestamp_seconds":1783941221,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2eca88"} 
[2026-07-13 16:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688875520001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688875520001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:48:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:48:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688875520001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":130678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:48:46] local.INFO: GPS data processed {"connection_id":130678,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:48:46] local.INFO: Acknowledgment sent {"connection_id":130678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:48:50] local.INFO: TCP Data received {"connection_id":130444,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:48:50] local.INFO: Processing buffer {"connection_id":130444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:48:50] local.INFO: IMEI packet received {"connection_id":130444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":130444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:48:51] local.INFO: TCP Data received {"connection_id":130678,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b2eca88012d7f914005afd9380005011b25..."} 
[2026-07-13 16:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b2eca88012d7f914005afd9380005011b25..."} 
[2026-07-13 16:48:51] local.INFO: Processing buffer {"connection_id":130678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b2eca88012d7f914005afd9380005011b25..."} 
[2026-07-13 16:48:51] local.INFO: Packet analysis {"connection_id":130678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b2e"} 
[2026-07-13 16:48:51] local.INFO: Extracted packet for processing {"connection_id":130678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b2e"} 
[2026-07-13 16:48:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":5,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688875520001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783941221000,"timestamp_ms":1783941221000,"timestamp_seconds":1783941221,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b2eca88"} 
[2026-07-13 16:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:48: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-07-13 16:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:48: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-07-13 16:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688875520001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688875520001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:48:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:48:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688875520001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":130678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:48:51] local.INFO: GPS data processed {"connection_id":130678,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:48:51] local.INFO: Acknowledgment sent {"connection_id":130678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:48:51] local.INFO: TCP Data received {"connection_id":130444,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b322db8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b322db8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:48:51] local.INFO: Processing buffer {"connection_id":130444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b322db8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:48:51] local.INFO: Packet analysis {"connection_id":130444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:48:51] local.INFO: Extracted packet for processing {"connection_id":130444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:48:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688932608001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:48:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783941443000,"timestamp_ms":1783941443000,"timestamp_seconds":1783941443,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b322db8"} 
[2026-07-13 16:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 16:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130444,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130444,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688932608001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688932608001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:48:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:48:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:48:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688932608001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":130444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480741,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:48:51] local.INFO: GPS data processed {"connection_id":130444,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:48:51] local.INFO: Acknowledgment sent {"connection_id":130444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:48:56] local.INFO: TCP Data received {"connection_id":130444,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b322db8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b322db8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:48:56] local.INFO: Processing buffer {"connection_id":130444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b322db8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:48:56] local.INFO: Packet analysis {"connection_id":130444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:48:56] local.INFO: Extracted packet for processing {"connection_id":130444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:48:56] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688932608001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:48:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783941443000,"timestamp_ms":1783941443000,"timestamp_seconds":1783941443,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b322db8"} 
[2026-07-13 16:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 16:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:48:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":130444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":130444,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":130444,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688932608001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688932608001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:48:56] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:48:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:48:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688932608001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":130444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480742,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:48:56] local.INFO: GPS data processed {"connection_id":130444,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:48:56] local.INFO: Acknowledgment sent {"connection_id":130444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:49:03] local.INFO: TCP Data received {"connection_id":130445,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:49:03] local.INFO: Processing buffer {"connection_id":130445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:49:03] local.INFO: IMEI packet received {"connection_id":130445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":130445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:49:08] local.INFO: TCP Data received {"connection_id":130445,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:49:08] local.INFO: Processing buffer {"connection_id":130445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:49:08] local.INFO: IMEI packet received {"connection_id":130445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":130445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:49:12] local.INFO: TCP Data received {"connection_id":130445,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b327bd8012d7a1b4005e467a00006005531..."} 
[2026-07-13 16:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b327bd8012d7a1b4005e467a00006005531..."} 
[2026-07-13 16:49:12] local.INFO: Processing buffer {"connection_id":130445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b327bd8012d7a1b4005e467a00006005531..."} 
[2026-07-13 16:49:12] local.INFO: Packet analysis {"connection_id":130445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:49:12] local.INFO: Extracted packet for processing {"connection_id":130445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:49:12] local.INFO: GPS Element Parsed {"raw_longitude":762977088,"raw_latitude":98854816,"longitude_deg":76.2977088,"latitude_deg":9.8854816,"altitude":6,"angle":85,"satellites":49,"speed":0,"hex_longitude":"2d7a1b40","hex_latitude":"05e467a0","is_valid_coordinates":true} 
[2026-07-13 16:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689013248001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105866550094856192,"note":"Value kept but may cause issues"} 
[2026-07-13 16:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798696691049406464,"note":"Value kept but may cause issues"} 
[2026-07-13 16:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783941463000,"timestamp_ms":1783941463000,"timestamp_seconds":1783941463,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b327bd8"} 
[2026-07-13 16:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-13 16:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689013248001,"66":13189,"157":206,"87":12288,"24":0,"16":105866550094856192,"45":8798696691049406464},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 16:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689013248001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:49:12] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 16:49:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-13 16:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105866550094856192,"km_value":105866550094856.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798696691049406464,"description":"Unknown IO ID 45"} 
[2026-07-13 16:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689013248001,"power":13189,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798696691049406464}} 
[2026-07-13 16:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":130445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480743,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:49:12] local.INFO: GPS data processed {"connection_id":130445,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:49:12] local.INFO: Acknowledgment sent {"connection_id":130445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:49:34] local.INFO: TCP Data received {"connection_id":130679,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:49:34] local.INFO: Processing buffer {"connection_id":130679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:49:34] local.INFO: IMEI packet received {"connection_id":130679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":130679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:49:39] local.INFO: TCP Data received {"connection_id":130679,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:49:39] local.INFO: Processing buffer {"connection_id":130679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:49:39] local.INFO: IMEI packet received {"connection_id":130679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":130679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:49:40] local.INFO: TCP Data received {"connection_id":130446,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:49:40] local.INFO: Processing buffer {"connection_id":130446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:49:40] local.INFO: IMEI packet received {"connection_id":130446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":130446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:49:40] local.INFO: TCP Data received {"connection_id":130679,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b336250012d7f914005afd9380008011b28..."} 
[2026-07-13 16:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b336250012d7f914005afd9380008011b28..."} 
[2026-07-13 16:49:40] local.INFO: Processing buffer {"connection_id":130679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b336250012d7f914005afd9380008011b28..."} 
[2026-07-13 16:49:40] local.INFO: Packet analysis {"connection_id":130679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b33"} 
[2026-07-13 16:49:40] local.INFO: Extracted packet for processing {"connection_id":130679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b33"} 
[2026-07-13 16:49:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688952576001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783941522000,"timestamp_ms":1783941522000,"timestamp_seconds":1783941522,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b336250"} 
[2026-07-13 16:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688952576001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688952576001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:49:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:49:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688952576001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":130679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:49:40] local.INFO: GPS data processed {"connection_id":130679,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:49:40] local.INFO: Acknowledgment sent {"connection_id":130679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:49:45] local.INFO: TCP Data received {"connection_id":130446,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:49:45] local.INFO: Processing buffer {"connection_id":130446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:49:45] local.INFO: IMEI packet received {"connection_id":130446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":130446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:49:46] local.INFO: TCP Data received {"connection_id":130446,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b322db8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b322db8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:49:46] local.INFO: Processing buffer {"connection_id":130446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b322db8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:49:46] local.INFO: Packet analysis {"connection_id":130446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:49:46] local.INFO: Extracted packet for processing {"connection_id":130446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:49:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688932608001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:49:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783941443000,"timestamp_ms":1783941443000,"timestamp_seconds":1783941443,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b322db8"} 
[2026-07-13 16:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 16:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688932608001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688932608001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:49:46] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:49:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:49:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688932608001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":130446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480745,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:49:46] local.INFO: GPS data processed {"connection_id":130446,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:49:46] local.INFO: Acknowledgment sent {"connection_id":130446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:50:03] local.INFO: TCP Data received {"connection_id":130447,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130447,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:50:03] local.INFO: Processing buffer {"connection_id":130447,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:50:03] local.INFO: IMEI packet received {"connection_id":130447,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":130447,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:50:08] local.INFO: TCP Data received {"connection_id":130447,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130447,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:50:08] local.INFO: Processing buffer {"connection_id":130447,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:50:08] local.INFO: IMEI packet received {"connection_id":130447,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":130447,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:50:10] local.INFO: TCP Data received {"connection_id":130447,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b327bd8012d7a1b4005e467a00006005531..."} 
[2026-07-13 16:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b327bd8012d7a1b4005e467a00006005531..."} 
[2026-07-13 16:50:10] local.INFO: Processing buffer {"connection_id":130447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b327bd8012d7a1b4005e467a00006005531..."} 
[2026-07-13 16:50:10] local.INFO: Packet analysis {"connection_id":130447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:50:10] local.INFO: Extracted packet for processing {"connection_id":130447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:50:10] local.INFO: GPS Element Parsed {"raw_longitude":762977088,"raw_latitude":98854816,"longitude_deg":76.2977088,"latitude_deg":9.8854816,"altitude":6,"angle":85,"satellites":49,"speed":0,"hex_longitude":"2d7a1b40","hex_latitude":"05e467a0","is_valid_coordinates":true} 
[2026-07-13 16:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689014528001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105866550094856192,"note":"Value kept but may cause issues"} 
[2026-07-13 16:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798696691049406464,"note":"Value kept but may cause issues"} 
[2026-07-13 16:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783941463000,"timestamp_ms":1783941463000,"timestamp_seconds":1783941463,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b327bd8"} 
[2026-07-13 16:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-13 16:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689014528001,"66":13189,"157":206,"87":12288,"24":0,"16":105866550094856192,"45":8798696691049406464},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 16:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689014528001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:50:10] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 16:50:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-13 16:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105866550094856192,"km_value":105866550094856.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798696691049406464,"description":"Unknown IO ID 45"} 
[2026-07-13 16:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689014528001,"power":13189,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798696691049406464}} 
[2026-07-13 16:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":130447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480746,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:50:10] local.INFO: GPS data processed {"connection_id":130447,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:50:10] local.INFO: Acknowledgment sent {"connection_id":130447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:50:11] local.INFO: TCP Data received {"connection_id":130679,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b336250012d7f914005afd9380008011b28..."} 
[2026-07-13 16:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b336250012d7f914005afd9380008011b28..."} 
[2026-07-13 16:50:11] local.INFO: Processing buffer {"connection_id":130679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b336250012d7f914005afd9380008011b28..."} 
[2026-07-13 16:50:11] local.INFO: Packet analysis {"connection_id":130679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b33"} 
[2026-07-13 16:50:11] local.INFO: Extracted packet for processing {"connection_id":130679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b33"} 
[2026-07-13 16:50:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688952576001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783941522000,"timestamp_ms":1783941522000,"timestamp_seconds":1783941522,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b336250"} 
[2026-07-13 16:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688952576001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688952576001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:50:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:50:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688952576001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":130679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:50:11] local.INFO: GPS data processed {"connection_id":130679,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:50:11] local.INFO: Acknowledgment sent {"connection_id":130679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:50:13] local.INFO: TCP Data received {"connection_id":130447,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b327bd8012d7a1b4005e467a00006005531..."} 
[2026-07-13 16:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b327bd8012d7a1b4005e467a00006005531..."} 
[2026-07-13 16:50:13] local.INFO: Processing buffer {"connection_id":130447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b327bd8012d7a1b4005e467a00006005531..."} 
[2026-07-13 16:50:13] local.INFO: Packet analysis {"connection_id":130447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:50:13] local.INFO: Extracted packet for processing {"connection_id":130447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:50:13] local.INFO: GPS Element Parsed {"raw_longitude":762977088,"raw_latitude":98854816,"longitude_deg":76.2977088,"latitude_deg":9.8854816,"altitude":6,"angle":85,"satellites":49,"speed":0,"hex_longitude":"2d7a1b40","hex_latitude":"05e467a0","is_valid_coordinates":true} 
[2026-07-13 16:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689014528001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105866550094856192,"note":"Value kept but may cause issues"} 
[2026-07-13 16:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798696691049406464,"note":"Value kept but may cause issues"} 
[2026-07-13 16:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783941463000,"timestamp_ms":1783941463000,"timestamp_seconds":1783941463,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b327bd8"} 
[2026-07-13 16:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:50:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-13 16:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130447,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689014528001,"66":13189,"157":206,"87":12288,"24":0,"16":105866550094856192,"45":8798696691049406464},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 16:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689014528001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:50:13] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 16:50:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-13 16:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105866550094856192,"km_value":105866550094856.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798696691049406464,"description":"Unknown IO ID 45"} 
[2026-07-13 16:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689014528001,"power":13189,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798696691049406464}} 
[2026-07-13 16:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":130447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480748,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:50:13] local.INFO: GPS data processed {"connection_id":130447,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:50:13] local.INFO: Acknowledgment sent {"connection_id":130447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:50:17] local.INFO: TCP Data received {"connection_id":130446,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b322db8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b322db8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:50:17] local.INFO: Processing buffer {"connection_id":130446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b322db8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:50:17] local.INFO: Packet analysis {"connection_id":130446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:50:17] local.INFO: Extracted packet for processing {"connection_id":130446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:50:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16: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-07-13 16:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688932608001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:50:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783941443000,"timestamp_ms":1783941443000,"timestamp_seconds":1783941443,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b322db8"} 
[2026-07-13 16:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 16:50:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16: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-07-13 16:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688932608001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688932608001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:50:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:50:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:50:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688932608001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":130446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480749,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:50:18] local.INFO: GPS data processed {"connection_id":130446,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:50:18] local.INFO: Acknowledgment sent {"connection_id":130446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:50:34] local.INFO: TCP Data received {"connection_id":130680,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:50:34] local.INFO: Processing buffer {"connection_id":130680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:50:34] local.INFO: IMEI packet received {"connection_id":130680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":130680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:50:39] local.INFO: TCP Data received {"connection_id":130680,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:50:39] local.INFO: Processing buffer {"connection_id":130680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:50:39] local.INFO: IMEI packet received {"connection_id":130680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":130680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:50:40] local.INFO: TCP Data received {"connection_id":130448,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130448,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:50:40] local.INFO: Processing buffer {"connection_id":130448,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:50:40] local.INFO: IMEI packet received {"connection_id":130448,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":130448,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:50:40] local.INFO: TCP Data received {"connection_id":130680,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b336250012d7f914005afd9380008011b28..."} 
[2026-07-13 16:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b336250012d7f914005afd9380008011b28..."} 
[2026-07-13 16:50:40] local.INFO: Processing buffer {"connection_id":130680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b336250012d7f914005afd9380008011b28..."} 
[2026-07-13 16:50:40] local.INFO: Packet analysis {"connection_id":130680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b33"} 
[2026-07-13 16:50:40] local.INFO: Extracted packet for processing {"connection_id":130680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b33"} 
[2026-07-13 16:50:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688952576001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783941522000,"timestamp_ms":1783941522000,"timestamp_seconds":1783941522,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b336250"} 
[2026-07-13 16:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688952576001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688952576001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:50:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:50:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688952576001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":130680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:50:40] local.INFO: GPS data processed {"connection_id":130680,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:50:40] local.INFO: Acknowledgment sent {"connection_id":130680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:50:45] local.INFO: TCP Data received {"connection_id":130448,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130448,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:50:45] local.INFO: Processing buffer {"connection_id":130448,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:50:45] local.INFO: IMEI packet received {"connection_id":130448,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":130448,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:50:46] local.INFO: TCP Data received {"connection_id":130448,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b322db8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b322db8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:50:46] local.INFO: Processing buffer {"connection_id":130448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b322db8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:50:46] local.INFO: Packet analysis {"connection_id":130448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:50:46] local.INFO: Extracted packet for processing {"connection_id":130448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:50:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688932608001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:50:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783941443000,"timestamp_ms":1783941443000,"timestamp_seconds":1783941443,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b322db8"} 
[2026-07-13 16:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 16:50:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130448,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130448,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688932608001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688932608001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:50:46] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:50:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:50:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688932608001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":130448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480751,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:50:46] local.INFO: GPS data processed {"connection_id":130448,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:50:46] local.INFO: Acknowledgment sent {"connection_id":130448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:51:01] local.INFO: TCP Data received {"connection_id":132816,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:51:01] local.INFO: Processing buffer {"connection_id":132816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:51:01] local.INFO: IMEI packet received {"connection_id":132816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":132816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:51:03] local.INFO: TCP Data received {"connection_id":132816,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:51:03] local.INFO: Processing buffer {"connection_id":132816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:51:03] local.INFO: IMEI packet received {"connection_id":132816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":132816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:51:03] local.INFO: TCP Data received {"connection_id":132816,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b327bd8012d7a1b4005e467a00006005531..."} 
[2026-07-13 16:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b327bd8012d7a1b4005e467a00006005531..."} 
[2026-07-13 16:51:03] local.INFO: Processing buffer {"connection_id":132816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b327bd8012d7a1b4005e467a00006005531..."} 
[2026-07-13 16:51:03] local.INFO: Packet analysis {"connection_id":132816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:51:03] local.INFO: Extracted packet for processing {"connection_id":132816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:51:03] local.INFO: GPS Element Parsed {"raw_longitude":762977088,"raw_latitude":98854816,"longitude_deg":76.2977088,"latitude_deg":9.8854816,"altitude":6,"angle":85,"satellites":49,"speed":0,"hex_longitude":"2d7a1b40","hex_latitude":"05e467a0","is_valid_coordinates":true} 
[2026-07-13 16:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689014528001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105866550094856192,"note":"Value kept but may cause issues"} 
[2026-07-13 16:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798696691049406464,"note":"Value kept but may cause issues"} 
[2026-07-13 16:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783941463000,"timestamp_ms":1783941463000,"timestamp_seconds":1783941463,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b327bd8"} 
[2026-07-13 16:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-13 16:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":132816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":132816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":132816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689014528001,"66":13189,"157":206,"87":12288,"24":0,"16":105866550094856192,"45":8798696691049406464},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 16:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689014528001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:51:03] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 16:51:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-13 16:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105866550094856192,"km_value":105866550094856.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798696691049406464,"description":"Unknown IO ID 45"} 
[2026-07-13 16:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689014528001,"power":13189,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798696691049406464}} 
[2026-07-13 16:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":132816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480752,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:51:03] local.INFO: GPS data processed {"connection_id":132816,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:51:03] local.INFO: Acknowledgment sent {"connection_id":132816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:51:08] local.INFO: TCP Data received {"connection_id":132816,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b327bd8012d7a1b4005e467a00006005531..."} 
[2026-07-13 16:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b327bd8012d7a1b4005e467a00006005531..."} 
[2026-07-13 16:51:08] local.INFO: Processing buffer {"connection_id":132816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b327bd8012d7a1b4005e467a00006005531..."} 
[2026-07-13 16:51:08] local.INFO: Packet analysis {"connection_id":132816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:51:08] local.INFO: Extracted packet for processing {"connection_id":132816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:51:08] local.INFO: GPS Element Parsed {"raw_longitude":762977088,"raw_latitude":98854816,"longitude_deg":76.2977088,"latitude_deg":9.8854816,"altitude":6,"angle":85,"satellites":49,"speed":0,"hex_longitude":"2d7a1b40","hex_latitude":"05e467a0","is_valid_coordinates":true} 
[2026-07-13 16:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689014528001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105866550094856192,"note":"Value kept but may cause issues"} 
[2026-07-13 16:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798696691049406464,"note":"Value kept but may cause issues"} 
[2026-07-13 16:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783941463000,"timestamp_ms":1783941463000,"timestamp_seconds":1783941463,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b327bd8"} 
[2026-07-13 16:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-13 16:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:51: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-07-13 16:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689014528001,"66":13189,"157":206,"87":12288,"24":0,"16":105866550094856192,"45":8798696691049406464},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 16:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689014528001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:51:08] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 16:51:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-13 16:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105866550094856192,"km_value":105866550094856.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798696691049406464,"description":"Unknown IO ID 45"} 
[2026-07-13 16:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689014528001,"power":13189,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798696691049406464}} 
[2026-07-13 16:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":132816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480753,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:51:08] local.INFO: GPS data processed {"connection_id":132816,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:51:08] local.INFO: Acknowledgment sent {"connection_id":132816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:51:11] local.INFO: TCP Data received {"connection_id":130680,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b336250012d7f914005afd9380008011b28..."} 
[2026-07-13 16:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b336250012d7f914005afd9380008011b28..."} 
[2026-07-13 16:51:11] local.INFO: Processing buffer {"connection_id":130680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b336250012d7f914005afd9380008011b28..."} 
[2026-07-13 16:51:11] local.INFO: Packet analysis {"connection_id":130680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b33"} 
[2026-07-13 16:51:11] local.INFO: Extracted packet for processing {"connection_id":130680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b33"} 
[2026-07-13 16:51:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688952576001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783941522000,"timestamp_ms":1783941522000,"timestamp_seconds":1783941522,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b336250"} 
[2026-07-13 16:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688952576001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688952576001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:51:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:51:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688952576001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":130680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:51:11] local.INFO: GPS data processed {"connection_id":130680,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:51:11] local.INFO: Acknowledgment sent {"connection_id":130680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:51:18] local.INFO: TCP Data received {"connection_id":130448,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b322db8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b322db8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:51:18] local.INFO: Processing buffer {"connection_id":130448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b322db8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:51:18] local.INFO: Packet analysis {"connection_id":130448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:51:18] local.INFO: Extracted packet for processing {"connection_id":130448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:51:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16: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-07-13 16:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688932608001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:51:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783941443000,"timestamp_ms":1783941443000,"timestamp_seconds":1783941443,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b322db8"} 
[2026-07-13 16:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 16:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16: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-07-13 16:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130448,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130448,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688932608001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688932608001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:51:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:51:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:51:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688932608001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":130448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480755,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:51:18] local.INFO: GPS data processed {"connection_id":130448,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:51:18] local.INFO: Acknowledgment sent {"connection_id":130448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:51:34] local.INFO: TCP Data received {"connection_id":132817,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:51:34] local.INFO: Processing buffer {"connection_id":132817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:51:34] local.INFO: IMEI packet received {"connection_id":132817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":132817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:51:39] local.INFO: TCP Data received {"connection_id":132817,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:51:39] local.INFO: Processing buffer {"connection_id":132817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:51:39] local.INFO: IMEI packet received {"connection_id":132817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":132817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:51:39] local.INFO: TCP Data received {"connection_id":131491,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:51:39] local.INFO: Processing buffer {"connection_id":131491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:51:39] local.INFO: IMEI packet received {"connection_id":131491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":131491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:51:40] local.INFO: TCP Data received {"connection_id":132817,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b336250012d7f914005afd9380008011b28..."} 
[2026-07-13 16:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b336250012d7f914005afd9380008011b28..."} 
[2026-07-13 16:51:40] local.INFO: Processing buffer {"connection_id":132817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b336250012d7f914005afd9380008011b28..."} 
[2026-07-13 16:51:40] local.INFO: Packet analysis {"connection_id":132817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b33"} 
[2026-07-13 16:51:40] local.INFO: Extracted packet for processing {"connection_id":132817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b33"} 
[2026-07-13 16:51:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688952576001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783941522000,"timestamp_ms":1783941522000,"timestamp_seconds":1783941522,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b336250"} 
[2026-07-13 16:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688952576001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688952576001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:51:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:51:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688952576001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":132817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:51:40] local.INFO: GPS data processed {"connection_id":132817,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:51:40] local.INFO: Acknowledgment sent {"connection_id":132817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:51:40] local.INFO: TCP Data received {"connection_id":132816,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b327bd8012d7a1b4005e467a00006005531..."} 
[2026-07-13 16:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b327bd8012d7a1b4005e467a00006005531..."} 
[2026-07-13 16:51:40] local.INFO: Processing buffer {"connection_id":132816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b327bd8012d7a1b4005e467a00006005531..."} 
[2026-07-13 16:51:40] local.INFO: Packet analysis {"connection_id":132816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:51:40] local.INFO: Extracted packet for processing {"connection_id":132816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:51:40] local.INFO: GPS Element Parsed {"raw_longitude":762977088,"raw_latitude":98854816,"longitude_deg":76.2977088,"latitude_deg":9.8854816,"altitude":6,"angle":85,"satellites":49,"speed":0,"hex_longitude":"2d7a1b40","hex_latitude":"05e467a0","is_valid_coordinates":true} 
[2026-07-13 16:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689014528001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105866550094856192,"note":"Value kept but may cause issues"} 
[2026-07-13 16:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798696691049406464,"note":"Value kept but may cause issues"} 
[2026-07-13 16:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783941463000,"timestamp_ms":1783941463000,"timestamp_seconds":1783941463,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b327bd8"} 
[2026-07-13 16:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":133,"data_length":795,"current_offset":136} 
[2026-07-13 16:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689014528001,"66":13189,"157":206,"87":12288,"24":0,"16":105866550094856192,"45":8798696691049406464},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 16:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689014528001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:51:40] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 16:51:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-13 16:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105866550094856192,"km_value":105866550094856.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798696691049406464,"description":"Unknown IO ID 45"} 
[2026-07-13 16:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689014528001,"power":13189,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798696691049406464}} 
[2026-07-13 16:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":132816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:51:40] local.INFO: GPS data processed {"connection_id":132816,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:51:40] local.INFO: Acknowledgment sent {"connection_id":132816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:51:45] local.INFO: TCP Data received {"connection_id":131491,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:51:45] local.INFO: Processing buffer {"connection_id":131491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:51:45] local.INFO: IMEI packet received {"connection_id":131491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":131491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:51:47] local.INFO: TCP Data received {"connection_id":131491,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b322db8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b322db8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:51:47] local.INFO: Processing buffer {"connection_id":131491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b322db8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:51:47] local.INFO: Packet analysis {"connection_id":131491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:51:47] local.INFO: Extracted packet for processing {"connection_id":131491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:51:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688932608001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:51:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783941443000,"timestamp_ms":1783941443000,"timestamp_seconds":1783941443,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b322db8"} 
[2026-07-13 16:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 16:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":131491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":131491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":131491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688932608001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688932608001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:51:47] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:51:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:51:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688932608001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":131491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480758,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:51:47] local.INFO: GPS data processed {"connection_id":131491,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:51:47] local.INFO: Acknowledgment sent {"connection_id":131491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:52:00] local.INFO: TCP Data received {"connection_id":130449,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130449,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:52:00] local.INFO: Processing buffer {"connection_id":130449,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:52:00] local.INFO: IMEI packet received {"connection_id":130449,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":130449,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:52:03] local.INFO: TCP Data received {"connection_id":130449,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130449,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:52:03] local.INFO: Processing buffer {"connection_id":130449,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:52:03] local.INFO: IMEI packet received {"connection_id":130449,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":130449,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:52:04] local.INFO: TCP Data received {"connection_id":130449,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b327bd8012d7a1b4005e467a00006005531..."} 
[2026-07-13 16:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b327bd8012d7a1b4005e467a00006005531..."} 
[2026-07-13 16:52:04] local.INFO: Processing buffer {"connection_id":130449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b327bd8012d7a1b4005e467a00006005531..."} 
[2026-07-13 16:52:04] local.INFO: Packet analysis {"connection_id":130449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:52:04] local.INFO: Extracted packet for processing {"connection_id":130449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:52:04] local.INFO: GPS Element Parsed {"raw_longitude":762977088,"raw_latitude":98854816,"longitude_deg":76.2977088,"latitude_deg":9.8854816,"altitude":6,"angle":85,"satellites":49,"speed":0,"hex_longitude":"2d7a1b40","hex_latitude":"05e467a0","is_valid_coordinates":true} 
[2026-07-13 16:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689014528001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105866550094856192,"note":"Value kept but may cause issues"} 
[2026-07-13 16:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798696691049406464,"note":"Value kept but may cause issues"} 
[2026-07-13 16:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783941463000,"timestamp_ms":1783941463000,"timestamp_seconds":1783941463,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b327bd8"} 
[2026-07-13 16:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-13 16:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689014528001,"66":13189,"157":206,"87":12288,"24":0,"16":105866550094856192,"45":8798696691049406464},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 16:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689014528001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:52:04] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 16:52:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-13 16:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105866550094856192,"km_value":105866550094856.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798696691049406464,"description":"Unknown IO ID 45"} 
[2026-07-13 16:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689014528001,"power":13189,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798696691049406464}} 
[2026-07-13 16:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":130449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480759,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:52:04] local.INFO: GPS data processed {"connection_id":130449,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:52:04] local.INFO: Acknowledgment sent {"connection_id":130449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:52:08] local.INFO: TCP Data received {"connection_id":130449,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b327bd8012d7a1b4005e467a00006005531..."} 
[2026-07-13 16:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b327bd8012d7a1b4005e467a00006005531..."} 
[2026-07-13 16:52:08] local.INFO: Processing buffer {"connection_id":130449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b327bd8012d7a1b4005e467a00006005531..."} 
[2026-07-13 16:52:08] local.INFO: Packet analysis {"connection_id":130449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:52:08] local.INFO: Extracted packet for processing {"connection_id":130449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:52:08] local.INFO: GPS Element Parsed {"raw_longitude":762977088,"raw_latitude":98854816,"longitude_deg":76.2977088,"latitude_deg":9.8854816,"altitude":6,"angle":85,"satellites":49,"speed":0,"hex_longitude":"2d7a1b40","hex_latitude":"05e467a0","is_valid_coordinates":true} 
[2026-07-13 16:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689014528001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105866550094856192,"note":"Value kept but may cause issues"} 
[2026-07-13 16:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798696691049406464,"note":"Value kept but may cause issues"} 
[2026-07-13 16:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783941463000,"timestamp_ms":1783941463000,"timestamp_seconds":1783941463,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b327bd8"} 
[2026-07-13 16:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-13 16:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:52: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-07-13 16:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689014528001,"66":13189,"157":206,"87":12288,"24":0,"16":105866550094856192,"45":8798696691049406464},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 16:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689014528001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:52:08] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 16:52:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-13 16:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105866550094856192,"km_value":105866550094856.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798696691049406464,"description":"Unknown IO ID 45"} 
[2026-07-13 16:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689014528001,"power":13189,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798696691049406464}} 
[2026-07-13 16:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":130449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480760,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:52:08] local.INFO: GPS data processed {"connection_id":130449,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:52:08] local.INFO: Acknowledgment sent {"connection_id":130449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:52:11] local.INFO: TCP Data received {"connection_id":132817,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b336250012d7f914005afd9380008011b28..."} 
[2026-07-13 16:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b336250012d7f914005afd9380008011b28..."} 
[2026-07-13 16:52:11] local.INFO: Processing buffer {"connection_id":132817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b336250012d7f914005afd9380008011b28..."} 
[2026-07-13 16:52:11] local.INFO: Packet analysis {"connection_id":132817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b33"} 
[2026-07-13 16:52:11] local.INFO: Extracted packet for processing {"connection_id":132817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b33"} 
[2026-07-13 16:52:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688952576001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783941522000,"timestamp_ms":1783941522000,"timestamp_seconds":1783941522,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b336250"} 
[2026-07-13 16:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688952576001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688952576001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:52:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:52:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688952576001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":132817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:52:11] local.INFO: GPS data processed {"connection_id":132817,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:52:11] local.INFO: Acknowledgment sent {"connection_id":132817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:52:18] local.INFO: TCP Data received {"connection_id":131491,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b322db8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b322db8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:52:18] local.INFO: Processing buffer {"connection_id":131491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b322db8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:52:18] local.INFO: Packet analysis {"connection_id":131491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:52:18] local.INFO: Extracted packet for processing {"connection_id":131491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:52:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688932608001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:52:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783941443000,"timestamp_ms":1783941443000,"timestamp_seconds":1783941443,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b322db8"} 
[2026-07-13 16:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 16:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688932608001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688932608001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:52:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:52:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:52:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688932608001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":131491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480762,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:52:18] local.INFO: GPS data processed {"connection_id":131491,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:52:18] local.INFO: Acknowledgment sent {"connection_id":131491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:52:34] local.INFO: TCP Data received {"connection_id":131492,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:52:34] local.INFO: Processing buffer {"connection_id":131492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:52:34] local.INFO: IMEI packet received {"connection_id":131492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":131492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:52:39] local.INFO: TCP Data received {"connection_id":131492,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:52:39] local.INFO: Processing buffer {"connection_id":131492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:52:39] local.INFO: IMEI packet received {"connection_id":131492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":131492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:52:39] local.INFO: TCP Data received {"connection_id":131493,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131493,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:52:39] local.INFO: Processing buffer {"connection_id":131493,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:52:39] local.INFO: IMEI packet received {"connection_id":131493,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":131493,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:52:40] local.INFO: TCP Data received {"connection_id":131492,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b336250012d7f914005afd9380008011b28..."} 
[2026-07-13 16:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b336250012d7f914005afd9380008011b28..."} 
[2026-07-13 16:52:40] local.INFO: Processing buffer {"connection_id":131492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b336250012d7f914005afd9380008011b28..."} 
[2026-07-13 16:52:40] local.INFO: Packet analysis {"connection_id":131492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b33"} 
[2026-07-13 16:52:40] local.INFO: Extracted packet for processing {"connection_id":131492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b33"} 
[2026-07-13 16:52:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16: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-07-13 16:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688952576001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783941522000,"timestamp_ms":1783941522000,"timestamp_seconds":1783941522,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b336250"} 
[2026-07-13 16:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16: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-07-13 16:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688952576001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688952576001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:52:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:52:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688952576001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":131492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:52:40] local.INFO: GPS data processed {"connection_id":131492,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:52:40] local.INFO: Acknowledgment sent {"connection_id":131492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:52:40] local.INFO: TCP Data received {"connection_id":130449,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b327bd8012d7a1b4005e467a00006005531..."} 
[2026-07-13 16:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b327bd8012d7a1b4005e467a00006005531..."} 
[2026-07-13 16:52:40] local.INFO: Processing buffer {"connection_id":130449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b327bd8012d7a1b4005e467a00006005531..."} 
[2026-07-13 16:52:40] local.INFO: Packet analysis {"connection_id":130449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:52:40] local.INFO: Extracted packet for processing {"connection_id":130449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:52:40] local.INFO: GPS Element Parsed {"raw_longitude":762977088,"raw_latitude":98854816,"longitude_deg":76.2977088,"latitude_deg":9.8854816,"altitude":6,"angle":85,"satellites":49,"speed":0,"hex_longitude":"2d7a1b40","hex_latitude":"05e467a0","is_valid_coordinates":true} 
[2026-07-13 16:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689014528001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105866550094856192,"note":"Value kept but may cause issues"} 
[2026-07-13 16:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798696691049406464,"note":"Value kept but may cause issues"} 
[2026-07-13 16:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783941463000,"timestamp_ms":1783941463000,"timestamp_seconds":1783941463,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b327bd8"} 
[2026-07-13 16:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-13 16:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16: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-07-13 16:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689014528001,"66":13189,"157":206,"87":12288,"24":0,"16":105866550094856192,"45":8798696691049406464},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-13 16:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689014528001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:52:40] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-13 16:52:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-13 16:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105866550094856192,"km_value":105866550094856.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798696691049406464,"description":"Unknown IO ID 45"} 
[2026-07-13 16:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689014528001,"power":13189,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798696691049406464}} 
[2026-07-13 16:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":130449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480764,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:52:40] local.INFO: GPS data processed {"connection_id":130449,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:52:40] local.INFO: Acknowledgment sent {"connection_id":130449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:52:45] local.INFO: TCP Data received {"connection_id":131493,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131493,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:52:45] local.INFO: Processing buffer {"connection_id":131493,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:52:45] local.INFO: IMEI packet received {"connection_id":131493,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":131493,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:52:46] local.INFO: TCP Data received {"connection_id":131493,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b322db8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b322db8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:52:46] local.INFO: Processing buffer {"connection_id":131493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b322db8012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:52:46] local.INFO: Packet analysis {"connection_id":131493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:52:46] local.INFO: Extracted packet for processing {"connection_id":131493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b32"} 
[2026-07-13 16:52:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688932608001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:52:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783941443000,"timestamp_ms":1783941443000,"timestamp_seconds":1783941443,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b322db8"} 
[2026-07-13 16:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 16:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131493,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131493,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688932608001,"66":24995,"86":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-07-13 16:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688932608001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:52:46] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-13 16:52:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:52:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688932608001,"power":24995,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":131493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480765,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:52:46] local.INFO: GPS data processed {"connection_id":131493,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:52:46] local.INFO: Acknowledgment sent {"connection_id":131493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:53:03] local.INFO: TCP Data received {"connection_id":131494,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:53:03] local.INFO: Processing buffer {"connection_id":131494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:53:03] local.INFO: IMEI packet received {"connection_id":131494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":131494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:53:08] local.INFO: TCP Data received {"connection_id":131494,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:53:08] local.INFO: Processing buffer {"connection_id":131494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:53:08] local.INFO: IMEI packet received {"connection_id":131494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":131494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:53:10] local.INFO: TCP Data received {"connection_id":131494,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3707e8012d7a1a4005e46780000600552d..."} 
[2026-07-13 16:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3707e8012d7a1a4005e46780000600552d..."} 
[2026-07-13 16:53:10] local.INFO: Processing buffer {"connection_id":131494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3707e8012d7a1a4005e46780000600552d..."} 
[2026-07-13 16:53:10] local.INFO: Packet analysis {"connection_id":131494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b37"} 
[2026-07-13 16:53:10] local.INFO: Extracted packet for processing {"connection_id":131494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b37"} 
[2026-07-13 16:53:10] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854784,"longitude_deg":76.2976832,"latitude_deg":9.8854784,"altitude":6,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46780","is_valid_coordinates":true} 
[2026-07-13 16:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689014528001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105866550094856192,"note":"Value kept but may cause issues"} 
[2026-07-13 16:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798696691049406464,"note":"Value kept but may cause issues"} 
[2026-07-13 16:53:10] 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-07-13 16:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783941761000,"timestamp_ms":1783941761000,"timestamp_seconds":1783941761,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3707e8"} 
[2026-07-13 16:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-13 16:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689014528001,"66":2231,"145":206,"87":12288,"24":0,"16":105866550094856192,"45":8798696691049406464},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-13 16:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689014528001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:53:10] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-13 16:53:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-13 16:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105866550094856192,"km_value":105866550094856.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798696691049406464,"description":"Unknown IO ID 45"} 
[2026-07-13 16:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689014528001,"power":2231,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798696691049406464}} 
[2026-07-13 16:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":131494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480766,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:53:10] local.INFO: GPS data processed {"connection_id":131494,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:53:10] local.INFO: Acknowledgment sent {"connection_id":131494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:53:11] local.INFO: TCP Data received {"connection_id":131492,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b336250012d7f914005afd9380008011b28..."} 
[2026-07-13 16:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b336250012d7f914005afd9380008011b28..."} 
[2026-07-13 16:53:11] local.INFO: Processing buffer {"connection_id":131492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b336250012d7f914005afd9380008011b28..."} 
[2026-07-13 16:53:11] local.INFO: Packet analysis {"connection_id":131492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b33"} 
[2026-07-13 16:53:11] local.INFO: Extracted packet for processing {"connection_id":131492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b33"} 
[2026-07-13 16:53:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688952576001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783941522000,"timestamp_ms":1783941522000,"timestamp_seconds":1783941522,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b336250"} 
[2026-07-13 16:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688952576001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688952576001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:53:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:53:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688952576001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":131492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:53:11] local.INFO: GPS data processed {"connection_id":131492,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:53:11] local.INFO: Acknowledgment sent {"connection_id":131492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:53:13] local.INFO: TCP Data received {"connection_id":131494,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3707e8012d7a1a4005e46780000600552d..."} 
[2026-07-13 16:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3707e8012d7a1a4005e46780000600552d..."} 
[2026-07-13 16:53:13] local.INFO: Processing buffer {"connection_id":131494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3707e8012d7a1a4005e46780000600552d..."} 
[2026-07-13 16:53:13] local.INFO: Packet analysis {"connection_id":131494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b37"} 
[2026-07-13 16:53:13] local.INFO: Extracted packet for processing {"connection_id":131494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b37"} 
[2026-07-13 16:53:13] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854784,"longitude_deg":76.2976832,"latitude_deg":9.8854784,"altitude":6,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46780","is_valid_coordinates":true} 
[2026-07-13 16:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689014528001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105866550094856192,"note":"Value kept but may cause issues"} 
[2026-07-13 16:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798696691049406464,"note":"Value kept but may cause issues"} 
[2026-07-13 16:53:13] 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-07-13 16:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783941761000,"timestamp_ms":1783941761000,"timestamp_seconds":1783941761,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3707e8"} 
[2026-07-13 16:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-13 16:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689014528001,"66":2231,"145":206,"87":12288,"24":0,"16":105866550094856192,"45":8798696691049406464},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-13 16:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689014528001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:53:13] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-13 16:53:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-13 16:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105866550094856192,"km_value":105866550094856.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798696691049406464,"description":"Unknown IO ID 45"} 
[2026-07-13 16:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689014528001,"power":2231,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798696691049406464}} 
[2026-07-13 16:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":131494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480768,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:53:13] local.INFO: GPS data processed {"connection_id":131494,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:53:13] local.INFO: Acknowledgment sent {"connection_id":131494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:53:17] local.INFO: TCP Data received {"connection_id":131493,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b36c580012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b36c580012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:53:17] local.INFO: Processing buffer {"connection_id":131493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b36c580012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:53:17] local.INFO: Packet analysis {"connection_id":131493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b36"} 
[2026-07-13 16:53:17] local.INFO: Extracted packet for processing {"connection_id":131493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b36"} 
[2026-07-13 16:53:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689009408001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:53:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783941744000,"timestamp_ms":1783941744000,"timestamp_seconds":1783941744,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b36c580"} 
[2026-07-13 16:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131493,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131493,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689009408001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 16:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689009408001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:53:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 16:53:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:53:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689009408001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":131493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480769,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:53:17] local.INFO: GPS data processed {"connection_id":131493,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:53:17] local.INFO: Acknowledgment sent {"connection_id":131493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:53:34] local.INFO: TCP Data received {"connection_id":130681,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:53:34] local.INFO: Processing buffer {"connection_id":130681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:53:34] local.INFO: IMEI packet received {"connection_id":130681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":130681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:53:39] local.INFO: TCP Data received {"connection_id":130681,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:53:39] local.INFO: Processing buffer {"connection_id":130681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:53:39] local.INFO: IMEI packet received {"connection_id":130681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":130681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:53:40] local.INFO: TCP Data received {"connection_id":130682,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130682,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:53:40] local.INFO: Processing buffer {"connection_id":130682,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:53:40] local.INFO: IMEI packet received {"connection_id":130682,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":130682,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:53:40] local.INFO: TCP Data received {"connection_id":130681,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b336250012d7f914005afd9380008011b28..."} 
[2026-07-13 16:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b336250012d7f914005afd9380008011b28..."} 
[2026-07-13 16:53:40] local.INFO: Processing buffer {"connection_id":130681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b336250012d7f914005afd9380008011b28..."} 
[2026-07-13 16:53:40] local.INFO: Packet analysis {"connection_id":130681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b33"} 
[2026-07-13 16:53:40] local.INFO: Extracted packet for processing {"connection_id":130681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b33"} 
[2026-07-13 16:53:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688952576001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783941522000,"timestamp_ms":1783941522000,"timestamp_seconds":1783941522,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b336250"} 
[2026-07-13 16:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688952576001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688952576001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:53:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:53:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688952576001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":130681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:53:40] local.INFO: GPS data processed {"connection_id":130681,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:53:40] local.INFO: Acknowledgment sent {"connection_id":130681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:53:45] local.INFO: TCP Data received {"connection_id":130682,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130682,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:53:45] local.INFO: Processing buffer {"connection_id":130682,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:53:45] local.INFO: IMEI packet received {"connection_id":130682,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":130682,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:53:46] local.INFO: TCP Data received {"connection_id":130682,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b36c580012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b36c580012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:53:46] local.INFO: Processing buffer {"connection_id":130682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b36c580012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:53:46] local.INFO: Packet analysis {"connection_id":130682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b36"} 
[2026-07-13 16:53:46] local.INFO: Extracted packet for processing {"connection_id":130682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b36"} 
[2026-07-13 16:53:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689009408001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:53:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783941744000,"timestamp_ms":1783941744000,"timestamp_seconds":1783941744,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b36c580"} 
[2026-07-13 16:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689009408001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 16:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689009408001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:53:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 16:53:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:53:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689009408001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":130682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480771,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:53:46] local.INFO: GPS data processed {"connection_id":130682,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:53:46] local.INFO: Acknowledgment sent {"connection_id":130682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:53:58] local.INFO: TCP Data received {"connection_id":132818,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:53:58] local.INFO: Processing buffer {"connection_id":132818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:53:58] local.INFO: IMEI packet received {"connection_id":132818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":132818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:54:03] local.INFO: TCP Data received {"connection_id":132818,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:54:03] local.INFO: Processing buffer {"connection_id":132818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:54:03] local.INFO: IMEI packet received {"connection_id":132818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":132818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:54:04] local.INFO: TCP Data received {"connection_id":132818,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3707e8012d7a1a4005e46780000600552d..."} 
[2026-07-13 16:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3707e8012d7a1a4005e46780000600552d..."} 
[2026-07-13 16:54:04] local.INFO: Processing buffer {"connection_id":132818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3707e8012d7a1a4005e46780000600552d..."} 
[2026-07-13 16:54:04] local.INFO: Packet analysis {"connection_id":132818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b37"} 
[2026-07-13 16:54:04] local.INFO: Extracted packet for processing {"connection_id":132818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b37"} 
[2026-07-13 16:54:04] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854784,"longitude_deg":76.2976832,"latitude_deg":9.8854784,"altitude":6,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46780","is_valid_coordinates":true} 
[2026-07-13 16:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689014528001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105866550094856192,"note":"Value kept but may cause issues"} 
[2026-07-13 16:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798696691049406464,"note":"Value kept but may cause issues"} 
[2026-07-13 16:54: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-07-13 16:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783941761000,"timestamp_ms":1783941761000,"timestamp_seconds":1783941761,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3707e8"} 
[2026-07-13 16:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-13 16:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689014528001,"66":2231,"145":206,"87":12288,"24":0,"16":105866550094856192,"45":8798696691049406464},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-13 16:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689014528001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:54:04] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-13 16:54:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-13 16:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105866550094856192,"km_value":105866550094856.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798696691049406464,"description":"Unknown IO ID 45"} 
[2026-07-13 16:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689014528001,"power":2231,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798696691049406464}} 
[2026-07-13 16:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":132818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480772,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:54:04] local.INFO: GPS data processed {"connection_id":132818,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:54:04] local.INFO: Acknowledgment sent {"connection_id":132818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:54:08] local.INFO: TCP Data received {"connection_id":132818,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3707e8012d7a1a4005e46780000600552d..."} 
[2026-07-13 16:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3707e8012d7a1a4005e46780000600552d..."} 
[2026-07-13 16:54:08] local.INFO: Processing buffer {"connection_id":132818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3707e8012d7a1a4005e46780000600552d..."} 
[2026-07-13 16:54:08] local.INFO: Packet analysis {"connection_id":132818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b37"} 
[2026-07-13 16:54:08] local.INFO: Extracted packet for processing {"connection_id":132818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b37"} 
[2026-07-13 16:54:08] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854784,"longitude_deg":76.2976832,"latitude_deg":9.8854784,"altitude":6,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46780","is_valid_coordinates":true} 
[2026-07-13 16:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689014528001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105866550094856192,"note":"Value kept but may cause issues"} 
[2026-07-13 16:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798696691049406464,"note":"Value kept but may cause issues"} 
[2026-07-13 16:54: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-07-13 16:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783941761000,"timestamp_ms":1783941761000,"timestamp_seconds":1783941761,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3707e8"} 
[2026-07-13 16:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-13 16:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689014528001,"66":2231,"145":206,"87":12288,"24":0,"16":105866550094856192,"45":8798696691049406464},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-13 16:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689014528001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:54:08] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-13 16:54:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-13 16:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105866550094856192,"km_value":105866550094856.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798696691049406464,"description":"Unknown IO ID 45"} 
[2026-07-13 16:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689014528001,"power":2231,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798696691049406464}} 
[2026-07-13 16:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":132818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480773,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:54:08] local.INFO: GPS data processed {"connection_id":132818,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:54:08] local.INFO: Acknowledgment sent {"connection_id":132818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:54:11] local.INFO: TCP Data received {"connection_id":130681,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b336250012d7f914005afd9380008011b28..."} 
[2026-07-13 16:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b336250012d7f914005afd9380008011b28..."} 
[2026-07-13 16:54:11] local.INFO: Processing buffer {"connection_id":130681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b336250012d7f914005afd9380008011b28..."} 
[2026-07-13 16:54:11] local.INFO: Packet analysis {"connection_id":130681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b33"} 
[2026-07-13 16:54:11] local.INFO: Extracted packet for processing {"connection_id":130681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b33"} 
[2026-07-13 16:54:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":8,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456688952576001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783941522000,"timestamp_ms":1783941522000,"timestamp_seconds":1783941522,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b336250"} 
[2026-07-13 16:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 16:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456688952576001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456688952576001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:54:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:54:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456688952576001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":130681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:54:11] local.INFO: GPS data processed {"connection_id":130681,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:54:11] local.INFO: Acknowledgment sent {"connection_id":130681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:54:18] local.INFO: TCP Data received {"connection_id":130682,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b36c580012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b36c580012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:54:18] local.INFO: Processing buffer {"connection_id":130682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b36c580012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:54:18] local.INFO: Packet analysis {"connection_id":130682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b36"} 
[2026-07-13 16:54:18] local.INFO: Extracted packet for processing {"connection_id":130682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b36"} 
[2026-07-13 16:54:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689009408001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:54:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783941744000,"timestamp_ms":1783941744000,"timestamp_seconds":1783941744,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b36c580"} 
[2026-07-13 16:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689009408001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 16:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689009408001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:54:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 16:54:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:54:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689009408001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":130682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480775,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:54:19] local.INFO: GPS data processed {"connection_id":130682,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:54:19] local.INFO: Acknowledgment sent {"connection_id":130682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:54:39] local.INFO: TCP Data received {"connection_id":130450,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:54:39] local.INFO: Processing buffer {"connection_id":130450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:54:39] local.INFO: IMEI packet received {"connection_id":130450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":130450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:54:40] local.INFO: TCP Data received {"connection_id":132818,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b38bd68012d7a1a4005e467800006005532..."} 
[2026-07-13 16:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b38bd68012d7a1a4005e467800006005532..."} 
[2026-07-13 16:54:40] local.INFO: Processing buffer {"connection_id":132818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b38bd68012d7a1a4005e467800006005532..."} 
[2026-07-13 16:54:40] local.INFO: Packet analysis {"connection_id":132818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b38"} 
[2026-07-13 16:54:40] local.INFO: Extracted packet for processing {"connection_id":132818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b38"} 
[2026-07-13 16:54:40] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":98854784,"longitude_deg":76.2976832,"latitude_deg":9.8854784,"altitude":6,"angle":85,"satellites":50,"speed":0,"hex_longitude":"2d7a1a40","hex_latitude":"05e46780","is_valid_coordinates":true} 
[2026-07-13 16:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689090816001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105866550094856192,"note":"Value kept but may cause issues"} 
[2026-07-13 16:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216072687616,"note":"Value kept but may cause issues"} 
[2026-07-13 16:54:40] 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-07-13 16:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783941873000,"timestamp_ms":1783941873000,"timestamp_seconds":1783941873,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b38bd68"} 
[2026-07-13 16:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-13 16:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 16:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 16:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 16:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689090816001,"66":2242,"145":206,"87":12288,"24":0,"16":105866550094856192,"45":8798415216072687616},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-07-13 16:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 16:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 16:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689090816001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:54:40] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-13 16:54:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-13 16:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105866550094856192,"km_value":105866550094856.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216072687616,"description":"Unknown IO ID 45"} 
[2026-07-13 16:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689090816001,"power":2242,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798415216072687616}} 
[2026-07-13 16:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":132818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480776,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:54:40] local.INFO: GPS data processed {"connection_id":132818,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:54:40] local.INFO: Acknowledgment sent {"connection_id":132818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:54:40] local.INFO: TCP Data received {"connection_id":130451,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130451,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:54:40] local.INFO: Processing buffer {"connection_id":130451,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:54:40] local.INFO: IMEI packet received {"connection_id":130451,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":130451,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:54:44] local.INFO: TCP Data received {"connection_id":130450,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:54:44] local.INFO: Processing buffer {"connection_id":130450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:54:44] local.INFO: IMEI packet received {"connection_id":130450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":130450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:54:45] local.INFO: TCP Data received {"connection_id":130451,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130451,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:54:45] local.INFO: Processing buffer {"connection_id":130451,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:54:45] local.INFO: IMEI packet received {"connection_id":130451,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":130451,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:54:45] local.INFO: TCP Data received {"connection_id":130450,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b37fa18012d7f914005afd9380009011b23..."} 
[2026-07-13 16:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b37fa18012d7f914005afd9380009011b23..."} 
[2026-07-13 16:54:45] local.INFO: Processing buffer {"connection_id":130450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b37fa18012d7f914005afd9380009011b23..."} 
[2026-07-13 16:54:45] local.INFO: Packet analysis {"connection_id":130450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b37"} 
[2026-07-13 16:54:45] local.INFO: Extracted packet for processing {"connection_id":130450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b37"} 
[2026-07-13 16:54:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":9,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689029632001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783941823000,"timestamp_ms":1783941823000,"timestamp_seconds":1783941823,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b37fa18"} 
[2026-07-13 16:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 16:54:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:54:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689029632001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689029632001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:54:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:54:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689029632001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":130450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:54:45] local.INFO: GPS data processed {"connection_id":130450,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:54:45] local.INFO: Acknowledgment sent {"connection_id":130450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:54:46] local.INFO: TCP Data received {"connection_id":130451,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b36c580012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b36c580012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:54:46] local.INFO: Processing buffer {"connection_id":130451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b36c580012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:54:46] local.INFO: Packet analysis {"connection_id":130451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b36"} 
[2026-07-13 16:54:46] local.INFO: Extracted packet for processing {"connection_id":130451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b36"} 
[2026-07-13 16:54:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689009408001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:54:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783941744000,"timestamp_ms":1783941744000,"timestamp_seconds":1783941744,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b36c580"} 
[2026-07-13 16:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130451,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130451,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689009408001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 16:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689009408001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:54:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 16:54:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:54:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689009408001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":130451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480778,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:54:46] local.INFO: GPS data processed {"connection_id":130451,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:54:46] local.INFO: Acknowledgment sent {"connection_id":130451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:55:03] local.INFO: TCP Data received {"connection_id":130452,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:55:03] local.INFO: Processing buffer {"connection_id":130452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:55:03] local.INFO: IMEI packet received {"connection_id":130452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 16:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":130452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:55:03] local.INFO: TCP Data received {"connection_id":130452,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:55:03] local.INFO: Processing buffer {"connection_id":130452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:55:03] local.INFO: IMEI packet received {"connection_id":130452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":130452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:55:04] local.INFO: TCP Data received {"connection_id":130452,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:55:04] local.INFO: Processing buffer {"connection_id":130452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:55:04] local.INFO: IMEI packet received {"connection_id":130452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":130452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:55:05] local.INFO: TCP Data received {"connection_id":130452,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:55:05] local.INFO: Processing buffer {"connection_id":130452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 16:55:05] local.INFO: IMEI packet received {"connection_id":130452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 16:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":130452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:55:16] local.INFO: TCP Data received {"connection_id":130450,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b37fa18012d7f914005afd9380009011b23..."} 
[2026-07-13 16:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b37fa18012d7f914005afd9380009011b23..."} 
[2026-07-13 16:55:16] local.INFO: Processing buffer {"connection_id":130450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b37fa18012d7f914005afd9380009011b23..."} 
[2026-07-13 16:55:16] local.INFO: Packet analysis {"connection_id":130450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b37"} 
[2026-07-13 16:55:16] local.INFO: Extracted packet for processing {"connection_id":130450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b37"} 
[2026-07-13 16:55:16] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":9,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689029632001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783941823000,"timestamp_ms":1783941823000,"timestamp_seconds":1783941823,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b37fa18"} 
[2026-07-13 16:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 16:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689029632001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689029632001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:55:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:55:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689029632001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":130450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:55:16] local.INFO: GPS data processed {"connection_id":130450,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:55:16] local.INFO: Acknowledgment sent {"connection_id":130450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:55:18] local.INFO: TCP Data received {"connection_id":130451,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b36c580012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b36c580012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:55:18] local.INFO: Processing buffer {"connection_id":130451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b36c580012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:55:18] local.INFO: Packet analysis {"connection_id":130451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b36"} 
[2026-07-13 16:55:18] local.INFO: Extracted packet for processing {"connection_id":130451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b36"} 
[2026-07-13 16:55:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689009408001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:55:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783941744000,"timestamp_ms":1783941744000,"timestamp_seconds":1783941744,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b36c580"} 
[2026-07-13 16:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130451,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130451,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689009408001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 16:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689009408001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:55:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 16:55:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:55:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689009408001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":130451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480780,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:55:18] local.INFO: GPS data processed {"connection_id":130451,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:55:18] local.INFO: Acknowledgment sent {"connection_id":130451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:55:34] local.INFO: TCP Data received {"connection_id":130683,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:55:34] local.INFO: Processing buffer {"connection_id":130683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:55:34] local.INFO: IMEI packet received {"connection_id":130683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":130683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:55:39] local.INFO: TCP Data received {"connection_id":130683,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:55:39] local.INFO: Processing buffer {"connection_id":130683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:55:39] local.INFO: IMEI packet received {"connection_id":130683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":130683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:55:39] local.INFO: TCP Data received {"connection_id":132819,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:55:39] local.INFO: Processing buffer {"connection_id":132819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:55:39] local.INFO: IMEI packet received {"connection_id":132819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":132819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:55:40] local.INFO: TCP Data received {"connection_id":130683,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b37fa18012d7f914005afd9380009011b23..."} 
[2026-07-13 16:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b37fa18012d7f914005afd9380009011b23..."} 
[2026-07-13 16:55:40] local.INFO: Processing buffer {"connection_id":130683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b37fa18012d7f914005afd9380009011b23..."} 
[2026-07-13 16:55:40] local.INFO: Packet analysis {"connection_id":130683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b37"} 
[2026-07-13 16:55:40] local.INFO: Extracted packet for processing {"connection_id":130683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b37"} 
[2026-07-13 16:55:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":9,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689029632001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783941823000,"timestamp_ms":1783941823000,"timestamp_seconds":1783941823,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b37fa18"} 
[2026-07-13 16:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 16:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689029632001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689029632001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:55:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:55:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689029632001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":130683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:55:40] local.INFO: GPS data processed {"connection_id":130683,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:55:40] local.INFO: Acknowledgment sent {"connection_id":130683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:55:45] local.INFO: TCP Data received {"connection_id":132819,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:55:45] local.INFO: Processing buffer {"connection_id":132819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:55:45] local.INFO: IMEI packet received {"connection_id":132819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":132819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:55:46] local.INFO: TCP Data received {"connection_id":132819,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b36c580012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b36c580012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:55:46] local.INFO: Processing buffer {"connection_id":132819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b36c580012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:55:46] local.INFO: Packet analysis {"connection_id":132819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b36"} 
[2026-07-13 16:55:46] local.INFO: Extracted packet for processing {"connection_id":132819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b36"} 
[2026-07-13 16:55:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689009408001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:55:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783941744000,"timestamp_ms":1783941744000,"timestamp_seconds":1783941744,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b36c580"} 
[2026-07-13 16:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689009408001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 16:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689009408001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:55:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 16:55:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:55:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689009408001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":132819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480782,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:55:46] local.INFO: GPS data processed {"connection_id":132819,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:55:46] local.INFO: Acknowledgment sent {"connection_id":132819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:56:11] local.INFO: TCP Data received {"connection_id":130683,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b37fa18012d7f914005afd9380009011b23..."} 
[2026-07-13 16:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b37fa18012d7f914005afd9380009011b23..."} 
[2026-07-13 16:56:11] local.INFO: Processing buffer {"connection_id":130683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b37fa18012d7f914005afd9380009011b23..."} 
[2026-07-13 16:56:11] local.INFO: Packet analysis {"connection_id":130683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b37"} 
[2026-07-13 16:56:11] local.INFO: Extracted packet for processing {"connection_id":130683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b37"} 
[2026-07-13 16:56:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":9,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689029632001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783941823000,"timestamp_ms":1783941823000,"timestamp_seconds":1783941823,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b37fa18"} 
[2026-07-13 16:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 16:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689029632001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689029632001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:56:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:56:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689029632001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":130683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:56:11] local.INFO: GPS data processed {"connection_id":130683,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:56:11] local.INFO: Acknowledgment sent {"connection_id":130683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:56:18] local.INFO: TCP Data received {"connection_id":132819,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b36c580012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b36c580012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:56:18] local.INFO: Processing buffer {"connection_id":132819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b36c580012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:56:18] local.INFO: Packet analysis {"connection_id":132819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b36"} 
[2026-07-13 16:56:18] local.INFO: Extracted packet for processing {"connection_id":132819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b36"} 
[2026-07-13 16:56:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689009408001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:56:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783941744000,"timestamp_ms":1783941744000,"timestamp_seconds":1783941744,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b36c580"} 
[2026-07-13 16:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689009408001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 16:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689009408001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:56:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 16:56:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:56:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689009408001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":132819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480784,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:56:18] local.INFO: GPS data processed {"connection_id":132819,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:56:18] local.INFO: Acknowledgment sent {"connection_id":132819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:56:34] local.INFO: TCP Data received {"connection_id":130453,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:56:34] local.INFO: Processing buffer {"connection_id":130453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:56:34] local.INFO: IMEI packet received {"connection_id":130453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":130453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:56:39] local.INFO: TCP Data received {"connection_id":130453,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:56:39] local.INFO: Processing buffer {"connection_id":130453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:56:39] local.INFO: IMEI packet received {"connection_id":130453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":130453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:56:40] local.INFO: TCP Data received {"connection_id":130453,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b37fa18012d7f914005afd9380009011b23..."} 
[2026-07-13 16:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b37fa18012d7f914005afd9380009011b23..."} 
[2026-07-13 16:56:40] local.INFO: Processing buffer {"connection_id":130453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b37fa18012d7f914005afd9380009011b23..."} 
[2026-07-13 16:56:40] local.INFO: Packet analysis {"connection_id":130453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b37"} 
[2026-07-13 16:56:40] local.INFO: Extracted packet for processing {"connection_id":130453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b37"} 
[2026-07-13 16:56:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":9,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689029632001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783941823000,"timestamp_ms":1783941823000,"timestamp_seconds":1783941823,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b37fa18"} 
[2026-07-13 16:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 16:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689029632001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689029632001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:56:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:56:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689029632001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":130453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:56:40] local.INFO: GPS data processed {"connection_id":130453,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:56:40] local.INFO: Acknowledgment sent {"connection_id":130453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:56:45] local.INFO: TCP Data received {"connection_id":130454,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:56:45] local.INFO: Processing buffer {"connection_id":130454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:56:45] local.INFO: IMEI packet received {"connection_id":130454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":130454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:56:50] local.INFO: TCP Data received {"connection_id":130454,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:56:50] local.INFO: Processing buffer {"connection_id":130454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:56:50] local.INFO: IMEI packet received {"connection_id":130454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":130454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:56:51] local.INFO: TCP Data received {"connection_id":130454,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b36c580012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b36c580012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:56:51] local.INFO: Processing buffer {"connection_id":130454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b36c580012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:56:51] local.INFO: Packet analysis {"connection_id":130454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b36"} 
[2026-07-13 16:56:51] local.INFO: Extracted packet for processing {"connection_id":130454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b36"} 
[2026-07-13 16:56:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689009408001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:56:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783941744000,"timestamp_ms":1783941744000,"timestamp_seconds":1783941744,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b36c580"} 
[2026-07-13 16:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689009408001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 16:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689009408001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:56:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 16:56:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:56:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689009408001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":130454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480786,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:56:51] local.INFO: GPS data processed {"connection_id":130454,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:56:51] local.INFO: Acknowledgment sent {"connection_id":130454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:56:55] local.INFO: TCP Data received {"connection_id":130454,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b36c580012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b36c580012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:56:55] local.INFO: Processing buffer {"connection_id":130454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b36c580012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:56:55] local.INFO: Packet analysis {"connection_id":130454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b36"} 
[2026-07-13 16:56:55] local.INFO: Extracted packet for processing {"connection_id":130454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b36"} 
[2026-07-13 16:56:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689009408001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:56:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783941744000,"timestamp_ms":1783941744000,"timestamp_seconds":1783941744,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b36c580"} 
[2026-07-13 16:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689009408001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 16:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689009408001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:56:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 16:56:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:56:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689009408001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":130454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480787,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:56:55] local.INFO: GPS data processed {"connection_id":130454,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:56:55] local.INFO: Acknowledgment sent {"connection_id":130454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:57:11] local.INFO: TCP Data received {"connection_id":130453,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b37fa18012d7f914005afd9380009011b23..."} 
[2026-07-13 16:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b37fa18012d7f914005afd9380009011b23..."} 
[2026-07-13 16:57:11] local.INFO: Processing buffer {"connection_id":130453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b37fa18012d7f914005afd9380009011b23..."} 
[2026-07-13 16:57:11] local.INFO: Packet analysis {"connection_id":130453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b37"} 
[2026-07-13 16:57:11] local.INFO: Extracted packet for processing {"connection_id":130453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b37"} 
[2026-07-13 16:57:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":9,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689029632001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783941823000,"timestamp_ms":1783941823000,"timestamp_seconds":1783941823,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b37fa18"} 
[2026-07-13 16:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 16:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689029632001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689029632001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:57:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:57:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689029632001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":130453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:57:11] local.INFO: GPS data processed {"connection_id":130453,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:57:11] local.INFO: Acknowledgment sent {"connection_id":130453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:57:34] local.INFO: TCP Data received {"connection_id":132821,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:57:34] local.INFO: Processing buffer {"connection_id":132821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:57:34] local.INFO: IMEI packet received {"connection_id":132821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":132821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:57:39] local.INFO: TCP Data received {"connection_id":132821,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:57:39] local.INFO: Processing buffer {"connection_id":132821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:57:39] local.INFO: IMEI packet received {"connection_id":132821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":132821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:57:40] local.INFO: TCP Data received {"connection_id":130684,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130684,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:57:40] local.INFO: Processing buffer {"connection_id":130684,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:57:40] local.INFO: IMEI packet received {"connection_id":130684,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":130684,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:57:40] local.INFO: TCP Data received {"connection_id":132821,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b37fa18012d7f914005afd9380009011b23..."} 
[2026-07-13 16:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b37fa18012d7f914005afd9380009011b23..."} 
[2026-07-13 16:57:40] local.INFO: Processing buffer {"connection_id":132821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b37fa18012d7f914005afd9380009011b23..."} 
[2026-07-13 16:57:40] local.INFO: Packet analysis {"connection_id":132821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b37"} 
[2026-07-13 16:57:40] local.INFO: Extracted packet for processing {"connection_id":132821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b37"} 
[2026-07-13 16:57:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":9,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689029632001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783941823000,"timestamp_ms":1783941823000,"timestamp_seconds":1783941823,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b37fa18"} 
[2026-07-13 16:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 16:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689029632001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689029632001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:57:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:57:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689029632001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":132821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:57:40] local.INFO: GPS data processed {"connection_id":132821,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:57:40] local.INFO: Acknowledgment sent {"connection_id":132821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:57:45] local.INFO: TCP Data received {"connection_id":130684,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130684,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:57:45] local.INFO: Processing buffer {"connection_id":130684,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:57:45] local.INFO: IMEI packet received {"connection_id":130684,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":130684,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:57:46] local.INFO: TCP Data received {"connection_id":130684,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b36c580012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b36c580012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:57:46] local.INFO: Processing buffer {"connection_id":130684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b36c580012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:57:46] local.INFO: Packet analysis {"connection_id":130684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b36"} 
[2026-07-13 16:57:46] local.INFO: Extracted packet for processing {"connection_id":130684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b36"} 
[2026-07-13 16:57:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689009408001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:57:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783941744000,"timestamp_ms":1783941744000,"timestamp_seconds":1783941744,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b36c580"} 
[2026-07-13 16:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130684,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130684,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689009408001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 16:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689009408001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:57:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 16:57:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:57:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689009408001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":130684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480790,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:57:46] local.INFO: GPS data processed {"connection_id":130684,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:57:46] local.INFO: Acknowledgment sent {"connection_id":130684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:58:11] local.INFO: TCP Data received {"connection_id":132821,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b37fa18012d7f914005afd9380009011b23..."} 
[2026-07-13 16:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b37fa18012d7f914005afd9380009011b23..."} 
[2026-07-13 16:58:11] local.INFO: Processing buffer {"connection_id":132821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b37fa18012d7f914005afd9380009011b23..."} 
[2026-07-13 16:58:11] local.INFO: Packet analysis {"connection_id":132821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b37"} 
[2026-07-13 16:58:11] local.INFO: Extracted packet for processing {"connection_id":132821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b37"} 
[2026-07-13 16:58:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":9,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689029632001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783941823000,"timestamp_ms":1783941823000,"timestamp_seconds":1783941823,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b37fa18"} 
[2026-07-13 16:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 16:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689029632001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689029632001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:58:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:58:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689029632001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":132821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:58:11] local.INFO: GPS data processed {"connection_id":132821,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:58:11] local.INFO: Acknowledgment sent {"connection_id":132821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:58:17] local.INFO: TCP Data received {"connection_id":130684,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3b5d48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3b5d48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:58:17] local.INFO: Processing buffer {"connection_id":130684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3b5d48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:58:17] local.INFO: Packet analysis {"connection_id":130684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3b"} 
[2026-07-13 16:58:17] local.INFO: Extracted packet for processing {"connection_id":130684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3b"} 
[2026-07-13 16:58:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689086464001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:58:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783942045000,"timestamp_ms":1783942045000,"timestamp_seconds":1783942045,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3b5d48"} 
[2026-07-13 16:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:58: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-07-13 16: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130684,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130684,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689086464001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 16:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689086464001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:58:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 16:58:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:58:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689086464001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":130684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480792,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:58:17] local.INFO: GPS data processed {"connection_id":130684,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:58:17] local.INFO: Acknowledgment sent {"connection_id":130684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:58:34] local.INFO: TCP Data received {"connection_id":130455,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:58:34] local.INFO: Processing buffer {"connection_id":130455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:58:34] local.INFO: IMEI packet received {"connection_id":130455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":130455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:58:39] local.INFO: TCP Data received {"connection_id":130455,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:58:39] local.INFO: Processing buffer {"connection_id":130455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:58:39] local.INFO: IMEI packet received {"connection_id":130455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":130455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:58:39] local.INFO: TCP Data received {"connection_id":131496,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:58:39] local.INFO: Processing buffer {"connection_id":131496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:58:39] local.INFO: IMEI packet received {"connection_id":131496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":131496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:58:40] local.INFO: TCP Data received {"connection_id":130455,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b37fa18012d7f914005afd9380009011b23..."} 
[2026-07-13 16:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b37fa18012d7f914005afd9380009011b23..."} 
[2026-07-13 16:58:40] local.INFO: Processing buffer {"connection_id":130455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b37fa18012d7f914005afd9380009011b23..."} 
[2026-07-13 16:58:40] local.INFO: Packet analysis {"connection_id":130455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b37"} 
[2026-07-13 16:58:40] local.INFO: Extracted packet for processing {"connection_id":130455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b37"} 
[2026-07-13 16:58:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":9,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689029632001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783941823000,"timestamp_ms":1783941823000,"timestamp_seconds":1783941823,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b37fa18"} 
[2026-07-13 16:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 16:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689029632001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689029632001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:58:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:58:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689029632001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":130455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:58:40] local.INFO: GPS data processed {"connection_id":130455,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:58:40] local.INFO: Acknowledgment sent {"connection_id":130455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:58:45] local.INFO: TCP Data received {"connection_id":131496,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:58:45] local.INFO: Processing buffer {"connection_id":131496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:58:45] local.INFO: IMEI packet received {"connection_id":131496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":131496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:58:46] local.INFO: TCP Data received {"connection_id":131496,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3b5d48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3b5d48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:58:46] local.INFO: Processing buffer {"connection_id":131496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3b5d48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:58:46] local.INFO: Packet analysis {"connection_id":131496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3b"} 
[2026-07-13 16:58:46] local.INFO: Extracted packet for processing {"connection_id":131496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3b"} 
[2026-07-13 16:58:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689086464001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:58:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783942045000,"timestamp_ms":1783942045000,"timestamp_seconds":1783942045,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3b5d48"} 
[2026-07-13 16:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689086464001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 16:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689086464001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:58:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 16:58:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:58:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689086464001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":131496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480794,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:58:46] local.INFO: GPS data processed {"connection_id":131496,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:58:46] local.INFO: Acknowledgment sent {"connection_id":131496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:59:11] local.INFO: TCP Data received {"connection_id":130455,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b37fa18012d7f914005afd9380009011b23..."} 
[2026-07-13 16:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b37fa18012d7f914005afd9380009011b23..."} 
[2026-07-13 16:59:11] local.INFO: Processing buffer {"connection_id":130455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b37fa18012d7f914005afd9380009011b23..."} 
[2026-07-13 16:59:11] local.INFO: Packet analysis {"connection_id":130455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b37"} 
[2026-07-13 16:59:11] local.INFO: Extracted packet for processing {"connection_id":130455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b37"} 
[2026-07-13 16:59:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":9,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689029632001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783941823000,"timestamp_ms":1783941823000,"timestamp_seconds":1783941823,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b37fa18"} 
[2026-07-13 16:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 16:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689029632001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689029632001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:59:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:59:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689029632001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":130455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:59:11] local.INFO: GPS data processed {"connection_id":130455,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:59:11] local.INFO: Acknowledgment sent {"connection_id":130455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:59:17] local.INFO: TCP Data received {"connection_id":131496,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3b5d48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3b5d48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:59:17] local.INFO: Processing buffer {"connection_id":131496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3b5d48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:59:17] local.INFO: Packet analysis {"connection_id":131496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3b"} 
[2026-07-13 16:59:17] local.INFO: Extracted packet for processing {"connection_id":131496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3b"} 
[2026-07-13 16:59:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 16:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689086464001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:59:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783942045000,"timestamp_ms":1783942045000,"timestamp_seconds":1783942045,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3b5d48"} 
[2026-07-13 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-07-13 16: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-07-13 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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 16:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689086464001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 16:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689086464001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:59:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 16:59:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:59:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689086464001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":131496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480796,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:59:17] local.INFO: GPS data processed {"connection_id":131496,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:59:17] local.INFO: Acknowledgment sent {"connection_id":131496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:59:39] local.INFO: TCP Data received {"connection_id":130685,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:59:39] local.INFO: Processing buffer {"connection_id":130685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:59:39] local.INFO: IMEI packet received {"connection_id":130685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 16:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":130685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:59:39] local.INFO: TCP Data received {"connection_id":130456,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130456,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:59:39] local.INFO: Processing buffer {"connection_id":130456,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:59:39] local.INFO: IMEI packet received {"connection_id":130456,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 16:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":130456,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 16:59:44] local.INFO: TCP Data received {"connection_id":130685,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:59:44] local.INFO: Processing buffer {"connection_id":130685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 16:59:44] local.INFO: IMEI packet received {"connection_id":130685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 16:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":130685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:59:45] local.INFO: TCP Data received {"connection_id":130456,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130456,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:59:45] local.INFO: Processing buffer {"connection_id":130456,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 16:59:45] local.INFO: IMEI packet received {"connection_id":130456,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 16:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":130456,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 16:59:45] local.INFO: TCP Data received {"connection_id":130685,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3c91e0012d7f914005afd938000c011b26..."} 
[2026-07-13 16:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3c91e0012d7f914005afd938000c011b26..."} 
[2026-07-13 16:59:45] local.INFO: Processing buffer {"connection_id":130685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3c91e0012d7f914005afd938000c011b26..."} 
[2026-07-13 16:59:45] local.INFO: Packet analysis {"connection_id":130685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3c"} 
[2026-07-13 16:59:45] local.INFO: Extracted packet for processing {"connection_id":130685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3c"} 
[2026-07-13 16:59:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689106688001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783942124000,"timestamp_ms":1783942124000,"timestamp_seconds":1783942124,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3c91e0"} 
[2026-07-13 16:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 16:59:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689106688001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689106688001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:59:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:59:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689106688001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":130685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:59:45] local.INFO: GPS data processed {"connection_id":130685,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:59:45] local.INFO: Acknowledgment sent {"connection_id":130685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:59:46] local.INFO: TCP Data received {"connection_id":130456,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3b5d48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3b5d48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:59:46] local.INFO: Processing buffer {"connection_id":130456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3b5d48012cb29ac007823bf8004700e028..."} 
[2026-07-13 16:59:46] local.INFO: Packet analysis {"connection_id":130456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3b"} 
[2026-07-13 16:59:46] local.INFO: Extracted packet for processing {"connection_id":130456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3b"} 
[2026-07-13 16:59:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 16:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689086464001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 16:59:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 16:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783942045000,"timestamp_ms":1783942045000,"timestamp_seconds":1783942045,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3b5d48"} 
[2026-07-13 16:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 16:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 16:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 16:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 16:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689086464001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 16:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 16:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 16:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689086464001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:59:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 16:59:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 16:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:59:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 16:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689086464001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 16:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":130456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480798,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:59:46] local.INFO: GPS data processed {"connection_id":130456,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:59:46] local.INFO: Acknowledgment sent {"connection_id":130456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 16:59:50] local.INFO: TCP Data received {"connection_id":130685,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3c91e0012d7f914005afd938000c011b26..."} 
[2026-07-13 16:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3c91e0012d7f914005afd938000c011b26..."} 
[2026-07-13 16:59:50] local.INFO: Processing buffer {"connection_id":130685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3c91e0012d7f914005afd938000c011b26..."} 
[2026-07-13 16:59:50] local.INFO: Packet analysis {"connection_id":130685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3c"} 
[2026-07-13 16:59:50] local.INFO: Extracted packet for processing {"connection_id":130685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3c"} 
[2026-07-13 16:59:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 16:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 16:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689106688001,"note":"Value kept but may cause issues"} 
[2026-07-13 16:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 16:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 16:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 16:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783942124000,"timestamp_ms":1783942124000,"timestamp_seconds":1783942124,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3c91e0"} 
[2026-07-13 16:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 16:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 16: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 16:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 16:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 16:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 16:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 16:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 16:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 16:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 16:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 16:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 16:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689106688001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 16:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 16:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 16:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689106688001,"description":"Unknown IO ID 0"} 
[2026-07-13 16:59:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 16:59:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 16:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 16:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 16:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689106688001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 16:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":130685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 16:59:50] local.INFO: GPS data processed {"connection_id":130685,"processed":1,"errors":0,"total":1} 
[2026-07-13 16:59:50] local.INFO: Acknowledgment sent {"connection_id":130685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:00:08] local.INFO: TCP Data received {"connection_id":131498,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:00:08] local.INFO: Processing buffer {"connection_id":131498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:00:08] local.INFO: IMEI packet received {"connection_id":131498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":131498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:00:09] local.INFO: TCP Data received {"connection_id":131498,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3ca180012d7b16c005e2fb30000700ab25..."} 
[2026-07-13 17:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3ca180012d7b16c005e2fb30000700ab25..."} 
[2026-07-13 17:00:09] local.INFO: Processing buffer {"connection_id":131498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3ca180012d7b16c005e2fb30000700ab25..."} 
[2026-07-13 17:00:09] local.INFO: Packet analysis {"connection_id":131498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3c"} 
[2026-07-13 17:00:09] local.INFO: Extracted packet for processing {"connection_id":131498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3c"} 
[2026-07-13 17:00:09] local.INFO: GPS Element Parsed {"raw_longitude":763041472,"raw_latitude":98761520,"longitude_deg":76.3041472,"latitude_deg":9.876152,"altitude":7,"angle":171,"satellites":37,"speed":27,"hex_longitude":"2d7b16c0","hex_latitude":"05e2fb30","is_valid_coordinates":true} 
[2026-07-13 17:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689180928001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105872867991748608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867306216601073664,"note":"Value kept but may cause issues"} 
[2026-07-13 17:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783942128000,"timestamp_ms":1783942128000,"timestamp_seconds":1783942128,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3ca180"} 
[2026-07-13 17:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-13 17:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":131498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":131498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":131498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:00: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-07-13 17:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689180928001,"66":13222,"97":206,"85":15104,"24":27,"16":105872867991748608,"45":8867306216601073664},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 17:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689180928001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:00:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 17:00:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105872867991748608,"km_value":105872867991748.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867306216601073664,"description":"Unknown IO ID 45"} 
[2026-07-13 17:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689180928001,"power":13222,"unknown_97":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8867306216601073664}} 
[2026-07-13 17:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":131498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480800,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:00:09] local.INFO: GPS data processed {"connection_id":131498,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:00:09] local.INFO: Acknowledgment sent {"connection_id":131498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:00:18] local.INFO: TCP Data received {"connection_id":130456,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3b5d48012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3b5d48012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:00:18] local.INFO: Processing buffer {"connection_id":130456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3b5d48012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:00:18] local.INFO: Packet analysis {"connection_id":130456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3b"} 
[2026-07-13 17:00:18] local.INFO: Extracted packet for processing {"connection_id":130456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3b"} 
[2026-07-13 17:00:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689086464001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:00:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783942045000,"timestamp_ms":1783942045000,"timestamp_seconds":1783942045,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3b5d48"} 
[2026-07-13 17:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689086464001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689086464001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:00:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:00:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:00:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689086464001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":130456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480801,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:00:18] local.INFO: GPS data processed {"connection_id":130456,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:00:18] local.INFO: Acknowledgment sent {"connection_id":130456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:00:34] local.INFO: TCP Data received {"connection_id":132823,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:00:34] local.INFO: Processing buffer {"connection_id":132823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:00:34] local.INFO: IMEI packet received {"connection_id":132823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":132823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:00:39] local.INFO: TCP Data received {"connection_id":132823,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:00:39] local.INFO: Processing buffer {"connection_id":132823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:00:39] local.INFO: IMEI packet received {"connection_id":132823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":132823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:00:39] local.INFO: TCP Data received {"connection_id":131498,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3cd448012d7b1bc005e2d7a8000600aa1b..."} 
[2026-07-13 17:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3cd448012d7b1bc005e2d7a8000600aa1b..."} 
[2026-07-13 17:00:39] local.INFO: Processing buffer {"connection_id":131498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3cd448012d7b1bc005e2d7a8000600aa1b..."} 
[2026-07-13 17:00:39] local.INFO: Packet analysis {"connection_id":131498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3c"} 
[2026-07-13 17:00:39] local.INFO: Extracted packet for processing {"connection_id":131498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3c"} 
[2026-07-13 17:00:39] local.INFO: GPS Element Parsed {"raw_longitude":763042752,"raw_latitude":98752424,"longitude_deg":76.3042752,"latitude_deg":9.8752424,"altitude":6,"angle":170,"satellites":27,"speed":34,"hex_longitude":"2d7b1bc0","hex_latitude":"05e2d7a8","is_valid_coordinates":true} 
[2026-07-13 17:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689184768001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105873314668347392,"note":"Value kept but may cause issues"} 
[2026-07-13 17:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869487647668252672,"note":"Value kept but may cause issues"} 
[2026-07-13 17:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783942141000,"timestamp_ms":1783942141000,"timestamp_seconds":1783942141,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3cd448"} 
[2026-07-13 17:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-13 17:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:00:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:00: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-07-13 17:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689184768001,"66":13243,"97":206,"85":15104,"24":34,"16":105873314668347392,"45":8869487647668252672},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-13 17:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689184768001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:00:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-13 17:00:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105873314668347392,"km_value":105873314668347.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869487647668252672,"description":"Unknown IO ID 45"} 
[2026-07-13 17:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689184768001,"power":13243,"unknown_97":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8869487647668252672}} 
[2026-07-13 17:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":131498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480802,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:00:39] local.INFO: GPS data processed {"connection_id":131498,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:00:39] local.INFO: Acknowledgment sent {"connection_id":131498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:00:40] local.INFO: TCP Data received {"connection_id":132823,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3c91e0012d7f914005afd938000c011b26..."} 
[2026-07-13 17:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3c91e0012d7f914005afd938000c011b26..."} 
[2026-07-13 17:00:40] local.INFO: Processing buffer {"connection_id":132823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3c91e0012d7f914005afd938000c011b26..."} 
[2026-07-13 17:00:40] local.INFO: Packet analysis {"connection_id":132823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3c"} 
[2026-07-13 17:00:40] local.INFO: Extracted packet for processing {"connection_id":132823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3c"} 
[2026-07-13 17:00:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689106688001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783942124000,"timestamp_ms":1783942124000,"timestamp_seconds":1783942124,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3c91e0"} 
[2026-07-13 17:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 17:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689106688001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689106688001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:00:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:00:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689106688001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":132823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:00:40] local.INFO: GPS data processed {"connection_id":132823,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:00:40] local.INFO: Acknowledgment sent {"connection_id":132823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:00:45] local.INFO: TCP Data received {"connection_id":130686,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130686,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:00:45] local.INFO: Processing buffer {"connection_id":130686,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:00:45] local.INFO: IMEI packet received {"connection_id":130686,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":130686,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:00:50] local.INFO: TCP Data received {"connection_id":130686,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130686,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:00:50] local.INFO: Processing buffer {"connection_id":130686,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:00:50] local.INFO: IMEI packet received {"connection_id":130686,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":130686,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:00:51] local.INFO: TCP Data received {"connection_id":130686,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3b5d48012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3b5d48012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:00:51] local.INFO: Processing buffer {"connection_id":130686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3b5d48012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:00:51] local.INFO: Packet analysis {"connection_id":130686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3b"} 
[2026-07-13 17:00:51] local.INFO: Extracted packet for processing {"connection_id":130686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3b"} 
[2026-07-13 17:00:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17: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-07-13 17:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689086464001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:00:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783942045000,"timestamp_ms":1783942045000,"timestamp_seconds":1783942045,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3b5d48"} 
[2026-07-13 17:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17: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-07-13 17:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689086464001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689086464001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:00:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:00:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:00:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689086464001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":130686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480804,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:00:51] local.INFO: GPS data processed {"connection_id":130686,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:00:51] local.INFO: Acknowledgment sent {"connection_id":130686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:00:55] local.INFO: TCP Data received {"connection_id":130686,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3b5d48012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3b5d48012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:00:55] local.INFO: Processing buffer {"connection_id":130686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3b5d48012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:00:55] local.INFO: Packet analysis {"connection_id":130686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3b"} 
[2026-07-13 17:00:55] local.INFO: Extracted packet for processing {"connection_id":130686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3b"} 
[2026-07-13 17:00:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689086464001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:00:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783942045000,"timestamp_ms":1783942045000,"timestamp_seconds":1783942045,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3b5d48"} 
[2026-07-13 17:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689086464001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689086464001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:00:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:00:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:00:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689086464001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":130686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480805,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:00:55] local.INFO: GPS data processed {"connection_id":130686,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:00:55] local.INFO: Acknowledgment sent {"connection_id":130686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:01:03] local.INFO: TCP Data received {"connection_id":132824,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:01:03] local.INFO: Processing buffer {"connection_id":132824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:01:03] local.INFO: IMEI packet received {"connection_id":132824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":132824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:01:04] local.INFO: TCP Data received {"connection_id":132824,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:01:04] local.INFO: Processing buffer {"connection_id":132824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:01:04] local.INFO: IMEI packet received {"connection_id":132824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":132824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:01:05] local.INFO: TCP Data received {"connection_id":132824,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3cff40012d7b20c005e2b238000300aa22..."} 
[2026-07-13 17:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3cff40012d7b20c005e2b238000300aa22..."} 
[2026-07-13 17:01:05] local.INFO: Processing buffer {"connection_id":132824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3cff40012d7b20c005e2b238000300aa22..."} 
[2026-07-13 17:01:05] local.INFO: Packet analysis {"connection_id":132824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3c"} 
[2026-07-13 17:01:05] local.INFO: Extracted packet for processing {"connection_id":132824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3c"} 
[2026-07-13 17:01:05] local.INFO: GPS Element Parsed {"raw_longitude":763044032,"raw_latitude":98742840,"longitude_deg":76.3044032,"latitude_deg":9.874284,"altitude":3,"angle":170,"satellites":34,"speed":36,"hex_longitude":"2d7b20c0","hex_latitude":"05e2b238","is_valid_coordinates":true} 
[2026-07-13 17:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689188096001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105873782819782656,"note":"Value kept but may cause issues"} 
[2026-07-13 17:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870895022549477376,"note":"Value kept but may cause issues"} 
[2026-07-13 17:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783942152000,"timestamp_ms":1783942152000,"timestamp_seconds":1783942152,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3cff40"} 
[2026-07-13 17:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 17:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":132824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":132824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":132824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689188096001,"66":12928,"96":206,"85":15104,"24":36,"16":105873782819782656,"45":8870895022549477376},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-13 17:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689188096001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:01:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 17:01:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105873782819782656,"km_value":105873782819782.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870895022549477376,"description":"Unknown IO ID 45"} 
[2026-07-13 17:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689188096001,"power":12928,"unknown_96":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8870895022549477376}} 
[2026-07-13 17:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":132824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480806,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:01:05] local.INFO: GPS data processed {"connection_id":132824,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:01:05] local.INFO: Acknowledgment sent {"connection_id":132824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:01:11] local.INFO: TCP Data received {"connection_id":132823,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3c91e0012d7f914005afd938000c011b26..."} 
[2026-07-13 17:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3c91e0012d7f914005afd938000c011b26..."} 
[2026-07-13 17:01:11] local.INFO: Processing buffer {"connection_id":132823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3c91e0012d7f914005afd938000c011b26..."} 
[2026-07-13 17:01:11] local.INFO: Packet analysis {"connection_id":132823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3c"} 
[2026-07-13 17:01:11] local.INFO: Extracted packet for processing {"connection_id":132823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3c"} 
[2026-07-13 17:01:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689106688001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783942124000,"timestamp_ms":1783942124000,"timestamp_seconds":1783942124,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3c91e0"} 
[2026-07-13 17:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 17:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689106688001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689106688001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:01:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:01:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689106688001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":132823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:01:11] local.INFO: GPS data processed {"connection_id":132823,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:01:11] local.INFO: Acknowledgment sent {"connection_id":132823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:01:34] local.INFO: TCP Data received {"connection_id":130457,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:01:34] local.INFO: Processing buffer {"connection_id":130457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:01:34] local.INFO: IMEI packet received {"connection_id":130457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":130457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:01:35] local.INFO: TCP Data received {"connection_id":132824,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3d2e20012d7b268005e28ec0000000aa27..."} 
[2026-07-13 17:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3d2e20012d7b268005e28ec0000000aa27..."} 
[2026-07-13 17:01:35] local.INFO: Processing buffer {"connection_id":132824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3d2e20012d7b268005e28ec0000000aa27..."} 
[2026-07-13 17:01:35] local.INFO: Packet analysis {"connection_id":132824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3d"} 
[2026-07-13 17:01:35] local.INFO: Extracted packet for processing {"connection_id":132824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3d"} 
[2026-07-13 17:01:35] local.INFO: GPS Element Parsed {"raw_longitude":763045504,"raw_latitude":98733760,"longitude_deg":76.3045504,"latitude_deg":9.873376,"altitude":0,"angle":170,"satellites":39,"speed":24,"hex_longitude":"2d7b2680","hex_latitude":"05e28ec0","is_valid_coordinates":true} 
[2026-07-13 17:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689190912001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105874229496381440,"note":"Value kept but may cause issues"} 
[2026-07-13 17:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872302397430577152,"note":"Value kept but may cause issues"} 
[2026-07-13 17:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783942164000,"timestamp_ms":1783942164000,"timestamp_seconds":1783942164,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3d2e20"} 
[2026-07-13 17:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-13 17:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689190912001,"66":13102,"96":206,"85":15104,"24":24,"16":105874229496381440,"45":8872302397430577152},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-13 17:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689190912001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:01:35] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-13 17:01:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105874229496381440,"km_value":105874229496381.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872302397430577152,"description":"Unknown IO ID 45"} 
[2026-07-13 17:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689190912001,"power":13102,"unknown_96":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8872302397430577152}} 
[2026-07-13 17:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":132824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480808,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:01:35] local.INFO: GPS data processed {"connection_id":132824,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:01:35] local.INFO: Acknowledgment sent {"connection_id":132824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:01:39] local.INFO: TCP Data received {"connection_id":130457,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:01:39] local.INFO: Processing buffer {"connection_id":130457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:01:39] local.INFO: IMEI packet received {"connection_id":130457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":130457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:01:40] local.INFO: TCP Data received {"connection_id":130458,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130458,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:01:40] local.INFO: Processing buffer {"connection_id":130458,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:01:40] local.INFO: IMEI packet received {"connection_id":130458,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":130458,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:01:40] local.INFO: TCP Data received {"connection_id":130457,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3c91e0012d7f914005afd938000c011b26..."} 
[2026-07-13 17:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3c91e0012d7f914005afd938000c011b26..."} 
[2026-07-13 17:01:40] local.INFO: Processing buffer {"connection_id":130457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3c91e0012d7f914005afd938000c011b26..."} 
[2026-07-13 17:01:40] local.INFO: Packet analysis {"connection_id":130457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3c"} 
[2026-07-13 17:01:40] local.INFO: Extracted packet for processing {"connection_id":130457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3c"} 
[2026-07-13 17:01:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689106688001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783942124000,"timestamp_ms":1783942124000,"timestamp_seconds":1783942124,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3c91e0"} 
[2026-07-13 17:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 17:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689106688001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689106688001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:01:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:01:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689106688001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":130457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:01:40] local.INFO: GPS data processed {"connection_id":130457,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:01:40] local.INFO: Acknowledgment sent {"connection_id":130457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:01:45] local.INFO: TCP Data received {"connection_id":130458,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130458,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:01:45] local.INFO: Processing buffer {"connection_id":130458,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:01:45] local.INFO: IMEI packet received {"connection_id":130458,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":130458,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:01:46] local.INFO: TCP Data received {"connection_id":130458,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3b5d48012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3b5d48012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:01:46] local.INFO: Processing buffer {"connection_id":130458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3b5d48012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:01:46] local.INFO: Packet analysis {"connection_id":130458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3b"} 
[2026-07-13 17:01:46] local.INFO: Extracted packet for processing {"connection_id":130458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3b"} 
[2026-07-13 17:01:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689086464001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:01:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783942045000,"timestamp_ms":1783942045000,"timestamp_seconds":1783942045,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3b5d48"} 
[2026-07-13 17:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130458,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130458,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689086464001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689086464001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:01:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:01:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:01:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689086464001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":130458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480810,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:01:46] local.INFO: GPS data processed {"connection_id":130458,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:01:46] local.INFO: Acknowledgment sent {"connection_id":130458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:01:58] local.INFO: TCP Data received {"connection_id":130687,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:01:58] local.INFO: Processing buffer {"connection_id":130687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:01:58] local.INFO: IMEI packet received {"connection_id":130687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":130687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:02:03] local.INFO: TCP Data received {"connection_id":130687,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:02:03] local.INFO: Processing buffer {"connection_id":130687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:02:03] local.INFO: IMEI packet received {"connection_id":130687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":130687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:02:04] local.INFO: TCP Data received {"connection_id":130687,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3f2608012d7b5a4005e10280000000aa24..."} 
[2026-07-13 17:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3f2608012d7b5a4005e10280000000aa24..."} 
[2026-07-13 17:02:04] local.INFO: Processing buffer {"connection_id":130687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3f2608012d7b5a4005e10280000000aa24..."} 
[2026-07-13 17:02:04] local.INFO: Packet analysis {"connection_id":130687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3f"} 
[2026-07-13 17:02:04] local.INFO: Extracted packet for processing {"connection_id":130687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3f"} 
[2026-07-13 17:02:04] local.INFO: GPS Element Parsed {"raw_longitude":763058752,"raw_latitude":98632320,"longitude_deg":76.3058752,"latitude_deg":9.863232,"altitude":0,"angle":170,"satellites":36,"speed":46,"hex_longitude":"2d7b5a40","hex_latitude":"05e10280","is_valid_coordinates":true} 
[2026-07-13 17:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689224704001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105879198773542912,"note":"Value kept but may cause issues"} 
[2026-07-13 17:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886446514984499200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783942293000,"timestamp_ms":1783942293000,"timestamp_seconds":1783942293,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3f2608"} 
[2026-07-13 17:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:02: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-07-13 17: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-07-13 17: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-07-13 17:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689224704001,"66":13515,"169":206,"85":15104,"24":46,"16":105879198773542912,"45":8886446514984499200},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-13 17:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689224704001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:02:04] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-13 17:02:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105879198773542912,"km_value":105879198773542.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886446514984499200,"description":"Unknown IO ID 45"} 
[2026-07-13 17:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689224704001,"power":13515,"unknown_169":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8886446514984499200}} 
[2026-07-13 17:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":130687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480811,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:02:04] local.INFO: GPS data processed {"connection_id":130687,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:02:04] local.INFO: Acknowledgment sent {"connection_id":130687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:02:11] local.INFO: TCP Data received {"connection_id":130457,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3c91e0012d7f914005afd938000c011b26..."} 
[2026-07-13 17:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3c91e0012d7f914005afd938000c011b26..."} 
[2026-07-13 17:02:11] local.INFO: Processing buffer {"connection_id":130457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3c91e0012d7f914005afd938000c011b26..."} 
[2026-07-13 17:02:11] local.INFO: Packet analysis {"connection_id":130457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3c"} 
[2026-07-13 17:02:11] local.INFO: Extracted packet for processing {"connection_id":130457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3c"} 
[2026-07-13 17:02:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689106688001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783942124000,"timestamp_ms":1783942124000,"timestamp_seconds":1783942124,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3c91e0"} 
[2026-07-13 17:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 17:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689106688001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689106688001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:02:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:02:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689106688001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":130457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:02:11] local.INFO: GPS data processed {"connection_id":130457,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:02:11] local.INFO: Acknowledgment sent {"connection_id":130457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:02:17] local.INFO: TCP Data received {"connection_id":130458,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3b5d48012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3b5d48012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:02:17] local.INFO: Processing buffer {"connection_id":130458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3b5d48012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:02:17] local.INFO: Packet analysis {"connection_id":130458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3b"} 
[2026-07-13 17:02:17] local.INFO: Extracted packet for processing {"connection_id":130458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3b"} 
[2026-07-13 17:02:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17: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-07-13 17:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689086464001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:02:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783942045000,"timestamp_ms":1783942045000,"timestamp_seconds":1783942045,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3b5d48"} 
[2026-07-13 17:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:02: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-07-13 17: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17: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-07-13 17:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130458,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130458,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689086464001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689086464001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:02:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:02:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:02:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689086464001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":130458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480813,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:02:17] local.INFO: GPS data processed {"connection_id":130458,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:02:17] local.INFO: Acknowledgment sent {"connection_id":130458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:02:34] local.INFO: TCP Data received {"connection_id":130459,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:02:34] local.INFO: Processing buffer {"connection_id":130459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:02:34] local.INFO: IMEI packet received {"connection_id":130459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":130459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:02:35] local.INFO: TCP Data received {"connection_id":130687,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3f4160012d7b608005e0df88000000ac22..."} 
[2026-07-13 17:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3f4160012d7b608005e0df88000000ac22..."} 
[2026-07-13 17:02:35] local.INFO: Processing buffer {"connection_id":130687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3f4160012d7b608005e0df88000000ac22..."} 
[2026-07-13 17:02:35] local.INFO: Packet analysis {"connection_id":130687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3f"} 
[2026-07-13 17:02:35] local.INFO: Extracted packet for processing {"connection_id":130687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3f"} 
[2026-07-13 17:02:35] local.INFO: GPS Element Parsed {"raw_longitude":763060352,"raw_latitude":98623368,"longitude_deg":76.3060352,"latitude_deg":9.8623368,"altitude":0,"angle":172,"satellites":34,"speed":55,"hex_longitude":"2d7b6080","hex_latitude":"05e0df88","is_valid_coordinates":true} 
[2026-07-13 17:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689227008001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105879636860207104,"note":"Value kept but may cause issues"} 
[2026-07-13 17:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888487208563146752,"note":"Value kept but may cause issues"} 
[2026-07-13 17:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783942300000,"timestamp_ms":1783942300000,"timestamp_seconds":1783942300,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3f4160"} 
[2026-07-13 17:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:02: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-07-13 17: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 17:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689227008001,"66":13276,"170":206,"85":15104,"24":55,"16":105879636860207104,"45":8888487208563146752},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-13 17:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689227008001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:02:35] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-13 17:02:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105879636860207104,"km_value":105879636860207.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888487208563146752,"description":"Unknown IO ID 45"} 
[2026-07-13 17:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689227008001,"power":13276,"unknown_170":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":8888487208563146752}} 
[2026-07-13 17:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":130687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480814,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:02:35] local.INFO: GPS data processed {"connection_id":130687,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:02:35] local.INFO: Acknowledgment sent {"connection_id":130687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:02:39] local.INFO: TCP Data received {"connection_id":130459,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:02:39] local.INFO: Processing buffer {"connection_id":130459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:02:39] local.INFO: IMEI packet received {"connection_id":130459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":130459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:02:39] local.INFO: TCP Data received {"connection_id":131499,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131499,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:02:39] local.INFO: Processing buffer {"connection_id":131499,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:02:39] local.INFO: IMEI packet received {"connection_id":131499,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":131499,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:02:40] local.INFO: TCP Data received {"connection_id":130459,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3c91e0012d7f914005afd938000c011b26..."} 
[2026-07-13 17:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3c91e0012d7f914005afd938000c011b26..."} 
[2026-07-13 17:02:40] local.INFO: Processing buffer {"connection_id":130459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3c91e0012d7f914005afd938000c011b26..."} 
[2026-07-13 17:02:40] local.INFO: Packet analysis {"connection_id":130459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3c"} 
[2026-07-13 17:02:40] local.INFO: Extracted packet for processing {"connection_id":130459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3c"} 
[2026-07-13 17:02:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689106688001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783942124000,"timestamp_ms":1783942124000,"timestamp_seconds":1783942124,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3c91e0"} 
[2026-07-13 17:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 17:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689106688001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689106688001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:02:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:02:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689106688001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":130459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:02:40] local.INFO: GPS data processed {"connection_id":130459,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:02:40] local.INFO: Acknowledgment sent {"connection_id":130459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:02:45] local.INFO: TCP Data received {"connection_id":131499,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131499,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:02:45] local.INFO: Processing buffer {"connection_id":131499,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:02:45] local.INFO: IMEI packet received {"connection_id":131499,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":131499,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:02:46] local.INFO: TCP Data received {"connection_id":131499,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3b5d48012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3b5d48012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:02:46] local.INFO: Processing buffer {"connection_id":131499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3b5d48012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:02:46] local.INFO: Packet analysis {"connection_id":131499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3b"} 
[2026-07-13 17:02:46] local.INFO: Extracted packet for processing {"connection_id":131499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3b"} 
[2026-07-13 17:02:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689086464001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:02:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783942045000,"timestamp_ms":1783942045000,"timestamp_seconds":1783942045,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3b5d48"} 
[2026-07-13 17:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689086464001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689086464001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:02:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:02:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:02:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689086464001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":131499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480816,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:02:46] local.INFO: GPS data processed {"connection_id":131499,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:02:46] local.INFO: Acknowledgment sent {"connection_id":131499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:02:58] local.INFO: TCP Data received {"connection_id":131500,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131500,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:02:58] local.INFO: Processing buffer {"connection_id":131500,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:02:58] local.INFO: IMEI packet received {"connection_id":131500,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":131500,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:02:59] local.INFO: TCP Data received {"connection_id":131500,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131500,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:02:59] local.INFO: Processing buffer {"connection_id":131500,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:02:59] local.INFO: IMEI packet received {"connection_id":131500,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":131500,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:03:03] local.INFO: TCP Data received {"connection_id":131500,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131500,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:03:03] local.INFO: Processing buffer {"connection_id":131500,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:03:03] local.INFO: IMEI packet received {"connection_id":131500,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":131500,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:03:04] local.INFO: TCP Data received {"connection_id":131500,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3f6488012d7b65c005e0bb70000000ab22..."} 
[2026-07-13 17:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3f6488012d7b65c005e0bb70000000ab22..."} 
[2026-07-13 17:03:04] local.INFO: Processing buffer {"connection_id":131500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3f6488012d7b65c005e0bb70000000ab22..."} 
[2026-07-13 17:03:04] local.INFO: Packet analysis {"connection_id":131500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3f"} 
[2026-07-13 17:03:04] local.INFO: Extracted packet for processing {"connection_id":131500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3f"} 
[2026-07-13 17:03:04] local.INFO: GPS Element Parsed {"raw_longitude":763061696,"raw_latitude":98614128,"longitude_deg":76.3061696,"latitude_deg":9.8614128,"altitude":0,"angle":171,"satellites":34,"speed":26,"hex_longitude":"2d7b65c0","hex_latitude":"05e0bb70","is_valid_coordinates":true} 
[2026-07-13 17:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689228800001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105880087831773184,"note":"Value kept but may cause issues"} 
[2026-07-13 17:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890246427165296640,"note":"Value kept but may cause issues"} 
[2026-07-13 17:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783942309000,"timestamp_ms":1783942309000,"timestamp_seconds":1783942309,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3f6488"} 
[2026-07-13 17:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:03: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-07-13 17:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-13 17:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":131500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":131500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":131500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689228800001,"66":13319,"170":206,"85":15104,"24":26,"16":105880087831773184,"45":8890246427165296640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-13 17:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689228800001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:03:04] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-13 17:03:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105880087831773184,"km_value":105880087831773.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890246427165296640,"description":"Unknown IO ID 45"} 
[2026-07-13 17:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689228800001,"power":13319,"unknown_170":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8890246427165296640}} 
[2026-07-13 17:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":131500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480817,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:03:04] local.INFO: GPS data processed {"connection_id":131500,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:03:04] local.INFO: Acknowledgment sent {"connection_id":131500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:03:12] local.INFO: TCP Data received {"connection_id":130459,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3c91e0012d7f914005afd938000c011b26..."} 
[2026-07-13 17:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3c91e0012d7f914005afd938000c011b26..."} 
[2026-07-13 17:03:12] local.INFO: Processing buffer {"connection_id":130459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3c91e0012d7f914005afd938000c011b26..."} 
[2026-07-13 17:03:12] local.INFO: Packet analysis {"connection_id":130459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3c"} 
[2026-07-13 17:03:12] local.INFO: Extracted packet for processing {"connection_id":130459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3c"} 
[2026-07-13 17:03:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689106688001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783942124000,"timestamp_ms":1783942124000,"timestamp_seconds":1783942124,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3c91e0"} 
[2026-07-13 17:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 17:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689106688001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689106688001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:03:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:03:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689106688001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":130459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:03:12] local.INFO: GPS data processed {"connection_id":130459,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:03:12] local.INFO: Acknowledgment sent {"connection_id":130459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:03:18] local.INFO: TCP Data received {"connection_id":131499,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3ff510012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3ff510012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:03:18] local.INFO: Processing buffer {"connection_id":131499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3ff510012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:03:18] local.INFO: Packet analysis {"connection_id":131499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3f"} 
[2026-07-13 17:03:18] local.INFO: Extracted packet for processing {"connection_id":131499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3f"} 
[2026-07-13 17:03:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689163520001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:03:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783942346000,"timestamp_ms":1783942346000,"timestamp_seconds":1783942346,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3ff510"} 
[2026-07-13 17:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:03:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689163520001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689163520001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:03:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:03:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:03:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689163520001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":131499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480819,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:03:18] local.INFO: GPS data processed {"connection_id":131499,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:03:18] local.INFO: Acknowledgment sent {"connection_id":131499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:03:34] local.INFO: TCP Data received {"connection_id":130460,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:03:34] local.INFO: Processing buffer {"connection_id":130460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:03:34] local.INFO: IMEI packet received {"connection_id":130460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":130460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:03:36] local.INFO: TCP Data received {"connection_id":131500,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3f9368012d7b6b4005e09588000000ac1e..."} 
[2026-07-13 17:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3f9368012d7b6b4005e09588000000ac1e..."} 
[2026-07-13 17:03:36] local.INFO: Processing buffer {"connection_id":131500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3f9368012d7b6b4005e09588000000ac1e..."} 
[2026-07-13 17:03:36] local.INFO: Packet analysis {"connection_id":131500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3f"} 
[2026-07-13 17:03:36] local.INFO: Extracted packet for processing {"connection_id":131500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3f"} 
[2026-07-13 17:03:36] local.INFO: GPS Element Parsed {"raw_longitude":763063104,"raw_latitude":98604424,"longitude_deg":76.3063104,"latitude_deg":9.8604424,"altitude":0,"angle":172,"satellites":30,"speed":44,"hex_longitude":"2d7b6b40","hex_latitude":"05e09588","is_valid_coordinates":true} 
[2026-07-13 17:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689231104001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105880564573143040,"note":"Value kept but may cause issues"} 
[2026-07-13 17:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891724170790662144,"note":"Value kept but may cause issues"} 
[2026-07-13 17:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783942321000,"timestamp_ms":1783942321000,"timestamp_seconds":1783942321,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3f9368"} 
[2026-07-13 17:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17: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-07-13 17:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 17:03:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 17:03:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-13 17:03:36] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-5368290755814218496,"note":"Value kept but may cause issues"} 
[2026-07-13 17:03:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-07-13 17:03:36] local.WARNING: Large IO value detected {"io_id":172,"raw_value":4026609019,"note":"Value kept but may cause issues"} 
[2026-07-13 17:03:36] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3590376871,"note":"Value kept but may cause issues"} 
[2026-07-13 17:03:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3784435712,"note":"Value kept but may cause issues"} 
[2026-07-13 17:03:36] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57886714530518331,"note":"Value kept but may cause issues"} 
[2026-07-13 17:03:36] local.WARNING: Large IO value detected {"io_id":62,"raw_value":5143112069309988869,"note":"Value kept but may cause issues"} 
[2026-07-13 17:03:36] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,170,85,24,241,157,16,41,159,65,45,128,223,34,10,66,40,38,64,2,36,169,1,240,127,227,91,225,4,113,205,33,172,70,144,32,239,52,120,5,138,62],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2812870862,"validated":0}]} 
[2026-07-13 17:03:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":188162518941696,"timestamp_seconds":188162518941.696,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 17:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":131500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":131500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":131500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689231104001,"66":13428,"170":206,"85":15104,"24":44,"16":105880564573143040,"45":8891724170790662144},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-13 17:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689231104001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:03:36] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-13 17:03:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105880564573143040,"km_value":105880564573143.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891724170790662144,"description":"Unknown IO ID 45"} 
[2026-07-13 17:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689231104001,"power":13428,"unknown_170":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8891724170790662144}} 
[2026-07-13 17:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":131500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480820,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:03:36] local.INFO: GPS data processed {"connection_id":131500,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:03:36] local.INFO: Acknowledgment sent {"connection_id":131500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:03:39] local.INFO: TCP Data received {"connection_id":132825,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132825,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:03:39] local.INFO: Processing buffer {"connection_id":132825,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:03:39] local.INFO: IMEI packet received {"connection_id":132825,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":132825,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:03:40] local.INFO: TCP Data received {"connection_id":130460,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:03:40] local.INFO: Processing buffer {"connection_id":130460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:03:40] local.INFO: IMEI packet received {"connection_id":130460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":130460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:03:41] local.INFO: TCP Data received {"connection_id":130460,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3c91e0012d7f914005afd938000c011b26..."} 
[2026-07-13 17:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3c91e0012d7f914005afd938000c011b26..."} 
[2026-07-13 17:03:41] local.INFO: Processing buffer {"connection_id":130460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3c91e0012d7f914005afd938000c011b26..."} 
[2026-07-13 17:03:41] local.INFO: Packet analysis {"connection_id":130460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3c"} 
[2026-07-13 17:03:41] local.INFO: Extracted packet for processing {"connection_id":130460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3c"} 
[2026-07-13 17:03:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689106688001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783942124000,"timestamp_ms":1783942124000,"timestamp_seconds":1783942124,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3c91e0"} 
[2026-07-13 17:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 17:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689106688001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689106688001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:03:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689106688001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":130460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:03:41] local.INFO: GPS data processed {"connection_id":130460,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:03:41] local.INFO: Acknowledgment sent {"connection_id":130460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:03:45] local.INFO: TCP Data received {"connection_id":132825,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132825,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:03:45] local.INFO: Processing buffer {"connection_id":132825,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:03:45] local.INFO: IMEI packet received {"connection_id":132825,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":132825,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:03:46] local.INFO: TCP Data received {"connection_id":132825,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3ff510012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3ff510012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:03:46] local.INFO: Processing buffer {"connection_id":132825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3ff510012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:03:46] local.INFO: Packet analysis {"connection_id":132825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3f"} 
[2026-07-13 17:03:46] local.INFO: Extracted packet for processing {"connection_id":132825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3f"} 
[2026-07-13 17:03:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689163520001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:03:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783942346000,"timestamp_ms":1783942346000,"timestamp_seconds":1783942346,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3ff510"} 
[2026-07-13 17:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689163520001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689163520001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:03:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:03:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:03:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689163520001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":132825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480822,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:03:46] local.INFO: GPS data processed {"connection_id":132825,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:03:46] local.INFO: Acknowledgment sent {"connection_id":132825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:04:08] local.INFO: TCP Data received {"connection_id":130461,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130461,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:04:08] local.INFO: Processing buffer {"connection_id":130461,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:04:08] local.INFO: IMEI packet received {"connection_id":130461,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":130461,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:04:08] local.INFO: TCP Data received {"connection_id":130461,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130461,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:04:08] local.INFO: Processing buffer {"connection_id":130461,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:04:08] local.INFO: IMEI packet received {"connection_id":130461,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":130461,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:04:12] local.INFO: TCP Data received {"connection_id":130460,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3c91e0012d7f914005afd938000c011b26..."} 
[2026-07-13 17:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3c91e0012d7f914005afd938000c011b26..."} 
[2026-07-13 17:04:12] local.INFO: Processing buffer {"connection_id":130460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3c91e0012d7f914005afd938000c011b26..."} 
[2026-07-13 17:04:12] local.INFO: Packet analysis {"connection_id":130460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3c"} 
[2026-07-13 17:04:12] local.INFO: Extracted packet for processing {"connection_id":130460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3c"} 
[2026-07-13 17:04:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689106688001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783942124000,"timestamp_ms":1783942124000,"timestamp_seconds":1783942124,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3c91e0"} 
[2026-07-13 17:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 17:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689106688001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689106688001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:04:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:04:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689106688001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":130460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:04:12] local.INFO: GPS data processed {"connection_id":130460,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:04:12] local.INFO: Acknowledgment sent {"connection_id":130460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:04:13] local.INFO: TCP Data received {"connection_id":130461,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130461,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:04:13] local.INFO: Processing buffer {"connection_id":130461,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:04:13] local.INFO: IMEI packet received {"connection_id":130461,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":130461,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:04:14] local.INFO: TCP Data received {"connection_id":130461,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b40e358012d7b9c4005def928000000af28..."} 
[2026-07-13 17:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b40e358012d7b9c4005def928000000af28..."} 
[2026-07-13 17:04:14] local.INFO: Processing buffer {"connection_id":130461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b40e358012d7b9c4005def928000000af28..."} 
[2026-07-13 17:04:14] local.INFO: Packet analysis {"connection_id":130461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b40"} 
[2026-07-13 17:04:14] local.INFO: Extracted packet for processing {"connection_id":130461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b40"} 
[2026-07-13 17:04:14] local.INFO: GPS Element Parsed {"raw_longitude":763075648,"raw_latitude":98498856,"longitude_deg":76.3075648,"latitude_deg":9.8498856,"altitude":0,"angle":175,"satellites":40,"speed":61,"hex_longitude":"2d7b9c40","hex_latitude":"05def928","is_valid_coordinates":true} 
[2026-07-13 17:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689254656001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105885722828865536,"note":"Value kept but may cause issues"} 
[2026-07-13 17:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906360869552474112,"note":"Value kept but may cause issues"} 
[2026-07-13 17:04:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783942407000,"timestamp_ms":1783942407000,"timestamp_seconds":1783942407,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b40e358"} 
[2026-07-13 17:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-13 17:04: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-07-13 17:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:04: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-07-13 17:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689254656001,"66":12765,"36":206,"85":15104,"24":61,"16":105885722828865536,"45":8906360869552474112},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-07-13 17:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689254656001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:04:14] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-13 17:04:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105885722828865536,"km_value":105885722828865.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906360869552474112,"description":"Unknown IO ID 45"} 
[2026-07-13 17:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689254656001,"power":12765,"unknown_36":206,"unknown_85":15104,"ignition":61,"odometer":null,"unknown_45":8906360869552474112}} 
[2026-07-13 17:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":130461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:04:14] local.INFO: GPS data processed {"connection_id":130461,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:04:14] local.INFO: Acknowledgment sent {"connection_id":130461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:04:17] local.INFO: TCP Data received {"connection_id":132825,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3ff510012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3ff510012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:04:17] local.INFO: Processing buffer {"connection_id":132825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3ff510012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:04:17] local.INFO: Packet analysis {"connection_id":132825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3f"} 
[2026-07-13 17:04:17] local.INFO: Extracted packet for processing {"connection_id":132825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3f"} 
[2026-07-13 17:04:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689163520001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:04:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783942346000,"timestamp_ms":1783942346000,"timestamp_seconds":1783942346,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3ff510"} 
[2026-07-13 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-07-13 17:04: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-07-13 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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 17:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689163520001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689163520001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:04:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:04:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:04:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689163520001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":132825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480825,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:04:17] local.INFO: GPS data processed {"connection_id":132825,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:04:17] local.INFO: Acknowledgment sent {"connection_id":132825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:04:34] local.INFO: TCP Data received {"connection_id":131501,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:04:34] local.INFO: Processing buffer {"connection_id":131501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:04:34] local.INFO: IMEI packet received {"connection_id":131501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":131501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:04:39] local.INFO: TCP Data received {"connection_id":131501,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:04:39] local.INFO: Processing buffer {"connection_id":131501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:04:39] local.INFO: IMEI packet received {"connection_id":131501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":131501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:04:40] local.INFO: TCP Data received {"connection_id":131501,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4129a8012d7f914005afd938000e011b27..."} 
[2026-07-13 17:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4129a8012d7f914005afd938000e011b27..."} 
[2026-07-13 17:04:40] local.INFO: Processing buffer {"connection_id":131501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4129a8012d7f914005afd938000e011b27..."} 
[2026-07-13 17:04:40] local.INFO: Packet analysis {"connection_id":131501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b41"} 
[2026-07-13 17:04:40] local.INFO: Extracted packet for processing {"connection_id":131501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b41"} 
[2026-07-13 17:04:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689183744001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783942425000,"timestamp_ms":1783942425000,"timestamp_seconds":1783942425,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4129a8"} 
[2026-07-13 17:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689183744001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689183744001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:04:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:04:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689183744001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":131501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:04:40] local.INFO: GPS data processed {"connection_id":131501,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:04:40] local.INFO: Acknowledgment sent {"connection_id":131501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:04:48] local.INFO: TCP Data received {"connection_id":132826,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:04:48] local.INFO: Processing buffer {"connection_id":132826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:04:48] local.INFO: IMEI packet received {"connection_id":132826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":132826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:04:49] local.INFO: TCP Data received {"connection_id":132826,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:04:49] local.INFO: Processing buffer {"connection_id":132826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:04:49] local.INFO: IMEI packet received {"connection_id":132826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":132826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:04:50] local.INFO: TCP Data received {"connection_id":132826,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3ff510012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3ff510012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:04:50] local.INFO: Processing buffer {"connection_id":132826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3ff510012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:04:50] local.INFO: Packet analysis {"connection_id":132826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3f"} 
[2026-07-13 17:04:50] local.INFO: Extracted packet for processing {"connection_id":132826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3f"} 
[2026-07-13 17:04:50] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689163520001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:04:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783942346000,"timestamp_ms":1783942346000,"timestamp_seconds":1783942346,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3ff510"} 
[2026-07-13 17:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":132826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":132826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":132826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689163520001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689163520001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:04:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:04:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:04:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689163520001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":132826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480827,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:04:50] local.INFO: GPS data processed {"connection_id":132826,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:04:50] local.INFO: Acknowledgment sent {"connection_id":132826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:04:55] local.INFO: TCP Data received {"connection_id":132826,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3ff510012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3ff510012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:04:55] local.INFO: Processing buffer {"connection_id":132826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3ff510012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:04:55] local.INFO: Packet analysis {"connection_id":132826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3f"} 
[2026-07-13 17:04:55] local.INFO: Extracted packet for processing {"connection_id":132826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3f"} 
[2026-07-13 17:04:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689163520001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:04:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783942346000,"timestamp_ms":1783942346000,"timestamp_seconds":1783942346,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3ff510"} 
[2026-07-13 17:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":132826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":132826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":132826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689163520001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689163520001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:04:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:04:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:04:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689163520001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":132826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480828,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:04:56] local.INFO: GPS data processed {"connection_id":132826,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:04:56] local.INFO: Acknowledgment sent {"connection_id":132826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:04:58] local.INFO: TCP Data received {"connection_id":130688,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130688,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:04:58] local.INFO: Processing buffer {"connection_id":130688,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:04:58] local.INFO: IMEI packet received {"connection_id":130688,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":130688,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:05:03] local.INFO: TCP Data received {"connection_id":130688,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130688,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:05:03] local.INFO: Processing buffer {"connection_id":130688,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:05:03] local.INFO: IMEI packet received {"connection_id":130688,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":130688,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:05:04] local.INFO: TCP Data received {"connection_id":130688,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b40fac8012d7b9e8005ded460000000b02c..."} 
[2026-07-13 17:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b40fac8012d7b9e8005ded460000000b02c..."} 
[2026-07-13 17:05:04] local.INFO: Processing buffer {"connection_id":130688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b40fac8012d7b9e8005ded460000000b02c..."} 
[2026-07-13 17:05:04] local.INFO: Packet analysis {"connection_id":130688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b40"} 
[2026-07-13 17:05:04] local.INFO: Extracted packet for processing {"connection_id":130688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b40"} 
[2026-07-13 17:05:04] local.INFO: GPS Element Parsed {"raw_longitude":763076224,"raw_latitude":98489440,"longitude_deg":76.3076224,"latitude_deg":9.848944,"altitude":0,"angle":176,"satellites":44,"speed":64,"hex_longitude":"2d7b9e80","hex_latitude":"05ded460","is_valid_coordinates":true} 
[2026-07-13 17:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689256192001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105886178095398912,"note":"Value kept but may cause issues"} 
[2026-07-13 17:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907064556991883264,"note":"Value kept but may cause issues"} 
[2026-07-13 17:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783942413000,"timestamp_ms":1783942413000,"timestamp_seconds":1783942413,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b40fac8"} 
[2026-07-13 17:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:05: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-07-13 17:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-13 17:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689256192001,"66":13417,"36":206,"85":15104,"24":64,"16":105886178095398912,"45":8907064556991883264},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-07-13 17:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689256192001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:05:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-13 17:05:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105886178095398912,"km_value":105886178095398.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907064556991883264,"description":"Unknown IO ID 45"} 
[2026-07-13 17:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689256192001,"power":13417,"unknown_36":206,"unknown_85":15104,"ignition":64,"odometer":null,"unknown_45":8907064556991883264}} 
[2026-07-13 17:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":130688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480829,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:05:04] local.INFO: GPS data processed {"connection_id":130688,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:05:04] local.INFO: Acknowledgment sent {"connection_id":130688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:05:11] local.INFO: TCP Data received {"connection_id":131501,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4129a8012d7f914005afd938000e011b27..."} 
[2026-07-13 17:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4129a8012d7f914005afd938000e011b27..."} 
[2026-07-13 17:05:11] local.INFO: Processing buffer {"connection_id":131501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4129a8012d7f914005afd938000e011b27..."} 
[2026-07-13 17:05:11] local.INFO: Packet analysis {"connection_id":131501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b41"} 
[2026-07-13 17:05:11] local.INFO: Extracted packet for processing {"connection_id":131501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b41"} 
[2026-07-13 17:05:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689183744001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783942425000,"timestamp_ms":1783942425000,"timestamp_seconds":1783942425,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4129a8"} 
[2026-07-13 17:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689183744001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689183744001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:05:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:05:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689183744001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":131501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:05:11] local.INFO: GPS data processed {"connection_id":131501,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:05:11] local.INFO: Acknowledgment sent {"connection_id":131501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:05:34] local.INFO: TCP Data received {"connection_id":132827,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:05:34] local.INFO: Processing buffer {"connection_id":132827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:05:34] local.INFO: IMEI packet received {"connection_id":132827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":132827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:05:35] local.INFO: TCP Data received {"connection_id":130688,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b425e40012d7bbe0005ddc800000000b424..."} 
[2026-07-13 17:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b425e40012d7bbe0005ddc800000000b424..."} 
[2026-07-13 17:05:35] local.INFO: Processing buffer {"connection_id":130688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b425e40012d7bbe0005ddc800000000b424..."} 
[2026-07-13 17:05:35] local.INFO: Packet analysis {"connection_id":130688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b42"} 
[2026-07-13 17:05:35] local.INFO: Extracted packet for processing {"connection_id":130688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b42"} 
[2026-07-13 17:05:35] local.INFO: GPS Element Parsed {"raw_longitude":763084288,"raw_latitude":98420736,"longitude_deg":76.3084288,"latitude_deg":9.8420736,"altitude":0,"angle":180,"satellites":36,"speed":10,"hex_longitude":"2d7bbe00","hex_latitude":"05ddc800","is_valid_coordinates":true} 
[2026-07-13 17:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689275904001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105889566824595456,"note":"Value kept but may cause issues"} 
[2026-07-13 17:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915931018740283392,"note":"Value kept but may cause issues"} 
[2026-07-13 17:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783942504000,"timestamp_ms":1783942504000,"timestamp_seconds":1783942504,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b425e40"} 
[2026-07-13 17:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-13 17:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689275904001,"66":13124,"50":206,"85":15104,"24":10,"16":105889566824595456,"45":8915931018740283392},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-07-13 17:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689275904001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:05:35] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-13 17:05:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105889566824595456,"km_value":105889566824595.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915931018740283392,"description":"Unknown IO ID 45"} 
[2026-07-13 17:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689275904001,"power":13124,"unknown_50":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8915931018740283392}} 
[2026-07-13 17:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":130688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480831,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:05:35] local.INFO: GPS data processed {"connection_id":130688,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:05:35] local.INFO: Acknowledgment sent {"connection_id":130688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:05:39] local.INFO: TCP Data received {"connection_id":132827,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:05:39] local.INFO: Processing buffer {"connection_id":132827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:05:39] local.INFO: IMEI packet received {"connection_id":132827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":132827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:05:40] local.INFO: TCP Data received {"connection_id":132827,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4129a8012d7f914005afd938000e011b27..."} 
[2026-07-13 17:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4129a8012d7f914005afd938000e011b27..."} 
[2026-07-13 17:05:40] local.INFO: Processing buffer {"connection_id":132827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4129a8012d7f914005afd938000e011b27..."} 
[2026-07-13 17:05:40] local.INFO: Packet analysis {"connection_id":132827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b41"} 
[2026-07-13 17:05:40] local.INFO: Extracted packet for processing {"connection_id":132827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b41"} 
[2026-07-13 17:05:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17: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-07-13 17:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689183744001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783942425000,"timestamp_ms":1783942425000,"timestamp_seconds":1783942425,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4129a8"} 
[2026-07-13 17:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17: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-07-13 17:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689183744001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689183744001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:05:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:05:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689183744001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":132827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:05:40] local.INFO: GPS data processed {"connection_id":132827,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:05:40] local.INFO: Acknowledgment sent {"connection_id":132827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:05:40] local.INFO: TCP Data received {"connection_id":131502,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131502,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:05:40] local.INFO: Processing buffer {"connection_id":131502,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:05:40] local.INFO: IMEI packet received {"connection_id":131502,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":131502,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:05:45] local.INFO: TCP Data received {"connection_id":131502,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131502,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:05:45] local.INFO: Processing buffer {"connection_id":131502,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:05:45] local.INFO: IMEI packet received {"connection_id":131502,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":131502,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:05:46] local.INFO: TCP Data received {"connection_id":131502,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3ff510012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3ff510012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:05:46] local.INFO: Processing buffer {"connection_id":131502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3ff510012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:05:46] local.INFO: Packet analysis {"connection_id":131502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3f"} 
[2026-07-13 17:05:46] local.INFO: Extracted packet for processing {"connection_id":131502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3f"} 
[2026-07-13 17:05:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689163520001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:05:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783942346000,"timestamp_ms":1783942346000,"timestamp_seconds":1783942346,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3ff510"} 
[2026-07-13 17:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131502,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131502,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689163520001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689163520001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:05:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:05:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:05:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689163520001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":131502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480833,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:05:46] local.INFO: GPS data processed {"connection_id":131502,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:05:46] local.INFO: Acknowledgment sent {"connection_id":131502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:06:11] local.INFO: TCP Data received {"connection_id":132827,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4129a8012d7f914005afd938000e011b27..."} 
[2026-07-13 17:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4129a8012d7f914005afd938000e011b27..."} 
[2026-07-13 17:06:11] local.INFO: Processing buffer {"connection_id":132827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4129a8012d7f914005afd938000e011b27..."} 
[2026-07-13 17:06:11] local.INFO: Packet analysis {"connection_id":132827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b41"} 
[2026-07-13 17:06:11] local.INFO: Extracted packet for processing {"connection_id":132827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b41"} 
[2026-07-13 17:06:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689183744001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783942425000,"timestamp_ms":1783942425000,"timestamp_seconds":1783942425,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4129a8"} 
[2026-07-13 17:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689183744001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689183744001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:06:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:06:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689183744001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":132827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:06:11] local.INFO: GPS data processed {"connection_id":132827,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:06:11] local.INFO: Acknowledgment sent {"connection_id":132827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:06:17] local.INFO: TCP Data received {"connection_id":131502,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3ff510012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3ff510012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:06:17] local.INFO: Processing buffer {"connection_id":131502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3ff510012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:06:17] local.INFO: Packet analysis {"connection_id":131502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3f"} 
[2026-07-13 17:06:17] local.INFO: Extracted packet for processing {"connection_id":131502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3f"} 
[2026-07-13 17:06:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689163520001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:06:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783942346000,"timestamp_ms":1783942346000,"timestamp_seconds":1783942346,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3ff510"} 
[2026-07-13 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-07-13 17:06: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-07-13 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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 17:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131502,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131502,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689163520001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689163520001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:06:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:06:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:06:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689163520001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":131502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480835,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:06:17] local.INFO: GPS data processed {"connection_id":131502,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:06:17] local.INFO: Acknowledgment sent {"connection_id":131502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:06:34] local.INFO: TCP Data received {"connection_id":131503,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:06:34] local.INFO: Processing buffer {"connection_id":131503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:06:34] local.INFO: IMEI packet received {"connection_id":131503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":131503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:06:39] local.INFO: TCP Data received {"connection_id":131503,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:06:39] local.INFO: Processing buffer {"connection_id":131503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:06:39] local.INFO: IMEI packet received {"connection_id":131503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":131503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:06:40] local.INFO: TCP Data received {"connection_id":130462,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:06:40] local.INFO: Processing buffer {"connection_id":130462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:06:40] local.INFO: IMEI packet received {"connection_id":130462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":130462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:06:40] local.INFO: TCP Data received {"connection_id":131503,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4129a8012d7f914005afd938000e011b27..."} 
[2026-07-13 17:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4129a8012d7f914005afd938000e011b27..."} 
[2026-07-13 17:06:40] local.INFO: Processing buffer {"connection_id":131503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4129a8012d7f914005afd938000e011b27..."} 
[2026-07-13 17:06:40] local.INFO: Packet analysis {"connection_id":131503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b41"} 
[2026-07-13 17:06:40] local.INFO: Extracted packet for processing {"connection_id":131503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b41"} 
[2026-07-13 17:06:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689183744001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783942425000,"timestamp_ms":1783942425000,"timestamp_seconds":1783942425,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4129a8"} 
[2026-07-13 17:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689183744001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689183744001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:06:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:06:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689183744001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":131503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:06:40] local.INFO: GPS data processed {"connection_id":131503,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:06:40] local.INFO: Acknowledgment sent {"connection_id":131503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:06:45] local.INFO: TCP Data received {"connection_id":130462,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:06:45] local.INFO: Processing buffer {"connection_id":130462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:06:45] local.INFO: IMEI packet received {"connection_id":130462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":130462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:06:46] local.INFO: TCP Data received {"connection_id":130462,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3ff510012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3ff510012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:06:46] local.INFO: Processing buffer {"connection_id":130462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3ff510012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:06:46] local.INFO: Packet analysis {"connection_id":130462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3f"} 
[2026-07-13 17:06:46] local.INFO: Extracted packet for processing {"connection_id":130462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3f"} 
[2026-07-13 17:06:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689163520001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:06:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783942346000,"timestamp_ms":1783942346000,"timestamp_seconds":1783942346,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3ff510"} 
[2026-07-13 17:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689163520001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689163520001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:06:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:06:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:06:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689163520001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":130462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480837,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:06:46] local.INFO: GPS data processed {"connection_id":130462,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:06:46] local.INFO: Acknowledgment sent {"connection_id":130462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:07:11] local.INFO: TCP Data received {"connection_id":131503,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4129a8012d7f914005afd938000e011b27..."} 
[2026-07-13 17:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4129a8012d7f914005afd938000e011b27..."} 
[2026-07-13 17:07:11] local.INFO: Processing buffer {"connection_id":131503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4129a8012d7f914005afd938000e011b27..."} 
[2026-07-13 17:07:11] local.INFO: Packet analysis {"connection_id":131503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b41"} 
[2026-07-13 17:07:11] local.INFO: Extracted packet for processing {"connection_id":131503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b41"} 
[2026-07-13 17:07:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689183744001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783942425000,"timestamp_ms":1783942425000,"timestamp_seconds":1783942425,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4129a8"} 
[2026-07-13 17:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689183744001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689183744001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:07:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:07:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689183744001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":131503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:07:11] local.INFO: GPS data processed {"connection_id":131503,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:07:11] local.INFO: Acknowledgment sent {"connection_id":131503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:07:18] local.INFO: TCP Data received {"connection_id":130462,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3ff510012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3ff510012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:07:18] local.INFO: Processing buffer {"connection_id":130462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3ff510012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:07:18] local.INFO: Packet analysis {"connection_id":130462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3f"} 
[2026-07-13 17:07:18] local.INFO: Extracted packet for processing {"connection_id":130462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3f"} 
[2026-07-13 17:07:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689163520001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:07:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783942346000,"timestamp_ms":1783942346000,"timestamp_seconds":1783942346,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3ff510"} 
[2026-07-13 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-07-13 17:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 17:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689163520001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689163520001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:07:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:07:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:07:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689163520001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":130462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480839,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:07:18] local.INFO: GPS data processed {"connection_id":130462,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:07:18] local.INFO: Acknowledgment sent {"connection_id":130462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:07:34] local.INFO: TCP Data received {"connection_id":130689,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:07:34] local.INFO: Processing buffer {"connection_id":130689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:07:34] local.INFO: IMEI packet received {"connection_id":130689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":130689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:07:39] local.INFO: TCP Data received {"connection_id":130689,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:07:39] local.INFO: Processing buffer {"connection_id":130689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:07:39] local.INFO: IMEI packet received {"connection_id":130689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":130689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:07:39] local.INFO: TCP Data received {"connection_id":130463,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130463,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:07:39] local.INFO: Processing buffer {"connection_id":130463,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:07:39] local.INFO: IMEI packet received {"connection_id":130463,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":130463,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:07:40] local.INFO: TCP Data received {"connection_id":130689,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4129a8012d7f914005afd938000e011b27..."} 
[2026-07-13 17:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4129a8012d7f914005afd938000e011b27..."} 
[2026-07-13 17:07:40] local.INFO: Processing buffer {"connection_id":130689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4129a8012d7f914005afd938000e011b27..."} 
[2026-07-13 17:07:40] local.INFO: Packet analysis {"connection_id":130689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b41"} 
[2026-07-13 17:07:40] local.INFO: Extracted packet for processing {"connection_id":130689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b41"} 
[2026-07-13 17:07:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689183744001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783942425000,"timestamp_ms":1783942425000,"timestamp_seconds":1783942425,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4129a8"} 
[2026-07-13 17:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689183744001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689183744001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:07:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:07:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689183744001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":130689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:07:40] local.INFO: GPS data processed {"connection_id":130689,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:07:40] local.INFO: Acknowledgment sent {"connection_id":130689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:07:45] local.INFO: TCP Data received {"connection_id":130463,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130463,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:07:45] local.INFO: Processing buffer {"connection_id":130463,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:07:45] local.INFO: IMEI packet received {"connection_id":130463,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":130463,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:07:46] local.INFO: TCP Data received {"connection_id":130463,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b3ff510012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b3ff510012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:07:46] local.INFO: Processing buffer {"connection_id":130463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b3ff510012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:07:46] local.INFO: Packet analysis {"connection_id":130463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b3f"} 
[2026-07-13 17:07:46] local.INFO: Extracted packet for processing {"connection_id":130463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b3f"} 
[2026-07-13 17:07:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689163520001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:07:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783942346000,"timestamp_ms":1783942346000,"timestamp_seconds":1783942346,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b3ff510"} 
[2026-07-13 17:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130463,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130463,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689163520001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689163520001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:07:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:07:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:07:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689163520001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":130463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480841,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:07:46] local.INFO: GPS data processed {"connection_id":130463,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:07:46] local.INFO: Acknowledgment sent {"connection_id":130463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:08:11] local.INFO: TCP Data received {"connection_id":130689,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4129a8012d7f914005afd938000e011b27..."} 
[2026-07-13 17:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4129a8012d7f914005afd938000e011b27..."} 
[2026-07-13 17:08:11] local.INFO: Processing buffer {"connection_id":130689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4129a8012d7f914005afd938000e011b27..."} 
[2026-07-13 17:08:11] local.INFO: Packet analysis {"connection_id":130689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b41"} 
[2026-07-13 17:08:11] local.INFO: Extracted packet for processing {"connection_id":130689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b41"} 
[2026-07-13 17:08:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689183744001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783942425000,"timestamp_ms":1783942425000,"timestamp_seconds":1783942425,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4129a8"} 
[2026-07-13 17:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689183744001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689183744001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:08:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:08:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689183744001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":130689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:08:11] local.INFO: GPS data processed {"connection_id":130689,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:08:11] local.INFO: Acknowledgment sent {"connection_id":130689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:08:17] local.INFO: TCP Data received {"connection_id":130463,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:08:17] local.INFO: Processing buffer {"connection_id":130463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:08:17] local.INFO: Packet analysis {"connection_id":130463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b44"} 
[2026-07-13 17:08:17] local.INFO: Extracted packet for processing {"connection_id":130463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b44"} 
[2026-07-13 17:08:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17: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-07-13 17:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689240576001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:08:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783942647000,"timestamp_ms":1783942647000,"timestamp_seconds":1783942647,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b448cd8"} 
[2026-07-13 17:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:08: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-07-13 17: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17: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-07-13 17:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130463,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130463,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689240576001,"66":25028,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689240576001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:08:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:08:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:08:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689240576001,"power":25028,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":130463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480843,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:08:17] local.INFO: GPS data processed {"connection_id":130463,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:08:17] local.INFO: Acknowledgment sent {"connection_id":130463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:08:39] local.INFO: TCP Data received {"connection_id":130464,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:08:39] local.INFO: Processing buffer {"connection_id":130464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:08:39] local.INFO: IMEI packet received {"connection_id":130464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":130464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:08:40] local.INFO: TCP Data received {"connection_id":130465,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:08:40] local.INFO: Processing buffer {"connection_id":130465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:08:40] local.INFO: IMEI packet received {"connection_id":130465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":130465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:08:44] local.INFO: TCP Data received {"connection_id":130464,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:08:44] local.INFO: Processing buffer {"connection_id":130464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:08:44] local.INFO: IMEI packet received {"connection_id":130464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":130464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:08:45] local.INFO: TCP Data received {"connection_id":130465,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:08:45] local.INFO: Processing buffer {"connection_id":130465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:08:45] local.INFO: IMEI packet received {"connection_id":130465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":130465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:08:46] local.INFO: TCP Data received {"connection_id":130465,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:08:46] local.INFO: Processing buffer {"connection_id":130465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:08:46] local.INFO: Packet analysis {"connection_id":130465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b44"} 
[2026-07-13 17:08:46] local.INFO: Extracted packet for processing {"connection_id":130465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b44"} 
[2026-07-13 17:08:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689240576001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:08:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783942647000,"timestamp_ms":1783942647000,"timestamp_seconds":1783942647,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b448cd8"} 
[2026-07-13 17:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689240576001,"66":25028,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689240576001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:08:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:08:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:08:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689240576001,"power":25028,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":130465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480844,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:08:46] local.INFO: GPS data processed {"connection_id":130465,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:08:46] local.INFO: Acknowledgment sent {"connection_id":130465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:08:48] local.INFO: TCP Data received {"connection_id":130464,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4129a8012d7f914005afd938000e011b27..."} 
[2026-07-13 17:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4129a8012d7f914005afd938000e011b27..."} 
[2026-07-13 17:08:48] local.INFO: Processing buffer {"connection_id":130464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4129a8012d7f914005afd938000e011b27..."} 
[2026-07-13 17:08:48] local.INFO: Packet analysis {"connection_id":130464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b41"} 
[2026-07-13 17:08:48] local.INFO: Extracted packet for processing {"connection_id":130464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b41"} 
[2026-07-13 17:08:48] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689183744001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783942425000,"timestamp_ms":1783942425000,"timestamp_seconds":1783942425,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4129a8"} 
[2026-07-13 17:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:08:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":130464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":130464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":130464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689183744001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689183744001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:08:49] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:08:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689183744001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":130464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:08:49] local.INFO: GPS data processed {"connection_id":130464,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:08:49] local.INFO: Acknowledgment sent {"connection_id":130464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:08:49] local.INFO: TCP Data received {"connection_id":130464,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4129a8012d7f914005afd938000e011b27..."} 
[2026-07-13 17:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4129a8012d7f914005afd938000e011b27..."} 
[2026-07-13 17:08:49] local.INFO: Processing buffer {"connection_id":130464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4129a8012d7f914005afd938000e011b27..."} 
[2026-07-13 17:08:49] local.INFO: Packet analysis {"connection_id":130464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b41"} 
[2026-07-13 17:08:49] local.INFO: Extracted packet for processing {"connection_id":130464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b41"} 
[2026-07-13 17:08:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 17:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689183744001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783942425000,"timestamp_ms":1783942425000,"timestamp_seconds":1783942425,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4129a8"} 
[2026-07-13 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-07-13 17:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 17:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689183744001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689183744001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:08:49] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:08:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689183744001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":130464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:08:49] local.INFO: GPS data processed {"connection_id":130464,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:08:49] local.INFO: Acknowledgment sent {"connection_id":130464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:08:50] local.INFO: TCP Data received {"connection_id":130465,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:08:50] local.INFO: Processing buffer {"connection_id":130465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:08:50] local.INFO: Packet analysis {"connection_id":130465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b44"} 
[2026-07-13 17:08:50] local.INFO: Extracted packet for processing {"connection_id":130465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b44"} 
[2026-07-13 17:08:50] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689240576001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:08:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783942647000,"timestamp_ms":1783942647000,"timestamp_seconds":1783942647,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b448cd8"} 
[2026-07-13 17:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:08:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:08:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689240576001,"66":25028,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689240576001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:08:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:08:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:08:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689240576001,"power":25028,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":130465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480847,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:08:50] local.INFO: GPS data processed {"connection_id":130465,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:08:50] local.INFO: Acknowledgment sent {"connection_id":130465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:09:22] local.INFO: TCP Data received {"connection_id":130465,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:09:22] local.INFO: Processing buffer {"connection_id":130465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:09:22] local.INFO: Packet analysis {"connection_id":130465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b44"} 
[2026-07-13 17:09:22] local.INFO: Extracted packet for processing {"connection_id":130465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b44"} 
[2026-07-13 17:09:22] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 17:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689240576001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:09:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783942647000,"timestamp_ms":1783942647000,"timestamp_seconds":1783942647,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b448cd8"} 
[2026-07-13 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-07-13 17:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 17:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689240576001,"66":25028,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689240576001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:09:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:09:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:09:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689240576001,"power":25028,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":130465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480848,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:09:22] local.INFO: GPS data processed {"connection_id":130465,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:09:22] local.INFO: Acknowledgment sent {"connection_id":130465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:09:34] local.INFO: TCP Data received {"connection_id":132828,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:09:34] local.INFO: Processing buffer {"connection_id":132828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:09:34] local.INFO: IMEI packet received {"connection_id":132828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":132828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:09:39] local.INFO: TCP Data received {"connection_id":132828,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:09:39] local.INFO: Processing buffer {"connection_id":132828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:09:39] local.INFO: IMEI packet received {"connection_id":132828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":132828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:09:40] local.INFO: TCP Data received {"connection_id":132828,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b45c170012d7f914005afd938000c011b26..."} 
[2026-07-13 17:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b45c170012d7f914005afd938000c011b26..."} 
[2026-07-13 17:09:40] local.INFO: Processing buffer {"connection_id":132828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b45c170012d7f914005afd938000c011b26..."} 
[2026-07-13 17:09:40] local.INFO: Packet analysis {"connection_id":132828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b45"} 
[2026-07-13 17:09:40] local.INFO: Extracted packet for processing {"connection_id":132828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b45"} 
[2026-07-13 17:09:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689260800001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783942726000,"timestamp_ms":1783942726000,"timestamp_seconds":1783942726,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b45c170"} 
[2026-07-13 17:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 17:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689260800001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689260800001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:09:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:09:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689260800001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":132828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:09:40] local.INFO: GPS data processed {"connection_id":132828,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:09:40] local.INFO: Acknowledgment sent {"connection_id":132828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:09:41] local.INFO: TCP Data received {"connection_id":130690,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:09:41] local.INFO: Processing buffer {"connection_id":130690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:09:41] local.INFO: IMEI packet received {"connection_id":130690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":130690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:09:45] local.INFO: TCP Data received {"connection_id":130690,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:09:45] local.INFO: Processing buffer {"connection_id":130690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:09:45] local.INFO: IMEI packet received {"connection_id":130690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":130690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:09:46] local.INFO: TCP Data received {"connection_id":130690,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:09:46] local.INFO: Processing buffer {"connection_id":130690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:09:46] local.INFO: Packet analysis {"connection_id":130690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b44"} 
[2026-07-13 17:09:46] local.INFO: Extracted packet for processing {"connection_id":130690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b44"} 
[2026-07-13 17:09:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689240576001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:09:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783942647000,"timestamp_ms":1783942647000,"timestamp_seconds":1783942647,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b448cd8"} 
[2026-07-13 17:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130690,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130690,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689240576001,"66":25028,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689240576001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:09:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:09:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:09:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689240576001,"power":25028,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":130690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480850,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:09:46] local.INFO: GPS data processed {"connection_id":130690,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:09:46] local.INFO: Acknowledgment sent {"connection_id":130690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:09:51] local.INFO: TCP Data received {"connection_id":130690,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:09:51] local.INFO: Processing buffer {"connection_id":130690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:09:51] local.INFO: Packet analysis {"connection_id":130690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b44"} 
[2026-07-13 17:09:51] local.INFO: Extracted packet for processing {"connection_id":130690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b44"} 
[2026-07-13 17:09:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17: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-07-13 17:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689240576001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:09:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783942647000,"timestamp_ms":1783942647000,"timestamp_seconds":1783942647,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b448cd8"} 
[2026-07-13 17:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17: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-07-13 17:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130690,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130690,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689240576001,"66":25028,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689240576001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:09:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:09:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:09:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689240576001,"power":25028,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":130690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480851,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:09:51] local.INFO: GPS data processed {"connection_id":130690,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:09:51] local.INFO: Acknowledgment sent {"connection_id":130690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:10:11] local.INFO: TCP Data received {"connection_id":132828,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b45c170012d7f914005afd938000c011b26..."} 
[2026-07-13 17:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b45c170012d7f914005afd938000c011b26..."} 
[2026-07-13 17:10:11] local.INFO: Processing buffer {"connection_id":132828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b45c170012d7f914005afd938000c011b26..."} 
[2026-07-13 17:10:11] local.INFO: Packet analysis {"connection_id":132828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b45"} 
[2026-07-13 17:10:11] local.INFO: Extracted packet for processing {"connection_id":132828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b45"} 
[2026-07-13 17:10:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689260800001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783942726000,"timestamp_ms":1783942726000,"timestamp_seconds":1783942726,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b45c170"} 
[2026-07-13 17:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 17:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689260800001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689260800001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:10:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:10:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689260800001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":132828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:10:11] local.INFO: GPS data processed {"connection_id":132828,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:10:11] local.INFO: Acknowledgment sent {"connection_id":132828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:10:22] local.INFO: TCP Data received {"connection_id":130690,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:10:22] local.INFO: Processing buffer {"connection_id":130690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:10:22] local.INFO: Packet analysis {"connection_id":130690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b44"} 
[2026-07-13 17:10:22] local.INFO: Extracted packet for processing {"connection_id":130690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b44"} 
[2026-07-13 17:10:22] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689240576001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:10:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783942647000,"timestamp_ms":1783942647000,"timestamp_seconds":1783942647,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b448cd8"} 
[2026-07-13 17:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130690,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130690,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689240576001,"66":25028,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689240576001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:10:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:10:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:10:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689240576001,"power":25028,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":130690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480853,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:10:22] local.INFO: GPS data processed {"connection_id":130690,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:10:22] local.INFO: Acknowledgment sent {"connection_id":130690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:10:34] local.INFO: TCP Data received {"connection_id":131504,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:10:34] local.INFO: Processing buffer {"connection_id":131504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:10:34] local.INFO: IMEI packet received {"connection_id":131504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":131504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:10:39] local.INFO: TCP Data received {"connection_id":131505,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131505,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:10:39] local.INFO: Processing buffer {"connection_id":131505,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:10:39] local.INFO: IMEI packet received {"connection_id":131505,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":131505,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:10:40] local.INFO: TCP Data received {"connection_id":131504,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:10:40] local.INFO: Processing buffer {"connection_id":131504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:10:40] local.INFO: IMEI packet received {"connection_id":131504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":131504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:10:41] local.INFO: TCP Data received {"connection_id":131504,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b45c170012d7f914005afd938000c011b26..."} 
[2026-07-13 17:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b45c170012d7f914005afd938000c011b26..."} 
[2026-07-13 17:10:41] local.INFO: Processing buffer {"connection_id":131504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b45c170012d7f914005afd938000c011b26..."} 
[2026-07-13 17:10:41] local.INFO: Packet analysis {"connection_id":131504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b45"} 
[2026-07-13 17:10:41] local.INFO: Extracted packet for processing {"connection_id":131504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b45"} 
[2026-07-13 17:10:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689260800001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783942726000,"timestamp_ms":1783942726000,"timestamp_seconds":1783942726,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b45c170"} 
[2026-07-13 17:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 17:10:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689260800001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689260800001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:10:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:10:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689260800001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":131504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:10:41] local.INFO: GPS data processed {"connection_id":131504,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:10:41] local.INFO: Acknowledgment sent {"connection_id":131504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:10:45] local.INFO: TCP Data received {"connection_id":131505,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131505,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:10:45] local.INFO: Processing buffer {"connection_id":131505,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:10:45] local.INFO: IMEI packet received {"connection_id":131505,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":131505,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:10:46] local.INFO: TCP Data received {"connection_id":131505,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:10:46] local.INFO: Processing buffer {"connection_id":131505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:10:46] local.INFO: Packet analysis {"connection_id":131505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b44"} 
[2026-07-13 17:10:46] local.INFO: Extracted packet for processing {"connection_id":131505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b44"} 
[2026-07-13 17:10:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689240576001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:10:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783942647000,"timestamp_ms":1783942647000,"timestamp_seconds":1783942647,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b448cd8"} 
[2026-07-13 17:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131505,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131505,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689240576001,"66":25028,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689240576001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:10:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:10:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:10:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689240576001,"power":25028,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":131505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480855,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:10:46] local.INFO: GPS data processed {"connection_id":131505,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:10:46] local.INFO: Acknowledgment sent {"connection_id":131505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:11:12] local.INFO: TCP Data received {"connection_id":131504,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b45c170012d7f914005afd938000c011b26..."} 
[2026-07-13 17:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b45c170012d7f914005afd938000c011b26..."} 
[2026-07-13 17:11:12] local.INFO: Processing buffer {"connection_id":131504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b45c170012d7f914005afd938000c011b26..."} 
[2026-07-13 17:11:12] local.INFO: Packet analysis {"connection_id":131504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b45"} 
[2026-07-13 17:11:12] local.INFO: Extracted packet for processing {"connection_id":131504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b45"} 
[2026-07-13 17:11:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689260800001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783942726000,"timestamp_ms":1783942726000,"timestamp_seconds":1783942726,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b45c170"} 
[2026-07-13 17:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 17:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689260800001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689260800001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:11:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:11:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689260800001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":131504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:11:12] local.INFO: GPS data processed {"connection_id":131504,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:11:12] local.INFO: Acknowledgment sent {"connection_id":131504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:11:18] local.INFO: TCP Data received {"connection_id":131505,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:11:18] local.INFO: Processing buffer {"connection_id":131505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:11:18] local.INFO: Packet analysis {"connection_id":131505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b44"} 
[2026-07-13 17:11:18] local.INFO: Extracted packet for processing {"connection_id":131505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b44"} 
[2026-07-13 17:11:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 17:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689240576001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:11:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783942647000,"timestamp_ms":1783942647000,"timestamp_seconds":1783942647,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b448cd8"} 
[2026-07-13 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-07-13 17:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:11:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 17:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131505,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131505,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689240576001,"66":25028,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689240576001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:11:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:11:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:11:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689240576001,"power":25028,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":131505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480857,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:11:18] local.INFO: GPS data processed {"connection_id":131505,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:11:18] local.INFO: Acknowledgment sent {"connection_id":131505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:11:34] local.INFO: TCP Data received {"connection_id":131506,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:11:34] local.INFO: Processing buffer {"connection_id":131506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:11:34] local.INFO: IMEI packet received {"connection_id":131506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":131506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:11:39] local.INFO: TCP Data received {"connection_id":131506,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:11:39] local.INFO: Processing buffer {"connection_id":131506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:11:39] local.INFO: IMEI packet received {"connection_id":131506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":131506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:11:39] local.INFO: TCP Data received {"connection_id":132829,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132829,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:11:39] local.INFO: Processing buffer {"connection_id":132829,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:11:39] local.INFO: IMEI packet received {"connection_id":132829,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":132829,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:11:40] local.INFO: TCP Data received {"connection_id":131506,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b45c170012d7f914005afd938000c011b26..."} 
[2026-07-13 17:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b45c170012d7f914005afd938000c011b26..."} 
[2026-07-13 17:11:40] local.INFO: Processing buffer {"connection_id":131506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b45c170012d7f914005afd938000c011b26..."} 
[2026-07-13 17:11:40] local.INFO: Packet analysis {"connection_id":131506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b45"} 
[2026-07-13 17:11:40] local.INFO: Extracted packet for processing {"connection_id":131506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b45"} 
[2026-07-13 17:11:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689260800001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783942726000,"timestamp_ms":1783942726000,"timestamp_seconds":1783942726,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b45c170"} 
[2026-07-13 17:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 17:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689260800001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689260800001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:11:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:11:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689260800001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":131506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:11:40] local.INFO: GPS data processed {"connection_id":131506,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:11:40] local.INFO: Acknowledgment sent {"connection_id":131506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:11:45] local.INFO: TCP Data received {"connection_id":132829,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132829,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:11:45] local.INFO: Processing buffer {"connection_id":132829,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:11:45] local.INFO: IMEI packet received {"connection_id":132829,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":132829,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:11:46] local.INFO: TCP Data received {"connection_id":132829,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:11:46] local.INFO: Processing buffer {"connection_id":132829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:11:46] local.INFO: Packet analysis {"connection_id":132829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b44"} 
[2026-07-13 17:11:46] local.INFO: Extracted packet for processing {"connection_id":132829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b44"} 
[2026-07-13 17:11:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689240576001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:11:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783942647000,"timestamp_ms":1783942647000,"timestamp_seconds":1783942647,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b448cd8"} 
[2026-07-13 17:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689240576001,"66":25028,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689240576001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:11:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:11:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:11:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689240576001,"power":25028,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":132829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480859,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:11:46] local.INFO: GPS data processed {"connection_id":132829,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:11:46] local.INFO: Acknowledgment sent {"connection_id":132829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:12:11] local.INFO: TCP Data received {"connection_id":131506,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b45c170012d7f914005afd938000c011b26..."} 
[2026-07-13 17:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b45c170012d7f914005afd938000c011b26..."} 
[2026-07-13 17:12:11] local.INFO: Processing buffer {"connection_id":131506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b45c170012d7f914005afd938000c011b26..."} 
[2026-07-13 17:12:11] local.INFO: Packet analysis {"connection_id":131506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b45"} 
[2026-07-13 17:12:11] local.INFO: Extracted packet for processing {"connection_id":131506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b45"} 
[2026-07-13 17:12:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689260800001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783942726000,"timestamp_ms":1783942726000,"timestamp_seconds":1783942726,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b45c170"} 
[2026-07-13 17:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 17:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689260800001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689260800001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:12:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:12:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689260800001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":131506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:12:11] local.INFO: GPS data processed {"connection_id":131506,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:12:11] local.INFO: Acknowledgment sent {"connection_id":131506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:12:17] local.INFO: TCP Data received {"connection_id":132829,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:12:17] local.INFO: Processing buffer {"connection_id":132829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:12:17] local.INFO: Packet analysis {"connection_id":132829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b44"} 
[2026-07-13 17:12:17] local.INFO: Extracted packet for processing {"connection_id":132829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b44"} 
[2026-07-13 17:12:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17: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-07-13 17:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689240576001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:12:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783942647000,"timestamp_ms":1783942647000,"timestamp_seconds":1783942647,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b448cd8"} 
[2026-07-13 17:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:12: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-07-13 17: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17: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-07-13 17:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689240576001,"66":25028,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689240576001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:12:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:12:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:12:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689240576001,"power":25028,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":132829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480861,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:12:18] local.INFO: GPS data processed {"connection_id":132829,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:12:18] local.INFO: Acknowledgment sent {"connection_id":132829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:12:39] local.INFO: TCP Data received {"connection_id":130466,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:12:39] local.INFO: Processing buffer {"connection_id":130466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:12:39] local.INFO: IMEI packet received {"connection_id":130466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":130466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:12:39] local.INFO: TCP Data received {"connection_id":132830,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132830,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:12:39] local.INFO: Processing buffer {"connection_id":132830,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:12:39] local.INFO: IMEI packet received {"connection_id":132830,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":132830,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:12:44] local.INFO: TCP Data received {"connection_id":130466,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:12:44] local.INFO: Processing buffer {"connection_id":130466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:12:44] local.INFO: IMEI packet received {"connection_id":130466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":130466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:12:45] local.INFO: TCP Data received {"connection_id":132830,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132830,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:12:45] local.INFO: Processing buffer {"connection_id":132830,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:12:45] local.INFO: IMEI packet received {"connection_id":132830,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":132830,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:12:45] local.INFO: TCP Data received {"connection_id":130466,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b45c170012d7f914005afd938000c011b26..."} 
[2026-07-13 17:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b45c170012d7f914005afd938000c011b26..."} 
[2026-07-13 17:12:45] local.INFO: Processing buffer {"connection_id":130466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b45c170012d7f914005afd938000c011b26..."} 
[2026-07-13 17:12:45] local.INFO: Packet analysis {"connection_id":130466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b45"} 
[2026-07-13 17:12:45] local.INFO: Extracted packet for processing {"connection_id":130466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b45"} 
[2026-07-13 17:12:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689260800001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783942726000,"timestamp_ms":1783942726000,"timestamp_seconds":1783942726,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b45c170"} 
[2026-07-13 17:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 17:12:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:12:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689260800001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689260800001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:12:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:12:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689260800001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":130466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:12:45] local.INFO: GPS data processed {"connection_id":130466,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:12:45] local.INFO: Acknowledgment sent {"connection_id":130466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:12:46] local.INFO: TCP Data received {"connection_id":132830,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:12:46] local.INFO: Processing buffer {"connection_id":132830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b448cd8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:12:46] local.INFO: Packet analysis {"connection_id":132830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b44"} 
[2026-07-13 17:12:46] local.INFO: Extracted packet for processing {"connection_id":132830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b44"} 
[2026-07-13 17:12:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689240576001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:12:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783942647000,"timestamp_ms":1783942647000,"timestamp_seconds":1783942647,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b448cd8"} 
[2026-07-13 17:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132830,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132830,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689240576001,"66":25028,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689240576001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:12:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:12:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:12:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689240576001,"power":25028,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":132830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480863,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:12:46] local.INFO: GPS data processed {"connection_id":132830,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:12:46] local.INFO: Acknowledgment sent {"connection_id":132830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:13:16] local.INFO: TCP Data received {"connection_id":130466,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b45c170012d7f914005afd938000c011b26..."} 
[2026-07-13 17:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b45c170012d7f914005afd938000c011b26..."} 
[2026-07-13 17:13:16] local.INFO: Processing buffer {"connection_id":130466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b45c170012d7f914005afd938000c011b26..."} 
[2026-07-13 17:13:16] local.INFO: Packet analysis {"connection_id":130466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b45"} 
[2026-07-13 17:13:16] local.INFO: Extracted packet for processing {"connection_id":130466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b45"} 
[2026-07-13 17:13:16] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17: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-07-13 17:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689260800001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783942726000,"timestamp_ms":1783942726000,"timestamp_seconds":1783942726,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b45c170"} 
[2026-07-13 17:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 17:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17: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-07-13 17:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689260800001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689260800001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:13:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:13:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689260800001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":130466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:13:16] local.INFO: GPS data processed {"connection_id":130466,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:13:16] local.INFO: Acknowledgment sent {"connection_id":130466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:13:17] local.INFO: TCP Data received {"connection_id":132830,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:13:17] local.INFO: Processing buffer {"connection_id":132830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:13:17] local.INFO: Packet analysis {"connection_id":132830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b49"} 
[2026-07-13 17:13:17] local.INFO: Extracted packet for processing {"connection_id":132830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b49"} 
[2026-07-13 17:13:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689317632001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:13:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783942948000,"timestamp_ms":1783942948000,"timestamp_seconds":1783942948,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4924a0"} 
[2026-07-13 17:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:13: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-07-13 17: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 17:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132830,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132830,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689317632001,"66":25006,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689317632001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:13:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:13:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:13:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689317632001,"power":25006,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":132830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480865,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:13:17] local.INFO: GPS data processed {"connection_id":132830,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:13:17] local.INFO: Acknowledgment sent {"connection_id":132830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:13:34] local.INFO: TCP Data received {"connection_id":130467,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:13:34] local.INFO: Processing buffer {"connection_id":130467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:13:34] local.INFO: IMEI packet received {"connection_id":130467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":130467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:13:40] local.INFO: TCP Data received {"connection_id":130467,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:13:40] local.INFO: Processing buffer {"connection_id":130467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:13:40] local.INFO: IMEI packet received {"connection_id":130467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":130467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:13:41] local.INFO: TCP Data received {"connection_id":130467,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b45c170012d7f914005afd938000c011b26..."} 
[2026-07-13 17:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b45c170012d7f914005afd938000c011b26..."} 
[2026-07-13 17:13:41] local.INFO: Processing buffer {"connection_id":130467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b45c170012d7f914005afd938000c011b26..."} 
[2026-07-13 17:13:41] local.INFO: Packet analysis {"connection_id":130467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b45"} 
[2026-07-13 17:13:41] local.INFO: Extracted packet for processing {"connection_id":130467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b45"} 
[2026-07-13 17:13:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689260800001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783942726000,"timestamp_ms":1783942726000,"timestamp_seconds":1783942726,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b45c170"} 
[2026-07-13 17:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 17:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689260800001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689260800001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:13:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:13:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689260800001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":130467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:13:41] local.INFO: GPS data processed {"connection_id":130467,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:13:41] local.INFO: Acknowledgment sent {"connection_id":130467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:13:45] local.INFO: TCP Data received {"connection_id":131507,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131507,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:13:45] local.INFO: Processing buffer {"connection_id":131507,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:13:45] local.INFO: IMEI packet received {"connection_id":131507,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":131507,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:13:50] local.INFO: TCP Data received {"connection_id":131507,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131507,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:13:50] local.INFO: Processing buffer {"connection_id":131507,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:13:50] local.INFO: IMEI packet received {"connection_id":131507,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":131507,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:13:51] local.INFO: TCP Data received {"connection_id":131507,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:13:51] local.INFO: Processing buffer {"connection_id":131507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:13:51] local.INFO: Packet analysis {"connection_id":131507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b49"} 
[2026-07-13 17:13:51] local.INFO: Extracted packet for processing {"connection_id":131507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b49"} 
[2026-07-13 17:13:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17: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-07-13 17:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689317632001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:13:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783942948000,"timestamp_ms":1783942948000,"timestamp_seconds":1783942948,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4924a0"} 
[2026-07-13 17:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 17:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":131507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":131507,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":131507,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689317632001,"66":25006,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689317632001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:13:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:13:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:13:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689317632001,"power":25006,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":131507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480867,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:13:51] local.INFO: GPS data processed {"connection_id":131507,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:13:51] local.INFO: Acknowledgment sent {"connection_id":131507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:13:56] local.INFO: TCP Data received {"connection_id":131507,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:13:56] local.INFO: Processing buffer {"connection_id":131507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:13:56] local.INFO: Packet analysis {"connection_id":131507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b49"} 
[2026-07-13 17:13:56] local.INFO: Extracted packet for processing {"connection_id":131507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b49"} 
[2026-07-13 17:13:56] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689317632001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:13:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783942948000,"timestamp_ms":1783942948000,"timestamp_seconds":1783942948,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4924a0"} 
[2026-07-13 17:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 17:13:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:13:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":131507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":131507,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":131507,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689317632001,"66":25006,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689317632001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:13:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:13:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:13:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689317632001,"power":25006,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":131507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480868,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:13:56] local.INFO: GPS data processed {"connection_id":131507,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:13:56] local.INFO: Acknowledgment sent {"connection_id":131507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:14:12] local.INFO: TCP Data received {"connection_id":130467,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b45c170012d7f914005afd938000c011b26..."} 
[2026-07-13 17:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b45c170012d7f914005afd938000c011b26..."} 
[2026-07-13 17:14:12] local.INFO: Processing buffer {"connection_id":130467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b45c170012d7f914005afd938000c011b26..."} 
[2026-07-13 17:14:12] local.INFO: Packet analysis {"connection_id":130467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b45"} 
[2026-07-13 17:14:12] local.INFO: Extracted packet for processing {"connection_id":130467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b45"} 
[2026-07-13 17:14:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689260800001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783942726000,"timestamp_ms":1783942726000,"timestamp_seconds":1783942726,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b45c170"} 
[2026-07-13 17:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 17:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689260800001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689260800001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:14:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:14:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689260800001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":130467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:14:12] local.INFO: GPS data processed {"connection_id":130467,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:14:12] local.INFO: Acknowledgment sent {"connection_id":130467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:14:34] local.INFO: TCP Data received {"connection_id":131508,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:14:34] local.INFO: Processing buffer {"connection_id":131508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:14:34] local.INFO: IMEI packet received {"connection_id":131508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":131508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:14:39] local.INFO: TCP Data received {"connection_id":131508,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:14:39] local.INFO: Processing buffer {"connection_id":131508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:14:39] local.INFO: IMEI packet received {"connection_id":131508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":131508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:14:40] local.INFO: TCP Data received {"connection_id":131508,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4a5938012d7f914005afd938000c011b23..."} 
[2026-07-13 17:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4a5938012d7f914005afd938000c011b23..."} 
[2026-07-13 17:14:40] local.INFO: Processing buffer {"connection_id":131508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4a5938012d7f914005afd938000c011b23..."} 
[2026-07-13 17:14:40] local.INFO: Packet analysis {"connection_id":131508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b4a"} 
[2026-07-13 17:14:40] local.INFO: Extracted packet for processing {"connection_id":131508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b4a"} 
[2026-07-13 17:14:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689337856001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783943027000,"timestamp_ms":1783943027000,"timestamp_seconds":1783943027,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4a5938"} 
[2026-07-13 17:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689337856001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689337856001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:14:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:14:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689337856001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":131508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:14:40] local.INFO: GPS data processed {"connection_id":131508,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:14:40] local.INFO: Acknowledgment sent {"connection_id":131508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:14:41] local.INFO: TCP Data received {"connection_id":130691,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:14:41] local.INFO: Processing buffer {"connection_id":130691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:14:41] local.INFO: IMEI packet received {"connection_id":130691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":130691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:14:45] local.INFO: TCP Data received {"connection_id":130691,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:14:45] local.INFO: Processing buffer {"connection_id":130691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:14:45] local.INFO: IMEI packet received {"connection_id":130691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":130691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:14:47] local.INFO: TCP Data received {"connection_id":130691,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:14:47] local.INFO: Processing buffer {"connection_id":130691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:14:47] local.INFO: Packet analysis {"connection_id":130691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b49"} 
[2026-07-13 17:14:47] local.INFO: Extracted packet for processing {"connection_id":130691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b49"} 
[2026-07-13 17:14:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689317632001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:14:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783942948000,"timestamp_ms":1783942948000,"timestamp_seconds":1783942948,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4924a0"} 
[2026-07-13 17:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 17:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689317632001,"66":25006,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689317632001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:14:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:14:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:14:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689317632001,"power":25006,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":130691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480871,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:14:47] local.INFO: GPS data processed {"connection_id":130691,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:14:47] local.INFO: Acknowledgment sent {"connection_id":130691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:14:51] local.INFO: TCP Data received {"connection_id":130691,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:14:51] local.INFO: Processing buffer {"connection_id":130691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:14:51] local.INFO: Packet analysis {"connection_id":130691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b49"} 
[2026-07-13 17:14:51] local.INFO: Extracted packet for processing {"connection_id":130691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b49"} 
[2026-07-13 17:14:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689317632001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:14:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783942948000,"timestamp_ms":1783942948000,"timestamp_seconds":1783942948,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4924a0"} 
[2026-07-13 17:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 17:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689317632001,"66":25006,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689317632001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:14:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:14:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:14:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689317632001,"power":25006,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":130691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480872,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:14:51] local.INFO: GPS data processed {"connection_id":130691,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:14:51] local.INFO: Acknowledgment sent {"connection_id":130691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:15:23] local.INFO: TCP Data received {"connection_id":130691,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:15:23] local.INFO: Processing buffer {"connection_id":130691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:15:23] local.INFO: Packet analysis {"connection_id":130691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b49"} 
[2026-07-13 17:15:23] local.INFO: Extracted packet for processing {"connection_id":130691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b49"} 
[2026-07-13 17:15:23] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689317632001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:15:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783942948000,"timestamp_ms":1783942948000,"timestamp_seconds":1783942948,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4924a0"} 
[2026-07-13 17:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 17:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":130691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":130691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":130691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689317632001,"66":25006,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689317632001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:15:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:15:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:15:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689317632001,"power":25006,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":130691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480873,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:15:23] local.INFO: GPS data processed {"connection_id":130691,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:15:23] local.INFO: Acknowledgment sent {"connection_id":130691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:15:26] local.INFO: TCP Data received {"connection_id":131508,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4a5938012d7f914005afd938000c011b23..."} 
[2026-07-13 17:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4a5938012d7f914005afd938000c011b23..."} 
[2026-07-13 17:15:26] local.INFO: Processing buffer {"connection_id":131508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4a5938012d7f914005afd938000c011b23..."} 
[2026-07-13 17:15:26] local.INFO: Packet analysis {"connection_id":131508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b4a"} 
[2026-07-13 17:15:26] local.INFO: Extracted packet for processing {"connection_id":131508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b4a"} 
[2026-07-13 17:15:26] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689337856001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:15:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783943027000,"timestamp_ms":1783943027000,"timestamp_seconds":1783943027,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4a5938"} 
[2026-07-13 17:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:15:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:15:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:15:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":131508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":131508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":131508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:15:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689337856001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689337856001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:15:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:15:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689337856001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":131508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:15:26] local.INFO: GPS data processed {"connection_id":131508,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:15:26] local.INFO: Acknowledgment sent {"connection_id":131508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:15:40] local.INFO: TCP Data received {"connection_id":130468,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130468,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:15:40] local.INFO: Processing buffer {"connection_id":130468,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:15:40] local.INFO: IMEI packet received {"connection_id":130468,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":130468,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:15:45] local.INFO: TCP Data received {"connection_id":130468,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130468,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:15:45] local.INFO: Processing buffer {"connection_id":130468,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:15:45] local.INFO: IMEI packet received {"connection_id":130468,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":130468,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:15:46] local.INFO: TCP Data received {"connection_id":130468,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:15:46] local.INFO: Processing buffer {"connection_id":130468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:15:46] local.INFO: Packet analysis {"connection_id":130468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b49"} 
[2026-07-13 17:15:46] local.INFO: Extracted packet for processing {"connection_id":130468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b49"} 
[2026-07-13 17:15:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689317632001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:15:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783942948000,"timestamp_ms":1783942948000,"timestamp_seconds":1783942948,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4924a0"} 
[2026-07-13 17:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 17:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130468,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130468,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689317632001,"66":25006,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689317632001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:15:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:15:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:15:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689317632001,"power":25006,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":130468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480875,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:15:46] local.INFO: GPS data processed {"connection_id":130468,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:15:46] local.INFO: Acknowledgment sent {"connection_id":130468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:16:09] local.INFO: TCP Data received {"connection_id":131509,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:16:09] local.INFO: Processing buffer {"connection_id":131509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:16:09] local.INFO: IMEI packet received {"connection_id":131509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":131509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:16:17] local.INFO: TCP Data received {"connection_id":131509,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:16:17] local.INFO: Processing buffer {"connection_id":131509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:16:17] local.INFO: IMEI packet received {"connection_id":131509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":131509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:16:18] local.INFO: TCP Data received {"connection_id":131509,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4a5938012d7f914005afd938000c011b23..."} 
[2026-07-13 17:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4a5938012d7f914005afd938000c011b23..."} 
[2026-07-13 17:16:18] local.INFO: Processing buffer {"connection_id":131509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4a5938012d7f914005afd938000c011b23..."} 
[2026-07-13 17:16:18] local.INFO: Packet analysis {"connection_id":131509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b4a"} 
[2026-07-13 17:16:18] local.INFO: Extracted packet for processing {"connection_id":131509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b4a"} 
[2026-07-13 17:16:18] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689337856001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783943027000,"timestamp_ms":1783943027000,"timestamp_seconds":1783943027,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4a5938"} 
[2026-07-13 17:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:16: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-07-13 17:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689337856001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689337856001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:16:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:16:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689337856001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":131509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:16:18] local.INFO: GPS data processed {"connection_id":131509,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:16:18] local.INFO: Acknowledgment sent {"connection_id":131509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:16:23] local.INFO: TCP Data received {"connection_id":130468,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:16:23] local.INFO: Processing buffer {"connection_id":130468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:16:23] local.INFO: Packet analysis {"connection_id":130468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b49"} 
[2026-07-13 17:16:23] local.INFO: Extracted packet for processing {"connection_id":130468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b49"} 
[2026-07-13 17:16:23] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17: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-07-13 17:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689317632001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:16:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783942948000,"timestamp_ms":1783942948000,"timestamp_seconds":1783942948,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4924a0"} 
[2026-07-13 17:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 17:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17: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-07-13 17:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":130468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":130468,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":130468,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689317632001,"66":25006,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689317632001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:16:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:16:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:16:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689317632001,"power":25006,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":130468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480877,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:16:23] local.INFO: GPS data processed {"connection_id":130468,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:16:23] local.INFO: Acknowledgment sent {"connection_id":130468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:16:39] local.INFO: TCP Data received {"connection_id":131510,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131510,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:16:39] local.INFO: Processing buffer {"connection_id":131510,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:16:39] local.INFO: IMEI packet received {"connection_id":131510,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":131510,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:16:45] local.INFO: TCP Data received {"connection_id":131510,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131510,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:16:45] local.INFO: Processing buffer {"connection_id":131510,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:16:45] local.INFO: IMEI packet received {"connection_id":131510,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":131510,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:16:46] local.INFO: TCP Data received {"connection_id":131510,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:16:46] local.INFO: Processing buffer {"connection_id":131510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:16:46] local.INFO: Packet analysis {"connection_id":131510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b49"} 
[2026-07-13 17:16:46] local.INFO: Extracted packet for processing {"connection_id":131510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b49"} 
[2026-07-13 17:16:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689317632001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:16:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783942948000,"timestamp_ms":1783942948000,"timestamp_seconds":1783942948,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4924a0"} 
[2026-07-13 17:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 17:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131510,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131510,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689317632001,"66":25006,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689317632001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:16:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:16:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:16:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689317632001,"power":25006,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":131510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480878,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:16:46] local.INFO: GPS data processed {"connection_id":131510,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:16:46] local.INFO: Acknowledgment sent {"connection_id":131510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:16:59] local.INFO: TCP Data received {"connection_id":131511,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:16:59] local.INFO: Processing buffer {"connection_id":131511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:16:59] local.INFO: IMEI packet received {"connection_id":131511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":131511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:17:00] local.INFO: TCP Data received {"connection_id":131511,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:17:00] local.INFO: Processing buffer {"connection_id":131511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:17:00] local.INFO: IMEI packet received {"connection_id":131511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":131511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:17:01] local.INFO: TCP Data received {"connection_id":131511,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4a5938012d7f914005afd938000c011b23..."} 
[2026-07-13 17:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4a5938012d7f914005afd938000c011b23..."} 
[2026-07-13 17:17:02] local.INFO: Processing buffer {"connection_id":131511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4a5938012d7f914005afd938000c011b23..."} 
[2026-07-13 17:17:02] local.INFO: Packet analysis {"connection_id":131511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b4a"} 
[2026-07-13 17:17:02] local.INFO: Extracted packet for processing {"connection_id":131511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b4a"} 
[2026-07-13 17:17:02] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689337856001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783943027000,"timestamp_ms":1783943027000,"timestamp_seconds":1783943027,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4a5938"} 
[2026-07-13 17:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:17:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":131511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":131511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":131511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689337856001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689337856001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:17:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:17:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689337856001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":131511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:17:02] local.INFO: GPS data processed {"connection_id":131511,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:17:02] local.INFO: Acknowledgment sent {"connection_id":131511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:17:03] local.INFO: TCP Data received {"connection_id":131511,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4a5938012d7f914005afd938000c011b23..."} 
[2026-07-13 17:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4a5938012d7f914005afd938000c011b23..."} 
[2026-07-13 17:17:03] local.INFO: Processing buffer {"connection_id":131511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4a5938012d7f914005afd938000c011b23..."} 
[2026-07-13 17:17:03] local.INFO: Packet analysis {"connection_id":131511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b4a"} 
[2026-07-13 17:17:03] local.INFO: Extracted packet for processing {"connection_id":131511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b4a"} 
[2026-07-13 17:17:03] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689337856001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783943027000,"timestamp_ms":1783943027000,"timestamp_seconds":1783943027,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4a5938"} 
[2026-07-13 17:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":131511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":131511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":131511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689337856001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689337856001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:17:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:17:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689337856001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":131511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:17:03] local.INFO: GPS data processed {"connection_id":131511,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:17:03] local.INFO: Acknowledgment sent {"connection_id":131511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:17:18] local.INFO: TCP Data received {"connection_id":131510,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:17:18] local.INFO: Processing buffer {"connection_id":131510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:17:18] local.INFO: Packet analysis {"connection_id":131510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b49"} 
[2026-07-13 17:17:18] local.INFO: Extracted packet for processing {"connection_id":131510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b49"} 
[2026-07-13 17:17:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 17:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689317632001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:17:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783942948000,"timestamp_ms":1783942948000,"timestamp_seconds":1783942948,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4924a0"} 
[2026-07-13 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-07-13 17:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 17:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 17:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131510,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131510,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689317632001,"66":25006,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689317632001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:17:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:17:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:17:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689317632001,"power":25006,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":131510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480881,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:17:18] local.INFO: GPS data processed {"connection_id":131510,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:17:18] local.INFO: Acknowledgment sent {"connection_id":131510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:17:39] local.INFO: TCP Data received {"connection_id":130692,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130692,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:17:39] local.INFO: Processing buffer {"connection_id":130692,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:17:39] local.INFO: IMEI packet received {"connection_id":130692,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":130692,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:17:45] local.INFO: TCP Data received {"connection_id":130692,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130692,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:17:45] local.INFO: Processing buffer {"connection_id":130692,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:17:45] local.INFO: IMEI packet received {"connection_id":130692,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":130692,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:17:47] local.INFO: TCP Data received {"connection_id":130692,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:17:47] local.INFO: Processing buffer {"connection_id":130692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4924a0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:17:47] local.INFO: Packet analysis {"connection_id":130692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b49"} 
[2026-07-13 17:17:47] local.INFO: Extracted packet for processing {"connection_id":130692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b49"} 
[2026-07-13 17:17:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689317632001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:17:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783942948000,"timestamp_ms":1783942948000,"timestamp_seconds":1783942948,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4924a0"} 
[2026-07-13 17:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-13 17:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130692,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130692,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689317632001,"66":25006,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689317632001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:17:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:17:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:17:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689317632001,"power":25006,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":130692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480882,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:17:47] local.INFO: GPS data processed {"connection_id":130692,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:17:47] local.INFO: Acknowledgment sent {"connection_id":130692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:18:09] local.INFO: TCP Data received {"connection_id":131512,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:18:09] local.INFO: Processing buffer {"connection_id":131512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:18:09] local.INFO: IMEI packet received {"connection_id":131512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":131512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:18:14] local.INFO: TCP Data received {"connection_id":131512,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:18:14] local.INFO: Processing buffer {"connection_id":131512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:18:14] local.INFO: IMEI packet received {"connection_id":131512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":131512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:18:20] local.INFO: TCP Data received {"connection_id":131512,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4a5938012d7f914005afd938000c011b23..."} 
[2026-07-13 17:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4a5938012d7f914005afd938000c011b23..."} 
[2026-07-13 17:18:20] local.INFO: Processing buffer {"connection_id":131512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4a5938012d7f914005afd938000c011b23..."} 
[2026-07-13 17:18:20] local.INFO: Packet analysis {"connection_id":131512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b4a"} 
[2026-07-13 17:18:20] local.INFO: Extracted packet for processing {"connection_id":131512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b4a"} 
[2026-07-13 17:18:20] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17: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-07-13 17:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689337856001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783943027000,"timestamp_ms":1783943027000,"timestamp_seconds":1783943027,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4a5938"} 
[2026-07-13 17:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17: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-07-13 17:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":131512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":131512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":131512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:18: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-07-13 17:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689337856001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689337856001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:18:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:18:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689337856001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":131512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:18:20] local.INFO: GPS data processed {"connection_id":131512,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:18:20] local.INFO: Acknowledgment sent {"connection_id":131512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:18:21] local.INFO: TCP Data received {"connection_id":130692,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:18:21] local.INFO: Processing buffer {"connection_id":130692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:18:21] local.INFO: Packet analysis {"connection_id":130692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b4d"} 
[2026-07-13 17:18:21] local.INFO: Extracted packet for processing {"connection_id":130692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b4d"} 
[2026-07-13 17:18:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17: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-07-13 17:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689394688001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:18:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783943249000,"timestamp_ms":1783943249000,"timestamp_seconds":1783943249,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4dbc68"} 
[2026-07-13 17:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-13 17:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17: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-07-13 17:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":130692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":130692,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":130692,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689394688001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689394688001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:18:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:18:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:18:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689394688001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":130692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480884,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:18:21] local.INFO: GPS data processed {"connection_id":130692,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:18:21] local.INFO: Acknowledgment sent {"connection_id":130692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:18:45] local.INFO: TCP Data received {"connection_id":132831,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132831,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:18:45] local.INFO: Processing buffer {"connection_id":132831,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:18:45] local.INFO: IMEI packet received {"connection_id":132831,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":132831,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:18:46] local.INFO: TCP Data received {"connection_id":132832,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:18:46] local.INFO: Processing buffer {"connection_id":132832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:18:46] local.INFO: IMEI packet received {"connection_id":132832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":132832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:18:50] local.INFO: TCP Data received {"connection_id":132831,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132831,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:18:50] local.INFO: Processing buffer {"connection_id":132831,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:18:50] local.INFO: IMEI packet received {"connection_id":132831,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":132831,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:18:51] local.INFO: TCP Data received {"connection_id":132831,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:18:51] local.INFO: Processing buffer {"connection_id":132831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:18:51] local.INFO: Packet analysis {"connection_id":132831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b4d"} 
[2026-07-13 17:18:51] local.INFO: Extracted packet for processing {"connection_id":132831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b4d"} 
[2026-07-13 17:18:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689394688001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:18:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783943249000,"timestamp_ms":1783943249000,"timestamp_seconds":1783943249,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4dbc68"} 
[2026-07-13 17:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-13 17:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132831,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132831,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689394688001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689394688001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:18:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:18:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:18:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689394688001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":132831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480885,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:18:51] local.INFO: GPS data processed {"connection_id":132831,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:18:51] local.INFO: Acknowledgment sent {"connection_id":132831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:18:55] local.INFO: TCP Data received {"connection_id":132831,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:18:55] local.INFO: Processing buffer {"connection_id":132831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:18:55] local.INFO: Packet analysis {"connection_id":132831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b4d"} 
[2026-07-13 17:18:55] local.INFO: Extracted packet for processing {"connection_id":132831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b4d"} 
[2026-07-13 17:18:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 17:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689394688001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:18:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783943249000,"timestamp_ms":1783943249000,"timestamp_seconds":1783943249,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4dbc68"} 
[2026-07-13 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-07-13 17:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-13 17:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 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-07-13 17:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":132831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":132831,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":132831,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689394688001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689394688001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:18:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:18:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:18:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689394688001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":132831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480886,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:18:55] local.INFO: GPS data processed {"connection_id":132831,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:18:55] local.INFO: Acknowledgment sent {"connection_id":132831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:19:18] local.INFO: TCP Data received {"connection_id":132832,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:19:18] local.INFO: Processing buffer {"connection_id":132832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:19:18] local.INFO: IMEI packet received {"connection_id":132832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":132832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:19:40] local.INFO: TCP Data received {"connection_id":130469,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:19:40] local.INFO: Processing buffer {"connection_id":130469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:19:40] local.INFO: IMEI packet received {"connection_id":130469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":130469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:19:42] local.INFO: TCP Data received {"connection_id":130470,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130470,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:19:42] local.INFO: Processing buffer {"connection_id":130470,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:19:42] local.INFO: IMEI packet received {"connection_id":130470,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":130470,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:19:45] local.INFO: TCP Data received {"connection_id":130469,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:19:45] local.INFO: Processing buffer {"connection_id":130469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:19:45] local.INFO: IMEI packet received {"connection_id":130469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":130469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:19:46] local.INFO: TCP Data received {"connection_id":130469,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:19:46] local.INFO: Processing buffer {"connection_id":130469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:19:46] local.INFO: Packet analysis {"connection_id":130469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b4d"} 
[2026-07-13 17:19:46] local.INFO: Extracted packet for processing {"connection_id":130469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b4d"} 
[2026-07-13 17:19:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689394688001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:19:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783943249000,"timestamp_ms":1783943249000,"timestamp_seconds":1783943249,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4dbc68"} 
[2026-07-13 17:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-13 17:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689394688001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689394688001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:19:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:19:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:19:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689394688001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":130469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480887,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:19:46] local.INFO: GPS data processed {"connection_id":130469,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:19:46] local.INFO: Acknowledgment sent {"connection_id":130469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:19:51] local.INFO: TCP Data received {"connection_id":130469,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:19:51] local.INFO: Processing buffer {"connection_id":130469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:19:51] local.INFO: Packet analysis {"connection_id":130469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b4d"} 
[2026-07-13 17:19:51] local.INFO: Extracted packet for processing {"connection_id":130469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b4d"} 
[2026-07-13 17:19:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689394688001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:19:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783943249000,"timestamp_ms":1783943249000,"timestamp_seconds":1783943249,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4dbc68"} 
[2026-07-13 17:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-13 17:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689394688001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689394688001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:19:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:19:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:19:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689394688001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":130469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480888,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:19:51] local.INFO: GPS data processed {"connection_id":130469,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:19:51] local.INFO: Acknowledgment sent {"connection_id":130469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:20:13] local.INFO: TCP Data received {"connection_id":132833,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132833,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:20:13] local.INFO: Processing buffer {"connection_id":132833,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:20:13] local.INFO: IMEI packet received {"connection_id":132833,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":132833,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:20:16] local.INFO: TCP Data received {"connection_id":132833,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132833,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:20:16] local.INFO: Processing buffer {"connection_id":132833,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:20:16] local.INFO: IMEI packet received {"connection_id":132833,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":132833,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:20:18] local.INFO: TCP Data received {"connection_id":132833,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132833,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:20:18] local.INFO: Processing buffer {"connection_id":132833,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:20:18] local.INFO: IMEI packet received {"connection_id":132833,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":132833,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:20:18] local.INFO: TCP Data received {"connection_id":132833,"ip":"42.106.6.35","data_length":93,"data_hex":"00000000000000518e010000019f5b4fbc20012d7b6c0005e060b00000016129..."} 
[2026-07-13 17:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132833,"packet_length":93,"packet_hex":"00000000000000518e010000019f5b4fbc20012d7b6c0005e060b00000016129..."} 
[2026-07-13 17:20:18] local.INFO: Processing buffer {"connection_id":132833,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f5b4fbc20012d7b6c0005e060b00000016129..."} 
[2026-07-13 17:20:18] local.INFO: Packet analysis {"connection_id":132833,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f5b4f"} 
[2026-07-13 17:20:18] local.INFO: Extracted packet for processing {"connection_id":132833,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f5b4f"} 
[2026-07-13 17:20:18] local.INFO: GPS Element Parsed {"raw_longitude":763063296,"raw_latitude":98590896,"longitude_deg":76.3063296,"latitude_deg":9.8590896,"altitude":0,"angle":353,"satellites":41,"speed":57,"hex_longitude":"2d7b6c00","hex_latitude":"05e060b0","is_valid_coordinates":true} 
[2026-07-13 17: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":93,"current_offset":40} 
[2026-07-13 17:20:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:20:18] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:20:18] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-13 17:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132833,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-13 17:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132833,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-13 17:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132833,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-13 17:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-13 17:20:18] local.WARNING: DEBUG: No valid data to process  
[2026-07-13 17:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":132833,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-13 17:20:18] local.ERROR: GPS data processing failed {"connection_id":132833,"error":"No valid data to process"} 
[2026-07-13 17:20:18] local.INFO: Acknowledgment sent {"connection_id":132833,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-13 17:20:22] local.INFO: TCP Data received {"connection_id":130469,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:20:22] local.INFO: Processing buffer {"connection_id":130469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:20:22] local.INFO: Packet analysis {"connection_id":130469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b4d"} 
[2026-07-13 17:20:22] local.INFO: Extracted packet for processing {"connection_id":130469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b4d"} 
[2026-07-13 17:20:22] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17: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-07-13 17:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689394688001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:20:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783943249000,"timestamp_ms":1783943249000,"timestamp_seconds":1783943249,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4dbc68"} 
[2026-07-13 17:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:20:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-13 17:20:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17: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-07-13 17:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689394688001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689394688001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:20:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:20:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:20:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689394688001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":130469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480889,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:20:22] local.INFO: GPS data processed {"connection_id":130469,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:20:22] local.INFO: Acknowledgment sent {"connection_id":130469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:20:24] local.INFO: TCP Data received {"connection_id":132833,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4fd778012d7b668005e087c80000015f2a..."} 
[2026-07-13 17:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4fd778012d7b668005e087c80000015f2a..."} 
[2026-07-13 17:20:24] local.INFO: Processing buffer {"connection_id":132833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4fd778012d7b668005e087c80000015f2a..."} 
[2026-07-13 17:20:24] local.INFO: Packet analysis {"connection_id":132833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b4f"} 
[2026-07-13 17:20:24] local.INFO: Extracted packet for processing {"connection_id":132833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b4f"} 
[2026-07-13 17:20:24] local.INFO: GPS Element Parsed {"raw_longitude":763061888,"raw_latitude":98600904,"longitude_deg":76.3061888,"latitude_deg":9.8600904,"altitude":0,"angle":351,"satellites":42,"speed":54,"hex_longitude":"2d7b6680","hex_latitude":"05e087c8","is_valid_coordinates":true} 
[2026-07-13 17: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-07-13 17:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689505280001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105898878313693184,"note":"Value kept but may cause issues"} 
[2026-07-13 17:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893483389389156352,"note":"Value kept but may cause issues"} 
[2026-07-13 17:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783943387000,"timestamp_ms":1783943387000,"timestamp_seconds":1783943387,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4fd778"} 
[2026-07-13 17:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-13 17:20:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17: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-07-13 17:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":132833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":132833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":132833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689505280001,"66":12461,"35":206,"85":15104,"24":54,"16":105898878313693184,"45":8893483389389156352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-07-13 17:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689505280001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:20:24] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-13 17:20:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105898878313693184,"km_value":105898878313693.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893483389389156352,"description":"Unknown IO ID 45"} 
[2026-07-13 17:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689505280001,"power":12461,"unknown_35":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8893483389389156352}} 
[2026-07-13 17:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":132833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480890,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:20:24] local.INFO: GPS data processed {"connection_id":132833,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:20:24] local.INFO: Acknowledgment sent {"connection_id":132833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:20:42] local.INFO: TCP Data received {"connection_id":131513,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131513,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:20:42] local.INFO: Processing buffer {"connection_id":131513,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:20:42] local.INFO: IMEI packet received {"connection_id":131513,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":131513,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:20:45] local.INFO: TCP Data received {"connection_id":131513,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131513,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:20:45] local.INFO: Processing buffer {"connection_id":131513,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:20:45] local.INFO: IMEI packet received {"connection_id":131513,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":131513,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:20:46] local.INFO: TCP Data received {"connection_id":131513,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:20:46] local.INFO: Processing buffer {"connection_id":131513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:20:46] local.INFO: Packet analysis {"connection_id":131513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b4d"} 
[2026-07-13 17:20:46] local.INFO: Extracted packet for processing {"connection_id":131513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b4d"} 
[2026-07-13 17:20:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689394688001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:20:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783943249000,"timestamp_ms":1783943249000,"timestamp_seconds":1783943249,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4dbc68"} 
[2026-07-13 17:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-13 17:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131513,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131513,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689394688001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689394688001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:20:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:20:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:20:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689394688001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":131513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480891,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:20:46] local.INFO: GPS data processed {"connection_id":131513,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:20:46] local.INFO: Acknowledgment sent {"connection_id":131513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:20:51] local.INFO: TCP Data received {"connection_id":131513,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:20:51] local.INFO: Processing buffer {"connection_id":131513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:20:51] local.INFO: Packet analysis {"connection_id":131513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b4d"} 
[2026-07-13 17:20:51] local.INFO: Extracted packet for processing {"connection_id":131513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b4d"} 
[2026-07-13 17:20:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689394688001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:20:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783943249000,"timestamp_ms":1783943249000,"timestamp_seconds":1783943249,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4dbc68"} 
[2026-07-13 17:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-13 17:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":131513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":131513,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":131513,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689394688001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689394688001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:20:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:20:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:20:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689394688001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":131513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480892,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:20:51] local.INFO: GPS data processed {"connection_id":131513,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:20:51] local.INFO: Acknowledgment sent {"connection_id":131513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:20:58] local.INFO: TCP Data received {"connection_id":130471,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130471,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:20:58] local.INFO: Processing buffer {"connection_id":130471,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:20:58] local.INFO: IMEI packet received {"connection_id":130471,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":130471,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:21:02] local.INFO: TCP Data received {"connection_id":130471,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130471,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:21:02] local.INFO: Processing buffer {"connection_id":130471,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:21:02] local.INFO: IMEI packet received {"connection_id":130471,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":130471,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:21:03] local.INFO: TCP Data received {"connection_id":130471,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130471,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:21:03] local.INFO: Processing buffer {"connection_id":130471,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:21:03] local.INFO: IMEI packet received {"connection_id":130471,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":130471,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:21:04] local.INFO: TCP Data received {"connection_id":130471,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4ffaa0012d7b618005e0abd80000016024..."} 
[2026-07-13 17:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4ffaa0012d7b618005e0abd80000016024..."} 
[2026-07-13 17:21:04] local.INFO: Processing buffer {"connection_id":130471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4ffaa0012d7b618005e0abd80000016024..."} 
[2026-07-13 17:21:04] local.INFO: Packet analysis {"connection_id":130471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b4f"} 
[2026-07-13 17:21:04] local.INFO: Extracted packet for processing {"connection_id":130471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b4f"} 
[2026-07-13 17:21:04] local.INFO: GPS Element Parsed {"raw_longitude":763060608,"raw_latitude":98610136,"longitude_deg":76.3060608,"latitude_deg":9.8610136,"altitude":0,"angle":352,"satellites":36,"speed":37,"hex_longitude":"2d7b6180","hex_latitude":"05e0abd8","is_valid_coordinates":true} 
[2026-07-13 17:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689507072001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105899329285259264,"note":"Value kept but may cause issues"} 
[2026-07-13 17:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891935277019809792,"note":"Value kept but may cause issues"} 
[2026-07-13 17:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783943396000,"timestamp_ms":1783943396000,"timestamp_seconds":1783943396,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4ffaa0"} 
[2026-07-13 17:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:21: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-07-13 17:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-13 17:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689507072001,"66":13319,"35":206,"85":15104,"24":37,"16":105899329285259264,"45":8891935277019809792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-07-13 17:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689507072001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:21:04] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-13 17:21:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105899329285259264,"km_value":105899329285259.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891935277019809792,"description":"Unknown IO ID 45"} 
[2026-07-13 17:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689507072001,"power":13319,"unknown_35":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8891935277019809792}} 
[2026-07-13 17:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":130471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480893,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:21:04] local.INFO: GPS data processed {"connection_id":130471,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:21:04] local.INFO: Acknowledgment sent {"connection_id":130471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:21:08] local.INFO: TCP Data received {"connection_id":130471,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b501dc8012d7b5c4005e0ce900000015d20..."} 
[2026-07-13 17:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b501dc8012d7b5c4005e0ce900000015d20..."} 
[2026-07-13 17:21:08] local.INFO: Processing buffer {"connection_id":130471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b501dc8012d7b5c4005e0ce900000015d20..."} 
[2026-07-13 17:21:08] local.INFO: Packet analysis {"connection_id":130471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b50"} 
[2026-07-13 17:21:08] local.INFO: Extracted packet for processing {"connection_id":130471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b50"} 
[2026-07-13 17:21:08] local.INFO: GPS Element Parsed {"raw_longitude":763059264,"raw_latitude":98619024,"longitude_deg":76.3059264,"latitude_deg":9.8619024,"altitude":0,"angle":349,"satellites":32,"speed":45,"hex_longitude":"2d7b5c40","hex_latitude":"05e0ce90","is_valid_coordinates":true} 
[2026-07-13 17:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689509376001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105899767371923456,"note":"Value kept but may cause issues"} 
[2026-07-13 17:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890527902138619904,"note":"Value kept but may cause issues"} 
[2026-07-13 17:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783943405000,"timestamp_ms":1783943405000,"timestamp_seconds":1783943405,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b501dc8"} 
[2026-07-13 17:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 17:21:08] local.WARNING: Large IO value detected {"io_id":85,"raw_value":57797082858018107,"note":"Value kept but may cause issues"} 
[2026-07-13 17:21:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-13 17:21:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1445200078,"corrected_to":0} 
[2026-07-13 17:21:08] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2147868650,"note":"Value kept but may cause issues"} 
[2026-07-13 17:21:08] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422294,"note":"Value kept but may cause issues"} 
[2026-07-13 17:21:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3754082304,"note":"Value kept but may cause issues"} 
[2026-07-13 17:21:08] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3985686965080375301,"note":"Value kept but may cause issues"} 
[2026-07-13 17:21:08] local.WARNING: Large IO value detected {"io_id":223,"raw_value":-6888255617155258368,"note":"Value kept but may cause issues"} 
[2026-07-13 17:21:08] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,35,85,24,241,157,16,58,159,215,45,128,135,42,10,66,188,96,41,36,160,192,1,240,161,57,91,224,4,113,205,106,122,88,33,239,51,2,120,5,59,79,223],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1445200078,"validated":0}]} 
[2026-07-13 17:21:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":387182714224640,"timestamp_seconds":387182714224.64,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 17:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689509376001,"66":12885,"35":206,"85":15104,"24":45,"16":105899767371923456,"45":8890527902138619904},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-07-13 17:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689509376001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:21:08] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-13 17:21:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105899767371923456,"km_value":105899767371923.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890527902138619904,"description":"Unknown IO ID 45"} 
[2026-07-13 17:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689509376001,"power":12885,"unknown_35":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8890527902138619904}} 
[2026-07-13 17:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":130471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480894,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:21:08] local.INFO: GPS data processed {"connection_id":130471,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:21:08] local.INFO: Acknowledgment sent {"connection_id":130471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:21:22] local.INFO: TCP Data received {"connection_id":131513,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:21:22] local.INFO: Processing buffer {"connection_id":131513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:21:22] local.INFO: Packet analysis {"connection_id":131513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b4d"} 
[2026-07-13 17:21:22] local.INFO: Extracted packet for processing {"connection_id":131513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b4d"} 
[2026-07-13 17:21:22] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689394688001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:21:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783943249000,"timestamp_ms":1783943249000,"timestamp_seconds":1783943249,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4dbc68"} 
[2026-07-13 17:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-13 17:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":131513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":131513,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":131513,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689394688001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689394688001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:21:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:21:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:21:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689394688001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":131513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480895,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:21:22] local.INFO: GPS data processed {"connection_id":131513,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:21:22] local.INFO: Acknowledgment sent {"connection_id":131513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:21:39] local.INFO: TCP Data received {"connection_id":132835,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132835,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:21:39] local.INFO: Processing buffer {"connection_id":132835,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:21:39] local.INFO: IMEI packet received {"connection_id":132835,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":132835,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:21:39] local.INFO: TCP Data received {"connection_id":130471,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5040f0012d7b564005e0f3000000015f25..."} 
[2026-07-13 17:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5040f0012d7b564005e0f3000000015f25..."} 
[2026-07-13 17:21:39] local.INFO: Processing buffer {"connection_id":130471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5040f0012d7b564005e0f3000000015f25..."} 
[2026-07-13 17:21:39] local.INFO: Packet analysis {"connection_id":130471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b50"} 
[2026-07-13 17:21:39] local.INFO: Extracted packet for processing {"connection_id":130471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b50"} 
[2026-07-13 17:21:39] local.INFO: GPS Element Parsed {"raw_longitude":763057728,"raw_latitude":98628352,"longitude_deg":76.3057728,"latitude_deg":9.8628352,"altitude":0,"angle":351,"satellites":37,"speed":37,"hex_longitude":"2d7b5640","hex_latitude":"05e0f300","is_valid_coordinates":true} 
[2026-07-13 17:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689511680001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105900226933424128,"note":"Value kept but may cause issues"} 
[2026-07-13 17:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889050158513164288,"note":"Value kept but may cause issues"} 
[2026-07-13 17:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783943414000,"timestamp_ms":1783943414000,"timestamp_seconds":1783943414,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5040f0"} 
[2026-07-13 17:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-13 17:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689511680001,"66":13037,"35":206,"85":15104,"24":37,"16":105900226933424128,"45":8889050158513164288},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-07-13 17:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689511680001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:21:39] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-13 17:21:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105900226933424128,"km_value":105900226933424.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889050158513164288,"description":"Unknown IO ID 45"} 
[2026-07-13 17:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689511680001,"power":13037,"unknown_35":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8889050158513164288}} 
[2026-07-13 17:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":130471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:21:40] local.INFO: GPS data processed {"connection_id":130471,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:21:40] local.INFO: Acknowledgment sent {"connection_id":130471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:21:45] local.INFO: TCP Data received {"connection_id":132835,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132835,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:21:45] local.INFO: Processing buffer {"connection_id":132835,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:21:45] local.INFO: IMEI packet received {"connection_id":132835,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":132835,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:21:46] local.INFO: TCP Data received {"connection_id":132835,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:21:46] local.INFO: Processing buffer {"connection_id":132835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:21:46] local.INFO: Packet analysis {"connection_id":132835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b4d"} 
[2026-07-13 17:21:46] local.INFO: Extracted packet for processing {"connection_id":132835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b4d"} 
[2026-07-13 17:21:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689394688001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:21:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783943249000,"timestamp_ms":1783943249000,"timestamp_seconds":1783943249,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4dbc68"} 
[2026-07-13 17:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-13 17:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132835,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132835,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689394688001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689394688001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:21:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:21:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:21:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689394688001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":132835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480897,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:21:46] local.INFO: GPS data processed {"connection_id":132835,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:21:46] local.INFO: Acknowledgment sent {"connection_id":132835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:22:03] local.INFO: TCP Data received {"connection_id":130472,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:22:03] local.INFO: Processing buffer {"connection_id":130472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:22:03] local.INFO: IMEI packet received {"connection_id":130472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":130472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:22:07] local.INFO: TCP Data received {"connection_id":130472,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:22:07] local.INFO: Processing buffer {"connection_id":130472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:22:07] local.INFO: IMEI packet received {"connection_id":130472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":130472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:22:08] local.INFO: TCP Data received {"connection_id":130472,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b51b020012d7b334005e203f80000005d27..."} 
[2026-07-13 17:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b51b020012d7b334005e203f80000005d27..."} 
[2026-07-13 17:22:08] local.INFO: Processing buffer {"connection_id":130472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b51b020012d7b334005e203f80000005d27..."} 
[2026-07-13 17:22:08] local.INFO: Packet analysis {"connection_id":130472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b51"} 
[2026-07-13 17:22:08] local.INFO: Extracted packet for processing {"connection_id":130472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b51"} 
[2026-07-13 17:22:08] local.INFO: GPS Element Parsed {"raw_longitude":763048768,"raw_latitude":98698232,"longitude_deg":76.3048768,"latitude_deg":9.8698232,"altitude":0,"angle":93,"satellites":39,"speed":7,"hex_longitude":"2d7b3340","hex_latitude":"05e203f8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 17:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689537792001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105903675792162816,"note":"Value kept but may cause issues"} 
[2026-07-13 17:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877368946999953408,"note":"Value kept but may cause issues"} 
[2026-07-13 17:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783943508000,"timestamp_ms":1783943508000,"timestamp_seconds":1783943508,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b51b020"} 
[2026-07-13 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-07-13 17:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":123,"data_length":795,"current_offset":136} 
[2026-07-13 17:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 17:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689537792001,"66":12667,"169":206,"85":15104,"24":7,"16":105903675792162816,"45":8877368946999953408},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-13 17:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689537792001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:22:08] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-13 17:22:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105903675792162816,"km_value":105903675792162.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877368946999953408,"description":"Unknown IO ID 45"} 
[2026-07-13 17:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689537792001,"power":12667,"unknown_169":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8877368946999953408}} 
[2026-07-13 17:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":130472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:22:08] local.INFO: GPS data processed {"connection_id":130472,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:22:08] local.INFO: Acknowledgment sent {"connection_id":130472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:22:09] local.INFO: TCP Data received {"connection_id":130472,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b51b408012d7b344005e203b80000006f2b..."} 
[2026-07-13 17:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b51b408012d7b344005e203b80000006f2b..."} 
[2026-07-13 17:22:09] local.INFO: Processing buffer {"connection_id":130472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b51b408012d7b344005e203b80000006f2b..."} 
[2026-07-13 17:22:09] local.INFO: Packet analysis {"connection_id":130472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b51"} 
[2026-07-13 17:22:09] local.INFO: Extracted packet for processing {"connection_id":130472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b51"} 
[2026-07-13 17:22:09] local.INFO: GPS Element Parsed {"raw_longitude":763049024,"raw_latitude":98698168,"longitude_deg":76.3049024,"latitude_deg":9.8698168,"altitude":0,"angle":111,"satellites":43,"speed":9,"hex_longitude":"2d7b3440","hex_latitude":"05e203b8","is_valid_coordinates":true} 
[2026-07-13 17:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689538048001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105903688677064704,"note":"Value kept but may cause issues"} 
[2026-07-13 17:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877509684488304640,"note":"Value kept but may cause issues"} 
[2026-07-13 17:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783943509000,"timestamp_ms":1783943509000,"timestamp_seconds":1783943509,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b51b408"} 
[2026-07-13 17:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-13 17:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689538048001,"66":12667,"169":206,"85":15104,"24":9,"16":105903688677064704,"45":8877509684488304640},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-13 17:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689538048001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:22:09] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-13 17:22:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105903688677064704,"km_value":105903688677064.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877509684488304640,"description":"Unknown IO ID 45"} 
[2026-07-13 17:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689538048001,"power":12667,"unknown_169":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8877509684488304640}} 
[2026-07-13 17:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":130472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:22:09] local.INFO: GPS data processed {"connection_id":130472,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:22:09] local.INFO: Acknowledgment sent {"connection_id":130472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:22:19] local.INFO: TCP Data received {"connection_id":132835,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:22:19] local.INFO: Processing buffer {"connection_id":132835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:22:19] local.INFO: Packet analysis {"connection_id":132835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b4d"} 
[2026-07-13 17:22:19] local.INFO: Extracted packet for processing {"connection_id":132835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b4d"} 
[2026-07-13 17:22:19] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689394688001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:22:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783943249000,"timestamp_ms":1783943249000,"timestamp_seconds":1783943249,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4dbc68"} 
[2026-07-13 17:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-13 17:22:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:22:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":132835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":132835,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":132835,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689394688001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689394688001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:22:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:22:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:22:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689394688001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":132835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480900,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:22:19] local.INFO: GPS data processed {"connection_id":132835,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:22:19] local.INFO: Acknowledgment sent {"connection_id":132835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:22:40] local.INFO: TCP Data received {"connection_id":130695,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130695,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:22:40] local.INFO: Processing buffer {"connection_id":130695,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:22:40] local.INFO: IMEI packet received {"connection_id":130695,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":130695,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:22:40] local.INFO: TCP Data received {"connection_id":130472,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b51b7f0012d7b350005e203600000008228..."} 
[2026-07-13 17:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b51b7f0012d7b350005e203600000008228..."} 
[2026-07-13 17:22:40] local.INFO: Processing buffer {"connection_id":130472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b51b7f0012d7b350005e203600000008228..."} 
[2026-07-13 17:22:40] local.INFO: Packet analysis {"connection_id":130472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b51"} 
[2026-07-13 17:22:40] local.INFO: Extracted packet for processing {"connection_id":130472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b51"} 
[2026-07-13 17:22:40] local.INFO: GPS Element Parsed {"raw_longitude":763049216,"raw_latitude":98698080,"longitude_deg":76.3049216,"latitude_deg":9.869808,"altitude":0,"angle":130,"satellites":40,"speed":8,"hex_longitude":"2d7b3500","hex_latitude":"05e20360","is_valid_coordinates":true} 
[2026-07-13 17:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689538304001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105903697266999296,"note":"Value kept but may cause issues"} 
[2026-07-13 17:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877791159464998912,"note":"Value kept but may cause issues"} 
[2026-07-13 17:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783943510000,"timestamp_ms":1783943510000,"timestamp_seconds":1783943510,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b51b7f0"} 
[2026-07-13 17:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":123,"data_length":795,"current_offset":136} 
[2026-07-13 17:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689538304001,"66":13135,"169":206,"85":15104,"24":8,"16":105903697266999296,"45":8877791159464998912},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-13 17:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689538304001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:22:40] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-13 17:22:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105903697266999296,"km_value":105903697266999.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877791159464998912,"description":"Unknown IO ID 45"} 
[2026-07-13 17:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689538304001,"power":13135,"unknown_169":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8877791159464998912}} 
[2026-07-13 17:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":130472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480901,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:22:40] local.INFO: GPS data processed {"connection_id":130472,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:22:40] local.INFO: Acknowledgment sent {"connection_id":130472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:22:45] local.INFO: TCP Data received {"connection_id":130695,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130695,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:22:45] local.INFO: Processing buffer {"connection_id":130695,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:22:45] local.INFO: IMEI packet received {"connection_id":130695,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":130695,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:22:46] local.INFO: TCP Data received {"connection_id":130695,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:22:46] local.INFO: Processing buffer {"connection_id":130695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4dbc68012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:22:46] local.INFO: Packet analysis {"connection_id":130695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b4d"} 
[2026-07-13 17:22:46] local.INFO: Extracted packet for processing {"connection_id":130695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b4d"} 
[2026-07-13 17:22:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689394688001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:22:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783943249000,"timestamp_ms":1783943249000,"timestamp_seconds":1783943249,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4dbc68"} 
[2026-07-13 17:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-13 17:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130695,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130695,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689394688001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689394688001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:22:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:22:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:22:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689394688001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":130695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480902,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:22:46] local.INFO: GPS data processed {"connection_id":130695,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:22:46] local.INFO: Acknowledgment sent {"connection_id":130695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:23:33] local.INFO: TCP Data received {"connection_id":131514,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131514,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:23:33] local.INFO: Processing buffer {"connection_id":131514,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:23:33] local.INFO: IMEI packet received {"connection_id":131514,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":131514,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:23:35] local.INFO: TCP Data received {"connection_id":131514,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131514,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:23:35] local.INFO: Processing buffer {"connection_id":131514,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:23:35] local.INFO: IMEI packet received {"connection_id":131514,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":131514,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:23:35] local.INFO: TCP Data received {"connection_id":131514,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5263d0012d7b4a8005e1b0200000004b2d..."} 
[2026-07-13 17:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5263d0012d7b4a8005e1b0200000004b2d..."} 
[2026-07-13 17:23:35] local.INFO: Processing buffer {"connection_id":131514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5263d0012d7b4a8005e1b0200000004b2d..."} 
[2026-07-13 17:23:35] local.INFO: Packet analysis {"connection_id":131514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b52"} 
[2026-07-13 17:23:35] local.INFO: Extracted packet for processing {"connection_id":131514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b52"} 
[2026-07-13 17:23:35] local.INFO: GPS Element Parsed {"raw_longitude":763054720,"raw_latitude":98676768,"longitude_deg":76.305472,"latitude_deg":9.8676768,"altitude":0,"angle":75,"satellites":45,"speed":19,"hex_longitude":"2d7b4a80","hex_latitude":"05e1b020","is_valid_coordinates":true} 
[2026-07-13 17:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689549056001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105904869793071104,"note":"Value kept but may cause issues"} 
[2026-07-13 17:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882928077784428544,"note":"Value kept but may cause issues"} 
[2026-07-13 17:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783943554000,"timestamp_ms":1783943554000,"timestamp_seconds":1783943554,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5263d0"} 
[2026-07-13 17:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-13 17:23: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-07-13 17:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":131514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":131514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":131514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689549056001,"66":12982,"169":206,"85":15104,"24":19,"16":105904869793071104,"45":8882928077784428544},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-13 17:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689549056001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:23:35] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-13 17:23:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105904869793071104,"km_value":105904869793071.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882928077784428544,"description":"Unknown IO ID 45"} 
[2026-07-13 17:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689549056001,"power":12982,"unknown_169":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8882928077784428544}} 
[2026-07-13 17:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":131514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480903,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:23:36] local.INFO: GPS data processed {"connection_id":131514,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:23:36] local.INFO: Acknowledgment sent {"connection_id":131514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:23:37] local.INFO: TCP Data received {"connection_id":130695,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b525430012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b525430012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:23:37] local.INFO: Processing buffer {"connection_id":130695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b525430012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:23:37] local.INFO: Packet analysis {"connection_id":130695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b52"} 
[2026-07-13 17:23:37] local.INFO: Extracted packet for processing {"connection_id":130695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b52"} 
[2026-07-13 17:23:37] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689471744001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:23:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783943550000,"timestamp_ms":1783943550000,"timestamp_seconds":1783943550,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b525430"} 
[2026-07-13 17:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130695,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130695,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689471744001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689471744001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:23:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:23:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:23:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689471744001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":130695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480904,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:23:37] local.INFO: GPS data processed {"connection_id":130695,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:23:37] local.INFO: Acknowledgment sent {"connection_id":130695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:23:49] local.INFO: TCP Data received {"connection_id":132837,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132837,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:23:49] local.INFO: Processing buffer {"connection_id":132837,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:23:49] local.INFO: IMEI packet received {"connection_id":132837,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":132837,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:23:55] local.INFO: TCP Data received {"connection_id":132837,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132837,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:23:55] local.INFO: Processing buffer {"connection_id":132837,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:23:55] local.INFO: IMEI packet received {"connection_id":132837,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":132837,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:23:56] local.INFO: TCP Data received {"connection_id":132837,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b525430012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b525430012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:23:56] local.INFO: Processing buffer {"connection_id":132837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b525430012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:23:56] local.INFO: Packet analysis {"connection_id":132837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b52"} 
[2026-07-13 17:23:56] local.INFO: Extracted packet for processing {"connection_id":132837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b52"} 
[2026-07-13 17:23:56] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17: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-07-13 17:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689471744001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:23:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783943550000,"timestamp_ms":1783943550000,"timestamp_seconds":1783943550,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b525430"} 
[2026-07-13 17:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:23:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17: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-07-13 17:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132837,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132837,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689471744001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689471744001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:23:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:23:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:23:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689471744001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":132837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480905,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:23:56] local.INFO: GPS data processed {"connection_id":132837,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:23:56] local.INFO: Acknowledgment sent {"connection_id":132837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:24:03] local.INFO: TCP Data received {"connection_id":132838,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:24:03] local.INFO: Processing buffer {"connection_id":132838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:24:03] local.INFO: IMEI packet received {"connection_id":132838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":132838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:24:06] local.INFO: TCP Data received {"connection_id":132838,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:24:06] local.INFO: Processing buffer {"connection_id":132838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:24:06] local.INFO: IMEI packet received {"connection_id":132838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":132838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:24:07] local.INFO: TCP Data received {"connection_id":132838,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b527f28012d7b5b4005e1b380000200572c..."} 
[2026-07-13 17:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b527f28012d7b5b4005e1b380000200572c..."} 
[2026-07-13 17:24:07] local.INFO: Processing buffer {"connection_id":132838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b527f28012d7b5b4005e1b380000200572c..."} 
[2026-07-13 17:24:07] local.INFO: Packet analysis {"connection_id":132838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b52"} 
[2026-07-13 17:24:07] local.INFO: Extracted packet for processing {"connection_id":132838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b52"} 
[2026-07-13 17:24:07] local.INFO: GPS Element Parsed {"raw_longitude":763059008,"raw_latitude":98677632,"longitude_deg":76.3059008,"latitude_deg":9.8677632,"altitude":2,"angle":87,"satellites":44,"speed":31,"hex_longitude":"2d7b5b40","hex_latitude":"05e1b380","is_valid_coordinates":true} 
[2026-07-13 17:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689549824001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105905075951501312,"note":"Value kept but may cause issues"} 
[2026-07-13 17:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884053977691332608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783943561000,"timestamp_ms":1783943561000,"timestamp_seconds":1783943561,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b527f28"} 
[2026-07-13 17:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-13 17:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689549824001,"66":13015,"169":206,"85":15104,"24":31,"16":105905075951501312,"45":8884053977691332608},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-13 17:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689549824001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:24:07] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-13 17:24:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105905075951501312,"km_value":105905075951501.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884053977691332608,"description":"Unknown IO ID 45"} 
[2026-07-13 17:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689549824001,"power":13015,"unknown_169":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8884053977691332608}} 
[2026-07-13 17:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":132838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480906,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:24:07] local.INFO: GPS data processed {"connection_id":132838,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:24:07] local.INFO: Acknowledgment sent {"connection_id":132838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:24:34] local.INFO: TCP Data received {"connection_id":130473,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:24:34] local.INFO: Processing buffer {"connection_id":130473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:24:34] local.INFO: IMEI packet received {"connection_id":130473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":130473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:24:39] local.INFO: TCP Data received {"connection_id":132838,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b541568012d7c390005e1e1000008002e2e..."} 
[2026-07-13 17:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b541568012d7c390005e1e1000008002e2e..."} 
[2026-07-13 17:24:39] local.INFO: Processing buffer {"connection_id":132838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b541568012d7c390005e1e1000008002e2e..."} 
[2026-07-13 17:24:39] local.INFO: Packet analysis {"connection_id":132838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b54"} 
[2026-07-13 17:24:39] local.INFO: Extracted packet for processing {"connection_id":132838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b54"} 
[2026-07-13 17:24:39] local.INFO: GPS Element Parsed {"raw_longitude":763115776,"raw_latitude":98689280,"longitude_deg":76.3115776,"latitude_deg":9.868928,"altitude":8,"angle":46,"satellites":46,"speed":20,"hex_longitude":"2d7c3900","hex_latitude":"05e1e100","is_valid_coordinates":true} 
[2026-07-13 17:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689577728001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950200597221396480,"note":"Value kept but may cause issues"} 
[2026-07-13 17:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105907949284622336,"note":"Value kept but may cause issues"} 
[2026-07-13 17:24:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 17:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783943665000,"timestamp_ms":1783943665000,"timestamp_seconds":1783943665,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b541568"} 
[2026-07-13 17:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-13 17:24: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-07-13 17:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689577728001,"66":13189,"45":8950200597221396480,"85":15104,"24":20,"16":105907949284622336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-07-13 17:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689577728001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950200597221396480,"description":"Unknown IO ID 45"} 
[2026-07-13 17:24:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105907949284622336,"km_value":105907949284622.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:24:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456689577728001,"power":13189,"unknown_45":8950200597221396480,"unknown_85":15104,"ignition":20,"odometer":null}} 
[2026-07-13 17:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":132838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:24:39] local.INFO: GPS data processed {"connection_id":132838,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:24:39] local.INFO: Acknowledgment sent {"connection_id":132838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:24:40] local.INFO: TCP Data received {"connection_id":130473,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:24:40] local.INFO: Processing buffer {"connection_id":130473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:24:40] local.INFO: IMEI packet received {"connection_id":130473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":130473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:24:41] local.INFO: TCP Data received {"connection_id":130473,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b4ef100012d7f914005afd9380000011b24..."} 
[2026-07-13 17:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b4ef100012d7f914005afd9380000011b24..."} 
[2026-07-13 17:24:41] local.INFO: Processing buffer {"connection_id":130473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b4ef100012d7f914005afd9380000011b24..."} 
[2026-07-13 17:24:41] local.INFO: Packet analysis {"connection_id":130473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b4e"} 
[2026-07-13 17:24:41] local.INFO: Extracted packet for processing {"connection_id":130473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b4e"} 
[2026-07-13 17:24:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":0,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689414912001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783943328000,"timestamp_ms":1783943328000,"timestamp_seconds":1783943328,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b4ef100"} 
[2026-07-13 17:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 17:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689414912001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689414912001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:24:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:24:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689414912001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":130473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:24:41] local.INFO: GPS data processed {"connection_id":130473,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:24:41] local.INFO: Acknowledgment sent {"connection_id":130473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:24:45] local.INFO: TCP Data received {"connection_id":130474,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:24:45] local.INFO: Processing buffer {"connection_id":130474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:24:45] local.INFO: IMEI packet received {"connection_id":130474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":130474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:24:50] local.INFO: TCP Data received {"connection_id":130474,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:24:50] local.INFO: Processing buffer {"connection_id":130474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:24:50] local.INFO: IMEI packet received {"connection_id":130474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":130474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:24:51] local.INFO: TCP Data received {"connection_id":130474,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b525430012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b525430012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:24:51] local.INFO: Processing buffer {"connection_id":130474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b525430012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:24:51] local.INFO: Packet analysis {"connection_id":130474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b52"} 
[2026-07-13 17:24:51] local.INFO: Extracted packet for processing {"connection_id":130474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b52"} 
[2026-07-13 17:24:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689471744001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:24:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783943550000,"timestamp_ms":1783943550000,"timestamp_seconds":1783943550,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b525430"} 
[2026-07-13 17:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689471744001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689471744001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:24:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:24:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:24:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689471744001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":130474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480909,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:24:51] local.INFO: GPS data processed {"connection_id":130474,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:24:51] local.INFO: Acknowledgment sent {"connection_id":130474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:24:55] local.INFO: TCP Data received {"connection_id":130474,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b525430012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b525430012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:24:55] local.INFO: Processing buffer {"connection_id":130474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b525430012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:24:55] local.INFO: Packet analysis {"connection_id":130474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b52"} 
[2026-07-13 17:24:55] local.INFO: Extracted packet for processing {"connection_id":130474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b52"} 
[2026-07-13 17:24:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689471744001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:24:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783943550000,"timestamp_ms":1783943550000,"timestamp_seconds":1783943550,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b525430"} 
[2026-07-13 17:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689471744001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689471744001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:24:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:24:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:24:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689471744001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":130474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480910,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:24:55] local.INFO: GPS data processed {"connection_id":130474,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:24:55] local.INFO: Acknowledgment sent {"connection_id":130474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:24:58] local.INFO: TCP Data received {"connection_id":132839,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:24:58] local.INFO: Processing buffer {"connection_id":132839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:24:58] local.INFO: IMEI packet received {"connection_id":132839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":132839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:25:00] local.INFO: TCP Data received {"connection_id":132839,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:25:00] local.INFO: Processing buffer {"connection_id":132839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:25:00] local.INFO: IMEI packet received {"connection_id":132839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":132839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:25:03] local.INFO: TCP Data received {"connection_id":132839,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:25:03] local.INFO: Processing buffer {"connection_id":132839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:25:03] local.INFO: IMEI packet received {"connection_id":132839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":132839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:25:04] local.INFO: TCP Data received {"connection_id":132839,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b541d38012d7c3bc005e1e478000700202d..."} 
[2026-07-13 17:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b541d38012d7c3bc005e1e478000700202d..."} 
[2026-07-13 17:25:04] local.INFO: Processing buffer {"connection_id":132839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b541d38012d7c3bc005e1e478000700202d..."} 
[2026-07-13 17:25:04] local.INFO: Packet analysis {"connection_id":132839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b54"} 
[2026-07-13 17:25:04] local.INFO: Extracted packet for processing {"connection_id":132839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b54"} 
[2026-07-13 17:25:04] local.INFO: GPS Element Parsed {"raw_longitude":763116480,"raw_latitude":98690168,"longitude_deg":76.311648,"latitude_deg":9.8690168,"altitude":7,"angle":32,"satellites":45,"speed":22,"hex_longitude":"2d7c3bc0","hex_latitude":"05e1e478","is_valid_coordinates":true} 
[2026-07-13 17:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689578240001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951185759640027136,"note":"Value kept but may cause issues"} 
[2026-07-13 17:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105908005119197184,"note":"Value kept but may cause issues"} 
[2026-07-13 17:25:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 17:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783943667000,"timestamp_ms":1783943667000,"timestamp_seconds":1783943667,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b541d38"} 
[2026-07-13 17:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-13 17:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689578240001,"66":12917,"45":8951185759640027136,"85":15104,"24":22,"16":105908005119197184},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-07-13 17:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689578240001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951185759640027136,"description":"Unknown IO ID 45"} 
[2026-07-13 17:25:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105908005119197184,"km_value":105908005119197.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:25:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456689578240001,"power":12917,"unknown_45":8951185759640027136,"unknown_85":15104,"ignition":22,"odometer":null}} 
[2026-07-13 17:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":132839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480911,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:25:04] local.INFO: GPS data processed {"connection_id":132839,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:25:04] local.INFO: Acknowledgment sent {"connection_id":132839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:25:14] local.INFO: TCP Data received {"connection_id":130473,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5388c8012d7f914005afd9380007011b26..."} 
[2026-07-13 17:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5388c8012d7f914005afd9380007011b26..."} 
[2026-07-13 17:25:14] local.INFO: Processing buffer {"connection_id":130473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5388c8012d7f914005afd9380007011b26..."} 
[2026-07-13 17:25:14] local.INFO: Packet analysis {"connection_id":130473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b53"} 
[2026-07-13 17:25:14] local.INFO: Extracted packet for processing {"connection_id":130473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b53"} 
[2026-07-13 17:25:14] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":7,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689491968001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783943629000,"timestamp_ms":1783943629000,"timestamp_seconds":1783943629,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5388c8"} 
[2026-07-13 17:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:25:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689491968001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689491968001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:25:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:25:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689491968001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":130473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:25:14] local.INFO: GPS data processed {"connection_id":130473,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:25:14] local.INFO: Acknowledgment sent {"connection_id":130473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:25:35] local.INFO: TCP Data received {"connection_id":132839,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5434a8012d7c42c005e1f0500008002d2e..."} 
[2026-07-13 17:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5434a8012d7c42c005e1f0500008002d2e..."} 
[2026-07-13 17:25:35] local.INFO: Processing buffer {"connection_id":132839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5434a8012d7c42c005e1f0500008002d2e..."} 
[2026-07-13 17:25:35] local.INFO: Packet analysis {"connection_id":132839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b54"} 
[2026-07-13 17:25:35] local.INFO: Extracted packet for processing {"connection_id":132839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b54"} 
[2026-07-13 17:25:35] local.INFO: GPS Element Parsed {"raw_longitude":763118272,"raw_latitude":98693200,"longitude_deg":76.3118272,"latitude_deg":9.86932,"altitude":8,"angle":45,"satellites":46,"speed":21,"hex_longitude":"2d7c42c0","hex_latitude":"05e1f050","is_valid_coordinates":true} 
[2026-07-13 17:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689578752001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105908176917889024,"note":"Value kept but may cause issues"} 
[2026-07-13 17:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951959815826208768,"note":"Value kept but may cause issues"} 
[2026-07-13 17:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783943673000,"timestamp_ms":1783943673000,"timestamp_seconds":1783943673,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5434a8"} 
[2026-07-13 17:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:25: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-07-13 17: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-13 17:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689578752001,"66":13102,"43":206,"85":15104,"24":21,"16":105908176917889024,"45":8951959815826208768},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-13 17:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689578752001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:25:35] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-13 17:25:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105908176917889024,"km_value":105908176917889.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951959815826208768,"description":"Unknown IO ID 45"} 
[2026-07-13 17:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689578752001,"power":13102,"unknown_43":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8951959815826208768}} 
[2026-07-13 17:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":132839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480913,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:25:35] local.INFO: GPS data processed {"connection_id":132839,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:25:35] local.INFO: Acknowledgment sent {"connection_id":132839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:25:39] local.INFO: TCP Data received {"connection_id":130475,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:25:39] local.INFO: Processing buffer {"connection_id":130475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:25:39] local.INFO: IMEI packet received {"connection_id":130475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":130475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:25:40] local.INFO: TCP Data received {"connection_id":130696,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130696,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:25:40] local.INFO: Processing buffer {"connection_id":130696,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:25:40] local.INFO: IMEI packet received {"connection_id":130696,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":130696,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:25:45] local.INFO: TCP Data received {"connection_id":130696,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130696,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:25:45] local.INFO: Processing buffer {"connection_id":130696,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:25:45] local.INFO: IMEI packet received {"connection_id":130696,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":130696,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:25:46] local.INFO: TCP Data received {"connection_id":130696,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b525430012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b525430012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:25:46] local.INFO: Processing buffer {"connection_id":130696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b525430012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:25:46] local.INFO: Packet analysis {"connection_id":130696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b52"} 
[2026-07-13 17:25:46] local.INFO: Extracted packet for processing {"connection_id":130696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b52"} 
[2026-07-13 17:25:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689471744001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:25:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783943550000,"timestamp_ms":1783943550000,"timestamp_seconds":1783943550,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b525430"} 
[2026-07-13 17:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130696,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130696,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689471744001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689471744001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:25:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:25:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:25:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689471744001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":130696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480914,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:25:46] local.INFO: GPS data processed {"connection_id":130696,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:25:46] local.INFO: Acknowledgment sent {"connection_id":130696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:25:46] local.INFO: TCP Data received {"connection_id":130475,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:25:46] local.INFO: Processing buffer {"connection_id":130475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:25:46] local.INFO: IMEI packet received {"connection_id":130475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":130475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:25:49] local.INFO: TCP Data received {"connection_id":130475,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:25:49] local.INFO: Processing buffer {"connection_id":130475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:25:49] local.INFO: IMEI packet received {"connection_id":130475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":130475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:25:51] local.INFO: TCP Data received {"connection_id":130475,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5388c8012d7f914005afd9380007011b26..."} 
[2026-07-13 17:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5388c8012d7f914005afd9380007011b26..."} 
[2026-07-13 17:25:51] local.INFO: Processing buffer {"connection_id":130475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5388c8012d7f914005afd9380007011b26..."} 
[2026-07-13 17:25:51] local.INFO: Packet analysis {"connection_id":130475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b53"} 
[2026-07-13 17:25:51] local.INFO: Extracted packet for processing {"connection_id":130475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b53"} 
[2026-07-13 17:25:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":7,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689491968001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783943629000,"timestamp_ms":1783943629000,"timestamp_seconds":1783943629,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5388c8"} 
[2026-07-13 17:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:25: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-07-13 17:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:25: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-07-13 17:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689491968001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689491968001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:25:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:25:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689491968001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":130475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:25:51] local.INFO: GPS data processed {"connection_id":130475,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:25:51] local.INFO: Acknowledgment sent {"connection_id":130475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:25:58] local.INFO: TCP Data received {"connection_id":131516,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:25:58] local.INFO: Processing buffer {"connection_id":131516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:25:58] local.INFO: IMEI packet received {"connection_id":131516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":131516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:26:02] local.INFO: TCP Data received {"connection_id":131516,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:26:02] local.INFO: Processing buffer {"connection_id":131516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:26:02] local.INFO: IMEI packet received {"connection_id":131516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":131516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:26:02] local.INFO: TCP Data received {"connection_id":131516,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b545bb8012d7c564005e201d80006001a2e..."} 
[2026-07-13 17:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b545bb8012d7c564005e201d80006001a2e..."} 
[2026-07-13 17:26:02] local.INFO: Processing buffer {"connection_id":131516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b545bb8012d7c564005e201d80006001a2e..."} 
[2026-07-13 17:26:02] local.INFO: Packet analysis {"connection_id":131516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b54"} 
[2026-07-13 17:26:02] local.INFO: Extracted packet for processing {"connection_id":131516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b54"} 
[2026-07-13 17:26:02] local.INFO: GPS Element Parsed {"raw_longitude":763123264,"raw_latitude":98697688,"longitude_deg":76.3123264,"latitude_deg":9.8697688,"altitude":6,"angle":26,"satellites":46,"speed":30,"hex_longitude":"2d7c5640","hex_latitude":"05e201d8","is_valid_coordinates":true} 
[2026-07-13 17:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689580288001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105908503335403520,"note":"Value kept but may cause issues"} 
[2026-07-13 17:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953930140663959552,"note":"Value kept but may cause issues"} 
[2026-07-13 17:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783943683000,"timestamp_ms":1783943683000,"timestamp_seconds":1783943683,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b545bb8"} 
[2026-07-13 17:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:26: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-07-13 17:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-13 17:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":131516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":131516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":131516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689580288001,"66":12885,"43":206,"85":15104,"24":30,"16":105908503335403520,"45":8953930140663959552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-13 17:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689580288001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:26:02] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-13 17:26:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105908503335403520,"km_value":105908503335403.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953930140663959552,"description":"Unknown IO ID 45"} 
[2026-07-13 17:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689580288001,"power":12885,"unknown_43":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8953930140663959552}} 
[2026-07-13 17:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":131516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480916,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:26:03] local.INFO: GPS data processed {"connection_id":131516,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:26:03] local.INFO: Acknowledgment sent {"connection_id":131516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:26:03] local.INFO: TCP Data received {"connection_id":131516,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b547710012d7c5e8005e212b00007002d2e..."} 
[2026-07-13 17:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b547710012d7c5e8005e212b00007002d2e..."} 
[2026-07-13 17:26:03] local.INFO: Processing buffer {"connection_id":131516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b547710012d7c5e8005e212b00007002d2e..."} 
[2026-07-13 17:26:03] local.INFO: Packet analysis {"connection_id":131516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b54"} 
[2026-07-13 17:26:03] local.INFO: Extracted packet for processing {"connection_id":131516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b54"} 
[2026-07-13 17:26:03] local.INFO: GPS Element Parsed {"raw_longitude":763125376,"raw_latitude":98702000,"longitude_deg":76.3125376,"latitude_deg":9.8702,"altitude":7,"angle":45,"satellites":46,"speed":15,"hex_longitude":"2d7c5e80","hex_latitude":"05e212b0","is_valid_coordinates":true} 
[2026-07-13 17:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689582848001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105908739558604800,"note":"Value kept but may cause issues"} 
[2026-07-13 17:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8959418902710966272,"note":"Value kept but may cause issues"} 
[2026-07-13 17:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783943690000,"timestamp_ms":1783943690000,"timestamp_seconds":1783943690,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b547710"} 
[2026-07-13 17:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17: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-07-13 17: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-13 17:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":131516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":131516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":131516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689582848001,"66":12461,"43":206,"85":15104,"24":15,"16":105908739558604800,"45":8959418902710966272},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-13 17:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689582848001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:26:03] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-13 17:26:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105908739558604800,"km_value":105908739558604.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8959418902710966272,"description":"Unknown IO ID 45"} 
[2026-07-13 17:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689582848001,"power":12461,"unknown_43":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8959418902710966272}} 
[2026-07-13 17:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":131516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480917,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:26:03] local.INFO: GPS data processed {"connection_id":131516,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:26:03] local.INFO: Acknowledgment sent {"connection_id":131516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:26:23] local.INFO: TCP Data received {"connection_id":130696,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b525430012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b525430012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:26:23] local.INFO: Processing buffer {"connection_id":130696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b525430012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:26:23] local.INFO: Packet analysis {"connection_id":130696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b52"} 
[2026-07-13 17:26:23] local.INFO: Extracted packet for processing {"connection_id":130696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b52"} 
[2026-07-13 17:26:23] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689471744001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:26:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783943550000,"timestamp_ms":1783943550000,"timestamp_seconds":1783943550,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b525430"} 
[2026-07-13 17:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:26:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:26:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":130696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":130696,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":130696,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689471744001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689471744001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:26:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:26:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:26:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689471744001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":130696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480918,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:26:23] local.INFO: GPS data processed {"connection_id":130696,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:26:23] local.INFO: Acknowledgment sent {"connection_id":130696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:26:34] local.INFO: TCP Data received {"connection_id":131516,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b547af8012d7c600005e21338000800432f..."} 
[2026-07-13 17:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b547af8012d7c600005e21338000800432f..."} 
[2026-07-13 17:26:34] local.INFO: Processing buffer {"connection_id":131516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b547af8012d7c600005e21338000800432f..."} 
[2026-07-13 17:26:34] local.INFO: Packet analysis {"connection_id":131516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b54"} 
[2026-07-13 17:26:34] local.INFO: Extracted packet for processing {"connection_id":131516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b54"} 
[2026-07-13 17:26:34] local.INFO: GPS Element Parsed {"raw_longitude":763125760,"raw_latitude":98702136,"longitude_deg":76.312576,"latitude_deg":9.8702136,"altitude":8,"angle":67,"satellites":47,"speed":14,"hex_longitude":"2d7c6000","hex_latitude":"05e21338","is_valid_coordinates":true} 
[2026-07-13 17:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689584640001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105908756738473984,"note":"Value kept but may cause issues"} 
[2026-07-13 17:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961741071269933056,"note":"Value kept but may cause issues"} 
[2026-07-13 17:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783943691000,"timestamp_ms":1783943691000,"timestamp_seconds":1783943691,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b547af8"} 
[2026-07-13 17:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-13 17:26: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-07-13 17:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":131516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":131516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":131516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689584640001,"66":12461,"43":206,"85":15104,"24":14,"16":105908756738473984,"45":8961741071269933056},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-13 17:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689584640001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:26:34] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-13 17:26:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105908756738473984,"km_value":105908756738473.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961741071269933056,"description":"Unknown IO ID 45"} 
[2026-07-13 17:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689584640001,"power":12461,"unknown_43":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8961741071269933056}} 
[2026-07-13 17:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":131516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480919,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:26:34] local.INFO: GPS data processed {"connection_id":131516,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:26:34] local.INFO: Acknowledgment sent {"connection_id":131516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:26:39] local.INFO: TCP Data received {"connection_id":131517,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131517,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:26:39] local.INFO: Processing buffer {"connection_id":131517,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:26:39] local.INFO: IMEI packet received {"connection_id":131517,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":131517,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:26:44] local.INFO: TCP Data received {"connection_id":132840,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:26:44] local.INFO: Processing buffer {"connection_id":132840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:26:44] local.INFO: IMEI packet received {"connection_id":132840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":132840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:26:45] local.INFO: TCP Data received {"connection_id":131517,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131517,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:26:45] local.INFO: Processing buffer {"connection_id":131517,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:26:45] local.INFO: IMEI packet received {"connection_id":131517,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":131517,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:26:47] local.INFO: TCP Data received {"connection_id":131517,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b525430012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b525430012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:26:47] local.INFO: Processing buffer {"connection_id":131517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b525430012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:26:47] local.INFO: Packet analysis {"connection_id":131517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b52"} 
[2026-07-13 17:26:47] local.INFO: Extracted packet for processing {"connection_id":131517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b52"} 
[2026-07-13 17:26:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689471744001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:26:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783943550000,"timestamp_ms":1783943550000,"timestamp_seconds":1783943550,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b525430"} 
[2026-07-13 17:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":131517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":131517,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":131517,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689471744001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689471744001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:26:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:26:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:26:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689471744001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":131517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480920,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:26:47] local.INFO: GPS data processed {"connection_id":131517,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:26:47] local.INFO: Acknowledgment sent {"connection_id":131517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:26:52] local.INFO: TCP Data received {"connection_id":132840,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:26:52] local.INFO: Processing buffer {"connection_id":132840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:26:52] local.INFO: IMEI packet received {"connection_id":132840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":132840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:26:58] local.INFO: TCP Data received {"connection_id":131518,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131518,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:26:58] local.INFO: Processing buffer {"connection_id":131518,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:26:58] local.INFO: IMEI packet received {"connection_id":131518,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":131518,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:26:59] local.INFO: TCP Data received {"connection_id":131518,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131518,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:26:59] local.INFO: Processing buffer {"connection_id":131518,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:26:59] local.INFO: IMEI packet received {"connection_id":131518,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":131518,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:27:03] local.INFO: TCP Data received {"connection_id":131518,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131518,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:27:03] local.INFO: Processing buffer {"connection_id":131518,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:27:03] local.INFO: IMEI packet received {"connection_id":131518,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":131518,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:27:04] local.INFO: TCP Data received {"connection_id":131518,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b564018012d7da88005e20008000a006030..."} 
[2026-07-13 17:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b564018012d7da88005e20008000a006030..."} 
[2026-07-13 17:27:04] local.INFO: Processing buffer {"connection_id":131518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b564018012d7da88005e20008000a006030..."} 
[2026-07-13 17:27:04] local.INFO: Packet analysis {"connection_id":131518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b56"} 
[2026-07-13 17:27:04] local.INFO: Extracted packet for processing {"connection_id":131518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b56"} 
[2026-07-13 17:27:04] local.INFO: GPS Element Parsed {"raw_longitude":763209856,"raw_latitude":98697224,"longitude_deg":76.3209856,"latitude_deg":9.8697224,"altitude":10,"angle":96,"satellites":48,"speed":38,"hex_longitude":"2d7da880","hex_latitude":"05e20008","is_valid_coordinates":true} 
[2026-07-13 17:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689611776001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105912806892634112,"note":"Value kept but may cause issues"} 
[2026-07-13 17:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9044705820654383104,"note":"Value kept but may cause issues"} 
[2026-07-13 17:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783943807000,"timestamp_ms":1783943807000,"timestamp_seconds":1783943807,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b564018"} 
[2026-07-13 17:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-13 17:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":131518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":131518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":131518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689611776001,"66":12863,"43":206,"85":15104,"24":38,"16":105912806892634112,"45":9044705820654383104},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-13 17:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689611776001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:27:04] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-13 17:27:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105912806892634112,"km_value":105912806892634.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9044705820654383104,"description":"Unknown IO ID 45"} 
[2026-07-13 17:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689611776001,"power":12863,"unknown_43":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9044705820654383104}} 
[2026-07-13 17:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":131518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480921,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:27:04] local.INFO: GPS data processed {"connection_id":131518,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:27:04] local.INFO: Acknowledgment sent {"connection_id":131518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:27:12] local.INFO: TCP Data received {"connection_id":132840,"ip":"42.106.6.51","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f5b..."} 
[2026-07-13 17:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132840,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f5b..."} 
[2026-07-13 17:27:12] local.INFO: Processing buffer {"connection_id":132840,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f5b..."} 
[2026-07-13 17:27:12] local.INFO: IMEI packet received {"connection_id":132840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":132840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:27:13] local.INFO: TCP Data received {"connection_id":132840,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5388c8012d7f914005afd9380007011b26..."} 
[2026-07-13 17:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5388c8012d7f914005afd9380007011b26..."} 
[2026-07-13 17:27:13] local.INFO: Processing buffer {"connection_id":132840,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f5b5388c8012d7f914005afd9380007011b26..."} 
[2026-07-13 17:27:13] local.INFO: Packet analysis {"connection_id":132840,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f5b53"} 
[2026-07-13 17:27:13] local.INFO: Extracted packet for processing {"connection_id":132840,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b53"} 
[2026-07-13 17:27:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":7,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689491968001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783943629000,"timestamp_ms":1783943629000,"timestamp_seconds":1783943629,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5388c8"} 
[2026-07-13 17:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689491968001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689491968001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:27:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:27:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689491968001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":132840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:27:13] local.INFO: GPS data processed {"connection_id":132840,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:27:13] local.INFO: Acknowledgment sent {"connection_id":132840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:27:13] local.INFO: Packet analysis {"connection_id":132840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b53"} 
[2026-07-13 17:27:13] local.INFO: Extracted packet for processing {"connection_id":132840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b53"} 
[2026-07-13 17:27:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":7,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689491968001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783943629000,"timestamp_ms":1783943629000,"timestamp_seconds":1783943629,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5388c8"} 
[2026-07-13 17:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689491968001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689491968001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:27:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:27:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689491968001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":132840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:27:13] local.INFO: GPS data processed {"connection_id":132840,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:27:13] local.INFO: Acknowledgment sent {"connection_id":132840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:27:14] local.INFO: TCP Data received {"connection_id":132840,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5388c8012d7f914005afd9380007011b26..."} 
[2026-07-13 17:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5388c8012d7f914005afd9380007011b26..."} 
[2026-07-13 17:27:14] local.INFO: Processing buffer {"connection_id":132840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5388c8012d7f914005afd9380007011b26..."} 
[2026-07-13 17:27:14] local.INFO: Packet analysis {"connection_id":132840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b53"} 
[2026-07-13 17:27:14] local.INFO: Extracted packet for processing {"connection_id":132840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b53"} 
[2026-07-13 17:27:14] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":7,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689491968001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783943629000,"timestamp_ms":1783943629000,"timestamp_seconds":1783943629,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5388c8"} 
[2026-07-13 17:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:27:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:27:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":132840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":132840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":132840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:27:14] 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-07-13 17:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689491968001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689491968001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:27:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:27:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689491968001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":132840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:27:14] local.INFO: GPS data processed {"connection_id":132840,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:27:14] local.INFO: Acknowledgment sent {"connection_id":132840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:27:19] local.INFO: TCP Data received {"connection_id":131517,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b525430012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b525430012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:27:19] local.INFO: Processing buffer {"connection_id":131517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b525430012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:27:19] local.INFO: Packet analysis {"connection_id":131517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b52"} 
[2026-07-13 17:27:19] local.INFO: Extracted packet for processing {"connection_id":131517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b52"} 
[2026-07-13 17:27:19] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689471744001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:27:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783943550000,"timestamp_ms":1783943550000,"timestamp_seconds":1783943550,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b525430"} 
[2026-07-13 17:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:27:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":131517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":131517,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":131517,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689471744001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689471744001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:27:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:27:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:27:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689471744001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":131517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480925,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:27:19] local.INFO: GPS data processed {"connection_id":131517,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:27:19] local.INFO: Acknowledgment sent {"connection_id":131517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:27:34] local.INFO: TCP Data received {"connection_id":130697,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:27:34] local.INFO: Processing buffer {"connection_id":130697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:27:34] local.INFO: IMEI packet received {"connection_id":130697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":130697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:27:34] local.INFO: TCP Data received {"connection_id":131518,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b565b70012d7dc64005e1fe080009004f30..."} 
[2026-07-13 17:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b565b70012d7dc64005e1fe080009004f30..."} 
[2026-07-13 17:27:34] local.INFO: Processing buffer {"connection_id":131518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b565b70012d7dc64005e1fe080009004f30..."} 
[2026-07-13 17:27:34] local.INFO: Packet analysis {"connection_id":131518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b56"} 
[2026-07-13 17:27:34] local.INFO: Extracted packet for processing {"connection_id":131518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b56"} 
[2026-07-13 17:27:34] local.INFO: GPS Element Parsed {"raw_longitude":763217472,"raw_latitude":98696712,"longitude_deg":76.3217472,"latitude_deg":9.8696712,"altitude":9,"angle":79,"satellites":48,"speed":43,"hex_longitude":"2d7dc640","hex_latitude":"05e1fe08","is_valid_coordinates":true} 
[2026-07-13 17:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689614592001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105913171964854272,"note":"Value kept but may cause issues"} 
[2026-07-13 17:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9054627813583226880,"note":"Value kept but may cause issues"} 
[2026-07-13 17:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783943814000,"timestamp_ms":1783943814000,"timestamp_seconds":1783943814,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b565b70"} 
[2026-07-13 17:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-13 17:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":131518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":131518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":131518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689614592001,"66":13222,"43":206,"85":15104,"24":43,"16":105913171964854272,"45":9054627813583226880},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-13 17:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689614592001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:27:34] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-13 17:27:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105913171964854272,"km_value":105913171964854.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9054627813583226880,"description":"Unknown IO ID 45"} 
[2026-07-13 17:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689614592001,"power":13222,"unknown_43":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9054627813583226880}} 
[2026-07-13 17:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":131518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480926,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:27:35] local.INFO: GPS data processed {"connection_id":131518,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:27:35] local.INFO: Acknowledgment sent {"connection_id":131518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:27:39] local.INFO: TCP Data received {"connection_id":132841,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132841,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:27:39] local.INFO: Processing buffer {"connection_id":132841,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:27:39] local.INFO: IMEI packet received {"connection_id":132841,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":132841,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:27:45] local.INFO: TCP Data received {"connection_id":132841,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132841,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:27:45] local.INFO: Processing buffer {"connection_id":132841,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:27:45] local.INFO: IMEI packet received {"connection_id":132841,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":132841,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:27:45] local.INFO: TCP Data received {"connection_id":130697,"ip":"42.106.6.28","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-13 17:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130697,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-13 17:27:45] local.INFO: Processing buffer {"connection_id":130697,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-13 17:27:45] local.INFO: IMEI packet received {"connection_id":130697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":130697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:27:49] local.INFO: TCP Data received {"connection_id":132841,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b525430012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b525430012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:27:49] local.INFO: Processing buffer {"connection_id":132841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b525430012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:27:49] local.INFO: Packet analysis {"connection_id":132841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b52"} 
[2026-07-13 17:27:49] local.INFO: Extracted packet for processing {"connection_id":132841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b52"} 
[2026-07-13 17:27:49] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 17:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689471744001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:27:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783943550000,"timestamp_ms":1783943550000,"timestamp_seconds":1783943550,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b525430"} 
[2026-07-13 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-07-13 17:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 17:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132841,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132841,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689471744001,"66":24995,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689471744001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:27:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:27:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:27:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689471744001,"power":24995,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":132841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480927,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:27:49] local.INFO: GPS data processed {"connection_id":132841,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:27:49] local.INFO: Acknowledgment sent {"connection_id":132841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:27:50] local.INFO: TCP Data received {"connection_id":130697,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:27:50] local.INFO: Processing buffer {"connection_id":130697,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-13 17:27:50] local.INFO: IMEI packet received {"connection_id":130697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":130697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:27:58] local.INFO: TCP Data received {"connection_id":130698,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:27:58] local.INFO: Processing buffer {"connection_id":130698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:27:58] local.INFO: IMEI packet received {"connection_id":130698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":130698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:27:58] local.INFO: TCP Data received {"connection_id":130698,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:27:58] local.INFO: Processing buffer {"connection_id":130698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:27:58] local.INFO: IMEI packet received {"connection_id":130698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":130698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:28:00] local.INFO: TCP Data received {"connection_id":130698,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:28:00] local.INFO: Processing buffer {"connection_id":130698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:28:00] local.INFO: IMEI packet received {"connection_id":130698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":130698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:28:03] local.INFO: TCP Data received {"connection_id":130698,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:28:03] local.INFO: Processing buffer {"connection_id":130698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:28:03] local.INFO: IMEI packet received {"connection_id":130698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":130698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:28:04] local.INFO: TCP Data received {"connection_id":130698,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b572a78012d7e2c8005e1e0c0000800b52b..."} 
[2026-07-13 17:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b572a78012d7e2c8005e1e0c0000800b52b..."} 
[2026-07-13 17:28:04] local.INFO: Processing buffer {"connection_id":130698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b572a78012d7e2c8005e1e0c0000800b52b..."} 
[2026-07-13 17:28:04] local.INFO: Packet analysis {"connection_id":130698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b57"} 
[2026-07-13 17:28:04] local.INFO: Extracted packet for processing {"connection_id":130698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b57"} 
[2026-07-13 17:28:04] local.INFO: GPS Element Parsed {"raw_longitude":763243648,"raw_latitude":98689216,"longitude_deg":76.3243648,"latitude_deg":9.8689216,"altitude":8,"angle":181,"satellites":43,"speed":33,"hex_longitude":"2d7e2c80","hex_latitude":"05e1e0c0","is_valid_coordinates":true} 
[2026-07-13 17:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689626880001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105915023095758848,"note":"Value kept but may cause issues"} 
[2026-07-13 17:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092134354230192128,"note":"Value kept but may cause issues"} 
[2026-07-13 17:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783943867000,"timestamp_ms":1783943867000,"timestamp_seconds":1783943867,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b572a78"} 
[2026-07-13 17:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-13 17:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689626880001,"66":13015,"61":206,"85":15104,"24":33,"16":105915023095758848,"45":9092134354230192128},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-13 17:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689626880001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:28:04] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-13 17:28:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105915023095758848,"km_value":105915023095758.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092134354230192128,"description":"Unknown IO ID 45"} 
[2026-07-13 17:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689626880001,"power":13015,"unknown_61":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9092134354230192128}} 
[2026-07-13 17:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":130698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:28:04] local.INFO: GPS data processed {"connection_id":130698,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:28:04] local.INFO: Acknowledgment sent {"connection_id":130698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:28:18] local.INFO: TCP Data received {"connection_id":130697,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5388c8012d7f914005afd9380007011b26..."} 
[2026-07-13 17:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5388c8012d7f914005afd9380007011b26..."} 
[2026-07-13 17:28:18] local.INFO: Processing buffer {"connection_id":130697,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f5b..."} 
[2026-07-13 17:28:18] local.INFO: IMEI packet received {"connection_id":130697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":130697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:28:20] local.INFO: TCP Data received {"connection_id":130697,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5388c8012d7f914005afd9380007011b26..."} 
[2026-07-13 17:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5388c8012d7f914005afd9380007011b26..."} 
[2026-07-13 17:28:20] local.INFO: Processing buffer {"connection_id":130697,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f5b5388c8012d7f914005afd9380007011b26..."} 
[2026-07-13 17:28:20] local.INFO: Packet analysis {"connection_id":130697,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f5b53"} 
[2026-07-13 17:28:20] local.INFO: Extracted packet for processing {"connection_id":130697,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b53"} 
[2026-07-13 17:28:20] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":7,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689491968001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783943629000,"timestamp_ms":1783943629000,"timestamp_seconds":1783943629,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5388c8"} 
[2026-07-13 17:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:28: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-07-13 17:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689491968001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689491968001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:28:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:28:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689491968001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":130697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:28:20] local.INFO: GPS data processed {"connection_id":130697,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:28:20] local.INFO: Acknowledgment sent {"connection_id":130697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:28:20] local.INFO: Packet analysis {"connection_id":130697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b53"} 
[2026-07-13 17:28:20] local.INFO: Extracted packet for processing {"connection_id":130697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b53"} 
[2026-07-13 17:28:20] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":7,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689491968001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783943629000,"timestamp_ms":1783943629000,"timestamp_seconds":1783943629,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5388c8"} 
[2026-07-13 17:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:28: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-07-13 17:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689491968001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689491968001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:28:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:28:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689491968001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":130697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:28:20] local.INFO: GPS data processed {"connection_id":130697,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:28:20] local.INFO: Acknowledgment sent {"connection_id":130697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:28:20] local.INFO: TCP Data received {"connection_id":130697,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5388c8012d7f914005afd9380007011b26..."} 
[2026-07-13 17:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5388c8012d7f914005afd9380007011b26..."} 
[2026-07-13 17:28:20] local.INFO: Processing buffer {"connection_id":130697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5388c8012d7f914005afd9380007011b26..."} 
[2026-07-13 17:28:20] local.INFO: Packet analysis {"connection_id":130697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b53"} 
[2026-07-13 17:28:20] local.INFO: Extracted packet for processing {"connection_id":130697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b53"} 
[2026-07-13 17:28:20] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":7,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689491968001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783943629000,"timestamp_ms":1783943629000,"timestamp_seconds":1783943629,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5388c8"} 
[2026-07-13 17:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:28: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-07-13 17:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689491968001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689491968001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:28:20] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:28:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689491968001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":130697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:28:20] local.INFO: GPS data processed {"connection_id":130697,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:28:20] local.INFO: Acknowledgment sent {"connection_id":130697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:28:20] local.INFO: TCP Data received {"connection_id":132841,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b56ebf8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b56ebf8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:28:20] local.INFO: Processing buffer {"connection_id":132841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b56ebf8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:28:20] local.INFO: Packet analysis {"connection_id":132841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b56"} 
[2026-07-13 17:28:20] local.INFO: Extracted packet for processing {"connection_id":132841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b56"} 
[2026-07-13 17:28:20] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689548800001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:28:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783943851000,"timestamp_ms":1783943851000,"timestamp_seconds":1783943851,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b56ebf8"} 
[2026-07-13 17:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":132841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":132841,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":132841,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689548800001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689548800001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:28:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:28:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:28:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689548800001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":132841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480932,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:28:20] local.INFO: GPS data processed {"connection_id":132841,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:28:20] local.INFO: Acknowledgment sent {"connection_id":132841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:28:35] local.INFO: TCP Data received {"connection_id":130698,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b574da0012d7e29c005e1bf00000800c02d..."} 
[2026-07-13 17:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b574da0012d7e29c005e1bf00000800c02d..."} 
[2026-07-13 17:28:35] local.INFO: Processing buffer {"connection_id":130698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b574da0012d7e29c005e1bf00000800c02d..."} 
[2026-07-13 17:28:35] local.INFO: Packet analysis {"connection_id":130698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b57"} 
[2026-07-13 17:28:35] local.INFO: Extracted packet for processing {"connection_id":130698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b57"} 
[2026-07-13 17:28:35] local.INFO: GPS Element Parsed {"raw_longitude":763242944,"raw_latitude":98680576,"longitude_deg":76.3242944,"latitude_deg":9.8680576,"altitude":8,"angle":192,"satellites":45,"speed":42,"hex_longitude":"2d7e29c0","hex_latitude":"05e1bf00","is_valid_coordinates":true} 
[2026-07-13 17:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689629952001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105915444002553856,"note":"Value kept but may cause issues"} 
[2026-07-13 17:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091782510506983424,"note":"Value kept but may cause issues"} 
[2026-07-13 17:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783943876000,"timestamp_ms":1783943876000,"timestamp_seconds":1783943876,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b574da0"} 
[2026-07-13 17:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-13 17:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689629952001,"66":12863,"61":206,"85":15104,"24":42,"16":105915444002553856,"45":9091782510506983424},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-13 17:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689629952001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:28:35] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-13 17:28:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105915444002553856,"km_value":105915444002553.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091782510506983424,"description":"Unknown IO ID 45"} 
[2026-07-13 17:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689629952001,"power":12863,"unknown_61":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9091782510506983424}} 
[2026-07-13 17:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":130698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480933,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:28:35] local.INFO: GPS data processed {"connection_id":130698,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:28:35] local.INFO: Acknowledgment sent {"connection_id":130698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:28:38] local.INFO: TCP Data received {"connection_id":130476,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:28:38] local.INFO: Processing buffer {"connection_id":130476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:28:38] local.INFO: IMEI packet received {"connection_id":130476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":130476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:28:39] local.INFO: TCP Data received {"connection_id":130476,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:28:39] local.INFO: Processing buffer {"connection_id":130476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:28:39] local.INFO: IMEI packet received {"connection_id":130476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":130476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:28:40] local.INFO: TCP Data received {"connection_id":130476,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5388c8012d7f914005afd9380007011b26..."} 
[2026-07-13 17:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5388c8012d7f914005afd9380007011b26..."} 
[2026-07-13 17:28:40] local.INFO: Processing buffer {"connection_id":130476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5388c8012d7f914005afd9380007011b26..."} 
[2026-07-13 17:28:40] local.INFO: Packet analysis {"connection_id":130476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b53"} 
[2026-07-13 17:28:40] local.INFO: Extracted packet for processing {"connection_id":130476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b53"} 
[2026-07-13 17:28:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":7,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689491968001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783943629000,"timestamp_ms":1783943629000,"timestamp_seconds":1783943629,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5388c8"} 
[2026-07-13 17:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689491968001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689491968001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:28:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:28:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689491968001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":130476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:28:40] local.INFO: GPS data processed {"connection_id":130476,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:28:40] local.INFO: Acknowledgment sent {"connection_id":130476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:28:45] local.INFO: TCP Data received {"connection_id":130476,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5388c8012d7f914005afd9380007011b26..."} 
[2026-07-13 17:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5388c8012d7f914005afd9380007011b26..."} 
[2026-07-13 17:28:45] local.INFO: Processing buffer {"connection_id":130476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5388c8012d7f914005afd9380007011b26..."} 
[2026-07-13 17:28:45] local.INFO: Packet analysis {"connection_id":130476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b53"} 
[2026-07-13 17:28:45] local.INFO: Extracted packet for processing {"connection_id":130476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b53"} 
[2026-07-13 17:28:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":7,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689491968001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783943629000,"timestamp_ms":1783943629000,"timestamp_seconds":1783943629,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5388c8"} 
[2026-07-13 17:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689491968001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689491968001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:28:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:28:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689491968001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":130476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:28:45] local.INFO: GPS data processed {"connection_id":130476,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:28:45] local.INFO: Acknowledgment sent {"connection_id":130476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:28:54] local.INFO: TCP Data received {"connection_id":132842,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132842,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:28:54] local.INFO: Processing buffer {"connection_id":132842,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:28:54] local.INFO: IMEI packet received {"connection_id":132842,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":132842,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:28:56] local.INFO: TCP Data received {"connection_id":132842,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132842,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:28:56] local.INFO: Processing buffer {"connection_id":132842,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:28:56] local.INFO: IMEI packet received {"connection_id":132842,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":132842,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:28:57] local.INFO: TCP Data received {"connection_id":132842,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b56ebf8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b56ebf8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:28:57] local.INFO: Processing buffer {"connection_id":132842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b56ebf8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:28:57] local.INFO: Packet analysis {"connection_id":132842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b56"} 
[2026-07-13 17:28:57] local.INFO: Extracted packet for processing {"connection_id":132842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b56"} 
[2026-07-13 17:28:57] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17: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-07-13 17:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689548800001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:28:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783943851000,"timestamp_ms":1783943851000,"timestamp_seconds":1783943851,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b56ebf8"} 
[2026-07-13 17:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:28:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:28:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17: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-07-13 17:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132842,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132842,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689548800001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689548800001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:28:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:28:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:28:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689548800001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":132842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480936,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:28:57] local.INFO: GPS data processed {"connection_id":132842,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:28:57] local.INFO: Acknowledgment sent {"connection_id":132842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:29:00] local.INFO: TCP Data received {"connection_id":132842,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b56ebf8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b56ebf8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:29:00] local.INFO: Processing buffer {"connection_id":132842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b56ebf8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:29:00] local.INFO: Packet analysis {"connection_id":132842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b56"} 
[2026-07-13 17:29:00] local.INFO: Extracted packet for processing {"connection_id":132842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b56"} 
[2026-07-13 17:29:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689548800001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:29:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783943851000,"timestamp_ms":1783943851000,"timestamp_seconds":1783943851,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b56ebf8"} 
[2026-07-13 17:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":132842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":132842,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":132842,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689548800001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689548800001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:29:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:29:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:29:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689548800001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":132842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480937,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:29:00] local.INFO: GPS data processed {"connection_id":132842,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:29:00] local.INFO: Acknowledgment sent {"connection_id":132842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:29:03] local.INFO: TCP Data received {"connection_id":130699,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130699,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:29:03] local.INFO: Processing buffer {"connection_id":130699,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:29:03] local.INFO: IMEI packet received {"connection_id":130699,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":130699,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:29:03] local.INFO: TCP Data received {"connection_id":130699,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130699,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:29:03] local.INFO: Processing buffer {"connection_id":130699,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:29:03] local.INFO: IMEI packet received {"connection_id":130699,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":130699,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:29:05] local.INFO: TCP Data received {"connection_id":130699,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130699,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:29:05] local.INFO: Processing buffer {"connection_id":130699,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:29:05] local.INFO: IMEI packet received {"connection_id":130699,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":130699,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:29:05] local.INFO: TCP Data received {"connection_id":130699,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b575570012d7e268005e1b760000700d12b..."} 
[2026-07-13 17:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b575570012d7e268005e1b760000700d12b..."} 
[2026-07-13 17:29:05] local.INFO: Processing buffer {"connection_id":130699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b575570012d7e268005e1b760000700d12b..."} 
[2026-07-13 17:29:05] local.INFO: Packet analysis {"connection_id":130699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b57"} 
[2026-07-13 17:29:05] local.INFO: Extracted packet for processing {"connection_id":130699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b57"} 
[2026-07-13 17:29:05] local.INFO: GPS Element Parsed {"raw_longitude":763242112,"raw_latitude":98678624,"longitude_deg":76.3242112,"latitude_deg":9.8678624,"altitude":7,"angle":209,"satellites":43,"speed":40,"hex_longitude":"2d7e2680","hex_latitude":"05e1b760","is_valid_coordinates":true} 
[2026-07-13 17:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689632256001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105915547081768960,"note":"Value kept but may cause issues"} 
[2026-07-13 17:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091008454318817280,"note":"Value kept but may cause issues"} 
[2026-07-13 17:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783943878000,"timestamp_ms":1783943878000,"timestamp_seconds":1783943878,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b575570"} 
[2026-07-13 17:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:29: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-07-13 17:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-13 17:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689632256001,"66":11830,"61":206,"85":15104,"24":40,"16":105915547081768960,"45":9091008454318817280},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-13 17:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689632256001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:29:05] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-13 17:29:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105915547081768960,"km_value":105915547081768.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091008454318817280,"description":"Unknown IO ID 45"} 
[2026-07-13 17:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689632256001,"power":11830,"unknown_61":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9091008454318817280}} 
[2026-07-13 17:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":130699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:29:06] local.INFO: GPS data processed {"connection_id":130699,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:29:06] local.INFO: Acknowledgment sent {"connection_id":130699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:29:08] local.INFO: TCP Data received {"connection_id":130699,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5768f8012d7e1d0005e1a8b0000600c52b..."} 
[2026-07-13 17:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5768f8012d7e1d0005e1a8b0000600c52b..."} 
[2026-07-13 17:29:08] local.INFO: Processing buffer {"connection_id":130699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5768f8012d7e1d0005e1a8b0000600c52b..."} 
[2026-07-13 17:29:08] local.INFO: Packet analysis {"connection_id":130699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b57"} 
[2026-07-13 17:29:08] local.INFO: Extracted packet for processing {"connection_id":130699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b57"} 
[2026-07-13 17:29:08] local.INFO: GPS Element Parsed {"raw_longitude":763239680,"raw_latitude":98674864,"longitude_deg":76.323968,"latitude_deg":9.8674864,"altitude":6,"angle":197,"satellites":43,"speed":34,"hex_longitude":"2d7e1d00","hex_latitude":"05e1a8b0","is_valid_coordinates":true} 
[2026-07-13 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-07-13 17:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689632768001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105915766125101056,"note":"Value kept but may cause issues"} 
[2026-07-13 17:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090093660644007936,"note":"Value kept but may cause issues"} 
[2026-07-13 17:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783943883000,"timestamp_ms":1783943883000,"timestamp_seconds":1783943883,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5768f8"} 
[2026-07-13 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-07-13 17:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-07-13 17:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 17:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689632768001,"66":12809,"61":206,"85":15104,"24":34,"16":105915766125101056,"45":9090093660644007936},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-13 17:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689632768001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:29:08] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-13 17:29:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105915766125101056,"km_value":105915766125101.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090093660644007936,"description":"Unknown IO ID 45"} 
[2026-07-13 17:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689632768001,"power":12809,"unknown_61":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9090093660644007936}} 
[2026-07-13 17:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":130699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:29:08] local.INFO: GPS data processed {"connection_id":130699,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:29:08] local.INFO: Acknowledgment sent {"connection_id":130699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:29:20] local.INFO: TCP Data received {"connection_id":130476,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5388c8012d7f914005afd9380007011b26..."} 
[2026-07-13 17:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5388c8012d7f914005afd9380007011b26..."} 
[2026-07-13 17:29:21] local.INFO: Processing buffer {"connection_id":130476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5388c8012d7f914005afd9380007011b26..."} 
[2026-07-13 17:29:21] local.INFO: Packet analysis {"connection_id":130476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b53"} 
[2026-07-13 17:29:21] local.INFO: Extracted packet for processing {"connection_id":130476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b53"} 
[2026-07-13 17:29:21] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":7,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689491968001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783943629000,"timestamp_ms":1783943629000,"timestamp_seconds":1783943629,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5388c8"} 
[2026-07-13 17:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":130476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":130476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":130476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689491968001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689491968001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:29:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:29:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689491968001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":130476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:29:21] local.INFO: GPS data processed {"connection_id":130476,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:29:21] local.INFO: Acknowledgment sent {"connection_id":130476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:29:34] local.INFO: TCP Data received {"connection_id":130700,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:29:34] local.INFO: Processing buffer {"connection_id":130700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:29:34] local.INFO: IMEI packet received {"connection_id":130700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":130700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:29:39] local.INFO: TCP Data received {"connection_id":130699,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b58b118012d7e2e0005e0af08000700892a..."} 
[2026-07-13 17:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b58b118012d7e2e0005e0af08000700892a..."} 
[2026-07-13 17:29:39] local.INFO: Processing buffer {"connection_id":130699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b58b118012d7e2e0005e0af08000700892a..."} 
[2026-07-13 17:29:39] local.INFO: Packet analysis {"connection_id":130699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b58"} 
[2026-07-13 17:29:39] local.INFO: Extracted packet for processing {"connection_id":130699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b58"} 
[2026-07-13 17:29:39] local.INFO: GPS Element Parsed {"raw_longitude":763244032,"raw_latitude":98610952,"longitude_deg":76.3244032,"latitude_deg":9.8610952,"altitude":7,"angle":137,"satellites":42,"speed":24,"hex_longitude":"2d7e2e00","hex_latitude":"05e0af08","is_valid_coordinates":true} 
[2026-07-13 17:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689654272001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105919133379461120,"note":"Value kept but may cause issues"} 
[2026-07-13 17:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087982598301943808,"note":"Value kept but may cause issues"} 
[2026-07-13 17:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783943967000,"timestamp_ms":1783943967000,"timestamp_seconds":1783943967,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b58b118"} 
[2026-07-13 17:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:29: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-07-13 17: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-13 17:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130699,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689654272001,"66":13222,"60":206,"85":15104,"24":24,"16":105919133379461120,"45":9087982598301943808},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-13 17:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689654272001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:29:39] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-13 17:29:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105919133379461120,"km_value":105919133379461.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087982598301943808,"description":"Unknown IO ID 45"} 
[2026-07-13 17:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689654272001,"power":13222,"unknown_60":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9087982598301943808}} 
[2026-07-13 17:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":130699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480941,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:29:39] local.INFO: GPS data processed {"connection_id":130699,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:29:39] local.INFO: Acknowledgment sent {"connection_id":130699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:29:41] local.INFO: TCP Data received {"connection_id":130700,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:29:41] local.INFO: Processing buffer {"connection_id":130700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:29:41] local.INFO: IMEI packet received {"connection_id":130700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":130700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:29:44] local.INFO: TCP Data received {"connection_id":130700,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b582090012d7f914005afd938000a011b26..."} 
[2026-07-13 17:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b582090012d7f914005afd938000a011b26..."} 
[2026-07-13 17:29:44] local.INFO: Processing buffer {"connection_id":130700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b582090012d7f914005afd938000a011b26..."} 
[2026-07-13 17:29:44] local.INFO: Packet analysis {"connection_id":130700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b58"} 
[2026-07-13 17:29:44] local.INFO: Extracted packet for processing {"connection_id":130700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b58"} 
[2026-07-13 17:29:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689569024001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783943930000,"timestamp_ms":1783943930000,"timestamp_seconds":1783943930,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b582090"} 
[2026-07-13 17:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 17:29:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:29:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689569024001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689569024001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:29:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:29:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689569024001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":130700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:29:44] local.INFO: GPS data processed {"connection_id":130700,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:29:44] local.INFO: Acknowledgment sent {"connection_id":130700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:29:45] local.INFO: TCP Data received {"connection_id":132843,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132843,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:29:45] local.INFO: Processing buffer {"connection_id":132843,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:29:45] local.INFO: IMEI packet received {"connection_id":132843,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":132843,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:29:50] local.INFO: TCP Data received {"connection_id":132843,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132843,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:29:50] local.INFO: Processing buffer {"connection_id":132843,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:29:50] local.INFO: IMEI packet received {"connection_id":132843,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":132843,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:29:51] local.INFO: TCP Data received {"connection_id":132843,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b56ebf8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b56ebf8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:29:51] local.INFO: Processing buffer {"connection_id":132843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b56ebf8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:29:51] local.INFO: Packet analysis {"connection_id":132843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b56"} 
[2026-07-13 17:29:51] local.INFO: Extracted packet for processing {"connection_id":132843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b56"} 
[2026-07-13 17:29:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17: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-07-13 17:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689548800001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:29:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783943851000,"timestamp_ms":1783943851000,"timestamp_seconds":1783943851,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b56ebf8"} 
[2026-07-13 17:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17: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-07-13 17:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689548800001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689548800001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:29:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:29:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:29:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689548800001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":132843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480943,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:29:51] local.INFO: GPS data processed {"connection_id":132843,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:29:51] local.INFO: Acknowledgment sent {"connection_id":132843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:29:56] local.INFO: TCP Data received {"connection_id":130477,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130477,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:29:56] local.INFO: Processing buffer {"connection_id":130477,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:29:56] local.INFO: IMEI packet received {"connection_id":130477,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":130477,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:29:58] local.INFO: TCP Data received {"connection_id":130477,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130477,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:29:58] local.INFO: Processing buffer {"connection_id":130477,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:29:58] local.INFO: IMEI packet received {"connection_id":130477,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":130477,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:30:01] local.INFO: TCP Data received {"connection_id":130477,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130477,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:30:01] local.INFO: Processing buffer {"connection_id":130477,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:30:01] local.INFO: IMEI packet received {"connection_id":130477,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":130477,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:30:01] local.INFO: TCP Data received {"connection_id":130477,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b58b8e8012d7e310005e0ab080007009d29..."} 
[2026-07-13 17:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b58b8e8012d7e310005e0ab080007009d29..."} 
[2026-07-13 17:30:01] local.INFO: Processing buffer {"connection_id":130477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b58b8e8012d7e310005e0ab080007009d29..."} 
[2026-07-13 17:30:01] local.INFO: Packet analysis {"connection_id":130477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b58"} 
[2026-07-13 17:30:01] local.INFO: Extracted packet for processing {"connection_id":130477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b58"} 
[2026-07-13 17:30:01] local.INFO: GPS Element Parsed {"raw_longitude":763244800,"raw_latitude":98609928,"longitude_deg":76.32448,"latitude_deg":9.8609928,"altitude":7,"angle":157,"satellites":41,"speed":26,"hex_longitude":"2d7e3100","hex_latitude":"05e0ab08","is_valid_coordinates":true} 
[2026-07-13 17:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689655552001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105919193509003264,"note":"Value kept but may cause issues"} 
[2026-07-13 17:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092204722952013824,"note":"Value kept but may cause issues"} 
[2026-07-13 17:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783943969000,"timestamp_ms":1783943969000,"timestamp_seconds":1783943969,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b58b8e8"} 
[2026-07-13 17:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-13 17:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:30:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":130477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":130477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":130477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689655552001,"66":13352,"60":206,"85":15104,"24":26,"16":105919193509003264,"45":9092204722952013824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-13 17:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689655552001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:30:01] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-13 17:30:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105919193509003264,"km_value":105919193509003.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092204722952013824,"description":"Unknown IO ID 45"} 
[2026-07-13 17:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689655552001,"power":13352,"unknown_60":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9092204722952013824}} 
[2026-07-13 17:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":130477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480944,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:30:02] local.INFO: GPS data processed {"connection_id":130477,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:30:02] local.INFO: Acknowledgment sent {"connection_id":130477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:30:15] local.INFO: TCP Data received {"connection_id":130700,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b582090012d7f914005afd938000a011b26..."} 
[2026-07-13 17:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b582090012d7f914005afd938000a011b26..."} 
[2026-07-13 17:30:15] local.INFO: Processing buffer {"connection_id":130700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b582090012d7f914005afd938000a011b26..."} 
[2026-07-13 17:30:15] local.INFO: Packet analysis {"connection_id":130700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b58"} 
[2026-07-13 17:30:15] local.INFO: Extracted packet for processing {"connection_id":130700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b58"} 
[2026-07-13 17:30:15] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689569024001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783943930000,"timestamp_ms":1783943930000,"timestamp_seconds":1783943930,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b582090"} 
[2026-07-13 17:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 17:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689569024001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689569024001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:30:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:30:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689569024001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":130700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:30:15] local.INFO: GPS data processed {"connection_id":130700,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:30:15] local.INFO: Acknowledgment sent {"connection_id":130700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:30:23] local.INFO: TCP Data received {"connection_id":132843,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b56ebf8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b56ebf8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:30:23] local.INFO: Processing buffer {"connection_id":132843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b56ebf8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:30:23] local.INFO: Packet analysis {"connection_id":132843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b56"} 
[2026-07-13 17:30:23] local.INFO: Extracted packet for processing {"connection_id":132843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b56"} 
[2026-07-13 17:30:23] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689548800001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:30:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783943851000,"timestamp_ms":1783943851000,"timestamp_seconds":1783943851,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b56ebf8"} 
[2026-07-13 17:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:30:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":132843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":132843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":132843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689548800001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689548800001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:30:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:30:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:30:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689548800001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":132843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480946,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:30:23] local.INFO: GPS data processed {"connection_id":132843,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:30:23] local.INFO: Acknowledgment sent {"connection_id":132843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:30:34] local.INFO: TCP Data received {"connection_id":130477,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b58c0b8012d7e32c005e0a668000700a92e..."} 
[2026-07-13 17:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b58c0b8012d7e32c005e0a668000700a92e..."} 
[2026-07-13 17:30:34] local.INFO: Processing buffer {"connection_id":130477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b58c0b8012d7e32c005e0a668000700a92e..."} 
[2026-07-13 17:30:34] local.INFO: Packet analysis {"connection_id":130477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b58"} 
[2026-07-13 17:30:34] local.INFO: Extracted packet for processing {"connection_id":130477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b58"} 
[2026-07-13 17:30:34] local.INFO: GPS Element Parsed {"raw_longitude":763245248,"raw_latitude":98608744,"longitude_deg":76.3245248,"latitude_deg":9.8608744,"altitude":7,"angle":169,"satellites":46,"speed":26,"hex_longitude":"2d7e32c0","hex_latitude":"05e0a668","is_valid_coordinates":true} 
[2026-07-13 17:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689656064001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105919257933512704,"note":"Value kept but may cause issues"} 
[2026-07-13 17:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093049147881883648,"note":"Value kept but may cause issues"} 
[2026-07-13 17:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783943971000,"timestamp_ms":1783943971000,"timestamp_seconds":1783943971,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b58c0b8"} 
[2026-07-13 17:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:30: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-07-13 17: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-13 17:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":130477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":130477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":130477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689656064001,"66":13189,"60":206,"85":15104,"24":26,"16":105919257933512704,"45":9093049147881883648},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-13 17:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689656064001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:30:34] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-13 17:30:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105919257933512704,"km_value":105919257933512.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093049147881883648,"description":"Unknown IO ID 45"} 
[2026-07-13 17:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689656064001,"power":13189,"unknown_60":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9093049147881883648}} 
[2026-07-13 17:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":130477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480947,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:30:34] local.INFO: GPS data processed {"connection_id":130477,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:30:34] local.INFO: Acknowledgment sent {"connection_id":130477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:30:39] local.INFO: TCP Data received {"connection_id":130478,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:30:39] local.INFO: Processing buffer {"connection_id":130478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:30:39] local.INFO: IMEI packet received {"connection_id":130478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":130478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:30:45] local.INFO: TCP Data received {"connection_id":132844,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132844,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:30:45] local.INFO: Processing buffer {"connection_id":132844,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:30:45] local.INFO: IMEI packet received {"connection_id":132844,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":132844,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:30:48] local.INFO: TCP Data received {"connection_id":130478,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:30:48] local.INFO: Processing buffer {"connection_id":130478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:30:48] local.INFO: IMEI packet received {"connection_id":130478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":130478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:30:49] local.INFO: TCP Data received {"connection_id":130478,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b582090012d7f914005afd938000a011b26..."} 
[2026-07-13 17:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b582090012d7f914005afd938000a011b26..."} 
[2026-07-13 17:30:49] local.INFO: Processing buffer {"connection_id":130478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b582090012d7f914005afd938000a011b26..."} 
[2026-07-13 17:30:49] local.INFO: Packet analysis {"connection_id":130478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b58"} 
[2026-07-13 17:30:49] local.INFO: Extracted packet for processing {"connection_id":130478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b58"} 
[2026-07-13 17:30:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689569024001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783943930000,"timestamp_ms":1783943930000,"timestamp_seconds":1783943930,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b582090"} 
[2026-07-13 17:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 17:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17: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-07-13 17:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689569024001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689569024001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:30:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:30:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689569024001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":130478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:30:49] local.INFO: GPS data processed {"connection_id":130478,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:30:49] local.INFO: Acknowledgment sent {"connection_id":130478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:30:50] local.INFO: TCP Data received {"connection_id":132844,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132844,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:30:50] local.INFO: Processing buffer {"connection_id":132844,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:30:50] local.INFO: IMEI packet received {"connection_id":132844,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":132844,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:30:51] local.INFO: TCP Data received {"connection_id":132844,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b56ebf8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b56ebf8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:30:51] local.INFO: Processing buffer {"connection_id":132844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b56ebf8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:30:51] local.INFO: Packet analysis {"connection_id":132844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b56"} 
[2026-07-13 17:30:51] local.INFO: Extracted packet for processing {"connection_id":132844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b56"} 
[2026-07-13 17:30:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689548800001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:30:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783943851000,"timestamp_ms":1783943851000,"timestamp_seconds":1783943851,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b56ebf8"} 
[2026-07-13 17:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132844,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132844,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689548800001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689548800001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:30:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:30:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:30:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689548800001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":132844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480949,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:30:51] local.INFO: GPS data processed {"connection_id":132844,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:30:51] local.INFO: Acknowledgment sent {"connection_id":132844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:30:58] local.INFO: TCP Data received {"connection_id":130701,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:30:58] local.INFO: Processing buffer {"connection_id":130701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:30:58] local.INFO: IMEI packet received {"connection_id":130701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":130701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:30:59] local.INFO: TCP Data received {"connection_id":130701,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:30:59] local.INFO: Processing buffer {"connection_id":130701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:30:59] local.INFO: IMEI packet received {"connection_id":130701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":130701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:31:03] local.INFO: TCP Data received {"connection_id":130701,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:31:03] local.INFO: Processing buffer {"connection_id":130701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:31:03] local.INFO: IMEI packet received {"connection_id":130701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":130701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:31:04] local.INFO: TCP Data received {"connection_id":130701,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b58ebb0012d7e394005e08358000700a32c..."} 
[2026-07-13 17:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b58ebb0012d7e394005e08358000700a32c..."} 
[2026-07-13 17:31:04] local.INFO: Processing buffer {"connection_id":130701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b58ebb0012d7e394005e08358000700a32c..."} 
[2026-07-13 17:31:04] local.INFO: Packet analysis {"connection_id":130701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b58"} 
[2026-07-13 17:31:04] local.INFO: Extracted packet for processing {"connection_id":130701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b58"} 
[2026-07-13 17:31:04] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":98599768,"longitude_deg":76.3246912,"latitude_deg":9.8599768,"altitude":7,"angle":163,"satellites":44,"speed":42,"hex_longitude":"2d7e3940","hex_latitude":"05e08358","is_valid_coordinates":true} 
[2026-07-13 17:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689656576001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105919700315144192,"note":"Value kept but may cause issues"} 
[2026-07-13 17:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093541729090824192,"note":"Value kept but may cause issues"} 
[2026-07-13 17:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783943982000,"timestamp_ms":1783943982000,"timestamp_seconds":1783943982,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b58ebb0"} 
[2026-07-13 17:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:31: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-07-13 17:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-13 17:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689656576001,"66":13059,"60":206,"85":15104,"24":42,"16":105919700315144192,"45":9093541729090824192},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-13 17:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689656576001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:31:04] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-13 17:31:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105919700315144192,"km_value":105919700315144.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093541729090824192,"description":"Unknown IO ID 45"} 
[2026-07-13 17:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689656576001,"power":13059,"unknown_60":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9093541729090824192}} 
[2026-07-13 17:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":130701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480950,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:31:04] local.INFO: GPS data processed {"connection_id":130701,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:31:04] local.INFO: Acknowledgment sent {"connection_id":130701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:31:23] local.INFO: TCP Data received {"connection_id":132844,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b56ebf8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b56ebf8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:31:23] local.INFO: Processing buffer {"connection_id":132844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b56ebf8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:31:23] local.INFO: Packet analysis {"connection_id":132844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b56"} 
[2026-07-13 17:31:23] local.INFO: Extracted packet for processing {"connection_id":132844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b56"} 
[2026-07-13 17:31:23] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689548800001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:31:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783943851000,"timestamp_ms":1783943851000,"timestamp_seconds":1783943851,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b56ebf8"} 
[2026-07-13 17:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:31:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:31:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:31:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":132844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":132844,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":132844,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689548800001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689548800001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:31:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:31:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:31:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689548800001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":132844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480951,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:31:23] local.INFO: GPS data processed {"connection_id":132844,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:31:23] local.INFO: Acknowledgment sent {"connection_id":132844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:31:38] local.INFO: TCP Data received {"connection_id":130701,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5a33d0012d7e968005df3bc8000200992e..."} 
[2026-07-13 17:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5a33d0012d7e968005df3bc8000200992e..."} 
[2026-07-13 17:31:38] local.INFO: Processing buffer {"connection_id":130701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5a33d0012d7e968005df3bc8000200992e..."} 
[2026-07-13 17:31:38] local.INFO: Packet analysis {"connection_id":130701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b5a"} 
[2026-07-13 17:31:38] local.INFO: Extracted packet for processing {"connection_id":130701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b5a"} 
[2026-07-13 17:31:38] local.INFO: GPS Element Parsed {"raw_longitude":763270784,"raw_latitude":98515912,"longitude_deg":76.3270784,"latitude_deg":9.8515912,"altitude":2,"angle":153,"satellites":46,"speed":38,"hex_longitude":"2d7e9680","hex_latitude":"05df3bc8","is_valid_coordinates":true} 
[2026-07-13 17:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689678592001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105923943742832640,"note":"Value kept but may cause issues"} 
[2026-07-13 17:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9118030052043186176,"note":"Value kept but may cause issues"} 
[2026-07-13 17:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783944066000,"timestamp_ms":1783944066000,"timestamp_seconds":1783944066,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5a33d0"} 
[2026-07-13 17:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17: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-07-13 17: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-13 17:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":130701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":130701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":130701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689678592001,"66":12939,"207":206,"85":15104,"24":38,"16":105923943742832640,"45":9118030052043186176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-13 17:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689678592001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:31:38] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-13 17:31:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105923943742832640,"km_value":105923943742832.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9118030052043186176,"description":"Unknown IO ID 45"} 
[2026-07-13 17:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689678592001,"power":12939,"unknown_207":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9118030052043186176}} 
[2026-07-13 17:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":130701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480952,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:31:38] local.INFO: GPS data processed {"connection_id":130701,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:31:38] local.INFO: Acknowledgment sent {"connection_id":130701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:31:39] local.INFO: TCP Data received {"connection_id":130479,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:31:39] local.INFO: Processing buffer {"connection_id":130479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:31:39] local.INFO: IMEI packet received {"connection_id":130479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":130479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:31:42] local.INFO: TCP Data received {"connection_id":130480,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:31:42] local.INFO: Processing buffer {"connection_id":130480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:31:42] local.INFO: IMEI packet received {"connection_id":130480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":130480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:31:45] local.INFO: TCP Data received {"connection_id":130480,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:31:45] local.INFO: Processing buffer {"connection_id":130480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:31:45] local.INFO: IMEI packet received {"connection_id":130480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":130480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:31:46] local.INFO: TCP Data received {"connection_id":130480,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b56ebf8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b56ebf8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:31:46] local.INFO: Processing buffer {"connection_id":130480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b56ebf8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:31:46] local.INFO: Packet analysis {"connection_id":130480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b56"} 
[2026-07-13 17:31:46] local.INFO: Extracted packet for processing {"connection_id":130480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b56"} 
[2026-07-13 17:31:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689548800001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:31:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783943851000,"timestamp_ms":1783943851000,"timestamp_seconds":1783943851,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b56ebf8"} 
[2026-07-13 17:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689548800001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689548800001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:31:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:31:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:31:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689548800001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":130480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480953,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:31:46] local.INFO: GPS data processed {"connection_id":130480,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:31:46] local.INFO: Acknowledgment sent {"connection_id":130480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:31:55] local.INFO: TCP Data received {"connection_id":130479,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:31:55] local.INFO: Processing buffer {"connection_id":130479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:31:55] local.INFO: IMEI packet received {"connection_id":130479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":130479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:31:58] local.INFO: TCP Data received {"connection_id":130481,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:31:58] local.INFO: Processing buffer {"connection_id":130481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:31:58] local.INFO: IMEI packet received {"connection_id":130481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":130481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:32:01] local.INFO: TCP Data received {"connection_id":130481,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:32:01] local.INFO: Processing buffer {"connection_id":130481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:32:01] local.INFO: IMEI packet received {"connection_id":130481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":130481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:32:02] local.INFO: TCP Data received {"connection_id":130481,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5a6e68012d7ea64005df1b30000800972f..."} 
[2026-07-13 17:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5a6e68012d7ea64005df1b30000800972f..."} 
[2026-07-13 17:32:02] local.INFO: Processing buffer {"connection_id":130481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5a6e68012d7ea64005df1b30000800972f..."} 
[2026-07-13 17:32:02] local.INFO: Packet analysis {"connection_id":130481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b5a"} 
[2026-07-13 17:32:02] local.INFO: Extracted packet for processing {"connection_id":130481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b5a"} 
[2026-07-13 17:32:02] local.INFO: GPS Element Parsed {"raw_longitude":763274816,"raw_latitude":98507568,"longitude_deg":76.3274816,"latitude_deg":9.8507568,"altitude":8,"angle":151,"satellites":47,"speed":20,"hex_longitude":"2d7ea640","hex_latitude":"05df1b30","is_valid_coordinates":true} 
[2026-07-13 17:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689680896001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105924394714398720,"note":"Value kept but may cause issues"} 
[2026-07-13 17:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121618857993947136,"note":"Value kept but may cause issues"} 
[2026-07-13 17:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783944081000,"timestamp_ms":1783944081000,"timestamp_seconds":1783944081,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5a6e68"} 
[2026-07-13 17:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:32: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-07-13 17: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":139,"data_length":795,"current_offset":136} 
[2026-07-13 17:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:32:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":130481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":130481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":130481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689680896001,"66":13102,"207":206,"85":15104,"24":20,"16":105924394714398720,"45":9121618857993947136},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-13 17:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689680896001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:32:02] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-13 17:32:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105924394714398720,"km_value":105924394714398.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121618857993947136,"description":"Unknown IO ID 45"} 
[2026-07-13 17:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689680896001,"power":13102,"unknown_207":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9121618857993947136}} 
[2026-07-13 17:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":130481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480954,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:32:02] local.INFO: GPS data processed {"connection_id":130481,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:32:02] local.INFO: Acknowledgment sent {"connection_id":130481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:32:03] local.INFO: TCP Data received {"connection_id":130479,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b582090012d7f914005afd938000a011b26..."} 
[2026-07-13 17:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b582090012d7f914005afd938000a011b26..."} 
[2026-07-13 17:32:03] local.INFO: Processing buffer {"connection_id":130479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b582090012d7f914005afd938000a011b26..."} 
[2026-07-13 17:32:03] local.INFO: Packet analysis {"connection_id":130479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b58"} 
[2026-07-13 17:32:03] local.INFO: Extracted packet for processing {"connection_id":130479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b58"} 
[2026-07-13 17:32:03] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689569024001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783943930000,"timestamp_ms":1783943930000,"timestamp_seconds":1783943930,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b582090"} 
[2026-07-13 17:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 17:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:32:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":130479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":130479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":130479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689569024001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689569024001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:32:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:32:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689569024001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":130479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:32:03] local.INFO: GPS data processed {"connection_id":130479,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:32:03] local.INFO: Acknowledgment sent {"connection_id":130479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:32:04] local.INFO: TCP Data received {"connection_id":130479,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b582090012d7f914005afd938000a011b26..."} 
[2026-07-13 17:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b582090012d7f914005afd938000a011b26..."} 
[2026-07-13 17:32:04] local.INFO: Processing buffer {"connection_id":130479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b582090012d7f914005afd938000a011b26..."} 
[2026-07-13 17:32:04] local.INFO: Packet analysis {"connection_id":130479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b58"} 
[2026-07-13 17:32:04] local.INFO: Extracted packet for processing {"connection_id":130479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b58"} 
[2026-07-13 17:32:04] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689569024001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783943930000,"timestamp_ms":1783943930000,"timestamp_seconds":1783943930,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b582090"} 
[2026-07-13 17:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 17:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689569024001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689569024001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:32:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:32:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689569024001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":130479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:32:04] local.INFO: GPS data processed {"connection_id":130479,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:32:04] local.INFO: Acknowledgment sent {"connection_id":130479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:32:17] local.INFO: TCP Data received {"connection_id":130480,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b56ebf8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b56ebf8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:32:17] local.INFO: Processing buffer {"connection_id":130480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b56ebf8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:32:17] local.INFO: Packet analysis {"connection_id":130480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b56"} 
[2026-07-13 17:32:17] local.INFO: Extracted packet for processing {"connection_id":130480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b56"} 
[2026-07-13 17:32:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17: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-07-13 17:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689548800001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:32:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783943851000,"timestamp_ms":1783943851000,"timestamp_seconds":1783943851,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b56ebf8"} 
[2026-07-13 17:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:32: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-07-13 17: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:32:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17: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-07-13 17:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689548800001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689548800001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:32:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:32:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:32:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689548800001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":130480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480957,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:32:18] local.INFO: GPS data processed {"connection_id":130480,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:32:18] local.INFO: Acknowledgment sent {"connection_id":130480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:32:33] local.INFO: TCP Data received {"connection_id":130481,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5a85d8012d7ead8005df11680008008b30..."} 
[2026-07-13 17:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5a85d8012d7ead8005df11680008008b30..."} 
[2026-07-13 17:32:33] local.INFO: Processing buffer {"connection_id":130481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5a85d8012d7ead8005df11680008008b30..."} 
[2026-07-13 17:32:33] local.INFO: Packet analysis {"connection_id":130481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b5a"} 
[2026-07-13 17:32:33] local.INFO: Extracted packet for processing {"connection_id":130481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b5a"} 
[2026-07-13 17:32:33] local.INFO: GPS Element Parsed {"raw_longitude":763276672,"raw_latitude":98505064,"longitude_deg":76.3276672,"latitude_deg":9.8505064,"altitude":8,"angle":139,"satellites":48,"speed":18,"hex_longitude":"2d7ead80","hex_latitude":"05df1168","is_valid_coordinates":true} 
[2026-07-13 17:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689684736001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105924540743286784,"note":"Value kept but may cause issues"} 
[2026-07-13 17:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126052088875003904,"note":"Value kept but may cause issues"} 
[2026-07-13 17:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783944087000,"timestamp_ms":1783944087000,"timestamp_seconds":1783944087,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5a85d8"} 
[2026-07-13 17:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:32: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-07-13 17:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-13 17:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:32:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":130481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":130481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":130481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689684736001,"66":12939,"207":206,"85":15104,"24":18,"16":105924540743286784,"45":9126052088875003904},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-13 17:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689684736001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:32:33] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-13 17:32:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105924540743286784,"km_value":105924540743286.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126052088875003904,"description":"Unknown IO ID 45"} 
[2026-07-13 17:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689684736001,"power":12939,"unknown_207":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9126052088875003904}} 
[2026-07-13 17:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":130481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480958,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:32:33] local.INFO: GPS data processed {"connection_id":130481,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:32:33] local.INFO: Acknowledgment sent {"connection_id":130481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:32:39] local.INFO: TCP Data received {"connection_id":130482,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130482,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:32:39] local.INFO: Processing buffer {"connection_id":130482,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:32:39] local.INFO: IMEI packet received {"connection_id":130482,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":130482,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:32:44] local.INFO: TCP Data received {"connection_id":131519,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:32:44] local.INFO: Processing buffer {"connection_id":131519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:32:44] local.INFO: IMEI packet received {"connection_id":131519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":131519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:32:45] local.INFO: TCP Data received {"connection_id":130482,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130482,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:32:45] local.INFO: Processing buffer {"connection_id":130482,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:32:45] local.INFO: IMEI packet received {"connection_id":130482,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":130482,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:32:47] local.INFO: TCP Data received {"connection_id":130482,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b56ebf8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b56ebf8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:32:47] local.INFO: Processing buffer {"connection_id":130482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b56ebf8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:32:47] local.INFO: Packet analysis {"connection_id":130482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b56"} 
[2026-07-13 17:32:47] local.INFO: Extracted packet for processing {"connection_id":130482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b56"} 
[2026-07-13 17:32:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689548800001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:32:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783943851000,"timestamp_ms":1783943851000,"timestamp_seconds":1783943851,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b56ebf8"} 
[2026-07-13 17:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130482,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130482,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689548800001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689548800001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:32:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:32:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:32:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689548800001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":130482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480959,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:32:47] local.INFO: GPS data processed {"connection_id":130482,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:32:47] local.INFO: Acknowledgment sent {"connection_id":130482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:32:49] local.INFO: TCP Data received {"connection_id":131519,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:32:49] local.INFO: Processing buffer {"connection_id":131519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:32:49] local.INFO: IMEI packet received {"connection_id":131519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":131519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:32:58] local.INFO: TCP Data received {"connection_id":131519,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b582090012d7f914005afd938000a011b26..."} 
[2026-07-13 17:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b582090012d7f914005afd938000a011b26..."} 
[2026-07-13 17:32:58] local.INFO: Processing buffer {"connection_id":131519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b582090012d7f914005afd938000a011b26..."} 
[2026-07-13 17:32:58] local.INFO: Packet analysis {"connection_id":131519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b58"} 
[2026-07-13 17:32:58] local.INFO: Extracted packet for processing {"connection_id":131519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b58"} 
[2026-07-13 17:32:58] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689569024001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:32:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783943930000,"timestamp_ms":1783943930000,"timestamp_seconds":1783943930,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b582090"} 
[2026-07-13 17:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 17:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:32:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689569024001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689569024001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:32:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:32:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689569024001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":131519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:32:58] local.INFO: GPS data processed {"connection_id":131519,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:32:58] local.INFO: Acknowledgment sent {"connection_id":131519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:32:58] local.INFO: TCP Data received {"connection_id":131520,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131520,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:32:58] local.INFO: Processing buffer {"connection_id":131520,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:32:58] local.INFO: IMEI packet received {"connection_id":131520,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":131520,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:33:02] local.INFO: TCP Data received {"connection_id":131520,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131520,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:33:02] local.INFO: Processing buffer {"connection_id":131520,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:33:02] local.INFO: IMEI packet received {"connection_id":131520,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":131520,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:33:03] local.INFO: TCP Data received {"connection_id":131520,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5ac070012d7ec74005def540000b00942d..."} 
[2026-07-13 17:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5ac070012d7ec74005def540000b00942d..."} 
[2026-07-13 17:33:03] local.INFO: Processing buffer {"connection_id":131520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5ac070012d7ec74005def540000b00942d..."} 
[2026-07-13 17:33:03] local.INFO: Packet analysis {"connection_id":131520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b5a"} 
[2026-07-13 17:33:03] local.INFO: Extracted packet for processing {"connection_id":131520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b5a"} 
[2026-07-13 17:33:03] local.INFO: GPS Element Parsed {"raw_longitude":763283264,"raw_latitude":98497856,"longitude_deg":76.3283264,"latitude_deg":9.8497856,"altitude":11,"angle":148,"satellites":45,"speed":35,"hex_longitude":"2d7ec740","hex_latitude":"05def540","is_valid_coordinates":true} 
[2026-07-13 17:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689686272001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105925013189689344,"note":"Value kept but may cause issues"} 
[2026-07-13 17:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128092782455515136,"note":"Value kept but may cause issues"} 
[2026-07-13 17:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783944102000,"timestamp_ms":1783944102000,"timestamp_seconds":1783944102,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5ac070"} 
[2026-07-13 17:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-13 17:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":131520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":131520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":131520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689686272001,"66":13178,"206":206,"85":15104,"24":35,"16":105925013189689344,"45":9128092782455515136},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-07-13 17:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689686272001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:33:03] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-13 17:33:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105925013189689344,"km_value":105925013189689.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128092782455515136,"description":"Unknown IO ID 45"} 
[2026-07-13 17:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689686272001,"power":13178,"unknown_206":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9128092782455515136}} 
[2026-07-13 17:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":131520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480961,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:33:03] local.INFO: GPS data processed {"connection_id":131520,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:33:03] local.INFO: Acknowledgment sent {"connection_id":131520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:33:22] local.INFO: TCP Data received {"connection_id":130482,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5b83c0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5b83c0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:33:22] local.INFO: Processing buffer {"connection_id":130482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5b83c0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:33:22] local.INFO: Packet analysis {"connection_id":130482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b5b"} 
[2026-07-13 17:33:22] local.INFO: Extracted packet for processing {"connection_id":130482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b5b"} 
[2026-07-13 17:33:22] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689625856001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:33:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783944152000,"timestamp_ms":1783944152000,"timestamp_seconds":1783944152,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5b83c0"} 
[2026-07-13 17:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 17:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:33:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130482,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130482,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689625856001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689625856001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:33:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:33:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:33:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689625856001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":130482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480962,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:33:22] local.INFO: GPS data processed {"connection_id":130482,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:33:22] local.INFO: Acknowledgment sent {"connection_id":130482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:33:34] local.INFO: TCP Data received {"connection_id":131520,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5c1830012d7f3dc005dd9220000000b72e..."} 
[2026-07-13 17:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5c1830012d7f3dc005dd9220000000b72e..."} 
[2026-07-13 17:33:34] local.INFO: Processing buffer {"connection_id":131520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5c1830012d7f3dc005dd9220000000b72e..."} 
[2026-07-13 17:33:34] local.INFO: Packet analysis {"connection_id":131520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b5c"} 
[2026-07-13 17:33:34] local.INFO: Extracted packet for processing {"connection_id":131520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b5c"} 
[2026-07-13 17:33:34] local.INFO: GPS Element Parsed {"raw_longitude":763313600,"raw_latitude":98406944,"longitude_deg":76.33136,"latitude_deg":9.8406944,"altitude":0,"angle":183,"satellites":46,"speed":44,"hex_longitude":"2d7f3dc0","hex_latitude":"05dd9220","is_valid_coordinates":true} 
[2026-07-13 17:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689711872001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105929698999009280,"note":"Value kept but may cause issues"} 
[2026-07-13 17:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168554810333419520,"note":"Value kept but may cause issues"} 
[2026-07-13 17:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783944190000,"timestamp_ms":1783944190000,"timestamp_seconds":1783944190,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5c1830"} 
[2026-07-13 17:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:33: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-07-13 17:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 17:33: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-07-13 17:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":131520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":131520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":131520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689711872001,"66":13102,"101":206,"85":15104,"24":44,"16":105929698999009280,"45":9168554810333419520},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,45]} 
[2026-07-13 17:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689711872001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:33:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-13 17:33:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105929698999009280,"km_value":105929698999009.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168554810333419520,"description":"Unknown IO ID 45"} 
[2026-07-13 17:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689711872001,"power":13102,"unknown_101":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9168554810333419520}} 
[2026-07-13 17:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":131520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480963,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:33:34] local.INFO: GPS data processed {"connection_id":131520,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:33:34] local.INFO: Acknowledgment sent {"connection_id":131520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:33:51] local.INFO: TCP Data received {"connection_id":130702,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:33:51] local.INFO: Processing buffer {"connection_id":130702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:33:51] local.INFO: IMEI packet received {"connection_id":130702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":130702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:33:54] local.INFO: TCP Data received {"connection_id":130702,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:33:54] local.INFO: Processing buffer {"connection_id":130702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:33:54] local.INFO: IMEI packet received {"connection_id":130702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":130702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:33:56] local.INFO: TCP Data received {"connection_id":130702,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5b83c0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5b83c0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:33:56] local.INFO: Processing buffer {"connection_id":130702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5b83c0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:33:56] local.INFO: Packet analysis {"connection_id":130702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b5b"} 
[2026-07-13 17:33:56] local.INFO: Extracted packet for processing {"connection_id":130702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b5b"} 
[2026-07-13 17:33:56] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689625856001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:33:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783944152000,"timestamp_ms":1783944152000,"timestamp_seconds":1783944152,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5b83c0"} 
[2026-07-13 17:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 17:33:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:33:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":130702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":130702,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":130702,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689625856001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689625856001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:33:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:33:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:33:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689625856001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":130702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480964,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:33:56] local.INFO: GPS data processed {"connection_id":130702,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:33:56] local.INFO: Acknowledgment sent {"connection_id":130702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:33:58] local.INFO: TCP Data received {"connection_id":131521,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131521,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:33:58] local.INFO: Processing buffer {"connection_id":131521,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:33:58] local.INFO: IMEI packet received {"connection_id":131521,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":131521,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:33:59] local.INFO: TCP Data received {"connection_id":131521,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131521,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:33:59] local.INFO: Processing buffer {"connection_id":131521,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:33:59] local.INFO: IMEI packet received {"connection_id":131521,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":131521,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:34:03] local.INFO: TCP Data received {"connection_id":131521,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131521,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:34:03] local.INFO: Processing buffer {"connection_id":131521,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:34:03] local.INFO: IMEI packet received {"connection_id":131521,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":131521,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:34:04] local.INFO: TCP Data received {"connection_id":130483,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:34:04] local.INFO: Processing buffer {"connection_id":130483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:34:04] local.INFO: IMEI packet received {"connection_id":130483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":130483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:34:05] local.INFO: TCP Data received {"connection_id":130483,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:34:05] local.INFO: Processing buffer {"connection_id":130483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:34:05] local.INFO: IMEI packet received {"connection_id":130483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":130483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:34:09] local.INFO: TCP Data received {"connection_id":130483,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:34:09] local.INFO: Processing buffer {"connection_id":130483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:34:09] local.INFO: IMEI packet received {"connection_id":130483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":130483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:34:13] local.INFO: TCP Data received {"connection_id":130483,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b582090012d7f914005afd938000a011b26..."} 
[2026-07-13 17:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b582090012d7f914005afd938000a011b26..."} 
[2026-07-13 17:34:13] local.INFO: Processing buffer {"connection_id":130483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b582090012d7f914005afd938000a011b26..."} 
[2026-07-13 17:34:13] local.INFO: Packet analysis {"connection_id":130483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b58"} 
[2026-07-13 17:34:13] local.INFO: Extracted packet for processing {"connection_id":130483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b58"} 
[2026-07-13 17:34:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689569024001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783943930000,"timestamp_ms":1783943930000,"timestamp_seconds":1783943930,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b582090"} 
[2026-07-13 17:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 17:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689569024001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689569024001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:34:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:34:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689569024001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":130483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:34:13] local.INFO: GPS data processed {"connection_id":130483,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:34:13] local.INFO: Acknowledgment sent {"connection_id":130483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:34:22] local.INFO: TCP Data received {"connection_id":131521,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5c2bb8012d7f3e0005dd7cc0000000ab2f..."} 
[2026-07-13 17:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5c2bb8012d7f3e0005dd7cc0000000ab2f..."} 
[2026-07-13 17:34:22] local.INFO: Processing buffer {"connection_id":131521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5c2bb8012d7f3e0005dd7cc0000000ab2f..."} 
[2026-07-13 17:34:22] local.INFO: Packet analysis {"connection_id":131521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b5c"} 
[2026-07-13 17:34:22] local.INFO: Extracted packet for processing {"connection_id":131521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b5c"} 
[2026-07-13 17:34:22] local.INFO: GPS Element Parsed {"raw_longitude":763313664,"raw_latitude":98401472,"longitude_deg":76.3313664,"latitude_deg":9.8401472,"altitude":0,"angle":171,"satellites":47,"speed":43,"hex_longitude":"2d7f3e00","hex_latitude":"05dd7cc0","is_valid_coordinates":true} 
[2026-07-13 17:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689712640001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105929965286981632,"note":"Value kept but may cause issues"} 
[2026-07-13 17:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168695547820908544,"note":"Value kept but may cause issues"} 
[2026-07-13 17:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783944195000,"timestamp_ms":1783944195000,"timestamp_seconds":1783944195,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5c2bb8"} 
[2026-07-13 17:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-13 17:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":131521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":131521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":131521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689712640001,"66":13222,"101":206,"85":15104,"24":43,"16":105929965286981632,"45":9168695547820908544},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,45]} 
[2026-07-13 17:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689712640001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:34:22] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-13 17:34:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105929965286981632,"km_value":105929965286981.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168695547820908544,"description":"Unknown IO ID 45"} 
[2026-07-13 17:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689712640001,"power":13222,"unknown_101":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9168695547820908544}} 
[2026-07-13 17:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":131521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480966,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:34:22] local.INFO: GPS data processed {"connection_id":131521,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:34:22] local.INFO: Acknowledgment sent {"connection_id":131521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:34:40] local.INFO: TCP Data received {"connection_id":130703,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:34:40] local.INFO: Processing buffer {"connection_id":130703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:34:40] local.INFO: IMEI packet received {"connection_id":130703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":130703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:34:44] local.INFO: TCP Data received {"connection_id":130703,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:34:44] local.INFO: Processing buffer {"connection_id":130703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:34:44] local.INFO: IMEI packet received {"connection_id":130703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":130703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:34:45] local.INFO: TCP Data received {"connection_id":131522,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:34:45] local.INFO: Processing buffer {"connection_id":131522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:34:45] local.INFO: IMEI packet received {"connection_id":131522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":131522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:34:50] local.INFO: TCP Data received {"connection_id":131522,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:34:50] local.INFO: Processing buffer {"connection_id":131522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:34:50] local.INFO: IMEI packet received {"connection_id":131522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":131522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:34:51] local.INFO: TCP Data received {"connection_id":131522,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5b83c0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5b83c0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:34:51] local.INFO: Processing buffer {"connection_id":131522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5b83c0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:34:51] local.INFO: Packet analysis {"connection_id":131522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b5b"} 
[2026-07-13 17:34:51] local.INFO: Extracted packet for processing {"connection_id":131522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b5b"} 
[2026-07-13 17:34:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689625856001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:34:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783944152000,"timestamp_ms":1783944152000,"timestamp_seconds":1783944152,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5b83c0"} 
[2026-07-13 17:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 17:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":131522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":131522,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":131522,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689625856001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689625856001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:34:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:34:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:34:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689625856001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":131522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480967,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:34:51] local.INFO: GPS data processed {"connection_id":131522,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:34:51] local.INFO: Acknowledgment sent {"connection_id":131522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:34:55] local.INFO: TCP Data received {"connection_id":131522,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5b83c0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5b83c0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:34:55] local.INFO: Processing buffer {"connection_id":131522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5b83c0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:34:55] local.INFO: Packet analysis {"connection_id":131522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b5b"} 
[2026-07-13 17:34:55] local.INFO: Extracted packet for processing {"connection_id":131522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b5b"} 
[2026-07-13 17:34:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689625856001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:34:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783944152000,"timestamp_ms":1783944152000,"timestamp_seconds":1783944152,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5b83c0"} 
[2026-07-13 17:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 17:34:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":131522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":131522,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":131522,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689625856001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689625856001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:34:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:34:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:34:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689625856001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":131522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480968,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:34:55] local.INFO: GPS data processed {"connection_id":131522,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:34:55] local.INFO: Acknowledgment sent {"connection_id":131522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:34:58] local.INFO: TCP Data received {"connection_id":132845,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:34:58] local.INFO: Processing buffer {"connection_id":132845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:34:58] local.INFO: IMEI packet received {"connection_id":132845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":132845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:34:59] local.INFO: TCP Data received {"connection_id":132845,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:34:59] local.INFO: Processing buffer {"connection_id":132845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:34:59] local.INFO: IMEI packet received {"connection_id":132845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":132845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:35:03] local.INFO: TCP Data received {"connection_id":132845,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:35:03] local.INFO: Processing buffer {"connection_id":132845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:35:03] local.INFO: IMEI packet received {"connection_id":132845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":132845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:35:04] local.INFO: TCP Data received {"connection_id":132845,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5d6050012d7fa3c005dc7fb0000400702c..."} 
[2026-07-13 17:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5d6050012d7fa3c005dc7fb0000400702c..."} 
[2026-07-13 17:35:04] local.INFO: Processing buffer {"connection_id":132845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5d6050012d7fa3c005dc7fb0000400702c..."} 
[2026-07-13 17:35:04] local.INFO: Packet analysis {"connection_id":132845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b5d"} 
[2026-07-13 17:35:04] local.INFO: Extracted packet for processing {"connection_id":132845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b5d"} 
[2026-07-13 17:35:04] local.INFO: GPS Element Parsed {"raw_longitude":763339712,"raw_latitude":98336688,"longitude_deg":76.3339712,"latitude_deg":9.8336688,"altitude":4,"angle":112,"satellites":44,"speed":17,"hex_longitude":"2d7fa3c0","hex_latitude":"05dc7fb0","is_valid_coordinates":true} 
[2026-07-13 17:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689733632001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105933405555785728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196561570497417216,"note":"Value kept but may cause issues"} 
[2026-07-13 17:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783944274000,"timestamp_ms":1783944274000,"timestamp_seconds":1783944274,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5d6050"} 
[2026-07-13 17:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-13 17:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2449958197457323008,"note":"Value kept but may cause issues"} 
[2026-07-13 17:35:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 17:35:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-13 17:35:04] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3361734656,"note":"Value kept but may cause issues"} 
[2026-07-13 17:35:04] local.WARNING: Large IO value detected {"io_id":91,"raw_value":6683385832541220608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:35:04] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2147867853,"note":"Value kept but may cause issues"} 
[2026-07-13 17:35:04] local.WARNING: Large IO value detected {"io_id":51,"raw_value":216398248284311125,"note":"Value kept but may cause issues"} 
[2026-07-13 17:35:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2524839337187566548,"note":"Value kept but may cause issues"} 
[2026-07-13 17:35:04] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755558354977009,"note":"Value kept but may cause issues"} 
[2026-07-13 17:35:04] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,155,85,24,241,157,16,89,159,49,45,64,153,3,40,10,66,128,186,2,43,111,1,240,220,227,91,4,113,205,38,239,123,224,44,51,120,5,37,59,139],"length":535,"final_offset":665,"validated_count":41,"validation_warnings":[]} 
[2026-07-13 17:35:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288380098712961024,"timestamp_seconds":288380098712961.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 17:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689733632001,"66":12526,"155":206,"85":15104,"24":17,"16":105933405555785728,"45":9196561570497417216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-13 17:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689733632001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:35:04] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 17:35:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105933405555785728,"km_value":105933405555785.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196561570497417216,"description":"Unknown IO ID 45"} 
[2026-07-13 17:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689733632001,"power":12526,"unknown_155":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9196561570497417216}} 
[2026-07-13 17:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":132845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480969,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:35:04] local.INFO: GPS data processed {"connection_id":132845,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:35:04] local.INFO: Acknowledgment sent {"connection_id":132845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:35:13] local.INFO: TCP Data received {"connection_id":130703,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5cb858012d7f914005afd938000a011b20..."} 
[2026-07-13 17:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5cb858012d7f914005afd938000a011b20..."} 
[2026-07-13 17:35:13] local.INFO: Processing buffer {"connection_id":130703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5cb858012d7f914005afd938000a011b20..."} 
[2026-07-13 17:35:13] local.INFO: Packet analysis {"connection_id":130703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b5c"} 
[2026-07-13 17:35:13] local.INFO: Extracted packet for processing {"connection_id":130703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b5c"} 
[2026-07-13 17:35:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689646080001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783944231000,"timestamp_ms":1783944231000,"timestamp_seconds":1783944231,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5cb858"} 
[2026-07-13 17:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689646080001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689646080001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:35:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:35:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689646080001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":130703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:35:14] local.INFO: GPS data processed {"connection_id":130703,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:35:14] local.INFO: Acknowledgment sent {"connection_id":130703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:35:34] local.INFO: TCP Data received {"connection_id":132846,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:35:34] local.INFO: Processing buffer {"connection_id":132846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:35:34] local.INFO: IMEI packet received {"connection_id":132846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":132846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:35:35] local.INFO: TCP Data received {"connection_id":132845,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5d6820012d7fa6c005dc7f10000500612d..."} 
[2026-07-13 17:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5d6820012d7fa6c005dc7f10000500612d..."} 
[2026-07-13 17:35:35] local.INFO: Processing buffer {"connection_id":132845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5d6820012d7fa6c005dc7f10000500612d..."} 
[2026-07-13 17:35:35] local.INFO: Packet analysis {"connection_id":132845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b5d"} 
[2026-07-13 17:35:35] local.INFO: Extracted packet for processing {"connection_id":132845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b5d"} 
[2026-07-13 17:35:35] local.INFO: GPS Element Parsed {"raw_longitude":763340480,"raw_latitude":98336528,"longitude_deg":76.334048,"latitude_deg":9.8336528,"altitude":5,"angle":97,"satellites":45,"speed":11,"hex_longitude":"2d7fa6c0","hex_latitude":"05dc7f10","is_valid_coordinates":true} 
[2026-07-13 17:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689734144001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105933444210491392,"note":"Value kept but may cause issues"} 
[2026-07-13 17:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197405995427409920,"note":"Value kept but may cause issues"} 
[2026-07-13 17:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783944276000,"timestamp_ms":1783944276000,"timestamp_seconds":1783944276,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5d6820"} 
[2026-07-13 17:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:35: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-07-13 17: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":238,"data_length":795,"current_offset":136} 
[2026-07-13 17:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689734144001,"66":12928,"155":206,"85":15104,"24":11,"16":105933444210491392,"45":9197405995427409920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-13 17:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689734144001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:35:35] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 17:35:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105933444210491392,"km_value":105933444210491.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197405995427409920,"description":"Unknown IO ID 45"} 
[2026-07-13 17:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689734144001,"power":12928,"unknown_155":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9197405995427409920}} 
[2026-07-13 17:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":132845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480971,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:35:35] local.INFO: GPS data processed {"connection_id":132845,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:35:35] local.INFO: Acknowledgment sent {"connection_id":132845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:35:39] local.INFO: TCP Data received {"connection_id":132846,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:35:39] local.INFO: Processing buffer {"connection_id":132846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:35:39] local.INFO: IMEI packet received {"connection_id":132846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":132846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:35:39] local.INFO: TCP Data received {"connection_id":130484,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130484,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:35:39] local.INFO: Processing buffer {"connection_id":130484,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:35:39] local.INFO: IMEI packet received {"connection_id":130484,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":130484,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:35:40] local.INFO: TCP Data received {"connection_id":132846,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5cb858012d7f914005afd938000a011b20..."} 
[2026-07-13 17:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5cb858012d7f914005afd938000a011b20..."} 
[2026-07-13 17:35:40] local.INFO: Processing buffer {"connection_id":132846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5cb858012d7f914005afd938000a011b20..."} 
[2026-07-13 17:35:40] local.INFO: Packet analysis {"connection_id":132846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b5c"} 
[2026-07-13 17:35:40] local.INFO: Extracted packet for processing {"connection_id":132846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b5c"} 
[2026-07-13 17:35:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689646080001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783944231000,"timestamp_ms":1783944231000,"timestamp_seconds":1783944231,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5cb858"} 
[2026-07-13 17:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689646080001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689646080001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:35:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:35:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689646080001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":132846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:35:40] local.INFO: GPS data processed {"connection_id":132846,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:35:40] local.INFO: Acknowledgment sent {"connection_id":132846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:35:45] local.INFO: TCP Data received {"connection_id":130484,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130484,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:35:45] local.INFO: Processing buffer {"connection_id":130484,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:35:45] local.INFO: IMEI packet received {"connection_id":130484,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":130484,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:35:46] local.INFO: TCP Data received {"connection_id":130484,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5b83c0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5b83c0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:35:46] local.INFO: Processing buffer {"connection_id":130484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5b83c0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:35:46] local.INFO: Packet analysis {"connection_id":130484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b5b"} 
[2026-07-13 17:35:46] local.INFO: Extracted packet for processing {"connection_id":130484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b5b"} 
[2026-07-13 17:35:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689625856001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:35:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783944152000,"timestamp_ms":1783944152000,"timestamp_seconds":1783944152,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5b83c0"} 
[2026-07-13 17:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 17:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689625856001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689625856001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:35:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:35:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:35:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689625856001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":130484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480973,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:35:46] local.INFO: GPS data processed {"connection_id":130484,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:35:46] local.INFO: Acknowledgment sent {"connection_id":130484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:35:59] local.INFO: TCP Data received {"connection_id":130485,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:35:59] local.INFO: Processing buffer {"connection_id":130485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:35:59] local.INFO: IMEI packet received {"connection_id":130485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":130485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:36:03] local.INFO: TCP Data received {"connection_id":130485,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:36:03] local.INFO: Processing buffer {"connection_id":130485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:36:03] local.INFO: IMEI packet received {"connection_id":130485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":130485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:36:08] local.INFO: TCP Data received {"connection_id":130485,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:36:08] local.INFO: Processing buffer {"connection_id":130485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:36:08] local.INFO: IMEI packet received {"connection_id":130485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":130485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:36:08] local.INFO: TCP Data received {"connection_id":130485,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5d6ff0012d7fa8c005dc7ef0000500552d..."} 
[2026-07-13 17:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5d6ff0012d7fa8c005dc7ef0000500552d..."} 
[2026-07-13 17:36:08] local.INFO: Processing buffer {"connection_id":130485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5d6ff0012d7fa8c005dc7ef0000500552d..."} 
[2026-07-13 17:36:08] local.INFO: Packet analysis {"connection_id":130485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b5d"} 
[2026-07-13 17:36:08] local.INFO: Extracted packet for processing {"connection_id":130485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b5d"} 
[2026-07-13 17:36:08] local.INFO: GPS Element Parsed {"raw_longitude":763340992,"raw_latitude":98336496,"longitude_deg":76.3340992,"latitude_deg":9.8336496,"altitude":5,"angle":85,"satellites":45,"speed":9,"hex_longitude":"2d7fa8c0","hex_latitude":"05dc7ef0","is_valid_coordinates":true} 
[2026-07-13 17:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689734656001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105933469980295168,"note":"Value kept but may cause issues"} 
[2026-07-13 17:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198250420357500928,"note":"Value kept but may cause issues"} 
[2026-07-13 17:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783944278000,"timestamp_ms":1783944278000,"timestamp_seconds":1783944278,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5d6ff0"} 
[2026-07-13 17:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-13 17:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689734656001,"66":12472,"155":206,"85":15104,"24":9,"16":105933469980295168,"45":9198250420357500928},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-13 17:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689734656001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:36:08] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 17:36:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105933469980295168,"km_value":105933469980295.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198250420357500928,"description":"Unknown IO ID 45"} 
[2026-07-13 17:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689734656001,"power":12472,"unknown_155":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9198250420357500928}} 
[2026-07-13 17:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":130485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480974,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:36:08] local.INFO: GPS data processed {"connection_id":130485,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:36:08] local.INFO: Acknowledgment sent {"connection_id":130485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:36:11] local.INFO: TCP Data received {"connection_id":132846,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5cb858012d7f914005afd938000a011b20..."} 
[2026-07-13 17:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5cb858012d7f914005afd938000a011b20..."} 
[2026-07-13 17:36:11] local.INFO: Processing buffer {"connection_id":132846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5cb858012d7f914005afd938000a011b20..."} 
[2026-07-13 17:36:11] local.INFO: Packet analysis {"connection_id":132846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b5c"} 
[2026-07-13 17:36:11] local.INFO: Extracted packet for processing {"connection_id":132846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b5c"} 
[2026-07-13 17:36:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689646080001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783944231000,"timestamp_ms":1783944231000,"timestamp_seconds":1783944231,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5cb858"} 
[2026-07-13 17:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689646080001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689646080001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:36:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:36:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689646080001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":132846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:36:11] local.INFO: GPS data processed {"connection_id":132846,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:36:11] local.INFO: Acknowledgment sent {"connection_id":132846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:36:13] local.INFO: TCP Data received {"connection_id":130485,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5d8378012d7fad8005dc7fe80008004a2f..."} 
[2026-07-13 17:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5d8378012d7fad8005dc7fe80008004a2f..."} 
[2026-07-13 17:36:13] local.INFO: Processing buffer {"connection_id":130485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5d8378012d7fad8005dc7fe80008004a2f..."} 
[2026-07-13 17:36:13] local.INFO: Packet analysis {"connection_id":130485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b5d"} 
[2026-07-13 17:36:13] local.INFO: Extracted packet for processing {"connection_id":130485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b5d"} 
[2026-07-13 17:36:13] local.INFO: GPS Element Parsed {"raw_longitude":763342208,"raw_latitude":98336744,"longitude_deg":76.3342208,"latitude_deg":9.8336744,"altitude":8,"angle":74,"satellites":47,"speed":15,"hex_longitude":"2d7fad80","hex_latitude":"05dc7fe8","is_valid_coordinates":true} 
[2026-07-13 17:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689735168001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105933530109837312,"note":"Value kept but may cause issues"} 
[2026-07-13 17:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198813370310914048,"note":"Value kept but may cause issues"} 
[2026-07-13 17:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783944283000,"timestamp_ms":1783944283000,"timestamp_seconds":1783944283,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5d8378"} 
[2026-07-13 17:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17: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":184,"data_length":795,"current_offset":136} 
[2026-07-13 17:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689735168001,"66":12613,"155":206,"85":15104,"24":15,"16":105933530109837312,"45":9198813370310914048},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-13 17:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689735168001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:36:13] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 17:36:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105933530109837312,"km_value":105933530109837.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198813370310914048,"description":"Unknown IO ID 45"} 
[2026-07-13 17:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689735168001,"power":12613,"unknown_155":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9198813370310914048}} 
[2026-07-13 17:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":130485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480976,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:36:13] local.INFO: GPS data processed {"connection_id":130485,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:36:13] local.INFO: Acknowledgment sent {"connection_id":130485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:36:21] local.INFO: TCP Data received {"connection_id":130484,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5b83c0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5b83c0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:36:21] local.INFO: Processing buffer {"connection_id":130484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5b83c0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:36:21] local.INFO: Packet analysis {"connection_id":130484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b5b"} 
[2026-07-13 17:36:21] local.INFO: Extracted packet for processing {"connection_id":130484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b5b"} 
[2026-07-13 17:36:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689625856001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:36:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783944152000,"timestamp_ms":1783944152000,"timestamp_seconds":1783944152,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5b83c0"} 
[2026-07-13 17:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 17:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":130484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":130484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":130484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689625856001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689625856001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:36:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:36:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:36:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689625856001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":130484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480977,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:36:21] local.INFO: GPS data processed {"connection_id":130484,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:36:21] local.INFO: Acknowledgment sent {"connection_id":130484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:36:39] local.INFO: TCP Data received {"connection_id":130704,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:36:39] local.INFO: Processing buffer {"connection_id":130704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:36:39] local.INFO: IMEI packet received {"connection_id":130704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":130704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:36:40] local.INFO: TCP Data received {"connection_id":130486,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:36:40] local.INFO: Processing buffer {"connection_id":130486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:36:40] local.INFO: IMEI packet received {"connection_id":130486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":130486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:36:45] local.INFO: TCP Data received {"connection_id":130704,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:36:45] local.INFO: Processing buffer {"connection_id":130704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:36:45] local.INFO: IMEI packet received {"connection_id":130704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":130704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:36:46] local.INFO: TCP Data received {"connection_id":130486,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:36:46] local.INFO: Processing buffer {"connection_id":130486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:36:46] local.INFO: IMEI packet received {"connection_id":130486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":130486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:36:47] local.INFO: TCP Data received {"connection_id":130704,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5cb858012d7f914005afd938000a011b20..."} 
[2026-07-13 17:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5cb858012d7f914005afd938000a011b20..."} 
[2026-07-13 17:36:47] local.INFO: Processing buffer {"connection_id":130704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5cb858012d7f914005afd938000a011b20..."} 
[2026-07-13 17:36:47] local.INFO: Packet analysis {"connection_id":130704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b5c"} 
[2026-07-13 17:36:47] local.INFO: Extracted packet for processing {"connection_id":130704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b5c"} 
[2026-07-13 17:36:47] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689646080001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783944231000,"timestamp_ms":1783944231000,"timestamp_seconds":1783944231,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5cb858"} 
[2026-07-13 17:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689646080001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689646080001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:36:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:36:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689646080001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":130704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:36:47] local.INFO: GPS data processed {"connection_id":130704,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:36:47] local.INFO: Acknowledgment sent {"connection_id":130704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:36:48] local.INFO: TCP Data received {"connection_id":130486,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5b83c0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5b83c0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:36:48] local.INFO: Processing buffer {"connection_id":130486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5b83c0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:36:48] local.INFO: Packet analysis {"connection_id":130486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b5b"} 
[2026-07-13 17:36:48] local.INFO: Extracted packet for processing {"connection_id":130486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b5b"} 
[2026-07-13 17:36:48] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 17:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689625856001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:36:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783944152000,"timestamp_ms":1783944152000,"timestamp_seconds":1783944152,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5b83c0"} 
[2026-07-13 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-07-13 17:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 17:36:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 17:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":130486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":130486,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":130486,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689625856001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689625856001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:36:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:36:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:36:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689625856001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":130486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480979,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:36:48] local.INFO: GPS data processed {"connection_id":130486,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:36:48] local.INFO: Acknowledgment sent {"connection_id":130486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:36:49] local.INFO: TCP Data received {"connection_id":130704,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5cb858012d7f914005afd938000a011b20..."} 
[2026-07-13 17:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5cb858012d7f914005afd938000a011b20..."} 
[2026-07-13 17:36:49] local.INFO: Processing buffer {"connection_id":130704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5cb858012d7f914005afd938000a011b20..."} 
[2026-07-13 17:36:49] local.INFO: Packet analysis {"connection_id":130704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b5c"} 
[2026-07-13 17:36:49] local.INFO: Extracted packet for processing {"connection_id":130704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b5c"} 
[2026-07-13 17:36:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17: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-07-13 17:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689646080001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783944231000,"timestamp_ms":1783944231000,"timestamp_seconds":1783944231,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5cb858"} 
[2026-07-13 17:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17: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-07-13 17:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689646080001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689646080001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:36:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:36:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689646080001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":130704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:36:49] local.INFO: GPS data processed {"connection_id":130704,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:36:49] local.INFO: Acknowledgment sent {"connection_id":130704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:37:03] local.INFO: TCP Data received {"connection_id":132847,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:37:03] local.INFO: Processing buffer {"connection_id":132847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:37:03] local.INFO: IMEI packet received {"connection_id":132847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":132847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:37:03] local.INFO: TCP Data received {"connection_id":132847,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:37:03] local.INFO: Processing buffer {"connection_id":132847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:37:03] local.INFO: IMEI packet received {"connection_id":132847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":132847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:37:08] local.INFO: TCP Data received {"connection_id":132847,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:37:08] local.INFO: Processing buffer {"connection_id":132847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:37:08] local.INFO: IMEI packet received {"connection_id":132847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":132847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:37:08] local.INFO: TCP Data received {"connection_id":132847,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5eead8012d807b4005dc80400004009e2a..."} 
[2026-07-13 17:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5eead8012d807b4005dc80400004009e2a..."} 
[2026-07-13 17:37:08] local.INFO: Processing buffer {"connection_id":132847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5eead8012d807b4005dc80400004009e2a..."} 
[2026-07-13 17:37:08] local.INFO: Packet analysis {"connection_id":132847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b5e"} 
[2026-07-13 17:37:08] local.INFO: Extracted packet for processing {"connection_id":132847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b5e"} 
[2026-07-13 17:37:08] local.INFO: GPS Element Parsed {"raw_longitude":763394880,"raw_latitude":98336832,"longitude_deg":76.339488,"latitude_deg":9.8336832,"altitude":4,"angle":158,"satellites":42,"speed":29,"hex_longitude":"2d807b40","hex_latitude":"05dc8040","is_valid_coordinates":true} 
[2026-07-13 17:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689755392001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105936442097664000,"note":"Value kept but may cause issues"} 
[2026-07-13 17:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9192269026751801344,"note":"Value kept but may cause issues"} 
[2026-07-13 17:37: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-07-13 17:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783944375000,"timestamp_ms":1783944375000,"timestamp_seconds":1783944375,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5eead8"} 
[2026-07-13 17:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-13 17:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689755392001,"66":12885,"251":206,"85":15104,"24":29,"16":105936442097664000,"45":-9192269026751801344},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-13 17:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689755392001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:37:08] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-13 17:37:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105936442097664000,"km_value":105936442097664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9192269026751801344,"description":"Unknown IO ID 45"} 
[2026-07-13 17:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689755392001,"power":12885,"unknown_251":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9192269026751801344}} 
[2026-07-13 17:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":132847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:37:08] local.INFO: GPS data processed {"connection_id":132847,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:37:08] local.INFO: Acknowledgment sent {"connection_id":132847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:37:20] local.INFO: TCP Data received {"connection_id":130486,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5b83c0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5b83c0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:37:20] local.INFO: Processing buffer {"connection_id":130486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5b83c0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:37:20] local.INFO: Packet analysis {"connection_id":130486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b5b"} 
[2026-07-13 17:37:20] local.INFO: Extracted packet for processing {"connection_id":130486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b5b"} 
[2026-07-13 17:37:20] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17: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-07-13 17:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689625856001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:37:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783944152000,"timestamp_ms":1783944152000,"timestamp_seconds":1783944152,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5b83c0"} 
[2026-07-13 17:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 17:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17: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-07-13 17:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130486,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130486,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689625856001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689625856001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:37:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:37:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:37:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689625856001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":130486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480982,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:37:20] local.INFO: GPS data processed {"connection_id":130486,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:37:20] local.INFO: Acknowledgment sent {"connection_id":130486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:37:34] local.INFO: TCP Data received {"connection_id":132848,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:37:34] local.INFO: Processing buffer {"connection_id":132848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:37:34] local.INFO: IMEI packet received {"connection_id":132848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":132848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:37:39] local.INFO: TCP Data received {"connection_id":132847,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5f15d0012d80888005dc5ec8000300982d..."} 
[2026-07-13 17:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5f15d0012d80888005dc5ec8000300982d..."} 
[2026-07-13 17:37:39] local.INFO: Processing buffer {"connection_id":132847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5f15d0012d80888005dc5ec8000300982d..."} 
[2026-07-13 17:37:39] local.INFO: Packet analysis {"connection_id":132847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b5f"} 
[2026-07-13 17:37:39] local.INFO: Extracted packet for processing {"connection_id":132847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b5f"} 
[2026-07-13 17:37:39] local.INFO: GPS Element Parsed {"raw_longitude":763398272,"raw_latitude":98328264,"longitude_deg":76.3398272,"latitude_deg":9.8328264,"altitude":3,"angle":152,"satellites":45,"speed":37,"hex_longitude":"2d808880","hex_latitude":"05dc5ec8","is_valid_coordinates":true} 
[2026-07-13 17:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689760000001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105936888774262784,"note":"Value kept but may cause issues"} 
[2026-07-13 17:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9188680220800958464,"note":"Value kept but may cause issues"} 
[2026-07-13 17:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783944386000,"timestamp_ms":1783944386000,"timestamp_seconds":1783944386,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5f15d0"} 
[2026-07-13 17:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:37: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-07-13 17: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-13 17:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689760000001,"66":13037,"251":206,"85":15104,"24":37,"16":105936888774262784,"45":-9188680220800958464},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-13 17:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689760000001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:37:39] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-13 17:37:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105936888774262784,"km_value":105936888774262.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9188680220800958464,"description":"Unknown IO ID 45"} 
[2026-07-13 17:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689760000001,"power":13037,"unknown_251":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9188680220800958464}} 
[2026-07-13 17:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":132847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:37:39] local.INFO: GPS data processed {"connection_id":132847,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:37:39] local.INFO: Acknowledgment sent {"connection_id":132847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:37:40] local.INFO: TCP Data received {"connection_id":130488,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:37:40] local.INFO: Processing buffer {"connection_id":130488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:37:40] local.INFO: IMEI packet received {"connection_id":130488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":130488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:37:44] local.INFO: TCP Data received {"connection_id":132848,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:37:44] local.INFO: Processing buffer {"connection_id":132848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:37:44] local.INFO: IMEI packet received {"connection_id":132848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":132848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:37:45] local.INFO: TCP Data received {"connection_id":130488,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:37:45] local.INFO: Processing buffer {"connection_id":130488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:37:45] local.INFO: IMEI packet received {"connection_id":130488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":130488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:37:50] local.INFO: TCP Data received {"connection_id":130488,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5b83c0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5b83c0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:37:50] local.INFO: Processing buffer {"connection_id":130488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5b83c0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:37:50] local.INFO: Packet analysis {"connection_id":130488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b5b"} 
[2026-07-13 17:37:50] local.INFO: Extracted packet for processing {"connection_id":130488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b5b"} 
[2026-07-13 17:37:50] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689625856001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:37:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783944152000,"timestamp_ms":1783944152000,"timestamp_seconds":1783944152,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5b83c0"} 
[2026-07-13 17:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:37:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 17:37:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:37:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689625856001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689625856001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:37:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:37:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:37:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689625856001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":130488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480984,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:37:50] local.INFO: GPS data processed {"connection_id":130488,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:37:50] local.INFO: Acknowledgment sent {"connection_id":130488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:37:57] local.INFO: TCP Data received {"connection_id":132849,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:37:57] local.INFO: Processing buffer {"connection_id":132849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:37:57] local.INFO: IMEI packet received {"connection_id":132849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":132849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:37:58] local.INFO: TCP Data received {"connection_id":132849,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:37:58] local.INFO: Processing buffer {"connection_id":132849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:37:58] local.INFO: IMEI packet received {"connection_id":132849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":132849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:37:59] local.INFO: TCP Data received {"connection_id":132849,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:37:59] local.INFO: Processing buffer {"connection_id":132849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:37:59] local.INFO: IMEI packet received {"connection_id":132849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":132849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:38:03] local.INFO: TCP Data received {"connection_id":132849,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:38:03] local.INFO: Processing buffer {"connection_id":132849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:38:03] local.INFO: IMEI packet received {"connection_id":132849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":132849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:38:04] local.INFO: TCP Data received {"connection_id":132849,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b604298012d8132c005db15300001009f2f..."} 
[2026-07-13 17:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b604298012d8132c005db15300001009f2f..."} 
[2026-07-13 17:38:04] local.INFO: Processing buffer {"connection_id":132849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b604298012d8132c005db15300001009f2f..."} 
[2026-07-13 17:38:04] local.INFO: Packet analysis {"connection_id":132849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b60"} 
[2026-07-13 17:38:04] local.INFO: Extracted packet for processing {"connection_id":132849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b60"} 
[2026-07-13 17:38:04] local.INFO: GPS Element Parsed {"raw_longitude":763441856,"raw_latitude":98243888,"longitude_deg":76.3441856,"latitude_deg":9.8243888,"altitude":1,"angle":159,"satellites":47,"speed":52,"hex_longitude":"2d8132c0","hex_latitude":"05db1530","is_valid_coordinates":true} 
[2026-07-13 17:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689781760001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105941501569138688,"note":"Value kept but may cause issues"} 
[2026-07-13 17:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9139210993666942976,"note":"Value kept but may cause issues"} 
[2026-07-13 17:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783944463000,"timestamp_ms":1783944463000,"timestamp_seconds":1783944463,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b604298"} 
[2026-07-13 17:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-13 17:38: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-07-13 17:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689781760001,"66":12613,"154":206,"85":15104,"24":52,"16":105941501569138688,"45":-9139210993666942976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-07-13 17:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689781760001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:38:04] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-13 17:38:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105941501569138688,"km_value":105941501569138.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9139210993666942976,"description":"Unknown IO ID 45"} 
[2026-07-13 17:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689781760001,"power":12613,"unknown_154":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":-9139210993666942976}} 
[2026-07-13 17:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":132849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:38:04] local.INFO: GPS data processed {"connection_id":132849,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:38:04] local.INFO: Acknowledgment sent {"connection_id":132849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:38:04] local.INFO: TCP Data received {"connection_id":132848,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5cb858012d7f914005afd938000a011b20..."} 
[2026-07-13 17:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5cb858012d7f914005afd938000a011b20..."} 
[2026-07-13 17:38:04] local.INFO: Processing buffer {"connection_id":132848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5cb858012d7f914005afd938000a011b20..."} 
[2026-07-13 17:38:04] local.INFO: Packet analysis {"connection_id":132848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b5c"} 
[2026-07-13 17:38:04] local.INFO: Extracted packet for processing {"connection_id":132848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b5c"} 
[2026-07-13 17:38:04] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689646080001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783944231000,"timestamp_ms":1783944231000,"timestamp_seconds":1783944231,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5cb858"} 
[2026-07-13 17:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689646080001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689646080001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:38:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:38:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689646080001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":132848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:38:04] local.INFO: GPS data processed {"connection_id":132848,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:38:04] local.INFO: Acknowledgment sent {"connection_id":132848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:38:22] local.INFO: TCP Data received {"connection_id":130488,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:38:22] local.INFO: Processing buffer {"connection_id":130488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:38:22] local.INFO: Packet analysis {"connection_id":130488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b60"} 
[2026-07-13 17:38:22] local.INFO: Extracted packet for processing {"connection_id":130488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b60"} 
[2026-07-13 17:38:22] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689702912001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:38:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783944453000,"timestamp_ms":1783944453000,"timestamp_seconds":1783944453,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b601b88"} 
[2026-07-13 17:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 17:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689702912001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689702912001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:38:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:38:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:38:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689702912001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":130488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480987,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:38:22] local.INFO: GPS data processed {"connection_id":130488,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:38:22] local.INFO: Acknowledgment sent {"connection_id":130488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:38:35] local.INFO: TCP Data received {"connection_id":132849,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b60d708012d81718005da8290000000642c..."} 
[2026-07-13 17:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b60d708012d81718005da8290000000642c..."} 
[2026-07-13 17:38:35] local.INFO: Processing buffer {"connection_id":132849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b60d708012d81718005da8290000000642c..."} 
[2026-07-13 17:38:35] local.INFO: Packet analysis {"connection_id":132849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b60"} 
[2026-07-13 17:38:35] local.INFO: Extracted packet for processing {"connection_id":132849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b60"} 
[2026-07-13 17:38:35] local.INFO: GPS Element Parsed {"raw_longitude":763457920,"raw_latitude":98206352,"longitude_deg":76.345792,"latitude_deg":9.8206352,"altitude":0,"angle":100,"satellites":44,"speed":33,"hex_longitude":"2d817180","hex_latitude":"05da8290","is_valid_coordinates":true} 
[2026-07-13 17:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689792000001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105943550268538880,"note":"Value kept but may cause issues"} 
[2026-07-13 17:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9120352170237820928,"note":"Value kept but may cause issues"} 
[2026-07-13 17:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783944501000,"timestamp_ms":1783944501000,"timestamp_seconds":1783944501,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b60d708"} 
[2026-07-13 17:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-13 17:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689792000001,"66":12722,"154":206,"85":15104,"24":33,"16":105943550268538880,"45":-9120352170237820928},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-07-13 17:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689792000001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:38:35] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-13 17:38:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105943550268538880,"km_value":105943550268538.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9120352170237820928,"description":"Unknown IO ID 45"} 
[2026-07-13 17:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689792000001,"power":12722,"unknown_154":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9120352170237820928}} 
[2026-07-13 17:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":132849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:38:35] local.INFO: GPS data processed {"connection_id":132849,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:38:35] local.INFO: Acknowledgment sent {"connection_id":132849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:38:39] local.INFO: TCP Data received {"connection_id":130489,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:38:39] local.INFO: Processing buffer {"connection_id":130489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:38:39] local.INFO: IMEI packet received {"connection_id":130489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":130489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:38:44] local.INFO: TCP Data received {"connection_id":130489,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:38:44] local.INFO: Processing buffer {"connection_id":130489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:38:44] local.INFO: IMEI packet received {"connection_id":130489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":130489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:38:45] local.INFO: TCP Data received {"connection_id":130490,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130490,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:38:45] local.INFO: Processing buffer {"connection_id":130490,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:38:45] local.INFO: IMEI packet received {"connection_id":130490,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":130490,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:38:48] local.INFO: TCP Data received {"connection_id":130489,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b5cb858012d7f914005afd938000a011b20..."} 
[2026-07-13 17:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b5cb858012d7f914005afd938000a011b20..."} 
[2026-07-13 17:38:48] local.INFO: Processing buffer {"connection_id":130489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b5cb858012d7f914005afd938000a011b20..."} 
[2026-07-13 17:38:48] local.INFO: Packet analysis {"connection_id":130489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b5c"} 
[2026-07-13 17:38:48] local.INFO: Extracted packet for processing {"connection_id":130489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b5c"} 
[2026-07-13 17:38:48] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689646080001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783944231000,"timestamp_ms":1783944231000,"timestamp_seconds":1783944231,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b5cb858"} 
[2026-07-13 17:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":130489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":130489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":130489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689646080001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689646080001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:38:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:38:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689646080001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":130489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:38:48] local.INFO: GPS data processed {"connection_id":130489,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:38:48] local.INFO: Acknowledgment sent {"connection_id":130489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:38:49] local.INFO: TCP Data received {"connection_id":130490,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130490,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:38:49] local.INFO: Processing buffer {"connection_id":130490,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:38:49] local.INFO: IMEI packet received {"connection_id":130490,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":130490,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:38:50] local.INFO: TCP Data received {"connection_id":130490,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:38:50] local.INFO: Processing buffer {"connection_id":130490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:38:50] local.INFO: Packet analysis {"connection_id":130490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b60"} 
[2026-07-13 17:38:50] local.INFO: Extracted packet for processing {"connection_id":130490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b60"} 
[2026-07-13 17:38:50] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689702912001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:38:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783944453000,"timestamp_ms":1783944453000,"timestamp_seconds":1783944453,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b601b88"} 
[2026-07-13 17:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 17:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17: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-07-13 17:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689702912001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689702912001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:38:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:38:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:38:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689702912001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":130490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480990,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:38:50] local.INFO: GPS data processed {"connection_id":130490,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:38:50] local.INFO: Acknowledgment sent {"connection_id":130490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:38:55] local.INFO: TCP Data received {"connection_id":130490,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:38:55] local.INFO: Processing buffer {"connection_id":130490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:38:55] local.INFO: Packet analysis {"connection_id":130490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b60"} 
[2026-07-13 17:38:55] local.INFO: Extracted packet for processing {"connection_id":130490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b60"} 
[2026-07-13 17:38:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689702912001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:38:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783944453000,"timestamp_ms":1783944453000,"timestamp_seconds":1783944453,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b601b88"} 
[2026-07-13 17:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 17:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689702912001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689702912001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:38:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:38:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:38:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689702912001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":130490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480991,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:38:55] local.INFO: GPS data processed {"connection_id":130490,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:38:55] local.INFO: Acknowledgment sent {"connection_id":130490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:38:57] local.INFO: TCP Data received {"connection_id":131523,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131523,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:38:57] local.INFO: Processing buffer {"connection_id":131523,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:38:57] local.INFO: IMEI packet received {"connection_id":131523,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":131523,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:38:58] local.INFO: TCP Data received {"connection_id":131523,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131523,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:38:58] local.INFO: Processing buffer {"connection_id":131523,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:38:58] local.INFO: IMEI packet received {"connection_id":131523,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":131523,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:39:03] local.INFO: TCP Data received {"connection_id":131523,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131523,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:39:03] local.INFO: Processing buffer {"connection_id":131523,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:39:03] local.INFO: IMEI packet received {"connection_id":131523,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":131523,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:39:04] local.INFO: TCP Data received {"connection_id":131523,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b60e6a8012d8180c005da8250000000572c..."} 
[2026-07-13 17:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b60e6a8012d8180c005da8250000000572c..."} 
[2026-07-13 17:39:04] local.INFO: Processing buffer {"connection_id":131523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b60e6a8012d8180c005da8250000000572c..."} 
[2026-07-13 17:39:04] local.INFO: Packet analysis {"connection_id":131523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b60"} 
[2026-07-13 17:39:04] local.INFO: Extracted packet for processing {"connection_id":131523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b60"} 
[2026-07-13 17:39:04] local.INFO: GPS Element Parsed {"raw_longitude":763461824,"raw_latitude":98206288,"longitude_deg":76.3461824,"latitude_deg":9.8206288,"altitude":0,"angle":87,"satellites":44,"speed":35,"hex_longitude":"2d8180c0","hex_latitude":"05da8250","is_valid_coordinates":true} 
[2026-07-13 17:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689792256001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105943734952132608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9119367007819362304,"note":"Value kept but may cause issues"} 
[2026-07-13 17:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783944505000,"timestamp_ms":1783944505000,"timestamp_seconds":1783944505,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b60e6a8"} 
[2026-07-13 17:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-13 17:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":131523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":131523,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":131523,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689792256001,"66":13015,"154":206,"85":15104,"24":35,"16":105943734952132608,"45":-9119367007819362304},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-07-13 17:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689792256001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:39:04] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-13 17:39:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105943734952132608,"km_value":105943734952132.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9119367007819362304,"description":"Unknown IO ID 45"} 
[2026-07-13 17:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689792256001,"power":13015,"unknown_154":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9119367007819362304}} 
[2026-07-13 17:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":131523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480992,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:39:04] local.INFO: GPS data processed {"connection_id":131523,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:39:04] local.INFO: Acknowledgment sent {"connection_id":131523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:39:13] local.INFO: TCP Data received {"connection_id":130705,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:39:13] local.INFO: Processing buffer {"connection_id":130705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:39:13] local.INFO: IMEI packet received {"connection_id":130705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 17:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":130705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:39:14] local.INFO: TCP Data received {"connection_id":130705,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:39:14] local.INFO: Processing buffer {"connection_id":130705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:39:14] local.INFO: IMEI packet received {"connection_id":130705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 17:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":130705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:39:18] local.INFO: TCP Data received {"connection_id":130705,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:39:18] local.INFO: Processing buffer {"connection_id":130705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:39:18] local.INFO: IMEI packet received {"connection_id":130705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 17:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":130705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:39:18] local.INFO: TCP Data received {"connection_id":130705,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-13 17:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130705,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-13 17:39:18] local.INFO: Processing buffer {"connection_id":130705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-13 17:39:18] local.INFO: Packet analysis {"connection_id":130705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-13 17:39:18] local.INFO: Extracted packet for processing {"connection_id":130705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-13 17:39:18] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 17:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5885599844139008,"note":"Value kept but may cause issues"} 
[2026-07-13 17:39:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 17:39:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":48000,"timestamp_seconds":48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 17:39:18] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-13 17:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130705,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130705,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-13 17:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130705,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-13 17:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-13 17:39:18] local.WARNING: DEBUG: No valid data to process  
[2026-07-13 17:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":130705,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-13 17:39:18] local.ERROR: GPS data processing failed {"connection_id":130705,"error":"No valid data to process"} 
[2026-07-13 17:39:18] local.INFO: Acknowledgment sent {"connection_id":130705,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-13 17:39:34] local.INFO: TCP Data received {"connection_id":130706,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:39:34] local.INFO: Processing buffer {"connection_id":130706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:39:34] local.INFO: IMEI packet received {"connection_id":130706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":130706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:39:34] local.INFO: TCP Data received {"connection_id":131523,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b61cd20012d822f8005da63880005009f2c..."} 
[2026-07-13 17:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b61cd20012d822f8005da63880005009f2c..."} 
[2026-07-13 17:39:34] local.INFO: Processing buffer {"connection_id":131523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b61cd20012d822f8005da63880005009f2c..."} 
[2026-07-13 17:39:34] local.INFO: Packet analysis {"connection_id":131523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b61"} 
[2026-07-13 17:39:34] local.INFO: Extracted packet for processing {"connection_id":131523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b61"} 
[2026-07-13 17:39:34] local.INFO: GPS Element Parsed {"raw_longitude":763506560,"raw_latitude":98198408,"longitude_deg":76.350656,"latitude_deg":9.8198408,"altitude":5,"angle":159,"satellites":44,"speed":46,"hex_longitude":"2d822f80","hex_latitude":"05da6388","is_valid_coordinates":true} 
[2026-07-13 17:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689806080001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105946329112379392,"note":"Value kept but may cause issues"} 
[2026-07-13 17:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9069194093220534272,"note":"Value kept but may cause issues"} 
[2026-07-13 17:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783944564000,"timestamp_ms":1783944564000,"timestamp_seconds":1783944564,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b61cd20"} 
[2026-07-13 17:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 17:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":131523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":131523,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":131523,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689806080001,"66":13048,"71":206,"85":15104,"24":46,"16":105946329112379392,"45":-9069194093220534272},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 17:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689806080001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:39:34] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:39:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105946329112379392,"km_value":105946329112379.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9069194093220534272,"description":"Unknown IO ID 45"} 
[2026-07-13 17:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689806080001,"power":13048,"unknown_71":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-9069194093220534272}} 
[2026-07-13 17:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":131523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480993,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:39:35] local.INFO: GPS data processed {"connection_id":131523,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:39:35] local.INFO: Acknowledgment sent {"connection_id":131523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:39:40] local.INFO: TCP Data received {"connection_id":130707,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130707,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:39:40] local.INFO: Processing buffer {"connection_id":130707,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:39:40] local.INFO: IMEI packet received {"connection_id":130707,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":130707,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:39:40] local.INFO: TCP Data received {"connection_id":130706,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:39:40] local.INFO: Processing buffer {"connection_id":130706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:39:40] local.INFO: IMEI packet received {"connection_id":130706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":130706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:39:45] local.INFO: TCP Data received {"connection_id":130707,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130707,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:39:45] local.INFO: Processing buffer {"connection_id":130707,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:39:45] local.INFO: IMEI packet received {"connection_id":130707,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":130707,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:39:47] local.INFO: TCP Data received {"connection_id":130707,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:39:47] local.INFO: Processing buffer {"connection_id":130707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:39:47] local.INFO: Packet analysis {"connection_id":130707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b60"} 
[2026-07-13 17:39:47] local.INFO: Extracted packet for processing {"connection_id":130707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b60"} 
[2026-07-13 17:39:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689702912001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:39:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783944453000,"timestamp_ms":1783944453000,"timestamp_seconds":1783944453,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b601b88"} 
[2026-07-13 17:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 17:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689702912001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689702912001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:39:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:39:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:39:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689702912001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":130707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480994,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:39:47] local.INFO: GPS data processed {"connection_id":130707,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:39:47] local.INFO: Acknowledgment sent {"connection_id":130707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:39:50] local.INFO: TCP Data received {"connection_id":130705,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-13 17:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-13 17:39:50] local.INFO: Processing buffer {"connection_id":130705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-13 17:39:50] local.INFO: Packet analysis {"connection_id":130705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-13 17:39:50] local.INFO: Extracted packet for processing {"connection_id":130705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-13 17:39:50] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 17:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5885599844139008,"note":"Value kept but may cause issues"} 
[2026-07-13 17:39:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 17:39:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":69000,"timestamp_seconds":69,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 17:39:50] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-13 17:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130705,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130705,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-13 17:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130705,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-13 17:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-13 17:39:50] local.WARNING: DEBUG: No valid data to process  
[2026-07-13 17:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":130705,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-13 17:39:50] local.ERROR: GPS data processing failed {"connection_id":130705,"error":"No valid data to process"} 
[2026-07-13 17:39:50] local.INFO: Acknowledgment sent {"connection_id":130705,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-13 17:39:58] local.INFO: TCP Data received {"connection_id":132850,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:39:58] local.INFO: Processing buffer {"connection_id":132850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:39:58] local.INFO: IMEI packet received {"connection_id":132850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":132850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:40:01] local.INFO: TCP Data received {"connection_id":132850,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:40:01] local.INFO: Processing buffer {"connection_id":132850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:40:01] local.INFO: IMEI packet received {"connection_id":132850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":132850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:40:01] local.INFO: TCP Data received {"connection_id":132850,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:40:01] local.INFO: Processing buffer {"connection_id":132850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:40:01] local.INFO: IMEI packet received {"connection_id":132850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":132850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:40:03] local.INFO: TCP Data received {"connection_id":132850,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:40:03] local.INFO: Processing buffer {"connection_id":132850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:40:03] local.INFO: IMEI packet received {"connection_id":132850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":132850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:40:03] local.INFO: TCP Data received {"connection_id":132850,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b61ec60012d8237c005da41d0000400aa2a..."} 
[2026-07-13 17:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b61ec60012d8237c005da41d0000400aa2a..."} 
[2026-07-13 17:40:03] local.INFO: Processing buffer {"connection_id":132850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b61ec60012d8237c005da41d0000400aa2a..."} 
[2026-07-13 17:40:03] local.INFO: Packet analysis {"connection_id":132850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b61"} 
[2026-07-13 17:40:03] local.INFO: Extracted packet for processing {"connection_id":132850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b61"} 
[2026-07-13 17:40:03] local.INFO: GPS Element Parsed {"raw_longitude":763508672,"raw_latitude":98189776,"longitude_deg":76.3508672,"latitude_deg":9.8189776,"altitude":4,"angle":170,"satellites":42,"speed":38,"hex_longitude":"2d8237c0","hex_latitude":"05da41d0","is_valid_coordinates":true} 
[2026-07-13 17:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689808384001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105946762904076288,"note":"Value kept but may cause issues"} 
[2026-07-13 17:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9065886762246371328,"note":"Value kept but may cause issues"} 
[2026-07-13 17:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783944572000,"timestamp_ms":1783944572000,"timestamp_seconds":1783944572,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b61ec60"} 
[2026-07-13 17:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:40: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-07-13 17:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-13 17:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":132850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":132850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":132850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689808384001,"66":13243,"71":206,"85":15104,"24":38,"16":105946762904076288,"45":-9065886762246371328},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 17:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689808384001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:40:03] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:40:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105946762904076288,"km_value":105946762904076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9065886762246371328,"description":"Unknown IO ID 45"} 
[2026-07-13 17:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689808384001,"power":13243,"unknown_71":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9065886762246371328}} 
[2026-07-13 17:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":132850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480995,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:40:03] local.INFO: GPS data processed {"connection_id":132850,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:40:03] local.INFO: Acknowledgment sent {"connection_id":132850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:40:05] local.INFO: TCP Data received {"connection_id":130706,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b615020012d7f914005afd938000a011b23..."} 
[2026-07-13 17:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b615020012d7f914005afd938000a011b23..."} 
[2026-07-13 17:40:05] local.INFO: Processing buffer {"connection_id":130706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b615020012d7f914005afd938000a011b23..."} 
[2026-07-13 17:40:05] local.INFO: Packet analysis {"connection_id":130706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b61"} 
[2026-07-13 17:40:05] local.INFO: Extracted packet for processing {"connection_id":130706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b61"} 
[2026-07-13 17:40:05] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689723136001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783944532000,"timestamp_ms":1783944532000,"timestamp_seconds":1783944532,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b615020"} 
[2026-07-13 17:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689723136001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689723136001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:40:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:40:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689723136001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":130706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:40:05] local.INFO: GPS data processed {"connection_id":130706,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:40:05] local.INFO: Acknowledgment sent {"connection_id":130706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:40:08] local.INFO: TCP Data received {"connection_id":132850,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b61ec60012d8237c005da41d0000400aa2a..."} 
[2026-07-13 17:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b61ec60012d8237c005da41d0000400aa2a..."} 
[2026-07-13 17:40:08] local.INFO: Processing buffer {"connection_id":132850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b61ec60012d8237c005da41d0000400aa2a..."} 
[2026-07-13 17:40:08] local.INFO: Packet analysis {"connection_id":132850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b61"} 
[2026-07-13 17:40:08] local.INFO: Extracted packet for processing {"connection_id":132850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b61"} 
[2026-07-13 17:40:08] local.INFO: GPS Element Parsed {"raw_longitude":763508672,"raw_latitude":98189776,"longitude_deg":76.3508672,"latitude_deg":9.8189776,"altitude":4,"angle":170,"satellites":42,"speed":38,"hex_longitude":"2d8237c0","hex_latitude":"05da41d0","is_valid_coordinates":true} 
[2026-07-13 17:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689810432001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105946762904076288,"note":"Value kept but may cause issues"} 
[2026-07-13 17:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9063564593690718208,"note":"Value kept but may cause issues"} 
[2026-07-13 17:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783944572000,"timestamp_ms":1783944572000,"timestamp_seconds":1783944572,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b61ec60"} 
[2026-07-13 17:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:40: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-07-13 17:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 17:40: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-07-13 17:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689810432001,"66":13243,"71":206,"85":15104,"24":38,"16":105946762904076288,"45":-9063564593690718208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 17:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689810432001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:40:08] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:40:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105946762904076288,"km_value":105946762904076.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9063564593690718208,"description":"Unknown IO ID 45"} 
[2026-07-13 17:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689810432001,"power":13243,"unknown_71":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9063564593690718208}} 
[2026-07-13 17:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":132850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480997,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:40:08] local.INFO: GPS data processed {"connection_id":132850,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:40:08] local.INFO: Acknowledgment sent {"connection_id":132850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:40:19] local.INFO: TCP Data received {"connection_id":130707,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:40:19] local.INFO: Processing buffer {"connection_id":130707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:40:19] local.INFO: Packet analysis {"connection_id":130707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b60"} 
[2026-07-13 17:40:19] local.INFO: Extracted packet for processing {"connection_id":130707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b60"} 
[2026-07-13 17:40:19] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 17:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689702912001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:40:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783944453000,"timestamp_ms":1783944453000,"timestamp_seconds":1783944453,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b601b88"} 
[2026-07-13 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-07-13 17:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 17:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 17:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689702912001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689702912001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:40:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:40:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:40:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689702912001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":130707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480998,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:40:19] local.INFO: GPS data processed {"connection_id":130707,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:40:19] local.INFO: Acknowledgment sent {"connection_id":130707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:40:21] local.INFO: TCP Data received {"connection_id":130705,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6246380100000000000000000000000000..."} 
[2026-07-13 17:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6246380100000000000000000000000000..."} 
[2026-07-13 17:40:21] local.INFO: Processing buffer {"connection_id":130705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6246380100000000000000000000000000..."} 
[2026-07-13 17:40:21] local.INFO: Packet analysis {"connection_id":130705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b62"} 
[2026-07-13 17:40:21] local.INFO: Extracted packet for processing {"connection_id":130705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b62"} 
[2026-07-13 17:40:21] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 17:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5885599844139008,"note":"Value kept but may cause issues"} 
[2026-07-13 17:40:21] 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-07-13 17:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783944595000,"timestamp_ms":1783944595000,"timestamp_seconds":1783944595,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b624638"} 
[2026-07-13 17:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-13 17:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":130705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":130705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":130705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 17:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 17:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":130705,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 17:40:21] local.INFO: GPS data processed {"connection_id":130705,"processed":0,"errors":0,"total":1} 
[2026-07-13 17:40:21] local.INFO: Acknowledgment sent {"connection_id":130705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:40:34] local.INFO: TCP Data received {"connection_id":131524,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:40:34] local.INFO: Processing buffer {"connection_id":131524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:40:34] local.INFO: IMEI packet received {"connection_id":131524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":131524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:40:39] local.INFO: TCP Data received {"connection_id":130708,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130708,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:40:39] local.INFO: Processing buffer {"connection_id":130708,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:40:39] local.INFO: IMEI packet received {"connection_id":130708,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":130708,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:40:40] local.INFO: TCP Data received {"connection_id":132850,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b620f88012d823dc005da1e90000500a92c..."} 
[2026-07-13 17:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b620f88012d823dc005da1e90000500a92c..."} 
[2026-07-13 17:40:40] local.INFO: Processing buffer {"connection_id":132850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b620f88012d823dc005da1e90000500a92c..."} 
[2026-07-13 17:40:40] local.INFO: Packet analysis {"connection_id":132850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b62"} 
[2026-07-13 17:40:40] local.INFO: Extracted packet for processing {"connection_id":132850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b62"} 
[2026-07-13 17:40:40] local.INFO: GPS Element Parsed {"raw_longitude":763510208,"raw_latitude":98180752,"longitude_deg":76.3510208,"latitude_deg":9.8180752,"altitude":5,"angle":169,"satellites":44,"speed":35,"hex_longitude":"2d823dc0","hex_latitude":"05da1e90","is_valid_coordinates":true} 
[2026-07-13 17:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689810432001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947205285707776,"note":"Value kept but may cause issues"} 
[2026-07-13 17:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9063564593690718208,"note":"Value kept but may cause issues"} 
[2026-07-13 17:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783944581000,"timestamp_ms":1783944581000,"timestamp_seconds":1783944581,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b620f88"} 
[2026-07-13 17:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-13 17:40: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-07-13 17:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689810432001,"66":13091,"71":206,"85":15104,"24":35,"16":105947205285707776,"45":-9063564593690718208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 17:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689810432001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:40:40] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:40:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947205285707776,"km_value":105947205285707.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9063564593690718208,"description":"Unknown IO ID 45"} 
[2026-07-13 17:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689810432001,"power":13091,"unknown_71":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9063564593690718208}} 
[2026-07-13 17:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":132850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":480999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:40:40] local.INFO: GPS data processed {"connection_id":132850,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:40:40] local.INFO: Acknowledgment sent {"connection_id":132850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:40:44] local.INFO: TCP Data received {"connection_id":131524,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:40:44] local.INFO: Processing buffer {"connection_id":131524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:40:44] local.INFO: IMEI packet received {"connection_id":131524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":131524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:40:45] local.INFO: TCP Data received {"connection_id":130708,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130708,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:40:45] local.INFO: Processing buffer {"connection_id":130708,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:40:45] local.INFO: IMEI packet received {"connection_id":130708,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":130708,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:40:45] local.INFO: TCP Data received {"connection_id":131524,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b615020012d7f914005afd938000a011b23..."} 
[2026-07-13 17:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b615020012d7f914005afd938000a011b23..."} 
[2026-07-13 17:40:45] local.INFO: Processing buffer {"connection_id":131524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b615020012d7f914005afd938000a011b23..."} 
[2026-07-13 17:40:45] local.INFO: Packet analysis {"connection_id":131524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b61"} 
[2026-07-13 17:40:45] local.INFO: Extracted packet for processing {"connection_id":131524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b61"} 
[2026-07-13 17:40:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689723136001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783944532000,"timestamp_ms":1783944532000,"timestamp_seconds":1783944532,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b615020"} 
[2026-07-13 17:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:40:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689723136001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689723136001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:40:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:40:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689723136001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":131524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:40:45] local.INFO: GPS data processed {"connection_id":131524,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:40:45] local.INFO: Acknowledgment sent {"connection_id":131524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:40:46] local.INFO: TCP Data received {"connection_id":130708,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:40:46] local.INFO: Processing buffer {"connection_id":130708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:40:46] local.INFO: Packet analysis {"connection_id":130708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b60"} 
[2026-07-13 17:40:46] local.INFO: Extracted packet for processing {"connection_id":130708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b60"} 
[2026-07-13 17:40:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689702912001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:40:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783944453000,"timestamp_ms":1783944453000,"timestamp_seconds":1783944453,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b601b88"} 
[2026-07-13 17:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 17:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130708,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130708,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689702912001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689702912001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:40:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:40:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:40:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689702912001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":130708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481001,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:40:46] local.INFO: GPS data processed {"connection_id":130708,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:40:46] local.INFO: Acknowledgment sent {"connection_id":130708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:40:56] local.INFO: TCP Data received {"connection_id":130705,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6298400100000000000000000000000000..."} 
[2026-07-13 17:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6298400100000000000000000000000000..."} 
[2026-07-13 17:40:56] local.INFO: Processing buffer {"connection_id":130705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6298400100000000000000000000000000..."} 
[2026-07-13 17:40:56] local.INFO: Packet analysis {"connection_id":130705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b62"} 
[2026-07-13 17:40:56] local.INFO: Extracted packet for processing {"connection_id":130705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b62"} 
[2026-07-13 17:40:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 17:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5885599844139008,"note":"Value kept but may cause issues"} 
[2026-07-13 17:40:56] 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-07-13 17:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783944616000,"timestamp_ms":1783944616000,"timestamp_seconds":1783944616,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b629840"} 
[2026-07-13 17:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-13 17:40: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-07-13 17:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":130705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":130705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":130705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 17:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 17:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":130705,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 17:40:56] local.INFO: GPS data processed {"connection_id":130705,"processed":0,"errors":0,"total":1} 
[2026-07-13 17:40:56] local.INFO: Acknowledgment sent {"connection_id":130705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:41:03] local.INFO: TCP Data received {"connection_id":130709,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:41:03] local.INFO: Processing buffer {"connection_id":130709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:41:03] local.INFO: IMEI packet received {"connection_id":130709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":130709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:41:08] local.INFO: TCP Data received {"connection_id":130709,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:41:08] local.INFO: Processing buffer {"connection_id":130709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:41:08] local.INFO: IMEI packet received {"connection_id":130709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":130709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:41:08] local.INFO: TCP Data received {"connection_id":130709,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6226f8012d82408005da10780005009a2e..."} 
[2026-07-13 17:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6226f8012d82408005da10780005009a2e..."} 
[2026-07-13 17:41:08] local.INFO: Processing buffer {"connection_id":130709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6226f8012d82408005da10780005009a2e..."} 
[2026-07-13 17:41:08] local.INFO: Packet analysis {"connection_id":130709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b62"} 
[2026-07-13 17:41:08] local.INFO: Extracted packet for processing {"connection_id":130709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b62"} 
[2026-07-13 17:41:08] local.INFO: GPS Element Parsed {"raw_longitude":763510912,"raw_latitude":98177144,"longitude_deg":76.3510912,"latitude_deg":9.8177144,"altitude":5,"angle":154,"satellites":46,"speed":11,"hex_longitude":"2d824080","hex_latitude":"05da1078","is_valid_coordinates":true} 
[2026-07-13 17:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689812736001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947381379366912,"note":"Value kept but may cause issues"} 
[2026-07-13 17:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061875743832764416,"note":"Value kept but may cause issues"} 
[2026-07-13 17:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783944587000,"timestamp_ms":1783944587000,"timestamp_seconds":1783944587,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6226f8"} 
[2026-07-13 17:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-13 17:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689812736001,"66":12906,"71":206,"85":15104,"24":11,"16":105947381379366912,"45":-9061875743832764416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 17:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689812736001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:41:08] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:41:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947381379366912,"km_value":105947381379366.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061875743832764416,"description":"Unknown IO ID 45"} 
[2026-07-13 17:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689812736001,"power":12906,"unknown_71":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9061875743832764416}} 
[2026-07-13 17:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":130709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481002,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:41:08] local.INFO: GPS data processed {"connection_id":130709,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:41:08] local.INFO: Acknowledgment sent {"connection_id":130709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:41:13] local.INFO: TCP Data received {"connection_id":130709,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b622ae0012d8240c005da0fe0000500762d..."} 
[2026-07-13 17:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b622ae0012d8240c005da0fe0000500762d..."} 
[2026-07-13 17:41:13] local.INFO: Processing buffer {"connection_id":130709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b622ae0012d8240c005da0fe0000500762d..."} 
[2026-07-13 17:41:13] local.INFO: Packet analysis {"connection_id":130709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b62"} 
[2026-07-13 17:41:13] local.INFO: Extracted packet for processing {"connection_id":130709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b62"} 
[2026-07-13 17:41:13] local.INFO: GPS Element Parsed {"raw_longitude":763510976,"raw_latitude":98176992,"longitude_deg":76.3510976,"latitude_deg":9.8176992,"altitude":5,"angle":118,"satellites":45,"speed":7,"hex_longitude":"2d8240c0","hex_latitude":"05da0fe0","is_valid_coordinates":true} 
[2026-07-13 17:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689814272001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947389969301504,"note":"Value kept but may cause issues"} 
[2026-07-13 17:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061101687647733760,"note":"Value kept but may cause issues"} 
[2026-07-13 17:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783944588000,"timestamp_ms":1783944588000,"timestamp_seconds":1783944588,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b622ae0"} 
[2026-07-13 17:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-13 17:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689814272001,"66":13048,"71":206,"85":15104,"24":7,"16":105947389969301504,"45":-9061101687647733760},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 17:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689814272001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:41:13] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:41:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947389969301504,"km_value":105947389969301.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061101687647733760,"description":"Unknown IO ID 45"} 
[2026-07-13 17:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689814272001,"power":13048,"unknown_71":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9061101687647733760}} 
[2026-07-13 17:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":130709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481003,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:41:13] local.INFO: GPS data processed {"connection_id":130709,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:41:13] local.INFO: Acknowledgment sent {"connection_id":130709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:41:17] local.INFO: TCP Data received {"connection_id":131524,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b615020012d7f914005afd938000a011b23..."} 
[2026-07-13 17:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b615020012d7f914005afd938000a011b23..."} 
[2026-07-13 17:41:17] local.INFO: Processing buffer {"connection_id":131524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b615020012d7f914005afd938000a011b23..."} 
[2026-07-13 17:41:17] local.INFO: Packet analysis {"connection_id":131524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b61"} 
[2026-07-13 17:41:17] local.INFO: Extracted packet for processing {"connection_id":131524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b61"} 
[2026-07-13 17:41:17] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689723136001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783944532000,"timestamp_ms":1783944532000,"timestamp_seconds":1783944532,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b615020"} 
[2026-07-13 17:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:41:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:41:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:41: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-07-13 17:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689723136001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689723136001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:41:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:41:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689723136001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":131524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:41:17] local.INFO: GPS data processed {"connection_id":131524,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:41:17] local.INFO: Acknowledgment sent {"connection_id":131524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:41:18] local.INFO: TCP Data received {"connection_id":130708,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:41:18] local.INFO: Processing buffer {"connection_id":130708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:41:18] local.INFO: Packet analysis {"connection_id":130708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b60"} 
[2026-07-13 17:41:18] local.INFO: Extracted packet for processing {"connection_id":130708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b60"} 
[2026-07-13 17:41:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 17:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689702912001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:41:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783944453000,"timestamp_ms":1783944453000,"timestamp_seconds":1783944453,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b601b88"} 
[2026-07-13 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-07-13 17:41:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 17:41:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 17:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130708,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130708,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:41:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689702912001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689702912001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:41:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:41:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:41:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689702912001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":130708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481005,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:41:18] local.INFO: GPS data processed {"connection_id":130708,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:41:18] local.INFO: Acknowledgment sent {"connection_id":130708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:41:27] local.INFO: TCP Data received {"connection_id":130705,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b62ea480100000000000000000000000000..."} 
[2026-07-13 17:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b62ea480100000000000000000000000000..."} 
[2026-07-13 17:41:27] local.INFO: Processing buffer {"connection_id":130705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b62ea480100000000000000000000000000..."} 
[2026-07-13 17:41:27] local.INFO: Packet analysis {"connection_id":130705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b62"} 
[2026-07-13 17:41:27] local.INFO: Extracted packet for processing {"connection_id":130705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b62"} 
[2026-07-13 17:41:27] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 17: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-07-13 17:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5885599844139008,"note":"Value kept but may cause issues"} 
[2026-07-13 17:41:27] 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-07-13 17:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783944637000,"timestamp_ms":1783944637000,"timestamp_seconds":1783944637,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b62ea48"} 
[2026-07-13 17:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-13 17:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17: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-07-13 17:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":130705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":130705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":130705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 17:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 17:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":130705,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 17:41:27] local.INFO: GPS data processed {"connection_id":130705,"processed":0,"errors":0,"total":1} 
[2026-07-13 17:41:27] local.INFO: Acknowledgment sent {"connection_id":130705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:41:39] local.INFO: TCP Data received {"connection_id":130491,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:41:39] local.INFO: Processing buffer {"connection_id":130491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:41:39] local.INFO: IMEI packet received {"connection_id":130491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":130491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:41:45] local.INFO: TCP Data received {"connection_id":130491,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:41:45] local.INFO: Processing buffer {"connection_id":130491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:41:45] local.INFO: IMEI packet received {"connection_id":130491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":130491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:41:46] local.INFO: TCP Data received {"connection_id":130491,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:41:46] local.INFO: Processing buffer {"connection_id":130491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:41:46] local.INFO: Packet analysis {"connection_id":130491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b60"} 
[2026-07-13 17:41:46] local.INFO: Extracted packet for processing {"connection_id":130491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b60"} 
[2026-07-13 17:41:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689702912001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:41:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783944453000,"timestamp_ms":1783944453000,"timestamp_seconds":1783944453,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b601b88"} 
[2026-07-13 17:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 17:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689702912001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689702912001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:41:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:41:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:41:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689702912001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":130491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481006,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:41:46] local.INFO: GPS data processed {"connection_id":130491,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:41:46] local.INFO: Acknowledgment sent {"connection_id":130491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:41:49] local.INFO: TCP Data received {"connection_id":130492,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:41:49] local.INFO: Processing buffer {"connection_id":130492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:41:49] local.INFO: IMEI packet received {"connection_id":130492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":130492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:41:54] local.INFO: TCP Data received {"connection_id":130492,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:41:54] local.INFO: Processing buffer {"connection_id":130492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:41:54] local.INFO: IMEI packet received {"connection_id":130492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":130492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:41:55] local.INFO: TCP Data received {"connection_id":130492,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b615020012d7f914005afd938000a011b23..."} 
[2026-07-13 17:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b615020012d7f914005afd938000a011b23..."} 
[2026-07-13 17:41:55] local.INFO: Processing buffer {"connection_id":130492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b615020012d7f914005afd938000a011b23..."} 
[2026-07-13 17:41:55] local.INFO: Packet analysis {"connection_id":130492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b61"} 
[2026-07-13 17:41:55] local.INFO: Extracted packet for processing {"connection_id":130492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b61"} 
[2026-07-13 17:41:55] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689723136001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783944532000,"timestamp_ms":1783944532000,"timestamp_seconds":1783944532,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b615020"} 
[2026-07-13 17:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:41: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-07-13 17:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689723136001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689723136001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:41:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:41:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689723136001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":130492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:41:55] local.INFO: GPS data processed {"connection_id":130492,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:41:55] local.INFO: Acknowledgment sent {"connection_id":130492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:41:58] local.INFO: TCP Data received {"connection_id":131525,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:41:58] local.INFO: Processing buffer {"connection_id":131525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:41:58] local.INFO: IMEI packet received {"connection_id":131525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":131525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:41:58] local.INFO: TCP Data received {"connection_id":130705,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b633c500100000000000000000000000000..."} 
[2026-07-13 17:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b633c500100000000000000000000000000..."} 
[2026-07-13 17:41:58] local.INFO: Processing buffer {"connection_id":130705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b633c500100000000000000000000000000..."} 
[2026-07-13 17:41:58] local.INFO: Packet analysis {"connection_id":130705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b63"} 
[2026-07-13 17:41:58] local.INFO: Extracted packet for processing {"connection_id":130705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b63"} 
[2026-07-13 17:41:58] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 17:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5885599844139008,"note":"Value kept but may cause issues"} 
[2026-07-13 17:41:58] 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-07-13 17:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783944658000,"timestamp_ms":1783944658000,"timestamp_seconds":1783944658,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b633c50"} 
[2026-07-13 17:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:41:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-13 17:41:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:41:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:41:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 17:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 17:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":130705,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 17:41:58] local.INFO: GPS data processed {"connection_id":130705,"processed":0,"errors":0,"total":1} 
[2026-07-13 17:41:58] local.INFO: Acknowledgment sent {"connection_id":130705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:42:03] local.INFO: TCP Data received {"connection_id":131525,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:42:03] local.INFO: Processing buffer {"connection_id":131525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:42:03] local.INFO: IMEI packet received {"connection_id":131525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":131525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:42:04] local.INFO: TCP Data received {"connection_id":131525,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b623a80012d82420005da1028000400762c..."} 
[2026-07-13 17:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b623a80012d82420005da1028000400762c..."} 
[2026-07-13 17:42:04] local.INFO: Processing buffer {"connection_id":131525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b623a80012d82420005da1028000400762c..."} 
[2026-07-13 17:42:04] local.INFO: Packet analysis {"connection_id":131525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b62"} 
[2026-07-13 17:42:04] local.INFO: Extracted packet for processing {"connection_id":131525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b62"} 
[2026-07-13 17:42:04] local.INFO: GPS Element Parsed {"raw_longitude":763511296,"raw_latitude":98177064,"longitude_deg":76.3511296,"latitude_deg":9.8177064,"altitude":4,"angle":118,"satellites":44,"speed":0,"hex_longitude":"2d824200","hex_latitude":"05da1028","is_valid_coordinates":true} 
[2026-07-13 17:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689814528001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947407149170688,"note":"Value kept but may cause issues"} 
[2026-07-13 17:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061031318903595008,"note":"Value kept but may cause issues"} 
[2026-07-13 17:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783944592000,"timestamp_ms":1783944592000,"timestamp_seconds":1783944592,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b623a80"} 
[2026-07-13 17:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-13 17:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":131525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":131525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":131525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689814528001,"66":12689,"71":206,"85":15104,"24":0,"16":105947407149170688,"45":-9061031318903595008},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 17:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689814528001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:42:04] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:42:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947407149170688,"km_value":105947407149170.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061031318903595008,"description":"Unknown IO ID 45"} 
[2026-07-13 17:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689814528001,"power":12689,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9061031318903595008}} 
[2026-07-13 17:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":131525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481008,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:42:04] local.INFO: GPS data processed {"connection_id":131525,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:42:04] local.INFO: Acknowledgment sent {"connection_id":131525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:42:17] local.INFO: TCP Data received {"connection_id":130491,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:42:17] local.INFO: Processing buffer {"connection_id":130491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:42:17] local.INFO: Packet analysis {"connection_id":130491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b60"} 
[2026-07-13 17:42:17] local.INFO: Extracted packet for processing {"connection_id":130491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b60"} 
[2026-07-13 17:42:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 17:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689702912001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:42:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783944453000,"timestamp_ms":1783944453000,"timestamp_seconds":1783944453,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b601b88"} 
[2026-07-13 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-07-13 17:42: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-07-13 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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 17:42:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 17:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689702912001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689702912001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:42:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:42:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:42:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689702912001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":130491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481009,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:42:17] local.INFO: GPS data processed {"connection_id":130491,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:42:17] local.INFO: Acknowledgment sent {"connection_id":130491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:42:29] local.INFO: TCP Data received {"connection_id":130705,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b638e580100000000000000000000000000..."} 
[2026-07-13 17:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b638e580100000000000000000000000000..."} 
[2026-07-13 17:42:29] local.INFO: Processing buffer {"connection_id":130705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b638e580100000000000000000000000000..."} 
[2026-07-13 17:42:29] local.INFO: Packet analysis {"connection_id":130705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b63"} 
[2026-07-13 17:42:29] local.INFO: Extracted packet for processing {"connection_id":130705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b63"} 
[2026-07-13 17:42:29] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 17:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5885599844139008,"note":"Value kept but may cause issues"} 
[2026-07-13 17:42:29] 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-07-13 17:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783944679000,"timestamp_ms":1783944679000,"timestamp_seconds":1783944679,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b638e58"} 
[2026-07-13 17:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:42:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-13 17:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":67555095079944196,"note":"Value kept but may cause issues"} 
[2026-07-13 17:42:29] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-13 17:42:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-13 17:42:29] local.WARNING: Large IO value detected {"io_id":232,"raw_value":3959422976,"note":"Value kept but may cause issues"} 
[2026-07-13 17:42:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-07-13 17:42:29] local.WARNING: Large IO value detected {"io_id":187,"raw_value":2147549184,"note":"Value kept but may cause issues"} 
[2026-07-13 17:42:29] local.WARNING: Large IO value detected {"io_id":2,"raw_value":1126184177762509,"note":"Value kept but may cause issues"} 
[2026-07-13 17:42:29] local.WARNING: Large IO value detected {"io_id":20,"raw_value":3907780608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:42:29] local.WARNING: Large IO value detected {"io_id":222,"raw_value":57702370239184896,"note":"Value kept but may cause issues"} 
[2026-07-13 17:42:29] local.INFO: IO Element Parsed {"io_data_count":29,"io_data_keys":[0,103,83,24,241,157,16,232,159,234,10,66,101,152,70,1,240,153,227,4,113,205,187,239,2,55,102,20,222],"length":626,"final_offset":756,"validated_count":29,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-07-13 17:42:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 17:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:42:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 17:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 17:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":130705,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 17:42:29] local.INFO: GPS data processed {"connection_id":130705,"processed":0,"errors":0,"total":1} 
[2026-07-13 17:42:29] local.INFO: Acknowledgment sent {"connection_id":130705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:42:34] local.INFO: TCP Data received {"connection_id":130710,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:42:34] local.INFO: Processing buffer {"connection_id":130710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:42:34] local.INFO: IMEI packet received {"connection_id":130710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":130710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:42:35] local.INFO: TCP Data received {"connection_id":131525,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b623a80012d82420005da1028000400762c..."} 
[2026-07-13 17:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b623a80012d82420005da1028000400762c..."} 
[2026-07-13 17:42:35] local.INFO: Processing buffer {"connection_id":131525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b623a80012d82420005da1028000400762c..."} 
[2026-07-13 17:42:35] local.INFO: Packet analysis {"connection_id":131525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b62"} 
[2026-07-13 17:42:35] local.INFO: Extracted packet for processing {"connection_id":131525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b62"} 
[2026-07-13 17:42:35] local.INFO: GPS Element Parsed {"raw_longitude":763511296,"raw_latitude":98177064,"longitude_deg":76.3511296,"latitude_deg":9.8177064,"altitude":4,"angle":118,"satellites":44,"speed":0,"hex_longitude":"2d824200","hex_latitude":"05da1028","is_valid_coordinates":true} 
[2026-07-13 17:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689815552001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947407149170688,"note":"Value kept but may cause issues"} 
[2026-07-13 17:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9060679475182688256,"note":"Value kept but may cause issues"} 
[2026-07-13 17:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783944592000,"timestamp_ms":1783944592000,"timestamp_seconds":1783944592,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b623a80"} 
[2026-07-13 17:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-13 17:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":131525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":131525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":131525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689815552001,"66":12689,"71":206,"85":15104,"24":0,"16":105947407149170688,"45":-9060679475182688256},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 17:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689815552001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:42:35] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:42:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947407149170688,"km_value":105947407149170.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9060679475182688256,"description":"Unknown IO ID 45"} 
[2026-07-13 17:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689815552001,"power":12689,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9060679475182688256}} 
[2026-07-13 17:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":131525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481010,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:42:35] local.INFO: GPS data processed {"connection_id":131525,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:42:35] local.INFO: Acknowledgment sent {"connection_id":131525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:42:39] local.INFO: TCP Data received {"connection_id":130710,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:42:39] local.INFO: Processing buffer {"connection_id":130710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:42:39] local.INFO: IMEI packet received {"connection_id":130710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":130710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:42:40] local.INFO: TCP Data received {"connection_id":130710,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b615020012d7f914005afd938000a011b23..."} 
[2026-07-13 17:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b615020012d7f914005afd938000a011b23..."} 
[2026-07-13 17:42:40] local.INFO: Processing buffer {"connection_id":130710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b615020012d7f914005afd938000a011b23..."} 
[2026-07-13 17:42:40] local.INFO: Packet analysis {"connection_id":130710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b61"} 
[2026-07-13 17:42:40] local.INFO: Extracted packet for processing {"connection_id":130710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b61"} 
[2026-07-13 17:42:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689723136001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783944532000,"timestamp_ms":1783944532000,"timestamp_seconds":1783944532,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b615020"} 
[2026-07-13 17:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689723136001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689723136001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:42:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:42:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689723136001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":130710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:42:40] local.INFO: GPS data processed {"connection_id":130710,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:42:40] local.INFO: Acknowledgment sent {"connection_id":130710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:42:45] local.INFO: TCP Data received {"connection_id":130711,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130711,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:42:45] local.INFO: Processing buffer {"connection_id":130711,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:42:45] local.INFO: IMEI packet received {"connection_id":130711,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":130711,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:42:50] local.INFO: TCP Data received {"connection_id":130711,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130711,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:42:50] local.INFO: Processing buffer {"connection_id":130711,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:42:50] local.INFO: IMEI packet received {"connection_id":130711,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":130711,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:42:51] local.INFO: TCP Data received {"connection_id":130711,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:42:51] local.INFO: Processing buffer {"connection_id":130711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:42:51] local.INFO: Packet analysis {"connection_id":130711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b60"} 
[2026-07-13 17:42:51] local.INFO: Extracted packet for processing {"connection_id":130711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b60"} 
[2026-07-13 17:42:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 17:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689702912001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:42:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783944453000,"timestamp_ms":1783944453000,"timestamp_seconds":1783944453,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b601b88"} 
[2026-07-13 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-07-13 17:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 17:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17: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-07-13 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-07-13 17:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130711,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130711,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689702912001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689702912001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:42:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:42:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:42:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689702912001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":130711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481012,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:42:51] local.INFO: GPS data processed {"connection_id":130711,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:42:51] local.INFO: Acknowledgment sent {"connection_id":130711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:42:55] local.INFO: TCP Data received {"connection_id":130711,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:42:55] local.INFO: Processing buffer {"connection_id":130711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b601b88012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:42:55] local.INFO: Packet analysis {"connection_id":130711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b60"} 
[2026-07-13 17:42:55] local.INFO: Extracted packet for processing {"connection_id":130711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b60"} 
[2026-07-13 17:42:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689702912001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:42:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783944453000,"timestamp_ms":1783944453000,"timestamp_seconds":1783944453,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b601b88"} 
[2026-07-13 17:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 17:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130711,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130711,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689702912001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689702912001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:42:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:42:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:42:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689702912001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":130711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481013,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:42:55] local.INFO: GPS data processed {"connection_id":130711,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:42:55] local.INFO: Acknowledgment sent {"connection_id":130711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:42:58] local.INFO: TCP Data received {"connection_id":130712,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130712,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:42:58] local.INFO: Processing buffer {"connection_id":130712,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:42:58] local.INFO: IMEI packet received {"connection_id":130712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":130712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:43:00] local.INFO: TCP Data received {"connection_id":130705,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b63e0600100000000000000000000000000..."} 
[2026-07-13 17:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b63e0600100000000000000000000000000..."} 
[2026-07-13 17:43:00] local.INFO: Processing buffer {"connection_id":130705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b63e0600100000000000000000000000000..."} 
[2026-07-13 17:43:00] local.INFO: Packet analysis {"connection_id":130705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b63"} 
[2026-07-13 17:43:00] local.INFO: Extracted packet for processing {"connection_id":130705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b63"} 
[2026-07-13 17:43:00] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 17:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5885599844139008,"note":"Value kept but may cause issues"} 
[2026-07-13 17:43:00] 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-07-13 17:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783944700000,"timestamp_ms":1783944700000,"timestamp_seconds":1783944700,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b63e060"} 
[2026-07-13 17:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-13 17:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":130705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":130705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":130705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 17:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 17:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":130705,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 17:43:00] local.INFO: GPS data processed {"connection_id":130705,"processed":0,"errors":0,"total":1} 
[2026-07-13 17:43:00] local.INFO: Acknowledgment sent {"connection_id":130705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:43:03] local.INFO: TCP Data received {"connection_id":130712,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130712,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:43:03] local.INFO: Processing buffer {"connection_id":130712,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:43:03] local.INFO: IMEI packet received {"connection_id":130712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":130712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:43:04] local.INFO: TCP Data received {"connection_id":130712,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6251f0012d82420005da1030000400762b..."} 
[2026-07-13 17:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6251f0012d82420005da1030000400762b..."} 
[2026-07-13 17:43:04] local.INFO: Processing buffer {"connection_id":130712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6251f0012d82420005da1030000400762b..."} 
[2026-07-13 17:43:04] local.INFO: Packet analysis {"connection_id":130712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b62"} 
[2026-07-13 17:43:04] local.INFO: Extracted packet for processing {"connection_id":130712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b62"} 
[2026-07-13 17:43:04] local.INFO: GPS Element Parsed {"raw_longitude":763511296,"raw_latitude":98177072,"longitude_deg":76.3511296,"latitude_deg":9.8177072,"altitude":4,"angle":118,"satellites":43,"speed":0,"hex_longitude":"2d824200","hex_latitude":"05da1030","is_valid_coordinates":true} 
[2026-07-13 17:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689815552001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947407149170688,"note":"Value kept but may cause issues"} 
[2026-07-13 17:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9060679475182688256,"note":"Value kept but may cause issues"} 
[2026-07-13 17:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783944598000,"timestamp_ms":1783944598000,"timestamp_seconds":1783944598,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6251f0"} 
[2026-07-13 17:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-13 17:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689815552001,"66":13015,"71":206,"85":15104,"24":0,"16":105947407149170688,"45":-9060679475182688256},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 17:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689815552001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:43:04] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:43:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947407149170688,"km_value":105947407149170.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9060679475182688256,"description":"Unknown IO ID 45"} 
[2026-07-13 17:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689815552001,"power":13015,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9060679475182688256}} 
[2026-07-13 17:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":130712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:43:04] local.INFO: GPS data processed {"connection_id":130712,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:43:04] local.INFO: Acknowledgment sent {"connection_id":130712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:43:11] local.INFO: TCP Data received {"connection_id":130710,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b615020012d7f914005afd938000a011b23..."} 
[2026-07-13 17:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b615020012d7f914005afd938000a011b23..."} 
[2026-07-13 17:43:11] local.INFO: Processing buffer {"connection_id":130710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b615020012d7f914005afd938000a011b23..."} 
[2026-07-13 17:43:11] local.INFO: Packet analysis {"connection_id":130710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b61"} 
[2026-07-13 17:43:11] local.INFO: Extracted packet for processing {"connection_id":130710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b61"} 
[2026-07-13 17:43:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689723136001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783944532000,"timestamp_ms":1783944532000,"timestamp_seconds":1783944532,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b615020"} 
[2026-07-13 17:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689723136001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689723136001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:43:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:43:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689723136001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":130710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:43:11] local.INFO: GPS data processed {"connection_id":130710,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:43:11] local.INFO: Acknowledgment sent {"connection_id":130710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:43:32] local.INFO: TCP Data received {"connection_id":130705,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6432680100000000000000000000000000..."} 
[2026-07-13 17:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6432680100000000000000000000000000..."} 
[2026-07-13 17:43:32] local.INFO: Processing buffer {"connection_id":130705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6432680100000000000000000000000000..."} 
[2026-07-13 17:43:32] local.INFO: Packet analysis {"connection_id":130705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b64"} 
[2026-07-13 17:43:32] local.INFO: Extracted packet for processing {"connection_id":130705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b64"} 
[2026-07-13 17:43:32] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 17:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5885599844139008,"note":"Value kept but may cause issues"} 
[2026-07-13 17:43:32] 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-07-13 17:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783944721000,"timestamp_ms":1783944721000,"timestamp_seconds":1783944721,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b643268"} 
[2026-07-13 17:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 17:43:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-13 17:43:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-13 17:43:32] local.WARNING: Large IO value detected {"io_id":232,"raw_value":3959422976,"note":"Value kept but may cause issues"} 
[2026-07-13 17:43:32] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503689434497024,"note":"Value kept but may cause issues"} 
[2026-07-13 17:43:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-07-13 17:43:32] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2566966648,"note":"Value kept but may cause issues"} 
[2026-07-13 17:43:32] local.WARNING: Large IO value detected {"io_id":20,"raw_value":3907780608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:43:32] local.WARNING: Large IO value detected {"io_id":128,"raw_value":72057594037927936,"note":"Value kept but may cause issues"} 
[2026-07-13 17:43:32] local.INFO: IO Element Parsed {"io_data_count":30,"io_data_keys":[0,103,83,24,241,157,16,232,159,142,10,66,60,234,1,240,163,227,91,4,113,205,70,239,2,55,101,20,206,128],"length":529,"final_offset":659,"validated_count":30,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-07-13 17:43:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 17:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":130705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":130705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":130705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 17:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 17:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":130705,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 17:43:32] local.INFO: GPS data processed {"connection_id":130705,"processed":0,"errors":0,"total":1} 
[2026-07-13 17:43:32] local.INFO: Acknowledgment sent {"connection_id":130705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:43:34] local.INFO: TCP Data received {"connection_id":130713,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:43:34] local.INFO: Processing buffer {"connection_id":130713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:43:34] local.INFO: IMEI packet received {"connection_id":130713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":130713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:43:35] local.INFO: TCP Data received {"connection_id":130712,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6251f0012d82420005da1030000400762b..."} 
[2026-07-13 17:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6251f0012d82420005da1030000400762b..."} 
[2026-07-13 17:43:35] local.INFO: Processing buffer {"connection_id":130712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6251f0012d82420005da1030000400762b..."} 
[2026-07-13 17:43:35] local.INFO: Packet analysis {"connection_id":130712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b62"} 
[2026-07-13 17:43:35] local.INFO: Extracted packet for processing {"connection_id":130712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b62"} 
[2026-07-13 17:43:35] local.INFO: GPS Element Parsed {"raw_longitude":763511296,"raw_latitude":98177072,"longitude_deg":76.3511296,"latitude_deg":9.8177072,"altitude":4,"angle":118,"satellites":43,"speed":0,"hex_longitude":"2d824200","hex_latitude":"05da1030","is_valid_coordinates":true} 
[2026-07-13 17:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689817088001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947407149170688,"note":"Value kept but may cause issues"} 
[2026-07-13 17:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9060679475182686208,"note":"Value kept but may cause issues"} 
[2026-07-13 17:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783944598000,"timestamp_ms":1783944598000,"timestamp_seconds":1783944598,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6251f0"} 
[2026-07-13 17:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-13 17:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689817088001,"66":13015,"71":206,"85":15104,"24":0,"16":105947407149170688,"45":-9060679475182686208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 17:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689817088001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:43:35] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:43:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947407149170688,"km_value":105947407149170.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9060679475182686208,"description":"Unknown IO ID 45"} 
[2026-07-13 17:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689817088001,"power":13015,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9060679475182686208}} 
[2026-07-13 17:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":130712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:43:35] local.INFO: GPS data processed {"connection_id":130712,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:43:35] local.INFO: Acknowledgment sent {"connection_id":130712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:43:39] local.INFO: TCP Data received {"connection_id":130713,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:43:39] local.INFO: Processing buffer {"connection_id":130713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:43:39] local.INFO: IMEI packet received {"connection_id":130713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":130713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:43:40] local.INFO: TCP Data received {"connection_id":132851,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:43:40] local.INFO: Processing buffer {"connection_id":132851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:43:40] local.INFO: IMEI packet received {"connection_id":132851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":132851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:43:40] local.INFO: TCP Data received {"connection_id":130713,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b615020012d7f914005afd938000a011b23..."} 
[2026-07-13 17:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b615020012d7f914005afd938000a011b23..."} 
[2026-07-13 17:43:40] local.INFO: Processing buffer {"connection_id":130713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b615020012d7f914005afd938000a011b23..."} 
[2026-07-13 17:43:40] local.INFO: Packet analysis {"connection_id":130713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b61"} 
[2026-07-13 17:43:40] local.INFO: Extracted packet for processing {"connection_id":130713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b61"} 
[2026-07-13 17:43:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17: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-07-13 17:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689723136001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783944532000,"timestamp_ms":1783944532000,"timestamp_seconds":1783944532,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b615020"} 
[2026-07-13 17:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17: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-07-13 17:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689723136001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689723136001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:43:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:43:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689723136001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":130713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:43:40] local.INFO: GPS data processed {"connection_id":130713,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:43:40] local.INFO: Acknowledgment sent {"connection_id":130713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:43:45] local.INFO: TCP Data received {"connection_id":132851,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:43:45] local.INFO: Processing buffer {"connection_id":132851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:43:45] local.INFO: IMEI packet received {"connection_id":132851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":132851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:43:46] local.INFO: TCP Data received {"connection_id":132851,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b64b350012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b64b350012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:43:46] local.INFO: Processing buffer {"connection_id":132851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b64b350012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:43:46] local.INFO: Packet analysis {"connection_id":132851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b64"} 
[2026-07-13 17:43:46] local.INFO: Extracted packet for processing {"connection_id":132851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b64"} 
[2026-07-13 17:43:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689779968001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:43:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783944754000,"timestamp_ms":1783944754000,"timestamp_seconds":1783944754,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b64b350"} 
[2026-07-13 17:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 17:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132851,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132851,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689779968001,"66":24864,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689779968001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:43:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:43:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:43:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689779968001,"power":24864,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":132851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481018,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:43:46] local.INFO: GPS data processed {"connection_id":132851,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:43:46] local.INFO: Acknowledgment sent {"connection_id":132851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:43:52] local.INFO: TCP Data received {"connection_id":130493,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:43:52] local.INFO: Processing buffer {"connection_id":130493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:43:52] local.INFO: IMEI packet received {"connection_id":130493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 17:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":130493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:43:57] local.INFO: TCP Data received {"connection_id":130493,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:43:57] local.INFO: Processing buffer {"connection_id":130493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:43:57] local.INFO: IMEI packet received {"connection_id":130493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 17:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":130493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:43:58] local.INFO: TCP Data received {"connection_id":130494,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:43:58] local.INFO: Processing buffer {"connection_id":130494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:43:58] local.INFO: IMEI packet received {"connection_id":130494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":130494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:43:58] local.INFO: TCP Data received {"connection_id":130493,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6484700100000000000000000000000000..."} 
[2026-07-13 17:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6484700100000000000000000000000000..."} 
[2026-07-13 17:43:58] local.INFO: Processing buffer {"connection_id":130493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6484700100000000000000000000000000..."} 
[2026-07-13 17:43:58] local.INFO: Packet analysis {"connection_id":130493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b64"} 
[2026-07-13 17:43:58] local.INFO: Extracted packet for processing {"connection_id":130493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b64"} 
[2026-07-13 17:43:58] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 17:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5885599844139008,"note":"Value kept but may cause issues"} 
[2026-07-13 17:43:58] 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-07-13 17:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783944742000,"timestamp_ms":1783944742000,"timestamp_seconds":1783944742,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b648470"} 
[2026-07-13 17:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-13 17:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 17:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 17:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":130493,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 17:43:58] local.INFO: GPS data processed {"connection_id":130493,"processed":0,"errors":0,"total":1} 
[2026-07-13 17:43:58] local.INFO: Acknowledgment sent {"connection_id":130493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:44:03] local.INFO: TCP Data received {"connection_id":130494,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:44:03] local.INFO: Processing buffer {"connection_id":130494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:44:03] local.INFO: IMEI packet received {"connection_id":130494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":130494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:44:04] local.INFO: TCP Data received {"connection_id":130494,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6251f0012d82420005da1030000400762b..."} 
[2026-07-13 17:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6251f0012d82420005da1030000400762b..."} 
[2026-07-13 17:44:04] local.INFO: Processing buffer {"connection_id":130494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6251f0012d82420005da1030000400762b..."} 
[2026-07-13 17:44:04] local.INFO: Packet analysis {"connection_id":130494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b62"} 
[2026-07-13 17:44:04] local.INFO: Extracted packet for processing {"connection_id":130494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b62"} 
[2026-07-13 17:44:04] local.INFO: GPS Element Parsed {"raw_longitude":763511296,"raw_latitude":98177072,"longitude_deg":76.3511296,"latitude_deg":9.8177072,"altitude":4,"angle":118,"satellites":43,"speed":0,"hex_longitude":"2d824200","hex_latitude":"05da1030","is_valid_coordinates":true} 
[2026-07-13 17:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689817088001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947407149170688,"note":"Value kept but may cause issues"} 
[2026-07-13 17:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9060679475182686208,"note":"Value kept but may cause issues"} 
[2026-07-13 17:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783944598000,"timestamp_ms":1783944598000,"timestamp_seconds":1783944598,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6251f0"} 
[2026-07-13 17:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-13 17:44: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-07-13 17:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689817088001,"66":13015,"71":206,"85":15104,"24":0,"16":105947407149170688,"45":-9060679475182686208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 17:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689817088001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:44:04] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:44:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947407149170688,"km_value":105947407149170.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9060679475182686208,"description":"Unknown IO ID 45"} 
[2026-07-13 17:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689817088001,"power":13015,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9060679475182686208}} 
[2026-07-13 17:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":130494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481019,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:44:04] local.INFO: GPS data processed {"connection_id":130494,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:44:04] local.INFO: Acknowledgment sent {"connection_id":130494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:44:11] local.INFO: TCP Data received {"connection_id":130713,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b615020012d7f914005afd938000a011b23..."} 
[2026-07-13 17:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b615020012d7f914005afd938000a011b23..."} 
[2026-07-13 17:44:11] local.INFO: Processing buffer {"connection_id":130713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b615020012d7f914005afd938000a011b23..."} 
[2026-07-13 17:44:11] local.INFO: Packet analysis {"connection_id":130713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b61"} 
[2026-07-13 17:44:11] local.INFO: Extracted packet for processing {"connection_id":130713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b61"} 
[2026-07-13 17:44:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":10,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689723136001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783944532000,"timestamp_ms":1783944532000,"timestamp_seconds":1783944532,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b615020"} 
[2026-07-13 17:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689723136001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689723136001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:44:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:44:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689723136001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":130713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:44:11] local.INFO: GPS data processed {"connection_id":130713,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:44:11] local.INFO: Acknowledgment sent {"connection_id":130713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:44:17] local.INFO: TCP Data received {"connection_id":132851,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b64b350012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b64b350012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:44:17] local.INFO: Processing buffer {"connection_id":132851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b64b350012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:44:17] local.INFO: Packet analysis {"connection_id":132851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b64"} 
[2026-07-13 17:44:17] local.INFO: Extracted packet for processing {"connection_id":132851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b64"} 
[2026-07-13 17:44:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689779968001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:44:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783944754000,"timestamp_ms":1783944754000,"timestamp_seconds":1783944754,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b64b350"} 
[2026-07-13 17:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:44: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-07-13 17:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 17:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132851,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132851,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689779968001,"66":24864,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689779968001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:44:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:44:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:44:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689779968001,"power":24864,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":132851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481021,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:44:18] local.INFO: GPS data processed {"connection_id":132851,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:44:18] local.INFO: Acknowledgment sent {"connection_id":132851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:44:29] local.INFO: TCP Data received {"connection_id":130493,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b64d6780100000000000000000000000000..."} 
[2026-07-13 17:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b64d6780100000000000000000000000000..."} 
[2026-07-13 17:44:29] local.INFO: Processing buffer {"connection_id":130493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b64d6780100000000000000000000000000..."} 
[2026-07-13 17:44:29] local.INFO: Packet analysis {"connection_id":130493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b64"} 
[2026-07-13 17:44:29] local.INFO: Extracted packet for processing {"connection_id":130493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b64"} 
[2026-07-13 17:44:29] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 17:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5885599844139008,"note":"Value kept but may cause issues"} 
[2026-07-13 17:44:29] 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-07-13 17:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783944763000,"timestamp_ms":1783944763000,"timestamp_seconds":1783944763,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b64d678"} 
[2026-07-13 17:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:44:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":768,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-13 17:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:44:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 17:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 17:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":130493,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 17:44:29] local.INFO: GPS data processed {"connection_id":130493,"processed":0,"errors":0,"total":1} 
[2026-07-13 17:44:29] local.INFO: Acknowledgment sent {"connection_id":130493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:44:34] local.INFO: TCP Data received {"connection_id":130495,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:44:34] local.INFO: Processing buffer {"connection_id":130495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:44:34] local.INFO: IMEI packet received {"connection_id":130495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":130495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:44:35] local.INFO: TCP Data received {"connection_id":130494,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6251f0012d82420005da1030000400762b..."} 
[2026-07-13 17:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6251f0012d82420005da1030000400762b..."} 
[2026-07-13 17:44:35] local.INFO: Processing buffer {"connection_id":130494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6251f0012d82420005da1030000400762b..."} 
[2026-07-13 17:44:35] local.INFO: Packet analysis {"connection_id":130494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b62"} 
[2026-07-13 17:44:35] local.INFO: Extracted packet for processing {"connection_id":130494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b62"} 
[2026-07-13 17:44:35] local.INFO: GPS Element Parsed {"raw_longitude":763511296,"raw_latitude":98177072,"longitude_deg":76.3511296,"latitude_deg":9.8177072,"altitude":4,"angle":118,"satellites":43,"speed":0,"hex_longitude":"2d824200","hex_latitude":"05da1030","is_valid_coordinates":true} 
[2026-07-13 17:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689817088001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947407149170688,"note":"Value kept but may cause issues"} 
[2026-07-13 17:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9060679475182686208,"note":"Value kept but may cause issues"} 
[2026-07-13 17:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783944598000,"timestamp_ms":1783944598000,"timestamp_seconds":1783944598,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6251f0"} 
[2026-07-13 17:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-13 17:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689817088001,"66":13015,"71":206,"85":15104,"24":0,"16":105947407149170688,"45":-9060679475182686208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 17:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689817088001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:44:35] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:44:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947407149170688,"km_value":105947407149170.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9060679475182686208,"description":"Unknown IO ID 45"} 
[2026-07-13 17:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689817088001,"power":13015,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9060679475182686208}} 
[2026-07-13 17:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":130494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481022,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:44:35] local.INFO: GPS data processed {"connection_id":130494,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:44:35] local.INFO: Acknowledgment sent {"connection_id":130494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:44:39] local.INFO: TCP Data received {"connection_id":130495,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:44:39] local.INFO: Processing buffer {"connection_id":130495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:44:39] local.INFO: IMEI packet received {"connection_id":130495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":130495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:44:39] local.INFO: TCP Data received {"connection_id":131526,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131526,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:44:39] local.INFO: Processing buffer {"connection_id":131526,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:44:39] local.INFO: IMEI packet received {"connection_id":131526,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":131526,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:44:40] local.INFO: TCP Data received {"connection_id":130495,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b65e7e8012d7f914005afd938000c011b23..."} 
[2026-07-13 17:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b65e7e8012d7f914005afd938000c011b23..."} 
[2026-07-13 17:44:40] local.INFO: Processing buffer {"connection_id":130495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b65e7e8012d7f914005afd938000c011b23..."} 
[2026-07-13 17:44:40] local.INFO: Packet analysis {"connection_id":130495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b65"} 
[2026-07-13 17:44:40] local.INFO: Extracted packet for processing {"connection_id":130495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b65"} 
[2026-07-13 17:44:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689800192001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783944833000,"timestamp_ms":1783944833000,"timestamp_seconds":1783944833,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b65e7e8"} 
[2026-07-13 17:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689800192001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689800192001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:44:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:44:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689800192001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":130495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:44:40] local.INFO: GPS data processed {"connection_id":130495,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:44:40] local.INFO: Acknowledgment sent {"connection_id":130495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:44:45] local.INFO: TCP Data received {"connection_id":131526,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131526,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:44:45] local.INFO: Processing buffer {"connection_id":131526,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:44:45] local.INFO: IMEI packet received {"connection_id":131526,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":131526,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:44:46] local.INFO: TCP Data received {"connection_id":131526,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b64b350012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b64b350012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:44:46] local.INFO: Processing buffer {"connection_id":131526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b64b350012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:44:46] local.INFO: Packet analysis {"connection_id":131526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b64"} 
[2026-07-13 17:44:46] local.INFO: Extracted packet for processing {"connection_id":131526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b64"} 
[2026-07-13 17:44:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689779968001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:44:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783944754000,"timestamp_ms":1783944754000,"timestamp_seconds":1783944754,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b64b350"} 
[2026-07-13 17:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 17:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131526,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131526,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689779968001,"66":24864,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689779968001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:44:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:44:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:44:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689779968001,"power":24864,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":131526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481024,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:44:46] local.INFO: GPS data processed {"connection_id":131526,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:44:46] local.INFO: Acknowledgment sent {"connection_id":131526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:44:58] local.INFO: TCP Data received {"connection_id":130714,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:44:58] local.INFO: Processing buffer {"connection_id":130714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:44:58] local.INFO: IMEI packet received {"connection_id":130714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":130714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:44:58] local.INFO: TCP Data received {"connection_id":130714,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:44:58] local.INFO: Processing buffer {"connection_id":130714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:44:58] local.INFO: IMEI packet received {"connection_id":130714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":130714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:45:00] local.INFO: TCP Data received {"connection_id":130493,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6528800100000000000000000000000000..."} 
[2026-07-13 17:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6528800100000000000000000000000000..."} 
[2026-07-13 17:45:00] local.INFO: Processing buffer {"connection_id":130493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6528800100000000000000000000000000..."} 
[2026-07-13 17:45:00] local.INFO: Packet analysis {"connection_id":130493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b65"} 
[2026-07-13 17:45:00] local.INFO: Extracted packet for processing {"connection_id":130493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b65"} 
[2026-07-13 17:45:00] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 17:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5885599844139008,"note":"Value kept but may cause issues"} 
[2026-07-13 17:45:00] 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-07-13 17:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783944784000,"timestamp_ms":1783944784000,"timestamp_seconds":1783944784,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b652880"} 
[2026-07-13 17:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1024,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-13 17:45: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-07-13 17:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":130493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":130493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":130493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 17:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 17:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":130493,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 17:45:00] local.INFO: GPS data processed {"connection_id":130493,"processed":0,"errors":0,"total":1} 
[2026-07-13 17:45:00] local.INFO: Acknowledgment sent {"connection_id":130493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:45:03] local.INFO: TCP Data received {"connection_id":130714,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:45:03] local.INFO: Processing buffer {"connection_id":130714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:45:03] local.INFO: IMEI packet received {"connection_id":130714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":130714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:45:04] local.INFO: TCP Data received {"connection_id":130714,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b66de00012d82408005da10380004007629..."} 
[2026-07-13 17:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b66de00012d82408005da10380004007629..."} 
[2026-07-13 17:45:04] local.INFO: Processing buffer {"connection_id":130714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b66de00012d82408005da10380004007629..."} 
[2026-07-13 17:45:04] local.INFO: Packet analysis {"connection_id":130714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b66"} 
[2026-07-13 17:45:04] local.INFO: Extracted packet for processing {"connection_id":130714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b66"} 
[2026-07-13 17:45:04] local.INFO: GPS Element Parsed {"raw_longitude":763510912,"raw_latitude":98177080,"longitude_deg":76.3510912,"latitude_deg":9.817708,"altitude":4,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2d824080","hex_latitude":"05da1038","is_valid_coordinates":true} 
[2026-07-13 17:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689817088001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947407149170688,"note":"Value kept but may cause issues"} 
[2026-07-13 17:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9060679475182686208,"note":"Value kept but may cause issues"} 
[2026-07-13 17:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783944896000,"timestamp_ms":1783944896000,"timestamp_seconds":1783944896,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b66de00"} 
[2026-07-13 17:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-13 17:45: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-07-13 17:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689817088001,"66":2231,"71":206,"85":15104,"24":0,"16":105947407149170688,"45":-9060679475182686208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 17:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689817088001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:45:04] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:45:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947407149170688,"km_value":105947407149170.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9060679475182686208,"description":"Unknown IO ID 45"} 
[2026-07-13 17:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689817088001,"power":2231,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9060679475182686208}} 
[2026-07-13 17:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":130714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:45:04] local.INFO: GPS data processed {"connection_id":130714,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:45:04] local.INFO: Acknowledgment sent {"connection_id":130714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:45:11] local.INFO: TCP Data received {"connection_id":130495,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b65e7e8012d7f914005afd938000c011b23..."} 
[2026-07-13 17:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b65e7e8012d7f914005afd938000c011b23..."} 
[2026-07-13 17:45:11] local.INFO: Processing buffer {"connection_id":130495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b65e7e8012d7f914005afd938000c011b23..."} 
[2026-07-13 17:45:11] local.INFO: Packet analysis {"connection_id":130495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b65"} 
[2026-07-13 17:45:11] local.INFO: Extracted packet for processing {"connection_id":130495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b65"} 
[2026-07-13 17:45:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689800192001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783944833000,"timestamp_ms":1783944833000,"timestamp_seconds":1783944833,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b65e7e8"} 
[2026-07-13 17:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689800192001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689800192001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:45:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:45:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689800192001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":130495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:45:11] local.INFO: GPS data processed {"connection_id":130495,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:45:11] local.INFO: Acknowledgment sent {"connection_id":130495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:45:17] local.INFO: TCP Data received {"connection_id":131526,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b64b350012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b64b350012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:45:17] local.INFO: Processing buffer {"connection_id":131526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b64b350012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:45:17] local.INFO: Packet analysis {"connection_id":131526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b64"} 
[2026-07-13 17:45:17] local.INFO: Extracted packet for processing {"connection_id":131526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b64"} 
[2026-07-13 17:45:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689779968001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:45:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783944754000,"timestamp_ms":1783944754000,"timestamp_seconds":1783944754,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b64b350"} 
[2026-07-13 17:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:45: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-07-13 17: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 17:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17: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-07-13 17:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131526,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131526,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689779968001,"66":24864,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689779968001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:45:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:45:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:45:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689779968001,"power":24864,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":131526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481027,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:45:17] local.INFO: GPS data processed {"connection_id":131526,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:45:17] local.INFO: Acknowledgment sent {"connection_id":131526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:45:31] local.INFO: TCP Data received {"connection_id":130493,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b657a880100000000000000000000000000..."} 
[2026-07-13 17:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b657a880100000000000000000000000000..."} 
[2026-07-13 17:45:31] local.INFO: Processing buffer {"connection_id":130493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b657a880100000000000000000000000000..."} 
[2026-07-13 17:45:31] local.INFO: Packet analysis {"connection_id":130493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b65"} 
[2026-07-13 17:45:31] local.INFO: Extracted packet for processing {"connection_id":130493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b65"} 
[2026-07-13 17:45:31] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 17:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5885599844139008,"note":"Value kept but may cause issues"} 
[2026-07-13 17:45:31] 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-07-13 17:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783944805000,"timestamp_ms":1783944805000,"timestamp_seconds":1783944805,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b657a88"} 
[2026-07-13 17:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:45:31] 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-07-13 17:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-13 17:45: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-07-13 17:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":130493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":130493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":130493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 17:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 17:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":130493,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 17:45:31] local.INFO: GPS data processed {"connection_id":130493,"processed":0,"errors":0,"total":1} 
[2026-07-13 17:45:31] local.INFO: Acknowledgment sent {"connection_id":130493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:45:34] local.INFO: TCP Data received {"connection_id":130715,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:45:34] local.INFO: Processing buffer {"connection_id":130715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:45:34] local.INFO: IMEI packet received {"connection_id":130715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":130715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:45:39] local.INFO: TCP Data received {"connection_id":130715,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:45:39] local.INFO: Processing buffer {"connection_id":130715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:45:39] local.INFO: IMEI packet received {"connection_id":130715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":130715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:45:39] local.INFO: TCP Data received {"connection_id":132852,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132852,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:45:39] local.INFO: Processing buffer {"connection_id":132852,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:45:39] local.INFO: IMEI packet received {"connection_id":132852,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":132852,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:45:40] local.INFO: TCP Data received {"connection_id":130715,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b65e7e8012d7f914005afd938000c011b23..."} 
[2026-07-13 17:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b65e7e8012d7f914005afd938000c011b23..."} 
[2026-07-13 17:45:40] local.INFO: Processing buffer {"connection_id":130715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b65e7e8012d7f914005afd938000c011b23..."} 
[2026-07-13 17:45:40] local.INFO: Packet analysis {"connection_id":130715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b65"} 
[2026-07-13 17:45:40] local.INFO: Extracted packet for processing {"connection_id":130715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b65"} 
[2026-07-13 17:45:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689800192001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783944833000,"timestamp_ms":1783944833000,"timestamp_seconds":1783944833,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b65e7e8"} 
[2026-07-13 17:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689800192001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689800192001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:45:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:45:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689800192001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":130715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:45:40] local.INFO: GPS data processed {"connection_id":130715,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:45:40] local.INFO: Acknowledgment sent {"connection_id":130715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:45:45] local.INFO: TCP Data received {"connection_id":132852,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132852,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:45:45] local.INFO: Processing buffer {"connection_id":132852,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:45:45] local.INFO: IMEI packet received {"connection_id":132852,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":132852,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:45:46] local.INFO: TCP Data received {"connection_id":132852,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b64b350012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b64b350012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:45:46] local.INFO: Processing buffer {"connection_id":132852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b64b350012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:45:46] local.INFO: Packet analysis {"connection_id":132852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b64"} 
[2026-07-13 17:45:46] local.INFO: Extracted packet for processing {"connection_id":132852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b64"} 
[2026-07-13 17:45:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17: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-07-13 17:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689779968001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:45:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783944754000,"timestamp_ms":1783944754000,"timestamp_seconds":1783944754,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b64b350"} 
[2026-07-13 17:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 17:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17: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-07-13 17:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132852,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132852,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689779968001,"66":24864,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689779968001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:45:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:45:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:45:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689779968001,"power":24864,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":132852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481029,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:45:46] local.INFO: GPS data processed {"connection_id":132852,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:45:46] local.INFO: Acknowledgment sent {"connection_id":132852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:45:52] local.INFO: TCP Data received {"connection_id":130496,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:45:52] local.INFO: Processing buffer {"connection_id":130496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:45:52] local.INFO: IMEI packet received {"connection_id":130496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 17:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":130496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:45:53] local.INFO: TCP Data received {"connection_id":130496,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:45:53] local.INFO: Processing buffer {"connection_id":130496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:45:53] local.INFO: IMEI packet received {"connection_id":130496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 17:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":130496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:45:58] local.INFO: TCP Data received {"connection_id":130496,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:45:58] local.INFO: Processing buffer {"connection_id":130496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:45:58] local.INFO: IMEI packet received {"connection_id":130496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 17:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":130496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:45:58] local.INFO: TCP Data received {"connection_id":130496,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b65cc900100000000000000000000000000..."} 
[2026-07-13 17:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b65cc900100000000000000000000000000..."} 
[2026-07-13 17:45:58] local.INFO: Processing buffer {"connection_id":130496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b65cc900100000000000000000000000000..."} 
[2026-07-13 17:45:58] local.INFO: Packet analysis {"connection_id":130496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b65"} 
[2026-07-13 17:45:58] local.INFO: Extracted packet for processing {"connection_id":130496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b65"} 
[2026-07-13 17:45:58] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 17:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5885599844139008,"note":"Value kept but may cause issues"} 
[2026-07-13 17:45:58] 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-07-13 17:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783944826000,"timestamp_ms":1783944826000,"timestamp_seconds":1783944826,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b65cc90"} 
[2026-07-13 17:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2304,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-13 17:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 17:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 17:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":130496,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 17:45:58] local.INFO: GPS data processed {"connection_id":130496,"processed":0,"errors":0,"total":1} 
[2026-07-13 17:45:58] local.INFO: Acknowledgment sent {"connection_id":130496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:46:12] local.INFO: TCP Data received {"connection_id":130715,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b65e7e8012d7f914005afd938000c011b23..."} 
[2026-07-13 17:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b65e7e8012d7f914005afd938000c011b23..."} 
[2026-07-13 17:46:12] local.INFO: Processing buffer {"connection_id":130715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b65e7e8012d7f914005afd938000c011b23..."} 
[2026-07-13 17:46:12] local.INFO: Packet analysis {"connection_id":130715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b65"} 
[2026-07-13 17:46:12] local.INFO: Extracted packet for processing {"connection_id":130715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b65"} 
[2026-07-13 17:46:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689800192001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783944833000,"timestamp_ms":1783944833000,"timestamp_seconds":1783944833,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b65e7e8"} 
[2026-07-13 17:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689800192001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689800192001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:46:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:46:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689800192001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":130715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:46:12] local.INFO: GPS data processed {"connection_id":130715,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:46:12] local.INFO: Acknowledgment sent {"connection_id":130715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:46:17] local.INFO: TCP Data received {"connection_id":132852,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b64b350012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b64b350012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:46:17] local.INFO: Processing buffer {"connection_id":132852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b64b350012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:46:17] local.INFO: Packet analysis {"connection_id":132852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b64"} 
[2026-07-13 17:46:17] local.INFO: Extracted packet for processing {"connection_id":132852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b64"} 
[2026-07-13 17:46:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689779968001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:46:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783944754000,"timestamp_ms":1783944754000,"timestamp_seconds":1783944754,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b64b350"} 
[2026-07-13 17:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:46: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-07-13 17:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 17:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132852,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132852,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689779968001,"66":24864,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689779968001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:46:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:46:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:46:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689779968001,"power":24864,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":132852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481031,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:46:17] local.INFO: GPS data processed {"connection_id":132852,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:46:17] local.INFO: Acknowledgment sent {"connection_id":132852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:46:29] local.INFO: TCP Data received {"connection_id":130496,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b661e980100000000000000000000000000..."} 
[2026-07-13 17:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b661e980100000000000000000000000000..."} 
[2026-07-13 17:46:29] local.INFO: Processing buffer {"connection_id":130496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b661e980100000000000000000000000000..."} 
[2026-07-13 17:46:29] local.INFO: Packet analysis {"connection_id":130496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b66"} 
[2026-07-13 17:46:29] local.INFO: Extracted packet for processing {"connection_id":130496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b66"} 
[2026-07-13 17:46:29] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 17:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5885599844139008,"note":"Value kept but may cause issues"} 
[2026-07-13 17:46:29] 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-07-13 17:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783944847000,"timestamp_ms":1783944847000,"timestamp_seconds":1783944847,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b661e98"} 
[2026-07-13 17:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 17:46:29] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-13 17:46:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-13 17:46:29] local.WARNING: Large IO value detected {"io_id":232,"raw_value":3959422976,"note":"Value kept but may cause issues"} 
[2026-07-13 17:46:29] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503689434497024,"note":"Value kept but may cause issues"} 
[2026-07-13 17:46:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-13 17:46:29] local.WARNING: Large IO value detected {"io_id":20,"raw_value":3907780608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:46:29] local.WARNING: Large IO value detected {"io_id":88,"raw_value":72057594037927936,"note":"Value kept but may cause issues"} 
[2026-07-13 17:46:29] local.INFO: IO Element Parsed {"io_data_count":29,"io_data_keys":[0,103,83,24,241,157,16,232,159,122,10,66,40,214,1,240,224,227,91,4,113,205,50,239,2,56,20,206,88],"length":529,"final_offset":659,"validated_count":29,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-13 17:46:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 17:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:46:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 17:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 17:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":130496,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 17:46:29] local.INFO: GPS data processed {"connection_id":130496,"processed":0,"errors":0,"total":1} 
[2026-07-13 17:46:29] local.INFO: Acknowledgment sent {"connection_id":130496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:46:39] local.INFO: TCP Data received {"connection_id":130497,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:46:39] local.INFO: Processing buffer {"connection_id":130497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:46:39] local.INFO: IMEI packet received {"connection_id":130497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":130497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:46:39] local.INFO: TCP Data received {"connection_id":130498,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:46:39] local.INFO: Processing buffer {"connection_id":130498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:46:39] local.INFO: IMEI packet received {"connection_id":130498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":130498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:46:44] local.INFO: TCP Data received {"connection_id":130497,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:46:44] local.INFO: Processing buffer {"connection_id":130497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:46:44] local.INFO: IMEI packet received {"connection_id":130497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":130497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:46:45] local.INFO: TCP Data received {"connection_id":130498,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:46:45] local.INFO: Processing buffer {"connection_id":130498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:46:45] local.INFO: IMEI packet received {"connection_id":130498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":130498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:46:45] local.INFO: TCP Data received {"connection_id":130497,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b65e7e8012d7f914005afd938000c011b23..."} 
[2026-07-13 17:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b65e7e8012d7f914005afd938000c011b23..."} 
[2026-07-13 17:46:45] local.INFO: Processing buffer {"connection_id":130497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b65e7e8012d7f914005afd938000c011b23..."} 
[2026-07-13 17:46:45] local.INFO: Packet analysis {"connection_id":130497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b65"} 
[2026-07-13 17:46:45] local.INFO: Extracted packet for processing {"connection_id":130497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b65"} 
[2026-07-13 17:46:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689800192001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783944833000,"timestamp_ms":1783944833000,"timestamp_seconds":1783944833,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b65e7e8"} 
[2026-07-13 17:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689800192001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689800192001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:46:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:46:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689800192001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":130497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:46:45] local.INFO: GPS data processed {"connection_id":130497,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:46:45] local.INFO: Acknowledgment sent {"connection_id":130497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:46:46] local.INFO: TCP Data received {"connection_id":130498,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b64b350012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b64b350012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:46:46] local.INFO: Processing buffer {"connection_id":130498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b64b350012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:46:46] local.INFO: Packet analysis {"connection_id":130498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b64"} 
[2026-07-13 17:46:46] local.INFO: Extracted packet for processing {"connection_id":130498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b64"} 
[2026-07-13 17:46:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689779968001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:46:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783944754000,"timestamp_ms":1783944754000,"timestamp_seconds":1783944754,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b64b350"} 
[2026-07-13 17:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 17:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689779968001,"66":24864,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689779968001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:46:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:46:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:46:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689779968001,"power":24864,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":130498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481033,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:46:46] local.INFO: GPS data processed {"connection_id":130498,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:46:46] local.INFO: Acknowledgment sent {"connection_id":130498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:46:50] local.INFO: TCP Data received {"connection_id":130497,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b65e7e8012d7f914005afd938000c011b23..."} 
[2026-07-13 17:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b65e7e8012d7f914005afd938000c011b23..."} 
[2026-07-13 17:46:50] local.INFO: Processing buffer {"connection_id":130497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b65e7e8012d7f914005afd938000c011b23..."} 
[2026-07-13 17:46:50] local.INFO: Packet analysis {"connection_id":130497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b65"} 
[2026-07-13 17:46:50] local.INFO: Extracted packet for processing {"connection_id":130497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b65"} 
[2026-07-13 17:46:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17: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-07-13 17:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689800192001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783944833000,"timestamp_ms":1783944833000,"timestamp_seconds":1783944833,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b65e7e8"} 
[2026-07-13 17:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:46: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-07-13 17: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-07-13 17:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:46: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-07-13 17:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689800192001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689800192001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:46:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:46:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689800192001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":130497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:46:50] local.INFO: GPS data processed {"connection_id":130497,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:46:50] local.INFO: Acknowledgment sent {"connection_id":130497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:46:53] local.INFO: TCP Data received {"connection_id":132853,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:46:53] local.INFO: Processing buffer {"connection_id":132853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:46:53] local.INFO: IMEI packet received {"connection_id":132853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 17:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":132853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:46:56] local.INFO: TCP Data received {"connection_id":132853,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:46:56] local.INFO: Processing buffer {"connection_id":132853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:46:56] local.INFO: IMEI packet received {"connection_id":132853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 17:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":132853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:46:56] local.INFO: TCP Data received {"connection_id":132853,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6670a00100000000000000000000000000..."} 
[2026-07-13 17:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6670a00100000000000000000000000000..."} 
[2026-07-13 17:46:56] local.INFO: Processing buffer {"connection_id":132853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6670a00100000000000000000000000000..."} 
[2026-07-13 17:46:56] local.INFO: Packet analysis {"connection_id":132853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b66"} 
[2026-07-13 17:46:56] local.INFO: Extracted packet for processing {"connection_id":132853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b66"} 
[2026-07-13 17:46:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 17: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-07-13 17:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5885599844139008,"note":"Value kept but may cause issues"} 
[2026-07-13 17:46:56] 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-07-13 17:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783944868000,"timestamp_ms":1783944868000,"timestamp_seconds":1783944868,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6670a0"} 
[2026-07-13 17:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-13 17:46:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17: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-07-13 17:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 17:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 17:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":132853,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 17:46:56] local.INFO: GPS data processed {"connection_id":132853,"processed":0,"errors":0,"total":1} 
[2026-07-13 17:46:56] local.INFO: Acknowledgment sent {"connection_id":132853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:47:18] local.INFO: TCP Data received {"connection_id":130498,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b64b350012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b64b350012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:47:18] local.INFO: Processing buffer {"connection_id":130498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b64b350012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:47:18] local.INFO: Packet analysis {"connection_id":130498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b64"} 
[2026-07-13 17:47:18] local.INFO: Extracted packet for processing {"connection_id":130498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b64"} 
[2026-07-13 17:47:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689779968001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:47:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783944754000,"timestamp_ms":1783944754000,"timestamp_seconds":1783944754,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b64b350"} 
[2026-07-13 17:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 17:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689779968001,"66":24864,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689779968001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:47:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:47:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:47:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689779968001,"power":24864,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":130498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481035,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:47:18] local.INFO: GPS data processed {"connection_id":130498,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:47:18] local.INFO: Acknowledgment sent {"connection_id":130498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:47:27] local.INFO: TCP Data received {"connection_id":132853,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b66c2a80100000000000000000000000000..."} 
[2026-07-13 17:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b66c2a80100000000000000000000000000..."} 
[2026-07-13 17:47:27] local.INFO: Processing buffer {"connection_id":132853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b66c2a80100000000000000000000000000..."} 
[2026-07-13 17:47:27] local.INFO: Packet analysis {"connection_id":132853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b66"} 
[2026-07-13 17:47:27] local.INFO: Extracted packet for processing {"connection_id":132853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b66"} 
[2026-07-13 17:47:27] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 17:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5885599844139008,"note":"Value kept but may cause issues"} 
[2026-07-13 17:47:27] 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-07-13 17:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783944889000,"timestamp_ms":1783944889000,"timestamp_seconds":1783944889,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b66c2a8"} 
[2026-07-13 17:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3072,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-13 17:47:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:47:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 17:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 17:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":132853,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 17:47:27] local.INFO: GPS data processed {"connection_id":132853,"processed":0,"errors":0,"total":1} 
[2026-07-13 17:47:27] local.INFO: Acknowledgment sent {"connection_id":132853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:47:34] local.INFO: TCP Data received {"connection_id":130499,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:47:34] local.INFO: Processing buffer {"connection_id":130499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:47:34] local.INFO: IMEI packet received {"connection_id":130499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":130499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:47:39] local.INFO: TCP Data received {"connection_id":130499,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:47:39] local.INFO: Processing buffer {"connection_id":130499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:47:39] local.INFO: IMEI packet received {"connection_id":130499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":130499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:47:40] local.INFO: TCP Data received {"connection_id":130499,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b65e7e8012d7f914005afd938000c011b23..."} 
[2026-07-13 17:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b65e7e8012d7f914005afd938000c011b23..."} 
[2026-07-13 17:47:40] local.INFO: Processing buffer {"connection_id":130499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b65e7e8012d7f914005afd938000c011b23..."} 
[2026-07-13 17:47:40] local.INFO: Packet analysis {"connection_id":130499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b65"} 
[2026-07-13 17:47:40] local.INFO: Extracted packet for processing {"connection_id":130499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b65"} 
[2026-07-13 17:47:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689800192001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783944833000,"timestamp_ms":1783944833000,"timestamp_seconds":1783944833,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b65e7e8"} 
[2026-07-13 17:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689800192001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689800192001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:47:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:47:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689800192001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":130499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:47:40] local.INFO: GPS data processed {"connection_id":130499,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:47:40] local.INFO: Acknowledgment sent {"connection_id":130499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:47:45] local.INFO: TCP Data received {"connection_id":130716,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130716,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:47:45] local.INFO: Processing buffer {"connection_id":130716,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:47:45] local.INFO: IMEI packet received {"connection_id":130716,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":130716,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:47:50] local.INFO: TCP Data received {"connection_id":130716,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130716,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:47:50] local.INFO: Processing buffer {"connection_id":130716,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:47:50] local.INFO: IMEI packet received {"connection_id":130716,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":130716,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:47:51] local.INFO: TCP Data received {"connection_id":130716,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b64b350012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b64b350012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:47:51] local.INFO: Processing buffer {"connection_id":130716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b64b350012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:47:51] local.INFO: Packet analysis {"connection_id":130716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b64"} 
[2026-07-13 17:47:51] local.INFO: Extracted packet for processing {"connection_id":130716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b64"} 
[2026-07-13 17:47:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689779968001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:47:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783944754000,"timestamp_ms":1783944754000,"timestamp_seconds":1783944754,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b64b350"} 
[2026-07-13 17:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 17:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130716,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130716,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689779968001,"66":24864,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689779968001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:47:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:47:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:47:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689779968001,"power":24864,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":130716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481037,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:47:51] local.INFO: GPS data processed {"connection_id":130716,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:47:51] local.INFO: Acknowledgment sent {"connection_id":130716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:47:53] local.INFO: TCP Data received {"connection_id":130500,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:47:53] local.INFO: Processing buffer {"connection_id":130500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:47:53] local.INFO: IMEI packet received {"connection_id":130500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 17:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":130500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:47:56] local.INFO: TCP Data received {"connection_id":130716,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b64b350012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b64b350012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:47:56] local.INFO: Processing buffer {"connection_id":130716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b64b350012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:47:56] local.INFO: Packet analysis {"connection_id":130716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b64"} 
[2026-07-13 17:47:56] local.INFO: Extracted packet for processing {"connection_id":130716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b64"} 
[2026-07-13 17:47:56] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 17:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689779968001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:47:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783944754000,"timestamp_ms":1783944754000,"timestamp_seconds":1783944754,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b64b350"} 
[2026-07-13 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-07-13 17:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 17:47:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 17:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":130716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":130716,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":130716,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689779968001,"66":24864,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689779968001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:47:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:47:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:47:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689779968001,"power":24864,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":130716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481038,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:47:56] local.INFO: GPS data processed {"connection_id":130716,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:47:56] local.INFO: Acknowledgment sent {"connection_id":130716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:47:58] local.INFO: TCP Data received {"connection_id":130500,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:47:58] local.INFO: Processing buffer {"connection_id":130500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:47:58] local.INFO: IMEI packet received {"connection_id":130500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 17:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":130500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:47:58] local.INFO: TCP Data received {"connection_id":130500,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6714b00100000000000000000000000000..."} 
[2026-07-13 17:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6714b00100000000000000000000000000..."} 
[2026-07-13 17:47:58] local.INFO: Processing buffer {"connection_id":130500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6714b00100000000000000000000000000..."} 
[2026-07-13 17:47:58] local.INFO: Packet analysis {"connection_id":130500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b67"} 
[2026-07-13 17:47:58] local.INFO: Extracted packet for processing {"connection_id":130500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b67"} 
[2026-07-13 17:47:58] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 17:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5885599844139008,"note":"Value kept but may cause issues"} 
[2026-07-13 17:47:58] 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-07-13 17:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783944910000,"timestamp_ms":1783944910000,"timestamp_seconds":1783944910,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6714b0"} 
[2026-07-13 17:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-13 17:47:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:47:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 17:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 17:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":130500,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 17:47:58] local.INFO: GPS data processed {"connection_id":130500,"processed":0,"errors":0,"total":1} 
[2026-07-13 17:47:58] local.INFO: Acknowledgment sent {"connection_id":130500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:48:11] local.INFO: TCP Data received {"connection_id":130499,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b65e7e8012d7f914005afd938000c011b23..."} 
[2026-07-13 17:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b65e7e8012d7f914005afd938000c011b23..."} 
[2026-07-13 17:48:11] local.INFO: Processing buffer {"connection_id":130499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b65e7e8012d7f914005afd938000c011b23..."} 
[2026-07-13 17:48:11] local.INFO: Packet analysis {"connection_id":130499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b65"} 
[2026-07-13 17:48:11] local.INFO: Extracted packet for processing {"connection_id":130499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b65"} 
[2026-07-13 17:48:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689800192001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783944833000,"timestamp_ms":1783944833000,"timestamp_seconds":1783944833,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b65e7e8"} 
[2026-07-13 17:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689800192001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689800192001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:48:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:48:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689800192001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":130499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:48:11] local.INFO: GPS data processed {"connection_id":130499,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:48:11] local.INFO: Acknowledgment sent {"connection_id":130499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:48:30] local.INFO: TCP Data received {"connection_id":130500,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6766b80100000000000000000000000000..."} 
[2026-07-13 17:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6766b80100000000000000000000000000..."} 
[2026-07-13 17:48:30] local.INFO: Processing buffer {"connection_id":130500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6766b80100000000000000000000000000..."} 
[2026-07-13 17:48:30] local.INFO: Packet analysis {"connection_id":130500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b67"} 
[2026-07-13 17:48:30] local.INFO: Extracted packet for processing {"connection_id":130500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b67"} 
[2026-07-13 17:48:30] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 17:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5885599844139008,"note":"Value kept but may cause issues"} 
[2026-07-13 17:48:30] 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-07-13 17:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783944931000,"timestamp_ms":1783944931000,"timestamp_seconds":1783944931,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6766b8"} 
[2026-07-13 17:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:48: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-13 17:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":130500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":130500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":130500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 17:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 17:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":130500,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 17:48:30] local.INFO: GPS data processed {"connection_id":130500,"processed":0,"errors":0,"total":1} 
[2026-07-13 17:48:30] local.INFO: Acknowledgment sent {"connection_id":130500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:48:34] local.INFO: TCP Data received {"connection_id":132854,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:48:34] local.INFO: Processing buffer {"connection_id":132854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:48:34] local.INFO: IMEI packet received {"connection_id":132854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":132854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:48:39] local.INFO: TCP Data received {"connection_id":132854,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:48:39] local.INFO: Processing buffer {"connection_id":132854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:48:39] local.INFO: IMEI packet received {"connection_id":132854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":132854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:48:40] local.INFO: TCP Data received {"connection_id":130501,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130501,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:48:40] local.INFO: Processing buffer {"connection_id":130501,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:48:40] local.INFO: IMEI packet received {"connection_id":130501,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":130501,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:48:40] local.INFO: TCP Data received {"connection_id":132854,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b65e7e8012d7f914005afd938000c011b23..."} 
[2026-07-13 17:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b65e7e8012d7f914005afd938000c011b23..."} 
[2026-07-13 17:48:40] local.INFO: Processing buffer {"connection_id":132854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b65e7e8012d7f914005afd938000c011b23..."} 
[2026-07-13 17:48:40] local.INFO: Packet analysis {"connection_id":132854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b65"} 
[2026-07-13 17:48:40] local.INFO: Extracted packet for processing {"connection_id":132854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b65"} 
[2026-07-13 17:48:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689800192001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783944833000,"timestamp_ms":1783944833000,"timestamp_seconds":1783944833,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b65e7e8"} 
[2026-07-13 17:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689800192001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689800192001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:48:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:48:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689800192001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":132854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:48:40] local.INFO: GPS data processed {"connection_id":132854,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:48:40] local.INFO: Acknowledgment sent {"connection_id":132854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:48:45] local.INFO: TCP Data received {"connection_id":130501,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130501,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:48:45] local.INFO: Processing buffer {"connection_id":130501,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:48:45] local.INFO: IMEI packet received {"connection_id":130501,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":130501,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:48:48] local.INFO: TCP Data received {"connection_id":130501,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b694b18012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b694b18012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:48:48] local.INFO: Processing buffer {"connection_id":130501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b694b18012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:48:48] local.INFO: Packet analysis {"connection_id":130501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b69"} 
[2026-07-13 17:48:48] local.INFO: Extracted packet for processing {"connection_id":130501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b69"} 
[2026-07-13 17:48:48] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689857024001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:48:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783945055000,"timestamp_ms":1783945055000,"timestamp_seconds":1783945055,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b694b18"} 
[2026-07-13 17:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-13 17:48:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:48:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":130501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":130501,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":130501,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689857024001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689857024001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:48:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:48:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:48:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689857024001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":130501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481041,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:48:48] local.INFO: GPS data processed {"connection_id":130501,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:48:48] local.INFO: Acknowledgment sent {"connection_id":130501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:48:50] local.INFO: TCP Data received {"connection_id":130717,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130717,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:48:50] local.INFO: Processing buffer {"connection_id":130717,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:48:50] local.INFO: IMEI packet received {"connection_id":130717,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":130717,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:48:53] local.INFO: TCP Data received {"connection_id":131527,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:48:53] local.INFO: Processing buffer {"connection_id":131527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:48:53] local.INFO: IMEI packet received {"connection_id":131527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 17:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":131527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:48:54] local.INFO: TCP Data received {"connection_id":130717,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130717,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:48:54] local.INFO: Processing buffer {"connection_id":130717,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:48:54] local.INFO: IMEI packet received {"connection_id":130717,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":130717,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:48:55] local.INFO: TCP Data received {"connection_id":130717,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6a02b0012d82408005da08e0001101041f..."} 
[2026-07-13 17:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6a02b0012d82408005da08e0001101041f..."} 
[2026-07-13 17:48:55] local.INFO: Processing buffer {"connection_id":130717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6a02b0012d82408005da08e0001101041f..."} 
[2026-07-13 17:48:55] local.INFO: Packet analysis {"connection_id":130717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:48:55] local.INFO: Extracted packet for processing {"connection_id":130717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:48:55] local.INFO: GPS Element Parsed {"raw_longitude":763510912,"raw_latitude":98175200,"longitude_deg":76.3510912,"latitude_deg":9.81752,"altitude":17,"angle":260,"satellites":31,"speed":0,"hex_longitude":"2d824080","hex_latitude":"05da08e0","is_valid_coordinates":true} 
[2026-07-13 17:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947596127731712,"note":"Value kept but may cause issues"} 
[2026-07-13 17:48:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,71,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 17:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783945102000,"timestamp_ms":1783945102000,"timestamp_seconds":1783945102,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6a02b0"} 
[2026-07-13 17:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-13 17:48:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12917,"71":206,"85":15104,"24":0,"16":105947596127731712},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16]} 
[2026-07-13 17:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-13 17:48:55] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:48:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947596127731712,"km_value":105947596127731.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:48:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12917,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-07-13 17:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":130717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481042,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:48:55] local.INFO: GPS data processed {"connection_id":130717,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:48:55] local.INFO: Acknowledgment sent {"connection_id":130717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:48:58] local.INFO: TCP Data received {"connection_id":131527,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:48:58] local.INFO: Processing buffer {"connection_id":131527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:48:58] local.INFO: IMEI packet received {"connection_id":131527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 17:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":131527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:49:00] local.INFO: TCP Data received {"connection_id":131527,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b67b8c00100000000000000000000000000..."} 
[2026-07-13 17:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b67b8c00100000000000000000000000000..."} 
[2026-07-13 17:49:00] local.INFO: Processing buffer {"connection_id":131527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b67b8c00100000000000000000000000000..."} 
[2026-07-13 17:49:00] local.INFO: Packet analysis {"connection_id":131527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b67"} 
[2026-07-13 17:49:00] local.INFO: Extracted packet for processing {"connection_id":131527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b67"} 
[2026-07-13 17:49:00] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 17:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5885599844139008,"note":"Value kept but may cause issues"} 
[2026-07-13 17:49:00] 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-07-13 17:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783944952000,"timestamp_ms":1783944952000,"timestamp_seconds":1783944952,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b67b8c0"} 
[2026-07-13 17:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-13 17:49: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-07-13 17:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":131527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":131527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":131527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 17:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 17:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":131527,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 17:49:00] local.INFO: GPS data processed {"connection_id":131527,"processed":0,"errors":0,"total":1} 
[2026-07-13 17:49:00] local.INFO: Acknowledgment sent {"connection_id":131527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:49:11] local.INFO: TCP Data received {"connection_id":132854,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b65e7e8012d7f914005afd938000c011b23..."} 
[2026-07-13 17:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b65e7e8012d7f914005afd938000c011b23..."} 
[2026-07-13 17:49:11] local.INFO: Processing buffer {"connection_id":132854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b65e7e8012d7f914005afd938000c011b23..."} 
[2026-07-13 17:49:11] local.INFO: Packet analysis {"connection_id":132854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b65"} 
[2026-07-13 17:49:11] local.INFO: Extracted packet for processing {"connection_id":132854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b65"} 
[2026-07-13 17:49:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":12,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689800192001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783944833000,"timestamp_ms":1783944833000,"timestamp_seconds":1783944833,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b65e7e8"} 
[2026-07-13 17:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689800192001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 17:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689800192001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:49:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 17:49:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689800192001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":132854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:49:11] local.INFO: GPS data processed {"connection_id":132854,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:49:11] local.INFO: Acknowledgment sent {"connection_id":132854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:49:19] local.INFO: TCP Data received {"connection_id":130501,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b694b18012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b694b18012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:49:19] local.INFO: Processing buffer {"connection_id":130501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b694b18012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:49:19] local.INFO: Packet analysis {"connection_id":130501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b69"} 
[2026-07-13 17:49:19] local.INFO: Extracted packet for processing {"connection_id":130501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b69"} 
[2026-07-13 17:49:19] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689857024001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:49:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783945055000,"timestamp_ms":1783945055000,"timestamp_seconds":1783945055,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b694b18"} 
[2026-07-13 17:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-13 17:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130501,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130501,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689857024001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689857024001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:49:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:49:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:49:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689857024001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":130501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481044,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:49:19] local.INFO: GPS data processed {"connection_id":130501,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:49:19] local.INFO: Acknowledgment sent {"connection_id":130501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:49:25] local.INFO: TCP Data received {"connection_id":130717,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6a02b0012d82408005da08e0001101041f..."} 
[2026-07-13 17:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6a02b0012d82408005da08e0001101041f..."} 
[2026-07-13 17:49:25] local.INFO: Processing buffer {"connection_id":130717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6a02b0012d82408005da08e0001101041f..."} 
[2026-07-13 17:49:25] local.INFO: Packet analysis {"connection_id":130717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:49:25] local.INFO: Extracted packet for processing {"connection_id":130717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:49:25] local.INFO: GPS Element Parsed {"raw_longitude":763510912,"raw_latitude":98175200,"longitude_deg":76.3510912,"latitude_deg":9.81752,"altitude":17,"angle":260,"satellites":31,"speed":0,"hex_longitude":"2d824080","hex_latitude":"05da08e0","is_valid_coordinates":true} 
[2026-07-13 17:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947596127731712,"note":"Value kept but may cause issues"} 
[2026-07-13 17:49:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,71,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 17:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783945102000,"timestamp_ms":1783945102000,"timestamp_seconds":1783945102,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6a02b0"} 
[2026-07-13 17:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-13 17:49:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17: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-07-13 17:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":130717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":130717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":130717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12917,"71":206,"85":15104,"24":0,"16":105947596127731712},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16]} 
[2026-07-13 17:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-13 17:49:25] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:49:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947596127731712,"km_value":105947596127731.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:49:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12917,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-07-13 17:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":130717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481045,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:49:25] local.INFO: GPS data processed {"connection_id":130717,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:49:25] local.INFO: Acknowledgment sent {"connection_id":130717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:49:32] local.INFO: TCP Data received {"connection_id":131527,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b680ac80100000000000000000000000000..."} 
[2026-07-13 17:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b680ac80100000000000000000000000000..."} 
[2026-07-13 17:49:32] local.INFO: Processing buffer {"connection_id":131527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b680ac80100000000000000000000000000..."} 
[2026-07-13 17:49:32] local.INFO: Packet analysis {"connection_id":131527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b68"} 
[2026-07-13 17:49:32] local.INFO: Extracted packet for processing {"connection_id":131527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b68"} 
[2026-07-13 17:49:32] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 17:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5885599844139008,"note":"Value kept but may cause issues"} 
[2026-07-13 17:49:32] 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-07-13 17:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783944973000,"timestamp_ms":1783944973000,"timestamp_seconds":1783944973,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b680ac8"} 
[2026-07-13 17:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-13 17:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":131527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":131527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":131527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 17:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 17:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":131527,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 17:49:32] local.INFO: GPS data processed {"connection_id":131527,"processed":0,"errors":0,"total":1} 
[2026-07-13 17:49:32] local.INFO: Acknowledgment sent {"connection_id":131527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:49:39] local.INFO: TCP Data received {"connection_id":130502,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:49:39] local.INFO: Processing buffer {"connection_id":130502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:49:39] local.INFO: IMEI packet received {"connection_id":130502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":130502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:49:39] local.INFO: TCP Data received {"connection_id":130718,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:49:39] local.INFO: Processing buffer {"connection_id":130718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:49:39] local.INFO: IMEI packet received {"connection_id":130718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":130718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:49:44] local.INFO: TCP Data received {"connection_id":130502,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:49:44] local.INFO: Processing buffer {"connection_id":130502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:49:44] local.INFO: IMEI packet received {"connection_id":130502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":130502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:49:45] local.INFO: TCP Data received {"connection_id":130718,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:49:45] local.INFO: Processing buffer {"connection_id":130718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:49:45] local.INFO: IMEI packet received {"connection_id":130718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":130718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:49:45] local.INFO: TCP Data received {"connection_id":130502,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6a7fb0012d7f914005afd938000d011b22..."} 
[2026-07-13 17:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6a7fb0012d7f914005afd938000d011b22..."} 
[2026-07-13 17:49:45] local.INFO: Processing buffer {"connection_id":130502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6a7fb0012d7f914005afd938000d011b22..."} 
[2026-07-13 17:49:45] local.INFO: Packet analysis {"connection_id":130502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:49:45] local.INFO: Extracted packet for processing {"connection_id":130502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:49:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689877248001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783945134000,"timestamp_ms":1783945134000,"timestamp_seconds":1783945134,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6a7fb0"} 
[2026-07-13 17:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689877248001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689877248001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:49:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:49:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689877248001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":130502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:49:45] local.INFO: GPS data processed {"connection_id":130502,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:49:45] local.INFO: Acknowledgment sent {"connection_id":130502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:49:46] local.INFO: TCP Data received {"connection_id":130718,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b694b18012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b694b18012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:49:46] local.INFO: Processing buffer {"connection_id":130718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b694b18012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:49:46] local.INFO: Packet analysis {"connection_id":130718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b69"} 
[2026-07-13 17:49:46] local.INFO: Extracted packet for processing {"connection_id":130718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b69"} 
[2026-07-13 17:49:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689857024001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:49:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783945055000,"timestamp_ms":1783945055000,"timestamp_seconds":1783945055,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b694b18"} 
[2026-07-13 17:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-13 17:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689857024001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689857024001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:49:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:49:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:49:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689857024001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":130718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481047,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:49:46] local.INFO: GPS data processed {"connection_id":130718,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:49:46] local.INFO: Acknowledgment sent {"connection_id":130718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:49:52] local.INFO: TCP Data received {"connection_id":130503,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:49:52] local.INFO: Processing buffer {"connection_id":130503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:49:52] local.INFO: IMEI packet received {"connection_id":130503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 17:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":130503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:49:56] local.INFO: TCP Data received {"connection_id":130502,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6a7fb0012d7f914005afd938000d011b22..."} 
[2026-07-13 17:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6a7fb0012d7f914005afd938000d011b22..."} 
[2026-07-13 17:49:56] local.INFO: Processing buffer {"connection_id":130502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6a7fb0012d7f914005afd938000d011b22..."} 
[2026-07-13 17:49:56] local.INFO: Packet analysis {"connection_id":130502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:49:56] local.INFO: Extracted packet for processing {"connection_id":130502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:49:56] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689877248001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783945134000,"timestamp_ms":1783945134000,"timestamp_seconds":1783945134,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6a7fb0"} 
[2026-07-13 17:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":130502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":130502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":130502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689877248001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689877248001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:49:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:49:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689877248001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":130502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:49:56] local.INFO: GPS data processed {"connection_id":130502,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:49:56] local.INFO: Acknowledgment sent {"connection_id":130502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:49:57] local.INFO: TCP Data received {"connection_id":130717,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6a02b0012d82408005da08e0001101041f..."} 
[2026-07-13 17:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6a02b0012d82408005da08e0001101041f..."} 
[2026-07-13 17:49:57] local.INFO: Processing buffer {"connection_id":130717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6a02b0012d82408005da08e0001101041f..."} 
[2026-07-13 17:49:57] local.INFO: Packet analysis {"connection_id":130717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:49:57] local.INFO: Extracted packet for processing {"connection_id":130717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:49:57] local.INFO: GPS Element Parsed {"raw_longitude":763510912,"raw_latitude":98175200,"longitude_deg":76.3510912,"latitude_deg":9.81752,"altitude":17,"angle":260,"satellites":31,"speed":0,"hex_longitude":"2d824080","hex_latitude":"05da08e0","is_valid_coordinates":true} 
[2026-07-13 17:49: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-07-13 17:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947596127731712,"note":"Value kept but may cause issues"} 
[2026-07-13 17:49:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,71,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 17:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783945102000,"timestamp_ms":1783945102000,"timestamp_seconds":1783945102,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6a02b0"} 
[2026-07-13 17:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-13 17:49:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:49:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":130717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":130717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":130717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12917,"71":206,"85":15104,"24":0,"16":105947596127731712},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16]} 
[2026-07-13 17:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-13 17:49:57] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:49:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947596127731712,"km_value":105947596127731.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:49:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12917,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-07-13 17:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":130717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481049,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:49:57] local.INFO: GPS data processed {"connection_id":130717,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:49:57] local.INFO: Acknowledgment sent {"connection_id":130717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:49:58] local.INFO: TCP Data received {"connection_id":130503,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:49:58] local.INFO: Processing buffer {"connection_id":130503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:49:58] local.INFO: IMEI packet received {"connection_id":130503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 17:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":130503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:49:59] local.INFO: TCP Data received {"connection_id":130503,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b685cd00100000000000000000000000000..."} 
[2026-07-13 17:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b685cd00100000000000000000000000000..."} 
[2026-07-13 17:49:59] local.INFO: Processing buffer {"connection_id":130503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b685cd00100000000000000000000000000..."} 
[2026-07-13 17:49:59] local.INFO: Packet analysis {"connection_id":130503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b68"} 
[2026-07-13 17:49:59] local.INFO: Extracted packet for processing {"connection_id":130503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b68"} 
[2026-07-13 17:49:59] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 17:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5885599844139008,"note":"Value kept but may cause issues"} 
[2026-07-13 17:49:59] 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-07-13 17:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783944994000,"timestamp_ms":1783944994000,"timestamp_seconds":1783944994,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b685cd0"} 
[2026-07-13 17:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-13 17:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":130503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":130503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":130503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 17:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 17:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":130503,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 17:49:59] local.INFO: GPS data processed {"connection_id":130503,"processed":0,"errors":0,"total":1} 
[2026-07-13 17:49:59] local.INFO: Acknowledgment sent {"connection_id":130503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:50:18] local.INFO: TCP Data received {"connection_id":130718,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b694b18012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b694b18012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:50:18] local.INFO: Processing buffer {"connection_id":130718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b694b18012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:50:18] local.INFO: Packet analysis {"connection_id":130718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b69"} 
[2026-07-13 17:50:18] local.INFO: Extracted packet for processing {"connection_id":130718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b69"} 
[2026-07-13 17:50:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689857024001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:50:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783945055000,"timestamp_ms":1783945055000,"timestamp_seconds":1783945055,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b694b18"} 
[2026-07-13 17:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-13 17:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689857024001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689857024001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:50:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:50:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:50:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689857024001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":130718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481050,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:50:18] local.INFO: GPS data processed {"connection_id":130718,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:50:18] local.INFO: Acknowledgment sent {"connection_id":130718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:50:27] local.INFO: TCP Data received {"connection_id":130717,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6a02b0012d82408005da08e0001101041f..."} 
[2026-07-13 17:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6a02b0012d82408005da08e0001101041f..."} 
[2026-07-13 17:50:27] local.INFO: Processing buffer {"connection_id":130717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6a02b0012d82408005da08e0001101041f..."} 
[2026-07-13 17:50:27] local.INFO: Packet analysis {"connection_id":130717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:50:27] local.INFO: Extracted packet for processing {"connection_id":130717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:50:27] local.INFO: GPS Element Parsed {"raw_longitude":763510912,"raw_latitude":98175200,"longitude_deg":76.3510912,"latitude_deg":9.81752,"altitude":17,"angle":260,"satellites":31,"speed":0,"hex_longitude":"2d824080","hex_latitude":"05da08e0","is_valid_coordinates":true} 
[2026-07-13 17:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947596127731712,"note":"Value kept but may cause issues"} 
[2026-07-13 17:50:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,71,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 17:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783945102000,"timestamp_ms":1783945102000,"timestamp_seconds":1783945102,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6a02b0"} 
[2026-07-13 17:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-13 17:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":130717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":130717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":130717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12917,"71":206,"85":15104,"24":0,"16":105947596127731712},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16]} 
[2026-07-13 17:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-13 17:50:27] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:50:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947596127731712,"km_value":105947596127731.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:50:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12917,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-07-13 17:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":130717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:50:27] local.INFO: GPS data processed {"connection_id":130717,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:50:27] local.INFO: Acknowledgment sent {"connection_id":130717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:50:30] local.INFO: TCP Data received {"connection_id":130503,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b68aed80100000000000000000000000000..."} 
[2026-07-13 17:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b68aed80100000000000000000000000000..."} 
[2026-07-13 17:50:30] local.INFO: Processing buffer {"connection_id":130503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b68aed80100000000000000000000000000..."} 
[2026-07-13 17:50:30] local.INFO: Packet analysis {"connection_id":130503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b68"} 
[2026-07-13 17:50:30] local.INFO: Extracted packet for processing {"connection_id":130503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b68"} 
[2026-07-13 17:50:30] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 17:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5885599844139008,"note":"Value kept but may cause issues"} 
[2026-07-13 17:50:30] 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-07-13 17:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783945015000,"timestamp_ms":1783945015000,"timestamp_seconds":1783945015,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b68aed8"} 
[2026-07-13 17:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-13 17:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":130503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":130503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":130503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 17:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 17:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":130503,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 17:50:30] local.INFO: GPS data processed {"connection_id":130503,"processed":0,"errors":0,"total":1} 
[2026-07-13 17:50:30] local.INFO: Acknowledgment sent {"connection_id":130503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:50:39] local.INFO: TCP Data received {"connection_id":131528,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:50:39] local.INFO: Processing buffer {"connection_id":131528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:50:39] local.INFO: IMEI packet received {"connection_id":131528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":131528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:50:44] local.INFO: TCP Data received {"connection_id":131528,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:50:44] local.INFO: Processing buffer {"connection_id":131528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:50:44] local.INFO: IMEI packet received {"connection_id":131528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":131528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:50:46] local.INFO: TCP Data received {"connection_id":131528,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6a7fb0012d7f914005afd938000d011b22..."} 
[2026-07-13 17:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6a7fb0012d7f914005afd938000d011b22..."} 
[2026-07-13 17:50:46] local.INFO: Processing buffer {"connection_id":131528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6a7fb0012d7f914005afd938000d011b22..."} 
[2026-07-13 17:50:46] local.INFO: Packet analysis {"connection_id":131528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:50:46] local.INFO: Extracted packet for processing {"connection_id":131528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:50:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689877248001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783945134000,"timestamp_ms":1783945134000,"timestamp_seconds":1783945134,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6a7fb0"} 
[2026-07-13 17:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:50:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689877248001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689877248001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:50:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:50:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689877248001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":131528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:50:46] local.INFO: GPS data processed {"connection_id":131528,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:50:46] local.INFO: Acknowledgment sent {"connection_id":131528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:50:46] local.INFO: TCP Data received {"connection_id":132855,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132855,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:50:46] local.INFO: Processing buffer {"connection_id":132855,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:50:46] local.INFO: IMEI packet received {"connection_id":132855,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":132855,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:50:50] local.INFO: TCP Data received {"connection_id":132855,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132855,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:50:50] local.INFO: Processing buffer {"connection_id":132855,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:50:50] local.INFO: IMEI packet received {"connection_id":132855,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":132855,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:50:50] local.INFO: TCP Data received {"connection_id":131528,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6a7fb0012d7f914005afd938000d011b22..."} 
[2026-07-13 17:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6a7fb0012d7f914005afd938000d011b22..."} 
[2026-07-13 17:50:50] local.INFO: Processing buffer {"connection_id":131528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6a7fb0012d7f914005afd938000d011b22..."} 
[2026-07-13 17:50:50] local.INFO: Packet analysis {"connection_id":131528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:50:50] local.INFO: Extracted packet for processing {"connection_id":131528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:50:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17: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-07-13 17:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689877248001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783945134000,"timestamp_ms":1783945134000,"timestamp_seconds":1783945134,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6a7fb0"} 
[2026-07-13 17:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:50: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-07-13 17: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-07-13 17:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:50: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-07-13 17:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689877248001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689877248001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:50:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:50:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689877248001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":131528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:50:50] local.INFO: GPS data processed {"connection_id":131528,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:50:50] local.INFO: Acknowledgment sent {"connection_id":131528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:50:51] local.INFO: TCP Data received {"connection_id":132855,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b694b18012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b694b18012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:50:51] local.INFO: Processing buffer {"connection_id":132855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b694b18012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:50:51] local.INFO: Packet analysis {"connection_id":132855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b69"} 
[2026-07-13 17:50:51] local.INFO: Extracted packet for processing {"connection_id":132855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b69"} 
[2026-07-13 17:50:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17: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-07-13 17:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689857024001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:50:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783945055000,"timestamp_ms":1783945055000,"timestamp_seconds":1783945055,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b694b18"} 
[2026-07-13 17:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-13 17:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17: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-07-13 17:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689857024001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689857024001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:50:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:50:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:50:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689857024001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":132855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481054,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:50:51] local.INFO: GPS data processed {"connection_id":132855,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:50:51] local.INFO: Acknowledgment sent {"connection_id":132855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:50:52] local.INFO: TCP Data received {"connection_id":130504,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:50:52] local.INFO: Processing buffer {"connection_id":130504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:50:52] local.INFO: IMEI packet received {"connection_id":130504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 17:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":130504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:50:55] local.INFO: TCP Data received {"connection_id":132855,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b694b18012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b694b18012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:50:55] local.INFO: Processing buffer {"connection_id":132855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b694b18012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:50:55] local.INFO: Packet analysis {"connection_id":132855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b69"} 
[2026-07-13 17:50:55] local.INFO: Extracted packet for processing {"connection_id":132855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b69"} 
[2026-07-13 17:50:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689857024001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:50:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783945055000,"timestamp_ms":1783945055000,"timestamp_seconds":1783945055,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b694b18"} 
[2026-07-13 17:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-13 17:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":132855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":132855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":132855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689857024001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689857024001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:50:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:50:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:50:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689857024001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":132855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481055,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:50:55] local.INFO: GPS data processed {"connection_id":132855,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:50:55] local.INFO: Acknowledgment sent {"connection_id":132855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:50:57] local.INFO: TCP Data received {"connection_id":130504,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:50:57] local.INFO: Processing buffer {"connection_id":130504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:50:57] local.INFO: IMEI packet received {"connection_id":130504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 17:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":130504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:50:57] local.INFO: TCP Data received {"connection_id":130504,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:50:57] local.INFO: Processing buffer {"connection_id":130504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:50:57] local.INFO: IMEI packet received {"connection_id":130504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 17:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":130504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:50:58] local.INFO: TCP Data received {"connection_id":130504,"ip":"42.106.6.42","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f5b..."} 
[2026-07-13 17:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130504,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f5b..."} 
[2026-07-13 17:50:58] local.INFO: Processing buffer {"connection_id":130504,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f5b..."} 
[2026-07-13 17:50:58] local.INFO: IMEI packet received {"connection_id":130504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 17:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":130504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:50:58] local.INFO: TCP Data received {"connection_id":130717,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6a02b0012d82408005da08e0001101041f..."} 
[2026-07-13 17:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6a02b0012d82408005da08e0001101041f..."} 
[2026-07-13 17:50:58] local.INFO: Processing buffer {"connection_id":130717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6a02b0012d82408005da08e0001101041f..."} 
[2026-07-13 17:50:58] local.INFO: Packet analysis {"connection_id":130717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:50:58] local.INFO: Extracted packet for processing {"connection_id":130717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:50:58] local.INFO: GPS Element Parsed {"raw_longitude":763510912,"raw_latitude":98175200,"longitude_deg":76.3510912,"latitude_deg":9.81752,"altitude":17,"angle":260,"satellites":31,"speed":0,"hex_longitude":"2d824080","hex_latitude":"05da08e0","is_valid_coordinates":true} 
[2026-07-13 17:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947596127731712,"note":"Value kept but may cause issues"} 
[2026-07-13 17:50:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,71,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 17:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783945102000,"timestamp_ms":1783945102000,"timestamp_seconds":1783945102,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6a02b0"} 
[2026-07-13 17:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-13 17:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17: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-07-13 17:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12917,"71":206,"85":15104,"24":0,"16":105947596127731712},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16]} 
[2026-07-13 17:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-13 17:50:58] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:50:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947596127731712,"km_value":105947596127731.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:50:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12917,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-07-13 17:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":130717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481056,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:50:58] local.INFO: GPS data processed {"connection_id":130717,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:50:58] local.INFO: Acknowledgment sent {"connection_id":130717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:51:03] local.INFO: TCP Data received {"connection_id":130504,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6c5858012d189f0007227790007f001208..."} 
[2026-07-13 17:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6c5858012d189f0007227790007f001208..."} 
[2026-07-13 17:51:03] local.INFO: Processing buffer {"connection_id":130504,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f5b6c21a8012d188cc007225850007c001f08..."} 
[2026-07-13 17:51:03] local.INFO: Packet analysis {"connection_id":130504,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f5b6c"} 
[2026-07-13 17:51:03] local.INFO: Extracted packet for processing {"connection_id":130504,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6c"} 
[2026-07-13 17:51:03] local.INFO: GPS Element Parsed {"raw_longitude":756583616,"raw_latitude":119691344,"longitude_deg":75.6583616,"latitude_deg":11.9691344,"altitude":124,"angle":31,"satellites":8,"speed":31,"hex_longitude":"2d188cc0","hex_latitude":"07225850","is_valid_coordinates":true} 
[2026-07-13 17:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689979136001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5886484607401984,"note":"Value kept but may cause issues"} 
[2026-07-13 17:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763229653498843136,"note":"Value kept but may cause issues"} 
[2026-07-13 17:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783945241000,"timestamp_ms":1783945241000,"timestamp_seconds":1783945241,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6c21a8"} 
[2026-07-13 17:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-13 17:51: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-07-13 17:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":130504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":130504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":130504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 17:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 17:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689979136001,"66":14048,"105":206,"83":41984,"24":31,"16":5886484607401984,"45":1763229653498843136},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-13 17:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 17:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 17:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689979136001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:51:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-13 17:51:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 17:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5886484607401984,"km_value":5886484607401.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763229653498843136,"description":"Unknown IO ID 45"} 
[2026-07-13 17:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689979136001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1763229653498843136}} 
[2026-07-13 17:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":130504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:51:03] local.INFO: GPS data processed {"connection_id":130504,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:51:03] local.INFO: Acknowledgment sent {"connection_id":130504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:51:03] local.INFO: Packet analysis {"connection_id":130504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6c"} 
[2026-07-13 17:51:03] local.INFO: Extracted packet for processing {"connection_id":130504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6c"} 
[2026-07-13 17:51:03] local.INFO: GPS Element Parsed {"raw_longitude":756588288,"raw_latitude":119699344,"longitude_deg":75.6588288,"latitude_deg":11.9699344,"altitude":127,"angle":18,"satellites":8,"speed":19,"hex_longitude":"2d189f00","hex_latitude":"07227790","is_valid_coordinates":true} 
[2026-07-13 17:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689981696001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5886931284000768,"note":"Value kept but may cause issues"} 
[2026-07-13 17:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768999890523279360,"note":"Value kept but may cause issues"} 
[2026-07-13 17:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783945255000,"timestamp_ms":1783945255000,"timestamp_seconds":1783945255,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6c5858"} 
[2026-07-13 17:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-13 17:51: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-07-13 17:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":130504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":130504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":130504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 17:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 17:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689981696001,"66":14070,"105":206,"83":41984,"24":19,"16":5886931284000768,"45":1768999890523279360},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-13 17:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 17:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 17:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689981696001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:51:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-13 17:51:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 17:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5886931284000768,"km_value":5886931284000.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768999890523279360,"description":"Unknown IO ID 45"} 
[2026-07-13 17:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689981696001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1768999890523279360}} 
[2026-07-13 17:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":130504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:51:03] local.INFO: GPS data processed {"connection_id":130504,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:51:03] local.INFO: Acknowledgment sent {"connection_id":130504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:51:29] local.INFO: TCP Data received {"connection_id":130717,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6a02b0012d82408005da08e0001101041f..."} 
[2026-07-13 17:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6a02b0012d82408005da08e0001101041f..."} 
[2026-07-13 17:51:29] local.INFO: Processing buffer {"connection_id":130717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6a02b0012d82408005da08e0001101041f..."} 
[2026-07-13 17:51:29] local.INFO: Packet analysis {"connection_id":130717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:51:29] local.INFO: Extracted packet for processing {"connection_id":130717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:51:29] local.INFO: GPS Element Parsed {"raw_longitude":763510912,"raw_latitude":98175200,"longitude_deg":76.3510912,"latitude_deg":9.81752,"altitude":17,"angle":260,"satellites":31,"speed":0,"hex_longitude":"2d824080","hex_latitude":"05da08e0","is_valid_coordinates":true} 
[2026-07-13 17:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947596127731712,"note":"Value kept but may cause issues"} 
[2026-07-13 17:51:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,71,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 17:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783945102000,"timestamp_ms":1783945102000,"timestamp_seconds":1783945102,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6a02b0"} 
[2026-07-13 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-07-13 17:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-13 17:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 17:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12917,"71":206,"85":15104,"24":0,"16":105947596127731712},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16]} 
[2026-07-13 17:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-13 17:51:29] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:51:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947596127731712,"km_value":105947596127731.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:51:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12917,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-07-13 17:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":130717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481059,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:51:29] local.INFO: GPS data processed {"connection_id":130717,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:51:29] local.INFO: Acknowledgment sent {"connection_id":130717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:51:35] local.INFO: TCP Data received {"connection_id":131529,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:51:35] local.INFO: Processing buffer {"connection_id":131529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:51:35] local.INFO: IMEI packet received {"connection_id":131529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":131529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:51:40] local.INFO: TCP Data received {"connection_id":130505,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130505,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:51:40] local.INFO: Processing buffer {"connection_id":130505,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:51:40] local.INFO: IMEI packet received {"connection_id":130505,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":130505,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:51:41] local.INFO: TCP Data received {"connection_id":131529,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:51:41] local.INFO: Processing buffer {"connection_id":131529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:51:41] local.INFO: IMEI packet received {"connection_id":131529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":131529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:51:44] local.INFO: TCP Data received {"connection_id":130504,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6c5858012d189f0007227790007f001208..."} 
[2026-07-13 17:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6c5858012d189f0007227790007f001208..."} 
[2026-07-13 17:51:44] local.INFO: Processing buffer {"connection_id":130504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6c5858012d189f0007227790007f001208..."} 
[2026-07-13 17:51:44] local.INFO: Packet analysis {"connection_id":130504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6c"} 
[2026-07-13 17:51:44] local.INFO: Extracted packet for processing {"connection_id":130504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6c"} 
[2026-07-13 17:51:44] local.INFO: GPS Element Parsed {"raw_longitude":756588288,"raw_latitude":119699344,"longitude_deg":75.6588288,"latitude_deg":11.9699344,"altitude":127,"angle":18,"satellites":8,"speed":19,"hex_longitude":"2d189f00","hex_latitude":"07227790","is_valid_coordinates":true} 
[2026-07-13 17:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689985280001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5886931284000768,"note":"Value kept but may cause issues"} 
[2026-07-13 17:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774136808850296832,"note":"Value kept but may cause issues"} 
[2026-07-13 17:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783945255000,"timestamp_ms":1783945255000,"timestamp_seconds":1783945255,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6c5858"} 
[2026-07-13 17:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-13 17:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 17:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 17:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689985280001,"66":14070,"105":206,"83":41984,"24":19,"16":5886931284000768,"45":1774136808850296832},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-13 17:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 17:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 17:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689985280001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:51:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-13 17:51:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 17:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5886931284000768,"km_value":5886931284000.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774136808850296832,"description":"Unknown IO ID 45"} 
[2026-07-13 17:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689985280001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1774136808850296832}} 
[2026-07-13 17:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":130504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:51:45] local.INFO: GPS data processed {"connection_id":130504,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:51:45] local.INFO: Acknowledgment sent {"connection_id":130504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:51:45] local.INFO: TCP Data received {"connection_id":130505,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130505,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:51:45] local.INFO: Processing buffer {"connection_id":130505,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:51:45] local.INFO: IMEI packet received {"connection_id":130505,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":130505,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:51:46] local.INFO: TCP Data received {"connection_id":130505,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b694b18012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b694b18012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:51:46] local.INFO: Processing buffer {"connection_id":130505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b694b18012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:51:46] local.INFO: Packet analysis {"connection_id":130505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b69"} 
[2026-07-13 17:51:46] local.INFO: Extracted packet for processing {"connection_id":130505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b69"} 
[2026-07-13 17:51:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689857024001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:51:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783945055000,"timestamp_ms":1783945055000,"timestamp_seconds":1783945055,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b694b18"} 
[2026-07-13 17:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-13 17:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130505,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130505,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689857024001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689857024001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:51:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:51:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:51:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689857024001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":130505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481061,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:51:46] local.INFO: GPS data processed {"connection_id":130505,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:51:46] local.INFO: Acknowledgment sent {"connection_id":130505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:51:50] local.INFO: TCP Data received {"connection_id":131529,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6a7fb0012d7f914005afd938000d011b22..."} 
[2026-07-13 17:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6a7fb0012d7f914005afd938000d011b22..."} 
[2026-07-13 17:51:50] local.INFO: Processing buffer {"connection_id":131529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6a7fb0012d7f914005afd938000d011b22..."} 
[2026-07-13 17:51:50] local.INFO: Packet analysis {"connection_id":131529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:51:50] local.INFO: Extracted packet for processing {"connection_id":131529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:51:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 17:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689877248001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783945134000,"timestamp_ms":1783945134000,"timestamp_seconds":1783945134,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6a7fb0"} 
[2026-07-13 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-07-13 17:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:51: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-07-13 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-07-13 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-07-13 17:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:51: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-07-13 17:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689877248001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689877248001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:51:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:51:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689877248001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":131529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:51:50] local.INFO: GPS data processed {"connection_id":131529,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:51:50] local.INFO: Acknowledgment sent {"connection_id":131529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:51:52] local.INFO: TCP Data received {"connection_id":131529,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6a7fb0012d7f914005afd938000d011b22..."} 
[2026-07-13 17:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6a7fb0012d7f914005afd938000d011b22..."} 
[2026-07-13 17:51:52] local.INFO: Processing buffer {"connection_id":131529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6a7fb0012d7f914005afd938000d011b22..."} 
[2026-07-13 17:51:52] local.INFO: Packet analysis {"connection_id":131529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:51:52] local.INFO: Extracted packet for processing {"connection_id":131529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:51:52] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689877248001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783945134000,"timestamp_ms":1783945134000,"timestamp_seconds":1783945134,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6a7fb0"} 
[2026-07-13 17:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":131529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":131529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":131529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689877248001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689877248001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:51:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:51:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689877248001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":131529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:51:52] local.INFO: GPS data processed {"connection_id":131529,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:51:52] local.INFO: Acknowledgment sent {"connection_id":131529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:52:00] local.INFO: TCP Data received {"connection_id":130717,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6a02b0012d82408005da08e0001101041f..."} 
[2026-07-13 17:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6a02b0012d82408005da08e0001101041f..."} 
[2026-07-13 17:52:00] local.INFO: Processing buffer {"connection_id":130717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6a02b0012d82408005da08e0001101041f..."} 
[2026-07-13 17:52:00] local.INFO: Packet analysis {"connection_id":130717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:52:00] local.INFO: Extracted packet for processing {"connection_id":130717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:52:00] local.INFO: GPS Element Parsed {"raw_longitude":763510912,"raw_latitude":98175200,"longitude_deg":76.3510912,"latitude_deg":9.81752,"altitude":17,"angle":260,"satellites":31,"speed":0,"hex_longitude":"2d824080","hex_latitude":"05da08e0","is_valid_coordinates":true} 
[2026-07-13 17:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947596127731712,"note":"Value kept but may cause issues"} 
[2026-07-13 17:52:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,71,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 17:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783945102000,"timestamp_ms":1783945102000,"timestamp_seconds":1783945102,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6a02b0"} 
[2026-07-13 17:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-13 17:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":130717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":130717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":130717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12917,"71":206,"85":15104,"24":0,"16":105947596127731712},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16]} 
[2026-07-13 17:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-13 17:52:00] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:52:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947596127731712,"km_value":105947596127731.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:52:00] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12917,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-07-13 17:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":130717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481064,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:52:00] local.INFO: GPS data processed {"connection_id":130717,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:52:00] local.INFO: Acknowledgment sent {"connection_id":130717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:52:07] local.INFO: TCP Data received {"connection_id":132856,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:52:07] local.INFO: Processing buffer {"connection_id":132856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:52:07] local.INFO: IMEI packet received {"connection_id":132856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 17:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":132856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:52:17] local.INFO: TCP Data received {"connection_id":130505,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b694b18012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b694b18012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:52:17] local.INFO: Processing buffer {"connection_id":130505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b694b18012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:52:17] local.INFO: Packet analysis {"connection_id":130505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b69"} 
[2026-07-13 17:52:17] local.INFO: Extracted packet for processing {"connection_id":130505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b69"} 
[2026-07-13 17:52:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 17:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689857024001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:52:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783945055000,"timestamp_ms":1783945055000,"timestamp_seconds":1783945055,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b694b18"} 
[2026-07-13 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-07-13 17:52: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-07-13 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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-13 17:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 17:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130505,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130505,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689857024001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689857024001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:52:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:52:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:52:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689857024001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":130505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481065,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:52:17] local.INFO: GPS data processed {"connection_id":130505,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:52:17] local.INFO: Acknowledgment sent {"connection_id":130505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:52:31] local.INFO: TCP Data received {"connection_id":130717,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6a02b0012d82408005da08e0001101041f..."} 
[2026-07-13 17:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6a02b0012d82408005da08e0001101041f..."} 
[2026-07-13 17:52:31] local.INFO: Processing buffer {"connection_id":130717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6a02b0012d82408005da08e0001101041f..."} 
[2026-07-13 17:52:31] local.INFO: Packet analysis {"connection_id":130717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:52:31] local.INFO: Extracted packet for processing {"connection_id":130717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:52:31] local.INFO: GPS Element Parsed {"raw_longitude":763510912,"raw_latitude":98175200,"longitude_deg":76.3510912,"latitude_deg":9.81752,"altitude":17,"angle":260,"satellites":31,"speed":0,"hex_longitude":"2d824080","hex_latitude":"05da08e0","is_valid_coordinates":true} 
[2026-07-13 17:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947596127731712,"note":"Value kept but may cause issues"} 
[2026-07-13 17:52:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,71,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 17:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783945102000,"timestamp_ms":1783945102000,"timestamp_seconds":1783945102,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6a02b0"} 
[2026-07-13 17:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":215,"data_length":795,"current_offset":136} 
[2026-07-13 17:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":130717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":130717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":130717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12917,"71":206,"85":15104,"24":0,"16":105947596127731712},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16]} 
[2026-07-13 17:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-13 17:52:31] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:52:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947596127731712,"km_value":105947596127731.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:52:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12917,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-07-13 17:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":130717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481066,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:52:32] local.INFO: GPS data processed {"connection_id":130717,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:52:32] local.INFO: Acknowledgment sent {"connection_id":130717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:52:32] local.INFO: TCP Data received {"connection_id":132856,"ip":"42.106.6.42","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-13 17:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132856,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-13 17:52:32] local.INFO: Processing buffer {"connection_id":132856,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-13 17:52:32] local.INFO: IMEI packet received {"connection_id":132856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 17:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":132856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:52:34] local.INFO: TCP Data received {"connection_id":130719,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:52:34] local.INFO: Processing buffer {"connection_id":130719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:52:34] local.INFO: IMEI packet received {"connection_id":130719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":130719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:52:39] local.INFO: TCP Data received {"connection_id":130719,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:52:39] local.INFO: Processing buffer {"connection_id":130719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:52:39] local.INFO: IMEI packet received {"connection_id":130719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":130719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:52:40] local.INFO: TCP Data received {"connection_id":130506,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130506,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:52:40] local.INFO: Processing buffer {"connection_id":130506,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:52:40] local.INFO: IMEI packet received {"connection_id":130506,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":130506,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:52:40] local.INFO: TCP Data received {"connection_id":130719,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6a7fb0012d7f914005afd938000d011b22..."} 
[2026-07-13 17:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6a7fb0012d7f914005afd938000d011b22..."} 
[2026-07-13 17:52:40] local.INFO: Processing buffer {"connection_id":130719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6a7fb0012d7f914005afd938000d011b22..."} 
[2026-07-13 17:52:40] local.INFO: Packet analysis {"connection_id":130719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:52:40] local.INFO: Extracted packet for processing {"connection_id":130719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:52:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689877248001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783945134000,"timestamp_ms":1783945134000,"timestamp_seconds":1783945134,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6a7fb0"} 
[2026-07-13 17:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689877248001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689877248001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:52:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:52:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689877248001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":130719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:52:40] local.INFO: GPS data processed {"connection_id":130719,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:52:40] local.INFO: Acknowledgment sent {"connection_id":130719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:52:45] local.INFO: TCP Data received {"connection_id":130506,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130506,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:52:45] local.INFO: Processing buffer {"connection_id":130506,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:52:45] local.INFO: IMEI packet received {"connection_id":130506,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":130506,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:52:46] local.INFO: TCP Data received {"connection_id":130506,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b694b18012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b694b18012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:52:46] local.INFO: Processing buffer {"connection_id":130506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b694b18012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:52:46] local.INFO: Packet analysis {"connection_id":130506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b69"} 
[2026-07-13 17:52:46] local.INFO: Extracted packet for processing {"connection_id":130506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b69"} 
[2026-07-13 17:52:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689857024001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:52:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783945055000,"timestamp_ms":1783945055000,"timestamp_seconds":1783945055,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b694b18"} 
[2026-07-13 17:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-13 17:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689857024001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689857024001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:52:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:52:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:52:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689857024001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":130506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481068,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:52:46] local.INFO: GPS data processed {"connection_id":130506,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:52:46] local.INFO: Acknowledgment sent {"connection_id":130506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:53:03] local.INFO: TCP Data received {"connection_id":130717,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6a02b0012d82408005da08e0001101041f..."} 
[2026-07-13 17:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6a02b0012d82408005da08e0001101041f..."} 
[2026-07-13 17:53:03] local.INFO: Processing buffer {"connection_id":130717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6a02b0012d82408005da08e0001101041f..."} 
[2026-07-13 17:53:03] local.INFO: Packet analysis {"connection_id":130717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:53:03] local.INFO: Extracted packet for processing {"connection_id":130717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:53:03] local.INFO: GPS Element Parsed {"raw_longitude":763510912,"raw_latitude":98175200,"longitude_deg":76.3510912,"latitude_deg":9.81752,"altitude":17,"angle":260,"satellites":31,"speed":0,"hex_longitude":"2d824080","hex_latitude":"05da08e0","is_valid_coordinates":true} 
[2026-07-13 17:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947596127731712,"note":"Value kept but may cause issues"} 
[2026-07-13 17:53:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,71,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 17:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783945102000,"timestamp_ms":1783945102000,"timestamp_seconds":1783945102,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6a02b0"} 
[2026-07-13 17:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-13 17:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":130717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":130717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":130717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12917,"71":206,"85":15104,"24":0,"16":105947596127731712},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16]} 
[2026-07-13 17:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-13 17:53:03] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:53:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947596127731712,"km_value":105947596127731.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:53:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12917,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-07-13 17:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":130717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481069,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:53:03] local.INFO: GPS data processed {"connection_id":130717,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:53:03] local.INFO: Acknowledgment sent {"connection_id":130717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:53:13] local.INFO: TCP Data received {"connection_id":130719,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6a7fb0012d7f914005afd938000d011b22..."} 
[2026-07-13 17:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6a7fb0012d7f914005afd938000d011b22..."} 
[2026-07-13 17:53:13] local.INFO: Processing buffer {"connection_id":130719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6a7fb0012d7f914005afd938000d011b22..."} 
[2026-07-13 17:53:13] local.INFO: Packet analysis {"connection_id":130719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:53:13] local.INFO: Extracted packet for processing {"connection_id":130719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:53:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 17:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689877248001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783945134000,"timestamp_ms":1783945134000,"timestamp_seconds":1783945134,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6a7fb0"} 
[2026-07-13 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-07-13 17:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 17:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689877248001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689877248001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:53:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:53:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689877248001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":130719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:53:13] local.INFO: GPS data processed {"connection_id":130719,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:53:13] local.INFO: Acknowledgment sent {"connection_id":130719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:53:17] local.INFO: TCP Data received {"connection_id":130506,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6de2e0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6de2e0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:53:17] local.INFO: Processing buffer {"connection_id":130506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6de2e0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:53:17] local.INFO: Packet analysis {"connection_id":130506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6d"} 
[2026-07-13 17:53:17] local.INFO: Extracted packet for processing {"connection_id":130506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6d"} 
[2026-07-13 17:53:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689934080001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:53:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783945356000,"timestamp_ms":1783945356000,"timestamp_seconds":1783945356,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6de2e0"} 
[2026-07-13 17:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:53: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-07-13 17: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 17:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689934080001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689934080001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:53:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:53:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:53:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689934080001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":130506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481071,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:53:17] local.INFO: GPS data processed {"connection_id":130506,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:53:17] local.INFO: Acknowledgment sent {"connection_id":130506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:53:34] local.INFO: TCP Data received {"connection_id":132857,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:53:34] local.INFO: Processing buffer {"connection_id":132857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:53:34] local.INFO: IMEI packet received {"connection_id":132857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":132857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:53:34] local.INFO: TCP Data received {"connection_id":130717,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6eb1e8012d82408005da0858000601042e..."} 
[2026-07-13 17:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6eb1e8012d82408005da0858000601042e..."} 
[2026-07-13 17:53:34] local.INFO: Processing buffer {"connection_id":130717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6eb1e8012d82408005da0858000601042e..."} 
[2026-07-13 17:53:34] local.INFO: Packet analysis {"connection_id":130717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6e"} 
[2026-07-13 17:53:34] local.INFO: Extracted packet for processing {"connection_id":130717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6e"} 
[2026-07-13 17:53:34] local.INFO: GPS Element Parsed {"raw_longitude":763510912,"raw_latitude":98175064,"longitude_deg":76.3510912,"latitude_deg":9.8175064,"altitude":6,"angle":260,"satellites":46,"speed":0,"hex_longitude":"2d824080","hex_latitude":"05da0858","is_valid_coordinates":true} 
[2026-07-13 17:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689946112001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947596127731712,"note":"Value kept but may cause issues"} 
[2026-07-13 17:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061101687648231424,"note":"Value kept but may cause issues"} 
[2026-07-13 17:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783945409000,"timestamp_ms":1783945409000,"timestamp_seconds":1783945409,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6eb1e8"} 
[2026-07-13 17:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:53: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-07-13 17: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-13 17:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":130717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":130717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":130717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689946112001,"66":12515,"71":206,"85":15104,"24":0,"16":105947596127731712,"45":-9061101687648231424},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 17:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689946112001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:53:34] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:53:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947596127731712,"km_value":105947596127731.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061101687648231424,"description":"Unknown IO ID 45"} 
[2026-07-13 17:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689946112001,"power":12515,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9061101687648231424}} 
[2026-07-13 17:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":130717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481072,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:53:34] local.INFO: GPS data processed {"connection_id":130717,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:53:34] local.INFO: Acknowledgment sent {"connection_id":130717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:53:39] local.INFO: TCP Data received {"connection_id":132858,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132858,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:53:39] local.INFO: Processing buffer {"connection_id":132858,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:53:39] local.INFO: IMEI packet received {"connection_id":132858,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":132858,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:53:39] local.INFO: TCP Data received {"connection_id":132857,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:53:39] local.INFO: Processing buffer {"connection_id":132857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:53:39] local.INFO: IMEI packet received {"connection_id":132857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":132857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:53:40] local.INFO: TCP Data received {"connection_id":132857,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6a7fb0012d7f914005afd938000d011b22..."} 
[2026-07-13 17:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6a7fb0012d7f914005afd938000d011b22..."} 
[2026-07-13 17:53:40] local.INFO: Processing buffer {"connection_id":132857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6a7fb0012d7f914005afd938000d011b22..."} 
[2026-07-13 17:53:40] local.INFO: Packet analysis {"connection_id":132857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:53:40] local.INFO: Extracted packet for processing {"connection_id":132857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:53:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689877248001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783945134000,"timestamp_ms":1783945134000,"timestamp_seconds":1783945134,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6a7fb0"} 
[2026-07-13 17:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689877248001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689877248001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:53:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:53:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689877248001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":132857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:53:40] local.INFO: GPS data processed {"connection_id":132857,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:53:40] local.INFO: Acknowledgment sent {"connection_id":132857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:53:45] local.INFO: TCP Data received {"connection_id":132858,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132858,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:53:45] local.INFO: Processing buffer {"connection_id":132858,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:53:45] local.INFO: IMEI packet received {"connection_id":132858,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":132858,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:53:46] local.INFO: TCP Data received {"connection_id":132858,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6de2e0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6de2e0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:53:46] local.INFO: Processing buffer {"connection_id":132858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6de2e0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:53:46] local.INFO: Packet analysis {"connection_id":132858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6d"} 
[2026-07-13 17:53:46] local.INFO: Extracted packet for processing {"connection_id":132858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6d"} 
[2026-07-13 17:53:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689934080001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:53:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783945356000,"timestamp_ms":1783945356000,"timestamp_seconds":1783945356,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6de2e0"} 
[2026-07-13 17:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 17:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132858,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132858,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689934080001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689934080001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:53:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:53:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:53:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689934080001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":132858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481074,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:53:46] local.INFO: GPS data processed {"connection_id":132858,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:53:46] local.INFO: Acknowledgment sent {"connection_id":132858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:54:05] local.INFO: TCP Data received {"connection_id":130717,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6eb1e8012d82408005da0858000601042e..."} 
[2026-07-13 17:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6eb1e8012d82408005da0858000601042e..."} 
[2026-07-13 17:54:05] local.INFO: Processing buffer {"connection_id":130717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6eb1e8012d82408005da0858000601042e..."} 
[2026-07-13 17:54:05] local.INFO: Packet analysis {"connection_id":130717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6e"} 
[2026-07-13 17:54:05] local.INFO: Extracted packet for processing {"connection_id":130717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6e"} 
[2026-07-13 17:54:05] local.INFO: GPS Element Parsed {"raw_longitude":763510912,"raw_latitude":98175064,"longitude_deg":76.3510912,"latitude_deg":9.8175064,"altitude":6,"angle":260,"satellites":46,"speed":0,"hex_longitude":"2d824080","hex_latitude":"05da0858","is_valid_coordinates":true} 
[2026-07-13 17:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689946112001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947596127731712,"note":"Value kept but may cause issues"} 
[2026-07-13 17:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061101687648231424,"note":"Value kept but may cause issues"} 
[2026-07-13 17:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783945409000,"timestamp_ms":1783945409000,"timestamp_seconds":1783945409,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6eb1e8"} 
[2026-07-13 17:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-13 17:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689946112001,"66":12515,"71":206,"85":15104,"24":0,"16":105947596127731712,"45":-9061101687648231424},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 17:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689946112001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:54:05] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:54:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947596127731712,"km_value":105947596127731.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061101687648231424,"description":"Unknown IO ID 45"} 
[2026-07-13 17:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689946112001,"power":12515,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9061101687648231424}} 
[2026-07-13 17:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":130717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481075,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:54:05] local.INFO: GPS data processed {"connection_id":130717,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:54:05] local.INFO: Acknowledgment sent {"connection_id":130717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:54:11] local.INFO: TCP Data received {"connection_id":132857,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6a7fb0012d7f914005afd938000d011b22..."} 
[2026-07-13 17:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6a7fb0012d7f914005afd938000d011b22..."} 
[2026-07-13 17:54:11] local.INFO: Processing buffer {"connection_id":132857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6a7fb0012d7f914005afd938000d011b22..."} 
[2026-07-13 17:54:11] local.INFO: Packet analysis {"connection_id":132857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:54:11] local.INFO: Extracted packet for processing {"connection_id":132857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6a"} 
[2026-07-13 17:54:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":13,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689877248001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783945134000,"timestamp_ms":1783945134000,"timestamp_seconds":1783945134,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6a7fb0"} 
[2026-07-13 17:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689877248001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689877248001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:54:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:54:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689877248001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":132857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:54:11] local.INFO: GPS data processed {"connection_id":132857,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:54:11] local.INFO: Acknowledgment sent {"connection_id":132857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:54:18] local.INFO: TCP Data received {"connection_id":132858,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6de2e0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6de2e0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:54:18] local.INFO: Processing buffer {"connection_id":132858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6de2e0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:54:18] local.INFO: Packet analysis {"connection_id":132858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6d"} 
[2026-07-13 17:54:18] local.INFO: Extracted packet for processing {"connection_id":132858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6d"} 
[2026-07-13 17:54:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689934080001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:54:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783945356000,"timestamp_ms":1783945356000,"timestamp_seconds":1783945356,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6de2e0"} 
[2026-07-13 17:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 17:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132858,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132858,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689934080001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689934080001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:54:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:54:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:54:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689934080001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":132858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481077,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:54:18] local.INFO: GPS data processed {"connection_id":132858,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:54:18] local.INFO: Acknowledgment sent {"connection_id":132858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:54:34] local.INFO: TCP Data received {"connection_id":132860,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:54:34] local.INFO: Processing buffer {"connection_id":132860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:54:34] local.INFO: IMEI packet received {"connection_id":132860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":132860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:54:36] local.INFO: TCP Data received {"connection_id":130717,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6eb1e8012d82408005da0858000601042e..."} 
[2026-07-13 17:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6eb1e8012d82408005da0858000601042e..."} 
[2026-07-13 17:54:36] local.INFO: Processing buffer {"connection_id":130717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6eb1e8012d82408005da0858000601042e..."} 
[2026-07-13 17:54:36] local.INFO: Packet analysis {"connection_id":130717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6e"} 
[2026-07-13 17:54:36] local.INFO: Extracted packet for processing {"connection_id":130717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6e"} 
[2026-07-13 17:54:36] local.INFO: GPS Element Parsed {"raw_longitude":763510912,"raw_latitude":98175064,"longitude_deg":76.3510912,"latitude_deg":9.8175064,"altitude":6,"angle":260,"satellites":46,"speed":0,"hex_longitude":"2d824080","hex_latitude":"05da0858","is_valid_coordinates":true} 
[2026-07-13 17:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689946112001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947596127731712,"note":"Value kept but may cause issues"} 
[2026-07-13 17:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061101687648231424,"note":"Value kept but may cause issues"} 
[2026-07-13 17:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783945409000,"timestamp_ms":1783945409000,"timestamp_seconds":1783945409,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6eb1e8"} 
[2026-07-13 17:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":117,"data_length":795,"current_offset":136} 
[2026-07-13 17:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":130717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":130717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":130717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689946112001,"66":12515,"71":206,"85":15104,"24":0,"16":105947596127731712,"45":-9061101687648231424},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 17:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689946112001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:54:36] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:54:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947596127731712,"km_value":105947596127731.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061101687648231424,"description":"Unknown IO ID 45"} 
[2026-07-13 17:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689946112001,"power":12515,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9061101687648231424}} 
[2026-07-13 17:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":130717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481078,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:54:37] local.INFO: GPS data processed {"connection_id":130717,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:54:37] local.INFO: Acknowledgment sent {"connection_id":130717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:54:39] local.INFO: TCP Data received {"connection_id":132860,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:54:39] local.INFO: Processing buffer {"connection_id":132860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:54:39] local.INFO: IMEI packet received {"connection_id":132860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":132860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:54:40] local.INFO: TCP Data received {"connection_id":132860,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6f1778012d7f914005afd938000e011b22..."} 
[2026-07-13 17:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6f1778012d7f914005afd938000e011b22..."} 
[2026-07-13 17:54:40] local.INFO: Processing buffer {"connection_id":132860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6f1778012d7f914005afd938000e011b22..."} 
[2026-07-13 17:54:40] local.INFO: Packet analysis {"connection_id":132860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6f"} 
[2026-07-13 17:54:40] local.INFO: Extracted packet for processing {"connection_id":132860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6f"} 
[2026-07-13 17:54:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689954304001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783945435000,"timestamp_ms":1783945435000,"timestamp_seconds":1783945435,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6f1778"} 
[2026-07-13 17:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689954304001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689954304001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:54:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:54:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689954304001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":132860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:54:40] local.INFO: GPS data processed {"connection_id":132860,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:54:40] local.INFO: Acknowledgment sent {"connection_id":132860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:54:45] local.INFO: TCP Data received {"connection_id":130508,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130508,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:54:45] local.INFO: Processing buffer {"connection_id":130508,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:54:45] local.INFO: IMEI packet received {"connection_id":130508,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":130508,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:54:50] local.INFO: TCP Data received {"connection_id":130508,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130508,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:54:50] local.INFO: Processing buffer {"connection_id":130508,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:54:50] local.INFO: IMEI packet received {"connection_id":130508,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":130508,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:54:51] local.INFO: TCP Data received {"connection_id":130508,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6de2e0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6de2e0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:54:51] local.INFO: Processing buffer {"connection_id":130508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6de2e0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:54:51] local.INFO: Packet analysis {"connection_id":130508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6d"} 
[2026-07-13 17:54:51] local.INFO: Extracted packet for processing {"connection_id":130508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6d"} 
[2026-07-13 17:54:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17: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-07-13 17:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689934080001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:54:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783945356000,"timestamp_ms":1783945356000,"timestamp_seconds":1783945356,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6de2e0"} 
[2026-07-13 17:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 17:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17: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-07-13 17:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130508,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130508,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689934080001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689934080001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:54:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:54:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:54:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689934080001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":130508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481080,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:54:51] local.INFO: GPS data processed {"connection_id":130508,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:54:51] local.INFO: Acknowledgment sent {"connection_id":130508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:54:55] local.INFO: TCP Data received {"connection_id":130508,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6de2e0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6de2e0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:54:55] local.INFO: Processing buffer {"connection_id":130508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6de2e0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:54:55] local.INFO: Packet analysis {"connection_id":130508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6d"} 
[2026-07-13 17:54:55] local.INFO: Extracted packet for processing {"connection_id":130508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6d"} 
[2026-07-13 17:54:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689934080001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:54:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783945356000,"timestamp_ms":1783945356000,"timestamp_seconds":1783945356,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6de2e0"} 
[2026-07-13 17:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 17:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130508,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130508,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689934080001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689934080001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:54:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:54:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:54:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689934080001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":130508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481081,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:54:55] local.INFO: GPS data processed {"connection_id":130508,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:54:55] local.INFO: Acknowledgment sent {"connection_id":130508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:55:08] local.INFO: TCP Data received {"connection_id":130717,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6eb1e8012d82408005da0858000601042e..."} 
[2026-07-13 17:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6eb1e8012d82408005da0858000601042e..."} 
[2026-07-13 17:55:08] local.INFO: Processing buffer {"connection_id":130717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6eb1e8012d82408005da0858000601042e..."} 
[2026-07-13 17:55:08] local.INFO: Packet analysis {"connection_id":130717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6e"} 
[2026-07-13 17:55:08] local.INFO: Extracted packet for processing {"connection_id":130717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6e"} 
[2026-07-13 17:55:08] local.INFO: GPS Element Parsed {"raw_longitude":763510912,"raw_latitude":98175064,"longitude_deg":76.3510912,"latitude_deg":9.8175064,"altitude":6,"angle":260,"satellites":46,"speed":0,"hex_longitude":"2d824080","hex_latitude":"05da0858","is_valid_coordinates":true} 
[2026-07-13 17:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689946112001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947596127731712,"note":"Value kept but may cause issues"} 
[2026-07-13 17:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061101687648231424,"note":"Value kept but may cause issues"} 
[2026-07-13 17:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783945409000,"timestamp_ms":1783945409000,"timestamp_seconds":1783945409,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6eb1e8"} 
[2026-07-13 17:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:55: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-07-13 17: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":117,"data_length":795,"current_offset":136} 
[2026-07-13 17:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689946112001,"66":12515,"71":206,"85":15104,"24":0,"16":105947596127731712,"45":-9061101687648231424},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 17:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689946112001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:55:08] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:55:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947596127731712,"km_value":105947596127731.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061101687648231424,"description":"Unknown IO ID 45"} 
[2026-07-13 17:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689946112001,"power":12515,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9061101687648231424}} 
[2026-07-13 17:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":130717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481082,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:55:08] local.INFO: GPS data processed {"connection_id":130717,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:55:08] local.INFO: Acknowledgment sent {"connection_id":130717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:55:12] local.INFO: TCP Data received {"connection_id":132860,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6f1778012d7f914005afd938000e011b22..."} 
[2026-07-13 17:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6f1778012d7f914005afd938000e011b22..."} 
[2026-07-13 17:55:12] local.INFO: Processing buffer {"connection_id":132860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6f1778012d7f914005afd938000e011b22..."} 
[2026-07-13 17:55:12] local.INFO: Packet analysis {"connection_id":132860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6f"} 
[2026-07-13 17:55:12] local.INFO: Extracted packet for processing {"connection_id":132860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6f"} 
[2026-07-13 17:55:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689954304001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783945435000,"timestamp_ms":1783945435000,"timestamp_seconds":1783945435,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6f1778"} 
[2026-07-13 17:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689954304001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689954304001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:55:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:55:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689954304001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":132860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:55:12] local.INFO: GPS data processed {"connection_id":132860,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:55:12] local.INFO: Acknowledgment sent {"connection_id":132860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:55:29] local.INFO: TCP Data received {"connection_id":132861,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:55:29] local.INFO: Processing buffer {"connection_id":132861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:55:29] local.INFO: IMEI packet received {"connection_id":132861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":132861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:55:34] local.INFO: TCP Data received {"connection_id":132861,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:55:34] local.INFO: Processing buffer {"connection_id":132861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:55:34] local.INFO: IMEI packet received {"connection_id":132861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":132861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:55:35] local.INFO: TCP Data received {"connection_id":130509,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:55:35] local.INFO: Processing buffer {"connection_id":130509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:55:35] local.INFO: IMEI packet received {"connection_id":130509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":130509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:55:35] local.INFO: TCP Data received {"connection_id":132861,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6eb1e8012d82408005da0858000601042e..."} 
[2026-07-13 17:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6eb1e8012d82408005da0858000601042e..."} 
[2026-07-13 17:55:35] local.INFO: Processing buffer {"connection_id":132861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6eb1e8012d82408005da0858000601042e..."} 
[2026-07-13 17:55:35] local.INFO: Packet analysis {"connection_id":132861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6e"} 
[2026-07-13 17:55:35] local.INFO: Extracted packet for processing {"connection_id":132861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6e"} 
[2026-07-13 17:55:35] local.INFO: GPS Element Parsed {"raw_longitude":763510912,"raw_latitude":98175064,"longitude_deg":76.3510912,"latitude_deg":9.8175064,"altitude":6,"angle":260,"satellites":46,"speed":0,"hex_longitude":"2d824080","hex_latitude":"05da0858","is_valid_coordinates":true} 
[2026-07-13 17:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689946112001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947596127731712,"note":"Value kept but may cause issues"} 
[2026-07-13 17:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061101687648231424,"note":"Value kept but may cause issues"} 
[2026-07-13 17:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783945409000,"timestamp_ms":1783945409000,"timestamp_seconds":1783945409,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6eb1e8"} 
[2026-07-13 17:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-13 17:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689946112001,"66":12515,"71":206,"85":15104,"24":0,"16":105947596127731712,"45":-9061101687648231424},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 17:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689946112001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:55:35] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:55:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947596127731712,"km_value":105947596127731.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061101687648231424,"description":"Unknown IO ID 45"} 
[2026-07-13 17:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689946112001,"power":12515,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9061101687648231424}} 
[2026-07-13 17:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":132861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481084,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:55:35] local.INFO: GPS data processed {"connection_id":132861,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:55:35] local.INFO: Acknowledgment sent {"connection_id":132861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:55:40] local.INFO: TCP Data received {"connection_id":130509,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:55:40] local.INFO: Processing buffer {"connection_id":130509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:55:40] local.INFO: IMEI packet received {"connection_id":130509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":130509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:55:40] local.INFO: TCP Data received {"connection_id":132862,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132862,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:55:40] local.INFO: Processing buffer {"connection_id":132862,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:55:40] local.INFO: IMEI packet received {"connection_id":132862,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":132862,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:55:41] local.INFO: TCP Data received {"connection_id":130509,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6f1778012d7f914005afd938000e011b22..."} 
[2026-07-13 17:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6f1778012d7f914005afd938000e011b22..."} 
[2026-07-13 17:55:41] local.INFO: Processing buffer {"connection_id":130509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6f1778012d7f914005afd938000e011b22..."} 
[2026-07-13 17:55:41] local.INFO: Packet analysis {"connection_id":130509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6f"} 
[2026-07-13 17:55:41] local.INFO: Extracted packet for processing {"connection_id":130509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6f"} 
[2026-07-13 17:55:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17: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-07-13 17:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689954304001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783945435000,"timestamp_ms":1783945435000,"timestamp_seconds":1783945435,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6f1778"} 
[2026-07-13 17:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17: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-07-13 17:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689954304001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689954304001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:55:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:55:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689954304001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":130509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:55:41] local.INFO: GPS data processed {"connection_id":130509,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:55:41] local.INFO: Acknowledgment sent {"connection_id":130509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:55:45] local.INFO: TCP Data received {"connection_id":132862,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132862,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:55:45] local.INFO: Processing buffer {"connection_id":132862,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:55:45] local.INFO: IMEI packet received {"connection_id":132862,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":132862,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:55:46] local.INFO: TCP Data received {"connection_id":132862,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6de2e0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6de2e0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:55:46] local.INFO: Processing buffer {"connection_id":132862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6de2e0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:55:46] local.INFO: Packet analysis {"connection_id":132862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6d"} 
[2026-07-13 17:55:46] local.INFO: Extracted packet for processing {"connection_id":132862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6d"} 
[2026-07-13 17:55:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689934080001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:55:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783945356000,"timestamp_ms":1783945356000,"timestamp_seconds":1783945356,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6de2e0"} 
[2026-07-13 17:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 17:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689934080001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689934080001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:55:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:55:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:55:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689934080001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":132862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481086,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:55:46] local.INFO: GPS data processed {"connection_id":132862,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:55:46] local.INFO: Acknowledgment sent {"connection_id":132862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:56:06] local.INFO: TCP Data received {"connection_id":132861,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6eb1e8012d82408005da0858000601042e..."} 
[2026-07-13 17:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6eb1e8012d82408005da0858000601042e..."} 
[2026-07-13 17:56:06] local.INFO: Processing buffer {"connection_id":132861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6eb1e8012d82408005da0858000601042e..."} 
[2026-07-13 17:56:06] local.INFO: Packet analysis {"connection_id":132861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6e"} 
[2026-07-13 17:56:06] local.INFO: Extracted packet for processing {"connection_id":132861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6e"} 
[2026-07-13 17:56:06] local.INFO: GPS Element Parsed {"raw_longitude":763510912,"raw_latitude":98175064,"longitude_deg":76.3510912,"latitude_deg":9.8175064,"altitude":6,"angle":260,"satellites":46,"speed":0,"hex_longitude":"2d824080","hex_latitude":"05da0858","is_valid_coordinates":true} 
[2026-07-13 17:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689946112001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947596127731712,"note":"Value kept but may cause issues"} 
[2026-07-13 17:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061101687648231424,"note":"Value kept but may cause issues"} 
[2026-07-13 17:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783945409000,"timestamp_ms":1783945409000,"timestamp_seconds":1783945409,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6eb1e8"} 
[2026-07-13 17:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-13 17:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689946112001,"66":12515,"71":206,"85":15104,"24":0,"16":105947596127731712,"45":-9061101687648231424},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 17:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689946112001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:56:06] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:56:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947596127731712,"km_value":105947596127731.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061101687648231424,"description":"Unknown IO ID 45"} 
[2026-07-13 17:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689946112001,"power":12515,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9061101687648231424}} 
[2026-07-13 17:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":132861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481087,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:56:06] local.INFO: GPS data processed {"connection_id":132861,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:56:06] local.INFO: Acknowledgment sent {"connection_id":132861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:56:12] local.INFO: TCP Data received {"connection_id":130509,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6f1778012d7f914005afd938000e011b22..."} 
[2026-07-13 17:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6f1778012d7f914005afd938000e011b22..."} 
[2026-07-13 17:56:12] local.INFO: Processing buffer {"connection_id":130509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6f1778012d7f914005afd938000e011b22..."} 
[2026-07-13 17:56:12] local.INFO: Packet analysis {"connection_id":130509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6f"} 
[2026-07-13 17:56:12] local.INFO: Extracted packet for processing {"connection_id":130509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6f"} 
[2026-07-13 17:56:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689954304001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783945435000,"timestamp_ms":1783945435000,"timestamp_seconds":1783945435,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6f1778"} 
[2026-07-13 17:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689954304001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689954304001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:56:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:56:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689954304001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":130509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:56:12] local.INFO: GPS data processed {"connection_id":130509,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:56:12] local.INFO: Acknowledgment sent {"connection_id":130509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:56:17] local.INFO: TCP Data received {"connection_id":132862,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6de2e0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6de2e0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:56:17] local.INFO: Processing buffer {"connection_id":132862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6de2e0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:56:17] local.INFO: Packet analysis {"connection_id":132862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6d"} 
[2026-07-13 17:56:17] local.INFO: Extracted packet for processing {"connection_id":132862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6d"} 
[2026-07-13 17:56:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 17:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689934080001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:56:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783945356000,"timestamp_ms":1783945356000,"timestamp_seconds":1783945356,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6de2e0"} 
[2026-07-13 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-07-13 17:56: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-07-13 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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 17:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 17:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689934080001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689934080001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:56:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:56:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:56:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689934080001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":132862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481089,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:56:17] local.INFO: GPS data processed {"connection_id":132862,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:56:17] local.INFO: Acknowledgment sent {"connection_id":132862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:56:34] local.INFO: TCP Data received {"connection_id":131532,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:56:34] local.INFO: Processing buffer {"connection_id":131532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:56:34] local.INFO: IMEI packet received {"connection_id":131532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":131532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:56:34] local.INFO: TCP Data received {"connection_id":130510,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:56:34] local.INFO: Processing buffer {"connection_id":130510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:56:34] local.INFO: IMEI packet received {"connection_id":130510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":130510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:56:39] local.INFO: TCP Data received {"connection_id":131532,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:56:39] local.INFO: Processing buffer {"connection_id":131532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:56:39] local.INFO: IMEI packet received {"connection_id":131532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":131532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:56:39] local.INFO: TCP Data received {"connection_id":130510,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:56:39] local.INFO: Processing buffer {"connection_id":130510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:56:39] local.INFO: IMEI packet received {"connection_id":130510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":130510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:56:40] local.INFO: TCP Data received {"connection_id":131532,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6f1778012d7f914005afd938000e011b22..."} 
[2026-07-13 17:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6f1778012d7f914005afd938000e011b22..."} 
[2026-07-13 17:56:40] local.INFO: Processing buffer {"connection_id":131532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6f1778012d7f914005afd938000e011b22..."} 
[2026-07-13 17:56:40] local.INFO: Packet analysis {"connection_id":131532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6f"} 
[2026-07-13 17:56:40] local.INFO: Extracted packet for processing {"connection_id":131532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6f"} 
[2026-07-13 17:56:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689954304001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783945435000,"timestamp_ms":1783945435000,"timestamp_seconds":1783945435,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6f1778"} 
[2026-07-13 17:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689954304001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689954304001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:56:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:56:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689954304001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":131532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:56:40] local.INFO: GPS data processed {"connection_id":131532,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:56:40] local.INFO: Acknowledgment sent {"connection_id":131532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:56:40] local.INFO: TCP Data received {"connection_id":130510,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6eb1e8012d82408005da0858000601042e..."} 
[2026-07-13 17:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6eb1e8012d82408005da0858000601042e..."} 
[2026-07-13 17:56:40] local.INFO: Processing buffer {"connection_id":130510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6eb1e8012d82408005da0858000601042e..."} 
[2026-07-13 17:56:40] local.INFO: Packet analysis {"connection_id":130510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6e"} 
[2026-07-13 17:56:40] local.INFO: Extracted packet for processing {"connection_id":130510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6e"} 
[2026-07-13 17:56:40] local.INFO: GPS Element Parsed {"raw_longitude":763510912,"raw_latitude":98175064,"longitude_deg":76.3510912,"latitude_deg":9.8175064,"altitude":6,"angle":260,"satellites":46,"speed":0,"hex_longitude":"2d824080","hex_latitude":"05da0858","is_valid_coordinates":true} 
[2026-07-13 17:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689946112001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947596127731712,"note":"Value kept but may cause issues"} 
[2026-07-13 17:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061101687648231424,"note":"Value kept but may cause issues"} 
[2026-07-13 17:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783945409000,"timestamp_ms":1783945409000,"timestamp_seconds":1783945409,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6eb1e8"} 
[2026-07-13 17:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-13 17:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689946112001,"66":12515,"71":206,"85":15104,"24":0,"16":105947596127731712,"45":-9061101687648231424},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 17:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689946112001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:56:40] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:56:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947596127731712,"km_value":105947596127731.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061101687648231424,"description":"Unknown IO ID 45"} 
[2026-07-13 17:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689946112001,"power":12515,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9061101687648231424}} 
[2026-07-13 17:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":130510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481091,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:56:40] local.INFO: GPS data processed {"connection_id":130510,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:56:40] local.INFO: Acknowledgment sent {"connection_id":130510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:56:44] local.INFO: TCP Data received {"connection_id":132863,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132863,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:56:44] local.INFO: Processing buffer {"connection_id":132863,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:56:44] local.INFO: IMEI packet received {"connection_id":132863,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":132863,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:56:45] local.INFO: TCP Data received {"connection_id":130510,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6eb1e8012d82408005da0858000601042e..."} 
[2026-07-13 17:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6eb1e8012d82408005da0858000601042e..."} 
[2026-07-13 17:56:45] local.INFO: Processing buffer {"connection_id":130510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6eb1e8012d82408005da0858000601042e..."} 
[2026-07-13 17:56:45] local.INFO: Packet analysis {"connection_id":130510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6e"} 
[2026-07-13 17:56:45] local.INFO: Extracted packet for processing {"connection_id":130510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6e"} 
[2026-07-13 17:56:45] local.INFO: GPS Element Parsed {"raw_longitude":763510912,"raw_latitude":98175064,"longitude_deg":76.3510912,"latitude_deg":9.8175064,"altitude":6,"angle":260,"satellites":46,"speed":0,"hex_longitude":"2d824080","hex_latitude":"05da0858","is_valid_coordinates":true} 
[2026-07-13 17:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689946112001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947596127731712,"note":"Value kept but may cause issues"} 
[2026-07-13 17:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061101687648231424,"note":"Value kept but may cause issues"} 
[2026-07-13 17:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783945409000,"timestamp_ms":1783945409000,"timestamp_seconds":1783945409,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6eb1e8"} 
[2026-07-13 17:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-13 17:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689946112001,"66":12515,"71":206,"85":15104,"24":0,"16":105947596127731712,"45":-9061101687648231424},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 17:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689946112001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:56:45] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:56:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947596127731712,"km_value":105947596127731.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061101687648231424,"description":"Unknown IO ID 45"} 
[2026-07-13 17:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689946112001,"power":12515,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9061101687648231424}} 
[2026-07-13 17:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":130510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481092,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:56:45] local.INFO: GPS data processed {"connection_id":130510,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:56:45] local.INFO: Acknowledgment sent {"connection_id":130510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:56:54] local.INFO: TCP Data received {"connection_id":132863,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132863,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:56:54] local.INFO: Processing buffer {"connection_id":132863,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:56:54] local.INFO: IMEI packet received {"connection_id":132863,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":132863,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:56:56] local.INFO: TCP Data received {"connection_id":132863,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6de2e0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6de2e0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:56:56] local.INFO: Processing buffer {"connection_id":132863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6de2e0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:56:56] local.INFO: Packet analysis {"connection_id":132863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6d"} 
[2026-07-13 17:56:56] local.INFO: Extracted packet for processing {"connection_id":132863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6d"} 
[2026-07-13 17:56:56] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17: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-07-13 17:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689934080001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:56:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783945356000,"timestamp_ms":1783945356000,"timestamp_seconds":1783945356,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6de2e0"} 
[2026-07-13 17:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 17:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132863,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132863,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689934080001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689934080001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:56:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:56:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:56:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689934080001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":132863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481093,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:56:56] local.INFO: GPS data processed {"connection_id":132863,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:56:56] local.INFO: Acknowledgment sent {"connection_id":132863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:57:12] local.INFO: TCP Data received {"connection_id":131532,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6f1778012d7f914005afd938000e011b22..."} 
[2026-07-13 17:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6f1778012d7f914005afd938000e011b22..."} 
[2026-07-13 17:57:12] local.INFO: Processing buffer {"connection_id":131532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6f1778012d7f914005afd938000e011b22..."} 
[2026-07-13 17:57:12] local.INFO: Packet analysis {"connection_id":131532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6f"} 
[2026-07-13 17:57:12] local.INFO: Extracted packet for processing {"connection_id":131532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6f"} 
[2026-07-13 17:57:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689954304001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783945435000,"timestamp_ms":1783945435000,"timestamp_seconds":1783945435,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6f1778"} 
[2026-07-13 17:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689954304001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689954304001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:57:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:57:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689954304001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":131532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:57:12] local.INFO: GPS data processed {"connection_id":131532,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:57:12] local.INFO: Acknowledgment sent {"connection_id":131532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:57:29] local.INFO: TCP Data received {"connection_id":130720,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:57:29] local.INFO: Processing buffer {"connection_id":130720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:57:29] local.INFO: IMEI packet received {"connection_id":130720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":130720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:57:32] local.INFO: TCP Data received {"connection_id":131533,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:57:32] local.INFO: Processing buffer {"connection_id":131533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:57:32] local.INFO: IMEI packet received {"connection_id":131533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 17:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":131533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:57:33] local.INFO: TCP Data received {"connection_id":131533,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7155b0012d1b5700072507a80024000312..."} 
[2026-07-13 17:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7155b0012d1b5700072507a80024000312..."} 
[2026-07-13 17:57:33] local.INFO: Processing buffer {"connection_id":131533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7155b0012d1b5700072507a80024000312..."} 
[2026-07-13 17:57:33] local.INFO: Packet analysis {"connection_id":131533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b71"} 
[2026-07-13 17:57:33] local.INFO: Extracted packet for processing {"connection_id":131533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b71"} 
[2026-07-13 17:57:33] local.INFO: GPS Element Parsed {"raw_longitude":756766464,"raw_latitude":119867304,"longitude_deg":75.6766464,"latitude_deg":11.9867304,"altitude":36,"angle":3,"satellites":18,"speed":22,"hex_longitude":"2d1b5700","hex_latitude":"072507a8","is_valid_coordinates":true} 
[2026-07-13 17:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690065664001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5900164078239744,"note":"Value kept but may cause issues"} 
[2026-07-13 17:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970676711379447808,"note":"Value kept but may cause issues"} 
[2026-07-13 17:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783945582000,"timestamp_ms":1783945582000,"timestamp_seconds":1783945582,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7155b0"} 
[2026-07-13 17:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-13 17:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":131533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":131533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":131533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 17:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 17:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690065664001,"66":14298,"136":206,"83":42752,"24":22,"16":5900164078239744,"45":1970676711379447808},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-13 17:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 17:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 17:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690065664001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:57:33] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-13 17:57:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 17:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5900164078239744,"km_value":5900164078239.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970676711379447808,"description":"Unknown IO ID 45"} 
[2026-07-13 17:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690065664001,"power":14298,"unknown_136":206,"unknown_83":42752,"ignition":22,"odometer":null,"unknown_45":1970676711379447808}} 
[2026-07-13 17:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":131533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:57:33] local.INFO: GPS data processed {"connection_id":131533,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:57:33] local.INFO: Acknowledgment sent {"connection_id":131533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:57:34] local.INFO: TCP Data received {"connection_id":130720,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:57:34] local.INFO: Processing buffer {"connection_id":130720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:57:34] local.INFO: IMEI packet received {"connection_id":130720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":130720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:57:35] local.INFO: TCP Data received {"connection_id":130720,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6eb1e8012d82408005da0858000601042e..."} 
[2026-07-13 17:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6eb1e8012d82408005da0858000601042e..."} 
[2026-07-13 17:57:35] local.INFO: Processing buffer {"connection_id":130720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6eb1e8012d82408005da0858000601042e..."} 
[2026-07-13 17:57:35] local.INFO: Packet analysis {"connection_id":130720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6e"} 
[2026-07-13 17:57:35] local.INFO: Extracted packet for processing {"connection_id":130720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6e"} 
[2026-07-13 17:57:35] local.INFO: GPS Element Parsed {"raw_longitude":763510912,"raw_latitude":98175064,"longitude_deg":76.3510912,"latitude_deg":9.8175064,"altitude":6,"angle":260,"satellites":46,"speed":0,"hex_longitude":"2d824080","hex_latitude":"05da0858","is_valid_coordinates":true} 
[2026-07-13 17:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689946112001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947596127731712,"note":"Value kept but may cause issues"} 
[2026-07-13 17:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061101687648231424,"note":"Value kept but may cause issues"} 
[2026-07-13 17:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783945409000,"timestamp_ms":1783945409000,"timestamp_seconds":1783945409,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6eb1e8"} 
[2026-07-13 17:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-13 17:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689946112001,"66":12515,"71":206,"85":15104,"24":0,"16":105947596127731712,"45":-9061101687648231424},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 17:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689946112001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:57:35] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:57:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947596127731712,"km_value":105947596127731.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061101687648231424,"description":"Unknown IO ID 45"} 
[2026-07-13 17:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689946112001,"power":12515,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9061101687648231424}} 
[2026-07-13 17:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":130720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481096,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:57:35] local.INFO: GPS data processed {"connection_id":130720,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:57:35] local.INFO: Acknowledgment sent {"connection_id":130720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:57:39] local.INFO: TCP Data received {"connection_id":131534,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:57:39] local.INFO: Processing buffer {"connection_id":131534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:57:39] local.INFO: IMEI packet received {"connection_id":131534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":131534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:57:39] local.INFO: TCP Data received {"connection_id":130511,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:57:39] local.INFO: Processing buffer {"connection_id":130511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:57:39] local.INFO: IMEI packet received {"connection_id":130511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":130511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:57:44] local.INFO: TCP Data received {"connection_id":131534,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:57:44] local.INFO: Processing buffer {"connection_id":131534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:57:44] local.INFO: IMEI packet received {"connection_id":131534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":131534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:57:45] local.INFO: TCP Data received {"connection_id":130511,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:57:45] local.INFO: Processing buffer {"connection_id":130511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:57:45] local.INFO: IMEI packet received {"connection_id":130511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":130511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:57:45] local.INFO: TCP Data received {"connection_id":131534,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6f1778012d7f914005afd938000e011b22..."} 
[2026-07-13 17:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6f1778012d7f914005afd938000e011b22..."} 
[2026-07-13 17:57:45] local.INFO: Processing buffer {"connection_id":131534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6f1778012d7f914005afd938000e011b22..."} 
[2026-07-13 17:57:45] local.INFO: Packet analysis {"connection_id":131534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6f"} 
[2026-07-13 17:57:45] local.INFO: Extracted packet for processing {"connection_id":131534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6f"} 
[2026-07-13 17:57:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689954304001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783945435000,"timestamp_ms":1783945435000,"timestamp_seconds":1783945435,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6f1778"} 
[2026-07-13 17:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689954304001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689954304001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:57:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:57:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689954304001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":131534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:57:45] local.INFO: GPS data processed {"connection_id":131534,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:57:45] local.INFO: Acknowledgment sent {"connection_id":131534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:57:46] local.INFO: TCP Data received {"connection_id":130511,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6de2e0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6de2e0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:57:46] local.INFO: Processing buffer {"connection_id":130511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6de2e0012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:57:46] local.INFO: Packet analysis {"connection_id":130511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6d"} 
[2026-07-13 17:57:46] local.INFO: Extracted packet for processing {"connection_id":130511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6d"} 
[2026-07-13 17:57:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689934080001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:57:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783945356000,"timestamp_ms":1783945356000,"timestamp_seconds":1783945356,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6de2e0"} 
[2026-07-13 17:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 17:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689934080001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689934080001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:57:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:57:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:57:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689934080001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":130511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481098,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:57:46] local.INFO: GPS data processed {"connection_id":130511,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:57:46] local.INFO: Acknowledgment sent {"connection_id":130511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:57:53] local.INFO: TCP Data received {"connection_id":132864,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:57:53] local.INFO: Processing buffer {"connection_id":132864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:57:53] local.INFO: IMEI packet received {"connection_id":132864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 17:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":132864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:57:57] local.INFO: TCP Data received {"connection_id":132864,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:57:57] local.INFO: Processing buffer {"connection_id":132864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:57:57] local.INFO: IMEI packet received {"connection_id":132864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 17:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":132864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:57:58] local.INFO: TCP Data received {"connection_id":132864,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b728278012d1b6000072567f00022014a14..."} 
[2026-07-13 17:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b728278012d1b6000072567f00022014a14..."} 
[2026-07-13 17:57:58] local.INFO: Processing buffer {"connection_id":132864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b728278012d1b6000072567f00022014a14..."} 
[2026-07-13 17:57:58] local.INFO: Packet analysis {"connection_id":132864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b72"} 
[2026-07-13 17:57:58] local.INFO: Extracted packet for processing {"connection_id":132864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b72"} 
[2026-07-13 17:57:58] local.INFO: GPS Element Parsed {"raw_longitude":756768768,"raw_latitude":119891952,"longitude_deg":75.6768768,"latitude_deg":11.9891952,"altitude":34,"angle":330,"satellites":20,"speed":19,"hex_longitude":"2d1b6000","hex_latitude":"072567f0","is_valid_coordinates":true} 
[2026-07-13 17: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-07-13 17:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690088192001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5901383848951808,"note":"Value kept but may cause issues"} 
[2026-07-13 17:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973139617433829376,"note":"Value kept but may cause issues"} 
[2026-07-13 17:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783945659000,"timestamp_ms":1783945659000,"timestamp_seconds":1783945659,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b728278"} 
[2026-07-13 17:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-13 17:57: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-07-13 17: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-07-13 17:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 17:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 17:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690088192001,"66":13961,"216":206,"83":42752,"24":19,"16":5901383848951808,"45":1973139617433829376},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 17:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 17:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 17:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690088192001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:57:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 17:57:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 17:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5901383848951808,"km_value":5901383848951.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973139617433829376,"description":"Unknown IO ID 45"} 
[2026-07-13 17:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690088192001,"power":13961,"unknown_216":206,"unknown_83":42752,"ignition":19,"odometer":null,"unknown_45":1973139617433829376}} 
[2026-07-13 17:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":132864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:57:58] local.INFO: GPS data processed {"connection_id":132864,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:57:58] local.INFO: Acknowledgment sent {"connection_id":132864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:58:06] local.INFO: TCP Data received {"connection_id":130720,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b72a5a0012d82408005da0858000b01042f..."} 
[2026-07-13 17:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b72a5a0012d82408005da0858000b01042f..."} 
[2026-07-13 17:58:06] local.INFO: Processing buffer {"connection_id":130720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b72a5a0012d82408005da0858000b01042f..."} 
[2026-07-13 17:58:06] local.INFO: Packet analysis {"connection_id":130720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b72"} 
[2026-07-13 17:58:06] local.INFO: Extracted packet for processing {"connection_id":130720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b72"} 
[2026-07-13 17:58:06] local.INFO: GPS Element Parsed {"raw_longitude":763510912,"raw_latitude":98175064,"longitude_deg":76.3510912,"latitude_deg":9.8175064,"altitude":11,"angle":260,"satellites":47,"speed":0,"hex_longitude":"2d824080","hex_latitude":"05da0858","is_valid_coordinates":true} 
[2026-07-13 17:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690024704001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947596127731712,"note":"Value kept but may cause issues"} 
[2026-07-13 17:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061101687648266240,"note":"Value kept but may cause issues"} 
[2026-07-13 17:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783945668000,"timestamp_ms":1783945668000,"timestamp_seconds":1783945668,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b72a5a0"} 
[2026-07-13 17:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-13 17:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690024704001,"66":12504,"71":206,"85":15104,"24":0,"16":105947596127731712,"45":-9061101687648266240},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 17:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690024704001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:58:06] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:58:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947596127731712,"km_value":105947596127731.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061101687648266240,"description":"Unknown IO ID 45"} 
[2026-07-13 17:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690024704001,"power":12504,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9061101687648266240}} 
[2026-07-13 17:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":130720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481100,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:58:06] local.INFO: GPS data processed {"connection_id":130720,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:58:06] local.INFO: Acknowledgment sent {"connection_id":130720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:58:16] local.INFO: TCP Data received {"connection_id":131534,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6f1778012d7f914005afd938000e011b22..."} 
[2026-07-13 17:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6f1778012d7f914005afd938000e011b22..."} 
[2026-07-13 17:58:16] local.INFO: Processing buffer {"connection_id":131534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6f1778012d7f914005afd938000e011b22..."} 
[2026-07-13 17:58:16] local.INFO: Packet analysis {"connection_id":131534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6f"} 
[2026-07-13 17:58:16] local.INFO: Extracted packet for processing {"connection_id":131534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6f"} 
[2026-07-13 17:58:16] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 17:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689954304001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783945435000,"timestamp_ms":1783945435000,"timestamp_seconds":1783945435,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6f1778"} 
[2026-07-13 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-07-13 17:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 17:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":131534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":131534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":131534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689954304001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689954304001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:58:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:58:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689954304001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":131534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:58:16] local.INFO: GPS data processed {"connection_id":131534,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:58:16] local.INFO: Acknowledgment sent {"connection_id":131534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:58:17] local.INFO: TCP Data received {"connection_id":130511,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:58:17] local.INFO: Processing buffer {"connection_id":130511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:58:17] local.INFO: Packet analysis {"connection_id":130511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b72"} 
[2026-07-13 17:58:17] local.INFO: Extracted packet for processing {"connection_id":130511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b72"} 
[2026-07-13 17:58:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690011136001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:58:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783945657000,"timestamp_ms":1783945657000,"timestamp_seconds":1783945657,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b727aa8"} 
[2026-07-13 17:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:58: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-07-13 17:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 17:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690011136001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690011136001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:58:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:58:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:58:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690011136001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":130511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481102,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:58:17] local.INFO: GPS data processed {"connection_id":130511,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:58:17] local.INFO: Acknowledgment sent {"connection_id":130511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:58:29] local.INFO: TCP Data received {"connection_id":132865,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132865,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:58:29] local.INFO: Processing buffer {"connection_id":132865,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:58:29] local.INFO: IMEI packet received {"connection_id":132865,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":132865,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:58:30] local.INFO: TCP Data received {"connection_id":132864,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b728e30012d1b5c4007256cb00025013b14..."} 
[2026-07-13 17:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b728e30012d1b5c4007256cb00025013b14..."} 
[2026-07-13 17:58:30] local.INFO: Processing buffer {"connection_id":132864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b728e30012d1b5c4007256cb00025013b14..."} 
[2026-07-13 17:58:30] local.INFO: Packet analysis {"connection_id":132864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b72"} 
[2026-07-13 17:58:30] local.INFO: Extracted packet for processing {"connection_id":132864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b72"} 
[2026-07-13 17:58:30] local.INFO: GPS Element Parsed {"raw_longitude":756767808,"raw_latitude":119893168,"longitude_deg":75.6767808,"latitude_deg":11.9893168,"altitude":37,"angle":315,"satellites":20,"speed":22,"hex_longitude":"2d1b5c40","hex_latitude":"07256cb0","is_valid_coordinates":true} 
[2026-07-13 17:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690088704001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5901461158363136,"note":"Value kept but may cause issues"} 
[2026-07-13 17:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972576667480616960,"note":"Value kept but may cause issues"} 
[2026-07-13 17:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783945662000,"timestamp_ms":1783945662000,"timestamp_seconds":1783945662,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b728e30"} 
[2026-07-13 17:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 17:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-13 17:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":132864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":132864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":132864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 17:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 17:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 17:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690088704001,"66":13537,"216":206,"83":42752,"24":22,"16":5901461158363136,"45":1972576667480616960},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 17:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 17:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 17:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690088704001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:58:30] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 17:58:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 17:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5901461158363136,"km_value":5901461158363.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972576667480616960,"description":"Unknown IO ID 45"} 
[2026-07-13 17:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690088704001,"power":13537,"unknown_216":206,"unknown_83":42752,"ignition":22,"odometer":null,"unknown_45":1972576667480616960}} 
[2026-07-13 17:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":132864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:58:30] local.INFO: GPS data processed {"connection_id":132864,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:58:30] local.INFO: Acknowledgment sent {"connection_id":132864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:58:32] local.INFO: TCP Data received {"connection_id":132865,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132865,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:58:32] local.INFO: Processing buffer {"connection_id":132865,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:58:32] local.INFO: IMEI packet received {"connection_id":132865,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":132865,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:58:35] local.INFO: TCP Data received {"connection_id":132865,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132865,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:58:35] local.INFO: Processing buffer {"connection_id":132865,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:58:35] local.INFO: IMEI packet received {"connection_id":132865,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":132865,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:58:36] local.INFO: TCP Data received {"connection_id":132865,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b72a5a0012d82408005da0858000b01042f..."} 
[2026-07-13 17:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b72a5a0012d82408005da0858000b01042f..."} 
[2026-07-13 17:58:36] local.INFO: Processing buffer {"connection_id":132865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b72a5a0012d82408005da0858000b01042f..."} 
[2026-07-13 17:58:36] local.INFO: Packet analysis {"connection_id":132865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b72"} 
[2026-07-13 17:58:36] local.INFO: Extracted packet for processing {"connection_id":132865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b72"} 
[2026-07-13 17:58:36] local.INFO: GPS Element Parsed {"raw_longitude":763510912,"raw_latitude":98175064,"longitude_deg":76.3510912,"latitude_deg":9.8175064,"altitude":11,"angle":260,"satellites":47,"speed":0,"hex_longitude":"2d824080","hex_latitude":"05da0858","is_valid_coordinates":true} 
[2026-07-13 17:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690091008001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947596127731712,"note":"Value kept but may cause issues"} 
[2026-07-13 17:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061101687648266240,"note":"Value kept but may cause issues"} 
[2026-07-13 17:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783945668000,"timestamp_ms":1783945668000,"timestamp_seconds":1783945668,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b72a5a0"} 
[2026-07-13 17:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 17:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":132865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":132865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":132865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690091008001,"66":12504,"71":206,"85":15104,"24":0,"16":105947596127731712,"45":-9061101687648266240},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 17:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690091008001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:58:36] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:58:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947596127731712,"km_value":105947596127731.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061101687648266240,"description":"Unknown IO ID 45"} 
[2026-07-13 17:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690091008001,"power":12504,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9061101687648266240}} 
[2026-07-13 17:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":132865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481104,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:58:36] local.INFO: GPS data processed {"connection_id":132865,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:58:36] local.INFO: Acknowledgment sent {"connection_id":132865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:58:39] local.INFO: TCP Data received {"connection_id":130721,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:58:39] local.INFO: Processing buffer {"connection_id":130721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:58:39] local.INFO: IMEI packet received {"connection_id":130721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":130721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:58:40] local.INFO: TCP Data received {"connection_id":132865,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7349b0012d82408005da0858000b01042e..."} 
[2026-07-13 17:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7349b0012d82408005da0858000b01042e..."} 
[2026-07-13 17:58:40] local.INFO: Processing buffer {"connection_id":132865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7349b0012d82408005da0858000b01042e..."} 
[2026-07-13 17:58:40] local.INFO: Packet analysis {"connection_id":132865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 17:58:40] local.INFO: Extracted packet for processing {"connection_id":132865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 17:58:40] local.INFO: GPS Element Parsed {"raw_longitude":763510912,"raw_latitude":98175064,"longitude_deg":76.3510912,"latitude_deg":9.8175064,"altitude":11,"angle":260,"satellites":46,"speed":0,"hex_longitude":"2d824080","hex_latitude":"05da0858","is_valid_coordinates":true} 
[2026-07-13 17:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690091008001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947596127731712,"note":"Value kept but may cause issues"} 
[2026-07-13 17:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061101687648266240,"note":"Value kept but may cause issues"} 
[2026-07-13 17:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783945710000,"timestamp_ms":1783945710000,"timestamp_seconds":1783945710,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7349b0"} 
[2026-07-13 17:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 17:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690091008001,"66":2220,"71":206,"85":15104,"24":0,"16":105947596127731712,"45":-9061101687648266240},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 17:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690091008001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:58:40] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:58:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947596127731712,"km_value":105947596127731.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061101687648266240,"description":"Unknown IO ID 45"} 
[2026-07-13 17:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690091008001,"power":2220,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9061101687648266240}} 
[2026-07-13 17:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":132865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481105,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:58:40] local.INFO: GPS data processed {"connection_id":132865,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:58:40] local.INFO: Acknowledgment sent {"connection_id":132865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:58:44] local.INFO: TCP Data received {"connection_id":130721,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:58:44] local.INFO: Processing buffer {"connection_id":130721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:58:44] local.INFO: IMEI packet received {"connection_id":130721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":130721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:58:44] local.INFO: TCP Data received {"connection_id":130722,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130722,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:58:44] local.INFO: Processing buffer {"connection_id":130722,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:58:44] local.INFO: IMEI packet received {"connection_id":130722,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":130722,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:58:45] local.INFO: TCP Data received {"connection_id":130721,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6f1778012d7f914005afd938000e011b22..."} 
[2026-07-13 17:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6f1778012d7f914005afd938000e011b22..."} 
[2026-07-13 17:58:45] local.INFO: Processing buffer {"connection_id":130721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6f1778012d7f914005afd938000e011b22..."} 
[2026-07-13 17:58:45] local.INFO: Packet analysis {"connection_id":130721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6f"} 
[2026-07-13 17:58:45] local.INFO: Extracted packet for processing {"connection_id":130721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6f"} 
[2026-07-13 17:58:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689954304001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783945435000,"timestamp_ms":1783945435000,"timestamp_seconds":1783945435,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6f1778"} 
[2026-07-13 17:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689954304001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689954304001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:58:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:58:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689954304001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":130721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:58:45] local.INFO: GPS data processed {"connection_id":130721,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:58:45] local.INFO: Acknowledgment sent {"connection_id":130721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:58:49] local.INFO: TCP Data received {"connection_id":130721,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b6f1778012d7f914005afd938000e011b22..."} 
[2026-07-13 17:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b6f1778012d7f914005afd938000e011b22..."} 
[2026-07-13 17:58:49] local.INFO: Processing buffer {"connection_id":130721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b6f1778012d7f914005afd938000e011b22..."} 
[2026-07-13 17:58:49] local.INFO: Packet analysis {"connection_id":130721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b6f"} 
[2026-07-13 17:58:49] local.INFO: Extracted packet for processing {"connection_id":130721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b6f"} 
[2026-07-13 17:58:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":14,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456689954304001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783945435000,"timestamp_ms":1783945435000,"timestamp_seconds":1783945435,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b6f1778"} 
[2026-07-13 17:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 17:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 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-07-13 17:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456689954304001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456689954304001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:58:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:58:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456689954304001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":130721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:58:49] local.INFO: GPS data processed {"connection_id":130721,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:58:49] local.INFO: Acknowledgment sent {"connection_id":130721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:58:50] local.INFO: TCP Data received {"connection_id":130722,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130722,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:58:50] local.INFO: Processing buffer {"connection_id":130722,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:58:50] local.INFO: IMEI packet received {"connection_id":130722,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":130722,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:58:51] local.INFO: TCP Data received {"connection_id":130722,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:58:51] local.INFO: Processing buffer {"connection_id":130722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:58:51] local.INFO: Packet analysis {"connection_id":130722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b72"} 
[2026-07-13 17:58:51] local.INFO: Extracted packet for processing {"connection_id":130722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b72"} 
[2026-07-13 17:58:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690011136001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:58:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783945657000,"timestamp_ms":1783945657000,"timestamp_seconds":1783945657,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b727aa8"} 
[2026-07-13 17:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 17:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130722,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130722,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690011136001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690011136001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:58:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:58:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:58:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690011136001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":130722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481108,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:58:51] local.INFO: GPS data processed {"connection_id":130722,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:58:51] local.INFO: Acknowledgment sent {"connection_id":130722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:59:11] local.INFO: TCP Data received {"connection_id":132865,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7349b0012d82408005da0858000b01042e..."} 
[2026-07-13 17:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7349b0012d82408005da0858000b01042e..."} 
[2026-07-13 17:59:11] local.INFO: Processing buffer {"connection_id":132865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7349b0012d82408005da0858000b01042e..."} 
[2026-07-13 17:59:11] local.INFO: Packet analysis {"connection_id":132865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 17:59:11] local.INFO: Extracted packet for processing {"connection_id":132865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 17:59:11] local.INFO: GPS Element Parsed {"raw_longitude":763510912,"raw_latitude":98175064,"longitude_deg":76.3510912,"latitude_deg":9.8175064,"altitude":11,"angle":260,"satellites":46,"speed":0,"hex_longitude":"2d824080","hex_latitude":"05da0858","is_valid_coordinates":true} 
[2026-07-13 17:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690091008001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947596127731712,"note":"Value kept but may cause issues"} 
[2026-07-13 17:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061101687648266240,"note":"Value kept but may cause issues"} 
[2026-07-13 17:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783945710000,"timestamp_ms":1783945710000,"timestamp_seconds":1783945710,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7349b0"} 
[2026-07-13 17:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 17:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690091008001,"66":2220,"71":206,"85":15104,"24":0,"16":105947596127731712,"45":-9061101687648266240},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 17:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690091008001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:59:11] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:59:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947596127731712,"km_value":105947596127731.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061101687648266240,"description":"Unknown IO ID 45"} 
[2026-07-13 17:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690091008001,"power":2220,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9061101687648266240}} 
[2026-07-13 17:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":132865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481109,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:59:11] local.INFO: GPS data processed {"connection_id":132865,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:59:11] local.INFO: Acknowledgment sent {"connection_id":132865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:59:22] local.INFO: TCP Data received {"connection_id":130722,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:59:22] local.INFO: Processing buffer {"connection_id":130722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:59:22] local.INFO: Packet analysis {"connection_id":130722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b72"} 
[2026-07-13 17:59:22] local.INFO: Extracted packet for processing {"connection_id":130722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b72"} 
[2026-07-13 17:59:22] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690011136001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:59:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783945657000,"timestamp_ms":1783945657000,"timestamp_seconds":1783945657,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b727aa8"} 
[2026-07-13 17:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 17:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130722,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130722,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690011136001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690011136001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:59:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:59:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:59:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690011136001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":130722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481110,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:59:23] local.INFO: GPS data processed {"connection_id":130722,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:59:23] local.INFO: Acknowledgment sent {"connection_id":130722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:59:30] local.INFO: TCP Data received {"connection_id":130512,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130512,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:59:30] local.INFO: Processing buffer {"connection_id":130512,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:59:30] local.INFO: IMEI packet received {"connection_id":130512,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 17:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":130512,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:59:34] local.INFO: TCP Data received {"connection_id":130512,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130512,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:59:34] local.INFO: Processing buffer {"connection_id":130512,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 17:59:34] local.INFO: IMEI packet received {"connection_id":130512,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 17:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":130512,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:59:35] local.INFO: TCP Data received {"connection_id":131536,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:59:35] local.INFO: Processing buffer {"connection_id":131536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 17:59:35] local.INFO: IMEI packet received {"connection_id":131536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 17:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":131536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:59:35] local.INFO: TCP Data received {"connection_id":130512,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7349b0012d82408005da0858000b01042e..."} 
[2026-07-13 17:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7349b0012d82408005da0858000b01042e..."} 
[2026-07-13 17:59:35] local.INFO: Processing buffer {"connection_id":130512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7349b0012d82408005da0858000b01042e..."} 
[2026-07-13 17:59:35] local.INFO: Packet analysis {"connection_id":130512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 17:59:35] local.INFO: Extracted packet for processing {"connection_id":130512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 17:59:35] local.INFO: GPS Element Parsed {"raw_longitude":763510912,"raw_latitude":98175064,"longitude_deg":76.3510912,"latitude_deg":9.8175064,"altitude":11,"angle":260,"satellites":46,"speed":0,"hex_longitude":"2d824080","hex_latitude":"05da0858","is_valid_coordinates":true} 
[2026-07-13 17:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690091008001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947596127731712,"note":"Value kept but may cause issues"} 
[2026-07-13 17:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061101687648266240,"note":"Value kept but may cause issues"} 
[2026-07-13 17:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783945710000,"timestamp_ms":1783945710000,"timestamp_seconds":1783945710,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7349b0"} 
[2026-07-13 17:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 17:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 17:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 17:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 17:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690091008001,"66":2220,"71":206,"85":15104,"24":0,"16":105947596127731712,"45":-9061101687648266240},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 17:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 17:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 17:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690091008001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:59:35] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 17:59:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 17:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947596127731712,"km_value":105947596127731.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061101687648266240,"description":"Unknown IO ID 45"} 
[2026-07-13 17:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690091008001,"power":2220,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9061101687648266240}} 
[2026-07-13 17:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":130512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481111,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:59:35] local.INFO: GPS data processed {"connection_id":130512,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:59:35] local.INFO: Acknowledgment sent {"connection_id":130512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:59:38] local.INFO: TCP Data received {"connection_id":131535,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:59:38] local.INFO: Processing buffer {"connection_id":131535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 17:59:38] local.INFO: IMEI packet received {"connection_id":131535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 17:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":131535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:59:39] local.INFO: TCP Data received {"connection_id":131535,"ip":"42.106.6.20","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-13 17:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131535,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-13 17:59:39] local.INFO: Processing buffer {"connection_id":131535,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-13 17:59:39] local.INFO: IMEI packet received {"connection_id":131535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":131535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:59:40] local.INFO: TCP Data received {"connection_id":130513,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130513,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:59:40] local.INFO: Processing buffer {"connection_id":130513,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:59:40] local.INFO: IMEI packet received {"connection_id":130513,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 17:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":130513,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 17:59:40] local.INFO: TCP Data received {"connection_id":131535,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b73af40012d7f914005afd938000f011b21..."} 
[2026-07-13 17:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b73af40012d7f914005afd938000f011b21..."} 
[2026-07-13 17:59:40] local.INFO: Processing buffer {"connection_id":131535,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f5b..."} 
[2026-07-13 17:59:40] local.INFO: IMEI packet received {"connection_id":131535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 17:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":131535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:59:45] local.INFO: TCP Data received {"connection_id":130513,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130513,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:59:45] local.INFO: Processing buffer {"connection_id":130513,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 17:59:45] local.INFO: IMEI packet received {"connection_id":130513,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 17:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":130513,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 17:59:45] local.INFO: TCP Data received {"connection_id":131535,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b73af40012d7f914005afd938000f011b21..."} 
[2026-07-13 17:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b73af40012d7f914005afd938000f011b21..."} 
[2026-07-13 17:59:45] local.INFO: Processing buffer {"connection_id":131535,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f5b73af40012d7f914005afd938000f011b21..."} 
[2026-07-13 17:59:45] local.INFO: Packet analysis {"connection_id":131535,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 17:59:45] local.INFO: Extracted packet for processing {"connection_id":131535,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 17:59:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690031360001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783945736000,"timestamp_ms":1783945736000,"timestamp_seconds":1783945736,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b73af40"} 
[2026-07-13 17:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 17:59:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690031360001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690031360001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:59:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:59:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690031360001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":131535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:59:45] local.INFO: GPS data processed {"connection_id":131535,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:59:45] local.INFO: Acknowledgment sent {"connection_id":131535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:59:45] local.INFO: Packet analysis {"connection_id":131535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 17:59:45] local.INFO: Extracted packet for processing {"connection_id":131535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 17:59:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690031360001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783945736000,"timestamp_ms":1783945736000,"timestamp_seconds":1783945736,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b73af40"} 
[2026-07-13 17:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 17:59:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690031360001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690031360001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:59:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:59:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690031360001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":131535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:59:45] local.INFO: GPS data processed {"connection_id":131535,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:59:45] local.INFO: Acknowledgment sent {"connection_id":131535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:59:46] local.INFO: TCP Data received {"connection_id":130513,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:59:46] local.INFO: Processing buffer {"connection_id":130513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 17:59:46] local.INFO: Packet analysis {"connection_id":130513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b72"} 
[2026-07-13 17:59:46] local.INFO: Extracted packet for processing {"connection_id":130513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b72"} 
[2026-07-13 17:59:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 17:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 17:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690011136001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 17:59:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 17:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783945657000,"timestamp_ms":1783945657000,"timestamp_seconds":1783945657,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b727aa8"} 
[2026-07-13 17:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 17:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 17:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130513,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130513,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 17:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 17:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 17:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690011136001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 17:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 17:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 17:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690011136001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:59:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 17:59:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 17:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:59:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 17:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690011136001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 17:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":130513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481114,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:59:46] local.INFO: GPS data processed {"connection_id":130513,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:59:46] local.INFO: Acknowledgment sent {"connection_id":130513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 17:59:49] local.INFO: TCP Data received {"connection_id":131535,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b73af40012d7f914005afd938000f011b21..."} 
[2026-07-13 17:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b73af40012d7f914005afd938000f011b21..."} 
[2026-07-13 17:59:49] local.INFO: Processing buffer {"connection_id":131535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b73af40012d7f914005afd938000f011b21..."} 
[2026-07-13 17:59:49] local.INFO: Packet analysis {"connection_id":131535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 17:59:49] local.INFO: Extracted packet for processing {"connection_id":131535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 17:59:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 17: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-07-13 17:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690031360001,"note":"Value kept but may cause issues"} 
[2026-07-13 17:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 17:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 17:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 17:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783945736000,"timestamp_ms":1783945736000,"timestamp_seconds":1783945736,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b73af40"} 
[2026-07-13 17:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 17:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 17: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 17:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 17: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-07-13 17:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 17:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 17:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 17:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 17:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 17:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 17:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 17:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690031360001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 17:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 17:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 17:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690031360001,"description":"Unknown IO ID 0"} 
[2026-07-13 17:59:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 17:59:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 17:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 17:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 17:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690031360001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 17:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":131535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 17:59:49] local.INFO: GPS data processed {"connection_id":131535,"processed":1,"errors":0,"total":1} 
[2026-07-13 17:59:49] local.INFO: Acknowledgment sent {"connection_id":131535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:00:03] local.INFO: TCP Data received {"connection_id":130514,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:00:03] local.INFO: Processing buffer {"connection_id":130514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:00:03] local.INFO: IMEI packet received {"connection_id":130514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":130514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:00:06] local.INFO: TCP Data received {"connection_id":130512,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7349b0012d82408005da0858000b01042e..."} 
[2026-07-13 18:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7349b0012d82408005da0858000b01042e..."} 
[2026-07-13 18:00:06] local.INFO: Processing buffer {"connection_id":130512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7349b0012d82408005da0858000b01042e..."} 
[2026-07-13 18:00:06] local.INFO: Packet analysis {"connection_id":130512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 18:00:06] local.INFO: Extracted packet for processing {"connection_id":130512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 18:00:06] local.INFO: GPS Element Parsed {"raw_longitude":763510912,"raw_latitude":98175064,"longitude_deg":76.3510912,"latitude_deg":9.8175064,"altitude":11,"angle":260,"satellites":46,"speed":0,"hex_longitude":"2d824080","hex_latitude":"05da0858","is_valid_coordinates":true} 
[2026-07-13 18:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690091008001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947596127731712,"note":"Value kept but may cause issues"} 
[2026-07-13 18:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061101687648266240,"note":"Value kept but may cause issues"} 
[2026-07-13 18:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783945710000,"timestamp_ms":1783945710000,"timestamp_seconds":1783945710,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7349b0"} 
[2026-07-13 18:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 18:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690091008001,"66":2220,"71":206,"85":15104,"24":0,"16":105947596127731712,"45":-9061101687648266240},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 18:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690091008001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:00:06] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 18:00:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947596127731712,"km_value":105947596127731.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061101687648266240,"description":"Unknown IO ID 45"} 
[2026-07-13 18:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690091008001,"power":2220,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9061101687648266240}} 
[2026-07-13 18:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":130512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:00:06] local.INFO: GPS data processed {"connection_id":130512,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:00:06] local.INFO: Acknowledgment sent {"connection_id":130512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:00:08] local.INFO: TCP Data received {"connection_id":130514,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:00:08] local.INFO: Processing buffer {"connection_id":130514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:00:08] local.INFO: IMEI packet received {"connection_id":130514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":130514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:00:08] local.INFO: TCP Data received {"connection_id":130514,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b737c78012d1b0a800725a1f8002f010013..."} 
[2026-07-13 18:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b737c78012d1b0a800725a1f8002f010013..."} 
[2026-07-13 18:00:08] local.INFO: Processing buffer {"connection_id":130514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b737c78012d1b0a800725a1f8002f010013..."} 
[2026-07-13 18:00:08] local.INFO: Packet analysis {"connection_id":130514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 18:00:08] local.INFO: Extracted packet for processing {"connection_id":130514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 18:00:08] local.INFO: GPS Element Parsed {"raw_longitude":756746880,"raw_latitude":119906808,"longitude_deg":75.674688,"latitude_deg":11.9906808,"altitude":47,"angle":256,"satellites":19,"speed":14,"hex_longitude":"2d1b0a80","hex_latitude":"0725a1f8","is_valid_coordinates":true} 
[2026-07-13 18:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690103552001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5902874202603520,"note":"Value kept but may cause issues"} 
[2026-07-13 18:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1950832725533679616,"note":"Value kept but may cause issues"} 
[2026-07-13 18:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783945723000,"timestamp_ms":1783945723000,"timestamp_seconds":1783945723,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b737c78"} 
[2026-07-13 18:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-13 18:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690103552001,"66":14243,"216":206,"83":42752,"24":14,"16":5902874202603520,"45":1950832725533679616},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 18:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690103552001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:00:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 18:00:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 18:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5902874202603520,"km_value":5902874202603.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1950832725533679616,"description":"Unknown IO ID 45"} 
[2026-07-13 18:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690103552001,"power":14243,"unknown_216":206,"unknown_83":42752,"ignition":14,"odometer":null,"unknown_45":1950832725533679616}} 
[2026-07-13 18:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":130514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:00:09] local.INFO: GPS data processed {"connection_id":130514,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:00:09] local.INFO: Acknowledgment sent {"connection_id":130514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:00:17] local.INFO: TCP Data received {"connection_id":130513,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:00:17] local.INFO: Processing buffer {"connection_id":130513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:00:17] local.INFO: Packet analysis {"connection_id":130513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b72"} 
[2026-07-13 18:00:17] local.INFO: Extracted packet for processing {"connection_id":130513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b72"} 
[2026-07-13 18:00:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 18:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690011136001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:00:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783945657000,"timestamp_ms":1783945657000,"timestamp_seconds":1783945657,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b727aa8"} 
[2026-07-13 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-07-13 18:00: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-07-13 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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 18:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 18:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130513,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130513,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690011136001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690011136001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:00:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:00:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:00:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690011136001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":130513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481118,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:00:17] local.INFO: GPS data processed {"connection_id":130513,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:00:17] local.INFO: Acknowledgment sent {"connection_id":130513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:00:29] local.INFO: TCP Data received {"connection_id":130515,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130515,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:00:29] local.INFO: Processing buffer {"connection_id":130515,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:00:29] local.INFO: IMEI packet received {"connection_id":130515,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 18:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":130515,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:00:34] local.INFO: TCP Data received {"connection_id":130515,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130515,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:00:34] local.INFO: Processing buffer {"connection_id":130515,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:00:34] local.INFO: IMEI packet received {"connection_id":130515,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":130515,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:00:35] local.INFO: TCP Data received {"connection_id":130515,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7349b0012d82408005da0858000b01042e..."} 
[2026-07-13 18:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7349b0012d82408005da0858000b01042e..."} 
[2026-07-13 18:00:35] local.INFO: Processing buffer {"connection_id":130515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7349b0012d82408005da0858000b01042e..."} 
[2026-07-13 18:00:35] local.INFO: Packet analysis {"connection_id":130515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 18:00:35] local.INFO: Extracted packet for processing {"connection_id":130515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 18:00:35] local.INFO: GPS Element Parsed {"raw_longitude":763510912,"raw_latitude":98175064,"longitude_deg":76.3510912,"latitude_deg":9.8175064,"altitude":11,"angle":260,"satellites":46,"speed":0,"hex_longitude":"2d824080","hex_latitude":"05da0858","is_valid_coordinates":true} 
[2026-07-13 18:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690091008001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947596127731712,"note":"Value kept but may cause issues"} 
[2026-07-13 18:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061101687648266240,"note":"Value kept but may cause issues"} 
[2026-07-13 18:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783945710000,"timestamp_ms":1783945710000,"timestamp_seconds":1783945710,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7349b0"} 
[2026-07-13 18:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 18:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690091008001,"66":2220,"71":206,"85":15104,"24":0,"16":105947596127731712,"45":-9061101687648266240},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 18:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690091008001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:00:35] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 18:00:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947596127731712,"km_value":105947596127731.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061101687648266240,"description":"Unknown IO ID 45"} 
[2026-07-13 18:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690091008001,"power":2220,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9061101687648266240}} 
[2026-07-13 18:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":130515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:00:35] local.INFO: GPS data processed {"connection_id":130515,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:00:35] local.INFO: Acknowledgment sent {"connection_id":130515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:00:39] local.INFO: TCP Data received {"connection_id":130723,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:00:39] local.INFO: Processing buffer {"connection_id":130723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:00:39] local.INFO: IMEI packet received {"connection_id":130723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":130723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:00:39] local.INFO: TCP Data received {"connection_id":132866,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:00:39] local.INFO: Processing buffer {"connection_id":132866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:00:39] local.INFO: IMEI packet received {"connection_id":132866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":132866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:00:44] local.INFO: TCP Data received {"connection_id":130723,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:00:44] local.INFO: Processing buffer {"connection_id":130723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:00:44] local.INFO: IMEI packet received {"connection_id":130723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":130723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:00:45] local.INFO: TCP Data received {"connection_id":132866,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:00:45] local.INFO: Processing buffer {"connection_id":132866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:00:45] local.INFO: IMEI packet received {"connection_id":132866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":132866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:00:45] local.INFO: TCP Data received {"connection_id":130723,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b73af40012d7f914005afd938000f011b21..."} 
[2026-07-13 18:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b73af40012d7f914005afd938000f011b21..."} 
[2026-07-13 18:00:45] local.INFO: Processing buffer {"connection_id":130723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b73af40012d7f914005afd938000f011b21..."} 
[2026-07-13 18:00:45] local.INFO: Packet analysis {"connection_id":130723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 18:00:45] local.INFO: Extracted packet for processing {"connection_id":130723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 18:00:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690031360001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783945736000,"timestamp_ms":1783945736000,"timestamp_seconds":1783945736,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b73af40"} 
[2026-07-13 18:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 18:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:00:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690031360001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690031360001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:00:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:00:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690031360001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":130723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:00:45] local.INFO: GPS data processed {"connection_id":130723,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:00:45] local.INFO: Acknowledgment sent {"connection_id":130723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:00:46] local.INFO: TCP Data received {"connection_id":132866,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:00:46] local.INFO: Processing buffer {"connection_id":132866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:00:46] local.INFO: Packet analysis {"connection_id":132866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b72"} 
[2026-07-13 18:00:46] local.INFO: Extracted packet for processing {"connection_id":132866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b72"} 
[2026-07-13 18:00:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690011136001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:00:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783945657000,"timestamp_ms":1783945657000,"timestamp_seconds":1783945657,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b727aa8"} 
[2026-07-13 18:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 18:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690011136001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690011136001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:00:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:00:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:00:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690011136001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":132866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481121,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:00:46] local.INFO: GPS data processed {"connection_id":132866,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:00:46] local.INFO: Acknowledgment sent {"connection_id":132866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:00:49] local.INFO: TCP Data received {"connection_id":130723,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b73af40012d7f914005afd938000f011b21..."} 
[2026-07-13 18:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b73af40012d7f914005afd938000f011b21..."} 
[2026-07-13 18:00:49] local.INFO: Processing buffer {"connection_id":130723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b73af40012d7f914005afd938000f011b21..."} 
[2026-07-13 18:00:49] local.INFO: Packet analysis {"connection_id":130723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 18:00:49] local.INFO: Extracted packet for processing {"connection_id":130723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 18:00:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 18:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690031360001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783945736000,"timestamp_ms":1783945736000,"timestamp_seconds":1783945736,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b73af40"} 
[2026-07-13 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-07-13 18:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 18:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 18:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690031360001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690031360001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:00:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:00:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690031360001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":130723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:00:49] local.INFO: GPS data processed {"connection_id":130723,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:00:49] local.INFO: Acknowledgment sent {"connection_id":130723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:00:57] local.INFO: TCP Data received {"connection_id":131537,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:00:57] local.INFO: Processing buffer {"connection_id":131537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:00:57] local.INFO: IMEI packet received {"connection_id":131537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":131537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:00:57] local.INFO: TCP Data received {"connection_id":131537,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:00:57] local.INFO: Processing buffer {"connection_id":131537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:00:57] local.INFO: IMEI packet received {"connection_id":131537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":131537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:01:03] local.INFO: TCP Data received {"connection_id":131537,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:01:03] local.INFO: Processing buffer {"connection_id":131537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:01:03] local.INFO: IMEI packet received {"connection_id":131537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":131537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:01:04] local.INFO: TCP Data received {"connection_id":131537,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b74c880012d1b0a000725a060002f006216..."} 
[2026-07-13 18:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b74c880012d1b0a000725a060002f006216..."} 
[2026-07-13 18:01:04] local.INFO: Processing buffer {"connection_id":131537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b74c880012d1b0a000725a060002f006216..."} 
[2026-07-13 18:01:04] local.INFO: Packet analysis {"connection_id":131537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b74"} 
[2026-07-13 18:01:04] local.INFO: Extracted packet for processing {"connection_id":131537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b74"} 
[2026-07-13 18:01:04] local.INFO: GPS Element Parsed {"raw_longitude":756746752,"raw_latitude":119906400,"longitude_deg":75.6746752,"latitude_deg":11.99064,"altitude":47,"angle":98,"satellites":22,"speed":0,"hex_longitude":"2d1b0a00","hex_latitude":"0725a060","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690124032001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5903080361033728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1947455025812897792,"note":"Value kept but may cause issues"} 
[2026-07-13 18:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783945808000,"timestamp_ms":1783945808000,"timestamp_seconds":1783945808,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b74c880"} 
[2026-07-13 18:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-13 18:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":131537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":131537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":131537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690124032001,"66":13961,"43":206,"83":41984,"24":0,"16":5903080361033728,"45":1947455025812897792},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-13 18:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690124032001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:01:04] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-13 18:01:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5903080361033728,"km_value":5903080361033.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1947455025812897792,"description":"Unknown IO ID 45"} 
[2026-07-13 18:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690124032001,"power":13961,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1947455025812897792}} 
[2026-07-13 18:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":131537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:01:04] local.INFO: GPS data processed {"connection_id":131537,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:01:04] local.INFO: Acknowledgment sent {"connection_id":131537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:01:06] local.INFO: TCP Data received {"connection_id":130515,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b759b70012d82408005da0858000801042d..."} 
[2026-07-13 18:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b759b70012d82408005da0858000801042d..."} 
[2026-07-13 18:01:06] local.INFO: Processing buffer {"connection_id":130515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b759b70012d82408005da0858000801042d..."} 
[2026-07-13 18:01:06] local.INFO: Packet analysis {"connection_id":130515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b75"} 
[2026-07-13 18:01:06] local.INFO: Extracted packet for processing {"connection_id":130515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b75"} 
[2026-07-13 18:01:06] local.INFO: GPS Element Parsed {"raw_longitude":763510912,"raw_latitude":98175064,"longitude_deg":76.3510912,"latitude_deg":9.8175064,"altitude":8,"angle":260,"satellites":45,"speed":0,"hex_longitude":"2d824080","hex_latitude":"05da0858","is_valid_coordinates":true} 
[2026-07-13 18:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690101760001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947596127731712,"note":"Value kept but may cause issues"} 
[2026-07-13 18:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061101687648266240,"note":"Value kept but may cause issues"} 
[2026-07-13 18:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783945862000,"timestamp_ms":1783945862000,"timestamp_seconds":1783945862,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b759b70"} 
[2026-07-13 18:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-13 18:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690101760001,"66":2220,"71":206,"85":15104,"24":0,"16":105947596127731712,"45":-9061101687648266240},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 18:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690101760001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:01:06] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 18:01:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947596127731712,"km_value":105947596127731.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061101687648266240,"description":"Unknown IO ID 45"} 
[2026-07-13 18:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690101760001,"power":2220,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9061101687648266240}} 
[2026-07-13 18:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":130515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:01:06] local.INFO: GPS data processed {"connection_id":130515,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:01:06] local.INFO: Acknowledgment sent {"connection_id":130515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:01:18] local.INFO: TCP Data received {"connection_id":132866,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:01:18] local.INFO: Processing buffer {"connection_id":132866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:01:18] local.INFO: Packet analysis {"connection_id":132866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b72"} 
[2026-07-13 18:01:18] local.INFO: Extracted packet for processing {"connection_id":132866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b72"} 
[2026-07-13 18:01:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690011136001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:01:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783945657000,"timestamp_ms":1783945657000,"timestamp_seconds":1783945657,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b727aa8"} 
[2026-07-13 18:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 18:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:01:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690011136001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690011136001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:01:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:01:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:01:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690011136001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":132866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481125,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:01:18] local.INFO: GPS data processed {"connection_id":132866,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:01:18] local.INFO: Acknowledgment sent {"connection_id":132866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:01:25] local.INFO: TCP Data received {"connection_id":130724,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:01:25] local.INFO: Processing buffer {"connection_id":130724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:01:25] local.INFO: IMEI packet received {"connection_id":130724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 18:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":130724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:01:29] local.INFO: TCP Data received {"connection_id":130724,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:01:29] local.INFO: Processing buffer {"connection_id":130724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:01:29] local.INFO: IMEI packet received {"connection_id":130724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":130724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:01:34] local.INFO: TCP Data received {"connection_id":130516,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:01:34] local.INFO: Processing buffer {"connection_id":130516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:01:34] local.INFO: IMEI packet received {"connection_id":130516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":130516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:01:34] local.INFO: TCP Data received {"connection_id":130724,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:01:34] local.INFO: Processing buffer {"connection_id":130724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:01:34] local.INFO: IMEI packet received {"connection_id":130724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":130724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:01:34] local.INFO: TCP Data received {"connection_id":131537,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b751a88012d1b0a000725a040002f006216..."} 
[2026-07-13 18:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b751a88012d1b0a000725a040002f006216..."} 
[2026-07-13 18:01:34] local.INFO: Processing buffer {"connection_id":131537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b751a88012d1b0a000725a040002f006216..."} 
[2026-07-13 18:01:34] local.INFO: Packet analysis {"connection_id":131537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b75"} 
[2026-07-13 18:01:34] local.INFO: Extracted packet for processing {"connection_id":131537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b75"} 
[2026-07-13 18:01:34] local.INFO: GPS Element Parsed {"raw_longitude":756746752,"raw_latitude":119906368,"longitude_deg":75.6746752,"latitude_deg":11.9906368,"altitude":47,"angle":98,"satellites":22,"speed":0,"hex_longitude":"2d1b0a00","hex_latitude":"0725a040","is_valid_coordinates":true} 
[2026-07-13 18:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690126848001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5903080361033728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1948369819487199232,"note":"Value kept but may cause issues"} 
[2026-07-13 18:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783945829000,"timestamp_ms":1783945829000,"timestamp_seconds":1783945829,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b751a88"} 
[2026-07-13 18:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-13 18:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":131537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":131537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":131537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690126848001,"66":14004,"43":206,"83":41984,"24":0,"16":5903080361033728,"45":1948369819487199232},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-13 18:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690126848001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:01:34] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-13 18:01:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5903080361033728,"km_value":5903080361033.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1948369819487199232,"description":"Unknown IO ID 45"} 
[2026-07-13 18:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690126848001,"power":14004,"unknown_43":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1948369819487199232}} 
[2026-07-13 18:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":131537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:01:35] local.INFO: GPS data processed {"connection_id":131537,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:01:35] local.INFO: Acknowledgment sent {"connection_id":131537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:01:35] local.INFO: TCP Data received {"connection_id":130724,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b759b70012d82408005da0858000801042d..."} 
[2026-07-13 18:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b759b70012d82408005da0858000801042d..."} 
[2026-07-13 18:01:35] local.INFO: Processing buffer {"connection_id":130724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b759b70012d82408005da0858000801042d..."} 
[2026-07-13 18:01:35] local.INFO: Packet analysis {"connection_id":130724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b75"} 
[2026-07-13 18:01:35] local.INFO: Extracted packet for processing {"connection_id":130724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b75"} 
[2026-07-13 18:01:35] local.INFO: GPS Element Parsed {"raw_longitude":763510912,"raw_latitude":98175064,"longitude_deg":76.3510912,"latitude_deg":9.8175064,"altitude":8,"angle":260,"satellites":45,"speed":0,"hex_longitude":"2d824080","hex_latitude":"05da0858","is_valid_coordinates":true} 
[2026-07-13 18:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690140672001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947596127731712,"note":"Value kept but may cause issues"} 
[2026-07-13 18:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061101687648266240,"note":"Value kept but may cause issues"} 
[2026-07-13 18:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783945862000,"timestamp_ms":1783945862000,"timestamp_seconds":1783945862,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b759b70"} 
[2026-07-13 18:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-13 18:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690140672001,"66":2220,"71":206,"85":15104,"24":0,"16":105947596127731712,"45":-9061101687648266240},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 18:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690140672001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:01:35] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 18:01:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947596127731712,"km_value":105947596127731.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061101687648266240,"description":"Unknown IO ID 45"} 
[2026-07-13 18:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690140672001,"power":2220,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9061101687648266240}} 
[2026-07-13 18:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":130724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:01:35] local.INFO: GPS data processed {"connection_id":130724,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:01:35] local.INFO: Acknowledgment sent {"connection_id":130724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:01:39] local.INFO: TCP Data received {"connection_id":130516,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:01:39] local.INFO: Processing buffer {"connection_id":130516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:01:39] local.INFO: IMEI packet received {"connection_id":130516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":130516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:01:39] local.INFO: TCP Data received {"connection_id":131538,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:01:39] local.INFO: Processing buffer {"connection_id":131538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:01:39] local.INFO: IMEI packet received {"connection_id":131538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":131538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:01:40] local.INFO: TCP Data received {"connection_id":130516,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b73af40012d7f914005afd938000f011b21..."} 
[2026-07-13 18:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b73af40012d7f914005afd938000f011b21..."} 
[2026-07-13 18:01:40] local.INFO: Processing buffer {"connection_id":130516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b73af40012d7f914005afd938000f011b21..."} 
[2026-07-13 18:01:40] local.INFO: Packet analysis {"connection_id":130516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 18:01:40] local.INFO: Extracted packet for processing {"connection_id":130516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 18:01:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690031360001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783945736000,"timestamp_ms":1783945736000,"timestamp_seconds":1783945736,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b73af40"} 
[2026-07-13 18:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 18:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690031360001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690031360001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:01:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:01:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690031360001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":130516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:01:40] local.INFO: GPS data processed {"connection_id":130516,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:01:40] local.INFO: Acknowledgment sent {"connection_id":130516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:01:45] local.INFO: TCP Data received {"connection_id":131538,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:01:45] local.INFO: Processing buffer {"connection_id":131538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:01:45] local.INFO: IMEI packet received {"connection_id":131538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":131538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:01:46] local.INFO: TCP Data received {"connection_id":131538,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:01:46] local.INFO: Processing buffer {"connection_id":131538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:01:46] local.INFO: Packet analysis {"connection_id":131538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b72"} 
[2026-07-13 18:01:46] local.INFO: Extracted packet for processing {"connection_id":131538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b72"} 
[2026-07-13 18:01:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690011136001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:01:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783945657000,"timestamp_ms":1783945657000,"timestamp_seconds":1783945657,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b727aa8"} 
[2026-07-13 18:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 18:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690011136001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690011136001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:01:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:01:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:01:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690011136001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":131538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481129,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:01:46] local.INFO: GPS data processed {"connection_id":131538,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:01:46] local.INFO: Acknowledgment sent {"connection_id":131538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:01:53] local.INFO: TCP Data received {"connection_id":130517,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:01:53] local.INFO: Processing buffer {"connection_id":130517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:01:53] local.INFO: IMEI packet received {"connection_id":130517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":130517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:01:58] local.INFO: TCP Data received {"connection_id":130517,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:01:58] local.INFO: Processing buffer {"connection_id":130517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:01:58] local.INFO: IMEI packet received {"connection_id":130517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":130517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:01:59] local.INFO: TCP Data received {"connection_id":130517,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b755520012d1b0d400725a080002e005316..."} 
[2026-07-13 18:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b755520012d1b0d400725a080002e005316..."} 
[2026-07-13 18:01:59] local.INFO: Processing buffer {"connection_id":130517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b755520012d1b0d400725a080002e005316..."} 
[2026-07-13 18:01:59] local.INFO: Packet analysis {"connection_id":130517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b75"} 
[2026-07-13 18:01:59] local.INFO: Extracted packet for processing {"connection_id":130517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b75"} 
[2026-07-13 18:01:59] local.INFO: GPS Element Parsed {"raw_longitude":756747584,"raw_latitude":119906432,"longitude_deg":75.6747584,"latitude_deg":11.9906432,"altitude":46,"angle":83,"satellites":22,"speed":12,"hex_longitude":"2d1b0d40","hex_latitude":"0725a080","is_valid_coordinates":true} 
[2026-07-13 18:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690132224001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5903123310706688,"note":"Value kept but may cause issues"} 
[2026-07-13 18:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1948369819487191040,"note":"Value kept but may cause issues"} 
[2026-07-13 18:01: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-07-13 18:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783945844000,"timestamp_ms":1783945844000,"timestamp_seconds":1783945844,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b755520"} 
[2026-07-13 18:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-13 18:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":130517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":130517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":130517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690132224001,"66":14243,"43":206,"83":41984,"24":12,"16":5903123310706688,"45":1948369819487191040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-13 18:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690132224001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:01:59] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-13 18:01:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5903123310706688,"km_value":5903123310706.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1948369819487191040,"description":"Unknown IO ID 45"} 
[2026-07-13 18:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690132224001,"power":14243,"unknown_43":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1948369819487191040}} 
[2026-07-13 18:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":130517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:01:59] local.INFO: GPS data processed {"connection_id":130517,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:01:59] local.INFO: Acknowledgment sent {"connection_id":130517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:02:06] local.INFO: TCP Data received {"connection_id":130724,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b759b70012d82408005da0858000801042d..."} 
[2026-07-13 18:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b759b70012d82408005da0858000801042d..."} 
[2026-07-13 18:02:06] local.INFO: Processing buffer {"connection_id":130724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b759b70012d82408005da0858000801042d..."} 
[2026-07-13 18:02:06] local.INFO: Packet analysis {"connection_id":130724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b75"} 
[2026-07-13 18:02:06] local.INFO: Extracted packet for processing {"connection_id":130724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b75"} 
[2026-07-13 18:02:06] local.INFO: GPS Element Parsed {"raw_longitude":763510912,"raw_latitude":98175064,"longitude_deg":76.3510912,"latitude_deg":9.8175064,"altitude":8,"angle":260,"satellites":45,"speed":0,"hex_longitude":"2d824080","hex_latitude":"05da0858","is_valid_coordinates":true} 
[2026-07-13 18:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690140672001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105947596127731712,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061101687648266240,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783945862000,"timestamp_ms":1783945862000,"timestamp_seconds":1783945862,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b759b70"} 
[2026-07-13 18:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-13 18:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690140672001,"66":2220,"71":206,"85":15104,"24":0,"16":105947596127731712,"45":-9061101687648266240},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 18:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690140672001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:02:06] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 18:02:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105947596127731712,"km_value":105947596127731.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061101687648266240,"description":"Unknown IO ID 45"} 
[2026-07-13 18:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690140672001,"power":2220,"unknown_71":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9061101687648266240}} 
[2026-07-13 18:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":130724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481131,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:02:06] local.INFO: GPS data processed {"connection_id":130724,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:02:06] local.INFO: Acknowledgment sent {"connection_id":130724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:02:12] local.INFO: TCP Data received {"connection_id":130516,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b73af40012d7f914005afd938000f011b21..."} 
[2026-07-13 18:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b73af40012d7f914005afd938000f011b21..."} 
[2026-07-13 18:02:12] local.INFO: Processing buffer {"connection_id":130516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b73af40012d7f914005afd938000f011b21..."} 
[2026-07-13 18:02:12] local.INFO: Packet analysis {"connection_id":130516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 18:02:12] local.INFO: Extracted packet for processing {"connection_id":130516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 18:02:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690031360001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783945736000,"timestamp_ms":1783945736000,"timestamp_seconds":1783945736,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b73af40"} 
[2026-07-13 18:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 18:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690031360001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690031360001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:02:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:02:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690031360001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":130516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:02:12] local.INFO: GPS data processed {"connection_id":130516,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:02:12] local.INFO: Acknowledgment sent {"connection_id":130516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:02:17] local.INFO: TCP Data received {"connection_id":131538,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:02:17] local.INFO: Processing buffer {"connection_id":131538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:02:17] local.INFO: Packet analysis {"connection_id":131538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b72"} 
[2026-07-13 18:02:17] local.INFO: Extracted packet for processing {"connection_id":131538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b72"} 
[2026-07-13 18:02:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690011136001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783945657000,"timestamp_ms":1783945657000,"timestamp_seconds":1783945657,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b727aa8"} 
[2026-07-13 18:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:02: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-07-13 18: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 18:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690011136001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690011136001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:02:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:02:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:02:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690011136001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":131538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481133,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:02:17] local.INFO: GPS data processed {"connection_id":131538,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:02:17] local.INFO: Acknowledgment sent {"connection_id":131538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:02:26] local.INFO: TCP Data received {"connection_id":132867,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132867,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:02:26] local.INFO: Processing buffer {"connection_id":132867,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:02:26] local.INFO: IMEI packet received {"connection_id":132867,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 18:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":132867,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:02:29] local.INFO: TCP Data received {"connection_id":132867,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132867,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:02:29] local.INFO: Processing buffer {"connection_id":132867,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:02:29] local.INFO: IMEI packet received {"connection_id":132867,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":132867,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:02:30] local.INFO: TCP Data received {"connection_id":130517,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b768da0012d1b514007257c380033008917..."} 
[2026-07-13 18:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b768da0012d1b514007257c380033008917..."} 
[2026-07-13 18:02:30] local.INFO: Processing buffer {"connection_id":130517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b768da0012d1b514007257c380033008917..."} 
[2026-07-13 18:02:30] local.INFO: Packet analysis {"connection_id":130517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b76"} 
[2026-07-13 18:02:30] local.INFO: Extracted packet for processing {"connection_id":130517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b76"} 
[2026-07-13 18:02:30] local.INFO: GPS Element Parsed {"raw_longitude":756764992,"raw_latitude":119897144,"longitude_deg":75.6764992,"latitude_deg":11.9897144,"altitude":51,"angle":137,"satellites":23,"speed":21,"hex_longitude":"2d1b5140","hex_latitude":"07257c38","is_valid_coordinates":true} 
[2026-07-13 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-07-13 18:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690155008001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5904282951876608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966384217994872832,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783945924000,"timestamp_ms":1783945924000,"timestamp_seconds":1783945924,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b768da0"} 
[2026-07-13 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-07-13 18:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-13 18:02: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-07-13 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-07-13 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-07-13 18:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":130517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":130517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":130517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690155008001,"66":14352,"217":206,"83":42752,"24":21,"16":5904282951876608,"45":1966384217994872832},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-13 18:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690155008001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:02:30] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-13 18:02:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 18:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5904282951876608,"km_value":5904282951876.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966384217994872832,"description":"Unknown IO ID 45"} 
[2026-07-13 18:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690155008001,"power":14352,"unknown_217":206,"unknown_83":42752,"ignition":21,"odometer":null,"unknown_45":1966384217994872832}} 
[2026-07-13 18:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":130517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:02:30] local.INFO: GPS data processed {"connection_id":130517,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:02:30] local.INFO: Acknowledgment sent {"connection_id":130517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:02:34] local.INFO: TCP Data received {"connection_id":132867,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132867,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:02:34] local.INFO: Processing buffer {"connection_id":132867,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:02:34] local.INFO: IMEI packet received {"connection_id":132867,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":132867,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:02:35] local.INFO: TCP Data received {"connection_id":131539,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:02:35] local.INFO: Processing buffer {"connection_id":131539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:02:35] local.INFO: IMEI packet received {"connection_id":131539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":131539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:02:35] local.INFO: TCP Data received {"connection_id":132867,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b76d7d8012d82184005da8e480003011a2e..."} 
[2026-07-13 18:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b76d7d8012d82184005da8e480003011a2e..."} 
[2026-07-13 18:02:35] local.INFO: Processing buffer {"connection_id":132867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b76d7d8012d82184005da8e480003011a2e..."} 
[2026-07-13 18:02:35] local.INFO: Packet analysis {"connection_id":132867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b76"} 
[2026-07-13 18:02:35] local.INFO: Extracted packet for processing {"connection_id":132867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b76"} 
[2026-07-13 18:02:35] local.INFO: GPS Element Parsed {"raw_longitude":763500608,"raw_latitude":98209352,"longitude_deg":76.3500608,"latitude_deg":9.8209352,"altitude":3,"angle":282,"satellites":46,"speed":21,"hex_longitude":"2d821840","hex_latitude":"05da8e48","is_valid_coordinates":true} 
[2026-07-13 18:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690161152001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105949378539159552,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9071868105498712064,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783945943000,"timestamp_ms":1783945943000,"timestamp_seconds":1783945943,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b76d7d8"} 
[2026-07-13 18:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-13 18:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690161152001,"66":12961,"71":206,"85":15104,"24":21,"16":105949378539159552,"45":-9071868105498712064},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 18:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690161152001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:02:35] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 18:02:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105949378539159552,"km_value":105949378539159.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9071868105498712064,"description":"Unknown IO ID 45"} 
[2026-07-13 18:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690161152001,"power":12961,"unknown_71":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9071868105498712064}} 
[2026-07-13 18:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":132867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481135,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:02:35] local.INFO: GPS data processed {"connection_id":132867,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:02:35] local.INFO: Acknowledgment sent {"connection_id":132867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:02:39] local.INFO: TCP Data received {"connection_id":131539,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:02:39] local.INFO: Processing buffer {"connection_id":131539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:02:39] local.INFO: IMEI packet received {"connection_id":131539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":131539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:02:40] local.INFO: TCP Data received {"connection_id":131539,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b73af40012d7f914005afd938000f011b21..."} 
[2026-07-13 18:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b73af40012d7f914005afd938000f011b21..."} 
[2026-07-13 18:02:40] local.INFO: Processing buffer {"connection_id":131539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b73af40012d7f914005afd938000f011b21..."} 
[2026-07-13 18:02:40] local.INFO: Packet analysis {"connection_id":131539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 18:02:40] local.INFO: Extracted packet for processing {"connection_id":131539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 18:02:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690031360001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783945736000,"timestamp_ms":1783945736000,"timestamp_seconds":1783945736,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b73af40"} 
[2026-07-13 18:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 18:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690031360001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690031360001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:02:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:02:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690031360001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":131539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:02:40] local.INFO: GPS data processed {"connection_id":131539,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:02:40] local.INFO: Acknowledgment sent {"connection_id":131539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:02:45] local.INFO: TCP Data received {"connection_id":131540,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131540,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:02:45] local.INFO: Processing buffer {"connection_id":131540,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:02:45] local.INFO: IMEI packet received {"connection_id":131540,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":131540,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:02:50] local.INFO: TCP Data received {"connection_id":131540,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131540,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:02:50] local.INFO: Processing buffer {"connection_id":131540,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:02:50] local.INFO: IMEI packet received {"connection_id":131540,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":131540,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:02:51] local.INFO: TCP Data received {"connection_id":131540,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:02:51] local.INFO: Processing buffer {"connection_id":131540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:02:51] local.INFO: Packet analysis {"connection_id":131540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b72"} 
[2026-07-13 18:02:51] local.INFO: Extracted packet for processing {"connection_id":131540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b72"} 
[2026-07-13 18:02:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690011136001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783945657000,"timestamp_ms":1783945657000,"timestamp_seconds":1783945657,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b727aa8"} 
[2026-07-13 18:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 18:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":131540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":131540,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":131540,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690011136001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690011136001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:02:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:02:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:02:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690011136001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":131540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481137,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:02:51] local.INFO: GPS data processed {"connection_id":131540,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:02:51] local.INFO: Acknowledgment sent {"connection_id":131540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:02:52] local.INFO: TCP Data received {"connection_id":132868,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:02:52] local.INFO: Processing buffer {"connection_id":132868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:02:52] local.INFO: IMEI packet received {"connection_id":132868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":132868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:02:53] local.INFO: TCP Data received {"connection_id":132868,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:02:53] local.INFO: Processing buffer {"connection_id":132868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:02:53] local.INFO: IMEI packet received {"connection_id":132868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":132868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:02:56] local.INFO: TCP Data received {"connection_id":131540,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:02:56] local.INFO: Processing buffer {"connection_id":131540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b727aa8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:02:56] local.INFO: Packet analysis {"connection_id":131540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b72"} 
[2026-07-13 18:02:56] local.INFO: Extracted packet for processing {"connection_id":131540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b72"} 
[2026-07-13 18:02:56] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690011136001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783945657000,"timestamp_ms":1783945657000,"timestamp_seconds":1783945657,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b727aa8"} 
[2026-07-13 18:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 18:02:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":131540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":131540,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":131540,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690011136001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690011136001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:02:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:02:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:02:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690011136001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":131540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481138,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:02:56] local.INFO: GPS data processed {"connection_id":131540,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:02:56] local.INFO: Acknowledgment sent {"connection_id":131540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:02:58] local.INFO: TCP Data received {"connection_id":132868,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:02:58] local.INFO: Processing buffer {"connection_id":132868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:02:58] local.INFO: IMEI packet received {"connection_id":132868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":132868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:02:59] local.INFO: TCP Data received {"connection_id":132868,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b76cc20012d1b6440072568900038009417..."} 
[2026-07-13 18:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b76cc20012d1b6440072568900038009417..."} 
[2026-07-13 18:02:59] local.INFO: Processing buffer {"connection_id":132868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b76cc20012d1b6440072568900038009417..."} 
[2026-07-13 18:02:59] local.INFO: Packet analysis {"connection_id":132868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b76"} 
[2026-07-13 18:02:59] local.INFO: Extracted packet for processing {"connection_id":132868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b76"} 
[2026-07-13 18:02:59] local.INFO: GPS Element Parsed {"raw_longitude":756769856,"raw_latitude":119892112,"longitude_deg":75.6769856,"latitude_deg":11.9892112,"altitude":56,"angle":148,"satellites":23,"speed":7,"hex_longitude":"2d1b6440","hex_latitude":"07256890","is_valid_coordinates":true} 
[2026-07-13 18:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690156544001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5904622254292992,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968424911575463936,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783945940000,"timestamp_ms":1783945940000,"timestamp_seconds":1783945940,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b76cc20"} 
[2026-07-13 18:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-13 18:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733134336,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:59] local.WARNING: Large IO value detected {"io_id":48,"raw_value":13511087014020096,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:59] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503689709617152,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:59] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2815426608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:59] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637447953738457,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:59] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3170798024758984960,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792606414,"corrected_to":0} 
[2026-07-13 18:02:59] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3221693863,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:59] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:59] local.WARNING: Large IO value detected {"io_id":20,"raw_value":4183031808,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:59] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3548844364652871729,"note":"Value kept but may cause issues"} 
[2026-07-13 18:02:59] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,217,83,24,241,157,16,249,159,118,45,132,51,22,10,66,47,164,48,23,40,128,1,240,33,227,91,37,4,113,205,8,32,53,248,239,56,2,20,7,3,206,27],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1792606414,"validated":0}]} 
[2026-07-13 18:02:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3675088027812954112,"timestamp_seconds":3675088027812954.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 18:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":132868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":132868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":132868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690156544001,"66":14396,"217":206,"83":42752,"24":7,"16":5904622254292992,"45":1968424911575463936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-13 18:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690156544001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:02:59] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-13 18:02:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 18:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5904622254292992,"km_value":5904622254292.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968424911575463936,"description":"Unknown IO ID 45"} 
[2026-07-13 18:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690156544001,"power":14396,"unknown_217":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1968424911575463936}} 
[2026-07-13 18:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":132868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:02:59] local.INFO: GPS data processed {"connection_id":132868,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:02:59] local.INFO: Acknowledgment sent {"connection_id":132868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:03:07] local.INFO: TCP Data received {"connection_id":132867,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b76dbc0012d8215c005da8e680003010d2e..."} 
[2026-07-13 18:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b76dbc0012d8215c005da8e680003010d2e..."} 
[2026-07-13 18:03:07] local.INFO: Processing buffer {"connection_id":132867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b76dbc0012d8215c005da8e680003010d2e..."} 
[2026-07-13 18:03:07] local.INFO: Packet analysis {"connection_id":132867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b76"} 
[2026-07-13 18:03:07] local.INFO: Extracted packet for processing {"connection_id":132867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b76"} 
[2026-07-13 18:03:07] local.INFO: GPS Element Parsed {"raw_longitude":763499968,"raw_latitude":98209384,"longitude_deg":76.3499968,"latitude_deg":9.8209384,"altitude":3,"angle":269,"satellites":46,"speed":23,"hex_longitude":"2d8215c0","hex_latitude":"05da8e68","is_valid_coordinates":true} 
[2026-07-13 18:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690161408001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105949408603930624,"note":"Value kept but may cause issues"} 
[2026-07-13 18:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9072431055452092416,"note":"Value kept but may cause issues"} 
[2026-07-13 18:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783945944000,"timestamp_ms":1783945944000,"timestamp_seconds":1783945944,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b76dbc0"} 
[2026-07-13 18:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-13 18:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690161408001,"66":12961,"71":206,"85":15104,"24":23,"16":105949408603930624,"45":-9072431055452092416},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 18:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690161408001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:03:07] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 18:03:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105949408603930624,"km_value":105949408603930.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9072431055452092416,"description":"Unknown IO ID 45"} 
[2026-07-13 18:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690161408001,"power":12961,"unknown_71":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9072431055452092416}} 
[2026-07-13 18:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":132867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:03:07] local.INFO: GPS data processed {"connection_id":132867,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:03:07] local.INFO: Acknowledgment sent {"connection_id":132867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:03:11] local.INFO: TCP Data received {"connection_id":131539,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b73af40012d7f914005afd938000f011b21..."} 
[2026-07-13 18:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b73af40012d7f914005afd938000f011b21..."} 
[2026-07-13 18:03:11] local.INFO: Processing buffer {"connection_id":131539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b73af40012d7f914005afd938000f011b21..."} 
[2026-07-13 18:03:11] local.INFO: Packet analysis {"connection_id":131539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 18:03:11] local.INFO: Extracted packet for processing {"connection_id":131539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 18:03:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690031360001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783945736000,"timestamp_ms":1783945736000,"timestamp_seconds":1783945736,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b73af40"} 
[2026-07-13 18:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 18:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690031360001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690031360001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:03:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:03:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690031360001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":131539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:03:11] local.INFO: GPS data processed {"connection_id":131539,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:03:11] local.INFO: Acknowledgment sent {"connection_id":131539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:03:29] local.INFO: TCP Data received {"connection_id":130725,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:03:29] local.INFO: Processing buffer {"connection_id":130725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:03:29] local.INFO: IMEI packet received {"connection_id":130725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 18:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":130725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:03:30] local.INFO: TCP Data received {"connection_id":130725,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:03:30] local.INFO: Processing buffer {"connection_id":130725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:03:30] local.INFO: IMEI packet received {"connection_id":130725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":130725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:03:34] local.INFO: TCP Data received {"connection_id":132869,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:03:34] local.INFO: Processing buffer {"connection_id":132869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:03:34] local.INFO: IMEI packet received {"connection_id":132869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":132869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:03:37] local.INFO: TCP Data received {"connection_id":130725,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:03:37] local.INFO: Processing buffer {"connection_id":130725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:03:37] local.INFO: IMEI packet received {"connection_id":130725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":130725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:03:38] local.INFO: TCP Data received {"connection_id":130725,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b77aac8012d81664005da8588000301382f..."} 
[2026-07-13 18:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b77aac8012d81664005da8588000301382f..."} 
[2026-07-13 18:03:38] local.INFO: Processing buffer {"connection_id":130725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b77aac8012d81664005da8588000301382f..."} 
[2026-07-13 18:03:38] local.INFO: Packet analysis {"connection_id":130725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b77"} 
[2026-07-13 18:03:38] local.INFO: Extracted packet for processing {"connection_id":130725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b77"} 
[2026-07-13 18:03:38] local.INFO: GPS Element Parsed {"raw_longitude":763455040,"raw_latitude":98207112,"longitude_deg":76.345504,"latitude_deg":9.8207112,"altitude":3,"angle":312,"satellites":47,"speed":26,"hex_longitude":"2d816640","hex_latitude":"05da8588","is_valid_coordinates":true} 
[2026-07-13 18:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690174976001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105951654871826432,"note":"Value kept but may cause issues"} 
[2026-07-13 18:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9121970651353843712,"note":"Value kept but may cause issues"} 
[2026-07-13 18:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783945997000,"timestamp_ms":1783945997000,"timestamp_seconds":1783945997,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b77aac8"} 
[2026-07-13 18:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-13 18:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":130725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":130725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":130725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690174976001,"66":12961,"71":206,"85":15104,"24":26,"16":105951654871826432,"45":-9121970651353843712},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 18:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690174976001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:03:38] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 18:03:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105951654871826432,"km_value":105951654871826.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9121970651353843712,"description":"Unknown IO ID 45"} 
[2026-07-13 18:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690174976001,"power":12961,"unknown_71":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9121970651353843712}} 
[2026-07-13 18:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":130725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481142,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:03:38] local.INFO: GPS data processed {"connection_id":130725,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:03:38] local.INFO: Acknowledgment sent {"connection_id":130725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:03:39] local.INFO: TCP Data received {"connection_id":132869,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:03:39] local.INFO: Processing buffer {"connection_id":132869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:03:39] local.INFO: IMEI packet received {"connection_id":132869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":132869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:03:40] local.INFO: TCP Data received {"connection_id":130726,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130726,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:03:40] local.INFO: Processing buffer {"connection_id":130726,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:03:40] local.INFO: IMEI packet received {"connection_id":130726,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":130726,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:03:40] local.INFO: TCP Data received {"connection_id":132869,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b73af40012d7f914005afd938000f011b21..."} 
[2026-07-13 18:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b73af40012d7f914005afd938000f011b21..."} 
[2026-07-13 18:03:40] local.INFO: Processing buffer {"connection_id":132869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b73af40012d7f914005afd938000f011b21..."} 
[2026-07-13 18:03:40] local.INFO: Packet analysis {"connection_id":132869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 18:03:40] local.INFO: Extracted packet for processing {"connection_id":132869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 18:03:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690031360001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783945736000,"timestamp_ms":1783945736000,"timestamp_seconds":1783945736,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b73af40"} 
[2026-07-13 18:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 18:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690031360001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690031360001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:03:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:03:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690031360001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":132869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:03:40] local.INFO: GPS data processed {"connection_id":132869,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:03:40] local.INFO: Acknowledgment sent {"connection_id":132869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:03:44] local.INFO: TCP Data received {"connection_id":130726,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130726,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:03:44] local.INFO: Processing buffer {"connection_id":130726,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:03:44] local.INFO: IMEI packet received {"connection_id":130726,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":130726,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:03:46] local.INFO: TCP Data received {"connection_id":130726,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b771270012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b771270012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:03:46] local.INFO: Processing buffer {"connection_id":130726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b771270012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:03:46] local.INFO: Packet analysis {"connection_id":130726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b77"} 
[2026-07-13 18:03:46] local.INFO: Extracted packet for processing {"connection_id":130726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b77"} 
[2026-07-13 18:03:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 18:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690088192001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:03:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783945958000,"timestamp_ms":1783945958000,"timestamp_seconds":1783945958,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b771270"} 
[2026-07-13 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-07-13 18:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 18:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690088192001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690088192001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:03:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:03:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:03:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690088192001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":130726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481144,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:03:46] local.INFO: GPS data processed {"connection_id":130726,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:03:46] local.INFO: Acknowledgment sent {"connection_id":130726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:03:58] local.INFO: TCP Data received {"connection_id":132870,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:03:58] local.INFO: Processing buffer {"connection_id":132870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:03:58] local.INFO: IMEI packet received {"connection_id":132870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":132870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:04:02] local.INFO: TCP Data received {"connection_id":132870,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:04:02] local.INFO: Processing buffer {"connection_id":132870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:04:02] local.INFO: IMEI packet received {"connection_id":132870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":132870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:04:02] local.INFO: TCP Data received {"connection_id":132870,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b76dfa8012d1b670007256268003800a517..."} 
[2026-07-13 18:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b76dfa8012d1b670007256268003800a517..."} 
[2026-07-13 18:04:02] local.INFO: Processing buffer {"connection_id":132870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b76dfa8012d1b670007256268003800a517..."} 
[2026-07-13 18:04:02] local.INFO: Packet analysis {"connection_id":132870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b76"} 
[2026-07-13 18:04:02] local.INFO: Extracted packet for processing {"connection_id":132870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b76"} 
[2026-07-13 18:04:02] local.INFO: GPS Element Parsed {"raw_longitude":756770560,"raw_latitude":119890536,"longitude_deg":75.677056,"latitude_deg":11.9890536,"altitude":56,"angle":165,"satellites":23,"speed":18,"hex_longitude":"2d1b6700","hex_latitude":"07256268","is_valid_coordinates":true} 
[2026-07-13 18:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690160640001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5904708153638912,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973772936131678208,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783945945000,"timestamp_ms":1783945945000,"timestamp_seconds":1783945945,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b76dfa8"} 
[2026-07-13 18:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-13 18:04: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-07-13 18:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":132870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":132870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":132870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690160640001,"66":14407,"217":206,"83":42752,"24":18,"16":5904708153638912,"45":1973772936131678208},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-13 18:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690160640001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:04:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-13 18:04:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 18:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5904708153638912,"km_value":5904708153638.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973772936131678208,"description":"Unknown IO ID 45"} 
[2026-07-13 18:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690160640001,"power":14407,"unknown_217":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1973772936131678208}} 
[2026-07-13 18:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":132870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:04:03] local.INFO: GPS data processed {"connection_id":132870,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:04:03] local.INFO: Acknowledgment sent {"connection_id":132870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:04:04] local.INFO: TCP Data received {"connection_id":132870,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b76ef48012d1b684007255b88003600b017..."} 
[2026-07-13 18:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b76ef48012d1b684007255b88003600b017..."} 
[2026-07-13 18:04:04] local.INFO: Processing buffer {"connection_id":132870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b76ef48012d1b684007255b88003600b017..."} 
[2026-07-13 18:04:04] local.INFO: Packet analysis {"connection_id":132870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b76"} 
[2026-07-13 18:04:04] local.INFO: Extracted packet for processing {"connection_id":132870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b76"} 
[2026-07-13 18:04:04] local.INFO: GPS Element Parsed {"raw_longitude":756770880,"raw_latitude":119888776,"longitude_deg":75.677088,"latitude_deg":11.9888776,"altitude":54,"angle":176,"satellites":23,"speed":16,"hex_longitude":"2d1b6840","hex_latitude":"07255b88","is_valid_coordinates":true} 
[2026-07-13 18:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690161920001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5904794052984832,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974546992317229056,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783945949000,"timestamp_ms":1783945949000,"timestamp_seconds":1783945949,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b76ef48"} 
[2026-07-13 18:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-13 18:04: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-07-13 18:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690161920001,"66":14374,"217":206,"83":42752,"24":16,"16":5904794052984832,"45":1974546992317229056},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-13 18:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690161920001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:04:04] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-13 18:04:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 18:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5904794052984832,"km_value":5904794052984.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974546992317229056,"description":"Unknown IO ID 45"} 
[2026-07-13 18:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690161920001,"power":14374,"unknown_217":206,"unknown_83":42752,"ignition":16,"odometer":null,"unknown_45":1974546992317229056}} 
[2026-07-13 18:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":132870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:04:04] local.INFO: GPS data processed {"connection_id":132870,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:04:04] local.INFO: Acknowledgment sent {"connection_id":132870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:04:09] local.INFO: TCP Data received {"connection_id":130725,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b77aeb0012d81648005da8790000301432f..."} 
[2026-07-13 18:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b77aeb0012d81648005da8790000301432f..."} 
[2026-07-13 18:04:09] local.INFO: Processing buffer {"connection_id":130725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b77aeb0012d81648005da8790000301432f..."} 
[2026-07-13 18:04:09] local.INFO: Packet analysis {"connection_id":130725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b77"} 
[2026-07-13 18:04:09] local.INFO: Extracted packet for processing {"connection_id":130725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b77"} 
[2026-07-13 18:04:09] local.INFO: GPS Element Parsed {"raw_longitude":763454592,"raw_latitude":98207632,"longitude_deg":76.3454592,"latitude_deg":9.8207632,"altitude":3,"angle":323,"satellites":47,"speed":25,"hex_longitude":"2d816480","hex_latitude":"05da8790","is_valid_coordinates":true} 
[2026-07-13 18:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690175232001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105951689231564800,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9122533601307162624,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783945998000,"timestamp_ms":1783945998000,"timestamp_seconds":1783945998,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b77aeb0"} 
[2026-07-13 18:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:04: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-07-13 18:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-13 18:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690175232001,"66":12961,"71":206,"85":15104,"24":25,"16":105951689231564800,"45":-9122533601307162624},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-13 18:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690175232001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:04:09] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 18:04:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105951689231564800,"km_value":105951689231564.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9122533601307162624,"description":"Unknown IO ID 45"} 
[2026-07-13 18:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690175232001,"power":12961,"unknown_71":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9122533601307162624}} 
[2026-07-13 18:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":130725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481147,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:04:09] local.INFO: GPS data processed {"connection_id":130725,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:04:09] local.INFO: Acknowledgment sent {"connection_id":130725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:04:11] local.INFO: TCP Data received {"connection_id":132869,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b73af40012d7f914005afd938000f011b21..."} 
[2026-07-13 18:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b73af40012d7f914005afd938000f011b21..."} 
[2026-07-13 18:04:11] local.INFO: Processing buffer {"connection_id":132869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b73af40012d7f914005afd938000f011b21..."} 
[2026-07-13 18:04:11] local.INFO: Packet analysis {"connection_id":132869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 18:04:11] local.INFO: Extracted packet for processing {"connection_id":132869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b73"} 
[2026-07-13 18:04:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":15,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690031360001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783945736000,"timestamp_ms":1783945736000,"timestamp_seconds":1783945736,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b73af40"} 
[2026-07-13 18:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 18:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690031360001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690031360001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:04:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:04:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690031360001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":132869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:04:11] local.INFO: GPS data processed {"connection_id":132869,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:04:11] local.INFO: Acknowledgment sent {"connection_id":132869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:04:18] local.INFO: TCP Data received {"connection_id":130726,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b771270012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b771270012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:04:18] local.INFO: Processing buffer {"connection_id":130726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b771270012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:04:18] local.INFO: Packet analysis {"connection_id":130726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b77"} 
[2026-07-13 18:04:18] local.INFO: Extracted packet for processing {"connection_id":130726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b77"} 
[2026-07-13 18:04:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690088192001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783945958000,"timestamp_ms":1783945958000,"timestamp_seconds":1783945958,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b771270"} 
[2026-07-13 18:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690088192001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690088192001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:04:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:04:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:04:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690088192001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":130726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481149,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:04:18] local.INFO: GPS data processed {"connection_id":130726,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:04:18] local.INFO: Acknowledgment sent {"connection_id":130726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:04:27] local.INFO: TCP Data received {"connection_id":132871,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:04:27] local.INFO: Processing buffer {"connection_id":132871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:04:27] local.INFO: IMEI packet received {"connection_id":132871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 18:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":132871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:04:30] local.INFO: TCP Data received {"connection_id":132871,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:04:30] local.INFO: Processing buffer {"connection_id":132871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:04:30] local.INFO: IMEI packet received {"connection_id":132871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":132871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:04:34] local.INFO: TCP Data received {"connection_id":130727,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:04:34] local.INFO: Processing buffer {"connection_id":130727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:04:34] local.INFO: IMEI packet received {"connection_id":130727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":130727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:04:34] local.INFO: TCP Data received {"connection_id":132871,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:04:34] local.INFO: Processing buffer {"connection_id":132871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:04:34] local.INFO: IMEI packet received {"connection_id":132871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":132871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:04:35] local.INFO: TCP Data received {"connection_id":130727,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:04:35] local.INFO: Processing buffer {"connection_id":130727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:04:35] local.INFO: IMEI packet received {"connection_id":130727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":130727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:04:35] local.INFO: TCP Data received {"connection_id":132871,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7879d0012d81178005db3d400001014a2e..."} 
[2026-07-13 18:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7879d0012d81178005db3d400001014a2e..."} 
[2026-07-13 18:04:35] local.INFO: Processing buffer {"connection_id":132871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7879d0012d81178005db3d400001014a2e..."} 
[2026-07-13 18:04:35] local.INFO: Packet analysis {"connection_id":132871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b78"} 
[2026-07-13 18:04:35] local.INFO: Extracted packet for processing {"connection_id":132871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b78"} 
[2026-07-13 18:04:35] local.INFO: GPS Element Parsed {"raw_longitude":763434880,"raw_latitude":98254144,"longitude_deg":76.343488,"latitude_deg":9.8254144,"altitude":1,"angle":330,"satellites":46,"speed":49,"hex_longitude":"2d811780","hex_latitude":"05db3d40","is_valid_coordinates":true} 
[2026-07-13 18:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690186752001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105954180312596480,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9138718412458088448,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783946050000,"timestamp_ms":1783946050000,"timestamp_seconds":1783946050,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7879d0"} 
[2026-07-13 18:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 18:04:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3670046720,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:35] local.WARNING: Large IO value detected {"io_id":107,"raw_value":3556769792,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:35] local.WARNING: Large IO value detected {"io_id":218,"raw_value":-7048133403927761920,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806448334,"corrected_to":0} 
[2026-07-13 18:04:35] local.WARNING: Large IO value detected {"io_id":8,"raw_value":2281778561,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:35] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2147867346,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:35] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817383,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:35] local.WARNING: Large IO value detected {"io_id":161,"raw_value":57886293623723323,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:35] local.WARNING: Large IO value detected {"io_id":119,"raw_value":-3044432053146845179,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:35] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,71,85,24,241,157,16,108,159,67,45,128,5,3,47,10,66,63,1,107,64,240,173,227,91,218,4,113,205,36,8,75,239,49,2,120,161,119],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2806448334,"validated":0}]} 
[2026-07-13 18:04:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144476016871342080,"timestamp_seconds":144476016871342.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 18:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690186752001,"66":13200,"153":206,"85":15104,"24":49,"16":105954180312596480,"45":-9138718412458088448},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-07-13 18:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690186752001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:04:35] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-13 18:04:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105954180312596480,"km_value":105954180312596.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9138718412458088448,"description":"Unknown IO ID 45"} 
[2026-07-13 18:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690186752001,"power":13200,"unknown_153":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":-9138718412458088448}} 
[2026-07-13 18:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":132871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481150,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:04:35] local.INFO: GPS data processed {"connection_id":132871,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:04:35] local.INFO: Acknowledgment sent {"connection_id":132871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:04:39] local.INFO: TCP Data received {"connection_id":130727,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:04:39] local.INFO: Processing buffer {"connection_id":130727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:04:39] local.INFO: IMEI packet received {"connection_id":130727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":130727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:04:40] local.INFO: TCP Data received {"connection_id":130518,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:04:40] local.INFO: Processing buffer {"connection_id":130518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:04:40] local.INFO: IMEI packet received {"connection_id":130518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":130518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:04:40] local.INFO: TCP Data received {"connection_id":130727,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b784708012d7f914005afd9380010011b24..."} 
[2026-07-13 18:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b784708012d7f914005afd9380010011b24..."} 
[2026-07-13 18:04:40] local.INFO: Processing buffer {"connection_id":130727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b784708012d7f914005afd9380010011b24..."} 
[2026-07-13 18:04:40] local.INFO: Packet analysis {"connection_id":130727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b78"} 
[2026-07-13 18:04:40] local.INFO: Extracted packet for processing {"connection_id":130727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b78"} 
[2026-07-13 18:04:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690108416001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783946037000,"timestamp_ms":1783946037000,"timestamp_seconds":1783946037,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b784708"} 
[2026-07-13 18:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 18:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690108416001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690108416001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:04:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:04:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690108416001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":130727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:04:40] local.INFO: GPS data processed {"connection_id":130727,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:04:40] local.INFO: Acknowledgment sent {"connection_id":130727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:04:45] local.INFO: TCP Data received {"connection_id":130518,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:04:45] local.INFO: Processing buffer {"connection_id":130518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:04:45] local.INFO: IMEI packet received {"connection_id":130518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":130518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:04:45] local.INFO: TCP Data received {"connection_id":132870,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b76fee8012d1b67c0072554d8003400c516..."} 
[2026-07-13 18:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b76fee8012d1b67c0072554d8003400c516..."} 
[2026-07-13 18:04:45] local.INFO: Processing buffer {"connection_id":132870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b76fee8012d1b67c0072554d8003400c516..."} 
[2026-07-13 18:04:45] local.INFO: Packet analysis {"connection_id":132870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b76"} 
[2026-07-13 18:04:45] local.INFO: Extracted packet for processing {"connection_id":132870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b76"} 
[2026-07-13 18:04:45] local.INFO: GPS Element Parsed {"raw_longitude":756770752,"raw_latitude":119887064,"longitude_deg":75.6770752,"latitude_deg":11.9887064,"altitude":52,"angle":197,"satellites":22,"speed":16,"hex_longitude":"2d1b67c0","hex_latitude":"072554d8","is_valid_coordinates":true} 
[2026-07-13 18:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690162944001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5904875657363456,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974898836037666816,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783945953000,"timestamp_ms":1783945953000,"timestamp_seconds":1783945953,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b76fee8"} 
[2026-07-13 18:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-13 18:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:04:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690162944001,"66":14428,"217":206,"83":42752,"24":16,"16":5904875657363456,"45":1974898836037666816},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-13 18:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690162944001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:04:45] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-13 18:04:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 18:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5904875657363456,"km_value":5904875657363.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974898836037666816,"description":"Unknown IO ID 45"} 
[2026-07-13 18:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690162944001,"power":14428,"unknown_217":206,"unknown_83":42752,"ignition":16,"odometer":null,"unknown_45":1974898836037666816}} 
[2026-07-13 18:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":132870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:04:45] local.INFO: GPS data processed {"connection_id":132870,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:04:45] local.INFO: Acknowledgment sent {"connection_id":132870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:04:46] local.INFO: TCP Data received {"connection_id":130518,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b771270012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b771270012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:04:46] local.INFO: Processing buffer {"connection_id":130518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b771270012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:04:46] local.INFO: Packet analysis {"connection_id":130518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b77"} 
[2026-07-13 18:04:46] local.INFO: Extracted packet for processing {"connection_id":130518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b77"} 
[2026-07-13 18:04:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690088192001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783945958000,"timestamp_ms":1783945958000,"timestamp_seconds":1783945958,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b771270"} 
[2026-07-13 18:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130518,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130518,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690088192001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690088192001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:04:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:04:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:04:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690088192001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":130518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481153,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:04:46] local.INFO: GPS data processed {"connection_id":130518,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:04:46] local.INFO: Acknowledgment sent {"connection_id":130518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:04:53] local.INFO: TCP Data received {"connection_id":130728,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:04:53] local.INFO: Processing buffer {"connection_id":130728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:04:53] local.INFO: IMEI packet received {"connection_id":130728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":130728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:04:57] local.INFO: TCP Data received {"connection_id":130728,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:04:57] local.INFO: Processing buffer {"connection_id":130728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:04:57] local.INFO: IMEI packet received {"connection_id":130728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":130728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:04:59] local.INFO: TCP Data received {"connection_id":130728,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b774920012d1b608007253158002d00c417..."} 
[2026-07-13 18:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b774920012d1b608007253158002d00c417..."} 
[2026-07-13 18:04:59] local.INFO: Processing buffer {"connection_id":130728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b774920012d1b608007253158002d00c417..."} 
[2026-07-13 18:04:59] local.INFO: Packet analysis {"connection_id":130728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b77"} 
[2026-07-13 18:04:59] local.INFO: Extracted packet for processing {"connection_id":130728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b77"} 
[2026-07-13 18:04:59] local.INFO: GPS Element Parsed {"raw_longitude":756768896,"raw_latitude":119877976,"longitude_deg":75.6768896,"latitude_deg":11.9877976,"altitude":45,"angle":196,"satellites":23,"speed":18,"hex_longitude":"2d1b6080","hex_latitude":"07253158","is_valid_coordinates":true} 
[2026-07-13 18:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690163968001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5905326628929536,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974758098548873216,"note":"Value kept but may cause issues"} 
[2026-07-13 18:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783945972000,"timestamp_ms":1783945972000,"timestamp_seconds":1783945972,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b774920"} 
[2026-07-13 18:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:04: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-07-13 18:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 18:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":130728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":130728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":130728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690163968001,"66":14396,"217":206,"83":42752,"24":18,"16":5905326628929536,"45":1974758098548873216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-13 18:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690163968001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:04:59] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-13 18:04:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 18:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5905326628929536,"km_value":5905326628929.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974758098548873216,"description":"Unknown IO ID 45"} 
[2026-07-13 18:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690163968001,"power":14396,"unknown_217":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1974758098548873216}} 
[2026-07-13 18:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":130728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:04:59] local.INFO: GPS data processed {"connection_id":130728,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:04:59] local.INFO: Acknowledgment sent {"connection_id":130728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:05:06] local.INFO: TCP Data received {"connection_id":132871,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b78a0e0012d81050005db5b00000201472e..."} 
[2026-07-13 18:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b78a0e0012d81050005db5b00000201472e..."} 
[2026-07-13 18:05:06] local.INFO: Processing buffer {"connection_id":132871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b78a0e0012d81050005db5b00000201472e..."} 
[2026-07-13 18:05:06] local.INFO: Packet analysis {"connection_id":132871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b78"} 
[2026-07-13 18:05:06] local.INFO: Extracted packet for processing {"connection_id":132871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b78"} 
[2026-07-13 18:05:06] local.INFO: GPS Element Parsed {"raw_longitude":763430144,"raw_latitude":98261760,"longitude_deg":76.3430144,"latitude_deg":9.826176,"altitude":2,"angle":327,"satellites":46,"speed":30,"hex_longitude":"2d810500","hex_latitude":"05db5b00","is_valid_coordinates":true} 
[2026-07-13 18:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690188800001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105954614104293376,"note":"Value kept but may cause issues"} 
[2026-07-13 18:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9144699755711086592,"note":"Value kept but may cause issues"} 
[2026-07-13 18:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783946060000,"timestamp_ms":1783946060000,"timestamp_seconds":1783946060,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b78a0e0"} 
[2026-07-13 18:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-13 18:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690188800001,"66":13178,"153":206,"85":15104,"24":30,"16":105954614104293376,"45":-9144699755711086592},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-07-13 18:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690188800001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:05:06] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-13 18:05:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105954614104293376,"km_value":105954614104293.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9144699755711086592,"description":"Unknown IO ID 45"} 
[2026-07-13 18:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690188800001,"power":13178,"unknown_153":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9144699755711086592}} 
[2026-07-13 18:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":132871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:05:06] local.INFO: GPS data processed {"connection_id":132871,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:05:06] local.INFO: Acknowledgment sent {"connection_id":132871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:05:11] local.INFO: TCP Data received {"connection_id":130727,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b784708012d7f914005afd9380010011b24..."} 
[2026-07-13 18:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b784708012d7f914005afd9380010011b24..."} 
[2026-07-13 18:05:11] local.INFO: Processing buffer {"connection_id":130727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b784708012d7f914005afd9380010011b24..."} 
[2026-07-13 18:05:11] local.INFO: Packet analysis {"connection_id":130727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b78"} 
[2026-07-13 18:05:11] local.INFO: Extracted packet for processing {"connection_id":130727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b78"} 
[2026-07-13 18:05:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690108416001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783946037000,"timestamp_ms":1783946037000,"timestamp_seconds":1783946037,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b784708"} 
[2026-07-13 18:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 18:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690108416001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690108416001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:05:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:05:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690108416001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":130727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:05:11] local.INFO: GPS data processed {"connection_id":130727,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:05:11] local.INFO: Acknowledgment sent {"connection_id":130727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:05:18] local.INFO: TCP Data received {"connection_id":130518,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b771270012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b771270012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:05:18] local.INFO: Processing buffer {"connection_id":130518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b771270012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:05:18] local.INFO: Packet analysis {"connection_id":130518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b77"} 
[2026-07-13 18:05:18] local.INFO: Extracted packet for processing {"connection_id":130518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b77"} 
[2026-07-13 18:05:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690088192001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:05:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783945958000,"timestamp_ms":1783945958000,"timestamp_seconds":1783945958,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b771270"} 
[2026-07-13 18:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130518,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130518,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690088192001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690088192001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:05:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:05:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:05:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690088192001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":130518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481157,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:05:18] local.INFO: GPS data processed {"connection_id":130518,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:05:18] local.INFO: Acknowledgment sent {"connection_id":130518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:05:29] local.INFO: TCP Data received {"connection_id":131541,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:05:29] local.INFO: Processing buffer {"connection_id":131541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:05:29] local.INFO: IMEI packet received {"connection_id":131541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 18:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":131541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:05:30] local.INFO: TCP Data received {"connection_id":131541,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:05:30] local.INFO: Processing buffer {"connection_id":131541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:05:30] local.INFO: IMEI packet received {"connection_id":131541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":131541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:05:34] local.INFO: TCP Data received {"connection_id":130729,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:05:34] local.INFO: Processing buffer {"connection_id":130729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:05:34] local.INFO: IMEI packet received {"connection_id":130729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":130729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:05:34] local.INFO: TCP Data received {"connection_id":130728,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7948d8012d1b4fc00724b730002e00db1b..."} 
[2026-07-13 18:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7948d8012d1b4fc00724b730002e00db1b..."} 
[2026-07-13 18:05:34] local.INFO: Processing buffer {"connection_id":130728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7948d8012d1b4fc00724b730002e00db1b..."} 
[2026-07-13 18:05:34] local.INFO: Packet analysis {"connection_id":130728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b79"} 
[2026-07-13 18:05:34] local.INFO: Extracted packet for processing {"connection_id":130728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b79"} 
[2026-07-13 18:05:34] local.INFO: GPS Element Parsed {"raw_longitude":756764608,"raw_latitude":119846704,"longitude_deg":75.6764608,"latitude_deg":11.9846704,"altitude":46,"angle":219,"satellites":27,"speed":22,"hex_longitude":"2d1b4fc0","hex_latitude":"0724b730","is_valid_coordinates":true} 
[2026-07-13 18:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690201344001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5906898586959872,"note":"Value kept but may cause issues"} 
[2026-07-13 18:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969339705237291008,"note":"Value kept but may cause issues"} 
[2026-07-13 18:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783946103000,"timestamp_ms":1783946103000,"timestamp_seconds":1783946103,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7948d8"} 
[2026-07-13 18:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":92,"data_length":795,"current_offset":136} 
[2026-07-13 18:05: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-07-13 18:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":130728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":130728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":130728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690201344001,"66":14396,"43":206,"83":41984,"24":22,"16":5906898586959872,"45":1969339705237291008},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-13 18:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690201344001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:05:34] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-13 18:05:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5906898586959872,"km_value":5906898586959.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969339705237291008,"description":"Unknown IO ID 45"} 
[2026-07-13 18:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690201344001,"power":14396,"unknown_43":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1969339705237291008}} 
[2026-07-13 18:05:34] local.INFO: TCP Data received {"connection_id":131541,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:05:34] local.INFO: Processing buffer {"connection_id":131541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:05:34] local.INFO: IMEI packet received {"connection_id":131541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":131541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":130728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:05:34] local.INFO: GPS data processed {"connection_id":130728,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:05:34] local.INFO: Acknowledgment sent {"connection_id":130728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:05:35] local.INFO: TCP Data received {"connection_id":131541,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b78b850012d80fb4005db6c98000201532e..."} 
[2026-07-13 18:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b78b850012d80fb4005db6c98000201532e..."} 
[2026-07-13 18:05:35] local.INFO: Processing buffer {"connection_id":131541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b78b850012d80fb4005db6c98000201532e..."} 
[2026-07-13 18:05:35] local.INFO: Packet analysis {"connection_id":131541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b78"} 
[2026-07-13 18:05:35] local.INFO: Extracted packet for processing {"connection_id":131541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b78"} 
[2026-07-13 18:05:35] local.INFO: GPS Element Parsed {"raw_longitude":763427648,"raw_latitude":98266264,"longitude_deg":76.3427648,"latitude_deg":9.8266264,"altitude":2,"angle":339,"satellites":46,"speed":37,"hex_longitude":"2d80fb40","hex_latitude":"05db6c98","is_valid_coordinates":true} 
[2026-07-13 18:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690191360001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105954863212396544,"note":"Value kept but may cause issues"} 
[2026-07-13 18:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149907042778284032,"note":"Value kept but may cause issues"} 
[2026-07-13 18:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783946066000,"timestamp_ms":1783946066000,"timestamp_seconds":1783946066,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b78b850"} 
[2026-07-13 18:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-13 18:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":131541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":131541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":131541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690191360001,"66":13276,"153":206,"85":15104,"24":37,"16":105954863212396544,"45":-9149907042778284032},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-07-13 18:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690191360001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:05:35] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-13 18:05:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105954863212396544,"km_value":105954863212396.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149907042778284032,"description":"Unknown IO ID 45"} 
[2026-07-13 18:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690191360001,"power":13276,"unknown_153":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9149907042778284032}} 
[2026-07-13 18:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":131541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481159,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:05:35] local.INFO: GPS data processed {"connection_id":131541,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:05:35] local.INFO: Acknowledgment sent {"connection_id":131541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:05:39] local.INFO: TCP Data received {"connection_id":130729,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:05:39] local.INFO: Processing buffer {"connection_id":130729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:05:39] local.INFO: IMEI packet received {"connection_id":130729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":130729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:05:39] local.INFO: TCP Data received {"connection_id":130519,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130519,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:05:39] local.INFO: Processing buffer {"connection_id":130519,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:05:39] local.INFO: IMEI packet received {"connection_id":130519,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":130519,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:05:40] local.INFO: TCP Data received {"connection_id":130729,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b784708012d7f914005afd9380010011b24..."} 
[2026-07-13 18:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b784708012d7f914005afd9380010011b24..."} 
[2026-07-13 18:05:40] local.INFO: Processing buffer {"connection_id":130729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b784708012d7f914005afd9380010011b24..."} 
[2026-07-13 18:05:40] local.INFO: Packet analysis {"connection_id":130729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b78"} 
[2026-07-13 18:05:40] local.INFO: Extracted packet for processing {"connection_id":130729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b78"} 
[2026-07-13 18:05:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690108416001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783946037000,"timestamp_ms":1783946037000,"timestamp_seconds":1783946037,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b784708"} 
[2026-07-13 18:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 18:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690108416001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690108416001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:05:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:05:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690108416001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":130729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:05:40] local.INFO: GPS data processed {"connection_id":130729,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:05:40] local.INFO: Acknowledgment sent {"connection_id":130729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:05:45] local.INFO: TCP Data received {"connection_id":130519,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130519,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:05:45] local.INFO: Processing buffer {"connection_id":130519,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:05:45] local.INFO: IMEI packet received {"connection_id":130519,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":130519,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:05:47] local.INFO: TCP Data received {"connection_id":130519,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b771270012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b771270012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:05:47] local.INFO: Processing buffer {"connection_id":130519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b771270012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:05:47] local.INFO: Packet analysis {"connection_id":130519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b77"} 
[2026-07-13 18:05:47] local.INFO: Extracted packet for processing {"connection_id":130519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b77"} 
[2026-07-13 18:05:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690088192001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:05:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783945958000,"timestamp_ms":1783945958000,"timestamp_seconds":1783945958,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b771270"} 
[2026-07-13 18:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130519,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130519,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690088192001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690088192001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:05:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:05:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:05:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690088192001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":130519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481161,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:05:47] local.INFO: GPS data processed {"connection_id":130519,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:05:47] local.INFO: Acknowledgment sent {"connection_id":130519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:05:58] local.INFO: TCP Data received {"connection_id":130730,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:05:58] local.INFO: Processing buffer {"connection_id":130730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:05:58] local.INFO: IMEI packet received {"connection_id":130730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":130730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:05:58] local.INFO: TCP Data received {"connection_id":130730,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:05:58] local.INFO: Processing buffer {"connection_id":130730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:05:58] local.INFO: IMEI packet received {"connection_id":130730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":130730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:06:00] local.INFO: TCP Data received {"connection_id":130730,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:06:00] local.INFO: Processing buffer {"connection_id":130730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:06:00] local.INFO: IMEI packet received {"connection_id":130730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":130730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:06:03] local.INFO: TCP Data received {"connection_id":130730,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:06:03] local.INFO: Processing buffer {"connection_id":130730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:06:03] local.INFO: IMEI packet received {"connection_id":130730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":130730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:06:04] local.INFO: TCP Data received {"connection_id":130730,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b795490012d1b4a400724b2a8002d00e81b..."} 
[2026-07-13 18:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b795490012d1b4a400724b2a8002d00e81b..."} 
[2026-07-13 18:06:04] local.INFO: Processing buffer {"connection_id":130730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b795490012d1b4a400724b2a8002d00e81b..."} 
[2026-07-13 18:06:04] local.INFO: Packet analysis {"connection_id":130730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b79"} 
[2026-07-13 18:06:04] local.INFO: Extracted packet for processing {"connection_id":130730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b79"} 
[2026-07-13 18:06:04] local.INFO: GPS Element Parsed {"raw_longitude":756763200,"raw_latitude":119845544,"longitude_deg":75.67632,"latitude_deg":11.9845544,"altitude":45,"angle":232,"satellites":27,"speed":27,"hex_longitude":"2d1b4a40","hex_latitude":"0724b2a8","is_valid_coordinates":true} 
[2026-07-13 18:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690202368001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5906984486305792,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968002699097485312,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:04] 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-07-13 18:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783946106000,"timestamp_ms":1783946106000,"timestamp_seconds":1783946106,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b795490"} 
[2026-07-13 18:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-13 18:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690202368001,"66":14298,"44":206,"83":41984,"24":27,"16":5906984486305792,"45":1968002699097485312},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-07-13 18:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690202368001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:06:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-13 18:06:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5906984486305792,"km_value":5906984486305.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968002699097485312,"description":"Unknown IO ID 45"} 
[2026-07-13 18:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690202368001,"power":14298,"unknown_44":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1968002699097485312}} 
[2026-07-13 18:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":130730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:06:04] local.INFO: GPS data processed {"connection_id":130730,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:06:04] local.INFO: Acknowledgment sent {"connection_id":130730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:06:06] local.INFO: TCP Data received {"connection_id":131541,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b79fc88012d80630005dca8100004010f2c..."} 
[2026-07-13 18:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b79fc88012d80630005dca8100004010f2c..."} 
[2026-07-13 18:06:06] local.INFO: Processing buffer {"connection_id":131541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b79fc88012d80630005dca8100004010f2c..."} 
[2026-07-13 18:06:06] local.INFO: Packet analysis {"connection_id":131541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b79"} 
[2026-07-13 18:06:06] local.INFO: Extracted packet for processing {"connection_id":131541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b79"} 
[2026-07-13 18:06:06] local.INFO: GPS Element Parsed {"raw_longitude":763388672,"raw_latitude":98347024,"longitude_deg":76.3388672,"latitude_deg":9.8347024,"altitude":4,"angle":271,"satellites":44,"speed":24,"hex_longitude":"2d806300","hex_latitude":"05dca810","is_valid_coordinates":true} 
[2026-07-13 18:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690213888001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105959244079038464,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194943039030171648,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783946149000,"timestamp_ms":1783946149000,"timestamp_seconds":1783946149,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b79fc88"} 
[2026-07-13 18:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-13 18:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303171401469352,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2155167749,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:06] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2346713090,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2818244814,"corrected_to":0} 
[2026-07-13 18:06:06] local.WARNING: Large IO value detected {"io_id":170,"raw_value":2147560832,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:06] local.WARNING: Large IO value detected {"io_id":130,"raw_value":2147867751,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:06] local.WARNING: Large IO value detected {"io_id":154,"raw_value":58077557095399473,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3695595520,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:06] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,251,85,24,241,157,16,113,159,244,45,64,167,4,43,10,66,240,192,166,3,44,233,1,134,227,91,220,205,42,170,130,120,47,239,52,154,2,5,49],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2818244814,"validated":0}]} 
[2026-07-13 18:06:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288543925945565184,"timestamp_seconds":288543925945565.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 18:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":131541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":131541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":131541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690213888001,"66":13048,"251":206,"85":15104,"24":24,"16":105959244079038464,"45":-9194943039030171648},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-13 18:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690213888001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:06:06] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-13 18:06:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105959244079038464,"km_value":105959244079038.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194943039030171648,"description":"Unknown IO ID 45"} 
[2026-07-13 18:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690213888001,"power":13048,"unknown_251":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9194943039030171648}} 
[2026-07-13 18:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":131541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481163,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:06:06] local.INFO: GPS data processed {"connection_id":131541,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:06:06] local.INFO: Acknowledgment sent {"connection_id":131541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:06:11] local.INFO: TCP Data received {"connection_id":130729,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b784708012d7f914005afd9380010011b24..."} 
[2026-07-13 18:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b784708012d7f914005afd9380010011b24..."} 
[2026-07-13 18:06:11] local.INFO: Processing buffer {"connection_id":130729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b784708012d7f914005afd9380010011b24..."} 
[2026-07-13 18:06:11] local.INFO: Packet analysis {"connection_id":130729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b78"} 
[2026-07-13 18:06:11] local.INFO: Extracted packet for processing {"connection_id":130729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b78"} 
[2026-07-13 18:06:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690108416001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783946037000,"timestamp_ms":1783946037000,"timestamp_seconds":1783946037,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b784708"} 
[2026-07-13 18:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 18:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690108416001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690108416001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:06:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:06:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690108416001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":130729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:06:11] local.INFO: GPS data processed {"connection_id":130729,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:06:11] local.INFO: Acknowledgment sent {"connection_id":130729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:06:19] local.INFO: TCP Data received {"connection_id":130519,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b771270012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b771270012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:06:19] local.INFO: Processing buffer {"connection_id":130519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b771270012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:06:19] local.INFO: Packet analysis {"connection_id":130519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b77"} 
[2026-07-13 18:06:19] local.INFO: Extracted packet for processing {"connection_id":130519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b77"} 
[2026-07-13 18:06:19] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690088192001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783945958000,"timestamp_ms":1783945958000,"timestamp_seconds":1783945958,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b771270"} 
[2026-07-13 18:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:06:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130519,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130519,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690088192001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690088192001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:06:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:06:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:06:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690088192001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":130519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481165,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:06:19] local.INFO: GPS data processed {"connection_id":130519,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:06:19] local.INFO: Acknowledgment sent {"connection_id":130519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:06:29] local.INFO: TCP Data received {"connection_id":130731,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130731,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:06:29] local.INFO: Processing buffer {"connection_id":130731,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:06:29] local.INFO: IMEI packet received {"connection_id":130731,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 18:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":130731,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:06:31] local.INFO: TCP Data received {"connection_id":130731,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130731,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:06:31] local.INFO: Processing buffer {"connection_id":130731,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:06:31] local.INFO: IMEI packet received {"connection_id":130731,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":130731,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:06:34] local.INFO: TCP Data received {"connection_id":130731,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130731,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:06:34] local.INFO: Processing buffer {"connection_id":130731,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:06:34] local.INFO: IMEI packet received {"connection_id":130731,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":130731,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:06:35] local.INFO: TCP Data received {"connection_id":130731,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7a0458012d805d4005dca748000401032c..."} 
[2026-07-13 18:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7a0458012d805d4005dca748000401032c..."} 
[2026-07-13 18:06:35] local.INFO: Processing buffer {"connection_id":130731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7a0458012d805d4005dca748000401032c..."} 
[2026-07-13 18:06:35] local.INFO: Packet analysis {"connection_id":130731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7a"} 
[2026-07-13 18:06:35] local.INFO: Extracted packet for processing {"connection_id":130731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7a"} 
[2026-07-13 18:06:35] local.INFO: GPS Element Parsed {"raw_longitude":763387200,"raw_latitude":98346824,"longitude_deg":76.33872,"latitude_deg":9.8346824,"altitude":4,"angle":259,"satellites":44,"speed":30,"hex_longitude":"2d805d40","hex_latitude":"05dca748","is_valid_coordinates":true} 
[2026-07-13 18:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690214144001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105959312798515200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9195505988983582720,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783946151000,"timestamp_ms":1783946151000,"timestamp_seconds":1783946151,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7a0458"} 
[2026-07-13 18:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-13 18:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690214144001,"66":13222,"251":206,"85":15104,"24":30,"16":105959312798515200,"45":-9195505988983582720},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-13 18:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690214144001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:06:35] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-13 18:06:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105959312798515200,"km_value":105959312798515.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9195505988983582720,"description":"Unknown IO ID 45"} 
[2026-07-13 18:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690214144001,"power":13222,"unknown_251":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9195505988983582720}} 
[2026-07-13 18:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":130731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481166,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:06:35] local.INFO: GPS data processed {"connection_id":130731,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:06:35] local.INFO: Acknowledgment sent {"connection_id":130731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:06:35] local.INFO: TCP Data received {"connection_id":130730,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b798b40012d1b2dc007249cb8002b00e81a..."} 
[2026-07-13 18:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b798b40012d1b2dc007249cb8002b00e81a..."} 
[2026-07-13 18:06:35] local.INFO: Processing buffer {"connection_id":130730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b798b40012d1b2dc007249cb8002b00e81a..."} 
[2026-07-13 18:06:35] local.INFO: Packet analysis {"connection_id":130730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b79"} 
[2026-07-13 18:06:35] local.INFO: Extracted packet for processing {"connection_id":130730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b79"} 
[2026-07-13 18:06:35] local.INFO: GPS Element Parsed {"raw_longitude":756755904,"raw_latitude":119839928,"longitude_deg":75.6755904,"latitude_deg":11.9839928,"altitude":43,"angle":232,"satellites":26,"speed":22,"hex_longitude":"2d1b2dc0","hex_latitude":"07249cb8","is_valid_coordinates":true} 
[2026-07-13 18:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690203136001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5907426867937280,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966454586725279744,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783946120000,"timestamp_ms":1783946120000,"timestamp_seconds":1783946120,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b798b40"} 
[2026-07-13 18:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-13 18:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690203136001,"66":14407,"136":206,"83":42752,"24":22,"16":5907426867937280,"45":1966454586725279744},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-13 18:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690203136001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:06:35] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-13 18:06:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 18:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5907426867937280,"km_value":5907426867937.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966454586725279744,"description":"Unknown IO ID 45"} 
[2026-07-13 18:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690203136001,"power":14407,"unknown_136":206,"unknown_83":42752,"ignition":22,"odometer":null,"unknown_45":1966454586725279744}} 
[2026-07-13 18:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":130730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:06:35] local.INFO: GPS data processed {"connection_id":130730,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:06:35] local.INFO: Acknowledgment sent {"connection_id":130730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:06:39] local.INFO: TCP Data received {"connection_id":130732,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:06:39] local.INFO: Processing buffer {"connection_id":130732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:06:39] local.INFO: IMEI packet received {"connection_id":130732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":130732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:06:39] local.INFO: TCP Data received {"connection_id":131542,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131542,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:06:39] local.INFO: Processing buffer {"connection_id":131542,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:06:39] local.INFO: IMEI packet received {"connection_id":131542,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":131542,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:06:44] local.INFO: TCP Data received {"connection_id":130732,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:06:44] local.INFO: Processing buffer {"connection_id":130732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:06:44] local.INFO: IMEI packet received {"connection_id":130732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":130732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:06:45] local.INFO: TCP Data received {"connection_id":131542,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131542,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:06:45] local.INFO: Processing buffer {"connection_id":131542,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:06:45] local.INFO: IMEI packet received {"connection_id":131542,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":131542,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:06:45] local.INFO: TCP Data received {"connection_id":130732,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b784708012d7f914005afd9380010011b24..."} 
[2026-07-13 18:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b784708012d7f914005afd9380010011b24..."} 
[2026-07-13 18:06:45] local.INFO: Processing buffer {"connection_id":130732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b784708012d7f914005afd9380010011b24..."} 
[2026-07-13 18:06:45] local.INFO: Packet analysis {"connection_id":130732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b78"} 
[2026-07-13 18:06:45] local.INFO: Extracted packet for processing {"connection_id":130732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b78"} 
[2026-07-13 18:06:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 18:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690108416001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783946037000,"timestamp_ms":1783946037000,"timestamp_seconds":1783946037,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b784708"} 
[2026-07-13 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-07-13 18:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 18:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 18:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690108416001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690108416001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:06:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:06:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690108416001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":130732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:06:45] local.INFO: GPS data processed {"connection_id":130732,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:06:45] local.INFO: Acknowledgment sent {"connection_id":130732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:06:46] local.INFO: TCP Data received {"connection_id":131542,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b771270012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b771270012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:06:46] local.INFO: Processing buffer {"connection_id":131542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b771270012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:06:46] local.INFO: Packet analysis {"connection_id":131542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b77"} 
[2026-07-13 18:06:46] local.INFO: Extracted packet for processing {"connection_id":131542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b77"} 
[2026-07-13 18:06:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690088192001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783945958000,"timestamp_ms":1783945958000,"timestamp_seconds":1783945958,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b771270"} 
[2026-07-13 18:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131542,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131542,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690088192001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690088192001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:06:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:06:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:06:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690088192001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":131542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481169,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:06:46] local.INFO: GPS data processed {"connection_id":131542,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:06:46] local.INFO: Acknowledgment sent {"connection_id":131542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:06:49] local.INFO: TCP Data received {"connection_id":130732,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b784708012d7f914005afd9380010011b24..."} 
[2026-07-13 18:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b784708012d7f914005afd9380010011b24..."} 
[2026-07-13 18:06:49] local.INFO: Processing buffer {"connection_id":130732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b784708012d7f914005afd9380010011b24..."} 
[2026-07-13 18:06:49] local.INFO: Packet analysis {"connection_id":130732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b78"} 
[2026-07-13 18:06:49] local.INFO: Extracted packet for processing {"connection_id":130732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b78"} 
[2026-07-13 18:06:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690108416001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783946037000,"timestamp_ms":1783946037000,"timestamp_seconds":1783946037,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b784708"} 
[2026-07-13 18:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 18:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:06: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-07-13 18:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690108416001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690108416001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:06:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:06:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690108416001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":130732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:06:49] local.INFO: GPS data processed {"connection_id":130732,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:06:49] local.INFO: Acknowledgment sent {"connection_id":130732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:06:52] local.INFO: TCP Data received {"connection_id":131543,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:06:52] local.INFO: Processing buffer {"connection_id":131543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:06:52] local.INFO: IMEI packet received {"connection_id":131543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":131543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:06:58] local.INFO: TCP Data received {"connection_id":131543,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:06:58] local.INFO: Processing buffer {"connection_id":131543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:06:58] local.INFO: IMEI packet received {"connection_id":131543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":131543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:07:00] local.INFO: TCP Data received {"connection_id":131543,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b79d960012d1b148007248888002800e61a..."} 
[2026-07-13 18:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b79d960012d1b148007248888002800e61a..."} 
[2026-07-13 18:07:00] local.INFO: Processing buffer {"connection_id":131543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b79d960012d1b148007248888002800e61a..."} 
[2026-07-13 18:07:00] local.INFO: Packet analysis {"connection_id":131543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b79"} 
[2026-07-13 18:07:00] local.INFO: Extracted packet for processing {"connection_id":131543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b79"} 
[2026-07-13 18:07:00] local.INFO: GPS Element Parsed {"raw_longitude":756749440,"raw_latitude":119834760,"longitude_deg":75.674944,"latitude_deg":11.983476,"altitude":40,"angle":230,"satellites":26,"speed":5,"hex_longitude":"2d1b1480","hex_latitude":"07248888","is_valid_coordinates":true} 
[2026-07-13 18:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690206720001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5907822004928512,"note":"Value kept but may cause issues"} 
[2026-07-13 18:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958432549887588352,"note":"Value kept but may cause issues"} 
[2026-07-13 18:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783946140000,"timestamp_ms":1783946140000,"timestamp_seconds":1783946140,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b79d960"} 
[2026-07-13 18:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-13 18:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:07:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":131543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":131543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":131543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690206720001,"66":14298,"136":206,"83":42752,"24":5,"16":5907822004928512,"45":1958432549887588352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-13 18:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690206720001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:07:00] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-13 18:07:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 18:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5907822004928512,"km_value":5907822004928.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958432549887588352,"description":"Unknown IO ID 45"} 
[2026-07-13 18:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690206720001,"power":14298,"unknown_136":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1958432549887588352}} 
[2026-07-13 18:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":131543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:07:00] local.INFO: GPS data processed {"connection_id":131543,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:07:00] local.INFO: Acknowledgment sent {"connection_id":131543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:07:06] local.INFO: TCP Data received {"connection_id":130731,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7a2b68012d80394005dc9f88000401012e..."} 
[2026-07-13 18:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7a2b68012d80394005dc9f88000401012e..."} 
[2026-07-13 18:07:06] local.INFO: Processing buffer {"connection_id":130731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7a2b68012d80394005dc9f88000401012e..."} 
[2026-07-13 18:07:06] local.INFO: Packet analysis {"connection_id":130731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7a"} 
[2026-07-13 18:07:06] local.INFO: Extracted packet for processing {"connection_id":130731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7a"} 
[2026-07-13 18:07:06] local.INFO: GPS Element Parsed {"raw_longitude":763377984,"raw_latitude":98344840,"longitude_deg":76.3377984,"latitude_deg":9.834484,"altitude":4,"angle":257,"satellites":46,"speed":40,"hex_longitude":"2d803940","hex_latitude":"05dc9f88","is_valid_coordinates":true} 
[2026-07-13 18:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690214656001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105959763770081280,"note":"Value kept but may cause issues"} 
[2026-07-13 18:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9197124470099720192,"note":"Value kept but may cause issues"} 
[2026-07-13 18:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783946161000,"timestamp_ms":1783946161000,"timestamp_seconds":1783946161,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7a2b68"} 
[2026-07-13 18:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-13 18:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690214656001,"66":13091,"251":206,"85":15104,"24":40,"16":105959763770081280,"45":-9197124470099720192},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-13 18:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690214656001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:07:06] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-13 18:07:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105959763770081280,"km_value":105959763770081.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9197124470099720192,"description":"Unknown IO ID 45"} 
[2026-07-13 18:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690214656001,"power":13091,"unknown_251":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9197124470099720192}} 
[2026-07-13 18:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":130731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481172,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:07:06] local.INFO: GPS data processed {"connection_id":130731,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:07:06] local.INFO: Acknowledgment sent {"connection_id":130731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:07:17] local.INFO: TCP Data received {"connection_id":131542,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b771270012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b771270012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:07:17] local.INFO: Processing buffer {"connection_id":131542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b771270012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:07:17] local.INFO: Packet analysis {"connection_id":131542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b77"} 
[2026-07-13 18:07:17] local.INFO: Extracted packet for processing {"connection_id":131542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b77"} 
[2026-07-13 18:07:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 18:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690088192001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:07:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783945958000,"timestamp_ms":1783945958000,"timestamp_seconds":1783945958,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b771270"} 
[2026-07-13 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-07-13 18:07: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-07-13 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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:07:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 18:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131542,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131542,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690088192001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690088192001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:07:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:07:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:07:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690088192001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":131542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481173,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:07:18] local.INFO: GPS data processed {"connection_id":131542,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:07:18] local.INFO: Acknowledgment sent {"connection_id":131542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:07:29] local.INFO: TCP Data received {"connection_id":130520,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130520,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:07:29] local.INFO: Processing buffer {"connection_id":130520,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:07:29] local.INFO: IMEI packet received {"connection_id":130520,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 18:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":130520,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:07:29] local.INFO: TCP Data received {"connection_id":130520,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130520,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:07:29] local.INFO: Processing buffer {"connection_id":130520,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:07:29] local.INFO: IMEI packet received {"connection_id":130520,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":130520,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:07:33] local.INFO: TCP Data received {"connection_id":131543,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7a0840012d1b0b4007248038002900d11a..."} 
[2026-07-13 18:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7a0840012d1b0b4007248038002900d11a..."} 
[2026-07-13 18:07:33] local.INFO: Processing buffer {"connection_id":131543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7a0840012d1b0b4007248038002900d11a..."} 
[2026-07-13 18:07:33] local.INFO: Packet analysis {"connection_id":131543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7a"} 
[2026-07-13 18:07:33] local.INFO: Extracted packet for processing {"connection_id":131543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7a"} 
[2026-07-13 18:07:33] local.INFO: GPS Element Parsed {"raw_longitude":756747072,"raw_latitude":119832632,"longitude_deg":75.6747072,"latitude_deg":11.9832632,"altitude":41,"angle":209,"satellites":26,"speed":9,"hex_longitude":"2d1b0b40","hex_latitude":"07248038","is_valid_coordinates":true} 
[2026-07-13 18:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690211840001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5907976623751168,"note":"Value kept but may cause issues"} 
[2026-07-13 18:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1951325306724321280,"note":"Value kept but may cause issues"} 
[2026-07-13 18:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783946152000,"timestamp_ms":1783946152000,"timestamp_seconds":1783946152,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7a0840"} 
[2026-07-13 18:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-13 18:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":131543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":131543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":131543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690211840001,"66":14461,"136":206,"83":42752,"24":9,"16":5907976623751168,"45":1951325306724321280},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-13 18:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690211840001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:07:33] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-13 18:07:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 18:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5907976623751168,"km_value":5907976623751.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1951325306724321280,"description":"Unknown IO ID 45"} 
[2026-07-13 18:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690211840001,"power":14461,"unknown_136":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":1951325306724321280}} 
[2026-07-13 18:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":131543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:07:33] local.INFO: GPS data processed {"connection_id":131543,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:07:33] local.INFO: Acknowledgment sent {"connection_id":131543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:07:34] local.INFO: TCP Data received {"connection_id":132872,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:07:34] local.INFO: Processing buffer {"connection_id":132872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:07:34] local.INFO: IMEI packet received {"connection_id":132872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":132872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:07:34] local.INFO: TCP Data received {"connection_id":130520,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130520,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:07:34] local.INFO: Processing buffer {"connection_id":130520,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:07:34] local.INFO: IMEI packet received {"connection_id":130520,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":130520,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:07:35] local.INFO: TCP Data received {"connection_id":130520,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7b6bb8012d7faa8005dc6450000600a32f..."} 
[2026-07-13 18:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7b6bb8012d7faa8005dc6450000600a32f..."} 
[2026-07-13 18:07:35] local.INFO: Processing buffer {"connection_id":130520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7b6bb8012d7faa8005dc6450000600a32f..."} 
[2026-07-13 18:07:35] local.INFO: Packet analysis {"connection_id":130520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:07:35] local.INFO: Extracted packet for processing {"connection_id":130520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:07:35] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":98329680,"longitude_deg":76.334144,"latitude_deg":9.832968,"altitude":6,"angle":163,"satellites":47,"speed":15,"hex_longitude":"2d7faa80","hex_latitude":"05dc6450","is_valid_coordinates":true} 
[2026-07-13 18:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690236160001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962027217846272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732914825216,"note":"Value kept but may cause issues"} 
[2026-07-13 18:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783946243000,"timestamp_ms":1783946243000,"timestamp_seconds":1783946243,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7b6bb8"} 
[2026-07-13 18:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-13 18:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690236160001,"66":12743,"251":206,"85":15104,"24":15,"16":105962027217846272,"45":9197546732914825216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-13 18:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690236160001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:07:35] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-13 18:07:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962027217846272,"km_value":105962027217846.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732914825216,"description":"Unknown IO ID 45"} 
[2026-07-13 18:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690236160001,"power":12743,"unknown_251":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9197546732914825216}} 
[2026-07-13 18:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":130520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481175,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:07:35] local.INFO: GPS data processed {"connection_id":130520,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:07:35] local.INFO: Acknowledgment sent {"connection_id":130520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:07:41] local.INFO: TCP Data received {"connection_id":132872,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:07:41] local.INFO: Processing buffer {"connection_id":132872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:07:41] local.INFO: IMEI packet received {"connection_id":132872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":132872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:07:42] local.INFO: TCP Data received {"connection_id":132872,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b784708012d7f914005afd9380010011b24..."} 
[2026-07-13 18:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b784708012d7f914005afd9380010011b24..."} 
[2026-07-13 18:07:42] local.INFO: Processing buffer {"connection_id":132872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b784708012d7f914005afd9380010011b24..."} 
[2026-07-13 18:07:42] local.INFO: Packet analysis {"connection_id":132872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b78"} 
[2026-07-13 18:07:42] local.INFO: Extracted packet for processing {"connection_id":132872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b78"} 
[2026-07-13 18:07:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690108416001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783946037000,"timestamp_ms":1783946037000,"timestamp_seconds":1783946037,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b784708"} 
[2026-07-13 18:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 18:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":132872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":132872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":132872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690108416001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690108416001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:07:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:07:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690108416001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":132872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:07:42] local.INFO: GPS data processed {"connection_id":132872,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:07:42] local.INFO: Acknowledgment sent {"connection_id":132872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:07:45] local.INFO: TCP Data received {"connection_id":130733,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130733,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:07:45] local.INFO: Processing buffer {"connection_id":130733,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:07:45] local.INFO: IMEI packet received {"connection_id":130733,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":130733,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:07:49] local.INFO: TCP Data received {"connection_id":130733,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130733,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:07:49] local.INFO: Processing buffer {"connection_id":130733,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:07:49] local.INFO: IMEI packet received {"connection_id":130733,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":130733,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:07:50] local.INFO: TCP Data received {"connection_id":130733,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b771270012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b771270012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:07:50] local.INFO: Processing buffer {"connection_id":130733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b771270012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:07:50] local.INFO: Packet analysis {"connection_id":130733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b77"} 
[2026-07-13 18:07:50] local.INFO: Extracted packet for processing {"connection_id":130733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b77"} 
[2026-07-13 18:07:50] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690088192001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:07:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783945958000,"timestamp_ms":1783945958000,"timestamp_seconds":1783945958,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b771270"} 
[2026-07-13 18:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130733,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130733,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690088192001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690088192001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:07:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:07:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:07:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690088192001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":130733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481177,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:07:50] local.INFO: GPS data processed {"connection_id":130733,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:07:50] local.INFO: Acknowledgment sent {"connection_id":130733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:07:52] local.INFO: TCP Data received {"connection_id":131544,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:07:52] local.INFO: Processing buffer {"connection_id":131544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:07:52] local.INFO: IMEI packet received {"connection_id":131544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":131544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:07:55] local.INFO: TCP Data received {"connection_id":130733,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b771270012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b771270012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:07:55] local.INFO: Processing buffer {"connection_id":130733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b771270012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:07:55] local.INFO: Packet analysis {"connection_id":130733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b77"} 
[2026-07-13 18:07:55] local.INFO: Extracted packet for processing {"connection_id":130733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b77"} 
[2026-07-13 18:07:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690088192001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:07:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783945958000,"timestamp_ms":1783945958000,"timestamp_seconds":1783945958,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b771270"} 
[2026-07-13 18:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130733,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130733,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690088192001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690088192001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:07:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:07:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:07:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690088192001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":130733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481178,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:07:55] local.INFO: GPS data processed {"connection_id":130733,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:07:55] local.INFO: Acknowledgment sent {"connection_id":130733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:07:58] local.INFO: TCP Data received {"connection_id":131544,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:07:58] local.INFO: Processing buffer {"connection_id":131544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:07:58] local.INFO: IMEI packet received {"connection_id":131544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":131544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:07:58] local.INFO: TCP Data received {"connection_id":131544,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7b6000012d1a5a800723f768003500dc1b..."} 
[2026-07-13 18:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7b6000012d1a5a800723f768003500dc1b..."} 
[2026-07-13 18:07:58] local.INFO: Processing buffer {"connection_id":131544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7b6000012d1a5a800723f768003500dc1b..."} 
[2026-07-13 18:07:58] local.INFO: Packet analysis {"connection_id":131544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:07:58] local.INFO: Extracted packet for processing {"connection_id":131544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:07:58] local.INFO: GPS Element Parsed {"raw_longitude":756701824,"raw_latitude":119797608,"longitude_deg":75.6701824,"latitude_deg":11.9797608,"altitude":53,"angle":220,"satellites":27,"speed":30,"hex_longitude":"2d1a5a80","hex_latitude":"0723f768","is_valid_coordinates":true} 
[2026-07-13 18:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690235648001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5910785532362752,"note":"Value kept but may cause issues"} 
[2026-07-13 18:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903404191930820608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:07:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783946240000,"timestamp_ms":1783946240000,"timestamp_seconds":1783946240,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7b6000"} 
[2026-07-13 18:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-13 18:07:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:07:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690235648001,"66":14374,"43":206,"83":42752,"24":30,"16":5910785532362752,"45":1903404191930820608},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-13 18:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690235648001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:07:58] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-13 18:07:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 18:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5910785532362752,"km_value":5910785532362.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903404191930820608,"description":"Unknown IO ID 45"} 
[2026-07-13 18:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690235648001,"power":14374,"unknown_43":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":1903404191930820608}} 
[2026-07-13 18:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":131544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:07:58] local.INFO: GPS data processed {"connection_id":131544,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:07:58] local.INFO: Acknowledgment sent {"connection_id":131544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:08:07] local.INFO: TCP Data received {"connection_id":130520,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7b7388012d7faac005dc6160000600c12e..."} 
[2026-07-13 18:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7b7388012d7faac005dc6160000600c12e..."} 
[2026-07-13 18:08:07] local.INFO: Processing buffer {"connection_id":130520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7b7388012d7faac005dc6160000600c12e..."} 
[2026-07-13 18:08:07] local.INFO: Packet analysis {"connection_id":130520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:08:07] local.INFO: Extracted packet for processing {"connection_id":130520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:08:07] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":98328928,"longitude_deg":76.3341504,"latitude_deg":9.8328928,"altitude":6,"angle":193,"satellites":46,"speed":14,"hex_longitude":"2d7faac0","hex_latitude":"05dc6160","is_valid_coordinates":true} 
[2026-07-13 18:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690238208001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962065872551936,"note":"Value kept but may cause issues"} 
[2026-07-13 18:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305951518412800,"note":"Value kept but may cause issues"} 
[2026-07-13 18:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783946245000,"timestamp_ms":1783946245000,"timestamp_seconds":1783946245,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7b7388"} 
[2026-07-13 18:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-13 18:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":130520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":130520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":130520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690238208001,"66":13428,"251":206,"85":15104,"24":14,"16":105962065872551936,"45":9199305951518412800},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-13 18:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690238208001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:08:07] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-13 18:08:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962065872551936,"km_value":105962065872551.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305951518412800,"description":"Unknown IO ID 45"} 
[2026-07-13 18:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690238208001,"power":13428,"unknown_251":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9199305951518412800}} 
[2026-07-13 18:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":130520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:08:07] local.INFO: GPS data processed {"connection_id":130520,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:08:07] local.INFO: Acknowledgment sent {"connection_id":130520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:08:13] local.INFO: TCP Data received {"connection_id":132872,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b784708012d7f914005afd9380010011b24..."} 
[2026-07-13 18:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b784708012d7f914005afd9380010011b24..."} 
[2026-07-13 18:08:13] local.INFO: Processing buffer {"connection_id":132872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b784708012d7f914005afd9380010011b24..."} 
[2026-07-13 18:08:13] local.INFO: Packet analysis {"connection_id":132872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b78"} 
[2026-07-13 18:08:13] local.INFO: Extracted packet for processing {"connection_id":132872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b78"} 
[2026-07-13 18:08:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690108416001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783946037000,"timestamp_ms":1783946037000,"timestamp_seconds":1783946037,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b784708"} 
[2026-07-13 18:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 18:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690108416001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690108416001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:08:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:08:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690108416001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":132872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:08:13] local.INFO: GPS data processed {"connection_id":132872,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:08:13] local.INFO: Acknowledgment sent {"connection_id":132872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:08:30] local.INFO: TCP Data received {"connection_id":131544,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7b7b58012d1a4dc00723e3e8003700d11b..."} 
[2026-07-13 18:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7b7b58012d1a4dc00723e3e8003700d11b..."} 
[2026-07-13 18:08:30] local.INFO: Processing buffer {"connection_id":131544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7b7b58012d1a4dc00723e3e8003700d11b..."} 
[2026-07-13 18:08:30] local.INFO: Packet analysis {"connection_id":131544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:08:30] local.INFO: Extracted packet for processing {"connection_id":131544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:08:30] local.INFO: GPS Element Parsed {"raw_longitude":756698560,"raw_latitude":119792616,"longitude_deg":75.669856,"latitude_deg":11.9792616,"altitude":55,"angle":209,"satellites":27,"speed":34,"hex_longitude":"2d1a4dc0","hex_latitude":"0723e3e8","is_valid_coordinates":true} 
[2026-07-13 18:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690237440001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5911073295171584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1898970961046628352,"note":"Value kept but may cause issues"} 
[2026-07-13 18:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783946247000,"timestamp_ms":1783946247000,"timestamp_seconds":1783946247,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7b7b58"} 
[2026-07-13 18:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-13 18:08: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-07-13 18:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":131544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":131544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":131544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690237440001,"66":14341,"43":206,"83":42752,"24":34,"16":5911073295171584,"45":1898970961046628352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-13 18:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690237440001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:08:30] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-13 18:08:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 18:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5911073295171584,"km_value":5911073295171.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1898970961046628352,"description":"Unknown IO ID 45"} 
[2026-07-13 18:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690237440001,"power":14341,"unknown_43":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1898970961046628352}} 
[2026-07-13 18:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":131544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:08:30] local.INFO: GPS data processed {"connection_id":131544,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:08:30] local.INFO: Acknowledgment sent {"connection_id":131544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:08:32] local.INFO: TCP Data received {"connection_id":132873,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:08:32] local.INFO: Processing buffer {"connection_id":132873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:08:32] local.INFO: IMEI packet received {"connection_id":132873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 18:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":132873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:08:34] local.INFO: TCP Data received {"connection_id":132873,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:08:34] local.INFO: Processing buffer {"connection_id":132873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:08:34] local.INFO: IMEI packet received {"connection_id":132873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":132873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:08:35] local.INFO: TCP Data received {"connection_id":130521,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:08:35] local.INFO: Processing buffer {"connection_id":130521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:08:35] local.INFO: IMEI packet received {"connection_id":130521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":130521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:08:39] local.INFO: TCP Data received {"connection_id":130521,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:08:39] local.INFO: Processing buffer {"connection_id":130521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:08:39] local.INFO: IMEI packet received {"connection_id":130521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":130521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:08:39] local.INFO: TCP Data received {"connection_id":132873,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:08:39] local.INFO: Processing buffer {"connection_id":132873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:08:39] local.INFO: IMEI packet received {"connection_id":132873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":132873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:08:40] local.INFO: TCP Data received {"connection_id":130521,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b784708012d7f914005afd9380010011b24..."} 
[2026-07-13 18:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b784708012d7f914005afd9380010011b24..."} 
[2026-07-13 18:08:40] local.INFO: Processing buffer {"connection_id":130521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b784708012d7f914005afd9380010011b24..."} 
[2026-07-13 18:08:40] local.INFO: Packet analysis {"connection_id":130521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b78"} 
[2026-07-13 18:08:40] local.INFO: Extracted packet for processing {"connection_id":130521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b78"} 
[2026-07-13 18:08:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690108416001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783946037000,"timestamp_ms":1783946037000,"timestamp_seconds":1783946037,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b784708"} 
[2026-07-13 18:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 18:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690108416001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690108416001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:08:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:08:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690108416001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":130521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:08:40] local.INFO: GPS data processed {"connection_id":130521,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:08:40] local.INFO: Acknowledgment sent {"connection_id":130521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:08:40] local.INFO: TCP Data received {"connection_id":132873,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7b7770012d7faa4005dc6020000600d62e..."} 
[2026-07-13 18:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7b7770012d7faa4005dc6020000600d62e..."} 
[2026-07-13 18:08:40] local.INFO: Processing buffer {"connection_id":132873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7b7770012d7faa4005dc6020000600d62e..."} 
[2026-07-13 18:08:40] local.INFO: Packet analysis {"connection_id":132873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:08:40] local.INFO: Extracted packet for processing {"connection_id":132873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:08:40] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":98328608,"longitude_deg":76.3341376,"latitude_deg":9.8328608,"altitude":6,"angle":214,"satellites":46,"speed":13,"hex_longitude":"2d7faa40","hex_latitude":"05dc6020","is_valid_coordinates":true} 
[2026-07-13 18:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690238720001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962083052421120,"note":"Value kept but may cause issues"} 
[2026-07-13 18:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376320262397952,"note":"Value kept but may cause issues"} 
[2026-07-13 18:08: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-07-13 18:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783946246000,"timestamp_ms":1783946246000,"timestamp_seconds":1783946246,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7b7770"} 
[2026-07-13 18:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:08: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-07-13 18:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-13 18:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690238720001,"66":13428,"251":206,"85":15104,"24":13,"16":105962083052421120,"45":9199376320262397952},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-13 18:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690238720001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:08:40] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-13 18:08:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962083052421120,"km_value":105962083052421.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376320262397952,"description":"Unknown IO ID 45"} 
[2026-07-13 18:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690238720001,"power":13428,"unknown_251":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9199376320262397952}} 
[2026-07-13 18:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":132873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:08:40] local.INFO: GPS data processed {"connection_id":132873,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:08:40] local.INFO: Acknowledgment sent {"connection_id":132873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:08:44] local.INFO: TCP Data received {"connection_id":132874,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:08:44] local.INFO: Processing buffer {"connection_id":132874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:08:44] local.INFO: IMEI packet received {"connection_id":132874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":132874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:08:45] local.INFO: TCP Data received {"connection_id":132874,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:08:45] local.INFO: Processing buffer {"connection_id":132874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:08:45] local.INFO: IMEI packet received {"connection_id":132874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":132874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:08:46] local.INFO: TCP Data received {"connection_id":132874,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:08:46] local.INFO: Processing buffer {"connection_id":132874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:08:46] local.INFO: Packet analysis {"connection_id":132874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:08:46] local.INFO: Extracted packet for processing {"connection_id":132874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:08:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690165248001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:08:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783946259000,"timestamp_ms":1783946259000,"timestamp_seconds":1783946259,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7baa38"} 
[2026-07-13 18:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690165248001,"66":24810,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690165248001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:08:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:08:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:08:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690165248001,"power":24810,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":132874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481185,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:08:46] local.INFO: GPS data processed {"connection_id":132874,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:08:46] local.INFO: Acknowledgment sent {"connection_id":132874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:08:50] local.INFO: TCP Data received {"connection_id":132874,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:08:50] local.INFO: Processing buffer {"connection_id":132874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:08:50] local.INFO: Packet analysis {"connection_id":132874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:08:50] local.INFO: Extracted packet for processing {"connection_id":132874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:08:50] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690165248001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:08:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783946259000,"timestamp_ms":1783946259000,"timestamp_seconds":1783946259,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7baa38"} 
[2026-07-13 18:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:08:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":132874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":132874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":132874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:08:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690165248001,"66":24810,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690165248001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:08:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:08:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:08:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690165248001,"power":24810,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":132874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481186,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:08:50] local.INFO: GPS data processed {"connection_id":132874,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:08:50] local.INFO: Acknowledgment sent {"connection_id":132874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:08:58] local.INFO: TCP Data received {"connection_id":130734,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:08:58] local.INFO: Processing buffer {"connection_id":130734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:08:58] local.INFO: IMEI packet received {"connection_id":130734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":130734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:09:03] local.INFO: TCP Data received {"connection_id":130734,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:09:03] local.INFO: Processing buffer {"connection_id":130734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:09:03] local.INFO: IMEI packet received {"connection_id":130734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":130734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:09:03] local.INFO: TCP Data received {"connection_id":130734,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7ba650012d1a3ac00723c658003700d71b..."} 
[2026-07-13 18:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7ba650012d1a3ac00723c658003700d71b..."} 
[2026-07-13 18:09:03] local.INFO: Processing buffer {"connection_id":130734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7ba650012d1a3ac00723c658003700d71b..."} 
[2026-07-13 18:09:03] local.INFO: Packet analysis {"connection_id":130734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:09:03] local.INFO: Extracted packet for processing {"connection_id":130734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:09:03] local.INFO: GPS Element Parsed {"raw_longitude":756693696,"raw_latitude":119785048,"longitude_deg":75.6693696,"latitude_deg":11.9785048,"altitude":55,"angle":215,"satellites":27,"speed":23,"hex_longitude":"2d1a3ac0","hex_latitude":"0723c658","is_valid_coordinates":true} 
[2026-07-13 18:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690239232001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5911507086868480,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1895382155092289536,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783946258000,"timestamp_ms":1783946258000,"timestamp_seconds":1783946258,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7ba650"} 
[2026-07-13 18:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-13 18:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6968539792,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09:03] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":26624,"corrected_to":0} 
[2026-07-13 18:09:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503689792323584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789919438,"corrected_to":0} 
[2026-07-13 18:09:03] local.WARNING: Large IO value detected {"io_id":201,"raw_value":2147951669,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09:03] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84753502332986435,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09:03] local.WARNING: Large IO value detected {"io_id":40,"raw_value":14919119094684416,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09:03] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,43,83,24,241,157,16,159,96,45,128,247,53,27,10,66,255,68,64,6,28,25,1,240,227,91,36,4,113,205,184,201,112,26,239,54,176,2,20,7,52,206,248,40],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":247,"original":26624,"validated":0},{"io_id":205,"original":1789919438,"validated":0}]} 
[2026-07-13 18:09:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963397585982586880,"timestamp_seconds":3963397585982587.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 18:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":130734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":130734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":130734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690239232001,"66":14494,"43":206,"83":42752,"24":23,"16":5911507086868480,"45":1895382155092289536},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-13 18:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690239232001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:09:03] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-13 18:09:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 18:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5911507086868480,"km_value":5911507086868.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1895382155092289536,"description":"Unknown IO ID 45"} 
[2026-07-13 18:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690239232001,"power":14494,"unknown_43":206,"unknown_83":42752,"ignition":23,"odometer":null,"unknown_45":1895382155092289536}} 
[2026-07-13 18:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":130734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:09:03] local.INFO: GPS data processed {"connection_id":130734,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:09:03] local.INFO: Acknowledgment sent {"connection_id":130734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:09:08] local.INFO: TCP Data received {"connection_id":130734,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7bf470012d1a35800723bed8003500dd1c..."} 
[2026-07-13 18:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7bf470012d1a35800723bed8003500dd1c..."} 
[2026-07-13 18:09:08] local.INFO: Processing buffer {"connection_id":130734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7bf470012d1a35800723bed8003500dd1c..."} 
[2026-07-13 18:09:08] local.INFO: Packet analysis {"connection_id":130734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:09:08] local.INFO: Extracted packet for processing {"connection_id":130734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:09:08] local.INFO: GPS Element Parsed {"raw_longitude":756692352,"raw_latitude":119783128,"longitude_deg":75.6692352,"latitude_deg":11.9783128,"altitude":53,"angle":221,"satellites":28,"speed":0,"hex_longitude":"2d1a3580","hex_latitude":"0723bed8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 18:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690242048001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5911627345952768,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890034130532849664,"note":"Value kept but may cause issues"} 
[2026-07-13 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-07-13 18:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783946278000,"timestamp_ms":1783946278000,"timestamp_seconds":1783946278,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7bf470"} 
[2026-07-13 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-07-13 18:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-13 18:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 18:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690242048001,"66":13254,"43":206,"83":42752,"24":0,"16":5911627345952768,"45":1890034130532849664},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-13 18:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690242048001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:09:08] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-13 18:09:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 18:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5911627345952768,"km_value":5911627345952.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890034130532849664,"description":"Unknown IO ID 45"} 
[2026-07-13 18:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690242048001,"power":13254,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1890034130532849664}} 
[2026-07-13 18:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":130734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:09:08] local.INFO: GPS data processed {"connection_id":130734,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:09:08] local.INFO: Acknowledgment sent {"connection_id":130734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:09:11] local.INFO: TCP Data received {"connection_id":130521,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b784708012d7f914005afd9380010011b24..."} 
[2026-07-13 18:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b784708012d7f914005afd9380010011b24..."} 
[2026-07-13 18:09:11] local.INFO: Processing buffer {"connection_id":130521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b784708012d7f914005afd9380010011b24..."} 
[2026-07-13 18:09:11] local.INFO: Packet analysis {"connection_id":130521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b78"} 
[2026-07-13 18:09:11] local.INFO: Extracted packet for processing {"connection_id":130521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b78"} 
[2026-07-13 18:09:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":16,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690108416001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783946037000,"timestamp_ms":1783946037000,"timestamp_seconds":1783946037,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b784708"} 
[2026-07-13 18:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 18:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690108416001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690108416001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:09:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:09:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690108416001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":130521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:09:11] local.INFO: GPS data processed {"connection_id":130521,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:09:11] local.INFO: Acknowledgment sent {"connection_id":130521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:09:11] local.INFO: TCP Data received {"connection_id":132873,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7b7b58012d7fa94005dc5f48000600ec2e..."} 
[2026-07-13 18:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7b7b58012d7fa94005dc5f48000600ec2e..."} 
[2026-07-13 18:09:11] local.INFO: Processing buffer {"connection_id":132873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7b7b58012d7fa94005dc5f48000600ec2e..."} 
[2026-07-13 18:09:11] local.INFO: Packet analysis {"connection_id":132873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:09:11] local.INFO: Extracted packet for processing {"connection_id":132873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:09:11] local.INFO: GPS Element Parsed {"raw_longitude":763341120,"raw_latitude":98328392,"longitude_deg":76.334112,"latitude_deg":9.8328392,"altitude":6,"angle":236,"satellites":46,"speed":14,"hex_longitude":"2d7fa940","hex_latitude":"05dc5f48","is_valid_coordinates":true} 
[2026-07-13 18:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690238976001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962100232290304,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582773960704,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783946247000,"timestamp_ms":1783946247000,"timestamp_seconds":1783946247,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7b7b58"} 
[2026-07-13 18:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-13 18:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690238976001,"66":12939,"251":206,"85":15104,"24":14,"16":105962100232290304,"45":9199235582773960704},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-13 18:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690238976001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:09:11] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-13 18:09:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962100232290304,"km_value":105962100232290.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582773960704,"description":"Unknown IO ID 45"} 
[2026-07-13 18:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690238976001,"power":12939,"unknown_251":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9199235582773960704}} 
[2026-07-13 18:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":132873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481190,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:09:11] local.INFO: GPS data processed {"connection_id":132873,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:09:11] local.INFO: Acknowledgment sent {"connection_id":132873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:09:22] local.INFO: TCP Data received {"connection_id":132874,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:09:22] local.INFO: Processing buffer {"connection_id":132874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:09:22] local.INFO: Packet analysis {"connection_id":132874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:09:22] local.INFO: Extracted packet for processing {"connection_id":132874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:09:22] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690165248001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783946259000,"timestamp_ms":1783946259000,"timestamp_seconds":1783946259,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7baa38"} 
[2026-07-13 18:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":132874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":132874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":132874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690165248001,"66":24810,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690165248001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:09:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:09:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:09:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690165248001,"power":24810,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":132874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481191,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:09:22] local.INFO: GPS data processed {"connection_id":132874,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:09:22] local.INFO: Acknowledgment sent {"connection_id":132874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:09:29] local.INFO: TCP Data received {"connection_id":131545,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:09:29] local.INFO: Processing buffer {"connection_id":131545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:09:29] local.INFO: IMEI packet received {"connection_id":131545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 18:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":131545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:09:34] local.INFO: TCP Data received {"connection_id":131545,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:09:34] local.INFO: Processing buffer {"connection_id":131545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:09:34] local.INFO: IMEI packet received {"connection_id":131545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":131545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:09:35] local.INFO: TCP Data received {"connection_id":131545,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7b7f40012d7fa7c005dc5ec8000600fe2e..."} 
[2026-07-13 18:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7b7f40012d7fa7c005dc5ec8000600fe2e..."} 
[2026-07-13 18:09:35] local.INFO: Processing buffer {"connection_id":131545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7b7f40012d7fa7c005dc5ec8000600fe2e..."} 
[2026-07-13 18:09:35] local.INFO: Packet analysis {"connection_id":131545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:09:35] local.INFO: Extracted packet for processing {"connection_id":131545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:09:35] local.INFO: GPS Element Parsed {"raw_longitude":763340736,"raw_latitude":98328264,"longitude_deg":76.3340736,"latitude_deg":9.8328264,"altitude":6,"angle":254,"satellites":46,"speed":15,"hex_longitude":"2d7fa7c0","hex_latitude":"05dc5ec8","is_valid_coordinates":true} 
[2026-07-13 18:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690239232001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962117412159488,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107797194752,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783946248000,"timestamp_ms":1783946248000,"timestamp_seconds":1783946248,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7b7f40"} 
[2026-07-13 18:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18: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-07-13 18: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":139,"data_length":795,"current_offset":136} 
[2026-07-13 18:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":131545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":131545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":131545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690239232001,"66":12939,"251":206,"85":15104,"24":15,"16":105962117412159488,"45":9198954107797194752},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-13 18:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690239232001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:09:35] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-13 18:09:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962117412159488,"km_value":105962117412159.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107797194752,"description":"Unknown IO ID 45"} 
[2026-07-13 18:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690239232001,"power":12939,"unknown_251":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9198954107797194752}} 
[2026-07-13 18:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":131545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:09:35] local.INFO: GPS data processed {"connection_id":131545,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:09:35] local.INFO: Acknowledgment sent {"connection_id":131545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:09:36] local.INFO: TCP Data received {"connection_id":131546,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:09:36] local.INFO: Processing buffer {"connection_id":131546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:09:36] local.INFO: IMEI packet received {"connection_id":131546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":131546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:09:36] local.INFO: TCP Data received {"connection_id":131545,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7bd148012d7f9e8005dc5cc0000501022b..."} 
[2026-07-13 18:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7bd148012d7f9e8005dc5cc0000501022b..."} 
[2026-07-13 18:09:36] local.INFO: Processing buffer {"connection_id":131545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7bd148012d7f9e8005dc5cc0000501022b..."} 
[2026-07-13 18:09:36] local.INFO: Packet analysis {"connection_id":131545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:09:36] local.INFO: Extracted packet for processing {"connection_id":131545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:09:36] local.INFO: GPS Element Parsed {"raw_longitude":763338368,"raw_latitude":98327744,"longitude_deg":76.3338368,"latitude_deg":9.8327744,"altitude":5,"angle":258,"satellites":43,"speed":0,"hex_longitude":"2d7f9e80","hex_latitude":"05dc5cc0","is_valid_coordinates":true} 
[2026-07-13 18:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690239488001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962233376276480,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198531895332096000,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09: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-07-13 18:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783946269000,"timestamp_ms":1783946269000,"timestamp_seconds":1783946269,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7bd148"} 
[2026-07-13 18:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-13 18:09: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-07-13 18:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":131545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":131545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":131545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690239488001,"66":12765,"251":206,"85":15104,"24":0,"16":105962233376276480,"45":9198531895332096000},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-13 18:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690239488001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:09:36] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-13 18:09:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962233376276480,"km_value":105962233376276.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198531895332096000,"description":"Unknown IO ID 45"} 
[2026-07-13 18:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690239488001,"power":12765,"unknown_251":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9198531895332096000}} 
[2026-07-13 18:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":131545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481193,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:09:36] local.INFO: GPS data processed {"connection_id":131545,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:09:36] local.INFO: Acknowledgment sent {"connection_id":131545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:09:39] local.INFO: TCP Data received {"connection_id":130735,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130735,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:09:39] local.INFO: Processing buffer {"connection_id":130735,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:09:39] local.INFO: IMEI packet received {"connection_id":130735,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":130735,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:09:45] local.INFO: TCP Data received {"connection_id":130735,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130735,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:09:45] local.INFO: Processing buffer {"connection_id":130735,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:09:45] local.INFO: IMEI packet received {"connection_id":130735,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":130735,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:09:46] local.INFO: TCP Data received {"connection_id":130735,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:09:46] local.INFO: Processing buffer {"connection_id":130735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:09:46] local.INFO: Packet analysis {"connection_id":130735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:09:46] local.INFO: Extracted packet for processing {"connection_id":130735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:09:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690165248001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783946259000,"timestamp_ms":1783946259000,"timestamp_seconds":1783946259,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7baa38"} 
[2026-07-13 18:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130735,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130735,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690165248001,"66":24810,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690165248001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:09:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:09:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:09:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690165248001,"power":24810,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":130735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481194,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:09:46] local.INFO: GPS data processed {"connection_id":130735,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:09:46] local.INFO: Acknowledgment sent {"connection_id":130735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:09:50] local.INFO: TCP Data received {"connection_id":131546,"ip":"42.106.6.43","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-13 18:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131546,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-13 18:09:50] local.INFO: Processing buffer {"connection_id":131546,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-13 18:09:50] local.INFO: IMEI packet received {"connection_id":131546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":131546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:09:52] local.INFO: TCP Data received {"connection_id":131546,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7cded0012d7f914005afd9380011011b22..."} 
[2026-07-13 18:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7cded0012d7f914005afd9380011011b22..."} 
[2026-07-13 18:09:52] local.INFO: Processing buffer {"connection_id":131546,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f5b..."} 
[2026-07-13 18:09:52] local.INFO: IMEI packet received {"connection_id":131546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":131546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:09:53] local.INFO: TCP Data received {"connection_id":130522,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:09:53] local.INFO: Processing buffer {"connection_id":130522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:09:53] local.INFO: IMEI packet received {"connection_id":130522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":130522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:09:54] local.INFO: TCP Data received {"connection_id":130522,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:09:54] local.INFO: Processing buffer {"connection_id":130522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:09:54] local.INFO: IMEI packet received {"connection_id":130522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":130522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:09:58] local.INFO: TCP Data received {"connection_id":130522,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:09:58] local.INFO: Processing buffer {"connection_id":130522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:09:58] local.INFO: IMEI packet received {"connection_id":130522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":130522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:09:58] local.INFO: TCP Data received {"connection_id":130522,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7c4290012d1a35800723bed8003500dd20..."} 
[2026-07-13 18:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7c4290012d1a35800723bed8003500dd20..."} 
[2026-07-13 18:09:58] local.INFO: Processing buffer {"connection_id":130522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7c4290012d1a35800723bed8003500dd20..."} 
[2026-07-13 18:09:58] local.INFO: Packet analysis {"connection_id":130522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:09:58] local.INFO: Extracted packet for processing {"connection_id":130522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:09:58] local.INFO: GPS Element Parsed {"raw_longitude":756692352,"raw_latitude":119783128,"longitude_deg":75.6692352,"latitude_deg":11.9783128,"altitude":53,"angle":221,"satellites":32,"speed":0,"hex_longitude":"2d1a3580","hex_latitude":"0723bed8","is_valid_coordinates":true} 
[2026-07-13 18:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690247168001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5911627345952768,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888556386904627200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783946298000,"timestamp_ms":1783946298000,"timestamp_seconds":1783946298,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7c4290"} 
[2026-07-13 18:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-13 18:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:09:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690247168001,"66":13102,"43":206,"83":42752,"24":0,"16":5911627345952768,"45":1888556386904627200},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-13 18:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690247168001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:09:58] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-13 18:09:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 18:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5911627345952768,"km_value":5911627345952.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888556386904627200,"description":"Unknown IO ID 45"} 
[2026-07-13 18:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690247168001,"power":13102,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1888556386904627200}} 
[2026-07-13 18:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":130522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:09:58] local.INFO: GPS data processed {"connection_id":130522,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:09:58] local.INFO: Acknowledgment sent {"connection_id":130522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:10:00] local.INFO: TCP Data received {"connection_id":131546,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7cded0012d7f914005afd9380011011b22..."} 
[2026-07-13 18:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7cded0012d7f914005afd9380011011b22..."} 
[2026-07-13 18:10:00] local.INFO: Processing buffer {"connection_id":131546,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f5b7cded0012d7f914005afd9380011011b22..."} 
[2026-07-13 18:10:00] local.INFO: Packet analysis {"connection_id":131546,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:10:00] local.INFO: Extracted packet for processing {"connection_id":131546,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:10:00] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690185472001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783946338000,"timestamp_ms":1783946338000,"timestamp_seconds":1783946338,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7cded0"} 
[2026-07-13 18:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":131546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":131546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":131546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690185472001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690185472001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:10:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:10:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690185472001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":131546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:10:00] local.INFO: GPS data processed {"connection_id":131546,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:10:00] local.INFO: Acknowledgment sent {"connection_id":131546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:10:00] local.INFO: Packet analysis {"connection_id":131546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:10:00] local.INFO: Extracted packet for processing {"connection_id":131546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:10:00] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690185472001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783946338000,"timestamp_ms":1783946338000,"timestamp_seconds":1783946338,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7cded0"} 
[2026-07-13 18:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":131546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":131546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":131546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690185472001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690185472001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:10:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:10:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690185472001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":131546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:10:00] local.INFO: GPS data processed {"connection_id":131546,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:10:00] local.INFO: Acknowledgment sent {"connection_id":131546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:10:03] local.INFO: TCP Data received {"connection_id":131546,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7cded0012d7f914005afd9380011011b22..."} 
[2026-07-13 18:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7cded0012d7f914005afd9380011011b22..."} 
[2026-07-13 18:10:03] local.INFO: Processing buffer {"connection_id":131546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7cded0012d7f914005afd9380011011b22..."} 
[2026-07-13 18:10:03] local.INFO: Packet analysis {"connection_id":131546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:10:03] local.INFO: Extracted packet for processing {"connection_id":131546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:10:03] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690185472001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783946338000,"timestamp_ms":1783946338000,"timestamp_seconds":1783946338,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7cded0"} 
[2026-07-13 18:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":131546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":131546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":131546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690185472001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690185472001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:10:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:10:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690185472001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":131546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:10:03] local.INFO: GPS data processed {"connection_id":131546,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:10:03] local.INFO: Acknowledgment sent {"connection_id":131546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:10:03] local.INFO: TCP Data received {"connection_id":130522,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7c90b0012d1a35800723bed8003500dd21..."} 
[2026-07-13 18:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7c90b0012d1a35800723bed8003500dd21..."} 
[2026-07-13 18:10:03] local.INFO: Processing buffer {"connection_id":130522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7c90b0012d1a35800723bed8003500dd21..."} 
[2026-07-13 18:10:03] local.INFO: Packet analysis {"connection_id":130522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:10:03] local.INFO: Extracted packet for processing {"connection_id":130522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:10:03] local.INFO: GPS Element Parsed {"raw_longitude":756692352,"raw_latitude":119783128,"longitude_deg":75.6692352,"latitude_deg":11.9783128,"altitude":53,"angle":221,"satellites":33,"speed":0,"hex_longitude":"2d1a3580","hex_latitude":"0723bed8","is_valid_coordinates":true} 
[2026-07-13 18:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690252288001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5911627345952768,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888556386904627200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783946318000,"timestamp_ms":1783946318000,"timestamp_seconds":1783946318,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7c90b0"} 
[2026-07-13 18:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-13 18:10: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-07-13 18:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":130522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":130522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":130522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690252288001,"66":13091,"43":206,"83":42752,"24":0,"16":5911627345952768,"45":1888556386904627200},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-13 18:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690252288001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:10:03] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-13 18:10:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 18:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5911627345952768,"km_value":5911627345952.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888556386904627200,"description":"Unknown IO ID 45"} 
[2026-07-13 18:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690252288001,"power":13091,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1888556386904627200}} 
[2026-07-13 18:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":130522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:10:03] local.INFO: GPS data processed {"connection_id":130522,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:10:03] local.INFO: Acknowledgment sent {"connection_id":130522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:10:12] local.INFO: TCP Data received {"connection_id":131545,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7c2350012d7f9c8005dc5cd8000501022c..."} 
[2026-07-13 18:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7c2350012d7f9c8005dc5cd8000501022c..."} 
[2026-07-13 18:10:12] local.INFO: Processing buffer {"connection_id":131545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7c2350012d7f9c8005dc5cd8000501022c..."} 
[2026-07-13 18:10:12] local.INFO: Packet analysis {"connection_id":131545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:10:12] local.INFO: Extracted packet for processing {"connection_id":131545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:10:12] local.INFO: GPS Element Parsed {"raw_longitude":763337856,"raw_latitude":98327768,"longitude_deg":76.3337856,"latitude_deg":9.8327768,"altitude":5,"angle":258,"satellites":44,"speed":0,"hex_longitude":"2d7f9c80","hex_latitude":"05dc5cd8","is_valid_coordinates":true} 
[2026-07-13 18:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690244864001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962263441047552,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195928251797389312,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783946290000,"timestamp_ms":1783946290000,"timestamp_seconds":1783946290,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7c2350"} 
[2026-07-13 18:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-13 18:10: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-07-13 18:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690244864001,"66":13319,"251":206,"85":15104,"24":0,"16":105962263441047552,"45":9195928251797389312},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-13 18:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690244864001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:10:12] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-13 18:10:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962263441047552,"km_value":105962263441047.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195928251797389312,"description":"Unknown IO ID 45"} 
[2026-07-13 18:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690244864001,"power":13319,"unknown_251":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9195928251797389312}} 
[2026-07-13 18:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":131545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481200,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:10:12] local.INFO: GPS data processed {"connection_id":131545,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:10:12] local.INFO: Acknowledgment sent {"connection_id":131545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:10:18] local.INFO: TCP Data received {"connection_id":130735,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:10:18] local.INFO: Processing buffer {"connection_id":130735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:10:18] local.INFO: Packet analysis {"connection_id":130735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:10:18] local.INFO: Extracted packet for processing {"connection_id":130735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:10:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690165248001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783946259000,"timestamp_ms":1783946259000,"timestamp_seconds":1783946259,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7baa38"} 
[2026-07-13 18:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:10:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130735,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130735,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690165248001,"66":24810,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690165248001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:10:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:10:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:10:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690165248001,"power":24810,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":130735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481201,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:10:18] local.INFO: GPS data processed {"connection_id":130735,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:10:18] local.INFO: Acknowledgment sent {"connection_id":130735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:10:29] local.INFO: TCP Data received {"connection_id":130736,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:10:29] local.INFO: Processing buffer {"connection_id":130736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:10:29] local.INFO: IMEI packet received {"connection_id":130736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 18:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":130736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:10:35] local.INFO: TCP Data received {"connection_id":130522,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7cded0012d1a35800723bed8003500dd20..."} 
[2026-07-13 18:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7cded0012d1a35800723bed8003500dd20..."} 
[2026-07-13 18:10:35] local.INFO: Processing buffer {"connection_id":130522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7cded0012d1a35800723bed8003500dd20..."} 
[2026-07-13 18:10:35] local.INFO: Packet analysis {"connection_id":130522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:10:35] local.INFO: Extracted packet for processing {"connection_id":130522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:10:35] local.INFO: GPS Element Parsed {"raw_longitude":756692352,"raw_latitude":119783128,"longitude_deg":75.6692352,"latitude_deg":11.9783128,"altitude":53,"angle":221,"satellites":32,"speed":0,"hex_longitude":"2d1a3580","hex_latitude":"0723bed8","is_valid_coordinates":true} 
[2026-07-13 18:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690257408001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5911627345952768,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888556386904627200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783946338000,"timestamp_ms":1783946338000,"timestamp_seconds":1783946338,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7cded0"} 
[2026-07-13 18:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-13 18:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690257408001,"66":12722,"43":206,"83":42752,"24":0,"16":5911627345952768,"45":1888556386904627200},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-13 18:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690257408001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:10:35] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-13 18:10:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 18:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5911627345952768,"km_value":5911627345952.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888556386904627200,"description":"Unknown IO ID 45"} 
[2026-07-13 18:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690257408001,"power":12722,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1888556386904627200}} 
[2026-07-13 18:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":130522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:10:35] local.INFO: GPS data processed {"connection_id":130522,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:10:35] local.INFO: Acknowledgment sent {"connection_id":130522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:10:36] local.INFO: TCP Data received {"connection_id":130736,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:10:36] local.INFO: Processing buffer {"connection_id":130736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:10:36] local.INFO: IMEI packet received {"connection_id":130736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":130736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:10:37] local.INFO: TCP Data received {"connection_id":130736,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7c7558012d7f9a8005dc5c60000501022c..."} 
[2026-07-13 18:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7c7558012d7f9a8005dc5c60000501022c..."} 
[2026-07-13 18:10:37] local.INFO: Processing buffer {"connection_id":130736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7c7558012d7f9a8005dc5c60000501022c..."} 
[2026-07-13 18:10:37] local.INFO: Packet analysis {"connection_id":130736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:10:37] local.INFO: Extracted packet for processing {"connection_id":130736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:10:37] local.INFO: GPS Element Parsed {"raw_longitude":763337344,"raw_latitude":98327648,"longitude_deg":76.3337344,"latitude_deg":9.8327648,"altitude":5,"angle":258,"satellites":44,"speed":0,"hex_longitude":"2d7f9a80","hex_latitude":"05dc5c60","is_valid_coordinates":true} 
[2026-07-13 18:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690250240001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962289210851328,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195365301843974144,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10: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-07-13 18:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783946311000,"timestamp_ms":1783946311000,"timestamp_seconds":1783946311,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7c7558"} 
[2026-07-13 18:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-13 18:10:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3697561600,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:37] local.WARNING: Large IO value detected {"io_id":115,"raw_value":2281778559,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:37] local.WARNING: Large IO value detected {"io_id":123,"raw_value":5510155439014428677,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:37] local.WARNING: Large IO value detected {"io_id":220,"raw_value":8167277950016105984,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2818244814,"corrected_to":0} 
[2026-07-13 18:10:37] local.WARNING: Large IO value detected {"io_id":170,"raw_value":3221609569,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:37] local.WARNING: Large IO value detected {"io_id":199,"raw_value":57887066717836603,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:37] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,251,85,24,241,157,16,116,159,209,45,128,92,5,43,10,66,127,192,94,6,46,115,123,64,1,240,139,227,91,220,4,113,205,13,170,96,239,52,2,120,15,199],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2818244814,"validated":0}]} 
[2026-07-13 18:10:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360571833168166912,"timestamp_seconds":360571833168166.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 18:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690250240001,"66":12885,"251":206,"85":15104,"24":0,"16":105962289210851328,"45":9195365301843974144},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-13 18:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690250240001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:10:37] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-13 18:10:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962289210851328,"km_value":105962289210851.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195365301843974144,"description":"Unknown IO ID 45"} 
[2026-07-13 18:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690250240001,"power":12885,"unknown_251":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9195365301843974144}} 
[2026-07-13 18:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":130736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:10:37] local.INFO: GPS data processed {"connection_id":130736,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:10:37] local.INFO: Acknowledgment sent {"connection_id":130736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:10:39] local.INFO: TCP Data received {"connection_id":130737,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:10:39] local.INFO: Processing buffer {"connection_id":130737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:10:39] local.INFO: IMEI packet received {"connection_id":130737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":130737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:10:39] local.INFO: TCP Data received {"connection_id":132875,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132875,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:10:39] local.INFO: Processing buffer {"connection_id":132875,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:10:39] local.INFO: IMEI packet received {"connection_id":132875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":132875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:10:44] local.INFO: TCP Data received {"connection_id":130737,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:10:44] local.INFO: Processing buffer {"connection_id":130737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:10:44] local.INFO: IMEI packet received {"connection_id":130737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":130737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:10:45] local.INFO: TCP Data received {"connection_id":132875,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132875,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:10:45] local.INFO: Processing buffer {"connection_id":132875,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:10:45] local.INFO: IMEI packet received {"connection_id":132875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":132875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:10:45] local.INFO: TCP Data received {"connection_id":132875,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:10:45] local.INFO: Processing buffer {"connection_id":132875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:10:45] local.INFO: Packet analysis {"connection_id":132875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:10:45] local.INFO: Extracted packet for processing {"connection_id":132875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:10:45] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690165248001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783946259000,"timestamp_ms":1783946259000,"timestamp_seconds":1783946259,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7baa38"} 
[2026-07-13 18:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690165248001,"66":24810,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690165248001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:10:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:10:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:10:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690165248001,"power":24810,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":132875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481204,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:10:46] local.INFO: GPS data processed {"connection_id":132875,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:10:46] local.INFO: Acknowledgment sent {"connection_id":132875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:10:46] local.INFO: TCP Data received {"connection_id":130737,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7cded0012d7f914005afd9380011011b22..."} 
[2026-07-13 18:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7cded0012d7f914005afd9380011011b22..."} 
[2026-07-13 18:10:46] local.INFO: Processing buffer {"connection_id":130737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7cded0012d7f914005afd9380011011b22..."} 
[2026-07-13 18:10:46] local.INFO: Packet analysis {"connection_id":130737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:10:46] local.INFO: Extracted packet for processing {"connection_id":130737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:10:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690185472001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783946338000,"timestamp_ms":1783946338000,"timestamp_seconds":1783946338,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7cded0"} 
[2026-07-13 18:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:10: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-07-13 18:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690185472001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690185472001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:10:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:10:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690185472001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":130737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:10:46] local.INFO: GPS data processed {"connection_id":130737,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:10:46] local.INFO: Acknowledgment sent {"connection_id":130737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:10:52] local.INFO: TCP Data received {"connection_id":130523,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:10:52] local.INFO: Processing buffer {"connection_id":130523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:10:52] local.INFO: IMEI packet received {"connection_id":130523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":130523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:10:56] local.INFO: TCP Data received {"connection_id":130523,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:10:56] local.INFO: Processing buffer {"connection_id":130523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:10:56] local.INFO: IMEI packet received {"connection_id":130523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":130523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:10:57] local.INFO: TCP Data received {"connection_id":130523,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7d2cf0012d1a35800723bed8003500dd21..."} 
[2026-07-13 18:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7d2cf0012d1a35800723bed8003500dd21..."} 
[2026-07-13 18:10:57] local.INFO: Processing buffer {"connection_id":130523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7d2cf0012d1a35800723bed8003500dd21..."} 
[2026-07-13 18:10:57] local.INFO: Packet analysis {"connection_id":130523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7d"} 
[2026-07-13 18:10:57] local.INFO: Extracted packet for processing {"connection_id":130523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7d"} 
[2026-07-13 18:10:57] local.INFO: GPS Element Parsed {"raw_longitude":756692352,"raw_latitude":119783128,"longitude_deg":75.6692352,"latitude_deg":11.9783128,"altitude":53,"angle":221,"satellites":33,"speed":0,"hex_longitude":"2d1a3580","hex_latitude":"0723bed8","is_valid_coordinates":true} 
[2026-07-13 18:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690262528001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5911627345952768,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888556386904627200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:10:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783946358000,"timestamp_ms":1783946358000,"timestamp_seconds":1783946358,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7d2cf0"} 
[2026-07-13 18:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:10:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-13 18:10:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:10:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":130523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":130523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":130523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690262528001,"66":12461,"43":206,"83":42752,"24":0,"16":5911627345952768,"45":1888556386904627200},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-13 18:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690262528001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:10:57] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-13 18:10:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 18:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5911627345952768,"km_value":5911627345952.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888556386904627200,"description":"Unknown IO ID 45"} 
[2026-07-13 18:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690262528001,"power":12461,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1888556386904627200}} 
[2026-07-13 18:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":130523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:10:57] local.INFO: GPS data processed {"connection_id":130523,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:10:57] local.INFO: Acknowledgment sent {"connection_id":130523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:11:08] local.INFO: TCP Data received {"connection_id":130736,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7cc760012d7f9d0005dc59d0000501022f..."} 
[2026-07-13 18:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7cc760012d7f9d0005dc59d0000501022f..."} 
[2026-07-13 18:11:08] local.INFO: Processing buffer {"connection_id":130736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7cc760012d7f9d0005dc59d0000501022f..."} 
[2026-07-13 18:11:08] local.INFO: Packet analysis {"connection_id":130736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:11:08] local.INFO: Extracted packet for processing {"connection_id":130736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:11:08] local.INFO: GPS Element Parsed {"raw_longitude":763337984,"raw_latitude":98326992,"longitude_deg":76.3337984,"latitude_deg":9.8326992,"altitude":5,"angle":258,"satellites":47,"speed":1,"hex_longitude":"2d7f9d00","hex_latitude":"05dc59d0","is_valid_coordinates":true} 
[2026-07-13 18:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690255616001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962353635360768,"note":"Value kept but may cause issues"} 
[2026-07-13 18:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194802351890522112,"note":"Value kept but may cause issues"} 
[2026-07-13 18:11: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-07-13 18:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783946332000,"timestamp_ms":1783946332000,"timestamp_seconds":1783946332,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7cc760"} 
[2026-07-13 18:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-13 18:11: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-07-13 18:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690255616001,"66":12613,"251":206,"85":15104,"24":1,"16":105962353635360768,"45":9194802351890522112},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-13 18:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690255616001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:11:08] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-13 18:11:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962353635360768,"km_value":105962353635360.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194802351890522112,"description":"Unknown IO ID 45"} 
[2026-07-13 18:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690255616001,"power":12613,"unknown_251":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9194802351890522112}} 
[2026-07-13 18:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":130736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:11:08] local.INFO: GPS data processed {"connection_id":130736,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:11:08] local.INFO: Acknowledgment sent {"connection_id":130736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:11:17] local.INFO: TCP Data received {"connection_id":132875,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:11:17] local.INFO: Processing buffer {"connection_id":132875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:11:17] local.INFO: Packet analysis {"connection_id":132875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:11:17] local.INFO: Extracted packet for processing {"connection_id":132875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:11:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 18:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690165248001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:11:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783946259000,"timestamp_ms":1783946259000,"timestamp_seconds":1783946259,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7baa38"} 
[2026-07-13 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-07-13 18:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:11:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 18:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690165248001,"66":24810,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690165248001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:11:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:11:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:11:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690165248001,"power":24810,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":132875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481208,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:11:17] local.INFO: GPS data processed {"connection_id":132875,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:11:17] local.INFO: Acknowledgment sent {"connection_id":132875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:11:19] local.INFO: TCP Data received {"connection_id":130737,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7cded0012d7f914005afd9380011011b22..."} 
[2026-07-13 18:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7cded0012d7f914005afd9380011011b22..."} 
[2026-07-13 18:11:19] local.INFO: Processing buffer {"connection_id":130737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7cded0012d7f914005afd9380011011b22..."} 
[2026-07-13 18:11:19] local.INFO: Packet analysis {"connection_id":130737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:11:19] local.INFO: Extracted packet for processing {"connection_id":130737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:11:19] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690185472001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783946338000,"timestamp_ms":1783946338000,"timestamp_seconds":1783946338,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7cded0"} 
[2026-07-13 18:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690185472001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690185472001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:11:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:11:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690185472001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":130737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:11:19] local.INFO: GPS data processed {"connection_id":130737,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:11:19] local.INFO: Acknowledgment sent {"connection_id":130737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:11:28] local.INFO: TCP Data received {"connection_id":130523,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7d7b10012d1a35800723bed8003500dd22..."} 
[2026-07-13 18:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7d7b10012d1a35800723bed8003500dd22..."} 
[2026-07-13 18:11:28] local.INFO: Processing buffer {"connection_id":130523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7d7b10012d1a35800723bed8003500dd22..."} 
[2026-07-13 18:11:28] local.INFO: Packet analysis {"connection_id":130523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7d"} 
[2026-07-13 18:11:28] local.INFO: Extracted packet for processing {"connection_id":130523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7d"} 
[2026-07-13 18:11:28] local.INFO: GPS Element Parsed {"raw_longitude":756692352,"raw_latitude":119783128,"longitude_deg":75.6692352,"latitude_deg":11.9783128,"altitude":53,"angle":221,"satellites":34,"speed":0,"hex_longitude":"2d1a3580","hex_latitude":"0723bed8","is_valid_coordinates":true} 
[2026-07-13 18:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690267648001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5911627345952768,"note":"Value kept but may cause issues"} 
[2026-07-13 18:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888556386904627200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783946378000,"timestamp_ms":1783946378000,"timestamp_seconds":1783946378,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7d7b10"} 
[2026-07-13 18:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-13 18:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":130523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":130523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":130523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690267648001,"66":12504,"43":206,"83":42752,"24":0,"16":5911627345952768,"45":1888556386904627200},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-13 18:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690267648001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:11:28] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-13 18:11:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 18:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5911627345952768,"km_value":5911627345952.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888556386904627200,"description":"Unknown IO ID 45"} 
[2026-07-13 18:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690267648001,"power":12504,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1888556386904627200}} 
[2026-07-13 18:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":130523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:11:28] local.INFO: GPS data processed {"connection_id":130523,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:11:28] local.INFO: Acknowledgment sent {"connection_id":130523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:11:29] local.INFO: TCP Data received {"connection_id":130738,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:11:29] local.INFO: Processing buffer {"connection_id":130738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:11:29] local.INFO: IMEI packet received {"connection_id":130738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 18:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":130738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:11:34] local.INFO: TCP Data received {"connection_id":130739,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:11:34] local.INFO: Processing buffer {"connection_id":130739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:11:34] local.INFO: IMEI packet received {"connection_id":130739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":130739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:11:34] local.INFO: TCP Data received {"connection_id":130738,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:11:34] local.INFO: Processing buffer {"connection_id":130738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:11:34] local.INFO: IMEI packet received {"connection_id":130738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":130738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:11:35] local.INFO: TCP Data received {"connection_id":130738,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7d1968012d7f9d8005dc5890000501022e..."} 
[2026-07-13 18:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7d1968012d7f9d8005dc5890000501022e..."} 
[2026-07-13 18:11:35] local.INFO: Processing buffer {"connection_id":130738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7d1968012d7f9d8005dc5890000501022e..."} 
[2026-07-13 18:11:35] local.INFO: Packet analysis {"connection_id":130738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7d"} 
[2026-07-13 18:11:35] local.INFO: Extracted packet for processing {"connection_id":130738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7d"} 
[2026-07-13 18:11:35] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":98326672,"longitude_deg":76.3338112,"latitude_deg":9.8326672,"altitude":5,"angle":258,"satellites":46,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05dc5890","is_valid_coordinates":true} 
[2026-07-13 18:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690260992001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962370815229952,"note":"Value kept but may cause issues"} 
[2026-07-13 18:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195506039332130816,"note":"Value kept but may cause issues"} 
[2026-07-13 18:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783946353000,"timestamp_ms":1783946353000,"timestamp_seconds":1783946353,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7d1968"} 
[2026-07-13 18:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:11: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-07-13 18:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-13 18:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690260992001,"66":13102,"251":206,"85":15104,"24":0,"16":105962370815229952,"45":9195506039332130816},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-13 18:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690260992001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:11:35] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-13 18:11:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962370815229952,"km_value":105962370815229.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195506039332130816,"description":"Unknown IO ID 45"} 
[2026-07-13 18:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690260992001,"power":13102,"unknown_251":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9195506039332130816}} 
[2026-07-13 18:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":130738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:11:35] local.INFO: GPS data processed {"connection_id":130738,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:11:35] local.INFO: Acknowledgment sent {"connection_id":130738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:11:39] local.INFO: TCP Data received {"connection_id":130739,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:11:39] local.INFO: Processing buffer {"connection_id":130739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:11:39] local.INFO: IMEI packet received {"connection_id":130739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":130739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:11:45] local.INFO: TCP Data received {"connection_id":131547,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:11:45] local.INFO: Processing buffer {"connection_id":131547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:11:45] local.INFO: IMEI packet received {"connection_id":131547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":131547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:11:45] local.INFO: TCP Data received {"connection_id":130739,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7cded0012d7f914005afd9380011011b22..."} 
[2026-07-13 18:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7cded0012d7f914005afd9380011011b22..."} 
[2026-07-13 18:11:45] local.INFO: Processing buffer {"connection_id":130739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7cded0012d7f914005afd9380011011b22..."} 
[2026-07-13 18:11:45] local.INFO: Packet analysis {"connection_id":130739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:11:45] local.INFO: Extracted packet for processing {"connection_id":130739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:11:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690185472001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783946338000,"timestamp_ms":1783946338000,"timestamp_seconds":1783946338,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7cded0"} 
[2026-07-13 18:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690185472001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690185472001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:11:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:11:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690185472001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":130739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:11:45] local.INFO: GPS data processed {"connection_id":130739,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:11:45] local.INFO: Acknowledgment sent {"connection_id":130739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:11:50] local.INFO: TCP Data received {"connection_id":131547,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:11:50] local.INFO: Processing buffer {"connection_id":131547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:11:50] local.INFO: IMEI packet received {"connection_id":131547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":131547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:11:50] local.INFO: TCP Data received {"connection_id":131547,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:11:50] local.INFO: Processing buffer {"connection_id":131547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:11:50] local.INFO: Packet analysis {"connection_id":131547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:11:50] local.INFO: Extracted packet for processing {"connection_id":131547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:11:50] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690165248001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:11:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783946259000,"timestamp_ms":1783946259000,"timestamp_seconds":1783946259,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7baa38"} 
[2026-07-13 18:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690165248001,"66":24810,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690165248001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:11:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:11:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:11:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690165248001,"power":24810,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":131547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481213,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:11:51] local.INFO: GPS data processed {"connection_id":131547,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:11:51] local.INFO: Acknowledgment sent {"connection_id":131547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:11:53] local.INFO: TCP Data received {"connection_id":132876,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:11:53] local.INFO: Processing buffer {"connection_id":132876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:11:53] local.INFO: IMEI packet received {"connection_id":132876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":132876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:11:55] local.INFO: TCP Data received {"connection_id":131547,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:11:55] local.INFO: Processing buffer {"connection_id":131547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:11:55] local.INFO: Packet analysis {"connection_id":131547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:11:55] local.INFO: Extracted packet for processing {"connection_id":131547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:11:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 18:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690165248001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:11:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783946259000,"timestamp_ms":1783946259000,"timestamp_seconds":1783946259,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7baa38"} 
[2026-07-13 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-07-13 18:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 18:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":131547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":131547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":131547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690165248001,"66":24810,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690165248001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:11:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:11:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:11:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690165248001,"power":24810,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":131547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481214,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:11:55] local.INFO: GPS data processed {"connection_id":131547,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:11:55] local.INFO: Acknowledgment sent {"connection_id":131547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:11:58] local.INFO: TCP Data received {"connection_id":132876,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:11:58] local.INFO: Processing buffer {"connection_id":132876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:11:58] local.INFO: IMEI packet received {"connection_id":132876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":132876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:11:58] local.INFO: TCP Data received {"connection_id":132876,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7dc930012d1a35800723bed8003500dd23..."} 
[2026-07-13 18:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7dc930012d1a35800723bed8003500dd23..."} 
[2026-07-13 18:11:58] local.INFO: Processing buffer {"connection_id":132876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7dc930012d1a35800723bed8003500dd23..."} 
[2026-07-13 18:11:58] local.INFO: Packet analysis {"connection_id":132876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7d"} 
[2026-07-13 18:11:58] local.INFO: Extracted packet for processing {"connection_id":132876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7d"} 
[2026-07-13 18:11:58] local.INFO: GPS Element Parsed {"raw_longitude":756692352,"raw_latitude":119783128,"longitude_deg":75.6692352,"latitude_deg":11.9783128,"altitude":53,"angle":221,"satellites":35,"speed":0,"hex_longitude":"2d1a3580","hex_latitude":"0723bed8","is_valid_coordinates":true} 
[2026-07-13 18:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690272768001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5911627345952768,"note":"Value kept but may cause issues"} 
[2026-07-13 18:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888556386904627200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783946398000,"timestamp_ms":1783946398000,"timestamp_seconds":1783946398,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7dc930"} 
[2026-07-13 18:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 18:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:11:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690272768001,"66":12504,"43":206,"83":42752,"24":0,"16":5911627345952768,"45":1888556386904627200},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-13 18:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690272768001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:11:58] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-13 18:11:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 18:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5911627345952768,"km_value":5911627345952.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888556386904627200,"description":"Unknown IO ID 45"} 
[2026-07-13 18:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690272768001,"power":12504,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1888556386904627200}} 
[2026-07-13 18:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":132876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:11:59] local.INFO: GPS data processed {"connection_id":132876,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:11:59] local.INFO: Acknowledgment sent {"connection_id":132876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:12:11] local.INFO: TCP Data received {"connection_id":130738,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7d6b70012d7f9d8005dc5890000501022c..."} 
[2026-07-13 18:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7d6b70012d7f9d8005dc5890000501022c..."} 
[2026-07-13 18:12:11] local.INFO: Processing buffer {"connection_id":130738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7d6b70012d7f9d8005dc5890000501022c..."} 
[2026-07-13 18:12:11] local.INFO: Packet analysis {"connection_id":130738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7d"} 
[2026-07-13 18:12:11] local.INFO: Extracted packet for processing {"connection_id":130738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7d"} 
[2026-07-13 18:12:11] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":98326672,"longitude_deg":76.3338112,"latitude_deg":9.8326672,"altitude":5,"angle":258,"satellites":44,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05dc5890","is_valid_coordinates":true} 
[2026-07-13 18:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690266368001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962370815229952,"note":"Value kept but may cause issues"} 
[2026-07-13 18:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776820404224,"note":"Value kept but may cause issues"} 
[2026-07-13 18:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783946374000,"timestamp_ms":1783946374000,"timestamp_seconds":1783946374,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7d6b70"} 
[2026-07-13 18:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-13 18:12: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-07-13 18:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690266368001,"66":12939,"251":206,"85":15104,"24":0,"16":105962370815229952,"45":9195646776820404224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-13 18:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690266368001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:12:11] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-13 18:12:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962370815229952,"km_value":105962370815229.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776820404224,"description":"Unknown IO ID 45"} 
[2026-07-13 18:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690266368001,"power":12939,"unknown_251":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9195646776820404224}} 
[2026-07-13 18:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":130738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481216,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:12:11] local.INFO: GPS data processed {"connection_id":130738,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:12:11] local.INFO: Acknowledgment sent {"connection_id":130738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:12:16] local.INFO: TCP Data received {"connection_id":130739,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7cded0012d7f914005afd9380011011b22..."} 
[2026-07-13 18:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7cded0012d7f914005afd9380011011b22..."} 
[2026-07-13 18:12:16] local.INFO: Processing buffer {"connection_id":130739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7cded0012d7f914005afd9380011011b22..."} 
[2026-07-13 18:12:16] local.INFO: Packet analysis {"connection_id":130739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:12:16] local.INFO: Extracted packet for processing {"connection_id":130739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:12:16] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690185472001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783946338000,"timestamp_ms":1783946338000,"timestamp_seconds":1783946338,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7cded0"} 
[2026-07-13 18:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690185472001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690185472001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:12:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:12:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690185472001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":130739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:12:16] local.INFO: GPS data processed {"connection_id":130739,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:12:16] local.INFO: Acknowledgment sent {"connection_id":130739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:12:29] local.INFO: TCP Data received {"connection_id":130740,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130740,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:12:29] local.INFO: Processing buffer {"connection_id":130740,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:12:29] local.INFO: IMEI packet received {"connection_id":130740,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 18:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":130740,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:12:30] local.INFO: TCP Data received {"connection_id":132876,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7e1368012d1a35800723bed8003500dd23..."} 
[2026-07-13 18:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7e1368012d1a35800723bed8003500dd23..."} 
[2026-07-13 18:12:30] local.INFO: Processing buffer {"connection_id":132876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7e1368012d1a35800723bed8003500dd23..."} 
[2026-07-13 18:12:30] local.INFO: Packet analysis {"connection_id":132876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7e"} 
[2026-07-13 18:12:30] local.INFO: Extracted packet for processing {"connection_id":132876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7e"} 
[2026-07-13 18:12:30] local.INFO: GPS Element Parsed {"raw_longitude":756692352,"raw_latitude":119783128,"longitude_deg":75.6692352,"latitude_deg":11.9783128,"altitude":53,"angle":221,"satellites":35,"speed":0,"hex_longitude":"2d1a3580","hex_latitude":"0723bed8","is_valid_coordinates":true} 
[2026-07-13 18:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690277888001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5911627345952768,"note":"Value kept but may cause issues"} 
[2026-07-13 18:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888556386904627200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783946417000,"timestamp_ms":1783946417000,"timestamp_seconds":1783946417,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7e1368"} 
[2026-07-13 18:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 18:12: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-07-13 18:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":132876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":132876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":132876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690277888001,"66":12461,"43":206,"83":42752,"24":0,"16":5911627345952768,"45":1888556386904627200},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-13 18:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690277888001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:12:30] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-13 18:12:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 18:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5911627345952768,"km_value":5911627345952.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888556386904627200,"description":"Unknown IO ID 45"} 
[2026-07-13 18:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690277888001,"power":12461,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1888556386904627200}} 
[2026-07-13 18:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":132876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:12:30] local.INFO: GPS data processed {"connection_id":132876,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:12:30] local.INFO: Acknowledgment sent {"connection_id":132876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:12:34] local.INFO: TCP Data received {"connection_id":132877,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:12:34] local.INFO: Processing buffer {"connection_id":132877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:12:34] local.INFO: IMEI packet received {"connection_id":132877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":132877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:12:40] local.INFO: TCP Data received {"connection_id":132878,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:12:40] local.INFO: Processing buffer {"connection_id":132878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:12:40] local.INFO: IMEI packet received {"connection_id":132878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":132878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:12:41] local.INFO: TCP Data received {"connection_id":130740,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130740,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:12:41] local.INFO: Processing buffer {"connection_id":130740,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:12:41] local.INFO: IMEI packet received {"connection_id":130740,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":130740,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:12:42] local.INFO: TCP Data received {"connection_id":132877,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:12:42] local.INFO: Processing buffer {"connection_id":132877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:12:42] local.INFO: IMEI packet received {"connection_id":132877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":132877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:12:42] local.INFO: TCP Data received {"connection_id":130740,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7dbd78012d7f9d8005dc5890000501022c..."} 
[2026-07-13 18:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7dbd78012d7f9d8005dc5890000501022c..."} 
[2026-07-13 18:12:42] local.INFO: Processing buffer {"connection_id":130740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7dbd78012d7f9d8005dc5890000501022c..."} 
[2026-07-13 18:12:42] local.INFO: Packet analysis {"connection_id":130740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7d"} 
[2026-07-13 18:12:42] local.INFO: Extracted packet for processing {"connection_id":130740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7d"} 
[2026-07-13 18:12:42] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":98326672,"longitude_deg":76.3338112,"latitude_deg":9.8326672,"altitude":5,"angle":258,"satellites":44,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05dc5890","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690271744001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962370815229952,"note":"Value kept but may cause issues"} 
[2026-07-13 18:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776820404224,"note":"Value kept but may cause issues"} 
[2026-07-13 18:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783946395000,"timestamp_ms":1783946395000,"timestamp_seconds":1783946395,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7dbd78"} 
[2026-07-13 18:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-13 18:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690271744001,"66":13406,"251":206,"85":15104,"24":0,"16":105962370815229952,"45":9195646776820404224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-13 18:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690271744001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:12:42] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-13 18:12:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962370815229952,"km_value":105962370815229.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776820404224,"description":"Unknown IO ID 45"} 
[2026-07-13 18:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690271744001,"power":13406,"unknown_251":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9195646776820404224}} 
[2026-07-13 18:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":130740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:12:42] local.INFO: GPS data processed {"connection_id":130740,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:12:42] local.INFO: Acknowledgment sent {"connection_id":130740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:12:43] local.INFO: TCP Data received {"connection_id":130740,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7e0f80012d7f9d8005dc5890000501022b..."} 
[2026-07-13 18:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7e0f80012d7f9d8005dc5890000501022b..."} 
[2026-07-13 18:12:43] local.INFO: Processing buffer {"connection_id":130740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7e0f80012d7f9d8005dc5890000501022b..."} 
[2026-07-13 18:12:43] local.INFO: Packet analysis {"connection_id":130740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7e"} 
[2026-07-13 18:12:43] local.INFO: Extracted packet for processing {"connection_id":130740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7e"} 
[2026-07-13 18:12:43] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":98326672,"longitude_deg":76.3338112,"latitude_deg":9.8326672,"altitude":5,"angle":258,"satellites":43,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05dc5890","is_valid_coordinates":true} 
[2026-07-13 18:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690277120001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962370815229952,"note":"Value kept but may cause issues"} 
[2026-07-13 18:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776820404224,"note":"Value kept but may cause issues"} 
[2026-07-13 18:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783946416000,"timestamp_ms":1783946416000,"timestamp_seconds":1783946416,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7e0f80"} 
[2026-07-13 18:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-13 18:12:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:12:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690277120001,"66":13059,"251":206,"85":15104,"24":0,"16":105962370815229952,"45":9195646776820404224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-13 18:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690277120001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:12:43] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-13 18:12:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962370815229952,"km_value":105962370815229.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776820404224,"description":"Unknown IO ID 45"} 
[2026-07-13 18:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690277120001,"power":13059,"unknown_251":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9195646776820404224}} 
[2026-07-13 18:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":130740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:12:43] local.INFO: GPS data processed {"connection_id":130740,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:12:43] local.INFO: Acknowledgment sent {"connection_id":130740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:12:44] local.INFO: TCP Data received {"connection_id":132877,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7cded0012d7f914005afd9380011011b22..."} 
[2026-07-13 18:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7cded0012d7f914005afd9380011011b22..."} 
[2026-07-13 18:12:44] local.INFO: Processing buffer {"connection_id":132877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7cded0012d7f914005afd9380011011b22..."} 
[2026-07-13 18:12:44] local.INFO: Packet analysis {"connection_id":132877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:12:44] local.INFO: Extracted packet for processing {"connection_id":132877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:12:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690185472001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783946338000,"timestamp_ms":1783946338000,"timestamp_seconds":1783946338,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7cded0"} 
[2026-07-13 18:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:12:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690185472001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690185472001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:12:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:12:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690185472001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":132877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:12:44] local.INFO: GPS data processed {"connection_id":132877,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:12:44] local.INFO: Acknowledgment sent {"connection_id":132877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:12:45] local.INFO: TCP Data received {"connection_id":132878,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:12:45] local.INFO: Processing buffer {"connection_id":132878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:12:45] local.INFO: IMEI packet received {"connection_id":132878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":132878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:12:46] local.INFO: TCP Data received {"connection_id":132878,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:12:46] local.INFO: Processing buffer {"connection_id":132878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:12:46] local.INFO: Packet analysis {"connection_id":132878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:12:46] local.INFO: Extracted packet for processing {"connection_id":132878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:12:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690165248001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:12:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783946259000,"timestamp_ms":1783946259000,"timestamp_seconds":1783946259,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7baa38"} 
[2026-07-13 18:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690165248001,"66":24810,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690165248001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:12:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:12:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:12:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690165248001,"power":24810,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":132878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481222,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:12:46] local.INFO: GPS data processed {"connection_id":132878,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:12:46] local.INFO: Acknowledgment sent {"connection_id":132878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:12:53] local.INFO: TCP Data received {"connection_id":130524,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:12:53] local.INFO: Processing buffer {"connection_id":130524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:12:53] local.INFO: IMEI packet received {"connection_id":130524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":130524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:12:58] local.INFO: TCP Data received {"connection_id":130524,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:12:58] local.INFO: Processing buffer {"connection_id":130524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:12:58] local.INFO: IMEI packet received {"connection_id":130524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":130524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:12:58] local.INFO: TCP Data received {"connection_id":130524,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7e6188012d1a35800723bed8003500dd24..."} 
[2026-07-13 18:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7e6188012d1a35800723bed8003500dd24..."} 
[2026-07-13 18:12:58] local.INFO: Processing buffer {"connection_id":130524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7e6188012d1a35800723bed8003500dd24..."} 
[2026-07-13 18:12:58] local.INFO: Packet analysis {"connection_id":130524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7e"} 
[2026-07-13 18:12:58] local.INFO: Extracted packet for processing {"connection_id":130524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7e"} 
[2026-07-13 18:12:58] local.INFO: GPS Element Parsed {"raw_longitude":756692352,"raw_latitude":119783128,"longitude_deg":75.6692352,"latitude_deg":11.9783128,"altitude":53,"angle":221,"satellites":36,"speed":0,"hex_longitude":"2d1a3580","hex_latitude":"0723bed8","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690282752001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5911627345952768,"note":"Value kept but may cause issues"} 
[2026-07-13 18:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888556386904627200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783946437000,"timestamp_ms":1783946437000,"timestamp_seconds":1783946437,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7e6188"} 
[2026-07-13 18:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-13 18:12:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690282752001,"66":12428,"43":206,"83":42752,"24":0,"16":5911627345952768,"45":1888556386904627200},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-13 18:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690282752001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:12:58] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-13 18:12:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 18:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5911627345952768,"km_value":5911627345952.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888556386904627200,"description":"Unknown IO ID 45"} 
[2026-07-13 18:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690282752001,"power":12428,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1888556386904627200}} 
[2026-07-13 18:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":130524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:12:59] local.INFO: GPS data processed {"connection_id":130524,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:12:59] local.INFO: Acknowledgment sent {"connection_id":130524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:13:14] local.INFO: TCP Data received {"connection_id":130740,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7e6188012d7f9d8005dc58900005010225..."} 
[2026-07-13 18:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7e6188012d7f9d8005dc58900005010225..."} 
[2026-07-13 18:13:14] local.INFO: Processing buffer {"connection_id":130740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7e6188012d7f9d8005dc58900005010225..."} 
[2026-07-13 18:13:14] local.INFO: Packet analysis {"connection_id":130740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7e"} 
[2026-07-13 18:13:14] local.INFO: Extracted packet for processing {"connection_id":130740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7e"} 
[2026-07-13 18:13:14] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":98326672,"longitude_deg":76.3338112,"latitude_deg":9.8326672,"altitude":5,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05dc5890","is_valid_coordinates":true} 
[2026-07-13 18:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690282496001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962370815229952,"note":"Value kept but may cause issues"} 
[2026-07-13 18:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776820404224,"note":"Value kept but may cause issues"} 
[2026-07-13 18:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783946437000,"timestamp_ms":1783946437000,"timestamp_seconds":1783946437,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7e6188"} 
[2026-07-13 18:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-13 18:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167374937511,"note":"Value kept but may cause issues"} 
[2026-07-13 18:13:14] local.WARNING: Large IO value detected {"io_id":251,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-13 18:13:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 18:13:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2818244814,"corrected_to":0} 
[2026-07-13 18:13:14] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2147867740,"note":"Value kept but may cause issues"} 
[2026-07-13 18:13:14] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,251,85,24,241,157,16,116,159,189,45,128,88,5,44,10,66,107,25,1,240,46,227,91,220,4,113,205,117,154,96,239,50,2,120],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2818244814,"validated":0}]} 
[2026-07-13 18:13:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360571828873199616,"timestamp_seconds":360571828873199.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 18:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690282496001,"66":13363,"155":206,"85":15104,"24":0,"16":105962370815229952,"45":9195646776820404224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-13 18:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690282496001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:13:14] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 18:13:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962370815229952,"km_value":105962370815229.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776820404224,"description":"Unknown IO ID 45"} 
[2026-07-13 18:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690282496001,"power":13363,"unknown_155":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9195646776820404224}} 
[2026-07-13 18:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":130740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:13:14] local.INFO: GPS data processed {"connection_id":130740,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:13:14] local.INFO: Acknowledgment sent {"connection_id":130740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:13:15] local.INFO: TCP Data received {"connection_id":132877,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7cded0012d7f914005afd9380011011b22..."} 
[2026-07-13 18:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7cded0012d7f914005afd9380011011b22..."} 
[2026-07-13 18:13:15] local.INFO: Processing buffer {"connection_id":132877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7cded0012d7f914005afd9380011011b22..."} 
[2026-07-13 18:13:15] local.INFO: Packet analysis {"connection_id":132877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:13:15] local.INFO: Extracted packet for processing {"connection_id":132877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:13:15] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690185472001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783946338000,"timestamp_ms":1783946338000,"timestamp_seconds":1783946338,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7cded0"} 
[2026-07-13 18:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:13:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":132877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":132877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":132877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690185472001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690185472001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:13:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:13:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690185472001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":132877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:13:15] local.INFO: GPS data processed {"connection_id":132877,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:13:15] local.INFO: Acknowledgment sent {"connection_id":132877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:13:18] local.INFO: TCP Data received {"connection_id":132878,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:13:18] local.INFO: Processing buffer {"connection_id":132878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7baa38012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:13:18] local.INFO: Packet analysis {"connection_id":132878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:13:18] local.INFO: Extracted packet for processing {"connection_id":132878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7b"} 
[2026-07-13 18:13:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690165248001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:13:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783946259000,"timestamp_ms":1783946259000,"timestamp_seconds":1783946259,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7baa38"} 
[2026-07-13 18:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690165248001,"66":24810,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690165248001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:13:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:13:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:13:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690165248001,"power":24810,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":132878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481226,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:13:18] local.INFO: GPS data processed {"connection_id":132878,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:13:18] local.INFO: Acknowledgment sent {"connection_id":132878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:13:29] local.INFO: TCP Data received {"connection_id":130524,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7eafa8012d1a35800723bed8003500dd23..."} 
[2026-07-13 18:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7eafa8012d1a35800723bed8003500dd23..."} 
[2026-07-13 18:13:29] local.INFO: Processing buffer {"connection_id":130524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7eafa8012d1a35800723bed8003500dd23..."} 
[2026-07-13 18:13:29] local.INFO: Packet analysis {"connection_id":130524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7e"} 
[2026-07-13 18:13:29] local.INFO: Extracted packet for processing {"connection_id":130524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7e"} 
[2026-07-13 18:13:29] local.INFO: GPS Element Parsed {"raw_longitude":756692352,"raw_latitude":119783128,"longitude_deg":75.6692352,"latitude_deg":11.9783128,"altitude":53,"angle":221,"satellites":35,"speed":0,"hex_longitude":"2d1a3580","hex_latitude":"0723bed8","is_valid_coordinates":true} 
[2026-07-13 18:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690287872001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5911627345952768,"note":"Value kept but may cause issues"} 
[2026-07-13 18:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888556386904627200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783946457000,"timestamp_ms":1783946457000,"timestamp_seconds":1783946457,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7eafa8"} 
[2026-07-13 18:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-13 18:13:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:13:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690287872001,"66":12461,"43":206,"83":42752,"24":0,"16":5911627345952768,"45":1888556386904627200},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-13 18:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690287872001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:13:29] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-13 18:13:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 18:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5911627345952768,"km_value":5911627345952.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888556386904627200,"description":"Unknown IO ID 45"} 
[2026-07-13 18:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690287872001,"power":12461,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1888556386904627200}} 
[2026-07-13 18:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":130524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:13:29] local.INFO: GPS data processed {"connection_id":130524,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:13:29] local.INFO: Acknowledgment sent {"connection_id":130524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:13:35] local.INFO: TCP Data received {"connection_id":130525,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:13:35] local.INFO: Processing buffer {"connection_id":130525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:13:35] local.INFO: IMEI packet received {"connection_id":130525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 18:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":130525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:13:39] local.INFO: TCP Data received {"connection_id":130526,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:13:39] local.INFO: Processing buffer {"connection_id":130526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:13:39] local.INFO: IMEI packet received {"connection_id":130526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":130526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:13:39] local.INFO: TCP Data received {"connection_id":130527,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130527,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:13:39] local.INFO: Processing buffer {"connection_id":130527,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:13:39] local.INFO: IMEI packet received {"connection_id":130527,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":130527,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:13:39] local.INFO: TCP Data received {"connection_id":130525,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:13:39] local.INFO: Processing buffer {"connection_id":130525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:13:39] local.INFO: IMEI packet received {"connection_id":130525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":130525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:13:40] local.INFO: TCP Data received {"connection_id":130525,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7eb390012d7f9d8005dc58900005010229..."} 
[2026-07-13 18:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7eb390012d7f9d8005dc58900005010229..."} 
[2026-07-13 18:13:40] local.INFO: Processing buffer {"connection_id":130525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7eb390012d7f9d8005dc58900005010229..."} 
[2026-07-13 18:13:40] local.INFO: Packet analysis {"connection_id":130525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7e"} 
[2026-07-13 18:13:40] local.INFO: Extracted packet for processing {"connection_id":130525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7e"} 
[2026-07-13 18:13:40] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":98326672,"longitude_deg":76.3338112,"latitude_deg":9.8326672,"altitude":5,"angle":258,"satellites":41,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05dc5890","is_valid_coordinates":true} 
[2026-07-13 18:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690287872001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962370815229952,"note":"Value kept but may cause issues"} 
[2026-07-13 18:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776820404224,"note":"Value kept but may cause issues"} 
[2026-07-13 18:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783946458000,"timestamp_ms":1783946458000,"timestamp_seconds":1783946458,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7eb390"} 
[2026-07-13 18:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":51,"data_length":795,"current_offset":136} 
[2026-07-13 18:13: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-07-13 18:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690287872001,"66":12950,"155":206,"85":15104,"24":0,"16":105962370815229952,"45":9195646776820404224},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-13 18:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690287872001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:13:40] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 18:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962370815229952,"km_value":105962370815229.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776820404224,"description":"Unknown IO ID 45"} 
[2026-07-13 18:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690287872001,"power":12950,"unknown_155":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9195646776820404224}} 
[2026-07-13 18:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":130525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:13:40] local.INFO: GPS data processed {"connection_id":130525,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:13:40] local.INFO: Acknowledgment sent {"connection_id":130525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:13:44] local.INFO: TCP Data received {"connection_id":130526,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:13:44] local.INFO: Processing buffer {"connection_id":130526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:13:44] local.INFO: IMEI packet received {"connection_id":130526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":130526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:13:45] local.INFO: TCP Data received {"connection_id":130525,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7f0598012d7f9d8005dc5890000501022a..."} 
[2026-07-13 18:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7f0598012d7f9d8005dc5890000501022a..."} 
[2026-07-13 18:13:45] local.INFO: Processing buffer {"connection_id":130525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7f0598012d7f9d8005dc5890000501022a..."} 
[2026-07-13 18:13:45] local.INFO: Packet analysis {"connection_id":130525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7f"} 
[2026-07-13 18:13:45] local.INFO: Extracted packet for processing {"connection_id":130525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7f"} 
[2026-07-13 18:13:45] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":98326672,"longitude_deg":76.3338112,"latitude_deg":9.8326672,"altitude":5,"angle":258,"satellites":42,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05dc5890","is_valid_coordinates":true} 
[2026-07-13 18:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690293248001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962370815229952,"note":"Value kept but may cause issues"} 
[2026-07-13 18:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776820404224,"note":"Value kept but may cause issues"} 
[2026-07-13 18:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783946479000,"timestamp_ms":1783946479000,"timestamp_seconds":1783946479,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7f0598"} 
[2026-07-13 18:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:13: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-07-13 18:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-13 18:13:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:13:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690293248001,"66":13254,"155":206,"85":15104,"24":0,"16":105962370815229952,"45":9195646776820404224},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-13 18:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690293248001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:13:45] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 18:13:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962370815229952,"km_value":105962370815229.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776820404224,"description":"Unknown IO ID 45"} 
[2026-07-13 18:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690293248001,"power":13254,"unknown_155":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9195646776820404224}} 
[2026-07-13 18:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":130525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481229,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:13:45] local.INFO: GPS data processed {"connection_id":130525,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:13:45] local.INFO: Acknowledgment sent {"connection_id":130525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:13:45] local.INFO: TCP Data received {"connection_id":130527,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130527,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:13:45] local.INFO: Processing buffer {"connection_id":130527,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:13:45] local.INFO: IMEI packet received {"connection_id":130527,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":130527,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:13:46] local.INFO: TCP Data received {"connection_id":130527,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b804200012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b804200012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:13:46] local.INFO: Processing buffer {"connection_id":130527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b804200012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:13:46] local.INFO: Packet analysis {"connection_id":130527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b80"} 
[2026-07-13 18:13:46] local.INFO: Extracted packet for processing {"connection_id":130527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b80"} 
[2026-07-13 18:13:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690242304001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:13:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783946560000,"timestamp_ms":1783946560000,"timestamp_seconds":1783946560,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b804200"} 
[2026-07-13 18:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-13 18:13:46] 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-07-13 18:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130527,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130527,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690242304001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690242304001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:13:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:13:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:13:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690242304001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":130527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481230,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:13:46] local.INFO: GPS data processed {"connection_id":130527,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:13:46] local.INFO: Acknowledgment sent {"connection_id":130527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:13:49] local.INFO: TCP Data received {"connection_id":130526,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7cded0012d7f914005afd9380011011b22..."} 
[2026-07-13 18:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7cded0012d7f914005afd9380011011b22..."} 
[2026-07-13 18:13:49] local.INFO: Processing buffer {"connection_id":130526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7cded0012d7f914005afd9380011011b22..."} 
[2026-07-13 18:13:49] local.INFO: Packet analysis {"connection_id":130526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:13:49] local.INFO: Extracted packet for processing {"connection_id":130526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:13:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690185472001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:13:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783946338000,"timestamp_ms":1783946338000,"timestamp_seconds":1783946338,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7cded0"} 
[2026-07-13 18:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:13:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:13:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:13:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:13:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690185472001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690185472001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:13:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:13:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:13:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690185472001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":130526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:13:49] local.INFO: GPS data processed {"connection_id":130526,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:13:49] local.INFO: Acknowledgment sent {"connection_id":130526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:13:50] local.INFO: TCP Data received {"connection_id":130526,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7cded0012d7f914005afd9380011011b22..."} 
[2026-07-13 18:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7cded0012d7f914005afd9380011011b22..."} 
[2026-07-13 18:13:50] local.INFO: Processing buffer {"connection_id":130526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7cded0012d7f914005afd9380011011b22..."} 
[2026-07-13 18:13:50] local.INFO: Packet analysis {"connection_id":130526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:13:50] local.INFO: Extracted packet for processing {"connection_id":130526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7c"} 
[2026-07-13 18:13:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":17,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690185472001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783946338000,"timestamp_ms":1783946338000,"timestamp_seconds":1783946338,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7cded0"} 
[2026-07-13 18:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:13: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-07-13 18:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690185472001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690185472001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:13:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:13:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690185472001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":130526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:13:50] local.INFO: GPS data processed {"connection_id":130526,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:13:50] local.INFO: Acknowledgment sent {"connection_id":130526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:14:08] local.INFO: TCP Data received {"connection_id":132879,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:14:08] local.INFO: Processing buffer {"connection_id":132879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:14:08] local.INFO: IMEI packet received {"connection_id":132879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":132879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:14:15] local.INFO: TCP Data received {"connection_id":132879,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:14:15] local.INFO: Processing buffer {"connection_id":132879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:14:15] local.INFO: IMEI packet received {"connection_id":132879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":132879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:14:20] local.INFO: TCP Data received {"connection_id":130527,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b804200012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b804200012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:14:20] local.INFO: Processing buffer {"connection_id":130527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b804200012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:14:20] local.INFO: Packet analysis {"connection_id":130527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b80"} 
[2026-07-13 18:14:20] local.INFO: Extracted packet for processing {"connection_id":130527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b80"} 
[2026-07-13 18:14:20] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690242304001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:14:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783946560000,"timestamp_ms":1783946560000,"timestamp_seconds":1783946560,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b804200"} 
[2026-07-13 18:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-13 18:14:20] 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-07-13 18:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":130527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":130527,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":130527,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690242304001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690242304001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:14:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:14:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:14:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690242304001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":130527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481233,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:14:20] local.INFO: GPS data processed {"connection_id":130527,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:14:20] local.INFO: Acknowledgment sent {"connection_id":130527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:14:20] local.INFO: TCP Data received {"connection_id":132879,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b80bf00012d1a13000723ad80003600ff23..."} 
[2026-07-13 18:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b80bf00012d1a13000723ad80003600ff23..."} 
[2026-07-13 18:14:20] local.INFO: Processing buffer {"connection_id":132879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b80bf00012d1a13000723ad80003600ff23..."} 
[2026-07-13 18:14:20] local.INFO: Packet analysis {"connection_id":132879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b80"} 
[2026-07-13 18:14:20] local.INFO: Extracted packet for processing {"connection_id":132879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b80"} 
[2026-07-13 18:14:20] local.INFO: GPS Element Parsed {"raw_longitude":756683520,"raw_latitude":119778688,"longitude_deg":75.668352,"latitude_deg":11.9778688,"altitude":54,"angle":255,"satellites":35,"speed":38,"hex_longitude":"2d1a1300","hex_latitude":"0723ad80","is_valid_coordinates":true} 
[2026-07-13 18:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690326528001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5912125562159104,"note":"Value kept but may cause issues"} 
[2026-07-13 18:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882715781137080320,"note":"Value kept but may cause issues"} 
[2026-07-13 18:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783946592000,"timestamp_ms":1783946592000,"timestamp_seconds":1783946592,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b80bf00"} 
[2026-07-13 18:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-13 18:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":132879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":132879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":132879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690326528001,"66":14135,"42":206,"83":42752,"24":38,"16":5912125562159104,"45":1882715781137080320},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-13 18:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690326528001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:14:20] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-13 18:14:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 18:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5912125562159104,"km_value":5912125562159.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882715781137080320,"description":"Unknown IO ID 45"} 
[2026-07-13 18:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690326528001,"power":14135,"unknown_42":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":1882715781137080320}} 
[2026-07-13 18:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":132879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:14:20] local.INFO: GPS data processed {"connection_id":132879,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:14:20] local.INFO: Acknowledgment sent {"connection_id":132879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:14:39] local.INFO: TCP Data received {"connection_id":130741,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:14:39] local.INFO: Processing buffer {"connection_id":130741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:14:39] local.INFO: IMEI packet received {"connection_id":130741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":130741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:14:45] local.INFO: TCP Data received {"connection_id":130741,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:14:45] local.INFO: Processing buffer {"connection_id":130741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:14:45] local.INFO: IMEI packet received {"connection_id":130741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":130741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:14:46] local.INFO: TCP Data received {"connection_id":130741,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b804200012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b804200012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:14:46] local.INFO: Processing buffer {"connection_id":130741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b804200012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:14:46] local.INFO: Packet analysis {"connection_id":130741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b80"} 
[2026-07-13 18:14:46] local.INFO: Extracted packet for processing {"connection_id":130741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b80"} 
[2026-07-13 18:14:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690242304001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:14:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783946560000,"timestamp_ms":1783946560000,"timestamp_seconds":1783946560,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b804200"} 
[2026-07-13 18:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-13 18:14:46] 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-07-13 18:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130741,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130741,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690242304001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690242304001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:14:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:14:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:14:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690242304001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":130741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481235,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:14:46] local.INFO: GPS data processed {"connection_id":130741,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:14:46] local.INFO: Acknowledgment sent {"connection_id":130741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:14:58] local.INFO: TCP Data received {"connection_id":130742,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:14:58] local.INFO: Processing buffer {"connection_id":130742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:14:58] local.INFO: IMEI packet received {"connection_id":130742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":130742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:15:02] local.INFO: TCP Data received {"connection_id":130742,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:15:02] local.INFO: Processing buffer {"connection_id":130742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:15:02] local.INFO: IMEI packet received {"connection_id":130742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":130742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:15:03] local.INFO: TCP Data received {"connection_id":130742,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b80e228012d19efc00723a7680036010622..."} 
[2026-07-13 18:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b80e228012d19efc00723a7680036010622..."} 
[2026-07-13 18:15:03] local.INFO: Processing buffer {"connection_id":130742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b80e228012d19efc00723a7680036010622..."} 
[2026-07-13 18:15:03] local.INFO: Packet analysis {"connection_id":130742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b80"} 
[2026-07-13 18:15:03] local.INFO: Extracted packet for processing {"connection_id":130742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b80"} 
[2026-07-13 18:15:03] local.INFO: GPS Element Parsed {"raw_longitude":756674496,"raw_latitude":119777128,"longitude_deg":75.6674496,"latitude_deg":11.9777128,"altitude":54,"angle":262,"satellites":34,"speed":41,"hex_longitude":"2d19efc0","hex_latitude":"0723a768","is_valid_coordinates":true} 
[2026-07-13 18:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690327552001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5912563648823296,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1878845500206972928,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783946601000,"timestamp_ms":1783946601000,"timestamp_seconds":1783946601,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b80e228"} 
[2026-07-13 18:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-13 18:15: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-07-13 18:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":130742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":130742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":130742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690327552001,"66":14243,"42":206,"83":42752,"24":41,"16":5912563648823296,"45":1878845500206972928},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-13 18:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690327552001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:15:03] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-13 18:15:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 18:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5912563648823296,"km_value":5912563648823.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1878845500206972928,"description":"Unknown IO ID 45"} 
[2026-07-13 18:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690327552001,"power":14243,"unknown_42":206,"unknown_83":42752,"ignition":41,"odometer":null,"unknown_45":1878845500206972928}} 
[2026-07-13 18:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":130742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:15:03] local.INFO: GPS data processed {"connection_id":130742,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:15:03] local.INFO: Acknowledgment sent {"connection_id":130742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:15:04] local.INFO: TCP Data received {"connection_id":131548,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131548,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:15:04] local.INFO: Processing buffer {"connection_id":131548,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:15:04] local.INFO: IMEI packet received {"connection_id":131548,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 18:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":131548,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:15:05] local.INFO: TCP Data received {"connection_id":131548,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131548,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:15:05] local.INFO: Processing buffer {"connection_id":131548,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:15:05] local.INFO: IMEI packet received {"connection_id":131548,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":131548,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:15:06] local.INFO: TCP Data received {"connection_id":131548,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7f4800012d7f9d8005dc5890000501022c..."} 
[2026-07-13 18:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7f4800012d7f9d8005dc5890000501022c..."} 
[2026-07-13 18:15:06] local.INFO: Processing buffer {"connection_id":131548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7f4800012d7f9d8005dc5890000501022c..."} 
[2026-07-13 18:15:06] local.INFO: Packet analysis {"connection_id":131548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7f"} 
[2026-07-13 18:15:06] local.INFO: Extracted packet for processing {"connection_id":131548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7f"} 
[2026-07-13 18:15:06] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":98326672,"longitude_deg":76.3338112,"latitude_deg":9.8326672,"altitude":5,"angle":258,"satellites":44,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05dc5890","is_valid_coordinates":true} 
[2026-07-13 18:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690298624001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962370815229952,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776820404224,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783946496000,"timestamp_ms":1783946496000,"timestamp_seconds":1783946496,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7f4800"} 
[2026-07-13 18:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-13 18:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":131548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":131548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":131548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690298624001,"66":13059,"155":206,"85":15104,"24":0,"16":105962370815229952,"45":9195646776820404224},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-13 18:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690298624001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:15:06] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 18:15:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962370815229952,"km_value":105962370815229.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776820404224,"description":"Unknown IO ID 45"} 
[2026-07-13 18:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690298624001,"power":13059,"unknown_155":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9195646776820404224}} 
[2026-07-13 18:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":131548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481237,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:15:06] local.INFO: GPS data processed {"connection_id":131548,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:15:06] local.INFO: Acknowledgment sent {"connection_id":131548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:15:07] local.INFO: TCP Data received {"connection_id":131548,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7f4800012d7f9d8005dc5890000501022c..."} 
[2026-07-13 18:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7f4800012d7f9d8005dc5890000501022c..."} 
[2026-07-13 18:15:07] local.INFO: Processing buffer {"connection_id":131548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7f4800012d7f9d8005dc5890000501022c..."} 
[2026-07-13 18:15:07] local.INFO: Packet analysis {"connection_id":131548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7f"} 
[2026-07-13 18:15:07] local.INFO: Extracted packet for processing {"connection_id":131548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7f"} 
[2026-07-13 18:15:07] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":98326672,"longitude_deg":76.3338112,"latitude_deg":9.8326672,"altitude":5,"angle":258,"satellites":44,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05dc5890","is_valid_coordinates":true} 
[2026-07-13 18:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690302976001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962370815229952,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776820404224,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783946496000,"timestamp_ms":1783946496000,"timestamp_seconds":1783946496,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7f4800"} 
[2026-07-13 18:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-13 18:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160999595431,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2818244814,"corrected_to":0} 
[2026-07-13 18:15:07] local.WARNING: Large IO value detected {"io_id":251,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:07] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,155,85,24,241,157,16,116,159,5,45,128,88,42,10,66,179,41,97,1,240,51,227,91,220,4,113,205,189,144,44,239,52,251,2,120],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2818244814,"validated":0}]} 
[2026-07-13 18:15:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360571833168167151,"timestamp_seconds":360571833168167.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 18:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":131548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":131548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":131548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690302976001,"66":13059,"155":206,"85":15104,"24":0,"16":105962370815229952,"45":9195646776820404224},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-13 18:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690302976001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:15:07] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 18:15:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962370815229952,"km_value":105962370815229.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776820404224,"description":"Unknown IO ID 45"} 
[2026-07-13 18:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690302976001,"power":13059,"unknown_155":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9195646776820404224}} 
[2026-07-13 18:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":131548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:15:07] local.INFO: GPS data processed {"connection_id":131548,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:15:07] local.INFO: Acknowledgment sent {"connection_id":131548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:15:09] local.INFO: TCP Data received {"connection_id":130528,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:15:09] local.INFO: Processing buffer {"connection_id":130528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:15:09] local.INFO: IMEI packet received {"connection_id":130528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":130528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:15:14] local.INFO: TCP Data received {"connection_id":130528,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:15:14] local.INFO: Processing buffer {"connection_id":130528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:15:14] local.INFO: IMEI packet received {"connection_id":130528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":130528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:15:15] local.INFO: TCP Data received {"connection_id":130528,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b817698012d7f914005afd9380012011b25..."} 
[2026-07-13 18:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b817698012d7f914005afd9380012011b25..."} 
[2026-07-13 18:15:15] local.INFO: Processing buffer {"connection_id":130528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b817698012d7f914005afd9380012011b25..."} 
[2026-07-13 18:15:15] local.INFO: Packet analysis {"connection_id":130528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b81"} 
[2026-07-13 18:15:15] local.INFO: Extracted packet for processing {"connection_id":130528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b81"} 
[2026-07-13 18:15:15] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690262528001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783946639000,"timestamp_ms":1783946639000,"timestamp_seconds":1783946639,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b817698"} 
[2026-07-13 18:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690262528001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690262528001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:15:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:15:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690262528001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":130528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:15:15] local.INFO: GPS data processed {"connection_id":130528,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:15:15] local.INFO: Acknowledgment sent {"connection_id":130528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:15:17] local.INFO: TCP Data received {"connection_id":130741,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b804200012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b804200012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:15:17] local.INFO: Processing buffer {"connection_id":130741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b804200012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:15:17] local.INFO: Packet analysis {"connection_id":130741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b80"} 
[2026-07-13 18:15:17] local.INFO: Extracted packet for processing {"connection_id":130741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b80"} 
[2026-07-13 18:15:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690242304001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783946560000,"timestamp_ms":1783946560000,"timestamp_seconds":1783946560,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b804200"} 
[2026-07-13 18:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:15: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-07-13 18: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-13 18:15:17] 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-07-13 18:15:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130741,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130741,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690242304001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690242304001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:15:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:15:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:15:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690242304001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":130741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481240,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:15:17] local.INFO: GPS data processed {"connection_id":130741,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:15:17] local.INFO: Acknowledgment sent {"connection_id":130741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:15:29] local.INFO: TCP Data received {"connection_id":131549,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131549,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:15:29] local.INFO: Processing buffer {"connection_id":131549,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:15:29] local.INFO: IMEI packet received {"connection_id":131549,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 18:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":131549,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:15:37] local.INFO: TCP Data received {"connection_id":131549,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131549,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:15:37] local.INFO: Processing buffer {"connection_id":131549,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:15:37] local.INFO: IMEI packet received {"connection_id":131549,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":131549,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:15:44] local.INFO: TCP Data received {"connection_id":131550,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:15:44] local.INFO: Processing buffer {"connection_id":131550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:15:44] local.INFO: IMEI packet received {"connection_id":131550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":131550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:15:45] local.INFO: TCP Data received {"connection_id":130743,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:15:45] local.INFO: Processing buffer {"connection_id":130743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:15:45] local.INFO: IMEI packet received {"connection_id":130743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":130743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:15:46] local.INFO: TCP Data received {"connection_id":130742,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b822e30012d18f6800722f768005b00f821..."} 
[2026-07-13 18:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b822e30012d18f6800722f768005b00f821..."} 
[2026-07-13 18:15:46] local.INFO: Processing buffer {"connection_id":130742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b822e30012d18f6800722f768005b00f821..."} 
[2026-07-13 18:15:46] local.INFO: Packet analysis {"connection_id":130742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b82"} 
[2026-07-13 18:15:46] local.INFO: Extracted packet for processing {"connection_id":130742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b82"} 
[2026-07-13 18:15:46] local.INFO: GPS Element Parsed {"raw_longitude":756610688,"raw_latitude":119732072,"longitude_deg":75.6610688,"latitude_deg":11.9732072,"altitude":91,"angle":248,"satellites":33,"speed":40,"hex_longitude":"2d18f680","hex_latitude":"0722f768","is_valid_coordinates":true} 
[2026-07-13 18:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690351360001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5916549378473984,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799891769227814912,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783946686000,"timestamp_ms":1783946686000,"timestamp_seconds":1783946686,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b822e30"} 
[2026-07-13 18:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-13 18:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690351360001,"66":13993,"137":206,"83":42752,"24":40,"16":5916549378473984,"45":1799891769227814912},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-07-13 18:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690351360001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:15:46] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-13 18:15:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 18:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5916549378473984,"km_value":5916549378473.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799891769227814912,"description":"Unknown IO ID 45"} 
[2026-07-13 18:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690351360001,"power":13993,"unknown_137":206,"unknown_83":42752,"ignition":40,"odometer":null,"unknown_45":1799891769227814912}} 
[2026-07-13 18:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":130742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:15:46] local.INFO: GPS data processed {"connection_id":130742,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:15:46] local.INFO: Acknowledgment sent {"connection_id":130742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:15:47] local.INFO: TCP Data received {"connection_id":131549,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b7f4800012d7f9d8005dc5890000501022c..."} 
[2026-07-13 18:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b7f4800012d7f9d8005dc5890000501022c..."} 
[2026-07-13 18:15:47] local.INFO: Processing buffer {"connection_id":131549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b7f4800012d7f9d8005dc5890000501022c..."} 
[2026-07-13 18:15:47] local.INFO: Packet analysis {"connection_id":131549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b7f"} 
[2026-07-13 18:15:47] local.INFO: Extracted packet for processing {"connection_id":131549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b7f"} 
[2026-07-13 18:15:47] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":98326672,"longitude_deg":76.3338112,"latitude_deg":9.8326672,"altitude":5,"angle":258,"satellites":44,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05dc5890","is_valid_coordinates":true} 
[2026-07-13 18:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690302976001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962370815229952,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776820404224,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783946496000,"timestamp_ms":1783946496000,"timestamp_seconds":1783946496,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b7f4800"} 
[2026-07-13 18:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-13 18:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160999595431,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2818244814,"corrected_to":0} 
[2026-07-13 18:15:47] local.WARNING: Large IO value detected {"io_id":251,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:47] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,155,85,24,241,157,16,116,159,5,45,128,88,42,10,66,179,41,97,1,240,51,227,91,220,4,113,205,189,144,44,239,52,251,2,120],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2818244814,"validated":0}]} 
[2026-07-13 18:15:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360571833168167151,"timestamp_seconds":360571833168167.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 18:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":131549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":131549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":131549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690302976001,"66":13059,"155":206,"85":15104,"24":0,"16":105962370815229952,"45":9195646776820404224},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-13 18:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690302976001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:15:47] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 18:15:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962370815229952,"km_value":105962370815229.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776820404224,"description":"Unknown IO ID 45"} 
[2026-07-13 18:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690302976001,"power":13059,"unknown_155":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9195646776820404224}} 
[2026-07-13 18:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":131549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481242,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:15:47] local.INFO: GPS data processed {"connection_id":131549,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:15:47] local.INFO: Acknowledgment sent {"connection_id":131549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:15:49] local.INFO: TCP Data received {"connection_id":130743,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:15:49] local.INFO: Processing buffer {"connection_id":130743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:15:49] local.INFO: IMEI packet received {"connection_id":130743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":130743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:15:50] local.INFO: TCP Data received {"connection_id":131550,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:15:50] local.INFO: Processing buffer {"connection_id":131550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:15:50] local.INFO: IMEI packet received {"connection_id":131550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":131550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:15:50] local.INFO: TCP Data received {"connection_id":130743,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b804200012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b804200012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:15:50] local.INFO: Processing buffer {"connection_id":130743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b804200012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:15:50] local.INFO: Packet analysis {"connection_id":130743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b80"} 
[2026-07-13 18:15:50] local.INFO: Extracted packet for processing {"connection_id":130743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b80"} 
[2026-07-13 18:15:50] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 18:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690242304001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783946560000,"timestamp_ms":1783946560000,"timestamp_seconds":1783946560,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b804200"} 
[2026-07-13 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-07-13 18:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-13 18:15: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-07-13 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-07-13 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-07-13 18:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130743,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130743,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690242304001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690242304001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:15:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:15:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:15:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690242304001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":130743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481243,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:15:50] local.INFO: GPS data processed {"connection_id":130743,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:15:50] local.INFO: Acknowledgment sent {"connection_id":130743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:15:51] local.INFO: TCP Data received {"connection_id":131550,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b817698012d7f914005afd9380012011b25..."} 
[2026-07-13 18:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b817698012d7f914005afd9380012011b25..."} 
[2026-07-13 18:15:51] local.INFO: Processing buffer {"connection_id":131550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b817698012d7f914005afd9380012011b25..."} 
[2026-07-13 18:15:51] local.INFO: Packet analysis {"connection_id":131550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b81"} 
[2026-07-13 18:15:51] local.INFO: Extracted packet for processing {"connection_id":131550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b81"} 
[2026-07-13 18:15:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690262528001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783946639000,"timestamp_ms":1783946639000,"timestamp_seconds":1783946639,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b817698"} 
[2026-07-13 18:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:15: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-07-13 18:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":131550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":131550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":131550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690262528001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690262528001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:15:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:15:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690262528001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":131550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:15:51] local.INFO: GPS data processed {"connection_id":131550,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:15:51] local.INFO: Acknowledgment sent {"connection_id":131550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:15:54] local.INFO: TCP Data received {"connection_id":132880,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:15:54] local.INFO: Processing buffer {"connection_id":132880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:15:54] local.INFO: IMEI packet received {"connection_id":132880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":132880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:15:55] local.INFO: TCP Data received {"connection_id":130743,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b804200012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b804200012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:15:55] local.INFO: Processing buffer {"connection_id":130743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b804200012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:15:55] local.INFO: Packet analysis {"connection_id":130743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b80"} 
[2026-07-13 18:15:55] local.INFO: Extracted packet for processing {"connection_id":130743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b80"} 
[2026-07-13 18:15:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690242304001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783946560000,"timestamp_ms":1783946560000,"timestamp_seconds":1783946560,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b804200"} 
[2026-07-13 18:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-13 18:15:55] 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-07-13 18:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130743,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130743,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690242304001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690242304001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:15:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:15:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:15:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690242304001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":130743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481245,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:15:55] local.INFO: GPS data processed {"connection_id":130743,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:15:55] local.INFO: Acknowledgment sent {"connection_id":130743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:15:56] local.INFO: TCP Data received {"connection_id":132880,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:15:56] local.INFO: Processing buffer {"connection_id":132880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:15:56] local.INFO: IMEI packet received {"connection_id":132880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":132880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:15:57] local.INFO: TCP Data received {"connection_id":132880,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:15:57] local.INFO: Processing buffer {"connection_id":132880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:15:57] local.INFO: IMEI packet received {"connection_id":132880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":132880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:16:02] local.INFO: TCP Data received {"connection_id":132880,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:16:02] local.INFO: Processing buffer {"connection_id":132880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:16:02] local.INFO: IMEI packet received {"connection_id":132880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":132880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:16:03] local.INFO: TCP Data received {"connection_id":132880,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b823600012d18ee800722f608005c010c21..."} 
[2026-07-13 18:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b823600012d18ee800722f608005c010c21..."} 
[2026-07-13 18:16:03] local.INFO: Processing buffer {"connection_id":132880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b823600012d18ee800722f608005c010c21..."} 
[2026-07-13 18:16:03] local.INFO: Packet analysis {"connection_id":132880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b82"} 
[2026-07-13 18:16:03] local.INFO: Extracted packet for processing {"connection_id":132880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b82"} 
[2026-07-13 18:16:03] local.INFO: GPS Element Parsed {"raw_longitude":756608640,"raw_latitude":119731720,"longitude_deg":75.660864,"latitude_deg":11.973172,"altitude":92,"angle":268,"satellites":33,"speed":41,"hex_longitude":"2d18ee80","hex_latitude":"0722f608","is_valid_coordinates":true} 
[2026-07-13 18:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690351616001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5916648162721792,"note":"Value kept but may cause issues"} 
[2026-07-13 18:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798765869320857600,"note":"Value kept but may cause issues"} 
[2026-07-13 18:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783946688000,"timestamp_ms":1783946688000,"timestamp_seconds":1783946688,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b823600"} 
[2026-07-13 18:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-13 18:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":132880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":132880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":132880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690351616001,"66":14048,"137":206,"83":42752,"24":41,"16":5916648162721792,"45":1798765869320857600},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-07-13 18:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690351616001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:16:03] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-13 18:16:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 18:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5916648162721792,"km_value":5916648162721.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798765869320857600,"description":"Unknown IO ID 45"} 
[2026-07-13 18:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690351616001,"power":14048,"unknown_137":206,"unknown_83":42752,"ignition":41,"odometer":null,"unknown_45":1798765869320857600}} 
[2026-07-13 18:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":132880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:16:03] local.INFO: GPS data processed {"connection_id":132880,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:16:03] local.INFO: Acknowledgment sent {"connection_id":132880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:16:29] local.INFO: TCP Data received {"connection_id":132881,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:16:29] local.INFO: Processing buffer {"connection_id":132881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:16:29] local.INFO: IMEI packet received {"connection_id":132881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 18:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":132881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:16:31] local.INFO: TCP Data received {"connection_id":132881,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:16:31] local.INFO: Processing buffer {"connection_id":132881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:16:31] local.INFO: IMEI packet received {"connection_id":132881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":132881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:16:33] local.INFO: TCP Data received {"connection_id":132880,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8308f0012d18a7c007228808006e00bc26..."} 
[2026-07-13 18:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8308f0012d18a7c007228808006e00bc26..."} 
[2026-07-13 18:16:33] local.INFO: Processing buffer {"connection_id":132880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8308f0012d18a7c007228808006e00bc26..."} 
[2026-07-13 18:16:33] local.INFO: Packet analysis {"connection_id":132880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b83"} 
[2026-07-13 18:16:33] local.INFO: Extracted packet for processing {"connection_id":132880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b83"} 
[2026-07-13 18:16:33] local.INFO: GPS Element Parsed {"raw_longitude":756590528,"raw_latitude":119703560,"longitude_deg":75.6590528,"latitude_deg":11.970356,"altitude":110,"angle":188,"satellites":38,"speed":36,"hex_longitude":"2d18a7c0","hex_latitude":"07228808","is_valid_coordinates":true} 
[2026-07-13 18:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690364672001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5918864365846528,"note":"Value kept but may cause issues"} 
[2026-07-13 18:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821131280384,"note":"Value kept but may cause issues"} 
[2026-07-13 18:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783946742000,"timestamp_ms":1783946742000,"timestamp_seconds":1783946742,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8308f0"} 
[2026-07-13 18:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-13 18:16: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-07-13 18:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":132880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":132880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":132880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690364672001,"66":12526,"105":206,"83":41984,"24":36,"16":5918864365846528,"45":1776810821131280384},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-13 18:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690364672001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:16:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-13 18:16:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5918864365846528,"km_value":5918864365846.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821131280384,"description":"Unknown IO ID 45"} 
[2026-07-13 18:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690364672001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1776810821131280384}} 
[2026-07-13 18:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":132880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:16:33] local.INFO: GPS data processed {"connection_id":132880,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:16:33] local.INFO: Acknowledgment sent {"connection_id":132880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:16:34] local.INFO: TCP Data received {"connection_id":132881,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:16:34] local.INFO: Processing buffer {"connection_id":132881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:16:34] local.INFO: IMEI packet received {"connection_id":132881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":132881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:16:35] local.INFO: TCP Data received {"connection_id":132881,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b831890012d7f9d8005dc5890000501022d..."} 
[2026-07-13 18:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b831890012d7f9d8005dc5890000501022d..."} 
[2026-07-13 18:16:35] local.INFO: Processing buffer {"connection_id":132881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b831890012d7f9d8005dc5890000501022d..."} 
[2026-07-13 18:16:35] local.INFO: Packet analysis {"connection_id":132881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b83"} 
[2026-07-13 18:16:35] local.INFO: Extracted packet for processing {"connection_id":132881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b83"} 
[2026-07-13 18:16:35] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":98326672,"longitude_deg":76.3338112,"latitude_deg":9.8326672,"altitude":5,"angle":258,"satellites":45,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05dc5890","is_valid_coordinates":true} 
[2026-07-13 18:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690302976001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962370815229952,"note":"Value kept but may cause issues"} 
[2026-07-13 18:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776820404224,"note":"Value kept but may cause issues"} 
[2026-07-13 18:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783946746000,"timestamp_ms":1783946746000,"timestamp_seconds":1783946746,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b831890"} 
[2026-07-13 18:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-13 18:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168834555303,"note":"Value kept but may cause issues"} 
[2026-07-13 18:16:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-13 18:16:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2828730574,"corrected_to":0} 
[2026-07-13 18:16:35] local.WARNING: Large IO value detected {"io_id":15,"raw_value":2147560831,"note":"Value kept but may cause issues"} 
[2026-07-13 18:16:35] local.WARNING: Large IO value detected {"io_id":251,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-13 18:16:35] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,155,85,24,241,157,16,116,159,72,45,128,88,5,44,10,66,42,179,1,240,150,227,91,220,4,113,205,15,144,43,239,51,251,2,120],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2828730574,"validated":0}]} 
[2026-07-13 18:16:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360571833168167152,"timestamp_seconds":360571833168167.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 18:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690302976001,"66":12798,"53":206,"85":15104,"24":0,"16":105962370815229952,"45":9195646776820404224},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-13 18:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690302976001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:16:35] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-13 18:16:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962370815229952,"km_value":105962370815229.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776820404224,"description":"Unknown IO ID 45"} 
[2026-07-13 18:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690302976001,"power":12798,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9195646776820404224}} 
[2026-07-13 18:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":132881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:16:35] local.INFO: GPS data processed {"connection_id":132881,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:16:35] local.INFO: Acknowledgment sent {"connection_id":132881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:16:39] local.INFO: TCP Data received {"connection_id":130529,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:16:39] local.INFO: Processing buffer {"connection_id":130529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:16:39] local.INFO: IMEI packet received {"connection_id":130529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":130529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:16:40] local.INFO: TCP Data received {"connection_id":130530,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130530,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:16:40] local.INFO: Processing buffer {"connection_id":130530,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:16:40] local.INFO: IMEI packet received {"connection_id":130530,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":130530,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:16:44] local.INFO: TCP Data received {"connection_id":130529,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:16:44] local.INFO: Processing buffer {"connection_id":130529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:16:44] local.INFO: IMEI packet received {"connection_id":130529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":130529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:16:45] local.INFO: TCP Data received {"connection_id":130529,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b817698012d7f914005afd9380012011b25..."} 
[2026-07-13 18:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b817698012d7f914005afd9380012011b25..."} 
[2026-07-13 18:16:45] local.INFO: Processing buffer {"connection_id":130529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b817698012d7f914005afd9380012011b25..."} 
[2026-07-13 18:16:45] local.INFO: Packet analysis {"connection_id":130529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b81"} 
[2026-07-13 18:16:45] local.INFO: Extracted packet for processing {"connection_id":130529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b81"} 
[2026-07-13 18:16:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 18:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690262528001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783946639000,"timestamp_ms":1783946639000,"timestamp_seconds":1783946639,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b817698"} 
[2026-07-13 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-07-13 18:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 18:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690262528001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690262528001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:16:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:16:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690262528001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":130529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:16:45] local.INFO: GPS data processed {"connection_id":130529,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:16:45] local.INFO: Acknowledgment sent {"connection_id":130529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:16:45] local.INFO: TCP Data received {"connection_id":130530,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130530,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:16:45] local.INFO: Processing buffer {"connection_id":130530,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:16:45] local.INFO: IMEI packet received {"connection_id":130530,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":130530,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:16:46] local.INFO: TCP Data received {"connection_id":130530,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b804200012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b804200012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:16:46] local.INFO: Processing buffer {"connection_id":130530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b804200012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:16:46] local.INFO: Packet analysis {"connection_id":130530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b80"} 
[2026-07-13 18:16:46] local.INFO: Extracted packet for processing {"connection_id":130530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b80"} 
[2026-07-13 18:16:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690242304001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:16:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783946560000,"timestamp_ms":1783946560000,"timestamp_seconds":1783946560,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b804200"} 
[2026-07-13 18:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-13 18:16:46] 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-07-13 18:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130530,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130530,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690242304001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690242304001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:16:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:16:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:16:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690242304001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":130530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481250,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:16:46] local.INFO: GPS data processed {"connection_id":130530,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:16:46] local.INFO: Acknowledgment sent {"connection_id":130530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:16:49] local.INFO: TCP Data received {"connection_id":130529,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b817698012d7f914005afd9380012011b25..."} 
[2026-07-13 18:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b817698012d7f914005afd9380012011b25..."} 
[2026-07-13 18:16:49] local.INFO: Processing buffer {"connection_id":130529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b817698012d7f914005afd9380012011b25..."} 
[2026-07-13 18:16:49] local.INFO: Packet analysis {"connection_id":130529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b81"} 
[2026-07-13 18:16:49] local.INFO: Extracted packet for processing {"connection_id":130529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b81"} 
[2026-07-13 18:16:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690262528001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783946639000,"timestamp_ms":1783946639000,"timestamp_seconds":1783946639,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b817698"} 
[2026-07-13 18:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690262528001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690262528001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:16:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:16:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690262528001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":130529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:16:49] local.INFO: GPS data processed {"connection_id":130529,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:16:49] local.INFO: Acknowledgment sent {"connection_id":130529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:16:51] local.INFO: TCP Data received {"connection_id":132882,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:16:51] local.INFO: Processing buffer {"connection_id":132882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:16:51] local.INFO: IMEI packet received {"connection_id":132882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":132882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:16:52] local.INFO: TCP Data received {"connection_id":132882,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:16:52] local.INFO: Processing buffer {"connection_id":132882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:16:52] local.INFO: IMEI packet received {"connection_id":132882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":132882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:16:58] local.INFO: TCP Data received {"connection_id":132882,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:16:58] local.INFO: Processing buffer {"connection_id":132882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:16:58] local.INFO: IMEI packet received {"connection_id":132882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":132882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:16:58] local.INFO: TCP Data received {"connection_id":132882,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b831c78012d18a28007227608006a00c926..."} 
[2026-07-13 18:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b831c78012d18a28007227608006a00c926..."} 
[2026-07-13 18:16:58] local.INFO: Processing buffer {"connection_id":132882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b831c78012d18a28007227608006a00c926..."} 
[2026-07-13 18:16:58] local.INFO: Packet analysis {"connection_id":132882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b83"} 
[2026-07-13 18:16:58] local.INFO: Extracted packet for processing {"connection_id":132882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b83"} 
[2026-07-13 18:16:58] local.INFO: GPS Element Parsed {"raw_longitude":756589184,"raw_latitude":119698952,"longitude_deg":75.6589184,"latitude_deg":11.9698952,"altitude":106,"angle":201,"satellites":38,"speed":40,"hex_longitude":"2d18a280","hex_latitude":"07227608","is_valid_coordinates":true} 
[2026-07-13 18:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690365952001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5919096294080512,"note":"Value kept but may cause issues"} 
[2026-07-13 18:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776599714897594368,"note":"Value kept but may cause issues"} 
[2026-07-13 18:16: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-07-13 18:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783946747000,"timestamp_ms":1783946747000,"timestamp_seconds":1783946747,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b831c78"} 
[2026-07-13 18:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-13 18:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:16:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690365952001,"66":12461,"105":206,"83":41984,"24":40,"16":5919096294080512,"45":1776599714897594368},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-13 18:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690365952001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:16:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-13 18:16:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5919096294080512,"km_value":5919096294080.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776599714897594368,"description":"Unknown IO ID 45"} 
[2026-07-13 18:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690365952001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1776599714897594368}} 
[2026-07-13 18:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":132882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:16:58] local.INFO: GPS data processed {"connection_id":132882,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:16:58] local.INFO: Acknowledgment sent {"connection_id":132882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:17:07] local.INFO: TCP Data received {"connection_id":132881,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b831890012d7f9d8005dc5890000501022d..."} 
[2026-07-13 18:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b831890012d7f9d8005dc5890000501022d..."} 
[2026-07-13 18:17:07] local.INFO: Processing buffer {"connection_id":132881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b831890012d7f9d8005dc5890000501022d..."} 
[2026-07-13 18:17:07] local.INFO: Packet analysis {"connection_id":132881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b83"} 
[2026-07-13 18:17:07] local.INFO: Extracted packet for processing {"connection_id":132881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b83"} 
[2026-07-13 18:17:07] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":98326672,"longitude_deg":76.3338112,"latitude_deg":9.8326672,"altitude":5,"angle":258,"satellites":45,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05dc5890","is_valid_coordinates":true} 
[2026-07-13 18:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690366976001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962370815229952,"note":"Value kept but may cause issues"} 
[2026-07-13 18:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776820404224,"note":"Value kept but may cause issues"} 
[2026-07-13 18:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783946746000,"timestamp_ms":1783946746000,"timestamp_seconds":1783946746,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b831890"} 
[2026-07-13 18:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":254,"data_length":795,"current_offset":136} 
[2026-07-13 18:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690366976001,"66":12798,"53":206,"85":15104,"24":0,"16":105962370815229952,"45":9195646776820404224},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-13 18:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690366976001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:17:07] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-13 18:17:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962370815229952,"km_value":105962370815229.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776820404224,"description":"Unknown IO ID 45"} 
[2026-07-13 18:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690366976001,"power":12798,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9195646776820404224}} 
[2026-07-13 18:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":132881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:17:07] local.INFO: GPS data processed {"connection_id":132881,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:17:07] local.INFO: Acknowledgment sent {"connection_id":132881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:17:18] local.INFO: TCP Data received {"connection_id":130530,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b804200012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b804200012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:17:18] local.INFO: Processing buffer {"connection_id":130530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b804200012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:17:18] local.INFO: Packet analysis {"connection_id":130530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b80"} 
[2026-07-13 18:17:18] local.INFO: Extracted packet for processing {"connection_id":130530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b80"} 
[2026-07-13 18:17:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690242304001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:17:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783946560000,"timestamp_ms":1783946560000,"timestamp_seconds":1783946560,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b804200"} 
[2026-07-13 18:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-13 18: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-07-13 18:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130530,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130530,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690242304001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690242304001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:17:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:17:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:17:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690242304001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":130530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481254,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:17:18] local.INFO: GPS data processed {"connection_id":130530,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:17:18] local.INFO: Acknowledgment sent {"connection_id":130530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:17:29] local.INFO: TCP Data received {"connection_id":131551,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131551,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:17:29] local.INFO: Processing buffer {"connection_id":131551,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:17:29] local.INFO: IMEI packet received {"connection_id":131551,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 18:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":131551,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:17:29] local.INFO: TCP Data received {"connection_id":132882,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b833bb8012d1892c0072258e0006200d724..."} 
[2026-07-13 18:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b833bb8012d1892c0072258e0006200d724..."} 
[2026-07-13 18:17:29] local.INFO: Processing buffer {"connection_id":132882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b833bb8012d1892c0072258e0006200d724..."} 
[2026-07-13 18:17:29] local.INFO: Packet analysis {"connection_id":132882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b83"} 
[2026-07-13 18:17:29] local.INFO: Extracted packet for processing {"connection_id":132882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b83"} 
[2026-07-13 18:17:29] local.INFO: GPS Element Parsed {"raw_longitude":756585152,"raw_latitude":119691488,"longitude_deg":75.6585152,"latitude_deg":11.9691488,"altitude":98,"angle":215,"satellites":36,"speed":40,"hex_longitude":"2d1892c0","hex_latitude":"072258e0","is_valid_coordinates":true} 
[2026-07-13 18:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690367232001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5919504315973632,"note":"Value kept but may cause issues"} 
[2026-07-13 18:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775121971268683776,"note":"Value kept but may cause issues"} 
[2026-07-13 18:17: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-07-13 18:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783946755000,"timestamp_ms":1783946755000,"timestamp_seconds":1783946755,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b833bb8"} 
[2026-07-13 18:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-13 18:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690367232001,"66":12428,"105":206,"83":41984,"24":40,"16":5919504315973632,"45":1775121971268683776},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-13 18:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690367232001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:17:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-13 18:17:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5919504315973632,"km_value":5919504315973.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775121971268683776,"description":"Unknown IO ID 45"} 
[2026-07-13 18:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690367232001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1775121971268683776}} 
[2026-07-13 18:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":132882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:17:30] local.INFO: GPS data processed {"connection_id":132882,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:17:30] local.INFO: Acknowledgment sent {"connection_id":132882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:17:34] local.INFO: TCP Data received {"connection_id":131552,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:17:34] local.INFO: Processing buffer {"connection_id":131552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:17:34] local.INFO: IMEI packet received {"connection_id":131552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":131552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:17:34] local.INFO: TCP Data received {"connection_id":131551,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131551,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:17:34] local.INFO: Processing buffer {"connection_id":131551,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:17:34] local.INFO: IMEI packet received {"connection_id":131551,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":131551,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:17:35] local.INFO: TCP Data received {"connection_id":131551,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b837268012d7f9d8005dc5890000501022b..."} 
[2026-07-13 18:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b837268012d7f9d8005dc5890000501022b..."} 
[2026-07-13 18:17:35] local.INFO: Processing buffer {"connection_id":131551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b837268012d7f9d8005dc5890000501022b..."} 
[2026-07-13 18:17:35] local.INFO: Packet analysis {"connection_id":131551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b83"} 
[2026-07-13 18:17:35] local.INFO: Extracted packet for processing {"connection_id":131551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b83"} 
[2026-07-13 18:17:35] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":98326672,"longitude_deg":76.3338112,"latitude_deg":9.8326672,"altitude":5,"angle":258,"satellites":43,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05dc5890","is_valid_coordinates":true} 
[2026-07-13 18:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690366976001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962370815229952,"note":"Value kept but may cause issues"} 
[2026-07-13 18:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776820404224,"note":"Value kept but may cause issues"} 
[2026-07-13 18:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783946769000,"timestamp_ms":1783946769000,"timestamp_seconds":1783946769,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b837268"} 
[2026-07-13 18:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":254,"data_length":795,"current_offset":136} 
[2026-07-13 18:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":131551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":131551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":131551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690366976001,"66":12298,"53":206,"85":15104,"24":0,"16":105962370815229952,"45":9195646776820404224},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-13 18:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690366976001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:17:35] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-13 18:17:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962370815229952,"km_value":105962370815229.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776820404224,"description":"Unknown IO ID 45"} 
[2026-07-13 18:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690366976001,"power":12298,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9195646776820404224}} 
[2026-07-13 18:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":131551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481256,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:17:35] local.INFO: GPS data processed {"connection_id":131551,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:17:35] local.INFO: Acknowledgment sent {"connection_id":131551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:17:40] local.INFO: TCP Data received {"connection_id":131552,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:17:40] local.INFO: Processing buffer {"connection_id":131552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:17:40] local.INFO: IMEI packet received {"connection_id":131552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":131552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:17:41] local.INFO: TCP Data received {"connection_id":130531,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130531,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:17:41] local.INFO: Processing buffer {"connection_id":130531,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:17:41] local.INFO: IMEI packet received {"connection_id":130531,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":130531,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:17:42] local.INFO: TCP Data received {"connection_id":131552,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b817698012d7f914005afd9380012011b25..."} 
[2026-07-13 18:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b817698012d7f914005afd9380012011b25..."} 
[2026-07-13 18:17:42] local.INFO: Processing buffer {"connection_id":131552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b817698012d7f914005afd9380012011b25..."} 
[2026-07-13 18:17:42] local.INFO: Packet analysis {"connection_id":131552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b81"} 
[2026-07-13 18:17:42] local.INFO: Extracted packet for processing {"connection_id":131552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b81"} 
[2026-07-13 18:17:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690262528001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783946639000,"timestamp_ms":1783946639000,"timestamp_seconds":1783946639,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b817698"} 
[2026-07-13 18:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":131552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":131552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":131552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690262528001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690262528001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:17:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690262528001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":131552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:17:42] local.INFO: GPS data processed {"connection_id":131552,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:17:42] local.INFO: Acknowledgment sent {"connection_id":131552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:17:45] local.INFO: TCP Data received {"connection_id":130531,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130531,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:17:45] local.INFO: Processing buffer {"connection_id":130531,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:17:45] local.INFO: IMEI packet received {"connection_id":130531,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":130531,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:17:46] local.INFO: TCP Data received {"connection_id":130531,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b804200012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b804200012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:17:46] local.INFO: Processing buffer {"connection_id":130531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b804200012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:17:46] local.INFO: Packet analysis {"connection_id":130531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b80"} 
[2026-07-13 18:17:46] local.INFO: Extracted packet for processing {"connection_id":130531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b80"} 
[2026-07-13 18:17:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690242304001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:17:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783946560000,"timestamp_ms":1783946560000,"timestamp_seconds":1783946560,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b804200"} 
[2026-07-13 18:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-13 18:17:46] 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-07-13 18:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690242304001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690242304001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:17:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:17:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:17:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690242304001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":130531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481258,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:17:46] local.INFO: GPS data processed {"connection_id":130531,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:17:46] local.INFO: Acknowledgment sent {"connection_id":130531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:17:50] local.INFO: TCP Data received {"connection_id":130531,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b804200012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b804200012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:17:50] local.INFO: Processing buffer {"connection_id":130531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b804200012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:17:50] local.INFO: Packet analysis {"connection_id":130531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b80"} 
[2026-07-13 18:17:50] local.INFO: Extracted packet for processing {"connection_id":130531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b80"} 
[2026-07-13 18:17:50] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690242304001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:17:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783946560000,"timestamp_ms":1783946560000,"timestamp_seconds":1783946560,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b804200"} 
[2026-07-13 18:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18: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-07-13 18:17:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690242304001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690242304001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:17:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:17:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:17:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690242304001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":130531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481259,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:17:50] local.INFO: GPS data processed {"connection_id":130531,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:17:50] local.INFO: Acknowledgment sent {"connection_id":130531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:17:53] local.INFO: TCP Data received {"connection_id":130532,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:17:53] local.INFO: Processing buffer {"connection_id":130532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:17:53] local.INFO: IMEI packet received {"connection_id":130532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":130532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:17:58] local.INFO: TCP Data received {"connection_id":130532,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:17:58] local.INFO: Processing buffer {"connection_id":130532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:17:58] local.INFO: IMEI packet received {"connection_id":130532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":130532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:17:58] local.INFO: TCP Data received {"connection_id":130532,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b835ee0012d187f0007223b30005a00d323..."} 
[2026-07-13 18:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b835ee0012d187f0007223b30005a00d323..."} 
[2026-07-13 18:17:58] local.INFO: Processing buffer {"connection_id":130532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b835ee0012d187f0007223b30005a00d323..."} 
[2026-07-13 18:17:58] local.INFO: Packet analysis {"connection_id":130532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b83"} 
[2026-07-13 18:17:58] local.INFO: Extracted packet for processing {"connection_id":130532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b83"} 
[2026-07-13 18:17:58] local.INFO: GPS Element Parsed {"raw_longitude":756580096,"raw_latitude":119683888,"longitude_deg":75.6580096,"latitude_deg":11.9683888,"altitude":90,"angle":211,"satellites":35,"speed":39,"hex_longitude":"2d187f00","hex_latitude":"07223b30","is_valid_coordinates":true} 
[2026-07-13 18:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690369280001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5919942402637824,"note":"Value kept but may cause issues"} 
[2026-07-13 18:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1770688740383580160,"note":"Value kept but may cause issues"} 
[2026-07-13 18:17: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-07-13 18:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783946764000,"timestamp_ms":1783946764000,"timestamp_seconds":1783946764,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b835ee0"} 
[2026-07-13 18:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-13 18:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690369280001,"66":12341,"105":206,"83":41984,"24":39,"16":5919942402637824,"45":1770688740383580160},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-13 18:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690369280001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:17:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-13 18:17:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5919942402637824,"km_value":5919942402637.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1770688740383580160,"description":"Unknown IO ID 45"} 
[2026-07-13 18:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690369280001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1770688740383580160}} 
[2026-07-13 18:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":130532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:17:59] local.INFO: GPS data processed {"connection_id":130532,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:17:59] local.INFO: Acknowledgment sent {"connection_id":130532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:18:13] local.INFO: TCP Data received {"connection_id":131552,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b817698012d7f914005afd9380012011b25..."} 
[2026-07-13 18:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b817698012d7f914005afd9380012011b25..."} 
[2026-07-13 18:18:13] local.INFO: Processing buffer {"connection_id":131552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b817698012d7f914005afd9380012011b25..."} 
[2026-07-13 18:18:13] local.INFO: Packet analysis {"connection_id":131552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b81"} 
[2026-07-13 18:18:13] local.INFO: Extracted packet for processing {"connection_id":131552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b81"} 
[2026-07-13 18:18:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690262528001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783946639000,"timestamp_ms":1783946639000,"timestamp_seconds":1783946639,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b817698"} 
[2026-07-13 18:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690262528001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690262528001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:18:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:18:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690262528001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":131552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:18:13] local.INFO: GPS data processed {"connection_id":131552,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:18:13] local.INFO: Acknowledgment sent {"connection_id":131552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:18:22] local.INFO: TCP Data received {"connection_id":130531,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:18:22] local.INFO: Processing buffer {"connection_id":130531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:18:22] local.INFO: Packet analysis {"connection_id":130531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:18:22] local.INFO: Extracted packet for processing {"connection_id":130531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:18:22] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690319360001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:18:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783946861000,"timestamp_ms":1783946861000,"timestamp_seconds":1783946861,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b84d9c8"} 
[2026-07-13 18:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690319360001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690319360001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:18:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:18:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:18:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690319360001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":130531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481262,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:18:22] local.INFO: GPS data processed {"connection_id":130531,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:18:22] local.INFO: Acknowledgment sent {"connection_id":130531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:18:29] local.INFO: TCP Data received {"connection_id":130532,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8385f0012d186a4007221b20005300d622..."} 
[2026-07-13 18:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8385f0012d186a4007221b20005300d622..."} 
[2026-07-13 18:18:29] local.INFO: Processing buffer {"connection_id":130532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8385f0012d186a4007221b20005300d622..."} 
[2026-07-13 18:18:29] local.INFO: Packet analysis {"connection_id":130532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b83"} 
[2026-07-13 18:18:29] local.INFO: Extracted packet for processing {"connection_id":130532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b83"} 
[2026-07-13 18:18:29] local.INFO: GPS Element Parsed {"raw_longitude":756574784,"raw_latitude":119675680,"longitude_deg":75.6574784,"latitude_deg":11.967568,"altitude":83,"angle":214,"satellites":34,"speed":37,"hex_longitude":"2d186a40","hex_latitude":"07221b20","is_valid_coordinates":true} 
[2026-07-13 18:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690371584001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5920414849040384,"note":"Value kept but may cause issues"} 
[2026-07-13 18:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765129609591599104,"note":"Value kept but may cause issues"} 
[2026-07-13 18:18: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-07-13 18:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783946774000,"timestamp_ms":1783946774000,"timestamp_seconds":1783946774,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8385f0"} 
[2026-07-13 18:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-13 18:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690371584001,"66":12113,"105":206,"83":41984,"24":37,"16":5920414849040384,"45":1765129609591599104},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-13 18:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690371584001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:18:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-13 18:18:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5920414849040384,"km_value":5920414849040.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765129609591599104,"description":"Unknown IO ID 45"} 
[2026-07-13 18:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690371584001,"power":12113,"unknown_105":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1765129609591599104}} 
[2026-07-13 18:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":130532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:18:29] local.INFO: GPS data processed {"connection_id":130532,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:18:29] local.INFO: Acknowledgment sent {"connection_id":130532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:18:34] local.INFO: TCP Data received {"connection_id":132883,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:18:34] local.INFO: Processing buffer {"connection_id":132883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:18:34] local.INFO: IMEI packet received {"connection_id":132883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":132883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:18:39] local.INFO: TCP Data received {"connection_id":132883,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:18:39] local.INFO: Processing buffer {"connection_id":132883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:18:39] local.INFO: IMEI packet received {"connection_id":132883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":132883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:18:39] local.INFO: TCP Data received {"connection_id":130533,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130533,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:18:39] local.INFO: Processing buffer {"connection_id":130533,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:18:39] local.INFO: IMEI packet received {"connection_id":130533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":130533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:18:40] local.INFO: TCP Data received {"connection_id":132883,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b817698012d7f914005afd9380012011b25..."} 
[2026-07-13 18:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b817698012d7f914005afd9380012011b25..."} 
[2026-07-13 18:18:40] local.INFO: Processing buffer {"connection_id":132883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b817698012d7f914005afd9380012011b25..."} 
[2026-07-13 18:18:40] local.INFO: Packet analysis {"connection_id":132883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b81"} 
[2026-07-13 18:18:40] local.INFO: Extracted packet for processing {"connection_id":132883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b81"} 
[2026-07-13 18:18:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690262528001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783946639000,"timestamp_ms":1783946639000,"timestamp_seconds":1783946639,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b817698"} 
[2026-07-13 18:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690262528001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690262528001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:18:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:18:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690262528001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":132883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:18:40] local.INFO: GPS data processed {"connection_id":132883,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:18:40] local.INFO: Acknowledgment sent {"connection_id":132883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:18:45] local.INFO: TCP Data received {"connection_id":130533,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130533,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:18:45] local.INFO: Processing buffer {"connection_id":130533,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:18:45] local.INFO: IMEI packet received {"connection_id":130533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":130533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:18:45] local.INFO: TCP Data received {"connection_id":130533,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:18:45] local.INFO: Processing buffer {"connection_id":130533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:18:45] local.INFO: Packet analysis {"connection_id":130533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:18:45] local.INFO: Extracted packet for processing {"connection_id":130533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:18:45] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690319360001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:18:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783946861000,"timestamp_ms":1783946861000,"timestamp_seconds":1783946861,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b84d9c8"} 
[2026-07-13 18:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130533,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130533,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690319360001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690319360001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:18:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:18:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:18:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690319360001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":130533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481265,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:18:46] local.INFO: GPS data processed {"connection_id":130533,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:18:46] local.INFO: Acknowledgment sent {"connection_id":130533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:18:51] local.INFO: TCP Data received {"connection_id":132884,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:18:51] local.INFO: Processing buffer {"connection_id":132884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:18:51] local.INFO: IMEI packet received {"connection_id":132884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":132884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:18:52] local.INFO: TCP Data received {"connection_id":132884,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:18:52] local.INFO: Processing buffer {"connection_id":132884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:18:52] local.INFO: IMEI packet received {"connection_id":132884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":132884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:18:58] local.INFO: TCP Data received {"connection_id":132884,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:18:58] local.INFO: Processing buffer {"connection_id":132884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:18:58] local.INFO: IMEI packet received {"connection_id":132884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":132884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:18:58] local.INFO: TCP Data received {"connection_id":132884,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8504c0012d181ec00721a868004d009428..."} 
[2026-07-13 18:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8504c0012d181ec00721a868004d009428..."} 
[2026-07-13 18:18:58] local.INFO: Processing buffer {"connection_id":132884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8504c0012d181ec00721a868004d009428..."} 
[2026-07-13 18:18:58] local.INFO: Packet analysis {"connection_id":132884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b85"} 
[2026-07-13 18:18:58] local.INFO: Extracted packet for processing {"connection_id":132884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b85"} 
[2026-07-13 18:18:58] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119646312,"longitude_deg":75.6555456,"latitude_deg":11.9646312,"altitude":77,"angle":148,"satellites":40,"speed":6,"hex_longitude":"2d181ec0","hex_latitude":"0721a868","is_valid_coordinates":true} 
[2026-07-13 18:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690398976001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5922119951056896,"note":"Value kept but may cause issues"} 
[2026-07-13 18:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329448448,"note":"Value kept but may cause issues"} 
[2026-07-13 18:18: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-07-13 18:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783946872000,"timestamp_ms":1783946872000,"timestamp_seconds":1783946872,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8504c0"} 
[2026-07-13 18:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-13 18:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:18:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690398976001,"66":13820,"105":206,"83":41984,"24":6,"16":5922119951056896,"45":1737967274329448448},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-13 18:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690398976001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:18:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-13 18:18:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5922119951056896,"km_value":5922119951056.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329448448,"description":"Unknown IO ID 45"} 
[2026-07-13 18:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690398976001,"power":13820,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1737967274329448448}} 
[2026-07-13 18:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":132884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:18:59] local.INFO: GPS data processed {"connection_id":132884,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:18:59] local.INFO: Acknowledgment sent {"connection_id":132884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:19:11] local.INFO: TCP Data received {"connection_id":132883,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b817698012d7f914005afd9380012011b25..."} 
[2026-07-13 18:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b817698012d7f914005afd9380012011b25..."} 
[2026-07-13 18:19:11] local.INFO: Processing buffer {"connection_id":132883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b817698012d7f914005afd9380012011b25..."} 
[2026-07-13 18:19:11] local.INFO: Packet analysis {"connection_id":132883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b81"} 
[2026-07-13 18:19:11] local.INFO: Extracted packet for processing {"connection_id":132883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b81"} 
[2026-07-13 18:19:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690262528001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783946639000,"timestamp_ms":1783946639000,"timestamp_seconds":1783946639,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b817698"} 
[2026-07-13 18:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690262528001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690262528001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:19:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690262528001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":132883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:19:11] local.INFO: GPS data processed {"connection_id":132883,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:19:11] local.INFO: Acknowledgment sent {"connection_id":132883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:19:17] local.INFO: TCP Data received {"connection_id":130533,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:19:17] local.INFO: Processing buffer {"connection_id":130533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:19:17] local.INFO: Packet analysis {"connection_id":130533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:19:17] local.INFO: Extracted packet for processing {"connection_id":130533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:19:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 18:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690319360001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:19:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783946861000,"timestamp_ms":1783946861000,"timestamp_seconds":1783946861,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b84d9c8"} 
[2026-07-13 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-07-13 18:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 18:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130533,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130533,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690319360001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690319360001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:19:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:19:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:19:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690319360001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":130533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481268,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:19:17] local.INFO: GPS data processed {"connection_id":130533,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:19:17] local.INFO: Acknowledgment sent {"connection_id":130533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:19:30] local.INFO: TCP Data received {"connection_id":132884,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8508a8012d181f400721a7f8004d008028..."} 
[2026-07-13 18:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8508a8012d181f400721a7f8004d008028..."} 
[2026-07-13 18:19:30] local.INFO: Processing buffer {"connection_id":132884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8508a8012d181f400721a7f8004d008028..."} 
[2026-07-13 18:19:30] local.INFO: Packet analysis {"connection_id":132884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b85"} 
[2026-07-13 18:19:30] local.INFO: Extracted packet for processing {"connection_id":132884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b85"} 
[2026-07-13 18:19:30] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119646200,"longitude_deg":75.6555584,"latitude_deg":11.96462,"altitude":77,"angle":128,"satellites":40,"speed":5,"hex_longitude":"2d181f40","hex_latitude":"0721a7f8","is_valid_coordinates":true} 
[2026-07-13 18:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690399232001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5922124246024192,"note":"Value kept but may cause issues"} 
[2026-07-13 18:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073579008,"note":"Value kept but may cause issues"} 
[2026-07-13 18:19: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-07-13 18:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783946873000,"timestamp_ms":1783946873000,"timestamp_seconds":1783946873,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8508a8"} 
[2026-07-13 18:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-13 18:19: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-07-13 18:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":132884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":132884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":132884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690399232001,"66":13820,"105":206,"83":41984,"24":5,"16":5922124246024192,"45":1738037643073579008},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-13 18:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690399232001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:19:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-13 18:19:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5922124246024192,"km_value":5922124246024.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073579008,"description":"Unknown IO ID 45"} 
[2026-07-13 18:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690399232001,"power":13820,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1738037643073579008}} 
[2026-07-13 18:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":132884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:19:30] local.INFO: GPS data processed {"connection_id":132884,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:19:30] local.INFO: Acknowledgment sent {"connection_id":132884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:19:34] local.INFO: TCP Data received {"connection_id":130744,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:19:34] local.INFO: Processing buffer {"connection_id":130744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:19:34] local.INFO: IMEI packet received {"connection_id":130744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":130744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:19:39] local.INFO: TCP Data received {"connection_id":130744,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:19:39] local.INFO: Processing buffer {"connection_id":130744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:19:39] local.INFO: IMEI packet received {"connection_id":130744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":130744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:19:39] local.INFO: TCP Data received {"connection_id":130744,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:19:39] local.INFO: Processing buffer {"connection_id":130744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:19:39] local.INFO: IMEI packet received {"connection_id":130744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":130744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:19:40] local.INFO: TCP Data received {"connection_id":130744,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b860e60012d7f914005afd9380012011b22..."} 
[2026-07-13 18:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b860e60012d7f914005afd9380012011b22..."} 
[2026-07-13 18:19:40] local.INFO: Processing buffer {"connection_id":130744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b860e60012d7f914005afd9380012011b22..."} 
[2026-07-13 18:19:40] local.INFO: Packet analysis {"connection_id":130744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b86"} 
[2026-07-13 18:19:40] local.INFO: Extracted packet for processing {"connection_id":130744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b86"} 
[2026-07-13 18:19:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690339584001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783946940000,"timestamp_ms":1783946940000,"timestamp_seconds":1783946940,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b860e60"} 
[2026-07-13 18:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 18:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690339584001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690339584001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:19:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:19:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690339584001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":130744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:19:40] local.INFO: GPS data processed {"connection_id":130744,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:19:40] local.INFO: Acknowledgment sent {"connection_id":130744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:19:45] local.INFO: TCP Data received {"connection_id":130745,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130745,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:19:45] local.INFO: Processing buffer {"connection_id":130745,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:19:45] local.INFO: IMEI packet received {"connection_id":130745,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":130745,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:19:50] local.INFO: TCP Data received {"connection_id":130745,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130745,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:19:50] local.INFO: Processing buffer {"connection_id":130745,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:19:50] local.INFO: IMEI packet received {"connection_id":130745,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":130745,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:19:50] local.INFO: TCP Data received {"connection_id":130745,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:19:50] local.INFO: Processing buffer {"connection_id":130745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:19:50] local.INFO: Packet analysis {"connection_id":130745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:19:50] local.INFO: Extracted packet for processing {"connection_id":130745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:19:50] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690319360001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:19:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783946861000,"timestamp_ms":1783946861000,"timestamp_seconds":1783946861,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b84d9c8"} 
[2026-07-13 18:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130745,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130745,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690319360001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690319360001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:19:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:19:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:19:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690319360001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":130745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481271,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:19:51] local.INFO: GPS data processed {"connection_id":130745,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:19:51] local.INFO: Acknowledgment sent {"connection_id":130745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:19:52] local.INFO: TCP Data received {"connection_id":132885,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:19:52] local.INFO: Processing buffer {"connection_id":132885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:19:52] local.INFO: IMEI packet received {"connection_id":132885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":132885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:19:55] local.INFO: TCP Data received {"connection_id":130744,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b860e60012d7f914005afd9380012011b22..."} 
[2026-07-13 18:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b860e60012d7f914005afd9380012011b22..."} 
[2026-07-13 18:19:55] local.INFO: Processing buffer {"connection_id":130744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b860e60012d7f914005afd9380012011b22..."} 
[2026-07-13 18:19:55] local.INFO: Packet analysis {"connection_id":130744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b86"} 
[2026-07-13 18:19:55] local.INFO: Extracted packet for processing {"connection_id":130744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b86"} 
[2026-07-13 18:19:55] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690339584001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783946940000,"timestamp_ms":1783946940000,"timestamp_seconds":1783946940,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b860e60"} 
[2026-07-13 18:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 18:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690339584001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690339584001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:19:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:19:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690339584001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":130744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:19:55] local.INFO: GPS data processed {"connection_id":130744,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:19:55] local.INFO: Acknowledgment sent {"connection_id":130744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:19:55] local.INFO: TCP Data received {"connection_id":130745,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:19:55] local.INFO: Processing buffer {"connection_id":130745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:19:55] local.INFO: Packet analysis {"connection_id":130745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:19:55] local.INFO: Extracted packet for processing {"connection_id":130745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:19:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690319360001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:19:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783946861000,"timestamp_ms":1783946861000,"timestamp_seconds":1783946861,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b84d9c8"} 
[2026-07-13 18:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130745,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130745,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690319360001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690319360001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:19:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:19:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:19:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690319360001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":130745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481273,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:19:55] local.INFO: GPS data processed {"connection_id":130745,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:19:55] local.INFO: Acknowledgment sent {"connection_id":130745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:19:56] local.INFO: TCP Data received {"connection_id":132885,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:19:56] local.INFO: Processing buffer {"connection_id":132885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:19:56] local.INFO: IMEI packet received {"connection_id":132885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":132885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:19:57] local.INFO: TCP Data received {"connection_id":132885,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:19:57] local.INFO: Processing buffer {"connection_id":132885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:19:57] local.INFO: IMEI packet received {"connection_id":132885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":132885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:19:58] local.INFO: TCP Data received {"connection_id":132885,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b855ab0012d181f800721a7b0004d008024..."} 
[2026-07-13 18:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b855ab0012d181f800721a7b0004d008024..."} 
[2026-07-13 18:19:58] local.INFO: Processing buffer {"connection_id":132885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b855ab0012d181f800721a7b0004d008024..."} 
[2026-07-13 18:19:58] local.INFO: Packet analysis {"connection_id":132885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b85"} 
[2026-07-13 18:19:58] local.INFO: Extracted packet for processing {"connection_id":132885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b85"} 
[2026-07-13 18:19:58] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119646128,"longitude_deg":75.6555648,"latitude_deg":11.9646128,"altitude":77,"angle":128,"satellites":36,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721a7b0","is_valid_coordinates":true} 
[2026-07-13 18:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690399488001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5922132835958784,"note":"Value kept but may cause issues"} 
[2026-07-13 18:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561905664,"note":"Value kept but may cause issues"} 
[2026-07-13 18:19: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-07-13 18:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783946894000,"timestamp_ms":1783946894000,"timestamp_seconds":1783946894,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b855ab0"} 
[2026-07-13 18:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-13 18:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690399488001,"66":13798,"105":206,"83":41984,"24":0,"16":5922132835958784,"45":1738178380561905664},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-13 18:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690399488001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:19:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-13 18:19:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5922132835958784,"km_value":5922132835958.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561905664,"description":"Unknown IO ID 45"} 
[2026-07-13 18:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690399488001,"power":13798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380561905664}} 
[2026-07-13 18:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":132885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:19:58] local.INFO: GPS data processed {"connection_id":132885,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:19:58] local.INFO: Acknowledgment sent {"connection_id":132885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:20:03] local.INFO: TCP Data received {"connection_id":132885,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b85acb8012d181f800721a7b0004d008029..."} 
[2026-07-13 18:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b85acb8012d181f800721a7b0004d008029..."} 
[2026-07-13 18:20:03] local.INFO: Processing buffer {"connection_id":132885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b85acb8012d181f800721a7b0004d008029..."} 
[2026-07-13 18:20:03] local.INFO: Packet analysis {"connection_id":132885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b85"} 
[2026-07-13 18:20:03] local.INFO: Extracted packet for processing {"connection_id":132885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b85"} 
[2026-07-13 18:20:03] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119646128,"longitude_deg":75.6555648,"latitude_deg":11.9646128,"altitude":77,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721a7b0","is_valid_coordinates":true} 
[2026-07-13 18:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690404864001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5922132835958784,"note":"Value kept but may cause issues"} 
[2026-07-13 18:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306064896,"note":"Value kept but may cause issues"} 
[2026-07-13 18:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783946915000,"timestamp_ms":1783946915000,"timestamp_seconds":1783946915,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b85acb8"} 
[2026-07-13 18:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-07-13 18:20: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-07-13 18:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":132885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":132885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":132885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690404864001,"66":14265,"105":206,"83":41984,"24":0,"16":5922132835958784,"45":1738248749306064896},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-13 18:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690404864001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:20:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-13 18:20:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5922132835958784,"km_value":5922132835958.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306064896,"description":"Unknown IO ID 45"} 
[2026-07-13 18:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690404864001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306064896}} 
[2026-07-13 18:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":132885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:20:03] local.INFO: GPS data processed {"connection_id":132885,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:20:03] local.INFO: Acknowledgment sent {"connection_id":132885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:20:34] local.INFO: TCP Data received {"connection_id":130746,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:20:34] local.INFO: Processing buffer {"connection_id":130746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:20:34] local.INFO: IMEI packet received {"connection_id":130746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":130746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:20:35] local.INFO: TCP Data received {"connection_id":132885,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b85fec0012d181f800721a7b0004d008028..."} 
[2026-07-13 18:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b85fec0012d181f800721a7b0004d008028..."} 
[2026-07-13 18:20:35] local.INFO: Processing buffer {"connection_id":132885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b85fec0012d181f800721a7b0004d008028..."} 
[2026-07-13 18:20:35] local.INFO: Packet analysis {"connection_id":132885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b85"} 
[2026-07-13 18:20:35] local.INFO: Extracted packet for processing {"connection_id":132885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b85"} 
[2026-07-13 18:20:35] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119646128,"longitude_deg":75.6555648,"latitude_deg":11.9646128,"altitude":77,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721a7b0","is_valid_coordinates":true} 
[2026-07-13 18:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690410240001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5922132835958784,"note":"Value kept but may cause issues"} 
[2026-07-13 18:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306064896,"note":"Value kept but may cause issues"} 
[2026-07-13 18:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783946936000,"timestamp_ms":1783946936000,"timestamp_seconds":1783946936,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b85fec0"} 
[2026-07-13 18:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-13 18:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690410240001,"66":13993,"105":206,"83":41984,"24":0,"16":5922132835958784,"45":1738248749306064896},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-13 18:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690410240001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:20:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-13 18:20:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5922132835958784,"km_value":5922132835958.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306064896,"description":"Unknown IO ID 45"} 
[2026-07-13 18:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690410240001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306064896}} 
[2026-07-13 18:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":132885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:20:35] local.INFO: GPS data processed {"connection_id":132885,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:20:35] local.INFO: Acknowledgment sent {"connection_id":132885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:20:39] local.INFO: TCP Data received {"connection_id":130746,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:20:39] local.INFO: Processing buffer {"connection_id":130746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:20:39] local.INFO: IMEI packet received {"connection_id":130746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":130746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:20:40] local.INFO: TCP Data received {"connection_id":130534,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130534,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:20:40] local.INFO: Processing buffer {"connection_id":130534,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:20:40] local.INFO: IMEI packet received {"connection_id":130534,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":130534,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:20:40] local.INFO: TCP Data received {"connection_id":130746,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b860e60012d7f914005afd9380012011b22..."} 
[2026-07-13 18:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b860e60012d7f914005afd9380012011b22..."} 
[2026-07-13 18:20:40] local.INFO: Processing buffer {"connection_id":130746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b860e60012d7f914005afd9380012011b22..."} 
[2026-07-13 18:20:40] local.INFO: Packet analysis {"connection_id":130746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b86"} 
[2026-07-13 18:20:40] local.INFO: Extracted packet for processing {"connection_id":130746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b86"} 
[2026-07-13 18:20:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690339584001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783946940000,"timestamp_ms":1783946940000,"timestamp_seconds":1783946940,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b860e60"} 
[2026-07-13 18:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 18:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690339584001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690339584001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:20:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:20:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690339584001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":130746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:20:40] local.INFO: GPS data processed {"connection_id":130746,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:20:40] local.INFO: Acknowledgment sent {"connection_id":130746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:20:45] local.INFO: TCP Data received {"connection_id":130534,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130534,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:20:45] local.INFO: Processing buffer {"connection_id":130534,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:20:45] local.INFO: IMEI packet received {"connection_id":130534,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":130534,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:20:46] local.INFO: TCP Data received {"connection_id":130534,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:20:46] local.INFO: Processing buffer {"connection_id":130534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:20:46] local.INFO: Packet analysis {"connection_id":130534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:20:46] local.INFO: Extracted packet for processing {"connection_id":130534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:20:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690319360001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:20:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783946861000,"timestamp_ms":1783946861000,"timestamp_seconds":1783946861,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b84d9c8"} 
[2026-07-13 18:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130534,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130534,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690319360001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690319360001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:20:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:20:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:20:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690319360001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":130534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481278,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:20:46] local.INFO: GPS data processed {"connection_id":130534,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:20:46] local.INFO: Acknowledgment sent {"connection_id":130534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:20:52] local.INFO: TCP Data received {"connection_id":131553,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:20:52] local.INFO: Processing buffer {"connection_id":131553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:20:52] local.INFO: IMEI packet received {"connection_id":131553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":131553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:20:56] local.INFO: TCP Data received {"connection_id":131553,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:20:56] local.INFO: Processing buffer {"connection_id":131553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:20:56] local.INFO: IMEI packet received {"connection_id":131553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":131553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:20:57] local.INFO: TCP Data received {"connection_id":131553,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:20:57] local.INFO: Processing buffer {"connection_id":131553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:20:57] local.INFO: IMEI packet received {"connection_id":131553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":131553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:20:58] local.INFO: TCP Data received {"connection_id":131553,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8650c8012d182d8007219b780051007b27..."} 
[2026-07-13 18:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8650c8012d182d8007219b780051007b27..."} 
[2026-07-13 18:20:58] local.INFO: Processing buffer {"connection_id":131553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8650c8012d182d8007219b780051007b27..."} 
[2026-07-13 18:20:58] local.INFO: Packet analysis {"connection_id":131553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b86"} 
[2026-07-13 18:20:58] local.INFO: Extracted packet for processing {"connection_id":131553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b86"} 
[2026-07-13 18:20:58] local.INFO: GPS Element Parsed {"raw_longitude":756559232,"raw_latitude":119643000,"longitude_deg":75.6559232,"latitude_deg":11.9643,"altitude":81,"angle":123,"satellites":39,"speed":0,"hex_longitude":"2d182d80","hex_latitude":"07219b78","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690415616001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5922360469225472,"note":"Value kept but may cause issues"} 
[2026-07-13 18:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306064896,"note":"Value kept but may cause issues"} 
[2026-07-13 18:20: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-07-13 18:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783946957000,"timestamp_ms":1783946957000,"timestamp_seconds":1783946957,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8650c8"} 
[2026-07-13 18:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-13 18:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690415616001,"66":14157,"105":206,"83":41984,"24":0,"16":5922360469225472,"45":1738248749306064896},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-13 18:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690415616001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:20:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-13 18:20:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5922360469225472,"km_value":5922360469225.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306064896,"description":"Unknown IO ID 45"} 
[2026-07-13 18:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690415616001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306064896}} 
[2026-07-13 18:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":131553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:20:58] local.INFO: GPS data processed {"connection_id":131553,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:20:58] local.INFO: Acknowledgment sent {"connection_id":131553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:21:11] local.INFO: TCP Data received {"connection_id":130746,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b860e60012d7f914005afd9380012011b22..."} 
[2026-07-13 18:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b860e60012d7f914005afd9380012011b22..."} 
[2026-07-13 18:21:11] local.INFO: Processing buffer {"connection_id":130746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b860e60012d7f914005afd9380012011b22..."} 
[2026-07-13 18:21:11] local.INFO: Packet analysis {"connection_id":130746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b86"} 
[2026-07-13 18:21:11] local.INFO: Extracted packet for processing {"connection_id":130746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b86"} 
[2026-07-13 18:21:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690339584001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783946940000,"timestamp_ms":1783946940000,"timestamp_seconds":1783946940,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b860e60"} 
[2026-07-13 18:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 18:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690339584001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690339584001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:21:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:21:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690339584001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":130746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:21:11] local.INFO: GPS data processed {"connection_id":130746,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:21:11] local.INFO: Acknowledgment sent {"connection_id":130746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:21:17] local.INFO: TCP Data received {"connection_id":130534,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:21:17] local.INFO: Processing buffer {"connection_id":130534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:21:17] local.INFO: Packet analysis {"connection_id":130534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:21:17] local.INFO: Extracted packet for processing {"connection_id":130534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:21:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690319360001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:21:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783946861000,"timestamp_ms":1783946861000,"timestamp_seconds":1783946861,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b84d9c8"} 
[2026-07-13 18:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130534,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130534,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690319360001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690319360001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:21:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:21:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:21:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690319360001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":130534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481281,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:21:17] local.INFO: GPS data processed {"connection_id":130534,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:21:17] local.INFO: Acknowledgment sent {"connection_id":130534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:21:30] local.INFO: TCP Data received {"connection_id":131553,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b879118012d18c880072138280044009525..."} 
[2026-07-13 18:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b879118012d18c880072138280044009525..."} 
[2026-07-13 18:21:30] local.INFO: Processing buffer {"connection_id":131553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b879118012d18c880072138280044009525..."} 
[2026-07-13 18:21:30] local.INFO: Packet analysis {"connection_id":131553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b87"} 
[2026-07-13 18:21:30] local.INFO: Extracted packet for processing {"connection_id":131553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b87"} 
[2026-07-13 18:21:30] local.INFO: GPS Element Parsed {"raw_longitude":756598912,"raw_latitude":119617576,"longitude_deg":75.6598912,"latitude_deg":11.9617576,"altitude":68,"angle":149,"satellites":37,"speed":32,"hex_longitude":"2d18c880","hex_latitude":"07213828","is_valid_coordinates":true} 
[2026-07-13 18:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690441472001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5924830075420672,"note":"Value kept but may cause issues"} 
[2026-07-13 18:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785043964177287168,"note":"Value kept but may cause issues"} 
[2026-07-13 18:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783947039000,"timestamp_ms":1783947039000,"timestamp_seconds":1783947039,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b879118"} 
[2026-07-13 18:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-13 18:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":131553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":131553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":131553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690441472001,"66":14265,"106":206,"83":41984,"24":32,"16":5924830075420672,"45":1785043964177287168},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-13 18:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690441472001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:21:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-13 18:21:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5924830075420672,"km_value":5924830075420.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785043964177287168,"description":"Unknown IO ID 45"} 
[2026-07-13 18:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690441472001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1785043964177287168}} 
[2026-07-13 18:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":131553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:21:30] local.INFO: GPS data processed {"connection_id":131553,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:21:30] local.INFO: Acknowledgment sent {"connection_id":131553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:21:34] local.INFO: TCP Data received {"connection_id":132886,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:21:34] local.INFO: Processing buffer {"connection_id":132886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:21:34] local.INFO: IMEI packet received {"connection_id":132886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":132886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:21:39] local.INFO: TCP Data received {"connection_id":132886,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:21:39] local.INFO: Processing buffer {"connection_id":132886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:21:39] local.INFO: IMEI packet received {"connection_id":132886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":132886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:21:39] local.INFO: TCP Data received {"connection_id":132887,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132887,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:21:39] local.INFO: Processing buffer {"connection_id":132887,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:21:39] local.INFO: IMEI packet received {"connection_id":132887,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":132887,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:21:40] local.INFO: TCP Data received {"connection_id":132886,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b860e60012d7f914005afd9380012011b22..."} 
[2026-07-13 18:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b860e60012d7f914005afd9380012011b22..."} 
[2026-07-13 18:21:40] local.INFO: Processing buffer {"connection_id":132886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b860e60012d7f914005afd9380012011b22..."} 
[2026-07-13 18:21:40] local.INFO: Packet analysis {"connection_id":132886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b86"} 
[2026-07-13 18:21:40] local.INFO: Extracted packet for processing {"connection_id":132886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b86"} 
[2026-07-13 18:21:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690339584001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783946940000,"timestamp_ms":1783946940000,"timestamp_seconds":1783946940,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b860e60"} 
[2026-07-13 18:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 18:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690339584001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690339584001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:21:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:21:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690339584001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":132886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:21:40] local.INFO: GPS data processed {"connection_id":132886,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:21:40] local.INFO: Acknowledgment sent {"connection_id":132886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:21:47] local.INFO: TCP Data received {"connection_id":132887,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132887,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:21:47] local.INFO: Processing buffer {"connection_id":132887,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:21:47] local.INFO: IMEI packet received {"connection_id":132887,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":132887,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:21:48] local.INFO: TCP Data received {"connection_id":132887,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:21:48] local.INFO: Processing buffer {"connection_id":132887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:21:48] local.INFO: Packet analysis {"connection_id":132887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:21:48] local.INFO: Extracted packet for processing {"connection_id":132887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:21:48] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690319360001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:21:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783946861000,"timestamp_ms":1783946861000,"timestamp_seconds":1783946861,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b84d9c8"} 
[2026-07-13 18:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:21:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:21:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":132887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":132887,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":132887,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690319360001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690319360001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:21:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:21:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:21:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690319360001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":132887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481284,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:21:48] local.INFO: GPS data processed {"connection_id":132887,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:21:48] local.INFO: Acknowledgment sent {"connection_id":132887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:21:52] local.INFO: TCP Data received {"connection_id":130747,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:21:52] local.INFO: Processing buffer {"connection_id":130747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:21:52] local.INFO: IMEI packet received {"connection_id":130747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":130747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:21:53] local.INFO: TCP Data received {"connection_id":130747,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:21:53] local.INFO: Processing buffer {"connection_id":130747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:21:53] local.INFO: IMEI packet received {"connection_id":130747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":130747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:21:54] local.INFO: TCP Data received {"connection_id":130747,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:21:54] local.INFO: Processing buffer {"connection_id":130747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:21:54] local.INFO: IMEI packet received {"connection_id":130747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":130747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:21:55] local.INFO: TCP Data received {"connection_id":130747,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:21:55] local.INFO: Processing buffer {"connection_id":130747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:21:55] local.INFO: IMEI packet received {"connection_id":130747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":130747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:22:11] local.INFO: TCP Data received {"connection_id":132886,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b860e60012d7f914005afd9380012011b22..."} 
[2026-07-13 18:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b860e60012d7f914005afd9380012011b22..."} 
[2026-07-13 18:22:11] local.INFO: Processing buffer {"connection_id":132886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b860e60012d7f914005afd9380012011b22..."} 
[2026-07-13 18:22:11] local.INFO: Packet analysis {"connection_id":132886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b86"} 
[2026-07-13 18:22:11] local.INFO: Extracted packet for processing {"connection_id":132886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b86"} 
[2026-07-13 18:22:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690339584001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783946940000,"timestamp_ms":1783946940000,"timestamp_seconds":1783946940,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b860e60"} 
[2026-07-13 18:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 18:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690339584001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690339584001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:22:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:22:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690339584001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":132886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:22:11] local.INFO: GPS data processed {"connection_id":132886,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:22:11] local.INFO: Acknowledgment sent {"connection_id":132886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:22:19] local.INFO: TCP Data received {"connection_id":132887,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:22:19] local.INFO: Processing buffer {"connection_id":132887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:22:19] local.INFO: Packet analysis {"connection_id":132887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:22:19] local.INFO: Extracted packet for processing {"connection_id":132887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:22:19] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690319360001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:22:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783946861000,"timestamp_ms":1783946861000,"timestamp_seconds":1783946861,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b84d9c8"} 
[2026-07-13 18:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:22:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:22:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":132887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":132887,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":132887,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690319360001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690319360001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:22:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:22:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:22:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690319360001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":132887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481286,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:22:19] local.INFO: GPS data processed {"connection_id":132887,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:22:19] local.INFO: Acknowledgment sent {"connection_id":132887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:22:34] local.INFO: TCP Data received {"connection_id":131554,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:22:34] local.INFO: Processing buffer {"connection_id":131554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:22:34] local.INFO: IMEI packet received {"connection_id":131554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":131554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:22:39] local.INFO: TCP Data received {"connection_id":131554,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:22:39] local.INFO: Processing buffer {"connection_id":131554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:22:39] local.INFO: IMEI packet received {"connection_id":131554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":131554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:22:39] local.INFO: TCP Data received {"connection_id":132888,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:22:39] local.INFO: Processing buffer {"connection_id":132888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:22:39] local.INFO: IMEI packet received {"connection_id":132888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 18:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":132888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:22:39] local.INFO: TCP Data received {"connection_id":130748,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:22:39] local.INFO: Processing buffer {"connection_id":130748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:22:39] local.INFO: IMEI packet received {"connection_id":130748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":130748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:22:40] local.INFO: TCP Data received {"connection_id":131554,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b860e60012d7f914005afd9380012011b22..."} 
[2026-07-13 18:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b860e60012d7f914005afd9380012011b22..."} 
[2026-07-13 18:22:40] local.INFO: Processing buffer {"connection_id":131554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b860e60012d7f914005afd9380012011b22..."} 
[2026-07-13 18:22:40] local.INFO: Packet analysis {"connection_id":131554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b86"} 
[2026-07-13 18:22:40] local.INFO: Extracted packet for processing {"connection_id":131554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b86"} 
[2026-07-13 18:22:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690339584001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783946940000,"timestamp_ms":1783946940000,"timestamp_seconds":1783946940,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b860e60"} 
[2026-07-13 18:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 18:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690339584001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690339584001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:22:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:22:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690339584001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":131554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:22:40] local.INFO: GPS data processed {"connection_id":131554,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:22:40] local.INFO: Acknowledgment sent {"connection_id":131554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:22:44] local.INFO: TCP Data received {"connection_id":132888,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:22:44] local.INFO: Processing buffer {"connection_id":132888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:22:44] local.INFO: IMEI packet received {"connection_id":132888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":132888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:22:45] local.INFO: TCP Data received {"connection_id":130748,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:22:45] local.INFO: Processing buffer {"connection_id":130748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:22:45] local.INFO: IMEI packet received {"connection_id":130748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":130748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:22:45] local.INFO: TCP Data received {"connection_id":132888,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b841678012d7f9d8005dc5890000501022d..."} 
[2026-07-13 18:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b841678012d7f9d8005dc5890000501022d..."} 
[2026-07-13 18:22:45] local.INFO: Processing buffer {"connection_id":132888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b841678012d7f9d8005dc5890000501022d..."} 
[2026-07-13 18:22:45] local.INFO: Packet analysis {"connection_id":132888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:22:45] local.INFO: Extracted packet for processing {"connection_id":132888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:22:45] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":98326672,"longitude_deg":76.3338112,"latitude_deg":9.8326672,"altitude":5,"angle":258,"satellites":45,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05dc5890","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690378240001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962370815229952,"note":"Value kept but may cause issues"} 
[2026-07-13 18:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776820404224,"note":"Value kept but may cause issues"} 
[2026-07-13 18:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783946811000,"timestamp_ms":1783946811000,"timestamp_seconds":1783946811,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b841678"} 
[2026-07-13 18:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 18:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690378240001,"66":12232,"155":206,"85":15104,"24":0,"16":105962370815229952,"45":9195646776820404224},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-13 18:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690378240001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:22:45] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 18:22:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962370815229952,"km_value":105962370815229.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776820404224,"description":"Unknown IO ID 45"} 
[2026-07-13 18:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690378240001,"power":12232,"unknown_155":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9195646776820404224}} 
[2026-07-13 18:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":132888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:22:46] local.INFO: GPS data processed {"connection_id":132888,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:22:46] local.INFO: Acknowledgment sent {"connection_id":132888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:22:46] local.INFO: TCP Data received {"connection_id":130748,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:22:46] local.INFO: Processing buffer {"connection_id":130748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:22:46] local.INFO: Packet analysis {"connection_id":130748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:22:46] local.INFO: Extracted packet for processing {"connection_id":130748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:22:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690319360001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:22:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783946861000,"timestamp_ms":1783946861000,"timestamp_seconds":1783946861,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b84d9c8"} 
[2026-07-13 18:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690319360001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690319360001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:22:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:22:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:22:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690319360001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":130748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481289,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:22:46] local.INFO: GPS data processed {"connection_id":130748,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:22:46] local.INFO: Acknowledgment sent {"connection_id":130748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:23:13] local.INFO: TCP Data received {"connection_id":131554,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b860e60012d7f914005afd9380012011b22..."} 
[2026-07-13 18:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b860e60012d7f914005afd9380012011b22..."} 
[2026-07-13 18:23:13] local.INFO: Processing buffer {"connection_id":131554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b860e60012d7f914005afd9380012011b22..."} 
[2026-07-13 18:23:13] local.INFO: Packet analysis {"connection_id":131554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b86"} 
[2026-07-13 18:23:13] local.INFO: Extracted packet for processing {"connection_id":131554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b86"} 
[2026-07-13 18:23:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690339584001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783946940000,"timestamp_ms":1783946940000,"timestamp_seconds":1783946940,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b860e60"} 
[2026-07-13 18:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 18:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690339584001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690339584001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:23:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:23:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690339584001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":131554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:23:13] local.INFO: GPS data processed {"connection_id":131554,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:23:13] local.INFO: Acknowledgment sent {"connection_id":131554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:23:18] local.INFO: TCP Data received {"connection_id":130748,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:23:18] local.INFO: Processing buffer {"connection_id":130748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b84d9c8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:23:18] local.INFO: Packet analysis {"connection_id":130748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:23:18] local.INFO: Extracted packet for processing {"connection_id":130748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:23:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690319360001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:23:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783946861000,"timestamp_ms":1783946861000,"timestamp_seconds":1783946861,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b84d9c8"} 
[2026-07-13 18:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690319360001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690319360001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:23:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:23:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:23:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690319360001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":130748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481291,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:23:18] local.INFO: GPS data processed {"connection_id":130748,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:23:18] local.INFO: Acknowledgment sent {"connection_id":130748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:23:34] local.INFO: TCP Data received {"connection_id":130749,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:23:34] local.INFO: Processing buffer {"connection_id":130749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:23:34] local.INFO: IMEI packet received {"connection_id":130749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 18:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":130749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:23:39] local.INFO: TCP Data received {"connection_id":130536,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:23:39] local.INFO: Processing buffer {"connection_id":130536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:23:39] local.INFO: IMEI packet received {"connection_id":130536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":130536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:23:39] local.INFO: TCP Data received {"connection_id":130749,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:23:39] local.INFO: Processing buffer {"connection_id":130749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:23:39] local.INFO: IMEI packet received {"connection_id":130749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":130749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:23:40] local.INFO: TCP Data received {"connection_id":130749,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b846880012d7f9d8005dc5890000501022e..."} 
[2026-07-13 18:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b846880012d7f9d8005dc5890000501022e..."} 
[2026-07-13 18:23:40] local.INFO: Processing buffer {"connection_id":130749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b846880012d7f9d8005dc5890000501022e..."} 
[2026-07-13 18:23:40] local.INFO: Packet analysis {"connection_id":130749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:23:40] local.INFO: Extracted packet for processing {"connection_id":130749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:23:40] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":98326672,"longitude_deg":76.3338112,"latitude_deg":9.8326672,"altitude":5,"angle":258,"satellites":46,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05dc5890","is_valid_coordinates":true} 
[2026-07-13 18:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690383616001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962370815229952,"note":"Value kept but may cause issues"} 
[2026-07-13 18:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776820404224,"note":"Value kept but may cause issues"} 
[2026-07-13 18:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783946832000,"timestamp_ms":1783946832000,"timestamp_seconds":1783946832,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b846880"} 
[2026-07-13 18:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:23: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-07-13 18:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 18:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690383616001,"66":12189,"155":206,"85":15104,"24":0,"16":105962370815229952,"45":9195646776820404224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-13 18:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690383616001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:23:40] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 18:23:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962370815229952,"km_value":105962370815229.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776820404224,"description":"Unknown IO ID 45"} 
[2026-07-13 18:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690383616001,"power":12189,"unknown_155":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9195646776820404224}} 
[2026-07-13 18:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":130749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481292,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:23:40] local.INFO: GPS data processed {"connection_id":130749,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:23:40] local.INFO: Acknowledgment sent {"connection_id":130749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:23:44] local.INFO: TCP Data received {"connection_id":130536,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:23:44] local.INFO: Processing buffer {"connection_id":130536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:23:44] local.INFO: IMEI packet received {"connection_id":130536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":130536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:23:45] local.INFO: TCP Data received {"connection_id":131555,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131555,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:23:45] local.INFO: Processing buffer {"connection_id":131555,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:23:45] local.INFO: IMEI packet received {"connection_id":131555,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":131555,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:23:45] local.INFO: TCP Data received {"connection_id":130749,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b849378012d7f9d8005dc5890000501022e..."} 
[2026-07-13 18:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b849378012d7f9d8005dc5890000501022e..."} 
[2026-07-13 18:23:45] local.INFO: Processing buffer {"connection_id":130749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b849378012d7f9d8005dc5890000501022e..."} 
[2026-07-13 18:23:45] local.INFO: Packet analysis {"connection_id":130749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:23:45] local.INFO: Extracted packet for processing {"connection_id":130749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:23:45] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":98326672,"longitude_deg":76.3338112,"latitude_deg":9.8326672,"altitude":5,"angle":258,"satellites":46,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05dc5890","is_valid_coordinates":true} 
[2026-07-13 18:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690388992001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962370815229952,"note":"Value kept but may cause issues"} 
[2026-07-13 18:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776820404224,"note":"Value kept but may cause issues"} 
[2026-07-13 18:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783946843000,"timestamp_ms":1783946843000,"timestamp_seconds":1783946843,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b849378"} 
[2026-07-13 18:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-07-13 18:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690388992001,"66":12232,"155":206,"85":15104,"24":0,"16":105962370815229952,"45":9195646776820404224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-13 18:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690388992001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:23:45] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 18:23:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962370815229952,"km_value":105962370815229.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776820404224,"description":"Unknown IO ID 45"} 
[2026-07-13 18:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690388992001,"power":12232,"unknown_155":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9195646776820404224}} 
[2026-07-13 18:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":130749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481293,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:23:45] local.INFO: GPS data processed {"connection_id":130749,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:23:45] local.INFO: Acknowledgment sent {"connection_id":130749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:23:46] local.INFO: TCP Data received {"connection_id":130536,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b860e60012d7f914005afd9380012011b22..."} 
[2026-07-13 18:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b860e60012d7f914005afd9380012011b22..."} 
[2026-07-13 18:23:46] local.INFO: Processing buffer {"connection_id":130536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b860e60012d7f914005afd9380012011b22..."} 
[2026-07-13 18:23:46] local.INFO: Packet analysis {"connection_id":130536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b86"} 
[2026-07-13 18:23:46] local.INFO: Extracted packet for processing {"connection_id":130536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b86"} 
[2026-07-13 18:23:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":18,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690339584001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783946940000,"timestamp_ms":1783946940000,"timestamp_seconds":1783946940,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b860e60"} 
[2026-07-13 18:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 18:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690339584001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690339584001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:23:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:23:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690339584001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":130536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:23:46] local.INFO: GPS data processed {"connection_id":130536,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:23:46] local.INFO: Acknowledgment sent {"connection_id":130536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:23:50] local.INFO: TCP Data received {"connection_id":131555,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131555,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:23:50] local.INFO: Processing buffer {"connection_id":131555,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:23:50] local.INFO: IMEI packet received {"connection_id":131555,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":131555,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:23:51] local.INFO: TCP Data received {"connection_id":131555,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b897190012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b897190012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:23:51] local.INFO: Processing buffer {"connection_id":131555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b897190012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:23:51] local.INFO: Packet analysis {"connection_id":131555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b89"} 
[2026-07-13 18:23:51] local.INFO: Extracted packet for processing {"connection_id":131555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b89"} 
[2026-07-13 18:23:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690396416001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:23:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783947162000,"timestamp_ms":1783947162000,"timestamp_seconds":1783947162,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b897190"} 
[2026-07-13 18:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":131555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":131555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":131555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690396416001,"66":24745,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690396416001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:23:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:23:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:23:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690396416001,"power":24745,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":131555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481295,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:23:51] local.INFO: GPS data processed {"connection_id":131555,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:23:51] local.INFO: Acknowledgment sent {"connection_id":131555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:23:55] local.INFO: TCP Data received {"connection_id":131555,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b897190012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b897190012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:23:55] local.INFO: Processing buffer {"connection_id":131555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b897190012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:23:55] local.INFO: Packet analysis {"connection_id":131555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b89"} 
[2026-07-13 18:23:55] local.INFO: Extracted packet for processing {"connection_id":131555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b89"} 
[2026-07-13 18:23:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690396416001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:23:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783947162000,"timestamp_ms":1783947162000,"timestamp_seconds":1783947162,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b897190"} 
[2026-07-13 18:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":131555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":131555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":131555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690396416001,"66":24745,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690396416001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:23:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:23:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:23:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690396416001,"power":24745,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":131555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481296,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:23:55] local.INFO: GPS data processed {"connection_id":131555,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:23:55] local.INFO: Acknowledgment sent {"connection_id":131555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:24:29] local.INFO: TCP Data received {"connection_id":130750,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130750,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:24:29] local.INFO: Processing buffer {"connection_id":130750,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:24:29] local.INFO: IMEI packet received {"connection_id":130750,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 18:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":130750,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:24:34] local.INFO: TCP Data received {"connection_id":130750,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130750,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:24:34] local.INFO: Processing buffer {"connection_id":130750,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:24:34] local.INFO: IMEI packet received {"connection_id":130750,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":130750,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:24:36] local.INFO: TCP Data received {"connection_id":130750,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b849378012d7f9d8005dc5890000501022e..."} 
[2026-07-13 18:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b849378012d7f9d8005dc5890000501022e..."} 
[2026-07-13 18:24:36] local.INFO: Processing buffer {"connection_id":130750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b849378012d7f9d8005dc5890000501022e..."} 
[2026-07-13 18:24:36] local.INFO: Packet analysis {"connection_id":130750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:24:36] local.INFO: Extracted packet for processing {"connection_id":130750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:24:36] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":98326672,"longitude_deg":76.3338112,"latitude_deg":9.8326672,"altitude":5,"angle":258,"satellites":46,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05dc5890","is_valid_coordinates":true} 
[2026-07-13 18:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690391808001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962370815229952,"note":"Value kept but may cause issues"} 
[2026-07-13 18:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776820404224,"note":"Value kept but may cause issues"} 
[2026-07-13 18:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783946843000,"timestamp_ms":1783946843000,"timestamp_seconds":1783946843,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b849378"} 
[2026-07-13 18:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 18:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":130750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":130750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":130750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690391808001,"66":12232,"155":206,"85":15104,"24":0,"16":105962370815229952,"45":9195646776820404224},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-13 18:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690391808001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:24:36] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 18:24:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962370815229952,"km_value":105962370815229.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776820404224,"description":"Unknown IO ID 45"} 
[2026-07-13 18:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690391808001,"power":12232,"unknown_155":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9195646776820404224}} 
[2026-07-13 18:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":130750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481297,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:24:36] local.INFO: GPS data processed {"connection_id":130750,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:24:36] local.INFO: Acknowledgment sent {"connection_id":130750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:24:39] local.INFO: TCP Data received {"connection_id":130537,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:24:39] local.INFO: Processing buffer {"connection_id":130537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:24:39] local.INFO: IMEI packet received {"connection_id":130537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":130537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:24:40] local.INFO: TCP Data received {"connection_id":130751,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130751,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:24:40] local.INFO: Processing buffer {"connection_id":130751,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:24:40] local.INFO: IMEI packet received {"connection_id":130751,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":130751,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:24:45] local.INFO: TCP Data received {"connection_id":130751,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130751,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:24:45] local.INFO: Processing buffer {"connection_id":130751,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:24:45] local.INFO: IMEI packet received {"connection_id":130751,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":130751,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:24:46] local.INFO: TCP Data received {"connection_id":130751,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b897190012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b897190012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:24:46] local.INFO: Processing buffer {"connection_id":130751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b897190012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:24:46] local.INFO: Packet analysis {"connection_id":130751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b89"} 
[2026-07-13 18:24:46] local.INFO: Extracted packet for processing {"connection_id":130751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b89"} 
[2026-07-13 18:24:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690396416001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:24:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783947162000,"timestamp_ms":1783947162000,"timestamp_seconds":1783947162,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b897190"} 
[2026-07-13 18:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690396416001,"66":24745,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690396416001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:24:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:24:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:24:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690396416001,"power":24745,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":130751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481298,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:24:46] local.INFO: GPS data processed {"connection_id":130751,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:24:46] local.INFO: Acknowledgment sent {"connection_id":130751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:24:48] local.INFO: TCP Data received {"connection_id":130537,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:24:48] local.INFO: Processing buffer {"connection_id":130537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:24:48] local.INFO: IMEI packet received {"connection_id":130537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":130537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:24:49] local.INFO: TCP Data received {"connection_id":130537,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:24:49] local.INFO: Processing buffer {"connection_id":130537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:24:49] local.INFO: Packet analysis {"connection_id":130537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8a"} 
[2026-07-13 18:24:49] local.INFO: Extracted packet for processing {"connection_id":130537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8a"} 
[2026-07-13 18:24:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":19,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690416640001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783947241000,"timestamp_ms":1783947241000,"timestamp_seconds":1783947241,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8aa628"} 
[2026-07-13 18:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690416640001,"66":25288,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690416640001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:24:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:24:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690416640001,"power":25288,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":130537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:24:50] local.INFO: GPS data processed {"connection_id":130537,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:24:50] local.INFO: Acknowledgment sent {"connection_id":130537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:24:52] local.INFO: TCP Data received {"connection_id":130537,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:24:52] local.INFO: Processing buffer {"connection_id":130537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:24:52] local.INFO: Packet analysis {"connection_id":130537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8a"} 
[2026-07-13 18:24:52] local.INFO: Extracted packet for processing {"connection_id":130537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8a"} 
[2026-07-13 18:24:52] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":19,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690416640001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783947241000,"timestamp_ms":1783947241000,"timestamp_seconds":1783947241,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8aa628"} 
[2026-07-13 18:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:24: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":130537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":130537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":130537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690416640001,"66":25288,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690416640001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:24:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:24:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690416640001,"power":25288,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":130537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:24:52] local.INFO: GPS data processed {"connection_id":130537,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:24:52] local.INFO: Acknowledgment sent {"connection_id":130537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:25:07] local.INFO: TCP Data received {"connection_id":130750,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b84f908012d7f9e4005dc58a8000501022c..."} 
[2026-07-13 18:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b84f908012d7f9e4005dc58a8000501022c..."} 
[2026-07-13 18:25:07] local.INFO: Processing buffer {"connection_id":130750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b84f908012d7f9e4005dc58a8000501022c..."} 
[2026-07-13 18:25:07] local.INFO: Packet analysis {"connection_id":130750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:25:07] local.INFO: Extracted packet for processing {"connection_id":130750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:25:07] local.INFO: GPS Element Parsed {"raw_longitude":763338304,"raw_latitude":98326696,"longitude_deg":76.3338304,"latitude_deg":9.8326696,"altitude":5,"angle":258,"satellites":44,"speed":0,"hex_longitude":"2d7f9e40","hex_latitude":"05dc58a8","is_valid_coordinates":true} 
[2026-07-13 18:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690391808001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962370815229952,"note":"Value kept but may cause issues"} 
[2026-07-13 18:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776820404224,"note":"Value kept but may cause issues"} 
[2026-07-13 18:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783946869000,"timestamp_ms":1783946869000,"timestamp_seconds":1783946869,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b84f908"} 
[2026-07-13 18:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 18:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":130750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":130750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":130750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690391808001,"66":9667,"155":206,"85":15104,"24":0,"16":105962370815229952,"45":9195646776820404224},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-13 18:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690391808001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:25:07] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 18:25:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962370815229952,"km_value":105962370815229.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776820404224,"description":"Unknown IO ID 45"} 
[2026-07-13 18:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690391808001,"power":9667,"unknown_155":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9195646776820404224}} 
[2026-07-13 18:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":130750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481301,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:25:07] local.INFO: GPS data processed {"connection_id":130750,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:25:07] local.INFO: Acknowledgment sent {"connection_id":130750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:25:17] local.INFO: TCP Data received {"connection_id":130751,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b897190012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b897190012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:25:17] local.INFO: Processing buffer {"connection_id":130751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b897190012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:25:17] local.INFO: Packet analysis {"connection_id":130751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b89"} 
[2026-07-13 18:25:17] local.INFO: Extracted packet for processing {"connection_id":130751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b89"} 
[2026-07-13 18:25:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690396416001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:25:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783947162000,"timestamp_ms":1783947162000,"timestamp_seconds":1783947162,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b897190"} 
[2026-07-13 18:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:25: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-07-13 18: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690396416001,"66":24745,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690396416001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:25:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:25:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:25:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690396416001,"power":24745,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":130751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481302,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:25:17] local.INFO: GPS data processed {"connection_id":130751,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:25:17] local.INFO: Acknowledgment sent {"connection_id":130751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:25:29] local.INFO: TCP Data received {"connection_id":132891,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132891,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:25:29] local.INFO: Processing buffer {"connection_id":132891,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:25:29] local.INFO: IMEI packet received {"connection_id":132891,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 18:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":132891,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:25:34] local.INFO: TCP Data received {"connection_id":130752,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:25:34] local.INFO: Processing buffer {"connection_id":130752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:25:34] local.INFO: IMEI packet received {"connection_id":130752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":130752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:25:34] local.INFO: TCP Data received {"connection_id":132891,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132891,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:25:34] local.INFO: Processing buffer {"connection_id":132891,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:25:34] local.INFO: IMEI packet received {"connection_id":132891,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":132891,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:25:35] local.INFO: TCP Data received {"connection_id":132891,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b84f908012d7f9e4005dc58a8000501022c..."} 
[2026-07-13 18:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b84f908012d7f9e4005dc58a8000501022c..."} 
[2026-07-13 18:25:35] local.INFO: Processing buffer {"connection_id":132891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b84f908012d7f9e4005dc58a8000501022c..."} 
[2026-07-13 18:25:35] local.INFO: Packet analysis {"connection_id":132891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:25:35] local.INFO: Extracted packet for processing {"connection_id":132891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:25:35] local.INFO: GPS Element Parsed {"raw_longitude":763338304,"raw_latitude":98326696,"longitude_deg":76.3338304,"latitude_deg":9.8326696,"altitude":5,"angle":258,"satellites":44,"speed":0,"hex_longitude":"2d7f9e40","hex_latitude":"05dc58a8","is_valid_coordinates":true} 
[2026-07-13 18:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690398464001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962370815229952,"note":"Value kept but may cause issues"} 
[2026-07-13 18:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195857883052943360,"note":"Value kept but may cause issues"} 
[2026-07-13 18:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783946869000,"timestamp_ms":1783946869000,"timestamp_seconds":1783946869,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b84f908"} 
[2026-07-13 18:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":37,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-13 18:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690398464001,"66":9667,"155":206,"85":15104,"24":0,"16":105962370815229952,"45":9195857883052943360},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-13 18:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690398464001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:25:35] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 18:25:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962370815229952,"km_value":105962370815229.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195857883052943360,"description":"Unknown IO ID 45"} 
[2026-07-13 18:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690398464001,"power":9667,"unknown_155":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9195857883052943360}} 
[2026-07-13 18:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":132891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:25:35] local.INFO: GPS data processed {"connection_id":132891,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:25:35] local.INFO: Acknowledgment sent {"connection_id":132891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:25:39] local.INFO: TCP Data received {"connection_id":130752,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:25:39] local.INFO: Processing buffer {"connection_id":130752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:25:39] local.INFO: IMEI packet received {"connection_id":130752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":130752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:25:39] local.INFO: TCP Data received {"connection_id":132892,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:25:39] local.INFO: Processing buffer {"connection_id":132892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:25:39] local.INFO: IMEI packet received {"connection_id":132892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":132892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:25:40] local.INFO: TCP Data received {"connection_id":130752,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:25:40] local.INFO: Processing buffer {"connection_id":130752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:25:40] local.INFO: Packet analysis {"connection_id":130752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8a"} 
[2026-07-13 18:25:40] local.INFO: Extracted packet for processing {"connection_id":130752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8a"} 
[2026-07-13 18:25:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":19,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690416640001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783947241000,"timestamp_ms":1783947241000,"timestamp_seconds":1783947241,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8aa628"} 
[2026-07-13 18:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690416640001,"66":25288,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690416640001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:25:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:25:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690416640001,"power":25288,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":130752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:25:40] local.INFO: GPS data processed {"connection_id":130752,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:25:40] local.INFO: Acknowledgment sent {"connection_id":130752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:25:45] local.INFO: TCP Data received {"connection_id":132892,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:25:45] local.INFO: Processing buffer {"connection_id":132892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:25:45] local.INFO: IMEI packet received {"connection_id":132892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":132892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:25:46] local.INFO: TCP Data received {"connection_id":132892,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b897190012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b897190012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:25:46] local.INFO: Processing buffer {"connection_id":132892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b897190012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:25:46] local.INFO: Packet analysis {"connection_id":132892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b89"} 
[2026-07-13 18:25:46] local.INFO: Extracted packet for processing {"connection_id":132892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b89"} 
[2026-07-13 18:25:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690396416001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:25:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783947162000,"timestamp_ms":1783947162000,"timestamp_seconds":1783947162,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b897190"} 
[2026-07-13 18:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690396416001,"66":24745,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690396416001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:25:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:25:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:25:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690396416001,"power":24745,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":132892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481305,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:25:46] local.INFO: GPS data processed {"connection_id":132892,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:25:46] local.INFO: Acknowledgment sent {"connection_id":132892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:26:06] local.INFO: TCP Data received {"connection_id":132891,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b84f908012d7f9e4005dc58a8000501022c..."} 
[2026-07-13 18:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b84f908012d7f9e4005dc58a8000501022c..."} 
[2026-07-13 18:26:06] local.INFO: Processing buffer {"connection_id":132891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b84f908012d7f9e4005dc58a8000501022c..."} 
[2026-07-13 18:26:06] local.INFO: Packet analysis {"connection_id":132891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:26:06] local.INFO: Extracted packet for processing {"connection_id":132891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:26:06] local.INFO: GPS Element Parsed {"raw_longitude":763338304,"raw_latitude":98326696,"longitude_deg":76.3338304,"latitude_deg":9.8326696,"altitude":5,"angle":258,"satellites":44,"speed":0,"hex_longitude":"2d7f9e40","hex_latitude":"05dc58a8","is_valid_coordinates":true} 
[2026-07-13 18:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690398464001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962370815229952,"note":"Value kept but may cause issues"} 
[2026-07-13 18:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195857883052943360,"note":"Value kept but may cause issues"} 
[2026-07-13 18:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783946869000,"timestamp_ms":1783946869000,"timestamp_seconds":1783946869,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b84f908"} 
[2026-07-13 18:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":37,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-13 18:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690398464001,"66":9667,"155":206,"85":15104,"24":0,"16":105962370815229952,"45":9195857883052943360},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-13 18:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690398464001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:26:06] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 18:26:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962370815229952,"km_value":105962370815229.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195857883052943360,"description":"Unknown IO ID 45"} 
[2026-07-13 18:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690398464001,"power":9667,"unknown_155":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9195857883052943360}} 
[2026-07-13 18:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":132891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:26:06] local.INFO: GPS data processed {"connection_id":132891,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:26:06] local.INFO: Acknowledgment sent {"connection_id":132891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:26:11] local.INFO: TCP Data received {"connection_id":130752,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:26:11] local.INFO: Processing buffer {"connection_id":130752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:26:11] local.INFO: Packet analysis {"connection_id":130752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8a"} 
[2026-07-13 18:26:11] local.INFO: Extracted packet for processing {"connection_id":130752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8a"} 
[2026-07-13 18:26:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":19,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690416640001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783947241000,"timestamp_ms":1783947241000,"timestamp_seconds":1783947241,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8aa628"} 
[2026-07-13 18:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690416640001,"66":25288,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690416640001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:26:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:26:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690416640001,"power":25288,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":130752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:26:11] local.INFO: GPS data processed {"connection_id":130752,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:26:11] local.INFO: Acknowledgment sent {"connection_id":130752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:26:17] local.INFO: TCP Data received {"connection_id":132892,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b897190012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b897190012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:26:17] local.INFO: Processing buffer {"connection_id":132892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b897190012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:26:17] local.INFO: Packet analysis {"connection_id":132892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b89"} 
[2026-07-13 18:26:17] local.INFO: Extracted packet for processing {"connection_id":132892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b89"} 
[2026-07-13 18:26:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 18:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690396416001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:26:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783947162000,"timestamp_ms":1783947162000,"timestamp_seconds":1783947162,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b897190"} 
[2026-07-13 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-07-13 18:26: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-07-13 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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 18:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690396416001,"66":24745,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690396416001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:26:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:26:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:26:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690396416001,"power":24745,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":132892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481308,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:26:17] local.INFO: GPS data processed {"connection_id":132892,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:26:17] local.INFO: Acknowledgment sent {"connection_id":132892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:26:31] local.INFO: TCP Data received {"connection_id":130753,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130753,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:26:31] local.INFO: Processing buffer {"connection_id":130753,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:26:31] local.INFO: IMEI packet received {"connection_id":130753,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 18:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":130753,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:26:34] local.INFO: TCP Data received {"connection_id":130753,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130753,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:26:34] local.INFO: Processing buffer {"connection_id":130753,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:26:34] local.INFO: IMEI packet received {"connection_id":130753,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":130753,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:26:35] local.INFO: TCP Data received {"connection_id":130753,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b84f908012d7f9e4005dc58a8000501022c..."} 
[2026-07-13 18:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b84f908012d7f9e4005dc58a8000501022c..."} 
[2026-07-13 18:26:35] local.INFO: Processing buffer {"connection_id":130753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b84f908012d7f9e4005dc58a8000501022c..."} 
[2026-07-13 18:26:35] local.INFO: Packet analysis {"connection_id":130753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:26:35] local.INFO: Extracted packet for processing {"connection_id":130753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:26:35] local.INFO: GPS Element Parsed {"raw_longitude":763338304,"raw_latitude":98326696,"longitude_deg":76.3338304,"latitude_deg":9.8326696,"altitude":5,"angle":258,"satellites":44,"speed":0,"hex_longitude":"2d7f9e40","hex_latitude":"05dc58a8","is_valid_coordinates":true} 
[2026-07-13 18:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690398464001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962370815229952,"note":"Value kept but may cause issues"} 
[2026-07-13 18:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195857883052943360,"note":"Value kept but may cause issues"} 
[2026-07-13 18:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783946869000,"timestamp_ms":1783946869000,"timestamp_seconds":1783946869,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b84f908"} 
[2026-07-13 18:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":37,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-13 18:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690398464001,"66":9667,"155":206,"85":15104,"24":0,"16":105962370815229952,"45":9195857883052943360},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-13 18:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690398464001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:26:35] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 18:26:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962370815229952,"km_value":105962370815229.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195857883052943360,"description":"Unknown IO ID 45"} 
[2026-07-13 18:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690398464001,"power":9667,"unknown_155":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9195857883052943360}} 
[2026-07-13 18:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":130753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481309,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:26:35] local.INFO: GPS data processed {"connection_id":130753,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:26:35] local.INFO: Acknowledgment sent {"connection_id":130753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:26:39] local.INFO: TCP Data received {"connection_id":132894,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:26:39] local.INFO: Processing buffer {"connection_id":132894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:26:39] local.INFO: IMEI packet received {"connection_id":132894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":132894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:26:44] local.INFO: TCP Data received {"connection_id":132894,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:26:44] local.INFO: Processing buffer {"connection_id":132894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:26:44] local.INFO: IMEI packet received {"connection_id":132894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":132894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:26:45] local.INFO: TCP Data received {"connection_id":130538,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:26:45] local.INFO: Processing buffer {"connection_id":130538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:26:45] local.INFO: IMEI packet received {"connection_id":130538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":130538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:26:45] local.INFO: TCP Data received {"connection_id":132894,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:26:45] local.INFO: Processing buffer {"connection_id":132894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:26:45] local.INFO: Packet analysis {"connection_id":132894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8a"} 
[2026-07-13 18:26:45] local.INFO: Extracted packet for processing {"connection_id":132894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8a"} 
[2026-07-13 18:26:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":19,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690416640001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783947241000,"timestamp_ms":1783947241000,"timestamp_seconds":1783947241,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8aa628"} 
[2026-07-13 18:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690416640001,"66":25288,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690416640001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:26:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:26:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690416640001,"power":25288,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":132894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:26:45] local.INFO: GPS data processed {"connection_id":132894,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:26:45] local.INFO: Acknowledgment sent {"connection_id":132894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:26:49] local.INFO: TCP Data received {"connection_id":132894,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:26:49] local.INFO: Processing buffer {"connection_id":132894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:26:49] local.INFO: Packet analysis {"connection_id":132894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8a"} 
[2026-07-13 18:26:49] local.INFO: Extracted packet for processing {"connection_id":132894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8a"} 
[2026-07-13 18:26:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":19,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690416640001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783947241000,"timestamp_ms":1783947241000,"timestamp_seconds":1783947241,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8aa628"} 
[2026-07-13 18:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:26: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-07-13 18:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690416640001,"66":25288,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690416640001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:26:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:26:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690416640001,"power":25288,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":132894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:26:49] local.INFO: GPS data processed {"connection_id":132894,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:26:49] local.INFO: Acknowledgment sent {"connection_id":132894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:26:50] local.INFO: TCP Data received {"connection_id":130538,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:26:50] local.INFO: Processing buffer {"connection_id":130538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:26:50] local.INFO: IMEI packet received {"connection_id":130538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":130538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:26:51] local.INFO: TCP Data received {"connection_id":130538,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b897190012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b897190012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:26:51] local.INFO: Processing buffer {"connection_id":130538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b897190012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:26:51] local.INFO: Packet analysis {"connection_id":130538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b89"} 
[2026-07-13 18:26:51] local.INFO: Extracted packet for processing {"connection_id":130538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b89"} 
[2026-07-13 18:26:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690396416001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:26:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783947162000,"timestamp_ms":1783947162000,"timestamp_seconds":1783947162,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b897190"} 
[2026-07-13 18:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690396416001,"66":24745,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690396416001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:26:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:26:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:26:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690396416001,"power":24745,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":130538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481312,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:26:51] local.INFO: GPS data processed {"connection_id":130538,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:26:51] local.INFO: Acknowledgment sent {"connection_id":130538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:26:56] local.INFO: TCP Data received {"connection_id":130538,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b897190012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b897190012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:26:56] local.INFO: Processing buffer {"connection_id":130538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b897190012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:26:56] local.INFO: Packet analysis {"connection_id":130538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b89"} 
[2026-07-13 18:26:56] local.INFO: Extracted packet for processing {"connection_id":130538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b89"} 
[2026-07-13 18:26:56] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690396416001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:26:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783947162000,"timestamp_ms":1783947162000,"timestamp_seconds":1783947162,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b897190"} 
[2026-07-13 18:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":130538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":130538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":130538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690396416001,"66":24745,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690396416001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:26:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:26:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:26:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690396416001,"power":24745,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":130538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481313,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:26:56] local.INFO: GPS data processed {"connection_id":130538,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:26:56] local.INFO: Acknowledgment sent {"connection_id":130538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:26:58] local.INFO: TCP Data received {"connection_id":130754,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:26:58] local.INFO: Processing buffer {"connection_id":130754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:26:58] local.INFO: IMEI packet received {"connection_id":130754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":130754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:26:58] local.INFO: TCP Data received {"connection_id":130754,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8bcb20012d18e6400720ef580040009329..."} 
[2026-07-13 18:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8bcb20012d18e6400720ef580040009329..."} 
[2026-07-13 18:26:58] local.INFO: Processing buffer {"connection_id":130754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8bcb20012d18e6400720ef580040009329..."} 
[2026-07-13 18:26:58] local.INFO: Packet analysis {"connection_id":130754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8b"} 
[2026-07-13 18:26:58] local.INFO: Extracted packet for processing {"connection_id":130754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8b"} 
[2026-07-13 18:26:58] local.INFO: GPS Element Parsed {"raw_longitude":756606528,"raw_latitude":119598936,"longitude_deg":75.6606528,"latitude_deg":11.9598936,"altitude":64,"angle":147,"satellites":41,"speed":36,"hex_longitude":"2d18e640","hex_latitude":"0720ef58","is_valid_coordinates":true} 
[2026-07-13 18:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690511616001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5927230962139136,"note":"Value kept but may cause issues"} 
[2026-07-13 18:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791236413660532736,"note":"Value kept but may cause issues"} 
[2026-07-13 18:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783947316000,"timestamp_ms":1783947316000,"timestamp_seconds":1783947316,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8bcb20"} 
[2026-07-13 18:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-13 18:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:26:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690511616001,"66":14352,"103":206,"83":41984,"24":36,"16":5927230962139136,"45":1791236413660532736},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690511616001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:26:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:26:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5927230962139136,"km_value":5927230962139.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791236413660532736,"description":"Unknown IO ID 45"} 
[2026-07-13 18:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690511616001,"power":14352,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1791236413660532736}} 
[2026-07-13 18:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":130754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:26:59] local.INFO: GPS data processed {"connection_id":130754,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:26:59] local.INFO: Acknowledgment sent {"connection_id":130754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:27:05] local.INFO: TCP Data received {"connection_id":130753,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b84f908012d7f9e4005dc58a8000501022c..."} 
[2026-07-13 18:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b84f908012d7f9e4005dc58a8000501022c..."} 
[2026-07-13 18:27:05] local.INFO: Processing buffer {"connection_id":130753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b84f908012d7f9e4005dc58a8000501022c..."} 
[2026-07-13 18:27:05] local.INFO: Packet analysis {"connection_id":130753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:27:05] local.INFO: Extracted packet for processing {"connection_id":130753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b84"} 
[2026-07-13 18:27:05] local.INFO: GPS Element Parsed {"raw_longitude":763338304,"raw_latitude":98326696,"longitude_deg":76.3338304,"latitude_deg":9.8326696,"altitude":5,"angle":258,"satellites":44,"speed":0,"hex_longitude":"2d7f9e40","hex_latitude":"05dc58a8","is_valid_coordinates":true} 
[2026-07-13 18:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690398464001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962370815229952,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195857883052943360,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783946869000,"timestamp_ms":1783946869000,"timestamp_seconds":1783946869,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b84f908"} 
[2026-07-13 18:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18: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-07-13 18: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":37,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-13 18:27: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-07-13 18:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":130753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":130753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":130753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690398464001,"66":9667,"155":206,"85":15104,"24":0,"16":105962370815229952,"45":9195857883052943360},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-13 18:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690398464001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:27:05] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 18:27:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962370815229952,"km_value":105962370815229.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195857883052943360,"description":"Unknown IO ID 45"} 
[2026-07-13 18:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690398464001,"power":9667,"unknown_155":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9195857883052943360}} 
[2026-07-13 18:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":130753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481315,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:27:05] local.INFO: GPS data processed {"connection_id":130753,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:27:05] local.INFO: Acknowledgment sent {"connection_id":130753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:27:29] local.INFO: TCP Data received {"connection_id":132895,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:27:29] local.INFO: Processing buffer {"connection_id":132895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:27:29] local.INFO: IMEI packet received {"connection_id":132895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 18:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":132895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:27:30] local.INFO: TCP Data received {"connection_id":130754,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8bea60012d18f7c00720d6a0003c008329..."} 
[2026-07-13 18:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8bea60012d18f7c00720d6a0003c008329..."} 
[2026-07-13 18:27:30] local.INFO: Processing buffer {"connection_id":130754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8bea60012d18f7c00720d6a0003c008329..."} 
[2026-07-13 18:27:30] local.INFO: Packet analysis {"connection_id":130754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8b"} 
[2026-07-13 18:27:30] local.INFO: Extracted packet for processing {"connection_id":130754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8b"} 
[2026-07-13 18:27:30] local.INFO: GPS Element Parsed {"raw_longitude":756611008,"raw_latitude":119592608,"longitude_deg":75.6611008,"latitude_deg":11.9592608,"altitude":60,"angle":131,"satellites":41,"speed":37,"hex_longitude":"2d18f7c0","hex_latitude":"0720d6a0","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690512896001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5927604624293888,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794191900915226624,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783947324000,"timestamp_ms":1783947324000,"timestamp_seconds":1783947324,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8bea60"} 
[2026-07-13 18:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-13 18:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733136896,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:30] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-2828252727222468539,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":660058859041193994,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:30] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:30] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503690060496896,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:30] local.WARNING: Large IO value detected {"io_id":91,"raw_value":2340225025,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:30] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639316264515687,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:30] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3891373965138264320,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-13 18:27:30] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2147950873,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:30] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743864,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:30] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:30] local.WARNING: Large IO value detected {"io_id":120,"raw_value":84751266802508058,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:30] local.WARNING: Large IO value detected {"io_id":104,"raw_value":19704232621900800,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:30] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,103,83,24,241,157,16,14,159,183,45,192,251,65,40,10,66,175,64,255,41,144,128,1,240,92,227,91,33,4,113,205,11,211,88,42,239,53,2,21,7,70,6,206,120,104],"length":628,"final_offset":758,"validated_count":46,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-13 18:27:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611847822732689408,"timestamp_seconds":4611847822732689.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 18:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":130754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":130754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":130754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690512896001,"66":14428,"103":206,"83":41984,"24":37,"16":5927604624293888,"45":1794191900915226624},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690512896001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:27:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:27:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5927604624293888,"km_value":5927604624293.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794191900915226624,"description":"Unknown IO ID 45"} 
[2026-07-13 18:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690512896001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1794191900915226624}} 
[2026-07-13 18:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":130754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:27:30] local.INFO: GPS data processed {"connection_id":130754,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:27:30] local.INFO: Acknowledgment sent {"connection_id":130754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:27:34] local.INFO: TCP Data received {"connection_id":130755,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:27:34] local.INFO: Processing buffer {"connection_id":130755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:27:34] local.INFO: IMEI packet received {"connection_id":130755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":130755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:27:34] local.INFO: TCP Data received {"connection_id":132895,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:27:34] local.INFO: Processing buffer {"connection_id":132895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:27:34] local.INFO: IMEI packet received {"connection_id":132895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":132895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:27:35] local.INFO: TCP Data received {"connection_id":132895,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8d8488012d7f9d8005dc5890000501022f..."} 
[2026-07-13 18:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8d8488012d7f9d8005dc5890000501022f..."} 
[2026-07-13 18:27:35] local.INFO: Processing buffer {"connection_id":132895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8d8488012d7f9d8005dc5890000501022f..."} 
[2026-07-13 18:27:35] local.INFO: Packet analysis {"connection_id":132895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8d"} 
[2026-07-13 18:27:35] local.INFO: Extracted packet for processing {"connection_id":132895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8d"} 
[2026-07-13 18:27:35] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":98326672,"longitude_deg":76.3338112,"latitude_deg":9.8326672,"altitude":5,"angle":258,"satellites":47,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05dc5890","is_valid_coordinates":true} 
[2026-07-13 18:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690398464001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962370815229952,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195857883052943360,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783947429000,"timestamp_ms":1783947429000,"timestamp_seconds":1783947429,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8d8488"} 
[2026-07-13 18:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":37,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-13 18:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690398464001,"66":2231,"155":206,"85":15104,"24":0,"16":105962370815229952,"45":9195857883052943360},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-13 18:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690398464001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:27:35] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 18:27:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962370815229952,"km_value":105962370815229.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195857883052943360,"description":"Unknown IO ID 45"} 
[2026-07-13 18:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690398464001,"power":2231,"unknown_155":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9195857883052943360}} 
[2026-07-13 18:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":132895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481317,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:27:35] local.INFO: GPS data processed {"connection_id":132895,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:27:35] local.INFO: Acknowledgment sent {"connection_id":132895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:27:39] local.INFO: TCP Data received {"connection_id":130755,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:27:39] local.INFO: Processing buffer {"connection_id":130755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:27:39] local.INFO: IMEI packet received {"connection_id":130755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":130755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:27:40] local.INFO: TCP Data received {"connection_id":131556,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:27:40] local.INFO: Processing buffer {"connection_id":131556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:27:40] local.INFO: IMEI packet received {"connection_id":131556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":131556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:27:40] local.INFO: TCP Data received {"connection_id":130755,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:27:40] local.INFO: Processing buffer {"connection_id":130755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:27:40] local.INFO: Packet analysis {"connection_id":130755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8a"} 
[2026-07-13 18:27:40] local.INFO: Extracted packet for processing {"connection_id":130755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8a"} 
[2026-07-13 18:27:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":19,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 18:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690416640001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783947241000,"timestamp_ms":1783947241000,"timestamp_seconds":1783947241,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8aa628"} 
[2026-07-13 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-07-13 18:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 18:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690416640001,"66":25288,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690416640001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:27:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:27:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690416640001,"power":25288,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":130755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:27:40] local.INFO: GPS data processed {"connection_id":130755,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:27:40] local.INFO: Acknowledgment sent {"connection_id":130755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:27:45] local.INFO: TCP Data received {"connection_id":131556,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:27:45] local.INFO: Processing buffer {"connection_id":131556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:27:45] local.INFO: IMEI packet received {"connection_id":131556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":131556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:27:46] local.INFO: TCP Data received {"connection_id":131556,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b897190012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b897190012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:27:46] local.INFO: Processing buffer {"connection_id":131556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b897190012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:27:46] local.INFO: Packet analysis {"connection_id":131556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b89"} 
[2026-07-13 18:27:46] local.INFO: Extracted packet for processing {"connection_id":131556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b89"} 
[2026-07-13 18:27:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690396416001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783947162000,"timestamp_ms":1783947162000,"timestamp_seconds":1783947162,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b897190"} 
[2026-07-13 18:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690396416001,"66":24745,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690396416001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:27:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:27:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:27:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690396416001,"power":24745,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":131556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481319,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:27:46] local.INFO: GPS data processed {"connection_id":131556,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:27:46] local.INFO: Acknowledgment sent {"connection_id":131556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:27:52] local.INFO: TCP Data received {"connection_id":130539,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:27:52] local.INFO: Processing buffer {"connection_id":130539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:27:52] local.INFO: IMEI packet received {"connection_id":130539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":130539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:27:58] local.INFO: TCP Data received {"connection_id":130539,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:27:58] local.INFO: Processing buffer {"connection_id":130539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:27:58] local.INFO: IMEI packet received {"connection_id":130539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":130539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:27:59] local.INFO: TCP Data received {"connection_id":130539,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8d0b70012d198b400720b200003a006e28..."} 
[2026-07-13 18:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8d0b70012d198b400720b200003a006e28..."} 
[2026-07-13 18:27:59] local.INFO: Processing buffer {"connection_id":130539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8d0b70012d198b400720b200003a006e28..."} 
[2026-07-13 18:27:59] local.INFO: Packet analysis {"connection_id":130539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8d"} 
[2026-07-13 18:27:59] local.INFO: Extracted packet for processing {"connection_id":130539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8d"} 
[2026-07-13 18:27:59] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690528512001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324297216,"note":"Value kept but may cause issues"} 
[2026-07-13 18:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783947398000,"timestamp_ms":1783947398000,"timestamp_seconds":1783947398,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8d0b70"} 
[2026-07-13 18:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-13 18:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":130539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":130539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":130539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690528512001,"66":13167,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840564903324297216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690528512001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:27:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:27:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324297216,"description":"Unknown IO ID 45"} 
[2026-07-13 18:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690528512001,"power":13167,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324297216}} 
[2026-07-13 18:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":130539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:27:59] local.INFO: GPS data processed {"connection_id":130539,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:27:59] local.INFO: Acknowledgment sent {"connection_id":130539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:28:06] local.INFO: TCP Data received {"connection_id":132895,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8d8488012d7f9d8005dc5890000501022f..."} 
[2026-07-13 18:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8d8488012d7f9d8005dc5890000501022f..."} 
[2026-07-13 18:28:06] local.INFO: Processing buffer {"connection_id":132895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8d8488012d7f9d8005dc5890000501022f..."} 
[2026-07-13 18:28:06] local.INFO: Packet analysis {"connection_id":132895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8d"} 
[2026-07-13 18:28:06] local.INFO: Extracted packet for processing {"connection_id":132895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8d"} 
[2026-07-13 18:28:06] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":98326672,"longitude_deg":76.3338112,"latitude_deg":9.8326672,"altitude":5,"angle":258,"satellites":47,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05dc5890","is_valid_coordinates":true} 
[2026-07-13 18:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690398464001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962370815229952,"note":"Value kept but may cause issues"} 
[2026-07-13 18:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195857883052943360,"note":"Value kept but may cause issues"} 
[2026-07-13 18:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783947429000,"timestamp_ms":1783947429000,"timestamp_seconds":1783947429,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8d8488"} 
[2026-07-13 18:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":37,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-13 18:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690398464001,"66":2231,"155":206,"85":15104,"24":0,"16":105962370815229952,"45":9195857883052943360},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-13 18:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690398464001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:28:06] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 18:28:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962370815229952,"km_value":105962370815229.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195857883052943360,"description":"Unknown IO ID 45"} 
[2026-07-13 18:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690398464001,"power":2231,"unknown_155":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9195857883052943360}} 
[2026-07-13 18:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":132895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:28:06] local.INFO: GPS data processed {"connection_id":132895,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:28:06] local.INFO: Acknowledgment sent {"connection_id":132895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:28:11] local.INFO: TCP Data received {"connection_id":130755,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:28:11] local.INFO: Processing buffer {"connection_id":130755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:28:11] local.INFO: Packet analysis {"connection_id":130755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8a"} 
[2026-07-13 18:28:11] local.INFO: Extracted packet for processing {"connection_id":130755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8a"} 
[2026-07-13 18:28:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":19,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690416640001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783947241000,"timestamp_ms":1783947241000,"timestamp_seconds":1783947241,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8aa628"} 
[2026-07-13 18:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690416640001,"66":25288,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690416640001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:28:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:28:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690416640001,"power":25288,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":130755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:28:11] local.INFO: GPS data processed {"connection_id":130755,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:28:11] local.INFO: Acknowledgment sent {"connection_id":130755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:28:17] local.INFO: TCP Data received {"connection_id":131556,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b897190012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b897190012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:28:17] local.INFO: Processing buffer {"connection_id":131556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b897190012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:28:17] local.INFO: Packet analysis {"connection_id":131556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b89"} 
[2026-07-13 18:28:17] local.INFO: Extracted packet for processing {"connection_id":131556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b89"} 
[2026-07-13 18:28:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 18:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690396416001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:28:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783947162000,"timestamp_ms":1783947162000,"timestamp_seconds":1783947162,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b897190"} 
[2026-07-13 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-07-13 18:28: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-07-13 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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 18:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690396416001,"66":24745,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690396416001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:28:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:28:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:28:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690396416001,"power":24745,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":131556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481323,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:28:17] local.INFO: GPS data processed {"connection_id":131556,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:28:17] local.INFO: Acknowledgment sent {"connection_id":131556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:28:30] local.INFO: TCP Data received {"connection_id":130539,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8d5d78012d198b400720b200003a006e2b..."} 
[2026-07-13 18:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8d5d78012d198b400720b200003a006e2b..."} 
[2026-07-13 18:28:30] local.INFO: Processing buffer {"connection_id":130539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8d5d78012d198b400720b200003a006e2b..."} 
[2026-07-13 18:28:30] local.INFO: Packet analysis {"connection_id":130539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8d"} 
[2026-07-13 18:28:30] local.INFO: Extracted packet for processing {"connection_id":130539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8d"} 
[2026-07-13 18:28:30] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690533888001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783947419000,"timestamp_ms":1783947419000,"timestamp_seconds":1783947419,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8d5d78"} 
[2026-07-13 18:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-13 18:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":130539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":130539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":130539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690533888001,"66":13135,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690533888001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:28:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:28:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690533888001,"power":13135,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":130539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:28:30] local.INFO: GPS data processed {"connection_id":130539,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:28:30] local.INFO: Acknowledgment sent {"connection_id":130539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:28:31] local.INFO: TCP Data received {"connection_id":130756,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130756,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:28:31] local.INFO: Processing buffer {"connection_id":130756,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:28:31] local.INFO: IMEI packet received {"connection_id":130756,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 18:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":130756,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:28:34] local.INFO: TCP Data received {"connection_id":131557,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:28:34] local.INFO: Processing buffer {"connection_id":131557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:28:34] local.INFO: IMEI packet received {"connection_id":131557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":131557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:28:34] local.INFO: TCP Data received {"connection_id":130756,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130756,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:28:34] local.INFO: Processing buffer {"connection_id":130756,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:28:34] local.INFO: IMEI packet received {"connection_id":130756,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":130756,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:28:35] local.INFO: TCP Data received {"connection_id":130756,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8d8488012d7f9d8005dc5890000501022f..."} 
[2026-07-13 18:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8d8488012d7f9d8005dc5890000501022f..."} 
[2026-07-13 18:28:35] local.INFO: Processing buffer {"connection_id":130756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8d8488012d7f9d8005dc5890000501022f..."} 
[2026-07-13 18:28:35] local.INFO: Packet analysis {"connection_id":130756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8d"} 
[2026-07-13 18:28:35] local.INFO: Extracted packet for processing {"connection_id":130756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8d"} 
[2026-07-13 18:28:35] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":98326672,"longitude_deg":76.3338112,"latitude_deg":9.8326672,"altitude":5,"angle":258,"satellites":47,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05dc5890","is_valid_coordinates":true} 
[2026-07-13 18:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690398464001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962370815229952,"note":"Value kept but may cause issues"} 
[2026-07-13 18:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195857883052943360,"note":"Value kept but may cause issues"} 
[2026-07-13 18:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783947429000,"timestamp_ms":1783947429000,"timestamp_seconds":1783947429,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8d8488"} 
[2026-07-13 18:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":37,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-13 18:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690398464001,"66":2231,"155":206,"85":15104,"24":0,"16":105962370815229952,"45":9195857883052943360},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-13 18:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690398464001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:28:35] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 18:28:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962370815229952,"km_value":105962370815229.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195857883052943360,"description":"Unknown IO ID 45"} 
[2026-07-13 18:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690398464001,"power":2231,"unknown_155":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9195857883052943360}} 
[2026-07-13 18:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":130756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:28:35] local.INFO: GPS data processed {"connection_id":130756,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:28:35] local.INFO: Acknowledgment sent {"connection_id":130756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:28:39] local.INFO: TCP Data received {"connection_id":131557,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:28:39] local.INFO: Processing buffer {"connection_id":131557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:28:39] local.INFO: IMEI packet received {"connection_id":131557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":131557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:28:40] local.INFO: TCP Data received {"connection_id":130756,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8d8488012d7f9d8005dc5890000501022f..."} 
[2026-07-13 18:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8d8488012d7f9d8005dc5890000501022f..."} 
[2026-07-13 18:28:40] local.INFO: Processing buffer {"connection_id":130756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8d8488012d7f9d8005dc5890000501022f..."} 
[2026-07-13 18:28:40] local.INFO: Packet analysis {"connection_id":130756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8d"} 
[2026-07-13 18:28:40] local.INFO: Extracted packet for processing {"connection_id":130756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8d"} 
[2026-07-13 18:28:40] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":98326672,"longitude_deg":76.3338112,"latitude_deg":9.8326672,"altitude":5,"angle":258,"satellites":47,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05dc5890","is_valid_coordinates":true} 
[2026-07-13 18:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690398464001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962370815229952,"note":"Value kept but may cause issues"} 
[2026-07-13 18:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195857883052943360,"note":"Value kept but may cause issues"} 
[2026-07-13 18:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783947429000,"timestamp_ms":1783947429000,"timestamp_seconds":1783947429,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8d8488"} 
[2026-07-13 18:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:28: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-07-13 18:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":37,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-13 18:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:28: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-07-13 18:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690398464001,"66":2231,"155":206,"85":15104,"24":0,"16":105962370815229952,"45":9195857883052943360},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-13 18:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690398464001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:28:40] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 18:28:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962370815229952,"km_value":105962370815229.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195857883052943360,"description":"Unknown IO ID 45"} 
[2026-07-13 18:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690398464001,"power":2231,"unknown_155":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9195857883052943360}} 
[2026-07-13 18:28:40] local.INFO: TCP Data received {"connection_id":131557,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:28:40] local.INFO: Processing buffer {"connection_id":131557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:28:40] local.INFO: Packet analysis {"connection_id":131557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8a"} 
[2026-07-13 18:28:40] local.INFO: Extracted packet for processing {"connection_id":131557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8a"} 
[2026-07-13 18:28:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":19,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690416640001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783947241000,"timestamp_ms":1783947241000,"timestamp_seconds":1783947241,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8aa628"} 
[2026-07-13 18:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690416640001,"66":25288,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690416640001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:28:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:28:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690416640001,"power":25288,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":130756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481326,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:28:40] local.INFO: GPS data processed {"connection_id":130756,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:28:40] local.INFO: Acknowledgment sent {"connection_id":130756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":131557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:28:40] local.INFO: GPS data processed {"connection_id":131557,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:28:40] local.INFO: Acknowledgment sent {"connection_id":131557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:28:40] local.INFO: TCP Data received {"connection_id":130540,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130540,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:28:40] local.INFO: Processing buffer {"connection_id":130540,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:28:40] local.INFO: IMEI packet received {"connection_id":130540,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":130540,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:28:45] local.INFO: TCP Data received {"connection_id":130540,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130540,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:28:45] local.INFO: Processing buffer {"connection_id":130540,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:28:45] local.INFO: IMEI packet received {"connection_id":130540,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":130540,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:28:46] local.INFO: TCP Data received {"connection_id":130540,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8e0958012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8e0958012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:28:46] local.INFO: Processing buffer {"connection_id":130540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8e0958012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:28:46] local.INFO: Packet analysis {"connection_id":130540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8e"} 
[2026-07-13 18:28:46] local.INFO: Extracted packet for processing {"connection_id":130540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8e"} 
[2026-07-13 18:28:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690473472001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:28:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783947463000,"timestamp_ms":1783947463000,"timestamp_seconds":1783947463,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8e0958"} 
[2026-07-13 18:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-13 18:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130540,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130540,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690473472001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690473472001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:28:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:28:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:28:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690473472001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":130540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481328,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:28:46] local.INFO: GPS data processed {"connection_id":130540,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:28:46] local.INFO: Acknowledgment sent {"connection_id":130540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:28:52] local.INFO: TCP Data received {"connection_id":130757,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:28:52] local.INFO: Processing buffer {"connection_id":130757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:28:52] local.INFO: IMEI packet received {"connection_id":130757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":130757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:28:58] local.INFO: TCP Data received {"connection_id":130757,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:28:58] local.INFO: Processing buffer {"connection_id":130757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:28:58] local.INFO: IMEI packet received {"connection_id":130757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":130757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:28:58] local.INFO: TCP Data received {"connection_id":130757,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8daf80012d198b400720b200003a006e2a..."} 
[2026-07-13 18:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8daf80012d198b400720b200003a006e2a..."} 
[2026-07-13 18:28:58] local.INFO: Processing buffer {"connection_id":130757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8daf80012d198b400720b200003a006e2a..."} 
[2026-07-13 18:28:58] local.INFO: Packet analysis {"connection_id":130757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8d"} 
[2026-07-13 18:28:58] local.INFO: Extracted packet for processing {"connection_id":130757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8d"} 
[2026-07-13 18:28:58] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690539264001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783947440000,"timestamp_ms":1783947440000,"timestamp_seconds":1783947440,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8daf80"} 
[2026-07-13 18:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-13 18:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690539264001,"66":13102,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690539264001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:28:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:28:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690539264001,"power":13102,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":130757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:28:59] local.INFO: GPS data processed {"connection_id":130757,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:28:59] local.INFO: Acknowledgment sent {"connection_id":130757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:29:11] local.INFO: TCP Data received {"connection_id":130756,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8d8488012d7f9d8005dc5890000501022f..."} 
[2026-07-13 18:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8d8488012d7f9d8005dc5890000501022f..."} 
[2026-07-13 18:29:11] local.INFO: Processing buffer {"connection_id":130756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8d8488012d7f9d8005dc5890000501022f..."} 
[2026-07-13 18:29:11] local.INFO: Packet analysis {"connection_id":130756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8d"} 
[2026-07-13 18:29:11] local.INFO: Extracted packet for processing {"connection_id":130756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8d"} 
[2026-07-13 18:29:11] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":98326672,"longitude_deg":76.3338112,"latitude_deg":9.8326672,"altitude":5,"angle":258,"satellites":47,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05dc5890","is_valid_coordinates":true} 
[2026-07-13 18:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690398464001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962370815229952,"note":"Value kept but may cause issues"} 
[2026-07-13 18:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195857883052943360,"note":"Value kept but may cause issues"} 
[2026-07-13 18:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783947429000,"timestamp_ms":1783947429000,"timestamp_seconds":1783947429,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8d8488"} 
[2026-07-13 18:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":37,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-13 18:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690398464001,"66":2231,"155":206,"85":15104,"24":0,"16":105962370815229952,"45":9195857883052943360},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-13 18:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690398464001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:29:11] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 18:29:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962370815229952,"km_value":105962370815229.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195857883052943360,"description":"Unknown IO ID 45"} 
[2026-07-13 18:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690398464001,"power":2231,"unknown_155":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9195857883052943360}} 
[2026-07-13 18:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":130756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:29:11] local.INFO: GPS data processed {"connection_id":130756,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:29:11] local.INFO: Acknowledgment sent {"connection_id":130756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:29:11] local.INFO: TCP Data received {"connection_id":131557,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:29:11] local.INFO: Processing buffer {"connection_id":131557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:29:11] local.INFO: Packet analysis {"connection_id":131557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8a"} 
[2026-07-13 18:29:11] local.INFO: Extracted packet for processing {"connection_id":131557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8a"} 
[2026-07-13 18:29:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":19,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690416640001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783947241000,"timestamp_ms":1783947241000,"timestamp_seconds":1783947241,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8aa628"} 
[2026-07-13 18:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690416640001,"66":25288,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690416640001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:29:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:29:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690416640001,"power":25288,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":131557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:29:11] local.INFO: GPS data processed {"connection_id":131557,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:29:11] local.INFO: Acknowledgment sent {"connection_id":131557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:29:17] local.INFO: TCP Data received {"connection_id":130540,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8e0958012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8e0958012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:29:17] local.INFO: Processing buffer {"connection_id":130540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8e0958012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:29:17] local.INFO: Packet analysis {"connection_id":130540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8e"} 
[2026-07-13 18:29:17] local.INFO: Extracted packet for processing {"connection_id":130540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8e"} 
[2026-07-13 18:29:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690473472001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:29:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783947463000,"timestamp_ms":1783947463000,"timestamp_seconds":1783947463,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8e0958"} 
[2026-07-13 18:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:29: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-07-13 18: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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-13 18:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130540,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130540,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690473472001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690473472001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:29:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:29:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:29:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690473472001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":130540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481332,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:29:18] local.INFO: GPS data processed {"connection_id":130540,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:29:18] local.INFO: Acknowledgment sent {"connection_id":130540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:29:29] local.INFO: TCP Data received {"connection_id":132896,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132896,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:29:29] local.INFO: Processing buffer {"connection_id":132896,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:29:29] local.INFO: IMEI packet received {"connection_id":132896,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 18:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":132896,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:29:30] local.INFO: TCP Data received {"connection_id":130757,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8e0188012d198b400720b200003a006e28..."} 
[2026-07-13 18:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8e0188012d198b400720b200003a006e28..."} 
[2026-07-13 18:29:30] local.INFO: Processing buffer {"connection_id":130757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8e0188012d198b400720b200003a006e28..."} 
[2026-07-13 18:29:30] local.INFO: Packet analysis {"connection_id":130757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8e"} 
[2026-07-13 18:29:30] local.INFO: Extracted packet for processing {"connection_id":130757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8e"} 
[2026-07-13 18:29:30] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690544640001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783947461000,"timestamp_ms":1783947461000,"timestamp_seconds":1783947461,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8e0188"} 
[2026-07-13 18:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-13 18:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":130757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":130757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":130757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690544640001,"66":13080,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690544640001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:29:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:29:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690544640001,"power":13080,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":130757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:29:30] local.INFO: GPS data processed {"connection_id":130757,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:29:30] local.INFO: Acknowledgment sent {"connection_id":130757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:29:34] local.INFO: TCP Data received {"connection_id":130758,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:29:34] local.INFO: Processing buffer {"connection_id":130758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:29:34] local.INFO: IMEI packet received {"connection_id":130758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":130758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:29:34] local.INFO: TCP Data received {"connection_id":132896,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132896,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:29:34] local.INFO: Processing buffer {"connection_id":132896,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:29:34] local.INFO: IMEI packet received {"connection_id":132896,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":132896,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:29:35] local.INFO: TCP Data received {"connection_id":132896,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8d8488012d7f9d8005dc5890000501022f..."} 
[2026-07-13 18:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8d8488012d7f9d8005dc5890000501022f..."} 
[2026-07-13 18:29:35] local.INFO: Processing buffer {"connection_id":132896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8d8488012d7f9d8005dc5890000501022f..."} 
[2026-07-13 18:29:35] local.INFO: Packet analysis {"connection_id":132896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8d"} 
[2026-07-13 18:29:35] local.INFO: Extracted packet for processing {"connection_id":132896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8d"} 
[2026-07-13 18:29:35] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":98326672,"longitude_deg":76.3338112,"latitude_deg":9.8326672,"altitude":5,"angle":258,"satellites":47,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05dc5890","is_valid_coordinates":true} 
[2026-07-13 18:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690398464001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962370815229952,"note":"Value kept but may cause issues"} 
[2026-07-13 18:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195857883052943360,"note":"Value kept but may cause issues"} 
[2026-07-13 18:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783947429000,"timestamp_ms":1783947429000,"timestamp_seconds":1783947429,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8d8488"} 
[2026-07-13 18:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":37,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-13 18:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690398464001,"66":2231,"155":206,"85":15104,"24":0,"16":105962370815229952,"45":9195857883052943360},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-13 18:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690398464001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:29:35] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 18:29:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962370815229952,"km_value":105962370815229.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195857883052943360,"description":"Unknown IO ID 45"} 
[2026-07-13 18:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690398464001,"power":2231,"unknown_155":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9195857883052943360}} 
[2026-07-13 18:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":132896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:29:35] local.INFO: GPS data processed {"connection_id":132896,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:29:35] local.INFO: Acknowledgment sent {"connection_id":132896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:29:39] local.INFO: TCP Data received {"connection_id":130758,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:29:39] local.INFO: Processing buffer {"connection_id":130758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:29:39] local.INFO: IMEI packet received {"connection_id":130758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":130758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:29:39] local.INFO: TCP Data received {"connection_id":130759,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130759,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:29:39] local.INFO: Processing buffer {"connection_id":130759,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:29:39] local.INFO: IMEI packet received {"connection_id":130759,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":130759,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:29:40] local.INFO: TCP Data received {"connection_id":130758,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:29:40] local.INFO: Processing buffer {"connection_id":130758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8aa628012d7f914005afd9380013011b20..."} 
[2026-07-13 18:29:40] local.INFO: Packet analysis {"connection_id":130758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8a"} 
[2026-07-13 18:29:40] local.INFO: Extracted packet for processing {"connection_id":130758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8a"} 
[2026-07-13 18:29:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":19,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690416640001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783947241000,"timestamp_ms":1783947241000,"timestamp_seconds":1783947241,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8aa628"} 
[2026-07-13 18:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690416640001,"66":25288,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690416640001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:29:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690416640001,"power":25288,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":130758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:29:40] local.INFO: GPS data processed {"connection_id":130758,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:29:40] local.INFO: Acknowledgment sent {"connection_id":130758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:29:49] local.INFO: TCP Data received {"connection_id":130759,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130759,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:29:49] local.INFO: Processing buffer {"connection_id":130759,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:29:49] local.INFO: IMEI packet received {"connection_id":130759,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":130759,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:29:50] local.INFO: TCP Data received {"connection_id":130759,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8e0958012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8e0958012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:29:50] local.INFO: Processing buffer {"connection_id":130759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8e0958012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:29:50] local.INFO: Packet analysis {"connection_id":130759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8e"} 
[2026-07-13 18:29:50] local.INFO: Extracted packet for processing {"connection_id":130759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8e"} 
[2026-07-13 18:29:50] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690473472001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:29:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783947463000,"timestamp_ms":1783947463000,"timestamp_seconds":1783947463,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8e0958"} 
[2026-07-13 18:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-13 18:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:29:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130759,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130759,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690473472001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690473472001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:29:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:29:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:29:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690473472001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":130759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481336,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:29:50] local.INFO: GPS data processed {"connection_id":130759,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:29:50] local.INFO: Acknowledgment sent {"connection_id":130759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:29:52] local.INFO: TCP Data received {"connection_id":132897,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:29:52] local.INFO: Processing buffer {"connection_id":132897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:29:52] local.INFO: IMEI packet received {"connection_id":132897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":132897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:29:58] local.INFO: TCP Data received {"connection_id":132897,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:29:58] local.INFO: Processing buffer {"connection_id":132897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:29:58] local.INFO: IMEI packet received {"connection_id":132897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":132897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:29:58] local.INFO: TCP Data received {"connection_id":132897,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8e5390012d198b400720b200003a006e25..."} 
[2026-07-13 18:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8e5390012d198b400720b200003a006e25..."} 
[2026-07-13 18:29:58] local.INFO: Processing buffer {"connection_id":132897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8e5390012d198b400720b200003a006e25..."} 
[2026-07-13 18:29:58] local.INFO: Packet analysis {"connection_id":132897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8e"} 
[2026-07-13 18:29:58] local.INFO: Extracted packet for processing {"connection_id":132897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8e"} 
[2026-07-13 18:29:58] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":37,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690550016001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783947482000,"timestamp_ms":1783947482000,"timestamp_seconds":1783947482,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8e5390"} 
[2026-07-13 18:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-13 18:29:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:29:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690550016001,"66":12993,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690550016001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:29:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:29:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690550016001,"power":12993,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":132897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:29:58] local.INFO: GPS data processed {"connection_id":132897,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:29:58] local.INFO: Acknowledgment sent {"connection_id":132897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:30:06] local.INFO: TCP Data received {"connection_id":132896,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8d8488012d7f9d8005dc5890000501022f..."} 
[2026-07-13 18:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8d8488012d7f9d8005dc5890000501022f..."} 
[2026-07-13 18:30:06] local.INFO: Processing buffer {"connection_id":132896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8d8488012d7f9d8005dc5890000501022f..."} 
[2026-07-13 18:30:06] local.INFO: Packet analysis {"connection_id":132896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8d"} 
[2026-07-13 18:30:06] local.INFO: Extracted packet for processing {"connection_id":132896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8d"} 
[2026-07-13 18:30:06] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":98326672,"longitude_deg":76.3338112,"latitude_deg":9.8326672,"altitude":5,"angle":258,"satellites":47,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05dc5890","is_valid_coordinates":true} 
[2026-07-13 18:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690398464001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962370815229952,"note":"Value kept but may cause issues"} 
[2026-07-13 18:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195857883052943360,"note":"Value kept but may cause issues"} 
[2026-07-13 18:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783947429000,"timestamp_ms":1783947429000,"timestamp_seconds":1783947429,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8d8488"} 
[2026-07-13 18:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":37,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-13 18:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":132896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":132896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":132896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690398464001,"66":2231,"155":206,"85":15104,"24":0,"16":105962370815229952,"45":9195857883052943360},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-13 18:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690398464001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:30:06] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 18:30:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962370815229952,"km_value":105962370815229.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195857883052943360,"description":"Unknown IO ID 45"} 
[2026-07-13 18:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690398464001,"power":2231,"unknown_155":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9195857883052943360}} 
[2026-07-13 18:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":132896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:30:06] local.INFO: GPS data processed {"connection_id":132896,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:30:06] local.INFO: Acknowledgment sent {"connection_id":132896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:30:11] local.INFO: TCP Data received {"connection_id":130758,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8f3df0012d7f914005afd9380014011b1f..."} 
[2026-07-13 18:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8f3df0012d7f914005afd9380014011b1f..."} 
[2026-07-13 18:30:11] local.INFO: Processing buffer {"connection_id":130758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8f3df0012d7f914005afd9380014011b1f..."} 
[2026-07-13 18:30:11] local.INFO: Packet analysis {"connection_id":130758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8f"} 
[2026-07-13 18:30:11] local.INFO: Extracted packet for processing {"connection_id":130758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8f"} 
[2026-07-13 18:30:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690493696001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783947542000,"timestamp_ms":1783947542000,"timestamp_seconds":1783947542,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8f3df0"} 
[2026-07-13 18:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 18:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690493696001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 18:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690493696001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:30:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 18:30:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690493696001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":130758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:30:11] local.INFO: GPS data processed {"connection_id":130758,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:30:11] local.INFO: Acknowledgment sent {"connection_id":130758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:30:21] local.INFO: TCP Data received {"connection_id":130759,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8e0958012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8e0958012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:30:21] local.INFO: Processing buffer {"connection_id":130759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8e0958012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:30:21] local.INFO: Packet analysis {"connection_id":130759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8e"} 
[2026-07-13 18:30:21] local.INFO: Extracted packet for processing {"connection_id":130759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8e"} 
[2026-07-13 18:30:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690473472001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:30:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783947463000,"timestamp_ms":1783947463000,"timestamp_seconds":1783947463,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8e0958"} 
[2026-07-13 18:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-13 18:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":130759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":130759,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":130759,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690473472001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690473472001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:30:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:30:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:30:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690473472001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":130759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481340,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:30:21] local.INFO: GPS data processed {"connection_id":130759,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:30:21] local.INFO: Acknowledgment sent {"connection_id":130759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:30:29] local.INFO: TCP Data received {"connection_id":132897,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8ea598012d198b400720b200003a006e2c..."} 
[2026-07-13 18:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8ea598012d198b400720b200003a006e2c..."} 
[2026-07-13 18:30:29] local.INFO: Processing buffer {"connection_id":132897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8ea598012d198b400720b200003a006e2c..."} 
[2026-07-13 18:30:29] local.INFO: Packet analysis {"connection_id":132897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8e"} 
[2026-07-13 18:30:29] local.INFO: Extracted packet for processing {"connection_id":132897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8e"} 
[2026-07-13 18:30:29] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690555392001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:30: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-07-13 18:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783947503000,"timestamp_ms":1783947503000,"timestamp_seconds":1783947503,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8ea598"} 
[2026-07-13 18:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-13 18:30:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690555392001,"66":12809,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690555392001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:30:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:30:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690555392001,"power":12809,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":132897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:30:30] local.INFO: GPS data processed {"connection_id":132897,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:30:30] local.INFO: Acknowledgment sent {"connection_id":132897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:30:30] local.INFO: TCP Data received {"connection_id":130541,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:30:30] local.INFO: Processing buffer {"connection_id":130541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:30:30] local.INFO: IMEI packet received {"connection_id":130541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-13 18:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":130541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:30:34] local.INFO: TCP Data received {"connection_id":130541,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:30:34] local.INFO: Processing buffer {"connection_id":130541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-13 18:30:34] local.INFO: IMEI packet received {"connection_id":130541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-13 18:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":130541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:30:35] local.INFO: TCP Data received {"connection_id":130541,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8d8488012d7f9d8005dc5890000501022f..."} 
[2026-07-13 18:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8d8488012d7f9d8005dc5890000501022f..."} 
[2026-07-13 18:30:35] local.INFO: Processing buffer {"connection_id":130541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8d8488012d7f9d8005dc5890000501022f..."} 
[2026-07-13 18:30:35] local.INFO: Packet analysis {"connection_id":130541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8d"} 
[2026-07-13 18:30:35] local.INFO: Extracted packet for processing {"connection_id":130541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8d"} 
[2026-07-13 18:30:35] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":98326672,"longitude_deg":76.3338112,"latitude_deg":9.8326672,"altitude":5,"angle":258,"satellites":47,"speed":0,"hex_longitude":"2d7f9d80","hex_latitude":"05dc5890","is_valid_coordinates":true} 
[2026-07-13 18:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690398464001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":105962370815229952,"note":"Value kept but may cause issues"} 
[2026-07-13 18:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195857883052943360,"note":"Value kept but may cause issues"} 
[2026-07-13 18:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783947429000,"timestamp_ms":1783947429000,"timestamp_seconds":1783947429,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8d8488"} 
[2026-07-13 18:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":37,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-13 18:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-13 18:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-13 18:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-13 18:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690398464001,"66":2231,"155":206,"85":15104,"24":0,"16":105962370815229952,"45":9195857883052943360},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-13 18:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-13 18:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-13 18:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690398464001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:30:35] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-13 18:30:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-13 18:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":105962370815229952,"km_value":105962370815229.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195857883052943360,"description":"Unknown IO ID 45"} 
[2026-07-13 18:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690398464001,"power":2231,"unknown_155":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9195857883052943360}} 
[2026-07-13 18:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":130541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:30:35] local.INFO: GPS data processed {"connection_id":130541,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:30:35] local.INFO: Acknowledgment sent {"connection_id":130541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:30:39] local.INFO: TCP Data received {"connection_id":130542,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:30:39] local.INFO: Processing buffer {"connection_id":130542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:30:39] local.INFO: IMEI packet received {"connection_id":130542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":130542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:30:44] local.INFO: TCP Data received {"connection_id":130542,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:30:44] local.INFO: Processing buffer {"connection_id":130542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:30:44] local.INFO: IMEI packet received {"connection_id":130542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":130542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:30:45] local.INFO: TCP Data received {"connection_id":132898,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:30:45] local.INFO: Processing buffer {"connection_id":132898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:30:45] local.INFO: IMEI packet received {"connection_id":132898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":132898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:30:45] local.INFO: TCP Data received {"connection_id":130542,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8f3df0012d7f914005afd9380014011b1f..."} 
[2026-07-13 18:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8f3df0012d7f914005afd9380014011b1f..."} 
[2026-07-13 18:30:45] local.INFO: Processing buffer {"connection_id":130542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8f3df0012d7f914005afd9380014011b1f..."} 
[2026-07-13 18:30:45] local.INFO: Packet analysis {"connection_id":130542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8f"} 
[2026-07-13 18:30:45] local.INFO: Extracted packet for processing {"connection_id":130542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8f"} 
[2026-07-13 18:30:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 18:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690493696001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783947542000,"timestamp_ms":1783947542000,"timestamp_seconds":1783947542,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8f3df0"} 
[2026-07-13 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-07-13 18:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 18:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 18:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690493696001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 18:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690493696001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:30:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 18:30:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690493696001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":130542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:30:45] local.INFO: GPS data processed {"connection_id":130542,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:30:45] local.INFO: Acknowledgment sent {"connection_id":130542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:30:50] local.INFO: TCP Data received {"connection_id":132898,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:30:50] local.INFO: Processing buffer {"connection_id":132898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:30:50] local.INFO: IMEI packet received {"connection_id":132898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":132898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:30:51] local.INFO: TCP Data received {"connection_id":130542,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8f3df0012d7f914005afd9380014011b1f..."} 
[2026-07-13 18:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8f3df0012d7f914005afd9380014011b1f..."} 
[2026-07-13 18:30:51] local.INFO: Processing buffer {"connection_id":130542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8f3df0012d7f914005afd9380014011b1f..."} 
[2026-07-13 18:30:51] local.INFO: Packet analysis {"connection_id":130542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8f"} 
[2026-07-13 18:30:51] local.INFO: Extracted packet for processing {"connection_id":130542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8f"} 
[2026-07-13 18:30:51] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690493696001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783947542000,"timestamp_ms":1783947542000,"timestamp_seconds":1783947542,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8f3df0"} 
[2026-07-13 18:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 18:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:30: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-07-13 18:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690493696001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 18:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690493696001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:30:51] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 18:30:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690493696001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":130542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:30:51] local.INFO: GPS data processed {"connection_id":130542,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:30:51] local.INFO: Acknowledgment sent {"connection_id":130542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:30:51] local.INFO: TCP Data received {"connection_id":132898,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8e0958012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8e0958012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:30:51] local.INFO: Processing buffer {"connection_id":132898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8e0958012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:30:51] local.INFO: Packet analysis {"connection_id":132898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8e"} 
[2026-07-13 18:30:51] local.INFO: Extracted packet for processing {"connection_id":132898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8e"} 
[2026-07-13 18:30:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690473472001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:30:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783947463000,"timestamp_ms":1783947463000,"timestamp_seconds":1783947463,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8e0958"} 
[2026-07-13 18:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-13 18:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690473472001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690473472001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:30:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:30:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:30:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690473472001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":132898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481345,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:30:51] local.INFO: GPS data processed {"connection_id":132898,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:30:51] local.INFO: Acknowledgment sent {"connection_id":132898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:30:55] local.INFO: TCP Data received {"connection_id":132898,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8e0958012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8e0958012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:30:55] local.INFO: Processing buffer {"connection_id":132898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8e0958012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:30:55] local.INFO: Packet analysis {"connection_id":132898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8e"} 
[2026-07-13 18:30:55] local.INFO: Extracted packet for processing {"connection_id":132898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8e"} 
[2026-07-13 18:30:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690473472001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:30:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783947463000,"timestamp_ms":1783947463000,"timestamp_seconds":1783947463,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8e0958"} 
[2026-07-13 18:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-13 18:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":132898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":132898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":132898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690473472001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690473472001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:30:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:30:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:30:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690473472001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":132898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481346,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:30:56] local.INFO: GPS data processed {"connection_id":132898,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:30:56] local.INFO: Acknowledgment sent {"connection_id":132898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:30:58] local.INFO: TCP Data received {"connection_id":130760,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:30:58] local.INFO: Processing buffer {"connection_id":130760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:30:58] local.INFO: IMEI packet received {"connection_id":130760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":130760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:31:03] local.INFO: TCP Data received {"connection_id":130760,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:31:03] local.INFO: Processing buffer {"connection_id":130760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:31:03] local.INFO: IMEI packet received {"connection_id":130760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":130760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:31:04] local.INFO: TCP Data received {"connection_id":130760,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8ef7a0012d198b400720b200003a006e2c..."} 
[2026-07-13 18:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8ef7a0012d198b400720b200003a006e2c..."} 
[2026-07-13 18:31:04] local.INFO: Processing buffer {"connection_id":130760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8ef7a0012d198b400720b200003a006e2c..."} 
[2026-07-13 18:31:04] local.INFO: Packet analysis {"connection_id":130760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8e"} 
[2026-07-13 18:31:04] local.INFO: Extracted packet for processing {"connection_id":130760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8e"} 
[2026-07-13 18:31:04] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690560768001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783947524000,"timestamp_ms":1783947524000,"timestamp_seconds":1783947524,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8ef7a0"} 
[2026-07-13 18:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-13 18:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":432345564395340800,"note":"Value kept but may cause issues"} 
[2026-07-13 18:31:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-13 18:31:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-13 18:31:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-13 18:31:04] local.WARNING: Large IO value detected {"io_id":91,"raw_value":-8308692706702816704,"note":"Value kept but may cause issues"} 
[2026-07-13 18:31:04] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2986344506,"note":"Value kept but may cause issues"} 
[2026-07-13 18:31:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-13 18:31:04] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2356147866164036135,"note":"Value kept but may cause issues"} 
[2026-07-13 18:31:04] local.WARNING: Large IO value detected {"io_id":48,"raw_value":-504177241257619885,"note":"Value kept but may cause issues"} 
[2026-07-13 18:31:04] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-07-13 18:31:04] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,103,83,24,241,157,16,159,45,64,178,58,37,10,66,1,40,175,240,46,227,91,32,4,113,205,11,139,239,51,2,21,7,57,6,48,164],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-13 18:31:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179461589457436672,"timestamp_seconds":4179461589457436.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 18:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":130760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":130760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":130760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690560768001,"66":12982,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690560768001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:31:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:31:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690560768001,"power":12982,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":130760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:31:04] local.INFO: GPS data processed {"connection_id":130760,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:31:04] local.INFO: Acknowledgment sent {"connection_id":130760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:31:07] local.INFO: TCP Data received {"connection_id":130760,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8f49a8012d198b400720b200003a006e29..."} 
[2026-07-13 18:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8f49a8012d198b400720b200003a006e29..."} 
[2026-07-13 18:31:07] local.INFO: Processing buffer {"connection_id":130760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8f49a8012d198b400720b200003a006e29..."} 
[2026-07-13 18:31:07] local.INFO: Packet analysis {"connection_id":130760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8f"} 
[2026-07-13 18:31:07] local.INFO: Extracted packet for processing {"connection_id":130760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8f"} 
[2026-07-13 18:31:07] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690566144001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783947545000,"timestamp_ms":1783947545000,"timestamp_seconds":1783947545,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8f49a8"} 
[2026-07-13 18:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-13 18:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":130760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":130760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":130760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690566144001,"66":12993,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690566144001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:31:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:31:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690566144001,"power":12993,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":130760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:31:07] local.INFO: GPS data processed {"connection_id":130760,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:31:07] local.INFO: Acknowledgment sent {"connection_id":130760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:31:34] local.INFO: TCP Data received {"connection_id":130543,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:31:34] local.INFO: Processing buffer {"connection_id":130543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:31:34] local.INFO: IMEI packet received {"connection_id":130543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":130543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:31:40] local.INFO: TCP Data received {"connection_id":130544,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:31:40] local.INFO: Processing buffer {"connection_id":130544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:31:40] local.INFO: IMEI packet received {"connection_id":130544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":130544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:31:41] local.INFO: TCP Data received {"connection_id":130543,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:31:41] local.INFO: Processing buffer {"connection_id":130543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:31:41] local.INFO: IMEI packet received {"connection_id":130543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":130543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:31:42] local.INFO: TCP Data received {"connection_id":130543,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8f3df0012d7f914005afd9380014011b1f..."} 
[2026-07-13 18:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8f3df0012d7f914005afd9380014011b1f..."} 
[2026-07-13 18:31:42] local.INFO: Processing buffer {"connection_id":130543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8f3df0012d7f914005afd9380014011b1f..."} 
[2026-07-13 18:31:42] local.INFO: Packet analysis {"connection_id":130543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8f"} 
[2026-07-13 18:31:42] local.INFO: Extracted packet for processing {"connection_id":130543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8f"} 
[2026-07-13 18:31:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690493696001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783947542000,"timestamp_ms":1783947542000,"timestamp_seconds":1783947542,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8f3df0"} 
[2026-07-13 18:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 18:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690493696001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 18:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690493696001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:31:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 18:31:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690493696001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":130543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:31:42] local.INFO: GPS data processed {"connection_id":130543,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:31:42] local.INFO: Acknowledgment sent {"connection_id":130543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:31:45] local.INFO: TCP Data received {"connection_id":130544,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:31:45] local.INFO: Processing buffer {"connection_id":130544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:31:45] local.INFO: IMEI packet received {"connection_id":130544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":130544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:31:46] local.INFO: TCP Data received {"connection_id":130544,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8e0958012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8e0958012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:31:46] local.INFO: Processing buffer {"connection_id":130544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8e0958012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:31:46] local.INFO: Packet analysis {"connection_id":130544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8e"} 
[2026-07-13 18:31:46] local.INFO: Extracted packet for processing {"connection_id":130544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8e"} 
[2026-07-13 18:31:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690473472001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:31:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783947463000,"timestamp_ms":1783947463000,"timestamp_seconds":1783947463,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8e0958"} 
[2026-07-13 18:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-13 18:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690473472001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690473472001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:31:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:31:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:31:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690473472001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":130544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481350,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:31:46] local.INFO: GPS data processed {"connection_id":130544,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:31:46] local.INFO: Acknowledgment sent {"connection_id":130544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:31:48] local.INFO: TCP Data received {"connection_id":131558,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:31:48] local.INFO: Processing buffer {"connection_id":131558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:31:48] local.INFO: IMEI packet received {"connection_id":131558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":131558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:31:52] local.INFO: TCP Data received {"connection_id":131558,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:31:52] local.INFO: Processing buffer {"connection_id":131558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:31:52] local.INFO: IMEI packet received {"connection_id":131558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":131558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:31:58] local.INFO: TCP Data received {"connection_id":131558,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:31:58] local.INFO: Processing buffer {"connection_id":131558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:31:58] local.INFO: IMEI packet received {"connection_id":131558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":131558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:31:58] local.INFO: TCP Data received {"connection_id":131558,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8f9bb0012d198b400720b200003a006e29..."} 
[2026-07-13 18:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8f9bb0012d198b400720b200003a006e29..."} 
[2026-07-13 18:31:58] local.INFO: Processing buffer {"connection_id":131558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8f9bb0012d198b400720b200003a006e29..."} 
[2026-07-13 18:31:58] local.INFO: Packet analysis {"connection_id":131558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8f"} 
[2026-07-13 18:31:58] local.INFO: Extracted packet for processing {"connection_id":131558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8f"} 
[2026-07-13 18:31:58] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690571520001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783947566000,"timestamp_ms":1783947566000,"timestamp_seconds":1783947566,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8f9bb0"} 
[2026-07-13 18:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-13 18:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690571520001,"66":12961,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690571520001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:31:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:31:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690571520001,"power":12961,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":131558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:31:59] local.INFO: GPS data processed {"connection_id":131558,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:31:59] local.INFO: Acknowledgment sent {"connection_id":131558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:32:14] local.INFO: TCP Data received {"connection_id":130543,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8f3df0012d7f914005afd9380014011b1f..."} 
[2026-07-13 18:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8f3df0012d7f914005afd9380014011b1f..."} 
[2026-07-13 18:32:14] local.INFO: Processing buffer {"connection_id":130543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8f3df0012d7f914005afd9380014011b1f..."} 
[2026-07-13 18:32:14] local.INFO: Packet analysis {"connection_id":130543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8f"} 
[2026-07-13 18:32:14] local.INFO: Extracted packet for processing {"connection_id":130543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8f"} 
[2026-07-13 18:32:14] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690493696001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783947542000,"timestamp_ms":1783947542000,"timestamp_seconds":1783947542,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8f3df0"} 
[2026-07-13 18:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 18:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690493696001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 18:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690493696001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:32:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 18:32:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690493696001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":130543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:32:14] local.INFO: GPS data processed {"connection_id":130543,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:32:14] local.INFO: Acknowledgment sent {"connection_id":130543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:32:17] local.INFO: TCP Data received {"connection_id":130544,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8e0958012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8e0958012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:32:17] local.INFO: Processing buffer {"connection_id":130544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8e0958012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:32:17] local.INFO: Packet analysis {"connection_id":130544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8e"} 
[2026-07-13 18:32:17] local.INFO: Extracted packet for processing {"connection_id":130544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8e"} 
[2026-07-13 18:32:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690473472001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:32:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783947463000,"timestamp_ms":1783947463000,"timestamp_seconds":1783947463,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8e0958"} 
[2026-07-13 18:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:32: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-07-13 18:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-13 18:32:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690473472001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690473472001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:32:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:32:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:32:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690473472001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":130544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481353,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:32:17] local.INFO: GPS data processed {"connection_id":130544,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:32:17] local.INFO: Acknowledgment sent {"connection_id":130544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:32:30] local.INFO: TCP Data received {"connection_id":131558,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8fedb8012d198b400720b200003a006e2c..."} 
[2026-07-13 18:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8fedb8012d198b400720b200003a006e2c..."} 
[2026-07-13 18:32:30] local.INFO: Processing buffer {"connection_id":131558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8fedb8012d198b400720b200003a006e2c..."} 
[2026-07-13 18:32:30] local.INFO: Packet analysis {"connection_id":131558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8f"} 
[2026-07-13 18:32:30] local.INFO: Extracted packet for processing {"connection_id":131558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8f"} 
[2026-07-13 18:32:30] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690576896001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783947587000,"timestamp_ms":1783947587000,"timestamp_seconds":1783947587,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8fedb8"} 
[2026-07-13 18:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-13 18:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":131558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":131558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":131558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690576896001,"66":12928,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690576896001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:32:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:32:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690576896001,"power":12928,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":131558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:32:30] local.INFO: GPS data processed {"connection_id":131558,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:32:30] local.INFO: Acknowledgment sent {"connection_id":131558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:32:34] local.INFO: TCP Data received {"connection_id":131559,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:32:34] local.INFO: Processing buffer {"connection_id":131559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:32:34] local.INFO: IMEI packet received {"connection_id":131559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":131559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:32:39] local.INFO: TCP Data received {"connection_id":131559,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:32:39] local.INFO: Processing buffer {"connection_id":131559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:32:39] local.INFO: IMEI packet received {"connection_id":131559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":131559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:32:39] local.INFO: TCP Data received {"connection_id":132899,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:32:39] local.INFO: Processing buffer {"connection_id":132899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:32:39] local.INFO: IMEI packet received {"connection_id":132899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":132899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:32:40] local.INFO: TCP Data received {"connection_id":131559,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8f3df0012d7f914005afd9380014011b1f..."} 
[2026-07-13 18:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8f3df0012d7f914005afd9380014011b1f..."} 
[2026-07-13 18:32:40] local.INFO: Processing buffer {"connection_id":131559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8f3df0012d7f914005afd9380014011b1f..."} 
[2026-07-13 18:32:40] local.INFO: Packet analysis {"connection_id":131559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8f"} 
[2026-07-13 18:32:40] local.INFO: Extracted packet for processing {"connection_id":131559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8f"} 
[2026-07-13 18:32:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 18:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690493696001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783947542000,"timestamp_ms":1783947542000,"timestamp_seconds":1783947542,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8f3df0"} 
[2026-07-13 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-07-13 18:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 18:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 18:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690493696001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 18:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690493696001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:32:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 18:32:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690493696001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":131559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:32:40] local.INFO: GPS data processed {"connection_id":131559,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:32:40] local.INFO: Acknowledgment sent {"connection_id":131559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:32:45] local.INFO: TCP Data received {"connection_id":132899,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:32:45] local.INFO: Processing buffer {"connection_id":132899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:32:45] local.INFO: IMEI packet received {"connection_id":132899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":132899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:32:46] local.INFO: TCP Data received {"connection_id":132899,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8e0958012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8e0958012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:32:46] local.INFO: Processing buffer {"connection_id":132899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8e0958012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:32:46] local.INFO: Packet analysis {"connection_id":132899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8e"} 
[2026-07-13 18:32:46] local.INFO: Extracted packet for processing {"connection_id":132899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8e"} 
[2026-07-13 18:32:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690473472001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:32:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783947463000,"timestamp_ms":1783947463000,"timestamp_seconds":1783947463,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8e0958"} 
[2026-07-13 18:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-13 18:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690473472001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690473472001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:32:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:32:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:32:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690473472001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":132899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481356,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:32:46] local.INFO: GPS data processed {"connection_id":132899,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:32:46] local.INFO: Acknowledgment sent {"connection_id":132899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:32:52] local.INFO: TCP Data received {"connection_id":130545,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:32:52] local.INFO: Processing buffer {"connection_id":130545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:32:52] local.INFO: IMEI packet received {"connection_id":130545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":130545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:32:52] local.INFO: TCP Data received {"connection_id":130545,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:32:52] local.INFO: Processing buffer {"connection_id":130545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:32:52] local.INFO: IMEI packet received {"connection_id":130545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":130545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:32:58] local.INFO: TCP Data received {"connection_id":130545,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:32:58] local.INFO: Processing buffer {"connection_id":130545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:32:58] local.INFO: IMEI packet received {"connection_id":130545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":130545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:32:58] local.INFO: TCP Data received {"connection_id":130545,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b903fc0012d198b400720b200003a006e2b..."} 
[2026-07-13 18:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b903fc0012d198b400720b200003a006e2b..."} 
[2026-07-13 18:32:58] local.INFO: Processing buffer {"connection_id":130545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b903fc0012d198b400720b200003a006e2b..."} 
[2026-07-13 18:32:58] local.INFO: Packet analysis {"connection_id":130545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b90"} 
[2026-07-13 18:32:58] local.INFO: Extracted packet for processing {"connection_id":130545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b90"} 
[2026-07-13 18:32:58] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690582272001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:32:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783947608000,"timestamp_ms":1783947608000,"timestamp_seconds":1783947608,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b903fc0"} 
[2026-07-13 18:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-13 18:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:32:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690582272001,"66":12917,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690582272001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:32:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:32:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690582272001,"power":12917,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":130545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:32:59] local.INFO: GPS data processed {"connection_id":130545,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:32:59] local.INFO: Acknowledgment sent {"connection_id":130545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:33:11] local.INFO: TCP Data received {"connection_id":131559,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8f3df0012d7f914005afd9380014011b1f..."} 
[2026-07-13 18:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8f3df0012d7f914005afd9380014011b1f..."} 
[2026-07-13 18:33:11] local.INFO: Processing buffer {"connection_id":131559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8f3df0012d7f914005afd9380014011b1f..."} 
[2026-07-13 18:33:11] local.INFO: Packet analysis {"connection_id":131559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8f"} 
[2026-07-13 18:33:11] local.INFO: Extracted packet for processing {"connection_id":131559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8f"} 
[2026-07-13 18:33:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690493696001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783947542000,"timestamp_ms":1783947542000,"timestamp_seconds":1783947542,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8f3df0"} 
[2026-07-13 18:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 18:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690493696001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 18:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690493696001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:33:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 18:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690493696001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":131559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:33:11] local.INFO: GPS data processed {"connection_id":131559,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:33:11] local.INFO: Acknowledgment sent {"connection_id":131559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:33:18] local.INFO: TCP Data received {"connection_id":132899,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8e0958012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8e0958012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:33:18] local.INFO: Processing buffer {"connection_id":132899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8e0958012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:33:18] local.INFO: Packet analysis {"connection_id":132899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8e"} 
[2026-07-13 18:33:18] local.INFO: Extracted packet for processing {"connection_id":132899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8e"} 
[2026-07-13 18:33:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690473472001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:33:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783947463000,"timestamp_ms":1783947463000,"timestamp_seconds":1783947463,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8e0958"} 
[2026-07-13 18:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-13 18:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690473472001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690473472001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:33:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:33:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:33:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690473472001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":132899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481359,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:33:18] local.INFO: GPS data processed {"connection_id":132899,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:33:18] local.INFO: Acknowledgment sent {"connection_id":132899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:33:29] local.INFO: TCP Data received {"connection_id":130545,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9091c8012d198b400720b200003a006e26..."} 
[2026-07-13 18:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9091c8012d198b400720b200003a006e26..."} 
[2026-07-13 18:33:29] local.INFO: Processing buffer {"connection_id":130545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9091c8012d198b400720b200003a006e26..."} 
[2026-07-13 18:33:29] local.INFO: Packet analysis {"connection_id":130545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b90"} 
[2026-07-13 18:33:29] local.INFO: Extracted packet for processing {"connection_id":130545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b90"} 
[2026-07-13 18:33:29] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690587648001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:33:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18: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-07-13 18:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783947629000,"timestamp_ms":1783947629000,"timestamp_seconds":1783947629,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9091c8"} 
[2026-07-13 18:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-13 18:33:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:33:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690587648001,"66":12841,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690587648001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:33:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:33:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690587648001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":130545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:33:30] local.INFO: GPS data processed {"connection_id":130545,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:33:30] local.INFO: Acknowledgment sent {"connection_id":130545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:33:34] local.INFO: TCP Data received {"connection_id":131560,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:33:34] local.INFO: Processing buffer {"connection_id":131560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:33:34] local.INFO: IMEI packet received {"connection_id":131560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":131560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:33:39] local.INFO: TCP Data received {"connection_id":131560,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:33:39] local.INFO: Processing buffer {"connection_id":131560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:33:39] local.INFO: IMEI packet received {"connection_id":131560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":131560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:33:39] local.INFO: TCP Data received {"connection_id":130761,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130761,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:33:39] local.INFO: Processing buffer {"connection_id":130761,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:33:39] local.INFO: IMEI packet received {"connection_id":130761,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":130761,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:33:40] local.INFO: TCP Data received {"connection_id":131560,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8f3df0012d7f914005afd9380014011b1f..."} 
[2026-07-13 18:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8f3df0012d7f914005afd9380014011b1f..."} 
[2026-07-13 18:33:40] local.INFO: Processing buffer {"connection_id":131560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8f3df0012d7f914005afd9380014011b1f..."} 
[2026-07-13 18:33:40] local.INFO: Packet analysis {"connection_id":131560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8f"} 
[2026-07-13 18:33:40] local.INFO: Extracted packet for processing {"connection_id":131560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8f"} 
[2026-07-13 18:33:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690493696001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783947542000,"timestamp_ms":1783947542000,"timestamp_seconds":1783947542,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8f3df0"} 
[2026-07-13 18:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 18:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690493696001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 18:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690493696001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:33:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 18:33:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690493696001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":131560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:33:40] local.INFO: GPS data processed {"connection_id":131560,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:33:40] local.INFO: Acknowledgment sent {"connection_id":131560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:33:45] local.INFO: TCP Data received {"connection_id":130761,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130761,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:33:45] local.INFO: Processing buffer {"connection_id":130761,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:33:45] local.INFO: IMEI packet received {"connection_id":130761,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":130761,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:33:45] local.INFO: TCP Data received {"connection_id":130761,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b92a120012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b92a120012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:33:45] local.INFO: Processing buffer {"connection_id":130761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b92a120012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:33:45] local.INFO: Packet analysis {"connection_id":130761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b92"} 
[2026-07-13 18:33:45] local.INFO: Extracted packet for processing {"connection_id":130761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b92"} 
[2026-07-13 18:33:45] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690550528001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:33:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783947764000,"timestamp_ms":1783947764000,"timestamp_seconds":1783947764,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b92a120"} 
[2026-07-13 18:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130761,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130761,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690550528001,"66":24810,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690550528001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:33:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:33:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:33:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690550528001,"power":24810,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":130761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481362,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:33:46] local.INFO: GPS data processed {"connection_id":130761,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:33:46] local.INFO: Acknowledgment sent {"connection_id":130761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:33:52] local.INFO: TCP Data received {"connection_id":130762,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:33:52] local.INFO: Processing buffer {"connection_id":130762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:33:52] local.INFO: IMEI packet received {"connection_id":130762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":130762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:33:55] local.INFO: TCP Data received {"connection_id":130762,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:33:55] local.INFO: Processing buffer {"connection_id":130762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:33:55] local.INFO: IMEI packet received {"connection_id":130762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":130762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:33:58] local.INFO: TCP Data received {"connection_id":130762,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:33:58] local.INFO: Processing buffer {"connection_id":130762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:33:58] local.INFO: IMEI packet received {"connection_id":130762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":130762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:33:58] local.INFO: TCP Data received {"connection_id":130762,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b90e3d0012d198b400720b200003a006e2d..."} 
[2026-07-13 18:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b90e3d0012d198b400720b200003a006e2d..."} 
[2026-07-13 18:33:58] local.INFO: Processing buffer {"connection_id":130762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b90e3d0012d198b400720b200003a006e2d..."} 
[2026-07-13 18:33:58] local.INFO: Packet analysis {"connection_id":130762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b90"} 
[2026-07-13 18:33:58] local.INFO: Extracted packet for processing {"connection_id":130762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b90"} 
[2026-07-13 18:33:58] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690593024001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783947650000,"timestamp_ms":1783947650000,"timestamp_seconds":1783947650,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b90e3d0"} 
[2026-07-13 18:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-13 18:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690593024001,"66":12863,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690593024001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:33:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:33:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690593024001,"power":12863,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":130762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:33:58] local.INFO: GPS data processed {"connection_id":130762,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:33:58] local.INFO: Acknowledgment sent {"connection_id":130762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:34:03] local.INFO: TCP Data received {"connection_id":130762,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9135d8012d198b400720b200003a006e2a..."} 
[2026-07-13 18:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9135d8012d198b400720b200003a006e2a..."} 
[2026-07-13 18:34:03] local.INFO: Processing buffer {"connection_id":130762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9135d8012d198b400720b200003a006e2a..."} 
[2026-07-13 18:34:03] local.INFO: Packet analysis {"connection_id":130762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b91"} 
[2026-07-13 18:34:03] local.INFO: Extracted packet for processing {"connection_id":130762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b91"} 
[2026-07-13 18:34:03] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690598400001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783947671000,"timestamp_ms":1783947671000,"timestamp_seconds":1783947671,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9135d8"} 
[2026-07-13 18:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-13 18:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":130762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":130762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":130762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690598400001,"66":12298,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690598400001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:34:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:34:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690598400001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":130762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:34:03] local.INFO: GPS data processed {"connection_id":130762,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:34:03] local.INFO: Acknowledgment sent {"connection_id":130762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:34:11] local.INFO: TCP Data received {"connection_id":131560,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8f3df0012d7f914005afd9380014011b1f..."} 
[2026-07-13 18:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8f3df0012d7f914005afd9380014011b1f..."} 
[2026-07-13 18:34:11] local.INFO: Processing buffer {"connection_id":131560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8f3df0012d7f914005afd9380014011b1f..."} 
[2026-07-13 18:34:11] local.INFO: Packet analysis {"connection_id":131560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8f"} 
[2026-07-13 18:34:11] local.INFO: Extracted packet for processing {"connection_id":131560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8f"} 
[2026-07-13 18:34:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690493696001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783947542000,"timestamp_ms":1783947542000,"timestamp_seconds":1783947542,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8f3df0"} 
[2026-07-13 18:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 18:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690493696001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 18:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690493696001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:34:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 18:34:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690493696001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":131560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:34:11] local.INFO: GPS data processed {"connection_id":131560,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:34:11] local.INFO: Acknowledgment sent {"connection_id":131560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:34:17] local.INFO: TCP Data received {"connection_id":130761,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b92a120012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b92a120012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:34:17] local.INFO: Processing buffer {"connection_id":130761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b92a120012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:34:17] local.INFO: Packet analysis {"connection_id":130761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b92"} 
[2026-07-13 18:34:17] local.INFO: Extracted packet for processing {"connection_id":130761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b92"} 
[2026-07-13 18:34:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690550528001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783947764000,"timestamp_ms":1783947764000,"timestamp_seconds":1783947764,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b92a120"} 
[2026-07-13 18:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:34: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-07-13 18: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130761,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130761,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690550528001,"66":24810,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690550528001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:34:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:34:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:34:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690550528001,"power":24810,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":130761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481366,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:34:17] local.INFO: GPS data processed {"connection_id":130761,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:34:17] local.INFO: Acknowledgment sent {"connection_id":130761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:34:34] local.INFO: TCP Data received {"connection_id":131561,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:34:34] local.INFO: Processing buffer {"connection_id":131561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:34:34] local.INFO: IMEI packet received {"connection_id":131561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":131561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:34:34] local.INFO: TCP Data received {"connection_id":130762,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9187e0012d198b400720b200003a006e2b..."} 
[2026-07-13 18:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9187e0012d198b400720b200003a006e2b..."} 
[2026-07-13 18:34:34] local.INFO: Processing buffer {"connection_id":130762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9187e0012d198b400720b200003a006e2b..."} 
[2026-07-13 18:34:34] local.INFO: Packet analysis {"connection_id":130762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b91"} 
[2026-07-13 18:34:34] local.INFO: Extracted packet for processing {"connection_id":130762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b91"} 
[2026-07-13 18:34:34] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690603776001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18: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-07-13 18:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783947692000,"timestamp_ms":1783947692000,"timestamp_seconds":1783947692,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9187e0"} 
[2026-07-13 18:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-13 18:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185621,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":-1873497444986126335,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:34] local.WARNING: Large IO value detected {"io_id":159,"raw_value":6597482770730916235,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:34] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513606070593781870,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:34] local.WARNING: Large IO value detected {"io_id":58,"raw_value":31007327414910976,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832567,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3657205254889865422,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:34] local.WARNING: Large IO value detected {"io_id":91,"raw_value":2414721025,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:34] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2986344506,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-13 18:34:34] local.WARNING: Large IO value detected {"io_id":155,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:34] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2701184376,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:34] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,159,227,45,64,178,58,10,66,145,38,63,1,240,117,91,32,4,113,205,155,139,41,239,50,2,21,7,44],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-13 18:34:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179461580867502080,"timestamp_seconds":4179461580867502.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 18:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":130762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":130762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":130762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690603776001,"66":12841,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690603776001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:34:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:34:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690603776001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":130762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:34:34] local.INFO: GPS data processed {"connection_id":130762,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:34:34] local.INFO: Acknowledgment sent {"connection_id":130762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:34:39] local.INFO: TCP Data received {"connection_id":131561,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:34:39] local.INFO: Processing buffer {"connection_id":131561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:34:39] local.INFO: IMEI packet received {"connection_id":131561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":131561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:34:40] local.INFO: TCP Data received {"connection_id":131561,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b8f3df0012d7f914005afd9380014011b1f..."} 
[2026-07-13 18:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b8f3df0012d7f914005afd9380014011b1f..."} 
[2026-07-13 18:34:40] local.INFO: Processing buffer {"connection_id":131561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b8f3df0012d7f914005afd9380014011b1f..."} 
[2026-07-13 18:34:40] local.INFO: Packet analysis {"connection_id":131561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b8f"} 
[2026-07-13 18:34:40] local.INFO: Extracted packet for processing {"connection_id":131561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b8f"} 
[2026-07-13 18:34:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":31,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690493696001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783947542000,"timestamp_ms":1783947542000,"timestamp_seconds":1783947542,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b8f3df0"} 
[2026-07-13 18:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 18:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690493696001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 18:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690493696001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:34:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 18:34:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690493696001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":131561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:34:40] local.INFO: GPS data processed {"connection_id":131561,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:34:40] local.INFO: Acknowledgment sent {"connection_id":131561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:34:45] local.INFO: TCP Data received {"connection_id":131562,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131562,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:34:45] local.INFO: Processing buffer {"connection_id":131562,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:34:45] local.INFO: IMEI packet received {"connection_id":131562,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":131562,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:34:50] local.INFO: TCP Data received {"connection_id":131562,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131562,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:34:50] local.INFO: Processing buffer {"connection_id":131562,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:34:50] local.INFO: IMEI packet received {"connection_id":131562,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":131562,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:34:51] local.INFO: TCP Data received {"connection_id":131562,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b92a120012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b92a120012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:34:51] local.INFO: Processing buffer {"connection_id":131562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b92a120012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:34:51] local.INFO: Packet analysis {"connection_id":131562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b92"} 
[2026-07-13 18:34:51] local.INFO: Extracted packet for processing {"connection_id":131562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b92"} 
[2026-07-13 18:34:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690550528001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783947764000,"timestamp_ms":1783947764000,"timestamp_seconds":1783947764,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b92a120"} 
[2026-07-13 18:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":131562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":131562,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":131562,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690550528001,"66":24810,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690550528001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:34:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:34:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:34:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690550528001,"power":24810,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":131562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481369,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:34:51] local.INFO: GPS data processed {"connection_id":131562,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:34:51] local.INFO: Acknowledgment sent {"connection_id":131562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:34:52] local.INFO: TCP Data received {"connection_id":130763,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:34:52] local.INFO: Processing buffer {"connection_id":130763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:34:52] local.INFO: IMEI packet received {"connection_id":130763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":130763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:34:55] local.INFO: TCP Data received {"connection_id":131562,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b92a120012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b92a120012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:34:55] local.INFO: Processing buffer {"connection_id":131562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b92a120012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:34:55] local.INFO: Packet analysis {"connection_id":131562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b92"} 
[2026-07-13 18:34:55] local.INFO: Extracted packet for processing {"connection_id":131562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b92"} 
[2026-07-13 18:34:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690550528001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783947764000,"timestamp_ms":1783947764000,"timestamp_seconds":1783947764,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b92a120"} 
[2026-07-13 18:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:34:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":131562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":131562,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":131562,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690550528001,"66":24810,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690550528001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:34:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:34:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:34:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690550528001,"power":24810,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":131562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481370,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:34:55] local.INFO: GPS data processed {"connection_id":131562,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:34:55] local.INFO: Acknowledgment sent {"connection_id":131562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:34:58] local.INFO: TCP Data received {"connection_id":130763,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:34:58] local.INFO: Processing buffer {"connection_id":130763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:34:58] local.INFO: IMEI packet received {"connection_id":130763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":130763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:34:59] local.INFO: TCP Data received {"connection_id":130763,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b91d9e8012d198b400720b200003a006e2a..."} 
[2026-07-13 18:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b91d9e8012d198b400720b200003a006e2a..."} 
[2026-07-13 18:34:59] local.INFO: Processing buffer {"connection_id":130763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b91d9e8012d198b400720b200003a006e2a..."} 
[2026-07-13 18:34:59] local.INFO: Packet analysis {"connection_id":130763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b91"} 
[2026-07-13 18:34:59] local.INFO: Extracted packet for processing {"connection_id":130763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b91"} 
[2026-07-13 18:34:59] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690609152001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783947713000,"timestamp_ms":1783947713000,"timestamp_seconds":1783947713,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b91d9e8"} 
[2026-07-13 18:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-13 18:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":130763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":130763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":130763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690609152001,"66":12798,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690609152001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:34:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:34:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690609152001,"power":12798,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":130763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:34:59] local.INFO: GPS data processed {"connection_id":130763,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:34:59] local.INFO: Acknowledgment sent {"connection_id":130763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:35:10] local.INFO: TCP Data received {"connection_id":131561,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:35:10] local.INFO: Processing buffer {"connection_id":131561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:35:10] local.INFO: Packet analysis {"connection_id":131561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b93"} 
[2026-07-13 18:35:10] local.INFO: Extracted packet for processing {"connection_id":131561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b93"} 
[2026-07-13 18:35:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":29,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690570752001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783947843000,"timestamp_ms":1783947843000,"timestamp_seconds":1783947843,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b93d5b8"} 
[2026-07-13 18:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 18:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690570752001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690570752001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:35:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690570752001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":131561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:35:10] local.INFO: GPS data processed {"connection_id":131561,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:35:10] local.INFO: Acknowledgment sent {"connection_id":131561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:35:30] local.INFO: TCP Data received {"connection_id":130763,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b922bf0012d198b400720b200003a006e2b..."} 
[2026-07-13 18:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b922bf0012d198b400720b200003a006e2b..."} 
[2026-07-13 18:35:30] local.INFO: Processing buffer {"connection_id":130763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b922bf0012d198b400720b200003a006e2b..."} 
[2026-07-13 18:35:30] local.INFO: Packet analysis {"connection_id":130763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b92"} 
[2026-07-13 18:35:30] local.INFO: Extracted packet for processing {"connection_id":130763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b92"} 
[2026-07-13 18:35:30] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690614528001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783947734000,"timestamp_ms":1783947734000,"timestamp_seconds":1783947734,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b922bf0"} 
[2026-07-13 18:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-13 18:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":130763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":130763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":130763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690614528001,"66":12798,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690614528001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:35:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:35:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690614528001,"power":12798,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":130763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:35:30] local.INFO: GPS data processed {"connection_id":130763,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:35:30] local.INFO: Acknowledgment sent {"connection_id":130763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:35:34] local.INFO: TCP Data received {"connection_id":132900,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:35:34] local.INFO: Processing buffer {"connection_id":132900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:35:34] local.INFO: IMEI packet received {"connection_id":132900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":132900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:35:40] local.INFO: TCP Data received {"connection_id":131563,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:35:40] local.INFO: Processing buffer {"connection_id":131563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:35:40] local.INFO: IMEI packet received {"connection_id":131563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":131563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:35:43] local.INFO: TCP Data received {"connection_id":132900,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:35:43] local.INFO: Processing buffer {"connection_id":132900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:35:43] local.INFO: IMEI packet received {"connection_id":132900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":132900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:35:44] local.INFO: TCP Data received {"connection_id":132900,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:35:44] local.INFO: Processing buffer {"connection_id":132900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:35:44] local.INFO: Packet analysis {"connection_id":132900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b93"} 
[2026-07-13 18:35:44] local.INFO: Extracted packet for processing {"connection_id":132900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b93"} 
[2026-07-13 18:35:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":29,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 18:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690570752001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783947843000,"timestamp_ms":1783947843000,"timestamp_seconds":1783947843,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b93d5b8"} 
[2026-07-13 18:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:35:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 18:35:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:35:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690570752001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690570752001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:35:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:35:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690570752001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":132900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:35:44] local.INFO: GPS data processed {"connection_id":132900,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:35:44] local.INFO: Acknowledgment sent {"connection_id":132900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:35:45] local.INFO: TCP Data received {"connection_id":132900,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:35:45] local.INFO: TCP Data received {"connection_id":131563,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:35:45] local.INFO: Processing buffer {"connection_id":132900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:35:45] local.INFO: Packet analysis {"connection_id":132900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b93"} 
[2026-07-13 18:35:45] local.INFO: Extracted packet for processing {"connection_id":132900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b93"} 
[2026-07-13 18:35:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":29,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690570752001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783947843000,"timestamp_ms":1783947843000,"timestamp_seconds":1783947843,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b93d5b8"} 
[2026-07-13 18:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 18:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:35:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:35:45] local.INFO: Processing buffer {"connection_id":131563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:35:45] local.INFO: IMEI packet received {"connection_id":131563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":131563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690570752001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690570752001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:35:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:35:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690570752001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":132900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:35:45] local.INFO: GPS data processed {"connection_id":132900,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:35:45] local.INFO: Acknowledgment sent {"connection_id":132900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:35:45] local.INFO: TCP Data received {"connection_id":131563,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b92a120012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b92a120012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:35:45] local.INFO: Processing buffer {"connection_id":131563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b92a120012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:35:45] local.INFO: Packet analysis {"connection_id":131563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b92"} 
[2026-07-13 18:35:45] local.INFO: Extracted packet for processing {"connection_id":131563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b92"} 
[2026-07-13 18:35:45] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690550528001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:35:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783947764000,"timestamp_ms":1783947764000,"timestamp_seconds":1783947764,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b92a120"} 
[2026-07-13 18:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:35:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131563,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131563,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690550528001,"66":24810,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690550528001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:35:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:35:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:35:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690550528001,"power":24810,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":131563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481376,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:35:46] local.INFO: GPS data processed {"connection_id":131563,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:35:46] local.INFO: Acknowledgment sent {"connection_id":131563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:35:52] local.INFO: TCP Data received {"connection_id":130764,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:35:52] local.INFO: Processing buffer {"connection_id":130764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:35:52] local.INFO: IMEI packet received {"connection_id":130764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":130764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:35:58] local.INFO: TCP Data received {"connection_id":130764,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:35:58] local.INFO: Processing buffer {"connection_id":130764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:35:58] local.INFO: IMEI packet received {"connection_id":130764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":130764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:35:58] local.INFO: TCP Data received {"connection_id":130764,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b927df8012d198b400720b200003a006e29..."} 
[2026-07-13 18:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b927df8012d198b400720b200003a006e29..."} 
[2026-07-13 18:35:58] local.INFO: Processing buffer {"connection_id":130764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b927df8012d198b400720b200003a006e29..."} 
[2026-07-13 18:35:58] local.INFO: Packet analysis {"connection_id":130764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b92"} 
[2026-07-13 18:35:58] local.INFO: Extracted packet for processing {"connection_id":130764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b92"} 
[2026-07-13 18:35:58] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690619904001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783947755000,"timestamp_ms":1783947755000,"timestamp_seconds":1783947755,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b927df8"} 
[2026-07-13 18:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-13 18:35:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:35:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690619904001,"66":12776,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690619904001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:35:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:35:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690619904001,"power":12776,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":130764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:35:58] local.INFO: GPS data processed {"connection_id":130764,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:35:58] local.INFO: Acknowledgment sent {"connection_id":130764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:36:17] local.INFO: TCP Data received {"connection_id":131563,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b92a120012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b92a120012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:36:17] local.INFO: Processing buffer {"connection_id":131563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b92a120012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:36:17] local.INFO: Packet analysis {"connection_id":131563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b92"} 
[2026-07-13 18:36:17] local.INFO: Extracted packet for processing {"connection_id":131563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b92"} 
[2026-07-13 18:36:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690550528001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:36:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783947764000,"timestamp_ms":1783947764000,"timestamp_seconds":1783947764,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b92a120"} 
[2026-07-13 18:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:36: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-07-13 18: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:36:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:36:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131563,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131563,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690550528001,"66":24810,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690550528001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:36:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:36:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:36:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690550528001,"power":24810,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:36:17] local.INFO: TCP Data received {"connection_id":132900,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:36:17] local.INFO: Processing buffer {"connection_id":132900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:36:17] local.INFO: Packet analysis {"connection_id":132900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b93"} 
[2026-07-13 18:36:17] local.INFO: Extracted packet for processing {"connection_id":132900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b93"} 
[2026-07-13 18:36:17] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":29,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690570752001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783947843000,"timestamp_ms":1783947843000,"timestamp_seconds":1783947843,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b93d5b8"} 
[2026-07-13 18:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 18:36:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:36:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:36: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-07-13 18:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690570752001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690570752001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:36:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:36:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690570752001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":132900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:36:17] local.INFO: GPS data processed {"connection_id":132900,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:36:17] local.INFO: Acknowledgment sent {"connection_id":132900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":131563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481379,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:36:17] local.INFO: GPS data processed {"connection_id":131563,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:36:17] local.INFO: Acknowledgment sent {"connection_id":131563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:36:29] local.INFO: TCP Data received {"connection_id":130764,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b92d000012d198b400720b200003a006e2b..."} 
[2026-07-13 18:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b92d000012d198b400720b200003a006e2b..."} 
[2026-07-13 18:36:29] local.INFO: Processing buffer {"connection_id":130764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b92d000012d198b400720b200003a006e2b..."} 
[2026-07-13 18:36:29] local.INFO: Packet analysis {"connection_id":130764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b92"} 
[2026-07-13 18:36:29] local.INFO: Extracted packet for processing {"connection_id":130764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b92"} 
[2026-07-13 18:36:29] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690625280001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:36: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-07-13 18:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783947776000,"timestamp_ms":1783947776000,"timestamp_seconds":1783947776,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b92d000"} 
[2026-07-13 18:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-13 18:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690625280001,"66":12178,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690625280001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:36:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:36:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690625280001,"power":12178,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":130764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:36:30] local.INFO: GPS data processed {"connection_id":130764,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:36:30] local.INFO: Acknowledgment sent {"connection_id":130764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:36:34] local.INFO: TCP Data received {"connection_id":130765,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:36:34] local.INFO: Processing buffer {"connection_id":130765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:36:34] local.INFO: IMEI packet received {"connection_id":130765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":130765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:36:40] local.INFO: TCP Data received {"connection_id":130546,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130546,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:36:40] local.INFO: Processing buffer {"connection_id":130546,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:36:40] local.INFO: IMEI packet received {"connection_id":130546,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":130546,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:36:41] local.INFO: TCP Data received {"connection_id":130765,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:36:41] local.INFO: Processing buffer {"connection_id":130765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:36:41] local.INFO: IMEI packet received {"connection_id":130765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":130765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:36:42] local.INFO: TCP Data received {"connection_id":130765,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:36:42] local.INFO: Processing buffer {"connection_id":130765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:36:42] local.INFO: Packet analysis {"connection_id":130765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b93"} 
[2026-07-13 18:36:42] local.INFO: Extracted packet for processing {"connection_id":130765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b93"} 
[2026-07-13 18:36:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":29,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690570752001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783947843000,"timestamp_ms":1783947843000,"timestamp_seconds":1783947843,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b93d5b8"} 
[2026-07-13 18:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 18:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690570752001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690570752001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:36:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:36:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690570752001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":130765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:36:42] local.INFO: GPS data processed {"connection_id":130765,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:36:42] local.INFO: Acknowledgment sent {"connection_id":130765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:36:45] local.INFO: TCP Data received {"connection_id":130546,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130546,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:36:45] local.INFO: Processing buffer {"connection_id":130546,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:36:45] local.INFO: IMEI packet received {"connection_id":130546,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":130546,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:36:45] local.INFO: TCP Data received {"connection_id":130546,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b92a120012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b92a120012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:36:45] local.INFO: Processing buffer {"connection_id":130546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b92a120012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:36:45] local.INFO: Packet analysis {"connection_id":130546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b92"} 
[2026-07-13 18:36:45] local.INFO: Extracted packet for processing {"connection_id":130546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b92"} 
[2026-07-13 18:36:45] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690550528001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:36:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783947764000,"timestamp_ms":1783947764000,"timestamp_seconds":1783947764,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b92a120"} 
[2026-07-13 18:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:36: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130546,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130546,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690550528001,"66":24810,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690550528001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:36:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:36:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:36:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690550528001,"power":24810,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":130546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481382,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:36:46] local.INFO: GPS data processed {"connection_id":130546,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:36:46] local.INFO: Acknowledgment sent {"connection_id":130546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:36:52] local.INFO: TCP Data received {"connection_id":130766,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:36:52] local.INFO: Processing buffer {"connection_id":130766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:36:52] local.INFO: IMEI packet received {"connection_id":130766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":130766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:36:57] local.INFO: TCP Data received {"connection_id":130766,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:36:57] local.INFO: Processing buffer {"connection_id":130766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:36:57] local.INFO: IMEI packet received {"connection_id":130766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":130766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:36:58] local.INFO: TCP Data received {"connection_id":130766,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b932208012d198b400720b200003a006e2c..."} 
[2026-07-13 18:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b932208012d198b400720b200003a006e2c..."} 
[2026-07-13 18:36:58] local.INFO: Processing buffer {"connection_id":130766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b932208012d198b400720b200003a006e2c..."} 
[2026-07-13 18:36:58] local.INFO: Packet analysis {"connection_id":130766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b93"} 
[2026-07-13 18:36:58] local.INFO: Extracted packet for processing {"connection_id":130766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b93"} 
[2026-07-13 18:36:58] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690630656001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783947797000,"timestamp_ms":1783947797000,"timestamp_seconds":1783947797,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b932208"} 
[2026-07-13 18:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-13 18:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690630656001,"66":11906,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690630656001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:36:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:36:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690630656001,"power":11906,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":130766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:36:58] local.INFO: GPS data processed {"connection_id":130766,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:36:58] local.INFO: Acknowledgment sent {"connection_id":130766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:37:14] local.INFO: TCP Data received {"connection_id":130765,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:37:14] local.INFO: Processing buffer {"connection_id":130765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:37:14] local.INFO: Packet analysis {"connection_id":130765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b93"} 
[2026-07-13 18:37:14] local.INFO: Extracted packet for processing {"connection_id":130765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b93"} 
[2026-07-13 18:37:14] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":29,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690570752001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783947843000,"timestamp_ms":1783947843000,"timestamp_seconds":1783947843,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b93d5b8"} 
[2026-07-13 18:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:37:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 18:37:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690570752001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690570752001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:37:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:37:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690570752001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":130765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:37:14] local.INFO: GPS data processed {"connection_id":130765,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:37:14] local.INFO: Acknowledgment sent {"connection_id":130765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:37:17] local.INFO: TCP Data received {"connection_id":130546,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b92a120012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b92a120012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:37:17] local.INFO: Processing buffer {"connection_id":130546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b92a120012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:37:17] local.INFO: Packet analysis {"connection_id":130546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b92"} 
[2026-07-13 18:37:17] local.INFO: Extracted packet for processing {"connection_id":130546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b92"} 
[2026-07-13 18:37:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690550528001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:37:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783947764000,"timestamp_ms":1783947764000,"timestamp_seconds":1783947764,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b92a120"} 
[2026-07-13 18:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:37: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-07-13 18: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130546,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130546,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690550528001,"66":24810,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690550528001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:37:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:37:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:37:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690550528001,"power":24810,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":130546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481385,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:37:17] local.INFO: GPS data processed {"connection_id":130546,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:37:17] local.INFO: Acknowledgment sent {"connection_id":130546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:37:29] local.INFO: TCP Data received {"connection_id":130766,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b937410012d198b400720b200003a006e2b..."} 
[2026-07-13 18:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b937410012d198b400720b200003a006e2b..."} 
[2026-07-13 18:37:29] local.INFO: Processing buffer {"connection_id":130766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b937410012d198b400720b200003a006e2b..."} 
[2026-07-13 18:37:29] local.INFO: Packet analysis {"connection_id":130766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b93"} 
[2026-07-13 18:37:29] local.INFO: Extracted packet for processing {"connection_id":130766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b93"} 
[2026-07-13 18:37:29] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690636032001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:37: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-07-13 18:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783947818000,"timestamp_ms":1783947818000,"timestamp_seconds":1783947818,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b937410"} 
[2026-07-13 18:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:37:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-13 18:37:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:37:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690636032001,"66":12722,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690636032001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:37:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:37:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690636032001,"power":12722,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":130766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:37:29] local.INFO: GPS data processed {"connection_id":130766,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:37:29] local.INFO: Acknowledgment sent {"connection_id":130766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:37:39] local.INFO: TCP Data received {"connection_id":132901,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:37:39] local.INFO: Processing buffer {"connection_id":132901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:37:39] local.INFO: IMEI packet received {"connection_id":132901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":132901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:37:39] local.INFO: TCP Data received {"connection_id":131564,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:37:39] local.INFO: Processing buffer {"connection_id":131564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:37:39] local.INFO: IMEI packet received {"connection_id":131564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":131564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:37:44] local.INFO: TCP Data received {"connection_id":132901,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:37:44] local.INFO: Processing buffer {"connection_id":132901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:37:44] local.INFO: IMEI packet received {"connection_id":132901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":132901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:37:44] local.INFO: TCP Data received {"connection_id":132901,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:37:44] local.INFO: Processing buffer {"connection_id":132901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:37:44] local.INFO: Packet analysis {"connection_id":132901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b93"} 
[2026-07-13 18:37:44] local.INFO: Extracted packet for processing {"connection_id":132901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b93"} 
[2026-07-13 18:37:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":29,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690570752001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783947843000,"timestamp_ms":1783947843000,"timestamp_seconds":1783947843,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b93d5b8"} 
[2026-07-13 18:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 18:37:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:37:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690570752001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690570752001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:37:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:37:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690570752001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":132901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:37:44] local.INFO: GPS data processed {"connection_id":132901,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:37:44] local.INFO: Acknowledgment sent {"connection_id":132901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:37:45] local.INFO: TCP Data received {"connection_id":131564,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:37:45] local.INFO: Processing buffer {"connection_id":131564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:37:45] local.INFO: IMEI packet received {"connection_id":131564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":131564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:37:46] local.INFO: TCP Data received {"connection_id":131564,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b92a120012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b92a120012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:37:46] local.INFO: Processing buffer {"connection_id":131564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b92a120012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:37:46] local.INFO: Packet analysis {"connection_id":131564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b92"} 
[2026-07-13 18:37:46] local.INFO: Extracted packet for processing {"connection_id":131564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b92"} 
[2026-07-13 18:37:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690550528001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:37:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783947764000,"timestamp_ms":1783947764000,"timestamp_seconds":1783947764,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b92a120"} 
[2026-07-13 18:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690550528001,"66":24810,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690550528001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:37:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:37:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:37:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690550528001,"power":24810,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":131564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481388,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:37:46] local.INFO: GPS data processed {"connection_id":131564,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:37:46] local.INFO: Acknowledgment sent {"connection_id":131564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:37:49] local.INFO: TCP Data received {"connection_id":132901,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:37:49] local.INFO: Processing buffer {"connection_id":132901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:37:49] local.INFO: Packet analysis {"connection_id":132901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b93"} 
[2026-07-13 18:37:49] local.INFO: Extracted packet for processing {"connection_id":132901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b93"} 
[2026-07-13 18:37:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":29,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690570752001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783947843000,"timestamp_ms":1783947843000,"timestamp_seconds":1783947843,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b93d5b8"} 
[2026-07-13 18:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 18:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:37: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-07-13 18:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690570752001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690570752001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:37:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:37:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690570752001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":132901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:37:49] local.INFO: GPS data processed {"connection_id":132901,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:37:49] local.INFO: Acknowledgment sent {"connection_id":132901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:37:52] local.INFO: TCP Data received {"connection_id":131565,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:37:52] local.INFO: Processing buffer {"connection_id":131565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:37:52] local.INFO: IMEI packet received {"connection_id":131565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":131565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:37:58] local.INFO: TCP Data received {"connection_id":131565,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:37:58] local.INFO: Processing buffer {"connection_id":131565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:37:58] local.INFO: IMEI packet received {"connection_id":131565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":131565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:37:59] local.INFO: TCP Data received {"connection_id":131565,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b93c618012d198b400720b200003a006e2c..."} 
[2026-07-13 18:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b93c618012d198b400720b200003a006e2c..."} 
[2026-07-13 18:37:59] local.INFO: Processing buffer {"connection_id":131565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b93c618012d198b400720b200003a006e2c..."} 
[2026-07-13 18:37:59] local.INFO: Packet analysis {"connection_id":131565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b93"} 
[2026-07-13 18:37:59] local.INFO: Extracted packet for processing {"connection_id":131565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b93"} 
[2026-07-13 18:37:59] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690641408001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783947839000,"timestamp_ms":1783947839000,"timestamp_seconds":1783947839,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b93c618"} 
[2026-07-13 18:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-13 18:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":131565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":131565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":131565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690641408001,"66":12667,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690641408001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:37:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:37:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690641408001,"power":12667,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":131565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:37:59] local.INFO: GPS data processed {"connection_id":131565,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:37:59] local.INFO: Acknowledgment sent {"connection_id":131565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:38:18] local.INFO: TCP Data received {"connection_id":131564,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b92a120012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b92a120012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:38:18] local.INFO: Processing buffer {"connection_id":131564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b92a120012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:38:18] local.INFO: Packet analysis {"connection_id":131564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b92"} 
[2026-07-13 18:38:18] local.INFO: Extracted packet for processing {"connection_id":131564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b92"} 
[2026-07-13 18:38:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 18:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690550528001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:38:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783947764000,"timestamp_ms":1783947764000,"timestamp_seconds":1783947764,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b92a120"} 
[2026-07-13 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-07-13 18:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 18:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690550528001,"66":24810,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690550528001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:38:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:38:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:38:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690550528001,"power":24810,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":131564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481391,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:38:18] local.INFO: GPS data processed {"connection_id":131564,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:38:18] local.INFO: Acknowledgment sent {"connection_id":131564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:38:30] local.INFO: TCP Data received {"connection_id":131565,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b941820012d198b400720b200003a006e2a..."} 
[2026-07-13 18:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b941820012d198b400720b200003a006e2a..."} 
[2026-07-13 18:38:30] local.INFO: Processing buffer {"connection_id":131565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b941820012d198b400720b200003a006e2a..."} 
[2026-07-13 18:38:30] local.INFO: Packet analysis {"connection_id":131565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b94"} 
[2026-07-13 18:38:30] local.INFO: Extracted packet for processing {"connection_id":131565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b94"} 
[2026-07-13 18:38:30] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690646784001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783947860000,"timestamp_ms":1783947860000,"timestamp_seconds":1783947860,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b941820"} 
[2026-07-13 18:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-13 18:38: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-07-13 18:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":131565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":131565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":131565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690646784001,"66":12602,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690646784001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:38:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:38:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690646784001,"power":12602,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":131565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:38:30] local.INFO: GPS data processed {"connection_id":131565,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:38:30] local.INFO: Acknowledgment sent {"connection_id":131565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:38:34] local.INFO: TCP Data received {"connection_id":130547,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:38:34] local.INFO: Processing buffer {"connection_id":130547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:38:34] local.INFO: IMEI packet received {"connection_id":130547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":130547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:38:39] local.INFO: TCP Data received {"connection_id":130547,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:38:39] local.INFO: Processing buffer {"connection_id":130547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:38:39] local.INFO: IMEI packet received {"connection_id":130547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":130547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:38:39] local.INFO: TCP Data received {"connection_id":130547,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:38:39] local.INFO: Processing buffer {"connection_id":130547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:38:39] local.INFO: Packet analysis {"connection_id":130547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b93"} 
[2026-07-13 18:38:39] local.INFO: Extracted packet for processing {"connection_id":130547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b93"} 
[2026-07-13 18:38:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":29,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690570752001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783947843000,"timestamp_ms":1783947843000,"timestamp_seconds":1783947843,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b93d5b8"} 
[2026-07-13 18:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 18:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690570752001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690570752001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:38:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:38:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690570752001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":130547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:38:39] local.INFO: GPS data processed {"connection_id":130547,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:38:39] local.INFO: Acknowledgment sent {"connection_id":130547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:38:45] local.INFO: TCP Data received {"connection_id":130548,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130548,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:38:45] local.INFO: Processing buffer {"connection_id":130548,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:38:45] local.INFO: IMEI packet received {"connection_id":130548,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":130548,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:38:50] local.INFO: TCP Data received {"connection_id":130548,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130548,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:38:50] local.INFO: Processing buffer {"connection_id":130548,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:38:50] local.INFO: IMEI packet received {"connection_id":130548,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":130548,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:38:50] local.INFO: TCP Data received {"connection_id":130548,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9738e8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9738e8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:38:50] local.INFO: Processing buffer {"connection_id":130548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9738e8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:38:50] local.INFO: Packet analysis {"connection_id":130548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b97"} 
[2026-07-13 18:38:50] local.INFO: Extracted packet for processing {"connection_id":130548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b97"} 
[2026-07-13 18:38:50] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690627584001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:38:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783948065000,"timestamp_ms":1783948065000,"timestamp_seconds":1783948065,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9738e8"} 
[2026-07-13 18:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-13 18:38: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-07-13 18: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-07-13 18:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130548,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130548,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690627584001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690627584001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:38:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:38:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:38:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690627584001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":130548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481394,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:38:50] local.INFO: GPS data processed {"connection_id":130548,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:38:50] local.INFO: Acknowledgment sent {"connection_id":130548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:38:55] local.INFO: TCP Data received {"connection_id":130548,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9738e8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9738e8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:38:55] local.INFO: Processing buffer {"connection_id":130548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9738e8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:38:55] local.INFO: Packet analysis {"connection_id":130548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b97"} 
[2026-07-13 18:38:55] local.INFO: Extracted packet for processing {"connection_id":130548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b97"} 
[2026-07-13 18:38:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690627584001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:38:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783948065000,"timestamp_ms":1783948065000,"timestamp_seconds":1783948065,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9738e8"} 
[2026-07-13 18:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-13 18:38:55] 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-07-13 18:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130548,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130548,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690627584001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690627584001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:38:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:38:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:38:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690627584001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":130548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481395,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:38:55] local.INFO: GPS data processed {"connection_id":130548,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:38:55] local.INFO: Acknowledgment sent {"connection_id":130548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:38:58] local.INFO: TCP Data received {"connection_id":130767,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:38:58] local.INFO: Processing buffer {"connection_id":130767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:38:58] local.INFO: IMEI packet received {"connection_id":130767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":130767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:39:03] local.INFO: TCP Data received {"connection_id":130767,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:39:03] local.INFO: Processing buffer {"connection_id":130767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:39:03] local.INFO: IMEI packet received {"connection_id":130767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":130767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:39:03] local.INFO: TCP Data received {"connection_id":130767,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b946a28012d198b400720b200003a006e2a..."} 
[2026-07-13 18:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b946a28012d198b400720b200003a006e2a..."} 
[2026-07-13 18:39:03] local.INFO: Processing buffer {"connection_id":130767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b946a28012d198b400720b200003a006e2a..."} 
[2026-07-13 18:39:03] local.INFO: Packet analysis {"connection_id":130767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b94"} 
[2026-07-13 18:39:03] local.INFO: Extracted packet for processing {"connection_id":130767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b94"} 
[2026-07-13 18:39:03] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690652160001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783947881000,"timestamp_ms":1783947881000,"timestamp_seconds":1783947881,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b946a28"} 
[2026-07-13 18:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-13 18:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":130767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":130767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":130767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690652160001,"66":12689,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690652160001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:39:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:39:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690652160001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":130767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:39:03] local.INFO: GPS data processed {"connection_id":130767,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:39:03] local.INFO: Acknowledgment sent {"connection_id":130767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:39:08] local.INFO: TCP Data received {"connection_id":130767,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b94bc30012d198b400720b200003a006e29..."} 
[2026-07-13 18:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b94bc30012d198b400720b200003a006e29..."} 
[2026-07-13 18:39:08] local.INFO: Processing buffer {"connection_id":130767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b94bc30012d198b400720b200003a006e29..."} 
[2026-07-13 18:39:08] local.INFO: Packet analysis {"connection_id":130767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b94"} 
[2026-07-13 18:39:08] local.INFO: Extracted packet for processing {"connection_id":130767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b94"} 
[2026-07-13 18:39:08] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690657536001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783947902000,"timestamp_ms":1783947902000,"timestamp_seconds":1783947902,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b94bc30"} 
[2026-07-13 18:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-13 18:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690657536001,"66":12645,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690657536001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:39:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:39:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690657536001,"power":12645,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":130767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:39:08] local.INFO: GPS data processed {"connection_id":130767,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:39:08] local.INFO: Acknowledgment sent {"connection_id":130767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:39:10] local.INFO: TCP Data received {"connection_id":130547,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:39:10] local.INFO: Processing buffer {"connection_id":130547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:39:10] local.INFO: Packet analysis {"connection_id":130547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b93"} 
[2026-07-13 18:39:10] local.INFO: Extracted packet for processing {"connection_id":130547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b93"} 
[2026-07-13 18:39:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":29,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690570752001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783947843000,"timestamp_ms":1783947843000,"timestamp_seconds":1783947843,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b93d5b8"} 
[2026-07-13 18:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 18:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690570752001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690570752001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:39:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690570752001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":130547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:39:10] local.INFO: GPS data processed {"connection_id":130547,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:39:10] local.INFO: Acknowledgment sent {"connection_id":130547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:39:34] local.INFO: TCP Data received {"connection_id":130768,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:39:34] local.INFO: Processing buffer {"connection_id":130768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:39:34] local.INFO: IMEI packet received {"connection_id":130768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":130768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:39:39] local.INFO: TCP Data received {"connection_id":130768,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:39:39] local.INFO: Processing buffer {"connection_id":130768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:39:39] local.INFO: IMEI packet received {"connection_id":130768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":130768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:39:39] local.INFO: TCP Data received {"connection_id":130768,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:39:39] local.INFO: Processing buffer {"connection_id":130768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b93d5b8012d7f914005afd9380014011b1d..."} 
[2026-07-13 18:39:39] local.INFO: Packet analysis {"connection_id":130768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b93"} 
[2026-07-13 18:39:39] local.INFO: Extracted packet for processing {"connection_id":130768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b93"} 
[2026-07-13 18:39:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":29,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690570752001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783947843000,"timestamp_ms":1783947843000,"timestamp_seconds":1783947843,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b93d5b8"} 
[2026-07-13 18:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 18:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690570752001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690570752001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:39:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:39:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690570752001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":130768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:39:39] local.INFO: GPS data processed {"connection_id":130768,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:39:39] local.INFO: Acknowledgment sent {"connection_id":130768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:39:40] local.INFO: TCP Data received {"connection_id":130769,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130769,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:39:40] local.INFO: Processing buffer {"connection_id":130769,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:39:40] local.INFO: IMEI packet received {"connection_id":130769,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":130769,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:39:45] local.INFO: TCP Data received {"connection_id":130769,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130769,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:39:45] local.INFO: Processing buffer {"connection_id":130769,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:39:45] local.INFO: IMEI packet received {"connection_id":130769,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":130769,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:39:45] local.INFO: TCP Data received {"connection_id":130769,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9738e8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9738e8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:39:45] local.INFO: Processing buffer {"connection_id":130769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9738e8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:39:45] local.INFO: Packet analysis {"connection_id":130769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b97"} 
[2026-07-13 18:39:45] local.INFO: Extracted packet for processing {"connection_id":130769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b97"} 
[2026-07-13 18:39:45] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690627584001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:39:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783948065000,"timestamp_ms":1783948065000,"timestamp_seconds":1783948065,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9738e8"} 
[2026-07-13 18:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:39:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-13 18:39:45] 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-07-13 18:39:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130769,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130769,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690627584001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690627584001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:39:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:39:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:39:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690627584001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":130769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481400,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:39:46] local.INFO: GPS data processed {"connection_id":130769,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:39:46] local.INFO: Acknowledgment sent {"connection_id":130769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:39:52] local.INFO: TCP Data received {"connection_id":130549,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:39:52] local.INFO: Processing buffer {"connection_id":130549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:39:52] local.INFO: IMEI packet received {"connection_id":130549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":130549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:39:52] local.INFO: TCP Data received {"connection_id":130549,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:39:52] local.INFO: Processing buffer {"connection_id":130549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:39:52] local.INFO: IMEI packet received {"connection_id":130549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":130549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:39:58] local.INFO: TCP Data received {"connection_id":130549,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:39:58] local.INFO: Processing buffer {"connection_id":130549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:39:58] local.INFO: IMEI packet received {"connection_id":130549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":130549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:39:58] local.INFO: TCP Data received {"connection_id":130549,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b950e38012d198b400720b200003a006e28..."} 
[2026-07-13 18:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b950e38012d198b400720b200003a006e28..."} 
[2026-07-13 18:39:58] local.INFO: Processing buffer {"connection_id":130549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b950e38012d198b400720b200003a006e28..."} 
[2026-07-13 18:39:58] local.INFO: Packet analysis {"connection_id":130549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b95"} 
[2026-07-13 18:39:58] local.INFO: Extracted packet for processing {"connection_id":130549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b95"} 
[2026-07-13 18:39:58] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690662912001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783947923000,"timestamp_ms":1783947923000,"timestamp_seconds":1783947923,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b950e38"} 
[2026-07-13 18:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-13 18:39:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:39:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690662912001,"66":12461,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690662912001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:39:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:39:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690662912001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":130549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:39:59] local.INFO: GPS data processed {"connection_id":130549,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:39:59] local.INFO: Acknowledgment sent {"connection_id":130549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:40:10] local.INFO: TCP Data received {"connection_id":130768,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b986d80012d7f914005afd9380014011b22..."} 
[2026-07-13 18:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b986d80012d7f914005afd9380014011b22..."} 
[2026-07-13 18:40:10] local.INFO: Processing buffer {"connection_id":130768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b986d80012d7f914005afd9380014011b22..."} 
[2026-07-13 18:40:10] local.INFO: Packet analysis {"connection_id":130768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b98"} 
[2026-07-13 18:40:10] local.INFO: Extracted packet for processing {"connection_id":130768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b98"} 
[2026-07-13 18:40:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690647808001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783948144000,"timestamp_ms":1783948144000,"timestamp_seconds":1783948144,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b986d80"} 
[2026-07-13 18:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690647808001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690647808001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:40:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:40:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690647808001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":130768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:40:10] local.INFO: GPS data processed {"connection_id":130768,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:40:10] local.INFO: Acknowledgment sent {"connection_id":130768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:40:26] local.INFO: TCP Data received {"connection_id":130769,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9738e8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9738e8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:40:26] local.INFO: Processing buffer {"connection_id":130769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9738e8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:40:26] local.INFO: Packet analysis {"connection_id":130769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b97"} 
[2026-07-13 18:40:26] local.INFO: Extracted packet for processing {"connection_id":130769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b97"} 
[2026-07-13 18:40:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690627584001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:40:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783948065000,"timestamp_ms":1783948065000,"timestamp_seconds":1783948065,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9738e8"} 
[2026-07-13 18:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-13 18:40:26] 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-07-13 18:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":130769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":130769,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":130769,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690627584001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690627584001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:40:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:40:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:40:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690627584001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":130769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481403,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:40:26] local.INFO: GPS data processed {"connection_id":130769,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:40:26] local.INFO: Acknowledgment sent {"connection_id":130769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:40:29] local.INFO: TCP Data received {"connection_id":130549,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b956040012d198b400720b200003a006e29..."} 
[2026-07-13 18:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b956040012d198b400720b200003a006e29..."} 
[2026-07-13 18:40:29] local.INFO: Processing buffer {"connection_id":130549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b956040012d198b400720b200003a006e29..."} 
[2026-07-13 18:40:29] local.INFO: Packet analysis {"connection_id":130549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b95"} 
[2026-07-13 18:40:29] local.INFO: Extracted packet for processing {"connection_id":130549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b95"} 
[2026-07-13 18:40:29] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690668288001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:40: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-07-13 18:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783947944000,"timestamp_ms":1783947944000,"timestamp_seconds":1783947944,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b956040"} 
[2026-07-13 18:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-13 18:40:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690668288001,"66":12667,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690668288001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:40:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:40:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690668288001,"power":12667,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":130549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:40:30] local.INFO: GPS data processed {"connection_id":130549,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:40:30] local.INFO: Acknowledgment sent {"connection_id":130549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:40:34] local.INFO: TCP Data received {"connection_id":131566,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:40:34] local.INFO: Processing buffer {"connection_id":131566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:40:34] local.INFO: IMEI packet received {"connection_id":131566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":131566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:40:40] local.INFO: TCP Data received {"connection_id":131566,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:40:40] local.INFO: Processing buffer {"connection_id":131566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:40:40] local.INFO: IMEI packet received {"connection_id":131566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":131566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:40:40] local.INFO: TCP Data received {"connection_id":131566,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b986d80012d7f914005afd9380014011b22..."} 
[2026-07-13 18:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b986d80012d7f914005afd9380014011b22..."} 
[2026-07-13 18:40:40] local.INFO: Processing buffer {"connection_id":131566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b986d80012d7f914005afd9380014011b22..."} 
[2026-07-13 18:40:40] local.INFO: Packet analysis {"connection_id":131566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b98"} 
[2026-07-13 18:40:40] local.INFO: Extracted packet for processing {"connection_id":131566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b98"} 
[2026-07-13 18:40:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690647808001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783948144000,"timestamp_ms":1783948144000,"timestamp_seconds":1783948144,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b986d80"} 
[2026-07-13 18:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690647808001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690647808001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:40:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:40:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690647808001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":131566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:40:41] local.INFO: GPS data processed {"connection_id":131566,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:40:41] local.INFO: Acknowledgment sent {"connection_id":131566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:40:42] local.INFO: TCP Data received {"connection_id":130770,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130770,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:40:42] local.INFO: Processing buffer {"connection_id":130770,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:40:42] local.INFO: IMEI packet received {"connection_id":130770,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":130770,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:40:44] local.INFO: TCP Data received {"connection_id":130770,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130770,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:40:44] local.INFO: Processing buffer {"connection_id":130770,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:40:44] local.INFO: IMEI packet received {"connection_id":130770,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":130770,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:40:52] local.INFO: TCP Data received {"connection_id":132902,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:40:52] local.INFO: Processing buffer {"connection_id":132902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:40:52] local.INFO: IMEI packet received {"connection_id":132902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":132902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:40:55] local.INFO: TCP Data received {"connection_id":132902,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:40:55] local.INFO: Processing buffer {"connection_id":132902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:40:55] local.INFO: IMEI packet received {"connection_id":132902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":132902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:40:55] local.INFO: TCP Data received {"connection_id":132902,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b98e698012d198b400720b200003a006e29..."} 
[2026-07-13 18:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b98e698012d198b400720b200003a006e29..."} 
[2026-07-13 18:40:55] local.INFO: Processing buffer {"connection_id":132902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b98e698012d198b400720b200003a006e29..."} 
[2026-07-13 18:40:55] local.INFO: Packet analysis {"connection_id":132902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b98"} 
[2026-07-13 18:40:55] local.INFO: Extracted packet for processing {"connection_id":132902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b98"} 
[2026-07-13 18:40:55] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690727424001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783948175000,"timestamp_ms":1783948175000,"timestamp_seconds":1783948175,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b98e698"} 
[2026-07-13 18:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-13 18:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-13 18:40:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-13 18:40:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-13 18:40:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-07-13 18:40:55] local.WARNING: Large IO value detected {"io_id":91,"raw_value":2538369025,"note":"Value kept but may cause issues"} 
[2026-07-13 18:40:55] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2986344506,"note":"Value kept but may cause issues"} 
[2026-07-13 18:40:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-13 18:40:55] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":2147560729,"corrected_to":0} 
[2026-07-13 18:40:55] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-07-13 18:40:55] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,103,83,24,241,157,16,159,66,45,64,178,58,42,10,240,43,158,1,14,227,91,32,4,113,205,246,139,239,49,2,21,7,120],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0},{"io_id":246,"original":2147560729,"validated":0}]} 
[2026-07-13 18:40:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179461576572534784,"timestamp_seconds":4179461576572535.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 18:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":132902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":132902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":132902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690727424001,"66":12537,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690727424001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:40:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:40:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690727424001,"power":12537,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":132902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:40:55] local.INFO: GPS data processed {"connection_id":132902,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:40:55] local.INFO: Acknowledgment sent {"connection_id":132902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:40:57] local.INFO: TCP Data received {"connection_id":130770,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9738e8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9738e8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:40:57] local.INFO: Processing buffer {"connection_id":130770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9738e8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:40:57] local.INFO: Packet analysis {"connection_id":130770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b97"} 
[2026-07-13 18:40:57] local.INFO: Extracted packet for processing {"connection_id":130770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b97"} 
[2026-07-13 18:40:57] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690627584001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:40:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783948065000,"timestamp_ms":1783948065000,"timestamp_seconds":1783948065,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9738e8"} 
[2026-07-13 18:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-13 18:40:57] 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-07-13 18:40:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":130770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":130770,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":130770,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690627584001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690627584001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:40:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:40:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:40:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690627584001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":130770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481407,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:40:57] local.INFO: GPS data processed {"connection_id":130770,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:40:57] local.INFO: Acknowledgment sent {"connection_id":130770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:41:12] local.INFO: TCP Data received {"connection_id":131566,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b986d80012d7f914005afd9380014011b22..."} 
[2026-07-13 18:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b986d80012d7f914005afd9380014011b22..."} 
[2026-07-13 18:41:12] local.INFO: Processing buffer {"connection_id":131566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b986d80012d7f914005afd9380014011b22..."} 
[2026-07-13 18:41:12] local.INFO: Packet analysis {"connection_id":131566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b98"} 
[2026-07-13 18:41:12] local.INFO: Extracted packet for processing {"connection_id":131566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b98"} 
[2026-07-13 18:41:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690647808001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783948144000,"timestamp_ms":1783948144000,"timestamp_seconds":1783948144,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b986d80"} 
[2026-07-13 18:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690647808001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690647808001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:41:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:41:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690647808001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":131566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:41:12] local.INFO: GPS data processed {"connection_id":131566,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:41:12] local.INFO: Acknowledgment sent {"connection_id":131566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:41:27] local.INFO: TCP Data received {"connection_id":132902,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9938a0012d198b400720b200003a006e27..."} 
[2026-07-13 18:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9938a0012d198b400720b200003a006e27..."} 
[2026-07-13 18:41:27] local.INFO: Processing buffer {"connection_id":132902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9938a0012d198b400720b200003a006e27..."} 
[2026-07-13 18:41:27] local.INFO: Packet analysis {"connection_id":132902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b99"} 
[2026-07-13 18:41:27] local.INFO: Extracted packet for processing {"connection_id":132902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b99"} 
[2026-07-13 18:41:27] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 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-07-13 18:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690732800001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783948196000,"timestamp_ms":1783948196000,"timestamp_seconds":1783948196,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9938a0"} 
[2026-07-13 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-07-13 18:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-13 18:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 18:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":132902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":132902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":132902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690732800001,"66":12504,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690732800001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:41:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:41:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690732800001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":132902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:41:27] local.INFO: GPS data processed {"connection_id":132902,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:41:27] local.INFO: Acknowledgment sent {"connection_id":132902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:41:34] local.INFO: TCP Data received {"connection_id":130771,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:41:34] local.INFO: Processing buffer {"connection_id":130771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:41:34] local.INFO: IMEI packet received {"connection_id":130771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":130771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:41:39] local.INFO: TCP Data received {"connection_id":130771,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:41:39] local.INFO: Processing buffer {"connection_id":130771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:41:39] local.INFO: IMEI packet received {"connection_id":130771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":130771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:41:39] local.INFO: TCP Data received {"connection_id":130550,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130550,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:41:39] local.INFO: Processing buffer {"connection_id":130550,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:41:39] local.INFO: IMEI packet received {"connection_id":130550,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":130550,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:41:39] local.INFO: TCP Data received {"connection_id":130771,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b986d80012d7f914005afd9380014011b22..."} 
[2026-07-13 18:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b986d80012d7f914005afd9380014011b22..."} 
[2026-07-13 18:41:39] local.INFO: Processing buffer {"connection_id":130771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b986d80012d7f914005afd9380014011b22..."} 
[2026-07-13 18:41:39] local.INFO: Packet analysis {"connection_id":130771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b98"} 
[2026-07-13 18:41:39] local.INFO: Extracted packet for processing {"connection_id":130771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b98"} 
[2026-07-13 18:41:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690647808001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783948144000,"timestamp_ms":1783948144000,"timestamp_seconds":1783948144,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b986d80"} 
[2026-07-13 18:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690647808001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690647808001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:41:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:41:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690647808001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":130771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:41:39] local.INFO: GPS data processed {"connection_id":130771,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:41:39] local.INFO: Acknowledgment sent {"connection_id":130771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:41:45] local.INFO: TCP Data received {"connection_id":130550,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130550,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:41:45] local.INFO: Processing buffer {"connection_id":130550,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:41:45] local.INFO: IMEI packet received {"connection_id":130550,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":130550,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:41:47] local.INFO: TCP Data received {"connection_id":130550,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9738e8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9738e8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:41:47] local.INFO: Processing buffer {"connection_id":130550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9738e8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:41:47] local.INFO: Packet analysis {"connection_id":130550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b97"} 
[2026-07-13 18:41:47] local.INFO: Extracted packet for processing {"connection_id":130550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b97"} 
[2026-07-13 18:41:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690627584001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:41:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783948065000,"timestamp_ms":1783948065000,"timestamp_seconds":1783948065,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9738e8"} 
[2026-07-13 18:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-13 18:41:47] 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-07-13 18:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690627584001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690627584001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:41:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:41:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:41:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690627584001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":130550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481411,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:41:48] local.INFO: GPS data processed {"connection_id":130550,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:41:48] local.INFO: Acknowledgment sent {"connection_id":130550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:41:52] local.INFO: TCP Data received {"connection_id":130551,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:41:52] local.INFO: Processing buffer {"connection_id":130551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:41:52] local.INFO: IMEI packet received {"connection_id":130551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":130551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:41:58] local.INFO: TCP Data received {"connection_id":130551,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:41:58] local.INFO: Processing buffer {"connection_id":130551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:41:58] local.INFO: IMEI packet received {"connection_id":130551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":130551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:41:59] local.INFO: TCP Data received {"connection_id":130551,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b998aa8012d198b400720b200003a006e27..."} 
[2026-07-13 18:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b998aa8012d198b400720b200003a006e27..."} 
[2026-07-13 18:41:59] local.INFO: Processing buffer {"connection_id":130551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b998aa8012d198b400720b200003a006e27..."} 
[2026-07-13 18:41:59] local.INFO: Packet analysis {"connection_id":130551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b99"} 
[2026-07-13 18:41:59] local.INFO: Extracted packet for processing {"connection_id":130551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b99"} 
[2026-07-13 18:41:59] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690738176001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783948217000,"timestamp_ms":1783948217000,"timestamp_seconds":1783948217,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b998aa8"} 
[2026-07-13 18:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 18:41: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-07-13 18:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":130551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":130551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":130551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690738176001,"66":12461,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690738176001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:41:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:41:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690738176001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":130551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:41:59] local.INFO: GPS data processed {"connection_id":130551,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:41:59] local.INFO: Acknowledgment sent {"connection_id":130551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:42:10] local.INFO: TCP Data received {"connection_id":130771,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b986d80012d7f914005afd9380014011b22..."} 
[2026-07-13 18:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b986d80012d7f914005afd9380014011b22..."} 
[2026-07-13 18:42:10] local.INFO: Processing buffer {"connection_id":130771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b986d80012d7f914005afd9380014011b22..."} 
[2026-07-13 18:42:10] local.INFO: Packet analysis {"connection_id":130771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b98"} 
[2026-07-13 18:42:10] local.INFO: Extracted packet for processing {"connection_id":130771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b98"} 
[2026-07-13 18:42:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690647808001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783948144000,"timestamp_ms":1783948144000,"timestamp_seconds":1783948144,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b986d80"} 
[2026-07-13 18:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690647808001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690647808001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:42:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690647808001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":130771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:42:10] local.INFO: GPS data processed {"connection_id":130771,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:42:10] local.INFO: Acknowledgment sent {"connection_id":130771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:42:23] local.INFO: TCP Data received {"connection_id":130550,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9738e8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9738e8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:42:23] local.INFO: Processing buffer {"connection_id":130550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9738e8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:42:23] local.INFO: Packet analysis {"connection_id":130550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b97"} 
[2026-07-13 18:42:23] local.INFO: Extracted packet for processing {"connection_id":130550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b97"} 
[2026-07-13 18:42:23] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690627584001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:42:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783948065000,"timestamp_ms":1783948065000,"timestamp_seconds":1783948065,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9738e8"} 
[2026-07-13 18:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:42:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-13 18:42:23] 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-07-13 18: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-07-13 18:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":130550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":130550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":130550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:42:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690627584001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690627584001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:42:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:42:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:42:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690627584001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":130550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481414,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:42:23] local.INFO: GPS data processed {"connection_id":130550,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:42:23] local.INFO: Acknowledgment sent {"connection_id":130550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:42:30] local.INFO: TCP Data received {"connection_id":130551,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b99dcb0012d198b400720b200003a006e28..."} 
[2026-07-13 18:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b99dcb0012d198b400720b200003a006e28..."} 
[2026-07-13 18:42:30] local.INFO: Processing buffer {"connection_id":130551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b99dcb0012d198b400720b200003a006e28..."} 
[2026-07-13 18:42:30] local.INFO: Packet analysis {"connection_id":130551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b99"} 
[2026-07-13 18:42:30] local.INFO: Extracted packet for processing {"connection_id":130551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b99"} 
[2026-07-13 18:42:30] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690743552001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783948238000,"timestamp_ms":1783948238000,"timestamp_seconds":1783948238,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b99dcb0"} 
[2026-07-13 18:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-13 18:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":130551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":130551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":130551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690743552001,"66":12526,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690743552001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:42:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:42:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690743552001,"power":12526,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":130551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:42:30] local.INFO: GPS data processed {"connection_id":130551,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:42:30] local.INFO: Acknowledgment sent {"connection_id":130551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:42:39] local.INFO: TCP Data received {"connection_id":132903,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:42:39] local.INFO: Processing buffer {"connection_id":132903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:42:39] local.INFO: IMEI packet received {"connection_id":132903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":132903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:42:44] local.INFO: TCP Data received {"connection_id":132903,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:42:44] local.INFO: Processing buffer {"connection_id":132903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:42:44] local.INFO: IMEI packet received {"connection_id":132903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":132903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:42:44] local.INFO: TCP Data received {"connection_id":132903,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b986d80012d7f914005afd9380014011b22..."} 
[2026-07-13 18:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b986d80012d7f914005afd9380014011b22..."} 
[2026-07-13 18:42:44] local.INFO: Processing buffer {"connection_id":132903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b986d80012d7f914005afd9380014011b22..."} 
[2026-07-13 18:42:44] local.INFO: Packet analysis {"connection_id":132903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b98"} 
[2026-07-13 18:42:44] local.INFO: Extracted packet for processing {"connection_id":132903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b98"} 
[2026-07-13 18:42:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690647808001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783948144000,"timestamp_ms":1783948144000,"timestamp_seconds":1783948144,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b986d80"} 
[2026-07-13 18:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:42:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690647808001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690647808001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:42:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:42:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690647808001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":132903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:42:44] local.INFO: GPS data processed {"connection_id":132903,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:42:44] local.INFO: Acknowledgment sent {"connection_id":132903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:42:45] local.INFO: TCP Data received {"connection_id":130772,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130772,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:42:45] local.INFO: Processing buffer {"connection_id":130772,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:42:45] local.INFO: IMEI packet received {"connection_id":130772,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":130772,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:42:49] local.INFO: TCP Data received {"connection_id":132903,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b986d80012d7f914005afd9380014011b22..."} 
[2026-07-13 18:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b986d80012d7f914005afd9380014011b22..."} 
[2026-07-13 18:42:49] local.INFO: Processing buffer {"connection_id":132903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b986d80012d7f914005afd9380014011b22..."} 
[2026-07-13 18:42:49] local.INFO: Packet analysis {"connection_id":132903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b98"} 
[2026-07-13 18:42:49] local.INFO: Extracted packet for processing {"connection_id":132903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b98"} 
[2026-07-13 18:42:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690647808001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783948144000,"timestamp_ms":1783948144000,"timestamp_seconds":1783948144,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b986d80"} 
[2026-07-13 18:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:42: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-07-13 18:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690647808001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690647808001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:42:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:42:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690647808001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":132903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:42:49] local.INFO: GPS data processed {"connection_id":132903,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:42:49] local.INFO: Acknowledgment sent {"connection_id":132903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:42:52] local.INFO: TCP Data received {"connection_id":130773,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:42:52] local.INFO: Processing buffer {"connection_id":130773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:42:52] local.INFO: IMEI packet received {"connection_id":130773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":130773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:42:52] local.INFO: TCP Data received {"connection_id":130772,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130772,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:42:52] local.INFO: Processing buffer {"connection_id":130772,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:42:52] local.INFO: IMEI packet received {"connection_id":130772,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":130772,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:42:55] local.INFO: TCP Data received {"connection_id":130772,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9738e8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9738e8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:42:55] local.INFO: Processing buffer {"connection_id":130772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9738e8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:42:55] local.INFO: Packet analysis {"connection_id":130772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b97"} 
[2026-07-13 18:42:55] local.INFO: Extracted packet for processing {"connection_id":130772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b97"} 
[2026-07-13 18:42:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690627584001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:42:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783948065000,"timestamp_ms":1783948065000,"timestamp_seconds":1783948065,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9738e8"} 
[2026-07-13 18:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-13 18:42:55] 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-07-13 18:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130772,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130772,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690627584001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690627584001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:42:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:42:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:42:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690627584001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":130772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481418,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:42:55] local.INFO: GPS data processed {"connection_id":130772,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:42:55] local.INFO: Acknowledgment sent {"connection_id":130772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:42:57] local.INFO: TCP Data received {"connection_id":130772,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9738e8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9738e8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:42:57] local.INFO: Processing buffer {"connection_id":130772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9738e8012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:42:57] local.INFO: Packet analysis {"connection_id":130772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b97"} 
[2026-07-13 18:42:57] local.INFO: Extracted packet for processing {"connection_id":130772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b97"} 
[2026-07-13 18:42:57] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690627584001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:42:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783948065000,"timestamp_ms":1783948065000,"timestamp_seconds":1783948065,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9738e8"} 
[2026-07-13 18:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-13 18:42:57] 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-07-13 18:42:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":130772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":130772,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":130772,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690627584001,"66":24854,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690627584001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:42:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:42:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:42:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690627584001,"power":24854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":130772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481419,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:42:57] local.INFO: GPS data processed {"connection_id":130772,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:42:57] local.INFO: Acknowledgment sent {"connection_id":130772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:42:58] local.INFO: TCP Data received {"connection_id":130773,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:42:58] local.INFO: Processing buffer {"connection_id":130773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:42:58] local.INFO: IMEI packet received {"connection_id":130773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":130773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:42:58] local.INFO: TCP Data received {"connection_id":130773,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9a2eb8012d198b400720b200003a006e27..."} 
[2026-07-13 18:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9a2eb8012d198b400720b200003a006e27..."} 
[2026-07-13 18:42:58] local.INFO: Processing buffer {"connection_id":130773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9a2eb8012d198b400720b200003a006e27..."} 
[2026-07-13 18:42:58] local.INFO: Packet analysis {"connection_id":130773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b9a"} 
[2026-07-13 18:42:58] local.INFO: Extracted packet for processing {"connection_id":130773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b9a"} 
[2026-07-13 18:42:58] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690748928001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783948259000,"timestamp_ms":1783948259000,"timestamp_seconds":1783948259,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9a2eb8"} 
[2026-07-13 18:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-13 18:42:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:42:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690748928001,"66":12526,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690748928001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:42:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:42:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690748928001,"power":12526,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":130773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:42:58] local.INFO: GPS data processed {"connection_id":130773,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:42:58] local.INFO: Acknowledgment sent {"connection_id":130773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:43:30] local.INFO: TCP Data received {"connection_id":130773,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9a80c0012d198b400720b200003a006e28..."} 
[2026-07-13 18:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9a80c0012d198b400720b200003a006e28..."} 
[2026-07-13 18:43:30] local.INFO: Processing buffer {"connection_id":130773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9a80c0012d198b400720b200003a006e28..."} 
[2026-07-13 18:43:30] local.INFO: Packet analysis {"connection_id":130773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b9a"} 
[2026-07-13 18:43:30] local.INFO: Extracted packet for processing {"connection_id":130773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b9a"} 
[2026-07-13 18:43:30] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690754304001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783948280000,"timestamp_ms":1783948280000,"timestamp_seconds":1783948280,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9a80c0"} 
[2026-07-13 18:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-13 18:43: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-07-13 18:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":130773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":130773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":130773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690754304001,"66":12504,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690754304001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:43:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:43:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690754304001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":130773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:43:30] local.INFO: GPS data processed {"connection_id":130773,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:43:30] local.INFO: Acknowledgment sent {"connection_id":130773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:43:34] local.INFO: TCP Data received {"connection_id":130552,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:43:34] local.INFO: Processing buffer {"connection_id":130552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:43:34] local.INFO: IMEI packet received {"connection_id":130552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":130552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:43:39] local.INFO: TCP Data received {"connection_id":130552,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:43:39] local.INFO: Processing buffer {"connection_id":130552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:43:39] local.INFO: IMEI packet received {"connection_id":130552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":130552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:43:40] local.INFO: TCP Data received {"connection_id":130774,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130774,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:43:40] local.INFO: Processing buffer {"connection_id":130774,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:43:40] local.INFO: IMEI packet received {"connection_id":130774,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":130774,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:43:40] local.INFO: TCP Data received {"connection_id":130552,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b986d80012d7f914005afd9380014011b22..."} 
[2026-07-13 18:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b986d80012d7f914005afd9380014011b22..."} 
[2026-07-13 18:43:40] local.INFO: Processing buffer {"connection_id":130552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b986d80012d7f914005afd9380014011b22..."} 
[2026-07-13 18:43:40] local.INFO: Packet analysis {"connection_id":130552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b98"} 
[2026-07-13 18:43:40] local.INFO: Extracted packet for processing {"connection_id":130552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b98"} 
[2026-07-13 18:43:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690647808001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783948144000,"timestamp_ms":1783948144000,"timestamp_seconds":1783948144,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b986d80"} 
[2026-07-13 18:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690647808001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690647808001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:43:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:43:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690647808001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":130552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:43:40] local.INFO: GPS data processed {"connection_id":130552,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:43:40] local.INFO: Acknowledgment sent {"connection_id":130552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:43:45] local.INFO: TCP Data received {"connection_id":130774,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130774,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:43:45] local.INFO: Processing buffer {"connection_id":130774,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:43:45] local.INFO: IMEI packet received {"connection_id":130774,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":130774,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:43:45] local.INFO: TCP Data received {"connection_id":130774,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9bd0b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9bd0b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:43:45] local.INFO: Processing buffer {"connection_id":130774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9bd0b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:43:45] local.INFO: Packet analysis {"connection_id":130774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b9b"} 
[2026-07-13 18:43:45] local.INFO: Extracted packet for processing {"connection_id":130774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b9b"} 
[2026-07-13 18:43:45] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690704640001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:43:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783948366000,"timestamp_ms":1783948366000,"timestamp_seconds":1783948366,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9bd0b0"} 
[2026-07-13 18:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 18:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690704640001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690704640001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:43:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:43:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:43:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690704640001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":130774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481423,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:43:46] local.INFO: GPS data processed {"connection_id":130774,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:43:46] local.INFO: Acknowledgment sent {"connection_id":130774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:43:52] local.INFO: TCP Data received {"connection_id":131567,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:43:52] local.INFO: Processing buffer {"connection_id":131567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:43:52] local.INFO: IMEI packet received {"connection_id":131567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":131567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:43:58] local.INFO: TCP Data received {"connection_id":131567,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:43:58] local.INFO: Processing buffer {"connection_id":131567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:43:58] local.INFO: IMEI packet received {"connection_id":131567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":131567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:43:58] local.INFO: TCP Data received {"connection_id":131567,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9ad2c8012d198b400720b200003a006e27..."} 
[2026-07-13 18:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9ad2c8012d198b400720b200003a006e27..."} 
[2026-07-13 18:43:58] local.INFO: Processing buffer {"connection_id":131567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9ad2c8012d198b400720b200003a006e27..."} 
[2026-07-13 18:43:58] local.INFO: Packet analysis {"connection_id":131567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b9a"} 
[2026-07-13 18:43:58] local.INFO: Extracted packet for processing {"connection_id":131567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b9a"} 
[2026-07-13 18:43:58] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690759680001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783948301000,"timestamp_ms":1783948301000,"timestamp_seconds":1783948301,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9ad2c8"} 
[2026-07-13 18:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 18:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690759680001,"66":12461,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690759680001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:43:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:43:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690759680001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":131567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:43:58] local.INFO: GPS data processed {"connection_id":131567,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:43:58] local.INFO: Acknowledgment sent {"connection_id":131567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:44:12] local.INFO: TCP Data received {"connection_id":130552,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b986d80012d7f914005afd9380014011b22..."} 
[2026-07-13 18:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b986d80012d7f914005afd9380014011b22..."} 
[2026-07-13 18:44:12] local.INFO: Processing buffer {"connection_id":130552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b986d80012d7f914005afd9380014011b22..."} 
[2026-07-13 18:44:12] local.INFO: Packet analysis {"connection_id":130552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b98"} 
[2026-07-13 18:44:12] local.INFO: Extracted packet for processing {"connection_id":130552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b98"} 
[2026-07-13 18:44:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 18:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690647808001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783948144000,"timestamp_ms":1783948144000,"timestamp_seconds":1783948144,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b986d80"} 
[2026-07-13 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-07-13 18:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 18:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690647808001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690647808001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:44:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:44:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690647808001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":130552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:44:12] local.INFO: GPS data processed {"connection_id":130552,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:44:12] local.INFO: Acknowledgment sent {"connection_id":130552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:44:17] local.INFO: TCP Data received {"connection_id":130774,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9bd0b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9bd0b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:44:17] local.INFO: Processing buffer {"connection_id":130774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9bd0b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:44:17] local.INFO: Packet analysis {"connection_id":130774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b9b"} 
[2026-07-13 18:44:17] local.INFO: Extracted packet for processing {"connection_id":130774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b9b"} 
[2026-07-13 18:44:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690704640001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:44:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783948366000,"timestamp_ms":1783948366000,"timestamp_seconds":1783948366,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9bd0b0"} 
[2026-07-13 18:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:44: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-07-13 18:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 18:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690704640001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690704640001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:44:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:44:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:44:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690704640001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":130774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481426,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:44:17] local.INFO: GPS data processed {"connection_id":130774,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:44:17] local.INFO: Acknowledgment sent {"connection_id":130774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:44:29] local.INFO: TCP Data received {"connection_id":131567,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9b20e8012d198b400720b200003a006e28..."} 
[2026-07-13 18:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9b20e8012d198b400720b200003a006e28..."} 
[2026-07-13 18:44:29] local.INFO: Processing buffer {"connection_id":131567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9b20e8012d198b400720b200003a006e28..."} 
[2026-07-13 18:44:29] local.INFO: Packet analysis {"connection_id":131567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b9b"} 
[2026-07-13 18:44:29] local.INFO: Extracted packet for processing {"connection_id":131567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b9b"} 
[2026-07-13 18:44:29] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690765056001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:44: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-07-13 18:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783948321000,"timestamp_ms":1783948321000,"timestamp_seconds":1783948321,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9b20e8"} 
[2026-07-13 18:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:44:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-13 18:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:44:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":131567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":131567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":131567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690765056001,"66":12461,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690765056001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:44:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:44:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690765056001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":131567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:44:30] local.INFO: GPS data processed {"connection_id":131567,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:44:30] local.INFO: Acknowledgment sent {"connection_id":131567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:44:34] local.INFO: TCP Data received {"connection_id":132904,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:44:34] local.INFO: Processing buffer {"connection_id":132904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:44:34] local.INFO: IMEI packet received {"connection_id":132904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":132904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:44:39] local.INFO: TCP Data received {"connection_id":132904,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:44:39] local.INFO: Processing buffer {"connection_id":132904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:44:39] local.INFO: IMEI packet received {"connection_id":132904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":132904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:44:39] local.INFO: TCP Data received {"connection_id":130553,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130553,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:44:39] local.INFO: Processing buffer {"connection_id":130553,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:44:39] local.INFO: IMEI packet received {"connection_id":130553,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":130553,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:44:40] local.INFO: TCP Data received {"connection_id":132904,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b986d80012d7f914005afd9380014011b22..."} 
[2026-07-13 18:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b986d80012d7f914005afd9380014011b22..."} 
[2026-07-13 18:44:40] local.INFO: Processing buffer {"connection_id":132904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b986d80012d7f914005afd9380014011b22..."} 
[2026-07-13 18:44:40] local.INFO: Packet analysis {"connection_id":132904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b98"} 
[2026-07-13 18:44:40] local.INFO: Extracted packet for processing {"connection_id":132904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b98"} 
[2026-07-13 18:44:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690647808001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783948144000,"timestamp_ms":1783948144000,"timestamp_seconds":1783948144,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b986d80"} 
[2026-07-13 18:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690647808001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690647808001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:44:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:44:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690647808001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":132904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:44:40] local.INFO: GPS data processed {"connection_id":132904,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:44:40] local.INFO: Acknowledgment sent {"connection_id":132904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:44:45] local.INFO: TCP Data received {"connection_id":130553,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130553,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:44:45] local.INFO: Processing buffer {"connection_id":130553,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:44:45] local.INFO: IMEI packet received {"connection_id":130553,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":130553,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:44:46] local.INFO: TCP Data received {"connection_id":130553,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9bd0b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9bd0b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:44:46] local.INFO: Processing buffer {"connection_id":130553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9bd0b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:44:46] local.INFO: Packet analysis {"connection_id":130553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b9b"} 
[2026-07-13 18:44:46] local.INFO: Extracted packet for processing {"connection_id":130553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b9b"} 
[2026-07-13 18:44:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690704640001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:44:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783948366000,"timestamp_ms":1783948366000,"timestamp_seconds":1783948366,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9bd0b0"} 
[2026-07-13 18:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 18:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130553,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130553,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690704640001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690704640001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:44:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:44:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:44:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690704640001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":130553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481429,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:44:46] local.INFO: GPS data processed {"connection_id":130553,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:44:46] local.INFO: Acknowledgment sent {"connection_id":130553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:44:52] local.INFO: TCP Data received {"connection_id":131568,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:44:52] local.INFO: Processing buffer {"connection_id":131568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:44:52] local.INFO: IMEI packet received {"connection_id":131568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":131568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:44:58] local.INFO: TCP Data received {"connection_id":131568,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:44:58] local.INFO: Processing buffer {"connection_id":131568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:44:58] local.INFO: IMEI packet received {"connection_id":131568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":131568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:44:58] local.INFO: TCP Data received {"connection_id":131568,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9b76d8012d198b400720b200003a006e28..."} 
[2026-07-13 18:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9b76d8012d198b400720b200003a006e28..."} 
[2026-07-13 18:44:58] local.INFO: Processing buffer {"connection_id":131568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9b76d8012d198b400720b200003a006e28..."} 
[2026-07-13 18:44:58] local.INFO: Packet analysis {"connection_id":131568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b9b"} 
[2026-07-13 18:44:58] local.INFO: Extracted packet for processing {"connection_id":131568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b9b"} 
[2026-07-13 18:44:58] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690770176001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783948343000,"timestamp_ms":1783948343000,"timestamp_seconds":1783948343,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9b76d8"} 
[2026-07-13 18:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-13 18:44:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:44:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690770176001,"66":12461,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690770176001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:44:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:44:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690770176001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":131568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:44:58] local.INFO: GPS data processed {"connection_id":131568,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:44:58] local.INFO: Acknowledgment sent {"connection_id":131568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:45:11] local.INFO: TCP Data received {"connection_id":132904,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9d0548012d7f914005afd9380014011b22..."} 
[2026-07-13 18:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9d0548012d7f914005afd9380014011b22..."} 
[2026-07-13 18:45:11] local.INFO: Processing buffer {"connection_id":132904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9d0548012d7f914005afd9380014011b22..."} 
[2026-07-13 18:45:11] local.INFO: Packet analysis {"connection_id":132904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b9d"} 
[2026-07-13 18:45:11] local.INFO: Extracted packet for processing {"connection_id":132904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b9d"} 
[2026-07-13 18:45:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690724864001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783948445000,"timestamp_ms":1783948445000,"timestamp_seconds":1783948445,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9d0548"} 
[2026-07-13 18:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690724864001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690724864001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:45:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:45:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690724864001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":132904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:45:11] local.INFO: GPS data processed {"connection_id":132904,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:45:11] local.INFO: Acknowledgment sent {"connection_id":132904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:45:17] local.INFO: TCP Data received {"connection_id":130553,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9bd0b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9bd0b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:45:17] local.INFO: Processing buffer {"connection_id":130553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9bd0b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:45:17] local.INFO: Packet analysis {"connection_id":130553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b9b"} 
[2026-07-13 18:45:17] local.INFO: Extracted packet for processing {"connection_id":130553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b9b"} 
[2026-07-13 18:45:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690704640001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:45:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783948366000,"timestamp_ms":1783948366000,"timestamp_seconds":1783948366,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9bd0b0"} 
[2026-07-13 18:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:45: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-07-13 18:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 18:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130553,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130553,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690704640001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690704640001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:45:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:45:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:45:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690704640001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":130553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481432,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:45:17] local.INFO: GPS data processed {"connection_id":130553,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:45:17] local.INFO: Acknowledgment sent {"connection_id":130553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:45:29] local.INFO: TCP Data received {"connection_id":131568,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9bc8e0012d198b400720b200003a006e24..."} 
[2026-07-13 18:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9bc8e0012d198b400720b200003a006e24..."} 
[2026-07-13 18:45:29] local.INFO: Processing buffer {"connection_id":131568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9bc8e0012d198b400720b200003a006e24..."} 
[2026-07-13 18:45:29] local.INFO: Packet analysis {"connection_id":131568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b9b"} 
[2026-07-13 18:45:29] local.INFO: Extracted packet for processing {"connection_id":131568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b9b"} 
[2026-07-13 18:45:29] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":36,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690775808001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:45: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-07-13 18:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783948364000,"timestamp_ms":1783948364000,"timestamp_seconds":1783948364,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9bc8e0"} 
[2026-07-13 18:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:45: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-07-13 18:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-13 18:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:45:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":131568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":131568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":131568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690775808001,"66":12504,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690775808001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:45:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:45:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690775808001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":131568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:45:29] local.INFO: GPS data processed {"connection_id":131568,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:45:29] local.INFO: Acknowledgment sent {"connection_id":131568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:45:34] local.INFO: TCP Data received {"connection_id":132905,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:45:34] local.INFO: Processing buffer {"connection_id":132905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:45:34] local.INFO: IMEI packet received {"connection_id":132905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":132905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:45:39] local.INFO: TCP Data received {"connection_id":132905,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:45:39] local.INFO: Processing buffer {"connection_id":132905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:45:39] local.INFO: IMEI packet received {"connection_id":132905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":132905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:45:39] local.INFO: TCP Data received {"connection_id":130775,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:45:39] local.INFO: Processing buffer {"connection_id":130775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:45:39] local.INFO: IMEI packet received {"connection_id":130775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":130775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:45:40] local.INFO: TCP Data received {"connection_id":132905,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9d0548012d7f914005afd9380014011b22..."} 
[2026-07-13 18:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9d0548012d7f914005afd9380014011b22..."} 
[2026-07-13 18:45:40] local.INFO: Processing buffer {"connection_id":132905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9d0548012d7f914005afd9380014011b22..."} 
[2026-07-13 18:45:40] local.INFO: Packet analysis {"connection_id":132905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b9d"} 
[2026-07-13 18:45:40] local.INFO: Extracted packet for processing {"connection_id":132905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b9d"} 
[2026-07-13 18:45:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690724864001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783948445000,"timestamp_ms":1783948445000,"timestamp_seconds":1783948445,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9d0548"} 
[2026-07-13 18:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690724864001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690724864001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:45:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:45:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690724864001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":132905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:45:40] local.INFO: GPS data processed {"connection_id":132905,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:45:40] local.INFO: Acknowledgment sent {"connection_id":132905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:45:45] local.INFO: TCP Data received {"connection_id":130775,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:45:45] local.INFO: Processing buffer {"connection_id":130775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:45:45] local.INFO: IMEI packet received {"connection_id":130775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":130775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:45:46] local.INFO: TCP Data received {"connection_id":130775,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9bd0b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9bd0b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:45:46] local.INFO: Processing buffer {"connection_id":130775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9bd0b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:45:46] local.INFO: Packet analysis {"connection_id":130775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b9b"} 
[2026-07-13 18:45:46] local.INFO: Extracted packet for processing {"connection_id":130775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b9b"} 
[2026-07-13 18:45:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690704640001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:45:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783948366000,"timestamp_ms":1783948366000,"timestamp_seconds":1783948366,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9bd0b0"} 
[2026-07-13 18:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 18:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690704640001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690704640001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:45:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:45:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:45:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690704640001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":130775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481435,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:45:46] local.INFO: GPS data processed {"connection_id":130775,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:45:46] local.INFO: Acknowledgment sent {"connection_id":130775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:45:58] local.INFO: TCP Data received {"connection_id":130776,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:45:58] local.INFO: Processing buffer {"connection_id":130776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:45:58] local.INFO: IMEI packet received {"connection_id":130776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":130776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:46:03] local.INFO: TCP Data received {"connection_id":130776,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:46:03] local.INFO: Processing buffer {"connection_id":130776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:46:03] local.INFO: IMEI packet received {"connection_id":130776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":130776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:46:03] local.INFO: TCP Data received {"connection_id":130776,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9c1ae8012d198b400720b200003a006e26..."} 
[2026-07-13 18:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9c1ae8012d198b400720b200003a006e26..."} 
[2026-07-13 18:46:03] local.INFO: Processing buffer {"connection_id":130776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9c1ae8012d198b400720b200003a006e26..."} 
[2026-07-13 18:46:03] local.INFO: Packet analysis {"connection_id":130776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b9c"} 
[2026-07-13 18:46:03] local.INFO: Extracted packet for processing {"connection_id":130776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b9c"} 
[2026-07-13 18:46:03] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690781184001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783948385000,"timestamp_ms":1783948385000,"timestamp_seconds":1783948385,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9c1ae8"} 
[2026-07-13 18:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 18:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":130776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":130776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":130776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690781184001,"66":12504,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690781184001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:46:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:46:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690781184001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":130776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:46:03] local.INFO: GPS data processed {"connection_id":130776,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:46:03] local.INFO: Acknowledgment sent {"connection_id":130776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:46:08] local.INFO: TCP Data received {"connection_id":130776,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9c6cf0012d198b400720b200003a006e22..."} 
[2026-07-13 18:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9c6cf0012d198b400720b200003a006e22..."} 
[2026-07-13 18:46:08] local.INFO: Processing buffer {"connection_id":130776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9c6cf0012d198b400720b200003a006e22..."} 
[2026-07-13 18:46:08] local.INFO: Packet analysis {"connection_id":130776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b9c"} 
[2026-07-13 18:46:08] local.INFO: Extracted packet for processing {"connection_id":130776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b9c"} 
[2026-07-13 18:46:08] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":34,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690786560001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783948406000,"timestamp_ms":1783948406000,"timestamp_seconds":1783948406,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9c6cf0"} 
[2026-07-13 18:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 18:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690786560001,"66":12504,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690786560001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:46:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:46:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690786560001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":130776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:46:08] local.INFO: GPS data processed {"connection_id":130776,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:46:08] local.INFO: Acknowledgment sent {"connection_id":130776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:46:13] local.INFO: TCP Data received {"connection_id":132905,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9d0548012d7f914005afd9380014011b22..."} 
[2026-07-13 18:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9d0548012d7f914005afd9380014011b22..."} 
[2026-07-13 18:46:13] local.INFO: Processing buffer {"connection_id":132905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9d0548012d7f914005afd9380014011b22..."} 
[2026-07-13 18:46:13] local.INFO: Packet analysis {"connection_id":132905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b9d"} 
[2026-07-13 18:46:13] local.INFO: Extracted packet for processing {"connection_id":132905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b9d"} 
[2026-07-13 18:46:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690724864001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783948445000,"timestamp_ms":1783948445000,"timestamp_seconds":1783948445,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9d0548"} 
[2026-07-13 18:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690724864001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690724864001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:46:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:46:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690724864001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":132905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:46:13] local.INFO: GPS data processed {"connection_id":132905,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:46:13] local.INFO: Acknowledgment sent {"connection_id":132905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:46:17] local.INFO: TCP Data received {"connection_id":130775,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9bd0b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9bd0b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:46:17] local.INFO: Processing buffer {"connection_id":130775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9bd0b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:46:17] local.INFO: Packet analysis {"connection_id":130775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b9b"} 
[2026-07-13 18:46:17] local.INFO: Extracted packet for processing {"connection_id":130775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b9b"} 
[2026-07-13 18:46:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 18:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690704640001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:46:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783948366000,"timestamp_ms":1783948366000,"timestamp_seconds":1783948366,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9bd0b0"} 
[2026-07-13 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-07-13 18:46: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-07-13 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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 18:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 18:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690704640001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690704640001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:46:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:46:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:46:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690704640001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":130775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481439,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:46:17] local.INFO: GPS data processed {"connection_id":130775,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:46:17] local.INFO: Acknowledgment sent {"connection_id":130775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:46:39] local.INFO: TCP Data received {"connection_id":130777,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:46:39] local.INFO: Processing buffer {"connection_id":130777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:46:39] local.INFO: IMEI packet received {"connection_id":130777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":130777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:46:39] local.INFO: TCP Data received {"connection_id":131569,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131569,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:46:39] local.INFO: Processing buffer {"connection_id":131569,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:46:39] local.INFO: IMEI packet received {"connection_id":131569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":131569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:46:44] local.INFO: TCP Data received {"connection_id":131569,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131569,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:46:44] local.INFO: Processing buffer {"connection_id":131569,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:46:44] local.INFO: IMEI packet received {"connection_id":131569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":131569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:46:45] local.INFO: TCP Data received {"connection_id":131569,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9bd0b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9bd0b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:46:45] local.INFO: Processing buffer {"connection_id":131569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9bd0b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:46:45] local.INFO: Packet analysis {"connection_id":131569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b9b"} 
[2026-07-13 18:46:45] local.INFO: Extracted packet for processing {"connection_id":131569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b9b"} 
[2026-07-13 18:46:45] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690704640001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:46:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783948366000,"timestamp_ms":1783948366000,"timestamp_seconds":1783948366,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9bd0b0"} 
[2026-07-13 18:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 18:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690704640001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690704640001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:46:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:46:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:46:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690704640001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":131569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481440,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:46:46] local.INFO: GPS data processed {"connection_id":131569,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:46:46] local.INFO: Acknowledgment sent {"connection_id":131569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:46:47] local.INFO: TCP Data received {"connection_id":130777,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:46:47] local.INFO: Processing buffer {"connection_id":130777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:46:47] local.INFO: IMEI packet received {"connection_id":130777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":130777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:46:49] local.INFO: TCP Data received {"connection_id":130554,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:46:49] local.INFO: Processing buffer {"connection_id":130554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:46:49] local.INFO: IMEI packet received {"connection_id":130554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":130554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:46:53] local.INFO: TCP Data received {"connection_id":130554,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:46:53] local.INFO: Processing buffer {"connection_id":130554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:46:53] local.INFO: IMEI packet received {"connection_id":130554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":130554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:46:53] local.INFO: TCP Data received {"connection_id":130777,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9d0548012d7f914005afd9380014011b22..."} 
[2026-07-13 18:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9d0548012d7f914005afd9380014011b22..."} 
[2026-07-13 18:46:53] local.INFO: Processing buffer {"connection_id":130777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9d0548012d7f914005afd9380014011b22..."} 
[2026-07-13 18:46:53] local.INFO: Packet analysis {"connection_id":130777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b9d"} 
[2026-07-13 18:46:53] local.INFO: Extracted packet for processing {"connection_id":130777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b9d"} 
[2026-07-13 18:46:53] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690724864001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783948445000,"timestamp_ms":1783948445000,"timestamp_seconds":1783948445,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9d0548"} 
[2026-07-13 18:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":130777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":130777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":130777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690724864001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690724864001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:46:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:46:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690724864001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":130777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:46:53] local.INFO: GPS data processed {"connection_id":130777,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:46:53] local.INFO: Acknowledgment sent {"connection_id":130777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:46:57] local.INFO: TCP Data received {"connection_id":130554,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:46:57] local.INFO: Processing buffer {"connection_id":130554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:46:57] local.INFO: IMEI packet received {"connection_id":130554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":130554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:46:57] local.INFO: TCP Data received {"connection_id":130554,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9cbef8012d198b400720b200003a006e26..."} 
[2026-07-13 18:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9cbef8012d198b400720b200003a006e26..."} 
[2026-07-13 18:46:57] local.INFO: Processing buffer {"connection_id":130554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9cbef8012d198b400720b200003a006e26..."} 
[2026-07-13 18:46:57] local.INFO: Packet analysis {"connection_id":130554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b9c"} 
[2026-07-13 18:46:57] local.INFO: Extracted packet for processing {"connection_id":130554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b9c"} 
[2026-07-13 18:46:57] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583232,"longitude_deg":75.6648768,"latitude_deg":11.9583232,"altitude":58,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b200","is_valid_coordinates":true} 
[2026-07-13 18:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690791936001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5929554539446272,"note":"Value kept but may cause issues"} 
[2026-07-13 18:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068464640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783948427000,"timestamp_ms":1783948427000,"timestamp_seconds":1783948427,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9cbef8"} 
[2026-07-13 18:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 18:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:46:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":130554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":130554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":130554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690791936001,"66":12504,"103":206,"83":41984,"24":0,"16":5929554539446272,"45":1840635272068464640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690791936001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:46:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:46:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5929554539446272,"km_value":5929554539446.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068464640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690791936001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068464640}} 
[2026-07-13 18:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":130554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:46:57] local.INFO: GPS data processed {"connection_id":130554,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:46:57] local.INFO: Acknowledgment sent {"connection_id":130554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:46:59] local.INFO: TCP Data received {"connection_id":130777,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9d0548012d7f914005afd9380014011b22..."} 
[2026-07-13 18:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9d0548012d7f914005afd9380014011b22..."} 
[2026-07-13 18:46:59] local.INFO: Processing buffer {"connection_id":130777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9d0548012d7f914005afd9380014011b22..."} 
[2026-07-13 18:46:59] local.INFO: Packet analysis {"connection_id":130777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b9d"} 
[2026-07-13 18:46:59] local.INFO: Extracted packet for processing {"connection_id":130777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b9d"} 
[2026-07-13 18:46:59] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690724864001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783948445000,"timestamp_ms":1783948445000,"timestamp_seconds":1783948445,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9d0548"} 
[2026-07-13 18:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":130777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":130777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":130777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690724864001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690724864001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:46:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:46:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690724864001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":130777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:46:59] local.INFO: GPS data processed {"connection_id":130777,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:46:59] local.INFO: Acknowledgment sent {"connection_id":130777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:47:17] local.INFO: TCP Data received {"connection_id":131569,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9bd0b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9bd0b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:47:17] local.INFO: Processing buffer {"connection_id":131569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9bd0b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:47:17] local.INFO: Packet analysis {"connection_id":131569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b9b"} 
[2026-07-13 18:47:17] local.INFO: Extracted packet for processing {"connection_id":131569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b9b"} 
[2026-07-13 18:47:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690704640001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:47:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783948366000,"timestamp_ms":1783948366000,"timestamp_seconds":1783948366,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9bd0b0"} 
[2026-07-13 18:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:47: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-07-13 18: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 18:47:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690704640001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690704640001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:47:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:47:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:47:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690704640001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":131569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481444,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:47:17] local.INFO: GPS data processed {"connection_id":131569,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:47:17] local.INFO: Acknowledgment sent {"connection_id":131569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:47:29] local.INFO: TCP Data received {"connection_id":130554,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9f5708012d19c8400720a4e00034004929..."} 
[2026-07-13 18:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9f5708012d19c8400720a4e00034004929..."} 
[2026-07-13 18:47:29] local.INFO: Processing buffer {"connection_id":130554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9f5708012d19c8400720a4e00034004929..."} 
[2026-07-13 18:47:29] local.INFO: Packet analysis {"connection_id":130554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b9f"} 
[2026-07-13 18:47:29] local.INFO: Extracted packet for processing {"connection_id":130554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b9f"} 
[2026-07-13 18:47:29] local.INFO: GPS Element Parsed {"raw_longitude":756664384,"raw_latitude":119579872,"longitude_deg":75.6664384,"latitude_deg":11.9579872,"altitude":52,"angle":73,"satellites":41,"speed":16,"hex_longitude":"2d19c840","hex_latitude":"0720a4e0","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690840576001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5930340518461440,"note":"Value kept but may cause issues"} 
[2026-07-13 18:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857242295693514752,"note":"Value kept but may cause issues"} 
[2026-07-13 18:47: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-07-13 18:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783948597000,"timestamp_ms":1783948597000,"timestamp_seconds":1783948597,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9f5708"} 
[2026-07-13 18:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:47: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-07-13 18: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-13 18:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690840576001,"66":14233,"103":206,"83":41984,"24":16,"16":5930340518461440,"45":1857242295693514752},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690840576001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:47:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:47:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5930340518461440,"km_value":5930340518461.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857242295693514752,"description":"Unknown IO ID 45"} 
[2026-07-13 18:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690840576001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1857242295693514752}} 
[2026-07-13 18:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":130554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:47:29] local.INFO: GPS data processed {"connection_id":130554,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:47:29] local.INFO: Acknowledgment sent {"connection_id":130554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:47:44] local.INFO: TCP Data received {"connection_id":130778,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:47:44] local.INFO: Processing buffer {"connection_id":130778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:47:44] local.INFO: IMEI packet received {"connection_id":130778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":130778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:47:45] local.INFO: TCP Data received {"connection_id":131570,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:47:45] local.INFO: Processing buffer {"connection_id":131570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:47:45] local.INFO: IMEI packet received {"connection_id":131570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":131570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:47:49] local.INFO: TCP Data received {"connection_id":130778,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:47:49] local.INFO: Processing buffer {"connection_id":130778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:47:49] local.INFO: IMEI packet received {"connection_id":130778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":130778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:47:50] local.INFO: TCP Data received {"connection_id":131570,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:47:50] local.INFO: Processing buffer {"connection_id":131570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:47:50] local.INFO: IMEI packet received {"connection_id":131570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":131570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:47:50] local.INFO: TCP Data received {"connection_id":130778,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9d0548012d7f914005afd9380014011b22..."} 
[2026-07-13 18:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9d0548012d7f914005afd9380014011b22..."} 
[2026-07-13 18:47:50] local.INFO: Processing buffer {"connection_id":130778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9d0548012d7f914005afd9380014011b22..."} 
[2026-07-13 18:47:50] local.INFO: Packet analysis {"connection_id":130778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b9d"} 
[2026-07-13 18:47:50] local.INFO: Extracted packet for processing {"connection_id":130778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b9d"} 
[2026-07-13 18:47:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 18:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690724864001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783948445000,"timestamp_ms":1783948445000,"timestamp_seconds":1783948445,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9d0548"} 
[2026-07-13 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-07-13 18:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 18:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690724864001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690724864001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:47:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:47:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690724864001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":130778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:47:50] local.INFO: GPS data processed {"connection_id":130778,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:47:50] local.INFO: Acknowledgment sent {"connection_id":130778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:47:51] local.INFO: TCP Data received {"connection_id":131570,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9bd0b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9bd0b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:47:51] local.INFO: Processing buffer {"connection_id":131570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9bd0b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:47:51] local.INFO: Packet analysis {"connection_id":131570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b9b"} 
[2026-07-13 18:47:51] local.INFO: Extracted packet for processing {"connection_id":131570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b9b"} 
[2026-07-13 18:47:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690704640001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:47:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783948366000,"timestamp_ms":1783948366000,"timestamp_seconds":1783948366,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9bd0b0"} 
[2026-07-13 18:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 18:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":131570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":131570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":131570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690704640001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690704640001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:47:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:47:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:47:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690704640001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":131570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481447,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:47:51] local.INFO: GPS data processed {"connection_id":131570,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:47:51] local.INFO: Acknowledgment sent {"connection_id":131570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:47:53] local.INFO: TCP Data received {"connection_id":132906,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:47:53] local.INFO: Processing buffer {"connection_id":132906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:47:53] local.INFO: IMEI packet received {"connection_id":132906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":132906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:47:55] local.INFO: TCP Data received {"connection_id":131570,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9bd0b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9bd0b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:47:55] local.INFO: Processing buffer {"connection_id":131570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9bd0b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:47:55] local.INFO: Packet analysis {"connection_id":131570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b9b"} 
[2026-07-13 18:47:55] local.INFO: Extracted packet for processing {"connection_id":131570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b9b"} 
[2026-07-13 18:47:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690704640001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:47:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783948366000,"timestamp_ms":1783948366000,"timestamp_seconds":1783948366,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9bd0b0"} 
[2026-07-13 18:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 18:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":131570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":131570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":131570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690704640001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690704640001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:47:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:47:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:47:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690704640001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":131570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481448,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:47:55] local.INFO: GPS data processed {"connection_id":131570,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:47:55] local.INFO: Acknowledgment sent {"connection_id":131570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:47:58] local.INFO: TCP Data received {"connection_id":132906,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:47:58] local.INFO: Processing buffer {"connection_id":132906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:47:58] local.INFO: IMEI packet received {"connection_id":132906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":132906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:47:58] local.INFO: TCP Data received {"connection_id":132906,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9f5ed8012d19ca800720a648003500332a..."} 
[2026-07-13 18:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9f5ed8012d19ca800720a648003500332a..."} 
[2026-07-13 18:47:58] local.INFO: Processing buffer {"connection_id":132906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9f5ed8012d19ca800720a648003500332a..."} 
[2026-07-13 18:47:58] local.INFO: Packet analysis {"connection_id":132906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b9f"} 
[2026-07-13 18:47:58] local.INFO: Extracted packet for processing {"connection_id":132906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b9f"} 
[2026-07-13 18:47:58] local.INFO: GPS Element Parsed {"raw_longitude":756664960,"raw_latitude":119580232,"longitude_deg":75.666496,"latitude_deg":11.9580232,"altitude":53,"angle":51,"satellites":42,"speed":14,"hex_longitude":"2d19ca80","hex_latitude":"0720a648","is_valid_coordinates":true} 
[2026-07-13 18:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690840832001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5930374878199808,"note":"Value kept but may cause issues"} 
[2026-07-13 18:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857805245646954496,"note":"Value kept but may cause issues"} 
[2026-07-13 18:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783948599000,"timestamp_ms":1783948599000,"timestamp_seconds":1783948599,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9f5ed8"} 
[2026-07-13 18:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-13 18:47:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:47:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690840832001,"66":13830,"103":206,"83":41984,"24":14,"16":5930374878199808,"45":1857805245646954496},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690840832001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:47:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:47:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5930374878199808,"km_value":5930374878199.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857805245646954496,"description":"Unknown IO ID 45"} 
[2026-07-13 18:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690840832001,"power":13830,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1857805245646954496}} 
[2026-07-13 18:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":132906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:47:58] local.INFO: GPS data processed {"connection_id":132906,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:47:58] local.INFO: Acknowledgment sent {"connection_id":132906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:48:29] local.INFO: TCP Data received {"connection_id":132906,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9f8200012d19d2c00720ae40003700282b..."} 
[2026-07-13 18:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9f8200012d19d2c00720ae40003700282b..."} 
[2026-07-13 18:48:29] local.INFO: Processing buffer {"connection_id":132906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9f8200012d19d2c00720ae40003700282b..."} 
[2026-07-13 18:48:29] local.INFO: Packet analysis {"connection_id":132906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b9f"} 
[2026-07-13 18:48:29] local.INFO: Extracted packet for processing {"connection_id":132906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b9f"} 
[2026-07-13 18:48:29] local.INFO: GPS Element Parsed {"raw_longitude":756667072,"raw_latitude":119582272,"longitude_deg":75.6667072,"latitude_deg":11.9582272,"altitude":55,"angle":40,"satellites":43,"speed":14,"hex_longitude":"2d19d2c0","hex_latitude":"0720ae40","is_valid_coordinates":true} 
[2026-07-13 18:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690841344001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5930516612120576,"note":"Value kept but may cause issues"} 
[2026-07-13 18:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858438564344645632,"note":"Value kept but may cause issues"} 
[2026-07-13 18:48: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-07-13 18:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783948608000,"timestamp_ms":1783948608000,"timestamp_seconds":1783948608,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9f8200"} 
[2026-07-13 18:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:48: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-07-13 18:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-07-13 18:48:29] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-13 18:48:29] local.WARNING: Large IO value detected {"io_id":24,"raw_value":6192458093363200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:48:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652634560413440,"note":"Value kept but may cause issues"} 
[2026-07-13 18:48:29] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2483027968,"note":"Value kept but may cause issues"} 
[2026-07-13 18:48:29] local.WARNING: Large IO value detected {"io_id":91,"raw_value":2671745025,"note":"Value kept but may cause issues"} 
[2026-07-13 18:48:29] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2791309363,"note":"Value kept but may cause issues"} 
[2026-07-13 18:48:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-13 18:48:29] local.WARNING: Large IO value detected {"io_id":245,"raw_value":6917860090611500832,"note":"Value kept but may cause issues"} 
[2026-07-13 18:48:29] local.WARNING: Large IO value detected {"io_id":178,"raw_value":-8646848610792046571,"note":"Value kept but may cause issues"} 
[2026-07-13 18:48:29] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,17,159,87,45,64,164,52,41,10,66,51,40,79,192,1,240,196,227,91,32,4,113,205,14,44,184,239,55,2,21,7,22,245,178],"length":528,"final_offset":658,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-13 18:48:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819108739492741120,"timestamp_seconds":3819108739492741.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 18:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690841344001,"66":14276,"103":206,"83":41984,"24":14,"16":5930516612120576,"45":1858438564344645632},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690841344001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:48:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:48:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5930516612120576,"km_value":5930516612120.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858438564344645632,"description":"Unknown IO ID 45"} 
[2026-07-13 18:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690841344001,"power":14276,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1858438564344645632}} 
[2026-07-13 18:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":132906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:48:30] local.INFO: GPS data processed {"connection_id":132906,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:48:30] local.INFO: Acknowledgment sent {"connection_id":132906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:48:35] local.INFO: TCP Data received {"connection_id":130555,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:48:35] local.INFO: Processing buffer {"connection_id":130555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:48:35] local.INFO: IMEI packet received {"connection_id":130555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":130555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:48:39] local.INFO: TCP Data received {"connection_id":130555,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:48:39] local.INFO: Processing buffer {"connection_id":130555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:48:39] local.INFO: IMEI packet received {"connection_id":130555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":130555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:48:39] local.INFO: TCP Data received {"connection_id":130779,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130779,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:48:40] local.INFO: Processing buffer {"connection_id":130779,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:48:40] local.INFO: IMEI packet received {"connection_id":130779,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":130779,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:48:40] local.INFO: TCP Data received {"connection_id":130555,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9d0548012d7f914005afd9380014011b22..."} 
[2026-07-13 18:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9d0548012d7f914005afd9380014011b22..."} 
[2026-07-13 18:48:40] local.INFO: Processing buffer {"connection_id":130555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9d0548012d7f914005afd9380014011b22..."} 
[2026-07-13 18:48:40] local.INFO: Packet analysis {"connection_id":130555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b9d"} 
[2026-07-13 18:48:40] local.INFO: Extracted packet for processing {"connection_id":130555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b9d"} 
[2026-07-13 18:48:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690724864001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783948445000,"timestamp_ms":1783948445000,"timestamp_seconds":1783948445,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9d0548"} 
[2026-07-13 18:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690724864001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690724864001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:48:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:48:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690724864001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":130555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:48:40] local.INFO: GPS data processed {"connection_id":130555,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:48:40] local.INFO: Acknowledgment sent {"connection_id":130555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:48:44] local.INFO: TCP Data received {"connection_id":130779,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130779,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:48:44] local.INFO: Processing buffer {"connection_id":130779,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:48:44] local.INFO: IMEI packet received {"connection_id":130779,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":130779,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:48:46] local.INFO: TCP Data received {"connection_id":130779,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba06878012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba06878012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:48:46] local.INFO: Processing buffer {"connection_id":130779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba06878012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:48:46] local.INFO: Packet analysis {"connection_id":130779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba0"} 
[2026-07-13 18:48:46] local.INFO: Extracted packet for processing {"connection_id":130779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba0"} 
[2026-07-13 18:48:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690781696001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:48:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783948667000,"timestamp_ms":1783948667000,"timestamp_seconds":1783948667,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba06878"} 
[2026-07-13 18:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690781696001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690781696001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:48:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:48:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:48:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690781696001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":130779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481452,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:48:46] local.INFO: GPS data processed {"connection_id":130779,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:48:46] local.INFO: Acknowledgment sent {"connection_id":130779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:48:53] local.INFO: TCP Data received {"connection_id":131571,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:48:53] local.INFO: Processing buffer {"connection_id":131571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:48:53] local.INFO: IMEI packet received {"connection_id":131571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":131571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:48:53] local.INFO: TCP Data received {"connection_id":131571,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:48:53] local.INFO: Processing buffer {"connection_id":131571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:48:53] local.INFO: IMEI packet received {"connection_id":131571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":131571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:48:54] local.INFO: TCP Data received {"connection_id":131571,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:48:54] local.INFO: Processing buffer {"connection_id":131571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:48:54] local.INFO: IMEI packet received {"connection_id":131571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":131571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:48:55] local.INFO: TCP Data received {"connection_id":131571,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:48:55] local.INFO: Processing buffer {"connection_id":131571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:48:55] local.INFO: IMEI packet received {"connection_id":131571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":131571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:48:56] local.INFO: TCP Data received {"connection_id":131571,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba0a6f8012d1a3cc00720f760003e000d28..."} 
[2026-07-13 18:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba0a6f8012d1a3cc00720f760003e000d28..."} 
[2026-07-13 18:48:56] local.INFO: Processing buffer {"connection_id":131571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba0a6f8012d1a3cc00720f760003e000d28..."} 
[2026-07-13 18:48:56] local.INFO: Packet analysis {"connection_id":131571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba0"} 
[2026-07-13 18:48:56] local.INFO: Extracted packet for processing {"connection_id":131571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba0"} 
[2026-07-13 18:48:56] local.INFO: GPS Element Parsed {"raw_longitude":756694208,"raw_latitude":119600992,"longitude_deg":75.6694208,"latitude_deg":11.9600992,"altitude":62,"angle":13,"satellites":40,"speed":7,"hex_longitude":"2d1a3cc0","hex_latitude":"0720f760","is_valid_coordinates":true} 
[2026-07-13 18:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690861568001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5932191649366016,"note":"Value kept but may cause issues"} 
[2026-07-13 18:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889400811787720704,"note":"Value kept but may cause issues"} 
[2026-07-13 18:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783948683000,"timestamp_ms":1783948683000,"timestamp_seconds":1783948683,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba0a6f8"} 
[2026-07-13 18:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 18:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:48:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":131571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":131571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":131571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690861568001,"66":14428,"103":206,"83":41984,"24":7,"16":5932191649366016,"45":1889400811787720704},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690861568001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:48:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:48:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5932191649366016,"km_value":5932191649366.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889400811787720704,"description":"Unknown IO ID 45"} 
[2026-07-13 18:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690861568001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1889400811787720704}} 
[2026-07-13 18:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":131571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:48:56] local.INFO: GPS data processed {"connection_id":131571,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:48:56] local.INFO: Acknowledgment sent {"connection_id":131571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:49:11] local.INFO: TCP Data received {"connection_id":130555,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9d0548012d7f914005afd9380014011b22..."} 
[2026-07-13 18:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9d0548012d7f914005afd9380014011b22..."} 
[2026-07-13 18:49:11] local.INFO: Processing buffer {"connection_id":130555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9d0548012d7f914005afd9380014011b22..."} 
[2026-07-13 18:49:11] local.INFO: Packet analysis {"connection_id":130555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b9d"} 
[2026-07-13 18:49:11] local.INFO: Extracted packet for processing {"connection_id":130555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b9d"} 
[2026-07-13 18:49:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690724864001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783948445000,"timestamp_ms":1783948445000,"timestamp_seconds":1783948445,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9d0548"} 
[2026-07-13 18:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690724864001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690724864001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:49:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:49:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690724864001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":130555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:49:11] local.INFO: GPS data processed {"connection_id":130555,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:49:11] local.INFO: Acknowledgment sent {"connection_id":130555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:49:17] local.INFO: TCP Data received {"connection_id":130779,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba06878012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba06878012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:49:17] local.INFO: Processing buffer {"connection_id":130779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba06878012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:49:17] local.INFO: Packet analysis {"connection_id":130779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba0"} 
[2026-07-13 18:49:17] local.INFO: Extracted packet for processing {"connection_id":130779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba0"} 
[2026-07-13 18:49:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690781696001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:49:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783948667000,"timestamp_ms":1783948667000,"timestamp_seconds":1783948667,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba06878"} 
[2026-07-13 18:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:49: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-07-13 18: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:49:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690781696001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690781696001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:49:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:49:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:49:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690781696001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":130779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481455,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:49:17] local.INFO: GPS data processed {"connection_id":130779,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:49:17] local.INFO: Acknowledgment sent {"connection_id":130779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:49:27] local.INFO: TCP Data received {"connection_id":131571,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba0aae0012d1a3cc00720f7f8003e000128..."} 
[2026-07-13 18:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba0aae0012d1a3cc00720f7f8003e000128..."} 
[2026-07-13 18:49:27] local.INFO: Processing buffer {"connection_id":131571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba0aae0012d1a3cc00720f7f8003e000128..."} 
[2026-07-13 18:49:27] local.INFO: Packet analysis {"connection_id":131571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba0"} 
[2026-07-13 18:49:27] local.INFO: Extracted packet for processing {"connection_id":131571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba0"} 
[2026-07-13 18:49:27] local.INFO: GPS Element Parsed {"raw_longitude":756694208,"raw_latitude":119601144,"longitude_deg":75.6694208,"latitude_deg":11.9601144,"altitude":62,"angle":1,"satellites":40,"speed":5,"hex_longitude":"2d1a3cc0","hex_latitude":"0720f7f8","is_valid_coordinates":true} 
[2026-07-13 18:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690862848001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5932200239300608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890597080439152640,"note":"Value kept but may cause issues"} 
[2026-07-13 18:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783948684000,"timestamp_ms":1783948684000,"timestamp_seconds":1783948684,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba0aae0"} 
[2026-07-13 18:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 18:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":131571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":131571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":131571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690862848001,"66":14374,"103":206,"83":41984,"24":5,"16":5932200239300608,"45":1890597080439152640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690862848001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:49:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:49:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5932200239300608,"km_value":5932200239300.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890597080439152640,"description":"Unknown IO ID 45"} 
[2026-07-13 18:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690862848001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1890597080439152640}} 
[2026-07-13 18:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":131571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:49:27] local.INFO: GPS data processed {"connection_id":131571,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:49:27] local.INFO: Acknowledgment sent {"connection_id":131571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:49:34] local.INFO: TCP Data received {"connection_id":131572,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:49:34] local.INFO: Processing buffer {"connection_id":131572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:49:34] local.INFO: IMEI packet received {"connection_id":131572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":131572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:49:39] local.INFO: TCP Data received {"connection_id":131572,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:49:39] local.INFO: Processing buffer {"connection_id":131572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:49:39] local.INFO: IMEI packet received {"connection_id":131572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":131572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:49:39] local.INFO: TCP Data received {"connection_id":130556,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:49:39] local.INFO: Processing buffer {"connection_id":130556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:49:39] local.INFO: IMEI packet received {"connection_id":130556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":130556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:49:40] local.INFO: TCP Data received {"connection_id":131572,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5b9d0548012d7f914005afd9380014011b22..."} 
[2026-07-13 18:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5b9d0548012d7f914005afd9380014011b22..."} 
[2026-07-13 18:49:40] local.INFO: Processing buffer {"connection_id":131572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5b9d0548012d7f914005afd9380014011b22..."} 
[2026-07-13 18:49:40] local.INFO: Packet analysis {"connection_id":131572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5b9d"} 
[2026-07-13 18:49:40] local.INFO: Extracted packet for processing {"connection_id":131572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5b9d"} 
[2026-07-13 18:49:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 18:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690724864001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783948445000,"timestamp_ms":1783948445000,"timestamp_seconds":1783948445,"priority":1,"record_length":96,"hex_timestamp":"0000019f5b9d0548"} 
[2026-07-13 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-07-13 18:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 18:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 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-07-13 18:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690724864001,"66":25321,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 18:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690724864001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:49:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 18:49:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690724864001,"power":25321,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":131572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:49:40] local.INFO: GPS data processed {"connection_id":131572,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:49:40] local.INFO: Acknowledgment sent {"connection_id":131572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:49:45] local.INFO: TCP Data received {"connection_id":130556,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:49:45] local.INFO: Processing buffer {"connection_id":130556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:49:45] local.INFO: IMEI packet received {"connection_id":130556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":130556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:49:46] local.INFO: TCP Data received {"connection_id":130556,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba06878012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba06878012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:49:46] local.INFO: Processing buffer {"connection_id":130556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba06878012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:49:46] local.INFO: Packet analysis {"connection_id":130556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba0"} 
[2026-07-13 18:49:46] local.INFO: Extracted packet for processing {"connection_id":130556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba0"} 
[2026-07-13 18:49:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690781696001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:49:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783948667000,"timestamp_ms":1783948667000,"timestamp_seconds":1783948667,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba06878"} 
[2026-07-13 18:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690781696001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690781696001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:49:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:49:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:49:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690781696001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":130556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481458,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:49:46] local.INFO: GPS data processed {"connection_id":130556,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:49:46] local.INFO: Acknowledgment sent {"connection_id":130556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:49:53] local.INFO: TCP Data received {"connection_id":132908,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:49:53] local.INFO: Processing buffer {"connection_id":132908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:49:53] local.INFO: IMEI packet received {"connection_id":132908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":132908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:49:57] local.INFO: TCP Data received {"connection_id":132908,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:49:57] local.INFO: Processing buffer {"connection_id":132908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:49:57] local.INFO: IMEI packet received {"connection_id":132908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":132908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:49:58] local.INFO: TCP Data received {"connection_id":132908,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba0b2b0012d1a3d000720f8c0003e015829..."} 
[2026-07-13 18:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba0b2b0012d1a3d000720f8c0003e015829..."} 
[2026-07-13 18:49:58] local.INFO: Processing buffer {"connection_id":132908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba0b2b0012d1a3d000720f8c0003e015829..."} 
[2026-07-13 18:49:58] local.INFO: Packet analysis {"connection_id":132908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba0"} 
[2026-07-13 18:49:58] local.INFO: Extracted packet for processing {"connection_id":132908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba0"} 
[2026-07-13 18:49:58] local.INFO: GPS Element Parsed {"raw_longitude":756694272,"raw_latitude":119601344,"longitude_deg":75.6694272,"latitude_deg":11.9601344,"altitude":62,"angle":344,"satellites":41,"speed":5,"hex_longitude":"2d1a3d00","hex_latitude":"0720f8c0","is_valid_coordinates":true} 
[2026-07-13 18:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690863104001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5932208829235200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890597080439191552,"note":"Value kept but may cause issues"} 
[2026-07-13 18:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783948686000,"timestamp_ms":1783948686000,"timestamp_seconds":1783948686,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba0b2b0"} 
[2026-07-13 18:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-13 18:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690863104001,"66":14298,"103":206,"83":41984,"24":5,"16":5932208829235200,"45":1890597080439191552},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690863104001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:49:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:49:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5932208829235200,"km_value":5932208829235.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890597080439191552,"description":"Unknown IO ID 45"} 
[2026-07-13 18:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690863104001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1890597080439191552}} 
[2026-07-13 18:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":132908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:49:58] local.INFO: GPS data processed {"connection_id":132908,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:49:58] local.INFO: Acknowledgment sent {"connection_id":132908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:50:10] local.INFO: TCP Data received {"connection_id":131572,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:50:10] local.INFO: Processing buffer {"connection_id":131572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:50:10] local.INFO: Packet analysis {"connection_id":131572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba1"} 
[2026-07-13 18:50:10] local.INFO: Extracted packet for processing {"connection_id":131572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba1"} 
[2026-07-13 18:50:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":21,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690801920001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783948746000,"timestamp_ms":1783948746000,"timestamp_seconds":1783948746,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba19d10"} 
[2026-07-13 18:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 18:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690801920001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 18:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690801920001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:50:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 18:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690801920001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":131572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:50:10] local.INFO: GPS data processed {"connection_id":131572,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:50:10] local.INFO: Acknowledgment sent {"connection_id":131572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:50:17] local.INFO: TCP Data received {"connection_id":130556,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba06878012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba06878012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:50:17] local.INFO: Processing buffer {"connection_id":130556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba06878012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:50:17] local.INFO: Packet analysis {"connection_id":130556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba0"} 
[2026-07-13 18:50:17] local.INFO: Extracted packet for processing {"connection_id":130556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba0"} 
[2026-07-13 18:50:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690781696001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:50:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783948667000,"timestamp_ms":1783948667000,"timestamp_seconds":1783948667,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba06878"} 
[2026-07-13 18:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:50: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-07-13 18: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:50:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690781696001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690781696001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:50:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:50:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:50:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690781696001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":130556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481461,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:50:17] local.INFO: GPS data processed {"connection_id":130556,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:50:17] local.INFO: Acknowledgment sent {"connection_id":130556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:50:29] local.INFO: TCP Data received {"connection_id":132908,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba0ba80012d1a3c400720f9d0003e014a29..."} 
[2026-07-13 18:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba0ba80012d1a3c400720f9d0003e014a29..."} 
[2026-07-13 18:50:29] local.INFO: Processing buffer {"connection_id":132908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba0ba80012d1a3c400720f9d0003e014a29..."} 
[2026-07-13 18:50:29] local.INFO: Packet analysis {"connection_id":132908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba0"} 
[2026-07-13 18:50:29] local.INFO: Extracted packet for processing {"connection_id":132908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba0"} 
[2026-07-13 18:50:29] local.INFO: GPS Element Parsed {"raw_longitude":756694080,"raw_latitude":119601616,"longitude_deg":75.669408,"latitude_deg":11.9601616,"altitude":62,"angle":330,"satellites":41,"speed":7,"hex_longitude":"2d1a3c40","hex_latitude":"0720f9d0","is_valid_coordinates":true} 
[2026-07-13 18:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690863616001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5932226009104384,"note":"Value kept but may cause issues"} 
[2026-07-13 18:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890667449183420416,"note":"Value kept but may cause issues"} 
[2026-07-13 18:50: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-07-13 18:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783948688000,"timestamp_ms":1783948688000,"timestamp_seconds":1783948688,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba0ba80"} 
[2026-07-13 18:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-13 18:50: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-07-13 18:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690863616001,"66":14374,"103":206,"83":41984,"24":7,"16":5932226009104384,"45":1890667449183420416},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690863616001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:50:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:50:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5932226009104384,"km_value":5932226009104.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890667449183420416,"description":"Unknown IO ID 45"} 
[2026-07-13 18:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690863616001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1890667449183420416}} 
[2026-07-13 18:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":132908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:50:29] local.INFO: GPS data processed {"connection_id":132908,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:50:29] local.INFO: Acknowledgment sent {"connection_id":132908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:50:39] local.INFO: TCP Data received {"connection_id":132909,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:50:39] local.INFO: Processing buffer {"connection_id":132909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:50:39] local.INFO: IMEI packet received {"connection_id":132909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":132909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:50:44] local.INFO: TCP Data received {"connection_id":132909,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:50:44] local.INFO: Processing buffer {"connection_id":132909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:50:44] local.INFO: IMEI packet received {"connection_id":132909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":132909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:50:45] local.INFO: TCP Data received {"connection_id":130780,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:50:45] local.INFO: Processing buffer {"connection_id":130780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:50:45] local.INFO: IMEI packet received {"connection_id":130780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":130780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:50:45] local.INFO: TCP Data received {"connection_id":132909,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:50:45] local.INFO: Processing buffer {"connection_id":132909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:50:45] local.INFO: Packet analysis {"connection_id":132909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba1"} 
[2026-07-13 18:50:45] local.INFO: Extracted packet for processing {"connection_id":132909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba1"} 
[2026-07-13 18:50:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":21,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690801920001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783948746000,"timestamp_ms":1783948746000,"timestamp_seconds":1783948746,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba19d10"} 
[2026-07-13 18:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 18:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690801920001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 18:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690801920001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:50:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 18:50:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690801920001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":132909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:50:45] local.INFO: GPS data processed {"connection_id":132909,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:50:45] local.INFO: Acknowledgment sent {"connection_id":132909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:50:50] local.INFO: TCP Data received {"connection_id":130780,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:50:50] local.INFO: Processing buffer {"connection_id":130780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:50:50] local.INFO: IMEI packet received {"connection_id":130780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":130780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:50:51] local.INFO: TCP Data received {"connection_id":130780,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba06878012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba06878012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:50:51] local.INFO: Processing buffer {"connection_id":130780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba06878012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:50:51] local.INFO: Packet analysis {"connection_id":130780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba0"} 
[2026-07-13 18:50:51] local.INFO: Extracted packet for processing {"connection_id":130780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba0"} 
[2026-07-13 18:50:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690781696001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:50:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783948667000,"timestamp_ms":1783948667000,"timestamp_seconds":1783948667,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba06878"} 
[2026-07-13 18:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130780,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130780,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690781696001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690781696001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:50:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:50:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:50:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690781696001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":130780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481464,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:50:51] local.INFO: GPS data processed {"connection_id":130780,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:50:51] local.INFO: Acknowledgment sent {"connection_id":130780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:50:52] local.INFO: TCP Data received {"connection_id":131573,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:50:52] local.INFO: Processing buffer {"connection_id":131573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:50:52] local.INFO: IMEI packet received {"connection_id":131573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":131573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:50:55] local.INFO: TCP Data received {"connection_id":130780,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba06878012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba06878012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:50:55] local.INFO: Processing buffer {"connection_id":130780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba06878012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:50:55] local.INFO: Packet analysis {"connection_id":130780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba0"} 
[2026-07-13 18:50:55] local.INFO: Extracted packet for processing {"connection_id":130780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba0"} 
[2026-07-13 18:50:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690781696001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:50:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783948667000,"timestamp_ms":1783948667000,"timestamp_seconds":1783948667,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba06878"} 
[2026-07-13 18:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130780,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130780,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690781696001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690781696001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:50:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:50:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:50:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690781696001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":130780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481465,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:50:55] local.INFO: GPS data processed {"connection_id":130780,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:50:55] local.INFO: Acknowledgment sent {"connection_id":130780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:50:57] local.INFO: TCP Data received {"connection_id":131573,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:50:57] local.INFO: Processing buffer {"connection_id":131573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:50:57] local.INFO: IMEI packet received {"connection_id":131573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":131573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:50:58] local.INFO: TCP Data received {"connection_id":131573,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba0d5d8012d1a38400720ffa80041013329..."} 
[2026-07-13 18:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba0d5d8012d1a38400720ffa80041013329..."} 
[2026-07-13 18:50:58] local.INFO: Processing buffer {"connection_id":131573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba0d5d8012d1a38400720ffa80041013329..."} 
[2026-07-13 18:50:58] local.INFO: Packet analysis {"connection_id":131573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba0"} 
[2026-07-13 18:50:58] local.INFO: Extracted packet for processing {"connection_id":131573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba0"} 
[2026-07-13 18:50:58] local.INFO: GPS Element Parsed {"raw_longitude":756693056,"raw_latitude":119603112,"longitude_deg":75.6693056,"latitude_deg":11.9603112,"altitude":65,"angle":307,"satellites":41,"speed":10,"hex_longitude":"2d1a3840","hex_latitude":"0720ffa8","is_valid_coordinates":true} 
[2026-07-13 18:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690864128001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5932311908450304,"note":"Value kept but may cause issues"} 
[2026-07-13 18:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890456342950957056,"note":"Value kept but may cause issues"} 
[2026-07-13 18:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783948695000,"timestamp_ms":1783948695000,"timestamp_seconds":1783948695,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba0d5d8"} 
[2026-07-13 18:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-13 18:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690864128001,"66":12765,"103":206,"83":41984,"24":10,"16":5932311908450304,"45":1890456342950957056},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690864128001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:50:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:50:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5932311908450304,"km_value":5932311908450.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890456342950957056,"description":"Unknown IO ID 45"} 
[2026-07-13 18:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690864128001,"power":12765,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1890456342950957056}} 
[2026-07-13 18:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":131573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:50:58] local.INFO: GPS data processed {"connection_id":131573,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:50:58] local.INFO: Acknowledgment sent {"connection_id":131573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:51:16] local.INFO: TCP Data received {"connection_id":132909,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:51:16] local.INFO: Processing buffer {"connection_id":132909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:51:16] local.INFO: Packet analysis {"connection_id":132909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba1"} 
[2026-07-13 18:51:16] local.INFO: Extracted packet for processing {"connection_id":132909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba1"} 
[2026-07-13 18:51:16] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":21,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690801920001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783948746000,"timestamp_ms":1783948746000,"timestamp_seconds":1783948746,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba19d10"} 
[2026-07-13 18:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 18:51:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690801920001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 18:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690801920001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:51:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 18:51:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690801920001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":132909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:51:16] local.INFO: GPS data processed {"connection_id":132909,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:51:16] local.INFO: Acknowledgment sent {"connection_id":132909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:51:29] local.INFO: TCP Data received {"connection_id":131573,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba0dda8012d1a3600072100b0004201242a..."} 
[2026-07-13 18:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba0dda8012d1a3600072100b0004201242a..."} 
[2026-07-13 18:51:29] local.INFO: Processing buffer {"connection_id":131573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba0dda8012d1a3600072100b0004201242a..."} 
[2026-07-13 18:51:29] local.INFO: Packet analysis {"connection_id":131573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba0"} 
[2026-07-13 18:51:29] local.INFO: Extracted packet for processing {"connection_id":131573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba0"} 
[2026-07-13 18:51:29] local.INFO: GPS Element Parsed {"raw_longitude":756692480,"raw_latitude":119603376,"longitude_deg":75.669248,"latitude_deg":11.9603376,"altitude":66,"angle":292,"satellites":42,"speed":11,"hex_longitude":"2d1a3600","hex_latitude":"072100b0","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690865920001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5932341973221376,"note":"Value kept but may cause issues"} 
[2026-07-13 18:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889330443044497408,"note":"Value kept but may cause issues"} 
[2026-07-13 18:51: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-07-13 18:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783948697000,"timestamp_ms":1783948697000,"timestamp_seconds":1783948697,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba0dda8"} 
[2026-07-13 18:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-13 18:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":131573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":131573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":131573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690865920001,"66":13102,"103":206,"83":41984,"24":11,"16":5932341973221376,"45":1889330443044497408},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690865920001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:51:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:51:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5932341973221376,"km_value":5932341973221.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889330443044497408,"description":"Unknown IO ID 45"} 
[2026-07-13 18:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690865920001,"power":13102,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1889330443044497408}} 
[2026-07-13 18:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":131573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:51:29] local.INFO: GPS data processed {"connection_id":131573,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:51:29] local.INFO: Acknowledgment sent {"connection_id":131573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:51:34] local.INFO: TCP Data received {"connection_id":132910,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:51:34] local.INFO: Processing buffer {"connection_id":132910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:51:34] local.INFO: IMEI packet received {"connection_id":132910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":132910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:51:39] local.INFO: TCP Data received {"connection_id":132910,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:51:39] local.INFO: Processing buffer {"connection_id":132910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:51:39] local.INFO: IMEI packet received {"connection_id":132910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":132910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:51:39] local.INFO: TCP Data received {"connection_id":132911,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:51:40] local.INFO: Processing buffer {"connection_id":132911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:51:40] local.INFO: IMEI packet received {"connection_id":132911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":132911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:51:40] local.INFO: TCP Data received {"connection_id":132910,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:51:40] local.INFO: Processing buffer {"connection_id":132910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:51:40] local.INFO: Packet analysis {"connection_id":132910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba1"} 
[2026-07-13 18:51:40] local.INFO: Extracted packet for processing {"connection_id":132910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba1"} 
[2026-07-13 18:51:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":21,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690801920001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783948746000,"timestamp_ms":1783948746000,"timestamp_seconds":1783948746,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba19d10"} 
[2026-07-13 18:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 18:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690801920001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 18:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690801920001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:51:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 18:51:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690801920001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":132910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:51:40] local.INFO: GPS data processed {"connection_id":132910,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:51:40] local.INFO: Acknowledgment sent {"connection_id":132910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:51:44] local.INFO: TCP Data received {"connection_id":132910,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:51:44] local.INFO: Processing buffer {"connection_id":132910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:51:44] local.INFO: Packet analysis {"connection_id":132910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba1"} 
[2026-07-13 18:51:44] local.INFO: Extracted packet for processing {"connection_id":132910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba1"} 
[2026-07-13 18:51:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":21,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690801920001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783948746000,"timestamp_ms":1783948746000,"timestamp_seconds":1783948746,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba19d10"} 
[2026-07-13 18:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 18:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690801920001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 18:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690801920001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:51:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 18:51:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690801920001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":132910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:51:44] local.INFO: GPS data processed {"connection_id":132910,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:51:44] local.INFO: Acknowledgment sent {"connection_id":132910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:51:45] local.INFO: TCP Data received {"connection_id":132911,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:51:45] local.INFO: Processing buffer {"connection_id":132911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:51:45] local.INFO: IMEI packet received {"connection_id":132911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":132911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:51:46] local.INFO: TCP Data received {"connection_id":132911,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba06878012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba06878012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:51:46] local.INFO: Processing buffer {"connection_id":132911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba06878012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:51:46] local.INFO: Packet analysis {"connection_id":132911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba0"} 
[2026-07-13 18:51:46] local.INFO: Extracted packet for processing {"connection_id":132911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba0"} 
[2026-07-13 18:51:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690781696001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:51:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783948667000,"timestamp_ms":1783948667000,"timestamp_seconds":1783948667,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba06878"} 
[2026-07-13 18:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690781696001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690781696001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:51:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:51:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:51:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690781696001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":132911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481471,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:51:46] local.INFO: GPS data processed {"connection_id":132911,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:51:46] local.INFO: Acknowledgment sent {"connection_id":132911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:51:58] local.INFO: TCP Data received {"connection_id":131574,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:51:58] local.INFO: Processing buffer {"connection_id":131574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:51:58] local.INFO: IMEI packet received {"connection_id":131574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":131574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:52:03] local.INFO: TCP Data received {"connection_id":131574,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:52:03] local.INFO: Processing buffer {"connection_id":131574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:52:03] local.INFO: IMEI packet received {"connection_id":131574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":131574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:52:03] local.INFO: TCP Data received {"connection_id":131574,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba317f8012d1a1f400720ff180049011c28..."} 
[2026-07-13 18:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba317f8012d1a1f400720ff180049011c28..."} 
[2026-07-13 18:52:03] local.INFO: Processing buffer {"connection_id":131574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba317f8012d1a1f400720ff180049011c28..."} 
[2026-07-13 18:52:03] local.INFO: Packet analysis {"connection_id":131574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba3"} 
[2026-07-13 18:52:03] local.INFO: Extracted packet for processing {"connection_id":131574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba3"} 
[2026-07-13 18:52:03] local.INFO: GPS Element Parsed {"raw_longitude":756686656,"raw_latitude":119602968,"longitude_deg":75.6686656,"latitude_deg":11.9602968,"altitude":73,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1a1f40","hex_latitude":"0720ff18","is_valid_coordinates":true} 
[2026-07-13 18:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690898432001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5932634030997504,"note":"Value kept but may cause issues"} 
[2026-07-13 18:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882293568626694144,"note":"Value kept but may cause issues"} 
[2026-07-13 18:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783948843000,"timestamp_ms":1783948843000,"timestamp_seconds":1783948843,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba317f8"} 
[2026-07-13 18:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-13 18:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":131574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":131574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":131574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690898432001,"66":12776,"103":206,"83":41984,"24":0,"16":5932634030997504,"45":1882293568626694144},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690898432001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:52:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:52:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5932634030997504,"km_value":5932634030997.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882293568626694144,"description":"Unknown IO ID 45"} 
[2026-07-13 18:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690898432001,"power":12776,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1882293568626694144}} 
[2026-07-13 18:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":131574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:52:03] local.INFO: GPS data processed {"connection_id":131574,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:52:03] local.INFO: Acknowledgment sent {"connection_id":131574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:52:04] local.INFO: TCP Data received {"connection_id":131574,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba36a00012d1a1f400720ff180049011c28..."} 
[2026-07-13 18:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba36a00012d1a1f400720ff180049011c28..."} 
[2026-07-13 18:52:04] local.INFO: Processing buffer {"connection_id":131574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba36a00012d1a1f400720ff180049011c28..."} 
[2026-07-13 18:52:04] local.INFO: Packet analysis {"connection_id":131574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba3"} 
[2026-07-13 18:52:04] local.INFO: Extracted packet for processing {"connection_id":131574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba3"} 
[2026-07-13 18:52:04] local.INFO: GPS Element Parsed {"raw_longitude":756686656,"raw_latitude":119602968,"longitude_deg":75.6686656,"latitude_deg":11.9602968,"altitude":73,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1a1f40","hex_latitude":"0720ff18","is_valid_coordinates":true} 
[2026-07-13 18:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690903808001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5932634030997504,"note":"Value kept but may cause issues"} 
[2026-07-13 18:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882293568626694144,"note":"Value kept but may cause issues"} 
[2026-07-13 18:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783948864000,"timestamp_ms":1783948864000,"timestamp_seconds":1783948864,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba36a00"} 
[2026-07-13 18:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-13 18:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":131574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":131574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":131574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690903808001,"66":12689,"103":206,"83":41984,"24":0,"16":5932634030997504,"45":1882293568626694144},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690903808001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:52:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:52:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5932634030997504,"km_value":5932634030997.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882293568626694144,"description":"Unknown IO ID 45"} 
[2026-07-13 18:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690903808001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1882293568626694144}} 
[2026-07-13 18:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":131574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:52:04] local.INFO: GPS data processed {"connection_id":131574,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:52:04] local.INFO: Acknowledgment sent {"connection_id":131574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:52:15] local.INFO: TCP Data received {"connection_id":132910,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:52:15] local.INFO: Processing buffer {"connection_id":132910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:52:15] local.INFO: Packet analysis {"connection_id":132910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba1"} 
[2026-07-13 18:52:15] local.INFO: Extracted packet for processing {"connection_id":132910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba1"} 
[2026-07-13 18:52:15] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":21,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690801920001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783948746000,"timestamp_ms":1783948746000,"timestamp_seconds":1783948746,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba19d10"} 
[2026-07-13 18:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 18:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":132910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":132910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":132910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690801920001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 18:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690801920001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:52:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 18:52:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690801920001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":132910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:52:15] local.INFO: GPS data processed {"connection_id":132910,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:52:15] local.INFO: Acknowledgment sent {"connection_id":132910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:52:17] local.INFO: TCP Data received {"connection_id":132911,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba06878012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba06878012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:52:17] local.INFO: Processing buffer {"connection_id":132911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba06878012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:52:17] local.INFO: Packet analysis {"connection_id":132911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba0"} 
[2026-07-13 18:52:17] local.INFO: Extracted packet for processing {"connection_id":132911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba0"} 
[2026-07-13 18:52:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690781696001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:52:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783948667000,"timestamp_ms":1783948667000,"timestamp_seconds":1783948667,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba06878"} 
[2026-07-13 18:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:52: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-07-13 18: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690781696001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690781696001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:52:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:52:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:52:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690781696001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":132911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481475,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:52:17] local.INFO: GPS data processed {"connection_id":132911,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:52:17] local.INFO: Acknowledgment sent {"connection_id":132911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:52:34] local.INFO: TCP Data received {"connection_id":130781,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:52:34] local.INFO: Processing buffer {"connection_id":130781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:52:34] local.INFO: IMEI packet received {"connection_id":130781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":130781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:52:35] local.INFO: TCP Data received {"connection_id":131574,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba3b820012d1a1f400720ff180049011c28..."} 
[2026-07-13 18:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba3b820012d1a1f400720ff180049011c28..."} 
[2026-07-13 18:52:35] local.INFO: Processing buffer {"connection_id":131574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba3b820012d1a1f400720ff180049011c28..."} 
[2026-07-13 18:52:35] local.INFO: Packet analysis {"connection_id":131574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba3"} 
[2026-07-13 18:52:35] local.INFO: Extracted packet for processing {"connection_id":131574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba3"} 
[2026-07-13 18:52:35] local.INFO: GPS Element Parsed {"raw_longitude":756686656,"raw_latitude":119602968,"longitude_deg":75.6686656,"latitude_deg":11.9602968,"altitude":73,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1a1f40","hex_latitude":"0720ff18","is_valid_coordinates":true} 
[2026-07-13 18:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690909184001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5932634030997504,"note":"Value kept but may cause issues"} 
[2026-07-13 18:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882293568626694144,"note":"Value kept but may cause issues"} 
[2026-07-13 18:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783948884000,"timestamp_ms":1783948884000,"timestamp_seconds":1783948884,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba3b820"} 
[2026-07-13 18:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-13 18:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":131574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":131574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":131574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690909184001,"66":12689,"103":206,"83":41984,"24":0,"16":5932634030997504,"45":1882293568626694144},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690909184001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:52:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:52:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5932634030997504,"km_value":5932634030997.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882293568626694144,"description":"Unknown IO ID 45"} 
[2026-07-13 18:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690909184001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1882293568626694144}} 
[2026-07-13 18:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":131574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:52:35] local.INFO: GPS data processed {"connection_id":131574,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:52:35] local.INFO: Acknowledgment sent {"connection_id":131574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:52:39] local.INFO: TCP Data received {"connection_id":130781,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:52:39] local.INFO: Processing buffer {"connection_id":130781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:52:39] local.INFO: IMEI packet received {"connection_id":130781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":130781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:52:39] local.INFO: TCP Data received {"connection_id":130782,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130782,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:52:39] local.INFO: Processing buffer {"connection_id":130782,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:52:39] local.INFO: IMEI packet received {"connection_id":130782,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":130782,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:52:40] local.INFO: TCP Data received {"connection_id":130781,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:52:40] local.INFO: Processing buffer {"connection_id":130781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:52:40] local.INFO: Packet analysis {"connection_id":130781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba1"} 
[2026-07-13 18:52:40] local.INFO: Extracted packet for processing {"connection_id":130781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba1"} 
[2026-07-13 18:52:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":21,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 18:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690801920001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783948746000,"timestamp_ms":1783948746000,"timestamp_seconds":1783948746,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba19d10"} 
[2026-07-13 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-07-13 18:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 18:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 18:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690801920001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 18:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690801920001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:52:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 18:52:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690801920001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":130781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:52:40] local.INFO: GPS data processed {"connection_id":130781,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:52:40] local.INFO: Acknowledgment sent {"connection_id":130781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:52:45] local.INFO: TCP Data received {"connection_id":130782,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130782,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:52:45] local.INFO: Processing buffer {"connection_id":130782,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:52:45] local.INFO: IMEI packet received {"connection_id":130782,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":130782,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:52:46] local.INFO: TCP Data received {"connection_id":130782,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba06878012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba06878012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:52:46] local.INFO: Processing buffer {"connection_id":130782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba06878012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:52:46] local.INFO: Packet analysis {"connection_id":130782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba0"} 
[2026-07-13 18:52:46] local.INFO: Extracted packet for processing {"connection_id":130782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba0"} 
[2026-07-13 18:52:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690781696001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:52:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783948667000,"timestamp_ms":1783948667000,"timestamp_seconds":1783948667,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba06878"} 
[2026-07-13 18:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130782,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130782,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690781696001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690781696001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:52:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:52:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:52:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690781696001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":130782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481478,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:52:46] local.INFO: GPS data processed {"connection_id":130782,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:52:46] local.INFO: Acknowledgment sent {"connection_id":130782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:52:53] local.INFO: TCP Data received {"connection_id":131575,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:52:53] local.INFO: Processing buffer {"connection_id":131575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:52:53] local.INFO: IMEI packet received {"connection_id":131575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":131575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:52:58] local.INFO: TCP Data received {"connection_id":131575,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:52:58] local.INFO: Processing buffer {"connection_id":131575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:52:58] local.INFO: IMEI packet received {"connection_id":131575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":131575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:52:58] local.INFO: TCP Data received {"connection_id":131575,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba40a28012d1a1f400720ff180049011c29..."} 
[2026-07-13 18:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba40a28012d1a1f400720ff180049011c29..."} 
[2026-07-13 18:52:58] local.INFO: Processing buffer {"connection_id":131575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba40a28012d1a1f400720ff180049011c29..."} 
[2026-07-13 18:52:58] local.INFO: Packet analysis {"connection_id":131575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba4"} 
[2026-07-13 18:52:58] local.INFO: Extracted packet for processing {"connection_id":131575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba4"} 
[2026-07-13 18:52:58] local.INFO: GPS Element Parsed {"raw_longitude":756686656,"raw_latitude":119602968,"longitude_deg":75.6686656,"latitude_deg":11.9602968,"altitude":73,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d1a1f40","hex_latitude":"0720ff18","is_valid_coordinates":true} 
[2026-07-13 18:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690914304001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5932634030997504,"note":"Value kept but may cause issues"} 
[2026-07-13 18:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882293568626694144,"note":"Value kept but may cause issues"} 
[2026-07-13 18:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783948905000,"timestamp_ms":1783948905000,"timestamp_seconds":1783948905,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba40a28"} 
[2026-07-13 18:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-13 18:52:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:52:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690914304001,"66":12645,"103":206,"83":41984,"24":0,"16":5932634030997504,"45":1882293568626694144},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690914304001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:52:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:52:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5932634030997504,"km_value":5932634030997.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882293568626694144,"description":"Unknown IO ID 45"} 
[2026-07-13 18:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690914304001,"power":12645,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1882293568626694144}} 
[2026-07-13 18:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":131575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:52:59] local.INFO: GPS data processed {"connection_id":131575,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:52:59] local.INFO: Acknowledgment sent {"connection_id":131575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:53:11] local.INFO: TCP Data received {"connection_id":130781,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:53:11] local.INFO: Processing buffer {"connection_id":130781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:53:11] local.INFO: Packet analysis {"connection_id":130781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba1"} 
[2026-07-13 18:53:11] local.INFO: Extracted packet for processing {"connection_id":130781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba1"} 
[2026-07-13 18:53:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":21,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690801920001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783948746000,"timestamp_ms":1783948746000,"timestamp_seconds":1783948746,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba19d10"} 
[2026-07-13 18:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 18:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690801920001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 18:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690801920001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:53:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 18:53:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690801920001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":130781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:53:11] local.INFO: GPS data processed {"connection_id":130781,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:53:11] local.INFO: Acknowledgment sent {"connection_id":130781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:53:17] local.INFO: TCP Data received {"connection_id":130782,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba06878012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba06878012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:53:17] local.INFO: Processing buffer {"connection_id":130782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba06878012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:53:17] local.INFO: Packet analysis {"connection_id":130782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba0"} 
[2026-07-13 18:53:17] local.INFO: Extracted packet for processing {"connection_id":130782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba0"} 
[2026-07-13 18:53:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690781696001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:53:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783948667000,"timestamp_ms":1783948667000,"timestamp_seconds":1783948667,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba06878"} 
[2026-07-13 18:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:53: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-07-13 18: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130782,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130782,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690781696001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690781696001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:53:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:53:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:53:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690781696001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":130782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481481,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:53:17] local.INFO: GPS data processed {"connection_id":130782,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:53:17] local.INFO: Acknowledgment sent {"connection_id":130782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:53:30] local.INFO: TCP Data received {"connection_id":131575,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba45c30012d1a1f400720ff180049011c22..."} 
[2026-07-13 18:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba45c30012d1a1f400720ff180049011c22..."} 
[2026-07-13 18:53:30] local.INFO: Processing buffer {"connection_id":131575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba45c30012d1a1f400720ff180049011c22..."} 
[2026-07-13 18:53:30] local.INFO: Packet analysis {"connection_id":131575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba4"} 
[2026-07-13 18:53:30] local.INFO: Extracted packet for processing {"connection_id":131575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba4"} 
[2026-07-13 18:53:30] local.INFO: GPS Element Parsed {"raw_longitude":756686656,"raw_latitude":119602968,"longitude_deg":75.6686656,"latitude_deg":11.9602968,"altitude":73,"angle":284,"satellites":34,"speed":0,"hex_longitude":"2d1a1f40","hex_latitude":"0720ff18","is_valid_coordinates":true} 
[2026-07-13 18:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690919680001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5932634030997504,"note":"Value kept but may cause issues"} 
[2026-07-13 18:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882293568626694144,"note":"Value kept but may cause issues"} 
[2026-07-13 18:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783948926000,"timestamp_ms":1783948926000,"timestamp_seconds":1783948926,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba45c30"} 
[2026-07-13 18:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-13 18:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":131575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":131575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":131575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690919680001,"66":12602,"103":206,"83":41984,"24":0,"16":5932634030997504,"45":1882293568626694144},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690919680001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:53:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:53:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5932634030997504,"km_value":5932634030997.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882293568626694144,"description":"Unknown IO ID 45"} 
[2026-07-13 18:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690919680001,"power":12602,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1882293568626694144}} 
[2026-07-13 18:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":131575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:53:30] local.INFO: GPS data processed {"connection_id":131575,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:53:30] local.INFO: Acknowledgment sent {"connection_id":131575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:53:34] local.INFO: TCP Data received {"connection_id":132912,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:53:34] local.INFO: Processing buffer {"connection_id":132912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:53:34] local.INFO: IMEI packet received {"connection_id":132912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":132912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:53:39] local.INFO: TCP Data received {"connection_id":132912,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:53:39] local.INFO: Processing buffer {"connection_id":132912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:53:39] local.INFO: IMEI packet received {"connection_id":132912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":132912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:53:39] local.INFO: TCP Data received {"connection_id":130783,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:53:39] local.INFO: Processing buffer {"connection_id":130783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:53:39] local.INFO: IMEI packet received {"connection_id":130783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":130783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:53:40] local.INFO: TCP Data received {"connection_id":132912,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:53:40] local.INFO: Processing buffer {"connection_id":132912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:53:40] local.INFO: Packet analysis {"connection_id":132912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba1"} 
[2026-07-13 18:53:40] local.INFO: Extracted packet for processing {"connection_id":132912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba1"} 
[2026-07-13 18:53:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":21,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690801920001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783948746000,"timestamp_ms":1783948746000,"timestamp_seconds":1783948746,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba19d10"} 
[2026-07-13 18:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 18:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690801920001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 18:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690801920001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:53:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 18:53:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690801920001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":132912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:53:40] local.INFO: GPS data processed {"connection_id":132912,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:53:40] local.INFO: Acknowledgment sent {"connection_id":132912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:53:44] local.INFO: TCP Data received {"connection_id":130783,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:53:44] local.INFO: Processing buffer {"connection_id":130783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:53:44] local.INFO: IMEI packet received {"connection_id":130783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":130783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:53:45] local.INFO: TCP Data received {"connection_id":130783,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:53:45] local.INFO: Processing buffer {"connection_id":130783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:53:45] local.INFO: Packet analysis {"connection_id":130783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba5"} 
[2026-07-13 18:53:45] local.INFO: Extracted packet for processing {"connection_id":130783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba5"} 
[2026-07-13 18:53:45] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 18:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690858752001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:53:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783948968000,"timestamp_ms":1783948968000,"timestamp_seconds":1783948968,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba50040"} 
[2026-07-13 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-07-13 18:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 18:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130783,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130783,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690858752001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690858752001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:53:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:53:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:53:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690858752001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":130783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481484,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:53:46] local.INFO: GPS data processed {"connection_id":130783,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:53:46] local.INFO: Acknowledgment sent {"connection_id":130783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:53:53] local.INFO: TCP Data received {"connection_id":130557,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:53:53] local.INFO: Processing buffer {"connection_id":130557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:53:53] local.INFO: IMEI packet received {"connection_id":130557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":130557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:53:58] local.INFO: TCP Data received {"connection_id":130557,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:53:58] local.INFO: Processing buffer {"connection_id":130557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:53:58] local.INFO: IMEI packet received {"connection_id":130557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":130557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:53:58] local.INFO: TCP Data received {"connection_id":130557,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba4ae38012d1a1f400720ff180049011c27..."} 
[2026-07-13 18:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba4ae38012d1a1f400720ff180049011c27..."} 
[2026-07-13 18:53:58] local.INFO: Processing buffer {"connection_id":130557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba4ae38012d1a1f400720ff180049011c27..."} 
[2026-07-13 18:53:58] local.INFO: Packet analysis {"connection_id":130557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba4"} 
[2026-07-13 18:53:58] local.INFO: Extracted packet for processing {"connection_id":130557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba4"} 
[2026-07-13 18:53:58] local.INFO: GPS Element Parsed {"raw_longitude":756686656,"raw_latitude":119602968,"longitude_deg":75.6686656,"latitude_deg":11.9602968,"altitude":73,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d1a1f40","hex_latitude":"0720ff18","is_valid_coordinates":true} 
[2026-07-13 18:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690925056001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5932634030997504,"note":"Value kept but may cause issues"} 
[2026-07-13 18:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882293568626694144,"note":"Value kept but may cause issues"} 
[2026-07-13 18:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783948947000,"timestamp_ms":1783948947000,"timestamp_seconds":1783948947,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba4ae38"} 
[2026-07-13 18:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-13 18:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690925056001,"66":12526,"103":206,"83":41984,"24":0,"16":5932634030997504,"45":1882293568626694144},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690925056001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:53:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:53:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5932634030997504,"km_value":5932634030997.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882293568626694144,"description":"Unknown IO ID 45"} 
[2026-07-13 18:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690925056001,"power":12526,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1882293568626694144}} 
[2026-07-13 18:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":130557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:53:59] local.INFO: GPS data processed {"connection_id":130557,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:53:59] local.INFO: Acknowledgment sent {"connection_id":130557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:54:11] local.INFO: TCP Data received {"connection_id":132912,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:54:11] local.INFO: Processing buffer {"connection_id":132912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:54:11] local.INFO: Packet analysis {"connection_id":132912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba1"} 
[2026-07-13 18:54:11] local.INFO: Extracted packet for processing {"connection_id":132912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba1"} 
[2026-07-13 18:54:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":21,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690801920001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783948746000,"timestamp_ms":1783948746000,"timestamp_seconds":1783948746,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba19d10"} 
[2026-07-13 18:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 18:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690801920001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 18:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690801920001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:54:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 18:54:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690801920001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":132912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:54:11] local.INFO: GPS data processed {"connection_id":132912,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:54:11] local.INFO: Acknowledgment sent {"connection_id":132912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:54:17] local.INFO: TCP Data received {"connection_id":130783,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:54:17] local.INFO: Processing buffer {"connection_id":130783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:54:17] local.INFO: Packet analysis {"connection_id":130783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba5"} 
[2026-07-13 18:54:17] local.INFO: Extracted packet for processing {"connection_id":130783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba5"} 
[2026-07-13 18:54:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690858752001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:54:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783948968000,"timestamp_ms":1783948968000,"timestamp_seconds":1783948968,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba50040"} 
[2026-07-13 18:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:54: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-07-13 18: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130783,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130783,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690858752001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690858752001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:54:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:54:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:54:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690858752001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":130783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481487,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:54:17] local.INFO: GPS data processed {"connection_id":130783,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:54:17] local.INFO: Acknowledgment sent {"connection_id":130783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:54:30] local.INFO: TCP Data received {"connection_id":130557,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba50428012d1a1f400720ff180049011c27..."} 
[2026-07-13 18:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba50428012d1a1f400720ff180049011c27..."} 
[2026-07-13 18:54:30] local.INFO: Processing buffer {"connection_id":130557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba50428012d1a1f400720ff180049011c27..."} 
[2026-07-13 18:54:30] local.INFO: Packet analysis {"connection_id":130557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba5"} 
[2026-07-13 18:54:30] local.INFO: Extracted packet for processing {"connection_id":130557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba5"} 
[2026-07-13 18:54:30] local.INFO: GPS Element Parsed {"raw_longitude":756686656,"raw_latitude":119602968,"longitude_deg":75.6686656,"latitude_deg":11.9602968,"altitude":73,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d1a1f40","hex_latitude":"0720ff18","is_valid_coordinates":true} 
[2026-07-13 18:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690930432001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5932634030997504,"note":"Value kept but may cause issues"} 
[2026-07-13 18:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882293568626694144,"note":"Value kept but may cause issues"} 
[2026-07-13 18:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783948969000,"timestamp_ms":1783948969000,"timestamp_seconds":1783948969,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba50428"} 
[2026-07-13 18:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-13 18:54: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-07-13 18:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":130557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":130557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":130557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690930432001,"66":12537,"103":206,"83":41984,"24":0,"16":5932634030997504,"45":1882293568626694144},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690930432001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:54:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:54:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5932634030997504,"km_value":5932634030997.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882293568626694144,"description":"Unknown IO ID 45"} 
[2026-07-13 18:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690930432001,"power":12537,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1882293568626694144}} 
[2026-07-13 18:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":130557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:54:30] local.INFO: GPS data processed {"connection_id":130557,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:54:30] local.INFO: Acknowledgment sent {"connection_id":130557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:54:34] local.INFO: TCP Data received {"connection_id":131576,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:54:34] local.INFO: Processing buffer {"connection_id":131576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:54:34] local.INFO: IMEI packet received {"connection_id":131576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":131576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:54:39] local.INFO: TCP Data received {"connection_id":131576,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:54:39] local.INFO: Processing buffer {"connection_id":131576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:54:39] local.INFO: IMEI packet received {"connection_id":131576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":131576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:54:40] local.INFO: TCP Data received {"connection_id":131576,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:54:40] local.INFO: Processing buffer {"connection_id":131576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba19d10012d7f914005afd9380015011b24..."} 
[2026-07-13 18:54:40] local.INFO: Packet analysis {"connection_id":131576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba1"} 
[2026-07-13 18:54:40] local.INFO: Extracted packet for processing {"connection_id":131576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba1"} 
[2026-07-13 18:54:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":21,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690801920001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783948746000,"timestamp_ms":1783948746000,"timestamp_seconds":1783948746,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba19d10"} 
[2026-07-13 18:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 18:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690801920001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 18:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690801920001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:54:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 18:54:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690801920001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":131576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:54:40] local.INFO: GPS data processed {"connection_id":131576,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:54:40] local.INFO: Acknowledgment sent {"connection_id":131576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:54:44] local.INFO: TCP Data received {"connection_id":131577,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:54:44] local.INFO: Processing buffer {"connection_id":131577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:54:44] local.INFO: IMEI packet received {"connection_id":131577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":131577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:54:50] local.INFO: TCP Data received {"connection_id":131577,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:54:50] local.INFO: Processing buffer {"connection_id":131577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:54:50] local.INFO: IMEI packet received {"connection_id":131577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":131577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:54:50] local.INFO: TCP Data received {"connection_id":130784,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:54:50] local.INFO: Processing buffer {"connection_id":130784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:54:50] local.INFO: IMEI packet received {"connection_id":130784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":130784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:54:50] local.INFO: TCP Data received {"connection_id":131577,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:54:50] local.INFO: Processing buffer {"connection_id":131577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:54:50] local.INFO: Packet analysis {"connection_id":131577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba5"} 
[2026-07-13 18:54:50] local.INFO: Extracted packet for processing {"connection_id":131577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba5"} 
[2026-07-13 18:54:50] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690858752001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:54:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783948968000,"timestamp_ms":1783948968000,"timestamp_seconds":1783948968,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba50040"} 
[2026-07-13 18:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690858752001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690858752001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:54:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:54:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:54:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690858752001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":131577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481490,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:54:50] local.INFO: GPS data processed {"connection_id":131577,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:54:50] local.INFO: Acknowledgment sent {"connection_id":131577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:54:53] local.INFO: TCP Data received {"connection_id":130784,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:54:53] local.INFO: Processing buffer {"connection_id":130784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:54:53] local.INFO: IMEI packet received {"connection_id":130784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":130784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:54:55] local.INFO: TCP Data received {"connection_id":131577,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:54:55] local.INFO: Processing buffer {"connection_id":131577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:54:55] local.INFO: Packet analysis {"connection_id":131577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba5"} 
[2026-07-13 18:54:55] local.INFO: Extracted packet for processing {"connection_id":131577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba5"} 
[2026-07-13 18:54:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690858752001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:54:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783948968000,"timestamp_ms":1783948968000,"timestamp_seconds":1783948968,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba50040"} 
[2026-07-13 18:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":131577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":131577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":131577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690858752001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690858752001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:54:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:54:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:54:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690858752001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":131577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481491,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:54:55] local.INFO: GPS data processed {"connection_id":131577,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:54:55] local.INFO: Acknowledgment sent {"connection_id":131577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:54:58] local.INFO: TCP Data received {"connection_id":130784,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:54:58] local.INFO: Processing buffer {"connection_id":130784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:54:58] local.INFO: IMEI packet received {"connection_id":130784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":130784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:54:59] local.INFO: TCP Data received {"connection_id":130784,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba55630012d1a1f400720ff180049011c26..."} 
[2026-07-13 18:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba55630012d1a1f400720ff180049011c26..."} 
[2026-07-13 18:54:59] local.INFO: Processing buffer {"connection_id":130784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba55630012d1a1f400720ff180049011c26..."} 
[2026-07-13 18:54:59] local.INFO: Packet analysis {"connection_id":130784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba5"} 
[2026-07-13 18:54:59] local.INFO: Extracted packet for processing {"connection_id":130784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba5"} 
[2026-07-13 18:54:59] local.INFO: GPS Element Parsed {"raw_longitude":756686656,"raw_latitude":119602968,"longitude_deg":75.6686656,"latitude_deg":11.9602968,"altitude":73,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d1a1f40","hex_latitude":"0720ff18","is_valid_coordinates":true} 
[2026-07-13 18:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690936064001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5932634030997504,"note":"Value kept but may cause issues"} 
[2026-07-13 18:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882293568626694144,"note":"Value kept but may cause issues"} 
[2026-07-13 18:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783948990000,"timestamp_ms":1783948990000,"timestamp_seconds":1783948990,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba55630"} 
[2026-07-13 18:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-13 18:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":130784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":130784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":130784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690936064001,"66":12504,"103":206,"83":41984,"24":0,"16":5932634030997504,"45":1882293568626694144},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690936064001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:54:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:54:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5932634030997504,"km_value":5932634030997.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882293568626694144,"description":"Unknown IO ID 45"} 
[2026-07-13 18:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690936064001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1882293568626694144}} 
[2026-07-13 18:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":130784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:54:59] local.INFO: GPS data processed {"connection_id":130784,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:54:59] local.INFO: Acknowledgment sent {"connection_id":130784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:55:11] local.INFO: TCP Data received {"connection_id":131576,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:55:11] local.INFO: Processing buffer {"connection_id":131576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:55:11] local.INFO: Packet analysis {"connection_id":131576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba6"} 
[2026-07-13 18:55:11] local.INFO: Extracted packet for processing {"connection_id":131576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba6"} 
[2026-07-13 18:55:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":23,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690878976001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783949047000,"timestamp_ms":1783949047000,"timestamp_seconds":1783949047,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba634d8"} 
[2026-07-13 18:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 18:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690878976001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 18:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690878976001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:55:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 18:55:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690878976001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":131576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:55:11] local.INFO: GPS data processed {"connection_id":131576,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:55:11] local.INFO: Acknowledgment sent {"connection_id":131576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:55:30] local.INFO: TCP Data received {"connection_id":130784,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba5a838012d1a1f400720ff180049011c27..."} 
[2026-07-13 18:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba5a838012d1a1f400720ff180049011c27..."} 
[2026-07-13 18:55:30] local.INFO: Processing buffer {"connection_id":130784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba5a838012d1a1f400720ff180049011c27..."} 
[2026-07-13 18:55:30] local.INFO: Packet analysis {"connection_id":130784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba5"} 
[2026-07-13 18:55:30] local.INFO: Extracted packet for processing {"connection_id":130784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba5"} 
[2026-07-13 18:55:30] local.INFO: GPS Element Parsed {"raw_longitude":756686656,"raw_latitude":119602968,"longitude_deg":75.6686656,"latitude_deg":11.9602968,"altitude":73,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d1a1f40","hex_latitude":"0720ff18","is_valid_coordinates":true} 
[2026-07-13 18:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690941440001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5932634030997504,"note":"Value kept but may cause issues"} 
[2026-07-13 18:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882293568626694144,"note":"Value kept but may cause issues"} 
[2026-07-13 18:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783949011000,"timestamp_ms":1783949011000,"timestamp_seconds":1783949011,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba5a838"} 
[2026-07-13 18:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":216,"data_length":795,"current_offset":136} 
[2026-07-13 18:55: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-07-13 18:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":130784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":130784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":130784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690941440001,"66":12504,"103":206,"83":41984,"24":0,"16":5932634030997504,"45":1882293568626694144},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690941440001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:55:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:55:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5932634030997504,"km_value":5932634030997.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882293568626694144,"description":"Unknown IO ID 45"} 
[2026-07-13 18:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690941440001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1882293568626694144}} 
[2026-07-13 18:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":130784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:55:30] local.INFO: GPS data processed {"connection_id":130784,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:55:30] local.INFO: Acknowledgment sent {"connection_id":130784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:55:34] local.INFO: TCP Data received {"connection_id":132913,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:55:34] local.INFO: Processing buffer {"connection_id":132913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:55:34] local.INFO: IMEI packet received {"connection_id":132913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":132913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:55:39] local.INFO: TCP Data received {"connection_id":132913,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:55:39] local.INFO: Processing buffer {"connection_id":132913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:55:39] local.INFO: IMEI packet received {"connection_id":132913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":132913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:55:40] local.INFO: TCP Data received {"connection_id":130558,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:55:40] local.INFO: Processing buffer {"connection_id":130558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:55:40] local.INFO: IMEI packet received {"connection_id":130558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":130558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:55:40] local.INFO: TCP Data received {"connection_id":132913,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:55:40] local.INFO: Processing buffer {"connection_id":132913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:55:40] local.INFO: Packet analysis {"connection_id":132913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba6"} 
[2026-07-13 18:55:40] local.INFO: Extracted packet for processing {"connection_id":132913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba6"} 
[2026-07-13 18:55:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":23,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690878976001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783949047000,"timestamp_ms":1783949047000,"timestamp_seconds":1783949047,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba634d8"} 
[2026-07-13 18:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 18:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690878976001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 18:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690878976001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:55:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 18:55:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690878976001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":132913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:55:40] local.INFO: GPS data processed {"connection_id":132913,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:55:40] local.INFO: Acknowledgment sent {"connection_id":132913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:55:45] local.INFO: TCP Data received {"connection_id":130558,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:55:45] local.INFO: Processing buffer {"connection_id":130558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:55:45] local.INFO: IMEI packet received {"connection_id":130558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":130558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:55:46] local.INFO: TCP Data received {"connection_id":130558,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:55:46] local.INFO: Processing buffer {"connection_id":130558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:55:46] local.INFO: Packet analysis {"connection_id":130558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba5"} 
[2026-07-13 18:55:46] local.INFO: Extracted packet for processing {"connection_id":130558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba5"} 
[2026-07-13 18:55:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690858752001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:55:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783948968000,"timestamp_ms":1783948968000,"timestamp_seconds":1783948968,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba50040"} 
[2026-07-13 18:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690858752001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690858752001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:55:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:55:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:55:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690858752001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":130558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481496,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:55:46] local.INFO: GPS data processed {"connection_id":130558,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:55:46] local.INFO: Acknowledgment sent {"connection_id":130558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:55:53] local.INFO: TCP Data received {"connection_id":132914,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:55:53] local.INFO: Processing buffer {"connection_id":132914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:55:53] local.INFO: IMEI packet received {"connection_id":132914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":132914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:55:53] local.INFO: TCP Data received {"connection_id":132914,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:55:53] local.INFO: Processing buffer {"connection_id":132914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:55:53] local.INFO: IMEI packet received {"connection_id":132914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":132914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:55:58] local.INFO: TCP Data received {"connection_id":132914,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:55:58] local.INFO: Processing buffer {"connection_id":132914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:55:58] local.INFO: IMEI packet received {"connection_id":132914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":132914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:55:59] local.INFO: TCP Data received {"connection_id":132914,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba5fa40012d1a1f400720ff180049011c29..."} 
[2026-07-13 18:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba5fa40012d1a1f400720ff180049011c29..."} 
[2026-07-13 18:55:59] local.INFO: Processing buffer {"connection_id":132914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba5fa40012d1a1f400720ff180049011c29..."} 
[2026-07-13 18:55:59] local.INFO: Packet analysis {"connection_id":132914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba5"} 
[2026-07-13 18:55:59] local.INFO: Extracted packet for processing {"connection_id":132914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba5"} 
[2026-07-13 18:55:59] local.INFO: GPS Element Parsed {"raw_longitude":756686656,"raw_latitude":119602968,"longitude_deg":75.6686656,"latitude_deg":11.9602968,"altitude":73,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d1a1f40","hex_latitude":"0720ff18","is_valid_coordinates":true} 
[2026-07-13 18:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690946816001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5932634030997504,"note":"Value kept but may cause issues"} 
[2026-07-13 18:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882293568626694144,"note":"Value kept but may cause issues"} 
[2026-07-13 18:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783949032000,"timestamp_ms":1783949032000,"timestamp_seconds":1783949032,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba5fa40"} 
[2026-07-13 18:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 18:55: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-07-13 18:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":132914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":132914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":132914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690946816001,"66":12461,"103":206,"83":41984,"24":0,"16":5932634030997504,"45":1882293568626694144},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690946816001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:55:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:55:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5932634030997504,"km_value":5932634030997.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882293568626694144,"description":"Unknown IO ID 45"} 
[2026-07-13 18:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690946816001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1882293568626694144}} 
[2026-07-13 18:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":132914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:55:59] local.INFO: GPS data processed {"connection_id":132914,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:55:59] local.INFO: Acknowledgment sent {"connection_id":132914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:56:13] local.INFO: TCP Data received {"connection_id":132913,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:56:13] local.INFO: Processing buffer {"connection_id":132913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:56:13] local.INFO: Packet analysis {"connection_id":132913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba6"} 
[2026-07-13 18:56:13] local.INFO: Extracted packet for processing {"connection_id":132913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba6"} 
[2026-07-13 18:56:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":23,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690878976001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783949047000,"timestamp_ms":1783949047000,"timestamp_seconds":1783949047,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba634d8"} 
[2026-07-13 18:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 18:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":132913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":132913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":132913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690878976001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 18:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690878976001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:56:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 18:56:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690878976001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":132913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:56:13] local.INFO: GPS data processed {"connection_id":132913,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:56:13] local.INFO: Acknowledgment sent {"connection_id":132913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:56:17] local.INFO: TCP Data received {"connection_id":130558,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:56:17] local.INFO: Processing buffer {"connection_id":130558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:56:17] local.INFO: Packet analysis {"connection_id":130558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba5"} 
[2026-07-13 18:56:17] local.INFO: Extracted packet for processing {"connection_id":130558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba5"} 
[2026-07-13 18:56:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690858752001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:56:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783948968000,"timestamp_ms":1783948968000,"timestamp_seconds":1783948968,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba50040"} 
[2026-07-13 18:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:56: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-07-13 18:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690858752001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690858752001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:56:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:56:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:56:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690858752001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":130558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481499,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:56:17] local.INFO: GPS data processed {"connection_id":130558,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:56:17] local.INFO: Acknowledgment sent {"connection_id":130558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:56:30] local.INFO: TCP Data received {"connection_id":132914,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba64c48012d1a1f400720ff180049011c28..."} 
[2026-07-13 18:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba64c48012d1a1f400720ff180049011c28..."} 
[2026-07-13 18:56:30] local.INFO: Processing buffer {"connection_id":132914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba64c48012d1a1f400720ff180049011c28..."} 
[2026-07-13 18:56:30] local.INFO: Packet analysis {"connection_id":132914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba6"} 
[2026-07-13 18:56:30] local.INFO: Extracted packet for processing {"connection_id":132914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba6"} 
[2026-07-13 18:56:30] local.INFO: GPS Element Parsed {"raw_longitude":756686656,"raw_latitude":119602968,"longitude_deg":75.6686656,"latitude_deg":11.9602968,"altitude":73,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2d1a1f40","hex_latitude":"0720ff18","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690952192001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5932634030997504,"note":"Value kept but may cause issues"} 
[2026-07-13 18:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882293568626694144,"note":"Value kept but may cause issues"} 
[2026-07-13 18:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783949053000,"timestamp_ms":1783949053000,"timestamp_seconds":1783949053,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba64c48"} 
[2026-07-13 18:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":173,"data_length":795,"current_offset":136} 
[2026-07-13 18:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":132914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":132914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":132914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690952192001,"66":12461,"103":206,"83":41984,"24":0,"16":5932634030997504,"45":1882293568626694144},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690952192001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:56:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:56:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5932634030997504,"km_value":5932634030997.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882293568626694144,"description":"Unknown IO ID 45"} 
[2026-07-13 18:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690952192001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1882293568626694144}} 
[2026-07-13 18:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":132914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:56:30] local.INFO: GPS data processed {"connection_id":132914,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:56:30] local.INFO: Acknowledgment sent {"connection_id":132914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:56:34] local.INFO: TCP Data received {"connection_id":130559,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:56:34] local.INFO: Processing buffer {"connection_id":130559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:56:34] local.INFO: IMEI packet received {"connection_id":130559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":130559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:56:39] local.INFO: TCP Data received {"connection_id":131578,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:56:39] local.INFO: Processing buffer {"connection_id":131578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:56:39] local.INFO: IMEI packet received {"connection_id":131578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":131578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:56:40] local.INFO: TCP Data received {"connection_id":130559,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:56:40] local.INFO: Processing buffer {"connection_id":130559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:56:40] local.INFO: IMEI packet received {"connection_id":130559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":130559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:56:42] local.INFO: TCP Data received {"connection_id":130559,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:56:42] local.INFO: Processing buffer {"connection_id":130559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:56:42] local.INFO: Packet analysis {"connection_id":130559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba6"} 
[2026-07-13 18:56:42] local.INFO: Extracted packet for processing {"connection_id":130559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba6"} 
[2026-07-13 18:56:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":23,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690878976001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783949047000,"timestamp_ms":1783949047000,"timestamp_seconds":1783949047,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba634d8"} 
[2026-07-13 18:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 18:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690878976001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 18:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690878976001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:56:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 18:56:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690878976001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":130559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:56:42] local.INFO: GPS data processed {"connection_id":130559,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:56:42] local.INFO: Acknowledgment sent {"connection_id":130559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:56:44] local.INFO: TCP Data received {"connection_id":130559,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:56:44] local.INFO: Processing buffer {"connection_id":130559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:56:44] local.INFO: Packet analysis {"connection_id":130559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba6"} 
[2026-07-13 18:56:44] local.INFO: Extracted packet for processing {"connection_id":130559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba6"} 
[2026-07-13 18:56:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":23,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690878976001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:56:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783949047000,"timestamp_ms":1783949047000,"timestamp_seconds":1783949047,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba634d8"} 
[2026-07-13 18:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:56:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 18:56:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:56:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690878976001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 18:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690878976001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:56:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 18:56:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690878976001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":130559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:56:44] local.INFO: GPS data processed {"connection_id":130559,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:56:44] local.INFO: Acknowledgment sent {"connection_id":130559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:56:45] local.INFO: TCP Data received {"connection_id":131578,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:56:45] local.INFO: Processing buffer {"connection_id":131578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:56:45] local.INFO: IMEI packet received {"connection_id":131578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":131578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:56:45] local.INFO: TCP Data received {"connection_id":131578,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:56:45] local.INFO: Processing buffer {"connection_id":131578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:56:45] local.INFO: Packet analysis {"connection_id":131578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba5"} 
[2026-07-13 18:56:45] local.INFO: Extracted packet for processing {"connection_id":131578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba5"} 
[2026-07-13 18:56:45] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690858752001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:56:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783948968000,"timestamp_ms":1783948968000,"timestamp_seconds":1783948968,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba50040"} 
[2026-07-13 18:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690858752001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690858752001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:56:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:56:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:56:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690858752001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":131578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481503,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:56:46] local.INFO: GPS data processed {"connection_id":131578,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:56:46] local.INFO: Acknowledgment sent {"connection_id":131578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:56:52] local.INFO: TCP Data received {"connection_id":132915,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:56:52] local.INFO: Processing buffer {"connection_id":132915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:56:52] local.INFO: IMEI packet received {"connection_id":132915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":132915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:56:56] local.INFO: TCP Data received {"connection_id":132915,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:56:56] local.INFO: Processing buffer {"connection_id":132915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:56:56] local.INFO: IMEI packet received {"connection_id":132915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":132915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:56:57] local.INFO: TCP Data received {"connection_id":132915,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba69e50012d1a1f400720ff180049011c27..."} 
[2026-07-13 18:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba69e50012d1a1f400720ff180049011c27..."} 
[2026-07-13 18:56:57] local.INFO: Processing buffer {"connection_id":132915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba69e50012d1a1f400720ff180049011c27..."} 
[2026-07-13 18:56:57] local.INFO: Packet analysis {"connection_id":132915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba6"} 
[2026-07-13 18:56:57] local.INFO: Extracted packet for processing {"connection_id":132915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba6"} 
[2026-07-13 18:56:57] local.INFO: GPS Element Parsed {"raw_longitude":756686656,"raw_latitude":119602968,"longitude_deg":75.6686656,"latitude_deg":11.9602968,"altitude":73,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2d1a1f40","hex_latitude":"0720ff18","is_valid_coordinates":true} 
[2026-07-13 18:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690957568001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5932634030997504,"note":"Value kept but may cause issues"} 
[2026-07-13 18:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882293568626694144,"note":"Value kept but may cause issues"} 
[2026-07-13 18:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783949074000,"timestamp_ms":1783949074000,"timestamp_seconds":1783949074,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba69e50"} 
[2026-07-13 18:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:56:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-13 18:56:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:56:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690957568001,"66":12428,"103":206,"83":41984,"24":0,"16":5932634030997504,"45":1882293568626694144},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690957568001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:56:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:56:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5932634030997504,"km_value":5932634030997.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882293568626694144,"description":"Unknown IO ID 45"} 
[2026-07-13 18:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690957568001,"power":12428,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1882293568626694144}} 
[2026-07-13 18:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":132915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:56:57] local.INFO: GPS data processed {"connection_id":132915,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:56:57] local.INFO: Acknowledgment sent {"connection_id":132915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:57:15] local.INFO: TCP Data received {"connection_id":130559,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:57:15] local.INFO: Processing buffer {"connection_id":130559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:57:15] local.INFO: Packet analysis {"connection_id":130559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba6"} 
[2026-07-13 18:57:15] local.INFO: Extracted packet for processing {"connection_id":130559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba6"} 
[2026-07-13 18:57:15] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":23,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690878976001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783949047000,"timestamp_ms":1783949047000,"timestamp_seconds":1783949047,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba634d8"} 
[2026-07-13 18:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 18:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690878976001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 18:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690878976001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:57:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 18:57:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690878976001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":130559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:57:16] local.INFO: GPS data processed {"connection_id":130559,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:57:16] local.INFO: Acknowledgment sent {"connection_id":130559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:57:17] local.INFO: TCP Data received {"connection_id":131578,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:57:17] local.INFO: Processing buffer {"connection_id":131578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:57:17] local.INFO: Packet analysis {"connection_id":131578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba5"} 
[2026-07-13 18:57:17] local.INFO: Extracted packet for processing {"connection_id":131578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba5"} 
[2026-07-13 18:57:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690858752001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:57:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783948968000,"timestamp_ms":1783948968000,"timestamp_seconds":1783948968,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba50040"} 
[2026-07-13 18:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:57: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-07-13 18:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690858752001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690858752001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:57:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:57:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:57:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690858752001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":131578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481506,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:57:17] local.INFO: GPS data processed {"connection_id":131578,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:57:17] local.INFO: Acknowledgment sent {"connection_id":131578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:57:28] local.INFO: TCP Data received {"connection_id":132915,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba6f058012d1a1f400720ff180049011c23..."} 
[2026-07-13 18:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba6f058012d1a1f400720ff180049011c23..."} 
[2026-07-13 18:57:28] local.INFO: Processing buffer {"connection_id":132915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba6f058012d1a1f400720ff180049011c23..."} 
[2026-07-13 18:57:28] local.INFO: Packet analysis {"connection_id":132915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba6"} 
[2026-07-13 18:57:28] local.INFO: Extracted packet for processing {"connection_id":132915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba6"} 
[2026-07-13 18:57:28] local.INFO: GPS Element Parsed {"raw_longitude":756686656,"raw_latitude":119602968,"longitude_deg":75.6686656,"latitude_deg":11.9602968,"altitude":73,"angle":284,"satellites":35,"speed":0,"hex_longitude":"2d1a1f40","hex_latitude":"0720ff18","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690962944001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5932634030997504,"note":"Value kept but may cause issues"} 
[2026-07-13 18:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882293568626694144,"note":"Value kept but may cause issues"} 
[2026-07-13 18:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783949095000,"timestamp_ms":1783949095000,"timestamp_seconds":1783949095,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba6f058"} 
[2026-07-13 18:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-13 18:57:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690962944001,"66":12385,"103":206,"83":41984,"24":0,"16":5932634030997504,"45":1882293568626694144},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690962944001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:57:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:57:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5932634030997504,"km_value":5932634030997.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882293568626694144,"description":"Unknown IO ID 45"} 
[2026-07-13 18:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690962944001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1882293568626694144}} 
[2026-07-13 18:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":132915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:57:28] local.INFO: GPS data processed {"connection_id":132915,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:57:28] local.INFO: Acknowledgment sent {"connection_id":132915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:57:40] local.INFO: TCP Data received {"connection_id":130785,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:57:40] local.INFO: Processing buffer {"connection_id":130785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:57:40] local.INFO: IMEI packet received {"connection_id":130785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":130785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:57:44] local.INFO: TCP Data received {"connection_id":130785,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:57:44] local.INFO: Processing buffer {"connection_id":130785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:57:44] local.INFO: IMEI packet received {"connection_id":130785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":130785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:57:46] local.INFO: TCP Data received {"connection_id":130560,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130560,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:57:46] local.INFO: Processing buffer {"connection_id":130560,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:57:46] local.INFO: IMEI packet received {"connection_id":130560,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":130560,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:57:46] local.INFO: TCP Data received {"connection_id":130560,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130560,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:57:46] local.INFO: Processing buffer {"connection_id":130560,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:57:46] local.INFO: IMEI packet received {"connection_id":130560,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":130560,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:57:47] local.INFO: TCP Data received {"connection_id":130560,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:57:47] local.INFO: Processing buffer {"connection_id":130560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:57:47] local.INFO: Packet analysis {"connection_id":130560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba5"} 
[2026-07-13 18:57:47] local.INFO: Extracted packet for processing {"connection_id":130560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba5"} 
[2026-07-13 18:57:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690858752001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:57:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783948968000,"timestamp_ms":1783948968000,"timestamp_seconds":1783948968,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba50040"} 
[2026-07-13 18:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690858752001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690858752001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:57:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:57:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:57:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690858752001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":130560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481508,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:57:47] local.INFO: GPS data processed {"connection_id":130560,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:57:47] local.INFO: Acknowledgment sent {"connection_id":130560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:57:49] local.INFO: TCP Data received {"connection_id":130785,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:57:49] local.INFO: Processing buffer {"connection_id":130785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:57:49] local.INFO: IMEI packet received {"connection_id":130785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":130785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:57:50] local.INFO: TCP Data received {"connection_id":130560,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:57:50] local.INFO: Processing buffer {"connection_id":130560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:57:50] local.INFO: Packet analysis {"connection_id":130560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba5"} 
[2026-07-13 18:57:50] local.INFO: Extracted packet for processing {"connection_id":130560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba5"} 
[2026-07-13 18:57:50] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690858752001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:57:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783948968000,"timestamp_ms":1783948968000,"timestamp_seconds":1783948968,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba50040"} 
[2026-07-13 18:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690858752001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690858752001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:57:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:57:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:57:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690858752001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":130560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481509,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:57:50] local.INFO: GPS data processed {"connection_id":130560,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:57:50] local.INFO: Acknowledgment sent {"connection_id":130560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:57:52] local.INFO: TCP Data received {"connection_id":132916,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:57:52] local.INFO: Processing buffer {"connection_id":132916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:57:52] local.INFO: IMEI packet received {"connection_id":132916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":132916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:57:54] local.INFO: TCP Data received {"connection_id":130785,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:57:54] local.INFO: Processing buffer {"connection_id":130785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:57:54] local.INFO: Packet analysis {"connection_id":130785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba6"} 
[2026-07-13 18:57:54] local.INFO: Extracted packet for processing {"connection_id":130785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba6"} 
[2026-07-13 18:57:54] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":23,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690878976001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783949047000,"timestamp_ms":1783949047000,"timestamp_seconds":1783949047,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba634d8"} 
[2026-07-13 18:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 18:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690878976001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 18:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690878976001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:57:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 18:57:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690878976001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":130785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:57:54] local.INFO: GPS data processed {"connection_id":130785,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:57:54] local.INFO: Acknowledgment sent {"connection_id":130785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:57:58] local.INFO: TCP Data received {"connection_id":132916,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:57:58] local.INFO: Processing buffer {"connection_id":132916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:57:58] local.INFO: IMEI packet received {"connection_id":132916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":132916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:57:58] local.INFO: TCP Data received {"connection_id":132916,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba74260012d1a1f400720ff180049011c25..."} 
[2026-07-13 18:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba74260012d1a1f400720ff180049011c25..."} 
[2026-07-13 18:57:58] local.INFO: Processing buffer {"connection_id":132916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba74260012d1a1f400720ff180049011c25..."} 
[2026-07-13 18:57:58] local.INFO: Packet analysis {"connection_id":132916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba7"} 
[2026-07-13 18:57:58] local.INFO: Extracted packet for processing {"connection_id":132916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba7"} 
[2026-07-13 18:57:58] local.INFO: GPS Element Parsed {"raw_longitude":756686656,"raw_latitude":119602968,"longitude_deg":75.6686656,"latitude_deg":11.9602968,"altitude":73,"angle":284,"satellites":37,"speed":0,"hex_longitude":"2d1a1f40","hex_latitude":"0720ff18","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690968320001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5932634030997504,"note":"Value kept but may cause issues"} 
[2026-07-13 18:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882293568626694144,"note":"Value kept but may cause issues"} 
[2026-07-13 18:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783949116000,"timestamp_ms":1783949116000,"timestamp_seconds":1783949116,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba74260"} 
[2026-07-13 18:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-13 18:57:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690968320001,"66":12341,"103":206,"83":41984,"24":0,"16":5932634030997504,"45":1882293568626694144},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690968320001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:57:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:57:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5932634030997504,"km_value":5932634030997.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882293568626694144,"description":"Unknown IO ID 45"} 
[2026-07-13 18:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690968320001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1882293568626694144}} 
[2026-07-13 18:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":132916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:57:58] local.INFO: GPS data processed {"connection_id":132916,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:57:58] local.INFO: Acknowledgment sent {"connection_id":132916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:58:21] local.INFO: TCP Data received {"connection_id":130560,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:58:21] local.INFO: Processing buffer {"connection_id":130560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba50040012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:58:21] local.INFO: Packet analysis {"connection_id":130560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba5"} 
[2026-07-13 18:58:21] local.INFO: Extracted packet for processing {"connection_id":130560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba5"} 
[2026-07-13 18:58:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18: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-07-13 18:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690858752001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:58:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783948968000,"timestamp_ms":1783948968000,"timestamp_seconds":1783948968,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba50040"} 
[2026-07-13 18:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18: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-07-13 18:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":130560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":130560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":130560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690858752001,"66":24832,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690858752001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:58:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:58:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:58:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690858752001,"power":24832,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":130560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481512,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:58:21] local.INFO: GPS data processed {"connection_id":130560,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:58:21] local.INFO: Acknowledgment sent {"connection_id":130560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:58:30] local.INFO: TCP Data received {"connection_id":132916,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba79468012d1a1f400720ff180049011c26..."} 
[2026-07-13 18:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba79468012d1a1f400720ff180049011c26..."} 
[2026-07-13 18:58:30] local.INFO: Processing buffer {"connection_id":132916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba79468012d1a1f400720ff180049011c26..."} 
[2026-07-13 18:58:30] local.INFO: Packet analysis {"connection_id":132916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba7"} 
[2026-07-13 18:58:30] local.INFO: Extracted packet for processing {"connection_id":132916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba7"} 
[2026-07-13 18:58:30] local.INFO: GPS Element Parsed {"raw_longitude":756686656,"raw_latitude":119602968,"longitude_deg":75.6686656,"latitude_deg":11.9602968,"altitude":73,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2d1a1f40","hex_latitude":"0720ff18","is_valid_coordinates":true} 
[2026-07-13 18:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690973696001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5932634030997504,"note":"Value kept but may cause issues"} 
[2026-07-13 18:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882293568626694144,"note":"Value kept but may cause issues"} 
[2026-07-13 18:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783949137000,"timestamp_ms":1783949137000,"timestamp_seconds":1783949137,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba79468"} 
[2026-07-13 18:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-13 18:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":132916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":132916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":132916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690973696001,"66":12385,"103":206,"83":41984,"24":0,"16":5932634030997504,"45":1882293568626694144},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690973696001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:58:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:58:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5932634030997504,"km_value":5932634030997.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882293568626694144,"description":"Unknown IO ID 45"} 
[2026-07-13 18:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690973696001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1882293568626694144}} 
[2026-07-13 18:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":132916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:58:30] local.INFO: GPS data processed {"connection_id":132916,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:58:30] local.INFO: Acknowledgment sent {"connection_id":132916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:58:44] local.INFO: TCP Data received {"connection_id":130786,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:58:44] local.INFO: Processing buffer {"connection_id":130786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:58:44] local.INFO: IMEI packet received {"connection_id":130786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":130786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:58:45] local.INFO: TCP Data received {"connection_id":130787,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:58:45] local.INFO: Processing buffer {"connection_id":130787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:58:45] local.INFO: IMEI packet received {"connection_id":130787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":130787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:58:47] local.INFO: TCP Data received {"connection_id":130786,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:58:47] local.INFO: Processing buffer {"connection_id":130786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:58:47] local.INFO: IMEI packet received {"connection_id":130786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":130786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:58:49] local.INFO: TCP Data received {"connection_id":130786,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:58:49] local.INFO: Processing buffer {"connection_id":130786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:58:49] local.INFO: Packet analysis {"connection_id":130786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba6"} 
[2026-07-13 18:58:49] local.INFO: Extracted packet for processing {"connection_id":130786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba6"} 
[2026-07-13 18:58:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":23,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690878976001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783949047000,"timestamp_ms":1783949047000,"timestamp_seconds":1783949047,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba634d8"} 
[2026-07-13 18:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 18:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690878976001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 18:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690878976001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:58:49] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 18:58:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690878976001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":130786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:58:49] local.INFO: GPS data processed {"connection_id":130786,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:58:49] local.INFO: Acknowledgment sent {"connection_id":130786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:58:50] local.INFO: TCP Data received {"connection_id":130787,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:58:50] local.INFO: Processing buffer {"connection_id":130787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:58:50] local.INFO: IMEI packet received {"connection_id":130787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":130787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:58:50] local.INFO: TCP Data received {"connection_id":130786,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:58:50] local.INFO: Processing buffer {"connection_id":130786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:58:50] local.INFO: Packet analysis {"connection_id":130786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba6"} 
[2026-07-13 18:58:50] local.INFO: Extracted packet for processing {"connection_id":130786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba6"} 
[2026-07-13 18:58:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":23,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 18:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690878976001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783949047000,"timestamp_ms":1783949047000,"timestamp_seconds":1783949047,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba634d8"} 
[2026-07-13 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-07-13 18:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 18:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 18:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:58: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-07-13 18:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690878976001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 18:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690878976001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:58:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 18:58:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690878976001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":130786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:58:50] local.INFO: GPS data processed {"connection_id":130786,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:58:50] local.INFO: Acknowledgment sent {"connection_id":130786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:58:50] local.INFO: TCP Data received {"connection_id":130787,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba99808012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba99808012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:58:50] local.INFO: Processing buffer {"connection_id":130787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba99808012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:58:50] local.INFO: Packet analysis {"connection_id":130787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba9"} 
[2026-07-13 18:58:50] local.INFO: Extracted packet for processing {"connection_id":130787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba9"} 
[2026-07-13 18:58:50] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 18:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690935808001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:58:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783949269000,"timestamp_ms":1783949269000,"timestamp_seconds":1783949269,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba99808"} 
[2026-07-13 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-07-13 18:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 18:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690935808001,"66":24332,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690935808001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:58:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:58:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:58:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690935808001,"power":24332,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":130787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481516,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:58:50] local.INFO: GPS data processed {"connection_id":130787,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:58:50] local.INFO: Acknowledgment sent {"connection_id":130787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:58:55] local.INFO: TCP Data received {"connection_id":130787,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba99808012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba99808012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:58:55] local.INFO: Processing buffer {"connection_id":130787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba99808012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:58:55] local.INFO: Packet analysis {"connection_id":130787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba9"} 
[2026-07-13 18:58:55] local.INFO: Extracted packet for processing {"connection_id":130787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba9"} 
[2026-07-13 18:58:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690935808001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:58:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783949269000,"timestamp_ms":1783949269000,"timestamp_seconds":1783949269,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba99808"} 
[2026-07-13 18:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:58:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:58:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690935808001,"66":24332,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690935808001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:58:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:58:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:58:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690935808001,"power":24332,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":130787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481517,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:58:55] local.INFO: GPS data processed {"connection_id":130787,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:58:55] local.INFO: Acknowledgment sent {"connection_id":130787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:58:57] local.INFO: TCP Data received {"connection_id":132917,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:58:57] local.INFO: Processing buffer {"connection_id":132917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:58:57] local.INFO: IMEI packet received {"connection_id":132917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":132917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:59:03] local.INFO: TCP Data received {"connection_id":132917,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:59:03] local.INFO: Processing buffer {"connection_id":132917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:59:03] local.INFO: IMEI packet received {"connection_id":132917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":132917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:59:04] local.INFO: TCP Data received {"connection_id":132917,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba7e288012d1a1f400720ff180049011c2b..."} 
[2026-07-13 18:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba7e288012d1a1f400720ff180049011c2b..."} 
[2026-07-13 18:59:04] local.INFO: Processing buffer {"connection_id":132917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba7e288012d1a1f400720ff180049011c2b..."} 
[2026-07-13 18:59:04] local.INFO: Packet analysis {"connection_id":132917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba7"} 
[2026-07-13 18:59:04] local.INFO: Extracted packet for processing {"connection_id":132917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba7"} 
[2026-07-13 18:59:04] local.INFO: GPS Element Parsed {"raw_longitude":756686656,"raw_latitude":119602968,"longitude_deg":75.6686656,"latitude_deg":11.9602968,"altitude":73,"angle":284,"satellites":43,"speed":0,"hex_longitude":"2d1a1f40","hex_latitude":"0720ff18","is_valid_coordinates":true} 
[2026-07-13 18:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690979072001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5932634030997504,"note":"Value kept but may cause issues"} 
[2026-07-13 18:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882293568626694144,"note":"Value kept but may cause issues"} 
[2026-07-13 18:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783949157000,"timestamp_ms":1783949157000,"timestamp_seconds":1783949157,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba7e288"} 
[2026-07-13 18:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-13 18:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690979072001,"66":12178,"103":206,"83":41984,"24":0,"16":5932634030997504,"45":1882293568626694144},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690979072001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:59:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:59:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5932634030997504,"km_value":5932634030997.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882293568626694144,"description":"Unknown IO ID 45"} 
[2026-07-13 18:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690979072001,"power":12178,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1882293568626694144}} 
[2026-07-13 18:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":132917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:59:04] local.INFO: GPS data processed {"connection_id":132917,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:59:04] local.INFO: Acknowledgment sent {"connection_id":132917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:59:34] local.INFO: TCP Data received {"connection_id":131579,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:59:34] local.INFO: Processing buffer {"connection_id":131579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:59:34] local.INFO: IMEI packet received {"connection_id":131579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 18:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":131579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:59:35] local.INFO: TCP Data received {"connection_id":132917,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba83490012d1a1f400720ff180049011c29..."} 
[2026-07-13 18:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba83490012d1a1f400720ff180049011c29..."} 
[2026-07-13 18:59:35] local.INFO: Processing buffer {"connection_id":132917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba83490012d1a1f400720ff180049011c29..."} 
[2026-07-13 18:59:35] local.INFO: Packet analysis {"connection_id":132917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba8"} 
[2026-07-13 18:59:35] local.INFO: Extracted packet for processing {"connection_id":132917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba8"} 
[2026-07-13 18:59:35] local.INFO: GPS Element Parsed {"raw_longitude":756686656,"raw_latitude":119602968,"longitude_deg":75.6686656,"latitude_deg":11.9602968,"altitude":73,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2d1a1f40","hex_latitude":"0720ff18","is_valid_coordinates":true} 
[2026-07-13 18:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690984192001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5932634030997504,"note":"Value kept but may cause issues"} 
[2026-07-13 18:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882293568626694144,"note":"Value kept but may cause issues"} 
[2026-07-13 18:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783949178000,"timestamp_ms":1783949178000,"timestamp_seconds":1783949178,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba83490"} 
[2026-07-13 18:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-13 18:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690984192001,"66":12298,"103":206,"83":41984,"24":0,"16":5932634030997504,"45":1882293568626694144},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690984192001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:59:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:59:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5932634030997504,"km_value":5932634030997.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882293568626694144,"description":"Unknown IO ID 45"} 
[2026-07-13 18:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690984192001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1882293568626694144}} 
[2026-07-13 18:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":132917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:59:35] local.INFO: GPS data processed {"connection_id":132917,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:59:35] local.INFO: Acknowledgment sent {"connection_id":132917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:59:39] local.INFO: TCP Data received {"connection_id":131579,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:59:39] local.INFO: Processing buffer {"connection_id":131579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 18:59:39] local.INFO: IMEI packet received {"connection_id":131579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 18:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":131579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:59:39] local.INFO: TCP Data received {"connection_id":131580,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131580,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:59:39] local.INFO: Processing buffer {"connection_id":131580,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:59:39] local.INFO: IMEI packet received {"connection_id":131580,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 18:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":131580,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:59:40] local.INFO: TCP Data received {"connection_id":131579,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:59:40] local.INFO: Processing buffer {"connection_id":131579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:59:40] local.INFO: Packet analysis {"connection_id":131579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba6"} 
[2026-07-13 18:59:40] local.INFO: Extracted packet for processing {"connection_id":131579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba6"} 
[2026-07-13 18:59:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":23,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690878976001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783949047000,"timestamp_ms":1783949047000,"timestamp_seconds":1783949047,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba634d8"} 
[2026-07-13 18:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 18:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690878976001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 18:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690878976001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:59:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 18:59:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690878976001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":131579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:59:40] local.INFO: GPS data processed {"connection_id":131579,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:59:40] local.INFO: Acknowledgment sent {"connection_id":131579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:59:45] local.INFO: TCP Data received {"connection_id":131580,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131580,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:59:45] local.INFO: Processing buffer {"connection_id":131580,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 18:59:45] local.INFO: IMEI packet received {"connection_id":131580,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 18:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":131580,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:59:45] local.INFO: TCP Data received {"connection_id":131580,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba99808012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba99808012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:59:45] local.INFO: Processing buffer {"connection_id":131580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba99808012cb29ac007823bf8004700e028..."} 
[2026-07-13 18:59:45] local.INFO: Packet analysis {"connection_id":131580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba9"} 
[2026-07-13 18:59:45] local.INFO: Extracted packet for processing {"connection_id":131580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba9"} 
[2026-07-13 18:59:45] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 18:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690935808001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 18:59:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 18:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783949269000,"timestamp_ms":1783949269000,"timestamp_seconds":1783949269,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba99808"} 
[2026-07-13 18:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 18:59:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 18:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 18:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 18:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690935808001,"66":24332,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 18:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 18:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 18:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690935808001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:59:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 18:59:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 18:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:59:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 18:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690935808001,"power":24332,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 18:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":131580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481521,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:59:46] local.INFO: GPS data processed {"connection_id":131580,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:59:46] local.INFO: Acknowledgment sent {"connection_id":131580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:59:49] local.INFO: TCP Data received {"connection_id":131581,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:59:49] local.INFO: Processing buffer {"connection_id":131581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:59:49] local.INFO: IMEI packet received {"connection_id":131581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 18:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":131581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 18:59:51] local.INFO: TCP Data received {"connection_id":131581,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:59:51] local.INFO: Processing buffer {"connection_id":131581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:59:51] local.INFO: IMEI packet received {"connection_id":131581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":131581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:59:52] local.INFO: TCP Data received {"connection_id":131581,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:59:52] local.INFO: Processing buffer {"connection_id":131581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:59:52] local.INFO: IMEI packet received {"connection_id":131581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":131581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:59:56] local.INFO: TCP Data received {"connection_id":131579,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:59:56] local.INFO: Processing buffer {"connection_id":131579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba634d8012d7f914005afd9380017011b23..."} 
[2026-07-13 18:59:56] local.INFO: Packet analysis {"connection_id":131579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba6"} 
[2026-07-13 18:59:56] local.INFO: Extracted packet for processing {"connection_id":131579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba6"} 
[2026-07-13 18:59:56] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":23,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 18:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690878976001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 18:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 18:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783949047000,"timestamp_ms":1783949047000,"timestamp_seconds":1783949047,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba634d8"} 
[2026-07-13 18:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 18:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 18:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":131579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":131579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":131579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 18:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 18:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 18:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690878976001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 18:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 18:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 18:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690878976001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:59:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 18:59:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 18:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 18:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690878976001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 18:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":131579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:59:56] local.INFO: GPS data processed {"connection_id":131579,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:59:56] local.INFO: Acknowledgment sent {"connection_id":131579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 18:59:57] local.INFO: TCP Data received {"connection_id":131581,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:59:57] local.INFO: Processing buffer {"connection_id":131581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 18:59:57] local.INFO: IMEI packet received {"connection_id":131581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 18:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":131581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 18:59:58] local.INFO: TCP Data received {"connection_id":131581,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5baacca0012d1a20400720fe20004500732a..."} 
[2026-07-13 18:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5baacca0012d1a20400720fe20004500732a..."} 
[2026-07-13 18:59:58] local.INFO: Processing buffer {"connection_id":131581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5baacca0012d1a20400720fe20004500732a..."} 
[2026-07-13 18:59:58] local.INFO: Packet analysis {"connection_id":131581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5baa"} 
[2026-07-13 18:59:58] local.INFO: Extracted packet for processing {"connection_id":131581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5baa"} 
[2026-07-13 18:59:58] local.INFO: GPS Element Parsed {"raw_longitude":756686912,"raw_latitude":119602720,"longitude_deg":75.6686912,"latitude_deg":11.960272,"altitude":69,"angle":115,"satellites":42,"speed":2,"hex_longitude":"2d1a2040","hex_latitude":"0720fe20","is_valid_coordinates":true} 
[2026-07-13 18:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 18:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691032832001,"note":"Value kept but may cause issues"} 
[2026-07-13 18:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5932655505833984,"note":"Value kept but may cause issues"} 
[2026-07-13 18:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882504674859165696,"note":"Value kept but may cause issues"} 
[2026-07-13 18:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 18:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783949348000,"timestamp_ms":1783949348000,"timestamp_seconds":1783949348,"priority":1,"record_length":96,"hex_timestamp":"0000019f5baacca0"} 
[2026-07-13 18:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 18:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 18:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-13 18:59:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 18:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 18:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 18:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 18:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 18:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 18:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 18:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 18:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 18:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691032832001,"66":14113,"103":206,"83":41984,"24":2,"16":5932655505833984,"45":1882504674859165696},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 18:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 18:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 18:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691032832001,"description":"Unknown IO ID 0"} 
[2026-07-13 18:59:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 18:59:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 18:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5932655505833984,"km_value":5932655505833.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 18:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882504674859165696,"description":"Unknown IO ID 45"} 
[2026-07-13 18:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691032832001,"power":14113,"unknown_103":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1882504674859165696}} 
[2026-07-13 18:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":131581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 18:59:58] local.INFO: GPS data processed {"connection_id":131581,"processed":1,"errors":0,"total":1} 
[2026-07-13 18:59:58] local.INFO: Acknowledgment sent {"connection_id":131581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:00:17] local.INFO: TCP Data received {"connection_id":131580,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba99808012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba99808012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:00:17] local.INFO: Processing buffer {"connection_id":131580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba99808012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:00:17] local.INFO: Packet analysis {"connection_id":131580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba9"} 
[2026-07-13 19:00:17] local.INFO: Extracted packet for processing {"connection_id":131580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba9"} 
[2026-07-13 19:00:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690935808001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:00:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783949269000,"timestamp_ms":1783949269000,"timestamp_seconds":1783949269,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba99808"} 
[2026-07-13 19:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:00: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-07-13 19: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 19:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690935808001,"66":24332,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 19:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690935808001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:00:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 19:00:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:00:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690935808001,"power":24332,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":131580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481524,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:00:17] local.INFO: GPS data processed {"connection_id":131580,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:00:17] local.INFO: Acknowledgment sent {"connection_id":131580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:00:29] local.INFO: TCP Data received {"connection_id":131581,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bab41d0012d1a3ac00720f618004100d829..."} 
[2026-07-13 19:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bab41d0012d1a3ac00720f618004100d829..."} 
[2026-07-13 19:00:29] local.INFO: Processing buffer {"connection_id":131581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bab41d0012d1a3ac00720f618004100d829..."} 
[2026-07-13 19:00:29] local.INFO: Packet analysis {"connection_id":131581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bab"} 
[2026-07-13 19:00:29] local.INFO: Extracted packet for processing {"connection_id":131581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bab"} 
[2026-07-13 19:00:29] local.INFO: GPS Element Parsed {"raw_longitude":756693696,"raw_latitude":119600664,"longitude_deg":75.6693696,"latitude_deg":11.9600664,"altitude":65,"angle":216,"satellites":41,"speed":16,"hex_longitude":"2d1a3ac0","hex_latitude":"0720f618","is_valid_coordinates":true} 
[2026-07-13 19:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691040512001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5933085002563584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890245236718268416,"note":"Value kept but may cause issues"} 
[2026-07-13 19:00: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-07-13 19:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783949378000,"timestamp_ms":1783949378000,"timestamp_seconds":1783949378,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bab41d0"} 
[2026-07-13 19:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-07-13 19:00:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:00:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":131581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":131581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":131581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691040512001,"66":14113,"103":206,"83":41984,"24":16,"16":5933085002563584,"45":1890245236718268416},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 19:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691040512001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:00:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 19:00:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 19:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5933085002563584,"km_value":5933085002563.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890245236718268416,"description":"Unknown IO ID 45"} 
[2026-07-13 19:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691040512001,"power":14113,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1890245236718268416}} 
[2026-07-13 19:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":131581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:00:29] local.INFO: GPS data processed {"connection_id":131581,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:00:29] local.INFO: Acknowledgment sent {"connection_id":131581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:00:34] local.INFO: TCP Data received {"connection_id":132918,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:00:34] local.INFO: Processing buffer {"connection_id":132918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:00:34] local.INFO: IMEI packet received {"connection_id":132918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":132918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:00:39] local.INFO: TCP Data received {"connection_id":132918,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:00:39] local.INFO: Processing buffer {"connection_id":132918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:00:39] local.INFO: IMEI packet received {"connection_id":132918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":132918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:00:39] local.INFO: TCP Data received {"connection_id":130561,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:00:39] local.INFO: Processing buffer {"connection_id":130561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:00:39] local.INFO: IMEI packet received {"connection_id":130561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":130561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:00:40] local.INFO: TCP Data received {"connection_id":132918,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5baacca0012d7f914005afd9380017011b24..."} 
[2026-07-13 19:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5baacca0012d7f914005afd9380017011b24..."} 
[2026-07-13 19:00:40] local.INFO: Processing buffer {"connection_id":132918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5baacca0012d7f914005afd9380017011b24..."} 
[2026-07-13 19:00:40] local.INFO: Packet analysis {"connection_id":132918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5baa"} 
[2026-07-13 19:00:40] local.INFO: Extracted packet for processing {"connection_id":132918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5baa"} 
[2026-07-13 19:00:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":23,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690956032001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783949348000,"timestamp_ms":1783949348000,"timestamp_seconds":1783949348,"priority":1,"record_length":96,"hex_timestamp":"0000019f5baacca0"} 
[2026-07-13 19:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690956032001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690956032001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:00:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:00:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690956032001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":132918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:00:40] local.INFO: GPS data processed {"connection_id":132918,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:00:40] local.INFO: Acknowledgment sent {"connection_id":132918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:00:45] local.INFO: TCP Data received {"connection_id":130561,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:00:45] local.INFO: Processing buffer {"connection_id":130561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:00:45] local.INFO: IMEI packet received {"connection_id":130561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":130561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:00:45] local.INFO: TCP Data received {"connection_id":130561,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba99808012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba99808012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:00:45] local.INFO: Processing buffer {"connection_id":130561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba99808012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:00:45] local.INFO: Packet analysis {"connection_id":130561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba9"} 
[2026-07-13 19:00:45] local.INFO: Extracted packet for processing {"connection_id":130561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba9"} 
[2026-07-13 19:00:45] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690935808001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:00:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783949269000,"timestamp_ms":1783949269000,"timestamp_seconds":1783949269,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba99808"} 
[2026-07-13 19:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 19:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:00:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690935808001,"66":24332,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 19:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690935808001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:00:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 19:00:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:00:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690935808001,"power":24332,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":130561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481527,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:00:45] local.INFO: GPS data processed {"connection_id":130561,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:00:45] local.INFO: Acknowledgment sent {"connection_id":130561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:00:53] local.INFO: TCP Data received {"connection_id":130788,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:00:53] local.INFO: Processing buffer {"connection_id":130788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:00:53] local.INFO: IMEI packet received {"connection_id":130788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":130788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:00:53] local.INFO: TCP Data received {"connection_id":130788,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:00:53] local.INFO: Processing buffer {"connection_id":130788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:00:53] local.INFO: IMEI packet received {"connection_id":130788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":130788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:00:58] local.INFO: TCP Data received {"connection_id":130788,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:00:58] local.INFO: Processing buffer {"connection_id":130788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:00:58] local.INFO: IMEI packet received {"connection_id":130788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":130788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:00:59] local.INFO: TCP Data received {"connection_id":130788,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bab5170012d1a36800720ee30004000ca28..."} 
[2026-07-13 19:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bab5170012d1a36800720ee30004000ca28..."} 
[2026-07-13 19:00:59] local.INFO: Processing buffer {"connection_id":130788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bab5170012d1a36800720ee30004000ca28..."} 
[2026-07-13 19:00:59] local.INFO: Packet analysis {"connection_id":130788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bab"} 
[2026-07-13 19:00:59] local.INFO: Extracted packet for processing {"connection_id":130788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bab"} 
[2026-07-13 19:00:59] local.INFO: GPS Element Parsed {"raw_longitude":756692608,"raw_latitude":119598640,"longitude_deg":75.6692608,"latitude_deg":11.959864,"altitude":64,"angle":202,"satellites":40,"speed":27,"hex_longitude":"2d1a3680","hex_latitude":"0720ee30","is_valid_coordinates":true} 
[2026-07-13 19:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691040768001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5933196671713280,"note":"Value kept but may cause issues"} 
[2026-07-13 19:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890034130485647360,"note":"Value kept but may cause issues"} 
[2026-07-13 19:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783949382000,"timestamp_ms":1783949382000,"timestamp_seconds":1783949382,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bab5170"} 
[2026-07-13 19:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-13 19:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":130788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":130788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":130788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691040768001,"66":14265,"103":206,"83":41984,"24":27,"16":5933196671713280,"45":1890034130485647360},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 19:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691040768001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:00:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 19:00:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 19:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5933196671713280,"km_value":5933196671713.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890034130485647360,"description":"Unknown IO ID 45"} 
[2026-07-13 19:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691040768001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1890034130485647360}} 
[2026-07-13 19:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":130788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:00:59] local.INFO: GPS data processed {"connection_id":130788,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:00:59] local.INFO: Acknowledgment sent {"connection_id":130788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:01:12] local.INFO: TCP Data received {"connection_id":132918,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5baacca0012d7f914005afd9380017011b24..."} 
[2026-07-13 19:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5baacca0012d7f914005afd9380017011b24..."} 
[2026-07-13 19:01:12] local.INFO: Processing buffer {"connection_id":132918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5baacca0012d7f914005afd9380017011b24..."} 
[2026-07-13 19:01:12] local.INFO: Packet analysis {"connection_id":132918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5baa"} 
[2026-07-13 19:01:12] local.INFO: Extracted packet for processing {"connection_id":132918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5baa"} 
[2026-07-13 19:01:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":23,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690956032001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783949348000,"timestamp_ms":1783949348000,"timestamp_seconds":1783949348,"priority":1,"record_length":96,"hex_timestamp":"0000019f5baacca0"} 
[2026-07-13 19:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690956032001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690956032001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:01:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:01:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690956032001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":132918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:01:12] local.INFO: GPS data processed {"connection_id":132918,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:01:12] local.INFO: Acknowledgment sent {"connection_id":132918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:01:17] local.INFO: TCP Data received {"connection_id":130561,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba99808012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba99808012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:01:17] local.INFO: Processing buffer {"connection_id":130561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba99808012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:01:17] local.INFO: Packet analysis {"connection_id":130561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba9"} 
[2026-07-13 19:01:17] local.INFO: Extracted packet for processing {"connection_id":130561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba9"} 
[2026-07-13 19:01:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690935808001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:01:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783949269000,"timestamp_ms":1783949269000,"timestamp_seconds":1783949269,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba99808"} 
[2026-07-13 19:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:01: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-07-13 19: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 19:01:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690935808001,"66":24332,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 19:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690935808001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:01:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 19:01:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:01:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690935808001,"power":24332,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":130561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481530,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:01:17] local.INFO: GPS data processed {"connection_id":130561,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:01:17] local.INFO: Acknowledgment sent {"connection_id":130561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:01:30] local.INFO: TCP Data received {"connection_id":130788,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bac14c0012d19c5800720a458002f01122a..."} 
[2026-07-13 19:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bac14c0012d19c5800720a458002f01122a..."} 
[2026-07-13 19:01:30] local.INFO: Processing buffer {"connection_id":130788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bac14c0012d19c5800720a458002f01122a..."} 
[2026-07-13 19:01:30] local.INFO: Packet analysis {"connection_id":130788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bac"} 
[2026-07-13 19:01:30] local.INFO: Extracted packet for processing {"connection_id":130788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bac"} 
[2026-07-13 19:01:30] local.INFO: GPS Element Parsed {"raw_longitude":756663680,"raw_latitude":119579736,"longitude_deg":75.666368,"latitude_deg":11.9579736,"altitude":47,"angle":274,"satellites":42,"speed":22,"hex_longitude":"2d19c580","hex_latitude":"0720a458","is_valid_coordinates":true} 
[2026-07-13 19:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691054336001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5934949018370048,"note":"Value kept but may cause issues"} 
[2026-07-13 19:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857594139414380544,"note":"Value kept but may cause issues"} 
[2026-07-13 19:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783949432000,"timestamp_ms":1783949432000,"timestamp_seconds":1783949432,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bac14c0"} 
[2026-07-13 19:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-13 19:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":130788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":130788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":130788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691054336001,"66":14189,"103":206,"83":41984,"24":22,"16":5934949018370048,"45":1857594139414380544},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 19:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691054336001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:01:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 19:01:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 19:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5934949018370048,"km_value":5934949018370.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857594139414380544,"description":"Unknown IO ID 45"} 
[2026-07-13 19:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691054336001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1857594139414380544}} 
[2026-07-13 19:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":130788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:01:30] local.INFO: GPS data processed {"connection_id":130788,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:01:30] local.INFO: Acknowledgment sent {"connection_id":130788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:01:34] local.INFO: TCP Data received {"connection_id":130562,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:01:34] local.INFO: Processing buffer {"connection_id":130562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:01:34] local.INFO: IMEI packet received {"connection_id":130562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":130562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:01:39] local.INFO: TCP Data received {"connection_id":130562,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:01:39] local.INFO: Processing buffer {"connection_id":130562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:01:39] local.INFO: IMEI packet received {"connection_id":130562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":130562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:01:44] local.INFO: TCP Data received {"connection_id":131582,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:01:44] local.INFO: Processing buffer {"connection_id":131582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:01:44] local.INFO: IMEI packet received {"connection_id":131582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":131582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:01:50] local.INFO: TCP Data received {"connection_id":131582,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:01:50] local.INFO: Processing buffer {"connection_id":131582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:01:50] local.INFO: IMEI packet received {"connection_id":131582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":131582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:01:51] local.INFO: TCP Data received {"connection_id":131582,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba99808012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba99808012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:01:51] local.INFO: Processing buffer {"connection_id":131582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba99808012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:01:51] local.INFO: Packet analysis {"connection_id":131582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba9"} 
[2026-07-13 19:01:51] local.INFO: Extracted packet for processing {"connection_id":131582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba9"} 
[2026-07-13 19:01:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690935808001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:01:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783949269000,"timestamp_ms":1783949269000,"timestamp_seconds":1783949269,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba99808"} 
[2026-07-13 19:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 19:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":131582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":131582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":131582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690935808001,"66":24332,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 19:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690935808001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:01:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 19:01:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:01:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690935808001,"power":24332,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":131582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481532,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:01:51] local.INFO: GPS data processed {"connection_id":131582,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:01:51] local.INFO: Acknowledgment sent {"connection_id":131582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:01:51] local.INFO: TCP Data received {"connection_id":130789,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:01:51] local.INFO: Processing buffer {"connection_id":130789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:01:51] local.INFO: IMEI packet received {"connection_id":130789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":130789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:01:52] local.INFO: TCP Data received {"connection_id":130789,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:01:52] local.INFO: Processing buffer {"connection_id":130789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:01:52] local.INFO: IMEI packet received {"connection_id":130789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":130789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:01:55] local.INFO: TCP Data received {"connection_id":131582,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba99808012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba99808012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:01:55] local.INFO: Processing buffer {"connection_id":131582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba99808012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:01:55] local.INFO: Packet analysis {"connection_id":131582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba9"} 
[2026-07-13 19:01:55] local.INFO: Extracted packet for processing {"connection_id":131582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba9"} 
[2026-07-13 19:01:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690935808001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:01:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783949269000,"timestamp_ms":1783949269000,"timestamp_seconds":1783949269,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba99808"} 
[2026-07-13 19:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 19:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":131582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":131582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":131582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690935808001,"66":24332,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 19:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690935808001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:01:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 19:01:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:01:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690935808001,"power":24332,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":131582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481533,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:01:55] local.INFO: GPS data processed {"connection_id":131582,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:01:55] local.INFO: Acknowledgment sent {"connection_id":131582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:01:58] local.INFO: TCP Data received {"connection_id":130789,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:01:58] local.INFO: Processing buffer {"connection_id":130789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:01:58] local.INFO: IMEI packet received {"connection_id":130789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":130789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:01:58] local.INFO: TCP Data received {"connection_id":130789,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bac1c90012d19c1400720a548002f01212a..."} 
[2026-07-13 19:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bac1c90012d19c1400720a548002f01212a..."} 
[2026-07-13 19:01:58] local.INFO: Processing buffer {"connection_id":130789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bac1c90012d19c1400720a548002f01212a..."} 
[2026-07-13 19:01:58] local.INFO: Packet analysis {"connection_id":130789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bac"} 
[2026-07-13 19:01:58] local.INFO: Extracted packet for processing {"connection_id":130789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bac"} 
[2026-07-13 19:01:58] local.INFO: GPS Element Parsed {"raw_longitude":756662592,"raw_latitude":119579976,"longitude_deg":75.6662592,"latitude_deg":11.9579976,"altitude":47,"angle":289,"satellites":42,"speed":21,"hex_longitude":"2d19c140","hex_latitude":"0720a548","is_valid_coordinates":true} 
[2026-07-13 19:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691054592001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5935004852944896,"note":"Value kept but may cause issues"} 
[2026-07-13 19:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857031189460965376,"note":"Value kept but may cause issues"} 
[2026-07-13 19:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783949434000,"timestamp_ms":1783949434000,"timestamp_seconds":1783949434,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bac1c90"} 
[2026-07-13 19:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-13 19:01:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:01:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:01:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691054592001,"66":14233,"103":206,"83":41984,"24":21,"16":5935004852944896,"45":1857031189460965376},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 19:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691054592001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:01:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 19:01:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 19:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5935004852944896,"km_value":5935004852944.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857031189460965376,"description":"Unknown IO ID 45"} 
[2026-07-13 19:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691054592001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1857031189460965376}} 
[2026-07-13 19:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":130789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:01:59] local.INFO: GPS data processed {"connection_id":130789,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:01:59] local.INFO: Acknowledgment sent {"connection_id":130789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:02:02] local.INFO: TCP Data received {"connection_id":130562,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5baacca0012d7f914005afd9380017011b24..."} 
[2026-07-13 19:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5baacca0012d7f914005afd9380017011b24..."} 
[2026-07-13 19:02:02] local.INFO: Processing buffer {"connection_id":130562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5baacca0012d7f914005afd9380017011b24..."} 
[2026-07-13 19:02:02] local.INFO: Packet analysis {"connection_id":130562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5baa"} 
[2026-07-13 19:02:02] local.INFO: Extracted packet for processing {"connection_id":130562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5baa"} 
[2026-07-13 19:02:02] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":23,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690956032001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783949348000,"timestamp_ms":1783949348000,"timestamp_seconds":1783949348,"priority":1,"record_length":96,"hex_timestamp":"0000019f5baacca0"} 
[2026-07-13 19:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:02:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":130562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":130562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":130562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690956032001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690956032001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:02:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:02:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690956032001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":130562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:02:02] local.INFO: GPS data processed {"connection_id":130562,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:02:02] local.INFO: Acknowledgment sent {"connection_id":130562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:02:30] local.INFO: TCP Data received {"connection_id":130789,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bac2460012d19bdc00720a6c0002f012c29..."} 
[2026-07-13 19:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bac2460012d19bdc00720a6c0002f012c29..."} 
[2026-07-13 19:02:30] local.INFO: Processing buffer {"connection_id":130789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bac2460012d19bdc00720a6c0002f012c29..."} 
[2026-07-13 19:02:30] local.INFO: Packet analysis {"connection_id":130789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bac"} 
[2026-07-13 19:02:30] local.INFO: Extracted packet for processing {"connection_id":130789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bac"} 
[2026-07-13 19:02:30] local.INFO: GPS Element Parsed {"raw_longitude":756661696,"raw_latitude":119580352,"longitude_deg":75.6661696,"latitude_deg":11.9580352,"altitude":47,"angle":300,"satellites":41,"speed":15,"hex_longitude":"2d19bdc0","hex_latitude":"0720a6c0","is_valid_coordinates":true} 
[2026-07-13 19:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691055104001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5935052097585152,"note":"Value kept but may cause issues"} 
[2026-07-13 19:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855834920810006528,"note":"Value kept but may cause issues"} 
[2026-07-13 19:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783949436000,"timestamp_ms":1783949436000,"timestamp_seconds":1783949436,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bac2460"} 
[2026-07-13 19:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-13 19:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":130789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":130789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":130789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691055104001,"66":14363,"103":206,"83":41984,"24":15,"16":5935052097585152,"45":1855834920810006528},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 19:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691055104001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:02:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 19:02:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 19:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5935052097585152,"km_value":5935052097585.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855834920810006528,"description":"Unknown IO ID 45"} 
[2026-07-13 19:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691055104001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1855834920810006528}} 
[2026-07-13 19:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":130789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:02:30] local.INFO: GPS data processed {"connection_id":130789,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:02:30] local.INFO: Acknowledgment sent {"connection_id":130789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:02:39] local.INFO: TCP Data received {"connection_id":132920,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:02:39] local.INFO: Processing buffer {"connection_id":132920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:02:39] local.INFO: IMEI packet received {"connection_id":132920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":132920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:02:40] local.INFO: TCP Data received {"connection_id":132919,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:02:40] local.INFO: Processing buffer {"connection_id":132919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:02:40] local.INFO: IMEI packet received {"connection_id":132919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":132919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:02:44] local.INFO: TCP Data received {"connection_id":132919,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:02:44] local.INFO: Processing buffer {"connection_id":132919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:02:44] local.INFO: IMEI packet received {"connection_id":132919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":132919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:02:45] local.INFO: TCP Data received {"connection_id":132919,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba99808012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba99808012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:02:45] local.INFO: Processing buffer {"connection_id":132919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba99808012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:02:45] local.INFO: Packet analysis {"connection_id":132919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba9"} 
[2026-07-13 19:02:45] local.INFO: Extracted packet for processing {"connection_id":132919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba9"} 
[2026-07-13 19:02:45] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690935808001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:02:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783949269000,"timestamp_ms":1783949269000,"timestamp_seconds":1783949269,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba99808"} 
[2026-07-13 19:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 19:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690935808001,"66":24332,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 19:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690935808001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:02:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 19:02:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:02:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690935808001,"power":24332,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":132919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481537,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:02:45] local.INFO: GPS data processed {"connection_id":132919,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:02:45] local.INFO: Acknowledgment sent {"connection_id":132919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:02:45] local.INFO: TCP Data received {"connection_id":132920,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:02:45] local.INFO: Processing buffer {"connection_id":132920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:02:45] local.INFO: IMEI packet received {"connection_id":132920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":132920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:02:46] local.INFO: TCP Data received {"connection_id":132920,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5baacca0012d7f914005afd9380017011b24..."} 
[2026-07-13 19:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5baacca0012d7f914005afd9380017011b24..."} 
[2026-07-13 19:02:46] local.INFO: Processing buffer {"connection_id":132920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5baacca0012d7f914005afd9380017011b24..."} 
[2026-07-13 19:02:46] local.INFO: Packet analysis {"connection_id":132920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5baa"} 
[2026-07-13 19:02:46] local.INFO: Extracted packet for processing {"connection_id":132920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5baa"} 
[2026-07-13 19:02:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":23,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690956032001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783949348000,"timestamp_ms":1783949348000,"timestamp_seconds":1783949348,"priority":1,"record_length":96,"hex_timestamp":"0000019f5baacca0"} 
[2026-07-13 19:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690956032001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690956032001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:02:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:02:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690956032001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":132920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:02:46] local.INFO: GPS data processed {"connection_id":132920,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:02:46] local.INFO: Acknowledgment sent {"connection_id":132920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:02:52] local.INFO: TCP Data received {"connection_id":130563,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:02:52] local.INFO: Processing buffer {"connection_id":130563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:02:52] local.INFO: IMEI packet received {"connection_id":130563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":130563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:02:58] local.INFO: TCP Data received {"connection_id":130563,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:02:58] local.INFO: Processing buffer {"connection_id":130563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:02:58] local.INFO: IMEI packet received {"connection_id":130563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":130563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:02:58] local.INFO: TCP Data received {"connection_id":130563,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bac7280012d19b9800720a8f80031012e28..."} 
[2026-07-13 19:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bac7280012d19b9800720a8f80031012e28..."} 
[2026-07-13 19:02:58] local.INFO: Processing buffer {"connection_id":130563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bac7280012d19b9800720a8f80031012e28..."} 
[2026-07-13 19:02:58] local.INFO: Packet analysis {"connection_id":130563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bac"} 
[2026-07-13 19:02:58] local.INFO: Extracted packet for processing {"connection_id":130563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bac"} 
[2026-07-13 19:02:58] local.INFO: GPS Element Parsed {"raw_longitude":756660608,"raw_latitude":119580920,"longitude_deg":75.6660608,"latitude_deg":11.958092,"altitude":49,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2d19b980","hex_latitude":"0720a8f8","is_valid_coordinates":true} 
[2026-07-13 19:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691055616001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5935107932160000,"note":"Value kept but may cause issues"} 
[2026-07-13 19:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854849758391615488,"note":"Value kept but may cause issues"} 
[2026-07-13 19:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783949456000,"timestamp_ms":1783949456000,"timestamp_seconds":1783949456,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bac7280"} 
[2026-07-13 19:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-13 19:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691055616001,"66":14004,"103":206,"83":41984,"24":0,"16":5935107932160000,"45":1854849758391615488},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 19:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691055616001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:02:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 19:02:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 19:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5935107932160000,"km_value":5935107932160,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854849758391615488,"description":"Unknown IO ID 45"} 
[2026-07-13 19:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691055616001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854849758391615488}} 
[2026-07-13 19:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":130563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:02:59] local.INFO: GPS data processed {"connection_id":130563,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:02:59] local.INFO: Acknowledgment sent {"connection_id":130563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:03:17] local.INFO: TCP Data received {"connection_id":132919,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ba99808012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ba99808012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:03:17] local.INFO: Processing buffer {"connection_id":132919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ba99808012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:03:17] local.INFO: Packet analysis {"connection_id":132919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ba9"} 
[2026-07-13 19:03:17] local.INFO: Extracted packet for processing {"connection_id":132919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ba9"} 
[2026-07-13 19:03:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690935808001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:03:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783949269000,"timestamp_ms":1783949269000,"timestamp_seconds":1783949269,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ba99808"} 
[2026-07-13 19:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:03: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-07-13 19:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 19:03:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:03:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690935808001,"66":24332,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 19:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690935808001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:03:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 19:03:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:03:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690935808001,"power":24332,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":132919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481540,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:03:17] local.INFO: GPS data processed {"connection_id":132919,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:03:17] local.INFO: Acknowledgment sent {"connection_id":132919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:03:18] local.INFO: TCP Data received {"connection_id":132920,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5baacca0012d7f914005afd9380017011b24..."} 
[2026-07-13 19:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5baacca0012d7f914005afd9380017011b24..."} 
[2026-07-13 19:03:18] local.INFO: Processing buffer {"connection_id":132920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5baacca0012d7f914005afd9380017011b24..."} 
[2026-07-13 19:03:18] local.INFO: Packet analysis {"connection_id":132920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5baa"} 
[2026-07-13 19:03:18] local.INFO: Extracted packet for processing {"connection_id":132920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5baa"} 
[2026-07-13 19:03:18] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":23,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456690956032001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783949348000,"timestamp_ms":1783949348000,"timestamp_seconds":1783949348,"priority":1,"record_length":96,"hex_timestamp":"0000019f5baacca0"} 
[2026-07-13 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-07-13 19:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 19:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19: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-07-13 19:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456690956032001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456690956032001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:03:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:03:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456690956032001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":132920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:03:18] local.INFO: GPS data processed {"connection_id":132920,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:03:18] local.INFO: Acknowledgment sent {"connection_id":132920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:03:29] local.INFO: TCP Data received {"connection_id":130563,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bac95a8012d19b6400720aa500032012327..."} 
[2026-07-13 19:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bac95a8012d19b6400720aa500032012327..."} 
[2026-07-13 19:03:29] local.INFO: Processing buffer {"connection_id":130563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bac95a8012d19b6400720aa500032012327..."} 
[2026-07-13 19:03:29] local.INFO: Packet analysis {"connection_id":130563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bac"} 
[2026-07-13 19:03:29] local.INFO: Extracted packet for processing {"connection_id":130563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bac"} 
[2026-07-13 19:03:29] local.INFO: GPS Element Parsed {"raw_longitude":756659776,"raw_latitude":119581264,"longitude_deg":75.6659776,"latitude_deg":11.9581264,"altitude":50,"angle":291,"satellites":39,"speed":12,"hex_longitude":"2d19b640","hex_latitude":"0720aa50","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691060736001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5935150881832960,"note":"Value kept but may cause issues"} 
[2026-07-13 19:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853653489740740608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:03: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-07-13 19:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783949465000,"timestamp_ms":1783949465000,"timestamp_seconds":1783949465,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bac95a8"} 
[2026-07-13 19:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-13 19:03:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691060736001,"66":14102,"103":206,"83":41984,"24":12,"16":5935150881832960,"45":1853653489740740608},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 19:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691060736001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:03:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 19:03:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 19:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5935150881832960,"km_value":5935150881832.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853653489740740608,"description":"Unknown IO ID 45"} 
[2026-07-13 19:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691060736001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1853653489740740608}} 
[2026-07-13 19:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":130563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:03:29] local.INFO: GPS data processed {"connection_id":130563,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:03:29] local.INFO: Acknowledgment sent {"connection_id":130563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:03:39] local.INFO: TCP Data received {"connection_id":130790,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130790,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:03:39] local.INFO: Processing buffer {"connection_id":130790,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:03:39] local.INFO: IMEI packet received {"connection_id":130790,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":130790,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:03:44] local.INFO: TCP Data received {"connection_id":130790,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130790,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:03:44] local.INFO: Processing buffer {"connection_id":130790,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:03:44] local.INFO: IMEI packet received {"connection_id":130790,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":130790,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:03:45] local.INFO: TCP Data received {"connection_id":131583,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:03:45] local.INFO: Processing buffer {"connection_id":131583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:03:45] local.INFO: IMEI packet received {"connection_id":131583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":131583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:03:45] local.INFO: TCP Data received {"connection_id":130790,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bae2fd0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bae2fd0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:03:45] local.INFO: Processing buffer {"connection_id":130790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bae2fd0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:03:45] local.INFO: Packet analysis {"connection_id":130790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bae"} 
[2026-07-13 19:03:45] local.INFO: Extracted packet for processing {"connection_id":130790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bae"} 
[2026-07-13 19:03:45] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691012864001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:03:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:03:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783949570000,"timestamp_ms":1783949570000,"timestamp_seconds":1783949570,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bae2fd0"} 
[2026-07-13 19:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:03:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-13 19:03:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":781,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:03:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130790,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130790,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691012864001,"66":24973,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 19:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691012864001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:03:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 19:03:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:03:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691012864001,"power":24973,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":130790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481543,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:03:45] local.INFO: GPS data processed {"connection_id":130790,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:03:45] local.INFO: Acknowledgment sent {"connection_id":130790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:03:52] local.INFO: TCP Data received {"connection_id":132921,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:03:52] local.INFO: Processing buffer {"connection_id":132921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:03:52] local.INFO: IMEI packet received {"connection_id":132921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":132921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:03:56] local.INFO: TCP Data received {"connection_id":131583,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:03:56] local.INFO: Processing buffer {"connection_id":131583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:03:56] local.INFO: IMEI packet received {"connection_id":131583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":131583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:03:56] local.INFO: TCP Data received {"connection_id":131583,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:03:56] local.INFO: Processing buffer {"connection_id":131583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:03:56] local.INFO: IMEI packet received {"connection_id":131583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":131583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:03:58] local.INFO: TCP Data received {"connection_id":132921,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:03:58] local.INFO: Processing buffer {"connection_id":132921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:03:58] local.INFO: IMEI packet received {"connection_id":132921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":132921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:03:58] local.INFO: TCP Data received {"connection_id":132921,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bacb4e8012d19a9400720af680033011728..."} 
[2026-07-13 19:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bacb4e8012d19a9400720af680033011728..."} 
[2026-07-13 19:03:58] local.INFO: Processing buffer {"connection_id":132921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bacb4e8012d19a9400720af680033011728..."} 
[2026-07-13 19:03:58] local.INFO: Packet analysis {"connection_id":132921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bac"} 
[2026-07-13 19:03:58] local.INFO: Extracted packet for processing {"connection_id":132921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bac"} 
[2026-07-13 19:03:58] local.INFO: GPS Element Parsed {"raw_longitude":756656448,"raw_latitude":119582568,"longitude_deg":75.6656448,"latitude_deg":11.9582568,"altitude":51,"angle":279,"satellites":40,"speed":18,"hex_longitude":"2d19a940","hex_latitude":"0720af68","is_valid_coordinates":true} 
[2026-07-13 19:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691063040001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5935322680524800,"note":"Value kept but may cause issues"} 
[2026-07-13 19:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852738696066519040,"note":"Value kept but may cause issues"} 
[2026-07-13 19:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783949473000,"timestamp_ms":1783949473000,"timestamp_seconds":1783949473,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bacb4e8"} 
[2026-07-13 19:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 19:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:03:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691063040001,"66":13102,"103":206,"83":41984,"24":18,"16":5935322680524800,"45":1852738696066519040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 19:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691063040001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:03:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 19:03:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 19:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5935322680524800,"km_value":5935322680524.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852738696066519040,"description":"Unknown IO ID 45"} 
[2026-07-13 19:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691063040001,"power":13102,"unknown_103":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1852738696066519040}} 
[2026-07-13 19:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":132921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:03:59] local.INFO: GPS data processed {"connection_id":132921,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:03:59] local.INFO: Acknowledgment sent {"connection_id":132921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:04:01] local.INFO: TCP Data received {"connection_id":131583,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:04:01] local.INFO: Processing buffer {"connection_id":131583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:04:01] local.INFO: IMEI packet received {"connection_id":131583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":131583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:04:17] local.INFO: TCP Data received {"connection_id":130790,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bae2fd0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bae2fd0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:04:17] local.INFO: Processing buffer {"connection_id":130790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bae2fd0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:04:17] local.INFO: Packet analysis {"connection_id":130790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bae"} 
[2026-07-13 19:04:17] local.INFO: Extracted packet for processing {"connection_id":130790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bae"} 
[2026-07-13 19:04:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691012864001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:04:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783949570000,"timestamp_ms":1783949570000,"timestamp_seconds":1783949570,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bae2fd0"} 
[2026-07-13 19:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:04: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-07-13 19:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-13 19:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":781,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130790,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130790,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691012864001,"66":24973,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 19:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691012864001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:04:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 19:04:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:04:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691012864001,"power":24973,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":130790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481545,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:04:17] local.INFO: GPS data processed {"connection_id":130790,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:04:17] local.INFO: Acknowledgment sent {"connection_id":130790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:04:30] local.INFO: TCP Data received {"connection_id":132921,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bace3c8012d198cc00720b2680035010b29..."} 
[2026-07-13 19:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bace3c8012d198cc00720b2680035010b29..."} 
[2026-07-13 19:04:30] local.INFO: Processing buffer {"connection_id":132921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bace3c8012d198cc00720b2680035010b29..."} 
[2026-07-13 19:04:30] local.INFO: Packet analysis {"connection_id":132921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bac"} 
[2026-07-13 19:04:30] local.INFO: Extracted packet for processing {"connection_id":132921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bac"} 
[2026-07-13 19:04:30] local.INFO: GPS Element Parsed {"raw_longitude":756649152,"raw_latitude":119583336,"longitude_deg":75.6649152,"latitude_deg":11.9583336,"altitude":53,"angle":267,"satellites":41,"speed":24,"hex_longitude":"2d198cc0","hex_latitude":"0720b268","is_valid_coordinates":true} 
[2026-07-13 19:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691065088001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5935670572875776,"note":"Value kept but may cause issues"} 
[2026-07-13 19:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849079521369614336,"note":"Value kept but may cause issues"} 
[2026-07-13 19:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783949485000,"timestamp_ms":1783949485000,"timestamp_seconds":1783949485,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bace3c8"} 
[2026-07-13 19:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-13 19:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:04:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":132921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":132921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":132921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691065088001,"66":13222,"103":206,"83":41984,"24":24,"16":5935670572875776,"45":1849079521369614336},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 19:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691065088001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:04:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 19:04:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 19:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5935670572875776,"km_value":5935670572875.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849079521369614336,"description":"Unknown IO ID 45"} 
[2026-07-13 19:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691065088001,"power":13222,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1849079521369614336}} 
[2026-07-13 19:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":132921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:04:30] local.INFO: GPS data processed {"connection_id":132921,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:04:30] local.INFO: Acknowledgment sent {"connection_id":132921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:04:39] local.INFO: TCP Data received {"connection_id":130792,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130792,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:04:39] local.INFO: Processing buffer {"connection_id":130792,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:04:39] local.INFO: IMEI packet received {"connection_id":130792,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":130792,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:04:44] local.INFO: TCP Data received {"connection_id":130792,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130792,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:04:44] local.INFO: Processing buffer {"connection_id":130792,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:04:44] local.INFO: IMEI packet received {"connection_id":130792,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":130792,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:04:45] local.INFO: TCP Data received {"connection_id":130792,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bae2fd0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bae2fd0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:04:45] local.INFO: Processing buffer {"connection_id":130792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bae2fd0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:04:45] local.INFO: Packet analysis {"connection_id":130792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bae"} 
[2026-07-13 19:04:45] local.INFO: Extracted packet for processing {"connection_id":130792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bae"} 
[2026-07-13 19:04:45] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691012864001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:04:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783949570000,"timestamp_ms":1783949570000,"timestamp_seconds":1783949570,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bae2fd0"} 
[2026-07-13 19:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-13 19:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":781,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:04:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130792,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130792,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691012864001,"66":24973,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 19:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691012864001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:04:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 19:04:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:04:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691012864001,"power":24973,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":130792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481547,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:04:46] local.INFO: GPS data processed {"connection_id":130792,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:04:46] local.INFO: Acknowledgment sent {"connection_id":130792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:04:57] local.INFO: TCP Data received {"connection_id":131584,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:04:57] local.INFO: Processing buffer {"connection_id":131584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:04:57] local.INFO: IMEI packet received {"connection_id":131584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":131584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:04:57] local.INFO: TCP Data received {"connection_id":131584,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:04:57] local.INFO: Processing buffer {"connection_id":131584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:04:57] local.INFO: IMEI packet received {"connection_id":131584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":131584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:05:03] local.INFO: TCP Data received {"connection_id":131584,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:05:03] local.INFO: Processing buffer {"connection_id":131584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:05:03] local.INFO: IMEI packet received {"connection_id":131584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":131584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:05:04] local.INFO: TCP Data received {"connection_id":131584,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bad35d0012d197bc00720b0a00033011528..."} 
[2026-07-13 19:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bad35d0012d197bc00720b0a00033011528..."} 
[2026-07-13 19:05:04] local.INFO: Processing buffer {"connection_id":131584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bad35d0012d197bc00720b0a00033011528..."} 
[2026-07-13 19:05:04] local.INFO: Packet analysis {"connection_id":131584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bad"} 
[2026-07-13 19:05:04] local.INFO: Extracted packet for processing {"connection_id":131584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bad"} 
[2026-07-13 19:05:04] local.INFO: GPS Element Parsed {"raw_longitude":756644800,"raw_latitude":119582880,"longitude_deg":75.66448,"latitude_deg":11.958288,"altitude":51,"angle":277,"satellites":40,"speed":0,"hex_longitude":"2d197bc0","hex_latitude":"0720b0a0","is_valid_coordinates":true} 
[2026-07-13 19:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691068160001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5935889616207872,"note":"Value kept but may cause issues"} 
[2026-07-13 19:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841057484533557248,"note":"Value kept but may cause issues"} 
[2026-07-13 19:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783949506000,"timestamp_ms":1783949506000,"timestamp_seconds":1783949506,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bad35d0"} 
[2026-07-13 19:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-13 19:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":131584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":131584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":131584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691068160001,"66":13102,"103":206,"83":41984,"24":0,"16":5935889616207872,"45":1841057484533557248},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 19:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691068160001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:05:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 19:05:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 19:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5935889616207872,"km_value":5935889616207.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841057484533557248,"description":"Unknown IO ID 45"} 
[2026-07-13 19:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691068160001,"power":13102,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1841057484533557248}} 
[2026-07-13 19:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":131584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:05:04] local.INFO: GPS data processed {"connection_id":131584,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:05:04] local.INFO: Acknowledgment sent {"connection_id":131584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:05:08] local.INFO: TCP Data received {"connection_id":131584,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bad87d8012d197bc00720b0a00033011529..."} 
[2026-07-13 19:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bad87d8012d197bc00720b0a00033011529..."} 
[2026-07-13 19:05:08] local.INFO: Processing buffer {"connection_id":131584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bad87d8012d197bc00720b0a00033011529..."} 
[2026-07-13 19:05:08] local.INFO: Packet analysis {"connection_id":131584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bad"} 
[2026-07-13 19:05:08] local.INFO: Extracted packet for processing {"connection_id":131584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bad"} 
[2026-07-13 19:05:08] local.INFO: GPS Element Parsed {"raw_longitude":756644800,"raw_latitude":119582880,"longitude_deg":75.66448,"latitude_deg":11.958288,"altitude":51,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d197bc0","hex_latitude":"0720b0a0","is_valid_coordinates":true} 
[2026-07-13 19:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691073536001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5935889616207872,"note":"Value kept but may cause issues"} 
[2026-07-13 19:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836272409929359360,"note":"Value kept but may cause issues"} 
[2026-07-13 19:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783949527000,"timestamp_ms":1783949527000,"timestamp_seconds":1783949527,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bad87d8"} 
[2026-07-13 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-07-13 19:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":46,"data_length":795,"current_offset":136} 
[2026-07-13 19:05: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-07-13 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-07-13 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-07-13 19:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691073536001,"66":13015,"103":206,"83":41984,"24":0,"16":5935889616207872,"45":1836272409929359360},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 19:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691073536001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:05:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 19:05:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 19:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5935889616207872,"km_value":5935889616207.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836272409929359360,"description":"Unknown IO ID 45"} 
[2026-07-13 19:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691073536001,"power":13015,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1836272409929359360}} 
[2026-07-13 19:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":131584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:05:08] local.INFO: GPS data processed {"connection_id":131584,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:05:08] local.INFO: Acknowledgment sent {"connection_id":131584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:05:17] local.INFO: TCP Data received {"connection_id":130792,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bae2fd0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bae2fd0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:05:17] local.INFO: Processing buffer {"connection_id":130792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bae2fd0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:05:17] local.INFO: Packet analysis {"connection_id":130792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bae"} 
[2026-07-13 19:05:17] local.INFO: Extracted packet for processing {"connection_id":130792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bae"} 
[2026-07-13 19:05:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691012864001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:05:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783949570000,"timestamp_ms":1783949570000,"timestamp_seconds":1783949570,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bae2fd0"} 
[2026-07-13 19:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:05: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-07-13 19: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":95,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-13 19:05:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":781,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130792,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130792,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691012864001,"66":24973,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 19:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691012864001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:05:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 19:05:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:05:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691012864001,"power":24973,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":130792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481550,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:05:17] local.INFO: GPS data processed {"connection_id":130792,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:05:17] local.INFO: Acknowledgment sent {"connection_id":130792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:05:45] local.INFO: TCP Data received {"connection_id":131586,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131586,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:05:45] local.INFO: Processing buffer {"connection_id":131586,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:05:45] local.INFO: IMEI packet received {"connection_id":131586,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":131586,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:05:50] local.INFO: TCP Data received {"connection_id":131586,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131586,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:05:50] local.INFO: Processing buffer {"connection_id":131586,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:05:50] local.INFO: IMEI packet received {"connection_id":131586,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":131586,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:05:51] local.INFO: TCP Data received {"connection_id":131586,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bae2fd0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bae2fd0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:05:51] local.INFO: Processing buffer {"connection_id":131586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bae2fd0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:05:51] local.INFO: Packet analysis {"connection_id":131586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bae"} 
[2026-07-13 19:05:51] local.INFO: Extracted packet for processing {"connection_id":131586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bae"} 
[2026-07-13 19:05:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691012864001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:05:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783949570000,"timestamp_ms":1783949570000,"timestamp_seconds":1783949570,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bae2fd0"} 
[2026-07-13 19:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":95,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-13 19:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":781,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":131586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":131586,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":131586,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691012864001,"66":24973,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 19:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691012864001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:05:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 19:05:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:05:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691012864001,"power":24973,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":131586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481551,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:05:51] local.INFO: GPS data processed {"connection_id":131586,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:05:51] local.INFO: Acknowledgment sent {"connection_id":131586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:05:52] local.INFO: TCP Data received {"connection_id":132922,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:05:52] local.INFO: Processing buffer {"connection_id":132922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:05:52] local.INFO: IMEI packet received {"connection_id":132922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":132922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:05:53] local.INFO: TCP Data received {"connection_id":132922,"ip":"42.106.6.42","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-13 19:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132922,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-13 19:05:53] local.INFO: Processing buffer {"connection_id":132922,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-13 19:05:53] local.INFO: IMEI packet received {"connection_id":132922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":132922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:05:55] local.INFO: TCP Data received {"connection_id":131586,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bae2fd0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bae2fd0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:05:55] local.INFO: Processing buffer {"connection_id":131586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bae2fd0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:05:55] local.INFO: Packet analysis {"connection_id":131586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bae"} 
[2026-07-13 19:05:55] local.INFO: Extracted packet for processing {"connection_id":131586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bae"} 
[2026-07-13 19:05:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691012864001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:05:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783949570000,"timestamp_ms":1783949570000,"timestamp_seconds":1783949570,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bae2fd0"} 
[2026-07-13 19:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":95,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-13 19:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":781,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:05:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":131586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":131586,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":131586,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691012864001,"66":24973,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 19:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691012864001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:05:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 19:05:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:05:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691012864001,"power":24973,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":131586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481552,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:05:55] local.INFO: GPS data processed {"connection_id":131586,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:05:55] local.INFO: Acknowledgment sent {"connection_id":131586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:05:58] local.INFO: TCP Data received {"connection_id":132922,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:05:58] local.INFO: Processing buffer {"connection_id":132922,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-13 19:05:58] local.INFO: IMEI packet received {"connection_id":132922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":132922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:05:59] local.INFO: TCP Data received {"connection_id":132922,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5baff108012d193c400720b1f00031012f27..."} 
[2026-07-13 19:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5baff108012d193c400720b1f00031012f27..."} 
[2026-07-13 19:05:59] local.INFO: Processing buffer {"connection_id":132922,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f5b..."} 
[2026-07-13 19:05:59] local.INFO: IMEI packet received {"connection_id":132922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":132922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:06:00] local.INFO: TCP Data received {"connection_id":132922,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb000a8012d1930800720b9600031012327..."} 
[2026-07-13 19:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb000a8012d1930800720b9600031012327..."} 
[2026-07-13 19:06:00] local.INFO: Processing buffer {"connection_id":132922,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f5baff108012d193c400720b1f00031012f27..."} 
[2026-07-13 19:06:00] local.INFO: Packet analysis {"connection_id":132922,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f5baf"} 
[2026-07-13 19:06:00] local.INFO: Extracted packet for processing {"connection_id":132922,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5baf"} 
[2026-07-13 19:06:00] local.INFO: GPS Element Parsed {"raw_longitude":756628544,"raw_latitude":119583216,"longitude_deg":75.6628544,"latitude_deg":11.9583216,"altitude":49,"angle":303,"satellites":39,"speed":35,"hex_longitude":"2d193c40","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-07-13 19:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691118592001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5936697070059520,"note":"Value kept but may cause issues"} 
[2026-07-13 19:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821002392442578944,"note":"Value kept but may cause issues"} 
[2026-07-13 19:06: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-07-13 19:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783949685000,"timestamp_ms":1783949685000,"timestamp_seconds":1783949685,"priority":1,"record_length":96,"hex_timestamp":"0000019f5baff108"} 
[2026-07-13 19:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:06: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-07-13 19:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-13 19:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":132922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":132922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":132922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691118592001,"66":14135,"103":206,"83":41984,"24":35,"16":5936697070059520,"45":1821002392442578944},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 19:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691118592001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:06:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 19:06:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 19:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5936697070059520,"km_value":5936697070059.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821002392442578944,"description":"Unknown IO ID 45"} 
[2026-07-13 19:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691118592001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1821002392442578944}} 
[2026-07-13 19:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":132922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:06:00] local.INFO: GPS data processed {"connection_id":132922,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:06:00] local.INFO: Acknowledgment sent {"connection_id":132922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:06:00] local.INFO: Packet analysis {"connection_id":132922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb0"} 
[2026-07-13 19:06:00] local.INFO: Extracted packet for processing {"connection_id":132922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb0"} 
[2026-07-13 19:06:00] local.INFO: GPS Element Parsed {"raw_longitude":756625536,"raw_latitude":119585120,"longitude_deg":75.6625536,"latitude_deg":11.958512,"altitude":49,"angle":291,"satellites":39,"speed":34,"hex_longitude":"2d193080","hex_latitude":"0720b960","is_valid_coordinates":true} 
[2026-07-13 19:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691119360001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5936868868751360,"note":"Value kept but may cause issues"} 
[2026-07-13 19:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818398748908318720,"note":"Value kept but may cause issues"} 
[2026-07-13 19:06: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-07-13 19:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783949689000,"timestamp_ms":1783949689000,"timestamp_seconds":1783949689,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb000a8"} 
[2026-07-13 19:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:06: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-07-13 19:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-13 19:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":132922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":132922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":132922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691119360001,"66":14211,"103":206,"83":41984,"24":34,"16":5936868868751360,"45":1818398748908318720},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 19:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691119360001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:06:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 19:06:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 19:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5936868868751360,"km_value":5936868868751.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818398748908318720,"description":"Unknown IO ID 45"} 
[2026-07-13 19:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691119360001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1818398748908318720}} 
[2026-07-13 19:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":132922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:06:00] local.INFO: GPS data processed {"connection_id":132922,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:06:00] local.INFO: Acknowledgment sent {"connection_id":132922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:06:03] local.INFO: TCP Data received {"connection_id":132922,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb027b8012d190dc00720c7180037012629..."} 
[2026-07-13 19:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb027b8012d190dc00720c7180037012629..."} 
[2026-07-13 19:06:03] local.INFO: Processing buffer {"connection_id":132922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb027b8012d190dc00720c7180037012629..."} 
[2026-07-13 19:06:03] local.INFO: Packet analysis {"connection_id":132922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb0"} 
[2026-07-13 19:06:03] local.INFO: Extracted packet for processing {"connection_id":132922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb0"} 
[2026-07-13 19:06:03] local.INFO: GPS Element Parsed {"raw_longitude":756616640,"raw_latitude":119588632,"longitude_deg":75.661664,"latitude_deg":11.9588632,"altitude":55,"angle":294,"satellites":41,"speed":30,"hex_longitude":"2d190dc0","hex_latitude":"0720c718","is_valid_coordinates":true} 
[2026-07-13 19:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691120384001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5937319840317440,"note":"Value kept but may cause issues"} 
[2026-07-13 19:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1815091417932455936,"note":"Value kept but may cause issues"} 
[2026-07-13 19:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783949699000,"timestamp_ms":1783949699000,"timestamp_seconds":1783949699,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb027b8"} 
[2026-07-13 19:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-13 19:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":132922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":132922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":132922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691120384001,"66":14189,"103":206,"83":41984,"24":30,"16":5937319840317440,"45":1815091417932455936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 19:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691120384001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:06:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 19:06:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 19:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5937319840317440,"km_value":5937319840317.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1815091417932455936,"description":"Unknown IO ID 45"} 
[2026-07-13 19:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691120384001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1815091417932455936}} 
[2026-07-13 19:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":132922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:06:03] local.INFO: GPS data processed {"connection_id":132922,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:06:03] local.INFO: Acknowledgment sent {"connection_id":132922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:06:34] local.INFO: TCP Data received {"connection_id":132922,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb04ec8012d18f9000720d3e8003d01322a..."} 
[2026-07-13 19:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb04ec8012d18f9000720d3e8003d01322a..."} 
[2026-07-13 19:06:34] local.INFO: Processing buffer {"connection_id":132922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb04ec8012d18f9000720d3e8003d01322a..."} 
[2026-07-13 19:06:34] local.INFO: Packet analysis {"connection_id":132922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb0"} 
[2026-07-13 19:06:34] local.INFO: Extracted packet for processing {"connection_id":132922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb0"} 
[2026-07-13 19:06:34] local.INFO: GPS Element Parsed {"raw_longitude":756611328,"raw_latitude":119591912,"longitude_deg":75.6611328,"latitude_deg":11.9591912,"altitude":61,"angle":306,"satellites":42,"speed":25,"hex_longitude":"2d18f900","hex_latitude":"0720d3e8","is_valid_coordinates":true} 
[2026-07-13 19:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691122944001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5937620488028160,"note":"Value kept but may cause issues"} 
[2026-07-13 19:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805310162492659712,"note":"Value kept but may cause issues"} 
[2026-07-13 19:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783949709000,"timestamp_ms":1783949709000,"timestamp_seconds":1783949709,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb04ec8"} 
[2026-07-13 19:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-13 19:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":132922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":132922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":132922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691122944001,"66":14189,"103":206,"83":41984,"24":25,"16":5937620488028160,"45":1805310162492659712},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 19:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691122944001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:06:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 19:06:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 19:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5937620488028160,"km_value":5937620488028.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805310162492659712,"description":"Unknown IO ID 45"} 
[2026-07-13 19:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691122944001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1805310162492659712}} 
[2026-07-13 19:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":132922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:06:34] local.INFO: GPS data processed {"connection_id":132922,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:06:34] local.INFO: Acknowledgment sent {"connection_id":132922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:06:40] local.INFO: TCP Data received {"connection_id":132923,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132923,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:06:40] local.INFO: Processing buffer {"connection_id":132923,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:06:40] local.INFO: IMEI packet received {"connection_id":132923,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":132923,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:06:44] local.INFO: TCP Data received {"connection_id":132923,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132923,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:06:44] local.INFO: Processing buffer {"connection_id":132923,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:06:44] local.INFO: IMEI packet received {"connection_id":132923,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":132923,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:06:46] local.INFO: TCP Data received {"connection_id":132923,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bae2fd0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bae2fd0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:06:46] local.INFO: Processing buffer {"connection_id":132923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bae2fd0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:06:46] local.INFO: Packet analysis {"connection_id":132923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bae"} 
[2026-07-13 19:06:46] local.INFO: Extracted packet for processing {"connection_id":132923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bae"} 
[2026-07-13 19:06:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691012864001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:06:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783949570000,"timestamp_ms":1783949570000,"timestamp_seconds":1783949570,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bae2fd0"} 
[2026-07-13 19:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-13 19:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":781,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691012864001,"66":24973,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 19:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691012864001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:06:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 19:06:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:06:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691012864001,"power":24973,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":132923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481557,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:06:46] local.INFO: GPS data processed {"connection_id":132923,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:06:46] local.INFO: Acknowledgment sent {"connection_id":132923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:06:54] local.INFO: TCP Data received {"connection_id":130565,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:06:54] local.INFO: Processing buffer {"connection_id":130565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:06:54] local.INFO: IMEI packet received {"connection_id":130565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":130565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:06:58] local.INFO: TCP Data received {"connection_id":130565,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:06:58] local.INFO: Processing buffer {"connection_id":130565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:06:58] local.INFO: IMEI packet received {"connection_id":130565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":130565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:07:00] local.INFO: TCP Data received {"connection_id":130565,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb0fe90012d18c2c007215328003e015427..."} 
[2026-07-13 19:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb0fe90012d18c2c007215328003e015427..."} 
[2026-07-13 19:07:00] local.INFO: Processing buffer {"connection_id":130565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb0fe90012d18c2c007215328003e015427..."} 
[2026-07-13 19:07:00] local.INFO: Packet analysis {"connection_id":130565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb0"} 
[2026-07-13 19:07:00] local.INFO: Extracted packet for processing {"connection_id":130565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb0"} 
[2026-07-13 19:07:00] local.INFO: GPS Element Parsed {"raw_longitude":756597440,"raw_latitude":119624488,"longitude_deg":75.659744,"latitude_deg":11.9624488,"altitude":62,"angle":340,"satellites":39,"speed":28,"hex_longitude":"2d18c2c0","hex_latitude":"07215328","is_valid_coordinates":true} 
[2026-07-13 19:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691135744001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5939398604488704,"note":"Value kept but may cause issues"} 
[2026-07-13 19:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382968475648,"note":"Value kept but may cause issues"} 
[2026-07-13 19:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783949754000,"timestamp_ms":1783949754000,"timestamp_seconds":1783949754,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb0fe90"} 
[2026-07-13 19:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:07: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-07-13 19: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-13 19:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:07:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":130565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":130565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":130565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691135744001,"66":14037,"106":206,"83":41984,"24":28,"16":5939398604488704,"45":1784551382968475648},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-13 19:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691135744001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:07:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-13 19:07:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 19:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5939398604488704,"km_value":5939398604488.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382968475648,"description":"Unknown IO ID 45"} 
[2026-07-13 19:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691135744001,"power":14037,"unknown_106":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1784551382968475648}} 
[2026-07-13 19:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":130565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:07:00] local.INFO: GPS data processed {"connection_id":130565,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:07:00] local.INFO: Acknowledgment sent {"connection_id":130565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:07:01] local.INFO: TCP Data received {"connection_id":130565,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb10660012d18bfc0072157c8003f014427..."} 
[2026-07-13 19:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb10660012d18bfc0072157c8003f014427..."} 
[2026-07-13 19:07:01] local.INFO: Processing buffer {"connection_id":130565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb10660012d18bfc0072157c8003f014427..."} 
[2026-07-13 19:07:01] local.INFO: Packet analysis {"connection_id":130565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb1"} 
[2026-07-13 19:07:01] local.INFO: Extracted packet for processing {"connection_id":130565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb1"} 
[2026-07-13 19:07:01] local.INFO: GPS Element Parsed {"raw_longitude":756596672,"raw_latitude":119625672,"longitude_deg":75.6596672,"latitude_deg":11.9625672,"altitude":63,"angle":324,"satellites":39,"speed":27,"hex_longitude":"2d18bfc0","hex_latitude":"072157c8","is_valid_coordinates":true} 
[2026-07-13 19:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691137024001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5939463028998144,"note":"Value kept but may cause issues"} 
[2026-07-13 19:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784199539248539648,"note":"Value kept but may cause issues"} 
[2026-07-13 19:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783949756000,"timestamp_ms":1783949756000,"timestamp_seconds":1783949756,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb10660"} 
[2026-07-13 19:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-07-13 19:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2385,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":130565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":130565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":130565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691137024001,"66":13993,"106":206,"83":41984,"24":27,"16":5939463028998144,"45":1784199539248539648},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-13 19:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691137024001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:07:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-13 19:07:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 19:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5939463028998144,"km_value":5939463028998.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784199539248539648,"description":"Unknown IO ID 45"} 
[2026-07-13 19:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691137024001,"power":13993,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1784199539248539648}} 
[2026-07-13 19:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":130565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:07:01] local.INFO: GPS data processed {"connection_id":130565,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:07:01] local.INFO: Acknowledgment sent {"connection_id":130565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:07:17] local.INFO: TCP Data received {"connection_id":132923,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bae2fd0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bae2fd0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:07:17] local.INFO: Processing buffer {"connection_id":132923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bae2fd0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:07:17] local.INFO: Packet analysis {"connection_id":132923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bae"} 
[2026-07-13 19:07:17] local.INFO: Extracted packet for processing {"connection_id":132923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bae"} 
[2026-07-13 19:07:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691012864001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:07:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783949570000,"timestamp_ms":1783949570000,"timestamp_seconds":1783949570,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bae2fd0"} 
[2026-07-13 19:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:07: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-07-13 19:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-13 19:07:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":781,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:07:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691012864001,"66":24973,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 19:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691012864001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:07:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 19:07:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:07:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691012864001,"power":24973,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":132923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481560,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:07:17] local.INFO: GPS data processed {"connection_id":132923,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:07:17] local.INFO: Acknowledgment sent {"connection_id":132923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:07:33] local.INFO: TCP Data received {"connection_id":130565,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb13540012d18ac8007217108004501362a..."} 
[2026-07-13 19:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb13540012d18ac8007217108004501362a..."} 
[2026-07-13 19:07:33] local.INFO: Processing buffer {"connection_id":130565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb13540012d18ac8007217108004501362a..."} 
[2026-07-13 19:07:33] local.INFO: Packet analysis {"connection_id":130565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb1"} 
[2026-07-13 19:07:33] local.INFO: Extracted packet for processing {"connection_id":130565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb1"} 
[2026-07-13 19:07:33] local.INFO: GPS Element Parsed {"raw_longitude":756591744,"raw_latitude":119632136,"longitude_deg":75.6591744,"latitude_deg":11.9632136,"altitude":69,"angle":310,"satellites":42,"speed":24,"hex_longitude":"2d18ac80","hex_latitude":"07217108","is_valid_coordinates":true} 
[2026-07-13 19:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691137536001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5939858165989376,"note":"Value kept but may cause issues"} 
[2026-07-13 19:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783355114318710784,"note":"Value kept but may cause issues"} 
[2026-07-13 19:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783949768000,"timestamp_ms":1783949768000,"timestamp_seconds":1783949768,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb13540"} 
[2026-07-13 19:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-13 19:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":130565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":130565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":130565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691137536001,"66":13993,"106":206,"83":41984,"24":24,"16":5939858165989376,"45":1783355114318710784},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-13 19:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691137536001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:07:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-13 19:07:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 19:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5939858165989376,"km_value":5939858165989.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783355114318710784,"description":"Unknown IO ID 45"} 
[2026-07-13 19:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691137536001,"power":13993,"unknown_106":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1783355114318710784}} 
[2026-07-13 19:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":130565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:07:33] local.INFO: GPS data processed {"connection_id":130565,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:07:33] local.INFO: Acknowledgment sent {"connection_id":130565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:07:40] local.INFO: TCP Data received {"connection_id":132924,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:07:40] local.INFO: Processing buffer {"connection_id":132924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:07:40] local.INFO: IMEI packet received {"connection_id":132924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":132924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:07:44] local.INFO: TCP Data received {"connection_id":132924,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:07:44] local.INFO: Processing buffer {"connection_id":132924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:07:44] local.INFO: IMEI packet received {"connection_id":132924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":132924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:07:46] local.INFO: TCP Data received {"connection_id":132924,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bae2fd0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bae2fd0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:07:46] local.INFO: Processing buffer {"connection_id":132924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bae2fd0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:07:46] local.INFO: Packet analysis {"connection_id":132924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bae"} 
[2026-07-13 19:07:46] local.INFO: Extracted packet for processing {"connection_id":132924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bae"} 
[2026-07-13 19:07:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691012864001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:07:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783949570000,"timestamp_ms":1783949570000,"timestamp_seconds":1783949570,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bae2fd0"} 
[2026-07-13 19:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:07: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":95,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-13 19:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":781,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691012864001,"66":24973,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 19:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691012864001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:07:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 19:07:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:07:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691012864001,"power":24973,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":132924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481562,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:07:46] local.INFO: GPS data processed {"connection_id":132924,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:07:46] local.INFO: Acknowledgment sent {"connection_id":132924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:07:50] local.INFO: TCP Data received {"connection_id":130793,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:07:50] local.INFO: Processing buffer {"connection_id":130793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:07:50] local.INFO: IMEI packet received {"connection_id":130793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":130793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:07:53] local.INFO: TCP Data received {"connection_id":130793,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:07:53] local.INFO: Processing buffer {"connection_id":130793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:07:53] local.INFO: IMEI packet received {"connection_id":130793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":130793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:07:53] local.INFO: TCP Data received {"connection_id":130793,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:07:53] local.INFO: Processing buffer {"connection_id":130793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:07:53] local.INFO: IMEI packet received {"connection_id":130793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":130793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:07:58] local.INFO: TCP Data received {"connection_id":130793,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:07:58] local.INFO: Processing buffer {"connection_id":130793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:07:58] local.INFO: IMEI packet received {"connection_id":130793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":130793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:07:58] local.INFO: TCP Data received {"connection_id":130793,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb20830012d181f800721a548004d013b25..."} 
[2026-07-13 19:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb20830012d181f800721a548004d013b25..."} 
[2026-07-13 19:07:58] local.INFO: Processing buffer {"connection_id":130793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb20830012d181f800721a548004d013b25..."} 
[2026-07-13 19:07:58] local.INFO: Packet analysis {"connection_id":130793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb2"} 
[2026-07-13 19:07:58] local.INFO: Extracted packet for processing {"connection_id":130793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb2"} 
[2026-07-13 19:07:58] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119645512,"longitude_deg":75.6555648,"latitude_deg":11.9645512,"altitude":77,"angle":315,"satellites":37,"speed":6,"hex_longitude":"2d181f80","hex_latitude":"0721a548","is_valid_coordinates":true} 
[2026-07-13 19:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691153920001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5941735066697728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593026746368,"note":"Value kept but may cause issues"} 
[2026-07-13 19:07: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-07-13 19:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783949822000,"timestamp_ms":1783949822000,"timestamp_seconds":1783949822,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb20830"} 
[2026-07-13 19:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-07-13 19:07:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:07:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691153920001,"66":13678,"105":206,"83":41984,"24":6,"16":5941735066697728,"45":1738600593026746368},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-13 19:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691153920001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:07:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-13 19:07:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 19:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5941735066697728,"km_value":5941735066697.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593026746368,"description":"Unknown IO ID 45"} 
[2026-07-13 19:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691153920001,"power":13678,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1738600593026746368}} 
[2026-07-13 19:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":130793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:07:58] local.INFO: GPS data processed {"connection_id":130793,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:07:58] local.INFO: Acknowledgment sent {"connection_id":130793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:08:17] local.INFO: TCP Data received {"connection_id":132924,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bae2fd0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bae2fd0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:08:17] local.INFO: Processing buffer {"connection_id":132924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bae2fd0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:08:17] local.INFO: Packet analysis {"connection_id":132924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bae"} 
[2026-07-13 19:08:17] local.INFO: Extracted packet for processing {"connection_id":132924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bae"} 
[2026-07-13 19:08:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691012864001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:08:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783949570000,"timestamp_ms":1783949570000,"timestamp_seconds":1783949570,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bae2fd0"} 
[2026-07-13 19:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:08: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-07-13 19:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-13 19:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":781,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691012864001,"66":24973,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 19:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691012864001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:08:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 19:08:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:08:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691012864001,"power":24973,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":132924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481564,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:08:18] local.INFO: GPS data processed {"connection_id":132924,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:08:18] local.INFO: Acknowledgment sent {"connection_id":132924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:08:29] local.INFO: TCP Data received {"connection_id":130793,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb22f40012d181d400721a750004d000624..."} 
[2026-07-13 19:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb22f40012d181d400721a750004d000624..."} 
[2026-07-13 19:08:29] local.INFO: Processing buffer {"connection_id":130793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb22f40012d181d400721a750004d000624..."} 
[2026-07-13 19:08:29] local.INFO: Packet analysis {"connection_id":130793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb2"} 
[2026-07-13 19:08:29] local.INFO: Extracted packet for processing {"connection_id":130793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb2"} 
[2026-07-13 19:08:29] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119646032,"longitude_deg":75.6555072,"latitude_deg":11.9646032,"altitude":77,"angle":6,"satellites":36,"speed":9,"hex_longitude":"2d181d40","hex_latitude":"0721a750","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691154432001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5941773721403392,"note":"Value kept but may cause issues"} 
[2026-07-13 19:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749305907200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:08: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-07-13 19:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783949832000,"timestamp_ms":1783949832000,"timestamp_seconds":1783949832,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb22f40"} 
[2026-07-13 19:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:08: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-07-13 19:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-07-13 19:08: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-07-13 19: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-07-13 19:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691154432001,"66":13646,"105":206,"83":41984,"24":9,"16":5941773721403392,"45":1738248749305907200},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-13 19:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691154432001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:08:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-13 19:08:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 19:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5941773721403392,"km_value":5941773721403.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749305907200,"description":"Unknown IO ID 45"} 
[2026-07-13 19:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691154432001,"power":13646,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1738248749305907200}} 
[2026-07-13 19:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":130793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:08:29] local.INFO: GPS data processed {"connection_id":130793,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:08:29] local.INFO: Acknowledgment sent {"connection_id":130793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:08:39] local.INFO: TCP Data received {"connection_id":132925,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132925,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:08:39] local.INFO: Processing buffer {"connection_id":132925,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:08:39] local.INFO: IMEI packet received {"connection_id":132925,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":132925,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:08:44] local.INFO: TCP Data received {"connection_id":132925,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132925,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:08:44] local.INFO: Processing buffer {"connection_id":132925,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:08:45] local.INFO: IMEI packet received {"connection_id":132925,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":132925,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:08:45] local.INFO: TCP Data received {"connection_id":132925,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb2c798012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb2c798012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:08:45] local.INFO: Processing buffer {"connection_id":132925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb2c798012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:08:45] local.INFO: Packet analysis {"connection_id":132925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb2"} 
[2026-07-13 19:08:45] local.INFO: Extracted packet for processing {"connection_id":132925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb2"} 
[2026-07-13 19:08:45] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691089920001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:08:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783949871000,"timestamp_ms":1783949871000,"timestamp_seconds":1783949871,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb2c798"} 
[2026-07-13 19:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 19:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132925,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132925,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691089920001,"66":24962,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 19:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691089920001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:08:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 19:08:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:08:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691089920001,"power":24962,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":132925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481566,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:08:46] local.INFO: GPS data processed {"connection_id":132925,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:08:46] local.INFO: Acknowledgment sent {"connection_id":132925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:08:53] local.INFO: TCP Data received {"connection_id":130567,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:08:53] local.INFO: Processing buffer {"connection_id":130567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:08:53] local.INFO: IMEI packet received {"connection_id":130567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":130567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:08:58] local.INFO: TCP Data received {"connection_id":130567,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:08:58] local.INFO: Processing buffer {"connection_id":130567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:08:58] local.INFO: IMEI packet received {"connection_id":130567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":130567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:08:58] local.INFO: TCP Data received {"connection_id":130567,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb23710012d181e000721a9a0004d001a24..."} 
[2026-07-13 19:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb23710012d181e000721a9a0004d001a24..."} 
[2026-07-13 19:08:58] local.INFO: Processing buffer {"connection_id":130567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb23710012d181e000721a9a0004d001a24..."} 
[2026-07-13 19:08:58] local.INFO: Packet analysis {"connection_id":130567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb2"} 
[2026-07-13 19:08:58] local.INFO: Extracted packet for processing {"connection_id":130567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb2"} 
[2026-07-13 19:08:58] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119646624,"longitude_deg":75.6555264,"latitude_deg":11.9646624,"altitude":77,"angle":26,"satellites":36,"speed":14,"hex_longitude":"2d181e00","hex_latitude":"0721a9a0","is_valid_coordinates":true} 
[2026-07-13 19:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691156992001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5941803786174464,"note":"Value kept but may cause issues"} 
[2026-07-13 19:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608441344,"note":"Value kept but may cause issues"} 
[2026-07-13 19:08: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-07-13 19:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783949834000,"timestamp_ms":1783949834000,"timestamp_seconds":1783949834,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb23710"} 
[2026-07-13 19:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-13 19:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691156992001,"66":13624,"105":206,"83":41984,"24":14,"16":5941803786174464,"45":1737615430608441344},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-13 19:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691156992001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:08:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-13 19:08:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 19:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5941803786174464,"km_value":5941803786174.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608441344,"description":"Unknown IO ID 45"} 
[2026-07-13 19:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691156992001,"power":13624,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1737615430608441344}} 
[2026-07-13 19:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":130567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:08:58] local.INFO: GPS data processed {"connection_id":130567,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:08:58] local.INFO: Acknowledgment sent {"connection_id":130567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:09:04] local.INFO: TCP Data received {"connection_id":131587,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:09:04] local.INFO: Processing buffer {"connection_id":131587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:09:04] local.INFO: IMEI packet received {"connection_id":131587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":131587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:09:05] local.INFO: TCP Data received {"connection_id":131587,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5baf6468012d7f914005afd9380017011b24..."} 
[2026-07-13 19:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5baf6468012d7f914005afd9380017011b24..."} 
[2026-07-13 19:09:05] local.INFO: Processing buffer {"connection_id":131587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5baf6468012d7f914005afd9380017011b24..."} 
[2026-07-13 19:09:05] local.INFO: Packet analysis {"connection_id":131587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5baf"} 
[2026-07-13 19:09:05] local.INFO: Extracted packet for processing {"connection_id":131587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5baf"} 
[2026-07-13 19:09:05] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":23,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691033088001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783949649000,"timestamp_ms":1783949649000,"timestamp_seconds":1783949649,"priority":1,"record_length":96,"hex_timestamp":"0000019f5baf6468"} 
[2026-07-13 19:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":131587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":131587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":131587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691033088001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691033088001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:09:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:09:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691033088001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":131587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:09:05] local.INFO: GPS data processed {"connection_id":131587,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:09:05] local.INFO: Acknowledgment sent {"connection_id":131587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:09:17] local.INFO: TCP Data received {"connection_id":132925,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb2c798012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb2c798012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:09:17] local.INFO: Processing buffer {"connection_id":132925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb2c798012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:09:17] local.INFO: Packet analysis {"connection_id":132925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb2"} 
[2026-07-13 19:09:17] local.INFO: Extracted packet for processing {"connection_id":132925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb2"} 
[2026-07-13 19:09:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691089920001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:09:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783949871000,"timestamp_ms":1783949871000,"timestamp_seconds":1783949871,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb2c798"} 
[2026-07-13 19:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:09: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-07-13 19:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 19:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132925,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132925,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691089920001,"66":24962,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 19:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691089920001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:09:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 19:09:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:09:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691089920001,"power":24962,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":132925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481569,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:09:17] local.INFO: GPS data processed {"connection_id":132925,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:09:17] local.INFO: Acknowledgment sent {"connection_id":132925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:09:34] local.INFO: TCP Data received {"connection_id":130568,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:09:34] local.INFO: Processing buffer {"connection_id":130568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:09:34] local.INFO: IMEI packet received {"connection_id":130568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":130568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:09:34] local.INFO: TCP Data received {"connection_id":130567,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb26dc0012d1830400721c7500051001e27..."} 
[2026-07-13 19:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb26dc0012d1830400721c7500051001e27..."} 
[2026-07-13 19:09:34] local.INFO: Processing buffer {"connection_id":130567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb26dc0012d1830400721c7500051001e27..."} 
[2026-07-13 19:09:34] local.INFO: Packet analysis {"connection_id":130567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb2"} 
[2026-07-13 19:09:34] local.INFO: Extracted packet for processing {"connection_id":130567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb2"} 
[2026-07-13 19:09:34] local.INFO: GPS Element Parsed {"raw_longitude":756559936,"raw_latitude":119654224,"longitude_deg":75.6559936,"latitude_deg":11.9654224,"altitude":81,"angle":30,"satellites":39,"speed":30,"hex_longitude":"2d183040","hex_latitude":"0721c750","is_valid_coordinates":true} 
[2026-07-13 19:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691157504001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5942233282904064,"note":"Value kept but may cause issues"} 
[2026-07-13 19:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841125888,"note":"Value kept but may cause issues"} 
[2026-07-13 19:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783949848000,"timestamp_ms":1783949848000,"timestamp_seconds":1783949848,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb26dc0"} 
[2026-07-13 19:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:09: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-07-13 19: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-13 19:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":130567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":130567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":130567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691157504001,"66":13493,"105":206,"83":41984,"24":30,"16":5942233282904064,"45":1737826536841125888},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-13 19:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691157504001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:09:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-13 19:09:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 19:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5942233282904064,"km_value":5942233282904.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841125888,"description":"Unknown IO ID 45"} 
[2026-07-13 19:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691157504001,"power":13493,"unknown_105":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1737826536841125888}} 
[2026-07-13 19:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":130567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:09:34] local.INFO: GPS data processed {"connection_id":130567,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:09:34] local.INFO: Acknowledgment sent {"connection_id":130567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:09:39] local.INFO: TCP Data received {"connection_id":130568,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:09:39] local.INFO: Processing buffer {"connection_id":130568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:09:39] local.INFO: IMEI packet received {"connection_id":130568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":130568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:09:40] local.INFO: TCP Data received {"connection_id":130568,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5baf6468012d7f914005afd9380017011b24..."} 
[2026-07-13 19:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5baf6468012d7f914005afd9380017011b24..."} 
[2026-07-13 19:09:40] local.INFO: Processing buffer {"connection_id":130568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5baf6468012d7f914005afd9380017011b24..."} 
[2026-07-13 19:09:40] local.INFO: Packet analysis {"connection_id":130568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5baf"} 
[2026-07-13 19:09:40] local.INFO: Extracted packet for processing {"connection_id":130568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5baf"} 
[2026-07-13 19:09:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":23,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691033088001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783949649000,"timestamp_ms":1783949649000,"timestamp_seconds":1783949649,"priority":1,"record_length":96,"hex_timestamp":"0000019f5baf6468"} 
[2026-07-13 19:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691033088001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691033088001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:09:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:09:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691033088001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":130568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:09:40] local.INFO: GPS data processed {"connection_id":130568,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:09:40] local.INFO: Acknowledgment sent {"connection_id":130568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:09:44] local.INFO: TCP Data received {"connection_id":132926,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132926,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:09:44] local.INFO: Processing buffer {"connection_id":132926,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:09:44] local.INFO: IMEI packet received {"connection_id":132926,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":132926,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:09:46] local.INFO: TCP Data received {"connection_id":132926,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb2c798012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb2c798012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:09:46] local.INFO: Processing buffer {"connection_id":132926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb2c798012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:09:46] local.INFO: Packet analysis {"connection_id":132926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb2"} 
[2026-07-13 19:09:46] local.INFO: Extracted packet for processing {"connection_id":132926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb2"} 
[2026-07-13 19:09:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691089920001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:09:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783949871000,"timestamp_ms":1783949871000,"timestamp_seconds":1783949871,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb2c798"} 
[2026-07-13 19:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 19:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132926,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132926,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691089920001,"66":24962,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 19:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691089920001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:09:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 19:09:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:09:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691089920001,"power":24962,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":132926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481572,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:09:46] local.INFO: GPS data processed {"connection_id":132926,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:09:46] local.INFO: Acknowledgment sent {"connection_id":132926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:10:12] local.INFO: TCP Data received {"connection_id":130568,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb3fc30012d7f914005afd9380018011b23..."} 
[2026-07-13 19:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb3fc30012d7f914005afd9380018011b23..."} 
[2026-07-13 19:10:12] local.INFO: Processing buffer {"connection_id":130568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb3fc30012d7f914005afd9380018011b23..."} 
[2026-07-13 19:10:12] local.INFO: Packet analysis {"connection_id":130568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb3"} 
[2026-07-13 19:10:12] local.INFO: Extracted packet for processing {"connection_id":130568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb3"} 
[2026-07-13 19:10:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691110144001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783949950000,"timestamp_ms":1783949950000,"timestamp_seconds":1783949950,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb3fc30"} 
[2026-07-13 19:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691110144001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691110144001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:10:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:10:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691110144001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":130568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:10:12] local.INFO: GPS data processed {"connection_id":130568,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:10:12] local.INFO: Acknowledgment sent {"connection_id":130568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:10:17] local.INFO: TCP Data received {"connection_id":132926,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb2c798012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb2c798012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:10:17] local.INFO: Processing buffer {"connection_id":132926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb2c798012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:10:17] local.INFO: Packet analysis {"connection_id":132926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb2"} 
[2026-07-13 19:10:17] local.INFO: Extracted packet for processing {"connection_id":132926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb2"} 
[2026-07-13 19:10:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691089920001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:10:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783949871000,"timestamp_ms":1783949871000,"timestamp_seconds":1783949871,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb2c798"} 
[2026-07-13 19:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:10: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-07-13 19:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 19:10:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132926,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132926,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691089920001,"66":24962,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 19:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691089920001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:10:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 19:10:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:10:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691089920001,"power":24962,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":132926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481574,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:10:17] local.INFO: GPS data processed {"connection_id":132926,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:10:17] local.INFO: Acknowledgment sent {"connection_id":132926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:10:34] local.INFO: TCP Data received {"connection_id":130794,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:10:34] local.INFO: Processing buffer {"connection_id":130794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:10:34] local.INFO: IMEI packet received {"connection_id":130794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":130794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:10:39] local.INFO: TCP Data received {"connection_id":130794,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:10:39] local.INFO: Processing buffer {"connection_id":130794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:10:39] local.INFO: IMEI packet received {"connection_id":130794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":130794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:10:40] local.INFO: TCP Data received {"connection_id":131588,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:10:40] local.INFO: Processing buffer {"connection_id":131588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:10:40] local.INFO: IMEI packet received {"connection_id":131588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":131588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:10:43] local.INFO: TCP Data received {"connection_id":130569,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:10:43] local.INFO: Processing buffer {"connection_id":130569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:10:43] local.INFO: IMEI packet received {"connection_id":130569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":130569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:10:43] local.INFO: TCP Data received {"connection_id":130569,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:10:43] local.INFO: Processing buffer {"connection_id":130569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:10:43] local.INFO: IMEI packet received {"connection_id":130569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":130569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:10:44] local.INFO: TCP Data received {"connection_id":130794,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb3fc30012d7f914005afd9380018011b23..."} 
[2026-07-13 19:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb3fc30012d7f914005afd9380018011b23..."} 
[2026-07-13 19:10:44] local.INFO: Processing buffer {"connection_id":130794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb3fc30012d7f914005afd9380018011b23..."} 
[2026-07-13 19:10:44] local.INFO: Packet analysis {"connection_id":130794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb3"} 
[2026-07-13 19:10:44] local.INFO: Extracted packet for processing {"connection_id":130794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb3"} 
[2026-07-13 19:10:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691110144001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783949950000,"timestamp_ms":1783949950000,"timestamp_seconds":1783949950,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb3fc30"} 
[2026-07-13 19:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:10:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:10:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691110144001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691110144001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:10:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:10:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691110144001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":130794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:10:44] local.INFO: GPS data processed {"connection_id":130794,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:10:44] local.INFO: Acknowledgment sent {"connection_id":130794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:10:44] local.INFO: TCP Data received {"connection_id":130569,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb4a810012d18fd800722fe30005f003024..."} 
[2026-07-13 19:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb4a810012d18fd800722fe30005f003024..."} 
[2026-07-13 19:10:44] local.INFO: Processing buffer {"connection_id":130569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb4a810012d18fd800722fe30005f003024..."} 
[2026-07-13 19:10:44] local.INFO: Packet analysis {"connection_id":130569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb4"} 
[2026-07-13 19:10:44] local.INFO: Extracted packet for processing {"connection_id":130569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb4"} 
[2026-07-13 19:10:44] local.INFO: GPS Element Parsed {"raw_longitude":756612480,"raw_latitude":119733808,"longitude_deg":75.661248,"latitude_deg":11.9733808,"altitude":95,"angle":48,"satellites":36,"speed":36,"hex_longitude":"2d18fd80","hex_latitude":"0722fe30","is_valid_coordinates":true} 
[2026-07-13 19:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691198208001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5947477437972480,"note":"Value kept but may cause issues"} 
[2026-07-13 19:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799962137972174848,"note":"Value kept but may cause issues"} 
[2026-07-13 19:10:44] 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-07-13 19:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783949994000,"timestamp_ms":1783949994000,"timestamp_seconds":1783949994,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb4a810"} 
[2026-07-13 19:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-07-13 19:10:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:10:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691198208001,"66":13167,"186":206,"83":42752,"24":36,"16":5947477437972480,"45":1799962137972174848},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-07-13 19:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691198208001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:10:44] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-13 19:10:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5947477437972480,"km_value":5947477437972.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799962137972174848,"description":"Unknown IO ID 45"} 
[2026-07-13 19:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691198208001,"power":13167,"unknown_186":206,"unknown_83":42752,"ignition":36,"odometer":null,"unknown_45":1799962137972174848}} 
[2026-07-13 19:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":130569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:10:44] local.INFO: GPS data processed {"connection_id":130569,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:10:44] local.INFO: Acknowledgment sent {"connection_id":130569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:10:44] local.INFO: TCP Data received {"connection_id":131588,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:10:44] local.INFO: Processing buffer {"connection_id":131588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:10:44] local.INFO: IMEI packet received {"connection_id":131588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":131588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:10:46] local.INFO: TCP Data received {"connection_id":131588,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb2c798012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb2c798012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:10:46] local.INFO: Processing buffer {"connection_id":131588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb2c798012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:10:46] local.INFO: Packet analysis {"connection_id":131588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb2"} 
[2026-07-13 19:10:46] local.INFO: Extracted packet for processing {"connection_id":131588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb2"} 
[2026-07-13 19:10:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691089920001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:10:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783949871000,"timestamp_ms":1783949871000,"timestamp_seconds":1783949871,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb2c798"} 
[2026-07-13 19:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 19:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691089920001,"66":24962,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 19:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691089920001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:10:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 19:10:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:10:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691089920001,"power":24962,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":131588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481577,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:10:46] local.INFO: GPS data processed {"connection_id":131588,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:10:46] local.INFO: Acknowledgment sent {"connection_id":131588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:11:02] local.INFO: TCP Data received {"connection_id":130569,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb4afe0012d190280072303b0005e002324..."} 
[2026-07-13 19:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb4afe0012d190280072303b0005e002324..."} 
[2026-07-13 19:11:02] local.INFO: Processing buffer {"connection_id":130569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb4afe0012d190280072303b0005e002324..."} 
[2026-07-13 19:11:02] local.INFO: Packet analysis {"connection_id":130569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb4"} 
[2026-07-13 19:11:02] local.INFO: Extracted packet for processing {"connection_id":130569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb4"} 
[2026-07-13 19:11:02] local.INFO: GPS Element Parsed {"raw_longitude":756613760,"raw_latitude":119735216,"longitude_deg":75.661376,"latitude_deg":11.9735216,"altitude":94,"angle":35,"satellites":36,"speed":37,"hex_longitude":"2d190280","hex_latitude":"072303b0","is_valid_coordinates":true} 
[2026-07-13 19:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691198464001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5947571927252992,"note":"Value kept but may cause issues"} 
[2026-07-13 19:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800736194158276608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:11:02] 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-07-13 19:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783949996000,"timestamp_ms":1783949996000,"timestamp_seconds":1783949996,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb4afe0"} 
[2026-07-13 19:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-13 19:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":130569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":130569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":130569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691198464001,"66":13015,"186":206,"83":42752,"24":37,"16":5947571927252992,"45":1800736194158276608},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-07-13 19:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691198464001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:11:02] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-13 19:11:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5947571927252992,"km_value":5947571927252.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800736194158276608,"description":"Unknown IO ID 45"} 
[2026-07-13 19:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691198464001,"power":13015,"unknown_186":206,"unknown_83":42752,"ignition":37,"odometer":null,"unknown_45":1800736194158276608}} 
[2026-07-13 19:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":130569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:11:02] local.INFO: GPS data processed {"connection_id":130569,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:11:02] local.INFO: Acknowledgment sent {"connection_id":130569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:11:15] local.INFO: TCP Data received {"connection_id":130794,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb3fc30012d7f914005afd9380018011b23..."} 
[2026-07-13 19:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb3fc30012d7f914005afd9380018011b23..."} 
[2026-07-13 19:11:15] local.INFO: Processing buffer {"connection_id":130794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb3fc30012d7f914005afd9380018011b23..."} 
[2026-07-13 19:11:15] local.INFO: Packet analysis {"connection_id":130794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb3"} 
[2026-07-13 19:11:15] local.INFO: Extracted packet for processing {"connection_id":130794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb3"} 
[2026-07-13 19:11:15] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691110144001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783949950000,"timestamp_ms":1783949950000,"timestamp_seconds":1783949950,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb3fc30"} 
[2026-07-13 19:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:11:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691110144001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691110144001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:11:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:11:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691110144001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":130794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:11:15] local.INFO: GPS data processed {"connection_id":130794,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:11:15] local.INFO: Acknowledgment sent {"connection_id":130794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:11:17] local.INFO: TCP Data received {"connection_id":131588,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb2c798012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb2c798012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:11:17] local.INFO: Processing buffer {"connection_id":131588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb2c798012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:11:17] local.INFO: Packet analysis {"connection_id":131588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb2"} 
[2026-07-13 19:11:17] local.INFO: Extracted packet for processing {"connection_id":131588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb2"} 
[2026-07-13 19:11:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691089920001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:11:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783949871000,"timestamp_ms":1783949871000,"timestamp_seconds":1783949871,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb2c798"} 
[2026-07-13 19:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:11: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-07-13 19:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 19:11:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:11:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691089920001,"66":24962,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 19:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691089920001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:11:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 19:11:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:11:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691089920001,"power":24962,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":131588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481580,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:11:18] local.INFO: GPS data processed {"connection_id":131588,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:11:18] local.INFO: Acknowledgment sent {"connection_id":131588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:11:33] local.INFO: TCP Data received {"connection_id":130569,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb4d308012d19184007231ef8005a002c22..."} 
[2026-07-13 19:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb4d308012d19184007231ef8005a002c22..."} 
[2026-07-13 19:11:33] local.INFO: Processing buffer {"connection_id":130569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb4d308012d19184007231ef8005a002c22..."} 
[2026-07-13 19:11:33] local.INFO: Packet analysis {"connection_id":130569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb4"} 
[2026-07-13 19:11:33] local.INFO: Extracted packet for processing {"connection_id":130569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb4"} 
[2026-07-13 19:11:33] local.INFO: GPS Element Parsed {"raw_longitude":756619328,"raw_latitude":119742200,"longitude_deg":75.6619328,"latitude_deg":11.97422,"altitude":90,"angle":44,"satellites":34,"speed":41,"hex_longitude":"2d191840","hex_latitude":"07231ef8","is_valid_coordinates":true} 
[2026-07-13 19:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691198976001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5948001423982592,"note":"Value kept but may cause issues"} 
[2026-07-13 19:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802143569042190336,"note":"Value kept but may cause issues"} 
[2026-07-13 19:11:33] 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-07-13 19:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783950005000,"timestamp_ms":1783950005000,"timestamp_seconds":1783950005,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb4d308"} 
[2026-07-13 19:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-13 19:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":130569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":130569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":130569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691198976001,"66":13472,"186":206,"83":42752,"24":41,"16":5948001423982592,"45":1802143569042190336},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-07-13 19:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691198976001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:11:33] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-13 19:11:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5948001423982592,"km_value":5948001423982.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802143569042190336,"description":"Unknown IO ID 45"} 
[2026-07-13 19:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691198976001,"power":13472,"unknown_186":206,"unknown_83":42752,"ignition":41,"odometer":null,"unknown_45":1802143569042190336}} 
[2026-07-13 19:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":130569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:11:33] local.INFO: GPS data processed {"connection_id":130569,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:11:33] local.INFO: Acknowledgment sent {"connection_id":130569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:11:33] local.INFO: TCP Data received {"connection_id":132927,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:11:33] local.INFO: Processing buffer {"connection_id":132927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:11:33] local.INFO: IMEI packet received {"connection_id":132927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":132927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:11:39] local.INFO: TCP Data received {"connection_id":132927,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:11:39] local.INFO: Processing buffer {"connection_id":132927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:11:39] local.INFO: IMEI packet received {"connection_id":132927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":132927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:11:40] local.INFO: TCP Data received {"connection_id":132927,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb3fc30012d7f914005afd9380018011b23..."} 
[2026-07-13 19:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb3fc30012d7f914005afd9380018011b23..."} 
[2026-07-13 19:11:40] local.INFO: Processing buffer {"connection_id":132927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb3fc30012d7f914005afd9380018011b23..."} 
[2026-07-13 19:11:40] local.INFO: Packet analysis {"connection_id":132927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb3"} 
[2026-07-13 19:11:40] local.INFO: Extracted packet for processing {"connection_id":132927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb3"} 
[2026-07-13 19:11:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691110144001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783949950000,"timestamp_ms":1783949950000,"timestamp_seconds":1783949950,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb3fc30"} 
[2026-07-13 19:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691110144001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691110144001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:11:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:11:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691110144001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":132927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:11:40] local.INFO: GPS data processed {"connection_id":132927,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:11:40] local.INFO: Acknowledgment sent {"connection_id":132927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:11:40] local.INFO: TCP Data received {"connection_id":131589,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131589,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:11:40] local.INFO: Processing buffer {"connection_id":131589,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:11:40] local.INFO: IMEI packet received {"connection_id":131589,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":131589,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:11:44] local.INFO: TCP Data received {"connection_id":131589,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131589,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:11:44] local.INFO: Processing buffer {"connection_id":131589,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:11:44] local.INFO: IMEI packet received {"connection_id":131589,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":131589,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:11:45] local.INFO: TCP Data received {"connection_id":131589,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb2c798012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb2c798012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:11:45] local.INFO: Processing buffer {"connection_id":131589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb2c798012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:11:45] local.INFO: Packet analysis {"connection_id":131589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb2"} 
[2026-07-13 19:11:45] local.INFO: Extracted packet for processing {"connection_id":131589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb2"} 
[2026-07-13 19:11:45] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691089920001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:11:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783949871000,"timestamp_ms":1783949871000,"timestamp_seconds":1783949871,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb2c798"} 
[2026-07-13 19:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 19:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131589,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131589,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691089920001,"66":24962,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 19:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691089920001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:11:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 19:11:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:11:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691089920001,"power":24962,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":131589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481583,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:11:46] local.INFO: GPS data processed {"connection_id":131589,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:11:46] local.INFO: Acknowledgment sent {"connection_id":131589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:11:51] local.INFO: TCP Data received {"connection_id":132928,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:11:51] local.INFO: Processing buffer {"connection_id":132928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:11:51] local.INFO: IMEI packet received {"connection_id":132928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":132928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:11:52] local.INFO: TCP Data received {"connection_id":132928,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:11:52] local.INFO: Processing buffer {"connection_id":132928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:11:52] local.INFO: IMEI packet received {"connection_id":132928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":132928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:11:57] local.INFO: TCP Data received {"connection_id":132928,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:11:57] local.INFO: Processing buffer {"connection_id":132928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:11:57] local.INFO: IMEI packet received {"connection_id":132928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":132928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:11:58] local.INFO: TCP Data received {"connection_id":132928,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb4f630012d1933c007233a500056002b22..."} 
[2026-07-13 19:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb4f630012d1933c007233a500056002b22..."} 
[2026-07-13 19:11:58] local.INFO: Processing buffer {"connection_id":132928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb4f630012d1933c007233a500056002b22..."} 
[2026-07-13 19:11:58] local.INFO: Packet analysis {"connection_id":132928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb4"} 
[2026-07-13 19:11:58] local.INFO: Extracted packet for processing {"connection_id":132928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb4"} 
[2026-07-13 19:11:58] local.INFO: GPS Element Parsed {"raw_longitude":756626368,"raw_latitude":119749200,"longitude_deg":75.6626368,"latitude_deg":11.97492,"altitude":86,"angle":43,"satellites":34,"speed":43,"hex_longitude":"2d1933c0","hex_latitude":"07233a50","is_valid_coordinates":true} 
[2026-07-13 19:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691201280001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5948478165352448,"note":"Value kept but may cause issues"} 
[2026-07-13 19:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1808265649787435008,"note":"Value kept but may cause issues"} 
[2026-07-13 19:11:58] 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-07-13 19:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783950014000,"timestamp_ms":1783950014000,"timestamp_seconds":1783950014,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb4f630"} 
[2026-07-13 19:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-13 19:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:11:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691201280001,"66":13580,"186":206,"83":42752,"24":43,"16":5948478165352448,"45":1808265649787435008},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-07-13 19:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691201280001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:11:58] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-13 19:11:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5948478165352448,"km_value":5948478165352.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1808265649787435008,"description":"Unknown IO ID 45"} 
[2026-07-13 19:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691201280001,"power":13580,"unknown_186":206,"unknown_83":42752,"ignition":43,"odometer":null,"unknown_45":1808265649787435008}} 
[2026-07-13 19:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":132928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:11:58] local.INFO: GPS data processed {"connection_id":132928,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:11:58] local.INFO: Acknowledgment sent {"connection_id":132928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:12:17] local.INFO: TCP Data received {"connection_id":131589,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb61358012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb61358012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:12:17] local.INFO: Processing buffer {"connection_id":131589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb61358012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:12:17] local.INFO: Packet analysis {"connection_id":131589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:12:17] local.INFO: Extracted packet for processing {"connection_id":131589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:12:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691166976001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:12:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783950087000,"timestamp_ms":1783950087000,"timestamp_seconds":1783950087,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb61358"} 
[2026-07-13 19:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:12: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-07-13 19: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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-13 19:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131589,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131589,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691166976001,"66":24962,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 19:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691166976001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:12:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 19:12:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:12:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691166976001,"power":24962,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":131589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481585,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:12:17] local.INFO: GPS data processed {"connection_id":131589,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:12:17] local.INFO: Acknowledgment sent {"connection_id":131589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:12:29] local.INFO: TCP Data received {"connection_id":132928,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb62ac8012d1a4c400723e0080030001e25..."} 
[2026-07-13 19:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb62ac8012d1a4c400723e0080030001e25..."} 
[2026-07-13 19:12:29] local.INFO: Processing buffer {"connection_id":132928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb62ac8012d1a4c400723e0080030001e25..."} 
[2026-07-13 19:12:29] local.INFO: Packet analysis {"connection_id":132928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:12:29] local.INFO: Extracted packet for processing {"connection_id":132928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:12:29] local.INFO: GPS Element Parsed {"raw_longitude":756698176,"raw_latitude":119791624,"longitude_deg":75.6698176,"latitude_deg":11.9791624,"altitude":48,"angle":30,"satellites":37,"speed":39,"hex_longitude":"2d1a4c40","hex_latitude":"0723e008","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691221760001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5952768837681152,"note":"Value kept but may cause issues"} 
[2026-07-13 19:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889963761788639232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783950093000,"timestamp_ms":1783950093000,"timestamp_seconds":1783950093,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb62ac8"} 
[2026-07-13 19:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-13 19:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691221760001,"66":13515,"43":206,"83":42752,"24":39,"16":5952768837681152,"45":1889963761788639232},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-13 19:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691221760001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:12:29] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-13 19:12:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5952768837681152,"km_value":5952768837681.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889963761788639232,"description":"Unknown IO ID 45"} 
[2026-07-13 19:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691221760001,"power":13515,"unknown_43":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1889963761788639232}} 
[2026-07-13 19:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":132928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:12:29] local.INFO: GPS data processed {"connection_id":132928,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:12:29] local.INFO: Acknowledgment sent {"connection_id":132928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:12:45] local.INFO: TCP Data received {"connection_id":130570,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:12:45] local.INFO: Processing buffer {"connection_id":130570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:12:45] local.INFO: IMEI packet received {"connection_id":130570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":130570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:12:49] local.INFO: TCP Data received {"connection_id":130570,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:12:49] local.INFO: Processing buffer {"connection_id":130570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:12:49] local.INFO: IMEI packet received {"connection_id":130570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":130570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:12:49] local.INFO: TCP Data received {"connection_id":132930,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:12:49] local.INFO: Processing buffer {"connection_id":132930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:12:49] local.INFO: IMEI packet received {"connection_id":132930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":132930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:12:51] local.INFO: TCP Data received {"connection_id":130570,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb67500012cb29c8007823c38004700e028..."} 
[2026-07-13 19:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb67500012cb29c8007823c38004700e028..."} 
[2026-07-13 19:12:51] local.INFO: Processing buffer {"connection_id":130570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb67500012cb29c8007823c38004700e028..."} 
[2026-07-13 19:12:51] local.INFO: Packet analysis {"connection_id":130570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:12:51] local.INFO: Extracted packet for processing {"connection_id":130570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:12:51] local.INFO: GPS Element Parsed {"raw_longitude":749902976,"raw_latitude":125975608,"longitude_deg":74.9902976,"latitude_deg":12.5975608,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29c80","hex_latitude":"07823c38","is_valid_coordinates":true} 
[2026-07-13 19:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691222272001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:12:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783950112000,"timestamp_ms":1783950112000,"timestamp_seconds":1783950112,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb67500"} 
[2026-07-13 19:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-13 19:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691222272001,"66":28376,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 19:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691222272001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:12:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 19:12:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:12:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691222272001,"power":28376,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":130570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481587,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:12:51] local.INFO: GPS data processed {"connection_id":130570,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:12:51] local.INFO: Acknowledgment sent {"connection_id":130570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:12:52] local.INFO: TCP Data received {"connection_id":130570,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb6c708012cb29c8007823c38004700e028..."} 
[2026-07-13 19:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb6c708012cb29c8007823c38004700e028..."} 
[2026-07-13 19:12:52] local.INFO: Processing buffer {"connection_id":130570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb6c708012cb29c8007823c38004700e028..."} 
[2026-07-13 19:12:52] local.INFO: Packet analysis {"connection_id":130570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:12:52] local.INFO: Extracted packet for processing {"connection_id":130570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:12:52] local.INFO: GPS Element Parsed {"raw_longitude":749902976,"raw_latitude":125975608,"longitude_deg":74.9902976,"latitude_deg":12.5975608,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29c80","hex_latitude":"07823c38","is_valid_coordinates":true} 
[2026-07-13 19:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691228672001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:12:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576441468853405696,"note":"Value kept but may cause issues"} 
[2026-07-13 19:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783950133000,"timestamp_ms":1783950133000,"timestamp_seconds":1783950133,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb6c708"} 
[2026-07-13 19:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 19:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":130570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":130570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":130570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691228672001,"66":28126,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576441468853405696},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691228672001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:12:52] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:12:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:12:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576441468853405696,"description":"Unknown IO ID 44"} 
[2026-07-13 19:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691228672001,"power":28126,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576441468853405696}} 
[2026-07-13 19:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":130570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481588,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:12:52] local.INFO: GPS data processed {"connection_id":130570,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:12:52] local.INFO: Acknowledgment sent {"connection_id":130570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:12:54] local.INFO: TCP Data received {"connection_id":131590,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:12:54] local.INFO: Processing buffer {"connection_id":131590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:12:54] local.INFO: IMEI packet received {"connection_id":131590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":131590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:12:54] local.INFO: TCP Data received {"connection_id":132930,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:12:54] local.INFO: Processing buffer {"connection_id":132930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:12:54] local.INFO: IMEI packet received {"connection_id":132930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":132930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:12:59] local.INFO: TCP Data received {"connection_id":131590,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:12:59] local.INFO: Processing buffer {"connection_id":131590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:12:59] local.INFO: IMEI packet received {"connection_id":131590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":131590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:13:00] local.INFO: TCP Data received {"connection_id":131590,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb3fc30012d7f914005afd9380018011b23..."} 
[2026-07-13 19:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb3fc30012d7f914005afd9380018011b23..."} 
[2026-07-13 19:13:00] local.INFO: Processing buffer {"connection_id":131590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb3fc30012d7f914005afd9380018011b23..."} 
[2026-07-13 19:13:00] local.INFO: Packet analysis {"connection_id":131590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb3"} 
[2026-07-13 19:13:00] local.INFO: Extracted packet for processing {"connection_id":131590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb3"} 
[2026-07-13 19:13:00] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691110144001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783949950000,"timestamp_ms":1783949950000,"timestamp_seconds":1783949950,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb3fc30"} 
[2026-07-13 19:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":131590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":131590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":131590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691110144001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691110144001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:13:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:13:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691110144001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":131590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:13:00] local.INFO: GPS data processed {"connection_id":131590,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:13:00] local.INFO: Acknowledgment sent {"connection_id":131590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:13:02] local.INFO: TCP Data received {"connection_id":132930,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:13:02] local.INFO: Processing buffer {"connection_id":132930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:13:02] local.INFO: IMEI packet received {"connection_id":132930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":132930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:13:03] local.INFO: TCP Data received {"connection_id":132930,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb651d8012d1a60c00723fe30002d002827..."} 
[2026-07-13 19:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb651d8012d1a60c00723fe30002d002827..."} 
[2026-07-13 19:13:03] local.INFO: Processing buffer {"connection_id":132930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb651d8012d1a60c00723fe30002d002827..."} 
[2026-07-13 19:13:03] local.INFO: Packet analysis {"connection_id":132930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:13:03] local.INFO: Extracted packet for processing {"connection_id":132930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:13:03] local.INFO: GPS Element Parsed {"raw_longitude":756703424,"raw_latitude":119799344,"longitude_deg":75.6703424,"latitude_deg":11.9799344,"altitude":45,"angle":40,"satellites":39,"speed":39,"hex_longitude":"2d1a60c0","hex_latitude":"0723fe30","is_valid_coordinates":true} 
[2026-07-13 19:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691223808001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5953219809247232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1894959942626969600,"note":"Value kept but may cause issues"} 
[2026-07-13 19:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783950103000,"timestamp_ms":1783950103000,"timestamp_seconds":1783950103,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb651d8"} 
[2026-07-13 19:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 19:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":132930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":132930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":132930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691223808001,"66":13613,"43":206,"83":42752,"24":39,"16":5953219809247232,"45":1894959942626969600},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-13 19:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691223808001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:13:03] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-13 19:13:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5953219809247232,"km_value":5953219809247.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1894959942626969600,"description":"Unknown IO ID 45"} 
[2026-07-13 19:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691223808001,"power":13613,"unknown_43":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1894959942626969600}} 
[2026-07-13 19:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":132930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:13:03] local.INFO: GPS data processed {"connection_id":132930,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:13:03] local.INFO: Acknowledgment sent {"connection_id":132930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:13:04] local.INFO: TCP Data received {"connection_id":132930,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb66178012d1a6b4007240870002c003325..."} 
[2026-07-13 19:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb66178012d1a6b4007240870002c003325..."} 
[2026-07-13 19:13:04] local.INFO: Processing buffer {"connection_id":132930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb66178012d1a6b4007240870002c003325..."} 
[2026-07-13 19:13:04] local.INFO: Packet analysis {"connection_id":132930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:13:04] local.INFO: Extracted packet for processing {"connection_id":132930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:13:04] local.INFO: GPS Element Parsed {"raw_longitude":756706112,"raw_latitude":119801968,"longitude_deg":75.6706112,"latitude_deg":11.9801968,"altitude":44,"angle":51,"satellites":37,"speed":34,"hex_longitude":"2d1a6b40","hex_latitude":"07240870","is_valid_coordinates":true} 
[2026-07-13 19:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691226368001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5953400197873664,"note":"Value kept but may cause issues"} 
[2026-07-13 19:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1900730179651514368,"note":"Value kept but may cause issues"} 
[2026-07-13 19:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783950107000,"timestamp_ms":1783950107000,"timestamp_seconds":1783950107,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb66178"} 
[2026-07-13 19:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-07-13 19:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":132930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":132930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":132930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691226368001,"66":13526,"137":206,"83":42752,"24":34,"16":5953400197873664,"45":1900730179651514368},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-07-13 19:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691226368001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:13:04] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-13 19:13:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5953400197873664,"km_value":5953400197873.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1900730179651514368,"description":"Unknown IO ID 45"} 
[2026-07-13 19:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691226368001,"power":13526,"unknown_137":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1900730179651514368}} 
[2026-07-13 19:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":132930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:13:04] local.INFO: GPS data processed {"connection_id":132930,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:13:04] local.INFO: Acknowledgment sent {"connection_id":132930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:13:24] local.INFO: TCP Data received {"connection_id":130570,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb6f9d0012cb29c8007823c38004700e028..."} 
[2026-07-13 19:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb6f9d0012cb29c8007823c38004700e028..."} 
[2026-07-13 19:13:24] local.INFO: Processing buffer {"connection_id":130570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb6f9d0012cb29c8007823c38004700e028..."} 
[2026-07-13 19:13:24] local.INFO: Packet analysis {"connection_id":130570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:13:24] local.INFO: Extracted packet for processing {"connection_id":130570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:13:24] local.INFO: GPS Element Parsed {"raw_longitude":749902976,"raw_latitude":125975608,"longitude_deg":74.9902976,"latitude_deg":12.5975608,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29c80","hex_latitude":"07823c38","is_valid_coordinates":true} 
[2026-07-13 19:13: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-07-13 19:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691234048001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:13:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576441468853405696,"note":"Value kept but may cause issues"} 
[2026-07-13 19:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783950146000,"timestamp_ms":1783950146000,"timestamp_seconds":1783950146,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb6f9d0"} 
[2026-07-13 19:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19: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":222,"data_length":795,"current_offset":136} 
[2026-07-13 19:13:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":130570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":130570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":130570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691234048001,"66":28376,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576441468853405696},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691234048001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:13:24] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:13:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:13:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576441468853405696,"description":"Unknown IO ID 44"} 
[2026-07-13 19:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691234048001,"power":28376,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576441468853405696}} 
[2026-07-13 19:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":130570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481592,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:13:24] local.INFO: GPS data processed {"connection_id":130570,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:13:24] local.INFO: Acknowledgment sent {"connection_id":130570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:13:34] local.INFO: TCP Data received {"connection_id":130571,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:13:34] local.INFO: Processing buffer {"connection_id":130571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:13:34] local.INFO: IMEI packet received {"connection_id":130571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":130571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:13:35] local.INFO: TCP Data received {"connection_id":132930,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb67cd0012d1a7a40072411e0002c003e28..."} 
[2026-07-13 19:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb67cd0012d1a7a40072411e0002c003e28..."} 
[2026-07-13 19:13:35] local.INFO: Processing buffer {"connection_id":132930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb67cd0012d1a7a40072411e0002c003e28..."} 
[2026-07-13 19:13:35] local.INFO: Packet analysis {"connection_id":132930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:13:35] local.INFO: Extracted packet for processing {"connection_id":132930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:13:35] local.INFO: GPS Element Parsed {"raw_longitude":756709952,"raw_latitude":119804384,"longitude_deg":75.6709952,"latitude_deg":11.9804384,"altitude":44,"angle":62,"satellites":40,"speed":24,"hex_longitude":"2d1a7a40","hex_latitude":"072411e0","is_valid_coordinates":true} 
[2026-07-13 19:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691227392001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5953619241205760,"note":"Value kept but may cause issues"} 
[2026-07-13 19:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903685666907648000,"note":"Value kept but may cause issues"} 
[2026-07-13 19:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783950114000,"timestamp_ms":1783950114000,"timestamp_seconds":1783950114,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb67cd0"} 
[2026-07-13 19:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-13 19:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691227392001,"66":13559,"137":206,"83":42752,"24":24,"16":5953619241205760,"45":1903685666907648000},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-07-13 19:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691227392001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:13:35] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-13 19:13:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5953619241205760,"km_value":5953619241205.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903685666907648000,"description":"Unknown IO ID 45"} 
[2026-07-13 19:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691227392001,"power":13559,"unknown_137":206,"unknown_83":42752,"ignition":24,"odometer":null,"unknown_45":1903685666907648000}} 
[2026-07-13 19:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":132930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:13:35] local.INFO: GPS data processed {"connection_id":132930,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:13:35] local.INFO: Acknowledgment sent {"connection_id":132930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:13:39] local.INFO: TCP Data received {"connection_id":130571,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:13:39] local.INFO: Processing buffer {"connection_id":130571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:13:39] local.INFO: IMEI packet received {"connection_id":130571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":130571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:13:40] local.INFO: TCP Data received {"connection_id":130571,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb3fc30012d7f914005afd9380018011b23..."} 
[2026-07-13 19:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb3fc30012d7f914005afd9380018011b23..."} 
[2026-07-13 19:13:40] local.INFO: Processing buffer {"connection_id":130571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb3fc30012d7f914005afd9380018011b23..."} 
[2026-07-13 19:13:40] local.INFO: Packet analysis {"connection_id":130571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb3"} 
[2026-07-13 19:13:40] local.INFO: Extracted packet for processing {"connection_id":130571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb3"} 
[2026-07-13 19:13:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691110144001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783949950000,"timestamp_ms":1783949950000,"timestamp_seconds":1783949950,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb3fc30"} 
[2026-07-13 19:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691110144001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691110144001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:13:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691110144001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":130571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:13:40] local.INFO: GPS data processed {"connection_id":130571,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:13:40] local.INFO: Acknowledgment sent {"connection_id":130571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:13:40] local.INFO: TCP Data received {"connection_id":131591,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:13:40] local.INFO: Processing buffer {"connection_id":131591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:13:40] local.INFO: IMEI packet received {"connection_id":131591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":131591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:13:45] local.INFO: TCP Data received {"connection_id":131591,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:13:45] local.INFO: Processing buffer {"connection_id":131591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:13:45] local.INFO: IMEI packet received {"connection_id":131591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":131591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:13:46] local.INFO: TCP Data received {"connection_id":131591,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb6f9d0012cb29c8007823c38004700e028..."} 
[2026-07-13 19:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb6f9d0012cb29c8007823c38004700e028..."} 
[2026-07-13 19:13:46] local.INFO: Processing buffer {"connection_id":131591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb6f9d0012cb29c8007823c38004700e028..."} 
[2026-07-13 19:13:46] local.INFO: Packet analysis {"connection_id":131591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:13:46] local.INFO: Extracted packet for processing {"connection_id":131591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:13:46] local.INFO: GPS Element Parsed {"raw_longitude":749902976,"raw_latitude":125975608,"longitude_deg":74.9902976,"latitude_deg":12.5975608,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29c80","hex_latitude":"07823c38","is_valid_coordinates":true} 
[2026-07-13 19:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691234048001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:13:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576441468853405696,"note":"Value kept but may cause issues"} 
[2026-07-13 19:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783950146000,"timestamp_ms":1783950146000,"timestamp_seconds":1783950146,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb6f9d0"} 
[2026-07-13 19:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-13 19:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691234048001,"66":28376,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576441468853405696},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691234048001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:13:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:13:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:13:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576441468853405696,"description":"Unknown IO ID 44"} 
[2026-07-13 19:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691234048001,"power":28376,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576441468853405696}} 
[2026-07-13 19:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":131591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481595,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:13:46] local.INFO: GPS data processed {"connection_id":131591,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:13:46] local.INFO: Acknowledgment sent {"connection_id":131591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:13:52] local.INFO: TCP Data received {"connection_id":132931,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:13:52] local.INFO: Processing buffer {"connection_id":132931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:13:52] local.INFO: IMEI packet received {"connection_id":132931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":132931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:14:08] local.INFO: TCP Data received {"connection_id":132931,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:14:08] local.INFO: Processing buffer {"connection_id":132931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:14:08] local.INFO: IMEI packet received {"connection_id":132931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":132931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:14:09] local.INFO: TCP Data received {"connection_id":132931,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb6bf38012d1a9c0007242068002e003f25..."} 
[2026-07-13 19:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb6bf38012d1a9c0007242068002e003f25..."} 
[2026-07-13 19:14:09] local.INFO: Processing buffer {"connection_id":132931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb6bf38012d1a9c0007242068002e003f25..."} 
[2026-07-13 19:14:09] local.INFO: Packet analysis {"connection_id":132931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:14:09] local.INFO: Extracted packet for processing {"connection_id":132931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:14:09] local.INFO: GPS Element Parsed {"raw_longitude":756718592,"raw_latitude":119808104,"longitude_deg":75.6718592,"latitude_deg":11.9808104,"altitude":46,"angle":63,"satellites":37,"speed":26,"hex_longitude":"2d1a9c00","hex_latitude":"07242068","is_valid_coordinates":true} 
[2026-07-13 19:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691229184001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5954065917804544,"note":"Value kept but may cause issues"} 
[2026-07-13 19:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1907907791558926336,"note":"Value kept but may cause issues"} 
[2026-07-13 19:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783950131000,"timestamp_ms":1783950131000,"timestamp_seconds":1783950131,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb6bf38"} 
[2026-07-13 19:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-13 19:14: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-07-13 19:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":132931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":132931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":132931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691229184001,"66":13580,"137":206,"83":42752,"24":26,"16":5954065917804544,"45":1907907791558926336},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-07-13 19:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691229184001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:14:09] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-13 19:14:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5954065917804544,"km_value":5954065917804.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1907907791558926336,"description":"Unknown IO ID 45"} 
[2026-07-13 19:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691229184001,"power":13580,"unknown_137":206,"unknown_83":42752,"ignition":26,"odometer":null,"unknown_45":1907907791558926336}} 
[2026-07-13 19:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":132931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:14:09] local.INFO: GPS data processed {"connection_id":132931,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:14:09] local.INFO: Acknowledgment sent {"connection_id":132931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:14:11] local.INFO: TCP Data received {"connection_id":130571,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb3fc30012d7f914005afd9380018011b23..."} 
[2026-07-13 19:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb3fc30012d7f914005afd9380018011b23..."} 
[2026-07-13 19:14:11] local.INFO: Processing buffer {"connection_id":130571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb3fc30012d7f914005afd9380018011b23..."} 
[2026-07-13 19:14:11] local.INFO: Packet analysis {"connection_id":130571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb3"} 
[2026-07-13 19:14:11] local.INFO: Extracted packet for processing {"connection_id":130571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb3"} 
[2026-07-13 19:14:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691110144001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783949950000,"timestamp_ms":1783949950000,"timestamp_seconds":1783949950,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb3fc30"} 
[2026-07-13 19:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691110144001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691110144001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:14:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:14:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691110144001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":130571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:14:11] local.INFO: GPS data processed {"connection_id":130571,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:14:11] local.INFO: Acknowledgment sent {"connection_id":130571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:14:18] local.INFO: TCP Data received {"connection_id":131591,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb6f9d0012cb29c8007823c38004700e028..."} 
[2026-07-13 19:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb6f9d0012cb29c8007823c38004700e028..."} 
[2026-07-13 19:14:18] local.INFO: Processing buffer {"connection_id":131591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb6f9d0012cb29c8007823c38004700e028..."} 
[2026-07-13 19:14:18] local.INFO: Packet analysis {"connection_id":131591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:14:18] local.INFO: Extracted packet for processing {"connection_id":131591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:14:18] local.INFO: GPS Element Parsed {"raw_longitude":749902976,"raw_latitude":125975608,"longitude_deg":74.9902976,"latitude_deg":12.5975608,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29c80","hex_latitude":"07823c38","is_valid_coordinates":true} 
[2026-07-13 19:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691234048001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:14:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576441468853405696,"note":"Value kept but may cause issues"} 
[2026-07-13 19:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783950146000,"timestamp_ms":1783950146000,"timestamp_seconds":1783950146,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb6f9d0"} 
[2026-07-13 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-07-13 19:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-13 19:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 19:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691234048001,"66":28376,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576441468853405696},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691234048001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:14:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:14:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:14:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576441468853405696,"description":"Unknown IO ID 44"} 
[2026-07-13 19:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691234048001,"power":28376,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576441468853405696}} 
[2026-07-13 19:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":131591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481598,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:14:18] local.INFO: GPS data processed {"connection_id":131591,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:14:18] local.INFO: Acknowledgment sent {"connection_id":131591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:14:34] local.INFO: TCP Data received {"connection_id":132932,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:14:34] local.INFO: Processing buffer {"connection_id":132932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:14:34] local.INFO: IMEI packet received {"connection_id":132932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":132932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:14:39] local.INFO: TCP Data received {"connection_id":132932,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:14:39] local.INFO: Processing buffer {"connection_id":132932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:14:39] local.INFO: IMEI packet received {"connection_id":132932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":132932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:14:39] local.INFO: TCP Data received {"connection_id":132933,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:14:39] local.INFO: Processing buffer {"connection_id":132933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:14:39] local.INFO: IMEI packet received {"connection_id":132933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":132933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:14:40] local.INFO: TCP Data received {"connection_id":132932,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb3fc30012d7f914005afd9380018011b23..."} 
[2026-07-13 19:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb3fc30012d7f914005afd9380018011b23..."} 
[2026-07-13 19:14:40] local.INFO: Processing buffer {"connection_id":132932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb3fc30012d7f914005afd9380018011b23..."} 
[2026-07-13 19:14:40] local.INFO: Packet analysis {"connection_id":132932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb3"} 
[2026-07-13 19:14:40] local.INFO: Extracted packet for processing {"connection_id":132932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb3"} 
[2026-07-13 19:14:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691110144001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783949950000,"timestamp_ms":1783949950000,"timestamp_seconds":1783949950,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb3fc30"} 
[2026-07-13 19:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691110144001,"66":25321,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691110144001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:14:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:14:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691110144001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":132932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:14:40] local.INFO: GPS data processed {"connection_id":132932,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:14:40] local.INFO: Acknowledgment sent {"connection_id":132932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:14:45] local.INFO: TCP Data received {"connection_id":132933,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:14:45] local.INFO: Processing buffer {"connection_id":132933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:14:45] local.INFO: IMEI packet received {"connection_id":132933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":132933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:14:47] local.INFO: TCP Data received {"connection_id":132933,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb6f9d0012cb29c8007823c38004700e028..."} 
[2026-07-13 19:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb6f9d0012cb29c8007823c38004700e028..."} 
[2026-07-13 19:14:47] local.INFO: Processing buffer {"connection_id":132933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb6f9d0012cb29c8007823c38004700e028..."} 
[2026-07-13 19:14:47] local.INFO: Packet analysis {"connection_id":132933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:14:47] local.INFO: Extracted packet for processing {"connection_id":132933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:14:47] local.INFO: GPS Element Parsed {"raw_longitude":749902976,"raw_latitude":125975608,"longitude_deg":74.9902976,"latitude_deg":12.5975608,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29c80","hex_latitude":"07823c38","is_valid_coordinates":true} 
[2026-07-13 19:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691234048001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:14:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576441468853405696,"note":"Value kept but may cause issues"} 
[2026-07-13 19:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783950146000,"timestamp_ms":1783950146000,"timestamp_seconds":1783950146,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb6f9d0"} 
[2026-07-13 19:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-13 19:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691234048001,"66":28376,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576441468853405696},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691234048001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:14:47] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:14:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:14:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576441468853405696,"description":"Unknown IO ID 44"} 
[2026-07-13 19:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691234048001,"power":28376,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576441468853405696}} 
[2026-07-13 19:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":132933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481600,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:14:47] local.INFO: GPS data processed {"connection_id":132933,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:14:47] local.INFO: Acknowledgment sent {"connection_id":132933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:14:52] local.INFO: TCP Data received {"connection_id":131592,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:14:52] local.INFO: Processing buffer {"connection_id":131592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:14:52] local.INFO: IMEI packet received {"connection_id":131592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":131592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:14:58] local.INFO: TCP Data received {"connection_id":131592,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:14:58] local.INFO: Processing buffer {"connection_id":131592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:14:58] local.INFO: IMEI packet received {"connection_id":131592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":131592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:14:59] local.INFO: TCP Data received {"connection_id":131592,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb816f8012d1b58c00724cac00028000824..."} 
[2026-07-13 19:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb816f8012d1b58c00724cac00028000824..."} 
[2026-07-13 19:14:59] local.INFO: Processing buffer {"connection_id":131592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb816f8012d1b58c00724cac00028000824..."} 
[2026-07-13 19:14:59] local.INFO: Packet analysis {"connection_id":131592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb8"} 
[2026-07-13 19:14:59] local.INFO: Extracted packet for processing {"connection_id":131592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb8"} 
[2026-07-13 19:14:59] local.INFO: GPS Element Parsed {"raw_longitude":756766912,"raw_latitude":119851712,"longitude_deg":75.6766912,"latitude_deg":11.9851712,"altitude":40,"angle":8,"satellites":36,"speed":33,"hex_longitude":"2d1b58c0","hex_latitude":"0724cac0","is_valid_coordinates":true} 
[2026-07-13 19:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691255296001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5957269963407360,"note":"Value kept but may cause issues"} 
[2026-07-13 19:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969691548958396416,"note":"Value kept but may cause issues"} 
[2026-07-13 19:14:59] 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-07-13 19:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783950219000,"timestamp_ms":1783950219000,"timestamp_seconds":1783950219,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb816f8"} 
[2026-07-13 19:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 19:14: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-07-13 19:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":131592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":131592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":131592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691255296001,"66":12972,"44":206,"83":41984,"24":33,"16":5957269963407360,"45":1969691548958396416},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-07-13 19:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691255296001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:14:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-13 19:14:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 19:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5957269963407360,"km_value":5957269963407.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969691548958396416,"description":"Unknown IO ID 45"} 
[2026-07-13 19:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691255296001,"power":12972,"unknown_44":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1969691548958396416}} 
[2026-07-13 19:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":131592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:14:59] local.INFO: GPS data processed {"connection_id":131592,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:14:59] local.INFO: Acknowledgment sent {"connection_id":131592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:15:11] local.INFO: TCP Data received {"connection_id":132932,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:15:11] local.INFO: Processing buffer {"connection_id":132932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:15:11] local.INFO: Packet analysis {"connection_id":132932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb8"} 
[2026-07-13 19:15:11] local.INFO: Extracted packet for processing {"connection_id":132932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb8"} 
[2026-07-13 19:15:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691187200001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783950251000,"timestamp_ms":1783950251000,"timestamp_seconds":1783950251,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb893f8"} 
[2026-07-13 19:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 19:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691187200001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691187200001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:15:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:15:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691187200001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":132932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:15:11] local.INFO: GPS data processed {"connection_id":132932,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:15:11] local.INFO: Acknowledgment sent {"connection_id":132932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:15:19] local.INFO: TCP Data received {"connection_id":132933,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb6f9d0012cb29c8007823c38004700e028..."} 
[2026-07-13 19:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb6f9d0012cb29c8007823c38004700e028..."} 
[2026-07-13 19:15:19] local.INFO: Processing buffer {"connection_id":132933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb6f9d0012cb29c8007823c38004700e028..."} 
[2026-07-13 19:15:19] local.INFO: Packet analysis {"connection_id":132933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:15:19] local.INFO: Extracted packet for processing {"connection_id":132933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:15:19] local.INFO: GPS Element Parsed {"raw_longitude":749902976,"raw_latitude":125975608,"longitude_deg":74.9902976,"latitude_deg":12.5975608,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29c80","hex_latitude":"07823c38","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691234048001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:15:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576441468853405696,"note":"Value kept but may cause issues"} 
[2026-07-13 19:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783950146000,"timestamp_ms":1783950146000,"timestamp_seconds":1783950146,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb6f9d0"} 
[2026-07-13 19:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-13 19:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":132933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":132933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":132933,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691234048001,"66":28376,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576441468853405696},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691234048001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:15:19] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:15:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:15:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576441468853405696,"description":"Unknown IO ID 44"} 
[2026-07-13 19:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691234048001,"power":28376,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576441468853405696}} 
[2026-07-13 19:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":132933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481603,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:15:19] local.INFO: GPS data processed {"connection_id":132933,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:15:19] local.INFO: Acknowledgment sent {"connection_id":132933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:15:30] local.INFO: TCP Data received {"connection_id":131592,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb83250012d1b59800724e2f00026016623..."} 
[2026-07-13 19:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb83250012d1b59800724e2f00026016623..."} 
[2026-07-13 19:15:30] local.INFO: Processing buffer {"connection_id":131592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb83250012d1b59800724e2f00026016623..."} 
[2026-07-13 19:15:30] local.INFO: Packet analysis {"connection_id":131592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb8"} 
[2026-07-13 19:15:30] local.INFO: Extracted packet for processing {"connection_id":131592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb8"} 
[2026-07-13 19:15:30] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":119857904,"longitude_deg":75.6767104,"latitude_deg":11.9857904,"altitude":38,"angle":358,"satellites":35,"speed":34,"hex_longitude":"2d1b5980","hex_latitude":"0724e2f0","is_valid_coordinates":true} 
[2026-07-13 19:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691256064001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5957570611118080,"note":"Value kept but may cause issues"} 
[2026-07-13 19:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970535973889163264,"note":"Value kept but may cause issues"} 
[2026-07-13 19:15:30] 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-07-13 19:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783950226000,"timestamp_ms":1783950226000,"timestamp_seconds":1783950226,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb83250"} 
[2026-07-13 19:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-13 19:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":131592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":131592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":131592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691256064001,"66":12885,"44":206,"83":41984,"24":34,"16":5957570611118080,"45":1970535973889163264},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-07-13 19:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691256064001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:15:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-13 19:15:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 19:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5957570611118080,"km_value":5957570611118.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970535973889163264,"description":"Unknown IO ID 45"} 
[2026-07-13 19:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691256064001,"power":12885,"unknown_44":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1970535973889163264}} 
[2026-07-13 19:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":131592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:15:30] local.INFO: GPS data processed {"connection_id":131592,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:15:30] local.INFO: Acknowledgment sent {"connection_id":131592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:15:34] local.INFO: TCP Data received {"connection_id":132934,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:15:34] local.INFO: Processing buffer {"connection_id":132934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:15:34] local.INFO: IMEI packet received {"connection_id":132934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":132934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:15:39] local.INFO: TCP Data received {"connection_id":132934,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:15:39] local.INFO: Processing buffer {"connection_id":132934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:15:39] local.INFO: IMEI packet received {"connection_id":132934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":132934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:15:39] local.INFO: TCP Data received {"connection_id":130572,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130572,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:15:39] local.INFO: Processing buffer {"connection_id":130572,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:15:39] local.INFO: IMEI packet received {"connection_id":130572,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":130572,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:15:41] local.INFO: TCP Data received {"connection_id":132934,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:15:41] local.INFO: Processing buffer {"connection_id":132934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:15:41] local.INFO: Packet analysis {"connection_id":132934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb8"} 
[2026-07-13 19:15:41] local.INFO: Extracted packet for processing {"connection_id":132934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb8"} 
[2026-07-13 19:15:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691187200001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783950251000,"timestamp_ms":1783950251000,"timestamp_seconds":1783950251,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb893f8"} 
[2026-07-13 19:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 19:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691187200001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691187200001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:15:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:15:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691187200001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":132934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:15:41] local.INFO: GPS data processed {"connection_id":132934,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:15:41] local.INFO: Acknowledgment sent {"connection_id":132934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:15:44] local.INFO: TCP Data received {"connection_id":132934,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:15:44] local.INFO: Processing buffer {"connection_id":132934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:15:44] local.INFO: Packet analysis {"connection_id":132934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb8"} 
[2026-07-13 19:15:44] local.INFO: Extracted packet for processing {"connection_id":132934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb8"} 
[2026-07-13 19:15:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691187200001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783950251000,"timestamp_ms":1783950251000,"timestamp_seconds":1783950251,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb893f8"} 
[2026-07-13 19:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:15:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 19:15:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:15:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":132934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":132934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":132934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691187200001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691187200001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:15:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:15:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691187200001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":132934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:15:44] local.INFO: GPS data processed {"connection_id":132934,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:15:44] local.INFO: Acknowledgment sent {"connection_id":132934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:15:45] local.INFO: TCP Data received {"connection_id":130572,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130572,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:15:45] local.INFO: Processing buffer {"connection_id":130572,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:15:45] local.INFO: IMEI packet received {"connection_id":130572,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":130572,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:15:47] local.INFO: TCP Data received {"connection_id":130572,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb6f9d0012cb29c8007823c38004700e028..."} 
[2026-07-13 19:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb6f9d0012cb29c8007823c38004700e028..."} 
[2026-07-13 19:15:47] local.INFO: Processing buffer {"connection_id":130572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb6f9d0012cb29c8007823c38004700e028..."} 
[2026-07-13 19:15:47] local.INFO: Packet analysis {"connection_id":130572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:15:47] local.INFO: Extracted packet for processing {"connection_id":130572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:15:47] local.INFO: GPS Element Parsed {"raw_longitude":749902976,"raw_latitude":125975608,"longitude_deg":74.9902976,"latitude_deg":12.5975608,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29c80","hex_latitude":"07823c38","is_valid_coordinates":true} 
[2026-07-13 19:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691234048001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:15:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576441468853405696,"note":"Value kept but may cause issues"} 
[2026-07-13 19:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783950146000,"timestamp_ms":1783950146000,"timestamp_seconds":1783950146,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb6f9d0"} 
[2026-07-13 19:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-13 19:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691234048001,"66":28376,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576441468853405696},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691234048001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:15:47] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:15:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:15:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576441468853405696,"description":"Unknown IO ID 44"} 
[2026-07-13 19:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691234048001,"power":28376,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576441468853405696}} 
[2026-07-13 19:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":130572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481607,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:15:47] local.INFO: GPS data processed {"connection_id":130572,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:15:47] local.INFO: Acknowledgment sent {"connection_id":130572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:15:54] local.INFO: TCP Data received {"connection_id":132935,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:15:54] local.INFO: Processing buffer {"connection_id":132935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:15:54] local.INFO: IMEI packet received {"connection_id":132935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":132935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:15:58] local.INFO: TCP Data received {"connection_id":132935,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:15:58] local.INFO: Processing buffer {"connection_id":132935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:15:58] local.INFO: IMEI packet received {"connection_id":132935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":132935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:16:02] local.INFO: TCP Data received {"connection_id":132935,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:16:02] local.INFO: Processing buffer {"connection_id":132935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:16:02] local.INFO: IMEI packet received {"connection_id":132935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":132935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:16:03] local.INFO: TCP Data received {"connection_id":132935,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb86130012d1b55c0072506580024000424..."} 
[2026-07-13 19:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb86130012d1b55c0072506580024000424..."} 
[2026-07-13 19:16:03] local.INFO: Processing buffer {"connection_id":132935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb86130012d1b55c0072506580024000424..."} 
[2026-07-13 19:16:03] local.INFO: Packet analysis {"connection_id":132935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb8"} 
[2026-07-13 19:16:03] local.INFO: Extracted packet for processing {"connection_id":132935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb8"} 
[2026-07-13 19:16:03] local.INFO: GPS Element Parsed {"raw_longitude":756766144,"raw_latitude":119866968,"longitude_deg":75.6766144,"latitude_deg":11.9866968,"altitude":36,"angle":4,"satellites":36,"speed":23,"hex_longitude":"2d1b55c0","hex_latitude":"07250658","is_valid_coordinates":true} 
[2026-07-13 19:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691257856001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5958012992749568,"note":"Value kept but may cause issues"} 
[2026-07-13 19:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747080123281408,"note":"Value kept but may cause issues"} 
[2026-07-13 19:16:03] 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-07-13 19:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783950238000,"timestamp_ms":1783950238000,"timestamp_seconds":1783950238,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb86130"} 
[2026-07-13 19:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-13 19:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":132935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":132935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":132935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691257856001,"66":13493,"44":206,"83":41984,"24":23,"16":5958012992749568,"45":1970747080123281408},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-07-13 19:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691257856001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:16:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-13 19:16:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 19:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5958012992749568,"km_value":5958012992749.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747080123281408,"description":"Unknown IO ID 45"} 
[2026-07-13 19:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691257856001,"power":13493,"unknown_44":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1970747080123281408}} 
[2026-07-13 19:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":132935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:16:03] local.INFO: GPS data processed {"connection_id":132935,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:16:03] local.INFO: Acknowledgment sent {"connection_id":132935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:16:08] local.INFO: TCP Data received {"connection_id":132935,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb86ce8012d1b564007250ba80024016123..."} 
[2026-07-13 19:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb86ce8012d1b564007250ba80024016123..."} 
[2026-07-13 19:16:08] local.INFO: Processing buffer {"connection_id":132935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb86ce8012d1b564007250ba80024016123..."} 
[2026-07-13 19:16:08] local.INFO: Packet analysis {"connection_id":132935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb8"} 
[2026-07-13 19:16:08] local.INFO: Extracted packet for processing {"connection_id":132935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb8"} 
[2026-07-13 19:16:08] local.INFO: GPS Element Parsed {"raw_longitude":756766272,"raw_latitude":119868328,"longitude_deg":75.6766272,"latitude_deg":11.9868328,"altitude":36,"angle":353,"satellites":35,"speed":13,"hex_longitude":"2d1b5640","hex_latitude":"07250ba8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 19:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691260928001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5958077417259008,"note":"Value kept but may cause issues"} 
[2026-07-13 19:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969691548962936832,"note":"Value kept but may cause issues"} 
[2026-07-13 19:16:08] 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-07-13 19:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783950241000,"timestamp_ms":1783950241000,"timestamp_seconds":1783950241,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb86ce8"} 
[2026-07-13 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-07-13 19:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-13 19:16: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-07-13 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-07-13 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-07-13 19:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691260928001,"66":13472,"44":206,"83":41984,"24":13,"16":5958077417259008,"45":1969691548962936832},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-07-13 19:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691260928001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:16:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-13 19:16:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 19:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5958077417259008,"km_value":5958077417259.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969691548962936832,"description":"Unknown IO ID 45"} 
[2026-07-13 19:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691260928001,"power":13472,"unknown_44":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1969691548962936832}} 
[2026-07-13 19:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":132935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:16:08] local.INFO: GPS data processed {"connection_id":132935,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:16:08] local.INFO: Acknowledgment sent {"connection_id":132935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:16:16] local.INFO: TCP Data received {"connection_id":132934,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:16:16] local.INFO: Processing buffer {"connection_id":132934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:16:16] local.INFO: Packet analysis {"connection_id":132934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb8"} 
[2026-07-13 19:16:16] local.INFO: Extracted packet for processing {"connection_id":132934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb8"} 
[2026-07-13 19:16:16] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691187200001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783950251000,"timestamp_ms":1783950251000,"timestamp_seconds":1783950251,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb893f8"} 
[2026-07-13 19:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 19:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691187200001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691187200001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:16:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:16:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691187200001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":132934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:16:16] local.INFO: GPS data processed {"connection_id":132934,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:16:16] local.INFO: Acknowledgment sent {"connection_id":132934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:16:18] local.INFO: TCP Data received {"connection_id":130572,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb6f9d0012cb29c8007823c38004700e028..."} 
[2026-07-13 19:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb6f9d0012cb29c8007823c38004700e028..."} 
[2026-07-13 19:16:18] local.INFO: Processing buffer {"connection_id":130572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb6f9d0012cb29c8007823c38004700e028..."} 
[2026-07-13 19:16:18] local.INFO: Packet analysis {"connection_id":130572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:16:18] local.INFO: Extracted packet for processing {"connection_id":130572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:16:18] local.INFO: GPS Element Parsed {"raw_longitude":749902976,"raw_latitude":125975608,"longitude_deg":74.9902976,"latitude_deg":12.5975608,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29c80","hex_latitude":"07823c38","is_valid_coordinates":true} 
[2026-07-13 19:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691234048001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:16:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576441468853405696,"note":"Value kept but may cause issues"} 
[2026-07-13 19:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783950146000,"timestamp_ms":1783950146000,"timestamp_seconds":1783950146,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb6f9d0"} 
[2026-07-13 19:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19: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":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-13 19:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691234048001,"66":28376,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576441468853405696},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691234048001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:16:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:16:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:16:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576441468853405696,"description":"Unknown IO ID 44"} 
[2026-07-13 19:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691234048001,"power":28376,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576441468853405696}} 
[2026-07-13 19:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":130572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481611,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:16:18] local.INFO: GPS data processed {"connection_id":130572,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:16:18] local.INFO: Acknowledgment sent {"connection_id":130572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:16:34] local.INFO: TCP Data received {"connection_id":130795,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:16:34] local.INFO: Processing buffer {"connection_id":130795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:16:34] local.INFO: IMEI packet received {"connection_id":130795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":130795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:16:39] local.INFO: TCP Data received {"connection_id":130795,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:16:39] local.INFO: Processing buffer {"connection_id":130795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:16:39] local.INFO: IMEI packet received {"connection_id":130795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":130795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:16:40] local.INFO: TCP Data received {"connection_id":130795,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:16:40] local.INFO: Processing buffer {"connection_id":130795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:16:40] local.INFO: Packet analysis {"connection_id":130795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb8"} 
[2026-07-13 19:16:40] local.INFO: Extracted packet for processing {"connection_id":130795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb8"} 
[2026-07-13 19:16:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 19:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691187200001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783950251000,"timestamp_ms":1783950251000,"timestamp_seconds":1783950251,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb893f8"} 
[2026-07-13 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-07-13 19:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 19:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 19:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691187200001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691187200001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:16:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:16:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691187200001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":130795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:16:40] local.INFO: GPS data processed {"connection_id":130795,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:16:40] local.INFO: Acknowledgment sent {"connection_id":130795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:16:46] local.INFO: TCP Data received {"connection_id":130573,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130573,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:16:46] local.INFO: Processing buffer {"connection_id":130573,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:16:46] local.INFO: IMEI packet received {"connection_id":130573,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":130573,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:16:50] local.INFO: TCP Data received {"connection_id":130573,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130573,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:16:50] local.INFO: Processing buffer {"connection_id":130573,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:16:50] local.INFO: IMEI packet received {"connection_id":130573,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":130573,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:16:51] local.INFO: TCP Data received {"connection_id":130573,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb6f9d0012cb29c8007823c38004700e028..."} 
[2026-07-13 19:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb6f9d0012cb29c8007823c38004700e028..."} 
[2026-07-13 19:16:51] local.INFO: Processing buffer {"connection_id":130573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb6f9d0012cb29c8007823c38004700e028..."} 
[2026-07-13 19:16:51] local.INFO: Packet analysis {"connection_id":130573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:16:51] local.INFO: Extracted packet for processing {"connection_id":130573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:16:51] local.INFO: GPS Element Parsed {"raw_longitude":749902976,"raw_latitude":125975608,"longitude_deg":74.9902976,"latitude_deg":12.5975608,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29c80","hex_latitude":"07823c38","is_valid_coordinates":true} 
[2026-07-13 19:16: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-07-13 19:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691234048001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:16:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576441468853405696,"note":"Value kept but may cause issues"} 
[2026-07-13 19:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783950146000,"timestamp_ms":1783950146000,"timestamp_seconds":1783950146,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb6f9d0"} 
[2026-07-13 19:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-13 19:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691234048001,"66":28376,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576441468853405696},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691234048001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:16:51] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:16:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:16:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576441468853405696,"description":"Unknown IO ID 44"} 
[2026-07-13 19:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691234048001,"power":28376,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576441468853405696}} 
[2026-07-13 19:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":130573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481613,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:16:51] local.INFO: GPS data processed {"connection_id":130573,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:16:51] local.INFO: Acknowledgment sent {"connection_id":130573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:16:56] local.INFO: TCP Data received {"connection_id":130573,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb6f9d0012cb29c8007823c38004700e028..."} 
[2026-07-13 19:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb6f9d0012cb29c8007823c38004700e028..."} 
[2026-07-13 19:16:56] local.INFO: Processing buffer {"connection_id":130573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb6f9d0012cb29c8007823c38004700e028..."} 
[2026-07-13 19:16:56] local.INFO: Packet analysis {"connection_id":130573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:16:56] local.INFO: Extracted packet for processing {"connection_id":130573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:16:56] local.INFO: GPS Element Parsed {"raw_longitude":749902976,"raw_latitude":125975608,"longitude_deg":74.9902976,"latitude_deg":12.5975608,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29c80","hex_latitude":"07823c38","is_valid_coordinates":true} 
[2026-07-13 19:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691234048001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:16:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576441468853405696,"note":"Value kept but may cause issues"} 
[2026-07-13 19:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783950146000,"timestamp_ms":1783950146000,"timestamp_seconds":1783950146,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb6f9d0"} 
[2026-07-13 19:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-13 19:16:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":130573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":130573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":130573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691234048001,"66":28376,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576441468853405696},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691234048001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:16:56] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:16:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:16:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576441468853405696,"description":"Unknown IO ID 44"} 
[2026-07-13 19:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691234048001,"power":28376,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576441468853405696}} 
[2026-07-13 19:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":130573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481614,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:16:56] local.INFO: GPS data processed {"connection_id":130573,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:16:56] local.INFO: Acknowledgment sent {"connection_id":130573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:16:57] local.INFO: TCP Data received {"connection_id":131593,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:16:57] local.INFO: Processing buffer {"connection_id":131593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:16:57] local.INFO: IMEI packet received {"connection_id":131593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":131593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:17:03] local.INFO: TCP Data received {"connection_id":131593,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:17:03] local.INFO: Processing buffer {"connection_id":131593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:17:03] local.INFO: IMEI packet received {"connection_id":131593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":131593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:17:03] local.INFO: TCP Data received {"connection_id":131593,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bba1a98012d1b3a4007259cd0002b015327..."} 
[2026-07-13 19:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bba1a98012d1b3a4007259cd0002b015327..."} 
[2026-07-13 19:17:03] local.INFO: Processing buffer {"connection_id":131593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bba1a98012d1b3a4007259cd0002b015327..."} 
[2026-07-13 19:17:03] local.INFO: Packet analysis {"connection_id":131593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bba"} 
[2026-07-13 19:17:03] local.INFO: Extracted packet for processing {"connection_id":131593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bba"} 
[2026-07-13 19:17:03] local.INFO: GPS Element Parsed {"raw_longitude":756759104,"raw_latitude":119905488,"longitude_deg":75.6759104,"latitude_deg":11.9905488,"altitude":43,"angle":339,"satellites":39,"speed":15,"hex_longitude":"2d1b3a40","hex_latitude":"07259cd0","is_valid_coordinates":true} 
[2026-07-13 19:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691287040001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5960078872018944,"note":"Value kept but may cause issues"} 
[2026-07-13 19:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965399055576489984,"note":"Value kept but may cause issues"} 
[2026-07-13 19:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783950351000,"timestamp_ms":1783950351000,"timestamp_seconds":1783950351,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bba1a98"} 
[2026-07-13 19:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-13 19:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":131593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":131593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":131593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691287040001,"66":12928,"217":206,"83":42752,"24":15,"16":5960078872018944,"45":1965399055576489984},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-13 19:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691287040001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:17:03] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-13 19:17:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5960078872018944,"km_value":5960078872018.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965399055576489984,"description":"Unknown IO ID 45"} 
[2026-07-13 19:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691287040001,"power":12928,"unknown_217":206,"unknown_83":42752,"ignition":15,"odometer":null,"unknown_45":1965399055576489984}} 
[2026-07-13 19:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":131593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:17:04] local.INFO: GPS data processed {"connection_id":131593,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:17:04] local.INFO: Acknowledgment sent {"connection_id":131593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:17:11] local.INFO: TCP Data received {"connection_id":130795,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:17:11] local.INFO: Processing buffer {"connection_id":130795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:17:11] local.INFO: Packet analysis {"connection_id":130795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb8"} 
[2026-07-13 19:17:11] local.INFO: Extracted packet for processing {"connection_id":130795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb8"} 
[2026-07-13 19:17:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691187200001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783950251000,"timestamp_ms":1783950251000,"timestamp_seconds":1783950251,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb893f8"} 
[2026-07-13 19:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 19:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691187200001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691187200001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:17:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:17:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691187200001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":130795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:17:11] local.INFO: GPS data processed {"connection_id":130795,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:17:11] local.INFO: Acknowledgment sent {"connection_id":130795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:17:33] local.INFO: TCP Data received {"connection_id":131594,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:17:33] local.INFO: Processing buffer {"connection_id":131594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:17:33] local.INFO: IMEI packet received {"connection_id":131594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":131594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:17:34] local.INFO: TCP Data received {"connection_id":131593,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bba4590012d1b36000725a680002b013d26..."} 
[2026-07-13 19:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bba4590012d1b36000725a680002b013d26..."} 
[2026-07-13 19:17:34] local.INFO: Processing buffer {"connection_id":131593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bba4590012d1b36000725a680002b013d26..."} 
[2026-07-13 19:17:34] local.INFO: Packet analysis {"connection_id":131593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bba"} 
[2026-07-13 19:17:34] local.INFO: Extracted packet for processing {"connection_id":131593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bba"} 
[2026-07-13 19:17:34] local.INFO: GPS Element Parsed {"raw_longitude":756758016,"raw_latitude":119907968,"longitude_deg":75.6758016,"latitude_deg":11.9907968,"altitude":43,"angle":317,"satellites":38,"speed":7,"hex_longitude":"2d1b3600","hex_latitude":"0725a680","is_valid_coordinates":true} 
[2026-07-13 19:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691289856001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5960212016005120,"note":"Value kept but may cause issues"} 
[2026-07-13 19:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961950987113254912,"note":"Value kept but may cause issues"} 
[2026-07-13 19:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783950362000,"timestamp_ms":1783950362000,"timestamp_seconds":1783950362,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bba4590"} 
[2026-07-13 19:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-13 19:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":131593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":131593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":131593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691289856001,"66":13526,"217":206,"83":42752,"24":7,"16":5960212016005120,"45":1961950987113254912},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-13 19:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691289856001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:17:34] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-13 19:17:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5960212016005120,"km_value":5960212016005.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961950987113254912,"description":"Unknown IO ID 45"} 
[2026-07-13 19:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691289856001,"power":13526,"unknown_217":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1961950987113254912}} 
[2026-07-13 19:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":131593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:17:35] local.INFO: GPS data processed {"connection_id":131593,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:17:35] local.INFO: Acknowledgment sent {"connection_id":131593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:17:39] local.INFO: TCP Data received {"connection_id":131594,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:17:39] local.INFO: Processing buffer {"connection_id":131594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:17:39] local.INFO: IMEI packet received {"connection_id":131594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":131594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:17:40] local.INFO: TCP Data received {"connection_id":130574,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:17:40] local.INFO: Processing buffer {"connection_id":130574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:17:40] local.INFO: IMEI packet received {"connection_id":130574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":130574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:17:40] local.INFO: TCP Data received {"connection_id":131594,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:17:40] local.INFO: Processing buffer {"connection_id":131594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:17:40] local.INFO: Packet analysis {"connection_id":131594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb8"} 
[2026-07-13 19:17:40] local.INFO: Extracted packet for processing {"connection_id":131594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb8"} 
[2026-07-13 19:17:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691187200001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783950251000,"timestamp_ms":1783950251000,"timestamp_seconds":1783950251,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb893f8"} 
[2026-07-13 19:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 19:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691187200001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691187200001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:17:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:17:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691187200001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":131594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:17:40] local.INFO: GPS data processed {"connection_id":131594,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:17:40] local.INFO: Acknowledgment sent {"connection_id":131594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:17:45] local.INFO: TCP Data received {"connection_id":130574,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:17:45] local.INFO: Processing buffer {"connection_id":130574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:17:45] local.INFO: IMEI packet received {"connection_id":130574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":130574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:17:47] local.INFO: TCP Data received {"connection_id":130574,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb6f9d0012cb29c8007823c38004700e028..."} 
[2026-07-13 19:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb6f9d0012cb29c8007823c38004700e028..."} 
[2026-07-13 19:17:47] local.INFO: Processing buffer {"connection_id":130574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb6f9d0012cb29c8007823c38004700e028..."} 
[2026-07-13 19:17:47] local.INFO: Packet analysis {"connection_id":130574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:17:47] local.INFO: Extracted packet for processing {"connection_id":130574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb6"} 
[2026-07-13 19:17:47] local.INFO: GPS Element Parsed {"raw_longitude":749902976,"raw_latitude":125975608,"longitude_deg":74.9902976,"latitude_deg":12.5975608,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29c80","hex_latitude":"07823c38","is_valid_coordinates":true} 
[2026-07-13 19:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691234048001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:17:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576441468853405696,"note":"Value kept but may cause issues"} 
[2026-07-13 19:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783950146000,"timestamp_ms":1783950146000,"timestamp_seconds":1783950146,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb6f9d0"} 
[2026-07-13 19:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-13 19:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130574,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130574,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691234048001,"66":28376,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576441468853405696},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691234048001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:17:47] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:17:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:17:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576441468853405696,"description":"Unknown IO ID 44"} 
[2026-07-13 19:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691234048001,"power":28376,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576441468853405696}} 
[2026-07-13 19:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":130574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481619,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:17:47] local.INFO: GPS data processed {"connection_id":130574,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:17:47] local.INFO: Acknowledgment sent {"connection_id":130574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:17:53] local.INFO: TCP Data received {"connection_id":130796,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:17:53] local.INFO: Processing buffer {"connection_id":130796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:17:53] local.INFO: IMEI packet received {"connection_id":130796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":130796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:17:58] local.INFO: TCP Data received {"connection_id":130796,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:17:58] local.INFO: Processing buffer {"connection_id":130796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:17:58] local.INFO: IMEI packet received {"connection_id":130796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":130796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:17:58] local.INFO: TCP Data received {"connection_id":130796,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bba4d60012d1b35000725a758002b012826..."} 
[2026-07-13 19:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bba4d60012d1b35000725a758002b012826..."} 
[2026-07-13 19:17:58] local.INFO: Processing buffer {"connection_id":130796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bba4d60012d1b35000725a758002b012826..."} 
[2026-07-13 19:17:58] local.INFO: Packet analysis {"connection_id":130796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bba"} 
[2026-07-13 19:17:58] local.INFO: Extracted packet for processing {"connection_id":130796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bba"} 
[2026-07-13 19:17:58] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119908184,"longitude_deg":75.675776,"latitude_deg":11.9908184,"altitude":43,"angle":296,"satellites":38,"speed":6,"hex_longitude":"2d1b3500","hex_latitude":"0725a758","is_valid_coordinates":true} 
[2026-07-13 19:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691292672001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5960229195874304,"note":"Value kept but may cause issues"} 
[2026-07-13 19:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960754718462869504,"note":"Value kept but may cause issues"} 
[2026-07-13 19:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783950364000,"timestamp_ms":1783950364000,"timestamp_seconds":1783950364,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bba4d60"} 
[2026-07-13 19:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-13 19:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691292672001,"66":12993,"217":206,"83":42752,"24":6,"16":5960229195874304,"45":1960754718462869504},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-13 19:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691292672001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:17:58] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-13 19:17:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5960229195874304,"km_value":5960229195874.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960754718462869504,"description":"Unknown IO ID 45"} 
[2026-07-13 19:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691292672001,"power":12993,"unknown_217":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1960754718462869504}} 
[2026-07-13 19:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":130796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:17:58] local.INFO: GPS data processed {"connection_id":130796,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:17:58] local.INFO: Acknowledgment sent {"connection_id":130796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:18:11] local.INFO: TCP Data received {"connection_id":131594,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:18:11] local.INFO: Processing buffer {"connection_id":131594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:18:11] local.INFO: Packet analysis {"connection_id":131594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb8"} 
[2026-07-13 19:18:11] local.INFO: Extracted packet for processing {"connection_id":131594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb8"} 
[2026-07-13 19:18:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691187200001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783950251000,"timestamp_ms":1783950251000,"timestamp_seconds":1783950251,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb893f8"} 
[2026-07-13 19:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 19:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691187200001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691187200001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:18:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:18:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691187200001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":131594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:18:11] local.INFO: GPS data processed {"connection_id":131594,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:18:11] local.INFO: Acknowledgment sent {"connection_id":131594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:18:19] local.INFO: TCP Data received {"connection_id":130574,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbba520012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbba520012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:18:19] local.INFO: Processing buffer {"connection_id":130574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbba520012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:18:19] local.INFO: Packet analysis {"connection_id":130574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbb"} 
[2026-07-13 19:18:19] local.INFO: Extracted packet for processing {"connection_id":130574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbb"} 
[2026-07-13 19:18:19] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 19:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691237376001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:18:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576441468853405696,"note":"Value kept but may cause issues"} 
[2026-07-13 19:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783950452000,"timestamp_ms":1783950452000,"timestamp_seconds":1783950452,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbba520"} 
[2026-07-13 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-07-13 19:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 19:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 19:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130574,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130574,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691237376001,"66":25375,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576441468853405696},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691237376001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:18:19] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:18:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:18:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576441468853405696,"description":"Unknown IO ID 44"} 
[2026-07-13 19:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691237376001,"power":25375,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576441468853405696}} 
[2026-07-13 19:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":130574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481622,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:18:19] local.INFO: GPS data processed {"connection_id":130574,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:18:19] local.INFO: Acknowledgment sent {"connection_id":130574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:18:29] local.INFO: TCP Data received {"connection_id":130796,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bba6ca0012d1b31c00725a778002c00f927..."} 
[2026-07-13 19:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bba6ca0012d1b31c00725a778002c00f927..."} 
[2026-07-13 19:18:29] local.INFO: Processing buffer {"connection_id":130796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bba6ca0012d1b31c00725a778002c00f927..."} 
[2026-07-13 19:18:29] local.INFO: Packet analysis {"connection_id":130796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bba"} 
[2026-07-13 19:18:29] local.INFO: Extracted packet for processing {"connection_id":130796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bba"} 
[2026-07-13 19:18:29] local.INFO: GPS Element Parsed {"raw_longitude":756756928,"raw_latitude":119908216,"longitude_deg":75.6756928,"latitude_deg":11.9908216,"altitude":44,"angle":249,"satellites":39,"speed":8,"hex_longitude":"2d1b31c0","hex_latitude":"0725a778","is_valid_coordinates":true} 
[2026-07-13 19:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691293184001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5960272145547264,"note":"Value kept but may cause issues"} 
[2026-07-13 19:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243486214144,"note":"Value kept but may cause issues"} 
[2026-07-13 19:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783950372000,"timestamp_ms":1783950372000,"timestamp_seconds":1783950372,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bba6ca0"} 
[2026-07-13 19:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-13 19:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691293184001,"66":12841,"217":206,"83":42752,"24":8,"16":5960272145547264,"45":1960473243486214144},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-13 19:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691293184001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:18:29] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-13 19:18:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5960272145547264,"km_value":5960272145547.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243486214144,"description":"Unknown IO ID 45"} 
[2026-07-13 19:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691293184001,"power":12841,"unknown_217":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1960473243486214144}} 
[2026-07-13 19:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":130796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:18:29] local.INFO: GPS data processed {"connection_id":130796,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:18:29] local.INFO: Acknowledgment sent {"connection_id":130796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:18:33] local.INFO: TCP Data received {"connection_id":132936,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:18:33] local.INFO: Processing buffer {"connection_id":132936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:18:33] local.INFO: IMEI packet received {"connection_id":132936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":132936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:18:39] local.INFO: TCP Data received {"connection_id":132936,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:18:39] local.INFO: Processing buffer {"connection_id":132936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:18:39] local.INFO: IMEI packet received {"connection_id":132936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":132936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:18:39] local.INFO: TCP Data received {"connection_id":130797,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130797,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:18:39] local.INFO: Processing buffer {"connection_id":130797,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:18:39] local.INFO: IMEI packet received {"connection_id":130797,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":130797,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:18:40] local.INFO: TCP Data received {"connection_id":132936,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:18:40] local.INFO: Processing buffer {"connection_id":132936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:18:40] local.INFO: Packet analysis {"connection_id":132936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb8"} 
[2026-07-13 19:18:40] local.INFO: Extracted packet for processing {"connection_id":132936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb8"} 
[2026-07-13 19:18:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691187200001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783950251000,"timestamp_ms":1783950251000,"timestamp_seconds":1783950251,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb893f8"} 
[2026-07-13 19:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 19:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691187200001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691187200001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:18:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:18:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691187200001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":132936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:18:40] local.INFO: GPS data processed {"connection_id":132936,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:18:40] local.INFO: Acknowledgment sent {"connection_id":132936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:18:45] local.INFO: TCP Data received {"connection_id":130797,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130797,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:18:45] local.INFO: Processing buffer {"connection_id":130797,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:18:45] local.INFO: IMEI packet received {"connection_id":130797,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":130797,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:18:46] local.INFO: TCP Data received {"connection_id":130797,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbba520012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbba520012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:18:46] local.INFO: Processing buffer {"connection_id":130797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbba520012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:18:46] local.INFO: Packet analysis {"connection_id":130797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbb"} 
[2026-07-13 19:18:46] local.INFO: Extracted packet for processing {"connection_id":130797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbb"} 
[2026-07-13 19:18:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691237376001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:18:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576441468853405696,"note":"Value kept but may cause issues"} 
[2026-07-13 19:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783950452000,"timestamp_ms":1783950452000,"timestamp_seconds":1783950452,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbba520"} 
[2026-07-13 19:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 19:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130797,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130797,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691237376001,"66":25375,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576441468853405696},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691237376001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:18:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:18:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:18:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576441468853405696,"description":"Unknown IO ID 44"} 
[2026-07-13 19:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691237376001,"power":25375,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576441468853405696}} 
[2026-07-13 19:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":130797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481625,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:18:46] local.INFO: GPS data processed {"connection_id":130797,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:18:46] local.INFO: Acknowledgment sent {"connection_id":130797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:18:51] local.INFO: TCP Data received {"connection_id":130575,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:18:51] local.INFO: Processing buffer {"connection_id":130575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:18:51] local.INFO: IMEI packet received {"connection_id":130575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":130575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:18:52] local.INFO: TCP Data received {"connection_id":130575,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:18:52] local.INFO: Processing buffer {"connection_id":130575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:18:52] local.INFO: IMEI packet received {"connection_id":130575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":130575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:18:58] local.INFO: TCP Data received {"connection_id":130575,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:18:58] local.INFO: Processing buffer {"connection_id":130575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:18:58] local.INFO: IMEI packet received {"connection_id":130575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":130575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:18:59] local.INFO: TCP Data received {"connection_id":130575,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bba7470012d1b2f800725a730002c010c28..."} 
[2026-07-13 19:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bba7470012d1b2f800725a730002c010c28..."} 
[2026-07-13 19:18:59] local.INFO: Processing buffer {"connection_id":130575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bba7470012d1b2f800725a730002c010c28..."} 
[2026-07-13 19:18:59] local.INFO: Packet analysis {"connection_id":130575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bba"} 
[2026-07-13 19:18:59] local.INFO: Extracted packet for processing {"connection_id":130575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bba"} 
[2026-07-13 19:18:59] local.INFO: GPS Element Parsed {"raw_longitude":756756352,"raw_latitude":119908144,"longitude_deg":75.6756352,"latitude_deg":11.9908144,"altitude":44,"angle":268,"satellites":40,"speed":11,"hex_longitude":"2d1b2f80","hex_latitude":"0725a730","is_valid_coordinates":true} 
[2026-07-13 19:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691295232001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5960297915351040,"note":"Value kept but may cause issues"} 
[2026-07-13 19:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959558449811912704,"note":"Value kept but may cause issues"} 
[2026-07-13 19:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783950374000,"timestamp_ms":1783950374000,"timestamp_seconds":1783950374,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bba7470"} 
[2026-07-13 19:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-13 19:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:18:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":130575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":130575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":130575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691295232001,"66":12993,"217":206,"83":42752,"24":11,"16":5960297915351040,"45":1959558449811912704},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-13 19:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691295232001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:18:59] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-13 19:18:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5960297915351040,"km_value":5960297915351.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959558449811912704,"description":"Unknown IO ID 45"} 
[2026-07-13 19:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691295232001,"power":12993,"unknown_217":206,"unknown_83":42752,"ignition":11,"odometer":null,"unknown_45":1959558449811912704}} 
[2026-07-13 19:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":130575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:18:59] local.INFO: GPS data processed {"connection_id":130575,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:18:59] local.INFO: Acknowledgment sent {"connection_id":130575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:19:11] local.INFO: TCP Data received {"connection_id":132936,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:19:11] local.INFO: Processing buffer {"connection_id":132936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:19:11] local.INFO: Packet analysis {"connection_id":132936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb8"} 
[2026-07-13 19:19:11] local.INFO: Extracted packet for processing {"connection_id":132936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb8"} 
[2026-07-13 19:19:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691187200001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783950251000,"timestamp_ms":1783950251000,"timestamp_seconds":1783950251,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb893f8"} 
[2026-07-13 19:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 19:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691187200001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691187200001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:19:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691187200001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":132936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:19:11] local.INFO: GPS data processed {"connection_id":132936,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:19:11] local.INFO: Acknowledgment sent {"connection_id":132936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:19:18] local.INFO: TCP Data received {"connection_id":130797,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbba520012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbba520012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:19:18] local.INFO: Processing buffer {"connection_id":130797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbba520012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:19:18] local.INFO: Packet analysis {"connection_id":130797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbb"} 
[2026-07-13 19:19:18] local.INFO: Extracted packet for processing {"connection_id":130797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbb"} 
[2026-07-13 19:19:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 19:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691237376001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:19:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576441468853405696,"note":"Value kept but may cause issues"} 
[2026-07-13 19:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783950452000,"timestamp_ms":1783950452000,"timestamp_seconds":1783950452,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbba520"} 
[2026-07-13 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-07-13 19:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 19:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 19:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130797,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130797,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691237376001,"66":25375,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576441468853405696},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691237376001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:19:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:19:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:19:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576441468853405696,"description":"Unknown IO ID 44"} 
[2026-07-13 19:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691237376001,"power":25375,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576441468853405696}} 
[2026-07-13 19:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":130797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481628,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:19:18] local.INFO: GPS data processed {"connection_id":130797,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:19:18] local.INFO: Acknowledgment sent {"connection_id":130797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:19:30] local.INFO: TCP Data received {"connection_id":130575,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbaab20012d1b18800725a4f0002b00ff20..."} 
[2026-07-13 19:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbaab20012d1b18800725a4f0002b00ff20..."} 
[2026-07-13 19:19:30] local.INFO: Processing buffer {"connection_id":130575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbaab20012d1b18800725a4f0002b00ff20..."} 
[2026-07-13 19:19:30] local.INFO: Packet analysis {"connection_id":130575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bba"} 
[2026-07-13 19:19:30] local.INFO: Extracted packet for processing {"connection_id":130575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bba"} 
[2026-07-13 19:19:30] local.INFO: GPS Element Parsed {"raw_longitude":756750464,"raw_latitude":119907568,"longitude_deg":75.6750464,"latitude_deg":11.9907568,"altitude":43,"angle":255,"satellites":32,"speed":15,"hex_longitude":"2d1b1880","hex_latitude":"0725a4f0","is_valid_coordinates":true} 
[2026-07-13 19:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691295744001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5960577088225280,"note":"Value kept but may cause issues"} 
[2026-07-13 19:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958925131114295296,"note":"Value kept but may cause issues"} 
[2026-07-13 19:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783950388000,"timestamp_ms":1783950388000,"timestamp_seconds":1783950388,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbaab20"} 
[2026-07-13 19:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-13 19:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":130575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":130575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":130575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691295744001,"66":13961,"217":206,"83":42752,"24":15,"16":5960577088225280,"45":1958925131114295296},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-13 19:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691295744001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:19:30] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-13 19:19:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5960577088225280,"km_value":5960577088225.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958925131114295296,"description":"Unknown IO ID 45"} 
[2026-07-13 19:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691295744001,"power":13961,"unknown_217":206,"unknown_83":42752,"ignition":15,"odometer":null,"unknown_45":1958925131114295296}} 
[2026-07-13 19:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":130575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:19:30] local.INFO: GPS data processed {"connection_id":130575,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:19:30] local.INFO: Acknowledgment sent {"connection_id":130575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:19:39] local.INFO: TCP Data received {"connection_id":130798,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:19:39] local.INFO: Processing buffer {"connection_id":130798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:19:39] local.INFO: IMEI packet received {"connection_id":130798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":130798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:19:39] local.INFO: TCP Data received {"connection_id":131595,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131595,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:19:39] local.INFO: Processing buffer {"connection_id":131595,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:19:39] local.INFO: IMEI packet received {"connection_id":131595,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":131595,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:19:44] local.INFO: TCP Data received {"connection_id":130798,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:19:44] local.INFO: Processing buffer {"connection_id":130798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:19:44] local.INFO: IMEI packet received {"connection_id":130798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":130798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:19:45] local.INFO: TCP Data received {"connection_id":131595,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131595,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:19:45] local.INFO: Processing buffer {"connection_id":131595,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:19:45] local.INFO: IMEI packet received {"connection_id":131595,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":131595,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:19:45] local.INFO: TCP Data received {"connection_id":130798,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:19:45] local.INFO: Processing buffer {"connection_id":130798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:19:45] local.INFO: Packet analysis {"connection_id":130798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb8"} 
[2026-07-13 19:19:45] local.INFO: Extracted packet for processing {"connection_id":130798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb8"} 
[2026-07-13 19:19:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691187200001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783950251000,"timestamp_ms":1783950251000,"timestamp_seconds":1783950251,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb893f8"} 
[2026-07-13 19:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 19:19:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:19:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691187200001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691187200001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:19:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:19:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691187200001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":130798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:19:45] local.INFO: GPS data processed {"connection_id":130798,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:19:45] local.INFO: Acknowledgment sent {"connection_id":130798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:19:46] local.INFO: TCP Data received {"connection_id":131595,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbba520012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbba520012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:19:46] local.INFO: Processing buffer {"connection_id":131595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbba520012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:19:46] local.INFO: Packet analysis {"connection_id":131595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbb"} 
[2026-07-13 19:19:46] local.INFO: Extracted packet for processing {"connection_id":131595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbb"} 
[2026-07-13 19:19:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691237376001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:19:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576441468853405696,"note":"Value kept but may cause issues"} 
[2026-07-13 19:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783950452000,"timestamp_ms":1783950452000,"timestamp_seconds":1783950452,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbba520"} 
[2026-07-13 19:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 19:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691237376001,"66":25375,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576441468853405696},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691237376001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:19:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:19:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:19:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576441468853405696,"description":"Unknown IO ID 44"} 
[2026-07-13 19:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691237376001,"power":25375,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576441468853405696}} 
[2026-07-13 19:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":131595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481631,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:19:46] local.INFO: GPS data processed {"connection_id":131595,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:19:46] local.INFO: Acknowledgment sent {"connection_id":131595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:19:49] local.INFO: TCP Data received {"connection_id":130798,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:19:49] local.INFO: Processing buffer {"connection_id":130798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bb893f8012d7f914005afd9380019011b21..."} 
[2026-07-13 19:19:49] local.INFO: Packet analysis {"connection_id":130798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bb8"} 
[2026-07-13 19:19:49] local.INFO: Extracted packet for processing {"connection_id":130798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bb8"} 
[2026-07-13 19:19:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 19:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691187200001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783950251000,"timestamp_ms":1783950251000,"timestamp_seconds":1783950251,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bb893f8"} 
[2026-07-13 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-07-13 19:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 19:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 19:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:19: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-07-13 19:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691187200001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691187200001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:19:49] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:19:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691187200001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":130798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:19:49] local.INFO: GPS data processed {"connection_id":130798,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:19:49] local.INFO: Acknowledgment sent {"connection_id":130798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:19:50] local.INFO: TCP Data received {"connection_id":131596,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:19:50] local.INFO: Processing buffer {"connection_id":131596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:19:50] local.INFO: IMEI packet received {"connection_id":131596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":131596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:19:53] local.INFO: TCP Data received {"connection_id":131596,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:19:53] local.INFO: Processing buffer {"connection_id":131596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:19:53] local.INFO: IMEI packet received {"connection_id":131596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":131596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:19:56] local.INFO: TCP Data received {"connection_id":131596,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:19:56] local.INFO: Processing buffer {"connection_id":131596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:19:56] local.INFO: IMEI packet received {"connection_id":131596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":131596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:19:56] local.INFO: TCP Data received {"connection_id":131596,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbcd1e8012d1b090007259fa00034005c27..."} 
[2026-07-13 19:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbcd1e8012d1b090007259fa00034005c27..."} 
[2026-07-13 19:19:56] local.INFO: Processing buffer {"connection_id":131596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbcd1e8012d1b090007259fa00034005c27..."} 
[2026-07-13 19:19:56] local.INFO: Packet analysis {"connection_id":131596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbc"} 
[2026-07-13 19:19:56] local.INFO: Extracted packet for processing {"connection_id":131596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbc"} 
[2026-07-13 19:19:56] local.INFO: GPS Element Parsed {"raw_longitude":756746496,"raw_latitude":119906208,"longitude_deg":75.6746496,"latitude_deg":11.9906208,"altitude":52,"angle":92,"satellites":39,"speed":8,"hex_longitude":"2d1b0900","hex_latitude":"07259fa0","is_valid_coordinates":true} 
[2026-07-13 19:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691334912001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5960912095674368,"note":"Value kept but may cause issues"} 
[2026-07-13 19:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1947666132045387776,"note":"Value kept but may cause issues"} 
[2026-07-13 19:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783950529000,"timestamp_ms":1783950529000,"timestamp_seconds":1783950529,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbcd1e8"} 
[2026-07-13 19:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-13 19:19:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:19:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":131596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":131596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":131596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691334912001,"66":14070,"217":206,"83":42752,"24":8,"16":5960912095674368,"45":1947666132045387776},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-13 19:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691334912001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:19:56] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-13 19:19:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5960912095674368,"km_value":5960912095674.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1947666132045387776,"description":"Unknown IO ID 45"} 
[2026-07-13 19:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691334912001,"power":14070,"unknown_217":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1947666132045387776}} 
[2026-07-13 19:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":131596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:19:57] local.INFO: GPS data processed {"connection_id":131596,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:19:57] local.INFO: Acknowledgment sent {"connection_id":131596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:20:21] local.INFO: TCP Data received {"connection_id":131595,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbba520012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbba520012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:20:21] local.INFO: Processing buffer {"connection_id":131595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbba520012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:20:21] local.INFO: Packet analysis {"connection_id":131595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbb"} 
[2026-07-13 19:20:21] local.INFO: Extracted packet for processing {"connection_id":131595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbb"} 
[2026-07-13 19:20:21] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691237376001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:20:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576441468853405696,"note":"Value kept but may cause issues"} 
[2026-07-13 19:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783950452000,"timestamp_ms":1783950452000,"timestamp_seconds":1783950452,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbba520"} 
[2026-07-13 19:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 19:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":131595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":131595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":131595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691237376001,"66":25375,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576441468853405696},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691237376001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:20:21] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:20:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:20:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576441468853405696,"description":"Unknown IO ID 44"} 
[2026-07-13 19:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691237376001,"power":25375,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576441468853405696}} 
[2026-07-13 19:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":131595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481634,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:20:21] local.INFO: GPS data processed {"connection_id":131595,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:20:21] local.INFO: Acknowledgment sent {"connection_id":131595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:20:28] local.INFO: TCP Data received {"connection_id":131596,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbcd9b8012d1b0b0007259fe00035005027..."} 
[2026-07-13 19:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbcd9b8012d1b0b0007259fe00035005027..."} 
[2026-07-13 19:20:28] local.INFO: Processing buffer {"connection_id":131596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbcd9b8012d1b0b0007259fe00035005027..."} 
[2026-07-13 19:20:28] local.INFO: Packet analysis {"connection_id":131596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbc"} 
[2026-07-13 19:20:28] local.INFO: Extracted packet for processing {"connection_id":131596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbc"} 
[2026-07-13 19:20:28] local.INFO: GPS Element Parsed {"raw_longitude":756747008,"raw_latitude":119906272,"longitude_deg":75.6747008,"latitude_deg":11.9906272,"altitude":53,"angle":80,"satellites":39,"speed":10,"hex_longitude":"2d1b0b00","hex_latitude":"07259fe0","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691335424001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5960933570510848,"note":"Value kept but may cause issues"} 
[2026-07-13 19:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1948088344510439424,"note":"Value kept but may cause issues"} 
[2026-07-13 19:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783950531000,"timestamp_ms":1783950531000,"timestamp_seconds":1783950531,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbcd9b8"} 
[2026-07-13 19:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-13 19:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":131596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":131596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":131596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691335424001,"66":13559,"217":206,"83":42752,"24":10,"16":5960933570510848,"45":1948088344510439424},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-13 19:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691335424001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:20:28] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-13 19:20:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5960933570510848,"km_value":5960933570510.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1948088344510439424,"description":"Unknown IO ID 45"} 
[2026-07-13 19:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691335424001,"power":13559,"unknown_217":206,"unknown_83":42752,"ignition":10,"odometer":null,"unknown_45":1948088344510439424}} 
[2026-07-13 19:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":131596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:20:28] local.INFO: GPS data processed {"connection_id":131596,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:20:28] local.INFO: Acknowledgment sent {"connection_id":131596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:20:34] local.INFO: TCP Data received {"connection_id":130799,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:20:34] local.INFO: Processing buffer {"connection_id":130799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:20:34] local.INFO: IMEI packet received {"connection_id":130799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":130799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:20:39] local.INFO: TCP Data received {"connection_id":130799,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:20:39] local.INFO: Processing buffer {"connection_id":130799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:20:39] local.INFO: IMEI packet received {"connection_id":130799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":130799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:20:40] local.INFO: TCP Data received {"connection_id":130799,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbd2bc0012d7f914005afd938001a011b27..."} 
[2026-07-13 19:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbd2bc0012d7f914005afd938001a011b27..."} 
[2026-07-13 19:20:40] local.INFO: Processing buffer {"connection_id":130799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbd2bc0012d7f914005afd938001a011b27..."} 
[2026-07-13 19:20:40] local.INFO: Packet analysis {"connection_id":130799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbd"} 
[2026-07-13 19:20:40] local.INFO: Extracted packet for processing {"connection_id":130799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbd"} 
[2026-07-13 19:20:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691264256001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783950552000,"timestamp_ms":1783950552000,"timestamp_seconds":1783950552,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbd2bc0"} 
[2026-07-13 19:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691264256001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691264256001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:20:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:20:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691264256001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":130799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:20:40] local.INFO: GPS data processed {"connection_id":130799,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:20:40] local.INFO: Acknowledgment sent {"connection_id":130799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:20:48] local.INFO: TCP Data received {"connection_id":130800,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130800,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:20:48] local.INFO: Processing buffer {"connection_id":130800,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:20:48] local.INFO: IMEI packet received {"connection_id":130800,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":130800,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:20:49] local.INFO: TCP Data received {"connection_id":130800,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130800,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:20:49] local.INFO: Processing buffer {"connection_id":130800,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:20:49] local.INFO: IMEI packet received {"connection_id":130800,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":130800,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:20:52] local.INFO: TCP Data received {"connection_id":131597,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:20:52] local.INFO: Processing buffer {"connection_id":131597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:20:52] local.INFO: IMEI packet received {"connection_id":131597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":131597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:20:54] local.INFO: TCP Data received {"connection_id":130800,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbba520012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbba520012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:20:54] local.INFO: Processing buffer {"connection_id":130800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbba520012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:20:54] local.INFO: Packet analysis {"connection_id":130800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbb"} 
[2026-07-13 19:20:54] local.INFO: Extracted packet for processing {"connection_id":130800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbb"} 
[2026-07-13 19:20:54] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691237376001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:20:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576441468853405696,"note":"Value kept but may cause issues"} 
[2026-07-13 19:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783950452000,"timestamp_ms":1783950452000,"timestamp_seconds":1783950452,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbba520"} 
[2026-07-13 19:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 19:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691237376001,"66":25375,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576441468853405696},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691237376001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:20:55] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:20:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:20:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576441468853405696,"description":"Unknown IO ID 44"} 
[2026-07-13 19:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691237376001,"power":25375,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576441468853405696}} 
[2026-07-13 19:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":130800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481637,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:20:55] local.INFO: GPS data processed {"connection_id":130800,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:20:55] local.INFO: Acknowledgment sent {"connection_id":130800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:20:55] local.INFO: TCP Data received {"connection_id":131597,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:20:55] local.INFO: Processing buffer {"connection_id":131597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:20:55] local.INFO: IMEI packet received {"connection_id":131597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":131597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:20:55] local.INFO: TCP Data received {"connection_id":130800,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbba520012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbba520012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:20:55] local.INFO: Processing buffer {"connection_id":130800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbba520012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:20:55] local.INFO: Packet analysis {"connection_id":130800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbb"} 
[2026-07-13 19:20:55] local.INFO: Extracted packet for processing {"connection_id":130800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbb"} 
[2026-07-13 19:20:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691237376001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:20:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576441468853405696,"note":"Value kept but may cause issues"} 
[2026-07-13 19:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783950452000,"timestamp_ms":1783950452000,"timestamp_seconds":1783950452,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbba520"} 
[2026-07-13 19:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 19:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691237376001,"66":25375,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576441468853405696},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691237376001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:20:56] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:20:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:20:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576441468853405696,"description":"Unknown IO ID 44"} 
[2026-07-13 19:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691237376001,"power":25375,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576441468853405696}} 
[2026-07-13 19:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":130800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481638,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:20:56] local.INFO: GPS data processed {"connection_id":130800,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:20:56] local.INFO: Acknowledgment sent {"connection_id":130800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:20:58] local.INFO: TCP Data received {"connection_id":131597,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:20:58] local.INFO: Processing buffer {"connection_id":131597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:20:58] local.INFO: IMEI packet received {"connection_id":131597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":131597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:20:58] local.INFO: TCP Data received {"connection_id":131597,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbd2fa8012d1b20c00725a5e00033005225..."} 
[2026-07-13 19:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbd2fa8012d1b20c00725a5e00033005225..."} 
[2026-07-13 19:20:58] local.INFO: Processing buffer {"connection_id":131597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbd2fa8012d1b20c00725a5e00033005225..."} 
[2026-07-13 19:20:58] local.INFO: Packet analysis {"connection_id":131597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbd"} 
[2026-07-13 19:20:58] local.INFO: Extracted packet for processing {"connection_id":131597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbd"} 
[2026-07-13 19:20:58] local.INFO: GPS Element Parsed {"raw_longitude":756752576,"raw_latitude":119907808,"longitude_deg":75.6752576,"latitude_deg":11.9907808,"altitude":51,"angle":82,"satellites":37,"speed":9,"hex_longitude":"2d1b20c0","hex_latitude":"0725a5e0","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691335936001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5961208448417792,"note":"Value kept but may cause issues"} 
[2026-07-13 19:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1948651294463877120,"note":"Value kept but may cause issues"} 
[2026-07-13 19:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783950553000,"timestamp_ms":1783950553000,"timestamp_seconds":1783950553,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbd2fa8"} 
[2026-07-13 19:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-13 19:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691335936001,"66":14070,"217":206,"83":42752,"24":9,"16":5961208448417792,"45":1948651294463877120},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-13 19:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691335936001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:20:58] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-13 19:20:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5961208448417792,"km_value":5961208448417.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1948651294463877120,"description":"Unknown IO ID 45"} 
[2026-07-13 19:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691335936001,"power":14070,"unknown_217":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":1948651294463877120}} 
[2026-07-13 19:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":131597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:20:58] local.INFO: GPS data processed {"connection_id":131597,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:20:58] local.INFO: Acknowledgment sent {"connection_id":131597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:21:11] local.INFO: TCP Data received {"connection_id":130799,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbd2bc0012d7f914005afd938001a011b27..."} 
[2026-07-13 19:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbd2bc0012d7f914005afd938001a011b27..."} 
[2026-07-13 19:21:11] local.INFO: Processing buffer {"connection_id":130799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbd2bc0012d7f914005afd938001a011b27..."} 
[2026-07-13 19:21:11] local.INFO: Packet analysis {"connection_id":130799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbd"} 
[2026-07-13 19:21:11] local.INFO: Extracted packet for processing {"connection_id":130799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbd"} 
[2026-07-13 19:21:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691264256001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783950552000,"timestamp_ms":1783950552000,"timestamp_seconds":1783950552,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbd2bc0"} 
[2026-07-13 19:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691264256001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691264256001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:21:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:21:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691264256001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":130799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:21:11] local.INFO: GPS data processed {"connection_id":130799,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:21:11] local.INFO: Acknowledgment sent {"connection_id":130799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:21:30] local.INFO: TCP Data received {"connection_id":131597,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbd4330012d1b24c00725a6300033006623..."} 
[2026-07-13 19:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbd4330012d1b24c00725a6300033006623..."} 
[2026-07-13 19:21:30] local.INFO: Processing buffer {"connection_id":131597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbd4330012d1b24c00725a6300033006623..."} 
[2026-07-13 19:21:30] local.INFO: Packet analysis {"connection_id":131597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbd"} 
[2026-07-13 19:21:30] local.INFO: Extracted packet for processing {"connection_id":131597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbd"} 
[2026-07-13 19:21:30] local.INFO: GPS Element Parsed {"raw_longitude":756753600,"raw_latitude":119907888,"longitude_deg":75.67536,"latitude_deg":11.9907888,"altitude":51,"angle":102,"satellites":35,"speed":6,"hex_longitude":"2d1b24c0","hex_latitude":"0725a630","is_valid_coordinates":true} 
[2026-07-13 19:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691341568001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5961259988025344,"note":"Value kept but may cause issues"} 
[2026-07-13 19:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1954773375207727104,"note":"Value kept but may cause issues"} 
[2026-07-13 19:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783950558000,"timestamp_ms":1783950558000,"timestamp_seconds":1783950558,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbd4330"} 
[2026-07-13 19:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-13 19:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":131597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":131597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":131597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691341568001,"66":14102,"217":206,"83":42752,"24":6,"16":5961259988025344,"45":1954773375207727104},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-13 19:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691341568001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:21:30] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-13 19:21:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5961259988025344,"km_value":5961259988025.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1954773375207727104,"description":"Unknown IO ID 45"} 
[2026-07-13 19:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691341568001,"power":14102,"unknown_217":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1954773375207727104}} 
[2026-07-13 19:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":131597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:21:30] local.INFO: GPS data processed {"connection_id":131597,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:21:30] local.INFO: Acknowledgment sent {"connection_id":131597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:21:33] local.INFO: TCP Data received {"connection_id":132937,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:21:33] local.INFO: Processing buffer {"connection_id":132937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:21:33] local.INFO: IMEI packet received {"connection_id":132937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":132937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:21:38] local.INFO: TCP Data received {"connection_id":132937,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:21:38] local.INFO: Processing buffer {"connection_id":132937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:21:38] local.INFO: IMEI packet received {"connection_id":132937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":132937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:21:39] local.INFO: TCP Data received {"connection_id":132938,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132938,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:21:39] local.INFO: Processing buffer {"connection_id":132938,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:21:39] local.INFO: IMEI packet received {"connection_id":132938,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":132938,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:21:39] local.INFO: TCP Data received {"connection_id":132937,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbd2bc0012d7f914005afd938001a011b27..."} 
[2026-07-13 19:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbd2bc0012d7f914005afd938001a011b27..."} 
[2026-07-13 19:21:39] local.INFO: Processing buffer {"connection_id":132937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbd2bc0012d7f914005afd938001a011b27..."} 
[2026-07-13 19:21:39] local.INFO: Packet analysis {"connection_id":132937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbd"} 
[2026-07-13 19:21:39] local.INFO: Extracted packet for processing {"connection_id":132937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbd"} 
[2026-07-13 19:21:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691264256001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783950552000,"timestamp_ms":1783950552000,"timestamp_seconds":1783950552,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbd2bc0"} 
[2026-07-13 19:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":132937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":132937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":132937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691264256001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691264256001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:21:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:21:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691264256001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":132937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:21:39] local.INFO: GPS data processed {"connection_id":132937,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:21:39] local.INFO: Acknowledgment sent {"connection_id":132937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:21:45] local.INFO: TCP Data received {"connection_id":132938,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132938,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:21:45] local.INFO: Processing buffer {"connection_id":132938,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:21:45] local.INFO: IMEI packet received {"connection_id":132938,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":132938,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:21:46] local.INFO: TCP Data received {"connection_id":132938,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbba520012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbba520012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:21:46] local.INFO: Processing buffer {"connection_id":132938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbba520012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:21:46] local.INFO: Packet analysis {"connection_id":132938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbb"} 
[2026-07-13 19:21:46] local.INFO: Extracted packet for processing {"connection_id":132938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbb"} 
[2026-07-13 19:21:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 19:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691237376001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:21:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576441468853405696,"note":"Value kept but may cause issues"} 
[2026-07-13 19:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783950452000,"timestamp_ms":1783950452000,"timestamp_seconds":1783950452,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbba520"} 
[2026-07-13 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-07-13 19:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 19:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 19:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691237376001,"66":25375,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576441468853405696},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691237376001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:21:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:21:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:21:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576441468853405696,"description":"Unknown IO ID 44"} 
[2026-07-13 19:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691237376001,"power":25375,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576441468853405696}} 
[2026-07-13 19:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":132938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481643,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:21:46] local.INFO: GPS data processed {"connection_id":132938,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:21:46] local.INFO: Acknowledgment sent {"connection_id":132938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:21:52] local.INFO: TCP Data received {"connection_id":130801,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:21:52] local.INFO: Processing buffer {"connection_id":130801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:21:52] local.INFO: IMEI packet received {"connection_id":130801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":130801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:21:58] local.INFO: TCP Data received {"connection_id":130801,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:21:58] local.INFO: Processing buffer {"connection_id":130801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:21:58] local.INFO: IMEI packet received {"connection_id":130801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":130801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:21:59] local.INFO: TCP Data received {"connection_id":130801,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbe6058012d1b500007257e60002c008827..."} 
[2026-07-13 19:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbe6058012d1b500007257e60002c008827..."} 
[2026-07-13 19:21:59] local.INFO: Processing buffer {"connection_id":130801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbe6058012d1b500007257e60002c008827..."} 
[2026-07-13 19:21:59] local.INFO: Packet analysis {"connection_id":130801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbe"} 
[2026-07-13 19:21:59] local.INFO: Extracted packet for processing {"connection_id":130801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbe"} 
[2026-07-13 19:21:59] local.INFO: GPS Element Parsed {"raw_longitude":756764672,"raw_latitude":119897696,"longitude_deg":75.6764672,"latitude_deg":11.9897696,"altitude":44,"angle":136,"satellites":39,"speed":13,"hex_longitude":"2d1b5000","hex_latitude":"07257e60","is_valid_coordinates":true} 
[2026-07-13 19:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691358464001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962093211680768,"note":"Value kept but may cause issues"} 
[2026-07-13 19:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965680530553446400,"note":"Value kept but may cause issues"} 
[2026-07-13 19:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783950631000,"timestamp_ms":1783950631000,"timestamp_seconds":1783950631,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbe6058"} 
[2026-07-13 19:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-13 19:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:21:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":130801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":130801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":130801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691358464001,"66":13493,"217":206,"83":42752,"24":13,"16":5962093211680768,"45":1965680530553446400},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-13 19:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691358464001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:21:59] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-13 19:21:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962093211680768,"km_value":5962093211680.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965680530553446400,"description":"Unknown IO ID 45"} 
[2026-07-13 19:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691358464001,"power":13493,"unknown_217":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":1965680530553446400}} 
[2026-07-13 19:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":130801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:21:59] local.INFO: GPS data processed {"connection_id":130801,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:21:59] local.INFO: Acknowledgment sent {"connection_id":130801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:22:10] local.INFO: TCP Data received {"connection_id":132937,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbd2bc0012d7f914005afd938001a011b27..."} 
[2026-07-13 19:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbd2bc0012d7f914005afd938001a011b27..."} 
[2026-07-13 19:22:10] local.INFO: Processing buffer {"connection_id":132937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbd2bc0012d7f914005afd938001a011b27..."} 
[2026-07-13 19:22:10] local.INFO: Packet analysis {"connection_id":132937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbd"} 
[2026-07-13 19:22:10] local.INFO: Extracted packet for processing {"connection_id":132937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbd"} 
[2026-07-13 19:22:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691264256001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783950552000,"timestamp_ms":1783950552000,"timestamp_seconds":1783950552,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbd2bc0"} 
[2026-07-13 19:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":132937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":132937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":132937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691264256001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691264256001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:22:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691264256001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":132937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:22:10] local.INFO: GPS data processed {"connection_id":132937,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:22:10] local.INFO: Acknowledgment sent {"connection_id":132937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:22:18] local.INFO: TCP Data received {"connection_id":132938,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbba520012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbba520012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:22:18] local.INFO: Processing buffer {"connection_id":132938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbba520012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:22:18] local.INFO: Packet analysis {"connection_id":132938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbb"} 
[2026-07-13 19:22:18] local.INFO: Extracted packet for processing {"connection_id":132938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbb"} 
[2026-07-13 19:22:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691237376001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:22:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576441468853405696,"note":"Value kept but may cause issues"} 
[2026-07-13 19:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783950452000,"timestamp_ms":1783950452000,"timestamp_seconds":1783950452,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbba520"} 
[2026-07-13 19:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 19:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:22:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691237376001,"66":25375,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576441468853405696},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691237376001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:22:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:22:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:22:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576441468853405696,"description":"Unknown IO ID 44"} 
[2026-07-13 19:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691237376001,"power":25375,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576441468853405696}} 
[2026-07-13 19:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":132938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481646,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:22:18] local.INFO: GPS data processed {"connection_id":132938,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:22:18] local.INFO: Acknowledgment sent {"connection_id":132938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:22:29] local.INFO: TCP Data received {"connection_id":130801,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbeb260012d1b638007256ab80027009127..."} 
[2026-07-13 19:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbeb260012d1b638007256ab80027009127..."} 
[2026-07-13 19:22:29] local.INFO: Processing buffer {"connection_id":130801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbeb260012d1b638007256ab80027009127..."} 
[2026-07-13 19:22:29] local.INFO: Packet analysis {"connection_id":130801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbe"} 
[2026-07-13 19:22:29] local.INFO: Extracted packet for processing {"connection_id":130801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbe"} 
[2026-07-13 19:22:29] local.INFO: GPS Element Parsed {"raw_longitude":756769664,"raw_latitude":119892664,"longitude_deg":75.6769664,"latitude_deg":11.9892664,"altitude":39,"angle":145,"satellites":39,"speed":14,"hex_longitude":"2d1b6380","hex_latitude":"07256ab8","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691361536001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962432514097152,"note":"Value kept but may cause issues"} 
[2026-07-13 19:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968073067854716928,"note":"Value kept but may cause issues"} 
[2026-07-13 19:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783950652000,"timestamp_ms":1783950652000,"timestamp_seconds":1783950652,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbeb260"} 
[2026-07-13 19:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-13 19:22:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691361536001,"66":12798,"43":206,"83":41984,"24":14,"16":5962432514097152,"45":1968073067854716928},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-13 19:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691361536001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:22:29] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-13 19:22:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 19:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962432514097152,"km_value":5962432514097.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968073067854716928,"description":"Unknown IO ID 45"} 
[2026-07-13 19:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691361536001,"power":12798,"unknown_43":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1968073067854716928}} 
[2026-07-13 19:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":130801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:22:30] local.INFO: GPS data processed {"connection_id":130801,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:22:30] local.INFO: Acknowledgment sent {"connection_id":130801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:22:33] local.INFO: TCP Data received {"connection_id":130802,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:22:33] local.INFO: Processing buffer {"connection_id":130802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:22:33] local.INFO: IMEI packet received {"connection_id":130802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":130802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:22:39] local.INFO: TCP Data received {"connection_id":130802,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:22:39] local.INFO: Processing buffer {"connection_id":130802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:22:39] local.INFO: IMEI packet received {"connection_id":130802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":130802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:22:39] local.INFO: TCP Data received {"connection_id":131598,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:22:39] local.INFO: Processing buffer {"connection_id":131598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:22:39] local.INFO: IMEI packet received {"connection_id":131598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":131598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:22:40] local.INFO: TCP Data received {"connection_id":130802,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbd2bc0012d7f914005afd938001a011b27..."} 
[2026-07-13 19:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbd2bc0012d7f914005afd938001a011b27..."} 
[2026-07-13 19:22:40] local.INFO: Processing buffer {"connection_id":130802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbd2bc0012d7f914005afd938001a011b27..."} 
[2026-07-13 19:22:40] local.INFO: Packet analysis {"connection_id":130802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbd"} 
[2026-07-13 19:22:40] local.INFO: Extracted packet for processing {"connection_id":130802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbd"} 
[2026-07-13 19:22:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691264256001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783950552000,"timestamp_ms":1783950552000,"timestamp_seconds":1783950552,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbd2bc0"} 
[2026-07-13 19:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691264256001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691264256001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:22:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:22:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691264256001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":130802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:22:40] local.INFO: GPS data processed {"connection_id":130802,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:22:40] local.INFO: Acknowledgment sent {"connection_id":130802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:22:45] local.INFO: TCP Data received {"connection_id":131598,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:22:45] local.INFO: Processing buffer {"connection_id":131598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:22:45] local.INFO: IMEI packet received {"connection_id":131598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":131598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:22:46] local.INFO: TCP Data received {"connection_id":131598,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbba520012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbba520012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:22:46] local.INFO: Processing buffer {"connection_id":131598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbba520012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:22:46] local.INFO: Packet analysis {"connection_id":131598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbb"} 
[2026-07-13 19:22:46] local.INFO: Extracted packet for processing {"connection_id":131598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbb"} 
[2026-07-13 19:22:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691237376001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:22:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576441468853405696,"note":"Value kept but may cause issues"} 
[2026-07-13 19:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783950452000,"timestamp_ms":1783950452000,"timestamp_seconds":1783950452,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbba520"} 
[2026-07-13 19:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 19:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131598,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131598,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691237376001,"66":25375,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576441468853405696},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691237376001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:22:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:22:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:22:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576441468853405696,"description":"Unknown IO ID 44"} 
[2026-07-13 19:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691237376001,"power":25375,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576441468853405696}} 
[2026-07-13 19:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":131598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481649,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:22:46] local.INFO: GPS data processed {"connection_id":131598,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:22:46] local.INFO: Acknowledgment sent {"connection_id":131598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:22:58] local.INFO: TCP Data received {"connection_id":132939,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:22:58] local.INFO: Processing buffer {"connection_id":132939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:22:58] local.INFO: IMEI packet received {"connection_id":132939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":132939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:23:03] local.INFO: TCP Data received {"connection_id":132939,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:23:03] local.INFO: Processing buffer {"connection_id":132939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:23:03] local.INFO: IMEI packet received {"connection_id":132939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":132939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:23:03] local.INFO: TCP Data received {"connection_id":132939,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbecdb8012d1b68c0072565280025008025..."} 
[2026-07-13 19:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbecdb8012d1b68c0072565280025008025..."} 
[2026-07-13 19:23:03] local.INFO: Processing buffer {"connection_id":132939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbecdb8012d1b68c0072565280025008025..."} 
[2026-07-13 19:23:03] local.INFO: Packet analysis {"connection_id":132939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbe"} 
[2026-07-13 19:23:03] local.INFO: Extracted packet for processing {"connection_id":132939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbe"} 
[2026-07-13 19:23:03] local.INFO: GPS Element Parsed {"raw_longitude":756771008,"raw_latitude":119891240,"longitude_deg":75.6771008,"latitude_deg":11.989124,"altitude":37,"angle":128,"satellites":37,"speed":8,"hex_longitude":"2d1b68c0","hex_latitude":"07256528","is_valid_coordinates":true} 
[2026-07-13 19:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691366912001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962527003377664,"note":"Value kept but may cause issues"} 
[2026-07-13 19:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973561829899286528,"note":"Value kept but may cause issues"} 
[2026-07-13 19:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783950659000,"timestamp_ms":1783950659000,"timestamp_seconds":1783950659,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbecdb8"} 
[2026-07-13 19:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-13 19:23: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-07-13 19:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":132939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":132939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":132939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691366912001,"66":13493,"43":206,"83":41984,"24":8,"16":5962527003377664,"45":1973561829899286528},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-13 19:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691366912001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:23:03] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-13 19:23:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 19:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962527003377664,"km_value":5962527003377.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973561829899286528,"description":"Unknown IO ID 45"} 
[2026-07-13 19:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691366912001,"power":13493,"unknown_43":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1973561829899286528}} 
[2026-07-13 19:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":132939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:23:03] local.INFO: GPS data processed {"connection_id":132939,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:23:03] local.INFO: Acknowledgment sent {"connection_id":132939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:23:08] local.INFO: TCP Data received {"connection_id":132939,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbed588012d1b6a00072564800025006627..."} 
[2026-07-13 19:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbed588012d1b6a00072564800025006627..."} 
[2026-07-13 19:23:08] local.INFO: Processing buffer {"connection_id":132939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbed588012d1b6a00072564800025006627..."} 
[2026-07-13 19:23:08] local.INFO: Packet analysis {"connection_id":132939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbe"} 
[2026-07-13 19:23:08] local.INFO: Extracted packet for processing {"connection_id":132939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbe"} 
[2026-07-13 19:23:08] local.INFO: GPS Element Parsed {"raw_longitude":756771328,"raw_latitude":119891072,"longitude_deg":75.6771328,"latitude_deg":11.9891072,"altitude":37,"angle":102,"satellites":39,"speed":6,"hex_longitude":"2d1b6a00","hex_latitude":"07256480","is_valid_coordinates":true} 
[2026-07-13 19:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691368704001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962544183246848,"note":"Value kept but may cause issues"} 
[2026-07-13 19:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975039573526652928,"note":"Value kept but may cause issues"} 
[2026-07-13 19:23: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-07-13 19:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783950661000,"timestamp_ms":1783950661000,"timestamp_seconds":1783950661,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbed588"} 
[2026-07-13 19:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-13 19:23: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-07-13 19:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691368704001,"66":12841,"43":206,"83":41984,"24":6,"16":5962544183246848,"45":1975039573526652928},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-13 19:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691368704001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:23:08] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-13 19:23:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 19:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962544183246848,"km_value":5962544183246.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975039573526652928,"description":"Unknown IO ID 45"} 
[2026-07-13 19:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691368704001,"power":12841,"unknown_43":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1975039573526652928}} 
[2026-07-13 19:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":132939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:23:08] local.INFO: GPS data processed {"connection_id":132939,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:23:08] local.INFO: Acknowledgment sent {"connection_id":132939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:23:11] local.INFO: TCP Data received {"connection_id":130802,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbd2bc0012d7f914005afd938001a011b27..."} 
[2026-07-13 19:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbd2bc0012d7f914005afd938001a011b27..."} 
[2026-07-13 19:23:11] local.INFO: Processing buffer {"connection_id":130802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbd2bc0012d7f914005afd938001a011b27..."} 
[2026-07-13 19:23:11] local.INFO: Packet analysis {"connection_id":130802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbd"} 
[2026-07-13 19:23:11] local.INFO: Extracted packet for processing {"connection_id":130802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbd"} 
[2026-07-13 19:23:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691264256001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783950552000,"timestamp_ms":1783950552000,"timestamp_seconds":1783950552,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbd2bc0"} 
[2026-07-13 19:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691264256001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691264256001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:23:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:23:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691264256001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":130802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:23:11] local.INFO: GPS data processed {"connection_id":130802,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:23:11] local.INFO: Acknowledgment sent {"connection_id":130802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:23:18] local.INFO: TCP Data received {"connection_id":131598,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc03ce8012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc03ce8012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:23:18] local.INFO: Processing buffer {"connection_id":131598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc03ce8012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:23:18] local.INFO: Packet analysis {"connection_id":131598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc0"} 
[2026-07-13 19:23:18] local.INFO: Extracted packet for processing {"connection_id":131598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc0"} 
[2026-07-13 19:23:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691315712001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:23:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783950753000,"timestamp_ms":1783950753000,"timestamp_seconds":1783950753,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc03ce8"} 
[2026-07-13 19:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-13 19:23: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-07-13 19:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131598,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131598,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691315712001,"66":25191,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691315712001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:23:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:23:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:23:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691315712001,"power":25191,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":131598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481653,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:23:18] local.INFO: GPS data processed {"connection_id":131598,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:23:18] local.INFO: Acknowledgment sent {"connection_id":131598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:23:33] local.INFO: TCP Data received {"connection_id":130576,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:23:33] local.INFO: Processing buffer {"connection_id":130576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:23:33] local.INFO: IMEI packet received {"connection_id":130576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":130576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:23:39] local.INFO: TCP Data received {"connection_id":130576,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:23:39] local.INFO: Processing buffer {"connection_id":130576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:23:39] local.INFO: IMEI packet received {"connection_id":130576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":130576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:23:40] local.INFO: TCP Data received {"connection_id":132940,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132940,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:23:40] local.INFO: Processing buffer {"connection_id":132940,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:23:40] local.INFO: IMEI packet received {"connection_id":132940,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":132940,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:23:40] local.INFO: TCP Data received {"connection_id":130576,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbd2bc0012d7f914005afd938001a011b27..."} 
[2026-07-13 19:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbd2bc0012d7f914005afd938001a011b27..."} 
[2026-07-13 19:23:40] local.INFO: Processing buffer {"connection_id":130576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbd2bc0012d7f914005afd938001a011b27..."} 
[2026-07-13 19:23:40] local.INFO: Packet analysis {"connection_id":130576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbd"} 
[2026-07-13 19:23:40] local.INFO: Extracted packet for processing {"connection_id":130576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbd"} 
[2026-07-13 19:23:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691264256001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783950552000,"timestamp_ms":1783950552000,"timestamp_seconds":1783950552,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbd2bc0"} 
[2026-07-13 19:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691264256001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691264256001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:23:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:23:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691264256001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":130576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:23:40] local.INFO: GPS data processed {"connection_id":130576,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:23:40] local.INFO: Acknowledgment sent {"connection_id":130576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:23:45] local.INFO: TCP Data received {"connection_id":132940,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132940,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:23:45] local.INFO: Processing buffer {"connection_id":132940,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:23:45] local.INFO: IMEI packet received {"connection_id":132940,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":132940,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:23:46] local.INFO: TCP Data received {"connection_id":132940,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc03ce8012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc03ce8012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:23:46] local.INFO: Processing buffer {"connection_id":132940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc03ce8012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:23:46] local.INFO: Packet analysis {"connection_id":132940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc0"} 
[2026-07-13 19:23:46] local.INFO: Extracted packet for processing {"connection_id":132940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc0"} 
[2026-07-13 19:23:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691315712001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:23:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783950753000,"timestamp_ms":1783950753000,"timestamp_seconds":1783950753,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc03ce8"} 
[2026-07-13 19:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-13 19:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132940,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132940,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691315712001,"66":25191,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691315712001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:23:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:23:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:23:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691315712001,"power":25191,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":132940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481655,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:23:46] local.INFO: GPS data processed {"connection_id":132940,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:23:46] local.INFO: Acknowledgment sent {"connection_id":132940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:23:53] local.INFO: TCP Data received {"connection_id":130803,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:23:53] local.INFO: Processing buffer {"connection_id":130803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:23:53] local.INFO: IMEI packet received {"connection_id":130803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":130803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:23:58] local.INFO: TCP Data received {"connection_id":130803,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:23:58] local.INFO: Processing buffer {"connection_id":130803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:23:58] local.INFO: IMEI packet received {"connection_id":130803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":130803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:23:58] local.INFO: TCP Data received {"connection_id":130803,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbef4c8012d1b6c00072565d00025000f28..."} 
[2026-07-13 19:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbef4c8012d1b6c00072565d00025000f28..."} 
[2026-07-13 19:23:58] local.INFO: Processing buffer {"connection_id":130803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbef4c8012d1b6c00072565d00025000f28..."} 
[2026-07-13 19:23:58] local.INFO: Packet analysis {"connection_id":130803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbe"} 
[2026-07-13 19:23:58] local.INFO: Extracted packet for processing {"connection_id":130803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbe"} 
[2026-07-13 19:23:58] local.INFO: GPS Element Parsed {"raw_longitude":756771840,"raw_latitude":119891408,"longitude_deg":75.677184,"latitude_deg":11.9891408,"altitude":37,"angle":15,"satellites":40,"speed":8,"hex_longitude":"2d1b6c00","hex_latitude":"072565d0","is_valid_coordinates":true} 
[2026-07-13 19:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691369216001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962582837952512,"note":"Value kept but may cause issues"} 
[2026-07-13 19:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975391417247498240,"note":"Value kept but may cause issues"} 
[2026-07-13 19:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783950669000,"timestamp_ms":1783950669000,"timestamp_seconds":1783950669,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbef4c8"} 
[2026-07-13 19:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-13 19:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:23: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-07-13 19:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691369216001,"66":13396,"216":206,"83":42752,"24":8,"16":5962582837952512,"45":1975391417247498240},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691369216001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:23:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:23:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962582837952512,"km_value":5962582837952.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975391417247498240,"description":"Unknown IO ID 45"} 
[2026-07-13 19:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691369216001,"power":13396,"unknown_216":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1975391417247498240}} 
[2026-07-13 19:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":130803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:23:58] local.INFO: GPS data processed {"connection_id":130803,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:23:58] local.INFO: Acknowledgment sent {"connection_id":130803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:24:11] local.INFO: TCP Data received {"connection_id":130576,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbd2bc0012d7f914005afd938001a011b27..."} 
[2026-07-13 19:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbd2bc0012d7f914005afd938001a011b27..."} 
[2026-07-13 19:24:11] local.INFO: Processing buffer {"connection_id":130576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbd2bc0012d7f914005afd938001a011b27..."} 
[2026-07-13 19:24:11] local.INFO: Packet analysis {"connection_id":130576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbd"} 
[2026-07-13 19:24:11] local.INFO: Extracted packet for processing {"connection_id":130576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbd"} 
[2026-07-13 19:24:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691264256001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783950552000,"timestamp_ms":1783950552000,"timestamp_seconds":1783950552,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbd2bc0"} 
[2026-07-13 19:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691264256001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691264256001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:24:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:24:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691264256001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":130576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:24:11] local.INFO: GPS data processed {"connection_id":130576,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:24:11] local.INFO: Acknowledgment sent {"connection_id":130576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:24:18] local.INFO: TCP Data received {"connection_id":132940,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc03ce8012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc03ce8012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:24:18] local.INFO: Processing buffer {"connection_id":132940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc03ce8012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:24:18] local.INFO: Packet analysis {"connection_id":132940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc0"} 
[2026-07-13 19:24:18] local.INFO: Extracted packet for processing {"connection_id":132940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc0"} 
[2026-07-13 19:24:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 19:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691315712001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:24:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783950753000,"timestamp_ms":1783950753000,"timestamp_seconds":1783950753,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc03ce8"} 
[2026-07-13 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-07-13 19:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-13 19:24: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-07-13 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-07-13 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-07-13 19:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132940,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132940,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691315712001,"66":25191,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691315712001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:24:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:24:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:24:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691315712001,"power":25191,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":132940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481658,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:24:18] local.INFO: GPS data processed {"connection_id":132940,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:24:18] local.INFO: Acknowledgment sent {"connection_id":132940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:24:29] local.INFO: TCP Data received {"connection_id":130803,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbf0468012d1b6cc0072569700024000327..."} 
[2026-07-13 19:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbf0468012d1b6cc0072569700024000327..."} 
[2026-07-13 19:24:29] local.INFO: Processing buffer {"connection_id":130803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbf0468012d1b6cc0072569700024000327..."} 
[2026-07-13 19:24:29] local.INFO: Packet analysis {"connection_id":130803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbf"} 
[2026-07-13 19:24:29] local.INFO: Extracted packet for processing {"connection_id":130803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbf"} 
[2026-07-13 19:24:29] local.INFO: GPS Element Parsed {"raw_longitude":756772032,"raw_latitude":119892336,"longitude_deg":75.6772032,"latitude_deg":11.9892336,"altitude":36,"angle":3,"satellites":39,"speed":11,"hex_longitude":"2d1b6cc0","hex_latitude":"07256970","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691371264001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962630082592768,"note":"Value kept but may cause issues"} 
[2026-07-13 19:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975954367201005568,"note":"Value kept but may cause issues"} 
[2026-07-13 19:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783950673000,"timestamp_ms":1783950673000,"timestamp_seconds":1783950673,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbf0468"} 
[2026-07-13 19:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-13 19:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:24: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-07-13 19:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691371264001,"66":13526,"216":206,"83":42752,"24":11,"16":5962630082592768,"45":1975954367201005568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691371264001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:24:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:24:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962630082592768,"km_value":5962630082592.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975954367201005568,"description":"Unknown IO ID 45"} 
[2026-07-13 19:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691371264001,"power":13526,"unknown_216":206,"unknown_83":42752,"ignition":11,"odometer":null,"unknown_45":1975954367201005568}} 
[2026-07-13 19:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":130803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:24:29] local.INFO: GPS data processed {"connection_id":130803,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:24:29] local.INFO: Acknowledgment sent {"connection_id":130803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:24:39] local.INFO: TCP Data received {"connection_id":131599,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:24:39] local.INFO: Processing buffer {"connection_id":131599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:24:39] local.INFO: IMEI packet received {"connection_id":131599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":131599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:24:39] local.INFO: TCP Data received {"connection_id":130577,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:24:39] local.INFO: Processing buffer {"connection_id":130577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:24:39] local.INFO: IMEI packet received {"connection_id":130577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":130577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:24:43] local.INFO: TCP Data received {"connection_id":131599,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:24:43] local.INFO: Processing buffer {"connection_id":131599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:24:43] local.INFO: IMEI packet received {"connection_id":131599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":131599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:24:44] local.INFO: TCP Data received {"connection_id":131599,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbd2bc0012d7f914005afd938001a011b27..."} 
[2026-07-13 19:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbd2bc0012d7f914005afd938001a011b27..."} 
[2026-07-13 19:24:44] local.INFO: Processing buffer {"connection_id":131599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbd2bc0012d7f914005afd938001a011b27..."} 
[2026-07-13 19:24:44] local.INFO: Packet analysis {"connection_id":131599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbd"} 
[2026-07-13 19:24:44] local.INFO: Extracted packet for processing {"connection_id":131599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbd"} 
[2026-07-13 19:24:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691264256001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783950552000,"timestamp_ms":1783950552000,"timestamp_seconds":1783950552,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbd2bc0"} 
[2026-07-13 19:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:24:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":131599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":131599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":131599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691264256001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691264256001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:24:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:24:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691264256001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":131599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:24:44] local.INFO: GPS data processed {"connection_id":131599,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:24:44] local.INFO: Acknowledgment sent {"connection_id":131599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:24:45] local.INFO: TCP Data received {"connection_id":130577,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:24:45] local.INFO: Processing buffer {"connection_id":130577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:24:45] local.INFO: IMEI packet received {"connection_id":130577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":130577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:24:46] local.INFO: TCP Data received {"connection_id":130577,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc03ce8012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc03ce8012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:24:46] local.INFO: Processing buffer {"connection_id":130577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc03ce8012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:24:46] local.INFO: Packet analysis {"connection_id":130577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc0"} 
[2026-07-13 19:24:46] local.INFO: Extracted packet for processing {"connection_id":130577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc0"} 
[2026-07-13 19:24:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691315712001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:24:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783950753000,"timestamp_ms":1783950753000,"timestamp_seconds":1783950753,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc03ce8"} 
[2026-07-13 19:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-13 19:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691315712001,"66":25191,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691315712001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:24:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:24:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:24:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691315712001,"power":25191,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":130577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481661,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:24:46] local.INFO: GPS data processed {"connection_id":130577,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:24:46] local.INFO: Acknowledgment sent {"connection_id":130577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:24:49] local.INFO: TCP Data received {"connection_id":131599,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbd2bc0012d7f914005afd938001a011b27..."} 
[2026-07-13 19:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbd2bc0012d7f914005afd938001a011b27..."} 
[2026-07-13 19:24:49] local.INFO: Processing buffer {"connection_id":131599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbd2bc0012d7f914005afd938001a011b27..."} 
[2026-07-13 19:24:49] local.INFO: Packet analysis {"connection_id":131599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbd"} 
[2026-07-13 19:24:49] local.INFO: Extracted packet for processing {"connection_id":131599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbd"} 
[2026-07-13 19:24:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691264256001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783950552000,"timestamp_ms":1783950552000,"timestamp_seconds":1783950552,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbd2bc0"} 
[2026-07-13 19:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:24: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-07-13 19:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691264256001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691264256001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:24:49] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:24:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691264256001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":131599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:24:49] local.INFO: GPS data processed {"connection_id":131599,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:24:49] local.INFO: Acknowledgment sent {"connection_id":131599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:24:53] local.INFO: TCP Data received {"connection_id":131600,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:24:53] local.INFO: Processing buffer {"connection_id":131600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:24:53] local.INFO: IMEI packet received {"connection_id":131600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":131600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:24:58] local.INFO: TCP Data received {"connection_id":131600,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:24:58] local.INFO: Processing buffer {"connection_id":131600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:24:58] local.INFO: IMEI packet received {"connection_id":131600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":131600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:24:58] local.INFO: TCP Data received {"connection_id":131600,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbf3b18012d1b6f40072578800025000f28..."} 
[2026-07-13 19:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbf3b18012d1b6f40072578800025000f28..."} 
[2026-07-13 19:24:58] local.INFO: Processing buffer {"connection_id":131600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbf3b18012d1b6f40072578800025000f28..."} 
[2026-07-13 19:24:58] local.INFO: Packet analysis {"connection_id":131600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbf"} 
[2026-07-13 19:24:58] local.INFO: Extracted packet for processing {"connection_id":131600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbf"} 
[2026-07-13 19:24:58] local.INFO: GPS Element Parsed {"raw_longitude":756772672,"raw_latitude":119896192,"longitude_deg":75.6772672,"latitude_deg":11.9896192,"altitude":37,"angle":15,"satellites":40,"speed":7,"hex_longitude":"2d1b6f40","hex_latitude":"07257880","is_valid_coordinates":true} 
[2026-07-13 19:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691372288001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962819061153792,"note":"Value kept but may cause issues"} 
[2026-07-13 19:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976165473433776128,"note":"Value kept but may cause issues"} 
[2026-07-13 19:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783950687000,"timestamp_ms":1783950687000,"timestamp_seconds":1783950687,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbf3b18"} 
[2026-07-13 19:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-13 19:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:24: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-07-13 19:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691372288001,"66":13428,"216":206,"83":42752,"24":7,"16":5962819061153792,"45":1976165473433776128},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691372288001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:24:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:24:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962819061153792,"km_value":5962819061153.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976165473433776128,"description":"Unknown IO ID 45"} 
[2026-07-13 19:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691372288001,"power":13428,"unknown_216":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1976165473433776128}} 
[2026-07-13 19:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":131600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:24:59] local.INFO: GPS data processed {"connection_id":131600,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:24:59] local.INFO: Acknowledgment sent {"connection_id":131600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:25:18] local.INFO: TCP Data received {"connection_id":130577,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc03ce8012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc03ce8012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:25:18] local.INFO: Processing buffer {"connection_id":130577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc03ce8012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:25:18] local.INFO: Packet analysis {"connection_id":130577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc0"} 
[2026-07-13 19:25:18] local.INFO: Extracted packet for processing {"connection_id":130577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc0"} 
[2026-07-13 19:25:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 19:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691315712001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:25:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783950753000,"timestamp_ms":1783950753000,"timestamp_seconds":1783950753,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc03ce8"} 
[2026-07-13 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-07-13 19:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-13 19:25: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-07-13 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-07-13 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-07-13 19:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691315712001,"66":25191,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691315712001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:25:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:25:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:25:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691315712001,"power":25191,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":130577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481664,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:25:18] local.INFO: GPS data processed {"connection_id":130577,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:25:18] local.INFO: Acknowledgment sent {"connection_id":130577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:25:29] local.INFO: TCP Data received {"connection_id":131600,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbf6de0012d1b720007257bf80023001426..."} 
[2026-07-13 19:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbf6de0012d1b720007257bf80023001426..."} 
[2026-07-13 19:25:29] local.INFO: Processing buffer {"connection_id":131600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbf6de0012d1b720007257bf80023001426..."} 
[2026-07-13 19:25:29] local.INFO: Packet analysis {"connection_id":131600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbf"} 
[2026-07-13 19:25:29] local.INFO: Extracted packet for processing {"connection_id":131600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbf"} 
[2026-07-13 19:25:29] local.INFO: GPS Element Parsed {"raw_longitude":756773376,"raw_latitude":119897080,"longitude_deg":75.6773376,"latitude_deg":11.989708,"altitude":35,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7200","hex_latitude":"07257bf8","is_valid_coordinates":true} 
[2026-07-13 19:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691375872001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976869160876539904,"note":"Value kept but may cause issues"} 
[2026-07-13 19:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783950700000,"timestamp_ms":1783950700000,"timestamp_seconds":1783950700,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbf6de0"} 
[2026-07-13 19:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 19: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-13 19:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:25:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":131600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":131600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":131600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:25: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-07-13 19:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691375872001,"66":13004,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1976869160876539904},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691375872001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:25:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:25:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976869160876539904,"description":"Unknown IO ID 45"} 
[2026-07-13 19:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691375872001,"power":13004,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1976869160876539904}} 
[2026-07-13 19:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":131600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:25:29] local.INFO: GPS data processed {"connection_id":131600,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:25:29] local.INFO: Acknowledgment sent {"connection_id":131600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:25:33] local.INFO: TCP Data received {"connection_id":130804,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:25:33] local.INFO: Processing buffer {"connection_id":130804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:25:33] local.INFO: IMEI packet received {"connection_id":130804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":130804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:25:39] local.INFO: TCP Data received {"connection_id":130804,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:25:39] local.INFO: Processing buffer {"connection_id":130804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:25:39] local.INFO: IMEI packet received {"connection_id":130804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":130804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:25:39] local.INFO: TCP Data received {"connection_id":131601,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:25:39] local.INFO: Processing buffer {"connection_id":131601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:25:39] local.INFO: IMEI packet received {"connection_id":131601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":131601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:25:40] local.INFO: TCP Data received {"connection_id":130804,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc1c388012d7f914005afd938001a011b25..."} 
[2026-07-13 19:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc1c388012d7f914005afd938001a011b25..."} 
[2026-07-13 19:25:40] local.INFO: Processing buffer {"connection_id":130804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc1c388012d7f914005afd938001a011b25..."} 
[2026-07-13 19:25:40] local.INFO: Packet analysis {"connection_id":130804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc1"} 
[2026-07-13 19:25:40] local.INFO: Extracted packet for processing {"connection_id":130804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc1"} 
[2026-07-13 19:25:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691341312001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783950853000,"timestamp_ms":1783950853000,"timestamp_seconds":1783950853,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc1c388"} 
[2026-07-13 19:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 19:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691341312001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691341312001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:25:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:25:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691341312001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":130804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:25:40] local.INFO: GPS data processed {"connection_id":130804,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:25:40] local.INFO: Acknowledgment sent {"connection_id":130804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:25:45] local.INFO: TCP Data received {"connection_id":131601,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:25:45] local.INFO: Processing buffer {"connection_id":131601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:25:45] local.INFO: IMEI packet received {"connection_id":131601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":131601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:25:47] local.INFO: TCP Data received {"connection_id":131601,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc03ce8012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc03ce8012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:25:47] local.INFO: Processing buffer {"connection_id":131601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc03ce8012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:25:47] local.INFO: Packet analysis {"connection_id":131601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc0"} 
[2026-07-13 19:25:47] local.INFO: Extracted packet for processing {"connection_id":131601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc0"} 
[2026-07-13 19:25:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691315712001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:25:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783950753000,"timestamp_ms":1783950753000,"timestamp_seconds":1783950753,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc03ce8"} 
[2026-07-13 19:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-13 19:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":131601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":131601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":131601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691315712001,"66":25191,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691315712001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:25:47] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:25:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:25:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691315712001,"power":25191,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":131601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481667,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:25:47] local.INFO: GPS data processed {"connection_id":131601,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:25:47] local.INFO: Acknowledgment sent {"connection_id":131601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:25:53] local.INFO: TCP Data received {"connection_id":130805,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:25:53] local.INFO: Processing buffer {"connection_id":130805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:25:53] local.INFO: IMEI packet received {"connection_id":130805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":130805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:25:58] local.INFO: TCP Data received {"connection_id":130805,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:25:58] local.INFO: Processing buffer {"connection_id":130805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:25:58] local.INFO: IMEI packet received {"connection_id":130805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":130805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:25:59] local.INFO: TCP Data received {"connection_id":130805,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbf6de0012d1b720007257bf80023001426..."} 
[2026-07-13 19:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbf6de0012d1b720007257bf80023001426..."} 
[2026-07-13 19:25:59] local.INFO: Processing buffer {"connection_id":130805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbf6de0012d1b720007257bf80023001426..."} 
[2026-07-13 19:25:59] local.INFO: Packet analysis {"connection_id":130805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbf"} 
[2026-07-13 19:25:59] local.INFO: Extracted packet for processing {"connection_id":130805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbf"} 
[2026-07-13 19:25:59] local.INFO: GPS Element Parsed {"raw_longitude":756773376,"raw_latitude":119897080,"longitude_deg":75.6773376,"latitude_deg":11.989708,"altitude":35,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7200","hex_latitude":"07257bf8","is_valid_coordinates":true} 
[2026-07-13 19:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691379200001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977643217062721536,"note":"Value kept but may cause issues"} 
[2026-07-13 19:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783950700000,"timestamp_ms":1783950700000,"timestamp_seconds":1783950700,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbf6de0"} 
[2026-07-13 19:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-13 19:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":130805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":130805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":130805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:25: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-07-13 19:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691379200001,"66":13004,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977643217062721536},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691379200001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:25:59] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:25:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977643217062721536,"description":"Unknown IO ID 45"} 
[2026-07-13 19:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691379200001,"power":13004,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977643217062721536}} 
[2026-07-13 19:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":130805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:25:59] local.INFO: GPS data processed {"connection_id":130805,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:25:59] local.INFO: Acknowledgment sent {"connection_id":130805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:26:11] local.INFO: TCP Data received {"connection_id":130804,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc1c388012d7f914005afd938001a011b25..."} 
[2026-07-13 19:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc1c388012d7f914005afd938001a011b25..."} 
[2026-07-13 19:26:11] local.INFO: Processing buffer {"connection_id":130804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc1c388012d7f914005afd938001a011b25..."} 
[2026-07-13 19:26:11] local.INFO: Packet analysis {"connection_id":130804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc1"} 
[2026-07-13 19:26:11] local.INFO: Extracted packet for processing {"connection_id":130804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc1"} 
[2026-07-13 19:26:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691341312001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783950853000,"timestamp_ms":1783950853000,"timestamp_seconds":1783950853,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc1c388"} 
[2026-07-13 19:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 19:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691341312001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691341312001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:26:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:26:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691341312001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":130804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:26:11] local.INFO: GPS data processed {"connection_id":130804,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:26:11] local.INFO: Acknowledgment sent {"connection_id":130804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:26:18] local.INFO: TCP Data received {"connection_id":131601,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc03ce8012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc03ce8012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:26:18] local.INFO: Processing buffer {"connection_id":131601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc03ce8012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:26:18] local.INFO: Packet analysis {"connection_id":131601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc0"} 
[2026-07-13 19:26:18] local.INFO: Extracted packet for processing {"connection_id":131601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc0"} 
[2026-07-13 19:26:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 19:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691315712001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:26:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783950753000,"timestamp_ms":1783950753000,"timestamp_seconds":1783950753,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc03ce8"} 
[2026-07-13 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-07-13 19:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-13 19:26: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-07-13 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-07-13 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-07-13 19:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691315712001,"66":25191,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691315712001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:26:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:26:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:26:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691315712001,"power":25191,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":131601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481670,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:26:18] local.INFO: GPS data processed {"connection_id":131601,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:26:18] local.INFO: Acknowledgment sent {"connection_id":131601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:26:29] local.INFO: TCP Data received {"connection_id":130805,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbf6de0012d1b720007257bf80023001426..."} 
[2026-07-13 19:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbf6de0012d1b720007257bf80023001426..."} 
[2026-07-13 19:26:29] local.INFO: Processing buffer {"connection_id":130805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbf6de0012d1b720007257bf80023001426..."} 
[2026-07-13 19:26:29] local.INFO: Packet analysis {"connection_id":130805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbf"} 
[2026-07-13 19:26:29] local.INFO: Extracted packet for processing {"connection_id":130805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbf"} 
[2026-07-13 19:26:29] local.INFO: GPS Element Parsed {"raw_longitude":756773376,"raw_latitude":119897080,"longitude_deg":75.6773376,"latitude_deg":11.989708,"altitude":35,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7200","hex_latitude":"07257bf8","is_valid_coordinates":true} 
[2026-07-13 19:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691379200001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977643217062721536,"note":"Value kept but may cause issues"} 
[2026-07-13 19:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783950700000,"timestamp_ms":1783950700000,"timestamp_seconds":1783950700,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbf6de0"} 
[2026-07-13 19:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-13 19:26:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:26: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-07-13 19:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691379200001,"66":13004,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977643217062721536},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691379200001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:26:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:26:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977643217062721536,"description":"Unknown IO ID 45"} 
[2026-07-13 19:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691379200001,"power":13004,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977643217062721536}} 
[2026-07-13 19:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":130805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:26:30] local.INFO: GPS data processed {"connection_id":130805,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:26:30] local.INFO: Acknowledgment sent {"connection_id":130805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:26:36] local.INFO: TCP Data received {"connection_id":130578,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:26:36] local.INFO: Processing buffer {"connection_id":130578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:26:36] local.INFO: IMEI packet received {"connection_id":130578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":130578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:26:38] local.INFO: TCP Data received {"connection_id":130578,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:26:38] local.INFO: Processing buffer {"connection_id":130578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:26:38] local.INFO: IMEI packet received {"connection_id":130578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":130578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:26:39] local.INFO: TCP Data received {"connection_id":130578,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc1c388012d7f914005afd938001a011b25..."} 
[2026-07-13 19:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc1c388012d7f914005afd938001a011b25..."} 
[2026-07-13 19:26:39] local.INFO: Processing buffer {"connection_id":130578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc1c388012d7f914005afd938001a011b25..."} 
[2026-07-13 19:26:39] local.INFO: Packet analysis {"connection_id":130578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc1"} 
[2026-07-13 19:26:39] local.INFO: Extracted packet for processing {"connection_id":130578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc1"} 
[2026-07-13 19:26:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691341312001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783950853000,"timestamp_ms":1783950853000,"timestamp_seconds":1783950853,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc1c388"} 
[2026-07-13 19:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 19:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691341312001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691341312001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:26:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:26:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691341312001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":130578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:26:39] local.INFO: GPS data processed {"connection_id":130578,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:26:39] local.INFO: Acknowledgment sent {"connection_id":130578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:26:44] local.INFO: TCP Data received {"connection_id":130578,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc1c388012d7f914005afd938001a011b25..."} 
[2026-07-13 19:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc1c388012d7f914005afd938001a011b25..."} 
[2026-07-13 19:26:44] local.INFO: Processing buffer {"connection_id":130578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc1c388012d7f914005afd938001a011b25..."} 
[2026-07-13 19:26:44] local.INFO: Packet analysis {"connection_id":130578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc1"} 
[2026-07-13 19:26:44] local.INFO: Extracted packet for processing {"connection_id":130578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc1"} 
[2026-07-13 19:26:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691341312001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783950853000,"timestamp_ms":1783950853000,"timestamp_seconds":1783950853,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc1c388"} 
[2026-07-13 19:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 19:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691341312001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691341312001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:26:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:26:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691341312001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":130578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:26:44] local.INFO: GPS data processed {"connection_id":130578,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:26:44] local.INFO: Acknowledgment sent {"connection_id":130578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:26:45] local.INFO: TCP Data received {"connection_id":130579,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130579,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:26:45] local.INFO: Processing buffer {"connection_id":130579,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:26:45] local.INFO: IMEI packet received {"connection_id":130579,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":130579,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:26:50] local.INFO: TCP Data received {"connection_id":130579,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130579,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:26:50] local.INFO: Processing buffer {"connection_id":130579,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:26:50] local.INFO: IMEI packet received {"connection_id":130579,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":130579,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:26:51] local.INFO: TCP Data received {"connection_id":130579,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc03ce8012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc03ce8012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:26:51] local.INFO: Processing buffer {"connection_id":130579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc03ce8012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:26:51] local.INFO: Packet analysis {"connection_id":130579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc0"} 
[2026-07-13 19:26:51] local.INFO: Extracted packet for processing {"connection_id":130579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc0"} 
[2026-07-13 19:26:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691315712001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:26:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783950753000,"timestamp_ms":1783950753000,"timestamp_seconds":1783950753,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc03ce8"} 
[2026-07-13 19:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":31,"data_length":795,"current_offset":136} 
[2026-07-13 19:26: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-07-13 19:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130579,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130579,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691315712001,"66":25191,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691315712001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:26:51] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:26:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:26:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691315712001,"power":25191,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":130579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481674,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:26:51] local.INFO: GPS data processed {"connection_id":130579,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:26:51] local.INFO: Acknowledgment sent {"connection_id":130579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:26:53] local.INFO: TCP Data received {"connection_id":131602,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:26:53] local.INFO: Processing buffer {"connection_id":131602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:26:53] local.INFO: IMEI packet received {"connection_id":131602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":131602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:26:55] local.INFO: TCP Data received {"connection_id":130579,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc03ce8012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc03ce8012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:26:55] local.INFO: Processing buffer {"connection_id":130579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc03ce8012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:26:55] local.INFO: Packet analysis {"connection_id":130579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc0"} 
[2026-07-13 19:26:55] local.INFO: Extracted packet for processing {"connection_id":130579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc0"} 
[2026-07-13 19:26:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691315712001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:26:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783950753000,"timestamp_ms":1783950753000,"timestamp_seconds":1783950753,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc03ce8"} 
[2026-07-13 19:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-13 19:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130579,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130579,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691315712001,"66":25191,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691315712001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:26:55] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:26:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:26:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691315712001,"power":25191,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":130579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481675,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:26:55] local.INFO: GPS data processed {"connection_id":130579,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:26:55] local.INFO: Acknowledgment sent {"connection_id":130579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:26:58] local.INFO: TCP Data received {"connection_id":131602,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:26:58] local.INFO: Processing buffer {"connection_id":131602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:26:58] local.INFO: IMEI packet received {"connection_id":131602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":131602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:26:58] local.INFO: TCP Data received {"connection_id":131602,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bbf6de0012d1b720007257bf80023001426..."} 
[2026-07-13 19:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bbf6de0012d1b720007257bf80023001426..."} 
[2026-07-13 19:26:58] local.INFO: Processing buffer {"connection_id":131602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bbf6de0012d1b720007257bf80023001426..."} 
[2026-07-13 19:26:58] local.INFO: Packet analysis {"connection_id":131602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bbf"} 
[2026-07-13 19:26:58] local.INFO: Extracted packet for processing {"connection_id":131602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bbf"} 
[2026-07-13 19:26:58] local.INFO: GPS Element Parsed {"raw_longitude":756773376,"raw_latitude":119897080,"longitude_deg":75.6773376,"latitude_deg":11.989708,"altitude":35,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7200","hex_latitude":"07257bf8","is_valid_coordinates":true} 
[2026-07-13 19:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691379200001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977643217062721536,"note":"Value kept but may cause issues"} 
[2026-07-13 19:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783950700000,"timestamp_ms":1783950700000,"timestamp_seconds":1783950700,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bbf6de0"} 
[2026-07-13 19:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-13 19:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:26:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:26: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-07-13 19:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691379200001,"66":13004,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977643217062721536},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691379200001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:26:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:26:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977643217062721536,"description":"Unknown IO ID 45"} 
[2026-07-13 19:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691379200001,"power":13004,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977643217062721536}} 
[2026-07-13 19:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":131602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:26:59] local.INFO: GPS data processed {"connection_id":131602,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:26:59] local.INFO: Acknowledgment sent {"connection_id":131602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:27:15] local.INFO: TCP Data received {"connection_id":130578,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc1c388012d7f914005afd938001a011b25..."} 
[2026-07-13 19:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc1c388012d7f914005afd938001a011b25..."} 
[2026-07-13 19:27:15] local.INFO: Processing buffer {"connection_id":130578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc1c388012d7f914005afd938001a011b25..."} 
[2026-07-13 19:27:15] local.INFO: Packet analysis {"connection_id":130578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc1"} 
[2026-07-13 19:27:15] local.INFO: Extracted packet for processing {"connection_id":130578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc1"} 
[2026-07-13 19:27:15] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691341312001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783950853000,"timestamp_ms":1783950853000,"timestamp_seconds":1783950853,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc1c388"} 
[2026-07-13 19:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 19:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691341312001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691341312001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:27:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:27:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691341312001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":130578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:27:15] local.INFO: GPS data processed {"connection_id":130578,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:27:15] local.INFO: Acknowledgment sent {"connection_id":130578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:27:29] local.INFO: TCP Data received {"connection_id":131602,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc41548012d1b704007257aa00024001427..."} 
[2026-07-13 19:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc41548012d1b704007257aa00024001427..."} 
[2026-07-13 19:27:29] local.INFO: Processing buffer {"connection_id":131602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc41548012d1b704007257aa00024001427..."} 
[2026-07-13 19:27:29] local.INFO: Packet analysis {"connection_id":131602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:27:29] local.INFO: Extracted packet for processing {"connection_id":131602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:27:29] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":39,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691379200001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977643217062721536,"note":"Value kept but may cause issues"} 
[2026-07-13 19:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783951005000,"timestamp_ms":1783951005000,"timestamp_seconds":1783951005,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc41548"} 
[2026-07-13 19:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-13 19:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":131602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":131602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":131602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:27: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-07-13 19:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691379200001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977643217062721536},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691379200001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:27:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:27:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977643217062721536,"description":"Unknown IO ID 45"} 
[2026-07-13 19:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691379200001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977643217062721536}} 
[2026-07-13 19:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":131602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:27:29] local.INFO: GPS data processed {"connection_id":131602,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:27:29] local.INFO: Acknowledgment sent {"connection_id":131602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:27:33] local.INFO: TCP Data received {"connection_id":130580,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:27:33] local.INFO: Processing buffer {"connection_id":130580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:27:33] local.INFO: IMEI packet received {"connection_id":130580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":130580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:27:39] local.INFO: TCP Data received {"connection_id":130580,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:27:39] local.INFO: Processing buffer {"connection_id":130580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:27:39] local.INFO: IMEI packet received {"connection_id":130580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":130580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:27:40] local.INFO: TCP Data received {"connection_id":131603,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:27:40] local.INFO: Processing buffer {"connection_id":131603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:27:40] local.INFO: IMEI packet received {"connection_id":131603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":131603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:27:40] local.INFO: TCP Data received {"connection_id":130580,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc1c388012d7f914005afd938001a011b25..."} 
[2026-07-13 19:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc1c388012d7f914005afd938001a011b25..."} 
[2026-07-13 19:27:40] local.INFO: Processing buffer {"connection_id":130580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc1c388012d7f914005afd938001a011b25..."} 
[2026-07-13 19:27:40] local.INFO: Packet analysis {"connection_id":130580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc1"} 
[2026-07-13 19:27:40] local.INFO: Extracted packet for processing {"connection_id":130580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc1"} 
[2026-07-13 19:27:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691341312001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783950853000,"timestamp_ms":1783950853000,"timestamp_seconds":1783950853,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc1c388"} 
[2026-07-13 19:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 19:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691341312001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691341312001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:27:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:27:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691341312001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":130580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:27:40] local.INFO: GPS data processed {"connection_id":130580,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:27:40] local.INFO: Acknowledgment sent {"connection_id":130580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:27:45] local.INFO: TCP Data received {"connection_id":131603,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:27:45] local.INFO: Processing buffer {"connection_id":131603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:27:45] local.INFO: IMEI packet received {"connection_id":131603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":131603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:27:46] local.INFO: TCP Data received {"connection_id":131603,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc03ce8012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc03ce8012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:27:46] local.INFO: Processing buffer {"connection_id":131603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc03ce8012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:27:46] local.INFO: Packet analysis {"connection_id":131603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc0"} 
[2026-07-13 19:27:46] local.INFO: Extracted packet for processing {"connection_id":131603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc0"} 
[2026-07-13 19:27:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691315712001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:27:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783950753000,"timestamp_ms":1783950753000,"timestamp_seconds":1783950753,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc03ce8"} 
[2026-07-13 19:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-13 19:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131603,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131603,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691315712001,"66":25191,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691315712001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:27:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:27:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:27:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691315712001,"power":25191,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":131603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481680,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:27:46] local.INFO: GPS data processed {"connection_id":131603,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:27:46] local.INFO: Acknowledgment sent {"connection_id":131603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:27:52] local.INFO: TCP Data received {"connection_id":132941,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:27:52] local.INFO: Processing buffer {"connection_id":132941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:27:52] local.INFO: IMEI packet received {"connection_id":132941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":132941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:27:58] local.INFO: TCP Data received {"connection_id":132941,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:27:58] local.INFO: Processing buffer {"connection_id":132941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:27:58] local.INFO: IMEI packet received {"connection_id":132941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":132941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:27:58] local.INFO: TCP Data received {"connection_id":132941,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc41548012d1b704007257aa00024001427..."} 
[2026-07-13 19:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc41548012d1b704007257aa00024001427..."} 
[2026-07-13 19:27:58] local.INFO: Processing buffer {"connection_id":132941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc41548012d1b704007257aa00024001427..."} 
[2026-07-13 19:27:58] local.INFO: Packet analysis {"connection_id":132941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:27:58] local.INFO: Extracted packet for processing {"connection_id":132941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:27:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":39,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691379200001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977643217062721536,"note":"Value kept but may cause issues"} 
[2026-07-13 19:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783951005000,"timestamp_ms":1783951005000,"timestamp_seconds":1783951005,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc41548"} 
[2026-07-13 19:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-13 19:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:27: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-07-13 19:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691379200001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977643217062721536},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691379200001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:27:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:27:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977643217062721536,"description":"Unknown IO ID 45"} 
[2026-07-13 19:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691379200001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977643217062721536}} 
[2026-07-13 19:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":132941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:27:59] local.INFO: GPS data processed {"connection_id":132941,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:27:59] local.INFO: Acknowledgment sent {"connection_id":132941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:28:11] local.INFO: TCP Data received {"connection_id":130580,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc1c388012d7f914005afd938001a011b25..."} 
[2026-07-13 19:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc1c388012d7f914005afd938001a011b25..."} 
[2026-07-13 19:28:11] local.INFO: Processing buffer {"connection_id":130580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc1c388012d7f914005afd938001a011b25..."} 
[2026-07-13 19:28:11] local.INFO: Packet analysis {"connection_id":130580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc1"} 
[2026-07-13 19:28:11] local.INFO: Extracted packet for processing {"connection_id":130580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc1"} 
[2026-07-13 19:28:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691341312001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783950853000,"timestamp_ms":1783950853000,"timestamp_seconds":1783950853,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc1c388"} 
[2026-07-13 19:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 19:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691341312001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691341312001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:28:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:28:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691341312001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":130580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:28:11] local.INFO: GPS data processed {"connection_id":130580,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:28:11] local.INFO: Acknowledgment sent {"connection_id":130580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:28:18] local.INFO: TCP Data received {"connection_id":131603,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc4d4b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc4d4b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:28:18] local.INFO: Processing buffer {"connection_id":131603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc4d4b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:28:18] local.INFO: Packet analysis {"connection_id":131603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:28:18] local.INFO: Extracted packet for processing {"connection_id":131603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:28:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 19:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691392768001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:28:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783951054000,"timestamp_ms":1783951054000,"timestamp_seconds":1783951054,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc4d4b0"} 
[2026-07-13 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-07-13 19:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 19:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 19:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131603,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131603,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691392768001,"66":25125,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691392768001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:28:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:28:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:28:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691392768001,"power":25125,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":131603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481683,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:28:18] local.INFO: GPS data processed {"connection_id":131603,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:28:18] local.INFO: Acknowledgment sent {"connection_id":131603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:28:29] local.INFO: TCP Data received {"connection_id":132941,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc41548012d1b704007257aa00024001427..."} 
[2026-07-13 19:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc41548012d1b704007257aa00024001427..."} 
[2026-07-13 19:28:29] local.INFO: Processing buffer {"connection_id":132941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc41548012d1b704007257aa00024001427..."} 
[2026-07-13 19:28:29] local.INFO: Packet analysis {"connection_id":132941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:28:29] local.INFO: Extracted packet for processing {"connection_id":132941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:28:29] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":39,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691379200001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977643217062721536,"note":"Value kept but may cause issues"} 
[2026-07-13 19:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783951005000,"timestamp_ms":1783951005000,"timestamp_seconds":1783951005,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc41548"} 
[2026-07-13 19:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-13 19:28:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:28:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:28: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-07-13 19:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691379200001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977643217062721536},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691379200001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:28:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:28:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977643217062721536,"description":"Unknown IO ID 45"} 
[2026-07-13 19:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691379200001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977643217062721536}} 
[2026-07-13 19:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":132941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:28:29] local.INFO: GPS data processed {"connection_id":132941,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:28:29] local.INFO: Acknowledgment sent {"connection_id":132941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:28:39] local.INFO: TCP Data received {"connection_id":131605,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:28:39] local.INFO: Processing buffer {"connection_id":131605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:28:39] local.INFO: IMEI packet received {"connection_id":131605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":131605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:28:40] local.INFO: TCP Data received {"connection_id":131604,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:28:40] local.INFO: Processing buffer {"connection_id":131604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:28:40] local.INFO: IMEI packet received {"connection_id":131604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":131604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:28:45] local.INFO: TCP Data received {"connection_id":131605,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:28:45] local.INFO: Processing buffer {"connection_id":131605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:28:45] local.INFO: IMEI packet received {"connection_id":131605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":131605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:28:45] local.INFO: TCP Data received {"connection_id":131604,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:28:45] local.INFO: Processing buffer {"connection_id":131604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:28:45] local.INFO: IMEI packet received {"connection_id":131604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":131604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:28:46] local.INFO: TCP Data received {"connection_id":131604,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc1c388012d7f914005afd938001a011b25..."} 
[2026-07-13 19:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc1c388012d7f914005afd938001a011b25..."} 
[2026-07-13 19:28:46] local.INFO: Processing buffer {"connection_id":131604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc1c388012d7f914005afd938001a011b25..."} 
[2026-07-13 19:28:46] local.INFO: Packet analysis {"connection_id":131604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc1"} 
[2026-07-13 19:28:46] local.INFO: Extracted packet for processing {"connection_id":131604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc1"} 
[2026-07-13 19:28:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691341312001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783950853000,"timestamp_ms":1783950853000,"timestamp_seconds":1783950853,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc1c388"} 
[2026-07-13 19:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 19:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691341312001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691341312001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:28:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:28:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691341312001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":131604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:28:46] local.INFO: GPS data processed {"connection_id":131604,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:28:46] local.INFO: Acknowledgment sent {"connection_id":131604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:28:46] local.INFO: TCP Data received {"connection_id":131605,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc4d4b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc4d4b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:28:46] local.INFO: Processing buffer {"connection_id":131605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc4d4b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:28:46] local.INFO: Packet analysis {"connection_id":131605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:28:46] local.INFO: Extracted packet for processing {"connection_id":131605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:28:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691392768001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:28:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783951054000,"timestamp_ms":1783951054000,"timestamp_seconds":1783951054,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc4d4b0"} 
[2026-07-13 19:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 19:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691392768001,"66":25125,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691392768001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:28:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:28:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:28:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691392768001,"power":25125,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":131605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481686,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:28:46] local.INFO: GPS data processed {"connection_id":131605,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:28:46] local.INFO: Acknowledgment sent {"connection_id":131605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:28:49] local.INFO: TCP Data received {"connection_id":131604,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc1c388012d7f914005afd938001a011b25..."} 
[2026-07-13 19:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc1c388012d7f914005afd938001a011b25..."} 
[2026-07-13 19:28:49] local.INFO: Processing buffer {"connection_id":131604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc1c388012d7f914005afd938001a011b25..."} 
[2026-07-13 19:28:49] local.INFO: Packet analysis {"connection_id":131604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc1"} 
[2026-07-13 19:28:49] local.INFO: Extracted packet for processing {"connection_id":131604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc1"} 
[2026-07-13 19:28:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 19:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691341312001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783950853000,"timestamp_ms":1783950853000,"timestamp_seconds":1783950853,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc1c388"} 
[2026-07-13 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-07-13 19:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 19:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 19:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691341312001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691341312001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:28:49] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:28:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691341312001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":131604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:28:49] local.INFO: GPS data processed {"connection_id":131604,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:28:49] local.INFO: Acknowledgment sent {"connection_id":131604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:28:58] local.INFO: TCP Data received {"connection_id":130581,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:28:58] local.INFO: Processing buffer {"connection_id":130581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:28:58] local.INFO: IMEI packet received {"connection_id":130581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":130581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:29:03] local.INFO: TCP Data received {"connection_id":130581,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:29:03] local.INFO: Processing buffer {"connection_id":130581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:29:03] local.INFO: IMEI packet received {"connection_id":130581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":130581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:29:03] local.INFO: TCP Data received {"connection_id":130581,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc41548012d1b704007257aa00024001427..."} 
[2026-07-13 19:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc41548012d1b704007257aa00024001427..."} 
[2026-07-13 19:29:03] local.INFO: Processing buffer {"connection_id":130581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc41548012d1b704007257aa00024001427..."} 
[2026-07-13 19:29:03] local.INFO: Packet analysis {"connection_id":130581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:29:03] local.INFO: Extracted packet for processing {"connection_id":130581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:29:03] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":39,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691379200001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977643217062721536,"note":"Value kept but may cause issues"} 
[2026-07-13 19:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783951005000,"timestamp_ms":1783951005000,"timestamp_seconds":1783951005,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc41548"} 
[2026-07-13 19:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-13 19:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":130581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":130581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":130581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691379200001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977643217062721536},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691379200001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:29:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:29:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977643217062721536,"description":"Unknown IO ID 45"} 
[2026-07-13 19:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691379200001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977643217062721536}} 
[2026-07-13 19:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":130581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:29:03] local.INFO: GPS data processed {"connection_id":130581,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:29:03] local.INFO: Acknowledgment sent {"connection_id":130581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:29:08] local.INFO: TCP Data received {"connection_id":130581,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc41548012d1b704007257aa00024001427..."} 
[2026-07-13 19:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc41548012d1b704007257aa00024001427..."} 
[2026-07-13 19:29:08] local.INFO: Processing buffer {"connection_id":130581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc41548012d1b704007257aa00024001427..."} 
[2026-07-13 19:29:08] local.INFO: Packet analysis {"connection_id":130581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:29:08] local.INFO: Extracted packet for processing {"connection_id":130581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:29:08] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":39,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691379200001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977643217062721536,"note":"Value kept but may cause issues"} 
[2026-07-13 19:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783951005000,"timestamp_ms":1783951005000,"timestamp_seconds":1783951005,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc41548"} 
[2026-07-13 19:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-13 19:29: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-07-13 19:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691379200001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977643217062721536},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691379200001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:29:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:29:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977643217062721536,"description":"Unknown IO ID 45"} 
[2026-07-13 19:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691379200001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977643217062721536}} 
[2026-07-13 19:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":130581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:29:08] local.INFO: GPS data processed {"connection_id":130581,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:29:08] local.INFO: Acknowledgment sent {"connection_id":130581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:29:18] local.INFO: TCP Data received {"connection_id":131605,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc4d4b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc4d4b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:29:18] local.INFO: Processing buffer {"connection_id":131605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc4d4b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:29:18] local.INFO: Packet analysis {"connection_id":131605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:29:18] local.INFO: Extracted packet for processing {"connection_id":131605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:29:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691392768001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:29:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783951054000,"timestamp_ms":1783951054000,"timestamp_seconds":1783951054,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc4d4b0"} 
[2026-07-13 19:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 19:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691392768001,"66":25125,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691392768001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:29:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:29:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:29:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691392768001,"power":25125,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":131605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481690,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:29:18] local.INFO: GPS data processed {"connection_id":131605,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:29:18] local.INFO: Acknowledgment sent {"connection_id":131605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:29:33] local.INFO: TCP Data received {"connection_id":132942,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:29:33] local.INFO: Processing buffer {"connection_id":132942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:29:33] local.INFO: IMEI packet received {"connection_id":132942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":132942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:29:39] local.INFO: TCP Data received {"connection_id":132942,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:29:39] local.INFO: Processing buffer {"connection_id":132942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:29:39] local.INFO: IMEI packet received {"connection_id":132942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":132942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:29:39] local.INFO: TCP Data received {"connection_id":131606,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131606,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:29:39] local.INFO: Processing buffer {"connection_id":131606,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:29:39] local.INFO: IMEI packet received {"connection_id":131606,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":131606,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:29:40] local.INFO: TCP Data received {"connection_id":132942,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc1c388012d7f914005afd938001a011b25..."} 
[2026-07-13 19:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc1c388012d7f914005afd938001a011b25..."} 
[2026-07-13 19:29:40] local.INFO: Processing buffer {"connection_id":132942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc1c388012d7f914005afd938001a011b25..."} 
[2026-07-13 19:29:40] local.INFO: Packet analysis {"connection_id":132942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc1"} 
[2026-07-13 19:29:40] local.INFO: Extracted packet for processing {"connection_id":132942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc1"} 
[2026-07-13 19:29:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691341312001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783950853000,"timestamp_ms":1783950853000,"timestamp_seconds":1783950853,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc1c388"} 
[2026-07-13 19:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 19:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691341312001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691341312001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:29:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691341312001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":132942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:29:40] local.INFO: GPS data processed {"connection_id":132942,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:29:40] local.INFO: Acknowledgment sent {"connection_id":132942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:29:45] local.INFO: TCP Data received {"connection_id":131606,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131606,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:29:45] local.INFO: Processing buffer {"connection_id":131606,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:29:45] local.INFO: IMEI packet received {"connection_id":131606,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":131606,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:29:46] local.INFO: TCP Data received {"connection_id":131606,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc4d4b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc4d4b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:29:46] local.INFO: Processing buffer {"connection_id":131606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc4d4b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:29:46] local.INFO: Packet analysis {"connection_id":131606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:29:46] local.INFO: Extracted packet for processing {"connection_id":131606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:29:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691392768001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:29:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783951054000,"timestamp_ms":1783951054000,"timestamp_seconds":1783951054,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc4d4b0"} 
[2026-07-13 19:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 19:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691392768001,"66":25125,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691392768001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:29:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:29:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:29:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691392768001,"power":25125,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":131606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481692,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:29:46] local.INFO: GPS data processed {"connection_id":131606,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:29:46] local.INFO: Acknowledgment sent {"connection_id":131606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:29:53] local.INFO: TCP Data received {"connection_id":131607,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:29:53] local.INFO: Processing buffer {"connection_id":131607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:29:53] local.INFO: IMEI packet received {"connection_id":131607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":131607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:29:58] local.INFO: TCP Data received {"connection_id":131607,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:29:58] local.INFO: Processing buffer {"connection_id":131607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:29:58] local.INFO: IMEI packet received {"connection_id":131607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":131607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:29:58] local.INFO: TCP Data received {"connection_id":131607,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc41548012d1b704007257aa00024001427..."} 
[2026-07-13 19:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc41548012d1b704007257aa00024001427..."} 
[2026-07-13 19:29:58] local.INFO: Processing buffer {"connection_id":131607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc41548012d1b704007257aa00024001427..."} 
[2026-07-13 19:29:58] local.INFO: Packet analysis {"connection_id":131607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:29:58] local.INFO: Extracted packet for processing {"connection_id":131607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:29:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":39,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691379200001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977643217062721536,"note":"Value kept but may cause issues"} 
[2026-07-13 19:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783951005000,"timestamp_ms":1783951005000,"timestamp_seconds":1783951005,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc41548"} 
[2026-07-13 19:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-13 19:29:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:29:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691379200001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977643217062721536},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691379200001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:29:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:29:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977643217062721536,"description":"Unknown IO ID 45"} 
[2026-07-13 19:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691379200001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977643217062721536}} 
[2026-07-13 19:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":131607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:29:58] local.INFO: GPS data processed {"connection_id":131607,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:29:58] local.INFO: Acknowledgment sent {"connection_id":131607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:30:11] local.INFO: TCP Data received {"connection_id":132942,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc65b50012d7f914005afd938001b011b25..."} 
[2026-07-13 19:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc65b50012d7f914005afd938001b011b25..."} 
[2026-07-13 19:30:11] local.INFO: Processing buffer {"connection_id":132942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc65b50012d7f914005afd938001b011b25..."} 
[2026-07-13 19:30:11] local.INFO: Packet analysis {"connection_id":132942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc6"} 
[2026-07-13 19:30:11] local.INFO: Extracted packet for processing {"connection_id":132942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc6"} 
[2026-07-13 19:30:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691418368001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783951154000,"timestamp_ms":1783951154000,"timestamp_seconds":1783951154,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc65b50"} 
[2026-07-13 19:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 19:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691418368001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691418368001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:30:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:30:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691418368001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":132942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:30:11] local.INFO: GPS data processed {"connection_id":132942,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:30:11] local.INFO: Acknowledgment sent {"connection_id":132942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:30:22] local.INFO: TCP Data received {"connection_id":131606,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc4d4b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc4d4b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:30:22] local.INFO: Processing buffer {"connection_id":131606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc4d4b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:30:22] local.INFO: Packet analysis {"connection_id":131606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:30:22] local.INFO: Extracted packet for processing {"connection_id":131606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:30:22] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691392768001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:30:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783951054000,"timestamp_ms":1783951054000,"timestamp_seconds":1783951054,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc4d4b0"} 
[2026-07-13 19:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 19:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":131606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":131606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":131606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691392768001,"66":25125,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691392768001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:30:22] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:30:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:30:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691392768001,"power":25125,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":131606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481695,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:30:22] local.INFO: GPS data processed {"connection_id":131606,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:30:22] local.INFO: Acknowledgment sent {"connection_id":131606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:30:29] local.INFO: TCP Data received {"connection_id":131607,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc41548012d1b704007257aa00024001427..."} 
[2026-07-13 19:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc41548012d1b704007257aa00024001427..."} 
[2026-07-13 19:30:29] local.INFO: Processing buffer {"connection_id":131607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc41548012d1b704007257aa00024001427..."} 
[2026-07-13 19:30:29] local.INFO: Packet analysis {"connection_id":131607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:30:29] local.INFO: Extracted packet for processing {"connection_id":131607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:30:29] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":39,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691379200001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977643217062721536,"note":"Value kept but may cause issues"} 
[2026-07-13 19:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783951005000,"timestamp_ms":1783951005000,"timestamp_seconds":1783951005,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc41548"} 
[2026-07-13 19:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-13 19:30:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":131607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":131607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":131607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691379200001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977643217062721536},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691379200001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:30:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:30:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977643217062721536,"description":"Unknown IO ID 45"} 
[2026-07-13 19:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691379200001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977643217062721536}} 
[2026-07-13 19:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":131607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:30:29] local.INFO: GPS data processed {"connection_id":131607,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:30:29] local.INFO: Acknowledgment sent {"connection_id":131607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:30:34] local.INFO: TCP Data received {"connection_id":132943,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:30:34] local.INFO: Processing buffer {"connection_id":132943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:30:34] local.INFO: IMEI packet received {"connection_id":132943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":132943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:30:39] local.INFO: TCP Data received {"connection_id":132943,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:30:39] local.INFO: Processing buffer {"connection_id":132943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:30:39] local.INFO: IMEI packet received {"connection_id":132943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":132943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:30:39] local.INFO: TCP Data received {"connection_id":131608,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131608,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:30:39] local.INFO: Processing buffer {"connection_id":131608,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:30:39] local.INFO: IMEI packet received {"connection_id":131608,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":131608,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:30:40] local.INFO: TCP Data received {"connection_id":132943,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc65b50012d7f914005afd938001b011b25..."} 
[2026-07-13 19:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc65b50012d7f914005afd938001b011b25..."} 
[2026-07-13 19:30:40] local.INFO: Processing buffer {"connection_id":132943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc65b50012d7f914005afd938001b011b25..."} 
[2026-07-13 19:30:40] local.INFO: Packet analysis {"connection_id":132943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc6"} 
[2026-07-13 19:30:40] local.INFO: Extracted packet for processing {"connection_id":132943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc6"} 
[2026-07-13 19:30:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 19:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691418368001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783951154000,"timestamp_ms":1783951154000,"timestamp_seconds":1783951154,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc65b50"} 
[2026-07-13 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-07-13 19:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 19:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 19:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691418368001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691418368001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:30:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:30:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691418368001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":132943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:30:40] local.INFO: GPS data processed {"connection_id":132943,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:30:40] local.INFO: Acknowledgment sent {"connection_id":132943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:30:45] local.INFO: TCP Data received {"connection_id":131608,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131608,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:30:45] local.INFO: Processing buffer {"connection_id":131608,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:30:45] local.INFO: IMEI packet received {"connection_id":131608,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":131608,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:30:46] local.INFO: TCP Data received {"connection_id":131608,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc4d4b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc4d4b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:30:46] local.INFO: Processing buffer {"connection_id":131608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc4d4b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:30:46] local.INFO: Packet analysis {"connection_id":131608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:30:46] local.INFO: Extracted packet for processing {"connection_id":131608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:30:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691392768001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:30:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783951054000,"timestamp_ms":1783951054000,"timestamp_seconds":1783951054,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc4d4b0"} 
[2026-07-13 19:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 19:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131608,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131608,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691392768001,"66":25125,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691392768001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:30:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:30:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:30:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691392768001,"power":25125,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":131608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481698,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:30:46] local.INFO: GPS data processed {"connection_id":131608,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:30:46] local.INFO: Acknowledgment sent {"connection_id":131608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:30:52] local.INFO: TCP Data received {"connection_id":132944,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:30:52] local.INFO: Processing buffer {"connection_id":132944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:30:52] local.INFO: IMEI packet received {"connection_id":132944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":132944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:30:58] local.INFO: TCP Data received {"connection_id":132944,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:30:58] local.INFO: Processing buffer {"connection_id":132944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:30:58] local.INFO: IMEI packet received {"connection_id":132944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":132944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:30:58] local.INFO: TCP Data received {"connection_id":132944,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc41548012d1b704007257aa00024001427..."} 
[2026-07-13 19:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc41548012d1b704007257aa00024001427..."} 
[2026-07-13 19:30:58] local.INFO: Processing buffer {"connection_id":132944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc41548012d1b704007257aa00024001427..."} 
[2026-07-13 19:30:58] local.INFO: Packet analysis {"connection_id":132944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:30:58] local.INFO: Extracted packet for processing {"connection_id":132944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:30:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":39,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691379200001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977643217062721536,"note":"Value kept but may cause issues"} 
[2026-07-13 19:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783951005000,"timestamp_ms":1783951005000,"timestamp_seconds":1783951005,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc41548"} 
[2026-07-13 19:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-13 19:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691379200001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977643217062721536},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691379200001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:30:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:30:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977643217062721536,"description":"Unknown IO ID 45"} 
[2026-07-13 19:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691379200001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977643217062721536}} 
[2026-07-13 19:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":132944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:30:58] local.INFO: GPS data processed {"connection_id":132944,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:30:58] local.INFO: Acknowledgment sent {"connection_id":132944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:31:11] local.INFO: TCP Data received {"connection_id":132943,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc65b50012d7f914005afd938001b011b25..."} 
[2026-07-13 19:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc65b50012d7f914005afd938001b011b25..."} 
[2026-07-13 19:31:11] local.INFO: Processing buffer {"connection_id":132943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc65b50012d7f914005afd938001b011b25..."} 
[2026-07-13 19:31:11] local.INFO: Packet analysis {"connection_id":132943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc6"} 
[2026-07-13 19:31:11] local.INFO: Extracted packet for processing {"connection_id":132943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc6"} 
[2026-07-13 19:31:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691418368001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783951154000,"timestamp_ms":1783951154000,"timestamp_seconds":1783951154,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc65b50"} 
[2026-07-13 19:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 19:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691418368001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691418368001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:31:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:31:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691418368001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":132943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:31:11] local.INFO: GPS data processed {"connection_id":132943,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:31:11] local.INFO: Acknowledgment sent {"connection_id":132943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:31:18] local.INFO: TCP Data received {"connection_id":131608,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc4d4b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc4d4b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:31:18] local.INFO: Processing buffer {"connection_id":131608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc4d4b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:31:18] local.INFO: Packet analysis {"connection_id":131608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:31:18] local.INFO: Extracted packet for processing {"connection_id":131608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:31:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 19:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691392768001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:31:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783951054000,"timestamp_ms":1783951054000,"timestamp_seconds":1783951054,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc4d4b0"} 
[2026-07-13 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-07-13 19:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 19:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 19:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131608,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131608,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691392768001,"66":25125,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691392768001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:31:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:31:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:31:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691392768001,"power":25125,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":131608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481701,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:31:18] local.INFO: GPS data processed {"connection_id":131608,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:31:18] local.INFO: Acknowledgment sent {"connection_id":131608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:31:29] local.INFO: TCP Data received {"connection_id":132944,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc41548012d1b704007257aa00024001427..."} 
[2026-07-13 19:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc41548012d1b704007257aa00024001427..."} 
[2026-07-13 19:31:29] local.INFO: Processing buffer {"connection_id":132944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc41548012d1b704007257aa00024001427..."} 
[2026-07-13 19:31:29] local.INFO: Packet analysis {"connection_id":132944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:31:29] local.INFO: Extracted packet for processing {"connection_id":132944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:31:29] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":39,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691379200001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977643217062721536,"note":"Value kept but may cause issues"} 
[2026-07-13 19:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783951005000,"timestamp_ms":1783951005000,"timestamp_seconds":1783951005,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc41548"} 
[2026-07-13 19:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-13 19:31:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:31:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691379200001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977643217062721536},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691379200001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:31:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:31:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977643217062721536,"description":"Unknown IO ID 45"} 
[2026-07-13 19:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691379200001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977643217062721536}} 
[2026-07-13 19:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":132944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:31:29] local.INFO: GPS data processed {"connection_id":132944,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:31:29] local.INFO: Acknowledgment sent {"connection_id":132944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:31:35] local.INFO: TCP Data received {"connection_id":130806,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:31:35] local.INFO: Processing buffer {"connection_id":130806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:31:35] local.INFO: IMEI packet received {"connection_id":130806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":130806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:31:39] local.INFO: TCP Data received {"connection_id":130806,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:31:39] local.INFO: Processing buffer {"connection_id":130806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:31:39] local.INFO: IMEI packet received {"connection_id":130806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":130806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:31:40] local.INFO: TCP Data received {"connection_id":130806,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc65b50012d7f914005afd938001b011b25..."} 
[2026-07-13 19:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc65b50012d7f914005afd938001b011b25..."} 
[2026-07-13 19:31:40] local.INFO: Processing buffer {"connection_id":130806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc65b50012d7f914005afd938001b011b25..."} 
[2026-07-13 19:31:40] local.INFO: Packet analysis {"connection_id":130806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc6"} 
[2026-07-13 19:31:40] local.INFO: Extracted packet for processing {"connection_id":130806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc6"} 
[2026-07-13 19:31:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691418368001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783951154000,"timestamp_ms":1783951154000,"timestamp_seconds":1783951154,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc65b50"} 
[2026-07-13 19:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 19:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691418368001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691418368001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:31:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:31:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691418368001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":130806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:31:40] local.INFO: GPS data processed {"connection_id":130806,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:31:40] local.INFO: Acknowledgment sent {"connection_id":130806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:31:45] local.INFO: TCP Data received {"connection_id":131609,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131609,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:31:45] local.INFO: Processing buffer {"connection_id":131609,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:31:45] local.INFO: IMEI packet received {"connection_id":131609,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":131609,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:31:50] local.INFO: TCP Data received {"connection_id":131609,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131609,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:31:50] local.INFO: Processing buffer {"connection_id":131609,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:31:50] local.INFO: IMEI packet received {"connection_id":131609,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":131609,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:31:51] local.INFO: TCP Data received {"connection_id":131609,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc4d4b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc4d4b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:31:51] local.INFO: Processing buffer {"connection_id":131609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc4d4b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:31:51] local.INFO: Packet analysis {"connection_id":131609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:31:51] local.INFO: Extracted packet for processing {"connection_id":131609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:31:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 19:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691392768001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:31:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783951054000,"timestamp_ms":1783951054000,"timestamp_seconds":1783951054,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc4d4b0"} 
[2026-07-13 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-07-13 19:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 19:31: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-07-13 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-07-13 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-07-13 19:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":131609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":131609,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":131609,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691392768001,"66":25125,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691392768001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:31:51] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:31:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:31:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691392768001,"power":25125,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":131609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481704,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:31:51] local.INFO: GPS data processed {"connection_id":131609,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:31:51] local.INFO: Acknowledgment sent {"connection_id":131609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:31:52] local.INFO: TCP Data received {"connection_id":130582,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:31:52] local.INFO: Processing buffer {"connection_id":130582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:31:52] local.INFO: IMEI packet received {"connection_id":130582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":130582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:31:55] local.INFO: TCP Data received {"connection_id":131609,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc4d4b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc4d4b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:31:55] local.INFO: Processing buffer {"connection_id":131609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc4d4b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:31:55] local.INFO: Packet analysis {"connection_id":131609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:31:55] local.INFO: Extracted packet for processing {"connection_id":131609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:31:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691392768001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:31:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783951054000,"timestamp_ms":1783951054000,"timestamp_seconds":1783951054,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc4d4b0"} 
[2026-07-13 19:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 19:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":131609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":131609,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":131609,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691392768001,"66":25125,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691392768001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:31:55] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:31:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:31:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691392768001,"power":25125,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":131609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481705,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:31:55] local.INFO: GPS data processed {"connection_id":131609,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:31:55] local.INFO: Acknowledgment sent {"connection_id":131609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:31:57] local.INFO: TCP Data received {"connection_id":130582,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:31:57] local.INFO: Processing buffer {"connection_id":130582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:31:57] local.INFO: IMEI packet received {"connection_id":130582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":130582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:31:58] local.INFO: TCP Data received {"connection_id":130582,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc41548012d1b704007257aa00024001427..."} 
[2026-07-13 19:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc41548012d1b704007257aa00024001427..."} 
[2026-07-13 19:31:58] local.INFO: Processing buffer {"connection_id":130582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc41548012d1b704007257aa00024001427..."} 
[2026-07-13 19:31:58] local.INFO: Packet analysis {"connection_id":130582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:31:58] local.INFO: Extracted packet for processing {"connection_id":130582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:31:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":39,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691379200001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977643217062721536,"note":"Value kept but may cause issues"} 
[2026-07-13 19:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783951005000,"timestamp_ms":1783951005000,"timestamp_seconds":1783951005,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc41548"} 
[2026-07-13 19:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-13 19:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691379200001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977643217062721536},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691379200001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:31:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:31:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977643217062721536,"description":"Unknown IO ID 45"} 
[2026-07-13 19:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691379200001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977643217062721536}} 
[2026-07-13 19:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":130582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:31:58] local.INFO: GPS data processed {"connection_id":130582,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:31:58] local.INFO: Acknowledgment sent {"connection_id":130582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:32:11] local.INFO: TCP Data received {"connection_id":130806,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc65b50012d7f914005afd938001b011b25..."} 
[2026-07-13 19:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc65b50012d7f914005afd938001b011b25..."} 
[2026-07-13 19:32:11] local.INFO: Processing buffer {"connection_id":130806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc65b50012d7f914005afd938001b011b25..."} 
[2026-07-13 19:32:11] local.INFO: Packet analysis {"connection_id":130806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc6"} 
[2026-07-13 19:32:11] local.INFO: Extracted packet for processing {"connection_id":130806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc6"} 
[2026-07-13 19:32:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691418368001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783951154000,"timestamp_ms":1783951154000,"timestamp_seconds":1783951154,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc65b50"} 
[2026-07-13 19:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 19:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691418368001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691418368001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:32:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:32:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691418368001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":130806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:32:11] local.INFO: GPS data processed {"connection_id":130806,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:32:11] local.INFO: Acknowledgment sent {"connection_id":130806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:32:29] local.INFO: TCP Data received {"connection_id":130582,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc8ad10012d1b704007257aa00024001427..."} 
[2026-07-13 19:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc8ad10012d1b704007257aa00024001427..."} 
[2026-07-13 19:32:29] local.INFO: Processing buffer {"connection_id":130582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc8ad10012d1b704007257aa00024001427..."} 
[2026-07-13 19:32:29] local.INFO: Packet analysis {"connection_id":130582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc8"} 
[2026-07-13 19:32:29] local.INFO: Extracted packet for processing {"connection_id":130582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc8"} 
[2026-07-13 19:32:29] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":39,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691457280001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783951306000,"timestamp_ms":1783951306000,"timestamp_seconds":1783951306,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc8ad10"} 
[2026-07-13 19:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:32:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691457280001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691457280001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:32:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:32:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691457280001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":130582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:32:29] local.INFO: GPS data processed {"connection_id":130582,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:32:29] local.INFO: Acknowledgment sent {"connection_id":130582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:32:39] local.INFO: TCP Data received {"connection_id":131610,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:32:39] local.INFO: Processing buffer {"connection_id":131610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:32:39] local.INFO: IMEI packet received {"connection_id":131610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":131610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:32:40] local.INFO: TCP Data received {"connection_id":131611,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131611,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:32:40] local.INFO: Processing buffer {"connection_id":131611,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:32:40] local.INFO: IMEI packet received {"connection_id":131611,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":131611,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:32:44] local.INFO: TCP Data received {"connection_id":131610,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:32:44] local.INFO: Processing buffer {"connection_id":131610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:32:44] local.INFO: IMEI packet received {"connection_id":131610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":131610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:32:45] local.INFO: TCP Data received {"connection_id":131611,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131611,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:32:45] local.INFO: Processing buffer {"connection_id":131611,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:32:45] local.INFO: IMEI packet received {"connection_id":131611,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":131611,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:32:45] local.INFO: TCP Data received {"connection_id":131610,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc65b50012d7f914005afd938001b011b25..."} 
[2026-07-13 19:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc65b50012d7f914005afd938001b011b25..."} 
[2026-07-13 19:32:45] local.INFO: Processing buffer {"connection_id":131610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc65b50012d7f914005afd938001b011b25..."} 
[2026-07-13 19:32:45] local.INFO: Packet analysis {"connection_id":131610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc6"} 
[2026-07-13 19:32:45] local.INFO: Extracted packet for processing {"connection_id":131610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc6"} 
[2026-07-13 19:32:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691418368001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783951154000,"timestamp_ms":1783951154000,"timestamp_seconds":1783951154,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc65b50"} 
[2026-07-13 19:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 19:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691418368001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691418368001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:32:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:32:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691418368001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":131610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:32:45] local.INFO: GPS data processed {"connection_id":131610,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:32:45] local.INFO: Acknowledgment sent {"connection_id":131610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:32:46] local.INFO: TCP Data received {"connection_id":131611,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc4d4b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc4d4b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:32:46] local.INFO: Processing buffer {"connection_id":131611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc4d4b0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:32:46] local.INFO: Packet analysis {"connection_id":131611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:32:46] local.INFO: Extracted packet for processing {"connection_id":131611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc4"} 
[2026-07-13 19:32:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691392768001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:32:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783951054000,"timestamp_ms":1783951054000,"timestamp_seconds":1783951054,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc4d4b0"} 
[2026-07-13 19:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 19:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691392768001,"66":25125,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691392768001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:32:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:32:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:32:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691392768001,"power":25125,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":131611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481710,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:32:46] local.INFO: GPS data processed {"connection_id":131611,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:32:46] local.INFO: Acknowledgment sent {"connection_id":131611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:32:49] local.INFO: TCP Data received {"connection_id":131610,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc65b50012d7f914005afd938001b011b25..."} 
[2026-07-13 19:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc65b50012d7f914005afd938001b011b25..."} 
[2026-07-13 19:32:49] local.INFO: Processing buffer {"connection_id":131610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc65b50012d7f914005afd938001b011b25..."} 
[2026-07-13 19:32:49] local.INFO: Packet analysis {"connection_id":131610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc6"} 
[2026-07-13 19:32:49] local.INFO: Extracted packet for processing {"connection_id":131610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc6"} 
[2026-07-13 19:32:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691418368001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783951154000,"timestamp_ms":1783951154000,"timestamp_seconds":1783951154,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc65b50"} 
[2026-07-13 19:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 19:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:32:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:32: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-07-13 19:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691418368001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691418368001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:32:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:32:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691418368001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":131610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:32:49] local.INFO: GPS data processed {"connection_id":131610,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:32:49] local.INFO: Acknowledgment sent {"connection_id":131610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:32:52] local.INFO: TCP Data received {"connection_id":130807,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:32:52] local.INFO: Processing buffer {"connection_id":130807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:32:52] local.INFO: IMEI packet received {"connection_id":130807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":130807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:32:58] local.INFO: TCP Data received {"connection_id":130807,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:32:58] local.INFO: Processing buffer {"connection_id":130807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:32:58] local.INFO: IMEI packet received {"connection_id":130807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":130807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:32:58] local.INFO: TCP Data received {"connection_id":130807,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc8ad10012d1b704007257aa00024001427..."} 
[2026-07-13 19:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc8ad10012d1b704007257aa00024001427..."} 
[2026-07-13 19:32:58] local.INFO: Processing buffer {"connection_id":130807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc8ad10012d1b704007257aa00024001427..."} 
[2026-07-13 19:32:58] local.INFO: Packet analysis {"connection_id":130807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc8"} 
[2026-07-13 19:32:58] local.INFO: Extracted packet for processing {"connection_id":130807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc8"} 
[2026-07-13 19:32:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":39,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691457280001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:32:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783951306000,"timestamp_ms":1783951306000,"timestamp_seconds":1783951306,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc8ad10"} 
[2026-07-13 19:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:32:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691457280001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691457280001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:32:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:32:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691457280001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":130807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:32:58] local.INFO: GPS data processed {"connection_id":130807,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:32:58] local.INFO: Acknowledgment sent {"connection_id":130807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:33:18] local.INFO: TCP Data received {"connection_id":131611,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc96c78012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc96c78012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:33:18] local.INFO: Processing buffer {"connection_id":131611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc96c78012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:33:18] local.INFO: Packet analysis {"connection_id":131611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc9"} 
[2026-07-13 19:33:18] local.INFO: Extracted packet for processing {"connection_id":131611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc9"} 
[2026-07-13 19:33:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 19:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691469824001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:33:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783951355000,"timestamp_ms":1783951355000,"timestamp_seconds":1783951355,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc96c78"} 
[2026-07-13 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-07-13 19:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 19:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 19:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691469824001,"66":24984,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691469824001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:33:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:33:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:33:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691469824001,"power":24984,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":131611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481713,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:33:18] local.INFO: GPS data processed {"connection_id":131611,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:33:18] local.INFO: Acknowledgment sent {"connection_id":131611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:33:29] local.INFO: TCP Data received {"connection_id":130807,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc8ad10012d1b704007257aa00024001427..."} 
[2026-07-13 19:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc8ad10012d1b704007257aa00024001427..."} 
[2026-07-13 19:33:29] local.INFO: Processing buffer {"connection_id":130807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc8ad10012d1b704007257aa00024001427..."} 
[2026-07-13 19:33:29] local.INFO: Packet analysis {"connection_id":130807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc8"} 
[2026-07-13 19:33:29] local.INFO: Extracted packet for processing {"connection_id":130807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc8"} 
[2026-07-13 19:33:29] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":39,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691457280001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:33:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:33:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783951306000,"timestamp_ms":1783951306000,"timestamp_seconds":1783951306,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc8ad10"} 
[2026-07-13 19:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:33:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:33:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691457280001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691457280001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:33:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:33:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691457280001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":130807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:33:29] local.INFO: GPS data processed {"connection_id":130807,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:33:29] local.INFO: Acknowledgment sent {"connection_id":130807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:33:34] local.INFO: TCP Data received {"connection_id":131612,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:33:34] local.INFO: Processing buffer {"connection_id":131612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:33:34] local.INFO: IMEI packet received {"connection_id":131612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":131612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:33:39] local.INFO: TCP Data received {"connection_id":131612,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:33:39] local.INFO: Processing buffer {"connection_id":131612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:33:39] local.INFO: IMEI packet received {"connection_id":131612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":131612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:33:40] local.INFO: TCP Data received {"connection_id":130583,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130583,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:33:40] local.INFO: Processing buffer {"connection_id":130583,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:33:40] local.INFO: IMEI packet received {"connection_id":130583,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":130583,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:33:45] local.INFO: TCP Data received {"connection_id":130583,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130583,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:33:45] local.INFO: Processing buffer {"connection_id":130583,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:33:45] local.INFO: IMEI packet received {"connection_id":130583,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":130583,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:33:46] local.INFO: TCP Data received {"connection_id":130583,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc96c78012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc96c78012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:33:46] local.INFO: Processing buffer {"connection_id":130583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc96c78012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:33:46] local.INFO: Packet analysis {"connection_id":130583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc9"} 
[2026-07-13 19:33:46] local.INFO: Extracted packet for processing {"connection_id":130583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc9"} 
[2026-07-13 19:33:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691469824001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:33:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783951355000,"timestamp_ms":1783951355000,"timestamp_seconds":1783951355,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc96c78"} 
[2026-07-13 19:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 19:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130583,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130583,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691469824001,"66":24984,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691469824001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:33:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:33:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:33:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691469824001,"power":24984,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":130583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481715,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:33:46] local.INFO: GPS data processed {"connection_id":130583,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:33:46] local.INFO: Acknowledgment sent {"connection_id":130583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:33:47] local.INFO: TCP Data received {"connection_id":131612,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc65b50012d7f914005afd938001b011b25..."} 
[2026-07-13 19:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc65b50012d7f914005afd938001b011b25..."} 
[2026-07-13 19:33:47] local.INFO: Processing buffer {"connection_id":131612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc65b50012d7f914005afd938001b011b25..."} 
[2026-07-13 19:33:47] local.INFO: Packet analysis {"connection_id":131612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc6"} 
[2026-07-13 19:33:47] local.INFO: Extracted packet for processing {"connection_id":131612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc6"} 
[2026-07-13 19:33:47] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691418368001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783951154000,"timestamp_ms":1783951154000,"timestamp_seconds":1783951154,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc65b50"} 
[2026-07-13 19:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 19:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":131612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":131612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":131612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691418368001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691418368001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:33:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:33:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691418368001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":131612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:33:47] local.INFO: GPS data processed {"connection_id":131612,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:33:47] local.INFO: Acknowledgment sent {"connection_id":131612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:33:58] local.INFO: TCP Data received {"connection_id":132945,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:33:58] local.INFO: Processing buffer {"connection_id":132945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:33:58] local.INFO: IMEI packet received {"connection_id":132945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":132945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:34:03] local.INFO: TCP Data received {"connection_id":132945,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:34:03] local.INFO: Processing buffer {"connection_id":132945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:34:03] local.INFO: IMEI packet received {"connection_id":132945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":132945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:34:03] local.INFO: TCP Data received {"connection_id":132945,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc8ad10012d1b704007257aa00024001427..."} 
[2026-07-13 19:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc8ad10012d1b704007257aa00024001427..."} 
[2026-07-13 19:34:03] local.INFO: Processing buffer {"connection_id":132945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc8ad10012d1b704007257aa00024001427..."} 
[2026-07-13 19:34:03] local.INFO: Packet analysis {"connection_id":132945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc8"} 
[2026-07-13 19:34:03] local.INFO: Extracted packet for processing {"connection_id":132945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc8"} 
[2026-07-13 19:34:03] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":39,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691457280001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783951306000,"timestamp_ms":1783951306000,"timestamp_seconds":1783951306,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc8ad10"} 
[2026-07-13 19:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":132945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":132945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":132945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691457280001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691457280001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:34:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:34:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691457280001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":132945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:34:03] local.INFO: GPS data processed {"connection_id":132945,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:34:03] local.INFO: Acknowledgment sent {"connection_id":132945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:34:08] local.INFO: TCP Data received {"connection_id":132945,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc8ad10012d1b704007257aa00024001427..."} 
[2026-07-13 19:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc8ad10012d1b704007257aa00024001427..."} 
[2026-07-13 19:34:08] local.INFO: Processing buffer {"connection_id":132945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc8ad10012d1b704007257aa00024001427..."} 
[2026-07-13 19:34:08] local.INFO: Packet analysis {"connection_id":132945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc8"} 
[2026-07-13 19:34:08] local.INFO: Extracted packet for processing {"connection_id":132945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc8"} 
[2026-07-13 19:34:08] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":39,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691457280001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783951306000,"timestamp_ms":1783951306000,"timestamp_seconds":1783951306,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc8ad10"} 
[2026-07-13 19:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:34: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-07-13 19:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691457280001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691457280001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:34:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:34:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691457280001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":132945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:34:08] local.INFO: GPS data processed {"connection_id":132945,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:34:08] local.INFO: Acknowledgment sent {"connection_id":132945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:34:18] local.INFO: TCP Data received {"connection_id":130583,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc96c78012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc96c78012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:34:18] local.INFO: Processing buffer {"connection_id":130583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc96c78012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:34:18] local.INFO: Packet analysis {"connection_id":130583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc9"} 
[2026-07-13 19:34:18] local.INFO: Extracted packet for processing {"connection_id":130583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc9"} 
[2026-07-13 19:34:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691469824001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:34:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783951355000,"timestamp_ms":1783951355000,"timestamp_seconds":1783951355,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc96c78"} 
[2026-07-13 19:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 19:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130583,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130583,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691469824001,"66":24984,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691469824001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:34:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:34:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:34:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691469824001,"power":24984,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":130583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481719,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:34:18] local.INFO: GPS data processed {"connection_id":130583,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:34:18] local.INFO: Acknowledgment sent {"connection_id":130583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:34:39] local.INFO: TCP Data received {"connection_id":131613,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:34:39] local.INFO: Processing buffer {"connection_id":131613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:34:39] local.INFO: IMEI packet received {"connection_id":131613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":131613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:34:39] local.INFO: TCP Data received {"connection_id":132946,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:34:39] local.INFO: Processing buffer {"connection_id":132946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:34:39] local.INFO: IMEI packet received {"connection_id":132946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":132946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:34:45] local.INFO: TCP Data received {"connection_id":132946,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:34:45] local.INFO: Processing buffer {"connection_id":132946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:34:45] local.INFO: IMEI packet received {"connection_id":132946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":132946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:34:45] local.INFO: TCP Data received {"connection_id":131613,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:34:45] local.INFO: Processing buffer {"connection_id":131613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:34:45] local.INFO: IMEI packet received {"connection_id":131613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":131613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:34:46] local.INFO: TCP Data received {"connection_id":132946,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc96c78012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc96c78012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:34:46] local.INFO: Processing buffer {"connection_id":132946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc96c78012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:34:46] local.INFO: Packet analysis {"connection_id":132946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc9"} 
[2026-07-13 19:34:46] local.INFO: Extracted packet for processing {"connection_id":132946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc9"} 
[2026-07-13 19:34:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691469824001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:34:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783951355000,"timestamp_ms":1783951355000,"timestamp_seconds":1783951355,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc96c78"} 
[2026-07-13 19:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 19:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691469824001,"66":24984,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691469824001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:34:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:34:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:34:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691469824001,"power":24984,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":132946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481720,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:34:46] local.INFO: GPS data processed {"connection_id":132946,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:34:46] local.INFO: Acknowledgment sent {"connection_id":132946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:34:46] local.INFO: TCP Data received {"connection_id":131613,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc65b50012d7f914005afd938001b011b25..."} 
[2026-07-13 19:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc65b50012d7f914005afd938001b011b25..."} 
[2026-07-13 19:34:46] local.INFO: Processing buffer {"connection_id":131613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc65b50012d7f914005afd938001b011b25..."} 
[2026-07-13 19:34:46] local.INFO: Packet analysis {"connection_id":131613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc6"} 
[2026-07-13 19:34:46] local.INFO: Extracted packet for processing {"connection_id":131613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc6"} 
[2026-07-13 19:34:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691418368001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783951154000,"timestamp_ms":1783951154000,"timestamp_seconds":1783951154,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc65b50"} 
[2026-07-13 19:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 19:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691418368001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691418368001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:34:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:34:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691418368001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":131613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:34:46] local.INFO: GPS data processed {"connection_id":131613,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:34:46] local.INFO: Acknowledgment sent {"connection_id":131613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:34:52] local.INFO: TCP Data received {"connection_id":130808,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:34:52] local.INFO: Processing buffer {"connection_id":130808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:34:52] local.INFO: IMEI packet received {"connection_id":130808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":130808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:34:58] local.INFO: TCP Data received {"connection_id":130808,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:34:58] local.INFO: Processing buffer {"connection_id":130808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:34:58] local.INFO: IMEI packet received {"connection_id":130808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":130808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:34:58] local.INFO: TCP Data received {"connection_id":130808,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc8ad10012d1b704007257aa00024001427..."} 
[2026-07-13 19:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc8ad10012d1b704007257aa00024001427..."} 
[2026-07-13 19:34:58] local.INFO: Processing buffer {"connection_id":130808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc8ad10012d1b704007257aa00024001427..."} 
[2026-07-13 19:34:58] local.INFO: Packet analysis {"connection_id":130808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc8"} 
[2026-07-13 19:34:58] local.INFO: Extracted packet for processing {"connection_id":130808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc8"} 
[2026-07-13 19:34:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":39,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691457280001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783951306000,"timestamp_ms":1783951306000,"timestamp_seconds":1783951306,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc8ad10"} 
[2026-07-13 19:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691457280001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691457280001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:34:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:34:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691457280001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":130808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:34:58] local.INFO: GPS data processed {"connection_id":130808,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:34:58] local.INFO: Acknowledgment sent {"connection_id":130808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:35:17] local.INFO: TCP Data received {"connection_id":131613,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bcaf318012d7f914005afd938001a011b24..."} 
[2026-07-13 19:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bcaf318012d7f914005afd938001a011b24..."} 
[2026-07-13 19:35:17] local.INFO: Processing buffer {"connection_id":131613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bcaf318012d7f914005afd938001a011b24..."} 
[2026-07-13 19:35:17] local.INFO: Packet analysis {"connection_id":131613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bca"} 
[2026-07-13 19:35:17] local.INFO: Extracted packet for processing {"connection_id":131613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bca"} 
[2026-07-13 19:35:17] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691495424001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783951455000,"timestamp_ms":1783951455000,"timestamp_seconds":1783951455,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bcaf318"} 
[2026-07-13 19:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:35: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-07-13 19:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691495424001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691495424001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:35:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:35:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691495424001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":131613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:35:17] local.INFO: GPS data processed {"connection_id":131613,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:35:17] local.INFO: Acknowledgment sent {"connection_id":131613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:35:18] local.INFO: TCP Data received {"connection_id":132946,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc96c78012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc96c78012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:35:18] local.INFO: Processing buffer {"connection_id":132946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc96c78012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:35:18] local.INFO: Packet analysis {"connection_id":132946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc9"} 
[2026-07-13 19:35:18] local.INFO: Extracted packet for processing {"connection_id":132946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc9"} 
[2026-07-13 19:35:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691469824001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:35:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783951355000,"timestamp_ms":1783951355000,"timestamp_seconds":1783951355,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc96c78"} 
[2026-07-13 19:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 19:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691469824001,"66":24984,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691469824001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:35:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:35:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:35:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691469824001,"power":24984,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":132946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481724,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:35:18] local.INFO: GPS data processed {"connection_id":132946,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:35:18] local.INFO: Acknowledgment sent {"connection_id":132946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:35:30] local.INFO: TCP Data received {"connection_id":130808,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc8ad10012d1b704007257aa00024001427..."} 
[2026-07-13 19:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc8ad10012d1b704007257aa00024001427..."} 
[2026-07-13 19:35:30] local.INFO: Processing buffer {"connection_id":130808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc8ad10012d1b704007257aa00024001427..."} 
[2026-07-13 19:35:30] local.INFO: Packet analysis {"connection_id":130808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc8"} 
[2026-07-13 19:35:30] local.INFO: Extracted packet for processing {"connection_id":130808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc8"} 
[2026-07-13 19:35:30] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":39,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691457280001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783951306000,"timestamp_ms":1783951306000,"timestamp_seconds":1783951306,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc8ad10"} 
[2026-07-13 19:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":130808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":130808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":130808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691457280001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691457280001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:35:30] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:35:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691457280001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":130808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:35:30] local.INFO: GPS data processed {"connection_id":130808,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:35:30] local.INFO: Acknowledgment sent {"connection_id":130808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:35:44] local.INFO: TCP Data received {"connection_id":130584,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:35:45] local.INFO: Processing buffer {"connection_id":130584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:35:45] local.INFO: IMEI packet received {"connection_id":130584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":130584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:35:48] local.INFO: TCP Data received {"connection_id":132947,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:35:48] local.INFO: Processing buffer {"connection_id":132947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:35:48] local.INFO: IMEI packet received {"connection_id":132947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":132947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:35:49] local.INFO: TCP Data received {"connection_id":130584,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:35:50] local.INFO: Processing buffer {"connection_id":130584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:35:50] local.INFO: IMEI packet received {"connection_id":130584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":130584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:35:51] local.INFO: TCP Data received {"connection_id":130584,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc96c78012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc96c78012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:35:51] local.INFO: Processing buffer {"connection_id":130584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc96c78012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:35:51] local.INFO: Packet analysis {"connection_id":130584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc9"} 
[2026-07-13 19:35:51] local.INFO: Extracted packet for processing {"connection_id":130584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc9"} 
[2026-07-13 19:35:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691469824001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:35:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783951355000,"timestamp_ms":1783951355000,"timestamp_seconds":1783951355,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc96c78"} 
[2026-07-13 19:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 19:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691469824001,"66":24984,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691469824001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:35:51] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:35:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:35:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691469824001,"power":24984,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":130584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481726,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:35:51] local.INFO: GPS data processed {"connection_id":130584,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:35:51] local.INFO: Acknowledgment sent {"connection_id":130584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:35:52] local.INFO: TCP Data received {"connection_id":131614,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:35:52] local.INFO: Processing buffer {"connection_id":131614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:35:52] local.INFO: IMEI packet received {"connection_id":131614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":131614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:35:53] local.INFO: TCP Data received {"connection_id":132947,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:35:53] local.INFO: Processing buffer {"connection_id":132947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:35:53] local.INFO: IMEI packet received {"connection_id":132947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":132947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:35:54] local.INFO: TCP Data received {"connection_id":132947,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bcaf318012d7f914005afd938001a011b24..."} 
[2026-07-13 19:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bcaf318012d7f914005afd938001a011b24..."} 
[2026-07-13 19:35:54] local.INFO: Processing buffer {"connection_id":132947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bcaf318012d7f914005afd938001a011b24..."} 
[2026-07-13 19:35:54] local.INFO: Packet analysis {"connection_id":132947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bca"} 
[2026-07-13 19:35:54] local.INFO: Extracted packet for processing {"connection_id":132947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bca"} 
[2026-07-13 19:35:54] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691495424001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783951455000,"timestamp_ms":1783951455000,"timestamp_seconds":1783951455,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bcaf318"} 
[2026-07-13 19:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":132947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":132947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":132947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:35: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-07-13 19:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691495424001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691495424001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:35:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:35:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691495424001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":132947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:35:54] local.INFO: GPS data processed {"connection_id":132947,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:35:54] local.INFO: Acknowledgment sent {"connection_id":132947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:35:55] local.INFO: TCP Data received {"connection_id":130584,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc96c78012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc96c78012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:35:55] local.INFO: Processing buffer {"connection_id":130584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc96c78012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:35:55] local.INFO: Packet analysis {"connection_id":130584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc9"} 
[2026-07-13 19:35:55] local.INFO: Extracted packet for processing {"connection_id":130584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc9"} 
[2026-07-13 19:35:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691469824001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:35:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783951355000,"timestamp_ms":1783951355000,"timestamp_seconds":1783951355,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc96c78"} 
[2026-07-13 19:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 19:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691469824001,"66":24984,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691469824001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:35:55] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:35:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:35:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691469824001,"power":24984,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":130584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481728,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:35:55] local.INFO: GPS data processed {"connection_id":130584,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:35:55] local.INFO: Acknowledgment sent {"connection_id":130584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:35:57] local.INFO: TCP Data received {"connection_id":131614,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:35:57] local.INFO: Processing buffer {"connection_id":131614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:35:57] local.INFO: IMEI packet received {"connection_id":131614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":131614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:35:58] local.INFO: TCP Data received {"connection_id":131614,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc8ad10012d1b704007257aa00024001427..."} 
[2026-07-13 19:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc8ad10012d1b704007257aa00024001427..."} 
[2026-07-13 19:35:58] local.INFO: Processing buffer {"connection_id":131614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc8ad10012d1b704007257aa00024001427..."} 
[2026-07-13 19:35:58] local.INFO: Packet analysis {"connection_id":131614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc8"} 
[2026-07-13 19:35:58] local.INFO: Extracted packet for processing {"connection_id":131614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc8"} 
[2026-07-13 19:35:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":39,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691457280001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783951306000,"timestamp_ms":1783951306000,"timestamp_seconds":1783951306,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc8ad10"} 
[2026-07-13 19:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:35:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:35:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691457280001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691457280001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:35:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:35:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691457280001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":131614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:35:58] local.INFO: GPS data processed {"connection_id":131614,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:35:58] local.INFO: Acknowledgment sent {"connection_id":131614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:36:29] local.INFO: TCP Data received {"connection_id":131614,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc8ad10012d1b704007257aa00024001427..."} 
[2026-07-13 19:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc8ad10012d1b704007257aa00024001427..."} 
[2026-07-13 19:36:29] local.INFO: Processing buffer {"connection_id":131614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc8ad10012d1b704007257aa00024001427..."} 
[2026-07-13 19:36:29] local.INFO: Packet analysis {"connection_id":131614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc8"} 
[2026-07-13 19:36:29] local.INFO: Extracted packet for processing {"connection_id":131614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc8"} 
[2026-07-13 19:36:29] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":39,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691457280001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783951306000,"timestamp_ms":1783951306000,"timestamp_seconds":1783951306,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc8ad10"} 
[2026-07-13 19:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":131614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":131614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":131614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691457280001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691457280001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:36:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:36:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691457280001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":131614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:36:29] local.INFO: GPS data processed {"connection_id":131614,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:36:29] local.INFO: Acknowledgment sent {"connection_id":131614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:36:34] local.INFO: TCP Data received {"connection_id":132948,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:36:34] local.INFO: Processing buffer {"connection_id":132948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:36:34] local.INFO: IMEI packet received {"connection_id":132948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":132948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:36:38] local.INFO: TCP Data received {"connection_id":132948,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:36:38] local.INFO: Processing buffer {"connection_id":132948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:36:38] local.INFO: IMEI packet received {"connection_id":132948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":132948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:36:39] local.INFO: TCP Data received {"connection_id":130809,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:36:39] local.INFO: Processing buffer {"connection_id":130809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:36:39] local.INFO: IMEI packet received {"connection_id":130809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":130809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:36:40] local.INFO: TCP Data received {"connection_id":132948,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bcaf318012d7f914005afd938001a011b24..."} 
[2026-07-13 19:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bcaf318012d7f914005afd938001a011b24..."} 
[2026-07-13 19:36:40] local.INFO: Processing buffer {"connection_id":132948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bcaf318012d7f914005afd938001a011b24..."} 
[2026-07-13 19:36:40] local.INFO: Packet analysis {"connection_id":132948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bca"} 
[2026-07-13 19:36:40] local.INFO: Extracted packet for processing {"connection_id":132948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bca"} 
[2026-07-13 19:36:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691495424001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783951455000,"timestamp_ms":1783951455000,"timestamp_seconds":1783951455,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bcaf318"} 
[2026-07-13 19:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691495424001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691495424001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:36:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:36:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691495424001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":132948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:36:40] local.INFO: GPS data processed {"connection_id":132948,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:36:40] local.INFO: Acknowledgment sent {"connection_id":132948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:36:44] local.INFO: TCP Data received {"connection_id":130809,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:36:44] local.INFO: Processing buffer {"connection_id":130809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:36:44] local.INFO: IMEI packet received {"connection_id":130809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":130809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:36:46] local.INFO: TCP Data received {"connection_id":130809,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc96c78012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc96c78012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:36:46] local.INFO: Processing buffer {"connection_id":130809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc96c78012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:36:46] local.INFO: Packet analysis {"connection_id":130809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc9"} 
[2026-07-13 19:36:46] local.INFO: Extracted packet for processing {"connection_id":130809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc9"} 
[2026-07-13 19:36:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691469824001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:36:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783951355000,"timestamp_ms":1783951355000,"timestamp_seconds":1783951355,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc96c78"} 
[2026-07-13 19:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 19:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691469824001,"66":24984,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691469824001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:36:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:36:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:36:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691469824001,"power":24984,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":130809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481732,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:36:46] local.INFO: GPS data processed {"connection_id":130809,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:36:46] local.INFO: Acknowledgment sent {"connection_id":130809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:36:52] local.INFO: TCP Data received {"connection_id":131615,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:36:52] local.INFO: Processing buffer {"connection_id":131615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:36:52] local.INFO: IMEI packet received {"connection_id":131615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":131615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:36:58] local.INFO: TCP Data received {"connection_id":131615,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:36:58] local.INFO: Processing buffer {"connection_id":131615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:36:58] local.INFO: IMEI packet received {"connection_id":131615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":131615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:36:58] local.INFO: TCP Data received {"connection_id":131615,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc8ad10012d1b704007257aa00024001427..."} 
[2026-07-13 19:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc8ad10012d1b704007257aa00024001427..."} 
[2026-07-13 19:36:58] local.INFO: Processing buffer {"connection_id":131615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc8ad10012d1b704007257aa00024001427..."} 
[2026-07-13 19:36:58] local.INFO: Packet analysis {"connection_id":131615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc8"} 
[2026-07-13 19:36:58] local.INFO: Extracted packet for processing {"connection_id":131615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc8"} 
[2026-07-13 19:36:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":39,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691457280001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783951306000,"timestamp_ms":1783951306000,"timestamp_seconds":1783951306,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc8ad10"} 
[2026-07-13 19:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691457280001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691457280001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:36:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:36:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691457280001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":131615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:36:58] local.INFO: GPS data processed {"connection_id":131615,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:36:58] local.INFO: Acknowledgment sent {"connection_id":131615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:37:11] local.INFO: TCP Data received {"connection_id":132948,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bcaf318012d7f914005afd938001a011b24..."} 
[2026-07-13 19:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bcaf318012d7f914005afd938001a011b24..."} 
[2026-07-13 19:37:11] local.INFO: Processing buffer {"connection_id":132948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bcaf318012d7f914005afd938001a011b24..."} 
[2026-07-13 19:37:11] local.INFO: Packet analysis {"connection_id":132948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bca"} 
[2026-07-13 19:37:11] local.INFO: Extracted packet for processing {"connection_id":132948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bca"} 
[2026-07-13 19:37:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691495424001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783951455000,"timestamp_ms":1783951455000,"timestamp_seconds":1783951455,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bcaf318"} 
[2026-07-13 19:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691495424001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691495424001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:37:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:37:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691495424001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":132948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:37:12] local.INFO: GPS data processed {"connection_id":132948,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:37:12] local.INFO: Acknowledgment sent {"connection_id":132948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:37:17] local.INFO: TCP Data received {"connection_id":130809,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc96c78012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc96c78012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:37:17] local.INFO: Processing buffer {"connection_id":130809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc96c78012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:37:17] local.INFO: Packet analysis {"connection_id":130809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc9"} 
[2026-07-13 19:37:17] local.INFO: Extracted packet for processing {"connection_id":130809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc9"} 
[2026-07-13 19:37:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691469824001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:37:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783951355000,"timestamp_ms":1783951355000,"timestamp_seconds":1783951355,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc96c78"} 
[2026-07-13 19:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:37: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-07-13 19: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 19:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691469824001,"66":24984,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691469824001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:37:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:37:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:37:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691469824001,"power":24984,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":130809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481735,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:37:18] local.INFO: GPS data processed {"connection_id":130809,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:37:18] local.INFO: Acknowledgment sent {"connection_id":130809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:37:29] local.INFO: TCP Data received {"connection_id":131615,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bcd44d8012d1b704007257aa00024001426..."} 
[2026-07-13 19:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bcd44d8012d1b704007257aa00024001426..."} 
[2026-07-13 19:37:29] local.INFO: Processing buffer {"connection_id":131615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bcd44d8012d1b704007257aa00024001426..."} 
[2026-07-13 19:37:29] local.INFO: Packet analysis {"connection_id":131615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bcd"} 
[2026-07-13 19:37:29] local.INFO: Extracted packet for processing {"connection_id":131615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bcd"} 
[2026-07-13 19:37:29] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691534336001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:37:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783951607000,"timestamp_ms":1783951607000,"timestamp_seconds":1783951607,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bcd44d8"} 
[2026-07-13 19:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:37:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:37:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":131615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":131615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":131615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:37:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691534336001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691534336001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:37:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:37:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691534336001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":131615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:37:29] local.INFO: GPS data processed {"connection_id":131615,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:37:29] local.INFO: Acknowledgment sent {"connection_id":131615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:37:33] local.INFO: TCP Data received {"connection_id":130585,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:37:33] local.INFO: Processing buffer {"connection_id":130585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:37:33] local.INFO: IMEI packet received {"connection_id":130585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":130585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:37:39] local.INFO: TCP Data received {"connection_id":130810,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130810,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:37:39] local.INFO: Processing buffer {"connection_id":130810,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:37:39] local.INFO: IMEI packet received {"connection_id":130810,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":130810,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:37:41] local.INFO: TCP Data received {"connection_id":130585,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:37:41] local.INFO: Processing buffer {"connection_id":130585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:37:41] local.INFO: IMEI packet received {"connection_id":130585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":130585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:37:42] local.INFO: TCP Data received {"connection_id":130585,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bcaf318012d7f914005afd938001a011b24..."} 
[2026-07-13 19:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bcaf318012d7f914005afd938001a011b24..."} 
[2026-07-13 19:37:42] local.INFO: Processing buffer {"connection_id":130585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bcaf318012d7f914005afd938001a011b24..."} 
[2026-07-13 19:37:42] local.INFO: Packet analysis {"connection_id":130585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bca"} 
[2026-07-13 19:37:42] local.INFO: Extracted packet for processing {"connection_id":130585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bca"} 
[2026-07-13 19:37:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691495424001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783951455000,"timestamp_ms":1783951455000,"timestamp_seconds":1783951455,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bcaf318"} 
[2026-07-13 19:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691495424001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691495424001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:37:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:37:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691495424001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":130585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:37:42] local.INFO: GPS data processed {"connection_id":130585,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:37:42] local.INFO: Acknowledgment sent {"connection_id":130585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:37:45] local.INFO: TCP Data received {"connection_id":130810,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130810,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:37:45] local.INFO: Processing buffer {"connection_id":130810,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:37:45] local.INFO: IMEI packet received {"connection_id":130810,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":130810,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:37:46] local.INFO: TCP Data received {"connection_id":130810,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bc96c78012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bc96c78012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:37:46] local.INFO: Processing buffer {"connection_id":130810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bc96c78012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:37:46] local.INFO: Packet analysis {"connection_id":130810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bc9"} 
[2026-07-13 19:37:46] local.INFO: Extracted packet for processing {"connection_id":130810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bc9"} 
[2026-07-13 19:37:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691469824001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:37:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783951355000,"timestamp_ms":1783951355000,"timestamp_seconds":1783951355,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bc96c78"} 
[2026-07-13 19:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 19:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130810,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130810,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691469824001,"66":24984,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691469824001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:37:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:37:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:37:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691469824001,"power":24984,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":130810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481738,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:37:46] local.INFO: GPS data processed {"connection_id":130810,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:37:46] local.INFO: Acknowledgment sent {"connection_id":130810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:37:52] local.INFO: TCP Data received {"connection_id":130586,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:37:52] local.INFO: Processing buffer {"connection_id":130586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:37:52] local.INFO: IMEI packet received {"connection_id":130586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":130586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:37:58] local.INFO: TCP Data received {"connection_id":130586,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:37:58] local.INFO: Processing buffer {"connection_id":130586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:37:58] local.INFO: IMEI packet received {"connection_id":130586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":130586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:37:58] local.INFO: TCP Data received {"connection_id":130586,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bcd44d8012d1b704007257aa00024001426..."} 
[2026-07-13 19:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bcd44d8012d1b704007257aa00024001426..."} 
[2026-07-13 19:37:58] local.INFO: Processing buffer {"connection_id":130586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bcd44d8012d1b704007257aa00024001426..."} 
[2026-07-13 19:37:58] local.INFO: Packet analysis {"connection_id":130586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bcd"} 
[2026-07-13 19:37:58] local.INFO: Extracted packet for processing {"connection_id":130586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bcd"} 
[2026-07-13 19:37:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691534336001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783951607000,"timestamp_ms":1783951607000,"timestamp_seconds":1783951607,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bcd44d8"} 
[2026-07-13 19:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:37:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:37:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691534336001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691534336001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:37:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:37:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691534336001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":130586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:37:59] local.INFO: GPS data processed {"connection_id":130586,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:37:59] local.INFO: Acknowledgment sent {"connection_id":130586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:38:13] local.INFO: TCP Data received {"connection_id":130585,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bcaf318012d7f914005afd938001a011b24..."} 
[2026-07-13 19:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bcaf318012d7f914005afd938001a011b24..."} 
[2026-07-13 19:38:13] local.INFO: Processing buffer {"connection_id":130585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bcaf318012d7f914005afd938001a011b24..."} 
[2026-07-13 19:38:13] local.INFO: Packet analysis {"connection_id":130585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bca"} 
[2026-07-13 19:38:13] local.INFO: Extracted packet for processing {"connection_id":130585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bca"} 
[2026-07-13 19:38:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 19:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691495424001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783951455000,"timestamp_ms":1783951455000,"timestamp_seconds":1783951455,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bcaf318"} 
[2026-07-13 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-07-13 19:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 19:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691495424001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691495424001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:38:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:38:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691495424001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":130585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:38:13] local.INFO: GPS data processed {"connection_id":130585,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:38:13] local.INFO: Acknowledgment sent {"connection_id":130585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:38:18] local.INFO: TCP Data received {"connection_id":130810,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bce0440012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bce0440012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:38:18] local.INFO: Processing buffer {"connection_id":130810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bce0440012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:38:18] local.INFO: Packet analysis {"connection_id":130810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bce"} 
[2026-07-13 19:38:18] local.INFO: Extracted packet for processing {"connection_id":130810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bce"} 
[2026-07-13 19:38:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 19:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691546880001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:38:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783951656000,"timestamp_ms":1783951656000,"timestamp_seconds":1783951656,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bce0440"} 
[2026-07-13 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-07-13 19:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-13 19:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 19:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130810,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130810,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691546880001,"66":24962,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691546880001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:38:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:38:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:38:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691546880001,"power":24962,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":130810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481741,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:38:18] local.INFO: GPS data processed {"connection_id":130810,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:38:18] local.INFO: Acknowledgment sent {"connection_id":130810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:38:29] local.INFO: TCP Data received {"connection_id":130586,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bcd44d8012d1b704007257aa00024001426..."} 
[2026-07-13 19:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bcd44d8012d1b704007257aa00024001426..."} 
[2026-07-13 19:38:29] local.INFO: Processing buffer {"connection_id":130586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bcd44d8012d1b704007257aa00024001426..."} 
[2026-07-13 19:38:29] local.INFO: Packet analysis {"connection_id":130586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bcd"} 
[2026-07-13 19:38:29] local.INFO: Extracted packet for processing {"connection_id":130586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bcd"} 
[2026-07-13 19:38:29] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691534336001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783951607000,"timestamp_ms":1783951607000,"timestamp_seconds":1783951607,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bcd44d8"} 
[2026-07-13 19:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:38:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:38:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:38:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:38:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691534336001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691534336001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:38:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:38:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691534336001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":130586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:38:30] local.INFO: GPS data processed {"connection_id":130586,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:38:30] local.INFO: Acknowledgment sent {"connection_id":130586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:38:34] local.INFO: TCP Data received {"connection_id":132949,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:38:34] local.INFO: Processing buffer {"connection_id":132949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:38:34] local.INFO: IMEI packet received {"connection_id":132949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":132949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:38:45] local.INFO: TCP Data received {"connection_id":132950,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132950,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:38:45] local.INFO: Processing buffer {"connection_id":132950,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:38:45] local.INFO: IMEI packet received {"connection_id":132950,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":132950,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:38:50] local.INFO: TCP Data received {"connection_id":132950,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132950,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:38:50] local.INFO: Processing buffer {"connection_id":132950,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:38:50] local.INFO: IMEI packet received {"connection_id":132950,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":132950,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:38:51] local.INFO: TCP Data received {"connection_id":132949,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:38:51] local.INFO: Processing buffer {"connection_id":132949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:38:51] local.INFO: IMEI packet received {"connection_id":132949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":132949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:38:52] local.INFO: TCP Data received {"connection_id":132950,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bce0440012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bce0440012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:38:52] local.INFO: Processing buffer {"connection_id":132950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bce0440012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:38:52] local.INFO: Packet analysis {"connection_id":132950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bce"} 
[2026-07-13 19:38:52] local.INFO: Extracted packet for processing {"connection_id":132950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bce"} 
[2026-07-13 19:38:52] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691546880001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:38:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783951656000,"timestamp_ms":1783951656000,"timestamp_seconds":1783951656,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bce0440"} 
[2026-07-13 19:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-13 19:38:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":132950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":132950,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":132950,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691546880001,"66":24962,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691546880001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:38:52] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:38:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:38:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691546880001,"power":24962,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":132950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481743,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:38:52] local.INFO: GPS data processed {"connection_id":132950,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:38:52] local.INFO: Acknowledgment sent {"connection_id":132950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:38:56] local.INFO: TCP Data received {"connection_id":132950,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bce0440012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bce0440012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:38:56] local.INFO: Processing buffer {"connection_id":132950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bce0440012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:38:56] local.INFO: Packet analysis {"connection_id":132950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bce"} 
[2026-07-13 19:38:56] local.INFO: Extracted packet for processing {"connection_id":132950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bce"} 
[2026-07-13 19:38:56] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691546880001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:38:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783951656000,"timestamp_ms":1783951656000,"timestamp_seconds":1783951656,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bce0440"} 
[2026-07-13 19:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-13 19:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132950,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132950,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691546880001,"66":24962,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691546880001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:38:56] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:38:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:38:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691546880001,"power":24962,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":132950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481744,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:38:56] local.INFO: GPS data processed {"connection_id":132950,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:38:56] local.INFO: Acknowledgment sent {"connection_id":132950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:38:57] local.INFO: TCP Data received {"connection_id":132949,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bcaf318012d7f914005afd938001a011b24..."} 
[2026-07-13 19:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bcaf318012d7f914005afd938001a011b24..."} 
[2026-07-13 19:38:57] local.INFO: Processing buffer {"connection_id":132949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bcaf318012d7f914005afd938001a011b24..."} 
[2026-07-13 19:38:57] local.INFO: Packet analysis {"connection_id":132949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bca"} 
[2026-07-13 19:38:57] local.INFO: Extracted packet for processing {"connection_id":132949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bca"} 
[2026-07-13 19:38:57] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691495424001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783951455000,"timestamp_ms":1783951455000,"timestamp_seconds":1783951455,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bcaf318"} 
[2026-07-13 19:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:38:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":132949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":132949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":132949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691495424001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691495424001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:38:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:38:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691495424001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":132949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:38:57] local.INFO: GPS data processed {"connection_id":132949,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:38:57] local.INFO: Acknowledgment sent {"connection_id":132949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:38:57] local.INFO: TCP Data received {"connection_id":131616,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:38:57] local.INFO: Processing buffer {"connection_id":131616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:38:57] local.INFO: IMEI packet received {"connection_id":131616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":131616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:38:58] local.INFO: TCP Data received {"connection_id":132949,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bcaf318012d7f914005afd938001a011b24..."} 
[2026-07-13 19:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bcaf318012d7f914005afd938001a011b24..."} 
[2026-07-13 19:38:58] local.INFO: Processing buffer {"connection_id":132949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bcaf318012d7f914005afd938001a011b24..."} 
[2026-07-13 19:38:58] local.INFO: Packet analysis {"connection_id":132949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bca"} 
[2026-07-13 19:38:58] local.INFO: Extracted packet for processing {"connection_id":132949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bca"} 
[2026-07-13 19:38:58] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691495424001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783951455000,"timestamp_ms":1783951455000,"timestamp_seconds":1783951455,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bcaf318"} 
[2026-07-13 19:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:38:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691495424001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691495424001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:38:58] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:38:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691495424001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":132949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:38:58] local.INFO: GPS data processed {"connection_id":132949,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:38:58] local.INFO: Acknowledgment sent {"connection_id":132949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:39:02] local.INFO: TCP Data received {"connection_id":131616,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:39:02] local.INFO: Processing buffer {"connection_id":131616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:39:02] local.INFO: IMEI packet received {"connection_id":131616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":131616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:39:03] local.INFO: TCP Data received {"connection_id":131616,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bcd44d8012d1b704007257aa00024001426..."} 
[2026-07-13 19:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bcd44d8012d1b704007257aa00024001426..."} 
[2026-07-13 19:39:03] local.INFO: Processing buffer {"connection_id":131616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bcd44d8012d1b704007257aa00024001426..."} 
[2026-07-13 19:39:03] local.INFO: Packet analysis {"connection_id":131616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bcd"} 
[2026-07-13 19:39:03] local.INFO: Extracted packet for processing {"connection_id":131616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bcd"} 
[2026-07-13 19:39:03] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691534336001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783951607000,"timestamp_ms":1783951607000,"timestamp_seconds":1783951607,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bcd44d8"} 
[2026-07-13 19:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":131616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":131616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":131616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691534336001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691534336001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:39:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:39:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691534336001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":131616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:39:03] local.INFO: GPS data processed {"connection_id":131616,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:39:03] local.INFO: Acknowledgment sent {"connection_id":131616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:39:08] local.INFO: TCP Data received {"connection_id":131616,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bcd44d8012d1b704007257aa00024001426..."} 
[2026-07-13 19:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bcd44d8012d1b704007257aa00024001426..."} 
[2026-07-13 19:39:08] local.INFO: Processing buffer {"connection_id":131616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bcd44d8012d1b704007257aa00024001426..."} 
[2026-07-13 19:39:08] local.INFO: Packet analysis {"connection_id":131616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bcd"} 
[2026-07-13 19:39:08] local.INFO: Extracted packet for processing {"connection_id":131616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bcd"} 
[2026-07-13 19:39:08] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691534336001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783951607000,"timestamp_ms":1783951607000,"timestamp_seconds":1783951607,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bcd44d8"} 
[2026-07-13 19:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19: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-07-13 19:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691534336001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691534336001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:39:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:39:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691534336001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":131616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:39:08] local.INFO: GPS data processed {"connection_id":131616,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:39:08] local.INFO: Acknowledgment sent {"connection_id":131616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:39:33] local.INFO: TCP Data received {"connection_id":130587,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:39:33] local.INFO: Processing buffer {"connection_id":130587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:39:33] local.INFO: IMEI packet received {"connection_id":130587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":130587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:39:39] local.INFO: TCP Data received {"connection_id":130587,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:39:39] local.INFO: Processing buffer {"connection_id":130587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:39:39] local.INFO: IMEI packet received {"connection_id":130587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":130587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:39:40] local.INFO: TCP Data received {"connection_id":131617,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131617,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:39:40] local.INFO: Processing buffer {"connection_id":131617,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:39:40] local.INFO: IMEI packet received {"connection_id":131617,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":131617,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:39:40] local.INFO: TCP Data received {"connection_id":130587,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bcaf318012d7f914005afd938001a011b24..."} 
[2026-07-13 19:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bcaf318012d7f914005afd938001a011b24..."} 
[2026-07-13 19:39:40] local.INFO: Processing buffer {"connection_id":130587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bcaf318012d7f914005afd938001a011b24..."} 
[2026-07-13 19:39:40] local.INFO: Packet analysis {"connection_id":130587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bca"} 
[2026-07-13 19:39:40] local.INFO: Extracted packet for processing {"connection_id":130587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bca"} 
[2026-07-13 19:39:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691495424001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783951455000,"timestamp_ms":1783951455000,"timestamp_seconds":1783951455,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bcaf318"} 
[2026-07-13 19:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691495424001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691495424001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:39:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:39:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691495424001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":130587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:39:40] local.INFO: GPS data processed {"connection_id":130587,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:39:40] local.INFO: Acknowledgment sent {"connection_id":130587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:39:45] local.INFO: TCP Data received {"connection_id":131617,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131617,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:39:45] local.INFO: Processing buffer {"connection_id":131617,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:39:45] local.INFO: IMEI packet received {"connection_id":131617,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":131617,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:39:46] local.INFO: TCP Data received {"connection_id":131617,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bce0440012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bce0440012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:39:46] local.INFO: Processing buffer {"connection_id":131617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bce0440012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:39:46] local.INFO: Packet analysis {"connection_id":131617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bce"} 
[2026-07-13 19:39:46] local.INFO: Extracted packet for processing {"connection_id":131617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bce"} 
[2026-07-13 19:39:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691546880001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:39:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783951656000,"timestamp_ms":1783951656000,"timestamp_seconds":1783951656,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bce0440"} 
[2026-07-13 19:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-13 19:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691546880001,"66":24962,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691546880001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:39:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:39:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:39:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691546880001,"power":24962,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":131617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481750,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:39:46] local.INFO: GPS data processed {"connection_id":131617,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:39:46] local.INFO: Acknowledgment sent {"connection_id":131617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:39:52] local.INFO: TCP Data received {"connection_id":130588,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:39:52] local.INFO: Processing buffer {"connection_id":130588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:39:52] local.INFO: IMEI packet received {"connection_id":130588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":130588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:39:57] local.INFO: TCP Data received {"connection_id":130588,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:39:57] local.INFO: Processing buffer {"connection_id":130588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:39:57] local.INFO: IMEI packet received {"connection_id":130588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":130588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:39:58] local.INFO: TCP Data received {"connection_id":130588,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bcd44d8012d1b704007257aa00024001426..."} 
[2026-07-13 19:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bcd44d8012d1b704007257aa00024001426..."} 
[2026-07-13 19:39:58] local.INFO: Processing buffer {"connection_id":130588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bcd44d8012d1b704007257aa00024001426..."} 
[2026-07-13 19:39:58] local.INFO: Packet analysis {"connection_id":130588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bcd"} 
[2026-07-13 19:39:58] local.INFO: Extracted packet for processing {"connection_id":130588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bcd"} 
[2026-07-13 19:39:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691534336001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783951607000,"timestamp_ms":1783951607000,"timestamp_seconds":1783951607,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bcd44d8"} 
[2026-07-13 19:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:39:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:39:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691534336001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691534336001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:39:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:39:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691534336001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":130588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:39:58] local.INFO: GPS data processed {"connection_id":130588,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:39:58] local.INFO: Acknowledgment sent {"connection_id":130588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:40:11] local.INFO: TCP Data received {"connection_id":130587,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bcf8ae0012d7f914005afd938001b011b24..."} 
[2026-07-13 19:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bcf8ae0012d7f914005afd938001b011b24..."} 
[2026-07-13 19:40:11] local.INFO: Processing buffer {"connection_id":130587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bcf8ae0012d7f914005afd938001b011b24..."} 
[2026-07-13 19:40:11] local.INFO: Packet analysis {"connection_id":130587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bcf"} 
[2026-07-13 19:40:11] local.INFO: Extracted packet for processing {"connection_id":130587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bcf"} 
[2026-07-13 19:40:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691572480001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783951756000,"timestamp_ms":1783951756000,"timestamp_seconds":1783951756,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bcf8ae0"} 
[2026-07-13 19:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691572480001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691572480001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:40:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:40:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691572480001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":130587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:40:11] local.INFO: GPS data processed {"connection_id":130587,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:40:11] local.INFO: Acknowledgment sent {"connection_id":130587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:40:18] local.INFO: TCP Data received {"connection_id":131617,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bce0440012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bce0440012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:40:18] local.INFO: Processing buffer {"connection_id":131617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bce0440012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:40:18] local.INFO: Packet analysis {"connection_id":131617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bce"} 
[2026-07-13 19:40:18] local.INFO: Extracted packet for processing {"connection_id":131617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bce"} 
[2026-07-13 19:40:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 19:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691546880001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:40:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783951656000,"timestamp_ms":1783951656000,"timestamp_seconds":1783951656,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bce0440"} 
[2026-07-13 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-07-13 19:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-13 19:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 19:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691546880001,"66":24962,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691546880001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:40:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:40:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:40:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691546880001,"power":24962,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":131617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481753,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:40:18] local.INFO: GPS data processed {"connection_id":131617,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:40:18] local.INFO: Acknowledgment sent {"connection_id":131617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:40:29] local.INFO: TCP Data received {"connection_id":130588,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bcd44d8012d1b704007257aa00024001426..."} 
[2026-07-13 19:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bcd44d8012d1b704007257aa00024001426..."} 
[2026-07-13 19:40:29] local.INFO: Processing buffer {"connection_id":130588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bcd44d8012d1b704007257aa00024001426..."} 
[2026-07-13 19:40:29] local.INFO: Packet analysis {"connection_id":130588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bcd"} 
[2026-07-13 19:40:29] local.INFO: Extracted packet for processing {"connection_id":130588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bcd"} 
[2026-07-13 19:40:29] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691534336001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783951607000,"timestamp_ms":1783951607000,"timestamp_seconds":1783951607,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bcd44d8"} 
[2026-07-13 19:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:40:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691534336001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691534336001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:40:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:40:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691534336001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":130588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:40:30] local.INFO: GPS data processed {"connection_id":130588,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:40:30] local.INFO: Acknowledgment sent {"connection_id":130588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:40:34] local.INFO: TCP Data received {"connection_id":131618,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:40:34] local.INFO: Processing buffer {"connection_id":131618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:40:34] local.INFO: IMEI packet received {"connection_id":131618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":131618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:40:39] local.INFO: TCP Data received {"connection_id":131618,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:40:39] local.INFO: Processing buffer {"connection_id":131618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:40:39] local.INFO: IMEI packet received {"connection_id":131618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":131618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:40:40] local.INFO: TCP Data received {"connection_id":131618,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bcf8ae0012d7f914005afd938001b011b24..."} 
[2026-07-13 19:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bcf8ae0012d7f914005afd938001b011b24..."} 
[2026-07-13 19:40:40] local.INFO: Processing buffer {"connection_id":131618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bcf8ae0012d7f914005afd938001b011b24..."} 
[2026-07-13 19:40:40] local.INFO: Packet analysis {"connection_id":131618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bcf"} 
[2026-07-13 19:40:40] local.INFO: Extracted packet for processing {"connection_id":131618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bcf"} 
[2026-07-13 19:40:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691572480001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783951756000,"timestamp_ms":1783951756000,"timestamp_seconds":1783951756,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bcf8ae0"} 
[2026-07-13 19:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691572480001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691572480001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:40:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:40:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691572480001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":131618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:40:40] local.INFO: GPS data processed {"connection_id":131618,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:40:40] local.INFO: Acknowledgment sent {"connection_id":131618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:40:40] local.INFO: TCP Data received {"connection_id":130589,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130589,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:40:40] local.INFO: Processing buffer {"connection_id":130589,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:40:40] local.INFO: IMEI packet received {"connection_id":130589,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":130589,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:40:45] local.INFO: TCP Data received {"connection_id":130589,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130589,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:40:45] local.INFO: Processing buffer {"connection_id":130589,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:40:45] local.INFO: IMEI packet received {"connection_id":130589,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":130589,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:40:47] local.INFO: TCP Data received {"connection_id":130589,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bce0440012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bce0440012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:40:47] local.INFO: Processing buffer {"connection_id":130589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bce0440012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:40:47] local.INFO: Packet analysis {"connection_id":130589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bce"} 
[2026-07-13 19:40:47] local.INFO: Extracted packet for processing {"connection_id":130589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bce"} 
[2026-07-13 19:40:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691546880001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:40:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783951656000,"timestamp_ms":1783951656000,"timestamp_seconds":1783951656,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bce0440"} 
[2026-07-13 19:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-13 19:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130589,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130589,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691546880001,"66":24962,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691546880001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:40:47] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:40:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:40:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691546880001,"power":24962,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":130589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481756,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:40:47] local.INFO: GPS data processed {"connection_id":130589,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:40:47] local.INFO: Acknowledgment sent {"connection_id":130589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:40:52] local.INFO: TCP Data received {"connection_id":131619,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:40:52] local.INFO: Processing buffer {"connection_id":131619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:40:52] local.INFO: IMEI packet received {"connection_id":131619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":131619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:40:57] local.INFO: TCP Data received {"connection_id":131619,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:40:57] local.INFO: Processing buffer {"connection_id":131619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:40:57] local.INFO: IMEI packet received {"connection_id":131619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":131619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:40:58] local.INFO: TCP Data received {"connection_id":131619,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bcd44d8012d1b704007257aa00024001426..."} 
[2026-07-13 19:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bcd44d8012d1b704007257aa00024001426..."} 
[2026-07-13 19:40:58] local.INFO: Processing buffer {"connection_id":131619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bcd44d8012d1b704007257aa00024001426..."} 
[2026-07-13 19:40:58] local.INFO: Packet analysis {"connection_id":131619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bcd"} 
[2026-07-13 19:40:58] local.INFO: Extracted packet for processing {"connection_id":131619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bcd"} 
[2026-07-13 19:40:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691534336001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783951607000,"timestamp_ms":1783951607000,"timestamp_seconds":1783951607,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bcd44d8"} 
[2026-07-13 19:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691534336001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691534336001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:40:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:40:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691534336001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":131619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:40:58] local.INFO: GPS data processed {"connection_id":131619,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:40:58] local.INFO: Acknowledgment sent {"connection_id":131619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:41:11] local.INFO: TCP Data received {"connection_id":131618,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bcf8ae0012d7f914005afd938001b011b24..."} 
[2026-07-13 19:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bcf8ae0012d7f914005afd938001b011b24..."} 
[2026-07-13 19:41:11] local.INFO: Processing buffer {"connection_id":131618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bcf8ae0012d7f914005afd938001b011b24..."} 
[2026-07-13 19:41:11] local.INFO: Packet analysis {"connection_id":131618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bcf"} 
[2026-07-13 19:41:11] local.INFO: Extracted packet for processing {"connection_id":131618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bcf"} 
[2026-07-13 19:41:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691572480001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783951756000,"timestamp_ms":1783951756000,"timestamp_seconds":1783951756,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bcf8ae0"} 
[2026-07-13 19:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691572480001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691572480001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:41:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:41:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691572480001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":131618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:41:11] local.INFO: GPS data processed {"connection_id":131618,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:41:11] local.INFO: Acknowledgment sent {"connection_id":131618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:41:18] local.INFO: TCP Data received {"connection_id":130589,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bce0440012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bce0440012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:41:18] local.INFO: Processing buffer {"connection_id":130589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bce0440012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:41:18] local.INFO: Packet analysis {"connection_id":130589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bce"} 
[2026-07-13 19:41:18] local.INFO: Extracted packet for processing {"connection_id":130589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bce"} 
[2026-07-13 19:41:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 19:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691546880001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:41:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783951656000,"timestamp_ms":1783951656000,"timestamp_seconds":1783951656,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bce0440"} 
[2026-07-13 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-07-13 19:41:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-13 19:41:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 19:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130589,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130589,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:41:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691546880001,"66":24962,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691546880001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:41:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:41:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:41:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691546880001,"power":24962,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":130589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481759,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:41:18] local.INFO: GPS data processed {"connection_id":130589,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:41:18] local.INFO: Acknowledgment sent {"connection_id":130589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:41:29] local.INFO: TCP Data received {"connection_id":131619,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bcd44d8012d1b704007257aa00024001426..."} 
[2026-07-13 19:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bcd44d8012d1b704007257aa00024001426..."} 
[2026-07-13 19:41:29] local.INFO: Processing buffer {"connection_id":131619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bcd44d8012d1b704007257aa00024001426..."} 
[2026-07-13 19:41:29] local.INFO: Packet analysis {"connection_id":131619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bcd"} 
[2026-07-13 19:41:29] local.INFO: Extracted packet for processing {"connection_id":131619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bcd"} 
[2026-07-13 19:41:29] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691534336001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783951607000,"timestamp_ms":1783951607000,"timestamp_seconds":1783951607,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bcd44d8"} 
[2026-07-13 19:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:41:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":131619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":131619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":131619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691534336001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691534336001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:41:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:41:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691534336001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":131619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:41:29] local.INFO: GPS data processed {"connection_id":131619,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:41:29] local.INFO: Acknowledgment sent {"connection_id":131619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:41:39] local.INFO: TCP Data received {"connection_id":130811,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130811,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:41:39] local.INFO: Processing buffer {"connection_id":130811,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:41:39] local.INFO: IMEI packet received {"connection_id":130811,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":130811,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:41:44] local.INFO: TCP Data received {"connection_id":130590,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:41:44] local.INFO: Processing buffer {"connection_id":130590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:41:44] local.INFO: IMEI packet received {"connection_id":130590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":130590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:41:45] local.INFO: TCP Data received {"connection_id":130811,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130811,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:41:45] local.INFO: Processing buffer {"connection_id":130811,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:41:45] local.INFO: IMEI packet received {"connection_id":130811,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":130811,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:41:46] local.INFO: TCP Data received {"connection_id":130811,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bce0440012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bce0440012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:41:46] local.INFO: Processing buffer {"connection_id":130811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bce0440012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:41:46] local.INFO: Packet analysis {"connection_id":130811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bce"} 
[2026-07-13 19:41:46] local.INFO: Extracted packet for processing {"connection_id":130811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bce"} 
[2026-07-13 19:41:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691546880001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:41:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783951656000,"timestamp_ms":1783951656000,"timestamp_seconds":1783951656,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bce0440"} 
[2026-07-13 19:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-13 19:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691546880001,"66":24962,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691546880001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:41:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:41:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:41:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691546880001,"power":24962,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":130811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481761,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:41:46] local.INFO: GPS data processed {"connection_id":130811,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:41:46] local.INFO: Acknowledgment sent {"connection_id":130811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:41:48] local.INFO: TCP Data received {"connection_id":130590,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:41:48] local.INFO: Processing buffer {"connection_id":130590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:41:48] local.INFO: IMEI packet received {"connection_id":130590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":130590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:41:49] local.INFO: TCP Data received {"connection_id":130590,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bcf8ae0012d7f914005afd938001b011b24..."} 
[2026-07-13 19:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bcf8ae0012d7f914005afd938001b011b24..."} 
[2026-07-13 19:41:49] local.INFO: Processing buffer {"connection_id":130590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bcf8ae0012d7f914005afd938001b011b24..."} 
[2026-07-13 19:41:49] local.INFO: Packet analysis {"connection_id":130590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bcf"} 
[2026-07-13 19:41:49] local.INFO: Extracted packet for processing {"connection_id":130590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bcf"} 
[2026-07-13 19:41:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691572480001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783951756000,"timestamp_ms":1783951756000,"timestamp_seconds":1783951756,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bcf8ae0"} 
[2026-07-13 19:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691572480001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691572480001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:41:49] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:41:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691572480001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":130590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:41:49] local.INFO: GPS data processed {"connection_id":130590,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:41:49] local.INFO: Acknowledgment sent {"connection_id":130590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:41:52] local.INFO: TCP Data received {"connection_id":130812,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:41:52] local.INFO: Processing buffer {"connection_id":130812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:41:52] local.INFO: IMEI packet received {"connection_id":130812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":130812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:41:54] local.INFO: TCP Data received {"connection_id":130590,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bcf8ae0012d7f914005afd938001b011b24..."} 
[2026-07-13 19:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bcf8ae0012d7f914005afd938001b011b24..."} 
[2026-07-13 19:41:54] local.INFO: Processing buffer {"connection_id":130590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bcf8ae0012d7f914005afd938001b011b24..."} 
[2026-07-13 19:41:54] local.INFO: Packet analysis {"connection_id":130590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bcf"} 
[2026-07-13 19:41:54] local.INFO: Extracted packet for processing {"connection_id":130590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bcf"} 
[2026-07-13 19:41:54] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691572480001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783951756000,"timestamp_ms":1783951756000,"timestamp_seconds":1783951756,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bcf8ae0"} 
[2026-07-13 19:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691572480001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691572480001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:41:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:41:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691572480001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":130590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:41:54] local.INFO: GPS data processed {"connection_id":130590,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:41:54] local.INFO: Acknowledgment sent {"connection_id":130590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:41:57] local.INFO: TCP Data received {"connection_id":130812,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:41:57] local.INFO: Processing buffer {"connection_id":130812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:41:57] local.INFO: IMEI packet received {"connection_id":130812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":130812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:41:58] local.INFO: TCP Data received {"connection_id":130812,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bcd44d8012d1b704007257aa00024001426..."} 
[2026-07-13 19:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bcd44d8012d1b704007257aa00024001426..."} 
[2026-07-13 19:41:58] local.INFO: Processing buffer {"connection_id":130812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bcd44d8012d1b704007257aa00024001426..."} 
[2026-07-13 19:41:58] local.INFO: Packet analysis {"connection_id":130812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bcd"} 
[2026-07-13 19:41:58] local.INFO: Extracted packet for processing {"connection_id":130812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bcd"} 
[2026-07-13 19:41:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691534336001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:41:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783951607000,"timestamp_ms":1783951607000,"timestamp_seconds":1783951607,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bcd44d8"} 
[2026-07-13 19:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:41:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:41:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:41:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:41:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691534336001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691534336001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:41:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:41:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691534336001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":130812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:41:58] local.INFO: GPS data processed {"connection_id":130812,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:41:58] local.INFO: Acknowledgment sent {"connection_id":130812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:42:18] local.INFO: TCP Data received {"connection_id":130811,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bce0440012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bce0440012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:42:18] local.INFO: Processing buffer {"connection_id":130811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bce0440012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:42:18] local.INFO: Packet analysis {"connection_id":130811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bce"} 
[2026-07-13 19:42:18] local.INFO: Extracted packet for processing {"connection_id":130811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bce"} 
[2026-07-13 19:42:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 19:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691546880001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:42:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783951656000,"timestamp_ms":1783951656000,"timestamp_seconds":1783951656,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bce0440"} 
[2026-07-13 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-07-13 19:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-13 19:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 19:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691546880001,"66":24962,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691546880001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:42:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:42:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:42:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691546880001,"power":24962,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":130811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481765,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:42:18] local.INFO: GPS data processed {"connection_id":130811,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:42:18] local.INFO: Acknowledgment sent {"connection_id":130811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:42:29] local.INFO: TCP Data received {"connection_id":130812,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd1dca0012d1b704007257aa00024001423..."} 
[2026-07-13 19:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd1dca0012d1b704007257aa00024001423..."} 
[2026-07-13 19:42:29] local.INFO: Processing buffer {"connection_id":130812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd1dca0012d1b704007257aa00024001423..."} 
[2026-07-13 19:42:29] local.INFO: Packet analysis {"connection_id":130812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd1"} 
[2026-07-13 19:42:29] local.INFO: Extracted packet for processing {"connection_id":130812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd1"} 
[2026-07-13 19:42:29] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":35,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691611392001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:42:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:42:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783951908000,"timestamp_ms":1783951908000,"timestamp_seconds":1783951908,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd1dca0"} 
[2026-07-13 19:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:42:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:42:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:42:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:42:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691611392001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691611392001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:42:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:42:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:42:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691611392001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":130812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:42:29] local.INFO: GPS data processed {"connection_id":130812,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:42:29] local.INFO: Acknowledgment sent {"connection_id":130812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:42:34] local.INFO: TCP Data received {"connection_id":130591,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:42:34] local.INFO: Processing buffer {"connection_id":130591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:42:34] local.INFO: IMEI packet received {"connection_id":130591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":130591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:42:39] local.INFO: TCP Data received {"connection_id":130591,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:42:39] local.INFO: Processing buffer {"connection_id":130591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:42:39] local.INFO: IMEI packet received {"connection_id":130591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":130591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:42:39] local.INFO: TCP Data received {"connection_id":130592,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130592,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:42:39] local.INFO: Processing buffer {"connection_id":130592,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:42:39] local.INFO: IMEI packet received {"connection_id":130592,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":130592,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:42:40] local.INFO: TCP Data received {"connection_id":130591,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bcf8ae0012d7f914005afd938001b011b24..."} 
[2026-07-13 19:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bcf8ae0012d7f914005afd938001b011b24..."} 
[2026-07-13 19:42:40] local.INFO: Processing buffer {"connection_id":130591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bcf8ae0012d7f914005afd938001b011b24..."} 
[2026-07-13 19:42:40] local.INFO: Packet analysis {"connection_id":130591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bcf"} 
[2026-07-13 19:42:40] local.INFO: Extracted packet for processing {"connection_id":130591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bcf"} 
[2026-07-13 19:42:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691572480001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783951756000,"timestamp_ms":1783951756000,"timestamp_seconds":1783951756,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bcf8ae0"} 
[2026-07-13 19:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691572480001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691572480001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:42:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:42:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691572480001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":130591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:42:40] local.INFO: GPS data processed {"connection_id":130591,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:42:40] local.INFO: Acknowledgment sent {"connection_id":130591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:42:45] local.INFO: TCP Data received {"connection_id":130592,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130592,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:42:45] local.INFO: Processing buffer {"connection_id":130592,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:42:45] local.INFO: IMEI packet received {"connection_id":130592,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":130592,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:42:46] local.INFO: TCP Data received {"connection_id":130592,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bce0440012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bce0440012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:42:46] local.INFO: Processing buffer {"connection_id":130592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bce0440012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:42:46] local.INFO: Packet analysis {"connection_id":130592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bce"} 
[2026-07-13 19:42:46] local.INFO: Extracted packet for processing {"connection_id":130592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bce"} 
[2026-07-13 19:42:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691546880001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:42:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783951656000,"timestamp_ms":1783951656000,"timestamp_seconds":1783951656,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bce0440"} 
[2026-07-13 19:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-13 19:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130592,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130592,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691546880001,"66":24962,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691546880001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:42:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:42:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:42:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691546880001,"power":24962,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":130592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481768,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:42:46] local.INFO: GPS data processed {"connection_id":130592,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:42:46] local.INFO: Acknowledgment sent {"connection_id":130592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:42:46] local.INFO: TCP Data received {"connection_id":130591,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bcf8ae0012d7f914005afd938001b011b24..."} 
[2026-07-13 19:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bcf8ae0012d7f914005afd938001b011b24..."} 
[2026-07-13 19:42:46] local.INFO: Processing buffer {"connection_id":130591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bcf8ae0012d7f914005afd938001b011b24..."} 
[2026-07-13 19:42:46] local.INFO: Packet analysis {"connection_id":130591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bcf"} 
[2026-07-13 19:42:46] local.INFO: Extracted packet for processing {"connection_id":130591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bcf"} 
[2026-07-13 19:42:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691572480001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783951756000,"timestamp_ms":1783951756000,"timestamp_seconds":1783951756,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bcf8ae0"} 
[2026-07-13 19:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691572480001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691572480001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:42:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:42:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691572480001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":130591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:42:46] local.INFO: GPS data processed {"connection_id":130591,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:42:46] local.INFO: Acknowledgment sent {"connection_id":130591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:42:57] local.INFO: TCP Data received {"connection_id":132951,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:42:57] local.INFO: Processing buffer {"connection_id":132951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:42:57] local.INFO: IMEI packet received {"connection_id":132951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":132951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:43:02] local.INFO: TCP Data received {"connection_id":132951,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:43:02] local.INFO: Processing buffer {"connection_id":132951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:43:02] local.INFO: IMEI packet received {"connection_id":132951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":132951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:43:03] local.INFO: TCP Data received {"connection_id":132951,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd1dca0012d1b704007257aa00024001423..."} 
[2026-07-13 19:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd1dca0012d1b704007257aa00024001423..."} 
[2026-07-13 19:43:03] local.INFO: Processing buffer {"connection_id":132951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd1dca0012d1b704007257aa00024001423..."} 
[2026-07-13 19:43:03] local.INFO: Packet analysis {"connection_id":132951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd1"} 
[2026-07-13 19:43:03] local.INFO: Extracted packet for processing {"connection_id":132951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd1"} 
[2026-07-13 19:43:03] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":35,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691611392001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783951908000,"timestamp_ms":1783951908000,"timestamp_seconds":1783951908,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd1dca0"} 
[2026-07-13 19:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":132951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":132951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":132951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691611392001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691611392001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:43:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:43:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691611392001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":132951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:43:03] local.INFO: GPS data processed {"connection_id":132951,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:43:03] local.INFO: Acknowledgment sent {"connection_id":132951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:43:07] local.INFO: TCP Data received {"connection_id":132951,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd1dca0012d1b704007257aa00024001423..."} 
[2026-07-13 19:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd1dca0012d1b704007257aa00024001423..."} 
[2026-07-13 19:43:07] local.INFO: Processing buffer {"connection_id":132951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd1dca0012d1b704007257aa00024001423..."} 
[2026-07-13 19:43:07] local.INFO: Packet analysis {"connection_id":132951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd1"} 
[2026-07-13 19:43:07] local.INFO: Extracted packet for processing {"connection_id":132951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd1"} 
[2026-07-13 19:43:07] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":35,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691611392001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783951908000,"timestamp_ms":1783951908000,"timestamp_seconds":1783951908,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd1dca0"} 
[2026-07-13 19:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691611392001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691611392001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:43:07] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:43:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691611392001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":132951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:43:07] local.INFO: GPS data processed {"connection_id":132951,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:43:07] local.INFO: Acknowledgment sent {"connection_id":132951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:43:17] local.INFO: TCP Data received {"connection_id":130592,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd29c08012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd29c08012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:43:17] local.INFO: Processing buffer {"connection_id":130592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd29c08012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:43:17] local.INFO: Packet analysis {"connection_id":130592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd2"} 
[2026-07-13 19:43:17] local.INFO: Extracted packet for processing {"connection_id":130592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd2"} 
[2026-07-13 19:43:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691623936001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:43:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783951957000,"timestamp_ms":1783951957000,"timestamp_seconds":1783951957,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd29c08"} 
[2026-07-13 19:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:43: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-07-13 19: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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-13 19:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130592,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130592,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691623936001,"66":24897,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691623936001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:43:17] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:43:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:43:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691623936001,"power":24897,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":130592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481772,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:43:17] local.INFO: GPS data processed {"connection_id":130592,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:43:17] local.INFO: Acknowledgment sent {"connection_id":130592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:43:33] local.INFO: TCP Data received {"connection_id":131620,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:43:33] local.INFO: Processing buffer {"connection_id":131620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:43:33] local.INFO: IMEI packet received {"connection_id":131620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":131620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:43:40] local.INFO: TCP Data received {"connection_id":131621,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:43:40] local.INFO: Processing buffer {"connection_id":131621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:43:40] local.INFO: IMEI packet received {"connection_id":131621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":131621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:43:40] local.INFO: TCP Data received {"connection_id":131620,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:43:40] local.INFO: Processing buffer {"connection_id":131620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:43:40] local.INFO: IMEI packet received {"connection_id":131620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":131620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:43:45] local.INFO: TCP Data received {"connection_id":131621,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:43:45] local.INFO: Processing buffer {"connection_id":131621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:43:45] local.INFO: IMEI packet received {"connection_id":131621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":131621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:43:45] local.INFO: TCP Data received {"connection_id":131620,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:43:45] local.INFO: Processing buffer {"connection_id":131620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:43:45] local.INFO: IMEI packet received {"connection_id":131620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":131620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:43:46] local.INFO: TCP Data received {"connection_id":131621,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd29c08012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd29c08012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:43:46] local.INFO: Processing buffer {"connection_id":131621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd29c08012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:43:46] local.INFO: Packet analysis {"connection_id":131621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd2"} 
[2026-07-13 19:43:46] local.INFO: Extracted packet for processing {"connection_id":131621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd2"} 
[2026-07-13 19:43:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691623936001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:43:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783951957000,"timestamp_ms":1783951957000,"timestamp_seconds":1783951957,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd29c08"} 
[2026-07-13 19:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-13 19:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131621,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131621,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691623936001,"66":24897,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691623936001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:43:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:43:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:43:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691623936001,"power":24897,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":131621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481773,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:43:46] local.INFO: GPS data processed {"connection_id":131621,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:43:46] local.INFO: Acknowledgment sent {"connection_id":131621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:43:46] local.INFO: TCP Data received {"connection_id":131620,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bcf8ae0012d7f914005afd938001b011b24..."} 
[2026-07-13 19:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bcf8ae0012d7f914005afd938001b011b24..."} 
[2026-07-13 19:43:46] local.INFO: Processing buffer {"connection_id":131620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bcf8ae0012d7f914005afd938001b011b24..."} 
[2026-07-13 19:43:46] local.INFO: Packet analysis {"connection_id":131620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bcf"} 
[2026-07-13 19:43:46] local.INFO: Extracted packet for processing {"connection_id":131620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bcf"} 
[2026-07-13 19:43:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691572480001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783951756000,"timestamp_ms":1783951756000,"timestamp_seconds":1783951756,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bcf8ae0"} 
[2026-07-13 19:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691572480001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691572480001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:43:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:43:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691572480001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":131620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:43:46] local.INFO: GPS data processed {"connection_id":131620,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:43:46] local.INFO: Acknowledgment sent {"connection_id":131620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:43:49] local.INFO: TCP Data received {"connection_id":131620,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bcf8ae0012d7f914005afd938001b011b24..."} 
[2026-07-13 19:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bcf8ae0012d7f914005afd938001b011b24..."} 
[2026-07-13 19:43:49] local.INFO: Processing buffer {"connection_id":131620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bcf8ae0012d7f914005afd938001b011b24..."} 
[2026-07-13 19:43:49] local.INFO: Packet analysis {"connection_id":131620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bcf"} 
[2026-07-13 19:43:49] local.INFO: Extracted packet for processing {"connection_id":131620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bcf"} 
[2026-07-13 19:43:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 19:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691572480001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783951756000,"timestamp_ms":1783951756000,"timestamp_seconds":1783951756,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bcf8ae0"} 
[2026-07-13 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-07-13 19:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 19:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:43: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-07-13 19:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691572480001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691572480001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:43:49] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:43:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691572480001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":131620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:43:49] local.INFO: GPS data processed {"connection_id":131620,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:43:49] local.INFO: Acknowledgment sent {"connection_id":131620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:43:52] local.INFO: TCP Data received {"connection_id":130813,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:43:52] local.INFO: Processing buffer {"connection_id":130813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:43:52] local.INFO: IMEI packet received {"connection_id":130813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":130813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:43:57] local.INFO: TCP Data received {"connection_id":130813,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:43:57] local.INFO: Processing buffer {"connection_id":130813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:43:57] local.INFO: IMEI packet received {"connection_id":130813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":130813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:43:58] local.INFO: TCP Data received {"connection_id":130813,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd1dca0012d1b704007257aa00024001423..."} 
[2026-07-13 19:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd1dca0012d1b704007257aa00024001423..."} 
[2026-07-13 19:43:58] local.INFO: Processing buffer {"connection_id":130813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd1dca0012d1b704007257aa00024001423..."} 
[2026-07-13 19:43:58] local.INFO: Packet analysis {"connection_id":130813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd1"} 
[2026-07-13 19:43:58] local.INFO: Extracted packet for processing {"connection_id":130813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd1"} 
[2026-07-13 19:43:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":35,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691611392001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783951908000,"timestamp_ms":1783951908000,"timestamp_seconds":1783951908,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd1dca0"} 
[2026-07-13 19:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691611392001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691611392001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:43:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:43:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691611392001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":130813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:43:58] local.INFO: GPS data processed {"connection_id":130813,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:43:58] local.INFO: Acknowledgment sent {"connection_id":130813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:44:18] local.INFO: TCP Data received {"connection_id":131621,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd29c08012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd29c08012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:44:18] local.INFO: Processing buffer {"connection_id":131621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd29c08012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:44:18] local.INFO: Packet analysis {"connection_id":131621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd2"} 
[2026-07-13 19:44:18] local.INFO: Extracted packet for processing {"connection_id":131621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd2"} 
[2026-07-13 19:44:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691623936001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:44:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783951957000,"timestamp_ms":1783951957000,"timestamp_seconds":1783951957,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd29c08"} 
[2026-07-13 19:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-13 19:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131621,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131621,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691623936001,"66":24897,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691623936001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:44:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:44:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:44:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691623936001,"power":24897,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":131621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481777,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:44:18] local.INFO: GPS data processed {"connection_id":131621,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:44:18] local.INFO: Acknowledgment sent {"connection_id":131621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:44:29] local.INFO: TCP Data received {"connection_id":130813,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd1dca0012d1b704007257aa00024001423..."} 
[2026-07-13 19:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd1dca0012d1b704007257aa00024001423..."} 
[2026-07-13 19:44:29] local.INFO: Processing buffer {"connection_id":130813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd1dca0012d1b704007257aa00024001423..."} 
[2026-07-13 19:44:29] local.INFO: Packet analysis {"connection_id":130813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd1"} 
[2026-07-13 19:44:29] local.INFO: Extracted packet for processing {"connection_id":130813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd1"} 
[2026-07-13 19:44:29] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":35,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691611392001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783951908000,"timestamp_ms":1783951908000,"timestamp_seconds":1783951908,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd1dca0"} 
[2026-07-13 19:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:44:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:44:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691611392001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691611392001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:44:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:44:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691611392001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":130813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:44:29] local.INFO: GPS data processed {"connection_id":130813,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:44:29] local.INFO: Acknowledgment sent {"connection_id":130813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:44:34] local.INFO: TCP Data received {"connection_id":130593,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:44:34] local.INFO: Processing buffer {"connection_id":130593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:44:34] local.INFO: IMEI packet received {"connection_id":130593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":130593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:44:39] local.INFO: TCP Data received {"connection_id":130593,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:44:39] local.INFO: Processing buffer {"connection_id":130593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:44:39] local.INFO: IMEI packet received {"connection_id":130593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":130593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:44:39] local.INFO: TCP Data received {"connection_id":130594,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130594,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:44:39] local.INFO: Processing buffer {"connection_id":130594,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:44:39] local.INFO: IMEI packet received {"connection_id":130594,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":130594,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:44:40] local.INFO: TCP Data received {"connection_id":130593,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bcf8ae0012d7f914005afd938001b011b24..."} 
[2026-07-13 19:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bcf8ae0012d7f914005afd938001b011b24..."} 
[2026-07-13 19:44:40] local.INFO: Processing buffer {"connection_id":130593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bcf8ae0012d7f914005afd938001b011b24..."} 
[2026-07-13 19:44:40] local.INFO: Packet analysis {"connection_id":130593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bcf"} 
[2026-07-13 19:44:40] local.INFO: Extracted packet for processing {"connection_id":130593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bcf"} 
[2026-07-13 19:44:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691572480001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783951756000,"timestamp_ms":1783951756000,"timestamp_seconds":1783951756,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bcf8ae0"} 
[2026-07-13 19:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691572480001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691572480001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:44:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:44:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691572480001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":130593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:44:40] local.INFO: GPS data processed {"connection_id":130593,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:44:40] local.INFO: Acknowledgment sent {"connection_id":130593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:44:44] local.INFO: TCP Data received {"connection_id":130594,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130594,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:44:45] local.INFO: Processing buffer {"connection_id":130594,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:44:45] local.INFO: IMEI packet received {"connection_id":130594,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":130594,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:44:47] local.INFO: TCP Data received {"connection_id":130594,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd29c08012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd29c08012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:44:47] local.INFO: Processing buffer {"connection_id":130594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd29c08012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:44:47] local.INFO: Packet analysis {"connection_id":130594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd2"} 
[2026-07-13 19:44:47] local.INFO: Extracted packet for processing {"connection_id":130594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd2"} 
[2026-07-13 19:44:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691623936001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:44:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783951957000,"timestamp_ms":1783951957000,"timestamp_seconds":1783951957,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd29c08"} 
[2026-07-13 19:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-13 19:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130594,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130594,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691623936001,"66":24897,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691623936001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:44:47] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:44:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:44:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691623936001,"power":24897,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":130594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481780,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:44:47] local.INFO: GPS data processed {"connection_id":130594,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:44:47] local.INFO: Acknowledgment sent {"connection_id":130594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:44:52] local.INFO: TCP Data received {"connection_id":131622,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:44:52] local.INFO: Processing buffer {"connection_id":131622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:44:52] local.INFO: IMEI packet received {"connection_id":131622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":131622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:44:58] local.INFO: TCP Data received {"connection_id":131622,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:44:58] local.INFO: Processing buffer {"connection_id":131622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:44:58] local.INFO: IMEI packet received {"connection_id":131622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":131622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:44:58] local.INFO: TCP Data received {"connection_id":131622,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd1dca0012d1b704007257aa00024001423..."} 
[2026-07-13 19:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd1dca0012d1b704007257aa00024001423..."} 
[2026-07-13 19:44:58] local.INFO: Processing buffer {"connection_id":131622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd1dca0012d1b704007257aa00024001423..."} 
[2026-07-13 19:44:58] local.INFO: Packet analysis {"connection_id":131622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd1"} 
[2026-07-13 19:44:58] local.INFO: Extracted packet for processing {"connection_id":131622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd1"} 
[2026-07-13 19:44:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":35,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691611392001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783951908000,"timestamp_ms":1783951908000,"timestamp_seconds":1783951908,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd1dca0"} 
[2026-07-13 19:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:44:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:44:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691611392001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691611392001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:44:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:44:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691611392001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":131622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:44:58] local.INFO: GPS data processed {"connection_id":131622,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:44:58] local.INFO: Acknowledgment sent {"connection_id":131622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:45:12] local.INFO: TCP Data received {"connection_id":130593,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd422a8012d7f914005afd938001b011b24..."} 
[2026-07-13 19:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd422a8012d7f914005afd938001b011b24..."} 
[2026-07-13 19:45:12] local.INFO: Processing buffer {"connection_id":130593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd422a8012d7f914005afd938001b011b24..."} 
[2026-07-13 19:45:12] local.INFO: Packet analysis {"connection_id":130593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd4"} 
[2026-07-13 19:45:12] local.INFO: Extracted packet for processing {"connection_id":130593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd4"} 
[2026-07-13 19:45:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691649536001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783952057000,"timestamp_ms":1783952057000,"timestamp_seconds":1783952057,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd422a8"} 
[2026-07-13 19:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691649536001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691649536001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:45:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:45:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691649536001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":130593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:45:12] local.INFO: GPS data processed {"connection_id":130593,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:45:12] local.INFO: Acknowledgment sent {"connection_id":130593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:45:18] local.INFO: TCP Data received {"connection_id":130594,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd29c08012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd29c08012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:45:18] local.INFO: Processing buffer {"connection_id":130594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd29c08012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:45:18] local.INFO: Packet analysis {"connection_id":130594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd2"} 
[2026-07-13 19:45:18] local.INFO: Extracted packet for processing {"connection_id":130594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd2"} 
[2026-07-13 19:45:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 19:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691623936001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:45:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783951957000,"timestamp_ms":1783951957000,"timestamp_seconds":1783951957,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd29c08"} 
[2026-07-13 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-07-13 19:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-13 19:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 19:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130594,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130594,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691623936001,"66":24897,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691623936001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:45:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:45:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:45:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691623936001,"power":24897,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":130594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481783,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:45:18] local.INFO: GPS data processed {"connection_id":130594,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:45:18] local.INFO: Acknowledgment sent {"connection_id":130594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:45:29] local.INFO: TCP Data received {"connection_id":131622,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd1dca0012d1b704007257aa00024001423..."} 
[2026-07-13 19:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd1dca0012d1b704007257aa00024001423..."} 
[2026-07-13 19:45:29] local.INFO: Processing buffer {"connection_id":131622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd1dca0012d1b704007257aa00024001423..."} 
[2026-07-13 19:45:29] local.INFO: Packet analysis {"connection_id":131622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd1"} 
[2026-07-13 19:45:29] local.INFO: Extracted packet for processing {"connection_id":131622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd1"} 
[2026-07-13 19:45:29] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":35,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691611392001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783951908000,"timestamp_ms":1783951908000,"timestamp_seconds":1783951908,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd1dca0"} 
[2026-07-13 19:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:45:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":131622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":131622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":131622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691611392001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691611392001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:45:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:45:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691611392001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":131622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:45:29] local.INFO: GPS data processed {"connection_id":131622,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:45:29] local.INFO: Acknowledgment sent {"connection_id":131622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:45:33] local.INFO: TCP Data received {"connection_id":132952,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:45:33] local.INFO: Processing buffer {"connection_id":132952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:45:33] local.INFO: IMEI packet received {"connection_id":132952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":132952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:45:39] local.INFO: TCP Data received {"connection_id":132952,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:45:39] local.INFO: Processing buffer {"connection_id":132952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:45:39] local.INFO: IMEI packet received {"connection_id":132952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":132952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:45:39] local.INFO: TCP Data received {"connection_id":131623,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131623,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:45:39] local.INFO: Processing buffer {"connection_id":131623,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:45:39] local.INFO: IMEI packet received {"connection_id":131623,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":131623,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:45:40] local.INFO: TCP Data received {"connection_id":132952,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd422a8012d7f914005afd938001b011b24..."} 
[2026-07-13 19:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd422a8012d7f914005afd938001b011b24..."} 
[2026-07-13 19:45:40] local.INFO: Processing buffer {"connection_id":132952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd422a8012d7f914005afd938001b011b24..."} 
[2026-07-13 19:45:40] local.INFO: Packet analysis {"connection_id":132952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd4"} 
[2026-07-13 19:45:40] local.INFO: Extracted packet for processing {"connection_id":132952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd4"} 
[2026-07-13 19:45:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691649536001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783952057000,"timestamp_ms":1783952057000,"timestamp_seconds":1783952057,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd422a8"} 
[2026-07-13 19:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691649536001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691649536001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:45:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:45:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691649536001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":132952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:45:40] local.INFO: GPS data processed {"connection_id":132952,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:45:40] local.INFO: Acknowledgment sent {"connection_id":132952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:45:44] local.INFO: TCP Data received {"connection_id":131623,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131623,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:45:44] local.INFO: Processing buffer {"connection_id":131623,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:45:44] local.INFO: IMEI packet received {"connection_id":131623,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":131623,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:45:45] local.INFO: TCP Data received {"connection_id":131623,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd29c08012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd29c08012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:45:45] local.INFO: Processing buffer {"connection_id":131623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd29c08012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:45:45] local.INFO: Packet analysis {"connection_id":131623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd2"} 
[2026-07-13 19:45:45] local.INFO: Extracted packet for processing {"connection_id":131623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd2"} 
[2026-07-13 19:45:45] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691623936001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:45:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783951957000,"timestamp_ms":1783951957000,"timestamp_seconds":1783951957,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd29c08"} 
[2026-07-13 19:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-13 19:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131623,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131623,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691623936001,"66":24897,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691623936001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:45:45] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:45:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:45:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691623936001,"power":24897,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":131623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481786,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:45:45] local.INFO: GPS data processed {"connection_id":131623,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:45:45] local.INFO: Acknowledgment sent {"connection_id":131623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:45:52] local.INFO: TCP Data received {"connection_id":130814,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:45:52] local.INFO: Processing buffer {"connection_id":130814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:45:52] local.INFO: IMEI packet received {"connection_id":130814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":130814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:45:57] local.INFO: TCP Data received {"connection_id":130814,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:45:57] local.INFO: Processing buffer {"connection_id":130814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:45:57] local.INFO: IMEI packet received {"connection_id":130814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":130814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:45:58] local.INFO: TCP Data received {"connection_id":130814,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd1dca0012d1b704007257aa00024001423..."} 
[2026-07-13 19:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd1dca0012d1b704007257aa00024001423..."} 
[2026-07-13 19:45:58] local.INFO: Processing buffer {"connection_id":130814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd1dca0012d1b704007257aa00024001423..."} 
[2026-07-13 19:45:58] local.INFO: Packet analysis {"connection_id":130814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd1"} 
[2026-07-13 19:45:58] local.INFO: Extracted packet for processing {"connection_id":130814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd1"} 
[2026-07-13 19:45:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":35,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691611392001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783951908000,"timestamp_ms":1783951908000,"timestamp_seconds":1783951908,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd1dca0"} 
[2026-07-13 19:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691611392001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691611392001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:45:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:45:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691611392001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":130814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:45:58] local.INFO: GPS data processed {"connection_id":130814,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:45:58] local.INFO: Acknowledgment sent {"connection_id":130814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:46:11] local.INFO: TCP Data received {"connection_id":132952,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd422a8012d7f914005afd938001b011b24..."} 
[2026-07-13 19:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd422a8012d7f914005afd938001b011b24..."} 
[2026-07-13 19:46:11] local.INFO: Processing buffer {"connection_id":132952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd422a8012d7f914005afd938001b011b24..."} 
[2026-07-13 19:46:11] local.INFO: Packet analysis {"connection_id":132952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd4"} 
[2026-07-13 19:46:11] local.INFO: Extracted packet for processing {"connection_id":132952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd4"} 
[2026-07-13 19:46:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691649536001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783952057000,"timestamp_ms":1783952057000,"timestamp_seconds":1783952057,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd422a8"} 
[2026-07-13 19:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691649536001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691649536001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:46:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:46:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691649536001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":132952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:46:11] local.INFO: GPS data processed {"connection_id":132952,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:46:11] local.INFO: Acknowledgment sent {"connection_id":132952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:46:17] local.INFO: TCP Data received {"connection_id":131623,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd29c08012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd29c08012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:46:17] local.INFO: Processing buffer {"connection_id":131623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd29c08012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:46:17] local.INFO: Packet analysis {"connection_id":131623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd2"} 
[2026-07-13 19:46:17] local.INFO: Extracted packet for processing {"connection_id":131623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd2"} 
[2026-07-13 19:46:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 19:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691623936001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:46:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783951957000,"timestamp_ms":1783951957000,"timestamp_seconds":1783951957,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd29c08"} 
[2026-07-13 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-07-13 19:46: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-07-13 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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-13 19:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 19:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131623,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131623,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691623936001,"66":24897,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691623936001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:46:17] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:46:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:46:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691623936001,"power":24897,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":131623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481789,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:46:17] local.INFO: GPS data processed {"connection_id":131623,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:46:17] local.INFO: Acknowledgment sent {"connection_id":131623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:46:30] local.INFO: TCP Data received {"connection_id":130814,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd1dca0012d1b704007257aa00024001423..."} 
[2026-07-13 19:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd1dca0012d1b704007257aa00024001423..."} 
[2026-07-13 19:46:30] local.INFO: Processing buffer {"connection_id":130814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd1dca0012d1b704007257aa00024001423..."} 
[2026-07-13 19:46:30] local.INFO: Packet analysis {"connection_id":130814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd1"} 
[2026-07-13 19:46:30] local.INFO: Extracted packet for processing {"connection_id":130814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd1"} 
[2026-07-13 19:46:30] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":35,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691611392001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783951908000,"timestamp_ms":1783951908000,"timestamp_seconds":1783951908,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd1dca0"} 
[2026-07-13 19:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":130814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":130814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":130814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691611392001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691611392001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:46:30] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:46:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691611392001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":130814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:46:30] local.INFO: GPS data processed {"connection_id":130814,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:46:30] local.INFO: Acknowledgment sent {"connection_id":130814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:46:39] local.INFO: TCP Data received {"connection_id":131624,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:46:39] local.INFO: Processing buffer {"connection_id":131624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:46:39] local.INFO: IMEI packet received {"connection_id":131624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":131624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:46:44] local.INFO: TCP Data received {"connection_id":131624,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:46:44] local.INFO: Processing buffer {"connection_id":131624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:46:44] local.INFO: IMEI packet received {"connection_id":131624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":131624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:46:44] local.INFO: TCP Data received {"connection_id":132953,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:46:45] local.INFO: Processing buffer {"connection_id":132953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:46:45] local.INFO: IMEI packet received {"connection_id":132953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":132953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:46:45] local.INFO: TCP Data received {"connection_id":131624,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd422a8012d7f914005afd938001b011b24..."} 
[2026-07-13 19:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd422a8012d7f914005afd938001b011b24..."} 
[2026-07-13 19:46:45] local.INFO: Processing buffer {"connection_id":131624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd422a8012d7f914005afd938001b011b24..."} 
[2026-07-13 19:46:45] local.INFO: Packet analysis {"connection_id":131624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd4"} 
[2026-07-13 19:46:45] local.INFO: Extracted packet for processing {"connection_id":131624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd4"} 
[2026-07-13 19:46:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691649536001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783952057000,"timestamp_ms":1783952057000,"timestamp_seconds":1783952057,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd422a8"} 
[2026-07-13 19:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691649536001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691649536001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:46:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:46:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691649536001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":131624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:46:45] local.INFO: GPS data processed {"connection_id":131624,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:46:45] local.INFO: Acknowledgment sent {"connection_id":131624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:46:49] local.INFO: TCP Data received {"connection_id":131624,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd422a8012d7f914005afd938001b011b24..."} 
[2026-07-13 19:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd422a8012d7f914005afd938001b011b24..."} 
[2026-07-13 19:46:49] local.INFO: Processing buffer {"connection_id":131624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd422a8012d7f914005afd938001b011b24..."} 
[2026-07-13 19:46:49] local.INFO: Packet analysis {"connection_id":131624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd4"} 
[2026-07-13 19:46:49] local.INFO: Extracted packet for processing {"connection_id":131624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd4"} 
[2026-07-13 19:46:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 19:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691649536001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783952057000,"timestamp_ms":1783952057000,"timestamp_seconds":1783952057,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd422a8"} 
[2026-07-13 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-07-13 19:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 19:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691649536001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691649536001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:46:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:46:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691649536001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":131624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:46:49] local.INFO: GPS data processed {"connection_id":131624,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:46:49] local.INFO: Acknowledgment sent {"connection_id":131624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:46:49] local.INFO: TCP Data received {"connection_id":132953,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:46:50] local.INFO: Processing buffer {"connection_id":132953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:46:50] local.INFO: IMEI packet received {"connection_id":132953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":132953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:46:51] local.INFO: TCP Data received {"connection_id":132953,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd29c08012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd29c08012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:46:51] local.INFO: Processing buffer {"connection_id":132953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd29c08012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:46:51] local.INFO: Packet analysis {"connection_id":132953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd2"} 
[2026-07-13 19:46:51] local.INFO: Extracted packet for processing {"connection_id":132953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd2"} 
[2026-07-13 19:46:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691623936001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:46:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783951957000,"timestamp_ms":1783951957000,"timestamp_seconds":1783951957,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd29c08"} 
[2026-07-13 19:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-13 19:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691623936001,"66":24897,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691623936001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:46:51] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:46:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:46:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691623936001,"power":24897,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":132953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481793,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:46:51] local.INFO: GPS data processed {"connection_id":132953,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:46:51] local.INFO: Acknowledgment sent {"connection_id":132953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:46:52] local.INFO: TCP Data received {"connection_id":132954,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:46:52] local.INFO: Processing buffer {"connection_id":132954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:46:52] local.INFO: IMEI packet received {"connection_id":132954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":132954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:46:55] local.INFO: TCP Data received {"connection_id":132953,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd29c08012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd29c08012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:46:55] local.INFO: Processing buffer {"connection_id":132953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd29c08012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:46:55] local.INFO: Packet analysis {"connection_id":132953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd2"} 
[2026-07-13 19:46:55] local.INFO: Extracted packet for processing {"connection_id":132953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd2"} 
[2026-07-13 19:46:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691623936001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:46:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783951957000,"timestamp_ms":1783951957000,"timestamp_seconds":1783951957,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd29c08"} 
[2026-07-13 19:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-13 19:46:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:46:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":132953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":132953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":132953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691623936001,"66":24897,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691623936001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:46:55] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:46:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:46:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691623936001,"power":24897,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":132953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481794,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:46:55] local.INFO: GPS data processed {"connection_id":132953,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:46:55] local.INFO: Acknowledgment sent {"connection_id":132953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:46:57] local.INFO: TCP Data received {"connection_id":132954,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:46:57] local.INFO: Processing buffer {"connection_id":132954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:46:57] local.INFO: IMEI packet received {"connection_id":132954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":132954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:46:58] local.INFO: TCP Data received {"connection_id":132954,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd1dca0012d1b704007257aa00024001423..."} 
[2026-07-13 19:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd1dca0012d1b704007257aa00024001423..."} 
[2026-07-13 19:46:58] local.INFO: Processing buffer {"connection_id":132954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd1dca0012d1b704007257aa00024001423..."} 
[2026-07-13 19:46:58] local.INFO: Packet analysis {"connection_id":132954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd1"} 
[2026-07-13 19:46:58] local.INFO: Extracted packet for processing {"connection_id":132954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd1"} 
[2026-07-13 19:46:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":35,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691611392001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783951908000,"timestamp_ms":1783951908000,"timestamp_seconds":1783951908,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd1dca0"} 
[2026-07-13 19:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:46:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691611392001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691611392001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:46:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:46:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691611392001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":132954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:46:58] local.INFO: GPS data processed {"connection_id":132954,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:46:58] local.INFO: Acknowledgment sent {"connection_id":132954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:47:29] local.INFO: TCP Data received {"connection_id":132954,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd67468012d1b704007257aa00024001425..."} 
[2026-07-13 19:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd67468012d1b704007257aa00024001425..."} 
[2026-07-13 19:47:29] local.INFO: Processing buffer {"connection_id":132954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd67468012d1b704007257aa00024001425..."} 
[2026-07-13 19:47:29] local.INFO: Packet analysis {"connection_id":132954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd6"} 
[2026-07-13 19:47:29] local.INFO: Extracted packet for processing {"connection_id":132954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd6"} 
[2026-07-13 19:47:29] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":37,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691688448001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783952209000,"timestamp_ms":1783952209000,"timestamp_seconds":1783952209,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd67468"} 
[2026-07-13 19:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691688448001,"66":2144,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691688448001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:47:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:47:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691688448001,"power":2144,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":132954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:47:29] local.INFO: GPS data processed {"connection_id":132954,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:47:29] local.INFO: Acknowledgment sent {"connection_id":132954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:47:33] local.INFO: TCP Data received {"connection_id":131625,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:47:33] local.INFO: Processing buffer {"connection_id":131625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:47:33] local.INFO: IMEI packet received {"connection_id":131625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":131625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:47:39] local.INFO: TCP Data received {"connection_id":131625,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:47:39] local.INFO: Processing buffer {"connection_id":131625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:47:39] local.INFO: IMEI packet received {"connection_id":131625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":131625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:47:39] local.INFO: TCP Data received {"connection_id":131626,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131626,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:47:39] local.INFO: Processing buffer {"connection_id":131626,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:47:39] local.INFO: IMEI packet received {"connection_id":131626,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":131626,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:47:40] local.INFO: TCP Data received {"connection_id":131625,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd422a8012d7f914005afd938001b011b24..."} 
[2026-07-13 19:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd422a8012d7f914005afd938001b011b24..."} 
[2026-07-13 19:47:40] local.INFO: Processing buffer {"connection_id":131625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd422a8012d7f914005afd938001b011b24..."} 
[2026-07-13 19:47:40] local.INFO: Packet analysis {"connection_id":131625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd4"} 
[2026-07-13 19:47:40] local.INFO: Extracted packet for processing {"connection_id":131625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd4"} 
[2026-07-13 19:47:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691649536001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783952057000,"timestamp_ms":1783952057000,"timestamp_seconds":1783952057,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd422a8"} 
[2026-07-13 19:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691649536001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691649536001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:47:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:47:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691649536001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":131625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:47:40] local.INFO: GPS data processed {"connection_id":131625,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:47:40] local.INFO: Acknowledgment sent {"connection_id":131625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:47:45] local.INFO: TCP Data received {"connection_id":131626,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131626,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:47:45] local.INFO: Processing buffer {"connection_id":131626,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:47:45] local.INFO: IMEI packet received {"connection_id":131626,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":131626,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:47:46] local.INFO: TCP Data received {"connection_id":131626,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd29c08012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd29c08012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:47:46] local.INFO: Processing buffer {"connection_id":131626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd29c08012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:47:46] local.INFO: Packet analysis {"connection_id":131626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd2"} 
[2026-07-13 19:47:46] local.INFO: Extracted packet for processing {"connection_id":131626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd2"} 
[2026-07-13 19:47:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691623936001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:47:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783951957000,"timestamp_ms":1783951957000,"timestamp_seconds":1783951957,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd29c08"} 
[2026-07-13 19:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-13 19:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131626,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131626,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691623936001,"66":24897,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691623936001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:47:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:47:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:47:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691623936001,"power":24897,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":131626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481798,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:47:46] local.INFO: GPS data processed {"connection_id":131626,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:47:46] local.INFO: Acknowledgment sent {"connection_id":131626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:47:57] local.INFO: TCP Data received {"connection_id":130595,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:47:57] local.INFO: Processing buffer {"connection_id":130595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:47:57] local.INFO: IMEI packet received {"connection_id":130595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":130595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:48:02] local.INFO: TCP Data received {"connection_id":130595,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:48:02] local.INFO: Processing buffer {"connection_id":130595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:48:02] local.INFO: IMEI packet received {"connection_id":130595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":130595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:48:03] local.INFO: TCP Data received {"connection_id":130595,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd67468012d1b704007257aa00024001425..."} 
[2026-07-13 19:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd67468012d1b704007257aa00024001425..."} 
[2026-07-13 19:48:03] local.INFO: Processing buffer {"connection_id":130595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd67468012d1b704007257aa00024001425..."} 
[2026-07-13 19:48:03] local.INFO: Packet analysis {"connection_id":130595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd6"} 
[2026-07-13 19:48:03] local.INFO: Extracted packet for processing {"connection_id":130595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd6"} 
[2026-07-13 19:48:03] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":37,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691688448001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783952209000,"timestamp_ms":1783952209000,"timestamp_seconds":1783952209,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd67468"} 
[2026-07-13 19:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":130595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":130595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":130595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691688448001,"66":2144,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691688448001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:48:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:48:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691688448001,"power":2144,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":130595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:48:03] local.INFO: GPS data processed {"connection_id":130595,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:48:03] local.INFO: Acknowledgment sent {"connection_id":130595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:48:11] local.INFO: TCP Data received {"connection_id":131625,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd422a8012d7f914005afd938001b011b24..."} 
[2026-07-13 19:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd422a8012d7f914005afd938001b011b24..."} 
[2026-07-13 19:48:11] local.INFO: Processing buffer {"connection_id":131625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd422a8012d7f914005afd938001b011b24..."} 
[2026-07-13 19:48:11] local.INFO: Packet analysis {"connection_id":131625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd4"} 
[2026-07-13 19:48:11] local.INFO: Extracted packet for processing {"connection_id":131625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd4"} 
[2026-07-13 19:48:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691649536001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783952057000,"timestamp_ms":1783952057000,"timestamp_seconds":1783952057,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd422a8"} 
[2026-07-13 19:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691649536001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691649536001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:48:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:48:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691649536001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":131625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:48:11] local.INFO: GPS data processed {"connection_id":131625,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:48:11] local.INFO: Acknowledgment sent {"connection_id":131625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:48:18] local.INFO: TCP Data received {"connection_id":131626,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd733d0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd733d0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:48:18] local.INFO: Processing buffer {"connection_id":131626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd733d0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:48:18] local.INFO: Packet analysis {"connection_id":131626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd7"} 
[2026-07-13 19:48:18] local.INFO: Extracted packet for processing {"connection_id":131626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd7"} 
[2026-07-13 19:48:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 19:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691700992001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:48:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783952258000,"timestamp_ms":1783952258000,"timestamp_seconds":1783952258,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd733d0"} 
[2026-07-13 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-07-13 19:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-13 19:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 19:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131626,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131626,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691700992001,"66":24854,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691700992001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:48:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:48:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:48:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691700992001,"power":24854,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":131626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481801,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:48:18] local.INFO: GPS data processed {"connection_id":131626,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:48:18] local.INFO: Acknowledgment sent {"connection_id":131626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:48:34] local.INFO: TCP Data received {"connection_id":132955,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:48:34] local.INFO: Processing buffer {"connection_id":132955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:48:34] local.INFO: IMEI packet received {"connection_id":132955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":132955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:48:34] local.INFO: TCP Data received {"connection_id":130595,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd67468012d1b704007257aa00024001425..."} 
[2026-07-13 19:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd67468012d1b704007257aa00024001425..."} 
[2026-07-13 19:48:34] local.INFO: Processing buffer {"connection_id":130595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd67468012d1b704007257aa00024001425..."} 
[2026-07-13 19:48:34] local.INFO: Packet analysis {"connection_id":130595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd6"} 
[2026-07-13 19:48:34] local.INFO: Extracted packet for processing {"connection_id":130595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd6"} 
[2026-07-13 19:48:34] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":37,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691688448001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783952209000,"timestamp_ms":1783952209000,"timestamp_seconds":1783952209,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd67468"} 
[2026-07-13 19:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":130595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":130595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":130595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691688448001,"66":2144,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691688448001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:48:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:48:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691688448001,"power":2144,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":130595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:48:34] local.INFO: GPS data processed {"connection_id":130595,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:48:34] local.INFO: Acknowledgment sent {"connection_id":130595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:48:39] local.INFO: TCP Data received {"connection_id":132955,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:48:39] local.INFO: Processing buffer {"connection_id":132955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:48:39] local.INFO: IMEI packet received {"connection_id":132955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":132955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:48:39] local.INFO: TCP Data received {"connection_id":132956,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132956,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:48:39] local.INFO: Processing buffer {"connection_id":132956,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:48:39] local.INFO: IMEI packet received {"connection_id":132956,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":132956,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:48:40] local.INFO: TCP Data received {"connection_id":132955,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd422a8012d7f914005afd938001b011b24..."} 
[2026-07-13 19:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd422a8012d7f914005afd938001b011b24..."} 
[2026-07-13 19:48:40] local.INFO: Processing buffer {"connection_id":132955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd422a8012d7f914005afd938001b011b24..."} 
[2026-07-13 19:48:40] local.INFO: Packet analysis {"connection_id":132955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd4"} 
[2026-07-13 19:48:40] local.INFO: Extracted packet for processing {"connection_id":132955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd4"} 
[2026-07-13 19:48:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691649536001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783952057000,"timestamp_ms":1783952057000,"timestamp_seconds":1783952057,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd422a8"} 
[2026-07-13 19:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691649536001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691649536001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:48:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:48:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691649536001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":132955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:48:40] local.INFO: GPS data processed {"connection_id":132955,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:48:40] local.INFO: Acknowledgment sent {"connection_id":132955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:48:44] local.INFO: TCP Data received {"connection_id":132956,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132956,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:48:44] local.INFO: Processing buffer {"connection_id":132956,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:48:44] local.INFO: IMEI packet received {"connection_id":132956,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":132956,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:48:46] local.INFO: TCP Data received {"connection_id":132956,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd733d0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd733d0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:48:46] local.INFO: Processing buffer {"connection_id":132956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd733d0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:48:46] local.INFO: Packet analysis {"connection_id":132956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd7"} 
[2026-07-13 19:48:46] local.INFO: Extracted packet for processing {"connection_id":132956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd7"} 
[2026-07-13 19:48:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691700992001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:48:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783952258000,"timestamp_ms":1783952258000,"timestamp_seconds":1783952258,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd733d0"} 
[2026-07-13 19:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-13 19:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132956,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132956,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691700992001,"66":24854,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691700992001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:48:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:48:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:48:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691700992001,"power":24854,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":132956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481804,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:48:47] local.INFO: GPS data processed {"connection_id":132956,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:48:47] local.INFO: Acknowledgment sent {"connection_id":132956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:48:52] local.INFO: TCP Data received {"connection_id":132957,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:48:52] local.INFO: Processing buffer {"connection_id":132957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:48:52] local.INFO: IMEI packet received {"connection_id":132957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":132957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:48:57] local.INFO: TCP Data received {"connection_id":132957,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:48:57] local.INFO: Processing buffer {"connection_id":132957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:48:57] local.INFO: IMEI packet received {"connection_id":132957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":132957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:48:58] local.INFO: TCP Data received {"connection_id":132957,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd67468012d1b704007257aa00024001425..."} 
[2026-07-13 19:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd67468012d1b704007257aa00024001425..."} 
[2026-07-13 19:48:58] local.INFO: Processing buffer {"connection_id":132957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd67468012d1b704007257aa00024001425..."} 
[2026-07-13 19:48:58] local.INFO: Packet analysis {"connection_id":132957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd6"} 
[2026-07-13 19:48:58] local.INFO: Extracted packet for processing {"connection_id":132957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd6"} 
[2026-07-13 19:48:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":37,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691688448001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783952209000,"timestamp_ms":1783952209000,"timestamp_seconds":1783952209,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd67468"} 
[2026-07-13 19:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:48:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691688448001,"66":2144,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691688448001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:48:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:48:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691688448001,"power":2144,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":132957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:48:58] local.INFO: GPS data processed {"connection_id":132957,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:48:58] local.INFO: Acknowledgment sent {"connection_id":132957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:49:11] local.INFO: TCP Data received {"connection_id":132955,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd422a8012d7f914005afd938001b011b24..."} 
[2026-07-13 19:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd422a8012d7f914005afd938001b011b24..."} 
[2026-07-13 19:49:11] local.INFO: Processing buffer {"connection_id":132955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd422a8012d7f914005afd938001b011b24..."} 
[2026-07-13 19:49:11] local.INFO: Packet analysis {"connection_id":132955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd4"} 
[2026-07-13 19:49:11] local.INFO: Extracted packet for processing {"connection_id":132955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd4"} 
[2026-07-13 19:49:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691649536001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783952057000,"timestamp_ms":1783952057000,"timestamp_seconds":1783952057,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd422a8"} 
[2026-07-13 19:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691649536001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691649536001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:49:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:49:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691649536001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":132955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:49:11] local.INFO: GPS data processed {"connection_id":132955,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:49:11] local.INFO: Acknowledgment sent {"connection_id":132955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:49:18] local.INFO: TCP Data received {"connection_id":132956,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd733d0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd733d0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:49:18] local.INFO: Processing buffer {"connection_id":132956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd733d0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:49:18] local.INFO: Packet analysis {"connection_id":132956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd7"} 
[2026-07-13 19:49:18] local.INFO: Extracted packet for processing {"connection_id":132956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd7"} 
[2026-07-13 19:49:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 19:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691700992001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:49:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783952258000,"timestamp_ms":1783952258000,"timestamp_seconds":1783952258,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd733d0"} 
[2026-07-13 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-07-13 19:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-13 19:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 19:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132956,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132956,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691700992001,"66":24854,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691700992001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:49:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:49:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:49:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691700992001,"power":24854,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":132956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481807,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:49:18] local.INFO: GPS data processed {"connection_id":132956,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:49:18] local.INFO: Acknowledgment sent {"connection_id":132956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:49:29] local.INFO: TCP Data received {"connection_id":132957,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd67468012d1b704007257aa00024001425..."} 
[2026-07-13 19:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd67468012d1b704007257aa00024001425..."} 
[2026-07-13 19:49:29] local.INFO: Processing buffer {"connection_id":132957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd67468012d1b704007257aa00024001425..."} 
[2026-07-13 19:49:29] local.INFO: Packet analysis {"connection_id":132957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd6"} 
[2026-07-13 19:49:29] local.INFO: Extracted packet for processing {"connection_id":132957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd6"} 
[2026-07-13 19:49:29] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":37,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691688448001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783952209000,"timestamp_ms":1783952209000,"timestamp_seconds":1783952209,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd67468"} 
[2026-07-13 19:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691688448001,"66":2144,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691688448001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:49:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:49:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691688448001,"power":2144,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":132957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:49:30] local.INFO: GPS data processed {"connection_id":132957,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:49:30] local.INFO: Acknowledgment sent {"connection_id":132957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:49:33] local.INFO: TCP Data received {"connection_id":131627,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:49:33] local.INFO: Processing buffer {"connection_id":131627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:49:33] local.INFO: IMEI packet received {"connection_id":131627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":131627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:49:39] local.INFO: TCP Data received {"connection_id":131627,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:49:39] local.INFO: Processing buffer {"connection_id":131627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:49:39] local.INFO: IMEI packet received {"connection_id":131627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":131627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:49:39] local.INFO: TCP Data received {"connection_id":131628,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131628,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:49:39] local.INFO: Processing buffer {"connection_id":131628,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:49:39] local.INFO: IMEI packet received {"connection_id":131628,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":131628,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:49:40] local.INFO: TCP Data received {"connection_id":131627,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd422a8012d7f914005afd938001b011b24..."} 
[2026-07-13 19:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd422a8012d7f914005afd938001b011b24..."} 
[2026-07-13 19:49:40] local.INFO: Processing buffer {"connection_id":131627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd422a8012d7f914005afd938001b011b24..."} 
[2026-07-13 19:49:40] local.INFO: Packet analysis {"connection_id":131627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd4"} 
[2026-07-13 19:49:40] local.INFO: Extracted packet for processing {"connection_id":131627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd4"} 
[2026-07-13 19:49:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691649536001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783952057000,"timestamp_ms":1783952057000,"timestamp_seconds":1783952057,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd422a8"} 
[2026-07-13 19:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691649536001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691649536001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:49:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:49:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691649536001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":131627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:49:40] local.INFO: GPS data processed {"connection_id":131627,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:49:40] local.INFO: Acknowledgment sent {"connection_id":131627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:49:45] local.INFO: TCP Data received {"connection_id":131628,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131628,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:49:45] local.INFO: Processing buffer {"connection_id":131628,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:49:45] local.INFO: IMEI packet received {"connection_id":131628,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":131628,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:49:46] local.INFO: TCP Data received {"connection_id":131628,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd733d0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd733d0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:49:46] local.INFO: Processing buffer {"connection_id":131628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd733d0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:49:46] local.INFO: Packet analysis {"connection_id":131628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd7"} 
[2026-07-13 19:49:46] local.INFO: Extracted packet for processing {"connection_id":131628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd7"} 
[2026-07-13 19:49:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691700992001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:49:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783952258000,"timestamp_ms":1783952258000,"timestamp_seconds":1783952258,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd733d0"} 
[2026-07-13 19:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-13 19:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131628,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131628,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691700992001,"66":24854,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691700992001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:49:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:49:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:49:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691700992001,"power":24854,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":131628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481810,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:49:46] local.INFO: GPS data processed {"connection_id":131628,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:49:46] local.INFO: Acknowledgment sent {"connection_id":131628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:49:52] local.INFO: TCP Data received {"connection_id":131629,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:49:52] local.INFO: Processing buffer {"connection_id":131629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:49:52] local.INFO: IMEI packet received {"connection_id":131629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":131629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:49:57] local.INFO: TCP Data received {"connection_id":131629,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:49:57] local.INFO: Processing buffer {"connection_id":131629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:49:57] local.INFO: IMEI packet received {"connection_id":131629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":131629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:49:58] local.INFO: TCP Data received {"connection_id":131629,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd67468012d1b704007257aa00024001425..."} 
[2026-07-13 19:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd67468012d1b704007257aa00024001425..."} 
[2026-07-13 19:49:58] local.INFO: Processing buffer {"connection_id":131629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd67468012d1b704007257aa00024001425..."} 
[2026-07-13 19:49:58] local.INFO: Packet analysis {"connection_id":131629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd6"} 
[2026-07-13 19:49:58] local.INFO: Extracted packet for processing {"connection_id":131629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd6"} 
[2026-07-13 19:49:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":37,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691688448001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783952209000,"timestamp_ms":1783952209000,"timestamp_seconds":1783952209,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd67468"} 
[2026-07-13 19:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691688448001,"66":2144,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691688448001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:49:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:49:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691688448001,"power":2144,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":131629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:49:58] local.INFO: GPS data processed {"connection_id":131629,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:49:58] local.INFO: Acknowledgment sent {"connection_id":131629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:50:11] local.INFO: TCP Data received {"connection_id":131627,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:50:11] local.INFO: Processing buffer {"connection_id":131627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:50:11] local.INFO: Packet analysis {"connection_id":131627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd8"} 
[2026-07-13 19:50:11] local.INFO: Extracted packet for processing {"connection_id":131627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd8"} 
[2026-07-13 19:50:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":28,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691726592001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783952358000,"timestamp_ms":1783952358000,"timestamp_seconds":1783952358,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd8ba70"} 
[2026-07-13 19:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691726592001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691726592001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:50:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:50:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691726592001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":131627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:50:11] local.INFO: GPS data processed {"connection_id":131627,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:50:11] local.INFO: Acknowledgment sent {"connection_id":131627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:50:18] local.INFO: TCP Data received {"connection_id":131628,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd733d0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd733d0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:50:18] local.INFO: Processing buffer {"connection_id":131628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd733d0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:50:18] local.INFO: Packet analysis {"connection_id":131628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd7"} 
[2026-07-13 19:50:18] local.INFO: Extracted packet for processing {"connection_id":131628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd7"} 
[2026-07-13 19:50:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 19:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691700992001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:50:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783952258000,"timestamp_ms":1783952258000,"timestamp_seconds":1783952258,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd733d0"} 
[2026-07-13 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-07-13 19:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-13 19:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 19:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131628,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131628,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691700992001,"66":24854,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691700992001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:50:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:50:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:50:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691700992001,"power":24854,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":131628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481813,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:50:18] local.INFO: GPS data processed {"connection_id":131628,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:50:18] local.INFO: Acknowledgment sent {"connection_id":131628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:50:29] local.INFO: TCP Data received {"connection_id":131629,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd67468012d1b704007257aa00024001425..."} 
[2026-07-13 19:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd67468012d1b704007257aa00024001425..."} 
[2026-07-13 19:50:29] local.INFO: Processing buffer {"connection_id":131629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd67468012d1b704007257aa00024001425..."} 
[2026-07-13 19:50:29] local.INFO: Packet analysis {"connection_id":131629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd6"} 
[2026-07-13 19:50:29] local.INFO: Extracted packet for processing {"connection_id":131629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd6"} 
[2026-07-13 19:50:29] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":37,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691688448001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783952209000,"timestamp_ms":1783952209000,"timestamp_seconds":1783952209,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd67468"} 
[2026-07-13 19:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":131629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":131629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":131629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691688448001,"66":2144,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691688448001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:50:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:50:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691688448001,"power":2144,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":131629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:50:29] local.INFO: GPS data processed {"connection_id":131629,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:50:29] local.INFO: Acknowledgment sent {"connection_id":131629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:50:39] local.INFO: TCP Data received {"connection_id":130596,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:50:39] local.INFO: Processing buffer {"connection_id":130596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:50:39] local.INFO: IMEI packet received {"connection_id":130596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":130596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:50:44] local.INFO: TCP Data received {"connection_id":130596,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:50:44] local.INFO: Processing buffer {"connection_id":130596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:50:44] local.INFO: IMEI packet received {"connection_id":130596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":130596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:50:44] local.INFO: TCP Data received {"connection_id":130596,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:50:44] local.INFO: Processing buffer {"connection_id":130596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:50:44] local.INFO: Packet analysis {"connection_id":130596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd8"} 
[2026-07-13 19:50:44] local.INFO: Extracted packet for processing {"connection_id":130596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd8"} 
[2026-07-13 19:50:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":28,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691726592001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783952358000,"timestamp_ms":1783952358000,"timestamp_seconds":1783952358,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd8ba70"} 
[2026-07-13 19:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:50:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691726592001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691726592001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:50:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:50:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691726592001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":130596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:50:44] local.INFO: GPS data processed {"connection_id":130596,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:50:44] local.INFO: Acknowledgment sent {"connection_id":130596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:50:45] local.INFO: TCP Data received {"connection_id":132958,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132958,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:50:45] local.INFO: Processing buffer {"connection_id":132958,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:50:45] local.INFO: IMEI packet received {"connection_id":132958,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":132958,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:50:49] local.INFO: TCP Data received {"connection_id":130596,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:50:49] local.INFO: Processing buffer {"connection_id":130596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:50:49] local.INFO: Packet analysis {"connection_id":130596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd8"} 
[2026-07-13 19:50:49] local.INFO: Extracted packet for processing {"connection_id":130596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd8"} 
[2026-07-13 19:50:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":28,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691726592001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783952358000,"timestamp_ms":1783952358000,"timestamp_seconds":1783952358,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd8ba70"} 
[2026-07-13 19:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691726592001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691726592001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:50:49] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:50:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691726592001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":130596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:50:49] local.INFO: GPS data processed {"connection_id":130596,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:50:49] local.INFO: Acknowledgment sent {"connection_id":130596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:50:49] local.INFO: TCP Data received {"connection_id":132958,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132958,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:50:49] local.INFO: Processing buffer {"connection_id":132958,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:50:49] local.INFO: IMEI packet received {"connection_id":132958,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":132958,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:50:51] local.INFO: TCP Data received {"connection_id":132958,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd733d0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd733d0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:50:51] local.INFO: Processing buffer {"connection_id":132958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd733d0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:50:51] local.INFO: Packet analysis {"connection_id":132958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd7"} 
[2026-07-13 19:50:51] local.INFO: Extracted packet for processing {"connection_id":132958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd7"} 
[2026-07-13 19:50:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691700992001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:50:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783952258000,"timestamp_ms":1783952258000,"timestamp_seconds":1783952258,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd733d0"} 
[2026-07-13 19:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-13 19:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132958,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132958,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691700992001,"66":24854,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691700992001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:50:51] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:50:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:50:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691700992001,"power":24854,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":132958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481817,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:50:51] local.INFO: GPS data processed {"connection_id":132958,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:50:51] local.INFO: Acknowledgment sent {"connection_id":132958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:50:52] local.INFO: TCP Data received {"connection_id":130815,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:50:52] local.INFO: Processing buffer {"connection_id":130815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:50:52] local.INFO: IMEI packet received {"connection_id":130815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":130815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:50:55] local.INFO: TCP Data received {"connection_id":132958,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd733d0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd733d0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:50:55] local.INFO: Processing buffer {"connection_id":132958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd733d0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:50:55] local.INFO: Packet analysis {"connection_id":132958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd7"} 
[2026-07-13 19:50:55] local.INFO: Extracted packet for processing {"connection_id":132958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd7"} 
[2026-07-13 19:50:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691700992001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:50:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783952258000,"timestamp_ms":1783952258000,"timestamp_seconds":1783952258,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd733d0"} 
[2026-07-13 19:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-13 19:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":132958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":132958,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":132958,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691700992001,"66":24854,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691700992001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:50:55] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:50:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:50:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691700992001,"power":24854,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":132958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481818,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:50:55] local.INFO: GPS data processed {"connection_id":132958,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:50:55] local.INFO: Acknowledgment sent {"connection_id":132958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:50:57] local.INFO: TCP Data received {"connection_id":130815,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:50:57] local.INFO: Processing buffer {"connection_id":130815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:50:57] local.INFO: IMEI packet received {"connection_id":130815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":130815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:50:58] local.INFO: TCP Data received {"connection_id":130815,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd67468012d1b704007257aa00024001425..."} 
[2026-07-13 19:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd67468012d1b704007257aa00024001425..."} 
[2026-07-13 19:50:58] local.INFO: Processing buffer {"connection_id":130815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd67468012d1b704007257aa00024001425..."} 
[2026-07-13 19:50:58] local.INFO: Packet analysis {"connection_id":130815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd6"} 
[2026-07-13 19:50:58] local.INFO: Extracted packet for processing {"connection_id":130815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd6"} 
[2026-07-13 19:50:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":37,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691688448001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783952209000,"timestamp_ms":1783952209000,"timestamp_seconds":1783952209,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd67468"} 
[2026-07-13 19:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691688448001,"66":2144,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691688448001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:50:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:50:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691688448001,"power":2144,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":130815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:50:58] local.INFO: GPS data processed {"connection_id":130815,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:50:58] local.INFO: Acknowledgment sent {"connection_id":130815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:51:29] local.INFO: TCP Data received {"connection_id":130815,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd67468012d1b704007257aa00024001425..."} 
[2026-07-13 19:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd67468012d1b704007257aa00024001425..."} 
[2026-07-13 19:51:29] local.INFO: Processing buffer {"connection_id":130815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd67468012d1b704007257aa00024001425..."} 
[2026-07-13 19:51:29] local.INFO: Packet analysis {"connection_id":130815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd6"} 
[2026-07-13 19:51:29] local.INFO: Extracted packet for processing {"connection_id":130815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd6"} 
[2026-07-13 19:51:29] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":37,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691688448001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783952209000,"timestamp_ms":1783952209000,"timestamp_seconds":1783952209,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd67468"} 
[2026-07-13 19:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691688448001,"66":2144,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691688448001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:51:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:51:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691688448001,"power":2144,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":130815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:51:29] local.INFO: GPS data processed {"connection_id":130815,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:51:29] local.INFO: Acknowledgment sent {"connection_id":130815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:51:33] local.INFO: TCP Data received {"connection_id":130816,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:51:33] local.INFO: Processing buffer {"connection_id":130816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:51:33] local.INFO: IMEI packet received {"connection_id":130816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":130816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:51:39] local.INFO: TCP Data received {"connection_id":130816,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:51:39] local.INFO: Processing buffer {"connection_id":130816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:51:39] local.INFO: IMEI packet received {"connection_id":130816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":130816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:51:39] local.INFO: TCP Data received {"connection_id":131630,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131630,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:51:39] local.INFO: Processing buffer {"connection_id":131630,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:51:39] local.INFO: IMEI packet received {"connection_id":131630,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":131630,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:51:40] local.INFO: TCP Data received {"connection_id":130816,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:51:40] local.INFO: Processing buffer {"connection_id":130816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:51:40] local.INFO: Packet analysis {"connection_id":130816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd8"} 
[2026-07-13 19:51:40] local.INFO: Extracted packet for processing {"connection_id":130816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd8"} 
[2026-07-13 19:51:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":28,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691726592001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783952358000,"timestamp_ms":1783952358000,"timestamp_seconds":1783952358,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd8ba70"} 
[2026-07-13 19:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691726592001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691726592001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:51:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:51:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691726592001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":130816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:51:40] local.INFO: GPS data processed {"connection_id":130816,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:51:40] local.INFO: Acknowledgment sent {"connection_id":130816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:51:44] local.INFO: TCP Data received {"connection_id":131630,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131630,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:51:44] local.INFO: Processing buffer {"connection_id":131630,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:51:44] local.INFO: IMEI packet received {"connection_id":131630,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":131630,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:51:46] local.INFO: TCP Data received {"connection_id":131630,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd733d0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd733d0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:51:46] local.INFO: Processing buffer {"connection_id":131630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd733d0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:51:46] local.INFO: Packet analysis {"connection_id":131630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd7"} 
[2026-07-13 19:51:46] local.INFO: Extracted packet for processing {"connection_id":131630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd7"} 
[2026-07-13 19:51:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691700992001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:51:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783952258000,"timestamp_ms":1783952258000,"timestamp_seconds":1783952258,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd733d0"} 
[2026-07-13 19:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-13 19:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131630,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131630,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691700992001,"66":24854,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691700992001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:51:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:51:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:51:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691700992001,"power":24854,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":131630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481822,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:51:46] local.INFO: GPS data processed {"connection_id":131630,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:51:46] local.INFO: Acknowledgment sent {"connection_id":131630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:51:52] local.INFO: TCP Data received {"connection_id":130817,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:51:52] local.INFO: Processing buffer {"connection_id":130817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:51:52] local.INFO: IMEI packet received {"connection_id":130817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":130817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:51:57] local.INFO: TCP Data received {"connection_id":130817,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:51:57] local.INFO: Processing buffer {"connection_id":130817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:51:57] local.INFO: IMEI packet received {"connection_id":130817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":130817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:51:58] local.INFO: TCP Data received {"connection_id":130817,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd67468012d1b704007257aa00024001425..."} 
[2026-07-13 19:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd67468012d1b704007257aa00024001425..."} 
[2026-07-13 19:51:58] local.INFO: Processing buffer {"connection_id":130817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd67468012d1b704007257aa00024001425..."} 
[2026-07-13 19:51:58] local.INFO: Packet analysis {"connection_id":130817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd6"} 
[2026-07-13 19:51:58] local.INFO: Extracted packet for processing {"connection_id":130817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd6"} 
[2026-07-13 19:51:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":37,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691688448001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783952209000,"timestamp_ms":1783952209000,"timestamp_seconds":1783952209,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd67468"} 
[2026-07-13 19:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:51:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:51:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:51:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691688448001,"66":2144,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691688448001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:51:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:51:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691688448001,"power":2144,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":130817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:51:58] local.INFO: GPS data processed {"connection_id":130817,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:51:58] local.INFO: Acknowledgment sent {"connection_id":130817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:52:11] local.INFO: TCP Data received {"connection_id":130816,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:52:11] local.INFO: Processing buffer {"connection_id":130816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:52:11] local.INFO: Packet analysis {"connection_id":130816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd8"} 
[2026-07-13 19:52:11] local.INFO: Extracted packet for processing {"connection_id":130816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd8"} 
[2026-07-13 19:52:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":28,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691726592001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783952358000,"timestamp_ms":1783952358000,"timestamp_seconds":1783952358,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd8ba70"} 
[2026-07-13 19:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691726592001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691726592001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:52:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:52:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691726592001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":130816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:52:11] local.INFO: GPS data processed {"connection_id":130816,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:52:11] local.INFO: Acknowledgment sent {"connection_id":130816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:52:18] local.INFO: TCP Data received {"connection_id":131630,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd733d0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd733d0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:52:18] local.INFO: Processing buffer {"connection_id":131630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd733d0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:52:18] local.INFO: Packet analysis {"connection_id":131630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd7"} 
[2026-07-13 19:52:18] local.INFO: Extracted packet for processing {"connection_id":131630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd7"} 
[2026-07-13 19:52:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691700992001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:52:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783952258000,"timestamp_ms":1783952258000,"timestamp_seconds":1783952258,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd733d0"} 
[2026-07-13 19:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-13 19:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131630,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131630,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691700992001,"66":24854,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691700992001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:52:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:52:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:52:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691700992001,"power":24854,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":131630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481825,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:52:18] local.INFO: GPS data processed {"connection_id":131630,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:52:18] local.INFO: Acknowledgment sent {"connection_id":131630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:52:29] local.INFO: TCP Data received {"connection_id":130817,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:52:29] local.INFO: Processing buffer {"connection_id":130817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:52:29] local.INFO: Packet analysis {"connection_id":130817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:52:29] local.INFO: Extracted packet for processing {"connection_id":130817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:52:29] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691765504001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783952510000,"timestamp_ms":1783952510000,"timestamp_seconds":1783952510,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdb0c30"} 
[2026-07-13 19:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:52:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-13 19:52:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:52:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:52:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691765504001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691765504001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:52:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:52:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691765504001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":130817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:52:29] local.INFO: GPS data processed {"connection_id":130817,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:52:29] local.INFO: Acknowledgment sent {"connection_id":130817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:52:34] local.INFO: TCP Data received {"connection_id":132959,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:52:34] local.INFO: Processing buffer {"connection_id":132959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:52:34] local.INFO: IMEI packet received {"connection_id":132959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":132959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:52:39] local.INFO: TCP Data received {"connection_id":132959,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:52:39] local.INFO: Processing buffer {"connection_id":132959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:52:39] local.INFO: IMEI packet received {"connection_id":132959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":132959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:52:39] local.INFO: TCP Data received {"connection_id":130818,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130818,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:52:39] local.INFO: Processing buffer {"connection_id":130818,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:52:39] local.INFO: IMEI packet received {"connection_id":130818,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":130818,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:52:40] local.INFO: TCP Data received {"connection_id":132959,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:52:40] local.INFO: Processing buffer {"connection_id":132959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:52:40] local.INFO: Packet analysis {"connection_id":132959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd8"} 
[2026-07-13 19:52:40] local.INFO: Extracted packet for processing {"connection_id":132959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd8"} 
[2026-07-13 19:52:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":28,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691726592001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783952358000,"timestamp_ms":1783952358000,"timestamp_seconds":1783952358,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd8ba70"} 
[2026-07-13 19:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691726592001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691726592001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:52:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:52:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691726592001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":132959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:52:40] local.INFO: GPS data processed {"connection_id":132959,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:52:40] local.INFO: Acknowledgment sent {"connection_id":132959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:52:45] local.INFO: TCP Data received {"connection_id":130818,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130818,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:52:45] local.INFO: Processing buffer {"connection_id":130818,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:52:45] local.INFO: IMEI packet received {"connection_id":130818,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":130818,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:52:46] local.INFO: TCP Data received {"connection_id":130818,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd733d0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd733d0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:52:46] local.INFO: Processing buffer {"connection_id":130818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd733d0012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:52:46] local.INFO: Packet analysis {"connection_id":130818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd7"} 
[2026-07-13 19:52:46] local.INFO: Extracted packet for processing {"connection_id":130818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd7"} 
[2026-07-13 19:52:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691700992001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:52:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783952258000,"timestamp_ms":1783952258000,"timestamp_seconds":1783952258,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd733d0"} 
[2026-07-13 19:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-13 19:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130818,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130818,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691700992001,"66":24854,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691700992001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:52:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:52:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:52:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691700992001,"power":24854,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":130818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481828,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:52:47] local.INFO: GPS data processed {"connection_id":130818,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:52:47] local.INFO: Acknowledgment sent {"connection_id":130818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:52:57] local.INFO: TCP Data received {"connection_id":130819,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:52:57] local.INFO: Processing buffer {"connection_id":130819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:52:57] local.INFO: IMEI packet received {"connection_id":130819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":130819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:53:02] local.INFO: TCP Data received {"connection_id":130819,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:53:02] local.INFO: Processing buffer {"connection_id":130819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:53:02] local.INFO: IMEI packet received {"connection_id":130819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":130819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:53:03] local.INFO: TCP Data received {"connection_id":130819,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:53:03] local.INFO: Processing buffer {"connection_id":130819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:53:03] local.INFO: Packet analysis {"connection_id":130819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:53:03] local.INFO: Extracted packet for processing {"connection_id":130819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:53:03] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691765504001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783952510000,"timestamp_ms":1783952510000,"timestamp_seconds":1783952510,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdb0c30"} 
[2026-07-13 19:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-13 19:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":130819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":130819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":130819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691765504001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691765504001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:53:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:53:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691765504001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":130819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:53:03] local.INFO: GPS data processed {"connection_id":130819,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:53:03] local.INFO: Acknowledgment sent {"connection_id":130819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:53:11] local.INFO: TCP Data received {"connection_id":132959,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:53:11] local.INFO: Processing buffer {"connection_id":132959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:53:11] local.INFO: Packet analysis {"connection_id":132959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd8"} 
[2026-07-13 19:53:11] local.INFO: Extracted packet for processing {"connection_id":132959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd8"} 
[2026-07-13 19:53:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":28,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691726592001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783952358000,"timestamp_ms":1783952358000,"timestamp_seconds":1783952358,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd8ba70"} 
[2026-07-13 19:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691726592001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691726592001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:53:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:53:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691726592001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":132959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:53:11] local.INFO: GPS data processed {"connection_id":132959,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:53:11] local.INFO: Acknowledgment sent {"connection_id":132959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:53:18] local.INFO: TCP Data received {"connection_id":130818,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:53:18] local.INFO: Processing buffer {"connection_id":130818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:53:18] local.INFO: Packet analysis {"connection_id":130818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:53:18] local.INFO: Extracted packet for processing {"connection_id":130818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:53:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691778048001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:53:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783952559000,"timestamp_ms":1783952559000,"timestamp_seconds":1783952559,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdbcb98"} 
[2026-07-13 19:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 19:53:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130818,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130818,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691778048001,"66":24832,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691778048001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:53:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:53:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:53:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691778048001,"power":24832,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":130818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481831,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:53:18] local.INFO: GPS data processed {"connection_id":130818,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:53:18] local.INFO: Acknowledgment sent {"connection_id":130818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:53:33] local.INFO: TCP Data received {"connection_id":130597,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:53:33] local.INFO: Processing buffer {"connection_id":130597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:53:33] local.INFO: IMEI packet received {"connection_id":130597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":130597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:53:34] local.INFO: TCP Data received {"connection_id":130819,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:53:34] local.INFO: Processing buffer {"connection_id":130819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:53:34] local.INFO: Packet analysis {"connection_id":130819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:53:34] local.INFO: Extracted packet for processing {"connection_id":130819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:53:34] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691765504001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783952510000,"timestamp_ms":1783952510000,"timestamp_seconds":1783952510,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdb0c30"} 
[2026-07-13 19:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-13 19:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":130819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":130819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":130819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691765504001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691765504001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:53:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:53:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691765504001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":130819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:53:34] local.INFO: GPS data processed {"connection_id":130819,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:53:34] local.INFO: Acknowledgment sent {"connection_id":130819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:53:39] local.INFO: TCP Data received {"connection_id":130597,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:53:39] local.INFO: Processing buffer {"connection_id":130597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:53:39] local.INFO: IMEI packet received {"connection_id":130597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":130597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:53:40] local.INFO: TCP Data received {"connection_id":130597,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:53:40] local.INFO: Processing buffer {"connection_id":130597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:53:40] local.INFO: Packet analysis {"connection_id":130597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd8"} 
[2026-07-13 19:53:40] local.INFO: Extracted packet for processing {"connection_id":130597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd8"} 
[2026-07-13 19:53:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":28,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691726592001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783952358000,"timestamp_ms":1783952358000,"timestamp_seconds":1783952358,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd8ba70"} 
[2026-07-13 19:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691726592001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691726592001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:53:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:53:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691726592001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":130597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:53:40] local.INFO: GPS data processed {"connection_id":130597,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:53:40] local.INFO: Acknowledgment sent {"connection_id":130597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:53:40] local.INFO: TCP Data received {"connection_id":130598,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:53:40] local.INFO: Processing buffer {"connection_id":130598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:53:40] local.INFO: IMEI packet received {"connection_id":130598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":130598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:53:45] local.INFO: TCP Data received {"connection_id":130598,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:53:45] local.INFO: Processing buffer {"connection_id":130598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:53:45] local.INFO: IMEI packet received {"connection_id":130598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":130598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:53:47] local.INFO: TCP Data received {"connection_id":130598,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:53:47] local.INFO: Processing buffer {"connection_id":130598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:53:47] local.INFO: Packet analysis {"connection_id":130598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:53:47] local.INFO: Extracted packet for processing {"connection_id":130598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:53:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691778048001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:53:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783952559000,"timestamp_ms":1783952559000,"timestamp_seconds":1783952559,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdbcb98"} 
[2026-07-13 19:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 19:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130598,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130598,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691778048001,"66":24832,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691778048001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:53:47] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:53:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:53:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691778048001,"power":24832,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":130598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481834,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:53:47] local.INFO: GPS data processed {"connection_id":130598,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:53:47] local.INFO: Acknowledgment sent {"connection_id":130598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:53:52] local.INFO: TCP Data received {"connection_id":132960,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:53:52] local.INFO: Processing buffer {"connection_id":132960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:53:52] local.INFO: IMEI packet received {"connection_id":132960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":132960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:53:57] local.INFO: TCP Data received {"connection_id":132960,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:53:57] local.INFO: Processing buffer {"connection_id":132960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:53:57] local.INFO: IMEI packet received {"connection_id":132960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":132960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:53:58] local.INFO: TCP Data received {"connection_id":132960,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:53:58] local.INFO: Processing buffer {"connection_id":132960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:53:58] local.INFO: Packet analysis {"connection_id":132960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:53:58] local.INFO: Extracted packet for processing {"connection_id":132960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:53:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691765504001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783952510000,"timestamp_ms":1783952510000,"timestamp_seconds":1783952510,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdb0c30"} 
[2026-07-13 19:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-13 19:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691765504001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691765504001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:53:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:53:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691765504001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":132960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:53:58] local.INFO: GPS data processed {"connection_id":132960,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:53:58] local.INFO: Acknowledgment sent {"connection_id":132960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:54:11] local.INFO: TCP Data received {"connection_id":130597,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:54:11] local.INFO: Processing buffer {"connection_id":130597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:54:11] local.INFO: Packet analysis {"connection_id":130597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd8"} 
[2026-07-13 19:54:11] local.INFO: Extracted packet for processing {"connection_id":130597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd8"} 
[2026-07-13 19:54:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":28,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691726592001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783952358000,"timestamp_ms":1783952358000,"timestamp_seconds":1783952358,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd8ba70"} 
[2026-07-13 19:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691726592001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691726592001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:54:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:54:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691726592001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":130597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:54:11] local.INFO: GPS data processed {"connection_id":130597,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:54:11] local.INFO: Acknowledgment sent {"connection_id":130597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:54:19] local.INFO: TCP Data received {"connection_id":130598,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:54:19] local.INFO: Processing buffer {"connection_id":130598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:54:19] local.INFO: Packet analysis {"connection_id":130598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:54:19] local.INFO: Extracted packet for processing {"connection_id":130598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:54:19] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691778048001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:54:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783952559000,"timestamp_ms":1783952559000,"timestamp_seconds":1783952559,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdbcb98"} 
[2026-07-13 19:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:54:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 19:54:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:54:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130598,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130598,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691778048001,"66":24832,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691778048001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:54:19] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:54:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:54:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691778048001,"power":24832,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":130598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481837,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:54:19] local.INFO: GPS data processed {"connection_id":130598,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:54:19] local.INFO: Acknowledgment sent {"connection_id":130598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:54:29] local.INFO: TCP Data received {"connection_id":132960,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:54:29] local.INFO: Processing buffer {"connection_id":132960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:54:29] local.INFO: Packet analysis {"connection_id":132960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:54:29] local.INFO: Extracted packet for processing {"connection_id":132960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:54:29] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691765504001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783952510000,"timestamp_ms":1783952510000,"timestamp_seconds":1783952510,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdb0c30"} 
[2026-07-13 19:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-13 19:54:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:54:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691765504001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691765504001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:54:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:54:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691765504001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":132960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:54:29] local.INFO: GPS data processed {"connection_id":132960,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:54:29] local.INFO: Acknowledgment sent {"connection_id":132960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:54:44] local.INFO: TCP Data received {"connection_id":130820,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130820,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:54:44] local.INFO: Processing buffer {"connection_id":130820,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:54:44] local.INFO: IMEI packet received {"connection_id":130820,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":130820,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:54:45] local.INFO: TCP Data received {"connection_id":132961,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:54:45] local.INFO: Processing buffer {"connection_id":132961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:54:45] local.INFO: IMEI packet received {"connection_id":132961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":132961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:54:46] local.INFO: TCP Data received {"connection_id":132961,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:54:46] local.INFO: Processing buffer {"connection_id":132961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:54:46] local.INFO: IMEI packet received {"connection_id":132961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":132961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:54:47] local.INFO: TCP Data received {"connection_id":132961,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:54:47] local.INFO: Processing buffer {"connection_id":132961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:54:47] local.INFO: Packet analysis {"connection_id":132961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd8"} 
[2026-07-13 19:54:47] local.INFO: Extracted packet for processing {"connection_id":132961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd8"} 
[2026-07-13 19:54:47] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":28,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691726592001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783952358000,"timestamp_ms":1783952358000,"timestamp_seconds":1783952358,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd8ba70"} 
[2026-07-13 19:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691726592001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691726592001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:54:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:54:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691726592001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":132961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:54:47] local.INFO: GPS data processed {"connection_id":132961,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:54:47] local.INFO: Acknowledgment sent {"connection_id":132961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:54:50] local.INFO: TCP Data received {"connection_id":130820,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130820,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:54:50] local.INFO: Processing buffer {"connection_id":130820,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:54:50] local.INFO: IMEI packet received {"connection_id":130820,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":130820,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:54:51] local.INFO: TCP Data received {"connection_id":130820,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:54:51] local.INFO: Processing buffer {"connection_id":130820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:54:51] local.INFO: Packet analysis {"connection_id":130820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:54:51] local.INFO: Extracted packet for processing {"connection_id":130820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:54:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691778048001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:54:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783952559000,"timestamp_ms":1783952559000,"timestamp_seconds":1783952559,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdbcb98"} 
[2026-07-13 19:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 19:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130820,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130820,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691778048001,"66":24832,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691778048001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:54:51] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:54:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:54:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691778048001,"power":24832,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":130820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481840,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:54:51] local.INFO: GPS data processed {"connection_id":130820,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:54:51] local.INFO: Acknowledgment sent {"connection_id":130820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:54:52] local.INFO: TCP Data received {"connection_id":131631,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:54:52] local.INFO: Processing buffer {"connection_id":131631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:54:52] local.INFO: IMEI packet received {"connection_id":131631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":131631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:54:54] local.INFO: TCP Data received {"connection_id":132961,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:54:54] local.INFO: Processing buffer {"connection_id":132961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bd8ba70012d7f914005afd938001c011b26..."} 
[2026-07-13 19:54:54] local.INFO: Packet analysis {"connection_id":132961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bd8"} 
[2026-07-13 19:54:54] local.INFO: Extracted packet for processing {"connection_id":132961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bd8"} 
[2026-07-13 19:54:54] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":28,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 19:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691726592001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783952358000,"timestamp_ms":1783952358000,"timestamp_seconds":1783952358,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bd8ba70"} 
[2026-07-13 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-07-13 19:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 19:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":132961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":132961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":132961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19: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-07-13 19:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691726592001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 19:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691726592001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:54:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 19:54:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691726592001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":132961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:54:54] local.INFO: GPS data processed {"connection_id":132961,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:54:54] local.INFO: Acknowledgment sent {"connection_id":132961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:54:55] local.INFO: TCP Data received {"connection_id":130820,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:54:55] local.INFO: Processing buffer {"connection_id":130820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:54:55] local.INFO: Packet analysis {"connection_id":130820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:54:55] local.INFO: Extracted packet for processing {"connection_id":130820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:54:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691778048001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:54:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783952559000,"timestamp_ms":1783952559000,"timestamp_seconds":1783952559,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdbcb98"} 
[2026-07-13 19:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 19:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130820,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130820,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691778048001,"66":24832,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691778048001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:54:55] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:54:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:54:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691778048001,"power":24832,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":130820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481842,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:54:55] local.INFO: GPS data processed {"connection_id":130820,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:54:55] local.INFO: Acknowledgment sent {"connection_id":130820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:54:57] local.INFO: TCP Data received {"connection_id":131631,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:54:57] local.INFO: Processing buffer {"connection_id":131631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:54:57] local.INFO: IMEI packet received {"connection_id":131631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":131631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:54:58] local.INFO: TCP Data received {"connection_id":131631,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:54:58] local.INFO: Processing buffer {"connection_id":131631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:54:58] local.INFO: Packet analysis {"connection_id":131631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:54:58] local.INFO: Extracted packet for processing {"connection_id":131631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:54:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691765504001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783952510000,"timestamp_ms":1783952510000,"timestamp_seconds":1783952510,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdb0c30"} 
[2026-07-13 19:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-13 19:54:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:54:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691765504001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691765504001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:54:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:54:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691765504001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":131631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:54:58] local.INFO: GPS data processed {"connection_id":131631,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:54:58] local.INFO: Acknowledgment sent {"connection_id":131631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:55:29] local.INFO: TCP Data received {"connection_id":131631,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:55:29] local.INFO: Processing buffer {"connection_id":131631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:55:29] local.INFO: Packet analysis {"connection_id":131631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:55:29] local.INFO: Extracted packet for processing {"connection_id":131631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:55:29] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691765504001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:55:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783952510000,"timestamp_ms":1783952510000,"timestamp_seconds":1783952510,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdb0c30"} 
[2026-07-13 19:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:55:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-13 19:55:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":131631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":131631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":131631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:55:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691765504001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691765504001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:55:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:55:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691765504001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":131631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:55:29] local.INFO: GPS data processed {"connection_id":131631,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:55:29] local.INFO: Acknowledgment sent {"connection_id":131631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:55:33] local.INFO: TCP Data received {"connection_id":131632,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:55:33] local.INFO: Processing buffer {"connection_id":131632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:55:33] local.INFO: IMEI packet received {"connection_id":131632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":131632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:55:39] local.INFO: TCP Data received {"connection_id":131632,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:55:39] local.INFO: Processing buffer {"connection_id":131632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:55:39] local.INFO: IMEI packet received {"connection_id":131632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":131632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:55:39] local.INFO: TCP Data received {"connection_id":130821,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130821,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:55:39] local.INFO: Processing buffer {"connection_id":130821,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:55:39] local.INFO: IMEI packet received {"connection_id":130821,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":130821,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:55:40] local.INFO: TCP Data received {"connection_id":131632,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdd5238012d7f914005afd938001b011b26..."} 
[2026-07-13 19:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdd5238012d7f914005afd938001b011b26..."} 
[2026-07-13 19:55:40] local.INFO: Processing buffer {"connection_id":131632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdd5238012d7f914005afd938001b011b26..."} 
[2026-07-13 19:55:40] local.INFO: Packet analysis {"connection_id":131632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdd"} 
[2026-07-13 19:55:40] local.INFO: Extracted packet for processing {"connection_id":131632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdd"} 
[2026-07-13 19:55:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691803648001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783952659000,"timestamp_ms":1783952659000,"timestamp_seconds":1783952659,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdd5238"} 
[2026-07-13 19:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691803648001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691803648001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:55:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:55:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691803648001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":131632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:55:40] local.INFO: GPS data processed {"connection_id":131632,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:55:40] local.INFO: Acknowledgment sent {"connection_id":131632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:55:49] local.INFO: TCP Data received {"connection_id":130821,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130821,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:55:49] local.INFO: Processing buffer {"connection_id":130821,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:55:49] local.INFO: IMEI packet received {"connection_id":130821,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":130821,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:55:50] local.INFO: TCP Data received {"connection_id":130821,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:55:50] local.INFO: Processing buffer {"connection_id":130821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:55:50] local.INFO: Packet analysis {"connection_id":130821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:55:50] local.INFO: Extracted packet for processing {"connection_id":130821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:55:50] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691778048001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:55:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783952559000,"timestamp_ms":1783952559000,"timestamp_seconds":1783952559,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdbcb98"} 
[2026-07-13 19:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 19:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130821,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130821,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691778048001,"66":24832,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691778048001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:55:50] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:55:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:55:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691778048001,"power":24832,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":130821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481846,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:55:50] local.INFO: GPS data processed {"connection_id":130821,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:55:50] local.INFO: Acknowledgment sent {"connection_id":130821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:55:52] local.INFO: TCP Data received {"connection_id":131633,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:55:52] local.INFO: Processing buffer {"connection_id":131633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:55:52] local.INFO: IMEI packet received {"connection_id":131633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":131633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:55:57] local.INFO: TCP Data received {"connection_id":131633,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:55:57] local.INFO: Processing buffer {"connection_id":131633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:55:57] local.INFO: IMEI packet received {"connection_id":131633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":131633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:55:58] local.INFO: TCP Data received {"connection_id":131633,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:55:58] local.INFO: Processing buffer {"connection_id":131633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:55:58] local.INFO: Packet analysis {"connection_id":131633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:55:58] local.INFO: Extracted packet for processing {"connection_id":131633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:55:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691765504001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783952510000,"timestamp_ms":1783952510000,"timestamp_seconds":1783952510,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdb0c30"} 
[2026-07-13 19:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-13 19:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:55:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:55: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-07-13 19:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691765504001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691765504001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:55:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:55:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691765504001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":131633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:55:58] local.INFO: GPS data processed {"connection_id":131633,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:55:58] local.INFO: Acknowledgment sent {"connection_id":131633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:56:13] local.INFO: TCP Data received {"connection_id":131632,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdd5238012d7f914005afd938001b011b26..."} 
[2026-07-13 19:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdd5238012d7f914005afd938001b011b26..."} 
[2026-07-13 19:56:13] local.INFO: Processing buffer {"connection_id":131632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdd5238012d7f914005afd938001b011b26..."} 
[2026-07-13 19:56:13] local.INFO: Packet analysis {"connection_id":131632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdd"} 
[2026-07-13 19:56:13] local.INFO: Extracted packet for processing {"connection_id":131632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdd"} 
[2026-07-13 19:56:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691803648001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783952659000,"timestamp_ms":1783952659000,"timestamp_seconds":1783952659,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdd5238"} 
[2026-07-13 19:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":131632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":131632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":131632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691803648001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691803648001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:56:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:56:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691803648001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":131632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:56:13] local.INFO: GPS data processed {"connection_id":131632,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:56:13] local.INFO: Acknowledgment sent {"connection_id":131632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:56:22] local.INFO: TCP Data received {"connection_id":130821,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:56:22] local.INFO: Processing buffer {"connection_id":130821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:56:22] local.INFO: Packet analysis {"connection_id":130821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:56:22] local.INFO: Extracted packet for processing {"connection_id":130821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:56:22] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691778048001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:56:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783952559000,"timestamp_ms":1783952559000,"timestamp_seconds":1783952559,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdbcb98"} 
[2026-07-13 19:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 19:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130821,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130821,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691778048001,"66":24832,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691778048001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:56:22] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:56:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:56:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691778048001,"power":24832,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":130821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481849,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:56:22] local.INFO: GPS data processed {"connection_id":130821,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:56:22] local.INFO: Acknowledgment sent {"connection_id":130821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:56:29] local.INFO: TCP Data received {"connection_id":131633,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:56:29] local.INFO: Processing buffer {"connection_id":131633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:56:29] local.INFO: Packet analysis {"connection_id":131633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:56:29] local.INFO: Extracted packet for processing {"connection_id":131633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:56:29] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691765504001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783952510000,"timestamp_ms":1783952510000,"timestamp_seconds":1783952510,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdb0c30"} 
[2026-07-13 19:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-13 19:56:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:56:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":131633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":131633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":131633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:56: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-07-13 19:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691765504001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691765504001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:56:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:56:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691765504001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":131633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:56:29] local.INFO: GPS data processed {"connection_id":131633,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:56:29] local.INFO: Acknowledgment sent {"connection_id":131633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:56:33] local.INFO: TCP Data received {"connection_id":130822,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:56:33] local.INFO: Processing buffer {"connection_id":130822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:56:33] local.INFO: IMEI packet received {"connection_id":130822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":130822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:56:39] local.INFO: TCP Data received {"connection_id":130822,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:56:39] local.INFO: Processing buffer {"connection_id":130822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:56:39] local.INFO: IMEI packet received {"connection_id":130822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":130822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:56:39] local.INFO: TCP Data received {"connection_id":131634,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:56:39] local.INFO: Processing buffer {"connection_id":131634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:56:39] local.INFO: IMEI packet received {"connection_id":131634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":131634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:56:40] local.INFO: TCP Data received {"connection_id":130822,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdd5238012d7f914005afd938001b011b26..."} 
[2026-07-13 19:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdd5238012d7f914005afd938001b011b26..."} 
[2026-07-13 19:56:40] local.INFO: Processing buffer {"connection_id":130822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdd5238012d7f914005afd938001b011b26..."} 
[2026-07-13 19:56:40] local.INFO: Packet analysis {"connection_id":130822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdd"} 
[2026-07-13 19:56:40] local.INFO: Extracted packet for processing {"connection_id":130822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdd"} 
[2026-07-13 19:56:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691803648001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783952659000,"timestamp_ms":1783952659000,"timestamp_seconds":1783952659,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdd5238"} 
[2026-07-13 19:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691803648001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691803648001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:56:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:56:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691803648001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":130822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:56:40] local.INFO: GPS data processed {"connection_id":130822,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:56:40] local.INFO: Acknowledgment sent {"connection_id":130822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:56:44] local.INFO: TCP Data received {"connection_id":131634,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:56:44] local.INFO: Processing buffer {"connection_id":131634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:56:44] local.INFO: IMEI packet received {"connection_id":131634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":131634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:56:46] local.INFO: TCP Data received {"connection_id":131634,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:56:46] local.INFO: Processing buffer {"connection_id":131634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:56:46] local.INFO: Packet analysis {"connection_id":131634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:56:46] local.INFO: Extracted packet for processing {"connection_id":131634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:56:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691778048001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:56:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783952559000,"timestamp_ms":1783952559000,"timestamp_seconds":1783952559,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdbcb98"} 
[2026-07-13 19:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 19:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131634,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131634,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691778048001,"66":24832,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691778048001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:56:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:56:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:56:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691778048001,"power":24832,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":131634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481852,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:56:46] local.INFO: GPS data processed {"connection_id":131634,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:56:46] local.INFO: Acknowledgment sent {"connection_id":131634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:56:52] local.INFO: TCP Data received {"connection_id":132962,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:56:52] local.INFO: Processing buffer {"connection_id":132962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:56:52] local.INFO: IMEI packet received {"connection_id":132962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":132962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:56:57] local.INFO: TCP Data received {"connection_id":132962,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:56:57] local.INFO: Processing buffer {"connection_id":132962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:56:57] local.INFO: IMEI packet received {"connection_id":132962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":132962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:56:58] local.INFO: TCP Data received {"connection_id":132962,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:56:58] local.INFO: Processing buffer {"connection_id":132962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:56:58] local.INFO: Packet analysis {"connection_id":132962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:56:58] local.INFO: Extracted packet for processing {"connection_id":132962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:56:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691765504001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783952510000,"timestamp_ms":1783952510000,"timestamp_seconds":1783952510,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdb0c30"} 
[2026-07-13 19:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-13 19:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:56:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:56:58] 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-07-13 19:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691765504001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691765504001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:56:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:56:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691765504001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":132962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:56:58] local.INFO: GPS data processed {"connection_id":132962,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:56:58] local.INFO: Acknowledgment sent {"connection_id":132962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:57:11] local.INFO: TCP Data received {"connection_id":130822,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdd5238012d7f914005afd938001b011b26..."} 
[2026-07-13 19:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdd5238012d7f914005afd938001b011b26..."} 
[2026-07-13 19:57:11] local.INFO: Processing buffer {"connection_id":130822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdd5238012d7f914005afd938001b011b26..."} 
[2026-07-13 19:57:11] local.INFO: Packet analysis {"connection_id":130822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdd"} 
[2026-07-13 19:57:11] local.INFO: Extracted packet for processing {"connection_id":130822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdd"} 
[2026-07-13 19:57:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691803648001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783952659000,"timestamp_ms":1783952659000,"timestamp_seconds":1783952659,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdd5238"} 
[2026-07-13 19:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691803648001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691803648001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:57:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:57:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691803648001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":130822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:57:11] local.INFO: GPS data processed {"connection_id":130822,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:57:11] local.INFO: Acknowledgment sent {"connection_id":130822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:57:17] local.INFO: TCP Data received {"connection_id":131634,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:57:17] local.INFO: Processing buffer {"connection_id":131634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:57:17] local.INFO: Packet analysis {"connection_id":131634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:57:17] local.INFO: Extracted packet for processing {"connection_id":131634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:57:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691778048001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:57:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783952559000,"timestamp_ms":1783952559000,"timestamp_seconds":1783952559,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdbcb98"} 
[2026-07-13 19:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:57: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-07-13 19: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 19:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131634,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131634,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691778048001,"66":24832,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691778048001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:57:17] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:57:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:57:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691778048001,"power":24832,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":131634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481855,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:57:18] local.INFO: GPS data processed {"connection_id":131634,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:57:18] local.INFO: Acknowledgment sent {"connection_id":131634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:57:29] local.INFO: TCP Data received {"connection_id":132962,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:57:29] local.INFO: Processing buffer {"connection_id":132962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdb0c30012d1b704007257aa00024001426..."} 
[2026-07-13 19:57:29] local.INFO: Packet analysis {"connection_id":132962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:57:29] local.INFO: Extracted packet for processing {"connection_id":132962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:57:29] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691765504001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783952510000,"timestamp_ms":1783952510000,"timestamp_seconds":1783952510,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdb0c30"} 
[2026-07-13 19:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:57:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-13 19:57:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:57:29] 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-07-13 19:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691765504001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691765504001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:57:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:57:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691765504001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":132962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:57:29] local.INFO: GPS data processed {"connection_id":132962,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:57:29] local.INFO: Acknowledgment sent {"connection_id":132962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:57:39] local.INFO: TCP Data received {"connection_id":130823,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:57:39] local.INFO: Processing buffer {"connection_id":130823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:57:39] local.INFO: IMEI packet received {"connection_id":130823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":130823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:57:39] local.INFO: TCP Data received {"connection_id":132963,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:57:39] local.INFO: Processing buffer {"connection_id":132963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:57:39] local.INFO: IMEI packet received {"connection_id":132963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":132963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:57:44] local.INFO: TCP Data received {"connection_id":130823,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:57:44] local.INFO: Processing buffer {"connection_id":130823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:57:44] local.INFO: IMEI packet received {"connection_id":130823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":130823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:57:44] local.INFO: TCP Data received {"connection_id":132963,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:57:44] local.INFO: Processing buffer {"connection_id":132963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:57:44] local.INFO: IMEI packet received {"connection_id":132963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":132963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:57:45] local.INFO: TCP Data received {"connection_id":130823,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdd5238012d7f914005afd938001b011b26..."} 
[2026-07-13 19:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdd5238012d7f914005afd938001b011b26..."} 
[2026-07-13 19:57:45] local.INFO: Processing buffer {"connection_id":130823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdd5238012d7f914005afd938001b011b26..."} 
[2026-07-13 19:57:45] local.INFO: Packet analysis {"connection_id":130823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdd"} 
[2026-07-13 19:57:45] local.INFO: Extracted packet for processing {"connection_id":130823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdd"} 
[2026-07-13 19:57:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691803648001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783952659000,"timestamp_ms":1783952659000,"timestamp_seconds":1783952659,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdd5238"} 
[2026-07-13 19:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691803648001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691803648001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:57:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:57:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691803648001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":130823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:57:45] local.INFO: GPS data processed {"connection_id":130823,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:57:45] local.INFO: Acknowledgment sent {"connection_id":130823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:57:46] local.INFO: TCP Data received {"connection_id":132963,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:57:46] local.INFO: Processing buffer {"connection_id":132963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:57:46] local.INFO: Packet analysis {"connection_id":132963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:57:46] local.INFO: Extracted packet for processing {"connection_id":132963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:57:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691778048001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:57:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783952559000,"timestamp_ms":1783952559000,"timestamp_seconds":1783952559,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdbcb98"} 
[2026-07-13 19:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 19:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691778048001,"66":24832,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691778048001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:57:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:57:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:57:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691778048001,"power":24832,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":132963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481858,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:57:46] local.INFO: GPS data processed {"connection_id":132963,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:57:46] local.INFO: Acknowledgment sent {"connection_id":132963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:57:49] local.INFO: TCP Data received {"connection_id":130823,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdd5238012d7f914005afd938001b011b26..."} 
[2026-07-13 19:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdd5238012d7f914005afd938001b011b26..."} 
[2026-07-13 19:57:49] local.INFO: Processing buffer {"connection_id":130823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdd5238012d7f914005afd938001b011b26..."} 
[2026-07-13 19:57:49] local.INFO: Packet analysis {"connection_id":130823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdd"} 
[2026-07-13 19:57:49] local.INFO: Extracted packet for processing {"connection_id":130823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdd"} 
[2026-07-13 19:57:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691803648001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783952659000,"timestamp_ms":1783952659000,"timestamp_seconds":1783952659,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdd5238"} 
[2026-07-13 19:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691803648001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691803648001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:57:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:57:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691803648001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":130823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:57:49] local.INFO: GPS data processed {"connection_id":130823,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:57:49] local.INFO: Acknowledgment sent {"connection_id":130823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:57:57] local.INFO: TCP Data received {"connection_id":131635,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:57:57] local.INFO: Processing buffer {"connection_id":131635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:57:57] local.INFO: IMEI packet received {"connection_id":131635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":131635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:58:02] local.INFO: TCP Data received {"connection_id":131635,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:58:02] local.INFO: Processing buffer {"connection_id":131635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:58:02] local.INFO: IMEI packet received {"connection_id":131635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":131635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:58:03] local.INFO: TCP Data received {"connection_id":131635,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdfa3f8012d1b704007257aa00024001425..."} 
[2026-07-13 19:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdfa3f8012d1b704007257aa00024001425..."} 
[2026-07-13 19:58:03] local.INFO: Processing buffer {"connection_id":131635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdfa3f8012d1b704007257aa00024001425..."} 
[2026-07-13 19:58:03] local.INFO: Packet analysis {"connection_id":131635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdf"} 
[2026-07-13 19:58:03] local.INFO: Extracted packet for processing {"connection_id":131635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdf"} 
[2026-07-13 19:58:03] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":37,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691842560001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783952811000,"timestamp_ms":1783952811000,"timestamp_seconds":1783952811,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdfa3f8"} 
[2026-07-13 19:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":131635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":131635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":131635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691842560001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691842560001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:58:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:58:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691842560001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":131635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:58:03] local.INFO: GPS data processed {"connection_id":131635,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:58:03] local.INFO: Acknowledgment sent {"connection_id":131635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:58:18] local.INFO: TCP Data received {"connection_id":132963,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:58:18] local.INFO: Processing buffer {"connection_id":132963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdbcb98012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:58:18] local.INFO: Packet analysis {"connection_id":132963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:58:18] local.INFO: Extracted packet for processing {"connection_id":132963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdb"} 
[2026-07-13 19:58:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 19:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691778048001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:58:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783952559000,"timestamp_ms":1783952559000,"timestamp_seconds":1783952559,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdbcb98"} 
[2026-07-13 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-07-13 19:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 19:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 19:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691778048001,"66":24832,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691778048001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:58:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:58:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:58:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691778048001,"power":24832,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":132963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481861,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:58:18] local.INFO: GPS data processed {"connection_id":132963,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:58:18] local.INFO: Acknowledgment sent {"connection_id":132963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:58:34] local.INFO: TCP Data received {"connection_id":131636,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:58:34] local.INFO: Processing buffer {"connection_id":131636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:58:34] local.INFO: IMEI packet received {"connection_id":131636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":131636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:58:34] local.INFO: TCP Data received {"connection_id":131635,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdfa3f8012d1b704007257aa00024001425..."} 
[2026-07-13 19:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdfa3f8012d1b704007257aa00024001425..."} 
[2026-07-13 19:58:34] local.INFO: Processing buffer {"connection_id":131635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdfa3f8012d1b704007257aa00024001425..."} 
[2026-07-13 19:58:34] local.INFO: Packet analysis {"connection_id":131635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdf"} 
[2026-07-13 19:58:34] local.INFO: Extracted packet for processing {"connection_id":131635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdf"} 
[2026-07-13 19:58:34] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":37,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691842560001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783952811000,"timestamp_ms":1783952811000,"timestamp_seconds":1783952811,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdfa3f8"} 
[2026-07-13 19:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":131635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":131635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":131635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691842560001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691842560001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:58:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:58:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691842560001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":131635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:58:34] local.INFO: GPS data processed {"connection_id":131635,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:58:34] local.INFO: Acknowledgment sent {"connection_id":131635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:58:39] local.INFO: TCP Data received {"connection_id":131636,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:58:39] local.INFO: Processing buffer {"connection_id":131636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:58:39] local.INFO: IMEI packet received {"connection_id":131636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":131636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:58:40] local.INFO: TCP Data received {"connection_id":131636,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdd5238012d7f914005afd938001b011b26..."} 
[2026-07-13 19:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdd5238012d7f914005afd938001b011b26..."} 
[2026-07-13 19:58:40] local.INFO: Processing buffer {"connection_id":131636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdd5238012d7f914005afd938001b011b26..."} 
[2026-07-13 19:58:40] local.INFO: Packet analysis {"connection_id":131636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdd"} 
[2026-07-13 19:58:40] local.INFO: Extracted packet for processing {"connection_id":131636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdd"} 
[2026-07-13 19:58:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691803648001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783952659000,"timestamp_ms":1783952659000,"timestamp_seconds":1783952659,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdd5238"} 
[2026-07-13 19:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691803648001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691803648001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:58:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:58:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691803648001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":131636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:58:40] local.INFO: GPS data processed {"connection_id":131636,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:58:40] local.INFO: Acknowledgment sent {"connection_id":131636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:58:45] local.INFO: TCP Data received {"connection_id":130599,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130599,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:58:45] local.INFO: Processing buffer {"connection_id":130599,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:58:45] local.INFO: IMEI packet received {"connection_id":130599,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":130599,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:58:49] local.INFO: TCP Data received {"connection_id":130599,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130599,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:58:49] local.INFO: Processing buffer {"connection_id":130599,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:58:49] local.INFO: IMEI packet received {"connection_id":130599,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":130599,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:58:51] local.INFO: TCP Data received {"connection_id":130599,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be06360012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be06360012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:58:51] local.INFO: Processing buffer {"connection_id":130599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be06360012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:58:51] local.INFO: Packet analysis {"connection_id":130599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be0"} 
[2026-07-13 19:58:51] local.INFO: Extracted packet for processing {"connection_id":130599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be0"} 
[2026-07-13 19:58:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 19:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691855104001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:58:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783952860000,"timestamp_ms":1783952860000,"timestamp_seconds":1783952860,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be06360"} 
[2026-07-13 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-07-13 19:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 19:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 19:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691855104001,"66":24832,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691855104001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:58:51] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:58:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:58:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691855104001,"power":24832,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":130599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481864,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:58:51] local.INFO: GPS data processed {"connection_id":130599,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:58:51] local.INFO: Acknowledgment sent {"connection_id":130599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:58:52] local.INFO: TCP Data received {"connection_id":132964,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:58:52] local.INFO: Processing buffer {"connection_id":132964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:58:52] local.INFO: IMEI packet received {"connection_id":132964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":132964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:58:57] local.INFO: TCP Data received {"connection_id":132964,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:58:57] local.INFO: Processing buffer {"connection_id":132964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:58:57] local.INFO: IMEI packet received {"connection_id":132964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":132964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:58:58] local.INFO: TCP Data received {"connection_id":132964,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdfa3f8012d1b704007257aa00024001425..."} 
[2026-07-13 19:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdfa3f8012d1b704007257aa00024001425..."} 
[2026-07-13 19:58:58] local.INFO: Processing buffer {"connection_id":132964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdfa3f8012d1b704007257aa00024001425..."} 
[2026-07-13 19:58:58] local.INFO: Packet analysis {"connection_id":132964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdf"} 
[2026-07-13 19:58:58] local.INFO: Extracted packet for processing {"connection_id":132964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdf"} 
[2026-07-13 19:58:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":37,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691842560001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783952811000,"timestamp_ms":1783952811000,"timestamp_seconds":1783952811,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdfa3f8"} 
[2026-07-13 19:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:58:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:58:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691842560001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691842560001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:58:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:58:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691842560001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":132964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:58:58] local.INFO: GPS data processed {"connection_id":132964,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:58:58] local.INFO: Acknowledgment sent {"connection_id":132964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:59:11] local.INFO: TCP Data received {"connection_id":131636,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdd5238012d7f914005afd938001b011b26..."} 
[2026-07-13 19:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdd5238012d7f914005afd938001b011b26..."} 
[2026-07-13 19:59:11] local.INFO: Processing buffer {"connection_id":131636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdd5238012d7f914005afd938001b011b26..."} 
[2026-07-13 19:59:11] local.INFO: Packet analysis {"connection_id":131636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdd"} 
[2026-07-13 19:59:11] local.INFO: Extracted packet for processing {"connection_id":131636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdd"} 
[2026-07-13 19:59:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691803648001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783952659000,"timestamp_ms":1783952659000,"timestamp_seconds":1783952659,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdd5238"} 
[2026-07-13 19:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691803648001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691803648001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:59:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:59:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691803648001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":131636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:59:11] local.INFO: GPS data processed {"connection_id":131636,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:59:11] local.INFO: Acknowledgment sent {"connection_id":131636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:59:23] local.INFO: TCP Data received {"connection_id":130599,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be06360012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be06360012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:59:23] local.INFO: Processing buffer {"connection_id":130599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be06360012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:59:23] local.INFO: Packet analysis {"connection_id":130599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be0"} 
[2026-07-13 19:59:23] local.INFO: Extracted packet for processing {"connection_id":130599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be0"} 
[2026-07-13 19:59:23] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691855104001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:59:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783952860000,"timestamp_ms":1783952860000,"timestamp_seconds":1783952860,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be06360"} 
[2026-07-13 19:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 19:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":130599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":130599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":130599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691855104001,"66":24832,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691855104001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:59:23] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:59:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:59:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691855104001,"power":24832,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":130599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481867,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:59:23] local.INFO: GPS data processed {"connection_id":130599,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:59:23] local.INFO: Acknowledgment sent {"connection_id":130599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:59:29] local.INFO: TCP Data received {"connection_id":132964,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdfa3f8012d1b704007257aa00024001425..."} 
[2026-07-13 19:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdfa3f8012d1b704007257aa00024001425..."} 
[2026-07-13 19:59:29] local.INFO: Processing buffer {"connection_id":132964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdfa3f8012d1b704007257aa00024001425..."} 
[2026-07-13 19:59:29] local.INFO: Packet analysis {"connection_id":132964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdf"} 
[2026-07-13 19:59:29] local.INFO: Extracted packet for processing {"connection_id":132964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdf"} 
[2026-07-13 19:59:29] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":37,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19: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-07-13 19:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691842560001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783952811000,"timestamp_ms":1783952811000,"timestamp_seconds":1783952811,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdfa3f8"} 
[2026-07-13 19:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19: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-07-13 19:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691842560001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691842560001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:59:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:59:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691842560001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":132964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:59:29] local.INFO: GPS data processed {"connection_id":132964,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:59:29] local.INFO: Acknowledgment sent {"connection_id":132964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:59:33] local.INFO: TCP Data received {"connection_id":130600,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:59:33] local.INFO: Processing buffer {"connection_id":130600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:59:33] local.INFO: IMEI packet received {"connection_id":130600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 19:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":130600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:59:39] local.INFO: TCP Data received {"connection_id":131637,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:59:39] local.INFO: Processing buffer {"connection_id":131637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:59:39] local.INFO: IMEI packet received {"connection_id":131637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 19:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":131637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:59:41] local.INFO: TCP Data received {"connection_id":130600,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:59:41] local.INFO: Processing buffer {"connection_id":130600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 19:59:41] local.INFO: IMEI packet received {"connection_id":130600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 19:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":130600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:59:42] local.INFO: TCP Data received {"connection_id":130600,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdd5238012d7f914005afd938001b011b26..."} 
[2026-07-13 19:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdd5238012d7f914005afd938001b011b26..."} 
[2026-07-13 19:59:42] local.INFO: Processing buffer {"connection_id":130600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdd5238012d7f914005afd938001b011b26..."} 
[2026-07-13 19:59:42] local.INFO: Packet analysis {"connection_id":130600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdd"} 
[2026-07-13 19:59:42] local.INFO: Extracted packet for processing {"connection_id":130600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdd"} 
[2026-07-13 19:59:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 19:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691803648001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 19:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 19:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783952659000,"timestamp_ms":1783952659000,"timestamp_seconds":1783952659,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdd5238"} 
[2026-07-13 19:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 19:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 19:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 19:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 19:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691803648001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 19:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 19:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 19:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691803648001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:59:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 19:59:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 19:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 19:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691803648001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 19:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":130600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:59:42] local.INFO: GPS data processed {"connection_id":130600,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:59:42] local.INFO: Acknowledgment sent {"connection_id":130600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:59:44] local.INFO: TCP Data received {"connection_id":131637,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:59:44] local.INFO: Processing buffer {"connection_id":131637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 19:59:44] local.INFO: IMEI packet received {"connection_id":131637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 19:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":131637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:59:46] local.INFO: TCP Data received {"connection_id":131637,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be06360012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be06360012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:59:46] local.INFO: Processing buffer {"connection_id":131637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be06360012cb29ac007823bf8004700e028..."} 
[2026-07-13 19:59:46] local.INFO: Packet analysis {"connection_id":131637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be0"} 
[2026-07-13 19:59:46] local.INFO: Extracted packet for processing {"connection_id":131637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be0"} 
[2026-07-13 19:59:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 19:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691855104001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 19:59:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 19:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783952860000,"timestamp_ms":1783952860000,"timestamp_seconds":1783952860,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be06360"} 
[2026-07-13 19:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 19:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 19:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 19:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 19:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691855104001,"66":24832,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 19:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 19:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 19:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691855104001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:59:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 19:59:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 19:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:59:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 19:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691855104001,"power":24832,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 19:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":131637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481870,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:59:46] local.INFO: GPS data processed {"connection_id":131637,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:59:46] local.INFO: Acknowledgment sent {"connection_id":131637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 19:59:52] local.INFO: TCP Data received {"connection_id":132965,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:59:52] local.INFO: Processing buffer {"connection_id":132965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:59:52] local.INFO: IMEI packet received {"connection_id":132965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 19:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":132965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 19:59:57] local.INFO: TCP Data received {"connection_id":132965,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:59:57] local.INFO: Processing buffer {"connection_id":132965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 19:59:57] local.INFO: IMEI packet received {"connection_id":132965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 19:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":132965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 19:59:58] local.INFO: TCP Data received {"connection_id":132965,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdfa3f8012d1b704007257aa00024001425..."} 
[2026-07-13 19:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdfa3f8012d1b704007257aa00024001425..."} 
[2026-07-13 19:59:58] local.INFO: Processing buffer {"connection_id":132965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdfa3f8012d1b704007257aa00024001425..."} 
[2026-07-13 19:59:58] local.INFO: Packet analysis {"connection_id":132965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdf"} 
[2026-07-13 19:59:58] local.INFO: Extracted packet for processing {"connection_id":132965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdf"} 
[2026-07-13 19:59:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":37,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 19:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 19:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691842560001,"note":"Value kept but may cause issues"} 
[2026-07-13 19:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 19:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 19:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 19:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783952811000,"timestamp_ms":1783952811000,"timestamp_seconds":1783952811,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdfa3f8"} 
[2026-07-13 19:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 19:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 19:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 19:59:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 19:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 19:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 19:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 19:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 19:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 19:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 19:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 19:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 19:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691842560001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 19:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 19:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 19:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691842560001,"description":"Unknown IO ID 0"} 
[2026-07-13 19:59:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 19:59:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 19:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 19:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 19:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691842560001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 19:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":132965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 19:59:58] local.INFO: GPS data processed {"connection_id":132965,"processed":1,"errors":0,"total":1} 
[2026-07-13 19:59:58] local.INFO: Acknowledgment sent {"connection_id":132965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:00:12] local.INFO: TCP Data received {"connection_id":130600,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be1ea00012d7f914005afd938001b011b23..."} 
[2026-07-13 20:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be1ea00012d7f914005afd938001b011b23..."} 
[2026-07-13 20:00:12] local.INFO: Processing buffer {"connection_id":130600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be1ea00012d7f914005afd938001b011b23..."} 
[2026-07-13 20:00:12] local.INFO: Packet analysis {"connection_id":130600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be1"} 
[2026-07-13 20:00:12] local.INFO: Extracted packet for processing {"connection_id":130600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be1"} 
[2026-07-13 20:00:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691880704001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783952960000,"timestamp_ms":1783952960000,"timestamp_seconds":1783952960,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be1ea00"} 
[2026-07-13 20:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 20:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691880704001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691880704001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:00:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:00:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691880704001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":130600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:00:12] local.INFO: GPS data processed {"connection_id":130600,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:00:12] local.INFO: Acknowledgment sent {"connection_id":130600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:00:17] local.INFO: TCP Data received {"connection_id":131637,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be06360012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be06360012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:00:17] local.INFO: Processing buffer {"connection_id":131637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be06360012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:00:17] local.INFO: Packet analysis {"connection_id":131637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be0"} 
[2026-07-13 20:00:17] local.INFO: Extracted packet for processing {"connection_id":131637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be0"} 
[2026-07-13 20:00:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 20:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691855104001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:00:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 20:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783952860000,"timestamp_ms":1783952860000,"timestamp_seconds":1783952860,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be06360"} 
[2026-07-13 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-07-13 20:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 20:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 20:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691855104001,"66":24832,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691855104001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:00:17] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:00:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:00:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 20:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691855104001,"power":24832,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 20:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":131637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481873,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:00:18] local.INFO: GPS data processed {"connection_id":131637,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:00:18] local.INFO: Acknowledgment sent {"connection_id":131637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:00:29] local.INFO: TCP Data received {"connection_id":132965,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdfa3f8012d1b704007257aa00024001425..."} 
[2026-07-13 20:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdfa3f8012d1b704007257aa00024001425..."} 
[2026-07-13 20:00:29] local.INFO: Processing buffer {"connection_id":132965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdfa3f8012d1b704007257aa00024001425..."} 
[2026-07-13 20:00:29] local.INFO: Packet analysis {"connection_id":132965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdf"} 
[2026-07-13 20:00:29] local.INFO: Extracted packet for processing {"connection_id":132965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdf"} 
[2026-07-13 20:00:29] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":37,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 20:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691842560001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 20:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 20:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783952811000,"timestamp_ms":1783952811000,"timestamp_seconds":1783952811,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdfa3f8"} 
[2026-07-13 20:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 20:00:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:00:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691842560001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 20:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691842560001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:00:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 20:00:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 20:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691842560001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 20:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":132965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:00:29] local.INFO: GPS data processed {"connection_id":132965,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:00:29] local.INFO: Acknowledgment sent {"connection_id":132965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:00:39] local.INFO: TCP Data received {"connection_id":130601,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:00:39] local.INFO: Processing buffer {"connection_id":130601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:00:39] local.INFO: IMEI packet received {"connection_id":130601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":130601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:00:39] local.INFO: TCP Data received {"connection_id":130602,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130602,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:00:39] local.INFO: Processing buffer {"connection_id":130602,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:00:39] local.INFO: IMEI packet received {"connection_id":130602,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":130602,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:00:44] local.INFO: TCP Data received {"connection_id":130602,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130602,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:00:44] local.INFO: Processing buffer {"connection_id":130602,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:00:44] local.INFO: IMEI packet received {"connection_id":130602,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":130602,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:00:46] local.INFO: TCP Data received {"connection_id":130602,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be06360012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be06360012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:00:46] local.INFO: Processing buffer {"connection_id":130602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be06360012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:00:46] local.INFO: Packet analysis {"connection_id":130602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be0"} 
[2026-07-13 20:00:46] local.INFO: Extracted packet for processing {"connection_id":130602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be0"} 
[2026-07-13 20:00:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 20:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691855104001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:00:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 20:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783952860000,"timestamp_ms":1783952860000,"timestamp_seconds":1783952860,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be06360"} 
[2026-07-13 20:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 20:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130602,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130602,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691855104001,"66":24832,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691855104001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:00:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:00:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:00:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 20:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691855104001,"power":24832,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 20:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":130602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481875,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:00:46] local.INFO: GPS data processed {"connection_id":130602,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:00:46] local.INFO: Acknowledgment sent {"connection_id":130602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:00:52] local.INFO: TCP Data received {"connection_id":131638,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:00:52] local.INFO: Processing buffer {"connection_id":131638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:00:52] local.INFO: IMEI packet received {"connection_id":131638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":131638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:00:53] local.INFO: TCP Data received {"connection_id":130601,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:00:53] local.INFO: Processing buffer {"connection_id":130601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:00:53] local.INFO: IMEI packet received {"connection_id":130601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":130601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:00:54] local.INFO: TCP Data received {"connection_id":130601,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be1ea00012d7f914005afd938001b011b23..."} 
[2026-07-13 20:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be1ea00012d7f914005afd938001b011b23..."} 
[2026-07-13 20:00:54] local.INFO: Processing buffer {"connection_id":130601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be1ea00012d7f914005afd938001b011b23..."} 
[2026-07-13 20:00:54] local.INFO: Packet analysis {"connection_id":130601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be1"} 
[2026-07-13 20:00:54] local.INFO: Extracted packet for processing {"connection_id":130601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be1"} 
[2026-07-13 20:00:54] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691880704001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783952960000,"timestamp_ms":1783952960000,"timestamp_seconds":1783952960,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be1ea00"} 
[2026-07-13 20:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 20:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:00:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:00: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-07-13 20:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691880704001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691880704001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:00:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:00:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691880704001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":130601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:00:54] local.INFO: GPS data processed {"connection_id":130601,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:00:54] local.INFO: Acknowledgment sent {"connection_id":130601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:00:55] local.INFO: TCP Data received {"connection_id":130601,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be1ea00012d7f914005afd938001b011b23..."} 
[2026-07-13 20:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be1ea00012d7f914005afd938001b011b23..."} 
[2026-07-13 20:00:55] local.INFO: Processing buffer {"connection_id":130601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be1ea00012d7f914005afd938001b011b23..."} 
[2026-07-13 20:00:55] local.INFO: Packet analysis {"connection_id":130601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be1"} 
[2026-07-13 20:00:55] local.INFO: Extracted packet for processing {"connection_id":130601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be1"} 
[2026-07-13 20:00:55] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691880704001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783952960000,"timestamp_ms":1783952960000,"timestamp_seconds":1783952960,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be1ea00"} 
[2026-07-13 20:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 20:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691880704001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691880704001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:00:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:00:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691880704001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":130601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:00:55] local.INFO: GPS data processed {"connection_id":130601,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:00:55] local.INFO: Acknowledgment sent {"connection_id":130601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:00:57] local.INFO: TCP Data received {"connection_id":131638,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:00:57] local.INFO: Processing buffer {"connection_id":131638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:00:57] local.INFO: IMEI packet received {"connection_id":131638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":131638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:00:58] local.INFO: TCP Data received {"connection_id":131638,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdfa3f8012d1b704007257aa00024001425..."} 
[2026-07-13 20:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdfa3f8012d1b704007257aa00024001425..."} 
[2026-07-13 20:00:58] local.INFO: Processing buffer {"connection_id":131638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdfa3f8012d1b704007257aa00024001425..."} 
[2026-07-13 20:00:58] local.INFO: Packet analysis {"connection_id":131638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdf"} 
[2026-07-13 20:00:58] local.INFO: Extracted packet for processing {"connection_id":131638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdf"} 
[2026-07-13 20:00:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":37,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 20:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691842560001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 20:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 20:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783952811000,"timestamp_ms":1783952811000,"timestamp_seconds":1783952811,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdfa3f8"} 
[2026-07-13 20:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 20:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:00:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691842560001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 20:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691842560001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:00:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 20:00:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 20:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691842560001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 20:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":131638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:00:58] local.INFO: GPS data processed {"connection_id":131638,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:00:58] local.INFO: Acknowledgment sent {"connection_id":131638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:01:18] local.INFO: TCP Data received {"connection_id":130602,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be06360012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be06360012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:01:18] local.INFO: Processing buffer {"connection_id":130602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be06360012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:01:18] local.INFO: Packet analysis {"connection_id":130602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be0"} 
[2026-07-13 20:01:18] local.INFO: Extracted packet for processing {"connection_id":130602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be0"} 
[2026-07-13 20:01:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 20:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691855104001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:01:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 20:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783952860000,"timestamp_ms":1783952860000,"timestamp_seconds":1783952860,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be06360"} 
[2026-07-13 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-07-13 20:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 20:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 20:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130602,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130602,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691855104001,"66":24832,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691855104001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:01:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:01:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:01:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 20:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691855104001,"power":24832,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 20:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":130602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481879,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:01:18] local.INFO: GPS data processed {"connection_id":130602,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:01:18] local.INFO: Acknowledgment sent {"connection_id":130602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:01:29] local.INFO: TCP Data received {"connection_id":131638,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdfa3f8012d1b704007257aa00024001425..."} 
[2026-07-13 20:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdfa3f8012d1b704007257aa00024001425..."} 
[2026-07-13 20:01:29] local.INFO: Processing buffer {"connection_id":131638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdfa3f8012d1b704007257aa00024001425..."} 
[2026-07-13 20:01:29] local.INFO: Packet analysis {"connection_id":131638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdf"} 
[2026-07-13 20:01:29] local.INFO: Extracted packet for processing {"connection_id":131638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdf"} 
[2026-07-13 20:01:29] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":37,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 20:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691842560001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 20:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 20:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783952811000,"timestamp_ms":1783952811000,"timestamp_seconds":1783952811,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdfa3f8"} 
[2026-07-13 20:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:01:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 20:01:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:01:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":131638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":131638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":131638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:01:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691842560001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 20:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691842560001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:01:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 20:01:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 20:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691842560001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 20:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":131638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:01:29] local.INFO: GPS data processed {"connection_id":131638,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:01:29] local.INFO: Acknowledgment sent {"connection_id":131638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:01:33] local.INFO: TCP Data received {"connection_id":130603,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:01:33] local.INFO: Processing buffer {"connection_id":130603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:01:33] local.INFO: IMEI packet received {"connection_id":130603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":130603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:01:39] local.INFO: TCP Data received {"connection_id":130603,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:01:39] local.INFO: Processing buffer {"connection_id":130603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:01:39] local.INFO: IMEI packet received {"connection_id":130603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":130603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:01:40] local.INFO: TCP Data received {"connection_id":130603,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be1ea00012d7f914005afd938001b011b23..."} 
[2026-07-13 20:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be1ea00012d7f914005afd938001b011b23..."} 
[2026-07-13 20:01:40] local.INFO: Processing buffer {"connection_id":130603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be1ea00012d7f914005afd938001b011b23..."} 
[2026-07-13 20:01:40] local.INFO: Packet analysis {"connection_id":130603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be1"} 
[2026-07-13 20:01:40] local.INFO: Extracted packet for processing {"connection_id":130603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be1"} 
[2026-07-13 20:01:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691880704001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783952960000,"timestamp_ms":1783952960000,"timestamp_seconds":1783952960,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be1ea00"} 
[2026-07-13 20:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 20:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691880704001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691880704001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:01:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:01:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691880704001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":130603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:01:40] local.INFO: GPS data processed {"connection_id":130603,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:01:40] local.INFO: Acknowledgment sent {"connection_id":130603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:01:44] local.INFO: TCP Data received {"connection_id":130824,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130824,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:01:44] local.INFO: Processing buffer {"connection_id":130824,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:01:44] local.INFO: IMEI packet received {"connection_id":130824,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":130824,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:01:49] local.INFO: TCP Data received {"connection_id":130824,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130824,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:01:49] local.INFO: Processing buffer {"connection_id":130824,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:01:49] local.INFO: IMEI packet received {"connection_id":130824,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":130824,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:01:51] local.INFO: TCP Data received {"connection_id":130824,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be06360012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be06360012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:01:51] local.INFO: Processing buffer {"connection_id":130824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be06360012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:01:51] local.INFO: Packet analysis {"connection_id":130824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be0"} 
[2026-07-13 20:01:51] local.INFO: Extracted packet for processing {"connection_id":130824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be0"} 
[2026-07-13 20:01:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 20: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-07-13 20:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691855104001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:01:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 20:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783952860000,"timestamp_ms":1783952860000,"timestamp_seconds":1783952860,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be06360"} 
[2026-07-13 20:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 20:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20: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-07-13 20:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130824,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130824,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691855104001,"66":24832,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691855104001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:01:51] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:01:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:01:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 20:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691855104001,"power":24832,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 20:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":130824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481882,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:01:51] local.INFO: GPS data processed {"connection_id":130824,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:01:51] local.INFO: Acknowledgment sent {"connection_id":130824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:01:52] local.INFO: TCP Data received {"connection_id":132966,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:01:52] local.INFO: Processing buffer {"connection_id":132966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:01:52] local.INFO: IMEI packet received {"connection_id":132966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":132966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:01:55] local.INFO: TCP Data received {"connection_id":130824,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be06360012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be06360012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:01:55] local.INFO: Processing buffer {"connection_id":130824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be06360012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:01:55] local.INFO: Packet analysis {"connection_id":130824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be0"} 
[2026-07-13 20:01:55] local.INFO: Extracted packet for processing {"connection_id":130824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be0"} 
[2026-07-13 20:01:55] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 20:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691855104001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:01:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 20:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783952860000,"timestamp_ms":1783952860000,"timestamp_seconds":1783952860,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be06360"} 
[2026-07-13 20:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 20:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130824,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130824,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691855104001,"66":24832,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691855104001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:01:55] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:01:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:01:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 20:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691855104001,"power":24832,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 20:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":130824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481883,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:01:56] local.INFO: GPS data processed {"connection_id":130824,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:01:56] local.INFO: Acknowledgment sent {"connection_id":130824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:01:57] local.INFO: TCP Data received {"connection_id":132966,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:01:57] local.INFO: Processing buffer {"connection_id":132966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:01:57] local.INFO: IMEI packet received {"connection_id":132966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":132966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:01:58] local.INFO: TCP Data received {"connection_id":132966,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdfa3f8012d1b704007257aa00024001425..."} 
[2026-07-13 20:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdfa3f8012d1b704007257aa00024001425..."} 
[2026-07-13 20:01:58] local.INFO: Processing buffer {"connection_id":132966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdfa3f8012d1b704007257aa00024001425..."} 
[2026-07-13 20:01:58] local.INFO: Packet analysis {"connection_id":132966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdf"} 
[2026-07-13 20:01:58] local.INFO: Extracted packet for processing {"connection_id":132966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdf"} 
[2026-07-13 20:01:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":37,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 20:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691842560001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 20:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 20:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783952811000,"timestamp_ms":1783952811000,"timestamp_seconds":1783952811,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdfa3f8"} 
[2026-07-13 20:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 20:01:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:01:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:01:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691842560001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 20:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691842560001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:01:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 20:01:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 20:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691842560001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 20:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":132966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:01:58] local.INFO: GPS data processed {"connection_id":132966,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:01:58] local.INFO: Acknowledgment sent {"connection_id":132966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:02:11] local.INFO: TCP Data received {"connection_id":130603,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be1ea00012d7f914005afd938001b011b23..."} 
[2026-07-13 20:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be1ea00012d7f914005afd938001b011b23..."} 
[2026-07-13 20:02:11] local.INFO: Processing buffer {"connection_id":130603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be1ea00012d7f914005afd938001b011b23..."} 
[2026-07-13 20:02:11] local.INFO: Packet analysis {"connection_id":130603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be1"} 
[2026-07-13 20:02:11] local.INFO: Extracted packet for processing {"connection_id":130603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be1"} 
[2026-07-13 20:02:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691880704001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783952960000,"timestamp_ms":1783952960000,"timestamp_seconds":1783952960,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be1ea00"} 
[2026-07-13 20:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 20:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691880704001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691880704001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:02:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:02:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691880704001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":130603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:02:11] local.INFO: GPS data processed {"connection_id":130603,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:02:11] local.INFO: Acknowledgment sent {"connection_id":130603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:02:29] local.INFO: TCP Data received {"connection_id":132966,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bdfa3f8012d1b704007257aa00024001425..."} 
[2026-07-13 20:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bdfa3f8012d1b704007257aa00024001425..."} 
[2026-07-13 20:02:29] local.INFO: Processing buffer {"connection_id":132966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bdfa3f8012d1b704007257aa00024001425..."} 
[2026-07-13 20:02:29] local.INFO: Packet analysis {"connection_id":132966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bdf"} 
[2026-07-13 20:02:29] local.INFO: Extracted packet for processing {"connection_id":132966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bdf"} 
[2026-07-13 20:02:29] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":37,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 20:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691842560001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 20:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 20:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783952811000,"timestamp_ms":1783952811000,"timestamp_seconds":1783952811,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bdfa3f8"} 
[2026-07-13 20:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 20:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:02:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691842560001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 20:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691842560001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:02:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 20:02:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 20:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691842560001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 20:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":132966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:02:29] local.INFO: GPS data processed {"connection_id":132966,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:02:29] local.INFO: Acknowledgment sent {"connection_id":132966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:02:34] local.INFO: TCP Data received {"connection_id":130604,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:02:34] local.INFO: Processing buffer {"connection_id":130604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:02:34] local.INFO: IMEI packet received {"connection_id":130604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":130604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:02:39] local.INFO: TCP Data received {"connection_id":130604,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:02:39] local.INFO: Processing buffer {"connection_id":130604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:02:39] local.INFO: IMEI packet received {"connection_id":130604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":130604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:02:39] local.INFO: TCP Data received {"connection_id":130604,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be1ea00012d7f914005afd938001b011b23..."} 
[2026-07-13 20:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be1ea00012d7f914005afd938001b011b23..."} 
[2026-07-13 20:02:40] local.INFO: Processing buffer {"connection_id":130604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be1ea00012d7f914005afd938001b011b23..."} 
[2026-07-13 20:02:40] local.INFO: Packet analysis {"connection_id":130604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be1"} 
[2026-07-13 20:02:40] local.INFO: Extracted packet for processing {"connection_id":130604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be1"} 
[2026-07-13 20:02:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691880704001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783952960000,"timestamp_ms":1783952960000,"timestamp_seconds":1783952960,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be1ea00"} 
[2026-07-13 20:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 20:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691880704001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691880704001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:02:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:02:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691880704001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":130604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:02:40] local.INFO: GPS data processed {"connection_id":130604,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:02:40] local.INFO: Acknowledgment sent {"connection_id":130604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:02:40] local.INFO: TCP Data received {"connection_id":130605,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:02:40] local.INFO: Processing buffer {"connection_id":130605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:02:40] local.INFO: IMEI packet received {"connection_id":130605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":130605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:02:44] local.INFO: TCP Data received {"connection_id":130605,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:02:44] local.INFO: Processing buffer {"connection_id":130605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:02:44] local.INFO: IMEI packet received {"connection_id":130605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":130605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:02:47] local.INFO: TCP Data received {"connection_id":130605,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be06360012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be06360012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:02:47] local.INFO: Processing buffer {"connection_id":130605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be06360012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:02:47] local.INFO: Packet analysis {"connection_id":130605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be0"} 
[2026-07-13 20:02:47] local.INFO: Extracted packet for processing {"connection_id":130605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be0"} 
[2026-07-13 20:02:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 20:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691855104001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:02:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 20:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783952860000,"timestamp_ms":1783952860000,"timestamp_seconds":1783952860,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be06360"} 
[2026-07-13 20:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 20:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691855104001,"66":24832,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691855104001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:02:47] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:02:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:02:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 20:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691855104001,"power":24832,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 20:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":130605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481888,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:02:47] local.INFO: GPS data processed {"connection_id":130605,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:02:47] local.INFO: Acknowledgment sent {"connection_id":130605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:02:57] local.INFO: TCP Data received {"connection_id":132967,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:02:57] local.INFO: Processing buffer {"connection_id":132967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:02:57] local.INFO: IMEI packet received {"connection_id":132967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":132967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:03:02] local.INFO: TCP Data received {"connection_id":132967,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:03:02] local.INFO: Processing buffer {"connection_id":132967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:03:02] local.INFO: IMEI packet received {"connection_id":132967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":132967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:03:03] local.INFO: TCP Data received {"connection_id":132967,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be43bc0012d1b704007257aa00024001426..."} 
[2026-07-13 20:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be43bc0012d1b704007257aa00024001426..."} 
[2026-07-13 20:03:03] local.INFO: Processing buffer {"connection_id":132967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be43bc0012d1b704007257aa00024001426..."} 
[2026-07-13 20:03:03] local.INFO: Packet analysis {"connection_id":132967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:03:03] local.INFO: Extracted packet for processing {"connection_id":132967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:03:03] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 20:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691919616001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 20:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 20:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783953112000,"timestamp_ms":1783953112000,"timestamp_seconds":1783953112,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be43bc0"} 
[2026-07-13 20:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 20:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":132967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":132967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":132967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691919616001,"66":2155,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 20:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691919616001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:03:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 20:03:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 20:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691919616001,"power":2155,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 20:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":132967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:03:03] local.INFO: GPS data processed {"connection_id":132967,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:03:03] local.INFO: Acknowledgment sent {"connection_id":132967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:03:08] local.INFO: TCP Data received {"connection_id":132967,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be43bc0012d1b704007257aa00024001426..."} 
[2026-07-13 20:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be43bc0012d1b704007257aa00024001426..."} 
[2026-07-13 20:03:08] local.INFO: Processing buffer {"connection_id":132967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be43bc0012d1b704007257aa00024001426..."} 
[2026-07-13 20:03:08] local.INFO: Packet analysis {"connection_id":132967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:03:08] local.INFO: Extracted packet for processing {"connection_id":132967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:03:08] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 20:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691919616001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 20:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 20:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783953112000,"timestamp_ms":1783953112000,"timestamp_seconds":1783953112,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be43bc0"} 
[2026-07-13 20:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 20:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691919616001,"66":2155,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 20:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691919616001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:03:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 20:03:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 20:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691919616001,"power":2155,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 20:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":132967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:03:08] local.INFO: GPS data processed {"connection_id":132967,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:03:08] local.INFO: Acknowledgment sent {"connection_id":132967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:03:10] local.INFO: TCP Data received {"connection_id":130604,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be1ea00012d7f914005afd938001b011b23..."} 
[2026-07-13 20:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be1ea00012d7f914005afd938001b011b23..."} 
[2026-07-13 20:03:10] local.INFO: Processing buffer {"connection_id":130604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be1ea00012d7f914005afd938001b011b23..."} 
[2026-07-13 20:03:10] local.INFO: Packet analysis {"connection_id":130604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be1"} 
[2026-07-13 20:03:10] local.INFO: Extracted packet for processing {"connection_id":130604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be1"} 
[2026-07-13 20:03:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691880704001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783952960000,"timestamp_ms":1783952960000,"timestamp_seconds":1783952960,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be1ea00"} 
[2026-07-13 20:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 20:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691880704001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691880704001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:03:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:03:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691880704001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":130604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:03:10] local.INFO: GPS data processed {"connection_id":130604,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:03:10] local.INFO: Acknowledgment sent {"connection_id":130604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:03:24] local.INFO: TCP Data received {"connection_id":130605,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be06360012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be06360012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:03:24] local.INFO: Processing buffer {"connection_id":130605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be06360012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:03:24] local.INFO: Packet analysis {"connection_id":130605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be0"} 
[2026-07-13 20:03:24] local.INFO: Extracted packet for processing {"connection_id":130605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be0"} 
[2026-07-13 20:03:24] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 20:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691855104001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:03:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 20:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783952860000,"timestamp_ms":1783952860000,"timestamp_seconds":1783952860,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be06360"} 
[2026-07-13 20:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:03: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-07-13 20: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 20:03:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:03:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":130605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":130605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":130605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691855104001,"66":24832,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691855104001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:03:24] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:03:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:03:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 20:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691855104001,"power":24832,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 20:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":130605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481892,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:03:24] local.INFO: GPS data processed {"connection_id":130605,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:03:24] local.INFO: Acknowledgment sent {"connection_id":130605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:03:33] local.INFO: TCP Data received {"connection_id":131639,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:03:33] local.INFO: Processing buffer {"connection_id":131639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:03:33] local.INFO: IMEI packet received {"connection_id":131639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":131639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:03:39] local.INFO: TCP Data received {"connection_id":131639,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:03:39] local.INFO: Processing buffer {"connection_id":131639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:03:39] local.INFO: IMEI packet received {"connection_id":131639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":131639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:03:39] local.INFO: TCP Data received {"connection_id":130825,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130825,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:03:39] local.INFO: Processing buffer {"connection_id":130825,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:03:39] local.INFO: IMEI packet received {"connection_id":130825,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":130825,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:03:40] local.INFO: TCP Data received {"connection_id":131639,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be1ea00012d7f914005afd938001b011b23..."} 
[2026-07-13 20:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be1ea00012d7f914005afd938001b011b23..."} 
[2026-07-13 20:03:40] local.INFO: Processing buffer {"connection_id":131639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be1ea00012d7f914005afd938001b011b23..."} 
[2026-07-13 20:03:40] local.INFO: Packet analysis {"connection_id":131639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be1"} 
[2026-07-13 20:03:40] local.INFO: Extracted packet for processing {"connection_id":131639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be1"} 
[2026-07-13 20:03:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691880704001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783952960000,"timestamp_ms":1783952960000,"timestamp_seconds":1783952960,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be1ea00"} 
[2026-07-13 20:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 20:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691880704001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691880704001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:03:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:03:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691880704001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":131639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:03:40] local.INFO: GPS data processed {"connection_id":131639,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:03:40] local.INFO: Acknowledgment sent {"connection_id":131639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:03:44] local.INFO: TCP Data received {"connection_id":130825,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130825,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:03:44] local.INFO: Processing buffer {"connection_id":130825,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:03:44] local.INFO: IMEI packet received {"connection_id":130825,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":130825,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:03:46] local.INFO: TCP Data received {"connection_id":130825,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be4fb28012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be4fb28012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:03:46] local.INFO: Processing buffer {"connection_id":130825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be4fb28012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:03:46] local.INFO: Packet analysis {"connection_id":130825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:03:46] local.INFO: Extracted packet for processing {"connection_id":130825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:03:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 20:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691932160001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:03:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 20:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783953161000,"timestamp_ms":1783953161000,"timestamp_seconds":1783953161,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be4fb28"} 
[2026-07-13 20:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 20:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691932160001,"66":24962,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691932160001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:03:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:03:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:03:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 20:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691932160001,"power":24962,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 20:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":130825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481894,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:03:46] local.INFO: GPS data processed {"connection_id":130825,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:03:46] local.INFO: Acknowledgment sent {"connection_id":130825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:03:52] local.INFO: TCP Data received {"connection_id":132968,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:03:52] local.INFO: Processing buffer {"connection_id":132968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:03:52] local.INFO: IMEI packet received {"connection_id":132968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":132968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:03:57] local.INFO: TCP Data received {"connection_id":132968,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:03:57] local.INFO: Processing buffer {"connection_id":132968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:03:57] local.INFO: IMEI packet received {"connection_id":132968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":132968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:03:58] local.INFO: TCP Data received {"connection_id":132968,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be43bc0012d1b704007257aa00024001426..."} 
[2026-07-13 20:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be43bc0012d1b704007257aa00024001426..."} 
[2026-07-13 20:03:58] local.INFO: Processing buffer {"connection_id":132968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be43bc0012d1b704007257aa00024001426..."} 
[2026-07-13 20:03:58] local.INFO: Packet analysis {"connection_id":132968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:03:58] local.INFO: Extracted packet for processing {"connection_id":132968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:03:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 20:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691919616001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 20:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 20:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783953112000,"timestamp_ms":1783953112000,"timestamp_seconds":1783953112,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be43bc0"} 
[2026-07-13 20:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 20:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:03:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691919616001,"66":2155,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 20:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691919616001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:03:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 20:03:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 20:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691919616001,"power":2155,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 20:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":132968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:03:58] local.INFO: GPS data processed {"connection_id":132968,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:03:58] local.INFO: Acknowledgment sent {"connection_id":132968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:04:11] local.INFO: TCP Data received {"connection_id":131639,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be1ea00012d7f914005afd938001b011b23..."} 
[2026-07-13 20:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be1ea00012d7f914005afd938001b011b23..."} 
[2026-07-13 20:04:11] local.INFO: Processing buffer {"connection_id":131639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be1ea00012d7f914005afd938001b011b23..."} 
[2026-07-13 20:04:11] local.INFO: Packet analysis {"connection_id":131639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be1"} 
[2026-07-13 20:04:11] local.INFO: Extracted packet for processing {"connection_id":131639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be1"} 
[2026-07-13 20:04:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691880704001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783952960000,"timestamp_ms":1783952960000,"timestamp_seconds":1783952960,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be1ea00"} 
[2026-07-13 20:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 20:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691880704001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691880704001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:04:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:04:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691880704001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":131639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:04:11] local.INFO: GPS data processed {"connection_id":131639,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:04:11] local.INFO: Acknowledgment sent {"connection_id":131639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:04:17] local.INFO: TCP Data received {"connection_id":130825,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be4fb28012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be4fb28012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:04:17] local.INFO: Processing buffer {"connection_id":130825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be4fb28012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:04:17] local.INFO: Packet analysis {"connection_id":130825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:04:17] local.INFO: Extracted packet for processing {"connection_id":130825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:04:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 20:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691932160001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:04:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 20:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783953161000,"timestamp_ms":1783953161000,"timestamp_seconds":1783953161,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be4fb28"} 
[2026-07-13 20:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 20:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691932160001,"66":24962,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691932160001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:04:17] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:04:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:04:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 20:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691932160001,"power":24962,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 20:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":130825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481897,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:04:18] local.INFO: GPS data processed {"connection_id":130825,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:04:18] local.INFO: Acknowledgment sent {"connection_id":130825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:04:29] local.INFO: TCP Data received {"connection_id":132968,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be43bc0012d1b704007257aa00024001426..."} 
[2026-07-13 20:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be43bc0012d1b704007257aa00024001426..."} 
[2026-07-13 20:04:29] local.INFO: Processing buffer {"connection_id":132968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be43bc0012d1b704007257aa00024001426..."} 
[2026-07-13 20:04:29] local.INFO: Packet analysis {"connection_id":132968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:04:29] local.INFO: Extracted packet for processing {"connection_id":132968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:04:29] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 20: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-07-13 20:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691919616001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 20:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 20:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783953112000,"timestamp_ms":1783953112000,"timestamp_seconds":1783953112,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be43bc0"} 
[2026-07-13 20:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 20:04:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:04:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691919616001,"66":2155,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 20:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691919616001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:04:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 20:04:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 20:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691919616001,"power":2155,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 20:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":132968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:04:29] local.INFO: GPS data processed {"connection_id":132968,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:04:29] local.INFO: Acknowledgment sent {"connection_id":132968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:04:34] local.INFO: TCP Data received {"connection_id":130826,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:04:34] local.INFO: Processing buffer {"connection_id":130826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:04:34] local.INFO: IMEI packet received {"connection_id":130826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":130826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:04:39] local.INFO: TCP Data received {"connection_id":130826,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:04:39] local.INFO: Processing buffer {"connection_id":130826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:04:39] local.INFO: IMEI packet received {"connection_id":130826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":130826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:04:39] local.INFO: TCP Data received {"connection_id":130606,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130606,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:04:39] local.INFO: Processing buffer {"connection_id":130606,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:04:39] local.INFO: IMEI packet received {"connection_id":130606,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":130606,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:04:39] local.INFO: TCP Data received {"connection_id":130826,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be1ea00012d7f914005afd938001b011b23..."} 
[2026-07-13 20:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be1ea00012d7f914005afd938001b011b23..."} 
[2026-07-13 20:04:39] local.INFO: Processing buffer {"connection_id":130826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be1ea00012d7f914005afd938001b011b23..."} 
[2026-07-13 20:04:39] local.INFO: Packet analysis {"connection_id":130826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be1"} 
[2026-07-13 20:04:39] local.INFO: Extracted packet for processing {"connection_id":130826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be1"} 
[2026-07-13 20:04:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691880704001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783952960000,"timestamp_ms":1783952960000,"timestamp_seconds":1783952960,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be1ea00"} 
[2026-07-13 20:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 20:04: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-07-13 20:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691880704001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691880704001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:04:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:04:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691880704001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":130826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:04:39] local.INFO: GPS data processed {"connection_id":130826,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:04:39] local.INFO: Acknowledgment sent {"connection_id":130826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:04:44] local.INFO: TCP Data received {"connection_id":130606,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130606,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:04:44] local.INFO: Processing buffer {"connection_id":130606,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:04:44] local.INFO: IMEI packet received {"connection_id":130606,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":130606,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:04:46] local.INFO: TCP Data received {"connection_id":130606,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be4fb28012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be4fb28012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:04:46] local.INFO: Processing buffer {"connection_id":130606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be4fb28012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:04:46] local.INFO: Packet analysis {"connection_id":130606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:04:46] local.INFO: Extracted packet for processing {"connection_id":130606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:04:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 20:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691932160001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:04:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 20:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783953161000,"timestamp_ms":1783953161000,"timestamp_seconds":1783953161,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be4fb28"} 
[2026-07-13 20:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 20:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691932160001,"66":24962,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691932160001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:04:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:04:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:04:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 20:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691932160001,"power":24962,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 20:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":130606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481900,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:04:46] local.INFO: GPS data processed {"connection_id":130606,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:04:46] local.INFO: Acknowledgment sent {"connection_id":130606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:04:52] local.INFO: TCP Data received {"connection_id":131640,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:04:52] local.INFO: Processing buffer {"connection_id":131640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:04:52] local.INFO: IMEI packet received {"connection_id":131640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":131640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:04:57] local.INFO: TCP Data received {"connection_id":131640,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:04:57] local.INFO: Processing buffer {"connection_id":131640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:04:57] local.INFO: IMEI packet received {"connection_id":131640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":131640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:04:59] local.INFO: TCP Data received {"connection_id":131640,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be43bc0012d1b704007257aa00024001426..."} 
[2026-07-13 20:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be43bc0012d1b704007257aa00024001426..."} 
[2026-07-13 20:04:59] local.INFO: Processing buffer {"connection_id":131640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be43bc0012d1b704007257aa00024001426..."} 
[2026-07-13 20:04:59] local.INFO: Packet analysis {"connection_id":131640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:04:59] local.INFO: Extracted packet for processing {"connection_id":131640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:04:59] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 20:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691919616001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 20:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 20:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783953112000,"timestamp_ms":1783953112000,"timestamp_seconds":1783953112,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be43bc0"} 
[2026-07-13 20:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 20:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":131640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":131640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":131640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691919616001,"66":2155,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 20:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691919616001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:04:59] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 20:04:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 20:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691919616001,"power":2155,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 20:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":131640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:04:59] local.INFO: GPS data processed {"connection_id":131640,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:04:59] local.INFO: Acknowledgment sent {"connection_id":131640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:05:11] local.INFO: TCP Data received {"connection_id":130826,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be681c8012d7f914005afd938001b011b24..."} 
[2026-07-13 20:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be681c8012d7f914005afd938001b011b24..."} 
[2026-07-13 20:05:11] local.INFO: Processing buffer {"connection_id":130826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be681c8012d7f914005afd938001b011b24..."} 
[2026-07-13 20:05:11] local.INFO: Packet analysis {"connection_id":130826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be6"} 
[2026-07-13 20:05:11] local.INFO: Extracted packet for processing {"connection_id":130826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be6"} 
[2026-07-13 20:05:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691957760001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783953261000,"timestamp_ms":1783953261000,"timestamp_seconds":1783953261,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be681c8"} 
[2026-07-13 20:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691957760001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691957760001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:05:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:05:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691957760001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":130826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:05:11] local.INFO: GPS data processed {"connection_id":130826,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:05:11] local.INFO: Acknowledgment sent {"connection_id":130826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:05:18] local.INFO: TCP Data received {"connection_id":130606,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be4fb28012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be4fb28012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:05:18] local.INFO: Processing buffer {"connection_id":130606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be4fb28012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:05:18] local.INFO: Packet analysis {"connection_id":130606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:05:18] local.INFO: Extracted packet for processing {"connection_id":130606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:05:18] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 20:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691932160001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:05:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 20:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783953161000,"timestamp_ms":1783953161000,"timestamp_seconds":1783953161,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be4fb28"} 
[2026-07-13 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-07-13 20:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 20:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 20:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691932160001,"66":24962,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691932160001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:05:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:05:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:05:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 20:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691932160001,"power":24962,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 20:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":130606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481903,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:05:18] local.INFO: GPS data processed {"connection_id":130606,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:05:18] local.INFO: Acknowledgment sent {"connection_id":130606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:05:30] local.INFO: TCP Data received {"connection_id":131640,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be43bc0012d1b704007257aa00024001426..."} 
[2026-07-13 20:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be43bc0012d1b704007257aa00024001426..."} 
[2026-07-13 20:05:30] local.INFO: Processing buffer {"connection_id":131640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be43bc0012d1b704007257aa00024001426..."} 
[2026-07-13 20:05:30] local.INFO: Packet analysis {"connection_id":131640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:05:30] local.INFO: Extracted packet for processing {"connection_id":131640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:05:30] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 20:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691919616001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 20:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 20:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783953112000,"timestamp_ms":1783953112000,"timestamp_seconds":1783953112,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be43bc0"} 
[2026-07-13 20:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 20:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":131640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":131640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":131640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691919616001,"66":2155,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 20:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691919616001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:05:30] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 20:05:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 20:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691919616001,"power":2155,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 20:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":131640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:05:30] local.INFO: GPS data processed {"connection_id":131640,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:05:30] local.INFO: Acknowledgment sent {"connection_id":131640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:05:39] local.INFO: TCP Data received {"connection_id":132969,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:05:39] local.INFO: Processing buffer {"connection_id":132969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:05:39] local.INFO: IMEI packet received {"connection_id":132969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":132969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:05:44] local.INFO: TCP Data received {"connection_id":132969,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:05:44] local.INFO: Processing buffer {"connection_id":132969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:05:44] local.INFO: IMEI packet received {"connection_id":132969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":132969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:05:45] local.INFO: TCP Data received {"connection_id":132969,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be681c8012d7f914005afd938001b011b24..."} 
[2026-07-13 20:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be681c8012d7f914005afd938001b011b24..."} 
[2026-07-13 20:05:45] local.INFO: Processing buffer {"connection_id":132969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be681c8012d7f914005afd938001b011b24..."} 
[2026-07-13 20:05:45] local.INFO: Packet analysis {"connection_id":132969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be6"} 
[2026-07-13 20:05:45] local.INFO: Extracted packet for processing {"connection_id":132969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be6"} 
[2026-07-13 20:05:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691957760001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783953261000,"timestamp_ms":1783953261000,"timestamp_seconds":1783953261,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be681c8"} 
[2026-07-13 20:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691957760001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691957760001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:05:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:05:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691957760001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":132969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:05:45] local.INFO: GPS data processed {"connection_id":132969,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:05:45] local.INFO: Acknowledgment sent {"connection_id":132969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:05:45] local.INFO: TCP Data received {"connection_id":132970,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:05:45] local.INFO: Processing buffer {"connection_id":132970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:05:45] local.INFO: IMEI packet received {"connection_id":132970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":132970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:05:49] local.INFO: TCP Data received {"connection_id":132969,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be681c8012d7f914005afd938001b011b24..."} 
[2026-07-13 20:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be681c8012d7f914005afd938001b011b24..."} 
[2026-07-13 20:05:49] local.INFO: Processing buffer {"connection_id":132969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be681c8012d7f914005afd938001b011b24..."} 
[2026-07-13 20:05:49] local.INFO: Packet analysis {"connection_id":132969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be6"} 
[2026-07-13 20:05:49] local.INFO: Extracted packet for processing {"connection_id":132969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be6"} 
[2026-07-13 20:05:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691957760001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783953261000,"timestamp_ms":1783953261000,"timestamp_seconds":1783953261,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be681c8"} 
[2026-07-13 20:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":132969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":132969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":132969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691957760001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691957760001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:05:49] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:05:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691957760001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":132969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:05:49] local.INFO: GPS data processed {"connection_id":132969,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:05:49] local.INFO: Acknowledgment sent {"connection_id":132969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:05:49] local.INFO: TCP Data received {"connection_id":132970,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:05:49] local.INFO: Processing buffer {"connection_id":132970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:05:49] local.INFO: IMEI packet received {"connection_id":132970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":132970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:05:51] local.INFO: TCP Data received {"connection_id":132970,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be4fb28012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be4fb28012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:05:51] local.INFO: Processing buffer {"connection_id":132970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be4fb28012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:05:51] local.INFO: Packet analysis {"connection_id":132970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:05:51] local.INFO: Extracted packet for processing {"connection_id":132970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:05:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 20:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691932160001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:05:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 20:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783953161000,"timestamp_ms":1783953161000,"timestamp_seconds":1783953161,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be4fb28"} 
[2026-07-13 20:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 20:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132970,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132970,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691932160001,"66":24962,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691932160001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:05:51] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:05:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:05:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 20:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691932160001,"power":24962,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 20:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":132970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481907,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:05:51] local.INFO: GPS data processed {"connection_id":132970,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:05:51] local.INFO: Acknowledgment sent {"connection_id":132970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:05:52] local.INFO: TCP Data received {"connection_id":132971,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:05:52] local.INFO: Processing buffer {"connection_id":132971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:05:52] local.INFO: IMEI packet received {"connection_id":132971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":132971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:05:55] local.INFO: TCP Data received {"connection_id":132970,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be4fb28012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be4fb28012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:05:56] local.INFO: Processing buffer {"connection_id":132970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be4fb28012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:05:56] local.INFO: Packet analysis {"connection_id":132970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:05:56] local.INFO: Extracted packet for processing {"connection_id":132970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:05:56] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 20: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-07-13 20:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691932160001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:05:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 20:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783953161000,"timestamp_ms":1783953161000,"timestamp_seconds":1783953161,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be4fb28"} 
[2026-07-13 20:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 20:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20: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-07-13 20:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132970,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132970,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691932160001,"66":24962,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691932160001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:05:56] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:05:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:05:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 20:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691932160001,"power":24962,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 20:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":132970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481908,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:05:56] local.INFO: GPS data processed {"connection_id":132970,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:05:56] local.INFO: Acknowledgment sent {"connection_id":132970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:05:57] local.INFO: TCP Data received {"connection_id":132971,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:05:57] local.INFO: Processing buffer {"connection_id":132971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:05:57] local.INFO: IMEI packet received {"connection_id":132971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":132971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:05:58] local.INFO: TCP Data received {"connection_id":132971,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be43bc0012d1b704007257aa00024001426..."} 
[2026-07-13 20:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be43bc0012d1b704007257aa00024001426..."} 
[2026-07-13 20:05:58] local.INFO: Processing buffer {"connection_id":132971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be43bc0012d1b704007257aa00024001426..."} 
[2026-07-13 20:05:58] local.INFO: Packet analysis {"connection_id":132971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:05:58] local.INFO: Extracted packet for processing {"connection_id":132971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:05:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 20:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691919616001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 20:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 20:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783953112000,"timestamp_ms":1783953112000,"timestamp_seconds":1783953112,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be43bc0"} 
[2026-07-13 20:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 20:05:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691919616001,"66":2155,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 20:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691919616001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:05:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 20:05:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 20:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691919616001,"power":2155,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 20:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":132971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:05:59] local.INFO: GPS data processed {"connection_id":132971,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:05:59] local.INFO: Acknowledgment sent {"connection_id":132971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:06:30] local.INFO: TCP Data received {"connection_id":132971,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be43bc0012d1b704007257aa00024001426..."} 
[2026-07-13 20:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be43bc0012d1b704007257aa00024001426..."} 
[2026-07-13 20:06:30] local.INFO: Processing buffer {"connection_id":132971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be43bc0012d1b704007257aa00024001426..."} 
[2026-07-13 20:06:30] local.INFO: Packet analysis {"connection_id":132971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:06:30] local.INFO: Extracted packet for processing {"connection_id":132971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:06:30] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 20:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691919616001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 20:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 20:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783953112000,"timestamp_ms":1783953112000,"timestamp_seconds":1783953112,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be43bc0"} 
[2026-07-13 20:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 20:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":132971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":132971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":132971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691919616001,"66":2155,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 20:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691919616001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:06:30] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 20:06:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 20:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691919616001,"power":2155,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 20:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":132971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:06:30] local.INFO: GPS data processed {"connection_id":132971,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:06:30] local.INFO: Acknowledgment sent {"connection_id":132971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:06:34] local.INFO: TCP Data received {"connection_id":130827,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:06:34] local.INFO: Processing buffer {"connection_id":130827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:06:34] local.INFO: IMEI packet received {"connection_id":130827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":130827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:06:39] local.INFO: TCP Data received {"connection_id":130827,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:06:39] local.INFO: Processing buffer {"connection_id":130827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:06:39] local.INFO: IMEI packet received {"connection_id":130827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":130827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:06:39] local.INFO: TCP Data received {"connection_id":130607,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130607,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:06:39] local.INFO: Processing buffer {"connection_id":130607,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:06:39] local.INFO: IMEI packet received {"connection_id":130607,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":130607,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:06:40] local.INFO: TCP Data received {"connection_id":130827,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be681c8012d7f914005afd938001b011b24..."} 
[2026-07-13 20:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be681c8012d7f914005afd938001b011b24..."} 
[2026-07-13 20:06:40] local.INFO: Processing buffer {"connection_id":130827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be681c8012d7f914005afd938001b011b24..."} 
[2026-07-13 20:06:40] local.INFO: Packet analysis {"connection_id":130827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be6"} 
[2026-07-13 20:06:40] local.INFO: Extracted packet for processing {"connection_id":130827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be6"} 
[2026-07-13 20:06:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691957760001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783953261000,"timestamp_ms":1783953261000,"timestamp_seconds":1783953261,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be681c8"} 
[2026-07-13 20:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691957760001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691957760001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:06:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:06:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691957760001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":130827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:06:40] local.INFO: GPS data processed {"connection_id":130827,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:06:40] local.INFO: Acknowledgment sent {"connection_id":130827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:06:44] local.INFO: TCP Data received {"connection_id":130607,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130607,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:06:44] local.INFO: Processing buffer {"connection_id":130607,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:06:44] local.INFO: IMEI packet received {"connection_id":130607,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":130607,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:06:46] local.INFO: TCP Data received {"connection_id":130607,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be4fb28012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be4fb28012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:06:46] local.INFO: Processing buffer {"connection_id":130607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be4fb28012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:06:46] local.INFO: Packet analysis {"connection_id":130607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:06:46] local.INFO: Extracted packet for processing {"connection_id":130607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:06:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 20:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691932160001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:06:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 20:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783953161000,"timestamp_ms":1783953161000,"timestamp_seconds":1783953161,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be4fb28"} 
[2026-07-13 20:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 20:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130607,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130607,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691932160001,"66":24962,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691932160001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:06:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:06:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:06:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 20:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691932160001,"power":24962,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 20:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":130607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481912,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:06:46] local.INFO: GPS data processed {"connection_id":130607,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:06:46] local.INFO: Acknowledgment sent {"connection_id":130607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:06:52] local.INFO: TCP Data received {"connection_id":131641,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:06:52] local.INFO: Processing buffer {"connection_id":131641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:06:52] local.INFO: IMEI packet received {"connection_id":131641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":131641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:06:57] local.INFO: TCP Data received {"connection_id":131641,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:06:57] local.INFO: Processing buffer {"connection_id":131641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:06:57] local.INFO: IMEI packet received {"connection_id":131641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":131641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:06:58] local.INFO: TCP Data received {"connection_id":131641,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be43bc0012d1b704007257aa00024001426..."} 
[2026-07-13 20:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be43bc0012d1b704007257aa00024001426..."} 
[2026-07-13 20:06:58] local.INFO: Processing buffer {"connection_id":131641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be43bc0012d1b704007257aa00024001426..."} 
[2026-07-13 20:06:58] local.INFO: Packet analysis {"connection_id":131641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:06:58] local.INFO: Extracted packet for processing {"connection_id":131641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:06:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 20:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691919616001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 20:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 20:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783953112000,"timestamp_ms":1783953112000,"timestamp_seconds":1783953112,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be43bc0"} 
[2026-07-13 20:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 20:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:06:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691919616001,"66":2155,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 20:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691919616001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:06:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 20:06:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 20:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691919616001,"power":2155,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 20:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":131641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:06:58] local.INFO: GPS data processed {"connection_id":131641,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:06:58] local.INFO: Acknowledgment sent {"connection_id":131641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:07:10] local.INFO: TCP Data received {"connection_id":130827,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be681c8012d7f914005afd938001b011b24..."} 
[2026-07-13 20:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be681c8012d7f914005afd938001b011b24..."} 
[2026-07-13 20:07:10] local.INFO: Processing buffer {"connection_id":130827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be681c8012d7f914005afd938001b011b24..."} 
[2026-07-13 20:07:10] local.INFO: Packet analysis {"connection_id":130827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be6"} 
[2026-07-13 20:07:10] local.INFO: Extracted packet for processing {"connection_id":130827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be6"} 
[2026-07-13 20:07:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691957760001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783953261000,"timestamp_ms":1783953261000,"timestamp_seconds":1783953261,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be681c8"} 
[2026-07-13 20:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691957760001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691957760001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:07:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:07:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691957760001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":130827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:07:10] local.INFO: GPS data processed {"connection_id":130827,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:07:10] local.INFO: Acknowledgment sent {"connection_id":130827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:07:17] local.INFO: TCP Data received {"connection_id":130607,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be4fb28012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be4fb28012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:07:17] local.INFO: Processing buffer {"connection_id":130607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be4fb28012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:07:17] local.INFO: Packet analysis {"connection_id":130607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:07:17] local.INFO: Extracted packet for processing {"connection_id":130607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:07:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 20:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691932160001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:07:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 20:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783953161000,"timestamp_ms":1783953161000,"timestamp_seconds":1783953161,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be4fb28"} 
[2026-07-13 20:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 20:07:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:07:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130607,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130607,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691932160001,"66":24962,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691932160001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:07:17] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:07:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:07:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 20:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691932160001,"power":24962,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 20:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":130607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481915,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:07:18] local.INFO: GPS data processed {"connection_id":130607,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:07:18] local.INFO: Acknowledgment sent {"connection_id":130607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:07:29] local.INFO: TCP Data received {"connection_id":131641,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be43bc0012d1b704007257aa00024001426..."} 
[2026-07-13 20:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be43bc0012d1b704007257aa00024001426..."} 
[2026-07-13 20:07:29] local.INFO: Processing buffer {"connection_id":131641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be43bc0012d1b704007257aa00024001426..."} 
[2026-07-13 20:07:29] local.INFO: Packet analysis {"connection_id":131641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:07:29] local.INFO: Extracted packet for processing {"connection_id":131641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:07:29] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":38,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 20:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691919616001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 20:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 20:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783953112000,"timestamp_ms":1783953112000,"timestamp_seconds":1783953112,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be43bc0"} 
[2026-07-13 20:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 20:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:07:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":131641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":131641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":131641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691919616001,"66":2155,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 20:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691919616001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:07:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 20:07:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 20:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691919616001,"power":2155,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 20:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":131641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:07:29] local.INFO: GPS data processed {"connection_id":131641,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:07:29] local.INFO: Acknowledgment sent {"connection_id":131641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:07:33] local.INFO: TCP Data received {"connection_id":130608,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:07:33] local.INFO: Processing buffer {"connection_id":130608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:07:33] local.INFO: IMEI packet received {"connection_id":130608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":130608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:07:39] local.INFO: TCP Data received {"connection_id":130608,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:07:39] local.INFO: Processing buffer {"connection_id":130608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:07:39] local.INFO: IMEI packet received {"connection_id":130608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":130608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:07:39] local.INFO: TCP Data received {"connection_id":132972,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:07:39] local.INFO: Processing buffer {"connection_id":132972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:07:39] local.INFO: IMEI packet received {"connection_id":132972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":132972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:07:40] local.INFO: TCP Data received {"connection_id":130608,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be681c8012d7f914005afd938001b011b24..."} 
[2026-07-13 20:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be681c8012d7f914005afd938001b011b24..."} 
[2026-07-13 20:07:40] local.INFO: Processing buffer {"connection_id":130608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be681c8012d7f914005afd938001b011b24..."} 
[2026-07-13 20:07:40] local.INFO: Packet analysis {"connection_id":130608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be6"} 
[2026-07-13 20:07:40] local.INFO: Extracted packet for processing {"connection_id":130608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be6"} 
[2026-07-13 20:07:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691957760001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783953261000,"timestamp_ms":1783953261000,"timestamp_seconds":1783953261,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be681c8"} 
[2026-07-13 20:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691957760001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691957760001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:07:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:07:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691957760001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":130608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:07:40] local.INFO: GPS data processed {"connection_id":130608,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:07:40] local.INFO: Acknowledgment sent {"connection_id":130608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:07:44] local.INFO: TCP Data received {"connection_id":132972,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:07:44] local.INFO: Processing buffer {"connection_id":132972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:07:44] local.INFO: IMEI packet received {"connection_id":132972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":132972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:07:46] local.INFO: TCP Data received {"connection_id":132972,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be4fb28012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be4fb28012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:07:46] local.INFO: Processing buffer {"connection_id":132972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be4fb28012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:07:46] local.INFO: Packet analysis {"connection_id":132972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:07:46] local.INFO: Extracted packet for processing {"connection_id":132972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:07:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 20:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691932160001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:07:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 20:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783953161000,"timestamp_ms":1783953161000,"timestamp_seconds":1783953161,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be4fb28"} 
[2026-07-13 20:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 20:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691932160001,"66":24962,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691932160001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:07:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:07:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:07:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 20:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691932160001,"power":24962,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 20:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":132972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481918,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:07:46] local.INFO: GPS data processed {"connection_id":132972,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:07:46] local.INFO: Acknowledgment sent {"connection_id":132972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:07:57] local.INFO: TCP Data received {"connection_id":130828,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:07:57] local.INFO: Processing buffer {"connection_id":130828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:07:57] local.INFO: IMEI packet received {"connection_id":130828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":130828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:08:02] local.INFO: TCP Data received {"connection_id":130828,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:08:02] local.INFO: Processing buffer {"connection_id":130828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:08:02] local.INFO: IMEI packet received {"connection_id":130828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":130828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:08:03] local.INFO: TCP Data received {"connection_id":130828,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be8d388012d1b704007257aa00024001424..."} 
[2026-07-13 20:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be8d388012d1b704007257aa00024001424..."} 
[2026-07-13 20:08:03] local.INFO: Processing buffer {"connection_id":130828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be8d388012d1b704007257aa00024001424..."} 
[2026-07-13 20:08:03] local.INFO: Packet analysis {"connection_id":130828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be8"} 
[2026-07-13 20:08:03] local.INFO: Extracted packet for processing {"connection_id":130828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be8"} 
[2026-07-13 20:08:03] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":36,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 20:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691996672001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 20:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 20:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783953413000,"timestamp_ms":1783953413000,"timestamp_seconds":1783953413,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be8d388"} 
[2026-07-13 20:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 20:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":130828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":130828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":130828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:08:03] 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-07-13 20:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691996672001,"66":2155,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 20:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691996672001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:08:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 20:08:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 20:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691996672001,"power":2155,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 20:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":130828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:08:03] local.INFO: GPS data processed {"connection_id":130828,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:08:03] local.INFO: Acknowledgment sent {"connection_id":130828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:08:11] local.INFO: TCP Data received {"connection_id":130608,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be681c8012d7f914005afd938001b011b24..."} 
[2026-07-13 20:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be681c8012d7f914005afd938001b011b24..."} 
[2026-07-13 20:08:11] local.INFO: Processing buffer {"connection_id":130608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be681c8012d7f914005afd938001b011b24..."} 
[2026-07-13 20:08:11] local.INFO: Packet analysis {"connection_id":130608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be6"} 
[2026-07-13 20:08:11] local.INFO: Extracted packet for processing {"connection_id":130608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be6"} 
[2026-07-13 20:08:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691957760001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783953261000,"timestamp_ms":1783953261000,"timestamp_seconds":1783953261,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be681c8"} 
[2026-07-13 20:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691957760001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691957760001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:08:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:08:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691957760001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":130608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:08:11] local.INFO: GPS data processed {"connection_id":130608,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:08:11] local.INFO: Acknowledgment sent {"connection_id":130608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:08:17] local.INFO: TCP Data received {"connection_id":132972,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be4fb28012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be4fb28012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:08:17] local.INFO: Processing buffer {"connection_id":132972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be4fb28012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:08:17] local.INFO: Packet analysis {"connection_id":132972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:08:17] local.INFO: Extracted packet for processing {"connection_id":132972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be4"} 
[2026-07-13 20:08:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 20: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-07-13 20:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691932160001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:08:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 20:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783953161000,"timestamp_ms":1783953161000,"timestamp_seconds":1783953161,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be4fb28"} 
[2026-07-13 20:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-13 20:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20: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-07-13 20:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691932160001,"66":24962,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691932160001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:08:17] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:08:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:08:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 20:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691932160001,"power":24962,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 20:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":132972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481921,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:08:18] local.INFO: GPS data processed {"connection_id":132972,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:08:18] local.INFO: Acknowledgment sent {"connection_id":132972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:08:33] local.INFO: TCP Data received {"connection_id":130829,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:08:33] local.INFO: Processing buffer {"connection_id":130829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:08:33] local.INFO: IMEI packet received {"connection_id":130829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":130829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:08:34] local.INFO: TCP Data received {"connection_id":130828,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be8d388012d1b704007257aa00024001424..."} 
[2026-07-13 20:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be8d388012d1b704007257aa00024001424..."} 
[2026-07-13 20:08:34] local.INFO: Processing buffer {"connection_id":130828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be8d388012d1b704007257aa00024001424..."} 
[2026-07-13 20:08:34] local.INFO: Packet analysis {"connection_id":130828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be8"} 
[2026-07-13 20:08:34] local.INFO: Extracted packet for processing {"connection_id":130828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be8"} 
[2026-07-13 20:08:34] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":36,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 20:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691996672001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 20:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 20:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783953413000,"timestamp_ms":1783953413000,"timestamp_seconds":1783953413,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be8d388"} 
[2026-07-13 20:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 20:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":130828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":130828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":130828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:08:34] 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-07-13 20:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691996672001,"66":2155,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 20:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691996672001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:08:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 20:08:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 20:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691996672001,"power":2155,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 20:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":130828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:08:34] local.INFO: GPS data processed {"connection_id":130828,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:08:34] local.INFO: Acknowledgment sent {"connection_id":130828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:08:39] local.INFO: TCP Data received {"connection_id":130829,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:08:39] local.INFO: Processing buffer {"connection_id":130829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:08:39] local.INFO: IMEI packet received {"connection_id":130829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":130829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:08:39] local.INFO: TCP Data received {"connection_id":130829,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be681c8012d7f914005afd938001b011b24..."} 
[2026-07-13 20:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be681c8012d7f914005afd938001b011b24..."} 
[2026-07-13 20:08:39] local.INFO: Processing buffer {"connection_id":130829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be681c8012d7f914005afd938001b011b24..."} 
[2026-07-13 20:08:39] local.INFO: Packet analysis {"connection_id":130829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be6"} 
[2026-07-13 20:08:39] local.INFO: Extracted packet for processing {"connection_id":130829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be6"} 
[2026-07-13 20:08:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691957760001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783953261000,"timestamp_ms":1783953261000,"timestamp_seconds":1783953261,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be681c8"} 
[2026-07-13 20:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691957760001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691957760001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:08:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:08:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691957760001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":130829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:08:39] local.INFO: GPS data processed {"connection_id":130829,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:08:39] local.INFO: Acknowledgment sent {"connection_id":130829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:08:44] local.INFO: TCP Data received {"connection_id":132973,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132973,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:08:44] local.INFO: Processing buffer {"connection_id":132973,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:08:44] local.INFO: IMEI packet received {"connection_id":132973,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":132973,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:08:49] local.INFO: TCP Data received {"connection_id":132973,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132973,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:08:49] local.INFO: Processing buffer {"connection_id":132973,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:08:49] local.INFO: IMEI packet received {"connection_id":132973,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":132973,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:08:51] local.INFO: TCP Data received {"connection_id":132973,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be98f08012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be98f08012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:08:51] local.INFO: Processing buffer {"connection_id":132973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be98f08012cb29ac007823bf8004700e028..."} 
[2026-07-13 20:08:51] local.INFO: Packet analysis {"connection_id":132973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be9"} 
[2026-07-13 20:08:51] local.INFO: Extracted packet for processing {"connection_id":132973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be9"} 
[2026-07-13 20:08:51] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975544,"longitude_deg":74.9902528,"latitude_deg":12.5975544,"altitude":71,"angle":224,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-07-13 20:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692009216001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:08:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 20:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783953461000,"timestamp_ms":1783953461000,"timestamp_seconds":1783953461,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be98f08"} 
[2026-07-13 20:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-13 20:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132973,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132973,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692009216001,"66":24973,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692009216001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:08:51] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:08:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:08:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 20:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692009216001,"power":24973,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 20:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":132973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481924,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:08:51] local.INFO: GPS data processed {"connection_id":132973,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:08:51] local.INFO: Acknowledgment sent {"connection_id":132973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:08:52] local.INFO: TCP Data received {"connection_id":130609,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:08:52] local.INFO: Processing buffer {"connection_id":130609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:08:52] local.INFO: IMEI packet received {"connection_id":130609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":130609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:08:56] local.INFO: TCP Data received {"connection_id":132973,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bea61f8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bea61f8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:08:56] local.INFO: Processing buffer {"connection_id":132973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bea61f8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:08:56] local.INFO: Packet analysis {"connection_id":132973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bea"} 
[2026-07-13 20:08:56] local.INFO: Extracted packet for processing {"connection_id":132973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bea"} 
[2026-07-13 20:08:56] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692086016001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:08:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 20:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783953515000,"timestamp_ms":1783953515000,"timestamp_seconds":1783953515,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bea61f8"} 
[2026-07-13 20:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 20:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:08:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":132973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":132973,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":132973,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692086016001,"66":24962,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692086016001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:08:56] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:08:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:08:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 20:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692086016001,"power":24962,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 20:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":132973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481925,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:08:56] local.INFO: GPS data processed {"connection_id":132973,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:08:56] local.INFO: Acknowledgment sent {"connection_id":132973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:08:57] local.INFO: TCP Data received {"connection_id":130609,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:08:57] local.INFO: Processing buffer {"connection_id":130609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:08:57] local.INFO: IMEI packet received {"connection_id":130609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":130609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:08:58] local.INFO: TCP Data received {"connection_id":130609,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be8d388012d1b704007257aa00024001424..."} 
[2026-07-13 20:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be8d388012d1b704007257aa00024001424..."} 
[2026-07-13 20:08:58] local.INFO: Processing buffer {"connection_id":130609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be8d388012d1b704007257aa00024001424..."} 
[2026-07-13 20:08:58] local.INFO: Packet analysis {"connection_id":130609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be8"} 
[2026-07-13 20:08:58] local.INFO: Extracted packet for processing {"connection_id":130609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be8"} 
[2026-07-13 20:08:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":36,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 20:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691996672001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 20:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 20:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783953413000,"timestamp_ms":1783953413000,"timestamp_seconds":1783953413,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be8d388"} 
[2026-07-13 20:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 20:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691996672001,"66":2155,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 20:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691996672001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:08:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 20:08:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 20:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691996672001,"power":2155,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 20:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":130609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:08:58] local.INFO: GPS data processed {"connection_id":130609,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:08:58] local.INFO: Acknowledgment sent {"connection_id":130609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:09:11] local.INFO: TCP Data received {"connection_id":130829,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be681c8012d7f914005afd938001b011b24..."} 
[2026-07-13 20:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be681c8012d7f914005afd938001b011b24..."} 
[2026-07-13 20:09:11] local.INFO: Processing buffer {"connection_id":130829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be681c8012d7f914005afd938001b011b24..."} 
[2026-07-13 20:09:11] local.INFO: Packet analysis {"connection_id":130829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be6"} 
[2026-07-13 20:09:11] local.INFO: Extracted packet for processing {"connection_id":130829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be6"} 
[2026-07-13 20:09:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691957760001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783953261000,"timestamp_ms":1783953261000,"timestamp_seconds":1783953261,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be681c8"} 
[2026-07-13 20:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691957760001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691957760001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:09:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:09:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691957760001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":130829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:09:11] local.INFO: GPS data processed {"connection_id":130829,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:09:11] local.INFO: Acknowledgment sent {"connection_id":130829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:09:29] local.INFO: TCP Data received {"connection_id":130609,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be8d388012d1b704007257aa00024001424..."} 
[2026-07-13 20:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be8d388012d1b704007257aa00024001424..."} 
[2026-07-13 20:09:29] local.INFO: Processing buffer {"connection_id":130609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be8d388012d1b704007257aa00024001424..."} 
[2026-07-13 20:09:29] local.INFO: Packet analysis {"connection_id":130609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be8"} 
[2026-07-13 20:09:29] local.INFO: Extracted packet for processing {"connection_id":130609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be8"} 
[2026-07-13 20:09:29] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":36,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 20:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691996672001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 20:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 20:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783953413000,"timestamp_ms":1783953413000,"timestamp_seconds":1783953413,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be8d388"} 
[2026-07-13 20:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 20:09:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:09:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:09:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691996672001,"66":2155,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 20:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691996672001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:09:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 20:09:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 20:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691996672001,"power":2155,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 20:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":130609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:09:30] local.INFO: GPS data processed {"connection_id":130609,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:09:30] local.INFO: Acknowledgment sent {"connection_id":130609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:09:33] local.INFO: TCP Data received {"connection_id":132974,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:09:33] local.INFO: Processing buffer {"connection_id":132974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:09:33] local.INFO: IMEI packet received {"connection_id":132974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":132974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:09:39] local.INFO: TCP Data received {"connection_id":132974,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:09:39] local.INFO: Processing buffer {"connection_id":132974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:09:39] local.INFO: IMEI packet received {"connection_id":132974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":132974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:09:39] local.INFO: TCP Data received {"connection_id":131642,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131642,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:09:39] local.INFO: Processing buffer {"connection_id":131642,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:09:39] local.INFO: IMEI packet received {"connection_id":131642,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":131642,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:09:40] local.INFO: TCP Data received {"connection_id":132974,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be681c8012d7f914005afd938001b011b24..."} 
[2026-07-13 20:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be681c8012d7f914005afd938001b011b24..."} 
[2026-07-13 20:09:40] local.INFO: Processing buffer {"connection_id":132974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be681c8012d7f914005afd938001b011b24..."} 
[2026-07-13 20:09:40] local.INFO: Packet analysis {"connection_id":132974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be6"} 
[2026-07-13 20:09:40] local.INFO: Extracted packet for processing {"connection_id":132974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be6"} 
[2026-07-13 20:09:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691957760001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783953261000,"timestamp_ms":1783953261000,"timestamp_seconds":1783953261,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be681c8"} 
[2026-07-13 20:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691957760001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691957760001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:09:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:09:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691957760001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":132974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:09:40] local.INFO: GPS data processed {"connection_id":132974,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:09:40] local.INFO: Acknowledgment sent {"connection_id":132974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:09:44] local.INFO: TCP Data received {"connection_id":131642,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131642,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:09:44] local.INFO: Processing buffer {"connection_id":131642,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:09:44] local.INFO: IMEI packet received {"connection_id":131642,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":131642,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:09:46] local.INFO: TCP Data received {"connection_id":131642,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bea61f8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bea61f8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:09:46] local.INFO: Processing buffer {"connection_id":131642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bea61f8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:09:46] local.INFO: Packet analysis {"connection_id":131642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bea"} 
[2026-07-13 20:09:46] local.INFO: Extracted packet for processing {"connection_id":131642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bea"} 
[2026-07-13 20:09:46] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692086016001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:09:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 20:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783953515000,"timestamp_ms":1783953515000,"timestamp_seconds":1783953515,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bea61f8"} 
[2026-07-13 20:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 20:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131642,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131642,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692086016001,"66":24962,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692086016001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:09:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:09:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:09:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 20:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692086016001,"power":24962,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 20:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":131642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481930,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:09:46] local.INFO: GPS data processed {"connection_id":131642,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:09:46] local.INFO: Acknowledgment sent {"connection_id":131642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:09:52] local.INFO: TCP Data received {"connection_id":132975,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:09:52] local.INFO: Processing buffer {"connection_id":132975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:09:52] local.INFO: IMEI packet received {"connection_id":132975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":132975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:09:57] local.INFO: TCP Data received {"connection_id":132975,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:09:57] local.INFO: Processing buffer {"connection_id":132975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:09:57] local.INFO: IMEI packet received {"connection_id":132975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":132975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:09:58] local.INFO: TCP Data received {"connection_id":132975,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be8d388012d1b704007257aa00024001424..."} 
[2026-07-13 20:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be8d388012d1b704007257aa00024001424..."} 
[2026-07-13 20:09:58] local.INFO: Processing buffer {"connection_id":132975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be8d388012d1b704007257aa00024001424..."} 
[2026-07-13 20:09:58] local.INFO: Packet analysis {"connection_id":132975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be8"} 
[2026-07-13 20:09:58] local.INFO: Extracted packet for processing {"connection_id":132975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be8"} 
[2026-07-13 20:09:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":36,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 20:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691996672001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 20:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 20:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783953413000,"timestamp_ms":1783953413000,"timestamp_seconds":1783953413,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be8d388"} 
[2026-07-13 20:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 20:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:09:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691996672001,"66":2155,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 20:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691996672001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:09:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 20:09:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 20:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691996672001,"power":2155,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 20:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":132975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:09:58] local.INFO: GPS data processed {"connection_id":132975,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:09:58] local.INFO: Acknowledgment sent {"connection_id":132975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:10:11] local.INFO: TCP Data received {"connection_id":132974,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:10:11] local.INFO: Processing buffer {"connection_id":132974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:10:11] local.INFO: Packet analysis {"connection_id":132974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5beb"} 
[2026-07-13 20:10:11] local.INFO: Extracted packet for processing {"connection_id":132974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5beb"} 
[2026-07-13 20:10:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692034816001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783953562000,"timestamp_ms":1783953562000,"timestamp_seconds":1783953562,"priority":1,"record_length":96,"hex_timestamp":"0000019f5beb1990"} 
[2026-07-13 20:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 20:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692034816001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692034816001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:10:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:10:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692034816001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":132974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:10:11] local.INFO: GPS data processed {"connection_id":132974,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:10:11] local.INFO: Acknowledgment sent {"connection_id":132974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:10:17] local.INFO: TCP Data received {"connection_id":131642,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bea61f8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bea61f8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:10:17] local.INFO: Processing buffer {"connection_id":131642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bea61f8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:10:17] local.INFO: Packet analysis {"connection_id":131642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bea"} 
[2026-07-13 20:10:17] local.INFO: Extracted packet for processing {"connection_id":131642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bea"} 
[2026-07-13 20:10:17] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 20:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692086016001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:10:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 20:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783953515000,"timestamp_ms":1783953515000,"timestamp_seconds":1783953515,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bea61f8"} 
[2026-07-13 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-07-13 20:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 20:10:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 20:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131642,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131642,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692086016001,"66":24962,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692086016001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:10:17] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:10:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:10:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 20:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692086016001,"power":24962,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 20:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":131642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481933,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:10:18] local.INFO: GPS data processed {"connection_id":131642,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:10:18] local.INFO: Acknowledgment sent {"connection_id":131642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:10:30] local.INFO: TCP Data received {"connection_id":132975,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be8d388012d1b704007257aa00024001424..."} 
[2026-07-13 20:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be8d388012d1b704007257aa00024001424..."} 
[2026-07-13 20:10:30] local.INFO: Processing buffer {"connection_id":132975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be8d388012d1b704007257aa00024001424..."} 
[2026-07-13 20:10:30] local.INFO: Packet analysis {"connection_id":132975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be8"} 
[2026-07-13 20:10:30] local.INFO: Extracted packet for processing {"connection_id":132975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be8"} 
[2026-07-13 20:10:30] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":36,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 20:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691996672001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 20:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 20:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783953413000,"timestamp_ms":1783953413000,"timestamp_seconds":1783953413,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be8d388"} 
[2026-07-13 20:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 20:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:10:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":132975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":132975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":132975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691996672001,"66":2155,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 20:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691996672001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:10:30] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 20:10:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 20:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691996672001,"power":2155,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 20:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":132975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:10:30] local.INFO: GPS data processed {"connection_id":132975,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:10:30] local.INFO: Acknowledgment sent {"connection_id":132975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:10:34] local.INFO: TCP Data received {"connection_id":130830,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:10:34] local.INFO: Processing buffer {"connection_id":130830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:10:34] local.INFO: IMEI packet received {"connection_id":130830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":130830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:10:39] local.INFO: TCP Data received {"connection_id":130830,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:10:39] local.INFO: Processing buffer {"connection_id":130830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:10:39] local.INFO: IMEI packet received {"connection_id":130830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":130830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:10:39] local.INFO: TCP Data received {"connection_id":131643,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131643,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:10:39] local.INFO: Processing buffer {"connection_id":131643,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:10:39] local.INFO: IMEI packet received {"connection_id":131643,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":131643,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:10:39] local.INFO: TCP Data received {"connection_id":130830,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:10:39] local.INFO: Processing buffer {"connection_id":130830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:10:39] local.INFO: Packet analysis {"connection_id":130830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5beb"} 
[2026-07-13 20:10:39] local.INFO: Extracted packet for processing {"connection_id":130830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5beb"} 
[2026-07-13 20:10:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 20:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692034816001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783953562000,"timestamp_ms":1783953562000,"timestamp_seconds":1783953562,"priority":1,"record_length":96,"hex_timestamp":"0000019f5beb1990"} 
[2026-07-13 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-07-13 20:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 20:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 20:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692034816001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692034816001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:10:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:10:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692034816001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":130830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:10:40] local.INFO: GPS data processed {"connection_id":130830,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:10:40] local.INFO: Acknowledgment sent {"connection_id":130830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:10:44] local.INFO: TCP Data received {"connection_id":130830,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:10:44] local.INFO: Processing buffer {"connection_id":130830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:10:44] local.INFO: Packet analysis {"connection_id":130830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5beb"} 
[2026-07-13 20:10:44] local.INFO: Extracted packet for processing {"connection_id":130830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5beb"} 
[2026-07-13 20:10:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692034816001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783953562000,"timestamp_ms":1783953562000,"timestamp_seconds":1783953562,"priority":1,"record_length":96,"hex_timestamp":"0000019f5beb1990"} 
[2026-07-13 20:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 20:10:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:10:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692034816001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692034816001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:10:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:10:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692034816001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":130830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:10:44] local.INFO: GPS data processed {"connection_id":130830,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:10:44] local.INFO: Acknowledgment sent {"connection_id":130830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:10:44] local.INFO: TCP Data received {"connection_id":131643,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131643,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:10:44] local.INFO: Processing buffer {"connection_id":131643,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:10:44] local.INFO: IMEI packet received {"connection_id":131643,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":131643,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:10:46] local.INFO: TCP Data received {"connection_id":131643,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bea61f8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bea61f8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:10:46] local.INFO: Processing buffer {"connection_id":131643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bea61f8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:10:46] local.INFO: Packet analysis {"connection_id":131643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bea"} 
[2026-07-13 20:10:46] local.INFO: Extracted packet for processing {"connection_id":131643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bea"} 
[2026-07-13 20:10:46] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692086016001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:10:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 20:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783953515000,"timestamp_ms":1783953515000,"timestamp_seconds":1783953515,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bea61f8"} 
[2026-07-13 20:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 20:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131643,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131643,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692086016001,"66":24962,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692086016001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:10:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:10:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:10:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 20:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692086016001,"power":24962,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 20:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":131643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481937,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:10:47] local.INFO: GPS data processed {"connection_id":131643,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:10:47] local.INFO: Acknowledgment sent {"connection_id":131643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:10:52] local.INFO: TCP Data received {"connection_id":130610,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:10:52] local.INFO: Processing buffer {"connection_id":130610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:10:52] local.INFO: IMEI packet received {"connection_id":130610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":130610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:10:57] local.INFO: TCP Data received {"connection_id":130610,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:10:57] local.INFO: Processing buffer {"connection_id":130610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:10:57] local.INFO: IMEI packet received {"connection_id":130610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":130610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:10:58] local.INFO: TCP Data received {"connection_id":130610,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be8d388012d1b704007257aa00024001424..."} 
[2026-07-13 20:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be8d388012d1b704007257aa00024001424..."} 
[2026-07-13 20:10:58] local.INFO: Processing buffer {"connection_id":130610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be8d388012d1b704007257aa00024001424..."} 
[2026-07-13 20:10:58] local.INFO: Packet analysis {"connection_id":130610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be8"} 
[2026-07-13 20:10:58] local.INFO: Extracted packet for processing {"connection_id":130610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be8"} 
[2026-07-13 20:10:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":36,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 20:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691996672001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 20:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 20:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783953413000,"timestamp_ms":1783953413000,"timestamp_seconds":1783953413,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be8d388"} 
[2026-07-13 20:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 20:10:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:10:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691996672001,"66":2155,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 20:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691996672001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:10:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 20:10:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 20:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691996672001,"power":2155,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 20:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":130610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:10:58] local.INFO: GPS data processed {"connection_id":130610,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:10:58] local.INFO: Acknowledgment sent {"connection_id":130610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:11:15] local.INFO: TCP Data received {"connection_id":130830,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:11:15] local.INFO: Processing buffer {"connection_id":130830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:11:15] local.INFO: Packet analysis {"connection_id":130830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5beb"} 
[2026-07-13 20:11:15] local.INFO: Extracted packet for processing {"connection_id":130830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5beb"} 
[2026-07-13 20:11:15] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692034816001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783953562000,"timestamp_ms":1783953562000,"timestamp_seconds":1783953562,"priority":1,"record_length":96,"hex_timestamp":"0000019f5beb1990"} 
[2026-07-13 20:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 20:11:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692034816001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692034816001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:11:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:11:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692034816001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":130830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:11:15] local.INFO: GPS data processed {"connection_id":130830,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:11:15] local.INFO: Acknowledgment sent {"connection_id":130830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:11:18] local.INFO: TCP Data received {"connection_id":131643,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bea61f8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bea61f8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:11:18] local.INFO: Processing buffer {"connection_id":131643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bea61f8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:11:18] local.INFO: Packet analysis {"connection_id":131643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bea"} 
[2026-07-13 20:11:18] local.INFO: Extracted packet for processing {"connection_id":131643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bea"} 
[2026-07-13 20:11:18] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 20:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692086016001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:11:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062665728,"note":"Value kept but may cause issues"} 
[2026-07-13 20:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783953515000,"timestamp_ms":1783953515000,"timestamp_seconds":1783953515,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bea61f8"} 
[2026-07-13 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-07-13 20:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 20:11:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 20:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131643,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131643,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692086016001,"66":24962,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5576934050062665728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692086016001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:11:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:11:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:11:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062665728,"description":"Unknown IO ID 44"} 
[2026-07-13 20:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692086016001,"power":24962,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062665728}} 
[2026-07-13 20:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":131643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481940,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:11:18] local.INFO: GPS data processed {"connection_id":131643,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:11:18] local.INFO: Acknowledgment sent {"connection_id":131643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:11:29] local.INFO: TCP Data received {"connection_id":130610,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be8d388012d1b704007257aa00024001424..."} 
[2026-07-13 20:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be8d388012d1b704007257aa00024001424..."} 
[2026-07-13 20:11:29] local.INFO: Processing buffer {"connection_id":130610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be8d388012d1b704007257aa00024001424..."} 
[2026-07-13 20:11:29] local.INFO: Packet analysis {"connection_id":130610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be8"} 
[2026-07-13 20:11:29] local.INFO: Extracted packet for processing {"connection_id":130610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be8"} 
[2026-07-13 20:11:29] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":36,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 20: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-07-13 20:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691996672001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 20:11:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 20:11:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783953413000,"timestamp_ms":1783953413000,"timestamp_seconds":1783953413,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be8d388"} 
[2026-07-13 20:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:11:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 20:11:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20: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-07-13 20:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691996672001,"66":2155,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 20:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691996672001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:11:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 20:11:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:11:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 20:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691996672001,"power":2155,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 20:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":130610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:11:29] local.INFO: GPS data processed {"connection_id":130610,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:11:29] local.INFO: Acknowledgment sent {"connection_id":130610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:11:33] local.INFO: TCP Data received {"connection_id":130611,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:11:33] local.INFO: Processing buffer {"connection_id":130611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:11:33] local.INFO: IMEI packet received {"connection_id":130611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":130611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:11:39] local.INFO: TCP Data received {"connection_id":130611,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:11:39] local.INFO: Processing buffer {"connection_id":130611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:11:39] local.INFO: IMEI packet received {"connection_id":130611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":130611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:11:39] local.INFO: TCP Data received {"connection_id":132976,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132976,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:11:39] local.INFO: Processing buffer {"connection_id":132976,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:11:39] local.INFO: IMEI packet received {"connection_id":132976,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":132976,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:11:40] local.INFO: TCP Data received {"connection_id":130611,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:11:40] local.INFO: Processing buffer {"connection_id":130611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:11:40] local.INFO: Packet analysis {"connection_id":130611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5beb"} 
[2026-07-13 20:11:40] local.INFO: Extracted packet for processing {"connection_id":130611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5beb"} 
[2026-07-13 20:11:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20: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-07-13 20:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692034816001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783953562000,"timestamp_ms":1783953562000,"timestamp_seconds":1783953562,"priority":1,"record_length":96,"hex_timestamp":"0000019f5beb1990"} 
[2026-07-13 20:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 20:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20: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-07-13 20:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692034816001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692034816001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:11:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:11:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692034816001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":130611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:11:40] local.INFO: GPS data processed {"connection_id":130611,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:11:40] local.INFO: Acknowledgment sent {"connection_id":130611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:11:40] local.INFO: TCP Data received {"connection_id":132976,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132976,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:11:40] local.INFO: Processing buffer {"connection_id":132976,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:11:40] local.INFO: IMEI packet received {"connection_id":132976,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":132976,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:11:44] local.INFO: TCP Data received {"connection_id":132976,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132976,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:11:44] local.INFO: Processing buffer {"connection_id":132976,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:11:44] local.INFO: IMEI packet received {"connection_id":132976,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":132976,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:11:45] local.INFO: TCP Data received {"connection_id":132976,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5beca418012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5beca418012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:11:45] local.INFO: Processing buffer {"connection_id":132976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5beca418012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:11:45] local.INFO: Packet analysis {"connection_id":132976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bec"} 
[2026-07-13 20:11:45] local.INFO: Extracted packet for processing {"connection_id":132976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bec"} 
[2026-07-13 20:11:45] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 20:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692099840001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:11:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783953663000,"timestamp_ms":1783953663000,"timestamp_seconds":1783953663,"priority":1,"record_length":96,"hex_timestamp":"0000019f5beca418"} 
[2026-07-13 20:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-13 20:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132976,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132976,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692099840001,"66":24962,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692099840001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:11:45] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:11:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:11:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692099840001,"power":24962,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":132976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481943,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:11:45] local.INFO: GPS data processed {"connection_id":132976,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:11:45] local.INFO: Acknowledgment sent {"connection_id":132976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:11:52] local.INFO: TCP Data received {"connection_id":130831,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:11:52] local.INFO: Processing buffer {"connection_id":130831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:11:52] local.INFO: IMEI packet received {"connection_id":130831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":130831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:11:57] local.INFO: TCP Data received {"connection_id":130831,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:11:57] local.INFO: Processing buffer {"connection_id":130831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:11:57] local.INFO: IMEI packet received {"connection_id":130831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":130831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:11:58] local.INFO: TCP Data received {"connection_id":130831,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be8d388012d1b704007257aa00024001424..."} 
[2026-07-13 20:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be8d388012d1b704007257aa00024001424..."} 
[2026-07-13 20:11:58] local.INFO: Processing buffer {"connection_id":130831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be8d388012d1b704007257aa00024001424..."} 
[2026-07-13 20:11:58] local.INFO: Packet analysis {"connection_id":130831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be8"} 
[2026-07-13 20:11:58] local.INFO: Extracted packet for processing {"connection_id":130831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be8"} 
[2026-07-13 20:11:58] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":36,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 20:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691996672001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 20:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 20:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783953413000,"timestamp_ms":1783953413000,"timestamp_seconds":1783953413,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be8d388"} 
[2026-07-13 20:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 20:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:11:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691996672001,"66":2155,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 20:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691996672001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:11:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 20:11:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 20:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691996672001,"power":2155,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 20:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":130831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:11:58] local.INFO: GPS data processed {"connection_id":130831,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:11:58] local.INFO: Acknowledgment sent {"connection_id":130831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:12:11] local.INFO: TCP Data received {"connection_id":130611,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:12:11] local.INFO: Processing buffer {"connection_id":130611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:12:11] local.INFO: Packet analysis {"connection_id":130611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5beb"} 
[2026-07-13 20:12:11] local.INFO: Extracted packet for processing {"connection_id":130611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5beb"} 
[2026-07-13 20:12:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692034816001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783953562000,"timestamp_ms":1783953562000,"timestamp_seconds":1783953562,"priority":1,"record_length":96,"hex_timestamp":"0000019f5beb1990"} 
[2026-07-13 20:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 20:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692034816001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692034816001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:12:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:12:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692034816001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":130611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:12:11] local.INFO: GPS data processed {"connection_id":130611,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:12:11] local.INFO: Acknowledgment sent {"connection_id":130611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:12:17] local.INFO: TCP Data received {"connection_id":132976,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5becf620012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5becf620012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:12:17] local.INFO: Processing buffer {"connection_id":132976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5becf620012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:12:17] local.INFO: Packet analysis {"connection_id":132976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bec"} 
[2026-07-13 20:12:17] local.INFO: Extracted packet for processing {"connection_id":132976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bec"} 
[2026-07-13 20:12:17] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20: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-07-13 20:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692137728001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:12:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946618368,"note":"Value kept but may cause issues"} 
[2026-07-13 20:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783953684000,"timestamp_ms":1783953684000,"timestamp_seconds":1783953684,"priority":1,"record_length":96,"hex_timestamp":"0000019f5becf620"} 
[2026-07-13 20:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-13 20:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1853,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20: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-07-13 20:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132976,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132976,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692137728001,"66":27876,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575315568946618368},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692137728001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:12:17] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:12:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:12:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946618368,"description":"Unknown IO ID 44"} 
[2026-07-13 20:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692137728001,"power":27876,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575315568946618368}} 
[2026-07-13 20:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":132976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481946,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:12:17] local.INFO: GPS data processed {"connection_id":132976,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:12:17] local.INFO: Acknowledgment sent {"connection_id":132976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:12:30] local.INFO: TCP Data received {"connection_id":130831,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5be8d388012d1b704007257aa00024001424..."} 
[2026-07-13 20:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5be8d388012d1b704007257aa00024001424..."} 
[2026-07-13 20:12:30] local.INFO: Processing buffer {"connection_id":130831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5be8d388012d1b704007257aa00024001424..."} 
[2026-07-13 20:12:30] local.INFO: Packet analysis {"connection_id":130831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5be8"} 
[2026-07-13 20:12:30] local.INFO: Extracted packet for processing {"connection_id":130831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5be8"} 
[2026-07-13 20:12:30] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":36,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 20:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456691996672001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 20:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 20:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783953413000,"timestamp_ms":1783953413000,"timestamp_seconds":1783953413,"priority":1,"record_length":96,"hex_timestamp":"0000019f5be8d388"} 
[2026-07-13 20:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 20:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":130831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":130831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":130831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456691996672001,"66":2155,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 20:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456691996672001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:12:30] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 20:12:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 20:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456691996672001,"power":2155,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 20:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":130831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:12:30] local.INFO: GPS data processed {"connection_id":130831,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:12:30] local.INFO: Acknowledgment sent {"connection_id":130831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:12:34] local.INFO: TCP Data received {"connection_id":130612,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:12:34] local.INFO: Processing buffer {"connection_id":130612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:12:34] local.INFO: IMEI packet received {"connection_id":130612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":130612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:12:39] local.INFO: TCP Data received {"connection_id":130612,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:12:39] local.INFO: Processing buffer {"connection_id":130612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:12:39] local.INFO: IMEI packet received {"connection_id":130612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":130612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:12:39] local.INFO: TCP Data received {"connection_id":131644,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131644,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:12:39] local.INFO: Processing buffer {"connection_id":131644,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:12:39] local.INFO: IMEI packet received {"connection_id":131644,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":131644,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:12:40] local.INFO: TCP Data received {"connection_id":130612,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:12:40] local.INFO: Processing buffer {"connection_id":130612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:12:40] local.INFO: Packet analysis {"connection_id":130612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5beb"} 
[2026-07-13 20:12:40] local.INFO: Extracted packet for processing {"connection_id":130612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5beb"} 
[2026-07-13 20:12:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692034816001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783953562000,"timestamp_ms":1783953562000,"timestamp_seconds":1783953562,"priority":1,"record_length":96,"hex_timestamp":"0000019f5beb1990"} 
[2026-07-13 20:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 20:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692034816001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692034816001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:12:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:12:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692034816001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":130612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:12:40] local.INFO: GPS data processed {"connection_id":130612,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:12:40] local.INFO: Acknowledgment sent {"connection_id":130612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:12:44] local.INFO: TCP Data received {"connection_id":131644,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131644,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:12:44] local.INFO: Processing buffer {"connection_id":131644,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:12:44] local.INFO: IMEI packet received {"connection_id":131644,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":131644,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:12:45] local.INFO: TCP Data received {"connection_id":131644,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bed4058012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bed4058012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:12:45] local.INFO: Processing buffer {"connection_id":131644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bed4058012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:12:45] local.INFO: Packet analysis {"connection_id":131644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bed"} 
[2026-07-13 20:12:45] local.INFO: Extracted packet for processing {"connection_id":131644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bed"} 
[2026-07-13 20:12:45] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692143104001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:12:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783953703000,"timestamp_ms":1783953703000,"timestamp_seconds":1783953703,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bed4058"} 
[2026-07-13 20:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-13 20:12:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:12:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131644,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131644,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692143104001,"66":27984,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692143104001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:12:45] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:12:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:12:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692143104001,"power":27984,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":131644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481949,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:12:45] local.INFO: GPS data processed {"connection_id":131644,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:12:45] local.INFO: Acknowledgment sent {"connection_id":131644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:12:57] local.INFO: TCP Data received {"connection_id":131645,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:12:57] local.INFO: Processing buffer {"connection_id":131645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:12:57] local.INFO: IMEI packet received {"connection_id":131645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":131645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:13:01] local.INFO: TCP Data received {"connection_id":131645,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:13:01] local.INFO: Processing buffer {"connection_id":131645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:13:01] local.INFO: IMEI packet received {"connection_id":131645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":131645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:13:04] local.INFO: TCP Data received {"connection_id":131645,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bed6b50012d1b704007257aa00024001425..."} 
[2026-07-13 20:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bed6b50012d1b704007257aa00024001425..."} 
[2026-07-13 20:13:04] local.INFO: Processing buffer {"connection_id":131645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bed6b50012d1b704007257aa00024001425..."} 
[2026-07-13 20:13:04] local.INFO: Packet analysis {"connection_id":131645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bed"} 
[2026-07-13 20:13:04] local.INFO: Extracted packet for processing {"connection_id":131645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bed"} 
[2026-07-13 20:13:04] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":37,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 20:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692073728001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 20:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 20:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783953714000,"timestamp_ms":1783953714000,"timestamp_seconds":1783953714,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bed6b50"} 
[2026-07-13 20:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 20:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":131645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":131645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":131645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692073728001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 20:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692073728001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:13:04] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 20:13:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 20:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692073728001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 20:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":131645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:13:04] local.INFO: GPS data processed {"connection_id":131645,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:13:04] local.INFO: Acknowledgment sent {"connection_id":131645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:13:04] local.INFO: TCP Data received {"connection_id":131645,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bedd8b0012d1b704007257aa00024001425..."} 
[2026-07-13 20:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bedd8b0012d1b704007257aa00024001425..."} 
[2026-07-13 20:13:04] local.INFO: Processing buffer {"connection_id":131645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bedd8b0012d1b704007257aa00024001425..."} 
[2026-07-13 20:13:04] local.INFO: Packet analysis {"connection_id":131645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bed"} 
[2026-07-13 20:13:04] local.INFO: Extracted packet for processing {"connection_id":131645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bed"} 
[2026-07-13 20:13:04] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":37,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 20:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692150784001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 20:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 20:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783953742000,"timestamp_ms":1783953742000,"timestamp_seconds":1783953742,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bedd8b0"} 
[2026-07-13 20:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 20:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":131645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":131645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":131645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692150784001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 20:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692150784001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:13:04] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 20:13:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 20:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692150784001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 20:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":131645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:13:04] local.INFO: GPS data processed {"connection_id":131645,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:13:04] local.INFO: Acknowledgment sent {"connection_id":131645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:13:11] local.INFO: TCP Data received {"connection_id":130612,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:13:11] local.INFO: Processing buffer {"connection_id":130612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:13:11] local.INFO: Packet analysis {"connection_id":130612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5beb"} 
[2026-07-13 20:13:11] local.INFO: Extracted packet for processing {"connection_id":130612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5beb"} 
[2026-07-13 20:13:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692034816001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783953562000,"timestamp_ms":1783953562000,"timestamp_seconds":1783953562,"priority":1,"record_length":96,"hex_timestamp":"0000019f5beb1990"} 
[2026-07-13 20:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 20:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692034816001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692034816001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:13:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:13:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692034816001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":130612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:13:11] local.INFO: GPS data processed {"connection_id":130612,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:13:11] local.INFO: Acknowledgment sent {"connection_id":130612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:13:17] local.INFO: TCP Data received {"connection_id":131644,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bed8a90012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bed8a90012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:13:17] local.INFO: Processing buffer {"connection_id":131644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bed8a90012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:13:17] local.INFO: Packet analysis {"connection_id":131644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bed"} 
[2026-07-13 20:13:17] local.INFO: Extracted packet for processing {"connection_id":131644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bed"} 
[2026-07-13 20:13:17] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692147968001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:13:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783953722000,"timestamp_ms":1783953722000,"timestamp_seconds":1783953722,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bed8a90"} 
[2026-07-13 20:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-13 20:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131644,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131644,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692147968001,"66":28234,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692147968001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:13:17] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:13:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:13:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692147968001,"power":28234,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":131644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481953,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:13:17] local.INFO: GPS data processed {"connection_id":131644,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:13:17] local.INFO: Acknowledgment sent {"connection_id":131644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:13:33] local.INFO: TCP Data received {"connection_id":132977,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:13:33] local.INFO: Processing buffer {"connection_id":132977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:13:33] local.INFO: IMEI packet received {"connection_id":132977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":132977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:13:35] local.INFO: TCP Data received {"connection_id":131645,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bedd8b0012d1b704007257aa00024001425..."} 
[2026-07-13 20:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bedd8b0012d1b704007257aa00024001425..."} 
[2026-07-13 20:13:35] local.INFO: Processing buffer {"connection_id":131645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bedd8b0012d1b704007257aa00024001425..."} 
[2026-07-13 20:13:35] local.INFO: Packet analysis {"connection_id":131645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bed"} 
[2026-07-13 20:13:35] local.INFO: Extracted packet for processing {"connection_id":131645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bed"} 
[2026-07-13 20:13:35] local.INFO: GPS Element Parsed {"raw_longitude":756772928,"raw_latitude":119896736,"longitude_deg":75.6772928,"latitude_deg":11.9896736,"altitude":36,"angle":20,"satellites":37,"speed":0,"hex_longitude":"2d1b7040","hex_latitude":"07257aa0","is_valid_coordinates":true} 
[2026-07-13 20:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692157952001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5962883485663232,"note":"Value kept but may cause issues"} 
[2026-07-13 20:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977150635853389824,"note":"Value kept but may cause issues"} 
[2026-07-13 20:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783953742000,"timestamp_ms":1783953742000,"timestamp_seconds":1783953742,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bedd8b0"} 
[2026-07-13 20:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 20:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":131645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":131645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":131645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692157952001,"66":2166,"216":206,"83":42752,"24":0,"16":5962883485663232,"45":1977150635853389824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-07-13 20:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692157952001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:13:35] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-13 20:13:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5962883485663232,"km_value":5962883485663.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977150635853389824,"description":"Unknown IO ID 45"} 
[2026-07-13 20:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692157952001,"power":2166,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1977150635853389824}} 
[2026-07-13 20:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":131645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:13:35] local.INFO: GPS data processed {"connection_id":131645,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:13:35] local.INFO: Acknowledgment sent {"connection_id":131645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:13:39] local.INFO: TCP Data received {"connection_id":132977,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:13:39] local.INFO: Processing buffer {"connection_id":132977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:13:39] local.INFO: IMEI packet received {"connection_id":132977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":132977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:13:39] local.INFO: TCP Data received {"connection_id":130613,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130613,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:13:39] local.INFO: Processing buffer {"connection_id":130613,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:13:39] local.INFO: IMEI packet received {"connection_id":130613,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":130613,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:13:40] local.INFO: TCP Data received {"connection_id":132977,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:13:40] local.INFO: Processing buffer {"connection_id":132977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:13:40] local.INFO: Packet analysis {"connection_id":132977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5beb"} 
[2026-07-13 20:13:40] local.INFO: Extracted packet for processing {"connection_id":132977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5beb"} 
[2026-07-13 20:13:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692034816001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783953562000,"timestamp_ms":1783953562000,"timestamp_seconds":1783953562,"priority":1,"record_length":96,"hex_timestamp":"0000019f5beb1990"} 
[2026-07-13 20:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 20:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":132977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":132977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":132977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692034816001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692034816001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:13:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692034816001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":132977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:13:40] local.INFO: GPS data processed {"connection_id":132977,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:13:40] local.INFO: Acknowledgment sent {"connection_id":132977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:13:44] local.INFO: TCP Data received {"connection_id":130613,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130613,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:13:44] local.INFO: Processing buffer {"connection_id":130613,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:13:44] local.INFO: IMEI packet received {"connection_id":130613,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":130613,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:13:46] local.INFO: TCP Data received {"connection_id":130613,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bedd8b0012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bedd8b0012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:13:46] local.INFO: Processing buffer {"connection_id":130613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bedd8b0012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:13:46] local.INFO: Packet analysis {"connection_id":130613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bed"} 
[2026-07-13 20:13:46] local.INFO: Extracted packet for processing {"connection_id":130613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bed"} 
[2026-07-13 20:13:46] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692152832001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:13:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783953742000,"timestamp_ms":1783953742000,"timestamp_seconds":1783953742,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bedd8b0"} 
[2026-07-13 20:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-13 20:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130613,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130613,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692152832001,"66":28006,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692152832001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:13:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:13:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:13:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692152832001,"power":28006,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":130613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481956,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:13:46] local.INFO: GPS data processed {"connection_id":130613,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:13:46] local.INFO: Acknowledgment sent {"connection_id":130613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:13:49] local.INFO: TCP Data received {"connection_id":130832,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:13:49] local.INFO: Processing buffer {"connection_id":130832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:13:49] local.INFO: IMEI packet received {"connection_id":130832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":130832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:13:51] local.INFO: TCP Data received {"connection_id":130832,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:13:51] local.INFO: Processing buffer {"connection_id":130832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:13:51] local.INFO: IMEI packet received {"connection_id":130832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":130832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:13:52] local.INFO: TCP Data received {"connection_id":130832,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:13:52] local.INFO: Processing buffer {"connection_id":130832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:13:52] local.INFO: IMEI packet received {"connection_id":130832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":130832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:13:53] local.INFO: TCP Data received {"connection_id":130832,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:13:53] local.INFO: Processing buffer {"connection_id":130832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:13:53] local.INFO: IMEI packet received {"connection_id":130832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":130832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:14:11] local.INFO: TCP Data received {"connection_id":132977,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:14:11] local.INFO: Processing buffer {"connection_id":132977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:14:11] local.INFO: Packet analysis {"connection_id":132977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5beb"} 
[2026-07-13 20:14:11] local.INFO: Extracted packet for processing {"connection_id":132977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5beb"} 
[2026-07-13 20:14:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692034816001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783953562000,"timestamp_ms":1783953562000,"timestamp_seconds":1783953562,"priority":1,"record_length":96,"hex_timestamp":"0000019f5beb1990"} 
[2026-07-13 20:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 20:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":132977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":132977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":132977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692034816001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692034816001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:14:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:14:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692034816001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":132977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:14:11] local.INFO: GPS data processed {"connection_id":132977,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:14:11] local.INFO: Acknowledgment sent {"connection_id":132977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:14:17] local.INFO: TCP Data received {"connection_id":130613,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bee1f00012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bee1f00012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:14:17] local.INFO: Processing buffer {"connection_id":130613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bee1f00012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:14:17] local.INFO: Packet analysis {"connection_id":130613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bee"} 
[2026-07-13 20:14:17] local.INFO: Extracted packet for processing {"connection_id":130613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bee"} 
[2026-07-13 20:14:17] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692157952001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:14:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783953760000,"timestamp_ms":1783953760000,"timestamp_seconds":1783953760,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bee1f00"} 
[2026-07-13 20:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-13 20:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130613,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130613,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692157952001,"66":28267,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692157952001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:14:17] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:14:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:14:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692157952001,"power":28267,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":130613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481958,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:14:18] local.INFO: GPS data processed {"connection_id":130613,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:14:18] local.INFO: Acknowledgment sent {"connection_id":130613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:14:33] local.INFO: TCP Data received {"connection_id":130614,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:14:33] local.INFO: Processing buffer {"connection_id":130614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:14:33] local.INFO: IMEI packet received {"connection_id":130614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":130614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:14:39] local.INFO: TCP Data received {"connection_id":130614,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:14:39] local.INFO: Processing buffer {"connection_id":130614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:14:39] local.INFO: IMEI packet received {"connection_id":130614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":130614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:14:40] local.INFO: TCP Data received {"connection_id":130614,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:14:40] local.INFO: Processing buffer {"connection_id":130614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5beb1990012d7f914005afd938001b011b23..."} 
[2026-07-13 20:14:40] local.INFO: Packet analysis {"connection_id":130614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5beb"} 
[2026-07-13 20:14:40] local.INFO: Extracted packet for processing {"connection_id":130614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5beb"} 
[2026-07-13 20:14:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692034816001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783953562000,"timestamp_ms":1783953562000,"timestamp_seconds":1783953562,"priority":1,"record_length":96,"hex_timestamp":"0000019f5beb1990"} 
[2026-07-13 20:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 20:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692034816001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692034816001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:14:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:14:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692034816001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":130614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:14:40] local.INFO: GPS data processed {"connection_id":130614,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:14:40] local.INFO: Acknowledgment sent {"connection_id":130614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:14:44] local.INFO: TCP Data received {"connection_id":130615,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130615,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:14:44] local.INFO: Processing buffer {"connection_id":130615,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:14:44] local.INFO: IMEI packet received {"connection_id":130615,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":130615,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:14:50] local.INFO: TCP Data received {"connection_id":130615,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130615,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:14:50] local.INFO: Processing buffer {"connection_id":130615,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:14:50] local.INFO: IMEI packet received {"connection_id":130615,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":130615,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:14:51] local.INFO: TCP Data received {"connection_id":130615,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bee6938012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bee6938012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:14:51] local.INFO: Processing buffer {"connection_id":130615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bee6938012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:14:51] local.INFO: Packet analysis {"connection_id":130615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bee"} 
[2026-07-13 20:14:51] local.INFO: Extracted packet for processing {"connection_id":130615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bee"} 
[2026-07-13 20:14:51] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692162560001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:14:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783953779000,"timestamp_ms":1783953779000,"timestamp_seconds":1783953779,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bee6938"} 
[2026-07-13 20:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 20:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1711,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692162560001,"66":28354,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692162560001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:14:51] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:14:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:14:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692162560001,"power":28354,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":130615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481960,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:14:51] local.INFO: GPS data processed {"connection_id":130615,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:14:51] local.INFO: Acknowledgment sent {"connection_id":130615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:14:52] local.INFO: TCP Data received {"connection_id":130615,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5beeaf88012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5beeaf88012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:14:52] local.INFO: Processing buffer {"connection_id":130615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5beeaf88012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:14:52] local.INFO: Packet analysis {"connection_id":130615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bee"} 
[2026-07-13 20:14:52] local.INFO: Extracted packet for processing {"connection_id":130615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bee"} 
[2026-07-13 20:14:52] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692167424001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:14:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783953797000,"timestamp_ms":1783953797000,"timestamp_seconds":1783953797,"priority":1,"record_length":96,"hex_timestamp":"0000019f5beeaf88"} 
[2026-07-13 20:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-13 20:14:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":130615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":130615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":130615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692167424001,"66":28300,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692167424001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:14:52] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:14:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:14:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692167424001,"power":28300,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":130615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481961,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:14:52] local.INFO: GPS data processed {"connection_id":130615,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:14:52] local.INFO: Acknowledgment sent {"connection_id":130615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:15:12] local.INFO: TCP Data received {"connection_id":130614,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5befb158012d7f914005afd938001b011b20..."} 
[2026-07-13 20:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5befb158012d7f914005afd938001b011b20..."} 
[2026-07-13 20:15:12] local.INFO: Processing buffer {"connection_id":130614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5befb158012d7f914005afd938001b011b20..."} 
[2026-07-13 20:15:12] local.INFO: Packet analysis {"connection_id":130614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bef"} 
[2026-07-13 20:15:12] local.INFO: Extracted packet for processing {"connection_id":130614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bef"} 
[2026-07-13 20:15:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692111872001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783953863000,"timestamp_ms":1783953863000,"timestamp_seconds":1783953863,"priority":1,"record_length":96,"hex_timestamp":"0000019f5befb158"} 
[2026-07-13 20:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692111872001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692111872001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:15:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:15:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692111872001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":130614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:15:12] local.INFO: GPS data processed {"connection_id":130614,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:15:12] local.INFO: Acknowledgment sent {"connection_id":130614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:15:25] local.INFO: TCP Data received {"connection_id":130615,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5beef9c0012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5beef9c0012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:15:25] local.INFO: Processing buffer {"connection_id":130615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5beef9c0012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:15:25] local.INFO: Packet analysis {"connection_id":130615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bee"} 
[2026-07-13 20:15:25] local.INFO: Extracted packet for processing {"connection_id":130615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bee"} 
[2026-07-13 20:15:25] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692172032001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:15:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:15:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783953816000,"timestamp_ms":1783953816000,"timestamp_seconds":1783953816,"priority":1,"record_length":96,"hex_timestamp":"0000019f5beef9c0"} 
[2026-07-13 20:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:15:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-13 20:15:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:15:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":130615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":130615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":130615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692172032001,"66":28137,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692172032001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:15:25] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:15:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:15:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692172032001,"power":28137,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":130615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481963,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:15:25] local.INFO: GPS data processed {"connection_id":130615,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:15:25] local.INFO: Acknowledgment sent {"connection_id":130615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:15:33] local.INFO: TCP Data received {"connection_id":131646,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:15:33] local.INFO: Processing buffer {"connection_id":131646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:15:33] local.INFO: IMEI packet received {"connection_id":131646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":131646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:15:39] local.INFO: TCP Data received {"connection_id":131646,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:15:39] local.INFO: Processing buffer {"connection_id":131646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:15:39] local.INFO: IMEI packet received {"connection_id":131646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":131646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:15:40] local.INFO: TCP Data received {"connection_id":132978,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:15:40] local.INFO: Processing buffer {"connection_id":132978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:15:40] local.INFO: IMEI packet received {"connection_id":132978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":132978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:15:40] local.INFO: TCP Data received {"connection_id":131646,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5befb158012d7f914005afd938001b011b20..."} 
[2026-07-13 20:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5befb158012d7f914005afd938001b011b20..."} 
[2026-07-13 20:15:40] local.INFO: Processing buffer {"connection_id":131646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5befb158012d7f914005afd938001b011b20..."} 
[2026-07-13 20:15:40] local.INFO: Packet analysis {"connection_id":131646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bef"} 
[2026-07-13 20:15:40] local.INFO: Extracted packet for processing {"connection_id":131646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bef"} 
[2026-07-13 20:15:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20: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-07-13 20:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692111872001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783953863000,"timestamp_ms":1783953863000,"timestamp_seconds":1783953863,"priority":1,"record_length":96,"hex_timestamp":"0000019f5befb158"} 
[2026-07-13 20:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20: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-07-13 20:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692111872001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692111872001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:15:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:15:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692111872001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":131646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:15:40] local.INFO: GPS data processed {"connection_id":131646,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:15:40] local.INFO: Acknowledgment sent {"connection_id":131646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:15:45] local.INFO: TCP Data received {"connection_id":132978,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:15:45] local.INFO: Processing buffer {"connection_id":132978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:15:45] local.INFO: IMEI packet received {"connection_id":132978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":132978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:15:47] local.INFO: TCP Data received {"connection_id":132978,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bef43f8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bef43f8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:15:47] local.INFO: Processing buffer {"connection_id":132978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bef43f8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:15:47] local.INFO: Packet analysis {"connection_id":132978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bef"} 
[2026-07-13 20:15:47] local.INFO: Extracted packet for processing {"connection_id":132978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bef"} 
[2026-07-13 20:15:47] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692176896001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:15:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783953835000,"timestamp_ms":1783953835000,"timestamp_seconds":1783953835,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bef43f8"} 
[2026-07-13 20:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 20:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":132978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":132978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":132978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692176896001,"66":28267,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692176896001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:15:47] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:15:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:15:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692176896001,"power":28267,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":132978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481965,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:15:47] local.INFO: GPS data processed {"connection_id":132978,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:15:47] local.INFO: Acknowledgment sent {"connection_id":132978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:16:11] local.INFO: TCP Data received {"connection_id":131646,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5befb158012d7f914005afd938001b011b20..."} 
[2026-07-13 20:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5befb158012d7f914005afd938001b011b20..."} 
[2026-07-13 20:16:11] local.INFO: Processing buffer {"connection_id":131646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5befb158012d7f914005afd938001b011b20..."} 
[2026-07-13 20:16:11] local.INFO: Packet analysis {"connection_id":131646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bef"} 
[2026-07-13 20:16:11] local.INFO: Extracted packet for processing {"connection_id":131646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bef"} 
[2026-07-13 20:16:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692111872001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783953863000,"timestamp_ms":1783953863000,"timestamp_seconds":1783953863,"priority":1,"record_length":96,"hex_timestamp":"0000019f5befb158"} 
[2026-07-13 20:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692111872001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692111872001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:16:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:16:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692111872001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":131646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:16:11] local.INFO: GPS data processed {"connection_id":131646,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:16:11] local.INFO: Acknowledgment sent {"connection_id":131646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:16:18] local.INFO: TCP Data received {"connection_id":132978,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bef8a48012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bef8a48012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:16:18] local.INFO: Processing buffer {"connection_id":132978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bef8a48012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:16:18] local.INFO: Packet analysis {"connection_id":132978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bef"} 
[2026-07-13 20:16:18] local.INFO: Extracted packet for processing {"connection_id":132978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bef"} 
[2026-07-13 20:16:18] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 20:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692181760001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:16:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783953853000,"timestamp_ms":1783953853000,"timestamp_seconds":1783953853,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bef8a48"} 
[2026-07-13 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-07-13 20:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 20:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1711,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 20:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692181760001,"66":28256,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692181760001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:16:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:16:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:16:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692181760001,"power":28256,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":132978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481967,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:16:18] local.INFO: GPS data processed {"connection_id":132978,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:16:18] local.INFO: Acknowledgment sent {"connection_id":132978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:16:34] local.INFO: TCP Data received {"connection_id":130834,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:16:34] local.INFO: Processing buffer {"connection_id":130834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:16:34] local.INFO: IMEI packet received {"connection_id":130834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":130834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:16:39] local.INFO: TCP Data received {"connection_id":130834,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:16:39] local.INFO: Processing buffer {"connection_id":130834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:16:39] local.INFO: IMEI packet received {"connection_id":130834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":130834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:16:40] local.INFO: TCP Data received {"connection_id":130834,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5befb158012d7f914005afd938001b011b20..."} 
[2026-07-13 20:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5befb158012d7f914005afd938001b011b20..."} 
[2026-07-13 20:16:40] local.INFO: Processing buffer {"connection_id":130834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5befb158012d7f914005afd938001b011b20..."} 
[2026-07-13 20:16:40] local.INFO: Packet analysis {"connection_id":130834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bef"} 
[2026-07-13 20:16:40] local.INFO: Extracted packet for processing {"connection_id":130834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bef"} 
[2026-07-13 20:16:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692111872001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783953863000,"timestamp_ms":1783953863000,"timestamp_seconds":1783953863,"priority":1,"record_length":96,"hex_timestamp":"0000019f5befb158"} 
[2026-07-13 20:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692111872001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692111872001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:16:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:16:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692111872001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":130834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:16:40] local.INFO: GPS data processed {"connection_id":130834,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:16:40] local.INFO: Acknowledgment sent {"connection_id":130834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:16:40] local.INFO: TCP Data received {"connection_id":130835,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130835,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:16:40] local.INFO: Processing buffer {"connection_id":130835,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:16:40] local.INFO: IMEI packet received {"connection_id":130835,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":130835,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:16:44] local.INFO: TCP Data received {"connection_id":130835,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130835,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:16:44] local.INFO: Processing buffer {"connection_id":130835,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:16:45] local.INFO: IMEI packet received {"connection_id":130835,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":130835,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:16:46] local.INFO: TCP Data received {"connection_id":130835,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5befd868012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5befd868012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:16:46] local.INFO: Processing buffer {"connection_id":130835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5befd868012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:16:46] local.INFO: Packet analysis {"connection_id":130835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bef"} 
[2026-07-13 20:16:46] local.INFO: Extracted packet for processing {"connection_id":130835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bef"} 
[2026-07-13 20:16:46] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692186368001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:16:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783953873000,"timestamp_ms":1783953873000,"timestamp_seconds":1783953873,"priority":1,"record_length":96,"hex_timestamp":"0000019f5befd868"} 
[2026-07-13 20:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-13 20:16:46] 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-07-13 20:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130835,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130835,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692186368001,"66":28104,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692186368001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:16:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:16:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:16:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692186368001,"power":28104,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":130835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481969,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:16:46] local.INFO: GPS data processed {"connection_id":130835,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:16:46] local.INFO: Acknowledgment sent {"connection_id":130835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:17:12] local.INFO: TCP Data received {"connection_id":130834,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5befb158012d7f914005afd938001b011b20..."} 
[2026-07-13 20:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5befb158012d7f914005afd938001b011b20..."} 
[2026-07-13 20:17:12] local.INFO: Processing buffer {"connection_id":130834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5befb158012d7f914005afd938001b011b20..."} 
[2026-07-13 20:17:12] local.INFO: Packet analysis {"connection_id":130834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bef"} 
[2026-07-13 20:17:12] local.INFO: Extracted packet for processing {"connection_id":130834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bef"} 
[2026-07-13 20:17:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692111872001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783953863000,"timestamp_ms":1783953863000,"timestamp_seconds":1783953863,"priority":1,"record_length":96,"hex_timestamp":"0000019f5befb158"} 
[2026-07-13 20:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692111872001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692111872001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:17:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:17:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692111872001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":130834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:17:12] local.INFO: GPS data processed {"connection_id":130834,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:17:12] local.INFO: Acknowledgment sent {"connection_id":130834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:17:19] local.INFO: TCP Data received {"connection_id":130835,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf02688012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf02688012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:17:19] local.INFO: Processing buffer {"connection_id":130835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf02688012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:17:19] local.INFO: Packet analysis {"connection_id":130835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf0"} 
[2026-07-13 20:17:19] local.INFO: Extracted packet for processing {"connection_id":130835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf0"} 
[2026-07-13 20:17:19] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692191488001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:17:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783953893000,"timestamp_ms":1783953893000,"timestamp_seconds":1783953893,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf02688"} 
[2026-07-13 20:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":200,"data_length":795,"current_offset":136} 
[2026-07-13 20:17:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:17:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130835,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130835,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692191488001,"66":28050,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692191488001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:17:19] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:17:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:17:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692191488001,"power":28050,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":130835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481971,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:17:19] local.INFO: GPS data processed {"connection_id":130835,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:17:19] local.INFO: Acknowledgment sent {"connection_id":130835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:17:33] local.INFO: TCP Data received {"connection_id":132979,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:17:33] local.INFO: Processing buffer {"connection_id":132979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:17:33] local.INFO: IMEI packet received {"connection_id":132979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":132979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:17:39] local.INFO: TCP Data received {"connection_id":132979,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:17:39] local.INFO: Processing buffer {"connection_id":132979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:17:39] local.INFO: IMEI packet received {"connection_id":132979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":132979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:17:39] local.INFO: TCP Data received {"connection_id":131648,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131648,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:17:39] local.INFO: Processing buffer {"connection_id":131648,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:17:39] local.INFO: IMEI packet received {"connection_id":131648,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":131648,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:17:41] local.INFO: TCP Data received {"connection_id":132979,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5befb158012d7f914005afd938001b011b20..."} 
[2026-07-13 20:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5befb158012d7f914005afd938001b011b20..."} 
[2026-07-13 20:17:41] local.INFO: Processing buffer {"connection_id":132979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5befb158012d7f914005afd938001b011b20..."} 
[2026-07-13 20:17:41] local.INFO: Packet analysis {"connection_id":132979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bef"} 
[2026-07-13 20:17:41] local.INFO: Extracted packet for processing {"connection_id":132979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bef"} 
[2026-07-13 20:17:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692111872001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783953863000,"timestamp_ms":1783953863000,"timestamp_seconds":1783953863,"priority":1,"record_length":96,"hex_timestamp":"0000019f5befb158"} 
[2026-07-13 20:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":132979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":132979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":132979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692111872001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692111872001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:17:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:17:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692111872001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":132979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:17:41] local.INFO: GPS data processed {"connection_id":132979,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:17:41] local.INFO: Acknowledgment sent {"connection_id":132979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:17:51] local.INFO: TCP Data received {"connection_id":131648,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131648,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:17:51] local.INFO: Processing buffer {"connection_id":131648,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:17:51] local.INFO: IMEI packet received {"connection_id":131648,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":131648,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:17:52] local.INFO: TCP Data received {"connection_id":131648,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf07890012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf07890012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:17:52] local.INFO: Processing buffer {"connection_id":131648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf07890012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:17:52] local.INFO: Packet analysis {"connection_id":131648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf0"} 
[2026-07-13 20:17:52] local.INFO: Extracted packet for processing {"connection_id":131648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf0"} 
[2026-07-13 20:17:52] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692196608001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:17:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783953914000,"timestamp_ms":1783953914000,"timestamp_seconds":1783953914,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf07890"} 
[2026-07-13 20:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-13 20:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":131648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":131648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":131648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692196608001,"66":28202,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692196608001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:17:52] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:17:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:17:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692196608001,"power":28202,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":131648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481973,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:17:52] local.INFO: GPS data processed {"connection_id":131648,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:17:52] local.INFO: Acknowledgment sent {"connection_id":131648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:18:12] local.INFO: TCP Data received {"connection_id":132979,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5befb158012d7f914005afd938001b011b20..."} 
[2026-07-13 20:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5befb158012d7f914005afd938001b011b20..."} 
[2026-07-13 20:18:12] local.INFO: Processing buffer {"connection_id":132979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5befb158012d7f914005afd938001b011b20..."} 
[2026-07-13 20:18:12] local.INFO: Packet analysis {"connection_id":132979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bef"} 
[2026-07-13 20:18:12] local.INFO: Extracted packet for processing {"connection_id":132979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bef"} 
[2026-07-13 20:18:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692111872001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783953863000,"timestamp_ms":1783953863000,"timestamp_seconds":1783953863,"priority":1,"record_length":96,"hex_timestamp":"0000019f5befb158"} 
[2026-07-13 20:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":132979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":132979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":132979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692111872001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692111872001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:18:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:18:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692111872001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":132979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:18:12] local.INFO: GPS data processed {"connection_id":132979,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:18:12] local.INFO: Acknowledgment sent {"connection_id":132979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:18:23] local.INFO: TCP Data received {"connection_id":131648,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf0ca98012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf0ca98012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:18:23] local.INFO: Processing buffer {"connection_id":131648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf0ca98012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:18:23] local.INFO: Packet analysis {"connection_id":131648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf0"} 
[2026-07-13 20:18:23] local.INFO: Extracted packet for processing {"connection_id":131648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf0"} 
[2026-07-13 20:18:23] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 20:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692201984001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:18:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783953935000,"timestamp_ms":1783953935000,"timestamp_seconds":1783953935,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf0ca98"} 
[2026-07-13 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-07-13 20:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-07-13 20:18:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 20:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":131648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":131648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":131648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692201984001,"66":28267,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692201984001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:18:23] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:18:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:18:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692201984001,"power":28267,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":131648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481975,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:18:23] local.INFO: GPS data processed {"connection_id":131648,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:18:23] local.INFO: Acknowledgment sent {"connection_id":131648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:18:35] local.INFO: TCP Data received {"connection_id":130836,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:18:35] local.INFO: Processing buffer {"connection_id":130836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:18:35] local.INFO: IMEI packet received {"connection_id":130836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":130836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:18:39] local.INFO: TCP Data received {"connection_id":130836,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:18:39] local.INFO: Processing buffer {"connection_id":130836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:18:39] local.INFO: IMEI packet received {"connection_id":130836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":130836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:18:39] local.INFO: TCP Data received {"connection_id":132980,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132980,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:18:39] local.INFO: Processing buffer {"connection_id":132980,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:18:39] local.INFO: IMEI packet received {"connection_id":132980,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":132980,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:18:40] local.INFO: TCP Data received {"connection_id":130836,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5befb158012d7f914005afd938001b011b20..."} 
[2026-07-13 20:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5befb158012d7f914005afd938001b011b20..."} 
[2026-07-13 20:18:40] local.INFO: Processing buffer {"connection_id":130836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5befb158012d7f914005afd938001b011b20..."} 
[2026-07-13 20:18:40] local.INFO: Packet analysis {"connection_id":130836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bef"} 
[2026-07-13 20:18:40] local.INFO: Extracted packet for processing {"connection_id":130836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bef"} 
[2026-07-13 20:18:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692111872001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783953863000,"timestamp_ms":1783953863000,"timestamp_seconds":1783953863,"priority":1,"record_length":96,"hex_timestamp":"0000019f5befb158"} 
[2026-07-13 20:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692111872001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692111872001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:18:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:18:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692111872001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":130836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:18:40] local.INFO: GPS data processed {"connection_id":130836,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:18:40] local.INFO: Acknowledgment sent {"connection_id":130836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:18:40] local.INFO: TCP Data received {"connection_id":132980,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132980,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:18:40] local.INFO: Processing buffer {"connection_id":132980,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:18:40] local.INFO: IMEI packet received {"connection_id":132980,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":132980,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:18:45] local.INFO: TCP Data received {"connection_id":132980,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132980,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:18:45] local.INFO: Processing buffer {"connection_id":132980,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:18:45] local.INFO: IMEI packet received {"connection_id":132980,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":132980,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:18:46] local.INFO: TCP Data received {"connection_id":132980,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf11ca0012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf11ca0012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:18:46] local.INFO: Processing buffer {"connection_id":132980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf11ca0012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:18:46] local.INFO: Packet analysis {"connection_id":132980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf1"} 
[2026-07-13 20:18:46] local.INFO: Extracted packet for processing {"connection_id":132980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf1"} 
[2026-07-13 20:18:46] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692207360001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:18:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783953956000,"timestamp_ms":1783953956000,"timestamp_seconds":1783953956,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf11ca0"} 
[2026-07-13 20:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 20:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1711,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132980,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132980,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692207360001,"66":28256,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692207360001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:18:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:18:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:18:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692207360001,"power":28256,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":132980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481977,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:18:46] local.INFO: GPS data processed {"connection_id":132980,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:18:46] local.INFO: Acknowledgment sent {"connection_id":132980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:18:57] local.INFO: TCP Data received {"connection_id":132981,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:18:57] local.INFO: Processing buffer {"connection_id":132981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:18:57] local.INFO: IMEI packet received {"connection_id":132981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":132981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:19:03] local.INFO: TCP Data received {"connection_id":132981,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:19:03] local.INFO: Processing buffer {"connection_id":132981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:19:03] local.INFO: IMEI packet received {"connection_id":132981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":132981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:19:03] local.INFO: TCP Data received {"connection_id":132981,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf13028012d1b3d000725bfb8002b00b726..."} 
[2026-07-13 20:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf13028012d1b3d000725bfb8002b00b726..."} 
[2026-07-13 20:19:03] local.INFO: Processing buffer {"connection_id":132981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf13028012d1b3d000725bfb8002b00b726..."} 
[2026-07-13 20:19:03] local.INFO: Packet analysis {"connection_id":132981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf1"} 
[2026-07-13 20:19:03] local.INFO: Extracted packet for processing {"connection_id":132981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf1"} 
[2026-07-13 20:19:03] local.INFO: GPS Element Parsed {"raw_longitude":756759808,"raw_latitude":119914424,"longitude_deg":75.6759808,"latitude_deg":11.9914424,"altitude":43,"angle":183,"satellites":38,"speed":7,"hex_longitude":"2d1b3d00","hex_latitude":"0725bfb8","is_valid_coordinates":true} 
[2026-07-13 20:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692213248001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5965426106302464,"note":"Value kept but may cause issues"} 
[2026-07-13 20:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1962936149534212096,"note":"Value kept but may cause issues"} 
[2026-07-13 20:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783953961000,"timestamp_ms":1783953961000,"timestamp_seconds":1783953961,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf13028"} 
[2026-07-13 20:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 20: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-07-13 20:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":132981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":132981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":132981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692213248001,"66":12504,"217":206,"83":42752,"24":7,"16":5965426106302464,"45":1962936149534212096},"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-07-13 20:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692213248001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:19:03] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-13 20:19:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5965426106302464,"km_value":5965426106302.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1962936149534212096,"description":"Unknown IO ID 45"} 
[2026-07-13 20:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692213248001,"power":12504,"unknown_217":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1962936149534212096}} 
[2026-07-13 20:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":132981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:19:04] local.INFO: GPS data processed {"connection_id":132981,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:19:04] local.INFO: Acknowledgment sent {"connection_id":132981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:19:08] local.INFO: TCP Data received {"connection_id":132981,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf13410012d1b3d000725bf08002b00ac25..."} 
[2026-07-13 20:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf13410012d1b3d000725bf08002b00ac25..."} 
[2026-07-13 20:19:08] local.INFO: Processing buffer {"connection_id":132981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf13410012d1b3d000725bf08002b00ac25..."} 
[2026-07-13 20:19:08] local.INFO: Packet analysis {"connection_id":132981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf1"} 
[2026-07-13 20:19:08] local.INFO: Extracted packet for processing {"connection_id":132981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf1"} 
[2026-07-13 20:19:08] local.INFO: GPS Element Parsed {"raw_longitude":756759808,"raw_latitude":119914248,"longitude_deg":75.6759808,"latitude_deg":11.9914248,"altitude":43,"angle":172,"satellites":37,"speed":7,"hex_longitude":"2d1b3d00","hex_latitude":"0725bf08","is_valid_coordinates":true} 
[2026-07-13 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-07-13 20:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692214016001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5965438991204352,"note":"Value kept but may cause issues"} 
[2026-07-13 20:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1962725043301496832,"note":"Value kept but may cause issues"} 
[2026-07-13 20:19: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-07-13 20:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783953962000,"timestamp_ms":1783953962000,"timestamp_seconds":1783953962,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf13410"} 
[2026-07-13 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-07-13 20:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":216,"data_length":795,"current_offset":136} 
[2026-07-13 20:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 20:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":132981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":132981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":132981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692214016001,"66":12504,"217":206,"83":42752,"24":7,"16":5965438991204352,"45":1962725043301496832},"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-07-13 20:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692214016001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:19:08] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-13 20:19:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5965438991204352,"km_value":5965438991204.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1962725043301496832,"description":"Unknown IO ID 45"} 
[2026-07-13 20:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692214016001,"power":12504,"unknown_217":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1962725043301496832}} 
[2026-07-13 20:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":132981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:19:08] local.INFO: GPS data processed {"connection_id":132981,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:19:08] local.INFO: Acknowledgment sent {"connection_id":132981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:19:11] local.INFO: TCP Data received {"connection_id":130836,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5befb158012d7f914005afd938001b011b20..."} 
[2026-07-13 20:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5befb158012d7f914005afd938001b011b20..."} 
[2026-07-13 20:19:11] local.INFO: Processing buffer {"connection_id":130836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5befb158012d7f914005afd938001b011b20..."} 
[2026-07-13 20:19:11] local.INFO: Packet analysis {"connection_id":130836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bef"} 
[2026-07-13 20:19:11] local.INFO: Extracted packet for processing {"connection_id":130836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bef"} 
[2026-07-13 20:19:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692111872001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783953863000,"timestamp_ms":1783953863000,"timestamp_seconds":1783953863,"priority":1,"record_length":96,"hex_timestamp":"0000019f5befb158"} 
[2026-07-13 20:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692111872001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692111872001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:19:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692111872001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":130836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:19:11] local.INFO: GPS data processed {"connection_id":130836,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:19:11] local.INFO: Acknowledgment sent {"connection_id":130836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:19:18] local.INFO: TCP Data received {"connection_id":132980,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf16ea8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf16ea8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:19:18] local.INFO: Processing buffer {"connection_id":132980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf16ea8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:19:18] local.INFO: Packet analysis {"connection_id":132980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf1"} 
[2026-07-13 20:19:18] local.INFO: Extracted packet for processing {"connection_id":132980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf1"} 
[2026-07-13 20:19:18] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 20:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692212736001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:19:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783953977000,"timestamp_ms":1783953977000,"timestamp_seconds":1783953977,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf16ea8"} 
[2026-07-13 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-07-13 20:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-13 20:19:18] 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-07-13 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-07-13 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-07-13 20:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132980,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132980,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692212736001,"66":28267,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692212736001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:19:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:19:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:19:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692212736001,"power":28267,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":132980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481981,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:19:18] local.INFO: GPS data processed {"connection_id":132980,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:19:18] local.INFO: Acknowledgment sent {"connection_id":132980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:19:33] local.INFO: TCP Data received {"connection_id":131650,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:19:33] local.INFO: Processing buffer {"connection_id":131650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:19:33] local.INFO: IMEI packet received {"connection_id":131650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":131650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:19:39] local.INFO: TCP Data received {"connection_id":131650,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:19:39] local.INFO: Processing buffer {"connection_id":131650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:19:39] local.INFO: IMEI packet received {"connection_id":131650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":131650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:19:40] local.INFO: TCP Data received {"connection_id":131650,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5befb158012d7f914005afd938001b011b20..."} 
[2026-07-13 20:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5befb158012d7f914005afd938001b011b20..."} 
[2026-07-13 20:19:40] local.INFO: Processing buffer {"connection_id":131650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5befb158012d7f914005afd938001b011b20..."} 
[2026-07-13 20:19:40] local.INFO: Packet analysis {"connection_id":131650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bef"} 
[2026-07-13 20:19:40] local.INFO: Extracted packet for processing {"connection_id":131650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bef"} 
[2026-07-13 20:19:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20: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-07-13 20:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692111872001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783953863000,"timestamp_ms":1783953863000,"timestamp_seconds":1783953863,"priority":1,"record_length":96,"hex_timestamp":"0000019f5befb158"} 
[2026-07-13 20:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20: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-07-13 20:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692111872001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692111872001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:19:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:19:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692111872001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":131650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:19:40] local.INFO: GPS data processed {"connection_id":131650,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:19:40] local.INFO: Acknowledgment sent {"connection_id":131650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:19:43] local.INFO: TCP Data received {"connection_id":130617,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130617,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:19:43] local.INFO: Processing buffer {"connection_id":130617,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:19:43] local.INFO: IMEI packet received {"connection_id":130617,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":130617,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:19:44] local.INFO: TCP Data received {"connection_id":130617,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130617,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:19:44] local.INFO: Processing buffer {"connection_id":130617,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:19:44] local.INFO: IMEI packet received {"connection_id":130617,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":130617,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:19:49] local.INFO: TCP Data received {"connection_id":130617,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130617,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:19:49] local.INFO: Processing buffer {"connection_id":130617,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:19:49] local.INFO: IMEI packet received {"connection_id":130617,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":130617,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:19:50] local.INFO: TCP Data received {"connection_id":130617,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf1c0b0012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf1c0b0012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:19:50] local.INFO: Processing buffer {"connection_id":130617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf1c0b0012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:19:50] local.INFO: Packet analysis {"connection_id":130617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf1"} 
[2026-07-13 20:19:50] local.INFO: Extracted packet for processing {"connection_id":130617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf1"} 
[2026-07-13 20:19:50] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 20:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692218112001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:19:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783953998000,"timestamp_ms":1783953998000,"timestamp_seconds":1783953998,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf1c0b0"} 
[2026-07-13 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-07-13 20:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 20:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1711,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 20:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692218112001,"66":28224,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692218112001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:19:50] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:19:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:19:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692218112001,"power":28224,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":130617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481983,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:19:50] local.INFO: GPS data processed {"connection_id":130617,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:19:50] local.INFO: Acknowledgment sent {"connection_id":130617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:19:55] local.INFO: TCP Data received {"connection_id":130617,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf212b8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf212b8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:19:55] local.INFO: Processing buffer {"connection_id":130617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf212b8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:19:55] local.INFO: Packet analysis {"connection_id":130617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf2"} 
[2026-07-13 20:19:55] local.INFO: Extracted packet for processing {"connection_id":130617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf2"} 
[2026-07-13 20:19:55] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692223488001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:19:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783954019000,"timestamp_ms":1783954019000,"timestamp_seconds":1783954019,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf212b8"} 
[2026-07-13 20:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-07-13 20:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692223488001,"66":28234,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692223488001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:19:55] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:19:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:19:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692223488001,"power":28234,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":130617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481984,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:19:55] local.INFO: GPS data processed {"connection_id":130617,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:19:55] local.INFO: Acknowledgment sent {"connection_id":130617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:20:11] local.INFO: TCP Data received {"connection_id":131650,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf44920012d7f914005afd938001d011b21..."} 
[2026-07-13 20:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf44920012d7f914005afd938001d011b21..."} 
[2026-07-13 20:20:11] local.INFO: Processing buffer {"connection_id":131650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf44920012d7f914005afd938001d011b21..."} 
[2026-07-13 20:20:11] local.INFO: Packet analysis {"connection_id":131650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf4"} 
[2026-07-13 20:20:11] local.INFO: Extracted packet for processing {"connection_id":131650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf4"} 
[2026-07-13 20:20:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692188928001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783954164000,"timestamp_ms":1783954164000,"timestamp_seconds":1783954164,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf44920"} 
[2026-07-13 20:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692188928001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692188928001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:20:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:20:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692188928001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":131650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:20:11] local.INFO: GPS data processed {"connection_id":131650,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:20:11] local.INFO: Acknowledgment sent {"connection_id":131650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:20:22] local.INFO: TCP Data received {"connection_id":132982,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:20:22] local.INFO: Processing buffer {"connection_id":132982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:20:22] local.INFO: IMEI packet received {"connection_id":132982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":132982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:20:27] local.INFO: TCP Data received {"connection_id":132982,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:20:27] local.INFO: Processing buffer {"connection_id":132982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:20:27] local.INFO: IMEI packet received {"connection_id":132982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":132982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:20:28] local.INFO: TCP Data received {"connection_id":132982,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf18618012d1b3d000725bcb0002b00b725..."} 
[2026-07-13 20:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf18618012d1b3d000725bcb0002b00b725..."} 
[2026-07-13 20:20:28] local.INFO: Processing buffer {"connection_id":132982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf18618012d1b3d000725bcb0002b00b725..."} 
[2026-07-13 20:20:28] local.INFO: Packet analysis {"connection_id":132982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf1"} 
[2026-07-13 20:20:28] local.INFO: Extracted packet for processing {"connection_id":132982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf1"} 
[2026-07-13 20:20:28] local.INFO: GPS Element Parsed {"raw_longitude":756759808,"raw_latitude":119913648,"longitude_deg":75.6759808,"latitude_deg":11.9913648,"altitude":43,"angle":183,"satellites":37,"speed":0,"hex_longitude":"2d1b3d00","hex_latitude":"0725bcb0","is_valid_coordinates":true} 
[2026-07-13 20: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-07-13 20:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692214272001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5965469055975424,"note":"Value kept but may cause issues"} 
[2026-07-13 20:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1962725043301451776,"note":"Value kept but may cause issues"} 
[2026-07-13 20:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783953983000,"timestamp_ms":1783953983000,"timestamp_seconds":1783953983,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf18618"} 
[2026-07-13 20:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 20:20: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-07-13 20: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-07-13 20:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":132982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":132982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":132982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692214272001,"66":12504,"217":206,"83":42752,"24":0,"16":5965469055975424,"45":1962725043301451776},"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-07-13 20:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692214272001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:20:28] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-13 20:20:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5965469055975424,"km_value":5965469055975.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1962725043301451776,"description":"Unknown IO ID 45"} 
[2026-07-13 20:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692214272001,"power":12504,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1962725043301451776}} 
[2026-07-13 20:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":132982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:20:28] local.INFO: GPS data processed {"connection_id":132982,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:20:28] local.INFO: Acknowledgment sent {"connection_id":132982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:20:34] local.INFO: TCP Data received {"connection_id":130837,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:20:34] local.INFO: Processing buffer {"connection_id":130837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:20:34] local.INFO: IMEI packet received {"connection_id":130837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":130837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:20:39] local.INFO: TCP Data received {"connection_id":130837,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:20:39] local.INFO: Processing buffer {"connection_id":130837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:20:39] local.INFO: IMEI packet received {"connection_id":130837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":130837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:20:39] local.INFO: TCP Data received {"connection_id":130838,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:20:39] local.INFO: Processing buffer {"connection_id":130838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:20:39] local.INFO: IMEI packet received {"connection_id":130838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":130838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:20:40] local.INFO: TCP Data received {"connection_id":130837,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf44920012d7f914005afd938001d011b21..."} 
[2026-07-13 20:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf44920012d7f914005afd938001d011b21..."} 
[2026-07-13 20:20:40] local.INFO: Processing buffer {"connection_id":130837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf44920012d7f914005afd938001d011b21..."} 
[2026-07-13 20:20:40] local.INFO: Packet analysis {"connection_id":130837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf4"} 
[2026-07-13 20:20:40] local.INFO: Extracted packet for processing {"connection_id":130837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf4"} 
[2026-07-13 20:20:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692188928001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783954164000,"timestamp_ms":1783954164000,"timestamp_seconds":1783954164,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf44920"} 
[2026-07-13 20:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692188928001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692188928001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:20:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:20:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692188928001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":130837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:20:40] local.INFO: GPS data processed {"connection_id":130837,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:20:40] local.INFO: Acknowledgment sent {"connection_id":130837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:20:44] local.INFO: TCP Data received {"connection_id":130838,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:20:44] local.INFO: Processing buffer {"connection_id":130838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:20:44] local.INFO: IMEI packet received {"connection_id":130838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":130838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:20:45] local.INFO: TCP Data received {"connection_id":130838,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf264c0012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf264c0012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:20:45] local.INFO: Processing buffer {"connection_id":130838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf264c0012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:20:45] local.INFO: Packet analysis {"connection_id":130838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf2"} 
[2026-07-13 20:20:45] local.INFO: Extracted packet for processing {"connection_id":130838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf2"} 
[2026-07-13 20:20:45] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692228864001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:20:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783954040000,"timestamp_ms":1783954040000,"timestamp_seconds":1783954040,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf264c0"} 
[2026-07-13 20:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-13 20:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:20:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692228864001,"66":28137,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692228864001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:20:45] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:20:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:20:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692228864001,"power":28137,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":130838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481988,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:20:45] local.INFO: GPS data processed {"connection_id":130838,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:20:45] local.INFO: Acknowledgment sent {"connection_id":130838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:20:57] local.INFO: TCP Data received {"connection_id":130618,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:20:57] local.INFO: Processing buffer {"connection_id":130618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:20:57] local.INFO: IMEI packet received {"connection_id":130618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":130618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:20:59] local.INFO: TCP Data received {"connection_id":130618,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:20:59] local.INFO: Processing buffer {"connection_id":130618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:20:59] local.INFO: IMEI packet received {"connection_id":130618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":130618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:21:00] local.INFO: TCP Data received {"connection_id":130618,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf1d820012d1b3d000725bcb0002b00b727..."} 
[2026-07-13 20:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf1d820012d1b3d000725bcb0002b00b727..."} 
[2026-07-13 20:21:00] local.INFO: Processing buffer {"connection_id":130618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf1d820012d1b3d000725bcb0002b00b727..."} 
[2026-07-13 20:21:00] local.INFO: Packet analysis {"connection_id":130618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf1"} 
[2026-07-13 20:21:00] local.INFO: Extracted packet for processing {"connection_id":130618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf1"} 
[2026-07-13 20:21:00] local.INFO: GPS Element Parsed {"raw_longitude":756759808,"raw_latitude":119913648,"longitude_deg":75.6759808,"latitude_deg":11.9913648,"altitude":43,"angle":183,"satellites":39,"speed":0,"hex_longitude":"2d1b3d00","hex_latitude":"0725bcb0","is_valid_coordinates":true} 
[2026-07-13 20:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692219648001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5965469055975424,"note":"Value kept but may cause issues"} 
[2026-07-13 20:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1962725043301298176,"note":"Value kept but may cause issues"} 
[2026-07-13 20:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783954004000,"timestamp_ms":1783954004000,"timestamp_seconds":1783954004,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf1d820"} 
[2026-07-13 20:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 20:21:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":130618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":130618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":130618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692219648001,"66":12461,"217":206,"83":42752,"24":0,"16":5965469055975424,"45":1962725043301298176},"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-07-13 20:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692219648001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:21:00] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-13 20:21:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5965469055975424,"km_value":5965469055975.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1962725043301298176,"description":"Unknown IO ID 45"} 
[2026-07-13 20:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692219648001,"power":12461,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1962725043301298176}} 
[2026-07-13 20:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":130618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:21:00] local.INFO: GPS data processed {"connection_id":130618,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:21:00] local.INFO: Acknowledgment sent {"connection_id":130618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:21:01] local.INFO: TCP Data received {"connection_id":130618,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf22a28012d1b3d000725bcb0002b00b724..."} 
[2026-07-13 20:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf22a28012d1b3d000725bcb0002b00b724..."} 
[2026-07-13 20:21:01] local.INFO: Processing buffer {"connection_id":130618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf22a28012d1b3d000725bcb0002b00b724..."} 
[2026-07-13 20:21:01] local.INFO: Packet analysis {"connection_id":130618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf2"} 
[2026-07-13 20:21:01] local.INFO: Extracted packet for processing {"connection_id":130618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf2"} 
[2026-07-13 20:21:01] local.INFO: GPS Element Parsed {"raw_longitude":756759808,"raw_latitude":119913648,"longitude_deg":75.6759808,"latitude_deg":11.9913648,"altitude":43,"angle":183,"satellites":36,"speed":0,"hex_longitude":"2d1b3d00","hex_latitude":"0725bcb0","is_valid_coordinates":true} 
[2026-07-13 20:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692225024001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5965469055975424,"note":"Value kept but may cause issues"} 
[2026-07-13 20:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1962725043301298176,"note":"Value kept but may cause issues"} 
[2026-07-13 20:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783954025000,"timestamp_ms":1783954025000,"timestamp_seconds":1783954025,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf22a28"} 
[2026-07-13 20:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-13 20:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:21:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":130618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":130618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":130618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692225024001,"66":12461,"217":206,"83":42752,"24":0,"16":5965469055975424,"45":1962725043301298176},"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-07-13 20:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692225024001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:21:01] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-13 20:21:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5965469055975424,"km_value":5965469055975.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1962725043301298176,"description":"Unknown IO ID 45"} 
[2026-07-13 20:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692225024001,"power":12461,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1962725043301298176}} 
[2026-07-13 20:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":130618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:21:01] local.INFO: GPS data processed {"connection_id":130618,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:21:01] local.INFO: Acknowledgment sent {"connection_id":130618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:21:11] local.INFO: TCP Data received {"connection_id":130837,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf44920012d7f914005afd938001d011b21..."} 
[2026-07-13 20:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf44920012d7f914005afd938001d011b21..."} 
[2026-07-13 20:21:11] local.INFO: Processing buffer {"connection_id":130837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf44920012d7f914005afd938001d011b21..."} 
[2026-07-13 20:21:11] local.INFO: Packet analysis {"connection_id":130837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf4"} 
[2026-07-13 20:21:11] local.INFO: Extracted packet for processing {"connection_id":130837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf4"} 
[2026-07-13 20:21:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692188928001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783954164000,"timestamp_ms":1783954164000,"timestamp_seconds":1783954164,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf44920"} 
[2026-07-13 20:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692188928001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692188928001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:21:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:21:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692188928001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":130837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:21:11] local.INFO: GPS data processed {"connection_id":130837,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:21:11] local.INFO: Acknowledgment sent {"connection_id":130837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:21:17] local.INFO: TCP Data received {"connection_id":130838,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf2b6c8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf2b6c8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:21:17] local.INFO: Processing buffer {"connection_id":130838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf2b6c8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:21:17] local.INFO: Packet analysis {"connection_id":130838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf2"} 
[2026-07-13 20:21:17] local.INFO: Extracted packet for processing {"connection_id":130838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf2"} 
[2026-07-13 20:21:17] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692234240001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:21:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783954061000,"timestamp_ms":1783954061000,"timestamp_seconds":1783954061,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf2b6c8"} 
[2026-07-13 20:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 20:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692234240001,"66":28398,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692234240001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:21:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:21:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:21:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692234240001,"power":28398,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":130838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481992,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:21:17] local.INFO: GPS data processed {"connection_id":130838,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:21:17] local.INFO: Acknowledgment sent {"connection_id":130838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:21:33] local.INFO: TCP Data received {"connection_id":130618,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf53b50012d1b3a000725b888002a00c529..."} 
[2026-07-13 20:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf53b50012d1b3a000725b888002a00c529..."} 
[2026-07-13 20:21:33] local.INFO: Processing buffer {"connection_id":130618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf53b50012d1b3a000725b888002a00c529..."} 
[2026-07-13 20:21:33] local.INFO: Packet analysis {"connection_id":130618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf5"} 
[2026-07-13 20:21:33] local.INFO: Extracted packet for processing {"connection_id":130618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf5"} 
[2026-07-13 20:21:33] local.INFO: GPS Element Parsed {"raw_longitude":756759040,"raw_latitude":119912584,"longitude_deg":75.675904,"latitude_deg":11.9912584,"altitude":42,"angle":197,"satellites":41,"speed":7,"hex_longitude":"2d1b3a00","hex_latitude":"0725b888","is_valid_coordinates":true} 
[2026-07-13 20:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692281088001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5965533480484864,"note":"Value kept but may cause issues"} 
[2026-07-13 20:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1962091724603574272,"note":"Value kept but may cause issues"} 
[2026-07-13 20:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783954226000,"timestamp_ms":1783954226000,"timestamp_seconds":1783954226,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf53b50"} 
[2026-07-13 20:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-13 20:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:21:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":130618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":130618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":130618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692281088001,"66":13472,"217":206,"83":42752,"24":7,"16":5965533480484864,"45":1962091724603574272},"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-07-13 20:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692281088001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:21:33] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-13 20:21:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5965533480484864,"km_value":5965533480484.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1962091724603574272,"description":"Unknown IO ID 45"} 
[2026-07-13 20:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692281088001,"power":13472,"unknown_217":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1962091724603574272}} 
[2026-07-13 20:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":130618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:21:33] local.INFO: GPS data processed {"connection_id":130618,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:21:33] local.INFO: Acknowledgment sent {"connection_id":130618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:21:33] local.INFO: TCP Data received {"connection_id":130619,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:21:33] local.INFO: Processing buffer {"connection_id":130619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:21:33] local.INFO: IMEI packet received {"connection_id":130619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":130619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:21:38] local.INFO: TCP Data received {"connection_id":130619,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:21:38] local.INFO: Processing buffer {"connection_id":130619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:21:38] local.INFO: IMEI packet received {"connection_id":130619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":130619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:21:39] local.INFO: TCP Data received {"connection_id":132983,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132983,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:21:39] local.INFO: Processing buffer {"connection_id":132983,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:21:39] local.INFO: IMEI packet received {"connection_id":132983,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":132983,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:21:39] local.INFO: TCP Data received {"connection_id":130619,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf44920012d7f914005afd938001d011b21..."} 
[2026-07-13 20:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf44920012d7f914005afd938001d011b21..."} 
[2026-07-13 20:21:39] local.INFO: Processing buffer {"connection_id":130619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf44920012d7f914005afd938001d011b21..."} 
[2026-07-13 20:21:39] local.INFO: Packet analysis {"connection_id":130619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf4"} 
[2026-07-13 20:21:39] local.INFO: Extracted packet for processing {"connection_id":130619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf4"} 
[2026-07-13 20:21:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692188928001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783954164000,"timestamp_ms":1783954164000,"timestamp_seconds":1783954164,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf44920"} 
[2026-07-13 20:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692188928001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692188928001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:21:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:21:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692188928001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":130619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:21:39] local.INFO: GPS data processed {"connection_id":130619,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:21:39] local.INFO: Acknowledgment sent {"connection_id":130619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:21:44] local.INFO: TCP Data received {"connection_id":132983,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132983,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:21:44] local.INFO: Processing buffer {"connection_id":132983,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:21:44] local.INFO: IMEI packet received {"connection_id":132983,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":132983,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:21:46] local.INFO: TCP Data received {"connection_id":132983,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf308d0012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf308d0012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:21:46] local.INFO: Processing buffer {"connection_id":132983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf308d0012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:21:46] local.INFO: Packet analysis {"connection_id":132983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf3"} 
[2026-07-13 20:21:46] local.INFO: Extracted packet for processing {"connection_id":132983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf3"} 
[2026-07-13 20:21:46] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20: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-07-13 20:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692239616001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:21:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783954082000,"timestamp_ms":1783954082000,"timestamp_seconds":1783954082,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf308d0"} 
[2026-07-13 20:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-13 20:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20: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-07-13 20:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692239616001,"66":28267,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692239616001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:21:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:21:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:21:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692239616001,"power":28267,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":132983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481995,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:21:46] local.INFO: GPS data processed {"connection_id":132983,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:21:46] local.INFO: Acknowledgment sent {"connection_id":132983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:21:57] local.INFO: TCP Data received {"connection_id":131651,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:21:57] local.INFO: Processing buffer {"connection_id":131651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:21:57] local.INFO: IMEI packet received {"connection_id":131651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":131651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:22:03] local.INFO: TCP Data received {"connection_id":131651,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:22:03] local.INFO: Processing buffer {"connection_id":131651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:22:03] local.INFO: IMEI packet received {"connection_id":131651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":131651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:22:09] local.INFO: TCP Data received {"connection_id":131651,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf54af0012d1b38c00725b350002a00b928..."} 
[2026-07-13 20:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf54af0012d1b38c00725b350002a00b928..."} 
[2026-07-13 20:22:09] local.INFO: Processing buffer {"connection_id":131651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf54af0012d1b38c00725b350002a00b928..."} 
[2026-07-13 20:22:09] local.INFO: Packet analysis {"connection_id":131651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf5"} 
[2026-07-13 20:22:09] local.INFO: Extracted packet for processing {"connection_id":131651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf5"} 
[2026-07-13 20:22:09] local.INFO: GPS Element Parsed {"raw_longitude":756758720,"raw_latitude":119911248,"longitude_deg":75.675872,"latitude_deg":11.9911248,"altitude":42,"angle":185,"satellites":40,"speed":18,"hex_longitude":"2d1b38c0","hex_latitude":"0725b350","is_valid_coordinates":true} 
[2026-07-13 20:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692281856001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5965597904994304,"note":"Value kept but may cause issues"} 
[2026-07-13 20:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961880618370893824,"note":"Value kept but may cause issues"} 
[2026-07-13 20:22: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-07-13 20:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783954230000,"timestamp_ms":1783954230000,"timestamp_seconds":1783954230,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf54af0"} 
[2026-07-13 20:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":160,"data_length":795,"current_offset":136} 
[2026-07-13 20:22: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-07-13 20:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":131651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":131651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":131651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692281856001,"66":13526,"217":206,"83":42752,"24":18,"16":5965597904994304,"45":1961880618370893824},"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-07-13 20:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692281856001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:22:09] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-13 20:22:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5965597904994304,"km_value":5965597904994.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961880618370893824,"description":"Unknown IO ID 45"} 
[2026-07-13 20:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692281856001,"power":13526,"unknown_217":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1961880618370893824}} 
[2026-07-13 20:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":131651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:22:09] local.INFO: GPS data processed {"connection_id":131651,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:22:09] local.INFO: Acknowledgment sent {"connection_id":131651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:22:10] local.INFO: TCP Data received {"connection_id":130619,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf44920012d7f914005afd938001d011b21..."} 
[2026-07-13 20:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf44920012d7f914005afd938001d011b21..."} 
[2026-07-13 20:22:10] local.INFO: Processing buffer {"connection_id":130619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf44920012d7f914005afd938001d011b21..."} 
[2026-07-13 20:22:10] local.INFO: Packet analysis {"connection_id":130619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf4"} 
[2026-07-13 20:22:10] local.INFO: Extracted packet for processing {"connection_id":130619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf4"} 
[2026-07-13 20:22:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692188928001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783954164000,"timestamp_ms":1783954164000,"timestamp_seconds":1783954164,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf44920"} 
[2026-07-13 20:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692188928001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692188928001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:22:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692188928001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":130619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:22:10] local.INFO: GPS data processed {"connection_id":130619,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:22:10] local.INFO: Acknowledgment sent {"connection_id":130619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:22:17] local.INFO: TCP Data received {"connection_id":131651,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf55e78012d1b38800725abe8002a00cc29..."} 
[2026-07-13 20:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf55e78012d1b38800725abe8002a00cc29..."} 
[2026-07-13 20:22:17] local.INFO: Processing buffer {"connection_id":131651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf55e78012d1b38800725abe8002a00cc29..."} 
[2026-07-13 20:22:17] local.INFO: Packet analysis {"connection_id":131651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf5"} 
[2026-07-13 20:22:17] local.INFO: Extracted packet for processing {"connection_id":131651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf5"} 
[2026-07-13 20:22:17] local.INFO: GPS Element Parsed {"raw_longitude":756758656,"raw_latitude":119909352,"longitude_deg":75.6758656,"latitude_deg":11.9909352,"altitude":42,"angle":204,"satellites":41,"speed":8,"hex_longitude":"2d1b3880","hex_latitude":"0725abe8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 20:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692282880001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5965692394274816,"note":"Value kept but may cause issues"} 
[2026-07-13 20:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961528774649663488,"note":"Value kept but may cause issues"} 
[2026-07-13 20:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783954235000,"timestamp_ms":1783954235000,"timestamp_seconds":1783954235,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf55e78"} 
[2026-07-13 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-07-13 20:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-13 20:22: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-07-13 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-07-13 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-07-13 20:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692282880001,"66":13624,"217":206,"83":42752,"24":8,"16":5965692394274816,"45":1961528774649663488},"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-07-13 20:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692282880001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:22:17] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-13 20:22:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5965692394274816,"km_value":5965692394274.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961528774649663488,"description":"Unknown IO ID 45"} 
[2026-07-13 20:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692282880001,"power":13624,"unknown_217":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1961528774649663488}} 
[2026-07-13 20:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":131651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:22:17] local.INFO: GPS data processed {"connection_id":131651,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:22:17] local.INFO: Acknowledgment sent {"connection_id":131651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:22:18] local.INFO: TCP Data received {"connection_id":132983,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf35ad8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf35ad8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:22:18] local.INFO: Processing buffer {"connection_id":132983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf35ad8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:22:18] local.INFO: Packet analysis {"connection_id":132983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf3"} 
[2026-07-13 20:22:18] local.INFO: Extracted packet for processing {"connection_id":132983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf3"} 
[2026-07-13 20:22:18] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692244992001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:22:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783954103000,"timestamp_ms":1783954103000,"timestamp_seconds":1783954103,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf35ad8"} 
[2026-07-13 20:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 20:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1711,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:22:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692244992001,"66":28126,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692244992001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:22:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:22:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:22:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692244992001,"power":28126,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":132983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":481999,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:22:18] local.INFO: GPS data processed {"connection_id":132983,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:22:18] local.INFO: Acknowledgment sent {"connection_id":132983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:22:33] local.INFO: TCP Data received {"connection_id":130620,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:22:33] local.INFO: Processing buffer {"connection_id":130620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:22:33] local.INFO: IMEI packet received {"connection_id":130620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":130620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:22:39] local.INFO: TCP Data received {"connection_id":130620,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:22:39] local.INFO: Processing buffer {"connection_id":130620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:22:39] local.INFO: IMEI packet received {"connection_id":130620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":130620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:22:39] local.INFO: TCP Data received {"connection_id":130621,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:22:39] local.INFO: Processing buffer {"connection_id":130621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:22:39] local.INFO: IMEI packet received {"connection_id":130621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":130621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:22:39] local.INFO: TCP Data received {"connection_id":130620,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf44920012d7f914005afd938001d011b21..."} 
[2026-07-13 20:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf44920012d7f914005afd938001d011b21..."} 
[2026-07-13 20:22:39] local.INFO: Processing buffer {"connection_id":130620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf44920012d7f914005afd938001d011b21..."} 
[2026-07-13 20:22:39] local.INFO: Packet analysis {"connection_id":130620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf4"} 
[2026-07-13 20:22:39] local.INFO: Extracted packet for processing {"connection_id":130620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf4"} 
[2026-07-13 20:22:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692188928001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783954164000,"timestamp_ms":1783954164000,"timestamp_seconds":1783954164,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf44920"} 
[2026-07-13 20:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692188928001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692188928001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:22:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:22:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692188928001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":130620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:22:39] local.INFO: GPS data processed {"connection_id":130620,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:22:39] local.INFO: Acknowledgment sent {"connection_id":130620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:22:44] local.INFO: TCP Data received {"connection_id":130621,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:22:44] local.INFO: Processing buffer {"connection_id":130621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:22:44] local.INFO: IMEI packet received {"connection_id":130621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":130621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:22:46] local.INFO: TCP Data received {"connection_id":130621,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf3ace0012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf3ace0012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:22:46] local.INFO: Processing buffer {"connection_id":130621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf3ace0012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:22:46] local.INFO: Packet analysis {"connection_id":130621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf3"} 
[2026-07-13 20:22:46] local.INFO: Extracted packet for processing {"connection_id":130621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf3"} 
[2026-07-13 20:22:46] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692250368001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:22:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783954124000,"timestamp_ms":1783954124000,"timestamp_seconds":1783954124,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf3ace0"} 
[2026-07-13 20:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-13 20:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130621,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130621,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692250368001,"66":28148,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692250368001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:22:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:22:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:22:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692250368001,"power":28148,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":130621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482001,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:22:46] local.INFO: GPS data processed {"connection_id":130621,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:22:46] local.INFO: Acknowledgment sent {"connection_id":130621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:22:57] local.INFO: TCP Data received {"connection_id":130839,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:22:57] local.INFO: Processing buffer {"connection_id":130839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:22:57] local.INFO: IMEI packet received {"connection_id":130839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":130839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:23:02] local.INFO: TCP Data received {"connection_id":130839,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:23:02] local.INFO: Processing buffer {"connection_id":130839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:23:02] local.INFO: IMEI packet received {"connection_id":130839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":130839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:23:03] local.INFO: TCP Data received {"connection_id":130839,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf5b080012d1b37000725a9c0002d00cc2a..."} 
[2026-07-13 20:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf5b080012d1b37000725a9c0002d00cc2a..."} 
[2026-07-13 20:23:03] local.INFO: Processing buffer {"connection_id":130839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf5b080012d1b37000725a9c0002d00cc2a..."} 
[2026-07-13 20:23:03] local.INFO: Packet analysis {"connection_id":130839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf5"} 
[2026-07-13 20:23:03] local.INFO: Extracted packet for processing {"connection_id":130839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf5"} 
[2026-07-13 20:23:03] local.INFO: GPS Element Parsed {"raw_longitude":756758272,"raw_latitude":119908800,"longitude_deg":75.6758272,"latitude_deg":11.99088,"altitude":45,"angle":204,"satellites":42,"speed":4,"hex_longitude":"2d1b3700","hex_latitude":"0725a9c0","is_valid_coordinates":true} 
[2026-07-13 20:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692284160001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5965726754013184,"note":"Value kept but may cause issues"} 
[2026-07-13 20:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961458405905000448,"note":"Value kept but may cause issues"} 
[2026-07-13 20:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783954256000,"timestamp_ms":1783954256000,"timestamp_seconds":1783954256,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf5b080"} 
[2026-07-13 20:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-13 20:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":130839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":130839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":130839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692284160001,"66":12743,"217":206,"83":42752,"24":4,"16":5965726754013184,"45":1961458405905000448},"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-07-13 20:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692284160001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:23:03] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-13 20:23:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5965726754013184,"km_value":5965726754013.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961458405905000448,"description":"Unknown IO ID 45"} 
[2026-07-13 20:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692284160001,"power":12743,"unknown_217":206,"unknown_83":42752,"ignition":4,"odometer":null,"unknown_45":1961458405905000448}} 
[2026-07-13 20:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":130839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:23:03] local.INFO: GPS data processed {"connection_id":130839,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:23:03] local.INFO: Acknowledgment sent {"connection_id":130839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:23:10] local.INFO: TCP Data received {"connection_id":130620,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf44920012d7f914005afd938001d011b21..."} 
[2026-07-13 20:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf44920012d7f914005afd938001d011b21..."} 
[2026-07-13 20:23:10] local.INFO: Processing buffer {"connection_id":130620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf44920012d7f914005afd938001d011b21..."} 
[2026-07-13 20:23:10] local.INFO: Packet analysis {"connection_id":130620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf4"} 
[2026-07-13 20:23:10] local.INFO: Extracted packet for processing {"connection_id":130620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf4"} 
[2026-07-13 20:23:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692188928001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783954164000,"timestamp_ms":1783954164000,"timestamp_seconds":1783954164,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf44920"} 
[2026-07-13 20:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692188928001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692188928001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:23:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:23:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692188928001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":130620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:23:10] local.INFO: GPS data processed {"connection_id":130620,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:23:10] local.INFO: Acknowledgment sent {"connection_id":130620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:23:18] local.INFO: TCP Data received {"connection_id":130621,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf3fee8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf3fee8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:23:18] local.INFO: Processing buffer {"connection_id":130621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf3fee8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:23:18] local.INFO: Packet analysis {"connection_id":130621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf3"} 
[2026-07-13 20:23:18] local.INFO: Extracted packet for processing {"connection_id":130621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf3"} 
[2026-07-13 20:23:18] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 20:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692255744001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:23:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783954145000,"timestamp_ms":1783954145000,"timestamp_seconds":1783954145,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf3fee8"} 
[2026-07-13 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-07-13 20:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-07-13 20:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 20:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130621,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130621,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692255744001,"66":28082,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692255744001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:23:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:23:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:23:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692255744001,"power":28082,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":130621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482004,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:23:18] local.INFO: GPS data processed {"connection_id":130621,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:23:18] local.INFO: Acknowledgment sent {"connection_id":130621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:23:33] local.INFO: TCP Data received {"connection_id":130622,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:23:33] local.INFO: Processing buffer {"connection_id":130622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:23:33] local.INFO: IMEI packet received {"connection_id":130622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":130622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:23:34] local.INFO: TCP Data received {"connection_id":130839,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf5b468012d1b36800725a970002d00f62a..."} 
[2026-07-13 20:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf5b468012d1b36800725a970002d00f62a..."} 
[2026-07-13 20:23:34] local.INFO: Processing buffer {"connection_id":130839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf5b468012d1b36800725a970002d00f62a..."} 
[2026-07-13 20:23:34] local.INFO: Packet analysis {"connection_id":130839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf5"} 
[2026-07-13 20:23:34] local.INFO: Extracted packet for processing {"connection_id":130839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf5"} 
[2026-07-13 20:23:34] local.INFO: GPS Element Parsed {"raw_longitude":756758144,"raw_latitude":119908720,"longitude_deg":75.6758144,"latitude_deg":11.990872,"altitude":45,"angle":246,"satellites":42,"speed":8,"hex_longitude":"2d1b3680","hex_latitude":"0725a970","is_valid_coordinates":true} 
[2026-07-13 20:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692289536001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5965735343947776,"note":"Value kept but may cause issues"} 
[2026-07-13 20:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961036193439793152,"note":"Value kept but may cause issues"} 
[2026-07-13 20:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783954257000,"timestamp_ms":1783954257000,"timestamp_seconds":1783954257,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf5b468"} 
[2026-07-13 20:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-13 20:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":130839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":130839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":130839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692289536001,"66":12776,"217":206,"83":42752,"24":8,"16":5965735343947776,"45":1961036193439793152},"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-07-13 20:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692289536001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:23:34] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-13 20:23:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5965735343947776,"km_value":5965735343947.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961036193439793152,"description":"Unknown IO ID 45"} 
[2026-07-13 20:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692289536001,"power":12776,"unknown_217":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1961036193439793152}} 
[2026-07-13 20:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":130839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:23:34] local.INFO: GPS data processed {"connection_id":130839,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:23:34] local.INFO: Acknowledgment sent {"connection_id":130839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:23:39] local.INFO: TCP Data received {"connection_id":130622,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:23:39] local.INFO: Processing buffer {"connection_id":130622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:23:39] local.INFO: IMEI packet received {"connection_id":130622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":130622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:23:39] local.INFO: TCP Data received {"connection_id":130623,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130623,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:23:39] local.INFO: Processing buffer {"connection_id":130623,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:23:39] local.INFO: IMEI packet received {"connection_id":130623,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":130623,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:23:39] local.INFO: TCP Data received {"connection_id":130622,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf44920012d7f914005afd938001d011b21..."} 
[2026-07-13 20:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf44920012d7f914005afd938001d011b21..."} 
[2026-07-13 20:23:40] local.INFO: Processing buffer {"connection_id":130622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf44920012d7f914005afd938001d011b21..."} 
[2026-07-13 20:23:40] local.INFO: Packet analysis {"connection_id":130622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf4"} 
[2026-07-13 20:23:40] local.INFO: Extracted packet for processing {"connection_id":130622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf4"} 
[2026-07-13 20:23:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692188928001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783954164000,"timestamp_ms":1783954164000,"timestamp_seconds":1783954164,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf44920"} 
[2026-07-13 20:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692188928001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692188928001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:23:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:23:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692188928001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":130622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:23:40] local.INFO: GPS data processed {"connection_id":130622,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:23:40] local.INFO: Acknowledgment sent {"connection_id":130622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:23:44] local.INFO: TCP Data received {"connection_id":130623,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130623,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:23:44] local.INFO: Processing buffer {"connection_id":130623,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:23:44] local.INFO: IMEI packet received {"connection_id":130623,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":130623,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:23:46] local.INFO: TCP Data received {"connection_id":130623,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf450f0012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf450f0012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:23:46] local.INFO: Processing buffer {"connection_id":130623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf450f0012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:23:46] local.INFO: Packet analysis {"connection_id":130623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf4"} 
[2026-07-13 20:23:46] local.INFO: Extracted packet for processing {"connection_id":130623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf4"} 
[2026-07-13 20:23:46] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692261120001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:23:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783954166000,"timestamp_ms":1783954166000,"timestamp_seconds":1783954166,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf450f0"} 
[2026-07-13 20:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-13 20:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130623,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130623,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692261120001,"66":28082,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692261120001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:23:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:23:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:23:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692261120001,"power":28082,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":130623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482007,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:23:46] local.INFO: GPS data processed {"connection_id":130623,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:23:46] local.INFO: Acknowledgment sent {"connection_id":130623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:23:52] local.INFO: TCP Data received {"connection_id":132984,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:23:52] local.INFO: Processing buffer {"connection_id":132984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:23:52] local.INFO: IMEI packet received {"connection_id":132984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":132984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:23:57] local.INFO: TCP Data received {"connection_id":132984,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:23:57] local.INFO: Processing buffer {"connection_id":132984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:23:57] local.INFO: IMEI packet received {"connection_id":132984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":132984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:23:58] local.INFO: TCP Data received {"connection_id":132984,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf5cbd8012d1b30c00725a7a8002d010328..."} 
[2026-07-13 20:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf5cbd8012d1b30c00725a7a8002d010328..."} 
[2026-07-13 20:23:58] local.INFO: Processing buffer {"connection_id":132984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf5cbd8012d1b30c00725a7a8002d010328..."} 
[2026-07-13 20:23:58] local.INFO: Packet analysis {"connection_id":132984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf5"} 
[2026-07-13 20:23:58] local.INFO: Extracted packet for processing {"connection_id":132984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf5"} 
[2026-07-13 20:23:58] local.INFO: GPS Element Parsed {"raw_longitude":756756672,"raw_latitude":119908264,"longitude_deg":75.6756672,"latitude_deg":11.9908264,"altitude":45,"angle":259,"satellites":40,"speed":12,"hex_longitude":"2d1b30c0","hex_latitude":"0725a7a8","is_valid_coordinates":true} 
[2026-07-13 20:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692289792001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5965808358391808,"note":"Value kept but may cause issues"} 
[2026-07-13 20:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960895455951417344,"note":"Value kept but may cause issues"} 
[2026-07-13 20:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783954263000,"timestamp_ms":1783954263000,"timestamp_seconds":1783954263,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf5cbd8"} 
[2026-07-13 20:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-13 20:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692289792001,"66":13417,"217":206,"83":42752,"24":12,"16":5965808358391808,"45":1960895455951417344},"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-07-13 20:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692289792001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:23:58] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-13 20:23:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5965808358391808,"km_value":5965808358391.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960895455951417344,"description":"Unknown IO ID 45"} 
[2026-07-13 20:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692289792001,"power":13417,"unknown_217":206,"unknown_83":42752,"ignition":12,"odometer":null,"unknown_45":1960895455951417344}} 
[2026-07-13 20:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":132984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:23:58] local.INFO: GPS data processed {"connection_id":132984,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:23:58] local.INFO: Acknowledgment sent {"connection_id":132984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:24:11] local.INFO: TCP Data received {"connection_id":130622,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf44920012d7f914005afd938001d011b21..."} 
[2026-07-13 20:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf44920012d7f914005afd938001d011b21..."} 
[2026-07-13 20:24:11] local.INFO: Processing buffer {"connection_id":130622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf44920012d7f914005afd938001d011b21..."} 
[2026-07-13 20:24:11] local.INFO: Packet analysis {"connection_id":130622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf4"} 
[2026-07-13 20:24:11] local.INFO: Extracted packet for processing {"connection_id":130622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf4"} 
[2026-07-13 20:24:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20: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-07-13 20:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692188928001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783954164000,"timestamp_ms":1783954164000,"timestamp_seconds":1783954164,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf44920"} 
[2026-07-13 20:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20: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-07-13 20:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692188928001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692188928001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:24:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:24:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692188928001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":130622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:24:11] local.INFO: GPS data processed {"connection_id":130622,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:24:11] local.INFO: Acknowledgment sent {"connection_id":130622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:24:17] local.INFO: TCP Data received {"connection_id":130623,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf4a2f8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf4a2f8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:24:17] local.INFO: Processing buffer {"connection_id":130623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf4a2f8012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:24:17] local.INFO: Packet analysis {"connection_id":130623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf4"} 
[2026-07-13 20:24:17] local.INFO: Extracted packet for processing {"connection_id":130623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf4"} 
[2026-07-13 20:24:17] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692266496001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:24:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783954187000,"timestamp_ms":1783954187000,"timestamp_seconds":1783954187,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf4a2f8"} 
[2026-07-13 20:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-13 20:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130623,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130623,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692266496001,"66":28017,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692266496001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:24:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:24:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:24:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692266496001,"power":28017,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":130623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482010,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:24:17] local.INFO: GPS data processed {"connection_id":130623,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:24:17] local.INFO: Acknowledgment sent {"connection_id":130623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:24:29] local.INFO: TCP Data received {"connection_id":132984,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf61de0012d1b0d800725a1d8002e010124..."} 
[2026-07-13 20:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf61de0012d1b0d800725a1d8002e010124..."} 
[2026-07-13 20:24:29] local.INFO: Processing buffer {"connection_id":132984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf61de0012d1b0d800725a1d8002e010124..."} 
[2026-07-13 20:24:29] local.INFO: Packet analysis {"connection_id":132984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf6"} 
[2026-07-13 20:24:29] local.INFO: Extracted packet for processing {"connection_id":132984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf6"} 
[2026-07-13 20:24:29] local.INFO: GPS Element Parsed {"raw_longitude":756747648,"raw_latitude":119906776,"longitude_deg":75.6747648,"latitude_deg":11.9906776,"altitude":46,"angle":257,"satellites":36,"speed":22,"hex_longitude":"2d1b0d80","hex_latitude":"0725a1d8","is_valid_coordinates":true} 
[2026-07-13 20: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-07-13 20:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692291328001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5966242150088704,"note":"Value kept but may cause issues"} 
[2026-07-13 20:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959276974835214336,"note":"Value kept but may cause issues"} 
[2026-07-13 20:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783954284000,"timestamp_ms":1783954284000,"timestamp_seconds":1783954284,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf61de0"} 
[2026-07-13 20:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-13 20:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20: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-07-13 20:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":132984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":132984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":132984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692291328001,"66":12722,"217":206,"83":42752,"24":22,"16":5966242150088704,"45":1959276974835214336},"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-07-13 20:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692291328001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:24:29] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-13 20:24:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5966242150088704,"km_value":5966242150088.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959276974835214336,"description":"Unknown IO ID 45"} 
[2026-07-13 20:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692291328001,"power":12722,"unknown_217":206,"unknown_83":42752,"ignition":22,"odometer":null,"unknown_45":1959276974835214336}} 
[2026-07-13 20:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":132984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:24:29] local.INFO: GPS data processed {"connection_id":132984,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:24:29] local.INFO: Acknowledgment sent {"connection_id":132984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:24:33] local.INFO: TCP Data received {"connection_id":131652,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:24:33] local.INFO: Processing buffer {"connection_id":131652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:24:33] local.INFO: IMEI packet received {"connection_id":131652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":131652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:24:39] local.INFO: TCP Data received {"connection_id":131652,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:24:39] local.INFO: Processing buffer {"connection_id":131652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:24:39] local.INFO: IMEI packet received {"connection_id":131652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":131652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:24:40] local.INFO: TCP Data received {"connection_id":131652,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf44920012d7f914005afd938001d011b21..."} 
[2026-07-13 20:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf44920012d7f914005afd938001d011b21..."} 
[2026-07-13 20:24:40] local.INFO: Processing buffer {"connection_id":131652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf44920012d7f914005afd938001d011b21..."} 
[2026-07-13 20:24:40] local.INFO: Packet analysis {"connection_id":131652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf4"} 
[2026-07-13 20:24:40] local.INFO: Extracted packet for processing {"connection_id":131652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf4"} 
[2026-07-13 20:24:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692188928001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783954164000,"timestamp_ms":1783954164000,"timestamp_seconds":1783954164,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf44920"} 
[2026-07-13 20:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692188928001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692188928001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:24:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:24:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692188928001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":131652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:24:40] local.INFO: GPS data processed {"connection_id":131652,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:24:40] local.INFO: Acknowledgment sent {"connection_id":131652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:24:44] local.INFO: TCP Data received {"connection_id":130840,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:24:44] local.INFO: Processing buffer {"connection_id":130840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:24:44] local.INFO: IMEI packet received {"connection_id":130840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":130840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:24:49] local.INFO: TCP Data received {"connection_id":130840,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:24:49] local.INFO: Processing buffer {"connection_id":130840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:24:49] local.INFO: IMEI packet received {"connection_id":130840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":130840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:24:51] local.INFO: TCP Data received {"connection_id":130840,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf4f500012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf4f500012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:24:51] local.INFO: Processing buffer {"connection_id":130840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf4f500012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:24:51] local.INFO: Packet analysis {"connection_id":130840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf4"} 
[2026-07-13 20:24:51] local.INFO: Extracted packet for processing {"connection_id":130840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf4"} 
[2026-07-13 20:24:51] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692271872001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:24:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783954208000,"timestamp_ms":1783954208000,"timestamp_seconds":1783954208,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf4f500"} 
[2026-07-13 20:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 20:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130840,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130840,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692271872001,"66":28300,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692271872001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:24:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:24:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:24:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692271872001,"power":28300,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":130840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482013,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:24:51] local.INFO: GPS data processed {"connection_id":130840,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:24:51] local.INFO: Acknowledgment sent {"connection_id":130840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:24:52] local.INFO: TCP Data received {"connection_id":130840,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf54708012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf54708012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:24:52] local.INFO: Processing buffer {"connection_id":130840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf54708012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:24:52] local.INFO: Packet analysis {"connection_id":130840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf5"} 
[2026-07-13 20:24:52] local.INFO: Extracted packet for processing {"connection_id":130840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf5"} 
[2026-07-13 20:24:52] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692277248001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:24:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783954229000,"timestamp_ms":1783954229000,"timestamp_seconds":1783954229,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf54708"} 
[2026-07-13 20:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:24: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-13 20:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":130840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":130840,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":130840,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692277248001,"66":28224,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692277248001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:24:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:24:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:24:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692277248001,"power":28224,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":130840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482014,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:24:52] local.INFO: GPS data processed {"connection_id":130840,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:24:52] local.INFO: Acknowledgment sent {"connection_id":130840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:24:52] local.INFO: TCP Data received {"connection_id":130841,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:24:52] local.INFO: Processing buffer {"connection_id":130841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:24:52] local.INFO: IMEI packet received {"connection_id":130841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":130841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:24:58] local.INFO: TCP Data received {"connection_id":130841,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:24:58] local.INFO: Processing buffer {"connection_id":130841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:24:58] local.INFO: IMEI packet received {"connection_id":130841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":130841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:24:58] local.INFO: TCP Data received {"connection_id":130841,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf86bb8012d1b06c00725a0c0002d005924..."} 
[2026-07-13 20:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf86bb8012d1b06c00725a0c0002d005924..."} 
[2026-07-13 20:24:58] local.INFO: Processing buffer {"connection_id":130841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf86bb8012d1b06c00725a0c0002d005924..."} 
[2026-07-13 20:24:58] local.INFO: Packet analysis {"connection_id":130841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf8"} 
[2026-07-13 20:24:58] local.INFO: Extracted packet for processing {"connection_id":130841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf8"} 
[2026-07-13 20:24:58] local.INFO: GPS Element Parsed {"raw_longitude":756745920,"raw_latitude":119906496,"longitude_deg":75.674592,"latitude_deg":11.9906496,"altitude":45,"angle":89,"satellites":36,"speed":8,"hex_longitude":"2d1b06c0","hex_latitude":"0725a0c0","is_valid_coordinates":true} 
[2026-07-13 20:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692334592001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5966456898453504,"note":"Value kept but may cause issues"} 
[2026-07-13 20:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946892075859480576,"note":"Value kept but may cause issues"} 
[2026-07-13 20:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783954435000,"timestamp_ms":1783954435000,"timestamp_seconds":1783954435,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf86bb8"} 
[2026-07-13 20:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-13 20:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692334592001,"66":13515,"217":206,"83":42752,"24":8,"16":5966456898453504,"45":1946892075859480576},"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-07-13 20:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692334592001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:24:58] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-13 20:24:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5966456898453504,"km_value":5966456898453.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946892075859480576,"description":"Unknown IO ID 45"} 
[2026-07-13 20:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692334592001,"power":13515,"unknown_217":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1946892075859480576}} 
[2026-07-13 20:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":130841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:24:59] local.INFO: GPS data processed {"connection_id":130841,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:24:59] local.INFO: Acknowledgment sent {"connection_id":130841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:25:11] local.INFO: TCP Data received {"connection_id":131652,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf8e0e8012d7f914005afd9380018011b23..."} 
[2026-07-13 20:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf8e0e8012d7f914005afd9380018011b23..."} 
[2026-07-13 20:25:11] local.INFO: Processing buffer {"connection_id":131652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf8e0e8012d7f914005afd9380018011b23..."} 
[2026-07-13 20:25:11] local.INFO: Packet analysis {"connection_id":131652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf8"} 
[2026-07-13 20:25:11] local.INFO: Extracted packet for processing {"connection_id":131652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf8"} 
[2026-07-13 20:25:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692265984001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783954465000,"timestamp_ms":1783954465000,"timestamp_seconds":1783954465,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf8e0e8"} 
[2026-07-13 20:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692265984001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692265984001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:25:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:25:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692265984001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":131652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:25:11] local.INFO: GPS data processed {"connection_id":131652,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:25:11] local.INFO: Acknowledgment sent {"connection_id":131652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:25:23] local.INFO: TCP Data received {"connection_id":130840,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf59910012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf59910012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:25:23] local.INFO: Processing buffer {"connection_id":130840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf59910012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:25:23] local.INFO: Packet analysis {"connection_id":130840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf5"} 
[2026-07-13 20:25:23] local.INFO: Extracted packet for processing {"connection_id":130840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf5"} 
[2026-07-13 20:25:23] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692282624001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:25:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783954250000,"timestamp_ms":1783954250000,"timestamp_seconds":1783954250,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf59910"} 
[2026-07-13 20:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-07-13 20:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":130840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":130840,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":130840,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692282624001,"66":28137,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692282624001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:25:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:25:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:25:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692282624001,"power":28137,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":130840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482017,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:25:23] local.INFO: GPS data processed {"connection_id":130840,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:25:23] local.INFO: Acknowledgment sent {"connection_id":130840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:25:30] local.INFO: TCP Data received {"connection_id":130841,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf87770012d1b09c00725a128002d004b23..."} 
[2026-07-13 20:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf87770012d1b09c00725a128002d004b23..."} 
[2026-07-13 20:25:30] local.INFO: Processing buffer {"connection_id":130841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf87770012d1b09c00725a128002d004b23..."} 
[2026-07-13 20:25:30] local.INFO: Packet analysis {"connection_id":130841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf8"} 
[2026-07-13 20:25:30] local.INFO: Extracted packet for processing {"connection_id":130841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf8"} 
[2026-07-13 20:25:30] local.INFO: GPS Element Parsed {"raw_longitude":756746688,"raw_latitude":119906600,"longitude_deg":75.6746688,"latitude_deg":11.99066,"altitude":45,"angle":75,"satellites":35,"speed":9,"hex_longitude":"2d1b09c0","hex_latitude":"0725a128","is_valid_coordinates":true} 
[2026-07-13 20:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692335360001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5966491258191872,"note":"Value kept but may cause issues"} 
[2026-07-13 20:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1947455025812914176,"note":"Value kept but may cause issues"} 
[2026-07-13 20:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783954438000,"timestamp_ms":1783954438000,"timestamp_seconds":1783954438,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf87770"} 
[2026-07-13 20:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 20:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:25:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":130841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":130841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":130841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692335360001,"66":13559,"217":206,"83":42752,"24":9,"16":5966491258191872,"45":1947455025812914176},"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-07-13 20:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692335360001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:25:30] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-13 20:25:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5966491258191872,"km_value":5966491258191.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1947455025812914176,"description":"Unknown IO ID 45"} 
[2026-07-13 20:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692335360001,"power":13559,"unknown_217":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":1947455025812914176}} 
[2026-07-13 20:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":130841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:25:30] local.INFO: GPS data processed {"connection_id":130841,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:25:30] local.INFO: Acknowledgment sent {"connection_id":130841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:25:33] local.INFO: TCP Data received {"connection_id":130624,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:25:33] local.INFO: Processing buffer {"connection_id":130624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:25:33] local.INFO: IMEI packet received {"connection_id":130624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":130624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:25:39] local.INFO: TCP Data received {"connection_id":130624,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:25:39] local.INFO: Processing buffer {"connection_id":130624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:25:39] local.INFO: IMEI packet received {"connection_id":130624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":130624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:25:39] local.INFO: TCP Data received {"connection_id":132985,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132985,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:25:39] local.INFO: Processing buffer {"connection_id":132985,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:25:39] local.INFO: IMEI packet received {"connection_id":132985,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":132985,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:25:40] local.INFO: TCP Data received {"connection_id":130624,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf8e0e8012d7f914005afd9380018011b23..."} 
[2026-07-13 20:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf8e0e8012d7f914005afd9380018011b23..."} 
[2026-07-13 20:25:40] local.INFO: Processing buffer {"connection_id":130624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf8e0e8012d7f914005afd9380018011b23..."} 
[2026-07-13 20:25:40] local.INFO: Packet analysis {"connection_id":130624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf8"} 
[2026-07-13 20:25:40] local.INFO: Extracted packet for processing {"connection_id":130624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf8"} 
[2026-07-13 20:25:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20: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-07-13 20:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692265984001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783954465000,"timestamp_ms":1783954465000,"timestamp_seconds":1783954465,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf8e0e8"} 
[2026-07-13 20:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20: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-07-13 20:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692265984001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692265984001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:25:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:25:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692265984001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":130624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:25:40] local.INFO: GPS data processed {"connection_id":130624,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:25:40] local.INFO: Acknowledgment sent {"connection_id":130624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:25:44] local.INFO: TCP Data received {"connection_id":132985,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132985,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:25:44] local.INFO: Processing buffer {"connection_id":132985,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:25:44] local.INFO: IMEI packet received {"connection_id":132985,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":132985,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:25:46] local.INFO: TCP Data received {"connection_id":132985,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf5eb18012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf5eb18012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:25:46] local.INFO: Processing buffer {"connection_id":132985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf5eb18012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:25:46] local.INFO: Packet analysis {"connection_id":132985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf5"} 
[2026-07-13 20:25:46] local.INFO: Extracted packet for processing {"connection_id":132985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf5"} 
[2026-07-13 20:25:46] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692288000001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:25:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783954271000,"timestamp_ms":1783954271000,"timestamp_seconds":1783954271,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf5eb18"} 
[2026-07-13 20:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 20:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692288000001,"66":28137,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692288000001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:25:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:25:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:25:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692288000001,"power":28137,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":132985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482020,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:25:46] local.INFO: GPS data processed {"connection_id":132985,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:25:46] local.INFO: Acknowledgment sent {"connection_id":132985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:25:52] local.INFO: TCP Data received {"connection_id":131653,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:25:52] local.INFO: Processing buffer {"connection_id":131653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:25:52] local.INFO: IMEI packet received {"connection_id":131653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":131653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:25:53] local.INFO: TCP Data received {"connection_id":131653,"ip":"42.106.6.15","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-13 20:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131653,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-13 20:25:53] local.INFO: Processing buffer {"connection_id":131653,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-13 20:25:53] local.INFO: IMEI packet received {"connection_id":131653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":131653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:25:56] local.INFO: TCP Data received {"connection_id":131653,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:25:56] local.INFO: Processing buffer {"connection_id":131653,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-13 20:25:56] local.INFO: IMEI packet received {"connection_id":131653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":131653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:26:11] local.INFO: TCP Data received {"connection_id":130624,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf8e0e8012d7f914005afd9380018011b23..."} 
[2026-07-13 20:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf8e0e8012d7f914005afd9380018011b23..."} 
[2026-07-13 20:26:11] local.INFO: Processing buffer {"connection_id":130624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf8e0e8012d7f914005afd9380018011b23..."} 
[2026-07-13 20:26:11] local.INFO: Packet analysis {"connection_id":130624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf8"} 
[2026-07-13 20:26:11] local.INFO: Extracted packet for processing {"connection_id":130624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf8"} 
[2026-07-13 20:26:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692265984001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783954465000,"timestamp_ms":1783954465000,"timestamp_seconds":1783954465,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf8e0e8"} 
[2026-07-13 20:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692265984001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692265984001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:26:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:26:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692265984001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":130624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:26:11] local.INFO: GPS data processed {"connection_id":130624,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:26:11] local.INFO: Acknowledgment sent {"connection_id":130624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:26:17] local.INFO: TCP Data received {"connection_id":132985,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf63d20012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf63d20012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:26:17] local.INFO: Processing buffer {"connection_id":132985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf63d20012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:26:17] local.INFO: Packet analysis {"connection_id":132985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf6"} 
[2026-07-13 20:26:17] local.INFO: Extracted packet for processing {"connection_id":132985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf6"} 
[2026-07-13 20:26:17] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 20:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692293376001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:26:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783954292000,"timestamp_ms":1783954292000,"timestamp_seconds":1783954292,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf63d20"} 
[2026-07-13 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-07-13 20:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 20:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 20:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692293376001,"66":28332,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692293376001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:26:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:26:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:26:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692293376001,"power":28332,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":132985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482022,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:26:18] local.INFO: GPS data processed {"connection_id":132985,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:26:18] local.INFO: Acknowledgment sent {"connection_id":132985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:26:34] local.INFO: TCP Data received {"connection_id":131654,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:26:34] local.INFO: Processing buffer {"connection_id":131654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:26:34] local.INFO: IMEI packet received {"connection_id":131654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":131654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:26:39] local.INFO: TCP Data received {"connection_id":131654,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:26:39] local.INFO: Processing buffer {"connection_id":131654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:26:39] local.INFO: IMEI packet received {"connection_id":131654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":131654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:26:39] local.INFO: TCP Data received {"connection_id":131654,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf8e0e8012d7f914005afd9380018011b23..."} 
[2026-07-13 20:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf8e0e8012d7f914005afd9380018011b23..."} 
[2026-07-13 20:26:40] local.INFO: Processing buffer {"connection_id":131654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf8e0e8012d7f914005afd9380018011b23..."} 
[2026-07-13 20:26:40] local.INFO: Packet analysis {"connection_id":131654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf8"} 
[2026-07-13 20:26:40] local.INFO: Extracted packet for processing {"connection_id":131654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf8"} 
[2026-07-13 20:26:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692265984001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783954465000,"timestamp_ms":1783954465000,"timestamp_seconds":1783954465,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf8e0e8"} 
[2026-07-13 20:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692265984001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692265984001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:26:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:26:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692265984001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":131654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:26:40] local.INFO: GPS data processed {"connection_id":131654,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:26:40] local.INFO: Acknowledgment sent {"connection_id":131654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:26:40] local.INFO: TCP Data received {"connection_id":131655,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:26:40] local.INFO: Processing buffer {"connection_id":131655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:26:40] local.INFO: IMEI packet received {"connection_id":131655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":131655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:26:44] local.INFO: TCP Data received {"connection_id":131655,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:26:44] local.INFO: Processing buffer {"connection_id":131655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:26:44] local.INFO: IMEI packet received {"connection_id":131655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":131655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:26:45] local.INFO: TCP Data received {"connection_id":131655,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf68f28012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf68f28012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:26:45] local.INFO: Processing buffer {"connection_id":131655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf68f28012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:26:45] local.INFO: Packet analysis {"connection_id":131655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf6"} 
[2026-07-13 20:26:45] local.INFO: Extracted packet for processing {"connection_id":131655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf6"} 
[2026-07-13 20:26:45] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692298752001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:26:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783954313000,"timestamp_ms":1783954313000,"timestamp_seconds":1783954313,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf68f28"} 
[2026-07-13 20:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-13 20:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2296,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131655,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131655,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692298752001,"66":28137,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692298752001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:26:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:26:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:26:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692298752001,"power":28137,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":131655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482024,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:26:45] local.INFO: GPS data processed {"connection_id":131655,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:26:45] local.INFO: Acknowledgment sent {"connection_id":131655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:27:11] local.INFO: TCP Data received {"connection_id":131654,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf8e0e8012d7f914005afd9380018011b23..."} 
[2026-07-13 20:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf8e0e8012d7f914005afd9380018011b23..."} 
[2026-07-13 20:27:11] local.INFO: Processing buffer {"connection_id":131654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf8e0e8012d7f914005afd9380018011b23..."} 
[2026-07-13 20:27:11] local.INFO: Packet analysis {"connection_id":131654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf8"} 
[2026-07-13 20:27:11] local.INFO: Extracted packet for processing {"connection_id":131654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf8"} 
[2026-07-13 20:27:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692265984001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783954465000,"timestamp_ms":1783954465000,"timestamp_seconds":1783954465,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf8e0e8"} 
[2026-07-13 20:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692265984001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692265984001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:27:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:27:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692265984001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":131654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:27:11] local.INFO: GPS data processed {"connection_id":131654,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:27:11] local.INFO: Acknowledgment sent {"connection_id":131654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:27:17] local.INFO: TCP Data received {"connection_id":131655,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf6e130012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf6e130012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:27:17] local.INFO: Processing buffer {"connection_id":131655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf6e130012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:27:17] local.INFO: Packet analysis {"connection_id":131655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf6"} 
[2026-07-13 20:27:17] local.INFO: Extracted packet for processing {"connection_id":131655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf6"} 
[2026-07-13 20:27:17] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692304128001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:27:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783954334000,"timestamp_ms":1783954334000,"timestamp_seconds":1783954334,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf6e130"} 
[2026-07-13 20:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 20:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131655,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131655,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692304128001,"66":28376,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692304128001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:27:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:27:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:27:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692304128001,"power":28376,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":131655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482026,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:27:17] local.INFO: GPS data processed {"connection_id":131655,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:27:17] local.INFO: Acknowledgment sent {"connection_id":131655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:27:33] local.INFO: TCP Data received {"connection_id":130625,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:27:33] local.INFO: Processing buffer {"connection_id":130625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:27:33] local.INFO: IMEI packet received {"connection_id":130625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":130625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:27:39] local.INFO: TCP Data received {"connection_id":130625,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:27:39] local.INFO: Processing buffer {"connection_id":130625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:27:39] local.INFO: IMEI packet received {"connection_id":130625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":130625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:27:39] local.INFO: TCP Data received {"connection_id":130626,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130626,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:27:39] local.INFO: Processing buffer {"connection_id":130626,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:27:39] local.INFO: IMEI packet received {"connection_id":130626,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":130626,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:27:40] local.INFO: TCP Data received {"connection_id":130625,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf8e0e8012d7f914005afd9380018011b23..."} 
[2026-07-13 20:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf8e0e8012d7f914005afd9380018011b23..."} 
[2026-07-13 20:27:40] local.INFO: Processing buffer {"connection_id":130625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf8e0e8012d7f914005afd9380018011b23..."} 
[2026-07-13 20:27:40] local.INFO: Packet analysis {"connection_id":130625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf8"} 
[2026-07-13 20:27:40] local.INFO: Extracted packet for processing {"connection_id":130625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf8"} 
[2026-07-13 20:27:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692265984001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783954465000,"timestamp_ms":1783954465000,"timestamp_seconds":1783954465,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf8e0e8"} 
[2026-07-13 20:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692265984001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692265984001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:27:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:27:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692265984001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":130625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:27:40] local.INFO: GPS data processed {"connection_id":130625,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:27:40] local.INFO: Acknowledgment sent {"connection_id":130625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:27:44] local.INFO: TCP Data received {"connection_id":130626,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130626,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:27:44] local.INFO: Processing buffer {"connection_id":130626,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:27:44] local.INFO: IMEI packet received {"connection_id":130626,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":130626,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:27:45] local.INFO: TCP Data received {"connection_id":130626,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf73338012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf73338012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:27:45] local.INFO: Processing buffer {"connection_id":130626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf73338012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:27:45] local.INFO: Packet analysis {"connection_id":130626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf7"} 
[2026-07-13 20:27:45] local.INFO: Extracted packet for processing {"connection_id":130626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf7"} 
[2026-07-13 20:27:45] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692309504001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:27:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783954355000,"timestamp_ms":1783954355000,"timestamp_seconds":1783954355,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf73338"} 
[2026-07-13 20:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:27:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 20:27:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:27:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130626,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130626,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692309504001,"66":28202,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692309504001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:27:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:27:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:27:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692309504001,"power":28202,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":130626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482028,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:27:45] local.INFO: GPS data processed {"connection_id":130626,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:27:45] local.INFO: Acknowledgment sent {"connection_id":130626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:28:11] local.INFO: TCP Data received {"connection_id":130625,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf8e0e8012d7f914005afd9380018011b23..."} 
[2026-07-13 20:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf8e0e8012d7f914005afd9380018011b23..."} 
[2026-07-13 20:28:11] local.INFO: Processing buffer {"connection_id":130625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf8e0e8012d7f914005afd9380018011b23..."} 
[2026-07-13 20:28:11] local.INFO: Packet analysis {"connection_id":130625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf8"} 
[2026-07-13 20:28:11] local.INFO: Extracted packet for processing {"connection_id":130625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf8"} 
[2026-07-13 20:28:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692265984001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783954465000,"timestamp_ms":1783954465000,"timestamp_seconds":1783954465,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf8e0e8"} 
[2026-07-13 20:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692265984001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692265984001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:28:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:28:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692265984001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":130625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:28:11] local.INFO: GPS data processed {"connection_id":130625,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:28:11] local.INFO: Acknowledgment sent {"connection_id":130625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:28:17] local.INFO: TCP Data received {"connection_id":130626,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf78540012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf78540012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:28:17] local.INFO: Processing buffer {"connection_id":130626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf78540012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:28:17] local.INFO: Packet analysis {"connection_id":130626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf7"} 
[2026-07-13 20:28:17] local.INFO: Extracted packet for processing {"connection_id":130626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf7"} 
[2026-07-13 20:28:17] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 20:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692314880001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:28:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783954376000,"timestamp_ms":1783954376000,"timestamp_seconds":1783954376,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf78540"} 
[2026-07-13 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-07-13 20:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-07-13 20:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 20:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130626,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130626,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692314880001,"66":28224,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692314880001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:28:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:28:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:28:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692314880001,"power":28224,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":130626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482030,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:28:17] local.INFO: GPS data processed {"connection_id":130626,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:28:17] local.INFO: Acknowledgment sent {"connection_id":130626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:28:33] local.INFO: TCP Data received {"connection_id":131656,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:28:33] local.INFO: Processing buffer {"connection_id":131656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:28:33] local.INFO: IMEI packet received {"connection_id":131656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":131656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:28:39] local.INFO: TCP Data received {"connection_id":131656,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:28:39] local.INFO: Processing buffer {"connection_id":131656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:28:39] local.INFO: IMEI packet received {"connection_id":131656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":131656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:28:39] local.INFO: TCP Data received {"connection_id":130628,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130628,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:28:39] local.INFO: Processing buffer {"connection_id":130628,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:28:39] local.INFO: IMEI packet received {"connection_id":130628,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":130628,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:28:40] local.INFO: TCP Data received {"connection_id":131656,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf8e0e8012d7f914005afd9380018011b23..."} 
[2026-07-13 20:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf8e0e8012d7f914005afd9380018011b23..."} 
[2026-07-13 20:28:40] local.INFO: Processing buffer {"connection_id":131656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf8e0e8012d7f914005afd9380018011b23..."} 
[2026-07-13 20:28:40] local.INFO: Packet analysis {"connection_id":131656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf8"} 
[2026-07-13 20:28:40] local.INFO: Extracted packet for processing {"connection_id":131656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf8"} 
[2026-07-13 20:28:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692265984001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783954465000,"timestamp_ms":1783954465000,"timestamp_seconds":1783954465,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf8e0e8"} 
[2026-07-13 20:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692265984001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692265984001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:28:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:28:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692265984001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":131656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:28:40] local.INFO: GPS data processed {"connection_id":131656,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:28:40] local.INFO: Acknowledgment sent {"connection_id":131656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:28:44] local.INFO: TCP Data received {"connection_id":130628,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130628,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:28:44] local.INFO: Processing buffer {"connection_id":130628,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:28:44] local.INFO: IMEI packet received {"connection_id":130628,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":130628,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:28:45] local.INFO: TCP Data received {"connection_id":130628,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf7d748012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf7d748012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:28:45] local.INFO: Processing buffer {"connection_id":130628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf7d748012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:28:45] local.INFO: Packet analysis {"connection_id":130628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf7"} 
[2026-07-13 20:28:45] local.INFO: Extracted packet for processing {"connection_id":130628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf7"} 
[2026-07-13 20:28:45] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692320256001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:28:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783954397000,"timestamp_ms":1783954397000,"timestamp_seconds":1783954397,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf7d748"} 
[2026-07-13 20:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-07-13 20:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130628,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130628,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692320256001,"66":27984,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692320256001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:28:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:28:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:28:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692320256001,"power":27984,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":130628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482032,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:28:45] local.INFO: GPS data processed {"connection_id":130628,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:28:45] local.INFO: Acknowledgment sent {"connection_id":130628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:29:11] local.INFO: TCP Data received {"connection_id":131656,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf8e0e8012d7f914005afd9380018011b23..."} 
[2026-07-13 20:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf8e0e8012d7f914005afd9380018011b23..."} 
[2026-07-13 20:29:11] local.INFO: Processing buffer {"connection_id":131656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf8e0e8012d7f914005afd9380018011b23..."} 
[2026-07-13 20:29:11] local.INFO: Packet analysis {"connection_id":131656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf8"} 
[2026-07-13 20:29:11] local.INFO: Extracted packet for processing {"connection_id":131656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf8"} 
[2026-07-13 20:29:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692265984001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783954465000,"timestamp_ms":1783954465000,"timestamp_seconds":1783954465,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf8e0e8"} 
[2026-07-13 20:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692265984001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692265984001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:29:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:29:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692265984001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":131656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:29:11] local.INFO: GPS data processed {"connection_id":131656,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:29:11] local.INFO: Acknowledgment sent {"connection_id":131656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:29:17] local.INFO: TCP Data received {"connection_id":130628,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf82950012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf82950012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:29:17] local.INFO: Processing buffer {"connection_id":130628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf82950012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:29:17] local.INFO: Packet analysis {"connection_id":130628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf8"} 
[2026-07-13 20:29:17] local.INFO: Extracted packet for processing {"connection_id":130628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf8"} 
[2026-07-13 20:29:17] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 20:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692325632001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:29:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783954418000,"timestamp_ms":1783954418000,"timestamp_seconds":1783954418,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf82950"} 
[2026-07-13 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-07-13 20:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-13 20:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 20:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130628,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130628,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692325632001,"66":28006,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692325632001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:29:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:29:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:29:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692325632001,"power":28006,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":130628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482034,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:29:17] local.INFO: GPS data processed {"connection_id":130628,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:29:17] local.INFO: Acknowledgment sent {"connection_id":130628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:29:33] local.INFO: TCP Data received {"connection_id":130629,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:29:33] local.INFO: Processing buffer {"connection_id":130629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:29:33] local.INFO: IMEI packet received {"connection_id":130629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":130629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:29:39] local.INFO: TCP Data received {"connection_id":130629,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:29:39] local.INFO: Processing buffer {"connection_id":130629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:29:39] local.INFO: IMEI packet received {"connection_id":130629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":130629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:29:40] local.INFO: TCP Data received {"connection_id":130629,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf8e0e8012d7f914005afd9380018011b23..."} 
[2026-07-13 20:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf8e0e8012d7f914005afd9380018011b23..."} 
[2026-07-13 20:29:40] local.INFO: Processing buffer {"connection_id":130629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf8e0e8012d7f914005afd9380018011b23..."} 
[2026-07-13 20:29:40] local.INFO: Packet analysis {"connection_id":130629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf8"} 
[2026-07-13 20:29:40] local.INFO: Extracted packet for processing {"connection_id":130629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf8"} 
[2026-07-13 20:29:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692265984001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783954465000,"timestamp_ms":1783954465000,"timestamp_seconds":1783954465,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf8e0e8"} 
[2026-07-13 20:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692265984001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692265984001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:29:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692265984001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":130629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:29:40] local.INFO: GPS data processed {"connection_id":130629,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:29:40] local.INFO: Acknowledgment sent {"connection_id":130629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:29:44] local.INFO: TCP Data received {"connection_id":130842,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130842,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:29:44] local.INFO: Processing buffer {"connection_id":130842,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:29:44] local.INFO: IMEI packet received {"connection_id":130842,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":130842,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:29:49] local.INFO: TCP Data received {"connection_id":130842,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130842,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:29:49] local.INFO: Processing buffer {"connection_id":130842,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:29:49] local.INFO: IMEI packet received {"connection_id":130842,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":130842,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:29:51] local.INFO: TCP Data received {"connection_id":130842,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf87b58012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf87b58012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:29:51] local.INFO: Processing buffer {"connection_id":130842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf87b58012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:29:51] local.INFO: Packet analysis {"connection_id":130842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf8"} 
[2026-07-13 20:29:51] local.INFO: Extracted packet for processing {"connection_id":130842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf8"} 
[2026-07-13 20:29:51] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20: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-07-13 20:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692331008001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:29:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783954439000,"timestamp_ms":1783954439000,"timestamp_seconds":1783954439,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf87b58"} 
[2026-07-13 20:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-13 20:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20: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-07-13 20:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130842,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130842,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692331008001,"66":28104,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692331008001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:29:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:29:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:29:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692331008001,"power":28104,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":130842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482036,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:29:51] local.INFO: GPS data processed {"connection_id":130842,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:29:51] local.INFO: Acknowledgment sent {"connection_id":130842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:29:55] local.INFO: TCP Data received {"connection_id":130842,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bf8b208012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bf8b208012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:29:55] local.INFO: Processing buffer {"connection_id":130842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bf8b208012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:29:55] local.INFO: Packet analysis {"connection_id":130842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bf8"} 
[2026-07-13 20:29:55] local.INFO: Extracted packet for processing {"connection_id":130842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bf8"} 
[2026-07-13 20:29:55] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692336384001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:29:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783954453000,"timestamp_ms":1783954453000,"timestamp_seconds":1783954453,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bf8b208"} 
[2026-07-13 20:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 20:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130842,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130842,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692336384001,"66":28245,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692336384001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:29:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:29:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:29:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692336384001,"power":28245,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":130842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482037,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:29:55] local.INFO: GPS data processed {"connection_id":130842,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:29:55] local.INFO: Acknowledgment sent {"connection_id":130842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:30:11] local.INFO: TCP Data received {"connection_id":130629,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bfd78b0012d7f914005afd938001b011b23..."} 
[2026-07-13 20:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bfd78b0012d7f914005afd938001b011b23..."} 
[2026-07-13 20:30:11] local.INFO: Processing buffer {"connection_id":130629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bfd78b0012d7f914005afd938001b011b23..."} 
[2026-07-13 20:30:11] local.INFO: Packet analysis {"connection_id":130629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:30:11] local.INFO: Extracted packet for processing {"connection_id":130629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:30:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692343040001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783954766000,"timestamp_ms":1783954766000,"timestamp_seconds":1783954766,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bfd78b0"} 
[2026-07-13 20:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 20:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692343040001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692343040001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:30:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:30:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692343040001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":130629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:30:11] local.INFO: GPS data processed {"connection_id":130629,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:30:11] local.INFO: Acknowledgment sent {"connection_id":130629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:30:39] local.INFO: TCP Data received {"connection_id":131658,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:30:39] local.INFO: Processing buffer {"connection_id":131658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:30:39] local.INFO: IMEI packet received {"connection_id":131658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":131658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:30:39] local.INFO: TCP Data received {"connection_id":131659,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131659,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:30:39] local.INFO: Processing buffer {"connection_id":131659,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:30:39] local.INFO: IMEI packet received {"connection_id":131659,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":131659,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:30:44] local.INFO: TCP Data received {"connection_id":131658,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:30:44] local.INFO: Processing buffer {"connection_id":131658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:30:44] local.INFO: IMEI packet received {"connection_id":131658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":131658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:30:44] local.INFO: TCP Data received {"connection_id":131659,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131659,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:30:44] local.INFO: Processing buffer {"connection_id":131659,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:30:44] local.INFO: IMEI packet received {"connection_id":131659,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":131659,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:30:45] local.INFO: TCP Data received {"connection_id":131658,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bfd78b0012d7f914005afd938001b011b23..."} 
[2026-07-13 20:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bfd78b0012d7f914005afd938001b011b23..."} 
[2026-07-13 20:30:45] local.INFO: Processing buffer {"connection_id":131658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bfd78b0012d7f914005afd938001b011b23..."} 
[2026-07-13 20:30:45] local.INFO: Packet analysis {"connection_id":131658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:30:45] local.INFO: Extracted packet for processing {"connection_id":131658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:30:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692343040001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783954766000,"timestamp_ms":1783954766000,"timestamp_seconds":1783954766,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bfd78b0"} 
[2026-07-13 20:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 20:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:30: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-07-13 20:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692343040001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692343040001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:30:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:30:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692343040001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":131658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:30:45] local.INFO: GPS data processed {"connection_id":131658,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:30:45] local.INFO: Acknowledgment sent {"connection_id":131658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:30:45] local.INFO: TCP Data received {"connection_id":131659,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bfd5588012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bfd5588012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:30:45] local.INFO: Processing buffer {"connection_id":131659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bfd5588012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:30:45] local.INFO: Packet analysis {"connection_id":131659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:30:45] local.INFO: Extracted packet for processing {"connection_id":131659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:30:45] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 20:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692339968001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:30:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783954757000,"timestamp_ms":1783954757000,"timestamp_seconds":1783954757,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bfd5588"} 
[2026-07-13 20:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":110,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-13 20:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1513,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131659,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131659,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692339968001,"66":25647,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692339968001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:30:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:30:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:30:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692339968001,"power":25647,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":131659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482040,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:30:45] local.INFO: GPS data processed {"connection_id":131659,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:30:45] local.INFO: Acknowledgment sent {"connection_id":131659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:30:57] local.INFO: TCP Data received {"connection_id":131660,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:30:57] local.INFO: Processing buffer {"connection_id":131660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:30:57] local.INFO: IMEI packet received {"connection_id":131660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":131660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:31:04] local.INFO: TCP Data received {"connection_id":131660,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:31:04] local.INFO: Processing buffer {"connection_id":131660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:31:04] local.INFO: IMEI packet received {"connection_id":131660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":131660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:31:05] local.INFO: TCP Data received {"connection_id":131660,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bfd6910012d19e4c00723a4e80033010724..."} 
[2026-07-13 20:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bfd6910012d19e4c00723a4e80033010724..."} 
[2026-07-13 20:31:05] local.INFO: Processing buffer {"connection_id":131660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bfd6910012d19e4c00723a4e80033010724..."} 
[2026-07-13 20:31:05] local.INFO: Packet analysis {"connection_id":131660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:31:05] local.INFO: Extracted packet for processing {"connection_id":131660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:31:05] local.INFO: GPS Element Parsed {"raw_longitude":756671680,"raw_latitude":119776488,"longitude_deg":75.667168,"latitude_deg":11.9776488,"altitude":51,"angle":263,"satellites":36,"speed":40,"hex_longitude":"2d19e4c0","hex_latitude":"0723a4e8","is_valid_coordinates":true} 
[2026-07-13 20:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692416768001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5976111984934912,"note":"Value kept but may cause issues"} 
[2026-07-13 20:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1876382594160484352,"note":"Value kept but may cause issues"} 
[2026-07-13 20:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783954762000,"timestamp_ms":1783954762000,"timestamp_seconds":1783954762,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bfd6910"} 
[2026-07-13 20:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 20:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":131660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":131660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":131660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692416768001,"66":13439,"42":206,"83":42752,"24":40,"16":5976111984934912,"45":1876382594160484352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-13 20:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692416768001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:31:05] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-13 20:31:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5976111984934912,"km_value":5976111984934.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1876382594160484352,"description":"Unknown IO ID 45"} 
[2026-07-13 20:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692416768001,"power":13439,"unknown_42":206,"unknown_83":42752,"ignition":40,"odometer":null,"unknown_45":1876382594160484352}} 
[2026-07-13 20:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":131660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:31:05] local.INFO: GPS data processed {"connection_id":131660,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:31:05] local.INFO: Acknowledgment sent {"connection_id":131660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:31:16] local.INFO: TCP Data received {"connection_id":131658,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bfd78b0012d7f914005afd938001b011b23..."} 
[2026-07-13 20:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bfd78b0012d7f914005afd938001b011b23..."} 
[2026-07-13 20:31:16] local.INFO: Processing buffer {"connection_id":131658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bfd78b0012d7f914005afd938001b011b23..."} 
[2026-07-13 20:31:16] local.INFO: Packet analysis {"connection_id":131658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:31:16] local.INFO: Extracted packet for processing {"connection_id":131658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:31:16] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692343040001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783954766000,"timestamp_ms":1783954766000,"timestamp_seconds":1783954766,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bfd78b0"} 
[2026-07-13 20:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 20:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":131658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":131658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":131658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:31: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-07-13 20:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692343040001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692343040001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:31:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:31:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692343040001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":131658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:31:16] local.INFO: GPS data processed {"connection_id":131658,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:31:16] local.INFO: Acknowledgment sent {"connection_id":131658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:31:18] local.INFO: TCP Data received {"connection_id":131659,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bfd5588012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bfd5588012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:31:18] local.INFO: Processing buffer {"connection_id":131659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bfd5588012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:31:18] local.INFO: Packet analysis {"connection_id":131659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:31:18] local.INFO: Extracted packet for processing {"connection_id":131659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:31:18] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 20:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692339968001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:31:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783954757000,"timestamp_ms":1783954757000,"timestamp_seconds":1783954757,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bfd5588"} 
[2026-07-13 20:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-13 20:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1513,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131659,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131659,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692339968001,"66":25647,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692339968001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:31:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:31:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:31:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692339968001,"power":25647,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":131659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482043,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:31:18] local.INFO: GPS data processed {"connection_id":131659,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:31:18] local.INFO: Acknowledgment sent {"connection_id":131659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:31:33] local.INFO: TCP Data received {"connection_id":130843,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:31:33] local.INFO: Processing buffer {"connection_id":130843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:31:33] local.INFO: IMEI packet received {"connection_id":130843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":130843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:31:38] local.INFO: TCP Data received {"connection_id":131660,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bfd9020012d19bfc00723a0480036010621..."} 
[2026-07-13 20:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bfd9020012d19bfc00723a0480036010621..."} 
[2026-07-13 20:31:38] local.INFO: Processing buffer {"connection_id":131660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bfd9020012d19bfc00723a0480036010621..."} 
[2026-07-13 20:31:38] local.INFO: Packet analysis {"connection_id":131660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:31:38] local.INFO: Extracted packet for processing {"connection_id":131660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:31:38] local.INFO: GPS Element Parsed {"raw_longitude":756662208,"raw_latitude":119775304,"longitude_deg":75.6662208,"latitude_deg":11.9775304,"altitude":54,"angle":262,"satellites":33,"speed":34,"hex_longitude":"2d19bfc0","hex_latitude":"0723a048","is_valid_coordinates":true} 
[2026-07-13 20:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692419072001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5976562956500992,"note":"Value kept but may cause issues"} 
[2026-07-13 20:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865827282533541888,"note":"Value kept but may cause issues"} 
[2026-07-13 20:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783954772000,"timestamp_ms":1783954772000,"timestamp_seconds":1783954772,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bfd9020"} 
[2026-07-13 20:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-07-13 20:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":131660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":131660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":131660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692419072001,"66":13417,"177":206,"83":42752,"24":34,"16":5976562956500992,"45":1865827282533541888},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-13 20:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692419072001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:31:38] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-13 20:31:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5976562956500992,"km_value":5976562956500.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865827282533541888,"description":"Unknown IO ID 45"} 
[2026-07-13 20:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692419072001,"power":13417,"unknown_177":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1865827282533541888}} 
[2026-07-13 20:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":131660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:31:38] local.INFO: GPS data processed {"connection_id":131660,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:31:38] local.INFO: Acknowledgment sent {"connection_id":131660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:31:39] local.INFO: TCP Data received {"connection_id":130843,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:31:39] local.INFO: Processing buffer {"connection_id":130843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:31:39] local.INFO: IMEI packet received {"connection_id":130843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":130843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:31:39] local.INFO: TCP Data received {"connection_id":131661,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131661,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:31:39] local.INFO: Processing buffer {"connection_id":131661,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:31:39] local.INFO: IMEI packet received {"connection_id":131661,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":131661,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:31:41] local.INFO: TCP Data received {"connection_id":130843,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bfd78b0012d7f914005afd938001b011b23..."} 
[2026-07-13 20:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bfd78b0012d7f914005afd938001b011b23..."} 
[2026-07-13 20:31:41] local.INFO: Processing buffer {"connection_id":130843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bfd78b0012d7f914005afd938001b011b23..."} 
[2026-07-13 20:31:41] local.INFO: Packet analysis {"connection_id":130843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:31:41] local.INFO: Extracted packet for processing {"connection_id":130843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:31:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692343040001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783954766000,"timestamp_ms":1783954766000,"timestamp_seconds":1783954766,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bfd78b0"} 
[2026-07-13 20:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 20:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692343040001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692343040001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:31:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:31:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692343040001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":130843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:31:41] local.INFO: GPS data processed {"connection_id":130843,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:31:41] local.INFO: Acknowledgment sent {"connection_id":130843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:31:44] local.INFO: TCP Data received {"connection_id":131661,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131661,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:31:44] local.INFO: Processing buffer {"connection_id":131661,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:31:44] local.INFO: IMEI packet received {"connection_id":131661,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":131661,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:31:45] local.INFO: TCP Data received {"connection_id":131661,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bfd5588012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bfd5588012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:31:45] local.INFO: Processing buffer {"connection_id":131661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bfd5588012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:31:45] local.INFO: Packet analysis {"connection_id":131661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:31:45] local.INFO: Extracted packet for processing {"connection_id":131661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:31:45] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 20:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692339968001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:31:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783954757000,"timestamp_ms":1783954757000,"timestamp_seconds":1783954757,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bfd5588"} 
[2026-07-13 20:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":110,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-13 20:31:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1513,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131661,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131661,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692339968001,"66":25647,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692339968001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:31:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:31:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:31:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692339968001,"power":25647,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":131661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482046,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:31:46] local.INFO: GPS data processed {"connection_id":131661,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:31:46] local.INFO: Acknowledgment sent {"connection_id":131661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:31:52] local.INFO: TCP Data received {"connection_id":132988,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:31:52] local.INFO: Processing buffer {"connection_id":132988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:31:52] local.INFO: IMEI packet received {"connection_id":132988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":132988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:31:53] local.INFO: TCP Data received {"connection_id":132988,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:31:53] local.INFO: Processing buffer {"connection_id":132988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:31:53] local.INFO: IMEI packet received {"connection_id":132988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":132988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:31:55] local.INFO: TCP Data received {"connection_id":132988,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:31:55] local.INFO: Processing buffer {"connection_id":132988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:31:55] local.INFO: IMEI packet received {"connection_id":132988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":132988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:31:57] local.INFO: TCP Data received {"connection_id":132988,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:31:57] local.INFO: Processing buffer {"connection_id":132988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:31:57] local.INFO: IMEI packet received {"connection_id":132988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":132988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:31:59] local.INFO: TCP Data received {"connection_id":132988,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bff12d8012d18f7400722f788005a00f924..."} 
[2026-07-13 20:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bff12d8012d18f7400722f788005a00f924..."} 
[2026-07-13 20:31:59] local.INFO: Processing buffer {"connection_id":132988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bff12d8012d18f7400722f788005a00f924..."} 
[2026-07-13 20:31:59] local.INFO: Packet analysis {"connection_id":132988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bff"} 
[2026-07-13 20:31:59] local.INFO: Extracted packet for processing {"connection_id":132988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bff"} 
[2026-07-13 20:31:59] local.INFO: GPS Element Parsed {"raw_longitude":756610880,"raw_latitude":119732104,"longitude_deg":75.661088,"latitude_deg":11.9732104,"altitude":90,"angle":249,"satellites":36,"speed":30,"hex_longitude":"2d18f740","hex_latitude":"0722f788","is_valid_coordinates":true} 
[2026-07-13 20:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692446464001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5979955980664832,"note":"Value kept but may cause issues"} 
[2026-07-13 20:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800454719181318144,"note":"Value kept but may cause issues"} 
[2026-07-13 20:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783954871000,"timestamp_ms":1783954871000,"timestamp_seconds":1783954871,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bff12d8"} 
[2026-07-13 20:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-13 20:31: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-07-13 20:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":132988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":132988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":132988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692446464001,"66":13406,"177":206,"83":42752,"24":30,"16":5979955980664832,"45":1800454719181318144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-13 20:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692446464001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:31:59] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-13 20:31:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-13 20:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5979955980664832,"km_value":5979955980664.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800454719181318144,"description":"Unknown IO ID 45"} 
[2026-07-13 20:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692446464001,"power":13406,"unknown_177":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":1800454719181318144}} 
[2026-07-13 20:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":132988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:31:59] local.INFO: GPS data processed {"connection_id":132988,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:31:59] local.INFO: Acknowledgment sent {"connection_id":132988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:32:12] local.INFO: TCP Data received {"connection_id":130843,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bfd78b0012d7f914005afd938001b011b23..."} 
[2026-07-13 20:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bfd78b0012d7f914005afd938001b011b23..."} 
[2026-07-13 20:32:12] local.INFO: Processing buffer {"connection_id":130843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bfd78b0012d7f914005afd938001b011b23..."} 
[2026-07-13 20:32:12] local.INFO: Packet analysis {"connection_id":130843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:32:12] local.INFO: Extracted packet for processing {"connection_id":130843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:32:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692343040001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783954766000,"timestamp_ms":1783954766000,"timestamp_seconds":1783954766,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bfd78b0"} 
[2026-07-13 20:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 20:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:32:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692343040001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692343040001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:32:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:32:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692343040001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":130843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:32:12] local.INFO: GPS data processed {"connection_id":130843,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:32:12] local.INFO: Acknowledgment sent {"connection_id":130843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:32:18] local.INFO: TCP Data received {"connection_id":131661,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bfd5588012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bfd5588012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:32:18] local.INFO: Processing buffer {"connection_id":131661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bfd5588012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:32:18] local.INFO: Packet analysis {"connection_id":131661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:32:18] local.INFO: Extracted packet for processing {"connection_id":131661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:32:18] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 20:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692339968001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:32:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783954757000,"timestamp_ms":1783954757000,"timestamp_seconds":1783954757,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bfd5588"} 
[2026-07-13 20:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-13 20:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1513,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131661,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131661,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692339968001,"66":25647,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692339968001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:32:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:32:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:32:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692339968001,"power":25647,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":131661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482049,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:32:18] local.INFO: GPS data processed {"connection_id":131661,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:32:18] local.INFO: Acknowledgment sent {"connection_id":131661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:32:34] local.INFO: TCP Data received {"connection_id":131662,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:32:34] local.INFO: Processing buffer {"connection_id":131662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:32:34] local.INFO: IMEI packet received {"connection_id":131662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":131662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:32:39] local.INFO: TCP Data received {"connection_id":131662,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:32:39] local.INFO: Processing buffer {"connection_id":131662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:32:39] local.INFO: IMEI packet received {"connection_id":131662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":131662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:32:39] local.INFO: TCP Data received {"connection_id":132989,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132989,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:32:39] local.INFO: Processing buffer {"connection_id":132989,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:32:39] local.INFO: IMEI packet received {"connection_id":132989,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":132989,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:32:40] local.INFO: TCP Data received {"connection_id":131662,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bfd78b0012d7f914005afd938001b011b23..."} 
[2026-07-13 20:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bfd78b0012d7f914005afd938001b011b23..."} 
[2026-07-13 20:32:40] local.INFO: Processing buffer {"connection_id":131662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bfd78b0012d7f914005afd938001b011b23..."} 
[2026-07-13 20:32:40] local.INFO: Packet analysis {"connection_id":131662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:32:40] local.INFO: Extracted packet for processing {"connection_id":131662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:32:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692343040001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783954766000,"timestamp_ms":1783954766000,"timestamp_seconds":1783954766,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bfd78b0"} 
[2026-07-13 20:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 20:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692343040001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692343040001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:32:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:32:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692343040001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":131662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:32:40] local.INFO: GPS data processed {"connection_id":131662,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:32:40] local.INFO: Acknowledgment sent {"connection_id":131662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:32:44] local.INFO: TCP Data received {"connection_id":132989,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132989,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:32:44] local.INFO: Processing buffer {"connection_id":132989,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:32:44] local.INFO: IMEI packet received {"connection_id":132989,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":132989,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:32:45] local.INFO: TCP Data received {"connection_id":132989,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bfd5588012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bfd5588012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:32:45] local.INFO: Processing buffer {"connection_id":132989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bfd5588012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:32:45] local.INFO: Packet analysis {"connection_id":132989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:32:45] local.INFO: Extracted packet for processing {"connection_id":132989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:32:45] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 20:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692339968001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:32:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783954757000,"timestamp_ms":1783954757000,"timestamp_seconds":1783954757,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bfd5588"} 
[2026-07-13 20:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-13 20:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1513,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132989,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132989,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692339968001,"66":25647,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692339968001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:32:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:32:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:32:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692339968001,"power":25647,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":132989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482051,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:32:46] local.INFO: GPS data processed {"connection_id":132989,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:32:46] local.INFO: Acknowledgment sent {"connection_id":132989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:32:55] local.INFO: TCP Data received {"connection_id":132990,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:32:55] local.INFO: Processing buffer {"connection_id":132990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:32:55] local.INFO: IMEI packet received {"connection_id":132990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":132990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:32:57] local.INFO: TCP Data received {"connection_id":132990,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:32:57] local.INFO: Processing buffer {"connection_id":132990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:32:57] local.INFO: IMEI packet received {"connection_id":132990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":132990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:32:58] local.INFO: TCP Data received {"connection_id":132990,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:32:58] local.INFO: Processing buffer {"connection_id":132990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:32:58] local.INFO: IMEI packet received {"connection_id":132990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":132990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:32:59] local.INFO: TCP Data received {"connection_id":132990,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bffb6e8012d18a3400722c4f0006900bc27..."} 
[2026-07-13 20:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bffb6e8012d18a3400722c4f0006900bc27..."} 
[2026-07-13 20:32:59] local.INFO: Processing buffer {"connection_id":132990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bffb6e8012d18a3400722c4f0006900bc27..."} 
[2026-07-13 20:32:59] local.INFO: Packet analysis {"connection_id":132990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bff"} 
[2026-07-13 20:32:59] local.INFO: Extracted packet for processing {"connection_id":132990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bff"} 
[2026-07-13 20:32:59] local.INFO: GPS Element Parsed {"raw_longitude":756589376,"raw_latitude":119719152,"longitude_deg":75.6589376,"latitude_deg":11.9719152,"altitude":105,"angle":188,"satellites":39,"speed":31,"hex_longitude":"2d18a340","hex_latitude":"0722c4f0","is_valid_coordinates":true} 
[2026-07-13 20:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692457216001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5981497873924096,"note":"Value kept but may cause issues"} 
[2026-07-13 20:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775755289971857408,"note":"Value kept but may cause issues"} 
[2026-07-13 20:32: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-07-13 20:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783954913000,"timestamp_ms":1783954913000,"timestamp_seconds":1783954913,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bffb6e8"} 
[2026-07-13 20:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-13 20:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:32:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":132990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":132990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":132990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692457216001,"66":12667,"105":206,"83":41984,"24":31,"16":5981497873924096,"45":1775755289971857408},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-13 20:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692457216001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:32:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-13 20:32:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5981497873924096,"km_value":5981497873924.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775755289971857408,"description":"Unknown IO ID 45"} 
[2026-07-13 20:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692457216001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1775755289971857408}} 
[2026-07-13 20:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":132990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:32:59] local.INFO: GPS data processed {"connection_id":132990,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:32:59] local.INFO: Acknowledgment sent {"connection_id":132990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:33:03] local.INFO: TCP Data received {"connection_id":132990,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bffc2a0012d18a3400722bc20006900ab25..."} 
[2026-07-13 20:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bffc2a0012d18a3400722bc20006900ab25..."} 
[2026-07-13 20:33:03] local.INFO: Processing buffer {"connection_id":132990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bffc2a0012d18a3400722bc20006900ab25..."} 
[2026-07-13 20:33:03] local.INFO: Packet analysis {"connection_id":132990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bff"} 
[2026-07-13 20:33:03] local.INFO: Extracted packet for processing {"connection_id":132990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bff"} 
[2026-07-13 20:33:03] local.INFO: GPS Element Parsed {"raw_longitude":756589376,"raw_latitude":119716896,"longitude_deg":75.6589376,"latitude_deg":11.9716896,"altitude":105,"angle":171,"satellites":37,"speed":28,"hex_longitude":"2d18a340","hex_latitude":"0722bc20","is_valid_coordinates":true} 
[2026-07-13 20:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692457728001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5981605248106496,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775333077506387968,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783954916000,"timestamp_ms":1783954916000,"timestamp_seconds":1783954916,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bffc2a0"} 
[2026-07-13 20:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-13 20:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":132990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":132990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":132990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692457728001,"66":12591,"105":206,"83":41984,"24":28,"16":5981605248106496,"45":1775333077506387968},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-13 20:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692457728001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:33:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-13 20:33:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5981605248106496,"km_value":5981605248106.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775333077506387968,"description":"Unknown IO ID 45"} 
[2026-07-13 20:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692457728001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1775333077506387968}} 
[2026-07-13 20:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":132990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:33:03] local.INFO: GPS data processed {"connection_id":132990,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:33:03] local.INFO: Acknowledgment sent {"connection_id":132990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:33:11] local.INFO: TCP Data received {"connection_id":131662,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bfd78b0012d7f914005afd938001b011b23..."} 
[2026-07-13 20:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bfd78b0012d7f914005afd938001b011b23..."} 
[2026-07-13 20:33:11] local.INFO: Processing buffer {"connection_id":131662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bfd78b0012d7f914005afd938001b011b23..."} 
[2026-07-13 20:33:11] local.INFO: Packet analysis {"connection_id":131662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:33:11] local.INFO: Extracted packet for processing {"connection_id":131662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:33:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692343040001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783954766000,"timestamp_ms":1783954766000,"timestamp_seconds":1783954766,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bfd78b0"} 
[2026-07-13 20:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 20:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692343040001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692343040001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:33:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692343040001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":131662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:33:11] local.INFO: GPS data processed {"connection_id":131662,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:33:11] local.INFO: Acknowledgment sent {"connection_id":131662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:33:17] local.INFO: TCP Data received {"connection_id":132989,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bfd5588012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bfd5588012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:33:17] local.INFO: Processing buffer {"connection_id":132989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bfd5588012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:33:17] local.INFO: Packet analysis {"connection_id":132989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:33:17] local.INFO: Extracted packet for processing {"connection_id":132989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:33:17] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 20:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692339968001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783954757000,"timestamp_ms":1783954757000,"timestamp_seconds":1783954757,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bfd5588"} 
[2026-07-13 20:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:33: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-07-13 20: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":110,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-13 20:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1513,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132989,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132989,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692339968001,"66":25647,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692339968001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:33:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:33:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:33:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692339968001,"power":25647,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":132989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482055,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:33:17] local.INFO: GPS data processed {"connection_id":132989,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:33:17] local.INFO: Acknowledgment sent {"connection_id":132989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:33:33] local.INFO: TCP Data received {"connection_id":130630,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:33:33] local.INFO: Processing buffer {"connection_id":130630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:33:33] local.INFO: IMEI packet received {"connection_id":130630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":130630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:33:34] local.INFO: TCP Data received {"connection_id":132990,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bfff568012d18a980072297e0006b00b325..."} 
[2026-07-13 20:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bfff568012d18a980072297e0006b00b325..."} 
[2026-07-13 20:33:34] local.INFO: Processing buffer {"connection_id":132990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bfff568012d18a980072297e0006b00b325..."} 
[2026-07-13 20:33:34] local.INFO: Packet analysis {"connection_id":132990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bff"} 
[2026-07-13 20:33:34] local.INFO: Extracted packet for processing {"connection_id":132990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bff"} 
[2026-07-13 20:33:34] local.INFO: GPS Element Parsed {"raw_longitude":756590976,"raw_latitude":119707616,"longitude_deg":75.6590976,"latitude_deg":11.9707616,"altitude":107,"angle":179,"satellites":37,"speed":30,"hex_longitude":"2d18a980","hex_latitude":"072297e0","is_valid_coordinates":true} 
[2026-07-13 20:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692458496001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5982064809607168,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775333077505810432,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783954929000,"timestamp_ms":1783954929000,"timestamp_seconds":1783954929,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bfff568"} 
[2026-07-13 20:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-13 20:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":132990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":132990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":132990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692458496001,"66":12645,"105":206,"83":41984,"24":30,"16":5982064809607168,"45":1775333077505810432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-13 20:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692458496001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:33:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-13 20:33:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5982064809607168,"km_value":5982064809607.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775333077505810432,"description":"Unknown IO ID 45"} 
[2026-07-13 20:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692458496001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1775333077505810432}} 
[2026-07-13 20:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":132990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:33:34] local.INFO: GPS data processed {"connection_id":132990,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:33:34] local.INFO: Acknowledgment sent {"connection_id":132990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:33:39] local.INFO: TCP Data received {"connection_id":130630,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:33:39] local.INFO: Processing buffer {"connection_id":130630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:33:39] local.INFO: IMEI packet received {"connection_id":130630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":130630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:33:40] local.INFO: TCP Data received {"connection_id":130630,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bfd78b0012d7f914005afd938001b011b23..."} 
[2026-07-13 20:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bfd78b0012d7f914005afd938001b011b23..."} 
[2026-07-13 20:33:40] local.INFO: Processing buffer {"connection_id":130630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bfd78b0012d7f914005afd938001b011b23..."} 
[2026-07-13 20:33:40] local.INFO: Packet analysis {"connection_id":130630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:33:40] local.INFO: Extracted packet for processing {"connection_id":130630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:33:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692343040001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783954766000,"timestamp_ms":1783954766000,"timestamp_seconds":1783954766,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bfd78b0"} 
[2026-07-13 20:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 20:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692343040001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692343040001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:33:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:33:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692343040001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":130630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:33:40] local.INFO: GPS data processed {"connection_id":130630,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:33:40] local.INFO: Acknowledgment sent {"connection_id":130630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:33:44] local.INFO: TCP Data received {"connection_id":132991,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:33:44] local.INFO: Processing buffer {"connection_id":132991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:33:44] local.INFO: IMEI packet received {"connection_id":132991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":132991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:33:49] local.INFO: TCP Data received {"connection_id":132991,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:33:49] local.INFO: Processing buffer {"connection_id":132991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:33:49] local.INFO: IMEI packet received {"connection_id":132991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":132991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:33:51] local.INFO: TCP Data received {"connection_id":132991,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bfd5588012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bfd5588012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:33:51] local.INFO: Processing buffer {"connection_id":132991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bfd5588012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:33:51] local.INFO: Packet analysis {"connection_id":132991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:33:51] local.INFO: Extracted packet for processing {"connection_id":132991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:33:51] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 20:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692339968001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783954757000,"timestamp_ms":1783954757000,"timestamp_seconds":1783954757,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bfd5588"} 
[2026-07-13 20:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":110,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-13 20:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1513,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692339968001,"66":25647,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692339968001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:33:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:33:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:33:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692339968001,"power":25647,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":132991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482058,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:33:51] local.INFO: GPS data processed {"connection_id":132991,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:33:51] local.INFO: Acknowledgment sent {"connection_id":132991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:33:52] local.INFO: TCP Data received {"connection_id":130631,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:33:52] local.INFO: Processing buffer {"connection_id":130631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:33:52] local.INFO: IMEI packet received {"connection_id":130631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":130631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:33:55] local.INFO: TCP Data received {"connection_id":132991,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bfd5588012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bfd5588012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:33:55] local.INFO: Processing buffer {"connection_id":132991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bfd5588012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:33:55] local.INFO: Packet analysis {"connection_id":132991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:33:55] local.INFO: Extracted packet for processing {"connection_id":132991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:33:55] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 20:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692339968001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783954757000,"timestamp_ms":1783954757000,"timestamp_seconds":1783954757,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bfd5588"} 
[2026-07-13 20:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-13 20:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1513,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":132991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":132991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":132991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692339968001,"66":25647,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692339968001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:33:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:33:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:33:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692339968001,"power":25647,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":132991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482059,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:33:55] local.INFO: GPS data processed {"connection_id":132991,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:33:55] local.INFO: Acknowledgment sent {"connection_id":132991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:33:56] local.INFO: TCP Data received {"connection_id":130631,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:33:56] local.INFO: Processing buffer {"connection_id":130631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:33:56] local.INFO: IMEI packet received {"connection_id":130631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":130631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:33:57] local.INFO: TCP Data received {"connection_id":130631,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0010c0012d18a80007228310006a00bf28..."} 
[2026-07-13 20:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0010c0012d18a80007228310006a00bf28..."} 
[2026-07-13 20:33:57] local.INFO: Processing buffer {"connection_id":130631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0010c0012d18a80007228310006a00bf28..."} 
[2026-07-13 20:33:57] local.INFO: Packet analysis {"connection_id":130631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c00"} 
[2026-07-13 20:33:57] local.INFO: Extracted packet for processing {"connection_id":130631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c00"} 
[2026-07-13 20:33:57] local.INFO: GPS Element Parsed {"raw_longitude":756590592,"raw_latitude":119702288,"longitude_deg":75.6590592,"latitude_deg":11.9702288,"altitude":106,"angle":191,"satellites":40,"speed":31,"hex_longitude":"2d18a800","hex_latitude":"07228310","is_valid_coordinates":true} 
[2026-07-13 20:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692461824001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5982322507644928,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777092296107876352,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783954936000,"timestamp_ms":1783954936000,"timestamp_seconds":1783954936,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0010c0"} 
[2026-07-13 20:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-13 20:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:33:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":130631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":130631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":130631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692461824001,"66":12558,"105":206,"83":41984,"24":31,"16":5982322507644928,"45":1777092296107876352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-13 20:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692461824001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:33:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-13 20:33:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5982322507644928,"km_value":5982322507644.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777092296107876352,"description":"Unknown IO ID 45"} 
[2026-07-13 20:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692461824001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1777092296107876352}} 
[2026-07-13 20:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":130631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:33:57] local.INFO: GPS data processed {"connection_id":130631,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:33:57] local.INFO: Acknowledgment sent {"connection_id":130631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:33:58] local.INFO: TCP Data received {"connection_id":130631,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c002060012d18a3c007227610006800ca27..."} 
[2026-07-13 20:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c002060012d18a3c007227610006800ca27..."} 
[2026-07-13 20:33:58] local.INFO: Processing buffer {"connection_id":130631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c002060012d18a3c007227610006800ca27..."} 
[2026-07-13 20:33:58] local.INFO: Packet analysis {"connection_id":130631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c00"} 
[2026-07-13 20:33:58] local.INFO: Extracted packet for processing {"connection_id":130631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c00"} 
[2026-07-13 20:33:58] local.INFO: GPS Element Parsed {"raw_longitude":756589504,"raw_latitude":119698960,"longitude_deg":75.6589504,"latitude_deg":11.969896,"altitude":104,"angle":202,"satellites":39,"speed":39,"hex_longitude":"2d18a3c0","hex_latitude":"07227610","is_valid_coordinates":true} 
[2026-07-13 20:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692463616001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5982494306336768,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776670083641446400,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33: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-07-13 20:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783954940000,"timestamp_ms":1783954940000,"timestamp_seconds":1783954940,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c002060"} 
[2026-07-13 20:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-13 20:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249556038476824352,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:58] local.WARNING: Large IO value detected {"io_id":91,"raw_value":4289665025,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:58] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3407347816,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-13 20:33:58] local.WARNING: Large IO value detected {"io_id":155,"raw_value":2415996184,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:58] local.WARNING: Large IO value detected {"io_id":28,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:58] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5692323070316898304,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:58] local.WARNING: Large IO value detected {"io_id":54,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:58] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729339748354,"note":"Value kept but may cause issues"} 
[2026-07-13 20:33:58] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,105,83,24,241,157,16,64,159,245,45,128,151,107,37,10,66,194,188,182,1,240,123,227,91,34,4,113,205,32,155,173,216,39,239,52,2,21,7,97,28,106,54,206],"length":575,"final_offset":705,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-13 20:33:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7638315146541989888,"timestamp_seconds":7638315146541990.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 20:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692463616001,"66":12798,"105":206,"83":41984,"24":39,"16":5982494306336768,"45":1776670083641446400},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-13 20:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692463616001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:33:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-13 20:33:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5982494306336768,"km_value":5982494306336.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776670083641446400,"description":"Unknown IO ID 45"} 
[2026-07-13 20:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692463616001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1776670083641446400}} 
[2026-07-13 20:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":130631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:33:58] local.INFO: GPS data processed {"connection_id":130631,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:33:58] local.INFO: Acknowledgment sent {"connection_id":130631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:34:11] local.INFO: TCP Data received {"connection_id":130630,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bfd78b0012d7f914005afd938001b011b23..."} 
[2026-07-13 20:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bfd78b0012d7f914005afd938001b011b23..."} 
[2026-07-13 20:34:11] local.INFO: Processing buffer {"connection_id":130630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bfd78b0012d7f914005afd938001b011b23..."} 
[2026-07-13 20:34:11] local.INFO: Packet analysis {"connection_id":130630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:34:11] local.INFO: Extracted packet for processing {"connection_id":130630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:34:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692343040001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783954766000,"timestamp_ms":1783954766000,"timestamp_seconds":1783954766,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bfd78b0"} 
[2026-07-13 20:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 20:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692343040001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692343040001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:34:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:34:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692343040001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":130630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:34:11] local.INFO: GPS data processed {"connection_id":130630,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:34:11] local.INFO: Acknowledgment sent {"connection_id":130630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:34:33] local.INFO: TCP Data received {"connection_id":130631,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c011e48012d1823000721a420004b008626..."} 
[2026-07-13 20:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c011e48012d1823000721a420004b008626..."} 
[2026-07-13 20:34:33] local.INFO: Processing buffer {"connection_id":130631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c011e48012d1823000721a420004b008626..."} 
[2026-07-13 20:34:33] local.INFO: Packet analysis {"connection_id":130631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c01"} 
[2026-07-13 20:34:33] local.INFO: Extracted packet for processing {"connection_id":130631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c01"} 
[2026-07-13 20:34:33] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119645216,"longitude_deg":75.6556544,"latitude_deg":11.9645216,"altitude":75,"angle":134,"satellites":38,"speed":11,"hex_longitude":"2d182300","hex_latitude":"0721a420","is_valid_coordinates":true} 
[2026-07-13 20:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692480512001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5985590977757184,"note":"Value kept but may cause issues"} 
[2026-07-13 20:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593026836480,"note":"Value kept but may cause issues"} 
[2026-07-13 20:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783955005000,"timestamp_ms":1783955005000,"timestamp_seconds":1783955005,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c011e48"} 
[2026-07-13 20:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-13 20:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":130631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":130631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":130631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692480512001,"66":13493,"105":206,"83":41984,"24":11,"16":5985590977757184,"45":1738600593026836480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-13 20:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692480512001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:34:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-13 20:34:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5985590977757184,"km_value":5985590977757.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593026836480,"description":"Unknown IO ID 45"} 
[2026-07-13 20:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692480512001,"power":13493,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1738600593026836480}} 
[2026-07-13 20:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":130631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:34:33] local.INFO: GPS data processed {"connection_id":130631,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:34:33] local.INFO: Acknowledgment sent {"connection_id":130631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:34:33] local.INFO: TCP Data received {"connection_id":130844,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:34:33] local.INFO: Processing buffer {"connection_id":130844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:34:33] local.INFO: IMEI packet received {"connection_id":130844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":130844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:34:39] local.INFO: TCP Data received {"connection_id":130844,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:34:39] local.INFO: Processing buffer {"connection_id":130844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:34:39] local.INFO: IMEI packet received {"connection_id":130844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":130844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:34:39] local.INFO: TCP Data received {"connection_id":130844,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bfd78b0012d7f914005afd938001b011b23..."} 
[2026-07-13 20:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bfd78b0012d7f914005afd938001b011b23..."} 
[2026-07-13 20:34:39] local.INFO: Processing buffer {"connection_id":130844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bfd78b0012d7f914005afd938001b011b23..."} 
[2026-07-13 20:34:39] local.INFO: Packet analysis {"connection_id":130844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:34:39] local.INFO: Extracted packet for processing {"connection_id":130844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:34:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 20:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692343040001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783954766000,"timestamp_ms":1783954766000,"timestamp_seconds":1783954766,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bfd78b0"} 
[2026-07-13 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-07-13 20:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 20:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 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-07-13 20:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692343040001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692343040001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:34:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:34:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692343040001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":130844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:34:39] local.INFO: GPS data processed {"connection_id":130844,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:34:39] local.INFO: Acknowledgment sent {"connection_id":130844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:34:40] local.INFO: TCP Data received {"connection_id":131663,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131663,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:34:40] local.INFO: Processing buffer {"connection_id":131663,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:34:40] local.INFO: IMEI packet received {"connection_id":131663,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":131663,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:34:44] local.INFO: TCP Data received {"connection_id":131663,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131663,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:34:44] local.INFO: Processing buffer {"connection_id":131663,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:34:44] local.INFO: IMEI packet received {"connection_id":131663,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":131663,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:34:46] local.INFO: TCP Data received {"connection_id":131663,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5bfd5588012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5bfd5588012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:34:46] local.INFO: Processing buffer {"connection_id":131663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5bfd5588012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:34:46] local.INFO: Packet analysis {"connection_id":131663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:34:46] local.INFO: Extracted packet for processing {"connection_id":131663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5bfd"} 
[2026-07-13 20:34:46] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 20:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692339968001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:34:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783954757000,"timestamp_ms":1783954757000,"timestamp_seconds":1783954757,"priority":1,"record_length":96,"hex_timestamp":"0000019f5bfd5588"} 
[2026-07-13 20:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":110,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-13 20:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1513,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131663,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131663,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692339968001,"66":25647,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692339968001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:34:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:34:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:34:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692339968001,"power":25647,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":131663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482065,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:34:46] local.INFO: GPS data processed {"connection_id":131663,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:34:46] local.INFO: Acknowledgment sent {"connection_id":131663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:34:53] local.INFO: TCP Data received {"connection_id":130845,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:34:53] local.INFO: Processing buffer {"connection_id":130845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:34:53] local.INFO: IMEI packet received {"connection_id":130845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":130845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:34:53] local.INFO: TCP Data received {"connection_id":130845,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:34:53] local.INFO: Processing buffer {"connection_id":130845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:34:53] local.INFO: IMEI packet received {"connection_id":130845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":130845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:34:54] local.INFO: TCP Data received {"connection_id":130845,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:34:54] local.INFO: Processing buffer {"connection_id":130845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:34:54] local.INFO: IMEI packet received {"connection_id":130845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":130845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:34:57] local.INFO: TCP Data received {"connection_id":130845,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:34:57] local.INFO: Processing buffer {"connection_id":130845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:34:57] local.INFO: IMEI packet received {"connection_id":130845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":130845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:34:58] local.INFO: TCP Data received {"connection_id":130845,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c014940012d182ec007219a28004e007821..."} 
[2026-07-13 20:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c014940012d182ec007219a28004e007821..."} 
[2026-07-13 20:34:58] local.INFO: Processing buffer {"connection_id":130845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c014940012d182ec007219a28004e007821..."} 
[2026-07-13 20:34:58] local.INFO: Packet analysis {"connection_id":130845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c01"} 
[2026-07-13 20:34:58] local.INFO: Extracted packet for processing {"connection_id":130845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c01"} 
[2026-07-13 20:34:58] local.INFO: GPS Element Parsed {"raw_longitude":756559552,"raw_latitude":119642664,"longitude_deg":75.6559552,"latitude_deg":11.9642664,"altitude":78,"angle":120,"satellites":33,"speed":20,"hex_longitude":"2d182ec0","hex_latitude":"07219a28","is_valid_coordinates":true} 
[2026-07-13 20:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692481280001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5985779956318208,"note":"Value kept but may cause issues"} 
[2026-07-13 20:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911724318720,"note":"Value kept but may cause issues"} 
[2026-07-13 20:34: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-07-13 20:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783955016000,"timestamp_ms":1783955016000,"timestamp_seconds":1783955016,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c014940"} 
[2026-07-13 20:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-13 20:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692481280001,"66":13493,"105":206,"83":41984,"24":20,"16":5985779956318208,"45":1739233911724318720},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-13 20:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692481280001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:34:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-13 20:34:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5985779956318208,"km_value":5985779956318.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911724318720,"description":"Unknown IO ID 45"} 
[2026-07-13 20:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692481280001,"power":13493,"unknown_105":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1739233911724318720}} 
[2026-07-13 20:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":130845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:34:59] local.INFO: GPS data processed {"connection_id":130845,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:34:59] local.INFO: Acknowledgment sent {"connection_id":130845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:35:03] local.INFO: TCP Data received {"connection_id":130845,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c017c08012d18510007218b80004e007122..."} 
[2026-07-13 20:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c017c08012d18510007218b80004e007122..."} 
[2026-07-13 20:35:03] local.INFO: Processing buffer {"connection_id":130845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c017c08012d18510007218b80004e007122..."} 
[2026-07-13 20:35:03] local.INFO: Packet analysis {"connection_id":130845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c01"} 
[2026-07-13 20:35:03] local.INFO: Extracted packet for processing {"connection_id":130845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c01"} 
[2026-07-13 20:35:03] local.INFO: GPS Element Parsed {"raw_longitude":756568320,"raw_latitude":119638912,"longitude_deg":75.656832,"latitude_deg":11.9638912,"altitude":78,"angle":113,"satellites":34,"speed":38,"hex_longitude":"2d185100","hex_latitude":"07218b80","is_valid_coordinates":true} 
[2026-07-13 20:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692484096001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5986235222851584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742541242700015616,"note":"Value kept but may cause issues"} 
[2026-07-13 20:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783955029000,"timestamp_ms":1783955029000,"timestamp_seconds":1783955029,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c017c08"} 
[2026-07-13 20:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-13 20:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":130845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":130845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":130845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692484096001,"66":12461,"106":206,"83":41984,"24":38,"16":5986235222851584,"45":1742541242700015616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-13 20:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692484096001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:35:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-13 20:35:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5986235222851584,"km_value":5986235222851.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742541242700015616,"description":"Unknown IO ID 45"} 
[2026-07-13 20:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692484096001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1742541242700015616}} 
[2026-07-13 20:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":130845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:35:03] local.INFO: GPS data processed {"connection_id":130845,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:35:03] local.INFO: Acknowledgment sent {"connection_id":130845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:35:11] local.INFO: TCP Data received {"connection_id":130844,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:35:11] local.INFO: Processing buffer {"connection_id":130844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:35:11] local.INFO: Packet analysis {"connection_id":130844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:35:11] local.INFO: Extracted packet for processing {"connection_id":130844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:35:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692420096001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783955067000,"timestamp_ms":1783955067000,"timestamp_seconds":1783955067,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c021078"} 
[2026-07-13 20:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692420096001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692420096001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:35:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:35:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692420096001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":130844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:35:11] local.INFO: GPS data processed {"connection_id":130844,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:35:11] local.INFO: Acknowledgment sent {"connection_id":130844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:35:17] local.INFO: TCP Data received {"connection_id":131663,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c01ed50012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c01ed50012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:35:17] local.INFO: Processing buffer {"connection_id":131663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c01ed50012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:35:17] local.INFO: Packet analysis {"connection_id":131663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c01"} 
[2026-07-13 20:35:17] local.INFO: Extracted packet for processing {"connection_id":131663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c01"} 
[2026-07-13 20:35:17] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 20:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692417792001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:35:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946618368,"note":"Value kept but may cause issues"} 
[2026-07-13 20:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783955058000,"timestamp_ms":1783955058000,"timestamp_seconds":1783955058,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c01ed50"} 
[2026-07-13 20:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:35: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-07-13 20:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-13 20:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131663,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131663,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692417792001,"66":25495,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575315568946618368},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692417792001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:35:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:35:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:35:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946618368,"description":"Unknown IO ID 44"} 
[2026-07-13 20:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692417792001,"power":25495,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575315568946618368}} 
[2026-07-13 20:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":131663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482069,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:35:17] local.INFO: GPS data processed {"connection_id":131663,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:35:17] local.INFO: Acknowledgment sent {"connection_id":131663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:35:34] local.INFO: TCP Data received {"connection_id":130845,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c023b70012d18d38007212228004000b022..."} 
[2026-07-13 20:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c023b70012d18d38007212228004000b022..."} 
[2026-07-13 20:35:34] local.INFO: Processing buffer {"connection_id":130845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c023b70012d18d38007212228004000b022..."} 
[2026-07-13 20:35:34] local.INFO: Packet analysis {"connection_id":130845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:35:34] local.INFO: Extracted packet for processing {"connection_id":130845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:35:34] local.INFO: GPS Element Parsed {"raw_longitude":756601728,"raw_latitude":119611944,"longitude_deg":75.6601728,"latitude_deg":11.9611944,"altitude":64,"angle":176,"satellites":34,"speed":34,"hex_longitude":"2d18d380","hex_latitude":"07212228","is_valid_coordinates":true} 
[2026-07-13 20:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692499456001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5988545915256832,"note":"Value kept but may cause issues"} 
[2026-07-13 20:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138873151488,"note":"Value kept but may cause issues"} 
[2026-07-13 20:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783955078000,"timestamp_ms":1783955078000,"timestamp_seconds":1783955078,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c023b70"} 
[2026-07-13 20:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-13 20:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":130845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":130845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":130845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692499456001,"66":12885,"103":206,"83":41984,"24":34,"16":5988545915256832,"45":1788703138873151488},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 20:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692499456001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:35:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 20:35:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5988545915256832,"km_value":5988545915256.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138873151488,"description":"Unknown IO ID 45"} 
[2026-07-13 20:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692499456001,"power":12885,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1788703138873151488}} 
[2026-07-13 20:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":130845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:35:34] local.INFO: GPS data processed {"connection_id":130845,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:35:34] local.INFO: Acknowledgment sent {"connection_id":130845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:35:39] local.INFO: TCP Data received {"connection_id":132992,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:35:39] local.INFO: Processing buffer {"connection_id":132992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:35:39] local.INFO: IMEI packet received {"connection_id":132992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":132992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:35:39] local.INFO: TCP Data received {"connection_id":131664,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131664,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:35:39] local.INFO: Processing buffer {"connection_id":131664,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:35:39] local.INFO: IMEI packet received {"connection_id":131664,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":131664,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:35:44] local.INFO: TCP Data received {"connection_id":132992,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:35:44] local.INFO: Processing buffer {"connection_id":132992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:35:44] local.INFO: IMEI packet received {"connection_id":132992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":132992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:35:44] local.INFO: TCP Data received {"connection_id":131664,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131664,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:35:44] local.INFO: Processing buffer {"connection_id":131664,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:35:44] local.INFO: IMEI packet received {"connection_id":131664,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":131664,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:35:45] local.INFO: TCP Data received {"connection_id":132992,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:35:45] local.INFO: Processing buffer {"connection_id":132992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:35:45] local.INFO: Packet analysis {"connection_id":132992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:35:45] local.INFO: Extracted packet for processing {"connection_id":132992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:35:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692420096001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783955067000,"timestamp_ms":1783955067000,"timestamp_seconds":1783955067,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c021078"} 
[2026-07-13 20:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:35:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692420096001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692420096001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:35:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:35:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692420096001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":132992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:35:45] local.INFO: GPS data processed {"connection_id":132992,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:35:45] local.INFO: Acknowledgment sent {"connection_id":132992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:35:46] local.INFO: TCP Data received {"connection_id":131664,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c01ed50012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c01ed50012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:35:46] local.INFO: Processing buffer {"connection_id":131664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c01ed50012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:35:46] local.INFO: Packet analysis {"connection_id":131664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c01"} 
[2026-07-13 20:35:46] local.INFO: Extracted packet for processing {"connection_id":131664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c01"} 
[2026-07-13 20:35:46] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 20:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692417792001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:35:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946618368,"note":"Value kept but may cause issues"} 
[2026-07-13 20:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783955058000,"timestamp_ms":1783955058000,"timestamp_seconds":1783955058,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c01ed50"} 
[2026-07-13 20:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-13 20:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131664,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131664,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692417792001,"66":25495,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575315568946618368},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692417792001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:35:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:35:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:35:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946618368,"description":"Unknown IO ID 44"} 
[2026-07-13 20:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692417792001,"power":25495,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575315568946618368}} 
[2026-07-13 20:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":131664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482072,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:35:46] local.INFO: GPS data processed {"connection_id":131664,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:35:46] local.INFO: Acknowledgment sent {"connection_id":131664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:35:51] local.INFO: TCP Data received {"connection_id":130846,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:35:51] local.INFO: Processing buffer {"connection_id":130846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:35:51] local.INFO: IMEI packet received {"connection_id":130846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":130846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:35:52] local.INFO: TCP Data received {"connection_id":130846,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:35:52] local.INFO: Processing buffer {"connection_id":130846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:35:52] local.INFO: IMEI packet received {"connection_id":130846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":130846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:35:56] local.INFO: TCP Data received {"connection_id":130846,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:35:56] local.INFO: Processing buffer {"connection_id":130846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:35:56] local.INFO: IMEI packet received {"connection_id":130846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":130846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:35:57] local.INFO: TCP Data received {"connection_id":130846,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c026280012d18d64007210660003d00a225..."} 
[2026-07-13 20:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c026280012d18d64007210660003d00a225..."} 
[2026-07-13 20:35:57] local.INFO: Processing buffer {"connection_id":130846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c026280012d18d64007210660003d00a225..."} 
[2026-07-13 20:35:57] local.INFO: Packet analysis {"connection_id":130846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:35:57] local.INFO: Extracted packet for processing {"connection_id":130846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:35:57] local.INFO: GPS Element Parsed {"raw_longitude":756602432,"raw_latitude":119604832,"longitude_deg":75.6602432,"latitude_deg":11.9604832,"altitude":61,"angle":162,"satellites":37,"speed":34,"hex_longitude":"2d18d640","hex_latitude":"07210660","is_valid_coordinates":true} 
[2026-07-13 20:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692499968001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5988893807607808,"note":"Value kept but may cause issues"} 
[2026-07-13 20:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788914245105231872,"note":"Value kept but may cause issues"} 
[2026-07-13 20:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783955088000,"timestamp_ms":1783955088000,"timestamp_seconds":1783955088,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c026280"} 
[2026-07-13 20:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-13 20:35:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:35:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":130846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":130846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":130846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:35:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692499968001,"66":13537,"103":206,"83":41984,"24":34,"16":5988893807607808,"45":1788914245105231872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 20:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692499968001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:35:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 20:35:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5988893807607808,"km_value":5988893807607.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788914245105231872,"description":"Unknown IO ID 45"} 
[2026-07-13 20:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692499968001,"power":13537,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1788914245105231872}} 
[2026-07-13 20:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":130846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:35:57] local.INFO: GPS data processed {"connection_id":130846,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:35:57] local.INFO: Acknowledgment sent {"connection_id":130846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:36:16] local.INFO: TCP Data received {"connection_id":132992,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:36:16] local.INFO: Processing buffer {"connection_id":132992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:36:16] local.INFO: Packet analysis {"connection_id":132992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:36:16] local.INFO: Extracted packet for processing {"connection_id":132992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:36:16] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692420096001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783955067000,"timestamp_ms":1783955067000,"timestamp_seconds":1783955067,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c021078"} 
[2026-07-13 20:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":132992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":132992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":132992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692420096001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692420096001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:36:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:36:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692420096001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":132992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:36:16] local.INFO: GPS data processed {"connection_id":132992,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:36:16] local.INFO: Acknowledgment sent {"connection_id":132992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:36:17] local.INFO: TCP Data received {"connection_id":131664,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c01ed50012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c01ed50012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:36:17] local.INFO: Processing buffer {"connection_id":131664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c01ed50012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:36:17] local.INFO: Packet analysis {"connection_id":131664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c01"} 
[2026-07-13 20:36:17] local.INFO: Extracted packet for processing {"connection_id":131664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c01"} 
[2026-07-13 20:36:17] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 20:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692417792001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:36:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946618368,"note":"Value kept but may cause issues"} 
[2026-07-13 20:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783955058000,"timestamp_ms":1783955058000,"timestamp_seconds":1783955058,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c01ed50"} 
[2026-07-13 20:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:36: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-07-13 20: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-13 20:36:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:36:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131664,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131664,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692417792001,"66":25495,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575315568946618368},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692417792001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:36:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:36:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:36:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946618368,"description":"Unknown IO ID 44"} 
[2026-07-13 20:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692417792001,"power":25495,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575315568946618368}} 
[2026-07-13 20:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":131664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482075,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:36:17] local.INFO: GPS data processed {"connection_id":131664,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:36:17] local.INFO: Acknowledgment sent {"connection_id":131664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:36:29] local.INFO: TCP Data received {"connection_id":130846,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c026e38012d18db000720fc98003c009026..."} 
[2026-07-13 20:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c026e38012d18db000720fc98003c009026..."} 
[2026-07-13 20:36:29] local.INFO: Processing buffer {"connection_id":130846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c026e38012d18db000720fc98003c009026..."} 
[2026-07-13 20:36:29] local.INFO: Packet analysis {"connection_id":130846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:36:29] local.INFO: Extracted packet for processing {"connection_id":130846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:36:29] local.INFO: GPS Element Parsed {"raw_longitude":756603648,"raw_latitude":119602328,"longitude_deg":75.6603648,"latitude_deg":11.9602328,"altitude":60,"angle":144,"satellites":38,"speed":37,"hex_longitude":"2d18db00","hex_latitude":"0720fc98","is_valid_coordinates":true} 
[2026-07-13 20:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692502528001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5989031246561280,"note":"Value kept but may cause issues"} 
[2026-07-13 20:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789688301289365504,"note":"Value kept but may cause issues"} 
[2026-07-13 20:36: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-07-13 20:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783955091000,"timestamp_ms":1783955091000,"timestamp_seconds":1783955091,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c026e38"} 
[2026-07-13 20:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-07-13 20:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692502528001,"66":13461,"103":206,"83":41984,"24":37,"16":5989031246561280,"45":1789688301289365504},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 20:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692502528001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:36:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 20:36:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5989031246561280,"km_value":5989031246561.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789688301289365504,"description":"Unknown IO ID 45"} 
[2026-07-13 20:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692502528001,"power":13461,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1789688301289365504}} 
[2026-07-13 20:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":130846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:36:29] local.INFO: GPS data processed {"connection_id":130846,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:36:29] local.INFO: Acknowledgment sent {"connection_id":130846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:36:33] local.INFO: TCP Data received {"connection_id":131665,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:36:33] local.INFO: Processing buffer {"connection_id":131665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:36:33] local.INFO: IMEI packet received {"connection_id":131665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":131665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:36:42] local.INFO: TCP Data received {"connection_id":131665,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:36:42] local.INFO: Processing buffer {"connection_id":131665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:36:42] local.INFO: IMEI packet received {"connection_id":131665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":131665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:36:42] local.INFO: TCP Data received {"connection_id":131665,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:36:42] local.INFO: Processing buffer {"connection_id":131665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:36:42] local.INFO: Packet analysis {"connection_id":131665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:36:42] local.INFO: Extracted packet for processing {"connection_id":131665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:36:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692420096001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783955067000,"timestamp_ms":1783955067000,"timestamp_seconds":1783955067,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c021078"} 
[2026-07-13 20:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":131665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":131665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":131665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692420096001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692420096001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:36:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:36:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692420096001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":131665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:36:42] local.INFO: GPS data processed {"connection_id":131665,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:36:42] local.INFO: Acknowledgment sent {"connection_id":131665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:36:44] local.INFO: TCP Data received {"connection_id":130632,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130632,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:36:44] local.INFO: Processing buffer {"connection_id":130632,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:36:44] local.INFO: IMEI packet received {"connection_id":130632,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":130632,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:36:45] local.INFO: TCP Data received {"connection_id":131665,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:36:45] local.INFO: Processing buffer {"connection_id":131665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:36:45] local.INFO: Packet analysis {"connection_id":131665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:36:45] local.INFO: Extracted packet for processing {"connection_id":131665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:36:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692420096001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783955067000,"timestamp_ms":1783955067000,"timestamp_seconds":1783955067,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c021078"} 
[2026-07-13 20:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692420096001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692420096001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:36:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:36:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692420096001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":131665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:36:45] local.INFO: GPS data processed {"connection_id":131665,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:36:45] local.INFO: Acknowledgment sent {"connection_id":131665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:36:49] local.INFO: TCP Data received {"connection_id":130632,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130632,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:36:49] local.INFO: Processing buffer {"connection_id":130632,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:36:49] local.INFO: IMEI packet received {"connection_id":130632,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":130632,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:36:51] local.INFO: TCP Data received {"connection_id":130632,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c01ed50012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c01ed50012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:36:51] local.INFO: Processing buffer {"connection_id":130632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c01ed50012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:36:51] local.INFO: Packet analysis {"connection_id":130632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c01"} 
[2026-07-13 20:36:51] local.INFO: Extracted packet for processing {"connection_id":130632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c01"} 
[2026-07-13 20:36:51] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 20:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692417792001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:36:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946618368,"note":"Value kept but may cause issues"} 
[2026-07-13 20:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783955058000,"timestamp_ms":1783955058000,"timestamp_seconds":1783955058,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c01ed50"} 
[2026-07-13 20:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-13 20:36: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-07-13 20:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130632,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130632,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692417792001,"66":25495,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575315568946618368},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692417792001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:36:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:36:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:36:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946618368,"description":"Unknown IO ID 44"} 
[2026-07-13 20:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692417792001,"power":25495,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575315568946618368}} 
[2026-07-13 20:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":130632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482079,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:36:51] local.INFO: GPS data processed {"connection_id":130632,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:36:51] local.INFO: Acknowledgment sent {"connection_id":130632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:36:52] local.INFO: TCP Data received {"connection_id":130633,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:36:52] local.INFO: Processing buffer {"connection_id":130633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:36:52] local.INFO: IMEI packet received {"connection_id":130633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":130633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:36:53] local.INFO: TCP Data received {"connection_id":130633,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:36:53] local.INFO: Processing buffer {"connection_id":130633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:36:53] local.INFO: IMEI packet received {"connection_id":130633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":130633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:36:55] local.INFO: TCP Data received {"connection_id":130632,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c01ed50012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c01ed50012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:36:55] local.INFO: Processing buffer {"connection_id":130632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c01ed50012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:36:55] local.INFO: Packet analysis {"connection_id":130632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c01"} 
[2026-07-13 20:36:55] local.INFO: Extracted packet for processing {"connection_id":130632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c01"} 
[2026-07-13 20:36:55] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 20:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692417792001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:36:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946618368,"note":"Value kept but may cause issues"} 
[2026-07-13 20:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783955058000,"timestamp_ms":1783955058000,"timestamp_seconds":1783955058,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c01ed50"} 
[2026-07-13 20:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-13 20:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130632,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130632,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692417792001,"66":25495,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575315568946618368},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692417792001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:36:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:36:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:36:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946618368,"description":"Unknown IO ID 44"} 
[2026-07-13 20:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692417792001,"power":25495,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575315568946618368}} 
[2026-07-13 20:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":130632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482080,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:36:55] local.INFO: GPS data processed {"connection_id":130632,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:36:55] local.INFO: Acknowledgment sent {"connection_id":130632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:36:57] local.INFO: TCP Data received {"connection_id":130633,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:36:57] local.INFO: Processing buffer {"connection_id":130633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:36:57] local.INFO: IMEI packet received {"connection_id":130633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":130633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:36:58] local.INFO: TCP Data received {"connection_id":130633,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c029160012d18f1000720def00039009026..."} 
[2026-07-13 20:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c029160012d18f1000720def00039009026..."} 
[2026-07-13 20:36:58] local.INFO: Processing buffer {"connection_id":130633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c029160012d18f1000720def00039009026..."} 
[2026-07-13 20:36:58] local.INFO: Packet analysis {"connection_id":130633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:36:58] local.INFO: Extracted packet for processing {"connection_id":130633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:36:58] local.INFO: GPS Element Parsed {"raw_longitude":756609280,"raw_latitude":119594736,"longitude_deg":75.660928,"latitude_deg":11.9594736,"altitude":57,"angle":144,"satellites":38,"speed":42,"hex_longitude":"2d18f100","hex_latitude":"0720def0","is_valid_coordinates":true} 
[2026-07-13 20:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692503296001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5989490808061952,"note":"Value kept but may cause issues"} 
[2026-07-13 20:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791025307428100096,"note":"Value kept but may cause issues"} 
[2026-07-13 20:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783955100000,"timestamp_ms":1783955100000,"timestamp_seconds":1783955100,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c029160"} 
[2026-07-13 20:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-07-13 20:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692503296001,"66":13330,"103":206,"83":41984,"24":42,"16":5989490808061952,"45":1791025307428100096},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 20:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692503296001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:36:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 20:36:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5989490808061952,"km_value":5989490808061.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791025307428100096,"description":"Unknown IO ID 45"} 
[2026-07-13 20:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692503296001,"power":13330,"unknown_103":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1791025307428100096}} 
[2026-07-13 20:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":130633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:36:58] local.INFO: GPS data processed {"connection_id":130633,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:36:58] local.INFO: Acknowledgment sent {"connection_id":130633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:37:16] local.INFO: TCP Data received {"connection_id":131665,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:37:16] local.INFO: Processing buffer {"connection_id":131665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:37:16] local.INFO: Packet analysis {"connection_id":131665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:37:16] local.INFO: Extracted packet for processing {"connection_id":131665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:37:16] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20: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-07-13 20:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692420096001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783955067000,"timestamp_ms":1783955067000,"timestamp_seconds":1783955067,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c021078"} 
[2026-07-13 20:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20: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-07-13 20:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":131665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":131665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":131665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692420096001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692420096001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:37:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:37:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692420096001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":131665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:37:16] local.INFO: GPS data processed {"connection_id":131665,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:37:16] local.INFO: Acknowledgment sent {"connection_id":131665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:37:29] local.INFO: TCP Data received {"connection_id":130633,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c029d18012d18f9400720d5c80037008523..."} 
[2026-07-13 20:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c029d18012d18f9400720d5c80037008523..."} 
[2026-07-13 20:37:29] local.INFO: Processing buffer {"connection_id":130633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c029d18012d18f9400720d5c80037008523..."} 
[2026-07-13 20:37:29] local.INFO: Packet analysis {"connection_id":130633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:37:29] local.INFO: Extracted packet for processing {"connection_id":130633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:37:29] local.INFO: GPS Element Parsed {"raw_longitude":756611392,"raw_latitude":119592392,"longitude_deg":75.6611392,"latitude_deg":11.9592392,"altitude":55,"angle":133,"satellites":35,"speed":41,"hex_longitude":"2d18f940","hex_latitude":"0720d5c8","is_valid_coordinates":true} 
[2026-07-13 20: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-07-13 20:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692505600001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5989641131917312,"note":"Value kept but may cause issues"} 
[2026-07-13 20:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797217756913790976,"note":"Value kept but may cause issues"} 
[2026-07-13 20:37: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-07-13 20:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783955103000,"timestamp_ms":1783955103000,"timestamp_seconds":1783955103,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c029d18"} 
[2026-07-13 20:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:37:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-13 20:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-13 20:37:29] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-13 20:37:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-13 20:37:29] local.WARNING: Large IO value detected {"io_id":70,"raw_value":2365587456,"note":"Value kept but may cause issues"} 
[2026-07-13 20:37:29] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249563185302295192,"note":"Value kept but may cause issues"} 
[2026-07-13 20:37:29] local.WARNING: Large IO value detected {"io_id":33,"raw_value":5404319840618750976,"note":"Value kept but may cause issues"} 
[2026-07-13 20:37:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-13 20:37:29] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":467253,"corrected_to":0} 
[2026-07-13 20:37:29] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3892366712,"note":"Value kept but may cause issues"} 
[2026-07-13 20:37:29] local.WARNING: Large IO value detected {"io_id":2,"raw_value":905224818302271495,"note":"Value kept but may cause issues"} 
[2026-07-13 20:37:29] local.WARNING: Large IO value detected {"io_id":123,"raw_value":57834754016170916,"note":"Value kept but may cause issues"} 
[2026-07-13 20:37:29] local.WARNING: Large IO value detected {"io_id":39,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-13 20:37:29] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-07-13 20:37:29] local.WARNING: Large IO value detected {"io_id":55,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-13 20:37:29] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,103,83,24,241,157,16,71,159,110,45,252,60,38,10,66,70,98,64,6,61,37,59,128,1,240,85,227,92,33,4,113,205,35,36,204,239,49,2,21,7,123,39,120,55],"length":626,"final_offset":756,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0},{"io_id":204,"original":467253,"validated":0}]} 
[2026-07-13 20:37:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107441353047801856,"timestamp_seconds":4107441353047802.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-13 20:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:37:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692505600001,"66":12819,"103":206,"83":41984,"24":41,"16":5989641131917312,"45":1797217756913790976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 20:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692505600001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:37:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 20:37:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5989641131917312,"km_value":5989641131917.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797217756913790976,"description":"Unknown IO ID 45"} 
[2026-07-13 20:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692505600001,"power":12819,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1797217756913790976}} 
[2026-07-13 20:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":130633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:37:29] local.INFO: GPS data processed {"connection_id":130633,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:37:29] local.INFO: Acknowledgment sent {"connection_id":130633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:37:33] local.INFO: TCP Data received {"connection_id":130847,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:37:33] local.INFO: Processing buffer {"connection_id":130847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:37:33] local.INFO: IMEI packet received {"connection_id":130847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":130847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:37:39] local.INFO: TCP Data received {"connection_id":130847,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:37:39] local.INFO: Processing buffer {"connection_id":130847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:37:39] local.INFO: IMEI packet received {"connection_id":130847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":130847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:37:39] local.INFO: TCP Data received {"connection_id":132993,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132993,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:37:39] local.INFO: Processing buffer {"connection_id":132993,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:37:39] local.INFO: IMEI packet received {"connection_id":132993,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":132993,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:37:39] local.INFO: TCP Data received {"connection_id":130847,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:37:39] local.INFO: Processing buffer {"connection_id":130847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:37:39] local.INFO: Packet analysis {"connection_id":130847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:37:39] local.INFO: Extracted packet for processing {"connection_id":130847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:37:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 20:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692420096001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783955067000,"timestamp_ms":1783955067000,"timestamp_seconds":1783955067,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c021078"} 
[2026-07-13 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-07-13 20:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 20:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692420096001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692420096001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:37:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:37:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692420096001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":130847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:37:39] local.INFO: GPS data processed {"connection_id":130847,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:37:39] local.INFO: Acknowledgment sent {"connection_id":130847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:37:44] local.INFO: TCP Data received {"connection_id":132993,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132993,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:37:44] local.INFO: Processing buffer {"connection_id":132993,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:37:44] local.INFO: IMEI packet received {"connection_id":132993,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":132993,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:37:46] local.INFO: TCP Data received {"connection_id":132993,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c01ed50012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c01ed50012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:37:46] local.INFO: Processing buffer {"connection_id":132993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c01ed50012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:37:46] local.INFO: Packet analysis {"connection_id":132993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c01"} 
[2026-07-13 20:37:46] local.INFO: Extracted packet for processing {"connection_id":132993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c01"} 
[2026-07-13 20:37:46] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 20:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692417792001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:37:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946618368,"note":"Value kept but may cause issues"} 
[2026-07-13 20:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783955058000,"timestamp_ms":1783955058000,"timestamp_seconds":1783955058,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c01ed50"} 
[2026-07-13 20:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-13 20:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132993,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132993,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692417792001,"66":25495,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575315568946618368},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692417792001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:37:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:37:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:37:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946618368,"description":"Unknown IO ID 44"} 
[2026-07-13 20:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692417792001,"power":25495,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575315568946618368}} 
[2026-07-13 20:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":132993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482085,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:37:46] local.INFO: GPS data processed {"connection_id":132993,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:37:46] local.INFO: Acknowledgment sent {"connection_id":132993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:37:52] local.INFO: TCP Data received {"connection_id":130848,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:37:52] local.INFO: Processing buffer {"connection_id":130848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:37:52] local.INFO: IMEI packet received {"connection_id":130848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":130848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:37:53] local.INFO: TCP Data received {"connection_id":130848,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:37:53] local.INFO: Processing buffer {"connection_id":130848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:37:53] local.INFO: IMEI packet received {"connection_id":130848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":130848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:37:56] local.INFO: TCP Data received {"connection_id":130848,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:37:56] local.INFO: Processing buffer {"connection_id":130848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:37:56] local.INFO: IMEI packet received {"connection_id":130848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":130848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:37:57] local.INFO: TCP Data received {"connection_id":130848,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:37:57] local.INFO: Processing buffer {"connection_id":130848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:37:57] local.INFO: IMEI packet received {"connection_id":130848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":130848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:37:58] local.INFO: TCP Data received {"connection_id":130848,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c043b28012d197d000720b2480028004c20..."} 
[2026-07-13 20:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c043b28012d197d000720b2480028004c20..."} 
[2026-07-13 20:37:58] local.INFO: Processing buffer {"connection_id":130848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c043b28012d197d000720b2480028004c20..."} 
[2026-07-13 20:37:58] local.INFO: Packet analysis {"connection_id":130848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c04"} 
[2026-07-13 20:37:58] local.INFO: Extracted packet for processing {"connection_id":130848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c04"} 
[2026-07-13 20:37:58] local.INFO: GPS Element Parsed {"raw_longitude":756645120,"raw_latitude":119583304,"longitude_deg":75.664512,"latitude_deg":11.9583304,"altitude":40,"angle":76,"satellites":32,"speed":8,"hex_longitude":"2d197d00","hex_latitude":"0720b248","is_valid_coordinates":true} 
[2026-07-13 20:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692533248001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5991393478574080,"note":"Value kept but may cause issues"} 
[2026-07-13 20:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836413147417810944,"note":"Value kept but may cause issues"} 
[2026-07-13 20:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783955209000,"timestamp_ms":1783955209000,"timestamp_seconds":1783955209,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c043b28"} 
[2026-07-13 20:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-07-13 20:37:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:37:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692533248001,"66":13396,"103":206,"83":41984,"24":8,"16":5991393478574080,"45":1836413147417810944},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 20:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692533248001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:37:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 20:37:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5991393478574080,"km_value":5991393478574.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836413147417810944,"description":"Unknown IO ID 45"} 
[2026-07-13 20:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692533248001,"power":13396,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1836413147417810944}} 
[2026-07-13 20:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":130848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:37:58] local.INFO: GPS data processed {"connection_id":130848,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:37:58] local.INFO: Acknowledgment sent {"connection_id":130848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:38:11] local.INFO: TCP Data received {"connection_id":130847,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:38:11] local.INFO: Processing buffer {"connection_id":130847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:38:11] local.INFO: Packet analysis {"connection_id":130847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:38:11] local.INFO: Extracted packet for processing {"connection_id":130847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:38:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692420096001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783955067000,"timestamp_ms":1783955067000,"timestamp_seconds":1783955067,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c021078"} 
[2026-07-13 20:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692420096001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692420096001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:38:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:38:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692420096001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":130847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:38:11] local.INFO: GPS data processed {"connection_id":130847,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:38:11] local.INFO: Acknowledgment sent {"connection_id":130847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:38:17] local.INFO: TCP Data received {"connection_id":132993,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c01ed50012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c01ed50012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:38:17] local.INFO: Processing buffer {"connection_id":132993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c01ed50012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:38:17] local.INFO: Packet analysis {"connection_id":132993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c01"} 
[2026-07-13 20:38:17] local.INFO: Extracted packet for processing {"connection_id":132993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c01"} 
[2026-07-13 20:38:17] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 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-07-13 20:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692417792001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:38:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946618368,"note":"Value kept but may cause issues"} 
[2026-07-13 20:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783955058000,"timestamp_ms":1783955058000,"timestamp_seconds":1783955058,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c01ed50"} 
[2026-07-13 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-07-13 20:38: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-07-13 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-13 20:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 20:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132993,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132993,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692417792001,"66":25495,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575315568946618368},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692417792001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:38:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:38:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:38:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946618368,"description":"Unknown IO ID 44"} 
[2026-07-13 20:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692417792001,"power":25495,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575315568946618368}} 
[2026-07-13 20:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":132993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482088,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:38:17] local.INFO: GPS data processed {"connection_id":132993,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:38:17] local.INFO: Acknowledgment sent {"connection_id":132993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:38:29] local.INFO: TCP Data received {"connection_id":130848,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c04eaf0012d19de000720b320002b005824..."} 
[2026-07-13 20:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c04eaf0012d19de000720b320002b005824..."} 
[2026-07-13 20:38:29] local.INFO: Processing buffer {"connection_id":130848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c04eaf0012d19de000720b320002b005824..."} 
[2026-07-13 20:38:29] local.INFO: Packet analysis {"connection_id":130848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c04"} 
[2026-07-13 20:38:29] local.INFO: Extracted packet for processing {"connection_id":130848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c04"} 
[2026-07-13 20:38:29] local.INFO: GPS Element Parsed {"raw_longitude":756669952,"raw_latitude":119583520,"longitude_deg":75.6669952,"latitude_deg":11.958352,"altitude":43,"angle":88,"satellites":36,"speed":25,"hex_longitude":"2d19de00","hex_latitude":"0720b320","is_valid_coordinates":true} 
[2026-07-13 20:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692544512001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5992677673795584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862519951507716096,"note":"Value kept but may cause issues"} 
[2026-07-13 20:38: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-07-13 20:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783955254000,"timestamp_ms":1783955254000,"timestamp_seconds":1783955254,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c04eaf0"} 
[2026-07-13 20:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:38:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-13 20:38:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:38:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:38:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692544512001,"66":13472,"103":206,"83":41984,"24":25,"16":5992677673795584,"45":1862519951507716096},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 20:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692544512001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:38:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 20:38:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5992677673795584,"km_value":5992677673795.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862519951507716096,"description":"Unknown IO ID 45"} 
[2026-07-13 20:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692544512001,"power":13472,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1862519951507716096}} 
[2026-07-13 20:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":130848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:38:29] local.INFO: GPS data processed {"connection_id":130848,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:38:29] local.INFO: Acknowledgment sent {"connection_id":130848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:38:39] local.INFO: TCP Data received {"connection_id":131666,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:38:39] local.INFO: Processing buffer {"connection_id":131666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:38:39] local.INFO: IMEI packet received {"connection_id":131666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":131666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:38:40] local.INFO: TCP Data received {"connection_id":130849,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130849,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:38:40] local.INFO: Processing buffer {"connection_id":130849,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:38:40] local.INFO: IMEI packet received {"connection_id":130849,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":130849,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:38:44] local.INFO: TCP Data received {"connection_id":130849,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130849,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:38:44] local.INFO: Processing buffer {"connection_id":130849,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:38:44] local.INFO: IMEI packet received {"connection_id":130849,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":130849,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:38:45] local.INFO: TCP Data received {"connection_id":131666,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:38:45] local.INFO: Processing buffer {"connection_id":131666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:38:45] local.INFO: IMEI packet received {"connection_id":131666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":131666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:38:46] local.INFO: TCP Data received {"connection_id":130849,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c01ed50012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c01ed50012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:38:46] local.INFO: Processing buffer {"connection_id":130849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c01ed50012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:38:46] local.INFO: Packet analysis {"connection_id":130849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c01"} 
[2026-07-13 20:38:46] local.INFO: Extracted packet for processing {"connection_id":130849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c01"} 
[2026-07-13 20:38:46] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 20:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692417792001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:38:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946618368,"note":"Value kept but may cause issues"} 
[2026-07-13 20:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783955058000,"timestamp_ms":1783955058000,"timestamp_seconds":1783955058,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c01ed50"} 
[2026-07-13 20:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-13 20:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692417792001,"66":25495,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575315568946618368},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692417792001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:38:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:38:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:38:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946618368,"description":"Unknown IO ID 44"} 
[2026-07-13 20:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692417792001,"power":25495,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575315568946618368}} 
[2026-07-13 20:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":130849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482090,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:38:46] local.INFO: GPS data processed {"connection_id":130849,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:38:46] local.INFO: Acknowledgment sent {"connection_id":130849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:38:46] local.INFO: TCP Data received {"connection_id":131666,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:38:46] local.INFO: Processing buffer {"connection_id":131666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:38:46] local.INFO: Packet analysis {"connection_id":131666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:38:46] local.INFO: Extracted packet for processing {"connection_id":131666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:38:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692420096001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783955067000,"timestamp_ms":1783955067000,"timestamp_seconds":1783955067,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c021078"} 
[2026-07-13 20:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692420096001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692420096001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:38:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:38:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692420096001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":131666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:38:46] local.INFO: GPS data processed {"connection_id":131666,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:38:46] local.INFO: Acknowledgment sent {"connection_id":131666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:38:50] local.INFO: TCP Data received {"connection_id":131666,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:38:50] local.INFO: Processing buffer {"connection_id":131666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:38:50] local.INFO: Packet analysis {"connection_id":131666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:38:50] local.INFO: Extracted packet for processing {"connection_id":131666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:38:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692420096001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783955067000,"timestamp_ms":1783955067000,"timestamp_seconds":1783955067,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c021078"} 
[2026-07-13 20:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20: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-07-13 20:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:38: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-07-13 20:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692420096001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692420096001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:38:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:38:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692420096001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":131666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:38:50] local.INFO: GPS data processed {"connection_id":131666,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:38:50] local.INFO: Acknowledgment sent {"connection_id":131666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:38:52] local.INFO: TCP Data received {"connection_id":130634,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:38:52] local.INFO: Processing buffer {"connection_id":130634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:38:52] local.INFO: IMEI packet received {"connection_id":130634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":130634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:38:53] local.INFO: TCP Data received {"connection_id":130634,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:38:53] local.INFO: Processing buffer {"connection_id":130634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:38:53] local.INFO: IMEI packet received {"connection_id":130634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":130634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:38:53] local.INFO: TCP Data received {"connection_id":130634,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:38:53] local.INFO: Processing buffer {"connection_id":130634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:38:53] local.INFO: IMEI packet received {"connection_id":130634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":130634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:38:57] local.INFO: TCP Data received {"connection_id":130634,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:38:57] local.INFO: Processing buffer {"connection_id":130634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:38:57] local.INFO: IMEI packet received {"connection_id":130634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":130634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:38:58] local.INFO: TCP Data received {"connection_id":130634,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c04fe78012d19eac00720b370002c004a24..."} 
[2026-07-13 20:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c04fe78012d19eac00720b370002c004a24..."} 
[2026-07-13 20:38:58] local.INFO: Processing buffer {"connection_id":130634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c04fe78012d19eac00720b370002c004a24..."} 
[2026-07-13 20:38:58] local.INFO: Packet analysis {"connection_id":130634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c04"} 
[2026-07-13 20:38:58] local.INFO: Extracted packet for processing {"connection_id":130634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c04"} 
[2026-07-13 20:38:58] local.INFO: GPS Element Parsed {"raw_longitude":756673216,"raw_latitude":119583600,"longitude_deg":75.6673216,"latitude_deg":11.95836,"altitude":44,"angle":74,"satellites":36,"speed":25,"hex_longitude":"2d19eac0","hex_latitude":"0720b370","is_valid_coordinates":true} 
[2026-07-13 20:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692545024001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5992836587585536,"note":"Value kept but may cause issues"} 
[2026-07-13 20:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863927326391345152,"note":"Value kept but may cause issues"} 
[2026-07-13 20:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783955259000,"timestamp_ms":1783955259000,"timestamp_seconds":1783955259,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c04fe78"} 
[2026-07-13 20:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-13 20:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:38:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692545024001,"66":13417,"103":206,"83":41984,"24":25,"16":5992836587585536,"45":1863927326391345152},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 20:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692545024001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:38:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 20:38:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5992836587585536,"km_value":5992836587585.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863927326391345152,"description":"Unknown IO ID 45"} 
[2026-07-13 20:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692545024001,"power":13417,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1863927326391345152}} 
[2026-07-13 20:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":130634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:38:58] local.INFO: GPS data processed {"connection_id":130634,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:38:58] local.INFO: Acknowledgment sent {"connection_id":130634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:39:17] local.INFO: TCP Data received {"connection_id":130849,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c01ed50012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c01ed50012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:39:17] local.INFO: Processing buffer {"connection_id":130849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c01ed50012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:39:17] local.INFO: Packet analysis {"connection_id":130849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c01"} 
[2026-07-13 20:39:17] local.INFO: Extracted packet for processing {"connection_id":130849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c01"} 
[2026-07-13 20:39:17] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 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-07-13 20:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692417792001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:39:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946618368,"note":"Value kept but may cause issues"} 
[2026-07-13 20:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783955058000,"timestamp_ms":1783955058000,"timestamp_seconds":1783955058,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c01ed50"} 
[2026-07-13 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-07-13 20:39: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-07-13 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-13 20:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 20:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692417792001,"66":25495,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575315568946618368},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692417792001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:39:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:39:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:39:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946618368,"description":"Unknown IO ID 44"} 
[2026-07-13 20:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692417792001,"power":25495,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575315568946618368}} 
[2026-07-13 20:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":130849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482094,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:39:17] local.INFO: GPS data processed {"connection_id":130849,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:39:17] local.INFO: Acknowledgment sent {"connection_id":130849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:39:29] local.INFO: TCP Data received {"connection_id":130634,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c052970012d1a05800720bee0002c003e24..."} 
[2026-07-13 20:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c052970012d1a05800720bee0002c003e24..."} 
[2026-07-13 20:39:29] local.INFO: Processing buffer {"connection_id":130634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c052970012d1a05800720bee0002c003e24..."} 
[2026-07-13 20:39:29] local.INFO: Packet analysis {"connection_id":130634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c05"} 
[2026-07-13 20:39:29] local.INFO: Extracted packet for processing {"connection_id":130634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c05"} 
[2026-07-13 20:39:29] local.INFO: GPS Element Parsed {"raw_longitude":756680064,"raw_latitude":119586528,"longitude_deg":75.6680064,"latitude_deg":11.9586528,"altitude":44,"angle":62,"satellites":36,"speed":30,"hex_longitude":"2d1a0580","hex_latitude":"0720bee0","is_valid_coordinates":true} 
[2026-07-13 20: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-07-13 20:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692546304001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5993193069871104,"note":"Value kept but may cause issues"} 
[2026-07-13 20:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867516132344426496,"note":"Value kept but may cause issues"} 
[2026-07-13 20:39: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-07-13 20:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783955270000,"timestamp_ms":1783955270000,"timestamp_seconds":1783955270,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c052970"} 
[2026-07-13 20:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-13 20:39:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20: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-07-13 20:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692546304001,"66":12711,"103":206,"83":41984,"24":30,"16":5993193069871104,"45":1867516132344426496},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 20:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692546304001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:39:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 20:39:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5993193069871104,"km_value":5993193069871.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867516132344426496,"description":"Unknown IO ID 45"} 
[2026-07-13 20:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692546304001,"power":12711,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1867516132344426496}} 
[2026-07-13 20:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":130634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:39:29] local.INFO: GPS data processed {"connection_id":130634,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:39:29] local.INFO: Acknowledgment sent {"connection_id":130634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:39:39] local.INFO: TCP Data received {"connection_id":130635,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:39:39] local.INFO: Processing buffer {"connection_id":130635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:39:39] local.INFO: IMEI packet received {"connection_id":130635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":130635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:39:39] local.INFO: TCP Data received {"connection_id":131667,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:39:39] local.INFO: Processing buffer {"connection_id":131667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:39:39] local.INFO: IMEI packet received {"connection_id":131667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":131667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:39:41] local.INFO: TCP Data received {"connection_id":131667,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:39:41] local.INFO: Processing buffer {"connection_id":131667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:39:41] local.INFO: IMEI packet received {"connection_id":131667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":131667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:39:42] local.INFO: TCP Data received {"connection_id":131667,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:39:42] local.INFO: Processing buffer {"connection_id":131667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:39:42] local.INFO: Packet analysis {"connection_id":131667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:39:42] local.INFO: Extracted packet for processing {"connection_id":131667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:39:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 20:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692420096001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783955067000,"timestamp_ms":1783955067000,"timestamp_seconds":1783955067,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c021078"} 
[2026-07-13 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-07-13 20:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 20:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":131667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":131667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":131667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692420096001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692420096001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:39:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:39:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692420096001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":131667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:39:42] local.INFO: GPS data processed {"connection_id":131667,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:39:42] local.INFO: Acknowledgment sent {"connection_id":131667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:39:44] local.INFO: TCP Data received {"connection_id":131667,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:39:44] local.INFO: Processing buffer {"connection_id":131667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c021078012d7f914005afd938001a011b21..."} 
[2026-07-13 20:39:44] local.INFO: Packet analysis {"connection_id":131667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:39:44] local.INFO: Extracted packet for processing {"connection_id":131667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c02"} 
[2026-07-13 20:39:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692420096001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783955067000,"timestamp_ms":1783955067000,"timestamp_seconds":1783955067,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c021078"} 
[2026-07-13 20:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:39:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":131667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":131667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":131667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692420096001,"66":25299,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692420096001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:39:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:39:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692420096001,"power":25299,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":131667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:39:44] local.INFO: GPS data processed {"connection_id":131667,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:39:44] local.INFO: Acknowledgment sent {"connection_id":131667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:39:44] local.INFO: TCP Data received {"connection_id":130635,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:39:44] local.INFO: Processing buffer {"connection_id":130635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:39:44] local.INFO: IMEI packet received {"connection_id":130635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":130635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:39:46] local.INFO: TCP Data received {"connection_id":130635,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c01ed50012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c01ed50012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:39:46] local.INFO: Processing buffer {"connection_id":130635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c01ed50012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:39:46] local.INFO: Packet analysis {"connection_id":130635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c01"} 
[2026-07-13 20:39:46] local.INFO: Extracted packet for processing {"connection_id":130635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c01"} 
[2026-07-13 20:39:46] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 20:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692417792001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:39:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946618368,"note":"Value kept but may cause issues"} 
[2026-07-13 20:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783955058000,"timestamp_ms":1783955058000,"timestamp_seconds":1783955058,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c01ed50"} 
[2026-07-13 20:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-13 20:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692417792001,"66":25495,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575315568946618368},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692417792001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:39:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:39:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:39:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946618368,"description":"Unknown IO ID 44"} 
[2026-07-13 20:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692417792001,"power":25495,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575315568946618368}} 
[2026-07-13 20:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":130635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482098,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:39:46] local.INFO: GPS data processed {"connection_id":130635,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:39:46] local.INFO: Acknowledgment sent {"connection_id":130635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:39:52] local.INFO: TCP Data received {"connection_id":131668,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:39:52] local.INFO: Processing buffer {"connection_id":131668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:39:52] local.INFO: IMEI packet received {"connection_id":131668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":131668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:39:55] local.INFO: TCP Data received {"connection_id":131668,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:39:55] local.INFO: Processing buffer {"connection_id":131668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:39:55] local.INFO: IMEI packet received {"connection_id":131668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":131668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:39:58] local.INFO: TCP Data received {"connection_id":131668,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:39:58] local.INFO: Processing buffer {"connection_id":131668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:39:58] local.INFO: IMEI packet received {"connection_id":131668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":131668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:39:59] local.INFO: TCP Data received {"connection_id":131668,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0617b8012d1a35c0072101200035012425..."} 
[2026-07-13 20:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0617b8012d1a35c0072101200035012425..."} 
[2026-07-13 20:39:59] local.INFO: Processing buffer {"connection_id":131668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0617b8012d1a35c0072101200035012425..."} 
[2026-07-13 20:39:59] local.INFO: Packet analysis {"connection_id":131668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:39:59] local.INFO: Extracted packet for processing {"connection_id":131668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:39:59] local.INFO: GPS Element Parsed {"raw_longitude":756692416,"raw_latitude":119603488,"longitude_deg":75.6692416,"latitude_deg":11.9603488,"altitude":53,"angle":292,"satellites":37,"speed":13,"hex_longitude":"2d1a35c0","hex_latitude":"07210120","is_valid_coordinates":true} 
[2026-07-13 20:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692564480001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5994374185877504,"note":"Value kept but may cause issues"} 
[2026-07-13 20:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888978599323678720,"note":"Value kept but may cause issues"} 
[2026-07-13 20:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783955331000,"timestamp_ms":1783955331000,"timestamp_seconds":1783955331,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0617b8"} 
[2026-07-13 20:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-13 20:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":131668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":131668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":131668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692564480001,"66":12461,"103":206,"83":41984,"24":13,"16":5994374185877504,"45":1888978599323678720},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 20:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692564480001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:39:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 20:39:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5994374185877504,"km_value":5994374185877.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888978599323678720,"description":"Unknown IO ID 45"} 
[2026-07-13 20:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692564480001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1888978599323678720}} 
[2026-07-13 20:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":131668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:39:59] local.INFO: GPS data processed {"connection_id":131668,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:39:59] local.INFO: Acknowledgment sent {"connection_id":131668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:40:15] local.INFO: TCP Data received {"connection_id":131667,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c06a840012d7f914005afd938001b011b23..."} 
[2026-07-13 20:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c06a840012d7f914005afd938001b011b23..."} 
[2026-07-13 20:40:15] local.INFO: Processing buffer {"connection_id":131667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c06a840012d7f914005afd938001b011b23..."} 
[2026-07-13 20:40:15] local.INFO: Packet analysis {"connection_id":131667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:40:15] local.INFO: Extracted packet for processing {"connection_id":131667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:40:15] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692497152001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783955368000,"timestamp_ms":1783955368000,"timestamp_seconds":1783955368,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c06a840"} 
[2026-07-13 20:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":131667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":131667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":131667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692497152001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692497152001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:40:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:40:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692497152001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":131667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:40:15] local.INFO: GPS data processed {"connection_id":131667,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:40:15] local.INFO: Acknowledgment sent {"connection_id":131667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:40:17] local.INFO: TCP Data received {"connection_id":130635,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c068518012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c068518012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:40:17] local.INFO: Processing buffer {"connection_id":130635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c068518012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:40:17] local.INFO: Packet analysis {"connection_id":130635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:40:17] local.INFO: Extracted packet for processing {"connection_id":130635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:40:17] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 20:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692494848001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:40:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946618368,"note":"Value kept but may cause issues"} 
[2026-07-13 20:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783955359000,"timestamp_ms":1783955359000,"timestamp_seconds":1783955359,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c068518"} 
[2026-07-13 20:40:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:40:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-13 20:40:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:40:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:40:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692494848001,"66":25462,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575315568946618368},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692494848001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:40:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:40:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:40:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946618368,"description":"Unknown IO ID 44"} 
[2026-07-13 20:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692494848001,"power":25462,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575315568946618368}} 
[2026-07-13 20:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":130635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482101,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:40:17] local.INFO: GPS data processed {"connection_id":130635,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:40:17] local.INFO: Acknowledgment sent {"connection_id":130635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:40:30] local.INFO: TCP Data received {"connection_id":131668,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c061f88012d1a32c0072101780035011025..."} 
[2026-07-13 20:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c061f88012d1a32c0072101780035011025..."} 
[2026-07-13 20:40:30] local.INFO: Processing buffer {"connection_id":131668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c061f88012d1a32c0072101780035011025..."} 
[2026-07-13 20:40:30] local.INFO: Packet analysis {"connection_id":131668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:40:30] local.INFO: Extracted packet for processing {"connection_id":131668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:40:30] local.INFO: GPS Element Parsed {"raw_longitude":756691648,"raw_latitude":119603576,"longitude_deg":75.6691648,"latitude_deg":11.9603576,"altitude":53,"angle":272,"satellites":37,"speed":16,"hex_longitude":"2d1a32c0","hex_latitude":"07210178","is_valid_coordinates":true} 
[2026-07-13 20: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-07-13 20:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692564736001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5994408545615872,"note":"Value kept but may cause issues"} 
[2026-07-13 20:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888626755602817024,"note":"Value kept but may cause issues"} 
[2026-07-13 20:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783955333000,"timestamp_ms":1783955333000,"timestamp_seconds":1783955333,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c061f88"} 
[2026-07-13 20:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-13 20:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20: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-07-13 20:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":131668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":131668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":131668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692564736001,"66":12504,"103":206,"83":41984,"24":16,"16":5994408545615872,"45":1888626755602817024},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 20:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692564736001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:40:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 20:40:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5994408545615872,"km_value":5994408545615.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888626755602817024,"description":"Unknown IO ID 45"} 
[2026-07-13 20:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692564736001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1888626755602817024}} 
[2026-07-13 20:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":131668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:40:30] local.INFO: GPS data processed {"connection_id":131668,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:40:30] local.INFO: Acknowledgment sent {"connection_id":131668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:40:39] local.INFO: TCP Data received {"connection_id":130850,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:40:39] local.INFO: Processing buffer {"connection_id":130850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:40:39] local.INFO: IMEI packet received {"connection_id":130850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":130850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:40:48] local.INFO: TCP Data received {"connection_id":130850,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:40:48] local.INFO: Processing buffer {"connection_id":130850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:40:48] local.INFO: IMEI packet received {"connection_id":130850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":130850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:40:49] local.INFO: TCP Data received {"connection_id":130850,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c068518012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c068518012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:40:49] local.INFO: Processing buffer {"connection_id":130850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c068518012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:40:49] local.INFO: Packet analysis {"connection_id":130850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:40:49] local.INFO: Extracted packet for processing {"connection_id":130850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:40:49] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 20:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692494848001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:40:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946618368,"note":"Value kept but may cause issues"} 
[2026-07-13 20:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783955359000,"timestamp_ms":1783955359000,"timestamp_seconds":1783955359,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c068518"} 
[2026-07-13 20:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-13 20:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692494848001,"66":25462,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575315568946618368},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692494848001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:40:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:40:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:40:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946618368,"description":"Unknown IO ID 44"} 
[2026-07-13 20:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692494848001,"power":25462,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575315568946618368}} 
[2026-07-13 20:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":130850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482103,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:40:49] local.INFO: GPS data processed {"connection_id":130850,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:40:49] local.INFO: Acknowledgment sent {"connection_id":130850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:40:54] local.INFO: TCP Data received {"connection_id":130851,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:40:54] local.INFO: Processing buffer {"connection_id":130851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:40:54] local.INFO: IMEI packet received {"connection_id":130851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":130851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:40:56] local.INFO: TCP Data received {"connection_id":130851,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:40:56] local.INFO: Processing buffer {"connection_id":130851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:40:56] local.INFO: IMEI packet received {"connection_id":130851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":130851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:40:57] local.INFO: TCP Data received {"connection_id":130851,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:40:57] local.INFO: Processing buffer {"connection_id":130851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:40:57] local.INFO: IMEI packet received {"connection_id":130851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":130851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:41:02] local.INFO: TCP Data received {"connection_id":130851,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:41:02] local.INFO: Processing buffer {"connection_id":130851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:41:02] local.INFO: IMEI packet received {"connection_id":130851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":130851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:41:03] local.INFO: TCP Data received {"connection_id":130851,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c062758012d1a2f80072101180035010225..."} 
[2026-07-13 20:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c062758012d1a2f80072101180035010225..."} 
[2026-07-13 20:41:03] local.INFO: Processing buffer {"connection_id":130851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c062758012d1a2f80072101180035010225..."} 
[2026-07-13 20:41:03] local.INFO: Packet analysis {"connection_id":130851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:41:03] local.INFO: Extracted packet for processing {"connection_id":130851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:41:03] local.INFO: GPS Element Parsed {"raw_longitude":756690816,"raw_latitude":119603480,"longitude_deg":75.6690816,"latitude_deg":11.960348,"altitude":53,"angle":258,"satellites":37,"speed":17,"hex_longitude":"2d1a2f80","hex_latitude":"07210118","is_valid_coordinates":true} 
[2026-07-13 20:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692565248001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5994451495288832,"note":"Value kept but may cause issues"} 
[2026-07-13 20:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1887782330672707584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783955335000,"timestamp_ms":1783955335000,"timestamp_seconds":1783955335,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c062758"} 
[2026-07-13 20:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-13 20:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":130851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":130851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":130851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692565248001,"66":12461,"103":206,"83":41984,"24":17,"16":5994451495288832,"45":1887782330672707584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 20:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692565248001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:41:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 20:41:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5994451495288832,"km_value":5994451495288.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1887782330672707584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692565248001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1887782330672707584}} 
[2026-07-13 20:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":130851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:41:04] local.INFO: GPS data processed {"connection_id":130851,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:41:04] local.INFO: Acknowledgment sent {"connection_id":130851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:41:21] local.INFO: TCP Data received {"connection_id":130850,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c068518012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c068518012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:41:21] local.INFO: Processing buffer {"connection_id":130850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c068518012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:41:21] local.INFO: Packet analysis {"connection_id":130850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:41:21] local.INFO: Extracted packet for processing {"connection_id":130850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:41:21] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 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-07-13 20:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692494848001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:41:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946618368,"note":"Value kept but may cause issues"} 
[2026-07-13 20:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783955359000,"timestamp_ms":1783955359000,"timestamp_seconds":1783955359,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c068518"} 
[2026-07-13 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-07-13 20:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-13 20:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 20:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":130850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":130850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":130850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692494848001,"66":25462,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575315568946618368},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692494848001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:41:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:41:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:41:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946618368,"description":"Unknown IO ID 44"} 
[2026-07-13 20:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692494848001,"power":25462,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575315568946618368}} 
[2026-07-13 20:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":130850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482105,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:41:21] local.INFO: GPS data processed {"connection_id":130850,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:41:21] local.INFO: Acknowledgment sent {"connection_id":130850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:41:28] local.INFO: TCP Data received {"connection_id":132994,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:41:28] local.INFO: Processing buffer {"connection_id":132994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:41:28] local.INFO: IMEI packet received {"connection_id":132994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":132994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:41:33] local.INFO: TCP Data received {"connection_id":132994,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:41:33] local.INFO: Processing buffer {"connection_id":132994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:41:33] local.INFO: IMEI packet received {"connection_id":132994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":132994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:41:35] local.INFO: TCP Data received {"connection_id":130851,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c07d120012d1a3c400720f7e8003600ce25..."} 
[2026-07-13 20:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c07d120012d1a3c400720f7e8003600ce25..."} 
[2026-07-13 20:41:35] local.INFO: Processing buffer {"connection_id":130851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c07d120012d1a3c400720f7e8003600ce25..."} 
[2026-07-13 20:41:35] local.INFO: Packet analysis {"connection_id":130851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c07"} 
[2026-07-13 20:41:35] local.INFO: Extracted packet for processing {"connection_id":130851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c07"} 
[2026-07-13 20:41:35] local.INFO: GPS Element Parsed {"raw_longitude":756694080,"raw_latitude":119601128,"longitude_deg":75.669408,"latitude_deg":11.9601128,"altitude":54,"angle":206,"satellites":37,"speed":8,"hex_longitude":"2d1a3c40","hex_latitude":"0720f7e8","is_valid_coordinates":true} 
[2026-07-13 20:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692593408001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5994880992018432,"note":"Value kept but may cause issues"} 
[2026-07-13 20:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890597080439238656,"note":"Value kept but may cause issues"} 
[2026-07-13 20:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783955444000,"timestamp_ms":1783955444000,"timestamp_seconds":1783955444,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c07d120"} 
[2026-07-13 20:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-13 20:41: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-07-13 20:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":130851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":130851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":130851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:41:35] local.INFO: TCP Data received {"connection_id":132994,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c06a840012d7f914005afd938001b011b23..."} 
[2026-07-13 20:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692593408001,"66":12461,"103":206,"83":41984,"24":8,"16":5994880992018432,"45":1890597080439238656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 20:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692593408001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:41:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 20:41:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5994880992018432,"km_value":5994880992018.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890597080439238656,"description":"Unknown IO ID 45"} 
[2026-07-13 20:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692593408001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1890597080439238656}} 
[2026-07-13 20:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c06a840012d7f914005afd938001b011b23..."} 
[2026-07-13 20:41:35] local.INFO: Processing buffer {"connection_id":132994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c06a840012d7f914005afd938001b011b23..."} 
[2026-07-13 20:41:35] local.INFO: Packet analysis {"connection_id":132994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:41:35] local.INFO: Extracted packet for processing {"connection_id":132994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:41:35] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692497152001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783955368000,"timestamp_ms":1783955368000,"timestamp_seconds":1783955368,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c06a840"} 
[2026-07-13 20:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":132994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":132994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":132994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692497152001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692497152001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:41:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:41:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692497152001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":132994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:41:35] local.INFO: GPS data processed {"connection_id":132994,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:41:35] local.INFO: Acknowledgment sent {"connection_id":132994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":130851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:41:35] local.INFO: GPS data processed {"connection_id":130851,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:41:35] local.INFO: Acknowledgment sent {"connection_id":130851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:41:44] local.INFO: TCP Data received {"connection_id":131669,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:41:44] local.INFO: Processing buffer {"connection_id":131669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:41:44] local.INFO: IMEI packet received {"connection_id":131669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":131669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:41:49] local.INFO: TCP Data received {"connection_id":131670,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:41:49] local.INFO: Processing buffer {"connection_id":131670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:41:49] local.INFO: IMEI packet received {"connection_id":131670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":131670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:41:52] local.INFO: TCP Data received {"connection_id":131669,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:41:52] local.INFO: Processing buffer {"connection_id":131669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:41:52] local.INFO: IMEI packet received {"connection_id":131669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":131669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:41:52] local.INFO: TCP Data received {"connection_id":131670,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:41:52] local.INFO: Processing buffer {"connection_id":131670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:41:52] local.INFO: IMEI packet received {"connection_id":131670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":131670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:41:53] local.INFO: TCP Data received {"connection_id":131670,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:41:53] local.INFO: Processing buffer {"connection_id":131670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:41:53] local.INFO: IMEI packet received {"connection_id":131670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":131670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:41:53] local.INFO: TCP Data received {"connection_id":131669,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c068518012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c068518012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:41:53] local.INFO: Processing buffer {"connection_id":131669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c068518012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:41:53] local.INFO: Packet analysis {"connection_id":131669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:41:53] local.INFO: Extracted packet for processing {"connection_id":131669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:41:53] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 20:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692494848001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:41:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946618368,"note":"Value kept but may cause issues"} 
[2026-07-13 20:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783955359000,"timestamp_ms":1783955359000,"timestamp_seconds":1783955359,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c068518"} 
[2026-07-13 20:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-13 20:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":131669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":131669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":131669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692494848001,"66":25462,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575315568946618368},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692494848001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:41:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:41:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:41:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946618368,"description":"Unknown IO ID 44"} 
[2026-07-13 20:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692494848001,"power":25462,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575315568946618368}} 
[2026-07-13 20:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":131669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482108,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:41:53] local.INFO: GPS data processed {"connection_id":131669,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:41:53] local.INFO: Acknowledgment sent {"connection_id":131669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:41:55] local.INFO: TCP Data received {"connection_id":131669,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c068518012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c068518012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:41:55] local.INFO: Processing buffer {"connection_id":131669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c068518012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:41:55] local.INFO: Packet analysis {"connection_id":131669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:41:55] local.INFO: Extracted packet for processing {"connection_id":131669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:41:55] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 20:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692494848001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:41:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946618368,"note":"Value kept but may cause issues"} 
[2026-07-13 20:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783955359000,"timestamp_ms":1783955359000,"timestamp_seconds":1783955359,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c068518"} 
[2026-07-13 20:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-13 20:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":131669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":131669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":131669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692494848001,"66":25462,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575315568946618368},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692494848001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:41:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:41:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:41:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946618368,"description":"Unknown IO ID 44"} 
[2026-07-13 20:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692494848001,"power":25462,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575315568946618368}} 
[2026-07-13 20:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":131669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482109,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:41:55] local.INFO: GPS data processed {"connection_id":131669,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:41:55] local.INFO: Acknowledgment sent {"connection_id":131669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:41:56] local.INFO: TCP Data received {"connection_id":131670,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:41:56] local.INFO: Processing buffer {"connection_id":131670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:41:56] local.INFO: IMEI packet received {"connection_id":131670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":131670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:41:57] local.INFO: TCP Data received {"connection_id":131670,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c07d508012d1a3c000720f710003600da25..."} 
[2026-07-13 20:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c07d508012d1a3c000720f710003600da25..."} 
[2026-07-13 20:41:57] local.INFO: Processing buffer {"connection_id":131670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c07d508012d1a3c000720f710003600da25..."} 
[2026-07-13 20:41:57] local.INFO: Packet analysis {"connection_id":131670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c07"} 
[2026-07-13 20:41:57] local.INFO: Extracted packet for processing {"connection_id":131670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c07"} 
[2026-07-13 20:41:57] local.INFO: GPS Element Parsed {"raw_longitude":756694016,"raw_latitude":119600912,"longitude_deg":75.6694016,"latitude_deg":11.9600912,"altitude":54,"angle":218,"satellites":37,"speed":10,"hex_longitude":"2d1a3c00","hex_latitude":"0720f710","is_valid_coordinates":true} 
[2026-07-13 20:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692593664001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5994889581953024,"note":"Value kept but may cause issues"} 
[2026-07-13 20:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890456342950832128,"note":"Value kept but may cause issues"} 
[2026-07-13 20:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783955445000,"timestamp_ms":1783955445000,"timestamp_seconds":1783955445,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c07d508"} 
[2026-07-13 20:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-13 20:41:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:41:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":131670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":131670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":131670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692593664001,"66":13406,"103":206,"83":41984,"24":10,"16":5994889581953024,"45":1890456342950832128},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 20:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692593664001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:41:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 20:41:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5994889581953024,"km_value":5994889581953.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890456342950832128,"description":"Unknown IO ID 45"} 
[2026-07-13 20:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692593664001,"power":13406,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1890456342950832128}} 
[2026-07-13 20:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":131670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:41:57] local.INFO: GPS data processed {"connection_id":131670,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:41:57] local.INFO: Acknowledgment sent {"connection_id":131670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:42:07] local.INFO: TCP Data received {"connection_id":132994,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c06a840012d7f914005afd938001b011b23..."} 
[2026-07-13 20:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c06a840012d7f914005afd938001b011b23..."} 
[2026-07-13 20:42:07] local.INFO: Processing buffer {"connection_id":132994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c06a840012d7f914005afd938001b011b23..."} 
[2026-07-13 20:42:07] local.INFO: Packet analysis {"connection_id":132994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:42:07] local.INFO: Extracted packet for processing {"connection_id":132994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:42:07] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692497152001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783955368000,"timestamp_ms":1783955368000,"timestamp_seconds":1783955368,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c06a840"} 
[2026-07-13 20:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":132994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":132994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":132994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692497152001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692497152001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:42:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:42:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692497152001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":132994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:42:07] local.INFO: GPS data processed {"connection_id":132994,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:42:07] local.INFO: Acknowledgment sent {"connection_id":132994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:42:28] local.INFO: TCP Data received {"connection_id":131670,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c07e890012d1a37800720efe0003600cb25..."} 
[2026-07-13 20:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c07e890012d1a37800720efe0003600cb25..."} 
[2026-07-13 20:42:28] local.INFO: Processing buffer {"connection_id":131670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c07e890012d1a37800720efe0003600cb25..."} 
[2026-07-13 20:42:28] local.INFO: Packet analysis {"connection_id":131670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c07"} 
[2026-07-13 20:42:28] local.INFO: Extracted packet for processing {"connection_id":131670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c07"} 
[2026-07-13 20:42:28] local.INFO: GPS Element Parsed {"raw_longitude":756692864,"raw_latitude":119599072,"longitude_deg":75.6692864,"latitude_deg":11.9599072,"altitude":54,"angle":203,"satellites":37,"speed":21,"hex_longitude":"2d1a3780","hex_latitude":"0720efe0","is_valid_coordinates":true} 
[2026-07-13 20: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-07-13 20:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692593920001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5994996956135424,"note":"Value kept but may cause issues"} 
[2026-07-13 20:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890385974206599168,"note":"Value kept but may cause issues"} 
[2026-07-13 20:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783955450000,"timestamp_ms":1783955450000,"timestamp_seconds":1783955450,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c07e890"} 
[2026-07-13 20:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-13 20:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20: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-07-13 20:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":131670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":131670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":131670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692593920001,"66":13330,"103":206,"83":41984,"24":21,"16":5994996956135424,"45":1890385974206599168},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 20:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692593920001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:42:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 20:42:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5994996956135424,"km_value":5994996956135.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890385974206599168,"description":"Unknown IO ID 45"} 
[2026-07-13 20:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692593920001,"power":13330,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1890385974206599168}} 
[2026-07-13 20:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":131670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:42:29] local.INFO: GPS data processed {"connection_id":131670,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:42:29] local.INFO: Acknowledgment sent {"connection_id":131670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:42:39] local.INFO: TCP Data received {"connection_id":132995,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132995,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:42:39] local.INFO: Processing buffer {"connection_id":132995,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:42:39] local.INFO: IMEI packet received {"connection_id":132995,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":132995,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:42:41] local.INFO: TCP Data received {"connection_id":130636,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:42:41] local.INFO: Processing buffer {"connection_id":130636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:42:41] local.INFO: IMEI packet received {"connection_id":130636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":130636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:42:44] local.INFO: TCP Data received {"connection_id":132995,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132995,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:42:44] local.INFO: Processing buffer {"connection_id":132995,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:42:44] local.INFO: IMEI packet received {"connection_id":132995,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":132995,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:42:46] local.INFO: TCP Data received {"connection_id":132995,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c068518012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c068518012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:42:46] local.INFO: Processing buffer {"connection_id":132995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c068518012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:42:46] local.INFO: Packet analysis {"connection_id":132995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:42:46] local.INFO: Extracted packet for processing {"connection_id":132995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:42:46] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 20:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692494848001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:42:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946618368,"note":"Value kept but may cause issues"} 
[2026-07-13 20:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783955359000,"timestamp_ms":1783955359000,"timestamp_seconds":1783955359,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c068518"} 
[2026-07-13 20:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-13 20:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":132995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":132995,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":132995,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692494848001,"66":25462,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575315568946618368},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692494848001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:42:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:42:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:42:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946618368,"description":"Unknown IO ID 44"} 
[2026-07-13 20:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692494848001,"power":25462,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575315568946618368}} 
[2026-07-13 20:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":132995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482113,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:42:46] local.INFO: GPS data processed {"connection_id":132995,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:42:46] local.INFO: Acknowledgment sent {"connection_id":132995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:42:47] local.INFO: TCP Data received {"connection_id":130636,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:42:47] local.INFO: Processing buffer {"connection_id":130636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:42:47] local.INFO: IMEI packet received {"connection_id":130636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":130636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:42:48] local.INFO: TCP Data received {"connection_id":130636,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c06a840012d7f914005afd938001b011b23..."} 
[2026-07-13 20:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c06a840012d7f914005afd938001b011b23..."} 
[2026-07-13 20:42:48] local.INFO: Processing buffer {"connection_id":130636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c06a840012d7f914005afd938001b011b23..."} 
[2026-07-13 20:42:48] local.INFO: Packet analysis {"connection_id":130636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:42:48] local.INFO: Extracted packet for processing {"connection_id":130636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:42:48] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692497152001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783955368000,"timestamp_ms":1783955368000,"timestamp_seconds":1783955368,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c06a840"} 
[2026-07-13 20:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":130636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":130636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":130636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692497152001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692497152001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:42:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:42:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692497152001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":130636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:42:48] local.INFO: GPS data processed {"connection_id":130636,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:42:48] local.INFO: Acknowledgment sent {"connection_id":130636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:42:49] local.INFO: TCP Data received {"connection_id":130636,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c06a840012d7f914005afd938001b011b23..."} 
[2026-07-13 20:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c06a840012d7f914005afd938001b011b23..."} 
[2026-07-13 20:42:49] local.INFO: Processing buffer {"connection_id":130636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c06a840012d7f914005afd938001b011b23..."} 
[2026-07-13 20:42:49] local.INFO: Packet analysis {"connection_id":130636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:42:49] local.INFO: Extracted packet for processing {"connection_id":130636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:42:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 20:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692497152001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783955368000,"timestamp_ms":1783955368000,"timestamp_seconds":1783955368,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c06a840"} 
[2026-07-13 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-07-13 20:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 20:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692497152001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692497152001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:42:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:42:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692497152001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":130636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:42:49] local.INFO: GPS data processed {"connection_id":130636,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:42:49] local.INFO: Acknowledgment sent {"connection_id":130636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:42:52] local.INFO: TCP Data received {"connection_id":130852,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:42:52] local.INFO: Processing buffer {"connection_id":130852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:42:52] local.INFO: IMEI packet received {"connection_id":130852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":130852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:42:53] local.INFO: TCP Data received {"connection_id":130852,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:42:53] local.INFO: Processing buffer {"connection_id":130852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:42:53] local.INFO: IMEI packet received {"connection_id":130852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":130852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:42:54] local.INFO: TCP Data received {"connection_id":130852,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:42:54] local.INFO: Processing buffer {"connection_id":130852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:42:54] local.INFO: IMEI packet received {"connection_id":130852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":130852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:42:55] local.INFO: TCP Data received {"connection_id":130852,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c08d2f0012d19cb000720a4e8002c00f022..."} 
[2026-07-13 20:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c08d2f0012d19cb000720a4e8002c00f022..."} 
[2026-07-13 20:42:55] local.INFO: Processing buffer {"connection_id":130852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c08d2f0012d19cb000720a4e8002c00f022..."} 
[2026-07-13 20:42:55] local.INFO: Packet analysis {"connection_id":130852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c08"} 
[2026-07-13 20:42:55] local.INFO: Extracted packet for processing {"connection_id":130852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c08"} 
[2026-07-13 20:42:55] local.INFO: GPS Element Parsed {"raw_longitude":756665088,"raw_latitude":119579880,"longitude_deg":75.6665088,"latitude_deg":11.957988,"altitude":44,"angle":240,"satellites":34,"speed":9,"hex_longitude":"2d19cb00","hex_latitude":"0720a4e8","is_valid_coordinates":true} 
[2026-07-13 20:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692609280001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5996706353119232,"note":"Value kept but may cause issues"} 
[2026-07-13 20:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201739958272,"note":"Value kept but may cause issues"} 
[2026-07-13 20:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783955510000,"timestamp_ms":1783955510000,"timestamp_seconds":1783955510,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c08d2f0"} 
[2026-07-13 20:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-13 20:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":130852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":130852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":130852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692609280001,"66":13428,"103":206,"83":41984,"24":9,"16":5996706353119232,"45":1859705201739958272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 20:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692609280001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:42:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 20:42:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5996706353119232,"km_value":5996706353119.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201739958272,"description":"Unknown IO ID 45"} 
[2026-07-13 20:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692609280001,"power":13428,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1859705201739958272}} 
[2026-07-13 20:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":130852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:42:55] local.INFO: GPS data processed {"connection_id":130852,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:42:55] local.INFO: Acknowledgment sent {"connection_id":130852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:43:18] local.INFO: TCP Data received {"connection_id":132995,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c068518012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c068518012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:43:18] local.INFO: Processing buffer {"connection_id":132995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c068518012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:43:18] local.INFO: Packet analysis {"connection_id":132995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:43:18] local.INFO: Extracted packet for processing {"connection_id":132995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:43:18] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 20:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692494848001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:43:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946618368,"note":"Value kept but may cause issues"} 
[2026-07-13 20:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783955359000,"timestamp_ms":1783955359000,"timestamp_seconds":1783955359,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c068518"} 
[2026-07-13 20:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-13 20:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":132995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":132995,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":132995,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692494848001,"66":25462,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575315568946618368},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692494848001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:43:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:43:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:43:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946618368,"description":"Unknown IO ID 44"} 
[2026-07-13 20:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692494848001,"power":25462,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575315568946618368}} 
[2026-07-13 20:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":132995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482117,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:43:18] local.INFO: GPS data processed {"connection_id":132995,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:43:18] local.INFO: Acknowledgment sent {"connection_id":132995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:43:26] local.INFO: TCP Data received {"connection_id":130852,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c08dac0012d19c8c00720a440002c010523..."} 
[2026-07-13 20:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c08dac0012d19c8c00720a440002c010523..."} 
[2026-07-13 20:43:26] local.INFO: Processing buffer {"connection_id":130852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c08dac0012d19c8c00720a440002c010523..."} 
[2026-07-13 20:43:26] local.INFO: Packet analysis {"connection_id":130852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c08"} 
[2026-07-13 20:43:26] local.INFO: Extracted packet for processing {"connection_id":130852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c08"} 
[2026-07-13 20:43:26] local.INFO: GPS Element Parsed {"raw_longitude":756664512,"raw_latitude":119579712,"longitude_deg":75.6664512,"latitude_deg":11.9579712,"altitude":44,"angle":261,"satellites":35,"speed":14,"hex_longitude":"2d19c8c0","hex_latitude":"0720a440","is_valid_coordinates":true} 
[2026-07-13 20:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692610560001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5996736417890304,"note":"Value kept but may cause issues"} 
[2026-07-13 20:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858579301832910848,"note":"Value kept but may cause issues"} 
[2026-07-13 20:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783955512000,"timestamp_ms":1783955512000,"timestamp_seconds":1783955512,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c08dac0"} 
[2026-07-13 20:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-13 20:43:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":130852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":130852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":130852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692610560001,"66":13396,"103":206,"83":41984,"24":14,"16":5996736417890304,"45":1858579301832910848},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 20:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692610560001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:43:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 20:43:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5996736417890304,"km_value":5996736417890.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858579301832910848,"description":"Unknown IO ID 45"} 
[2026-07-13 20:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692610560001,"power":13396,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1858579301832910848}} 
[2026-07-13 20:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":130852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:43:26] local.INFO: GPS data processed {"connection_id":130852,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:43:26] local.INFO: Acknowledgment sent {"connection_id":130852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:43:35] local.INFO: TCP Data received {"connection_id":132996,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:43:35] local.INFO: Processing buffer {"connection_id":132996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:43:35] local.INFO: IMEI packet received {"connection_id":132996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":132996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:43:40] local.INFO: TCP Data received {"connection_id":130637,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:43:40] local.INFO: Processing buffer {"connection_id":130637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:43:40] local.INFO: IMEI packet received {"connection_id":130637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":130637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:43:44] local.INFO: TCP Data received {"connection_id":130637,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:43:44] local.INFO: Processing buffer {"connection_id":130637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:43:44] local.INFO: IMEI packet received {"connection_id":130637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":130637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:43:46] local.INFO: TCP Data received {"connection_id":130637,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c068518012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c068518012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:43:46] local.INFO: Processing buffer {"connection_id":130637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c068518012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:43:46] local.INFO: Packet analysis {"connection_id":130637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:43:46] local.INFO: Extracted packet for processing {"connection_id":130637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:43:46] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 20:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692494848001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:43:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946618368,"note":"Value kept but may cause issues"} 
[2026-07-13 20:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783955359000,"timestamp_ms":1783955359000,"timestamp_seconds":1783955359,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c068518"} 
[2026-07-13 20:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-13 20:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692494848001,"66":25462,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575315568946618368},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692494848001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:43:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:43:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:43:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946618368,"description":"Unknown IO ID 44"} 
[2026-07-13 20:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692494848001,"power":25462,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575315568946618368}} 
[2026-07-13 20:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":130637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482119,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:43:46] local.INFO: GPS data processed {"connection_id":130637,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:43:46] local.INFO: Acknowledgment sent {"connection_id":130637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:43:52] local.INFO: TCP Data received {"connection_id":132997,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:43:52] local.INFO: Processing buffer {"connection_id":132997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:43:52] local.INFO: IMEI packet received {"connection_id":132997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":132997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:43:53] local.INFO: TCP Data received {"connection_id":132997,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:43:53] local.INFO: Processing buffer {"connection_id":132997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:43:53] local.INFO: IMEI packet received {"connection_id":132997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":132997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:43:54] local.INFO: TCP Data received {"connection_id":132997,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:43:54] local.INFO: Processing buffer {"connection_id":132997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:43:54] local.INFO: IMEI packet received {"connection_id":132997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":132997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:43:58] local.INFO: TCP Data received {"connection_id":132997,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:43:58] local.INFO: Processing buffer {"connection_id":132997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:43:58] local.INFO: IMEI packet received {"connection_id":132997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":132997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:43:58] local.INFO: TCP Data received {"connection_id":132997,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c09a5e0012d19be4007203e08002700a922..."} 
[2026-07-13 20:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c09a5e0012d19be4007203e08002700a922..."} 
[2026-07-13 20:43:58] local.INFO: Processing buffer {"connection_id":132997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c09a5e0012d19be4007203e08002700a922..."} 
[2026-07-13 20:43:58] local.INFO: Packet analysis {"connection_id":132997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c09"} 
[2026-07-13 20:43:58] local.INFO: Extracted packet for processing {"connection_id":132997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c09"} 
[2026-07-13 20:43:58] local.INFO: GPS Element Parsed {"raw_longitude":756661824,"raw_latitude":119553544,"longitude_deg":75.6661824,"latitude_deg":11.9553544,"altitude":39,"angle":169,"satellites":34,"speed":31,"hex_longitude":"2d19be40","hex_latitude":"07203e08","is_valid_coordinates":true} 
[2026-07-13 20:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692621312001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5998252541345792,"note":"Value kept but may cause issues"} 
[2026-07-13 20:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333457057792,"note":"Value kept but may cause issues"} 
[2026-07-13 20:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783955564000,"timestamp_ms":1783955564000,"timestamp_seconds":1783955564,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c09a5e0"} 
[2026-07-13 20:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-13 20:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":132997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":132997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":132997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692621312001,"66":13461,"103":206,"83":41984,"24":31,"16":5998252541345792,"45":1854005333457057792},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 20:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692621312001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:43:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 20:43:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5998252541345792,"km_value":5998252541345.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333457057792,"description":"Unknown IO ID 45"} 
[2026-07-13 20:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692621312001,"power":13461,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1854005333457057792}} 
[2026-07-13 20:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":132997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:43:58] local.INFO: GPS data processed {"connection_id":132997,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:43:58] local.INFO: Acknowledgment sent {"connection_id":132997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:43:59] local.INFO: TCP Data received {"connection_id":132997,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c09bd50012d19c44007202dc00026009c22..."} 
[2026-07-13 20:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c09bd50012d19c44007202dc00026009c22..."} 
[2026-07-13 20:43:59] local.INFO: Processing buffer {"connection_id":132997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c09bd50012d19c44007202dc00026009c22..."} 
[2026-07-13 20:43:59] local.INFO: Packet analysis {"connection_id":132997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c09"} 
[2026-07-13 20:43:59] local.INFO: Extracted packet for processing {"connection_id":132997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c09"} 
[2026-07-13 20:43:59] local.INFO: GPS Element Parsed {"raw_longitude":756663360,"raw_latitude":119549376,"longitude_deg":75.666336,"latitude_deg":11.9549376,"altitude":38,"angle":156,"satellites":34,"speed":25,"hex_longitude":"2d19c440","hex_latitude":"07202dc0","is_valid_coordinates":true} 
[2026-07-13 20:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692624384001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5998467289710592,"note":"Value kept but may cause issues"} 
[2026-07-13 20:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854990495873107968,"note":"Value kept but may cause issues"} 
[2026-07-13 20:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783955570000,"timestamp_ms":1783955570000,"timestamp_seconds":1783955570,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c09bd50"} 
[2026-07-13 20:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-07-13 20:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":132997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":132997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":132997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692624384001,"66":13461,"103":206,"83":41984,"24":25,"16":5998467289710592,"45":1854990495873107968},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-13 20:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692624384001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:43:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-13 20:43:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5998467289710592,"km_value":5998467289710.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854990495873107968,"description":"Unknown IO ID 45"} 
[2026-07-13 20:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692624384001,"power":13461,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1854990495873107968}} 
[2026-07-13 20:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":132997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:43:59] local.INFO: GPS data processed {"connection_id":132997,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:43:59] local.INFO: Acknowledgment sent {"connection_id":132997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:44:00] local.INFO: TCP Data received {"connection_id":132996,"ip":"42.106.6.14","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-13 20:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132996,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-13 20:44:00] local.INFO: Processing buffer {"connection_id":132996,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-13 20:44:00] local.INFO: IMEI packet received {"connection_id":132996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":132996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:44:17] local.INFO: TCP Data received {"connection_id":130637,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c068518012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c068518012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:44:17] local.INFO: Processing buffer {"connection_id":130637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c068518012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:44:17] local.INFO: Packet analysis {"connection_id":130637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:44:17] local.INFO: Extracted packet for processing {"connection_id":130637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:44:17] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 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-07-13 20:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692494848001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:44:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946618368,"note":"Value kept but may cause issues"} 
[2026-07-13 20:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783955359000,"timestamp_ms":1783955359000,"timestamp_seconds":1783955359,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c068518"} 
[2026-07-13 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-07-13 20:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-13 20:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 20:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692494848001,"66":25462,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575315568946618368},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692494848001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:44:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:44:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:44:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946618368,"description":"Unknown IO ID 44"} 
[2026-07-13 20:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692494848001,"power":25462,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575315568946618368}} 
[2026-07-13 20:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":130637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482122,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:44:17] local.INFO: GPS data processed {"connection_id":130637,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:44:17] local.INFO: Acknowledgment sent {"connection_id":130637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:44:31] local.INFO: TCP Data received {"connection_id":132997,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c09ec30012d19cec0072018080025009023..."} 
[2026-07-13 20:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c09ec30012d19cec0072018080025009023..."} 
[2026-07-13 20:44:31] local.INFO: Processing buffer {"connection_id":132997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c09ec30012d19cec0072018080025009023..."} 
[2026-07-13 20:44:31] local.INFO: Packet analysis {"connection_id":132997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c09"} 
[2026-07-13 20:44:31] local.INFO: Extracted packet for processing {"connection_id":132997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c09"} 
[2026-07-13 20:44:31] local.INFO: GPS Element Parsed {"raw_longitude":756666048,"raw_latitude":119543816,"longitude_deg":75.6666048,"latitude_deg":11.9543816,"altitude":37,"angle":144,"satellites":35,"speed":18,"hex_longitude":"2d19cec0","hex_latitude":"07201808","is_valid_coordinates":true} 
[2026-07-13 20:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692625920001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5998763642454016,"note":"Value kept but may cause issues"} 
[2026-07-13 20:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856679345732304896,"note":"Value kept but may cause issues"} 
[2026-07-13 20:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783955582000,"timestamp_ms":1783955582000,"timestamp_seconds":1783955582,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c09ec30"} 
[2026-07-13 20:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-07-13 20:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":132997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":132997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":132997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692625920001,"66":13472,"101":206,"83":41984,"24":18,"16":5998763642454016,"45":1856679345732304896},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-13 20:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692625920001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:44:31] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-13 20:44:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":5998763642454016,"km_value":5998763642454.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856679345732304896,"description":"Unknown IO ID 45"} 
[2026-07-13 20:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692625920001,"power":13472,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1856679345732304896}} 
[2026-07-13 20:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":132997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:44:31] local.INFO: GPS data processed {"connection_id":132997,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:44:31] local.INFO: Acknowledgment sent {"connection_id":132997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:44:39] local.INFO: TCP Data received {"connection_id":130853,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130853,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:44:39] local.INFO: Processing buffer {"connection_id":130853,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:44:39] local.INFO: IMEI packet received {"connection_id":130853,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":130853,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:44:44] local.INFO: TCP Data received {"connection_id":130853,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130853,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:44:44] local.INFO: Processing buffer {"connection_id":130853,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:44:44] local.INFO: IMEI packet received {"connection_id":130853,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":130853,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:44:46] local.INFO: TCP Data received {"connection_id":130853,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c068518012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c068518012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:44:46] local.INFO: Processing buffer {"connection_id":130853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c068518012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:44:46] local.INFO: Packet analysis {"connection_id":130853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:44:46] local.INFO: Extracted packet for processing {"connection_id":130853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c06"} 
[2026-07-13 20:44:46] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 20:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692494848001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:44:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946618368,"note":"Value kept but may cause issues"} 
[2026-07-13 20:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783955359000,"timestamp_ms":1783955359000,"timestamp_seconds":1783955359,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c068518"} 
[2026-07-13 20:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-13 20:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130853,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130853,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692494848001,"66":25462,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575315568946618368},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692494848001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:44:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:44:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:44:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946618368,"description":"Unknown IO ID 44"} 
[2026-07-13 20:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692494848001,"power":25462,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575315568946618368}} 
[2026-07-13 20:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":130853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482124,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:44:46] local.INFO: GPS data processed {"connection_id":130853,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:44:46] local.INFO: Acknowledgment sent {"connection_id":130853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:44:52] local.INFO: TCP Data received {"connection_id":131672,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:44:52] local.INFO: Processing buffer {"connection_id":131672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:44:52] local.INFO: IMEI packet received {"connection_id":131672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":131672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:44:57] local.INFO: TCP Data received {"connection_id":131672,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:44:57] local.INFO: Processing buffer {"connection_id":131672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:44:57] local.INFO: IMEI packet received {"connection_id":131672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":131672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:44:58] local.INFO: TCP Data received {"connection_id":131672,"ip":"42.106.6.16","data_length":93,"data_hex":"00000000000000518e010000019f5c0aaf80012d1a4d40071fe520002e007320..."} 
[2026-07-13 20:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131672,"packet_length":93,"packet_hex":"00000000000000518e010000019f5c0aaf80012d1a4d40071fe520002e007320..."} 
[2026-07-13 20:44:58] local.INFO: Processing buffer {"connection_id":131672,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f5c0aaf80012d1a4d40071fe520002e007320..."} 
[2026-07-13 20:44:58] local.INFO: Packet analysis {"connection_id":131672,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f5c0a"} 
[2026-07-13 20:44:58] local.INFO: Extracted packet for processing {"connection_id":131672,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f5c0a"} 
[2026-07-13 20:44:58] local.INFO: GPS Element Parsed {"raw_longitude":756698432,"raw_latitude":119530784,"longitude_deg":75.6698432,"latitude_deg":11.9530784,"altitude":46,"angle":115,"satellites":32,"speed":30,"hex_longitude":"2d1a4d40","hex_latitude":"071fe520","is_valid_coordinates":true} 
[2026-07-13 20:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-13 20:44:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:44:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:44:58] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:44:58] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-13 20:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131672,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-13 20:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131672,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-13 20:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131672,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-13 20:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-13 20:44:58] local.WARNING: DEBUG: No valid data to process  
[2026-07-13 20:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":131672,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-13 20:44:58] local.ERROR: GPS data processing failed {"connection_id":131672,"error":"No valid data to process"} 
[2026-07-13 20:44:58] local.INFO: Acknowledgment sent {"connection_id":131672,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-13 20:45:17] local.INFO: TCP Data received {"connection_id":130853,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0b1ce0012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0b1ce0012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:45:17] local.INFO: Processing buffer {"connection_id":130853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0b1ce0012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:45:17] local.INFO: Packet analysis {"connection_id":130853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0b"} 
[2026-07-13 20:45:17] local.INFO: Extracted packet for processing {"connection_id":130853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0b"} 
[2026-07-13 20:45:17] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 20:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692571904001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:45:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946618368,"note":"Value kept but may cause issues"} 
[2026-07-13 20:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783955660000,"timestamp_ms":1783955660000,"timestamp_seconds":1783955660,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0b1ce0"} 
[2026-07-13 20:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 20:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20: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-07-13 20:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130853,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130853,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692571904001,"66":25397,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575315568946618368},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692571904001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:45:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:45:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:45:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946618368,"description":"Unknown IO ID 44"} 
[2026-07-13 20:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692571904001,"power":25397,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575315568946618368}} 
[2026-07-13 20:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":130853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482125,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:45:17] local.INFO: GPS data processed {"connection_id":130853,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:45:17] local.INFO: Acknowledgment sent {"connection_id":130853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:45:29] local.INFO: TCP Data received {"connection_id":131672,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0b7aa0012d1a7240071fd3d00035013923..."} 
[2026-07-13 20:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0b7aa0012d1a7240071fd3d00035013923..."} 
[2026-07-13 20:45:29] local.INFO: Processing buffer {"connection_id":131672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0b7aa0012d1a7240071fd3d00035013923..."} 
[2026-07-13 20:45:29] local.INFO: Packet analysis {"connection_id":131672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0b"} 
[2026-07-13 20:45:29] local.INFO: Extracted packet for processing {"connection_id":131672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0b"} 
[2026-07-13 20:45:29] local.INFO: GPS Element Parsed {"raw_longitude":756707904,"raw_latitude":119526352,"longitude_deg":75.6707904,"latitude_deg":11.9526352,"altitude":53,"angle":313,"satellites":35,"speed":20,"hex_longitude":"2d1a7240","hex_latitude":"071fd3d0","is_valid_coordinates":true} 
[2026-07-13 20:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692654336001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6001293378191360,"note":"Value kept but may cause issues"} 
[2026-07-13 20:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906641154092306432,"note":"Value kept but may cause issues"} 
[2026-07-13 20:45: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-07-13 20:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783955684000,"timestamp_ms":1783955684000,"timestamp_seconds":1783955684,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0b7aa0"} 
[2026-07-13 20:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:45: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-07-13 20:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-13 20:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:45:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":131672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":131672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":131672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692654336001,"66":13515,"101":206,"83":41984,"24":20,"16":6001293378191360,"45":1906641154092306432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-13 20:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692654336001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:45:29] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-13 20:45:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6001293378191360,"km_value":6001293378191.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906641154092306432,"description":"Unknown IO ID 45"} 
[2026-07-13 20:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692654336001,"power":13515,"unknown_101":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1906641154092306432}} 
[2026-07-13 20:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":131672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:45:29] local.INFO: GPS data processed {"connection_id":131672,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:45:29] local.INFO: Acknowledgment sent {"connection_id":131672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:45:44] local.INFO: TCP Data received {"connection_id":132998,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132998,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:45:44] local.INFO: Processing buffer {"connection_id":132998,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:45:44] local.INFO: IMEI packet received {"connection_id":132998,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":132998,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:45:49] local.INFO: TCP Data received {"connection_id":132998,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132998,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:45:49] local.INFO: Processing buffer {"connection_id":132998,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:45:49] local.INFO: IMEI packet received {"connection_id":132998,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":132998,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:45:51] local.INFO: TCP Data received {"connection_id":132998,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0b1ce0012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0b1ce0012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:45:51] local.INFO: Processing buffer {"connection_id":132998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0b1ce0012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:45:51] local.INFO: Packet analysis {"connection_id":132998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0b"} 
[2026-07-13 20:45:51] local.INFO: Extracted packet for processing {"connection_id":132998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0b"} 
[2026-07-13 20:45:51] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 20:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692571904001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:45:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946618368,"note":"Value kept but may cause issues"} 
[2026-07-13 20:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783955660000,"timestamp_ms":1783955660000,"timestamp_seconds":1783955660,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0b1ce0"} 
[2026-07-13 20:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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-07-13 20: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-07-13 20:45:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":132998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":132998,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":132998,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692571904001,"66":25397,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575315568946618368},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692571904001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:45:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:45:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:45:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946618368,"description":"Unknown IO ID 44"} 
[2026-07-13 20:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692571904001,"power":25397,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575315568946618368}} 
[2026-07-13 20:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":132998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482127,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:45:51] local.INFO: GPS data processed {"connection_id":132998,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:45:51] local.INFO: Acknowledgment sent {"connection_id":132998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:45:53] local.INFO: TCP Data received {"connection_id":130854,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:45:53] local.INFO: Processing buffer {"connection_id":130854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:45:53] local.INFO: IMEI packet received {"connection_id":130854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":130854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:45:55] local.INFO: TCP Data received {"connection_id":132998,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0b1ce0012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0b1ce0012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:45:55] local.INFO: Processing buffer {"connection_id":132998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0b1ce0012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:45:55] local.INFO: Packet analysis {"connection_id":132998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0b"} 
[2026-07-13 20:45:55] local.INFO: Extracted packet for processing {"connection_id":132998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0b"} 
[2026-07-13 20:45:55] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 20:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692571904001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:45:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946618368,"note":"Value kept but may cause issues"} 
[2026-07-13 20:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783955660000,"timestamp_ms":1783955660000,"timestamp_seconds":1783955660,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0b1ce0"} 
[2026-07-13 20:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 20:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":132998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":132998,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":132998,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692571904001,"66":25397,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575315568946618368},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692571904001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:45:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:45:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:45:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946618368,"description":"Unknown IO ID 44"} 
[2026-07-13 20:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692571904001,"power":25397,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575315568946618368}} 
[2026-07-13 20:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":132998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482128,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:45:55] local.INFO: GPS data processed {"connection_id":132998,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:45:55] local.INFO: Acknowledgment sent {"connection_id":132998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:45:57] local.INFO: TCP Data received {"connection_id":130854,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:45:57] local.INFO: Processing buffer {"connection_id":130854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:45:57] local.INFO: IMEI packet received {"connection_id":130854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":130854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:45:58] local.INFO: TCP Data received {"connection_id":130854,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0b8a40012d1a6a40071fd9580035012825..."} 
[2026-07-13 20:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0b8a40012d1a6a40071fd9580035012825..."} 
[2026-07-13 20:45:58] local.INFO: Processing buffer {"connection_id":130854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0b8a40012d1a6a40071fd9580035012825..."} 
[2026-07-13 20:45:58] local.INFO: Packet analysis {"connection_id":130854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0b"} 
[2026-07-13 20:45:58] local.INFO: Extracted packet for processing {"connection_id":130854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0b"} 
[2026-07-13 20:45:58] local.INFO: GPS Element Parsed {"raw_longitude":756705856,"raw_latitude":119527768,"longitude_deg":75.6705856,"latitude_deg":11.9527768,"altitude":53,"angle":296,"satellites":37,"speed":26,"hex_longitude":"2d1a6a40","hex_latitude":"071fd958","is_valid_coordinates":true} 
[2026-07-13 20:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692655104001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6001413637275648,"note":"Value kept but may cause issues"} 
[2026-07-13 20:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1905655991674064896,"note":"Value kept but may cause issues"} 
[2026-07-13 20:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783955688000,"timestamp_ms":1783955688000,"timestamp_seconds":1783955688,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0b8a40"} 
[2026-07-13 20:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-13 20:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692655104001,"66":13319,"101":206,"83":41984,"24":26,"16":6001413637275648,"45":1905655991674064896},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-13 20:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692655104001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:45:58] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-13 20:45:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6001413637275648,"km_value":6001413637275.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1905655991674064896,"description":"Unknown IO ID 45"} 
[2026-07-13 20:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692655104001,"power":13319,"unknown_101":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1905655991674064896}} 
[2026-07-13 20:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":130854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:45:58] local.INFO: GPS data processed {"connection_id":130854,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:45:58] local.INFO: Acknowledgment sent {"connection_id":130854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:46:30] local.INFO: TCP Data received {"connection_id":130854,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0c5560012d19dc8007200680002b00d826..."} 
[2026-07-13 20:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0c5560012d19dc8007200680002b00d826..."} 
[2026-07-13 20:46:30] local.INFO: Processing buffer {"connection_id":130854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0c5560012d19dc8007200680002b00d826..."} 
[2026-07-13 20:46:30] local.INFO: Packet analysis {"connection_id":130854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0c"} 
[2026-07-13 20:46:30] local.INFO: Extracted packet for processing {"connection_id":130854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0c"} 
[2026-07-13 20:46:30] local.INFO: GPS Element Parsed {"raw_longitude":756669568,"raw_latitude":119539328,"longitude_deg":75.6669568,"latitude_deg":11.9539328,"altitude":43,"angle":216,"satellites":38,"speed":12,"hex_longitude":"2d19dc80","hex_latitude":"07200680","is_valid_coordinates":true} 
[2026-07-13 20:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692668928001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6003307717853184,"note":"Value kept but may cause issues"} 
[2026-07-13 20:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863927326380146688,"note":"Value kept but may cause issues"} 
[2026-07-13 20:46: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-07-13 20:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783955740000,"timestamp_ms":1783955740000,"timestamp_seconds":1783955740,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0c5560"} 
[2026-07-13 20:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-13 20:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":130854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":130854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":130854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692668928001,"66":13396,"101":206,"83":41984,"24":12,"16":6003307717853184,"45":1863927326380146688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-13 20:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692668928001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:46:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-13 20:46:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6003307717853184,"km_value":6003307717853.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863927326380146688,"description":"Unknown IO ID 45"} 
[2026-07-13 20:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692668928001,"power":13396,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1863927326380146688}} 
[2026-07-13 20:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":130854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:46:30] local.INFO: GPS data processed {"connection_id":130854,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:46:30] local.INFO: Acknowledgment sent {"connection_id":130854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:46:39] local.INFO: TCP Data received {"connection_id":132999,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132999,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:46:39] local.INFO: Processing buffer {"connection_id":132999,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:46:39] local.INFO: IMEI packet received {"connection_id":132999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":132999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:46:44] local.INFO: TCP Data received {"connection_id":132999,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132999,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:46:44] local.INFO: Processing buffer {"connection_id":132999,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:46:44] local.INFO: IMEI packet received {"connection_id":132999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":132999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:46:45] local.INFO: TCP Data received {"connection_id":132999,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0b1ce0012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0b1ce0012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:46:45] local.INFO: Processing buffer {"connection_id":132999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0b1ce0012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:46:45] local.INFO: Packet analysis {"connection_id":132999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0b"} 
[2026-07-13 20:46:45] local.INFO: Extracted packet for processing {"connection_id":132999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0b"} 
[2026-07-13 20:46:45] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 20:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692571904001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:46:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946618368,"note":"Value kept but may cause issues"} 
[2026-07-13 20:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783955660000,"timestamp_ms":1783955660000,"timestamp_seconds":1783955660,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0b1ce0"} 
[2026-07-13 20:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 20:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":132999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":132999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":132999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692571904001,"66":25397,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575315568946618368},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692571904001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:46:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:46:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:46:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946618368,"description":"Unknown IO ID 44"} 
[2026-07-13 20:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692571904001,"power":25397,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575315568946618368}} 
[2026-07-13 20:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":132999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482131,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:46:46] local.INFO: GPS data processed {"connection_id":132999,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:46:46] local.INFO: Acknowledgment sent {"connection_id":132999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:46:51] local.INFO: TCP Data received {"connection_id":130639,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:46:51] local.INFO: Processing buffer {"connection_id":130639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:46:51] local.INFO: IMEI packet received {"connection_id":130639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":130639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:46:52] local.INFO: TCP Data received {"connection_id":130639,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:46:52] local.INFO: Processing buffer {"connection_id":130639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:46:52] local.INFO: IMEI packet received {"connection_id":130639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":130639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:46:57] local.INFO: TCP Data received {"connection_id":130639,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:46:57] local.INFO: Processing buffer {"connection_id":130639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:46:57] local.INFO: IMEI packet received {"connection_id":130639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":130639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:46:58] local.INFO: TCP Data received {"connection_id":130639,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0c70b8012d19d680071ffe98002b00e725..."} 
[2026-07-13 20:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0c70b8012d19d680071ffe98002b00e725..."} 
[2026-07-13 20:46:58] local.INFO: Processing buffer {"connection_id":130639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0c70b8012d19d680071ffe98002b00e725..."} 
[2026-07-13 20:46:58] local.INFO: Packet analysis {"connection_id":130639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0c"} 
[2026-07-13 20:46:58] local.INFO: Extracted packet for processing {"connection_id":130639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0c"} 
[2026-07-13 20:46:58] local.INFO: GPS Element Parsed {"raw_longitude":756668032,"raw_latitude":119537304,"longitude_deg":75.6668032,"latitude_deg":11.9537304,"altitude":43,"angle":231,"satellites":37,"speed":18,"hex_longitude":"2d19d680","hex_latitude":"071ffe98","is_valid_coordinates":true} 
[2026-07-13 20:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692669440001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6003427976937472,"note":"Value kept but may cause issues"} 
[2026-07-13 20:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863505113914966016,"note":"Value kept but may cause issues"} 
[2026-07-13 20:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783955747000,"timestamp_ms":1783955747000,"timestamp_seconds":1783955747,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0c70b8"} 
[2026-07-13 20:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-13 20:46:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692669440001,"66":13515,"101":206,"83":41984,"24":18,"16":6003427976937472,"45":1863505113914966016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-13 20:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692669440001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:46:58] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-13 20:46:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6003427976937472,"km_value":6003427976937.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863505113914966016,"description":"Unknown IO ID 45"} 
[2026-07-13 20:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692669440001,"power":13515,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1863505113914966016}} 
[2026-07-13 20:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":130639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:46:58] local.INFO: GPS data processed {"connection_id":130639,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:46:58] local.INFO: Acknowledgment sent {"connection_id":130639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:47:17] local.INFO: TCP Data received {"connection_id":132999,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0cce78012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":132999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0cce78012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:47:17] local.INFO: Processing buffer {"connection_id":132999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0cce78012cb2a08007823b60004a00d422..."} 
[2026-07-13 20:47:17] local.INFO: Packet analysis {"connection_id":132999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0c"} 
[2026-07-13 20:47:17] local.INFO: Extracted packet for processing {"connection_id":132999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0c"} 
[2026-07-13 20:47:17] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975392,"longitude_deg":74.9904,"latitude_deg":12.5975392,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-13 20:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692648960001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:47:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946618368,"note":"Value kept but may cause issues"} 
[2026-07-13 20:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783955771000,"timestamp_ms":1783955771000,"timestamp_seconds":1783955771,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0cce78"} 
[2026-07-13 20:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:47: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-07-13 20:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-13 20:47:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":132999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":132999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":132999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692648960001,"66":25375,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575315568946618368},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692648960001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:47:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:47:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:47:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946618368,"description":"Unknown IO ID 44"} 
[2026-07-13 20:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692648960001,"power":25375,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575315568946618368}} 
[2026-07-13 20:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":132999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482133,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:47:17] local.INFO: GPS data processed {"connection_id":132999,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:47:17] local.INFO: Acknowledgment sent {"connection_id":132999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:47:30] local.INFO: TCP Data received {"connection_id":130639,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0d4f60012d198180071fed78003b00e525..."} 
[2026-07-13 20:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0d4f60012d198180071fed78003b00e525..."} 
[2026-07-13 20:47:30] local.INFO: Processing buffer {"connection_id":130639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0d4f60012d198180071fed78003b00e525..."} 
[2026-07-13 20:47:30] local.INFO: Packet analysis {"connection_id":130639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0d"} 
[2026-07-13 20:47:30] local.INFO: Extracted packet for processing {"connection_id":130639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0d"} 
[2026-07-13 20:47:30] local.INFO: GPS Element Parsed {"raw_longitude":756646272,"raw_latitude":119532920,"longitude_deg":75.6646272,"latitude_deg":11.953292,"altitude":59,"angle":229,"satellites":37,"speed":16,"hex_longitude":"2d198180","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-07-13 20:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692685312001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6004557553336320,"note":"Value kept but may cause issues"} 
[2026-07-13 20:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838664947218737152,"note":"Value kept but may cause issues"} 
[2026-07-13 20:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783955804000,"timestamp_ms":1783955804000,"timestamp_seconds":1783955804,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0d4f60"} 
[2026-07-13 20:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-13 20:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:47:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":130639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":130639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":130639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692685312001,"66":13363,"102":206,"83":41984,"24":16,"16":6004557553336320,"45":1838664947218737152},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 20:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692685312001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:47:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 20:47:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6004557553336320,"km_value":6004557553336.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838664947218737152,"description":"Unknown IO ID 45"} 
[2026-07-13 20:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692685312001,"power":13363,"unknown_102":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1838664947218737152}} 
[2026-07-13 20:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":130639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:47:30] local.INFO: GPS data processed {"connection_id":130639,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:47:30] local.INFO: Acknowledgment sent {"connection_id":130639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:47:39] local.INFO: TCP Data received {"connection_id":131673,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:47:39] local.INFO: Processing buffer {"connection_id":131673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:47:39] local.INFO: IMEI packet received {"connection_id":131673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":131673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:47:44] local.INFO: TCP Data received {"connection_id":131673,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:47:44] local.INFO: Processing buffer {"connection_id":131673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:47:44] local.INFO: IMEI packet received {"connection_id":131673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":131673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:47:45] local.INFO: TCP Data received {"connection_id":131673,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0d3408012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0d3408012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:47:45] local.INFO: Processing buffer {"connection_id":131673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0d3408012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:47:45] local.INFO: Packet analysis {"connection_id":131673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0d"} 
[2026-07-13 20:47:45] local.INFO: Extracted packet for processing {"connection_id":131673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0d"} 
[2026-07-13 20:47:45] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692677376001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:47:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946618368,"note":"Value kept but may cause issues"} 
[2026-07-13 20:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783955797000,"timestamp_ms":1783955797000,"timestamp_seconds":1783955797,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0d3408"} 
[2026-07-13 20:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-13 20:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692677376001,"66":27876,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575315568946618368},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692677376001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:47:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:47:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:47:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946618368,"description":"Unknown IO ID 44"} 
[2026-07-13 20:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692677376001,"power":27876,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575315568946618368}} 
[2026-07-13 20:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":131673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482135,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:47:45] local.INFO: GPS data processed {"connection_id":131673,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:47:45] local.INFO: Acknowledgment sent {"connection_id":131673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:47:52] local.INFO: TCP Data received {"connection_id":130855,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:47:52] local.INFO: Processing buffer {"connection_id":130855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:47:52] local.INFO: IMEI packet received {"connection_id":130855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":130855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:47:54] local.INFO: TCP Data received {"connection_id":130855,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:47:54] local.INFO: Processing buffer {"connection_id":130855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:47:54] local.INFO: IMEI packet received {"connection_id":130855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":130855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:47:55] local.INFO: TCP Data received {"connection_id":130855,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:47:55] local.INFO: Processing buffer {"connection_id":130855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:47:55] local.INFO: IMEI packet received {"connection_id":130855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":130855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:47:56] local.INFO: TCP Data received {"connection_id":130855,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:47:56] local.INFO: Processing buffer {"connection_id":130855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:47:56] local.INFO: IMEI packet received {"connection_id":130855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":130855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:48:17] local.INFO: TCP Data received {"connection_id":131673,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0d8610012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0d8610012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:48:17] local.INFO: Processing buffer {"connection_id":131673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0d8610012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:48:17] local.INFO: Packet analysis {"connection_id":131673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0d"} 
[2026-07-13 20:48:17] local.INFO: Extracted packet for processing {"connection_id":131673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0d"} 
[2026-07-13 20:48:17] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692684032001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:48:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783955818000,"timestamp_ms":1783955818000,"timestamp_seconds":1783955818,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0d8610"} 
[2026-07-13 20:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":228,"data_length":795,"current_offset":136} 
[2026-07-13 20:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692684032001,"66":27691,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692684032001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:48:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:48:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:48:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692684032001,"power":27691,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":131673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482136,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:48:17] local.INFO: GPS data processed {"connection_id":131673,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:48:17] local.INFO: Acknowledgment sent {"connection_id":131673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:48:39] local.INFO: TCP Data received {"connection_id":133003,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133003,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:48:39] local.INFO: Processing buffer {"connection_id":133003,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:48:39] local.INFO: IMEI packet received {"connection_id":133003,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":133003,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:48:40] local.INFO: TCP Data received {"connection_id":133003,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133003,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:48:40] local.INFO: Processing buffer {"connection_id":133003,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:48:40] local.INFO: IMEI packet received {"connection_id":133003,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":133003,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:48:44] local.INFO: TCP Data received {"connection_id":133003,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133003,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:48:44] local.INFO: Processing buffer {"connection_id":133003,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:48:44] local.INFO: IMEI packet received {"connection_id":133003,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":133003,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:48:46] local.INFO: TCP Data received {"connection_id":133003,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0dd818012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0dd818012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:48:46] local.INFO: Processing buffer {"connection_id":133003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0dd818012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:48:46] local.INFO: Packet analysis {"connection_id":133003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0d"} 
[2026-07-13 20:48:46] local.INFO: Extracted packet for processing {"connection_id":133003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0d"} 
[2026-07-13 20:48:46] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692689408001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:48:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783955839000,"timestamp_ms":1783955839000,"timestamp_seconds":1783955839,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0dd818"} 
[2026-07-13 20:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-13 20:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":133003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":133003,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":133003,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692689408001,"66":27767,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692689408001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:48:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:48:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:48:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692689408001,"power":27767,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":133003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482137,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:48:46] local.INFO: GPS data processed {"connection_id":133003,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:48:46] local.INFO: Acknowledgment sent {"connection_id":133003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:49:00] local.INFO: TCP Data received {"connection_id":133002,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:49:00] local.INFO: Processing buffer {"connection_id":133002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:49:00] local.INFO: IMEI packet received {"connection_id":133002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":133002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:49:01] local.INFO: TCP Data received {"connection_id":133002,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0b4008012d7f914005afd9380017011b23..."} 
[2026-07-13 20:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0b4008012d7f914005afd9380017011b23..."} 
[2026-07-13 20:49:01] local.INFO: Processing buffer {"connection_id":133002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0b4008012d7f914005afd9380017011b23..."} 
[2026-07-13 20:49:01] local.INFO: Packet analysis {"connection_id":133002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0b"} 
[2026-07-13 20:49:01] local.INFO: Extracted packet for processing {"connection_id":133002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0b"} 
[2026-07-13 20:49:01] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":23,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692574208001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783955669000,"timestamp_ms":1783955669000,"timestamp_seconds":1783955669,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0b4008"} 
[2026-07-13 20:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":133002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":133002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":133002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692574208001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692574208001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:49:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:49:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692574208001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":133002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:49:01] local.INFO: GPS data processed {"connection_id":133002,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:49:01] local.INFO: Acknowledgment sent {"connection_id":133002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:49:18] local.INFO: TCP Data received {"connection_id":133003,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0e2a20012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0e2a20012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:49:18] local.INFO: Processing buffer {"connection_id":133003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0e2a20012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:49:18] local.INFO: Packet analysis {"connection_id":133003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0e"} 
[2026-07-13 20:49:18] local.INFO: Extracted packet for processing {"connection_id":133003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0e"} 
[2026-07-13 20:49:18] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692694784001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:49:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783955860000,"timestamp_ms":1783955860000,"timestamp_seconds":1783955860,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0e2a20"} 
[2026-07-13 20:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-13 20:49: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-07-13 20:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":133003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":133003,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":133003,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692694784001,"66":27974,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692694784001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:49:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:49:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:49:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692694784001,"power":27974,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":133003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482139,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:49:18] local.INFO: GPS data processed {"connection_id":133003,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:49:18] local.INFO: Acknowledgment sent {"connection_id":133003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:49:43] local.INFO: TCP Data received {"connection_id":131675,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:49:43] local.INFO: Processing buffer {"connection_id":131675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:49:43] local.INFO: IMEI packet received {"connection_id":131675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":131675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:49:45] local.INFO: TCP Data received {"connection_id":131674,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:49:45] local.INFO: Processing buffer {"connection_id":131674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:49:45] local.INFO: IMEI packet received {"connection_id":131674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":131674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:49:46] local.INFO: TCP Data received {"connection_id":131674,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:49:46] local.INFO: Processing buffer {"connection_id":131674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:49:46] local.INFO: IMEI packet received {"connection_id":131674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":131674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:49:49] local.INFO: TCP Data received {"connection_id":131675,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:49:49] local.INFO: Processing buffer {"connection_id":131675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:49:49] local.INFO: IMEI packet received {"connection_id":131675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":131675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:49:50] local.INFO: TCP Data received {"connection_id":131674,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:49:50] local.INFO: Processing buffer {"connection_id":131674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:49:50] local.INFO: IMEI packet received {"connection_id":131674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":131674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:49:50] local.INFO: TCP Data received {"connection_id":131675,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0b4008012d7f914005afd9380017011b23..."} 
[2026-07-13 20:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0b4008012d7f914005afd9380017011b23..."} 
[2026-07-13 20:49:50] local.INFO: Processing buffer {"connection_id":131675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0b4008012d7f914005afd9380017011b23..."} 
[2026-07-13 20:49:50] local.INFO: Packet analysis {"connection_id":131675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0b"} 
[2026-07-13 20:49:50] local.INFO: Extracted packet for processing {"connection_id":131675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0b"} 
[2026-07-13 20:49:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":23,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692574208001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783955669000,"timestamp_ms":1783955669000,"timestamp_seconds":1783955669,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0b4008"} 
[2026-07-13 20:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:49:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:49:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:49:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:49: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-07-13 20:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692574208001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692574208001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:49:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:49:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692574208001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":131675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:49:50] local.INFO: GPS data processed {"connection_id":131675,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:49:50] local.INFO: Acknowledgment sent {"connection_id":131675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:49:54] local.INFO: TCP Data received {"connection_id":131674,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0e7c28012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0e7c28012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:49:54] local.INFO: Processing buffer {"connection_id":131674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0e7c28012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:49:54] local.INFO: Packet analysis {"connection_id":131674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0e"} 
[2026-07-13 20:49:54] local.INFO: Extracted packet for processing {"connection_id":131674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0e"} 
[2026-07-13 20:49:54] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692700160001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:49:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783955881000,"timestamp_ms":1783955881000,"timestamp_seconds":1783955881,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0e7c28"} 
[2026-07-13 20:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-13 20:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":131674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":131674,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":131674,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692700160001,"66":27604,"28":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-07-13 20:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692700160001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:49:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 20:49:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:49:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692700160001,"power":27604,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":131674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482141,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:49:54] local.INFO: GPS data processed {"connection_id":131674,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:49:54] local.INFO: Acknowledgment sent {"connection_id":131674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:49:55] local.INFO: TCP Data received {"connection_id":131674,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0ece30012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0ece30012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:49:55] local.INFO: Processing buffer {"connection_id":131674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0ece30012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:49:55] local.INFO: Packet analysis {"connection_id":131674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0e"} 
[2026-07-13 20:49:55] local.INFO: Extracted packet for processing {"connection_id":131674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0e"} 
[2026-07-13 20:49:55] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692705536001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:49:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783955902000,"timestamp_ms":1783955902000,"timestamp_seconds":1783955902,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0ece30"} 
[2026-07-13 20:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-13 20:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":131674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":131674,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":131674,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692705536001,"66":27995,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692705536001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:49:55] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:49:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:49:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692705536001,"power":27995,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":131674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482142,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:49:55] local.INFO: GPS data processed {"connection_id":131674,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:49:55] local.INFO: Acknowledgment sent {"connection_id":131674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:50:39] local.INFO: TCP Data received {"connection_id":131676,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:50:39] local.INFO: Processing buffer {"connection_id":131676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:50:39] local.INFO: IMEI packet received {"connection_id":131676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":131676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:50:39] local.INFO: TCP Data received {"connection_id":130640,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130640,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:50:39] local.INFO: Processing buffer {"connection_id":130640,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:50:39] local.INFO: IMEI packet received {"connection_id":130640,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":130640,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:50:44] local.INFO: TCP Data received {"connection_id":131676,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:50:44] local.INFO: Processing buffer {"connection_id":131676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:50:44] local.INFO: IMEI packet received {"connection_id":131676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":131676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:50:44] local.INFO: TCP Data received {"connection_id":130640,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130640,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:50:44] local.INFO: Processing buffer {"connection_id":130640,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:50:44] local.INFO: IMEI packet received {"connection_id":130640,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":130640,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:50:45] local.INFO: TCP Data received {"connection_id":131676,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0fd7d0012d7f914005afd9380019011b20..."} 
[2026-07-13 20:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0fd7d0012d7f914005afd9380019011b20..."} 
[2026-07-13 20:50:45] local.INFO: Processing buffer {"connection_id":131676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0fd7d0012d7f914005afd9380019011b20..."} 
[2026-07-13 20:50:45] local.INFO: Packet analysis {"connection_id":131676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:50:45] local.INFO: Extracted packet for processing {"connection_id":131676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:50:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692651264001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783955970000,"timestamp_ms":1783955970000,"timestamp_seconds":1783955970,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0fd7d0"} 
[2026-07-13 20:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 20:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692651264001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692651264001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:50:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:50:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692651264001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":131676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:50:45] local.INFO: GPS data processed {"connection_id":131676,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:50:45] local.INFO: Acknowledgment sent {"connection_id":131676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:50:46] local.INFO: TCP Data received {"connection_id":130640,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0f2038012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0f2038012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:50:46] local.INFO: Processing buffer {"connection_id":130640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0f2038012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:50:46] local.INFO: Packet analysis {"connection_id":130640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:50:46] local.INFO: Extracted packet for processing {"connection_id":130640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:50:46] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 20:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692710912001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:50:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783955923000,"timestamp_ms":1783955923000,"timestamp_seconds":1783955923,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0f2038"} 
[2026-07-13 20:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-13 20:50:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130640,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130640,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692710912001,"66":27843,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692710912001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:50:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:50:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:50:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692710912001,"power":27843,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":130640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482144,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:50:46] local.INFO: GPS data processed {"connection_id":130640,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:50:46] local.INFO: Acknowledgment sent {"connection_id":130640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:50:49] local.INFO: TCP Data received {"connection_id":131676,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0fd7d0012d7f914005afd9380019011b20..."} 
[2026-07-13 20:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0fd7d0012d7f914005afd9380019011b20..."} 
[2026-07-13 20:50:49] local.INFO: Processing buffer {"connection_id":131676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0fd7d0012d7f914005afd9380019011b20..."} 
[2026-07-13 20:50:49] local.INFO: Packet analysis {"connection_id":131676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:50:49] local.INFO: Extracted packet for processing {"connection_id":131676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:50:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692651264001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783955970000,"timestamp_ms":1783955970000,"timestamp_seconds":1783955970,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0fd7d0"} 
[2026-07-13 20:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 20:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:50: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-07-13 20:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692651264001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692651264001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:50:49] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:50:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692651264001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":131676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:50:49] local.INFO: GPS data processed {"connection_id":131676,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:50:49] local.INFO: Acknowledgment sent {"connection_id":131676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:51:17] local.INFO: TCP Data received {"connection_id":130640,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0f7240012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0f7240012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:51:17] local.INFO: Processing buffer {"connection_id":130640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0f7240012cb29fc007823bc8004a00d422..."} 
[2026-07-13 20:51:17] local.INFO: Packet analysis {"connection_id":130640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:51:17] local.INFO: Extracted packet for processing {"connection_id":130640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:51:17] local.INFO: GPS Element Parsed {"raw_longitude":749903808,"raw_latitude":125975496,"longitude_deg":74.9903808,"latitude_deg":12.5975496,"altitude":74,"angle":212,"satellites":34,"speed":0,"hex_longitude":"2cb29fc0","hex_latitude":"07823bc8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 20:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692716288001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:51:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783955944000,"timestamp_ms":1783955944000,"timestamp_seconds":1783955944,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0f7240"} 
[2026-07-13 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-07-13 20:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-13 20:51: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-07-13 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-07-13 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-07-13 20:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130640,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130640,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692716288001,"66":27767,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5575526675179124736},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692716288001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:51:17] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:51:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:51:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179124736,"description":"Unknown IO ID 44"} 
[2026-07-13 20:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692716288001,"power":27767,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575526675179124736}} 
[2026-07-13 20:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":130640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482146,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:51:17] local.INFO: GPS data processed {"connection_id":130640,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:51:17] local.INFO: Acknowledgment sent {"connection_id":130640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:51:33] local.INFO: TCP Data received {"connection_id":133006,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:51:33] local.INFO: Processing buffer {"connection_id":133006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:51:33] local.INFO: IMEI packet received {"connection_id":133006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":133006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:51:39] local.INFO: TCP Data received {"connection_id":133006,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:51:39] local.INFO: Processing buffer {"connection_id":133006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:51:39] local.INFO: IMEI packet received {"connection_id":133006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":133006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:51:39] local.INFO: TCP Data received {"connection_id":133007,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:51:39] local.INFO: Processing buffer {"connection_id":133007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:51:39] local.INFO: IMEI packet received {"connection_id":133007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":133007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:51:39] local.INFO: TCP Data received {"connection_id":133006,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0fd7d0012d7f914005afd9380019011b20..."} 
[2026-07-13 20:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0fd7d0012d7f914005afd9380019011b20..."} 
[2026-07-13 20:51:39] local.INFO: Processing buffer {"connection_id":133006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0fd7d0012d7f914005afd9380019011b20..."} 
[2026-07-13 20:51:39] local.INFO: Packet analysis {"connection_id":133006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:51:39] local.INFO: Extracted packet for processing {"connection_id":133006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:51:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 20:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692651264001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783955970000,"timestamp_ms":1783955970000,"timestamp_seconds":1783955970,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0fd7d0"} 
[2026-07-13 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-07-13 20:51: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-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 20:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 20:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692651264001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692651264001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:51:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:51:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692651264001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":133006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:51:39] local.INFO: GPS data processed {"connection_id":133006,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:51:39] local.INFO: Acknowledgment sent {"connection_id":133006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:51:44] local.INFO: TCP Data received {"connection_id":133007,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:51:44] local.INFO: Processing buffer {"connection_id":133007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:51:44] local.INFO: IMEI packet received {"connection_id":133007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":133007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:51:46] local.INFO: TCP Data received {"connection_id":133007,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1058b80100000000000000000000000000..."} 
[2026-07-13 20:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1058b80100000000000000000000000000..."} 
[2026-07-13 20:51:46] local.INFO: Processing buffer {"connection_id":133007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1058b80100000000000000000000000000..."} 
[2026-07-13 20:51:46] local.INFO: Packet analysis {"connection_id":133007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c10"} 
[2026-07-13 20:51:46] local.INFO: Extracted packet for processing {"connection_id":133007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c10"} 
[2026-07-13 20:51: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-07-13 20:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692721664001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:51:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179124736,"note":"Value kept but may cause issues"} 
[2026-07-13 20:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783956003000,"timestamp_ms":1783956003000,"timestamp_seconds":1783956003,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1058b8"} 
[2026-07-13 20:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-13 20:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":133007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":133007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":133007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":133007,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 20:51:46] local.INFO: GPS data processed {"connection_id":133007,"processed":0,"errors":0,"total":1} 
[2026-07-13 20:51:46] local.INFO: Acknowledgment sent {"connection_id":133007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:52:17] local.INFO: TCP Data received {"connection_id":133006,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0fd7d0012d7f914005afd9380019011b20..."} 
[2026-07-13 20:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0fd7d0012d7f914005afd9380019011b20..."} 
[2026-07-13 20:52:17] local.INFO: Processing buffer {"connection_id":133006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0fd7d0012d7f914005afd9380019011b20..."} 
[2026-07-13 20:52:17] local.INFO: Packet analysis {"connection_id":133006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:52:17] local.INFO: Extracted packet for processing {"connection_id":133006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:52:17] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 20:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692651264001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783955970000,"timestamp_ms":1783955970000,"timestamp_seconds":1783955970,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0fd7d0"} 
[2026-07-13 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-07-13 20:52: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-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 20:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 20:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":133006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":133006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":133006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:52: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-07-13 20:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692651264001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692651264001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:52:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:52:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692651264001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":133006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:52:17] local.INFO: GPS data processed {"connection_id":133006,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:52:17] local.INFO: Acknowledgment sent {"connection_id":133006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:52:19] local.INFO: TCP Data received {"connection_id":133007,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0feb58012cb2934007821a58004800cb2e..."} 
[2026-07-13 20:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0feb58012cb2934007821a58004800cb2e..."} 
[2026-07-13 20:52:19] local.INFO: Processing buffer {"connection_id":133007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0feb58012cb2934007821a58004800cb2e..."} 
[2026-07-13 20:52:19] local.INFO: Packet analysis {"connection_id":133007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:52:19] local.INFO: Extracted packet for processing {"connection_id":133007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:52:19] local.INFO: GPS Element Parsed {"raw_longitude":749900608,"raw_latitude":125966936,"longitude_deg":74.9900608,"latitude_deg":12.5966936,"altitude":72,"angle":203,"satellites":46,"speed":2,"hex_longitude":"2cb29340","hex_latitude":"07821a58","is_valid_coordinates":true} 
[2026-07-13 20: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-07-13 20:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:52:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,126,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 20:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783955975000,"timestamp_ms":1783955975000,"timestamp_seconds":1783955975,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0feb58"} 
[2026-07-13 20:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:52: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":173,"data_length":795,"current_offset":136} 
[2026-07-13 20:52: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-07-13 20: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-07-13 20:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":133007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":133007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":133007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27832,"126":206,"27":54016,"24":2,"16":135462516896563200},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16]} 
[2026-07-13 20:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-13 20:52:19] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:52:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:52:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27832,"unknown_126":206,"unknown_27":54016,"ignition":2,"odometer":null}} 
[2026-07-13 20:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":133007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482149,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:52:19] local.INFO: GPS data processed {"connection_id":133007,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:52:19] local.INFO: Acknowledgment sent {"connection_id":133007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:52:33] local.INFO: TCP Data received {"connection_id":133008,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:52:33] local.INFO: Processing buffer {"connection_id":133008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:52:33] local.INFO: IMEI packet received {"connection_id":133008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":133008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:52:39] local.INFO: TCP Data received {"connection_id":130641,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:52:39] local.INFO: Processing buffer {"connection_id":130641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:52:39] local.INFO: IMEI packet received {"connection_id":130641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":130641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:52:39] local.INFO: TCP Data received {"connection_id":133008,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:52:39] local.INFO: Processing buffer {"connection_id":133008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:52:39] local.INFO: IMEI packet received {"connection_id":133008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":133008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:52:43] local.INFO: TCP Data received {"connection_id":130641,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:52:43] local.INFO: Processing buffer {"connection_id":130641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:52:43] local.INFO: IMEI packet received {"connection_id":130641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":130641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:52:44] local.INFO: TCP Data received {"connection_id":130641,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:52:44] local.INFO: Processing buffer {"connection_id":130641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:52:44] local.INFO: IMEI packet received {"connection_id":130641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":130641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:52:45] local.INFO: TCP Data received {"connection_id":130641,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c103d60012cb2934007821a58004800cb2e..."} 
[2026-07-13 20:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c103d60012cb2934007821a58004800cb2e..."} 
[2026-07-13 20:52:45] local.INFO: Processing buffer {"connection_id":130641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c103d60012cb2934007821a58004800cb2e..."} 
[2026-07-13 20:52:45] local.INFO: Packet analysis {"connection_id":130641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c10"} 
[2026-07-13 20:52:45] local.INFO: Extracted packet for processing {"connection_id":130641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c10"} 
[2026-07-13 20:52:45] local.INFO: GPS Element Parsed {"raw_longitude":749900608,"raw_latitude":125966936,"longitude_deg":74.9900608,"latitude_deg":12.5966936,"altitude":72,"angle":203,"satellites":46,"speed":0,"hex_longitude":"2cb29340","hex_latitude":"07821a58","is_valid_coordinates":true} 
[2026-07-13 20: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-07-13 20:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692729600001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:52:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5579045112390199296,"note":"Value kept but may cause issues"} 
[2026-07-13 20:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783955996000,"timestamp_ms":1783955996000,"timestamp_seconds":1783955996,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c103d60"} 
[2026-07-13 20:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":184,"data_length":795,"current_offset":136} 
[2026-07-13 20:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20: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-07-13 20:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692729600001,"66":27984,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5579045112390199296},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692729600001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:52:45] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:52:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:52:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5579045112390199296,"description":"Unknown IO ID 44"} 
[2026-07-13 20:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692729600001,"power":27984,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5579045112390199296}} 
[2026-07-13 20:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":130641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482150,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:52:45] local.INFO: GPS data processed {"connection_id":130641,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:52:45] local.INFO: Acknowledgment sent {"connection_id":130641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:52:48] local.INFO: TCP Data received {"connection_id":133008,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0fd7d0012d7f914005afd9380019011b20..."} 
[2026-07-13 20:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0fd7d0012d7f914005afd9380019011b20..."} 
[2026-07-13 20:52:48] local.INFO: Processing buffer {"connection_id":133008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0fd7d0012d7f914005afd9380019011b20..."} 
[2026-07-13 20:52:48] local.INFO: Packet analysis {"connection_id":133008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:52:48] local.INFO: Extracted packet for processing {"connection_id":133008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:52:48] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692651264001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783955970000,"timestamp_ms":1783955970000,"timestamp_seconds":1783955970,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0fd7d0"} 
[2026-07-13 20:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 20:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:52:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":133008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":133008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":133008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692651264001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692651264001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:52:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:52:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692651264001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":133008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:52:48] local.INFO: GPS data processed {"connection_id":133008,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:52:48] local.INFO: Acknowledgment sent {"connection_id":133008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:52:57] local.INFO: TCP Data received {"connection_id":133009,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:52:57] local.INFO: Processing buffer {"connection_id":133009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:52:57] local.INFO: IMEI packet received {"connection_id":133009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":133009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:52:58] local.INFO: TCP Data received {"connection_id":133009,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0fef40012d194d40071ffb40003f007725..."} 
[2026-07-13 20:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0fef40012d194d40071ffb40003f007725..."} 
[2026-07-13 20:52:58] local.INFO: Processing buffer {"connection_id":133009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0fef40012d194d40071ffb40003f007725..."} 
[2026-07-13 20:52:58] local.INFO: Packet analysis {"connection_id":133009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:52:58] local.INFO: Extracted packet for processing {"connection_id":133009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:52:58] local.INFO: GPS Element Parsed {"raw_longitude":756632896,"raw_latitude":119536448,"longitude_deg":75.6632896,"latitude_deg":11.9536448,"altitude":63,"angle":119,"satellites":37,"speed":7,"hex_longitude":"2d194d40","hex_latitude":"071ffb40","is_valid_coordinates":true} 
[2026-07-13 20:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692729088001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006030727118848,"note":"Value kept but may cause issues"} 
[2026-07-13 20:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822480136058710016,"note":"Value kept but may cause issues"} 
[2026-07-13 20:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783955976000,"timestamp_ms":1783955976000,"timestamp_seconds":1783955976,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0fef40"} 
[2026-07-13 20:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-13 20:52:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":133009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":133009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":133009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:52:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692729088001,"66":13417,"102":206,"83":41984,"24":7,"16":6006030727118848,"45":1822480136058710016},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 20:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692729088001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:52:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 20:52:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006030727118848,"km_value":6006030727118.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822480136058710016,"description":"Unknown IO ID 45"} 
[2026-07-13 20:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692729088001,"power":13417,"unknown_102":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1822480136058710016}} 
[2026-07-13 20:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":133009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:52:58] local.INFO: GPS data processed {"connection_id":133009,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:52:58] local.INFO: Acknowledgment sent {"connection_id":133009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:53:17] local.INFO: TCP Data received {"connection_id":130641,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1123d80100000000000000000000000000..."} 
[2026-07-13 20:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1123d80100000000000000000000000000..."} 
[2026-07-13 20:53:17] local.INFO: Processing buffer {"connection_id":130641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1123d80100000000000000000000000000..."} 
[2026-07-13 20:53:17] local.INFO: Packet analysis {"connection_id":130641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c11"} 
[2026-07-13 20:53:17] local.INFO: Extracted packet for processing {"connection_id":130641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c11"} 
[2026-07-13 20:53:17] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 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-07-13 20:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692734976001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:53:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5579045112390199296,"note":"Value kept but may cause issues"} 
[2026-07-13 20:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783956055000,"timestamp_ms":1783956055000,"timestamp_seconds":1783956055,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1123d8"} 
[2026-07-13 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-07-13 20:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-13 20:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 20:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":130641,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 20:53:17] local.INFO: GPS data processed {"connection_id":130641,"processed":0,"errors":0,"total":1} 
[2026-07-13 20:53:17] local.INFO: Acknowledgment sent {"connection_id":130641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:53:29] local.INFO: TCP Data received {"connection_id":133009,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0ff710012d194e40071ffa58003f008d24..."} 
[2026-07-13 20:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0ff710012d194e40071ffa58003f008d24..."} 
[2026-07-13 20:53:29] local.INFO: Processing buffer {"connection_id":133009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0ff710012d194e40071ffa58003f008d24..."} 
[2026-07-13 20:53:29] local.INFO: Packet analysis {"connection_id":133009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:53:29] local.INFO: Extracted packet for processing {"connection_id":133009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:53:29] local.INFO: GPS Element Parsed {"raw_longitude":756633152,"raw_latitude":119536216,"longitude_deg":75.6633152,"latitude_deg":11.9536216,"altitude":63,"angle":141,"satellites":36,"speed":6,"hex_longitude":"2d194e40","hex_latitude":"071ffa58","is_valid_coordinates":true} 
[2026-07-13 20: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-07-13 20:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692729856001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006047906988032,"note":"Value kept but may cause issues"} 
[2026-07-13 20:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823183823500427264,"note":"Value kept but may cause issues"} 
[2026-07-13 20:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783955978000,"timestamp_ms":1783955978000,"timestamp_seconds":1783955978,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0ff710"} 
[2026-07-13 20:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-13 20:53:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20: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-07-13 20:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":133009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":133009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":133009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:53:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692729856001,"66":13852,"102":206,"83":41984,"24":6,"16":6006047906988032,"45":1823183823500427264},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 20:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692729856001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:53:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 20:53:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006047906988032,"km_value":6006047906988.032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823183823500427264,"description":"Unknown IO ID 45"} 
[2026-07-13 20:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692729856001,"power":13852,"unknown_102":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1823183823500427264}} 
[2026-07-13 20:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":133009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:53:29] local.INFO: GPS data processed {"connection_id":133009,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:53:29] local.INFO: Acknowledgment sent {"connection_id":133009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:53:33] local.INFO: TCP Data received {"connection_id":131677,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:53:33] local.INFO: Processing buffer {"connection_id":131677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:53:33] local.INFO: IMEI packet received {"connection_id":131677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":131677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:53:40] local.INFO: TCP Data received {"connection_id":131677,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:53:40] local.INFO: Processing buffer {"connection_id":131677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:53:40] local.INFO: IMEI packet received {"connection_id":131677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":131677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:53:42] local.INFO: TCP Data received {"connection_id":131677,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0fd7d0012d7f914005afd9380019011b20..."} 
[2026-07-13 20:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0fd7d0012d7f914005afd9380019011b20..."} 
[2026-07-13 20:53:42] local.INFO: Processing buffer {"connection_id":131677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0fd7d0012d7f914005afd9380019011b20..."} 
[2026-07-13 20:53:42] local.INFO: Packet analysis {"connection_id":131677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:53:42] local.INFO: Extracted packet for processing {"connection_id":131677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:53:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20: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-07-13 20:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692651264001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783955970000,"timestamp_ms":1783955970000,"timestamp_seconds":1783955970,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0fd7d0"} 
[2026-07-13 20:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 20:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20: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-07-13 20:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":131677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":131677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":131677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692651264001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692651264001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:53:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:53:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692651264001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":131677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:53:42] local.INFO: GPS data processed {"connection_id":131677,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:53:42] local.INFO: Acknowledgment sent {"connection_id":131677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:53:44] local.INFO: TCP Data received {"connection_id":131677,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0fd7d0012d7f914005afd9380019011b20..."} 
[2026-07-13 20:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0fd7d0012d7f914005afd9380019011b20..."} 
[2026-07-13 20:53:44] local.INFO: Processing buffer {"connection_id":131677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0fd7d0012d7f914005afd9380019011b20..."} 
[2026-07-13 20:53:44] local.INFO: Packet analysis {"connection_id":131677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:53:44] local.INFO: Extracted packet for processing {"connection_id":131677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:53:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692651264001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783955970000,"timestamp_ms":1783955970000,"timestamp_seconds":1783955970,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0fd7d0"} 
[2026-07-13 20:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 20:53:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:53:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":131677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":131677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":131677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692651264001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692651264001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:53:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:53:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692651264001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":131677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:53:44] local.INFO: GPS data processed {"connection_id":131677,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:53:44] local.INFO: Acknowledgment sent {"connection_id":131677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:53:44] local.INFO: TCP Data received {"connection_id":131678,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:53:44] local.INFO: Processing buffer {"connection_id":131678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:53:44] local.INFO: IMEI packet received {"connection_id":131678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":131678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:53:49] local.INFO: TCP Data received {"connection_id":131678,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:53:49] local.INFO: Processing buffer {"connection_id":131678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:53:49] local.INFO: IMEI packet received {"connection_id":131678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":131678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:53:51] local.INFO: TCP Data received {"connection_id":131678,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c10a6d8012cb2c2000781f1c00043007d2e..."} 
[2026-07-13 20:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c10a6d8012cb2c2000781f1c00043007d2e..."} 
[2026-07-13 20:53:51] local.INFO: Processing buffer {"connection_id":131678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c10a6d8012cb2c2000781f1c00043007d2e..."} 
[2026-07-13 20:53:51] local.INFO: Packet analysis {"connection_id":131678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c10"} 
[2026-07-13 20:53:51] local.INFO: Extracted packet for processing {"connection_id":131678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c10"} 
[2026-07-13 20:53:51] local.INFO: GPS Element Parsed {"raw_longitude":749912576,"raw_latitude":125956544,"longitude_deg":74.9912576,"latitude_deg":12.5956544,"altitude":67,"angle":125,"satellites":46,"speed":33,"hex_longitude":"2cb2c200","hex_latitude":"0781f1c0","is_valid_coordinates":true} 
[2026-07-13 20: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-07-13 20:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:53:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,126,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 20:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783956023000,"timestamp_ms":1783956023000,"timestamp_seconds":1783956023,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c10a6d8"} 
[2026-07-13 20:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-13 20:53: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-07-13 20: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-07-13 20:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":131678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":131678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":131678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27843,"126":206,"27":54016,"24":33,"16":135462516896563200},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16]} 
[2026-07-13 20:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-13 20:53:51] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:53:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:53:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27843,"unknown_126":206,"unknown_27":54016,"ignition":33,"odometer":null}} 
[2026-07-13 20:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":131678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482156,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:53:51] local.INFO: GPS data processed {"connection_id":131678,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:53:51] local.INFO: Acknowledgment sent {"connection_id":131678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:53:52] local.INFO: TCP Data received {"connection_id":130858,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:53:52] local.INFO: Processing buffer {"connection_id":130858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:53:52] local.INFO: IMEI packet received {"connection_id":130858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":130858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:53:56] local.INFO: TCP Data received {"connection_id":131678,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c10f110012cb301c00781c908003c005c2f..."} 
[2026-07-13 20:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c10f110012cb301c00781c908003c005c2f..."} 
[2026-07-13 20:53:56] local.INFO: Processing buffer {"connection_id":131678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c10f110012cb301c00781c908003c005c2f..."} 
[2026-07-13 20:53:56] local.INFO: Packet analysis {"connection_id":131678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c10"} 
[2026-07-13 20:53:56] local.INFO: Extracted packet for processing {"connection_id":131678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c10"} 
[2026-07-13 20:53:56] local.INFO: GPS Element Parsed {"raw_longitude":749928896,"raw_latitude":125946120,"longitude_deg":74.9928896,"latitude_deg":12.594612,"altitude":60,"angle":92,"satellites":47,"speed":47,"hex_longitude":"2cb301c0","hex_latitude":"0781c908","is_valid_coordinates":true} 
[2026-07-13 20:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692741888001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:53:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5565886157231636480,"note":"Value kept but may cause issues"} 
[2026-07-13 20:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783956042000,"timestamp_ms":1783956042000,"timestamp_seconds":1783956042,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c10f110"} 
[2026-07-13 20:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":195,"data_length":795,"current_offset":136} 
[2026-07-13 20:53: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-07-13 20:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":131678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":131678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":131678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692741888001,"66":27843,"126":206,"27":54016,"24":47,"16":135462516896563200,"44":-5565886157231636480},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692741888001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:53:56] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:53:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:53:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5565886157231636480,"description":"Unknown IO ID 44"} 
[2026-07-13 20:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692741888001,"power":27843,"unknown_126":206,"unknown_27":54016,"ignition":47,"odometer":null,"unknown_44":-5565886157231636480}} 
[2026-07-13 20:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":131678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482157,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:53:56] local.INFO: GPS data processed {"connection_id":131678,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:53:56] local.INFO: Acknowledgment sent {"connection_id":131678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:53:57] local.INFO: TCP Data received {"connection_id":130858,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:53:57] local.INFO: Processing buffer {"connection_id":130858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:53:57] local.INFO: IMEI packet received {"connection_id":130858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":130858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:53:58] local.INFO: TCP Data received {"connection_id":130858,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0ffaf8012d194e80071ff9b8003f009c24..."} 
[2026-07-13 20:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0ffaf8012d194e80071ff9b8003f009c24..."} 
[2026-07-13 20:53:58] local.INFO: Processing buffer {"connection_id":130858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0ffaf8012d194e80071ff9b8003f009c24..."} 
[2026-07-13 20:53:58] local.INFO: Packet analysis {"connection_id":130858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:53:58] local.INFO: Extracted packet for processing {"connection_id":130858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:53:58] local.INFO: GPS Element Parsed {"raw_longitude":756633216,"raw_latitude":119536056,"longitude_deg":75.6633216,"latitude_deg":11.9536056,"altitude":63,"angle":156,"satellites":36,"speed":8,"hex_longitude":"2d194e80","hex_latitude":"071ff9b8","is_valid_coordinates":true} 
[2026-07-13 20:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692730368001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006056496922624,"note":"Value kept but may cause issues"} 
[2026-07-13 20:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823465298477078528,"note":"Value kept but may cause issues"} 
[2026-07-13 20:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783955979000,"timestamp_ms":1783955979000,"timestamp_seconds":1783955979,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0ffaf8"} 
[2026-07-13 20:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-07-13 20:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692730368001,"66":12993,"102":206,"83":41984,"24":8,"16":6006056496922624,"45":1823465298477078528},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 20:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692730368001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:53:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 20:53:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006056496922624,"km_value":6006056496922.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823465298477078528,"description":"Unknown IO ID 45"} 
[2026-07-13 20:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692730368001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1823465298477078528}} 
[2026-07-13 20:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":130858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:53:58] local.INFO: GPS data processed {"connection_id":130858,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:53:58] local.INFO: Acknowledgment sent {"connection_id":130858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:54:16] local.INFO: TCP Data received {"connection_id":131677,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0fd7d0012d7f914005afd9380019011b20..."} 
[2026-07-13 20:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0fd7d0012d7f914005afd9380019011b20..."} 
[2026-07-13 20:54:16] local.INFO: Processing buffer {"connection_id":131677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0fd7d0012d7f914005afd9380019011b20..."} 
[2026-07-13 20:54:16] local.INFO: Packet analysis {"connection_id":131677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:54:16] local.INFO: Extracted packet for processing {"connection_id":131677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:54:16] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692651264001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783955970000,"timestamp_ms":1783955970000,"timestamp_seconds":1783955970,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0fd7d0"} 
[2026-07-13 20:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 20:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":131677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":131677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":131677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692651264001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692651264001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:54:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:54:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692651264001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":131677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:54:16] local.INFO: GPS data processed {"connection_id":131677,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:54:16] local.INFO: Acknowledgment sent {"connection_id":131677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:54:29] local.INFO: TCP Data received {"connection_id":130858,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0ffee0012d194ec0071ff8e8003e00a824..."} 
[2026-07-13 20:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0ffee0012d194ec0071ff8e8003e00a824..."} 
[2026-07-13 20:54:29] local.INFO: Processing buffer {"connection_id":130858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0ffee0012d194ec0071ff8e8003e00a824..."} 
[2026-07-13 20:54:29] local.INFO: Packet analysis {"connection_id":130858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:54:29] local.INFO: Extracted packet for processing {"connection_id":130858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:54:29] local.INFO: GPS Element Parsed {"raw_longitude":756633280,"raw_latitude":119535848,"longitude_deg":75.663328,"latitude_deg":11.9535848,"altitude":62,"angle":168,"satellites":36,"speed":9,"hex_longitude":"2d194ec0","hex_latitude":"071ff8e8","is_valid_coordinates":true} 
[2026-07-13 20:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692730624001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006065086857216,"note":"Value kept but may cause issues"} 
[2026-07-13 20:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823535667221215232,"note":"Value kept but may cause issues"} 
[2026-07-13 20:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783955980000,"timestamp_ms":1783955980000,"timestamp_seconds":1783955980,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0ffee0"} 
[2026-07-13 20:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-13 20:54:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:54:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692730624001,"66":12993,"102":206,"83":41984,"24":9,"16":6006065086857216,"45":1823535667221215232},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 20:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692730624001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:54:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 20:54:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006065086857216,"km_value":6006065086857.216,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823535667221215232,"description":"Unknown IO ID 45"} 
[2026-07-13 20:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692730624001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1823535667221215232}} 
[2026-07-13 20:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":130858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:54:29] local.INFO: GPS data processed {"connection_id":130858,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:54:29] local.INFO: Acknowledgment sent {"connection_id":130858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:54:39] local.INFO: TCP Data received {"connection_id":133010,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:54:39] local.INFO: Processing buffer {"connection_id":133010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:54:39] local.INFO: IMEI packet received {"connection_id":133010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":133010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:54:39] local.INFO: TCP Data received {"connection_id":131679,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131679,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:54:39] local.INFO: Processing buffer {"connection_id":131679,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:54:39] local.INFO: IMEI packet received {"connection_id":131679,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":131679,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:54:44] local.INFO: TCP Data received {"connection_id":131679,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131679,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:54:44] local.INFO: Processing buffer {"connection_id":131679,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:54:44] local.INFO: IMEI packet received {"connection_id":131679,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":131679,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:54:46] local.INFO: TCP Data received {"connection_id":131679,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c113378012cb347800781b6e80041006f2e..."} 
[2026-07-13 20:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c113378012cb347800781b6e80041006f2e..."} 
[2026-07-13 20:54:46] local.INFO: Processing buffer {"connection_id":131679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c113378012cb347800781b6e80041006f2e..."} 
[2026-07-13 20:54:46] local.INFO: Packet analysis {"connection_id":131679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c11"} 
[2026-07-13 20:54:46] local.INFO: Extracted packet for processing {"connection_id":131679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c11"} 
[2026-07-13 20:54:46] local.INFO: GPS Element Parsed {"raw_longitude":749946752,"raw_latitude":125941480,"longitude_deg":74.9946752,"latitude_deg":12.594148,"altitude":65,"angle":111,"satellites":46,"speed":34,"hex_longitude":"2cb34780","hex_latitude":"0781b6e8","is_valid_coordinates":true} 
[2026-07-13 20:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692746752001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:54:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5547942127469000704,"note":"Value kept but may cause issues"} 
[2026-07-13 20:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783956059000,"timestamp_ms":1783956059000,"timestamp_seconds":1783956059,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c113378"} 
[2026-07-13 20:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-13 20:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131679,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131679,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692746752001,"66":27876,"126":206,"27":54016,"24":34,"16":135462516896563200,"44":-5547942127469000704},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692746752001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:54:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:54:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:54:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5547942127469000704,"description":"Unknown IO ID 44"} 
[2026-07-13 20:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692746752001,"power":27876,"unknown_126":206,"unknown_27":54016,"ignition":34,"odometer":null,"unknown_44":-5547942127469000704}} 
[2026-07-13 20:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":131679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482161,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:54:46] local.INFO: GPS data processed {"connection_id":131679,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:54:46] local.INFO: Acknowledgment sent {"connection_id":131679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:54:49] local.INFO: TCP Data received {"connection_id":133010,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:54:49] local.INFO: Processing buffer {"connection_id":133010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:54:49] local.INFO: IMEI packet received {"connection_id":133010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":133010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:54:52] local.INFO: TCP Data received {"connection_id":131680,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:54:52] local.INFO: Processing buffer {"connection_id":131680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:54:52] local.INFO: IMEI packet received {"connection_id":131680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":131680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:54:53] local.INFO: TCP Data received {"connection_id":133010,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0fd7d0012d7f914005afd9380019011b20..."} 
[2026-07-13 20:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0fd7d0012d7f914005afd9380019011b20..."} 
[2026-07-13 20:54:53] local.INFO: Processing buffer {"connection_id":133010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0fd7d0012d7f914005afd9380019011b20..."} 
[2026-07-13 20:54:53] local.INFO: Packet analysis {"connection_id":133010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:54:53] local.INFO: Extracted packet for processing {"connection_id":133010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:54:53] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20: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-07-13 20:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692651264001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783955970000,"timestamp_ms":1783955970000,"timestamp_seconds":1783955970,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0fd7d0"} 
[2026-07-13 20:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 20:54:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20: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-07-13 20:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":133010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":133010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":133010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692651264001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692651264001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:54:53] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:54:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692651264001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":133010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:54:53] local.INFO: GPS data processed {"connection_id":133010,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:54:53] local.INFO: Acknowledgment sent {"connection_id":133010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:54:56] local.INFO: TCP Data received {"connection_id":133010,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c0fd7d0012d7f914005afd9380019011b20..."} 
[2026-07-13 20:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c0fd7d0012d7f914005afd9380019011b20..."} 
[2026-07-13 20:54:56] local.INFO: Processing buffer {"connection_id":133010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c0fd7d0012d7f914005afd9380019011b20..."} 
[2026-07-13 20:54:56] local.INFO: Packet analysis {"connection_id":133010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:54:56] local.INFO: Extracted packet for processing {"connection_id":133010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c0f"} 
[2026-07-13 20:54:56] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":32,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692651264001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783955970000,"timestamp_ms":1783955970000,"timestamp_seconds":1783955970,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c0fd7d0"} 
[2026-07-13 20:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 20:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20: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-07-13 20:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692651264001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 20:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692651264001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:54:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 20:54:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692651264001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":133010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:54:56] local.INFO: GPS data processed {"connection_id":133010,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:54:56] local.INFO: Acknowledgment sent {"connection_id":133010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:54:57] local.INFO: TCP Data received {"connection_id":131680,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:54:57] local.INFO: Processing buffer {"connection_id":131680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:54:57] local.INFO: IMEI packet received {"connection_id":131680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":131680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:54:58] local.INFO: TCP Data received {"connection_id":131680,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c100a98012d195000071ff5d8003e009124..."} 
[2026-07-13 20:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c100a98012d195000071ff5d8003e009124..."} 
[2026-07-13 20:54:58] local.INFO: Processing buffer {"connection_id":131680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c100a98012d195000071ff5d8003e009124..."} 
[2026-07-13 20:54:58] local.INFO: Packet analysis {"connection_id":131680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c10"} 
[2026-07-13 20:54:58] local.INFO: Extracted packet for processing {"connection_id":131680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c10"} 
[2026-07-13 20:54:58] local.INFO: GPS Element Parsed {"raw_longitude":756633600,"raw_latitude":119535064,"longitude_deg":75.66336,"latitude_deg":11.9535064,"altitude":62,"angle":145,"satellites":36,"speed":12,"hex_longitude":"2d195000","hex_latitude":"071ff5d8","is_valid_coordinates":true} 
[2026-07-13 20:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692730880001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006108036530176,"note":"Value kept but may cause issues"} 
[2026-07-13 20:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823606035965339648,"note":"Value kept but may cause issues"} 
[2026-07-13 20:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783955983000,"timestamp_ms":1783955983000,"timestamp_seconds":1783955983,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c100a98"} 
[2026-07-13 20:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-13 20:54:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:54:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692730880001,"66":12939,"102":206,"83":41984,"24":12,"16":6006108036530176,"45":1823606035965339648},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 20:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692730880001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:54:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 20:54:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006108036530176,"km_value":6006108036530.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823606035965339648,"description":"Unknown IO ID 45"} 
[2026-07-13 20:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692730880001,"power":12939,"unknown_102":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1823606035965339648}} 
[2026-07-13 20:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":131680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:54:58] local.INFO: GPS data processed {"connection_id":131680,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:54:58] local.INFO: Acknowledgment sent {"connection_id":131680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:55:17] local.INFO: TCP Data received {"connection_id":131679,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c13cb88012cb460c00780da38004100cb2e..."} 
[2026-07-13 20:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c13cb88012cb460c00780da38004100cb2e..."} 
[2026-07-13 20:55:17] local.INFO: Processing buffer {"connection_id":131679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c13cb88012cb460c00780da38004100cb2e..."} 
[2026-07-13 20:55:17] local.INFO: Packet analysis {"connection_id":131679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c13"} 
[2026-07-13 20:55:17] local.INFO: Extracted packet for processing {"connection_id":131679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c13"} 
[2026-07-13 20:55:17] local.INFO: GPS Element Parsed {"raw_longitude":750018752,"raw_latitude":125884984,"longitude_deg":75.0018752,"latitude_deg":12.5884984,"altitude":65,"angle":203,"satellites":46,"speed":0,"hex_longitude":"2cb460c0","hex_latitude":"0780da38","is_valid_coordinates":true} 
[2026-07-13 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-07-13 20:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692789248001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:55:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5449144410659211264,"note":"Value kept but may cause issues"} 
[2026-07-13 20:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783956229000,"timestamp_ms":1783956229000,"timestamp_seconds":1783956229,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c13cb88"} 
[2026-07-13 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-07-13 20:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-13 20:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 20:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131679,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131679,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692789248001,"66":27604,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5449144410659211264},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692789248001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:55:17] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:55:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:55:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5449144410659211264,"description":"Unknown IO ID 44"} 
[2026-07-13 20:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692789248001,"power":27604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5449144410659211264}} 
[2026-07-13 20:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":131679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482165,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:55:18] local.INFO: GPS data processed {"connection_id":131679,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:55:18] local.INFO: Acknowledgment sent {"connection_id":131679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:55:29] local.INFO: TCP Data received {"connection_id":131680,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c101268012d1951c0071ff408003e007c24..."} 
[2026-07-13 20:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c101268012d1951c0071ff408003e007c24..."} 
[2026-07-13 20:55:29] local.INFO: Processing buffer {"connection_id":131680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c101268012d1951c0071ff408003e007c24..."} 
[2026-07-13 20:55:29] local.INFO: Packet analysis {"connection_id":131680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c10"} 
[2026-07-13 20:55:29] local.INFO: Extracted packet for processing {"connection_id":131680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c10"} 
[2026-07-13 20:55:29] local.INFO: GPS Element Parsed {"raw_longitude":756634048,"raw_latitude":119534600,"longitude_deg":75.6634048,"latitude_deg":11.95346,"altitude":62,"angle":124,"satellites":36,"speed":12,"hex_longitude":"2d1951c0","hex_latitude":"071ff408","is_valid_coordinates":true} 
[2026-07-13 20: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-07-13 20:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692731648001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006142396268544,"note":"Value kept but may cause issues"} 
[2026-07-13 20:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823957879686027264,"note":"Value kept but may cause issues"} 
[2026-07-13 20:55:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783955985000,"timestamp_ms":1783955985000,"timestamp_seconds":1783955985,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c101268"} 
[2026-07-13 20:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:55:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-13 20:55:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20: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-07-13 20:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":131680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":131680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":131680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:55:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692731648001,"66":12841,"102":206,"83":41984,"24":12,"16":6006142396268544,"45":1823957879686027264},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 20:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692731648001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:55:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 20:55:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006142396268544,"km_value":6006142396268.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823957879686027264,"description":"Unknown IO ID 45"} 
[2026-07-13 20:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692731648001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1823957879686027264}} 
[2026-07-13 20:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":131680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:55:29] local.INFO: GPS data processed {"connection_id":131680,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:55:29] local.INFO: Acknowledgment sent {"connection_id":131680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:55:33] local.INFO: TCP Data received {"connection_id":131681,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:55:33] local.INFO: Processing buffer {"connection_id":131681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:55:33] local.INFO: IMEI packet received {"connection_id":131681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":131681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:55:39] local.INFO: TCP Data received {"connection_id":131681,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:55:39] local.INFO: Processing buffer {"connection_id":131681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:55:39] local.INFO: IMEI packet received {"connection_id":131681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":131681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:55:39] local.INFO: TCP Data received {"connection_id":130642,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130642,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:55:39] local.INFO: Processing buffer {"connection_id":130642,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:55:39] local.INFO: IMEI packet received {"connection_id":130642,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":130642,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:55:40] local.INFO: TCP Data received {"connection_id":131681,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c146f98012d7f914005afd9380019011b25..."} 
[2026-07-13 20:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c146f98012d7f914005afd9380019011b25..."} 
[2026-07-13 20:55:40] local.INFO: Processing buffer {"connection_id":131681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c146f98012d7f914005afd9380019011b25..."} 
[2026-07-13 20:55:40] local.INFO: Packet analysis {"connection_id":131681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 20:55:40] local.INFO: Extracted packet for processing {"connection_id":131681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 20:55:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692728320001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783956271000,"timestamp_ms":1783956271000,"timestamp_seconds":1783956271,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c146f98"} 
[2026-07-13 20:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 20:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692728320001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692728320001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:55:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:55:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692728320001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":131681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:55:40] local.INFO: GPS data processed {"connection_id":131681,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:55:40] local.INFO: Acknowledgment sent {"connection_id":131681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:55:44] local.INFO: TCP Data received {"connection_id":130642,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130642,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:55:44] local.INFO: Processing buffer {"connection_id":130642,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:55:44] local.INFO: IMEI packet received {"connection_id":130642,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":130642,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:55:46] local.INFO: TCP Data received {"connection_id":130642,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c141d90012cb460c00780da38004100cb2e..."} 
[2026-07-13 20:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c141d90012cb460c00780da38004100cb2e..."} 
[2026-07-13 20:55:46] local.INFO: Processing buffer {"connection_id":130642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c141d90012cb460c00780da38004100cb2e..."} 
[2026-07-13 20:55:46] local.INFO: Packet analysis {"connection_id":130642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 20:55:46] local.INFO: Extracted packet for processing {"connection_id":130642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 20:55:46] local.INFO: GPS Element Parsed {"raw_longitude":750018752,"raw_latitude":125884984,"longitude_deg":75.0018752,"latitude_deg":12.5884984,"altitude":65,"angle":203,"satellites":46,"speed":0,"hex_longitude":"2cb460c0","hex_latitude":"0780da38","is_valid_coordinates":true} 
[2026-07-13 20:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692794624001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:55:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5449144410659211264,"note":"Value kept but may cause issues"} 
[2026-07-13 20:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783956250000,"timestamp_ms":1783956250000,"timestamp_seconds":1783956250,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c141d90"} 
[2026-07-13 20:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-13 20:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130642,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130642,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692794624001,"66":27995,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5449144410659211264},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692794624001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:55:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:55:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:55:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5449144410659211264,"description":"Unknown IO ID 44"} 
[2026-07-13 20:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692794624001,"power":27995,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5449144410659211264}} 
[2026-07-13 20:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":130642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482168,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:55:46] local.INFO: GPS data processed {"connection_id":130642,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:55:46] local.INFO: Acknowledgment sent {"connection_id":130642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:55:57] local.INFO: TCP Data received {"connection_id":130643,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:55:57] local.INFO: Processing buffer {"connection_id":130643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:55:57] local.INFO: IMEI packet received {"connection_id":130643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":130643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:56:02] local.INFO: TCP Data received {"connection_id":130643,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:56:02] local.INFO: Processing buffer {"connection_id":130643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:56:02] local.INFO: IMEI packet received {"connection_id":130643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":130643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:56:03] local.INFO: TCP Data received {"connection_id":130643,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c101650012d195300071ff378003d007024..."} 
[2026-07-13 20:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c101650012d195300071ff378003d007024..."} 
[2026-07-13 20:56:03] local.INFO: Processing buffer {"connection_id":130643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c101650012d195300071ff378003d007024..."} 
[2026-07-13 20:56:03] local.INFO: Packet analysis {"connection_id":130643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c10"} 
[2026-07-13 20:56:03] local.INFO: Extracted packet for processing {"connection_id":130643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c10"} 
[2026-07-13 20:56:03] local.INFO: GPS Element Parsed {"raw_longitude":756634368,"raw_latitude":119534456,"longitude_deg":75.6634368,"latitude_deg":11.9534456,"altitude":61,"angle":112,"satellites":36,"speed":14,"hex_longitude":"2d195300","hex_latitude":"071ff378","is_valid_coordinates":true} 
[2026-07-13 20:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692732160001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006155281170432,"note":"Value kept but may cause issues"} 
[2026-07-13 20:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824450460895152128,"note":"Value kept but may cause issues"} 
[2026-07-13 20:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783955986000,"timestamp_ms":1783955986000,"timestamp_seconds":1783955986,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c101650"} 
[2026-07-13 20:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-13 20:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":130643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":130643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":130643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692732160001,"66":12841,"102":206,"83":41984,"24":14,"16":6006155281170432,"45":1824450460895152128},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 20:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692732160001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:56:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 20:56:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006155281170432,"km_value":6006155281170.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824450460895152128,"description":"Unknown IO ID 45"} 
[2026-07-13 20:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692732160001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1824450460895152128}} 
[2026-07-13 20:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":130643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:56:03] local.INFO: GPS data processed {"connection_id":130643,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:56:03] local.INFO: Acknowledgment sent {"connection_id":130643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:56:11] local.INFO: TCP Data received {"connection_id":131681,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c146f98012d7f914005afd9380019011b25..."} 
[2026-07-13 20:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c146f98012d7f914005afd9380019011b25..."} 
[2026-07-13 20:56:11] local.INFO: Processing buffer {"connection_id":131681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c146f98012d7f914005afd9380019011b25..."} 
[2026-07-13 20:56:11] local.INFO: Packet analysis {"connection_id":131681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 20:56:11] local.INFO: Extracted packet for processing {"connection_id":131681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 20:56:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692728320001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783956271000,"timestamp_ms":1783956271000,"timestamp_seconds":1783956271,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c146f98"} 
[2026-07-13 20:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 20:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692728320001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692728320001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:56:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:56:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692728320001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":131681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:56:11] local.INFO: GPS data processed {"connection_id":131681,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:56:11] local.INFO: Acknowledgment sent {"connection_id":131681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:56:18] local.INFO: TCP Data received {"connection_id":130642,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c146f98012cb460c00780da38004100cb2e..."} 
[2026-07-13 20:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c146f98012cb460c00780da38004100cb2e..."} 
[2026-07-13 20:56:18] local.INFO: Processing buffer {"connection_id":130642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c146f98012cb460c00780da38004100cb2e..."} 
[2026-07-13 20:56:18] local.INFO: Packet analysis {"connection_id":130642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 20:56:18] local.INFO: Extracted packet for processing {"connection_id":130642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 20:56:18] local.INFO: GPS Element Parsed {"raw_longitude":750018752,"raw_latitude":125884984,"longitude_deg":75.0018752,"latitude_deg":12.5884984,"altitude":65,"angle":203,"satellites":46,"speed":0,"hex_longitude":"2cb460c0","hex_latitude":"0780da38","is_valid_coordinates":true} 
[2026-07-13 20:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692800000001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:56:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5449144410659211264,"note":"Value kept but may cause issues"} 
[2026-07-13 20:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783956271000,"timestamp_ms":1783956271000,"timestamp_seconds":1783956271,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c146f98"} 
[2026-07-13 20:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-13 20:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130642,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130642,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692800000001,"66":27767,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5449144410659211264},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692800000001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:56:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:56:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:56:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5449144410659211264,"description":"Unknown IO ID 44"} 
[2026-07-13 20:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692800000001,"power":27767,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5449144410659211264}} 
[2026-07-13 20:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":130642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482171,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:56:18] local.INFO: GPS data processed {"connection_id":130642,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:56:18] local.INFO: Acknowledgment sent {"connection_id":130642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:56:34] local.INFO: TCP Data received {"connection_id":130643,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1050e8012d196680071fed580039006826..."} 
[2026-07-13 20:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1050e8012d196680071fed580039006826..."} 
[2026-07-13 20:56:34] local.INFO: Processing buffer {"connection_id":130643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1050e8012d196680071fed580039006826..."} 
[2026-07-13 20:56:34] local.INFO: Packet analysis {"connection_id":130643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c10"} 
[2026-07-13 20:56:34] local.INFO: Extracted packet for processing {"connection_id":130643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c10"} 
[2026-07-13 20:56:34] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119532888,"longitude_deg":75.663936,"latitude_deg":11.9532888,"altitude":57,"angle":104,"satellites":38,"speed":3,"hex_longitude":"2d196680","hex_latitude":"071fed58","is_valid_coordinates":true} 
[2026-07-13 20:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692732416001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 20:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824802304616003584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783956001000,"timestamp_ms":1783956001000,"timestamp_seconds":1783956001,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1050e8"} 
[2026-07-13 20:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:56: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-07-13 20: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-13 20:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":130643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":130643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":130643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692732416001,"66":12841,"102":206,"83":41984,"24":3,"16":6006404389273600,"45":1824802304616003584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 20:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692732416001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:56:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 20:56:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824802304616003584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692732416001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1824802304616003584}} 
[2026-07-13 20:56:34] local.INFO: TCP Data received {"connection_id":130859,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:56:34] local.INFO: Processing buffer {"connection_id":130859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:56:34] local.INFO: IMEI packet received {"connection_id":130859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":130859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":130643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:56:34] local.INFO: GPS data processed {"connection_id":130643,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:56:34] local.INFO: Acknowledgment sent {"connection_id":130643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:56:39] local.INFO: TCP Data received {"connection_id":130860,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:56:39] local.INFO: Processing buffer {"connection_id":130860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:56:39] local.INFO: IMEI packet received {"connection_id":130860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":130860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:56:42] local.INFO: TCP Data received {"connection_id":130859,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:56:42] local.INFO: Processing buffer {"connection_id":130859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:56:42] local.INFO: IMEI packet received {"connection_id":130859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":130859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:56:44] local.INFO: TCP Data received {"connection_id":130860,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:56:44] local.INFO: Processing buffer {"connection_id":130860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:56:44] local.INFO: IMEI packet received {"connection_id":130860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":130860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:56:46] local.INFO: TCP Data received {"connection_id":130860,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c14c1a0012cb460c00780da38004100cb2e..."} 
[2026-07-13 20:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c14c1a0012cb460c00780da38004100cb2e..."} 
[2026-07-13 20:56:46] local.INFO: Processing buffer {"connection_id":130860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c14c1a0012cb460c00780da38004100cb2e..."} 
[2026-07-13 20:56:46] local.INFO: Packet analysis {"connection_id":130860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 20:56:46] local.INFO: Extracted packet for processing {"connection_id":130860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 20:56:46] local.INFO: GPS Element Parsed {"raw_longitude":750018752,"raw_latitude":125884984,"longitude_deg":75.0018752,"latitude_deg":12.5884984,"altitude":65,"angle":203,"satellites":46,"speed":0,"hex_longitude":"2cb460c0","hex_latitude":"0780da38","is_valid_coordinates":true} 
[2026-07-13 20:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692805376001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:56:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5449144410659211264,"note":"Value kept but may cause issues"} 
[2026-07-13 20:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783956292000,"timestamp_ms":1783956292000,"timestamp_seconds":1783956292,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c14c1a0"} 
[2026-07-13 20:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-13 20:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130860,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130860,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692805376001,"66":28017,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5449144410659211264},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692805376001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:56:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:56:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:56:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5449144410659211264,"description":"Unknown IO ID 44"} 
[2026-07-13 20:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692805376001,"power":28017,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5449144410659211264}} 
[2026-07-13 20:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":130860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482173,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:56:46] local.INFO: GPS data processed {"connection_id":130860,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:56:46] local.INFO: Acknowledgment sent {"connection_id":130860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:56:46] local.INFO: TCP Data received {"connection_id":130859,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c146f98012d7f914005afd9380019011b25..."} 
[2026-07-13 20:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c146f98012d7f914005afd9380019011b25..."} 
[2026-07-13 20:56:46] local.INFO: Processing buffer {"connection_id":130859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c146f98012d7f914005afd9380019011b25..."} 
[2026-07-13 20:56:46] local.INFO: Packet analysis {"connection_id":130859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 20:56:46] local.INFO: Extracted packet for processing {"connection_id":130859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 20:56:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692728320001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783956271000,"timestamp_ms":1783956271000,"timestamp_seconds":1783956271,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c146f98"} 
[2026-07-13 20:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 20:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692728320001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692728320001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:56:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:56:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692728320001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":130859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:56:46] local.INFO: GPS data processed {"connection_id":130859,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:56:46] local.INFO: Acknowledgment sent {"connection_id":130859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:56:52] local.INFO: TCP Data received {"connection_id":133011,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:56:52] local.INFO: Processing buffer {"connection_id":133011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:56:52] local.INFO: IMEI packet received {"connection_id":133011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":133011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:56:57] local.INFO: TCP Data received {"connection_id":133011,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:56:57] local.INFO: Processing buffer {"connection_id":133011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:56:57] local.INFO: IMEI packet received {"connection_id":133011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":133011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:56:58] local.INFO: TCP Data received {"connection_id":133011,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1050e8012d196680071fed580039006826..."} 
[2026-07-13 20:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1050e8012d196680071fed580039006826..."} 
[2026-07-13 20:56:58] local.INFO: Processing buffer {"connection_id":133011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1050e8012d196680071fed580039006826..."} 
[2026-07-13 20:56:58] local.INFO: Packet analysis {"connection_id":133011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c10"} 
[2026-07-13 20:56:58] local.INFO: Extracted packet for processing {"connection_id":133011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c10"} 
[2026-07-13 20:56:58] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119532888,"longitude_deg":75.663936,"latitude_deg":11.9532888,"altitude":57,"angle":104,"satellites":38,"speed":3,"hex_longitude":"2d196680","hex_latitude":"071fed58","is_valid_coordinates":true} 
[2026-07-13 20:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692736256001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 20:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661459968,"note":"Value kept but may cause issues"} 
[2026-07-13 20:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783956001000,"timestamp_ms":1783956001000,"timestamp_seconds":1783956001,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1050e8"} 
[2026-07-13 20:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-13 20:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:56:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":133011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":133011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":133011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692736256001,"66":12841,"102":206,"83":41984,"24":3,"16":6006404389273600,"45":1830291066661459968},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 20:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692736256001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:56:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 20:56:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661459968,"description":"Unknown IO ID 45"} 
[2026-07-13 20:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692736256001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1830291066661459968}} 
[2026-07-13 20:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":133011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:56:58] local.INFO: GPS data processed {"connection_id":133011,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:56:58] local.INFO: Acknowledgment sent {"connection_id":133011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:57:17] local.INFO: TCP Data received {"connection_id":130860,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1513a8012cb460c00780da38004100cb2e..."} 
[2026-07-13 20:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1513a8012cb460c00780da38004100cb2e..."} 
[2026-07-13 20:57:17] local.INFO: Processing buffer {"connection_id":130860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1513a8012cb460c00780da38004100cb2e..."} 
[2026-07-13 20:57:17] local.INFO: Packet analysis {"connection_id":130860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c15"} 
[2026-07-13 20:57:17] local.INFO: Extracted packet for processing {"connection_id":130860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c15"} 
[2026-07-13 20:57:17] local.INFO: GPS Element Parsed {"raw_longitude":750018752,"raw_latitude":125884984,"longitude_deg":75.0018752,"latitude_deg":12.5884984,"altitude":65,"angle":203,"satellites":46,"speed":0,"hex_longitude":"2cb460c0","hex_latitude":"0780da38","is_valid_coordinates":true} 
[2026-07-13 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-07-13 20:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692810752001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:57:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5449144410659211264,"note":"Value kept but may cause issues"} 
[2026-07-13 20:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783956313000,"timestamp_ms":1783956313000,"timestamp_seconds":1783956313,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1513a8"} 
[2026-07-13 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-07-13 20:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 20:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 20:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130860,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130860,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692810752001,"66":27887,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5449144410659211264},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692810752001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:57:17] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:57:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:57:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5449144410659211264,"description":"Unknown IO ID 44"} 
[2026-07-13 20:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692810752001,"power":27887,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5449144410659211264}} 
[2026-07-13 20:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":130860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482176,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:57:18] local.INFO: GPS data processed {"connection_id":130860,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:57:18] local.INFO: Acknowledgment sent {"connection_id":130860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:57:18] local.INFO: TCP Data received {"connection_id":130859,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c146f98012d7f914005afd9380019011b25..."} 
[2026-07-13 20:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c146f98012d7f914005afd9380019011b25..."} 
[2026-07-13 20:57:18] local.INFO: Processing buffer {"connection_id":130859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c146f98012d7f914005afd9380019011b25..."} 
[2026-07-13 20:57:18] local.INFO: Packet analysis {"connection_id":130859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 20:57:18] local.INFO: Extracted packet for processing {"connection_id":130859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 20:57:18] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692728320001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783956271000,"timestamp_ms":1783956271000,"timestamp_seconds":1783956271,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c146f98"} 
[2026-07-13 20:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 20:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20: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-07-13 20:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692728320001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692728320001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:57:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:57:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692728320001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":130859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:57:18] local.INFO: GPS data processed {"connection_id":130859,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:57:18] local.INFO: Acknowledgment sent {"connection_id":130859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:57:29] local.INFO: TCP Data received {"connection_id":133011,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1050e8012d196680071fed580039006826..."} 
[2026-07-13 20:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1050e8012d196680071fed580039006826..."} 
[2026-07-13 20:57:29] local.INFO: Processing buffer {"connection_id":133011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1050e8012d196680071fed580039006826..."} 
[2026-07-13 20:57:29] local.INFO: Packet analysis {"connection_id":133011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c10"} 
[2026-07-13 20:57:29] local.INFO: Extracted packet for processing {"connection_id":133011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c10"} 
[2026-07-13 20:57:29] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119532888,"longitude_deg":75.663936,"latitude_deg":11.9532888,"altitude":57,"angle":104,"satellites":38,"speed":3,"hex_longitude":"2d196680","hex_latitude":"071fed58","is_valid_coordinates":true} 
[2026-07-13 20:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692736256001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 20:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661459968,"note":"Value kept but may cause issues"} 
[2026-07-13 20:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783956001000,"timestamp_ms":1783956001000,"timestamp_seconds":1783956001,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1050e8"} 
[2026-07-13 20:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:57:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-13 20:57:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20: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-07-13 20:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":133011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":133011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":133011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:57:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692736256001,"66":12841,"102":206,"83":41984,"24":3,"16":6006404389273600,"45":1830291066661459968},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 20:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692736256001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:57:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 20:57:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661459968,"description":"Unknown IO ID 45"} 
[2026-07-13 20:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692736256001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1830291066661459968}} 
[2026-07-13 20:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":133011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:57:29] local.INFO: GPS data processed {"connection_id":133011,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:57:29] local.INFO: Acknowledgment sent {"connection_id":133011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:57:33] local.INFO: TCP Data received {"connection_id":133012,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:57:33] local.INFO: Processing buffer {"connection_id":133012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:57:33] local.INFO: IMEI packet received {"connection_id":133012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":133012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:57:39] local.INFO: TCP Data received {"connection_id":133012,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:57:39] local.INFO: Processing buffer {"connection_id":133012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:57:39] local.INFO: IMEI packet received {"connection_id":133012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":133012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:57:40] local.INFO: TCP Data received {"connection_id":133012,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c146f98012d7f914005afd9380019011b25..."} 
[2026-07-13 20:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c146f98012d7f914005afd9380019011b25..."} 
[2026-07-13 20:57:40] local.INFO: Processing buffer {"connection_id":133012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c146f98012d7f914005afd9380019011b25..."} 
[2026-07-13 20:57:40] local.INFO: Packet analysis {"connection_id":133012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 20:57:40] local.INFO: Extracted packet for processing {"connection_id":133012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 20:57:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692728320001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783956271000,"timestamp_ms":1783956271000,"timestamp_seconds":1783956271,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c146f98"} 
[2026-07-13 20:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 20:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":133012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":133012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":133012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692728320001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692728320001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:57:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:57:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692728320001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":133012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:57:40] local.INFO: GPS data processed {"connection_id":133012,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:57:40] local.INFO: Acknowledgment sent {"connection_id":133012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:57:42] local.INFO: TCP Data received {"connection_id":131682,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131682,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:57:42] local.INFO: Processing buffer {"connection_id":131682,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:57:42] local.INFO: IMEI packet received {"connection_id":131682,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":131682,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:57:44] local.INFO: TCP Data received {"connection_id":131682,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131682,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:57:44] local.INFO: Processing buffer {"connection_id":131682,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:57:44] local.INFO: IMEI packet received {"connection_id":131682,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":131682,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:57:47] local.INFO: TCP Data received {"connection_id":131682,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1565b0012cb460c00780da38004100cb2e..."} 
[2026-07-13 20:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1565b0012cb460c00780da38004100cb2e..."} 
[2026-07-13 20:57:47] local.INFO: Processing buffer {"connection_id":131682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1565b0012cb460c00780da38004100cb2e..."} 
[2026-07-13 20:57:47] local.INFO: Packet analysis {"connection_id":131682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c15"} 
[2026-07-13 20:57:47] local.INFO: Extracted packet for processing {"connection_id":131682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c15"} 
[2026-07-13 20:57:47] local.INFO: GPS Element Parsed {"raw_longitude":750018752,"raw_latitude":125884984,"longitude_deg":75.0018752,"latitude_deg":12.5884984,"altitude":65,"angle":203,"satellites":46,"speed":0,"hex_longitude":"2cb460c0","hex_latitude":"0780da38","is_valid_coordinates":true} 
[2026-07-13 20:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692816128001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:57:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5449144410659211264,"note":"Value kept but may cause issues"} 
[2026-07-13 20:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783956334000,"timestamp_ms":1783956334000,"timestamp_seconds":1783956334,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1565b0"} 
[2026-07-13 20:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-13 20:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":131682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":131682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":131682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692816128001,"66":28245,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5449144410659211264},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692816128001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:57:47] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:57:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:57:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5449144410659211264,"description":"Unknown IO ID 44"} 
[2026-07-13 20:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692816128001,"power":28245,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5449144410659211264}} 
[2026-07-13 20:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":131682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482180,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:57:47] local.INFO: GPS data processed {"connection_id":131682,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:57:47] local.INFO: Acknowledgment sent {"connection_id":131682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:57:53] local.INFO: TCP Data received {"connection_id":130861,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:57:53] local.INFO: Processing buffer {"connection_id":130861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:57:53] local.INFO: IMEI packet received {"connection_id":130861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":130861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:57:57] local.INFO: TCP Data received {"connection_id":130861,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:57:57] local.INFO: Processing buffer {"connection_id":130861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:57:57] local.INFO: IMEI packet received {"connection_id":130861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":130861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:57:58] local.INFO: TCP Data received {"connection_id":130861,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c14f468012d196500071ff0e80039006828..."} 
[2026-07-13 20:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c14f468012d196500071ff0e80039006828..."} 
[2026-07-13 20:57:58] local.INFO: Processing buffer {"connection_id":130861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c14f468012d196500071ff0e80039006828..."} 
[2026-07-13 20:57:58] local.INFO: Packet analysis {"connection_id":130861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 20:57:58] local.INFO: Extracted packet for processing {"connection_id":130861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 20:57:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 20: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-07-13 20:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692736256001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 20:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661459968,"note":"Value kept but may cause issues"} 
[2026-07-13 20:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783956305000,"timestamp_ms":1783956305000,"timestamp_seconds":1783956305,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c14f468"} 
[2026-07-13 20:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":41,"data_length":795,"current_offset":136} 
[2026-07-13 20:57:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20: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-07-13 20:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692736256001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1830291066661459968},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 20:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692736256001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:57:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 20:57:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661459968,"description":"Unknown IO ID 45"} 
[2026-07-13 20:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692736256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661459968}} 
[2026-07-13 20:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":130861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:57:58] local.INFO: GPS data processed {"connection_id":130861,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:57:58] local.INFO: Acknowledgment sent {"connection_id":130861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:58:11] local.INFO: TCP Data received {"connection_id":133012,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c146f98012d7f914005afd9380019011b25..."} 
[2026-07-13 20:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c146f98012d7f914005afd9380019011b25..."} 
[2026-07-13 20:58:11] local.INFO: Processing buffer {"connection_id":133012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c146f98012d7f914005afd9380019011b25..."} 
[2026-07-13 20:58:11] local.INFO: Packet analysis {"connection_id":133012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 20:58:11] local.INFO: Extracted packet for processing {"connection_id":133012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 20:58:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692728320001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783956271000,"timestamp_ms":1783956271000,"timestamp_seconds":1783956271,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c146f98"} 
[2026-07-13 20:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 20:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692728320001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692728320001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:58:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:58:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692728320001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":133012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:58:11] local.INFO: GPS data processed {"connection_id":133012,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:58:11] local.INFO: Acknowledgment sent {"connection_id":133012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:58:18] local.INFO: TCP Data received {"connection_id":131682,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c15b7b8012cb460c00780da38004100cb2e..."} 
[2026-07-13 20:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c15b7b8012cb460c00780da38004100cb2e..."} 
[2026-07-13 20:58:18] local.INFO: Processing buffer {"connection_id":131682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c15b7b8012cb460c00780da38004100cb2e..."} 
[2026-07-13 20:58:18] local.INFO: Packet analysis {"connection_id":131682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c15"} 
[2026-07-13 20:58:18] local.INFO: Extracted packet for processing {"connection_id":131682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c15"} 
[2026-07-13 20:58:18] local.INFO: GPS Element Parsed {"raw_longitude":750018752,"raw_latitude":125884984,"longitude_deg":75.0018752,"latitude_deg":12.5884984,"altitude":65,"angle":203,"satellites":46,"speed":0,"hex_longitude":"2cb460c0","hex_latitude":"0780da38","is_valid_coordinates":true} 
[2026-07-13 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-07-13 20:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692821504001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:58:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5449144410659211264,"note":"Value kept but may cause issues"} 
[2026-07-13 20:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783956355000,"timestamp_ms":1783956355000,"timestamp_seconds":1783956355,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c15b7b8"} 
[2026-07-13 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-07-13 20:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":110,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-13 20:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1513,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 20:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692821504001,"66":28115,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5449144410659211264},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692821504001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:58:18] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:58:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:58:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5449144410659211264,"description":"Unknown IO ID 44"} 
[2026-07-13 20:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692821504001,"power":28115,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5449144410659211264}} 
[2026-07-13 20:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":131682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482183,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:58:19] local.INFO: GPS data processed {"connection_id":131682,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:58:19] local.INFO: Acknowledgment sent {"connection_id":131682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:58:29] local.INFO: TCP Data received {"connection_id":130861,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c14f468012d196500071ff0e80039006828..."} 
[2026-07-13 20:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c14f468012d196500071ff0e80039006828..."} 
[2026-07-13 20:58:29] local.INFO: Processing buffer {"connection_id":130861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c14f468012d196500071ff0e80039006828..."} 
[2026-07-13 20:58:29] local.INFO: Packet analysis {"connection_id":130861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 20:58:29] local.INFO: Extracted packet for processing {"connection_id":130861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 20:58:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 20:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692736256001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 20:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661459968,"note":"Value kept but may cause issues"} 
[2026-07-13 20:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783956305000,"timestamp_ms":1783956305000,"timestamp_seconds":1783956305,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c14f468"} 
[2026-07-13 20:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-13 20:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692736256001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1830291066661459968},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 20:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692736256001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:58:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 20:58:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661459968,"description":"Unknown IO ID 45"} 
[2026-07-13 20:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692736256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661459968}} 
[2026-07-13 20:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":130861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:58:30] local.INFO: GPS data processed {"connection_id":130861,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:58:30] local.INFO: Acknowledgment sent {"connection_id":130861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:58:33] local.INFO: TCP Data received {"connection_id":133013,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:58:33] local.INFO: Processing buffer {"connection_id":133013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:58:33] local.INFO: IMEI packet received {"connection_id":133013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":133013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:58:39] local.INFO: TCP Data received {"connection_id":133013,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:58:39] local.INFO: Processing buffer {"connection_id":133013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:58:39] local.INFO: IMEI packet received {"connection_id":133013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":133013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:58:39] local.INFO: TCP Data received {"connection_id":133013,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c146f98012d7f914005afd9380019011b25..."} 
[2026-07-13 20:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c146f98012d7f914005afd9380019011b25..."} 
[2026-07-13 20:58:39] local.INFO: Processing buffer {"connection_id":133013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c146f98012d7f914005afd9380019011b25..."} 
[2026-07-13 20:58:39] local.INFO: Packet analysis {"connection_id":133013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 20:58:39] local.INFO: Extracted packet for processing {"connection_id":133013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 20:58:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 20:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692728320001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783956271000,"timestamp_ms":1783956271000,"timestamp_seconds":1783956271,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c146f98"} 
[2026-07-13 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-07-13 20:58: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-07-13 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 20:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 20:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692728320001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692728320001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:58:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:58:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692728320001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":133013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:58:39] local.INFO: GPS data processed {"connection_id":133013,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:58:39] local.INFO: Acknowledgment sent {"connection_id":133013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:58:44] local.INFO: TCP Data received {"connection_id":131683,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131683,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:58:44] local.INFO: Processing buffer {"connection_id":131683,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:58:44] local.INFO: IMEI packet received {"connection_id":131683,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":131683,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:58:49] local.INFO: TCP Data received {"connection_id":131683,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131683,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:58:49] local.INFO: Processing buffer {"connection_id":131683,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:58:49] local.INFO: IMEI packet received {"connection_id":131683,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":131683,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:58:51] local.INFO: TCP Data received {"connection_id":131683,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1609c0012cb460c00780da38004100cb2e..."} 
[2026-07-13 20:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1609c0012cb460c00780da38004100cb2e..."} 
[2026-07-13 20:58:51] local.INFO: Processing buffer {"connection_id":131683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1609c0012cb460c00780da38004100cb2e..."} 
[2026-07-13 20:58:51] local.INFO: Packet analysis {"connection_id":131683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c16"} 
[2026-07-13 20:58:51] local.INFO: Extracted packet for processing {"connection_id":131683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c16"} 
[2026-07-13 20:58:51] local.INFO: GPS Element Parsed {"raw_longitude":750018752,"raw_latitude":125884984,"longitude_deg":75.0018752,"latitude_deg":12.5884984,"altitude":65,"angle":203,"satellites":46,"speed":0,"hex_longitude":"2cb460c0","hex_latitude":"0780da38","is_valid_coordinates":true} 
[2026-07-13 20:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692826880001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:58:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5449144410659211264,"note":"Value kept but may cause issues"} 
[2026-07-13 20:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783956376000,"timestamp_ms":1783956376000,"timestamp_seconds":1783956376,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1609c0"} 
[2026-07-13 20:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20: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":109,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 20:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2642,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":131683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":131683,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":131683,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692826880001,"66":27995,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5449144410659211264},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692826880001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:58:51] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:58:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:58:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5449144410659211264,"description":"Unknown IO ID 44"} 
[2026-07-13 20:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692826880001,"power":27995,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5449144410659211264}} 
[2026-07-13 20:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":131683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482186,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:58:51] local.INFO: GPS data processed {"connection_id":131683,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:58:51] local.INFO: Acknowledgment sent {"connection_id":131683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:58:52] local.INFO: TCP Data received {"connection_id":131684,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:58:52] local.INFO: Processing buffer {"connection_id":131684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:58:52] local.INFO: IMEI packet received {"connection_id":131684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":131684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:58:55] local.INFO: TCP Data received {"connection_id":131683,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c165bc8012cb460c00780da38004100cb2e..."} 
[2026-07-13 20:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c165bc8012cb460c00780da38004100cb2e..."} 
[2026-07-13 20:58:55] local.INFO: Processing buffer {"connection_id":131683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c165bc8012cb460c00780da38004100cb2e..."} 
[2026-07-13 20:58:55] local.INFO: Packet analysis {"connection_id":131683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c16"} 
[2026-07-13 20:58:55] local.INFO: Extracted packet for processing {"connection_id":131683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c16"} 
[2026-07-13 20:58:55] local.INFO: GPS Element Parsed {"raw_longitude":750018752,"raw_latitude":125884984,"longitude_deg":75.0018752,"latitude_deg":12.5884984,"altitude":65,"angle":203,"satellites":46,"speed":0,"hex_longitude":"2cb460c0","hex_latitude":"0780da38","is_valid_coordinates":true} 
[2026-07-13 20:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692832256001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:58:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5449144410659211264,"note":"Value kept but may cause issues"} 
[2026-07-13 20:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783956397000,"timestamp_ms":1783956397000,"timestamp_seconds":1783956397,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c165bc8"} 
[2026-07-13 20:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-13 20:58:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:58:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":131683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":131683,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":131683,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692832256001,"66":27767,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5449144410659211264},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692832256001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:58:55] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:58:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:58:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5449144410659211264,"description":"Unknown IO ID 44"} 
[2026-07-13 20:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692832256001,"power":27767,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5449144410659211264}} 
[2026-07-13 20:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":131683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482187,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:58:55] local.INFO: GPS data processed {"connection_id":131683,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:58:55] local.INFO: Acknowledgment sent {"connection_id":131683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:58:57] local.INFO: TCP Data received {"connection_id":131684,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:58:57] local.INFO: Processing buffer {"connection_id":131684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:58:57] local.INFO: IMEI packet received {"connection_id":131684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 20:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":131684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:58:58] local.INFO: TCP Data received {"connection_id":131684,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c14f468012d196500071ff0e80039006828..."} 
[2026-07-13 20:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c14f468012d196500071ff0e80039006828..."} 
[2026-07-13 20:58:58] local.INFO: Processing buffer {"connection_id":131684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c14f468012d196500071ff0e80039006828..."} 
[2026-07-13 20:58:58] local.INFO: Packet analysis {"connection_id":131684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 20:58:58] local.INFO: Extracted packet for processing {"connection_id":131684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 20:58:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 20:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692736256001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 20:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661459968,"note":"Value kept but may cause issues"} 
[2026-07-13 20:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783956305000,"timestamp_ms":1783956305000,"timestamp_seconds":1783956305,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c14f468"} 
[2026-07-13 20:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-13 20:58:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:58:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692736256001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1830291066661459968},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 20:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692736256001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:58:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 20:58:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661459968,"description":"Unknown IO ID 45"} 
[2026-07-13 20:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692736256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661459968}} 
[2026-07-13 20:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":131684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:58:58] local.INFO: GPS data processed {"connection_id":131684,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:58:58] local.INFO: Acknowledgment sent {"connection_id":131684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:59:11] local.INFO: TCP Data received {"connection_id":133013,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c146f98012d7f914005afd9380019011b25..."} 
[2026-07-13 20:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c146f98012d7f914005afd9380019011b25..."} 
[2026-07-13 20:59:11] local.INFO: Processing buffer {"connection_id":133013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c146f98012d7f914005afd9380019011b25..."} 
[2026-07-13 20:59:11] local.INFO: Packet analysis {"connection_id":133013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 20:59:11] local.INFO: Extracted packet for processing {"connection_id":133013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 20:59:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692728320001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783956271000,"timestamp_ms":1783956271000,"timestamp_seconds":1783956271,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c146f98"} 
[2026-07-13 20:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 20:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692728320001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692728320001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:59:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:59:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692728320001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":133013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:59:11] local.INFO: GPS data processed {"connection_id":133013,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:59:11] local.INFO: Acknowledgment sent {"connection_id":133013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:59:29] local.INFO: TCP Data received {"connection_id":131684,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c14f468012d196500071ff0e80039006828..."} 
[2026-07-13 20:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c14f468012d196500071ff0e80039006828..."} 
[2026-07-13 20:59:29] local.INFO: Processing buffer {"connection_id":131684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c14f468012d196500071ff0e80039006828..."} 
[2026-07-13 20:59:29] local.INFO: Packet analysis {"connection_id":131684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 20:59:29] local.INFO: Extracted packet for processing {"connection_id":131684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 20:59:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 20: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-07-13 20:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692736256001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 20:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661459968,"note":"Value kept but may cause issues"} 
[2026-07-13 20:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783956305000,"timestamp_ms":1783956305000,"timestamp_seconds":1783956305,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c14f468"} 
[2026-07-13 20:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 20: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-13 20:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20: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-07-13 20:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":131684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":131684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":131684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 20:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 20:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 20:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692736256001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1830291066661459968},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 20:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 20:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 20:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692736256001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:59:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 20:59:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 20:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661459968,"description":"Unknown IO ID 45"} 
[2026-07-13 20:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692736256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661459968}} 
[2026-07-13 20:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":131684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:59:29] local.INFO: GPS data processed {"connection_id":131684,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:59:29] local.INFO: Acknowledgment sent {"connection_id":131684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:59:33] local.INFO: TCP Data received {"connection_id":130644,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:59:33] local.INFO: Processing buffer {"connection_id":130644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:59:33] local.INFO: IMEI packet received {"connection_id":130644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 20:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":130644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:59:38] local.INFO: TCP Data received {"connection_id":130862,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130862,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:59:38] local.INFO: Processing buffer {"connection_id":130862,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:59:38] local.INFO: IMEI packet received {"connection_id":130862,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 20:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":130862,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 20:59:39] local.INFO: TCP Data received {"connection_id":130644,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:59:39] local.INFO: Processing buffer {"connection_id":130644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 20:59:39] local.INFO: IMEI packet received {"connection_id":130644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 20:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":130644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:59:39] local.INFO: TCP Data received {"connection_id":130862,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130862,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:59:39] local.INFO: Processing buffer {"connection_id":130862,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:59:39] local.INFO: IMEI packet received {"connection_id":130862,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":130862,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:59:39] local.INFO: TCP Data received {"connection_id":130644,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c146f98012d7f914005afd9380019011b25..."} 
[2026-07-13 20:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c146f98012d7f914005afd9380019011b25..."} 
[2026-07-13 20:59:39] local.INFO: Processing buffer {"connection_id":130644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c146f98012d7f914005afd9380019011b25..."} 
[2026-07-13 20:59:39] local.INFO: Packet analysis {"connection_id":130644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 20:59:39] local.INFO: Extracted packet for processing {"connection_id":130644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 20:59:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 20:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692728320001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 20:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 20:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783956271000,"timestamp_ms":1783956271000,"timestamp_seconds":1783956271,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c146f98"} 
[2026-07-13 20:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:59: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-07-13 20:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 20:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 20:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 20:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 20:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692728320001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 20:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 20:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 20:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692728320001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:59:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 20:59:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 20:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 20:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692728320001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 20:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":130644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:59:39] local.INFO: GPS data processed {"connection_id":130644,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:59:39] local.INFO: Acknowledgment sent {"connection_id":130644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:59:44] local.INFO: TCP Data received {"connection_id":130862,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130862,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:59:44] local.INFO: Processing buffer {"connection_id":130862,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 20:59:44] local.INFO: IMEI packet received {"connection_id":130862,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 20:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":130862,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 20:59:46] local.INFO: TCP Data received {"connection_id":130862,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c16add0012cb460c00780da38004100cb2e..."} 
[2026-07-13 20:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c16add0012cb460c00780da38004100cb2e..."} 
[2026-07-13 20:59:46] local.INFO: Processing buffer {"connection_id":130862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c16add0012cb460c00780da38004100cb2e..."} 
[2026-07-13 20:59:46] local.INFO: Packet analysis {"connection_id":130862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c16"} 
[2026-07-13 20:59:46] local.INFO: Extracted packet for processing {"connection_id":130862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c16"} 
[2026-07-13 20:59:46] local.INFO: GPS Element Parsed {"raw_longitude":750018752,"raw_latitude":125884984,"longitude_deg":75.0018752,"latitude_deg":12.5884984,"altitude":65,"angle":203,"satellites":46,"speed":0,"hex_longitude":"2cb460c0","hex_latitude":"0780da38","is_valid_coordinates":true} 
[2026-07-13 20:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 20:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692837632001,"note":"Value kept but may cause issues"} 
[2026-07-13 20:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 20:59:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5449144410659211264,"note":"Value kept but may cause issues"} 
[2026-07-13 20:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 20:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783956418000,"timestamp_ms":1783956418000,"timestamp_seconds":1783956418,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c16add0"} 
[2026-07-13 20:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 20:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 20:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-13 20:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 20:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 20:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 20:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 20:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 20:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 20:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 20:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 20:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 20:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692837632001,"66":27930,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5449144410659211264},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 20:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 20:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 20:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692837632001,"description":"Unknown IO ID 0"} 
[2026-07-13 20:59:46] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 20:59:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 20:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 20:59:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5449144410659211264,"description":"Unknown IO ID 44"} 
[2026-07-13 20:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692837632001,"power":27930,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5449144410659211264}} 
[2026-07-13 20:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":130862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482192,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 20:59:46] local.INFO: GPS data processed {"connection_id":130862,"processed":1,"errors":0,"total":1} 
[2026-07-13 20:59:46] local.INFO: Acknowledgment sent {"connection_id":130862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 20:59:57] local.INFO: TCP Data received {"connection_id":131685,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:59:57] local.INFO: Processing buffer {"connection_id":131685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 20:59:57] local.INFO: IMEI packet received {"connection_id":131685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 20:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":131685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:00:02] local.INFO: TCP Data received {"connection_id":131685,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:00:02] local.INFO: Processing buffer {"connection_id":131685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:00:02] local.INFO: IMEI packet received {"connection_id":131685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 21:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":131685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:00:03] local.INFO: TCP Data received {"connection_id":131685,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c14f468012d196500071ff0e80039006828..."} 
[2026-07-13 21:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c14f468012d196500071ff0e80039006828..."} 
[2026-07-13 21:00:03] local.INFO: Processing buffer {"connection_id":131685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c14f468012d196500071ff0e80039006828..."} 
[2026-07-13 21:00:03] local.INFO: Packet analysis {"connection_id":131685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 21:00:03] local.INFO: Extracted packet for processing {"connection_id":131685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 21:00:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692736256001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661459968,"note":"Value kept but may cause issues"} 
[2026-07-13 21:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783956305000,"timestamp_ms":1783956305000,"timestamp_seconds":1783956305,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c14f468"} 
[2026-07-13 21:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-13 21:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":131685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":131685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":131685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692736256001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1830291066661459968},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692736256001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:00:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:00:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661459968,"description":"Unknown IO ID 45"} 
[2026-07-13 21:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692736256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661459968}} 
[2026-07-13 21:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":131685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:00:03] local.INFO: GPS data processed {"connection_id":131685,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:00:03] local.INFO: Acknowledgment sent {"connection_id":131685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:00:08] local.INFO: TCP Data received {"connection_id":131685,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c14f468012d196500071ff0e80039006828..."} 
[2026-07-13 21:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c14f468012d196500071ff0e80039006828..."} 
[2026-07-13 21:00:08] local.INFO: Processing buffer {"connection_id":131685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c14f468012d196500071ff0e80039006828..."} 
[2026-07-13 21:00:08] local.INFO: Packet analysis {"connection_id":131685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 21:00:08] local.INFO: Extracted packet for processing {"connection_id":131685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c14"} 
[2026-07-13 21:00:08] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":57,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692736256001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661459968,"note":"Value kept but may cause issues"} 
[2026-07-13 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-07-13 21:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783956305000,"timestamp_ms":1783956305000,"timestamp_seconds":1783956305,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c14f468"} 
[2026-07-13 21:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21: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-07-13 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-13 21:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":131685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":131685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":131685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692736256001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1830291066661459968},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692736256001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:00:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:00:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661459968,"description":"Unknown IO ID 45"} 
[2026-07-13 21:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692736256001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661459968}} 
[2026-07-13 21:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":131685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:00:08] local.INFO: GPS data processed {"connection_id":131685,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:00:08] local.INFO: Acknowledgment sent {"connection_id":131685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:00:12] local.INFO: TCP Data received {"connection_id":130644,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:00:12] local.INFO: Processing buffer {"connection_id":130644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:00:12] local.INFO: Packet analysis {"connection_id":130644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:00:12] local.INFO: Extracted packet for processing {"connection_id":130644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:00:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692805376001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783956572000,"timestamp_ms":1783956572000,"timestamp_seconds":1783956572,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c190760"} 
[2026-07-13 21:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692805376001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692805376001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:00:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:00:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692805376001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":130644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:00:12] local.INFO: GPS data processed {"connection_id":130644,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:00:12] local.INFO: Acknowledgment sent {"connection_id":130644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:00:17] local.INFO: TCP Data received {"connection_id":130862,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c16ffd8012cb460c00780da38004100cb2e..."} 
[2026-07-13 21:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c16ffd8012cb460c00780da38004100cb2e..."} 
[2026-07-13 21:00:17] local.INFO: Processing buffer {"connection_id":130862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c16ffd8012cb460c00780da38004100cb2e..."} 
[2026-07-13 21:00:17] local.INFO: Packet analysis {"connection_id":130862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c16"} 
[2026-07-13 21:00:17] local.INFO: Extracted packet for processing {"connection_id":130862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c16"} 
[2026-07-13 21:00:17] local.INFO: GPS Element Parsed {"raw_longitude":750018752,"raw_latitude":125884984,"longitude_deg":75.0018752,"latitude_deg":12.5884984,"altitude":65,"angle":203,"satellites":46,"speed":0,"hex_longitude":"2cb460c0","hex_latitude":"0780da38","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692843008001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:00:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5449144410659211264,"note":"Value kept but may cause issues"} 
[2026-07-13 21:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783956439000,"timestamp_ms":1783956439000,"timestamp_seconds":1783956439,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c16ffd8"} 
[2026-07-13 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-07-13 21:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-13 21:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692843008001,"66":28006,"126":206,"27":54016,"24":0,"16":135462516896563200,"44":-5449144410659211264},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-07-13 21:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692843008001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:00:17] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-13 21:00:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:00:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5449144410659211264,"description":"Unknown IO ID 44"} 
[2026-07-13 21:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692843008001,"power":28006,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5449144410659211264}} 
[2026-07-13 21:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":130862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482196,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:00:17] local.INFO: GPS data processed {"connection_id":130862,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:00:17] local.INFO: Acknowledgment sent {"connection_id":130862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:00:39] local.INFO: TCP Data received {"connection_id":130863,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130863,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:00:39] local.INFO: Processing buffer {"connection_id":130863,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:00:39] local.INFO: IMEI packet received {"connection_id":130863,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":130863,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:00:42] local.INFO: TCP Data received {"connection_id":133014,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:00:42] local.INFO: Processing buffer {"connection_id":133014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:00:42] local.INFO: IMEI packet received {"connection_id":133014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":133014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:00:43] local.INFO: TCP Data received {"connection_id":133014,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:00:43] local.INFO: Processing buffer {"connection_id":133014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:00:43] local.INFO: IMEI packet received {"connection_id":133014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":133014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:00:44] local.INFO: TCP Data received {"connection_id":133014,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:00:44] local.INFO: Processing buffer {"connection_id":133014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:00:44] local.INFO: Packet analysis {"connection_id":133014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:00:44] local.INFO: Extracted packet for processing {"connection_id":133014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:00:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692805376001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783956572000,"timestamp_ms":1783956572000,"timestamp_seconds":1783956572,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c190760"} 
[2026-07-13 21:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:00:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:00:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":133014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":133014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":133014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692805376001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692805376001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:00:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:00:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692805376001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":133014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:00:44] local.INFO: GPS data processed {"connection_id":133014,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:00:44] local.INFO: Acknowledgment sent {"connection_id":133014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:00:44] local.INFO: TCP Data received {"connection_id":130863,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130863,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:00:44] local.INFO: Processing buffer {"connection_id":130863,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:00:44] local.INFO: IMEI packet received {"connection_id":130863,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":130863,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:00:45] local.INFO: TCP Data received {"connection_id":130863,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1751e0012cb460c00780da38004100cb2e..."} 
[2026-07-13 21:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1751e0012cb460c00780da38004100cb2e..."} 
[2026-07-13 21:00:45] local.INFO: Processing buffer {"connection_id":130863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1751e0012cb460c00780da38004100cb2e..."} 
[2026-07-13 21:00:45] local.INFO: Packet analysis {"connection_id":130863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c17"} 
[2026-07-13 21:00:45] local.INFO: Extracted packet for processing {"connection_id":130863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c17"} 
[2026-07-13 21:00:45] local.INFO: GPS Element Parsed {"raw_longitude":750018752,"raw_latitude":125884984,"longitude_deg":75.0018752,"latitude_deg":12.5884984,"altitude":65,"angle":203,"satellites":46,"speed":0,"hex_longitude":"2cb460c0","hex_latitude":"0780da38","is_valid_coordinates":true} 
[2026-07-13 21:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692848384001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:00:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5449144410659211264,"note":"Value kept but may cause issues"} 
[2026-07-13 21:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783956460000,"timestamp_ms":1783956460000,"timestamp_seconds":1783956460,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1751e0"} 
[2026-07-13 21:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-13 21:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:00:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130863,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130863,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692848384001,"66":27930,"125":206,"27":54016,"24":0,"16":135462516896563200,"44":-5449144410659211264},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,27,24,16,44]} 
[2026-07-13 21:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692848384001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:00:45] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-13 21:00:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:00:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5449144410659211264,"description":"Unknown IO ID 44"} 
[2026-07-13 21:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692848384001,"power":27930,"unknown_125":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5449144410659211264}} 
[2026-07-13 21:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":130863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482198,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:00:45] local.INFO: GPS data processed {"connection_id":130863,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:00:45] local.INFO: Acknowledgment sent {"connection_id":130863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:00:49] local.INFO: TCP Data received {"connection_id":133014,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:00:49] local.INFO: Processing buffer {"connection_id":133014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:00:49] local.INFO: Packet analysis {"connection_id":133014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:00:49] local.INFO: Extracted packet for processing {"connection_id":133014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:00:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692805376001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783956572000,"timestamp_ms":1783956572000,"timestamp_seconds":1783956572,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c190760"} 
[2026-07-13 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-07-13 21:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":133014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":133014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":133014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692805376001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692805376001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:00:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:00:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692805376001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":133014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:00:49] local.INFO: GPS data processed {"connection_id":133014,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:00:49] local.INFO: Acknowledgment sent {"connection_id":133014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:00:52] local.INFO: TCP Data received {"connection_id":130864,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:00:52] local.INFO: Processing buffer {"connection_id":130864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:00:52] local.INFO: IMEI packet received {"connection_id":130864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 21:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":130864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:00:57] local.INFO: TCP Data received {"connection_id":130864,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:00:57] local.INFO: Processing buffer {"connection_id":130864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:00:57] local.INFO: IMEI packet received {"connection_id":130864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 21:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":130864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:00:58] local.INFO: TCP Data received {"connection_id":130864,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c198c30012d196500071ff0e80047006828..."} 
[2026-07-13 21:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c198c30012d196500071ff0e80047006828..."} 
[2026-07-13 21:00:58] local.INFO: Processing buffer {"connection_id":130864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c198c30012d196500071ff0e80047006828..."} 
[2026-07-13 21:00:58] local.INFO: Packet analysis {"connection_id":130864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:00:58] local.INFO: Extracted packet for processing {"connection_id":130864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:00:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692814080001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783956606000,"timestamp_ms":1783956606000,"timestamp_seconds":1783956606,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c198c30"} 
[2026-07-13 21:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:00:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692814080001,"66":2155,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692814080001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:00:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:00:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692814080001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":130864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:00:58] local.INFO: GPS data processed {"connection_id":130864,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:00:58] local.INFO: Acknowledgment sent {"connection_id":130864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:01:17] local.INFO: TCP Data received {"connection_id":130863,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c17a3e8012cb453800780b000004400c42f..."} 
[2026-07-13 21:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c17a3e8012cb453800780b000004400c42f..."} 
[2026-07-13 21:01:17] local.INFO: Processing buffer {"connection_id":130863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c17a3e8012cb453800780b000004400c42f..."} 
[2026-07-13 21:01:17] local.INFO: Packet analysis {"connection_id":130863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c17"} 
[2026-07-13 21:01:17] local.INFO: Extracted packet for processing {"connection_id":130863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c17"} 
[2026-07-13 21:01:17] local.INFO: GPS Element Parsed {"raw_longitude":750015360,"raw_latitude":125874176,"longitude_deg":75.001536,"latitude_deg":12.5874176,"altitude":68,"angle":196,"satellites":47,"speed":0,"hex_longitude":"2cb45380","hex_latitude":"0780b000","is_valid_coordinates":true} 
[2026-07-13 21:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692853760001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:01:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5449144410659211264,"note":"Value kept but may cause issues"} 
[2026-07-13 21:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783956481000,"timestamp_ms":1783956481000,"timestamp_seconds":1783956481,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c17a3e8"} 
[2026-07-13 21:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":26,"data_length":795,"current_offset":136} 
[2026-07-13 21:01:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130863,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130863,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692853760001,"66":27919,"125":206,"27":54016,"24":0,"16":135462516896563200,"44":-5449144410659211264},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,27,24,16,44]} 
[2026-07-13 21:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692853760001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:01:17] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-13 21:01:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:01:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5449144410659211264,"description":"Unknown IO ID 44"} 
[2026-07-13 21:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692853760001,"power":27919,"unknown_125":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5449144410659211264}} 
[2026-07-13 21:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":130863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482201,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:01:17] local.INFO: GPS data processed {"connection_id":130863,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:01:17] local.INFO: Acknowledgment sent {"connection_id":130863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:01:29] local.INFO: TCP Data received {"connection_id":130864,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c198c30012d196500071ff0e80047006828..."} 
[2026-07-13 21:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c198c30012d196500071ff0e80047006828..."} 
[2026-07-13 21:01:29] local.INFO: Processing buffer {"connection_id":130864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c198c30012d196500071ff0e80047006828..."} 
[2026-07-13 21:01:29] local.INFO: Packet analysis {"connection_id":130864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:01:29] local.INFO: Extracted packet for processing {"connection_id":130864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:01:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692814080001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783956606000,"timestamp_ms":1783956606000,"timestamp_seconds":1783956606,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c198c30"} 
[2026-07-13 21:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:01:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:01:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:01:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:01:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692814080001,"66":2155,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692814080001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:01:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:01:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692814080001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":130864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:01:30] local.INFO: GPS data processed {"connection_id":130864,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:01:30] local.INFO: Acknowledgment sent {"connection_id":130864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:01:33] local.INFO: TCP Data received {"connection_id":131686,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:01:33] local.INFO: Processing buffer {"connection_id":131686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:01:33] local.INFO: IMEI packet received {"connection_id":131686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":131686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:01:39] local.INFO: TCP Data received {"connection_id":131687,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131687,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:01:39] local.INFO: Processing buffer {"connection_id":131687,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:01:39] local.INFO: IMEI packet received {"connection_id":131687,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":131687,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:01:39] local.INFO: TCP Data received {"connection_id":131686,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:01:39] local.INFO: Processing buffer {"connection_id":131686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:01:39] local.INFO: IMEI packet received {"connection_id":131686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":131686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:01:40] local.INFO: TCP Data received {"connection_id":131686,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:01:40] local.INFO: Processing buffer {"connection_id":131686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:01:40] local.INFO: Packet analysis {"connection_id":131686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:01:40] local.INFO: Extracted packet for processing {"connection_id":131686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:01:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692805376001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783956572000,"timestamp_ms":1783956572000,"timestamp_seconds":1783956572,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c190760"} 
[2026-07-13 21:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692805376001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692805376001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:01:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:01:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692805376001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":131686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:01:40] local.INFO: GPS data processed {"connection_id":131686,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:01:40] local.INFO: Acknowledgment sent {"connection_id":131686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:01:44] local.INFO: TCP Data received {"connection_id":131687,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131687,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:01:44] local.INFO: Processing buffer {"connection_id":131687,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:01:44] local.INFO: IMEI packet received {"connection_id":131687,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":131687,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:01:46] local.INFO: TCP Data received {"connection_id":131687,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c17f5f0012cb453800780b000004400c42f..."} 
[2026-07-13 21:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c17f5f0012cb453800780b000004400c42f..."} 
[2026-07-13 21:01:46] local.INFO: Processing buffer {"connection_id":131687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c17f5f0012cb453800780b000004400c42f..."} 
[2026-07-13 21:01:46] local.INFO: Packet analysis {"connection_id":131687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c17"} 
[2026-07-13 21:01:46] local.INFO: Extracted packet for processing {"connection_id":131687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c17"} 
[2026-07-13 21:01:46] local.INFO: GPS Element Parsed {"raw_longitude":750015360,"raw_latitude":125874176,"longitude_deg":75.001536,"latitude_deg":12.5874176,"altitude":68,"angle":196,"satellites":47,"speed":0,"hex_longitude":"2cb45380","hex_latitude":"0780b000","is_valid_coordinates":true} 
[2026-07-13 21:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692859136001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:01:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5452873954103394304,"note":"Value kept but may cause issues"} 
[2026-07-13 21:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783956502000,"timestamp_ms":1783956502000,"timestamp_seconds":1783956502,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c17f5f0"} 
[2026-07-13 21:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-13 21:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131687,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131687,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692859136001,"66":27789,"125":206,"27":54016,"24":0,"16":135462516896563200,"44":-5452873954103394304},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,27,24,16,44]} 
[2026-07-13 21:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692859136001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:01:46] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-13 21:01:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:01:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5452873954103394304,"description":"Unknown IO ID 44"} 
[2026-07-13 21:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692859136001,"power":27789,"unknown_125":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5452873954103394304}} 
[2026-07-13 21:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":131687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482204,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:01:46] local.INFO: GPS data processed {"connection_id":131687,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:01:46] local.INFO: Acknowledgment sent {"connection_id":131687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:01:52] local.INFO: TCP Data received {"connection_id":130645,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:01:52] local.INFO: Processing buffer {"connection_id":130645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:01:52] local.INFO: IMEI packet received {"connection_id":130645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 21:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":130645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:01:57] local.INFO: TCP Data received {"connection_id":130645,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:01:57] local.INFO: Processing buffer {"connection_id":130645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:01:57] local.INFO: IMEI packet received {"connection_id":130645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 21:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":130645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:01:58] local.INFO: TCP Data received {"connection_id":130645,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c198c30012d196500071ff0e80047006828..."} 
[2026-07-13 21:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c198c30012d196500071ff0e80047006828..."} 
[2026-07-13 21:01:58] local.INFO: Processing buffer {"connection_id":130645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c198c30012d196500071ff0e80047006828..."} 
[2026-07-13 21:01:58] local.INFO: Packet analysis {"connection_id":130645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:01:58] local.INFO: Extracted packet for processing {"connection_id":130645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:01:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692814080001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783956606000,"timestamp_ms":1783956606000,"timestamp_seconds":1783956606,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c198c30"} 
[2026-07-13 21:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:01:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:01:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:01:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692814080001,"66":2155,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692814080001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:01:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:01:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692814080001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":130645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:01:58] local.INFO: GPS data processed {"connection_id":130645,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:01:58] local.INFO: Acknowledgment sent {"connection_id":130645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:02:11] local.INFO: TCP Data received {"connection_id":131686,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:02:11] local.INFO: Processing buffer {"connection_id":131686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:02:11] local.INFO: Packet analysis {"connection_id":131686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:02:11] local.INFO: Extracted packet for processing {"connection_id":131686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:02:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692805376001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783956572000,"timestamp_ms":1783956572000,"timestamp_seconds":1783956572,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c190760"} 
[2026-07-13 21:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692805376001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692805376001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:02:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:02:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692805376001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":131686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:02:11] local.INFO: GPS data processed {"connection_id":131686,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:02:11] local.INFO: Acknowledgment sent {"connection_id":131686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:02:17] local.INFO: TCP Data received {"connection_id":131687,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c183858012cb4528007808058004a00b72f..."} 
[2026-07-13 21:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c183858012cb4528007808058004a00b72f..."} 
[2026-07-13 21:02:17] local.INFO: Processing buffer {"connection_id":131687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c183858012cb4528007808058004a00b72f..."} 
[2026-07-13 21:02:17] local.INFO: Packet analysis {"connection_id":131687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c18"} 
[2026-07-13 21:02:17] local.INFO: Extracted packet for processing {"connection_id":131687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c18"} 
[2026-07-13 21:02:17] local.INFO: GPS Element Parsed {"raw_longitude":750015104,"raw_latitude":125861976,"longitude_deg":75.0015104,"latitude_deg":12.5861976,"altitude":74,"angle":183,"satellites":47,"speed":17,"hex_longitude":"2cb45280","hex_latitude":"07808058","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692864512001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:02:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5452873954103394304,"note":"Value kept but may cause issues"} 
[2026-07-13 21:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783956519000,"timestamp_ms":1783956519000,"timestamp_seconds":1783956519,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c183858"} 
[2026-07-13 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-07-13 21:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 21:02: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-07-13 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-07-13 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-07-13 21:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131687,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131687,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692864512001,"66":27767,"125":206,"27":54016,"24":17,"16":135462516896563200,"44":-5452873954103394304},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,27,24,16,44]} 
[2026-07-13 21:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692864512001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:02:17] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-13 21:02:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:02:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5452873954103394304,"description":"Unknown IO ID 44"} 
[2026-07-13 21:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692864512001,"power":27767,"unknown_125":206,"unknown_27":54016,"ignition":17,"odometer":null,"unknown_44":-5452873954103394304}} 
[2026-07-13 21:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":131687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482207,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:02:17] local.INFO: GPS data processed {"connection_id":131687,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:02:17] local.INFO: Acknowledgment sent {"connection_id":131687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:02:29] local.INFO: TCP Data received {"connection_id":130645,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c198c30012d196500071ff0e80047006828..."} 
[2026-07-13 21:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c198c30012d196500071ff0e80047006828..."} 
[2026-07-13 21:02:29] local.INFO: Processing buffer {"connection_id":130645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c198c30012d196500071ff0e80047006828..."} 
[2026-07-13 21:02:29] local.INFO: Packet analysis {"connection_id":130645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:02:29] local.INFO: Extracted packet for processing {"connection_id":130645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:02:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692814080001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783956606000,"timestamp_ms":1783956606000,"timestamp_seconds":1783956606,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c198c30"} 
[2026-07-13 21:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:02:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692814080001,"66":2155,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692814080001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:02:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:02:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692814080001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":130645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:02:29] local.INFO: GPS data processed {"connection_id":130645,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:02:29] local.INFO: Acknowledgment sent {"connection_id":130645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:02:33] local.INFO: TCP Data received {"connection_id":130646,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:02:33] local.INFO: Processing buffer {"connection_id":130646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:02:33] local.INFO: IMEI packet received {"connection_id":130646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":130646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:02:39] local.INFO: TCP Data received {"connection_id":131688,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:02:39] local.INFO: Processing buffer {"connection_id":131688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:02:39] local.INFO: IMEI packet received {"connection_id":131688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":131688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:02:40] local.INFO: TCP Data received {"connection_id":130646,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:02:40] local.INFO: Processing buffer {"connection_id":130646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:02:40] local.INFO: IMEI packet received {"connection_id":130646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":130646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:02:41] local.INFO: TCP Data received {"connection_id":130646,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:02:41] local.INFO: Processing buffer {"connection_id":130646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:02:41] local.INFO: Packet analysis {"connection_id":130646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:02:41] local.INFO: Extracted packet for processing {"connection_id":130646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:02:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692805376001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783956572000,"timestamp_ms":1783956572000,"timestamp_seconds":1783956572,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c190760"} 
[2026-07-13 21:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692805376001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692805376001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:02:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:02:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692805376001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":130646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:02:41] local.INFO: GPS data processed {"connection_id":130646,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:02:41] local.INFO: Acknowledgment sent {"connection_id":130646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:02:46] local.INFO: TCP Data received {"connection_id":131688,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:02:46] local.INFO: Processing buffer {"connection_id":131688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:02:46] local.INFO: IMEI packet received {"connection_id":131688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":131688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:02:47] local.INFO: TCP Data received {"connection_id":131688,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c191ed00100000000000000000000000000..."} 
[2026-07-13 21:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c191ed00100000000000000000000000000..."} 
[2026-07-13 21:02:47] local.INFO: Processing buffer {"connection_id":131688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c191ed00100000000000000000000000000..."} 
[2026-07-13 21:02:47] local.INFO: Packet analysis {"connection_id":131688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:02:47] local.INFO: Extracted packet for processing {"connection_id":131688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:02:47] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 21:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692868864001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:02:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5453155429083228160,"note":"Value kept but may cause issues"} 
[2026-07-13 21:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783956578000,"timestamp_ms":1783956578000,"timestamp_seconds":1783956578,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c191ed0"} 
[2026-07-13 21:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-13 21:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":131688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":131688,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":131688,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":131688,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 21:02:47] local.INFO: GPS data processed {"connection_id":131688,"processed":0,"errors":0,"total":1} 
[2026-07-13 21:02:47] local.INFO: Acknowledgment sent {"connection_id":131688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:02:52] local.INFO: TCP Data received {"connection_id":130865,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:02:52] local.INFO: Processing buffer {"connection_id":130865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:02:52] local.INFO: IMEI packet received {"connection_id":130865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 21:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":130865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:02:57] local.INFO: TCP Data received {"connection_id":130865,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:02:57] local.INFO: Processing buffer {"connection_id":130865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:02:57] local.INFO: IMEI packet received {"connection_id":130865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 21:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":130865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:02:58] local.INFO: TCP Data received {"connection_id":130865,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c198c30012d196500071ff0e80047006828..."} 
[2026-07-13 21:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c198c30012d196500071ff0e80047006828..."} 
[2026-07-13 21:02:58] local.INFO: Processing buffer {"connection_id":130865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c198c30012d196500071ff0e80047006828..."} 
[2026-07-13 21:02:58] local.INFO: Packet analysis {"connection_id":130865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:02:58] local.INFO: Extracted packet for processing {"connection_id":130865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:02:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692814080001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783956606000,"timestamp_ms":1783956606000,"timestamp_seconds":1783956606,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c198c30"} 
[2026-07-13 21:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21: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-07-13 21:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692814080001,"66":2155,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692814080001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:02:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:02:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692814080001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":130865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:02:58] local.INFO: GPS data processed {"connection_id":130865,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:02:58] local.INFO: Acknowledgment sent {"connection_id":130865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:03:13] local.INFO: TCP Data received {"connection_id":130646,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:03:13] local.INFO: Processing buffer {"connection_id":130646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:03:13] local.INFO: Packet analysis {"connection_id":130646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:03:13] local.INFO: Extracted packet for processing {"connection_id":130646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:03:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692805376001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783956572000,"timestamp_ms":1783956572000,"timestamp_seconds":1783956572,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c190760"} 
[2026-07-13 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-07-13 21:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692805376001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692805376001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:03:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:03:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692805376001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":130646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:03:13] local.INFO: GPS data processed {"connection_id":130646,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:03:13] local.INFO: Acknowledgment sent {"connection_id":130646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:03:19] local.INFO: TCP Data received {"connection_id":131688,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1b2658012cb383c0077e75c8003d00e732..."} 
[2026-07-13 21:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1b2658012cb383c0077e75c8003d00e732..."} 
[2026-07-13 21:03:19] local.INFO: Processing buffer {"connection_id":131688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1b2658012cb383c0077e75c8003d00e732..."} 
[2026-07-13 21:03:19] local.INFO: Packet analysis {"connection_id":131688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c1b"} 
[2026-07-13 21:03:19] local.INFO: Extracted packet for processing {"connection_id":131688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c1b"} 
[2026-07-13 21:03:19] local.INFO: GPS Element Parsed {"raw_longitude":749962176,"raw_latitude":125728200,"longitude_deg":74.9962176,"latitude_deg":12.57282,"altitude":61,"angle":231,"satellites":50,"speed":39,"hex_longitude":"2cb383c0","hex_latitude":"077e75c8","is_valid_coordinates":true} 
[2026-07-13 21:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:03:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,176,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 21:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783956711000,"timestamp_ms":1783956711000,"timestamp_seconds":1783956711,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1b2658"} 
[2026-07-13 21:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:03: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 21:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":131688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":131688,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":131688,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27908,"176":206,"27":54016,"24":39,"16":135462516896563200},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,27,24,16]} 
[2026-07-13 21:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-13 21:03:19] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-13 21:03:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:03:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27908,"unknown_176":206,"unknown_27":54016,"ignition":39,"odometer":null}} 
[2026-07-13 21:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":131688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482212,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:03:19] local.INFO: GPS data processed {"connection_id":131688,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:03:19] local.INFO: Acknowledgment sent {"connection_id":131688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:03:29] local.INFO: TCP Data received {"connection_id":130865,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c198c30012d196500071ff0e80047006828..."} 
[2026-07-13 21:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c198c30012d196500071ff0e80047006828..."} 
[2026-07-13 21:03:29] local.INFO: Processing buffer {"connection_id":130865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c198c30012d196500071ff0e80047006828..."} 
[2026-07-13 21:03:29] local.INFO: Packet analysis {"connection_id":130865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:03:29] local.INFO: Extracted packet for processing {"connection_id":130865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:03:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692814080001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783956606000,"timestamp_ms":1783956606000,"timestamp_seconds":1783956606,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c198c30"} 
[2026-07-13 21:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:03:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21: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-07-13 21:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692814080001,"66":2155,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692814080001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:03:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:03:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692814080001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":130865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:03:29] local.INFO: GPS data processed {"connection_id":130865,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:03:29] local.INFO: Acknowledgment sent {"connection_id":130865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:03:39] local.INFO: TCP Data received {"connection_id":131689,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:03:39] local.INFO: Processing buffer {"connection_id":131689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:03:39] local.INFO: IMEI packet received {"connection_id":131689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":131689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:03:44] local.INFO: TCP Data received {"connection_id":131690,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:03:44] local.INFO: Processing buffer {"connection_id":131690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:03:44] local.INFO: IMEI packet received {"connection_id":131690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":131690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:03:46] local.INFO: TCP Data received {"connection_id":131689,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:03:46] local.INFO: Processing buffer {"connection_id":131689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:03:46] local.INFO: IMEI packet received {"connection_id":131689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":131689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:03:47] local.INFO: TCP Data received {"connection_id":131689,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:03:47] local.INFO: Processing buffer {"connection_id":131689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:03:47] local.INFO: Packet analysis {"connection_id":131689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:03:47] local.INFO: Extracted packet for processing {"connection_id":131689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:03:47] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692805376001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783956572000,"timestamp_ms":1783956572000,"timestamp_seconds":1783956572,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c190760"} 
[2026-07-13 21:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:03:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":131689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":131689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":131689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692805376001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692805376001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:03:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:03:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692805376001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":131689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:03:47] local.INFO: GPS data processed {"connection_id":131689,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:03:47] local.INFO: Acknowledgment sent {"connection_id":131689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:03:49] local.INFO: TCP Data received {"connection_id":131689,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:03:49] local.INFO: Processing buffer {"connection_id":131689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:03:49] local.INFO: Packet analysis {"connection_id":131689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:03:49] local.INFO: Extracted packet for processing {"connection_id":131689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:03:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692805376001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783956572000,"timestamp_ms":1783956572000,"timestamp_seconds":1783956572,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c190760"} 
[2026-07-13 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-07-13 21:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692805376001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692805376001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:03:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:03:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692805376001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":131689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:03:49] local.INFO: GPS data processed {"connection_id":131689,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:03:49] local.INFO: Acknowledgment sent {"connection_id":131689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:03:49] local.INFO: TCP Data received {"connection_id":131690,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:03:49] local.INFO: Processing buffer {"connection_id":131690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:03:49] local.INFO: IMEI packet received {"connection_id":131690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":131690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:03:51] local.INFO: TCP Data received {"connection_id":131690,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1b7860012cb349c0077e4cb8003c00e82d..."} 
[2026-07-13 21:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1b7860012cb349c0077e4cb8003c00e82d..."} 
[2026-07-13 21:03:51] local.INFO: Processing buffer {"connection_id":131690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1b7860012cb349c0077e4cb8003c00e82d..."} 
[2026-07-13 21:03:51] local.INFO: Packet analysis {"connection_id":131690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c1b"} 
[2026-07-13 21:03:51] local.INFO: Extracted packet for processing {"connection_id":131690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c1b"} 
[2026-07-13 21:03:51] local.INFO: GPS Element Parsed {"raw_longitude":749947328,"raw_latitude":125717688,"longitude_deg":74.9947328,"latitude_deg":12.5717688,"altitude":60,"angle":232,"satellites":45,"speed":0,"hex_longitude":"2cb349c0","hex_latitude":"077e4cb8","is_valid_coordinates":true} 
[2026-07-13 21:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692918016001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:03:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5511350380552402944,"note":"Value kept but may cause issues"} 
[2026-07-13 21:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783956732000,"timestamp_ms":1783956732000,"timestamp_seconds":1783956732,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1b7860"} 
[2026-07-13 21:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-13 21:03: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-07-13 21:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":131690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":131690,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":131690,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692918016001,"66":27604,"176":206,"27":54016,"24":0,"16":135462516896563200,"44":-5511350380552402944},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,27,24,16,44]} 
[2026-07-13 21:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692918016001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:03:51] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-13 21:03:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:03:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5511350380552402944,"description":"Unknown IO ID 44"} 
[2026-07-13 21:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692918016001,"power":27604,"unknown_176":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5511350380552402944}} 
[2026-07-13 21:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":131690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482216,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:03:51] local.INFO: GPS data processed {"connection_id":131690,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:03:51] local.INFO: Acknowledgment sent {"connection_id":131690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:03:52] local.INFO: TCP Data received {"connection_id":133015,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:03:52] local.INFO: Processing buffer {"connection_id":133015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:03:52] local.INFO: IMEI packet received {"connection_id":133015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 21:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":133015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:03:55] local.INFO: TCP Data received {"connection_id":131690,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1bb2f8012cb325c0077e26b0003500c92d..."} 
[2026-07-13 21:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1bb2f8012cb325c0077e26b0003500c92d..."} 
[2026-07-13 21:03:55] local.INFO: Processing buffer {"connection_id":131690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1bb2f8012cb325c0077e26b0003500c92d..."} 
[2026-07-13 21:03:55] local.INFO: Packet analysis {"connection_id":131690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c1b"} 
[2026-07-13 21:03:55] local.INFO: Extracted packet for processing {"connection_id":131690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c1b"} 
[2026-07-13 21:03:55] local.INFO: GPS Element Parsed {"raw_longitude":749938112,"raw_latitude":125707952,"longitude_deg":74.9938112,"latitude_deg":12.5707952,"altitude":53,"angle":201,"satellites":45,"speed":9,"hex_longitude":"2cb325c0","hex_latitude":"077e26b0","is_valid_coordinates":true} 
[2026-07-13 21:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692923392001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:03:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5527675929204312064,"note":"Value kept but may cause issues"} 
[2026-07-13 21:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783956747000,"timestamp_ms":1783956747000,"timestamp_seconds":1783956747,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1bb2f8"} 
[2026-07-13 21:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-13 21:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":131690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":131690,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":131690,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692923392001,"66":27930,"176":206,"27":54016,"24":9,"16":135462516896563200,"44":-5527675929204312064},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,27,24,16,44]} 
[2026-07-13 21:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692923392001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:03:55] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-13 21:03:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:03:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5527675929204312064,"description":"Unknown IO ID 44"} 
[2026-07-13 21:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692923392001,"power":27930,"unknown_176":206,"unknown_27":54016,"ignition":9,"odometer":null,"unknown_44":-5527675929204312064}} 
[2026-07-13 21:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":131690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482217,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:03:55] local.INFO: GPS data processed {"connection_id":131690,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:03:55] local.INFO: Acknowledgment sent {"connection_id":131690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:03:57] local.INFO: TCP Data received {"connection_id":133015,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:03:57] local.INFO: Processing buffer {"connection_id":133015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:03:57] local.INFO: IMEI packet received {"connection_id":133015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 21:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":133015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:03:58] local.INFO: TCP Data received {"connection_id":133015,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c198c30012d196500071ff0e80047006828..."} 
[2026-07-13 21:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c198c30012d196500071ff0e80047006828..."} 
[2026-07-13 21:03:58] local.INFO: Processing buffer {"connection_id":133015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c198c30012d196500071ff0e80047006828..."} 
[2026-07-13 21:03:58] local.INFO: Packet analysis {"connection_id":133015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:03:58] local.INFO: Extracted packet for processing {"connection_id":133015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:03:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692814080001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783956606000,"timestamp_ms":1783956606000,"timestamp_seconds":1783956606,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c198c30"} 
[2026-07-13 21:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:03:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":133015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":133015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":133015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692814080001,"66":2155,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692814080001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:03:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:03:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692814080001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":133015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:03:58] local.INFO: GPS data processed {"connection_id":133015,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:03:58] local.INFO: Acknowledgment sent {"connection_id":133015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:04:29] local.INFO: TCP Data received {"connection_id":133015,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c198c30012d196500071ff0e80047006828..."} 
[2026-07-13 21:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c198c30012d196500071ff0e80047006828..."} 
[2026-07-13 21:04:29] local.INFO: Processing buffer {"connection_id":133015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c198c30012d196500071ff0e80047006828..."} 
[2026-07-13 21:04:29] local.INFO: Packet analysis {"connection_id":133015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:04:29] local.INFO: Extracted packet for processing {"connection_id":133015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:04:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692814080001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783956606000,"timestamp_ms":1783956606000,"timestamp_seconds":1783956606,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c198c30"} 
[2026-07-13 21:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:04:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:04:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":133015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":133015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":133015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692814080001,"66":2155,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692814080001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:04:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:04:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692814080001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":133015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:04:29] local.INFO: GPS data processed {"connection_id":133015,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:04:29] local.INFO: Acknowledgment sent {"connection_id":133015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:04:34] local.INFO: TCP Data received {"connection_id":130647,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:04:34] local.INFO: Processing buffer {"connection_id":130647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:04:34] local.INFO: IMEI packet received {"connection_id":130647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":130647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:04:39] local.INFO: TCP Data received {"connection_id":130647,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:04:39] local.INFO: Processing buffer {"connection_id":130647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:04:39] local.INFO: IMEI packet received {"connection_id":130647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":130647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:04:39] local.INFO: TCP Data received {"connection_id":133016,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:04:39] local.INFO: Processing buffer {"connection_id":133016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:04:39] local.INFO: IMEI packet received {"connection_id":133016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":133016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:04:39] local.INFO: TCP Data received {"connection_id":130647,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:04:39] local.INFO: Processing buffer {"connection_id":130647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:04:39] local.INFO: Packet analysis {"connection_id":130647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:04:39] local.INFO: Extracted packet for processing {"connection_id":130647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:04:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692805376001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783956572000,"timestamp_ms":1783956572000,"timestamp_seconds":1783956572,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c190760"} 
[2026-07-13 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-07-13 21:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692805376001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692805376001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:04:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:04:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692805376001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":130647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:04:39] local.INFO: GPS data processed {"connection_id":130647,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:04:39] local.INFO: Acknowledgment sent {"connection_id":130647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:04:44] local.INFO: TCP Data received {"connection_id":133016,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:04:44] local.INFO: Processing buffer {"connection_id":133016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:04:44] local.INFO: IMEI packet received {"connection_id":133016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":133016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:04:45] local.INFO: TCP Data received {"connection_id":133016,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1c99700100000000000000000000000000..."} 
[2026-07-13 21:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1c99700100000000000000000000000000..."} 
[2026-07-13 21:04:45] local.INFO: Processing buffer {"connection_id":133016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1c99700100000000000000000000000000..."} 
[2026-07-13 21:04:45] local.INFO: Packet analysis {"connection_id":133016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c1c"} 
[2026-07-13 21:04:45] local.INFO: Extracted packet for processing {"connection_id":133016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c1c"} 
[2026-07-13 21:04:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 21:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692927232001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:04:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5537809028368388096,"note":"Value kept but may cause issues"} 
[2026-07-13 21:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783956806000,"timestamp_ms":1783956806000,"timestamp_seconds":1783956806,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1c9970"} 
[2026-07-13 21:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-13 21:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:04:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":133016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":133016,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":133016,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":133016,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 21:04:45] local.INFO: GPS data processed {"connection_id":133016,"processed":0,"errors":0,"total":1} 
[2026-07-13 21:04:45] local.INFO: Acknowledgment sent {"connection_id":133016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:04:57] local.INFO: TCP Data received {"connection_id":130866,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:04:57] local.INFO: Processing buffer {"connection_id":130866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:04:57] local.INFO: IMEI packet received {"connection_id":130866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 21:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":130866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:05:02] local.INFO: TCP Data received {"connection_id":130866,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:05:02] local.INFO: Processing buffer {"connection_id":130866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:05:02] local.INFO: IMEI packet received {"connection_id":130866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 21:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":130866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:05:03] local.INFO: TCP Data received {"connection_id":130866,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c198c30012d196500071ff0e80047006828..."} 
[2026-07-13 21:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c198c30012d196500071ff0e80047006828..."} 
[2026-07-13 21:05:03] local.INFO: Processing buffer {"connection_id":130866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c198c30012d196500071ff0e80047006828..."} 
[2026-07-13 21:05:03] local.INFO: Packet analysis {"connection_id":130866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:05:03] local.INFO: Extracted packet for processing {"connection_id":130866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:05:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692814080001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783956606000,"timestamp_ms":1783956606000,"timestamp_seconds":1783956606,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c198c30"} 
[2026-07-13 21:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":130866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":130866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":130866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692814080001,"66":2155,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692814080001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:05:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:05:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692814080001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":130866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:05:03] local.INFO: GPS data processed {"connection_id":130866,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:05:03] local.INFO: Acknowledgment sent {"connection_id":130866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:05:08] local.INFO: TCP Data received {"connection_id":130866,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c198c30012d196500071ff0e80047006828..."} 
[2026-07-13 21:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c198c30012d196500071ff0e80047006828..."} 
[2026-07-13 21:05:08] local.INFO: Processing buffer {"connection_id":130866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c198c30012d196500071ff0e80047006828..."} 
[2026-07-13 21:05:08] local.INFO: Packet analysis {"connection_id":130866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:05:08] local.INFO: Extracted packet for processing {"connection_id":130866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:05:08] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692814080001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 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-07-13 21:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783956606000,"timestamp_ms":1783956606000,"timestamp_seconds":1783956606,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c198c30"} 
[2026-07-13 21:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":130866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":130866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":130866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692814080001,"66":2155,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692814080001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:05:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:05:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692814080001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":130866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:05:08] local.INFO: GPS data processed {"connection_id":130866,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:05:08] local.INFO: Acknowledgment sent {"connection_id":130866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:05:10] local.INFO: TCP Data received {"connection_id":130647,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:05:10] local.INFO: Processing buffer {"connection_id":130647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c190760012d7f914005afd9380019011b23..."} 
[2026-07-13 21:05:10] local.INFO: Packet analysis {"connection_id":130647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:05:10] local.INFO: Extracted packet for processing {"connection_id":130647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c19"} 
[2026-07-13 21:05:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692805376001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783956572000,"timestamp_ms":1783956572000,"timestamp_seconds":1783956572,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c190760"} 
[2026-07-13 21:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692805376001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692805376001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:05:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:05:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692805376001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":130647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:05:11] local.INFO: GPS data processed {"connection_id":130647,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:05:11] local.INFO: Acknowledgment sent {"connection_id":130647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:05:17] local.INFO: TCP Data received {"connection_id":133016,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1c2c10012cb34380077df2a0002e00b732..."} 
[2026-07-13 21:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1c2c10012cb34380077df2a0002e00b732..."} 
[2026-07-13 21:05:17] local.INFO: Processing buffer {"connection_id":133016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1c2c10012cb34380077df2a0002e00b732..."} 
[2026-07-13 21:05:17] local.INFO: Packet analysis {"connection_id":133016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c1c"} 
[2026-07-13 21:05:17] local.INFO: Extracted packet for processing {"connection_id":133016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c1c"} 
[2026-07-13 21:05:17] local.INFO: GPS Element Parsed {"raw_longitude":749945728,"raw_latitude":125694624,"longitude_deg":74.9945728,"latitude_deg":12.5694624,"altitude":46,"angle":183,"satellites":50,"speed":34,"hex_longitude":"2cb34380","hex_latitude":"077df2a0","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:05:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,176,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 21:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783956778000,"timestamp_ms":1783956778000,"timestamp_seconds":1783956778,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1c2c10"} 
[2026-07-13 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-07-13 21:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-13 21:05: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-07-13 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-07-13 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-07-13 21:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":133016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":133016,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":133016,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27745,"176":206,"27":54016,"24":34,"16":135462516896563200},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,27,24,16]} 
[2026-07-13 21:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-13 21:05:17] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-13 21:05:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:05:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27745,"unknown_176":206,"unknown_27":54016,"ignition":34,"odometer":null}} 
[2026-07-13 21:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":133016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482224,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:05:17] local.INFO: GPS data processed {"connection_id":133016,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:05:17] local.INFO: Acknowledgment sent {"connection_id":133016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:05:39] local.INFO: TCP Data received {"connection_id":131691,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:05:39] local.INFO: Processing buffer {"connection_id":131691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:05:39] local.INFO: IMEI packet received {"connection_id":131691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":131691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:05:41] local.INFO: TCP Data received {"connection_id":131691,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:05:41] local.INFO: Processing buffer {"connection_id":131691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:05:41] local.INFO: IMEI packet received {"connection_id":131691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":131691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:05:44] local.INFO: TCP Data received {"connection_id":130648,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:05:44] local.INFO: Processing buffer {"connection_id":130648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:05:44] local.INFO: IMEI packet received {"connection_id":130648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":130648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:05:44] local.INFO: TCP Data received {"connection_id":131691,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:05:44] local.INFO: Processing buffer {"connection_id":131691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:05:44] local.INFO: IMEI packet received {"connection_id":131691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":131691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:05:45] local.INFO: TCP Data received {"connection_id":131691,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1c7648012cb33b40077dac78002100a72f..."} 
[2026-07-13 21:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1c7648012cb33b40077dac78002100a72f..."} 
[2026-07-13 21:05:45] local.INFO: Processing buffer {"connection_id":131691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1c7648012cb33b40077dac78002100a72f..."} 
[2026-07-13 21:05:45] local.INFO: Packet analysis {"connection_id":131691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c1c"} 
[2026-07-13 21:05:45] local.INFO: Extracted packet for processing {"connection_id":131691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c1c"} 
[2026-07-13 21:05:45] local.INFO: GPS Element Parsed {"raw_longitude":749943616,"raw_latitude":125676664,"longitude_deg":74.9943616,"latitude_deg":12.5676664,"altitude":33,"angle":167,"satellites":47,"speed":38,"hex_longitude":"2cb33b40","hex_latitude":"077dac78","is_valid_coordinates":true} 
[2026-07-13 21:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692935168001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:05:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5529435147814658048,"note":"Value kept but may cause issues"} 
[2026-07-13 21:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783956797000,"timestamp_ms":1783956797000,"timestamp_seconds":1783956797,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1c7648"} 
[2026-07-13 21:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-13 21:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692935168001,"66":27952,"176":206,"27":54016,"24":38,"16":135462516896563200,"44":-5529435147814658048},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,27,24,16,44]} 
[2026-07-13 21:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692935168001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:05:45] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-13 21:05:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:05:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5529435147814658048,"description":"Unknown IO ID 44"} 
[2026-07-13 21:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692935168001,"power":27952,"unknown_176":206,"unknown_27":54016,"ignition":38,"odometer":null,"unknown_44":-5529435147814658048}} 
[2026-07-13 21:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":131691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482225,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:05:45] local.INFO: GPS data processed {"connection_id":131691,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:05:45] local.INFO: Acknowledgment sent {"connection_id":131691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:05:49] local.INFO: TCP Data received {"connection_id":130648,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:05:49] local.INFO: Processing buffer {"connection_id":130648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:05:49] local.INFO: IMEI packet received {"connection_id":130648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":130648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:05:50] local.INFO: TCP Data received {"connection_id":130648,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1d9f28012d7f914005afd9380019011b28..."} 
[2026-07-13 21:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1d9f28012d7f914005afd9380019011b28..."} 
[2026-07-13 21:05:50] local.INFO: Processing buffer {"connection_id":130648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1d9f28012d7f914005afd9380019011b28..."} 
[2026-07-13 21:05:50] local.INFO: Packet analysis {"connection_id":130648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c1d"} 
[2026-07-13 21:05:50] local.INFO: Extracted packet for processing {"connection_id":130648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c1d"} 
[2026-07-13 21:05:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692882432001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783956873000,"timestamp_ms":1783956873000,"timestamp_seconds":1783956873,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1d9f28"} 
[2026-07-13 21:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:05: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-07-13 21: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:05: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-07-13 21:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692882432001,"66":24854,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692882432001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:05:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:05:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692882432001,"power":24854,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":130648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:05:50] local.INFO: GPS data processed {"connection_id":130648,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:05:50] local.INFO: Acknowledgment sent {"connection_id":130648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:05:52] local.INFO: TCP Data received {"connection_id":133017,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:05:52] local.INFO: Processing buffer {"connection_id":133017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:05:52] local.INFO: IMEI packet received {"connection_id":133017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 21:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":133017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:05:54] local.INFO: TCP Data received {"connection_id":131691,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1cc850012cb359c0077d7140001100af2f..."} 
[2026-07-13 21:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1cc850012cb359c0077d7140001100af2f..."} 
[2026-07-13 21:05:54] local.INFO: Processing buffer {"connection_id":131691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1cc850012cb359c0077d7140001100af2f..."} 
[2026-07-13 21:05:54] local.INFO: Packet analysis {"connection_id":131691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c1c"} 
[2026-07-13 21:05:54] local.INFO: Extracted packet for processing {"connection_id":131691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c1c"} 
[2026-07-13 21:05:54] local.INFO: GPS Element Parsed {"raw_longitude":749951424,"raw_latitude":125661504,"longitude_deg":74.9951424,"latitude_deg":12.5661504,"altitude":17,"angle":175,"satellites":47,"speed":41,"hex_longitude":"2cb359c0","hex_latitude":"077d7140","is_valid_coordinates":true} 
[2026-07-13 21:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692940032001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:05:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5531757316377118720,"note":"Value kept but may cause issues"} 
[2026-07-13 21:05:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783956818000,"timestamp_ms":1783956818000,"timestamp_seconds":1783956818,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1cc850"} 
[2026-07-13 21:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:05: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-07-13 21:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-13 21:05:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:05:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":131691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":131691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":131691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692940032001,"66":27789,"176":206,"27":54016,"24":41,"16":135462516896563200,"44":-5531757316377118720},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,27,24,16,44]} 
[2026-07-13 21:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692940032001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:05:54] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-13 21:05:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:05:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5531757316377118720,"description":"Unknown IO ID 44"} 
[2026-07-13 21:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692940032001,"power":27789,"unknown_176":206,"unknown_27":54016,"ignition":41,"odometer":null,"unknown_44":-5531757316377118720}} 
[2026-07-13 21:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":131691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482227,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:05:54] local.INFO: GPS data processed {"connection_id":131691,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:05:54] local.INFO: Acknowledgment sent {"connection_id":131691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:05:57] local.INFO: TCP Data received {"connection_id":133017,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:05:57] local.INFO: Processing buffer {"connection_id":133017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:05:57] local.INFO: IMEI packet received {"connection_id":133017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 21:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":133017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:05:58] local.INFO: TCP Data received {"connection_id":133017,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1e23f8012d196500071ff0e80047006825..."} 
[2026-07-13 21:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1e23f8012d196500071ff0e80047006825..."} 
[2026-07-13 21:05:58] local.INFO: Processing buffer {"connection_id":133017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1e23f8012d196500071ff0e80047006825..."} 
[2026-07-13 21:05:58] local.INFO: Packet analysis {"connection_id":133017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c1e"} 
[2026-07-13 21:05:58] local.INFO: Extracted packet for processing {"connection_id":133017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c1e"} 
[2026-07-13 21:05:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692891136001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783956907000,"timestamp_ms":1783956907000,"timestamp_seconds":1783956907,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1e23f8"} 
[2026-07-13 21:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 21:05:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":133017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":133017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":133017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692891136001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692891136001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:05:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:05:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692891136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":133017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:05:59] local.INFO: GPS data processed {"connection_id":133017,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:05:59] local.INFO: Acknowledgment sent {"connection_id":133017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:06:30] local.INFO: TCP Data received {"connection_id":133017,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1e23f8012d196500071ff0e80047006825..."} 
[2026-07-13 21:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1e23f8012d196500071ff0e80047006825..."} 
[2026-07-13 21:06:30] local.INFO: Processing buffer {"connection_id":133017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1e23f8012d196500071ff0e80047006825..."} 
[2026-07-13 21:06:30] local.INFO: Packet analysis {"connection_id":133017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c1e"} 
[2026-07-13 21:06:30] local.INFO: Extracted packet for processing {"connection_id":133017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c1e"} 
[2026-07-13 21:06:30] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692891136001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783956907000,"timestamp_ms":1783956907000,"timestamp_seconds":1783956907,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1e23f8"} 
[2026-07-13 21:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 21:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":133017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":133017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":133017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692891136001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692891136001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:06:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:06:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692891136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":133017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:06:30] local.INFO: GPS data processed {"connection_id":133017,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:06:30] local.INFO: Acknowledgment sent {"connection_id":133017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:06:34] local.INFO: TCP Data received {"connection_id":133018,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:06:34] local.INFO: Processing buffer {"connection_id":133018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:06:34] local.INFO: IMEI packet received {"connection_id":133018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":133018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:06:39] local.INFO: TCP Data received {"connection_id":133018,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:06:39] local.INFO: Processing buffer {"connection_id":133018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:06:39] local.INFO: IMEI packet received {"connection_id":133018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":133018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:06:39] local.INFO: TCP Data received {"connection_id":130867,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130867,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:06:39] local.INFO: Processing buffer {"connection_id":130867,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:06:39] local.INFO: IMEI packet received {"connection_id":130867,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":130867,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:06:39] local.INFO: TCP Data received {"connection_id":133018,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1d9f28012d7f914005afd9380019011b28..."} 
[2026-07-13 21:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1d9f28012d7f914005afd9380019011b28..."} 
[2026-07-13 21:06:39] local.INFO: Processing buffer {"connection_id":133018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1d9f28012d7f914005afd9380019011b28..."} 
[2026-07-13 21:06:39] local.INFO: Packet analysis {"connection_id":133018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c1d"} 
[2026-07-13 21:06:39] local.INFO: Extracted packet for processing {"connection_id":133018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c1d"} 
[2026-07-13 21:06:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692882432001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783956873000,"timestamp_ms":1783956873000,"timestamp_seconds":1783956873,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1d9f28"} 
[2026-07-13 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-07-13 21:06: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-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692882432001,"66":24854,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692882432001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:06:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:06:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692882432001,"power":24854,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":133018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:06:39] local.INFO: GPS data processed {"connection_id":133018,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:06:39] local.INFO: Acknowledgment sent {"connection_id":133018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:06:44] local.INFO: TCP Data received {"connection_id":130867,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130867,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:06:44] local.INFO: Processing buffer {"connection_id":130867,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:06:44] local.INFO: IMEI packet received {"connection_id":130867,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":130867,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:06:47] local.INFO: TCP Data received {"connection_id":130867,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1d0ea0012cb36880077d2e80000600cc2d..."} 
[2026-07-13 21:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1d0ea0012cb36880077d2e80000600cc2d..."} 
[2026-07-13 21:06:47] local.INFO: Processing buffer {"connection_id":130867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1d0ea0012cb36880077d2e80000600cc2d..."} 
[2026-07-13 21:06:47] local.INFO: Packet analysis {"connection_id":130867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c1d"} 
[2026-07-13 21:06:47] local.INFO: Extracted packet for processing {"connection_id":130867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c1d"} 
[2026-07-13 21:06:47] local.INFO: GPS Element Parsed {"raw_longitude":749955200,"raw_latitude":125644416,"longitude_deg":74.99552,"latitude_deg":12.5644416,"altitude":6,"angle":204,"satellites":45,"speed":40,"hex_longitude":"2cb36880","hex_latitude":"077d2e80","is_valid_coordinates":true} 
[2026-07-13 21:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692945408001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:06:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5523172329591324672,"note":"Value kept but may cause issues"} 
[2026-07-13 21:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783956836000,"timestamp_ms":1783956836000,"timestamp_seconds":1783956836,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1d0ea0"} 
[2026-07-13 21:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 21:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130867,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130867,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692945408001,"66":27930,"176":206,"27":54016,"24":40,"16":135462516896563200,"44":-5523172329591324672},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,27,24,16,44]} 
[2026-07-13 21:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692945408001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:06:47] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-13 21:06:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:06:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5523172329591324672,"description":"Unknown IO ID 44"} 
[2026-07-13 21:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692945408001,"power":27930,"unknown_176":206,"unknown_27":54016,"ignition":40,"odometer":null,"unknown_44":-5523172329591324672}} 
[2026-07-13 21:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":130867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482231,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:06:47] local.INFO: GPS data processed {"connection_id":130867,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:06:47] local.INFO: Acknowledgment sent {"connection_id":130867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:06:52] local.INFO: TCP Data received {"connection_id":131692,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:06:52] local.INFO: Processing buffer {"connection_id":131692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:06:52] local.INFO: IMEI packet received {"connection_id":131692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 21:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":131692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:06:57] local.INFO: TCP Data received {"connection_id":131692,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:06:57] local.INFO: Processing buffer {"connection_id":131692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:06:57] local.INFO: IMEI packet received {"connection_id":131692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 21:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":131692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:06:58] local.INFO: TCP Data received {"connection_id":131692,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1e23f8012d196500071ff0e80047006825..."} 
[2026-07-13 21:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1e23f8012d196500071ff0e80047006825..."} 
[2026-07-13 21:06:58] local.INFO: Processing buffer {"connection_id":131692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1e23f8012d196500071ff0e80047006825..."} 
[2026-07-13 21:06:58] local.INFO: Packet analysis {"connection_id":131692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c1e"} 
[2026-07-13 21:06:58] local.INFO: Extracted packet for processing {"connection_id":131692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c1e"} 
[2026-07-13 21:06:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692891136001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783956907000,"timestamp_ms":1783956907000,"timestamp_seconds":1783956907,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1e23f8"} 
[2026-07-13 21:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 21:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:06:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692891136001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692891136001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:06:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:06:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692891136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":131692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:06:58] local.INFO: GPS data processed {"connection_id":131692,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:06:58] local.INFO: Acknowledgment sent {"connection_id":131692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:07:12] local.INFO: TCP Data received {"connection_id":133018,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1d9f28012d7f914005afd9380019011b28..."} 
[2026-07-13 21:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1d9f28012d7f914005afd9380019011b28..."} 
[2026-07-13 21:07:12] local.INFO: Processing buffer {"connection_id":133018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1d9f28012d7f914005afd9380019011b28..."} 
[2026-07-13 21:07:12] local.INFO: Packet analysis {"connection_id":133018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c1d"} 
[2026-07-13 21:07:12] local.INFO: Extracted packet for processing {"connection_id":133018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c1d"} 
[2026-07-13 21:07:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692882432001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783956873000,"timestamp_ms":1783956873000,"timestamp_seconds":1783956873,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1d9f28"} 
[2026-07-13 21:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692882432001,"66":24854,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692882432001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:07:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:07:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692882432001,"power":24854,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":133018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:07:12] local.INFO: GPS data processed {"connection_id":133018,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:07:12] local.INFO: Acknowledgment sent {"connection_id":133018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:07:18] local.INFO: TCP Data received {"connection_id":130867,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1df5180100000000000000000000000000..."} 
[2026-07-13 21:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1df5180100000000000000000000000000..."} 
[2026-07-13 21:07:18] local.INFO: Processing buffer {"connection_id":130867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1df5180100000000000000000000000000..."} 
[2026-07-13 21:07:18] local.INFO: Packet analysis {"connection_id":130867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c1d"} 
[2026-07-13 21:07:18] local.INFO: Extracted packet for processing {"connection_id":130867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c1d"} 
[2026-07-13 21:07:18] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 21:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692950016001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:07:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5519020573689217024,"note":"Value kept but may cause issues"} 
[2026-07-13 21:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783956895000,"timestamp_ms":1783956895000,"timestamp_seconds":1783956895,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1df518"} 
[2026-07-13 21:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-13 21:07: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-07-13 21:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130867,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130867,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":130867,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 21:07:18] local.INFO: GPS data processed {"connection_id":130867,"processed":0,"errors":0,"total":1} 
[2026-07-13 21:07:18] local.INFO: Acknowledgment sent {"connection_id":130867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:07:29] local.INFO: TCP Data received {"connection_id":131692,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1e23f8012d196500071ff0e80047006825..."} 
[2026-07-13 21:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1e23f8012d196500071ff0e80047006825..."} 
[2026-07-13 21:07:29] local.INFO: Processing buffer {"connection_id":131692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1e23f8012d196500071ff0e80047006825..."} 
[2026-07-13 21:07:29] local.INFO: Packet analysis {"connection_id":131692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c1e"} 
[2026-07-13 21:07:29] local.INFO: Extracted packet for processing {"connection_id":131692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c1e"} 
[2026-07-13 21:07:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692891136001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783956907000,"timestamp_ms":1783956907000,"timestamp_seconds":1783956907,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1e23f8"} 
[2026-07-13 21:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 21:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:07:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":131692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":131692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":131692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692891136001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692891136001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:07:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:07:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692891136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":131692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:07:30] local.INFO: GPS data processed {"connection_id":131692,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:07:30] local.INFO: Acknowledgment sent {"connection_id":131692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:07:33] local.INFO: TCP Data received {"connection_id":130868,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:07:33] local.INFO: Processing buffer {"connection_id":130868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:07:33] local.INFO: IMEI packet received {"connection_id":130868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":130868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:07:38] local.INFO: TCP Data received {"connection_id":130868,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:07:38] local.INFO: Processing buffer {"connection_id":130868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:07:38] local.INFO: IMEI packet received {"connection_id":130868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":130868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:07:39] local.INFO: TCP Data received {"connection_id":130868,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1d9f28012d7f914005afd9380019011b28..."} 
[2026-07-13 21:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1d9f28012d7f914005afd9380019011b28..."} 
[2026-07-13 21:07:39] local.INFO: Processing buffer {"connection_id":130868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1d9f28012d7f914005afd9380019011b28..."} 
[2026-07-13 21:07:39] local.INFO: Packet analysis {"connection_id":130868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c1d"} 
[2026-07-13 21:07:39] local.INFO: Extracted packet for processing {"connection_id":130868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c1d"} 
[2026-07-13 21:07:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692882432001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783956873000,"timestamp_ms":1783956873000,"timestamp_seconds":1783956873,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1d9f28"} 
[2026-07-13 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-07-13 21:07: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-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692882432001,"66":24854,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692882432001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:07:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:07:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692882432001,"power":24854,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":130868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:07:39] local.INFO: GPS data processed {"connection_id":130868,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:07:39] local.INFO: Acknowledgment sent {"connection_id":130868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:07:44] local.INFO: TCP Data received {"connection_id":130869,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130869,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:07:44] local.INFO: Processing buffer {"connection_id":130869,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:07:44] local.INFO: IMEI packet received {"connection_id":130869,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":130869,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:07:48] local.INFO: TCP Data received {"connection_id":130869,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130869,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:07:48] local.INFO: Processing buffer {"connection_id":130869,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:07:48] local.INFO: IMEI packet received {"connection_id":130869,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":130869,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:07:50] local.INFO: TCP Data received {"connection_id":130869,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1d7fe8012cb34b40077cfb88000900c72d..."} 
[2026-07-13 21:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1d7fe8012cb34b40077cfb88000900c72d..."} 
[2026-07-13 21:07:50] local.INFO: Processing buffer {"connection_id":130869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1d7fe8012cb34b40077cfb88000900c72d..."} 
[2026-07-13 21:07:50] local.INFO: Packet analysis {"connection_id":130869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c1d"} 
[2026-07-13 21:07:50] local.INFO: Extracted packet for processing {"connection_id":130869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c1d"} 
[2026-07-13 21:07:50] local.INFO: GPS Element Parsed {"raw_longitude":749947712,"raw_latitude":125631368,"longitude_deg":74.9947712,"latitude_deg":12.5631368,"altitude":9,"angle":199,"satellites":45,"speed":33,"hex_longitude":"2cb34b40","hex_latitude":"077cfb88","is_valid_coordinates":true} 
[2026-07-13 21:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:07:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,176,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 21:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783956865000,"timestamp_ms":1783956865000,"timestamp_seconds":1783956865,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1d7fe8"} 
[2026-07-13 21:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-13 21:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27952,"176":206,"27":54016,"24":33,"16":135462516896563200},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,27,24,16]} 
[2026-07-13 21:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-13 21:07:50] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-13 21:07:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:07:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27952,"unknown_176":206,"unknown_27":54016,"ignition":33,"odometer":null}} 
[2026-07-13 21:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":130869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482236,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:07:50] local.INFO: GPS data processed {"connection_id":130869,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:07:50] local.INFO: Acknowledgment sent {"connection_id":130869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:07:51] local.INFO: TCP Data received {"connection_id":130869,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1dd1f0012cb33080077cb568000b00cb2f..."} 
[2026-07-13 21:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1dd1f0012cb33080077cb568000b00cb2f..."} 
[2026-07-13 21:07:51] local.INFO: Processing buffer {"connection_id":130869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1dd1f0012cb33080077cb568000b00cb2f..."} 
[2026-07-13 21:07:51] local.INFO: Packet analysis {"connection_id":130869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c1d"} 
[2026-07-13 21:07:51] local.INFO: Extracted packet for processing {"connection_id":130869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c1d"} 
[2026-07-13 21:07:51] local.INFO: GPS Element Parsed {"raw_longitude":749940864,"raw_latitude":125613416,"longitude_deg":74.9940864,"latitude_deg":12.5613416,"altitude":11,"angle":203,"satellites":47,"speed":0,"hex_longitude":"2cb33080","hex_latitude":"077cb568","is_valid_coordinates":true} 
[2026-07-13 21:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692957440001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:07:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5527253716761344000,"note":"Value kept but may cause issues"} 
[2026-07-13 21:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783956886000,"timestamp_ms":1783956886000,"timestamp_seconds":1783956886,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1dd1f0"} 
[2026-07-13 21:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-13 21:07: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-07-13 21:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":130869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":130869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":130869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692957440001,"66":27952,"176":206,"27":54016,"24":0,"16":135462516896563200,"44":-5527253716761344000},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,27,24,16,44]} 
[2026-07-13 21:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692957440001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:07:51] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-13 21:07:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:07:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5527253716761344000,"description":"Unknown IO ID 44"} 
[2026-07-13 21:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692957440001,"power":27952,"unknown_176":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5527253716761344000}} 
[2026-07-13 21:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":130869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482237,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:07:51] local.INFO: GPS data processed {"connection_id":130869,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:07:51] local.INFO: Acknowledgment sent {"connection_id":130869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:07:52] local.INFO: TCP Data received {"connection_id":130649,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:07:52] local.INFO: Processing buffer {"connection_id":130649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:07:52] local.INFO: IMEI packet received {"connection_id":130649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 21:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":130649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:07:57] local.INFO: TCP Data received {"connection_id":130649,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:07:57] local.INFO: Processing buffer {"connection_id":130649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:07:57] local.INFO: IMEI packet received {"connection_id":130649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 21:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":130649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:07:58] local.INFO: TCP Data received {"connection_id":130649,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1e23f8012d196500071ff0e80047006825..."} 
[2026-07-13 21:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1e23f8012d196500071ff0e80047006825..."} 
[2026-07-13 21:07:58] local.INFO: Processing buffer {"connection_id":130649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1e23f8012d196500071ff0e80047006825..."} 
[2026-07-13 21:07:58] local.INFO: Packet analysis {"connection_id":130649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c1e"} 
[2026-07-13 21:07:58] local.INFO: Extracted packet for processing {"connection_id":130649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c1e"} 
[2026-07-13 21:07:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692891136001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:07:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783956907000,"timestamp_ms":1783956907000,"timestamp_seconds":1783956907,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1e23f8"} 
[2026-07-13 21:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 21:07:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:07:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692891136001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692891136001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:07:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:07:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692891136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":130649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:07:58] local.INFO: GPS data processed {"connection_id":130649,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:07:58] local.INFO: Acknowledgment sent {"connection_id":130649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:08:10] local.INFO: TCP Data received {"connection_id":130868,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1d9f28012d7f914005afd9380019011b28..."} 
[2026-07-13 21:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1d9f28012d7f914005afd9380019011b28..."} 
[2026-07-13 21:08:10] local.INFO: Processing buffer {"connection_id":130868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1d9f28012d7f914005afd9380019011b28..."} 
[2026-07-13 21:08:10] local.INFO: Packet analysis {"connection_id":130868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c1d"} 
[2026-07-13 21:08:10] local.INFO: Extracted packet for processing {"connection_id":130868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c1d"} 
[2026-07-13 21:08:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692882432001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783956873000,"timestamp_ms":1783956873000,"timestamp_seconds":1783956873,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1d9f28"} 
[2026-07-13 21:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692882432001,"66":24854,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692882432001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:08:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:08:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692882432001,"power":24854,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":130868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:08:10] local.INFO: GPS data processed {"connection_id":130868,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:08:10] local.INFO: Acknowledgment sent {"connection_id":130868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:08:23] local.INFO: TCP Data received {"connection_id":130869,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1e1458012cb328c0077c6c68000600a531..."} 
[2026-07-13 21:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1e1458012cb328c0077c6c68000600a531..."} 
[2026-07-13 21:08:23] local.INFO: Processing buffer {"connection_id":130869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1e1458012cb328c0077c6c68000600a531..."} 
[2026-07-13 21:08:23] local.INFO: Packet analysis {"connection_id":130869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c1e"} 
[2026-07-13 21:08:23] local.INFO: Extracted packet for processing {"connection_id":130869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c1e"} 
[2026-07-13 21:08:23] local.INFO: GPS Element Parsed {"raw_longitude":749938880,"raw_latitude":125594728,"longitude_deg":74.993888,"latitude_deg":12.5594728,"altitude":6,"angle":165,"satellites":49,"speed":42,"hex_longitude":"2cb328c0","hex_latitude":"077c6c68","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692962816001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:08:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5534783172392949760,"note":"Value kept but may cause issues"} 
[2026-07-13 21:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783956903000,"timestamp_ms":1783956903000,"timestamp_seconds":1783956903,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1e1458"} 
[2026-07-13 21:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":48,"data_length":795,"current_offset":136} 
[2026-07-13 21:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21: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-07-13 21:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":130869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":130869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":130869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692962816001,"66":27615,"176":206,"27":54016,"24":42,"16":135462516896563200,"44":-5534783172392949760},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,27,24,16,44]} 
[2026-07-13 21:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692962816001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:08:23] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-13 21:08:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:08:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5534783172392949760,"description":"Unknown IO ID 44"} 
[2026-07-13 21:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692962816001,"power":27615,"unknown_176":206,"unknown_27":54016,"ignition":42,"odometer":null,"unknown_44":-5534783172392949760}} 
[2026-07-13 21:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":130869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482240,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:08:23] local.INFO: GPS data processed {"connection_id":130869,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:08:23] local.INFO: Acknowledgment sent {"connection_id":130869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:08:29] local.INFO: TCP Data received {"connection_id":130649,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1e23f8012d196500071ff0e80047006825..."} 
[2026-07-13 21:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1e23f8012d196500071ff0e80047006825..."} 
[2026-07-13 21:08:29] local.INFO: Processing buffer {"connection_id":130649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1e23f8012d196500071ff0e80047006825..."} 
[2026-07-13 21:08:29] local.INFO: Packet analysis {"connection_id":130649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c1e"} 
[2026-07-13 21:08:29] local.INFO: Extracted packet for processing {"connection_id":130649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c1e"} 
[2026-07-13 21:08:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692891136001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:08:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783956907000,"timestamp_ms":1783956907000,"timestamp_seconds":1783956907,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1e23f8"} 
[2026-07-13 21:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:08:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 21:08:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21: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-07-13 21:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692891136001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692891136001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:08:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:08:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692891136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":130649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:08:29] local.INFO: GPS data processed {"connection_id":130649,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:08:29] local.INFO: Acknowledgment sent {"connection_id":130649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:08:34] local.INFO: TCP Data received {"connection_id":133019,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:08:34] local.INFO: Processing buffer {"connection_id":133019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:08:34] local.INFO: IMEI packet received {"connection_id":133019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":133019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:08:38] local.INFO: TCP Data received {"connection_id":133019,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:08:38] local.INFO: Processing buffer {"connection_id":133019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:08:38] local.INFO: IMEI packet received {"connection_id":133019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":133019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:08:39] local.INFO: TCP Data received {"connection_id":133019,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1d9f28012d7f914005afd9380019011b28..."} 
[2026-07-13 21:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1d9f28012d7f914005afd9380019011b28..."} 
[2026-07-13 21:08:39] local.INFO: Processing buffer {"connection_id":133019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1d9f28012d7f914005afd9380019011b28..."} 
[2026-07-13 21:08:39] local.INFO: Packet analysis {"connection_id":133019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c1d"} 
[2026-07-13 21:08:39] local.INFO: Extracted packet for processing {"connection_id":133019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c1d"} 
[2026-07-13 21:08:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692882432001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783956873000,"timestamp_ms":1783956873000,"timestamp_seconds":1783956873,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1d9f28"} 
[2026-07-13 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-07-13 21:08: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-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692882432001,"66":24854,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692882432001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:08:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:08:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692882432001,"power":24854,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":133019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:08:39] local.INFO: GPS data processed {"connection_id":133019,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:08:39] local.INFO: Acknowledgment sent {"connection_id":133019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:08:53] local.INFO: TCP Data received {"connection_id":130650,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:08:53] local.INFO: Processing buffer {"connection_id":130650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:08:53] local.INFO: IMEI packet received {"connection_id":130650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 21:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":130650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:08:54] local.INFO: TCP Data received {"connection_id":130651,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:08:54] local.INFO: Processing buffer {"connection_id":130651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:08:54] local.INFO: IMEI packet received {"connection_id":130651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":130651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:08:55] local.INFO: TCP Data received {"connection_id":130651,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:08:55] local.INFO: Processing buffer {"connection_id":130651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:08:55] local.INFO: IMEI packet received {"connection_id":130651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":130651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:08:57] local.INFO: TCP Data received {"connection_id":130650,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:08:57] local.INFO: Processing buffer {"connection_id":130650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:08:57] local.INFO: IMEI packet received {"connection_id":130650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 21:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":130650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:08:58] local.INFO: TCP Data received {"connection_id":130650,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1e23f8012d196500071ff0e80047006825..."} 
[2026-07-13 21:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1e23f8012d196500071ff0e80047006825..."} 
[2026-07-13 21:08:58] local.INFO: Processing buffer {"connection_id":130650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1e23f8012d196500071ff0e80047006825..."} 
[2026-07-13 21:08:58] local.INFO: Packet analysis {"connection_id":130650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c1e"} 
[2026-07-13 21:08:58] local.INFO: Extracted packet for processing {"connection_id":130650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c1e"} 
[2026-07-13 21:08:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692891136001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783956907000,"timestamp_ms":1783956907000,"timestamp_seconds":1783956907,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1e23f8"} 
[2026-07-13 21:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 21:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692891136001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692891136001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:08:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:08:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692891136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":130650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:08:58] local.INFO: GPS data processed {"connection_id":130650,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:08:58] local.INFO: Acknowledgment sent {"connection_id":130650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:08:59] local.INFO: TCP Data received {"connection_id":130651,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:08:59] local.INFO: Processing buffer {"connection_id":130651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:08:59] local.INFO: IMEI packet received {"connection_id":130651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":130651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:09:01] local.INFO: TCP Data received {"connection_id":130651,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c206618012cb37500077b28a8001900be2f..."} 
[2026-07-13 21:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c206618012cb37500077b28a8001900be2f..."} 
[2026-07-13 21:09:01] local.INFO: Processing buffer {"connection_id":130651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c206618012cb37500077b28a8001900be2f..."} 
[2026-07-13 21:09:01] local.INFO: Packet analysis {"connection_id":130651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c20"} 
[2026-07-13 21:09:01] local.INFO: Extracted packet for processing {"connection_id":130651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c20"} 
[2026-07-13 21:09:01] local.INFO: GPS Element Parsed {"raw_longitude":749958400,"raw_latitude":125511848,"longitude_deg":74.99584,"latitude_deg":12.5511848,"altitude":25,"angle":190,"satellites":47,"speed":35,"hex_longitude":"2cb37500","hex_latitude":"077b28a8","is_valid_coordinates":true} 
[2026-07-13 21:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:09:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,38,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 21:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783957055000,"timestamp_ms":1783957055000,"timestamp_seconds":1783957055,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c206618"} 
[2026-07-13 21:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:09: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-13 21:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":130651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":130651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":130651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27832,"38":206,"27":54016,"24":35,"16":135462516896563200},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,27,24,16]} 
[2026-07-13 21:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-13 21:09:01] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-13 21:09:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:09:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27832,"unknown_38":206,"unknown_27":54016,"ignition":35,"odometer":null}} 
[2026-07-13 21:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":130651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482244,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:09:01] local.INFO: GPS data processed {"connection_id":130651,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:09:01] local.INFO: Acknowledgment sent {"connection_id":130651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:09:10] local.INFO: TCP Data received {"connection_id":133019,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1d9f28012d7f914005afd9380019011b28..."} 
[2026-07-13 21:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1d9f28012d7f914005afd9380019011b28..."} 
[2026-07-13 21:09:10] local.INFO: Processing buffer {"connection_id":133019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1d9f28012d7f914005afd9380019011b28..."} 
[2026-07-13 21:09:10] local.INFO: Packet analysis {"connection_id":133019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c1d"} 
[2026-07-13 21:09:10] local.INFO: Extracted packet for processing {"connection_id":133019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c1d"} 
[2026-07-13 21:09:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692882432001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783956873000,"timestamp_ms":1783956873000,"timestamp_seconds":1783956873,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1d9f28"} 
[2026-07-13 21:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":133019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":133019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":133019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692882432001,"66":24854,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692882432001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:09:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692882432001,"power":24854,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":133019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:09:10] local.INFO: GPS data processed {"connection_id":133019,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:09:10] local.INFO: Acknowledgment sent {"connection_id":133019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:09:29] local.INFO: TCP Data received {"connection_id":130650,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1e23f8012d196500071ff0e80047006825..."} 
[2026-07-13 21:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1e23f8012d196500071ff0e80047006825..."} 
[2026-07-13 21:09:29] local.INFO: Processing buffer {"connection_id":130650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1e23f8012d196500071ff0e80047006825..."} 
[2026-07-13 21:09:29] local.INFO: Packet analysis {"connection_id":130650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c1e"} 
[2026-07-13 21:09:29] local.INFO: Extracted packet for processing {"connection_id":130650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c1e"} 
[2026-07-13 21:09:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692891136001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783956907000,"timestamp_ms":1783956907000,"timestamp_seconds":1783956907,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1e23f8"} 
[2026-07-13 21:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 21:09:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:09:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:09:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692891136001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692891136001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:09:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:09:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692891136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":130650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:09:29] local.INFO: GPS data processed {"connection_id":130650,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:09:29] local.INFO: Acknowledgment sent {"connection_id":130650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:09:33] local.INFO: TCP Data received {"connection_id":130652,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:09:33] local.INFO: Processing buffer {"connection_id":130652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:09:33] local.INFO: IMEI packet received {"connection_id":130652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":130652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:09:38] local.INFO: TCP Data received {"connection_id":130652,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:09:38] local.INFO: Processing buffer {"connection_id":130652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:09:38] local.INFO: IMEI packet received {"connection_id":130652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":130652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:09:39] local.INFO: TCP Data received {"connection_id":130653,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:09:39] local.INFO: Processing buffer {"connection_id":130653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:09:39] local.INFO: IMEI packet received {"connection_id":130653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":130653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:09:39] local.INFO: TCP Data received {"connection_id":130652,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1d9f28012d7f914005afd9380019011b28..."} 
[2026-07-13 21:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1d9f28012d7f914005afd9380019011b28..."} 
[2026-07-13 21:09:39] local.INFO: Processing buffer {"connection_id":130652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1d9f28012d7f914005afd9380019011b28..."} 
[2026-07-13 21:09:39] local.INFO: Packet analysis {"connection_id":130652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c1d"} 
[2026-07-13 21:09:39] local.INFO: Extracted packet for processing {"connection_id":130652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c1d"} 
[2026-07-13 21:09:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692882432001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783956873000,"timestamp_ms":1783956873000,"timestamp_seconds":1783956873,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1d9f28"} 
[2026-07-13 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-07-13 21:09: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-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692882432001,"66":24854,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692882432001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:09:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:09:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692882432001,"power":24854,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":130652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:09:39] local.INFO: GPS data processed {"connection_id":130652,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:09:39] local.INFO: Acknowledgment sent {"connection_id":130652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:09:44] local.INFO: TCP Data received {"connection_id":130653,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:09:44] local.INFO: Processing buffer {"connection_id":130653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:09:44] local.INFO: IMEI packet received {"connection_id":130653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":130653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:09:46] local.INFO: TCP Data received {"connection_id":130653,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c20b820012cb36b00077afdf8001100c72e..."} 
[2026-07-13 21:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c20b820012cb36b00077afdf8001100c72e..."} 
[2026-07-13 21:09:46] local.INFO: Processing buffer {"connection_id":130653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c20b820012cb36b00077afdf8001100c72e..."} 
[2026-07-13 21:09:46] local.INFO: Packet analysis {"connection_id":130653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c20"} 
[2026-07-13 21:09:46] local.INFO: Extracted packet for processing {"connection_id":130653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c20"} 
[2026-07-13 21:09:46] local.INFO: GPS Element Parsed {"raw_longitude":749955840,"raw_latitude":125500920,"longitude_deg":74.995584,"latitude_deg":12.550092,"altitude":17,"angle":199,"satellites":46,"speed":0,"hex_longitude":"2cb36b00","hex_latitude":"077afdf8","is_valid_coordinates":true} 
[2026-07-13 21:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693006080001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:09:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5515502136514271232,"note":"Value kept but may cause issues"} 
[2026-07-13 21:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783957076000,"timestamp_ms":1783957076000,"timestamp_seconds":1783957076,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c20b820"} 
[2026-07-13 21:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-13 21:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693006080001,"66":27800,"38":206,"27":54016,"24":0,"16":135462516896563200,"44":-5515502136514271232},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,27,24,16,44]} 
[2026-07-13 21:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693006080001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:09:46] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-13 21:09:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:09:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5515502136514271232,"description":"Unknown IO ID 44"} 
[2026-07-13 21:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693006080001,"power":27800,"unknown_38":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5515502136514271232}} 
[2026-07-13 21:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":130653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482248,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:09:46] local.INFO: GPS data processed {"connection_id":130653,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:09:46] local.INFO: Acknowledgment sent {"connection_id":130653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:09:52] local.INFO: TCP Data received {"connection_id":133020,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:09:52] local.INFO: Processing buffer {"connection_id":133020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:09:52] local.INFO: IMEI packet received {"connection_id":133020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 21:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":133020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:09:57] local.INFO: TCP Data received {"connection_id":133020,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:09:57] local.INFO: Processing buffer {"connection_id":133020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:09:57] local.INFO: IMEI packet received {"connection_id":133020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 21:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":133020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:09:58] local.INFO: TCP Data received {"connection_id":133020,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1e23f8012d196500071ff0e80047006825..."} 
[2026-07-13 21:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1e23f8012d196500071ff0e80047006825..."} 
[2026-07-13 21:09:58] local.INFO: Processing buffer {"connection_id":133020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1e23f8012d196500071ff0e80047006825..."} 
[2026-07-13 21:09:58] local.INFO: Packet analysis {"connection_id":133020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c1e"} 
[2026-07-13 21:09:58] local.INFO: Extracted packet for processing {"connection_id":133020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c1e"} 
[2026-07-13 21:09:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692891136001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783956907000,"timestamp_ms":1783956907000,"timestamp_seconds":1783956907,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1e23f8"} 
[2026-07-13 21:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 21:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:09:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":133020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":133020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":133020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692891136001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692891136001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:09:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:09:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692891136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":133020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:09:58] local.INFO: GPS data processed {"connection_id":133020,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:09:58] local.INFO: Acknowledgment sent {"connection_id":133020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:10:10] local.INFO: TCP Data received {"connection_id":130652,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1d9f28012d7f914005afd9380019011b28..."} 
[2026-07-13 21:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1d9f28012d7f914005afd9380019011b28..."} 
[2026-07-13 21:10:10] local.INFO: Processing buffer {"connection_id":130652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1d9f28012d7f914005afd9380019011b28..."} 
[2026-07-13 21:10:10] local.INFO: Packet analysis {"connection_id":130652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c1d"} 
[2026-07-13 21:10:10] local.INFO: Extracted packet for processing {"connection_id":130652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c1d"} 
[2026-07-13 21:10:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692882432001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783956873000,"timestamp_ms":1783956873000,"timestamp_seconds":1783956873,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1d9f28"} 
[2026-07-13 21:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692882432001,"66":24854,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692882432001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:10:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:10:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692882432001,"power":24854,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":130652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:10:10] local.INFO: GPS data processed {"connection_id":130652,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:10:10] local.INFO: Acknowledgment sent {"connection_id":130652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:10:17] local.INFO: TCP Data received {"connection_id":130653,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c210a28012cb36b00077afdf8001100c72e..."} 
[2026-07-13 21:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c210a28012cb36b00077afdf8001100c72e..."} 
[2026-07-13 21:10:17] local.INFO: Processing buffer {"connection_id":130653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c210a28012cb36b00077afdf8001100c72e..."} 
[2026-07-13 21:10:17] local.INFO: Packet analysis {"connection_id":130653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c21"} 
[2026-07-13 21:10:17] local.INFO: Extracted packet for processing {"connection_id":130653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c21"} 
[2026-07-13 21:10:17] local.INFO: GPS Element Parsed {"raw_longitude":749955840,"raw_latitude":125500920,"longitude_deg":74.995584,"latitude_deg":12.550092,"altitude":17,"angle":199,"satellites":46,"speed":0,"hex_longitude":"2cb36b00","hex_latitude":"077afdf8","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693011456001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:10:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5518316886284175360,"note":"Value kept but may cause issues"} 
[2026-07-13 21:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783957097000,"timestamp_ms":1783957097000,"timestamp_seconds":1783957097,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c210a28"} 
[2026-07-13 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-07-13 21:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-13 21:10: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-07-13 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-07-13 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-07-13 21:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693011456001,"66":27832,"38":206,"27":54016,"24":0,"16":135462516896563200,"44":-5518316886284175360},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,27,24,16,44]} 
[2026-07-13 21:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693011456001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:10:17] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-13 21:10:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:10:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5518316886284175360,"description":"Unknown IO ID 44"} 
[2026-07-13 21:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693011456001,"power":27832,"unknown_38":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5518316886284175360}} 
[2026-07-13 21:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":130653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482251,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:10:17] local.INFO: GPS data processed {"connection_id":130653,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:10:17] local.INFO: Acknowledgment sent {"connection_id":130653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:10:29] local.INFO: TCP Data received {"connection_id":133020,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c1e23f8012d196500071ff0e80047006825..."} 
[2026-07-13 21:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c1e23f8012d196500071ff0e80047006825..."} 
[2026-07-13 21:10:29] local.INFO: Processing buffer {"connection_id":133020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c1e23f8012d196500071ff0e80047006825..."} 
[2026-07-13 21:10:29] local.INFO: Packet analysis {"connection_id":133020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c1e"} 
[2026-07-13 21:10:29] local.INFO: Extracted packet for processing {"connection_id":133020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c1e"} 
[2026-07-13 21:10:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692891136001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:10:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783956907000,"timestamp_ms":1783956907000,"timestamp_seconds":1783956907,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c1e23f8"} 
[2026-07-13 21:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:10:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 21:10:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21: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-07-13 21:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":133020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":133020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":133020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:10:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692891136001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692891136001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:10:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:10:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692891136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":133020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:10:29] local.INFO: GPS data processed {"connection_id":133020,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:10:29] local.INFO: Acknowledgment sent {"connection_id":133020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:10:33] local.INFO: TCP Data received {"connection_id":131693,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:10:33] local.INFO: Processing buffer {"connection_id":131693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:10:33] local.INFO: IMEI packet received {"connection_id":131693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":131693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:10:39] local.INFO: TCP Data received {"connection_id":131694,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:10:39] local.INFO: Processing buffer {"connection_id":131694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:10:39] local.INFO: IMEI packet received {"connection_id":131694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":131694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:10:39] local.INFO: TCP Data received {"connection_id":131693,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:10:39] local.INFO: Processing buffer {"connection_id":131693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:10:39] local.INFO: IMEI packet received {"connection_id":131693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":131693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:10:40] local.INFO: TCP Data received {"connection_id":131693,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2236f0012d7f914005afd9380018011b24..."} 
[2026-07-13 21:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2236f0012d7f914005afd9380018011b24..."} 
[2026-07-13 21:10:40] local.INFO: Processing buffer {"connection_id":131693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2236f0012d7f914005afd9380018011b24..."} 
[2026-07-13 21:10:40] local.INFO: Packet analysis {"connection_id":131693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:10:40] local.INFO: Extracted packet for processing {"connection_id":131693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:10:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692959488001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783957174000,"timestamp_ms":1783957174000,"timestamp_seconds":1783957174,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2236f0"} 
[2026-07-13 21:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 21:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692959488001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692959488001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:10:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:10:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692959488001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":131693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:10:40] local.INFO: GPS data processed {"connection_id":131693,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:10:40] local.INFO: Acknowledgment sent {"connection_id":131693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:10:41] local.INFO: TCP Data received {"connection_id":131694,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:10:41] local.INFO: Processing buffer {"connection_id":131694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:10:41] local.INFO: IMEI packet received {"connection_id":131694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":131694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:10:43] local.INFO: TCP Data received {"connection_id":131694,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:10:43] local.INFO: Processing buffer {"connection_id":131694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:10:43] local.INFO: IMEI packet received {"connection_id":131694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":131694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:10:44] local.INFO: TCP Data received {"connection_id":131694,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:10:44] local.INFO: Processing buffer {"connection_id":131694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:10:44] local.INFO: IMEI packet received {"connection_id":131694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":131694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:10:45] local.INFO: TCP Data received {"connection_id":131694,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c213908012cb38280077ad560000f00742e..."} 
[2026-07-13 21:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c213908012cb38280077ad560000f00742e..."} 
[2026-07-13 21:10:45] local.INFO: Processing buffer {"connection_id":131694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c213908012cb38280077ad560000f00742e..."} 
[2026-07-13 21:10:45] local.INFO: Packet analysis {"connection_id":131694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c21"} 
[2026-07-13 21:10:45] local.INFO: Extracted packet for processing {"connection_id":131694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c21"} 
[2026-07-13 21:10:45] local.INFO: GPS Element Parsed {"raw_longitude":749961856,"raw_latitude":125490528,"longitude_deg":74.9961856,"latitude_deg":12.5490528,"altitude":15,"angle":116,"satellites":46,"speed":16,"hex_longitude":"2cb38280","hex_latitude":"077ad560","is_valid_coordinates":true} 
[2026-07-13 21:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693016832001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:10:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5518316886284175360,"note":"Value kept but may cause issues"} 
[2026-07-13 21:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783957109000,"timestamp_ms":1783957109000,"timestamp_seconds":1783957109,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c213908"} 
[2026-07-13 21:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-13 21:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131694,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131694,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693016832001,"66":27908,"38":206,"27":54016,"24":16,"16":135462516896563200,"44":-5518316886284175360},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,27,24,16,44]} 
[2026-07-13 21:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693016832001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:10:45] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-13 21:10:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:10:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5518316886284175360,"description":"Unknown IO ID 44"} 
[2026-07-13 21:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693016832001,"power":27908,"unknown_38":206,"unknown_27":54016,"ignition":16,"odometer":null,"unknown_44":-5518316886284175360}} 
[2026-07-13 21:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":131694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482254,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:10:45] local.INFO: GPS data processed {"connection_id":131694,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:10:45] local.INFO: Acknowledgment sent {"connection_id":131694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:10:57] local.INFO: TCP Data received {"connection_id":133021,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:10:57] local.INFO: Processing buffer {"connection_id":133021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:10:57] local.INFO: IMEI packet received {"connection_id":133021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 21:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":133021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:11:02] local.INFO: TCP Data received {"connection_id":133021,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:11:02] local.INFO: Processing buffer {"connection_id":133021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:11:02] local.INFO: IMEI packet received {"connection_id":133021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 21:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":133021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:11:03] local.INFO: TCP Data received {"connection_id":133021,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c22bbc0012d196500071ff0e80047006826..."} 
[2026-07-13 21:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c22bbc0012d196500071ff0e80047006826..."} 
[2026-07-13 21:11:03] local.INFO: Processing buffer {"connection_id":133021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c22bbc0012d196500071ff0e80047006826..."} 
[2026-07-13 21:11:03] local.INFO: Packet analysis {"connection_id":133021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:11:03] local.INFO: Extracted packet for processing {"connection_id":133021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:11:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692968192001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783957208000,"timestamp_ms":1783957208000,"timestamp_seconds":1783957208,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c22bbc0"} 
[2026-07-13 21:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":133021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":133021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":133021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692968192001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692968192001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:11:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:11:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692968192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":133021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:11:03] local.INFO: GPS data processed {"connection_id":133021,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:11:03] local.INFO: Acknowledgment sent {"connection_id":133021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:11:08] local.INFO: TCP Data received {"connection_id":133021,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c22bbc0012d196500071ff0e80047006826..."} 
[2026-07-13 21:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c22bbc0012d196500071ff0e80047006826..."} 
[2026-07-13 21:11:08] local.INFO: Processing buffer {"connection_id":133021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c22bbc0012d196500071ff0e80047006826..."} 
[2026-07-13 21:11:08] local.INFO: Packet analysis {"connection_id":133021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:11:08] local.INFO: Extracted packet for processing {"connection_id":133021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:11:08] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692968192001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21: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-07-13 21:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783957208000,"timestamp_ms":1783957208000,"timestamp_seconds":1783957208,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c22bbc0"} 
[2026-07-13 21:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21: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-07-13 21:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":133021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":133021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":133021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692968192001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692968192001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:11:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:11:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692968192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":133021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:11:08] local.INFO: GPS data processed {"connection_id":133021,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:11:08] local.INFO: Acknowledgment sent {"connection_id":133021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:11:11] local.INFO: TCP Data received {"connection_id":131693,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2236f0012d7f914005afd9380018011b24..."} 
[2026-07-13 21:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2236f0012d7f914005afd9380018011b24..."} 
[2026-07-13 21:11:11] local.INFO: Processing buffer {"connection_id":131693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2236f0012d7f914005afd9380018011b24..."} 
[2026-07-13 21:11:11] local.INFO: Packet analysis {"connection_id":131693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:11:11] local.INFO: Extracted packet for processing {"connection_id":131693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:11:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692959488001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783957174000,"timestamp_ms":1783957174000,"timestamp_seconds":1783957174,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2236f0"} 
[2026-07-13 21:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 21:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692959488001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692959488001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:11:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:11:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692959488001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":131693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:11:11] local.INFO: GPS data processed {"connection_id":131693,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:11:11] local.INFO: Acknowledgment sent {"connection_id":131693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:11:16] local.INFO: TCP Data received {"connection_id":131694,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c221f800100000000000000000000000000..."} 
[2026-07-13 21:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c221f800100000000000000000000000000..."} 
[2026-07-13 21:11:16] local.INFO: Processing buffer {"connection_id":131694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c221f800100000000000000000000000000..."} 
[2026-07-13 21:11:16] local.INFO: Packet analysis {"connection_id":131694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:11:16] local.INFO: Extracted packet for processing {"connection_id":131694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:11:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 21:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693019904001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:11:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5511702224334135296,"note":"Value kept but may cause issues"} 
[2026-07-13 21:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783957168000,"timestamp_ms":1783957168000,"timestamp_seconds":1783957168,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c221f80"} 
[2026-07-13 21:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-13 21:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":131694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":131694,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":131694,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":131694,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 21:11:16] local.INFO: GPS data processed {"connection_id":131694,"processed":0,"errors":0,"total":1} 
[2026-07-13 21:11:16] local.INFO: Acknowledgment sent {"connection_id":131694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:11:33] local.INFO: TCP Data received {"connection_id":130654,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:11:33] local.INFO: Processing buffer {"connection_id":130654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:11:33] local.INFO: IMEI packet received {"connection_id":130654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":130654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:11:39] local.INFO: TCP Data received {"connection_id":130654,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:11:39] local.INFO: Processing buffer {"connection_id":130654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:11:39] local.INFO: IMEI packet received {"connection_id":130654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":130654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:11:39] local.INFO: TCP Data received {"connection_id":130654,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2236f0012d7f914005afd9380018011b24..."} 
[2026-07-13 21:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2236f0012d7f914005afd9380018011b24..."} 
[2026-07-13 21:11:39] local.INFO: Processing buffer {"connection_id":130654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2236f0012d7f914005afd9380018011b24..."} 
[2026-07-13 21:11:39] local.INFO: Packet analysis {"connection_id":130654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:11:39] local.INFO: Extracted packet for processing {"connection_id":130654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:11:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692959488001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783957174000,"timestamp_ms":1783957174000,"timestamp_seconds":1783957174,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2236f0"} 
[2026-07-13 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-07-13 21:11: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-07-13 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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 21:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692959488001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692959488001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:11:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:11:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692959488001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":130654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:11:39] local.INFO: GPS data processed {"connection_id":130654,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:11:39] local.INFO: Acknowledgment sent {"connection_id":130654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:11:40] local.INFO: TCP Data received {"connection_id":130870,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130870,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:11:40] local.INFO: Processing buffer {"connection_id":130870,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:11:40] local.INFO: IMEI packet received {"connection_id":130870,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":130870,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:11:45] local.INFO: TCP Data received {"connection_id":130870,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130870,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:11:45] local.INFO: Processing buffer {"connection_id":130870,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:11:45] local.INFO: IMEI packet received {"connection_id":130870,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":130870,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:11:46] local.INFO: TCP Data received {"connection_id":130870,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130870,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:11:46] local.INFO: Processing buffer {"connection_id":130870,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:11:46] local.INFO: IMEI packet received {"connection_id":130870,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":130870,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:11:47] local.INFO: TCP Data received {"connection_id":130870,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c219ab0012cb3b440077abb58001700762b..."} 
[2026-07-13 21:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c219ab0012cb3b440077abb58001700762b..."} 
[2026-07-13 21:11:47] local.INFO: Processing buffer {"connection_id":130870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c219ab0012cb3b440077abb58001700762b..."} 
[2026-07-13 21:11:47] local.INFO: Packet analysis {"connection_id":130870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c21"} 
[2026-07-13 21:11:47] local.INFO: Extracted packet for processing {"connection_id":130870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c21"} 
[2026-07-13 21:11:47] local.INFO: GPS Element Parsed {"raw_longitude":749974592,"raw_latitude":125483864,"longitude_deg":74.9974592,"latitude_deg":12.5483864,"altitude":23,"angle":118,"satellites":43,"speed":23,"hex_longitude":"2cb3b440","hex_latitude":"077abb58","is_valid_coordinates":true} 
[2026-07-13 21:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:11:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,38,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 21:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783957134000,"timestamp_ms":1783957134000,"timestamp_seconds":1783957134,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c219ab0"} 
[2026-07-13 21:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:11:47] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-13 21:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27919,"38":206,"27":54016,"24":23,"16":135462516896563200},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,27,24,16]} 
[2026-07-13 21:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-13 21:11:47] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-13 21:11:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:11:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27919,"unknown_38":206,"unknown_27":54016,"ignition":23,"odometer":null}} 
[2026-07-13 21:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":130870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482259,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:11:47] local.INFO: GPS data processed {"connection_id":130870,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:11:47] local.INFO: Acknowledgment sent {"connection_id":130870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:11:49] local.INFO: TCP Data received {"connection_id":130870,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2281280100000000000000000000000000..."} 
[2026-07-13 21:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2281280100000000000000000000000000..."} 
[2026-07-13 21:11:49] local.INFO: Processing buffer {"connection_id":130870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2281280100000000000000000000000000..."} 
[2026-07-13 21:11:49] local.INFO: Packet analysis {"connection_id":130870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:11:49] local.INFO: Extracted packet for processing {"connection_id":130870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:11:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 21:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693026304001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:11:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5497698844244486144,"note":"Value kept but may cause issues"} 
[2026-07-13 21:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783957193000,"timestamp_ms":1783957193000,"timestamp_seconds":1783957193,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c228128"} 
[2026-07-13 21:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-13 21:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:11:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":130870,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 21:11:49] local.INFO: GPS data processed {"connection_id":130870,"processed":0,"errors":0,"total":1} 
[2026-07-13 21:11:49] local.INFO: Acknowledgment sent {"connection_id":130870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:11:52] local.INFO: TCP Data received {"connection_id":130655,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:11:52] local.INFO: Processing buffer {"connection_id":130655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:11:52] local.INFO: IMEI packet received {"connection_id":130655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 21:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":130655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:11:57] local.INFO: TCP Data received {"connection_id":130655,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:11:57] local.INFO: Processing buffer {"connection_id":130655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:11:57] local.INFO: IMEI packet received {"connection_id":130655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 21:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":130655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:11:58] local.INFO: TCP Data received {"connection_id":130655,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c22bbc0012d196500071ff0e80047006826..."} 
[2026-07-13 21:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c22bbc0012d196500071ff0e80047006826..."} 
[2026-07-13 21:11:58] local.INFO: Processing buffer {"connection_id":130655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c22bbc0012d196500071ff0e80047006826..."} 
[2026-07-13 21:11:58] local.INFO: Packet analysis {"connection_id":130655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:11:58] local.INFO: Extracted packet for processing {"connection_id":130655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:11:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692968192001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783957208000,"timestamp_ms":1783957208000,"timestamp_seconds":1783957208,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c22bbc0"} 
[2026-07-13 21:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:11:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692968192001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692968192001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:11:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:11:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692968192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":130655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:11:58] local.INFO: GPS data processed {"connection_id":130655,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:11:58] local.INFO: Acknowledgment sent {"connection_id":130655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:12:11] local.INFO: TCP Data received {"connection_id":130654,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2236f0012d7f914005afd9380018011b24..."} 
[2026-07-13 21:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2236f0012d7f914005afd9380018011b24..."} 
[2026-07-13 21:12:11] local.INFO: Processing buffer {"connection_id":130654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2236f0012d7f914005afd9380018011b24..."} 
[2026-07-13 21:12:11] local.INFO: Packet analysis {"connection_id":130654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:12:11] local.INFO: Extracted packet for processing {"connection_id":130654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:12:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692959488001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783957174000,"timestamp_ms":1783957174000,"timestamp_seconds":1783957174,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2236f0"} 
[2026-07-13 21:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 21:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692959488001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692959488001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:12:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:12:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692959488001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":130654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:12:11] local.INFO: GPS data processed {"connection_id":130654,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:12:11] local.INFO: Acknowledgment sent {"connection_id":130654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:12:21] local.INFO: TCP Data received {"connection_id":130870,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c21f488012cb3e100077a9808001f00852e..."} 
[2026-07-13 21:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c21f488012cb3e100077a9808001f00852e..."} 
[2026-07-13 21:12:21] local.INFO: Processing buffer {"connection_id":130870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c21f488012cb3e100077a9808001f00852e..."} 
[2026-07-13 21:12:21] local.INFO: Packet analysis {"connection_id":130870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c21"} 
[2026-07-13 21:12:21] local.INFO: Extracted packet for processing {"connection_id":130870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c21"} 
[2026-07-13 21:12:21] local.INFO: GPS Element Parsed {"raw_longitude":749986048,"raw_latitude":125474824,"longitude_deg":74.9986048,"latitude_deg":12.5474824,"altitude":31,"angle":133,"satellites":46,"speed":23,"hex_longitude":"2cb3e100","hex_latitude":"077a9808","is_valid_coordinates":true} 
[2026-07-13 21:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:12:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,38,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 21:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783957157000,"timestamp_ms":1783957157000,"timestamp_seconds":1783957157,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c21f488"} 
[2026-07-13 21:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-13 21:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":130870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":130870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":130870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27887,"38":206,"27":54016,"24":23,"16":135462516896563200},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,27,24,16]} 
[2026-07-13 21:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-13 21:12:21] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-13 21:12:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:12:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27887,"unknown_38":206,"unknown_27":54016,"ignition":23,"odometer":null}} 
[2026-07-13 21:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":130870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482262,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:12:21] local.INFO: GPS data processed {"connection_id":130870,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:12:21] local.INFO: Acknowledgment sent {"connection_id":130870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:12:29] local.INFO: TCP Data received {"connection_id":130655,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c22bbc0012d196500071ff0e80047006826..."} 
[2026-07-13 21:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c22bbc0012d196500071ff0e80047006826..."} 
[2026-07-13 21:12:29] local.INFO: Processing buffer {"connection_id":130655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c22bbc0012d196500071ff0e80047006826..."} 
[2026-07-13 21:12:29] local.INFO: Packet analysis {"connection_id":130655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:12:29] local.INFO: Extracted packet for processing {"connection_id":130655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:12:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692968192001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783957208000,"timestamp_ms":1783957208000,"timestamp_seconds":1783957208,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c22bbc0"} 
[2026-07-13 21:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21: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-07-13 21:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692968192001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692968192001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:12:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:12:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692968192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":130655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:12:29] local.INFO: GPS data processed {"connection_id":130655,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:12:29] local.INFO: Acknowledgment sent {"connection_id":130655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:12:39] local.INFO: TCP Data received {"connection_id":131695,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131695,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:12:39] local.INFO: Processing buffer {"connection_id":131695,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:12:39] local.INFO: IMEI packet received {"connection_id":131695,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":131695,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:12:40] local.INFO: TCP Data received {"connection_id":130656,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:12:40] local.INFO: Processing buffer {"connection_id":130656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:12:40] local.INFO: IMEI packet received {"connection_id":130656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":130656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:12:44] local.INFO: TCP Data received {"connection_id":131695,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131695,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:12:44] local.INFO: Processing buffer {"connection_id":131695,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:12:44] local.INFO: IMEI packet received {"connection_id":131695,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":131695,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:12:44] local.INFO: TCP Data received {"connection_id":130656,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:12:44] local.INFO: Processing buffer {"connection_id":130656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:12:44] local.INFO: IMEI packet received {"connection_id":130656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":130656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:12:45] local.INFO: TCP Data received {"connection_id":131695,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c22db000100000000000000000000000000..."} 
[2026-07-13 21:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c22db000100000000000000000000000000..."} 
[2026-07-13 21:12:45] local.INFO: Processing buffer {"connection_id":131695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c22db000100000000000000000000000000..."} 
[2026-07-13 21:12:45] local.INFO: Packet analysis {"connection_id":131695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:12:45] local.INFO: Extracted packet for processing {"connection_id":131695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:12:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 21:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693032192001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:12:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5485102839038998528,"note":"Value kept but may cause issues"} 
[2026-07-13 21:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783957216000,"timestamp_ms":1783957216000,"timestamp_seconds":1783957216,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c22db00"} 
[2026-07-13 21:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-13 21:12:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:12:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131695,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131695,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":131695,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 21:12:46] local.INFO: GPS data processed {"connection_id":131695,"processed":0,"errors":0,"total":1} 
[2026-07-13 21:12:46] local.INFO: Acknowledgment sent {"connection_id":131695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:12:46] local.INFO: TCP Data received {"connection_id":130656,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2236f0012d7f914005afd9380018011b24..."} 
[2026-07-13 21:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2236f0012d7f914005afd9380018011b24..."} 
[2026-07-13 21:12:46] local.INFO: Processing buffer {"connection_id":130656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2236f0012d7f914005afd9380018011b24..."} 
[2026-07-13 21:12:46] local.INFO: Packet analysis {"connection_id":130656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:12:46] local.INFO: Extracted packet for processing {"connection_id":130656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:12:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692959488001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783957174000,"timestamp_ms":1783957174000,"timestamp_seconds":1783957174,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2236f0"} 
[2026-07-13 21:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 21:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692959488001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692959488001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:12:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:12:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692959488001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":130656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:12:46] local.INFO: GPS data processed {"connection_id":130656,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:12:46] local.INFO: Acknowledgment sent {"connection_id":130656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:12:49] local.INFO: TCP Data received {"connection_id":130656,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2236f0012d7f914005afd9380018011b24..."} 
[2026-07-13 21:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2236f0012d7f914005afd9380018011b24..."} 
[2026-07-13 21:12:49] local.INFO: Processing buffer {"connection_id":130656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2236f0012d7f914005afd9380018011b24..."} 
[2026-07-13 21:12:49] local.INFO: Packet analysis {"connection_id":130656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:12:49] local.INFO: Extracted packet for processing {"connection_id":130656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:12:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692959488001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783957174000,"timestamp_ms":1783957174000,"timestamp_seconds":1783957174,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2236f0"} 
[2026-07-13 21:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 21:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692959488001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692959488001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:12:49] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:12:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692959488001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":130656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:12:49] local.INFO: GPS data processed {"connection_id":130656,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:12:49] local.INFO: Acknowledgment sent {"connection_id":130656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:12:52] local.INFO: TCP Data received {"connection_id":131696,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:12:52] local.INFO: Processing buffer {"connection_id":131696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:12:52] local.INFO: IMEI packet received {"connection_id":131696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 21:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":131696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:12:57] local.INFO: TCP Data received {"connection_id":131696,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:12:57] local.INFO: Processing buffer {"connection_id":131696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:12:57] local.INFO: IMEI packet received {"connection_id":131696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 21:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":131696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:12:58] local.INFO: TCP Data received {"connection_id":131696,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c22bbc0012d196500071ff0e80047006826..."} 
[2026-07-13 21:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c22bbc0012d196500071ff0e80047006826..."} 
[2026-07-13 21:12:58] local.INFO: Processing buffer {"connection_id":131696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c22bbc0012d196500071ff0e80047006826..."} 
[2026-07-13 21:12:58] local.INFO: Packet analysis {"connection_id":131696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:12:58] local.INFO: Extracted packet for processing {"connection_id":131696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:12:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692968192001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783957208000,"timestamp_ms":1783957208000,"timestamp_seconds":1783957208,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c22bbc0"} 
[2026-07-13 21:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:12:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21: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-07-13 21:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692968192001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692968192001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:12:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:12:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692968192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":131696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:12:58] local.INFO: GPS data processed {"connection_id":131696,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:12:58] local.INFO: Acknowledgment sent {"connection_id":131696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:13:17] local.INFO: TCP Data received {"connection_id":131695,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c225630012cb401c0077a69400028009030..."} 
[2026-07-13 21:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c225630012cb401c0077a69400028009030..."} 
[2026-07-13 21:13:17] local.INFO: Processing buffer {"connection_id":131695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c225630012cb401c0077a69400028009030..."} 
[2026-07-13 21:13:17] local.INFO: Packet analysis {"connection_id":131695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:13:17] local.INFO: Extracted packet for processing {"connection_id":131695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:13:17] local.INFO: GPS Element Parsed {"raw_longitude":749994432,"raw_latitude":125462848,"longitude_deg":74.9994432,"latitude_deg":12.5462848,"altitude":40,"angle":144,"satellites":48,"speed":24,"hex_longitude":"2cb401c0","hex_latitude":"077a6940","is_valid_coordinates":true} 
[2026-07-13 21:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:13:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,38,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 21:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783957182000,"timestamp_ms":1783957182000,"timestamp_seconds":1783957182,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c225630"} 
[2026-07-13 21:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 21:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131695,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131695,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27876,"38":206,"27":54016,"24":24,"16":135462516896563200},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,27,24,16]} 
[2026-07-13 21:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-13 21:13:17] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-13 21:13:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:13:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27876,"unknown_38":206,"unknown_27":54016,"ignition":24,"odometer":null}} 
[2026-07-13 21:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":131695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482267,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:13:17] local.INFO: GPS data processed {"connection_id":131695,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:13:17] local.INFO: Acknowledgment sent {"connection_id":131695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:13:29] local.INFO: TCP Data received {"connection_id":131696,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c22bbc0012d196500071ff0e80047006826..."} 
[2026-07-13 21:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c22bbc0012d196500071ff0e80047006826..."} 
[2026-07-13 21:13:29] local.INFO: Processing buffer {"connection_id":131696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c22bbc0012d196500071ff0e80047006826..."} 
[2026-07-13 21:13:29] local.INFO: Packet analysis {"connection_id":131696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:13:29] local.INFO: Extracted packet for processing {"connection_id":131696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:13:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692968192001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783957208000,"timestamp_ms":1783957208000,"timestamp_seconds":1783957208,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c22bbc0"} 
[2026-07-13 21:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:13:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":131696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":131696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":131696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:13:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692968192001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692968192001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:13:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:13:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692968192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":131696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:13:29] local.INFO: GPS data processed {"connection_id":131696,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:13:29] local.INFO: Acknowledgment sent {"connection_id":131696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:13:33] local.INFO: TCP Data received {"connection_id":130657,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:13:33] local.INFO: Processing buffer {"connection_id":130657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:13:33] local.INFO: IMEI packet received {"connection_id":130657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":130657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:13:39] local.INFO: TCP Data received {"connection_id":130657,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:13:39] local.INFO: Processing buffer {"connection_id":130657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:13:39] local.INFO: IMEI packet received {"connection_id":130657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":130657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:13:39] local.INFO: TCP Data received {"connection_id":130657,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2236f0012d7f914005afd9380018011b24..."} 
[2026-07-13 21:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2236f0012d7f914005afd9380018011b24..."} 
[2026-07-13 21:13:39] local.INFO: Processing buffer {"connection_id":130657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2236f0012d7f914005afd9380018011b24..."} 
[2026-07-13 21:13:39] local.INFO: Packet analysis {"connection_id":130657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:13:39] local.INFO: Extracted packet for processing {"connection_id":130657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:13:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692959488001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783957174000,"timestamp_ms":1783957174000,"timestamp_seconds":1783957174,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2236f0"} 
[2026-07-13 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-07-13 21:13: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-07-13 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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 21:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692959488001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692959488001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:13:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:13:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692959488001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":130657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:13:39] local.INFO: GPS data processed {"connection_id":130657,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:13:39] local.INFO: Acknowledgment sent {"connection_id":130657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:13:41] local.INFO: TCP Data received {"connection_id":133022,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133022,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:13:41] local.INFO: Processing buffer {"connection_id":133022,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:13:41] local.INFO: IMEI packet received {"connection_id":133022,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":133022,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:13:45] local.INFO: TCP Data received {"connection_id":133022,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133022,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:13:45] local.INFO: Processing buffer {"connection_id":133022,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:13:45] local.INFO: IMEI packet received {"connection_id":133022,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":133022,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:13:49] local.INFO: TCP Data received {"connection_id":133022,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133022,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:13:49] local.INFO: Processing buffer {"connection_id":133022,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:13:49] local.INFO: IMEI packet received {"connection_id":133022,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":133022,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:13:50] local.INFO: TCP Data received {"connection_id":133022,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c24afc0012cb425400779b4b0002c009732..."} 
[2026-07-13 21:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c24afc0012cb425400779b4b0002c009732..."} 
[2026-07-13 21:13:50] local.INFO: Processing buffer {"connection_id":133022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c24afc0012cb425400779b4b0002c009732..."} 
[2026-07-13 21:13:50] local.INFO: Packet analysis {"connection_id":133022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c24"} 
[2026-07-13 21:13:50] local.INFO: Extracted packet for processing {"connection_id":133022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c24"} 
[2026-07-13 21:13:50] local.INFO: GPS Element Parsed {"raw_longitude":750003520,"raw_latitude":125416624,"longitude_deg":75.000352,"latitude_deg":12.5416624,"altitude":44,"angle":151,"satellites":50,"speed":0,"hex_longitude":"2cb42540","hex_latitude":"0779b4b0","is_valid_coordinates":true} 
[2026-07-13 21:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693077504001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:13:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783957336000,"timestamp_ms":1783957336000,"timestamp_seconds":1783957336,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c24afc0"} 
[2026-07-13 21:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":178,"data_length":795,"current_offset":136} 
[2026-07-13 21:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":133022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":133022,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":133022,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693077504001,"66":27071,"36":206,"27":54016,"24":0,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-07-13 21:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693077504001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:13:50] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-13 21:13:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:13:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693077504001,"power":27071,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":133022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482270,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:13:51] local.INFO: GPS data processed {"connection_id":133022,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:13:51] local.INFO: Acknowledgment sent {"connection_id":133022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:13:52] local.INFO: TCP Data received {"connection_id":131697,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:13:52] local.INFO: Processing buffer {"connection_id":131697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:13:52] local.INFO: IMEI packet received {"connection_id":131697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 21:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":131697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:13:55] local.INFO: TCP Data received {"connection_id":133022,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c251550012cb425400779b4b0002c009732..."} 
[2026-07-13 21:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c251550012cb425400779b4b0002c009732..."} 
[2026-07-13 21:13:55] local.INFO: Processing buffer {"connection_id":133022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c251550012cb425400779b4b0002c009732..."} 
[2026-07-13 21:13:55] local.INFO: Packet analysis {"connection_id":133022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c25"} 
[2026-07-13 21:13:55] local.INFO: Extracted packet for processing {"connection_id":133022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c25"} 
[2026-07-13 21:13:55] local.INFO: GPS Element Parsed {"raw_longitude":750003520,"raw_latitude":125416624,"longitude_deg":75.000352,"latitude_deg":12.5416624,"altitude":44,"angle":151,"satellites":50,"speed":0,"hex_longitude":"2cb42540","hex_latitude":"0779b4b0","is_valid_coordinates":true} 
[2026-07-13 21:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693078016001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:13:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783957362000,"timestamp_ms":1783957362000,"timestamp_seconds":1783957362,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c251550"} 
[2026-07-13 21:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-07-13 21:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":133022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":133022,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":133022,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693078016001,"66":26256,"36":206,"27":54016,"24":0,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-07-13 21:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693078016001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:13:55] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-13 21:13:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:13:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693078016001,"power":26256,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":133022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482271,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:13:55] local.INFO: GPS data processed {"connection_id":133022,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:13:55] local.INFO: Acknowledgment sent {"connection_id":133022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:13:57] local.INFO: TCP Data received {"connection_id":131697,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:13:57] local.INFO: Processing buffer {"connection_id":131697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:13:57] local.INFO: IMEI packet received {"connection_id":131697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 21:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":131697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:13:58] local.INFO: TCP Data received {"connection_id":131697,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c22bbc0012d196500071ff0e80047006826..."} 
[2026-07-13 21:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c22bbc0012d196500071ff0e80047006826..."} 
[2026-07-13 21:13:58] local.INFO: Processing buffer {"connection_id":131697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c22bbc0012d196500071ff0e80047006826..."} 
[2026-07-13 21:13:58] local.INFO: Packet analysis {"connection_id":131697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:13:58] local.INFO: Extracted packet for processing {"connection_id":131697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:13:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692968192001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783957208000,"timestamp_ms":1783957208000,"timestamp_seconds":1783957208,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c22bbc0"} 
[2026-07-13 21:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:13:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:13:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692968192001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692968192001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:13:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:13:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692968192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":131697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:13:58] local.INFO: GPS data processed {"connection_id":131697,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:13:58] local.INFO: Acknowledgment sent {"connection_id":131697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:14:11] local.INFO: TCP Data received {"connection_id":130657,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2236f0012d7f914005afd9380018011b24..."} 
[2026-07-13 21:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2236f0012d7f914005afd9380018011b24..."} 
[2026-07-13 21:14:11] local.INFO: Processing buffer {"connection_id":130657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2236f0012d7f914005afd9380018011b24..."} 
[2026-07-13 21:14:11] local.INFO: Packet analysis {"connection_id":130657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:14:11] local.INFO: Extracted packet for processing {"connection_id":130657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:14:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692959488001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783957174000,"timestamp_ms":1783957174000,"timestamp_seconds":1783957174,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2236f0"} 
[2026-07-13 21:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 21:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692959488001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692959488001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:14:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:14:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692959488001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":130657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:14:11] local.INFO: GPS data processed {"connection_id":130657,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:14:11] local.INFO: Acknowledgment sent {"connection_id":130657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:14:29] local.INFO: TCP Data received {"connection_id":131697,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c22bbc0012d196500071ff0e80047006826..."} 
[2026-07-13 21:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c22bbc0012d196500071ff0e80047006826..."} 
[2026-07-13 21:14:29] local.INFO: Processing buffer {"connection_id":131697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c22bbc0012d196500071ff0e80047006826..."} 
[2026-07-13 21:14:29] local.INFO: Packet analysis {"connection_id":131697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:14:29] local.INFO: Extracted packet for processing {"connection_id":131697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:14:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692968192001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:14:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783957208000,"timestamp_ms":1783957208000,"timestamp_seconds":1783957208,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c22bbc0"} 
[2026-07-13 21:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:14:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:14:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21: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-07-13 21:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":131697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":131697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":131697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:14:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692968192001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692968192001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:14:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:14:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692968192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":131697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:14:29] local.INFO: GPS data processed {"connection_id":131697,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:14:29] local.INFO: Acknowledgment sent {"connection_id":131697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:14:34] local.INFO: TCP Data received {"connection_id":131698,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:14:34] local.INFO: Processing buffer {"connection_id":131698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:14:34] local.INFO: IMEI packet received {"connection_id":131698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":131698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:14:39] local.INFO: TCP Data received {"connection_id":131698,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:14:39] local.INFO: Processing buffer {"connection_id":131698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:14:39] local.INFO: IMEI packet received {"connection_id":131698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":131698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:14:39] local.INFO: TCP Data received {"connection_id":130871,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:14:39] local.INFO: Processing buffer {"connection_id":130871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:14:39] local.INFO: IMEI packet received {"connection_id":130871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":130871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:14:39] local.INFO: TCP Data received {"connection_id":131698,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2236f0012d7f914005afd9380018011b24..."} 
[2026-07-13 21:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2236f0012d7f914005afd9380018011b24..."} 
[2026-07-13 21:14:39] local.INFO: Processing buffer {"connection_id":131698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2236f0012d7f914005afd9380018011b24..."} 
[2026-07-13 21:14:39] local.INFO: Packet analysis {"connection_id":131698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:14:39] local.INFO: Extracted packet for processing {"connection_id":131698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:14:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692959488001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783957174000,"timestamp_ms":1783957174000,"timestamp_seconds":1783957174,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2236f0"} 
[2026-07-13 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-07-13 21:14: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-07-13 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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 21:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692959488001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692959488001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:14:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:14:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692959488001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":131698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:14:39] local.INFO: GPS data processed {"connection_id":131698,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:14:39] local.INFO: Acknowledgment sent {"connection_id":131698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:14:45] local.INFO: TCP Data received {"connection_id":130871,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:14:45] local.INFO: Processing buffer {"connection_id":130871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:14:45] local.INFO: IMEI packet received {"connection_id":130871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":130871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:14:46] local.INFO: TCP Data received {"connection_id":130871,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c256758012cb425400779b4b0002c009732..."} 
[2026-07-13 21:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c256758012cb425400779b4b0002c009732..."} 
[2026-07-13 21:14:46] local.INFO: Processing buffer {"connection_id":130871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c256758012cb425400779b4b0002c009732..."} 
[2026-07-13 21:14:46] local.INFO: Packet analysis {"connection_id":130871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c25"} 
[2026-07-13 21:14:46] local.INFO: Extracted packet for processing {"connection_id":130871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c25"} 
[2026-07-13 21:14:46] local.INFO: GPS Element Parsed {"raw_longitude":750003520,"raw_latitude":125416624,"longitude_deg":75.000352,"latitude_deg":12.5416624,"altitude":44,"angle":151,"satellites":50,"speed":0,"hex_longitude":"2cb42540","hex_latitude":"0779b4b0","is_valid_coordinates":true} 
[2026-07-13 21:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693084672001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:14:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783957383000,"timestamp_ms":1783957383000,"timestamp_seconds":1783957383,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c256758"} 
[2026-07-13 21:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-13 21:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2004,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693084672001,"66":25821,"36":206,"27":54016,"24":0,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-07-13 21:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693084672001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:14:46] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-13 21:14:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:14:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693084672001,"power":25821,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":130871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482276,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:14:46] local.INFO: GPS data processed {"connection_id":130871,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:14:46] local.INFO: Acknowledgment sent {"connection_id":130871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:14:47] local.INFO: TCP Data received {"connection_id":130871,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c25b960012cb425400779b4b0002c009732..."} 
[2026-07-13 21:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c25b960012cb425400779b4b0002c009732..."} 
[2026-07-13 21:14:47] local.INFO: Processing buffer {"connection_id":130871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c25b960012cb425400779b4b0002c009732..."} 
[2026-07-13 21:14:47] local.INFO: Packet analysis {"connection_id":130871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c25"} 
[2026-07-13 21:14:47] local.INFO: Extracted packet for processing {"connection_id":130871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c25"} 
[2026-07-13 21:14:47] local.INFO: GPS Element Parsed {"raw_longitude":750003520,"raw_latitude":125416624,"longitude_deg":75.000352,"latitude_deg":12.5416624,"altitude":44,"angle":151,"satellites":50,"speed":0,"hex_longitude":"2cb42540","hex_latitude":"0779b4b0","is_valid_coordinates":true} 
[2026-07-13 21:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693090048001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:14:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783957404000,"timestamp_ms":1783957404000,"timestamp_seconds":1783957404,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c25b960"} 
[2026-07-13 21:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":100,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-13 21:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693090048001,"66":25745,"224":206,"27":54016,"24":0,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693090048001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:14:47] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:14:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:14:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693090048001,"power":25745,"unknown_224":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":130871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482277,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:14:47] local.INFO: GPS data processed {"connection_id":130871,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:14:47] local.INFO: Acknowledgment sent {"connection_id":130871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:14:53] local.INFO: TCP Data received {"connection_id":131699,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:14:53] local.INFO: Processing buffer {"connection_id":131699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:14:53] local.INFO: IMEI packet received {"connection_id":131699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 21:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":131699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:14:57] local.INFO: TCP Data received {"connection_id":131699,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:14:57] local.INFO: Processing buffer {"connection_id":131699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:14:57] local.INFO: IMEI packet received {"connection_id":131699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 21:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":131699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:14:58] local.INFO: TCP Data received {"connection_id":131699,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c22bbc0012d196500071ff0e80047006826..."} 
[2026-07-13 21:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c22bbc0012d196500071ff0e80047006826..."} 
[2026-07-13 21:14:58] local.INFO: Processing buffer {"connection_id":131699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c22bbc0012d196500071ff0e80047006826..."} 
[2026-07-13 21:14:58] local.INFO: Packet analysis {"connection_id":131699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:14:58] local.INFO: Extracted packet for processing {"connection_id":131699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:14:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692968192001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783957208000,"timestamp_ms":1783957208000,"timestamp_seconds":1783957208,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c22bbc0"} 
[2026-07-13 21:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692968192001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692968192001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:14:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:14:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692968192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":131699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:14:58] local.INFO: GPS data processed {"connection_id":131699,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:14:58] local.INFO: Acknowledgment sent {"connection_id":131699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:15:10] local.INFO: TCP Data received {"connection_id":131698,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2236f0012d7f914005afd9380018011b24..."} 
[2026-07-13 21:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2236f0012d7f914005afd9380018011b24..."} 
[2026-07-13 21:15:10] local.INFO: Processing buffer {"connection_id":131698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2236f0012d7f914005afd9380018011b24..."} 
[2026-07-13 21:15:10] local.INFO: Packet analysis {"connection_id":131698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:15:10] local.INFO: Extracted packet for processing {"connection_id":131698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:15:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692959488001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783957174000,"timestamp_ms":1783957174000,"timestamp_seconds":1783957174,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2236f0"} 
[2026-07-13 21:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-13 21:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692959488001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692959488001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:15:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:15:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692959488001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":131698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:15:10] local.INFO: GPS data processed {"connection_id":131698,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:15:10] local.INFO: Acknowledgment sent {"connection_id":131698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:15:19] local.INFO: TCP Data received {"connection_id":130871,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c260b68012cb425400779b4b0002c009732..."} 
[2026-07-13 21:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c260b68012cb425400779b4b0002c009732..."} 
[2026-07-13 21:15:19] local.INFO: Processing buffer {"connection_id":130871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c260b68012cb425400779b4b0002c009732..."} 
[2026-07-13 21:15:19] local.INFO: Packet analysis {"connection_id":130871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c26"} 
[2026-07-13 21:15:19] local.INFO: Extracted packet for processing {"connection_id":130871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c26"} 
[2026-07-13 21:15:19] local.INFO: GPS Element Parsed {"raw_longitude":750003520,"raw_latitude":125416624,"longitude_deg":75.000352,"latitude_deg":12.5416624,"altitude":44,"angle":151,"satellites":50,"speed":0,"hex_longitude":"2cb42540","hex_latitude":"0779b4b0","is_valid_coordinates":true} 
[2026-07-13 21:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693095424001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:15:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783957425000,"timestamp_ms":1783957425000,"timestamp_seconds":1783957425,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c260b68"} 
[2026-07-13 21:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":145,"data_length":795,"current_offset":136} 
[2026-07-13 21:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693095424001,"66":25691,"224":206,"27":54016,"24":0,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693095424001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:15:19] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:15:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:15:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693095424001,"power":25691,"unknown_224":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":130871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482280,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:15:19] local.INFO: GPS data processed {"connection_id":130871,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:15:19] local.INFO: Acknowledgment sent {"connection_id":130871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:15:29] local.INFO: TCP Data received {"connection_id":131699,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c22bbc0012d196500071ff0e80047006826..."} 
[2026-07-13 21:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c22bbc0012d196500071ff0e80047006826..."} 
[2026-07-13 21:15:29] local.INFO: Processing buffer {"connection_id":131699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c22bbc0012d196500071ff0e80047006826..."} 
[2026-07-13 21:15:29] local.INFO: Packet analysis {"connection_id":131699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:15:29] local.INFO: Extracted packet for processing {"connection_id":131699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c22"} 
[2026-07-13 21:15:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456692968192001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:15:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783957208000,"timestamp_ms":1783957208000,"timestamp_seconds":1783957208,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c22bbc0"} 
[2026-07-13 21:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:15:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:15:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21: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-07-13 21:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":131699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":131699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":131699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456692968192001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456692968192001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:15:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:15:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456692968192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":131699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:15:29] local.INFO: GPS data processed {"connection_id":131699,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:15:29] local.INFO: Acknowledgment sent {"connection_id":131699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:15:33] local.INFO: TCP Data received {"connection_id":130658,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:15:33] local.INFO: Processing buffer {"connection_id":130658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:15:33] local.INFO: IMEI packet received {"connection_id":130658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":130658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:15:39] local.INFO: TCP Data received {"connection_id":130658,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:15:39] local.INFO: Processing buffer {"connection_id":130658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:15:39] local.INFO: IMEI packet received {"connection_id":130658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":130658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:15:39] local.INFO: TCP Data received {"connection_id":130658,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c26ceb8012d7f914005afd9380018011b22..."} 
[2026-07-13 21:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c26ceb8012d7f914005afd9380018011b22..."} 
[2026-07-13 21:15:39] local.INFO: Processing buffer {"connection_id":130658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c26ceb8012d7f914005afd9380018011b22..."} 
[2026-07-13 21:15:39] local.INFO: Packet analysis {"connection_id":130658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c26"} 
[2026-07-13 21:15:39] local.INFO: Extracted packet for processing {"connection_id":130658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c26"} 
[2026-07-13 21:15:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693036544001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783957475000,"timestamp_ms":1783957475000,"timestamp_seconds":1783957475,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c26ceb8"} 
[2026-07-13 21:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 21:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693036544001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693036544001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:15:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:15:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693036544001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":130658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:15:39] local.INFO: GPS data processed {"connection_id":130658,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:15:39] local.INFO: Acknowledgment sent {"connection_id":130658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:15:39] local.INFO: TCP Data received {"connection_id":130872,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:15:39] local.INFO: Processing buffer {"connection_id":130872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:15:39] local.INFO: IMEI packet received {"connection_id":130872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":130872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:15:44] local.INFO: TCP Data received {"connection_id":130872,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:15:44] local.INFO: Processing buffer {"connection_id":130872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:15:44] local.INFO: IMEI packet received {"connection_id":130872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":130872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:15:46] local.INFO: TCP Data received {"connection_id":130872,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c265d70012cb425400779b4b0002c009732..."} 
[2026-07-13 21:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c265d70012cb425400779b4b0002c009732..."} 
[2026-07-13 21:15:46] local.INFO: Processing buffer {"connection_id":130872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c265d70012cb425400779b4b0002c009732..."} 
[2026-07-13 21:15:46] local.INFO: Packet analysis {"connection_id":130872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c26"} 
[2026-07-13 21:15:46] local.INFO: Extracted packet for processing {"connection_id":130872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c26"} 
[2026-07-13 21:15:46] local.INFO: GPS Element Parsed {"raw_longitude":750003520,"raw_latitude":125416624,"longitude_deg":75.000352,"latitude_deg":12.5416624,"altitude":44,"angle":151,"satellites":50,"speed":0,"hex_longitude":"2cb42540","hex_latitude":"0779b4b0","is_valid_coordinates":true} 
[2026-07-13 21:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693100800001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:15:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783957446000,"timestamp_ms":1783957446000,"timestamp_seconds":1783957446,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c265d70"} 
[2026-07-13 21:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-13 21:15:46] 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-07-13 21:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693100800001,"66":25832,"224":206,"27":54016,"24":0,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693100800001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:15:46] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:15:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:15:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693100800001,"power":25832,"unknown_224":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":130872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482283,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:15:46] local.INFO: GPS data processed {"connection_id":130872,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:15:46] local.INFO: Acknowledgment sent {"connection_id":130872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:15:52] local.INFO: TCP Data received {"connection_id":131700,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:15:52] local.INFO: Processing buffer {"connection_id":131700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:15:52] local.INFO: IMEI packet received {"connection_id":131700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 21:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":131700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:15:57] local.INFO: TCP Data received {"connection_id":131700,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:15:57] local.INFO: Processing buffer {"connection_id":131700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:15:57] local.INFO: IMEI packet received {"connection_id":131700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 21:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":131700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:15:58] local.INFO: TCP Data received {"connection_id":131700,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c275388012d196500071ff0e80047006826..."} 
[2026-07-13 21:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c275388012d196500071ff0e80047006826..."} 
[2026-07-13 21:15:58] local.INFO: Processing buffer {"connection_id":131700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c275388012d196500071ff0e80047006826..."} 
[2026-07-13 21:15:58] local.INFO: Packet analysis {"connection_id":131700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c27"} 
[2026-07-13 21:15:58] local.INFO: Extracted packet for processing {"connection_id":131700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c27"} 
[2026-07-13 21:15:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693045248001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:15:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783957509000,"timestamp_ms":1783957509000,"timestamp_seconds":1783957509,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c275388"} 
[2026-07-13 21:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:15:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:15:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693045248001,"66":2155,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693045248001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:15:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:15:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693045248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":131700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:15:58] local.INFO: GPS data processed {"connection_id":131700,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:15:58] local.INFO: Acknowledgment sent {"connection_id":131700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:16:10] local.INFO: TCP Data received {"connection_id":130658,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c26ceb8012d7f914005afd9380018011b22..."} 
[2026-07-13 21:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c26ceb8012d7f914005afd9380018011b22..."} 
[2026-07-13 21:16:10] local.INFO: Processing buffer {"connection_id":130658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c26ceb8012d7f914005afd9380018011b22..."} 
[2026-07-13 21:16:10] local.INFO: Packet analysis {"connection_id":130658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c26"} 
[2026-07-13 21:16:10] local.INFO: Extracted packet for processing {"connection_id":130658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c26"} 
[2026-07-13 21:16:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693036544001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783957475000,"timestamp_ms":1783957475000,"timestamp_seconds":1783957475,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c26ceb8"} 
[2026-07-13 21:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 21:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693036544001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693036544001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:16:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693036544001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":130658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:16:10] local.INFO: GPS data processed {"connection_id":130658,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:16:10] local.INFO: Acknowledgment sent {"connection_id":130658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:16:17] local.INFO: TCP Data received {"connection_id":130872,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c26af78012cb425400779b4b0002c009732..."} 
[2026-07-13 21:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c26af78012cb425400779b4b0002c009732..."} 
[2026-07-13 21:16:17] local.INFO: Processing buffer {"connection_id":130872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c26af78012cb425400779b4b0002c009732..."} 
[2026-07-13 21:16:17] local.INFO: Packet analysis {"connection_id":130872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c26"} 
[2026-07-13 21:16:17] local.INFO: Extracted packet for processing {"connection_id":130872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c26"} 
[2026-07-13 21:16:17] local.INFO: GPS Element Parsed {"raw_longitude":750003520,"raw_latitude":125416624,"longitude_deg":75.000352,"latitude_deg":12.5416624,"altitude":44,"angle":151,"satellites":50,"speed":0,"hex_longitude":"2cb42540","hex_latitude":"0779b4b0","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693106176001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:16:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783957467000,"timestamp_ms":1783957467000,"timestamp_seconds":1783957467,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c26af78"} 
[2026-07-13 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-07-13 21:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-13 21:16: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-07-13 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-07-13 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-07-13 21:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693106176001,"66":25810,"224":206,"27":54016,"24":0,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693106176001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:16:17] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:16:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:16:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693106176001,"power":25810,"unknown_224":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":130872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482286,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:16:17] local.INFO: GPS data processed {"connection_id":130872,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:16:17] local.INFO: Acknowledgment sent {"connection_id":130872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:16:29] local.INFO: TCP Data received {"connection_id":131700,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c275388012d196500071ff0e80047006826..."} 
[2026-07-13 21:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c275388012d196500071ff0e80047006826..."} 
[2026-07-13 21:16:29] local.INFO: Processing buffer {"connection_id":131700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c275388012d196500071ff0e80047006826..."} 
[2026-07-13 21:16:29] local.INFO: Packet analysis {"connection_id":131700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c27"} 
[2026-07-13 21:16:29] local.INFO: Extracted packet for processing {"connection_id":131700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c27"} 
[2026-07-13 21:16:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693045248001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783957509000,"timestamp_ms":1783957509000,"timestamp_seconds":1783957509,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c275388"} 
[2026-07-13 21:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:16:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:16:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21: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-07-13 21:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":131700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":131700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":131700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693045248001,"66":2155,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693045248001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:16:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:16:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693045248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":131700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:16:29] local.INFO: GPS data processed {"connection_id":131700,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:16:29] local.INFO: Acknowledgment sent {"connection_id":131700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:16:39] local.INFO: TCP Data received {"connection_id":130659,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:16:39] local.INFO: Processing buffer {"connection_id":130659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:16:39] local.INFO: IMEI packet received {"connection_id":130659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":130659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:16:39] local.INFO: TCP Data received {"connection_id":130660,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130660,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:16:39] local.INFO: Processing buffer {"connection_id":130660,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:16:39] local.INFO: IMEI packet received {"connection_id":130660,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":130660,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:16:44] local.INFO: TCP Data received {"connection_id":130659,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:16:44] local.INFO: Processing buffer {"connection_id":130659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:16:44] local.INFO: IMEI packet received {"connection_id":130659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":130659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:16:44] local.INFO: TCP Data received {"connection_id":130660,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130660,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:16:44] local.INFO: Processing buffer {"connection_id":130660,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:16:44] local.INFO: IMEI packet received {"connection_id":130660,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":130660,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:16:44] local.INFO: TCP Data received {"connection_id":130659,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c26ceb8012d7f914005afd9380018011b22..."} 
[2026-07-13 21:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c26ceb8012d7f914005afd9380018011b22..."} 
[2026-07-13 21:16:44] local.INFO: Processing buffer {"connection_id":130659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c26ceb8012d7f914005afd9380018011b22..."} 
[2026-07-13 21:16:44] local.INFO: Packet analysis {"connection_id":130659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c26"} 
[2026-07-13 21:16:44] local.INFO: Extracted packet for processing {"connection_id":130659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c26"} 
[2026-07-13 21:16:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693036544001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783957475000,"timestamp_ms":1783957475000,"timestamp_seconds":1783957475,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c26ceb8"} 
[2026-07-13 21:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 21:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693036544001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693036544001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:16:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:16:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693036544001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":130659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:16:45] local.INFO: GPS data processed {"connection_id":130659,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:16:45] local.INFO: Acknowledgment sent {"connection_id":130659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:16:46] local.INFO: TCP Data received {"connection_id":130660,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c270180012cb425400779b4b0002c009732..."} 
[2026-07-13 21:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c270180012cb425400779b4b0002c009732..."} 
[2026-07-13 21:16:46] local.INFO: Processing buffer {"connection_id":130660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c270180012cb425400779b4b0002c009732..."} 
[2026-07-13 21:16:46] local.INFO: Packet analysis {"connection_id":130660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c27"} 
[2026-07-13 21:16:46] local.INFO: Extracted packet for processing {"connection_id":130660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c27"} 
[2026-07-13 21:16:46] local.INFO: GPS Element Parsed {"raw_longitude":750003520,"raw_latitude":125416624,"longitude_deg":75.000352,"latitude_deg":12.5416624,"altitude":44,"angle":151,"satellites":50,"speed":0,"hex_longitude":"2cb42540","hex_latitude":"0779b4b0","is_valid_coordinates":true} 
[2026-07-13 21:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693111552001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:16:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783957488000,"timestamp_ms":1783957488000,"timestamp_seconds":1783957488,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c270180"} 
[2026-07-13 21:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-07-13 21:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130660,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130660,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693111552001,"66":25778,"224":206,"27":54016,"24":0,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693111552001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:16:46] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:16:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:16:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693111552001,"power":25778,"unknown_224":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":130660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482289,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:16:46] local.INFO: GPS data processed {"connection_id":130660,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:16:46] local.INFO: Acknowledgment sent {"connection_id":130660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:16:49] local.INFO: TCP Data received {"connection_id":130659,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c26ceb8012d7f914005afd9380018011b22..."} 
[2026-07-13 21:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c26ceb8012d7f914005afd9380018011b22..."} 
[2026-07-13 21:16:49] local.INFO: Processing buffer {"connection_id":130659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c26ceb8012d7f914005afd9380018011b22..."} 
[2026-07-13 21:16:49] local.INFO: Packet analysis {"connection_id":130659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c26"} 
[2026-07-13 21:16:49] local.INFO: Extracted packet for processing {"connection_id":130659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c26"} 
[2026-07-13 21:16:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693036544001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783957475000,"timestamp_ms":1783957475000,"timestamp_seconds":1783957475,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c26ceb8"} 
[2026-07-13 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-07-13 21:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 21:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:16: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-07-13 21:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693036544001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693036544001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:16:49] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:16:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693036544001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":130659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:16:49] local.INFO: GPS data processed {"connection_id":130659,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:16:49] local.INFO: Acknowledgment sent {"connection_id":130659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:16:52] local.INFO: TCP Data received {"connection_id":130661,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:16:52] local.INFO: Processing buffer {"connection_id":130661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:16:52] local.INFO: IMEI packet received {"connection_id":130661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 21:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":130661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:16:57] local.INFO: TCP Data received {"connection_id":130661,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:16:57] local.INFO: Processing buffer {"connection_id":130661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:16:57] local.INFO: IMEI packet received {"connection_id":130661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 21:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":130661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:16:58] local.INFO: TCP Data received {"connection_id":130661,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c275388012d196500071ff0e80047006826..."} 
[2026-07-13 21:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c275388012d196500071ff0e80047006826..."} 
[2026-07-13 21:16:58] local.INFO: Processing buffer {"connection_id":130661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c275388012d196500071ff0e80047006826..."} 
[2026-07-13 21:16:58] local.INFO: Packet analysis {"connection_id":130661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c27"} 
[2026-07-13 21:16:58] local.INFO: Extracted packet for processing {"connection_id":130661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c27"} 
[2026-07-13 21:16:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693045248001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783957509000,"timestamp_ms":1783957509000,"timestamp_seconds":1783957509,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c275388"} 
[2026-07-13 21:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:16:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693045248001,"66":2155,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693045248001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:16:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:16:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693045248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":130661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:16:58] local.INFO: GPS data processed {"connection_id":130661,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:16:58] local.INFO: Acknowledgment sent {"connection_id":130661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:17:17] local.INFO: TCP Data received {"connection_id":130660,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c275388012cb425400779b4b0002c009732..."} 
[2026-07-13 21:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c275388012cb425400779b4b0002c009732..."} 
[2026-07-13 21:17:17] local.INFO: Processing buffer {"connection_id":130660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c275388012cb425400779b4b0002c009732..."} 
[2026-07-13 21:17:17] local.INFO: Packet analysis {"connection_id":130660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c27"} 
[2026-07-13 21:17:17] local.INFO: Extracted packet for processing {"connection_id":130660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c27"} 
[2026-07-13 21:17:17] local.INFO: GPS Element Parsed {"raw_longitude":750003520,"raw_latitude":125416624,"longitude_deg":75.000352,"latitude_deg":12.5416624,"altitude":44,"angle":151,"satellites":50,"speed":0,"hex_longitude":"2cb42540","hex_latitude":"0779b4b0","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693116928001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:17:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783957509000,"timestamp_ms":1783957509000,"timestamp_seconds":1783957509,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c275388"} 
[2026-07-13 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-07-13 21:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-13 21: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-07-13 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-07-13 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-07-13 21:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130660,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130660,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693116928001,"66":25549,"224":206,"27":54016,"24":0,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693116928001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:17:17] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:17:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:17:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693116928001,"power":25549,"unknown_224":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":130660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482292,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:17:17] local.INFO: GPS data processed {"connection_id":130660,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:17:17] local.INFO: Acknowledgment sent {"connection_id":130660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:17:29] local.INFO: TCP Data received {"connection_id":130661,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c275388012d196500071ff0e80047006826..."} 
[2026-07-13 21:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c275388012d196500071ff0e80047006826..."} 
[2026-07-13 21:17:29] local.INFO: Processing buffer {"connection_id":130661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c275388012d196500071ff0e80047006826..."} 
[2026-07-13 21:17:29] local.INFO: Packet analysis {"connection_id":130661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c27"} 
[2026-07-13 21:17:29] local.INFO: Extracted packet for processing {"connection_id":130661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c27"} 
[2026-07-13 21:17:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693045248001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783957509000,"timestamp_ms":1783957509000,"timestamp_seconds":1783957509,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c275388"} 
[2026-07-13 21:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693045248001,"66":2155,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693045248001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:17:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:17:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693045248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":130661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:17:29] local.INFO: GPS data processed {"connection_id":130661,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:17:29] local.INFO: Acknowledgment sent {"connection_id":130661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:17:33] local.INFO: TCP Data received {"connection_id":130873,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:17:33] local.INFO: Processing buffer {"connection_id":130873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:17:33] local.INFO: IMEI packet received {"connection_id":130873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":130873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:17:39] local.INFO: TCP Data received {"connection_id":130873,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:17:39] local.INFO: Processing buffer {"connection_id":130873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:17:39] local.INFO: IMEI packet received {"connection_id":130873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":130873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:17:39] local.INFO: TCP Data received {"connection_id":130874,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:17:39] local.INFO: Processing buffer {"connection_id":130874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:17:39] local.INFO: IMEI packet received {"connection_id":130874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":130874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:17:39] local.INFO: TCP Data received {"connection_id":130873,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c26ceb8012d7f914005afd9380018011b22..."} 
[2026-07-13 21:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c26ceb8012d7f914005afd9380018011b22..."} 
[2026-07-13 21:17:39] local.INFO: Processing buffer {"connection_id":130873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c26ceb8012d7f914005afd9380018011b22..."} 
[2026-07-13 21:17:39] local.INFO: Packet analysis {"connection_id":130873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c26"} 
[2026-07-13 21:17:39] local.INFO: Extracted packet for processing {"connection_id":130873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c26"} 
[2026-07-13 21:17:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693036544001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783957475000,"timestamp_ms":1783957475000,"timestamp_seconds":1783957475,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c26ceb8"} 
[2026-07-13 21:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 21:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693036544001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693036544001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:17:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:17:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693036544001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":130873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:17:39] local.INFO: GPS data processed {"connection_id":130873,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:17:39] local.INFO: Acknowledgment sent {"connection_id":130873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:17:44] local.INFO: TCP Data received {"connection_id":130874,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:17:44] local.INFO: Processing buffer {"connection_id":130874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:17:44] local.INFO: IMEI packet received {"connection_id":130874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":130874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:17:46] local.INFO: TCP Data received {"connection_id":130874,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c27a590012cb425400779b4b0002c009732..."} 
[2026-07-13 21:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c27a590012cb425400779b4b0002c009732..."} 
[2026-07-13 21:17:46] local.INFO: Processing buffer {"connection_id":130874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c27a590012cb425400779b4b0002c009732..."} 
[2026-07-13 21:17:46] local.INFO: Packet analysis {"connection_id":130874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c27"} 
[2026-07-13 21:17:46] local.INFO: Extracted packet for processing {"connection_id":130874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c27"} 
[2026-07-13 21:17:46] local.INFO: GPS Element Parsed {"raw_longitude":750003520,"raw_latitude":125416624,"longitude_deg":75.000352,"latitude_deg":12.5416624,"altitude":44,"angle":151,"satellites":50,"speed":0,"hex_longitude":"2cb42540","hex_latitude":"0779b4b0","is_valid_coordinates":true} 
[2026-07-13 21:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693122304001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:17:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783957530000,"timestamp_ms":1783957530000,"timestamp_seconds":1783957530,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c27a590"} 
[2026-07-13 21:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-13 21:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693122304001,"66":25528,"224":206,"27":54016,"24":0,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693122304001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:17:46] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:17:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:17:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693122304001,"power":25528,"unknown_224":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":130874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482295,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:17:46] local.INFO: GPS data processed {"connection_id":130874,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:17:46] local.INFO: Acknowledgment sent {"connection_id":130874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:17:52] local.INFO: TCP Data received {"connection_id":130875,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:17:52] local.INFO: Processing buffer {"connection_id":130875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:17:52] local.INFO: IMEI packet received {"connection_id":130875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 21:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":130875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:17:57] local.INFO: TCP Data received {"connection_id":130875,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:17:57] local.INFO: Processing buffer {"connection_id":130875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:17:57] local.INFO: IMEI packet received {"connection_id":130875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 21:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":130875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:17:58] local.INFO: TCP Data received {"connection_id":130875,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c275388012d196500071ff0e80047006826..."} 
[2026-07-13 21:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c275388012d196500071ff0e80047006826..."} 
[2026-07-13 21:17:58] local.INFO: Processing buffer {"connection_id":130875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c275388012d196500071ff0e80047006826..."} 
[2026-07-13 21:17:58] local.INFO: Packet analysis {"connection_id":130875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c27"} 
[2026-07-13 21:17:58] local.INFO: Extracted packet for processing {"connection_id":130875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c27"} 
[2026-07-13 21:17:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693045248001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783957509000,"timestamp_ms":1783957509000,"timestamp_seconds":1783957509,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c275388"} 
[2026-07-13 21:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693045248001,"66":2155,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693045248001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:17:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:17:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693045248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":130875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:17:58] local.INFO: GPS data processed {"connection_id":130875,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:17:58] local.INFO: Acknowledgment sent {"connection_id":130875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:18:12] local.INFO: TCP Data received {"connection_id":130873,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c26ceb8012d7f914005afd9380018011b22..."} 
[2026-07-13 21:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c26ceb8012d7f914005afd9380018011b22..."} 
[2026-07-13 21:18:12] local.INFO: Processing buffer {"connection_id":130873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c26ceb8012d7f914005afd9380018011b22..."} 
[2026-07-13 21:18:12] local.INFO: Packet analysis {"connection_id":130873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c26"} 
[2026-07-13 21:18:12] local.INFO: Extracted packet for processing {"connection_id":130873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c26"} 
[2026-07-13 21:18:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693036544001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783957475000,"timestamp_ms":1783957475000,"timestamp_seconds":1783957475,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c26ceb8"} 
[2026-07-13 21:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 21:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693036544001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693036544001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:18:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:18:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693036544001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":130873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:18:12] local.INFO: GPS data processed {"connection_id":130873,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:18:12] local.INFO: Acknowledgment sent {"connection_id":130873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:18:17] local.INFO: TCP Data received {"connection_id":130874,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c27f798012cb425400779b4b0002c009732..."} 
[2026-07-13 21:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c27f798012cb425400779b4b0002c009732..."} 
[2026-07-13 21:18:17] local.INFO: Processing buffer {"connection_id":130874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c27f798012cb425400779b4b0002c009732..."} 
[2026-07-13 21:18:17] local.INFO: Packet analysis {"connection_id":130874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c27"} 
[2026-07-13 21:18:17] local.INFO: Extracted packet for processing {"connection_id":130874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c27"} 
[2026-07-13 21:18:17] local.INFO: GPS Element Parsed {"raw_longitude":750003520,"raw_latitude":125416624,"longitude_deg":75.000352,"latitude_deg":12.5416624,"altitude":44,"angle":151,"satellites":50,"speed":0,"hex_longitude":"2cb42540","hex_latitude":"0779b4b0","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693127680001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:18:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783957551000,"timestamp_ms":1783957551000,"timestamp_seconds":1783957551,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c27f798"} 
[2026-07-13 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-07-13 21:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-13 21:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693127680001,"66":25321,"224":206,"27":54016,"24":0,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693127680001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:18:17] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:18:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:18:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693127680001,"power":25321,"unknown_224":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":130874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482298,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:18:17] local.INFO: GPS data processed {"connection_id":130874,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:18:17] local.INFO: Acknowledgment sent {"connection_id":130874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:18:29] local.INFO: TCP Data received {"connection_id":130875,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c275388012d196500071ff0e80047006826..."} 
[2026-07-13 21:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c275388012d196500071ff0e80047006826..."} 
[2026-07-13 21:18:29] local.INFO: Processing buffer {"connection_id":130875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c275388012d196500071ff0e80047006826..."} 
[2026-07-13 21:18:29] local.INFO: Packet analysis {"connection_id":130875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c27"} 
[2026-07-13 21:18:29] local.INFO: Extracted packet for processing {"connection_id":130875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c27"} 
[2026-07-13 21:18:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693045248001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783957509000,"timestamp_ms":1783957509000,"timestamp_seconds":1783957509,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c275388"} 
[2026-07-13 21:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693045248001,"66":2155,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693045248001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:18:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:18:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693045248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":130875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:18:29] local.INFO: GPS data processed {"connection_id":130875,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:18:29] local.INFO: Acknowledgment sent {"connection_id":130875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:18:34] local.INFO: TCP Data received {"connection_id":133023,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:18:34] local.INFO: Processing buffer {"connection_id":133023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:18:34] local.INFO: IMEI packet received {"connection_id":133023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":133023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:18:39] local.INFO: TCP Data received {"connection_id":133023,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:18:39] local.INFO: Processing buffer {"connection_id":133023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:18:39] local.INFO: IMEI packet received {"connection_id":133023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":133023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:18:39] local.INFO: TCP Data received {"connection_id":130662,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:18:39] local.INFO: Processing buffer {"connection_id":130662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:18:39] local.INFO: IMEI packet received {"connection_id":130662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":130662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:18:39] local.INFO: TCP Data received {"connection_id":133023,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c26ceb8012d7f914005afd9380018011b22..."} 
[2026-07-13 21:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c26ceb8012d7f914005afd9380018011b22..."} 
[2026-07-13 21:18:39] local.INFO: Processing buffer {"connection_id":133023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c26ceb8012d7f914005afd9380018011b22..."} 
[2026-07-13 21:18:39] local.INFO: Packet analysis {"connection_id":133023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c26"} 
[2026-07-13 21:18:39] local.INFO: Extracted packet for processing {"connection_id":133023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c26"} 
[2026-07-13 21:18:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693036544001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783957475000,"timestamp_ms":1783957475000,"timestamp_seconds":1783957475,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c26ceb8"} 
[2026-07-13 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-07-13 21:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 21:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693036544001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693036544001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:18:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:18:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693036544001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":133023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:18:39] local.INFO: GPS data processed {"connection_id":133023,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:18:39] local.INFO: Acknowledgment sent {"connection_id":133023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:18:44] local.INFO: TCP Data received {"connection_id":130662,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:18:44] local.INFO: Processing buffer {"connection_id":130662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:18:44] local.INFO: IMEI packet received {"connection_id":130662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":130662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:18:46] local.INFO: TCP Data received {"connection_id":130662,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2849a0012cb425400779b4b0002c009732..."} 
[2026-07-13 21:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2849a0012cb425400779b4b0002c009732..."} 
[2026-07-13 21:18:46] local.INFO: Processing buffer {"connection_id":130662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2849a0012cb425400779b4b0002c009732..."} 
[2026-07-13 21:18:46] local.INFO: Packet analysis {"connection_id":130662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c28"} 
[2026-07-13 21:18:46] local.INFO: Extracted packet for processing {"connection_id":130662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c28"} 
[2026-07-13 21:18:46] local.INFO: GPS Element Parsed {"raw_longitude":750003520,"raw_latitude":125416624,"longitude_deg":75.000352,"latitude_deg":12.5416624,"altitude":44,"angle":151,"satellites":50,"speed":0,"hex_longitude":"2cb42540","hex_latitude":"0779b4b0","is_valid_coordinates":true} 
[2026-07-13 21:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693133056001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:18:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783957572000,"timestamp_ms":1783957572000,"timestamp_seconds":1783957572,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2849a0"} 
[2026-07-13 21:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 21:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693133056001,"66":25734,"224":206,"27":54016,"24":0,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693133056001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:18:46] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:18:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:18:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693133056001,"power":25734,"unknown_224":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":130662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482301,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:18:46] local.INFO: GPS data processed {"connection_id":130662,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:18:46] local.INFO: Acknowledgment sent {"connection_id":130662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:18:52] local.INFO: TCP Data received {"connection_id":131701,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:18:52] local.INFO: Processing buffer {"connection_id":131701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:18:52] local.INFO: IMEI packet received {"connection_id":131701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 21:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":131701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:18:57] local.INFO: TCP Data received {"connection_id":131701,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:18:57] local.INFO: Processing buffer {"connection_id":131701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:18:57] local.INFO: IMEI packet received {"connection_id":131701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 21:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":131701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:18:58] local.INFO: TCP Data received {"connection_id":131701,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c275388012d196500071ff0e80047006826..."} 
[2026-07-13 21:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c275388012d196500071ff0e80047006826..."} 
[2026-07-13 21:18:58] local.INFO: Processing buffer {"connection_id":131701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c275388012d196500071ff0e80047006826..."} 
[2026-07-13 21:18:58] local.INFO: Packet analysis {"connection_id":131701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c27"} 
[2026-07-13 21:18:58] local.INFO: Extracted packet for processing {"connection_id":131701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c27"} 
[2026-07-13 21:18:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693045248001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783957509000,"timestamp_ms":1783957509000,"timestamp_seconds":1783957509,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c275388"} 
[2026-07-13 21:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:18:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693045248001,"66":2155,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693045248001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:18:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:18:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693045248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":131701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:18:58] local.INFO: GPS data processed {"connection_id":131701,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:18:58] local.INFO: Acknowledgment sent {"connection_id":131701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:19:10] local.INFO: TCP Data received {"connection_id":133023,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c26ceb8012d7f914005afd9380018011b22..."} 
[2026-07-13 21:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c26ceb8012d7f914005afd9380018011b22..."} 
[2026-07-13 21:19:10] local.INFO: Processing buffer {"connection_id":133023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c26ceb8012d7f914005afd9380018011b22..."} 
[2026-07-13 21:19:10] local.INFO: Packet analysis {"connection_id":133023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c26"} 
[2026-07-13 21:19:10] local.INFO: Extracted packet for processing {"connection_id":133023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c26"} 
[2026-07-13 21:19:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693036544001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783957475000,"timestamp_ms":1783957475000,"timestamp_seconds":1783957475,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c26ceb8"} 
[2026-07-13 21:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 21:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":133023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":133023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":133023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693036544001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693036544001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:19:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:19:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693036544001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":133023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:19:10] local.INFO: GPS data processed {"connection_id":133023,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:19:10] local.INFO: Acknowledgment sent {"connection_id":133023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:19:17] local.INFO: TCP Data received {"connection_id":130662,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c289ba8012cb425400779b4b0002c009732..."} 
[2026-07-13 21:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c289ba8012cb425400779b4b0002c009732..."} 
[2026-07-13 21:19:17] local.INFO: Processing buffer {"connection_id":130662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c289ba8012cb425400779b4b0002c009732..."} 
[2026-07-13 21:19:17] local.INFO: Packet analysis {"connection_id":130662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c28"} 
[2026-07-13 21:19:17] local.INFO: Extracted packet for processing {"connection_id":130662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c28"} 
[2026-07-13 21:19:17] local.INFO: GPS Element Parsed {"raw_longitude":750003520,"raw_latitude":125416624,"longitude_deg":75.000352,"latitude_deg":12.5416624,"altitude":44,"angle":151,"satellites":50,"speed":0,"hex_longitude":"2cb42540","hex_latitude":"0779b4b0","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693138432001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:19:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783957593000,"timestamp_ms":1783957593000,"timestamp_seconds":1783957593,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c289ba8"} 
[2026-07-13 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-07-13 21:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-13 21:19: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-07-13 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-07-13 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-07-13 21:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693138432001,"66":25734,"224":206,"27":54016,"24":0,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693138432001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:19:17] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:19:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:19:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693138432001,"power":25734,"unknown_224":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":130662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482304,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:19:17] local.INFO: GPS data processed {"connection_id":130662,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:19:17] local.INFO: Acknowledgment sent {"connection_id":130662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:19:29] local.INFO: TCP Data received {"connection_id":131701,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c275388012d196500071ff0e80047006826..."} 
[2026-07-13 21:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c275388012d196500071ff0e80047006826..."} 
[2026-07-13 21:19:29] local.INFO: Processing buffer {"connection_id":131701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c275388012d196500071ff0e80047006826..."} 
[2026-07-13 21:19:29] local.INFO: Packet analysis {"connection_id":131701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c27"} 
[2026-07-13 21:19:29] local.INFO: Extracted packet for processing {"connection_id":131701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c27"} 
[2026-07-13 21:19:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693045248001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783957509000,"timestamp_ms":1783957509000,"timestamp_seconds":1783957509,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c275388"} 
[2026-07-13 21:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:19:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21: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-07-13 21:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":131701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":131701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":131701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:19:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693045248001,"66":2155,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693045248001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:19:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:19:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693045248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":131701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:19:29] local.INFO: GPS data processed {"connection_id":131701,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:19:29] local.INFO: Acknowledgment sent {"connection_id":131701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:19:33] local.INFO: TCP Data received {"connection_id":130663,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:19:33] local.INFO: Processing buffer {"connection_id":130663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:19:33] local.INFO: IMEI packet received {"connection_id":130663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":130663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:19:38] local.INFO: TCP Data received {"connection_id":130876,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:19:38] local.INFO: Processing buffer {"connection_id":130876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:19:38] local.INFO: IMEI packet received {"connection_id":130876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":130876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:19:39] local.INFO: TCP Data received {"connection_id":130663,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:19:39] local.INFO: Processing buffer {"connection_id":130663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:19:39] local.INFO: IMEI packet received {"connection_id":130663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":130663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:19:39] local.INFO: TCP Data received {"connection_id":130876,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:19:39] local.INFO: Processing buffer {"connection_id":130876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:19:39] local.INFO: IMEI packet received {"connection_id":130876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":130876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:19:39] local.INFO: TCP Data received {"connection_id":130663,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c26ceb8012d7f914005afd9380018011b22..."} 
[2026-07-13 21:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c26ceb8012d7f914005afd9380018011b22..."} 
[2026-07-13 21:19:39] local.INFO: Processing buffer {"connection_id":130663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c26ceb8012d7f914005afd9380018011b22..."} 
[2026-07-13 21:19:39] local.INFO: Packet analysis {"connection_id":130663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c26"} 
[2026-07-13 21:19:39] local.INFO: Extracted packet for processing {"connection_id":130663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c26"} 
[2026-07-13 21:19:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693036544001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783957475000,"timestamp_ms":1783957475000,"timestamp_seconds":1783957475,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c26ceb8"} 
[2026-07-13 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-07-13 21:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 21:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693036544001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693036544001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:19:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:19:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693036544001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":130663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:19:39] local.INFO: GPS data processed {"connection_id":130663,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:19:39] local.INFO: Acknowledgment sent {"connection_id":130663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:19:44] local.INFO: TCP Data received {"connection_id":130876,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:19:44] local.INFO: Processing buffer {"connection_id":130876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:19:44] local.INFO: IMEI packet received {"connection_id":130876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":130876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:19:46] local.INFO: TCP Data received {"connection_id":130876,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c28edb0012cb425400779b4b0002c009732..."} 
[2026-07-13 21:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c28edb0012cb425400779b4b0002c009732..."} 
[2026-07-13 21:19:46] local.INFO: Processing buffer {"connection_id":130876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c28edb0012cb425400779b4b0002c009732..."} 
[2026-07-13 21:19:46] local.INFO: Packet analysis {"connection_id":130876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c28"} 
[2026-07-13 21:19:46] local.INFO: Extracted packet for processing {"connection_id":130876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c28"} 
[2026-07-13 21:19:46] local.INFO: GPS Element Parsed {"raw_longitude":750003520,"raw_latitude":125416624,"longitude_deg":75.000352,"latitude_deg":12.5416624,"altitude":44,"angle":151,"satellites":50,"speed":0,"hex_longitude":"2cb42540","hex_latitude":"0779b4b0","is_valid_coordinates":true} 
[2026-07-13 21:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693143808001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:19:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783957614000,"timestamp_ms":1783957614000,"timestamp_seconds":1783957614,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c28edb0"} 
[2026-07-13 21:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-13 21:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693143808001,"66":25702,"224":206,"27":54016,"24":0,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693143808001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:19:46] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:19:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:19:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693143808001,"power":25702,"unknown_224":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":130876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482307,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:19:46] local.INFO: GPS data processed {"connection_id":130876,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:19:46] local.INFO: Acknowledgment sent {"connection_id":130876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:19:52] local.INFO: TCP Data received {"connection_id":133024,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:19:52] local.INFO: Processing buffer {"connection_id":133024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:19:52] local.INFO: IMEI packet received {"connection_id":133024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 21:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":133024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:19:57] local.INFO: TCP Data received {"connection_id":133024,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:19:57] local.INFO: Processing buffer {"connection_id":133024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:19:57] local.INFO: IMEI packet received {"connection_id":133024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 21:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":133024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:19:58] local.INFO: TCP Data received {"connection_id":133024,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c275388012d196500071ff0e80047006826..."} 
[2026-07-13 21:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c275388012d196500071ff0e80047006826..."} 
[2026-07-13 21:19:58] local.INFO: Processing buffer {"connection_id":133024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c275388012d196500071ff0e80047006826..."} 
[2026-07-13 21:19:58] local.INFO: Packet analysis {"connection_id":133024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c27"} 
[2026-07-13 21:19:58] local.INFO: Extracted packet for processing {"connection_id":133024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c27"} 
[2026-07-13 21:19:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693045248001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783957509000,"timestamp_ms":1783957509000,"timestamp_seconds":1783957509,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c275388"} 
[2026-07-13 21:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":133024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":133024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":133024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693045248001,"66":2155,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693045248001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:19:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:19:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693045248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":133024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:19:58] local.INFO: GPS data processed {"connection_id":133024,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:19:58] local.INFO: Acknowledgment sent {"connection_id":133024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:20:10] local.INFO: TCP Data received {"connection_id":130663,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c26ceb8012d7f914005afd9380018011b22..."} 
[2026-07-13 21:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c26ceb8012d7f914005afd9380018011b22..."} 
[2026-07-13 21:20:10] local.INFO: Processing buffer {"connection_id":130663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c26ceb8012d7f914005afd9380018011b22..."} 
[2026-07-13 21:20:10] local.INFO: Packet analysis {"connection_id":130663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c26"} 
[2026-07-13 21:20:10] local.INFO: Extracted packet for processing {"connection_id":130663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c26"} 
[2026-07-13 21:20:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693036544001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783957475000,"timestamp_ms":1783957475000,"timestamp_seconds":1783957475,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c26ceb8"} 
[2026-07-13 21:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 21:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693036544001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693036544001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:20:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:20:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693036544001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":130663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:20:10] local.INFO: GPS data processed {"connection_id":130663,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:20:10] local.INFO: Acknowledgment sent {"connection_id":130663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:20:17] local.INFO: TCP Data received {"connection_id":130876,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c293fb8012cb425400779b4b0002c009732..."} 
[2026-07-13 21:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c293fb8012cb425400779b4b0002c009732..."} 
[2026-07-13 21:20:17] local.INFO: Processing buffer {"connection_id":130876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c293fb8012cb425400779b4b0002c009732..."} 
[2026-07-13 21:20:17] local.INFO: Packet analysis {"connection_id":130876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c29"} 
[2026-07-13 21:20:17] local.INFO: Extracted packet for processing {"connection_id":130876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c29"} 
[2026-07-13 21:20:17] local.INFO: GPS Element Parsed {"raw_longitude":750003520,"raw_latitude":125416624,"longitude_deg":75.000352,"latitude_deg":12.5416624,"altitude":44,"angle":151,"satellites":50,"speed":0,"hex_longitude":"2cb42540","hex_latitude":"0779b4b0","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693149184001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:20:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783957635000,"timestamp_ms":1783957635000,"timestamp_seconds":1783957635,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c293fb8"} 
[2026-07-13 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-07-13 21:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-13 21:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693149184001,"66":25462,"224":206,"27":54016,"24":0,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693149184001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:20:17] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:20:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:20:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693149184001,"power":25462,"unknown_224":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":130876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482310,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:20:17] local.INFO: GPS data processed {"connection_id":130876,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:20:17] local.INFO: Acknowledgment sent {"connection_id":130876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:20:29] local.INFO: TCP Data received {"connection_id":133024,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c275388012d196500071ff0e80047006826..."} 
[2026-07-13 21:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c275388012d196500071ff0e80047006826..."} 
[2026-07-13 21:20:29] local.INFO: Processing buffer {"connection_id":133024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c275388012d196500071ff0e80047006826..."} 
[2026-07-13 21:20:29] local.INFO: Packet analysis {"connection_id":133024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c27"} 
[2026-07-13 21:20:29] local.INFO: Extracted packet for processing {"connection_id":133024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c27"} 
[2026-07-13 21:20:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693045248001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783957509000,"timestamp_ms":1783957509000,"timestamp_seconds":1783957509,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c275388"} 
[2026-07-13 21:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:20:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:20:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:20:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":133024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":133024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":133024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693045248001,"66":2155,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693045248001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:20:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:20:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693045248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":133024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:20:29] local.INFO: GPS data processed {"connection_id":133024,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:20:29] local.INFO: Acknowledgment sent {"connection_id":133024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:20:33] local.INFO: TCP Data received {"connection_id":130877,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:20:33] local.INFO: Processing buffer {"connection_id":130877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:20:33] local.INFO: IMEI packet received {"connection_id":130877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":130877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:20:39] local.INFO: TCP Data received {"connection_id":130877,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:20:39] local.INFO: Processing buffer {"connection_id":130877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:20:39] local.INFO: IMEI packet received {"connection_id":130877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":130877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:20:39] local.INFO: TCP Data received {"connection_id":130878,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:20:39] local.INFO: Processing buffer {"connection_id":130878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:20:39] local.INFO: IMEI packet received {"connection_id":130878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":130878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:20:39] local.INFO: TCP Data received {"connection_id":130877,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2b6680012d7f914005afd9380018011b22..."} 
[2026-07-13 21:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2b6680012d7f914005afd9380018011b22..."} 
[2026-07-13 21:20:39] local.INFO: Processing buffer {"connection_id":130877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2b6680012d7f914005afd9380018011b22..."} 
[2026-07-13 21:20:39] local.INFO: Packet analysis {"connection_id":130877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:20:39] local.INFO: Extracted packet for processing {"connection_id":130877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:20:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693113600001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783957776000,"timestamp_ms":1783957776000,"timestamp_seconds":1783957776,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2b6680"} 
[2026-07-13 21:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693113600001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693113600001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:20:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:20:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693113600001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":130877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:20:39] local.INFO: GPS data processed {"connection_id":130877,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:20:39] local.INFO: Acknowledgment sent {"connection_id":130877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:20:41] local.INFO: TCP Data received {"connection_id":130878,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:20:41] local.INFO: Processing buffer {"connection_id":130878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:20:41] local.INFO: IMEI packet received {"connection_id":130878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":130878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:20:44] local.INFO: TCP Data received {"connection_id":130878,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:20:44] local.INFO: Processing buffer {"connection_id":130878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:20:44] local.INFO: IMEI packet received {"connection_id":130878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":130878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:20:45] local.INFO: TCP Data received {"connection_id":130878,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2991c0012cb425400779b4b0002c009732..."} 
[2026-07-13 21:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2991c0012cb425400779b4b0002c009732..."} 
[2026-07-13 21:20:45] local.INFO: Processing buffer {"connection_id":130878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2991c0012cb425400779b4b0002c009732..."} 
[2026-07-13 21:20:45] local.INFO: Packet analysis {"connection_id":130878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c29"} 
[2026-07-13 21:20:45] local.INFO: Extracted packet for processing {"connection_id":130878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c29"} 
[2026-07-13 21:20:45] local.INFO: GPS Element Parsed {"raw_longitude":750003520,"raw_latitude":125416624,"longitude_deg":75.000352,"latitude_deg":12.5416624,"altitude":44,"angle":151,"satellites":50,"speed":0,"hex_longitude":"2cb42540","hex_latitude":"0779b4b0","is_valid_coordinates":true} 
[2026-07-13 21:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693154560001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:20:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783957656000,"timestamp_ms":1783957656000,"timestamp_seconds":1783957656,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2991c0"} 
[2026-07-13 21:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:20:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693154560001,"66":25006,"224":206,"27":54016,"24":0,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693154560001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:20:45] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:20:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:20:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693154560001,"power":25006,"unknown_224":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":130878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482313,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:20:45] local.INFO: GPS data processed {"connection_id":130878,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:20:45] local.INFO: Acknowledgment sent {"connection_id":130878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:20:52] local.INFO: TCP Data received {"connection_id":130664,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:20:52] local.INFO: Processing buffer {"connection_id":130664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:20:52] local.INFO: IMEI packet received {"connection_id":130664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 21:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":130664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:20:57] local.INFO: TCP Data received {"connection_id":130664,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:20:57] local.INFO: Processing buffer {"connection_id":130664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:20:57] local.INFO: IMEI packet received {"connection_id":130664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 21:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":130664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:20:58] local.INFO: TCP Data received {"connection_id":130664,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2beb50012d196500071ff0e80047006825..."} 
[2026-07-13 21:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2beb50012d196500071ff0e80047006825..."} 
[2026-07-13 21:20:58] local.INFO: Processing buffer {"connection_id":130664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2beb50012d196500071ff0e80047006825..."} 
[2026-07-13 21:20:58] local.INFO: Packet analysis {"connection_id":130664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:20:58] local.INFO: Extracted packet for processing {"connection_id":130664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:20:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693122304001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783957810000,"timestamp_ms":1783957810000,"timestamp_seconds":1783957810,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2beb50"} 
[2026-07-13 21:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 21:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21: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-07-13 21:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693122304001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693122304001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:20:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:20:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693122304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":130664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:20:58] local.INFO: GPS data processed {"connection_id":130664,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:20:58] local.INFO: Acknowledgment sent {"connection_id":130664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:21:11] local.INFO: TCP Data received {"connection_id":130877,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2b6680012d7f914005afd9380018011b22..."} 
[2026-07-13 21:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2b6680012d7f914005afd9380018011b22..."} 
[2026-07-13 21:21:11] local.INFO: Processing buffer {"connection_id":130877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2b6680012d7f914005afd9380018011b22..."} 
[2026-07-13 21:21:11] local.INFO: Packet analysis {"connection_id":130877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:21:11] local.INFO: Extracted packet for processing {"connection_id":130877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:21:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693113600001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783957776000,"timestamp_ms":1783957776000,"timestamp_seconds":1783957776,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2b6680"} 
[2026-07-13 21:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693113600001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693113600001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:21:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:21:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693113600001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":130877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:21:11] local.INFO: GPS data processed {"connection_id":130877,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:21:11] local.INFO: Acknowledgment sent {"connection_id":130877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:21:16] local.INFO: TCP Data received {"connection_id":130878,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c29e3c8012cb425400779b4b0002c009732..."} 
[2026-07-13 21:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c29e3c8012cb425400779b4b0002c009732..."} 
[2026-07-13 21:21:16] local.INFO: Processing buffer {"connection_id":130878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c29e3c8012cb425400779b4b0002c009732..."} 
[2026-07-13 21:21:16] local.INFO: Packet analysis {"connection_id":130878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c29"} 
[2026-07-13 21:21:16] local.INFO: Extracted packet for processing {"connection_id":130878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c29"} 
[2026-07-13 21:21:16] local.INFO: GPS Element Parsed {"raw_longitude":750003520,"raw_latitude":125416624,"longitude_deg":75.000352,"latitude_deg":12.5416624,"altitude":44,"angle":151,"satellites":50,"speed":0,"hex_longitude":"2cb42540","hex_latitude":"0779b4b0","is_valid_coordinates":true} 
[2026-07-13 21:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693159936001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:21:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783957677000,"timestamp_ms":1783957677000,"timestamp_seconds":1783957677,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c29e3c8"} 
[2026-07-13 21:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-13 21:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:21:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693159936001,"66":25647,"224":206,"27":54016,"24":0,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693159936001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:21:16] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:21:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:21:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693159936001,"power":25647,"unknown_224":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":130878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482316,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:21:16] local.INFO: GPS data processed {"connection_id":130878,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:21:16] local.INFO: Acknowledgment sent {"connection_id":130878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:21:29] local.INFO: TCP Data received {"connection_id":130664,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2beb50012d196500071ff0e80047006825..."} 
[2026-07-13 21:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2beb50012d196500071ff0e80047006825..."} 
[2026-07-13 21:21:29] local.INFO: Processing buffer {"connection_id":130664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2beb50012d196500071ff0e80047006825..."} 
[2026-07-13 21:21:29] local.INFO: Packet analysis {"connection_id":130664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:21:29] local.INFO: Extracted packet for processing {"connection_id":130664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:21:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693122304001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783957810000,"timestamp_ms":1783957810000,"timestamp_seconds":1783957810,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2beb50"} 
[2026-07-13 21:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 21:21:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21: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-07-13 21:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:21:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693122304001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693122304001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:21:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:21:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693122304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":130664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:21:29] local.INFO: GPS data processed {"connection_id":130664,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:21:29] local.INFO: Acknowledgment sent {"connection_id":130664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:21:39] local.INFO: TCP Data received {"connection_id":133025,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133025,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:21:39] local.INFO: Processing buffer {"connection_id":133025,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:21:39] local.INFO: IMEI packet received {"connection_id":133025,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":133025,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:21:44] local.INFO: TCP Data received {"connection_id":133025,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133025,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:21:44] local.INFO: Processing buffer {"connection_id":133025,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:21:44] local.INFO: IMEI packet received {"connection_id":133025,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":133025,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:21:46] local.INFO: TCP Data received {"connection_id":133025,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2a35d0012cb425400779b4b0002c009732..."} 
[2026-07-13 21:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2a35d0012cb425400779b4b0002c009732..."} 
[2026-07-13 21:21:46] local.INFO: Processing buffer {"connection_id":133025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2a35d0012cb425400779b4b0002c009732..."} 
[2026-07-13 21:21:46] local.INFO: Packet analysis {"connection_id":133025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2a"} 
[2026-07-13 21:21:46] local.INFO: Extracted packet for processing {"connection_id":133025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2a"} 
[2026-07-13 21:21:46] local.INFO: GPS Element Parsed {"raw_longitude":750003520,"raw_latitude":125416624,"longitude_deg":75.000352,"latitude_deg":12.5416624,"altitude":44,"angle":151,"satellites":50,"speed":0,"hex_longitude":"2cb42540","hex_latitude":"0779b4b0","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693165312001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:21:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783957698000,"timestamp_ms":1783957698000,"timestamp_seconds":1783957698,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2a35d0"} 
[2026-07-13 21:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-13 21:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21: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-07-13 21:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":133025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":133025,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":133025,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693165312001,"66":25647,"224":206,"27":54016,"24":0,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693165312001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:21:46] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:21:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:21:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693165312001,"power":25647,"unknown_224":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":133025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482318,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:21:46] local.INFO: GPS data processed {"connection_id":133025,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:21:46] local.INFO: Acknowledgment sent {"connection_id":133025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:21:52] local.INFO: TCP Data received {"connection_id":130879,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:21:52] local.INFO: Processing buffer {"connection_id":130879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:21:52] local.INFO: IMEI packet received {"connection_id":130879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 21:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":130879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:21:54] local.INFO: TCP Data received {"connection_id":130665,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:21:54] local.INFO: Processing buffer {"connection_id":130665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:21:54] local.INFO: IMEI packet received {"connection_id":130665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":130665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:21:57] local.INFO: TCP Data received {"connection_id":130879,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:21:57] local.INFO: Processing buffer {"connection_id":130879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:21:57] local.INFO: IMEI packet received {"connection_id":130879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 21:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":130879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:21:58] local.INFO: TCP Data received {"connection_id":130879,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2beb50012d196500071ff0e80047006825..."} 
[2026-07-13 21:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2beb50012d196500071ff0e80047006825..."} 
[2026-07-13 21:21:58] local.INFO: Processing buffer {"connection_id":130879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2beb50012d196500071ff0e80047006825..."} 
[2026-07-13 21:21:58] local.INFO: Packet analysis {"connection_id":130879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:21:58] local.INFO: Extracted packet for processing {"connection_id":130879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:21:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693122304001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783957810000,"timestamp_ms":1783957810000,"timestamp_seconds":1783957810,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2beb50"} 
[2026-07-13 21:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 21:21:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21: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-07-13 21:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693122304001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693122304001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:21:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:21:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693122304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":130879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:21:58] local.INFO: GPS data processed {"connection_id":130879,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:21:58] local.INFO: Acknowledgment sent {"connection_id":130879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:21:59] local.INFO: TCP Data received {"connection_id":130665,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:21:59] local.INFO: Processing buffer {"connection_id":130665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:21:59] local.INFO: IMEI packet received {"connection_id":130665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":130665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:22:00] local.INFO: TCP Data received {"connection_id":130665,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2b6680012d7f914005afd9380018011b22..."} 
[2026-07-13 21:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2b6680012d7f914005afd9380018011b22..."} 
[2026-07-13 21:22:00] local.INFO: Processing buffer {"connection_id":130665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2b6680012d7f914005afd9380018011b22..."} 
[2026-07-13 21:22:00] local.INFO: Packet analysis {"connection_id":130665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:22:00] local.INFO: Extracted packet for processing {"connection_id":130665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:22:00] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693113600001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783957776000,"timestamp_ms":1783957776000,"timestamp_seconds":1783957776,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2b6680"} 
[2026-07-13 21:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":130665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":130665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":130665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693113600001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693113600001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:22:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:22:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693113600001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":130665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:22:00] local.INFO: GPS data processed {"connection_id":130665,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:22:00] local.INFO: Acknowledgment sent {"connection_id":130665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:22:06] local.INFO: TCP Data received {"connection_id":130665,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2b6680012d7f914005afd9380018011b22..."} 
[2026-07-13 21:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2b6680012d7f914005afd9380018011b22..."} 
[2026-07-13 21:22:06] local.INFO: Processing buffer {"connection_id":130665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2b6680012d7f914005afd9380018011b22..."} 
[2026-07-13 21:22:06] local.INFO: Packet analysis {"connection_id":130665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:22:06] local.INFO: Extracted packet for processing {"connection_id":130665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:22:06] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693113600001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783957776000,"timestamp_ms":1783957776000,"timestamp_seconds":1783957776,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2b6680"} 
[2026-07-13 21:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":130665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":130665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":130665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693113600001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693113600001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:22:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:22:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693113600001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":130665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:22:06] local.INFO: GPS data processed {"connection_id":130665,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:22:06] local.INFO: Acknowledgment sent {"connection_id":130665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:22:17] local.INFO: TCP Data received {"connection_id":133025,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2a87d8012cb425400779b4b0002c009732..."} 
[2026-07-13 21:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2a87d8012cb425400779b4b0002c009732..."} 
[2026-07-13 21:22:17] local.INFO: Processing buffer {"connection_id":133025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2a87d8012cb425400779b4b0002c009732..."} 
[2026-07-13 21:22:17] local.INFO: Packet analysis {"connection_id":133025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2a"} 
[2026-07-13 21:22:17] local.INFO: Extracted packet for processing {"connection_id":133025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2a"} 
[2026-07-13 21:22:17] local.INFO: GPS Element Parsed {"raw_longitude":750003520,"raw_latitude":125416624,"longitude_deg":75.000352,"latitude_deg":12.5416624,"altitude":44,"angle":151,"satellites":50,"speed":0,"hex_longitude":"2cb42540","hex_latitude":"0779b4b0","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693170688001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:22:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783957719000,"timestamp_ms":1783957719000,"timestamp_seconds":1783957719,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2a87d8"} 
[2026-07-13 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-07-13 21:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-13 21:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":133025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":133025,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":133025,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693170688001,"66":25647,"224":206,"27":54016,"24":0,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693170688001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:22:17] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:22:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:22:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693170688001,"power":25647,"unknown_224":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":133025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482322,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:22:17] local.INFO: GPS data processed {"connection_id":133025,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:22:17] local.INFO: Acknowledgment sent {"connection_id":133025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:22:29] local.INFO: TCP Data received {"connection_id":130879,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2beb50012d196500071ff0e80047006825..."} 
[2026-07-13 21:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2beb50012d196500071ff0e80047006825..."} 
[2026-07-13 21:22:29] local.INFO: Processing buffer {"connection_id":130879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2beb50012d196500071ff0e80047006825..."} 
[2026-07-13 21:22:29] local.INFO: Packet analysis {"connection_id":130879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:22:29] local.INFO: Extracted packet for processing {"connection_id":130879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:22:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693122304001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783957810000,"timestamp_ms":1783957810000,"timestamp_seconds":1783957810,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2beb50"} 
[2026-07-13 21:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 21:22:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693122304001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693122304001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:22:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:22:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693122304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":130879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:22:29] local.INFO: GPS data processed {"connection_id":130879,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:22:29] local.INFO: Acknowledgment sent {"connection_id":130879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:22:44] local.INFO: TCP Data received {"connection_id":131703,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:22:44] local.INFO: Processing buffer {"connection_id":131703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:22:44] local.INFO: IMEI packet received {"connection_id":131703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":131703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:22:44] local.INFO: TCP Data received {"connection_id":131702,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:22:44] local.INFO: Processing buffer {"connection_id":131702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:22:44] local.INFO: IMEI packet received {"connection_id":131702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":131702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:22:47] local.INFO: TCP Data received {"connection_id":131702,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:22:47] local.INFO: Processing buffer {"connection_id":131702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:22:47] local.INFO: IMEI packet received {"connection_id":131702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":131702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:22:49] local.INFO: TCP Data received {"connection_id":131703,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:22:49] local.INFO: Processing buffer {"connection_id":131703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:22:49] local.INFO: IMEI packet received {"connection_id":131703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":131703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:22:49] local.INFO: TCP Data received {"connection_id":131703,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2b6680012d7f914005afd9380018011b22..."} 
[2026-07-13 21:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2b6680012d7f914005afd9380018011b22..."} 
[2026-07-13 21:22:49] local.INFO: Processing buffer {"connection_id":131703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2b6680012d7f914005afd9380018011b22..."} 
[2026-07-13 21:22:49] local.INFO: Packet analysis {"connection_id":131703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:22:49] local.INFO: Extracted packet for processing {"connection_id":131703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:22:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693113600001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783957776000,"timestamp_ms":1783957776000,"timestamp_seconds":1783957776,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2b6680"} 
[2026-07-13 21:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693113600001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693113600001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:22:49] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:22:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693113600001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":131703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:22:49] local.INFO: GPS data processed {"connection_id":131703,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:22:49] local.INFO: Acknowledgment sent {"connection_id":131703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:22:52] local.INFO: TCP Data received {"connection_id":130880,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:22:52] local.INFO: Processing buffer {"connection_id":130880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:22:52] local.INFO: IMEI packet received {"connection_id":130880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 21:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":130880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:22:55] local.INFO: TCP Data received {"connection_id":131702,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2ad9e0012cb425400779b4b0002c009732..."} 
[2026-07-13 21:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2ad9e0012cb425400779b4b0002c009732..."} 
[2026-07-13 21:22:56] local.INFO: Processing buffer {"connection_id":131702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2ad9e0012cb425400779b4b0002c009732..."} 
[2026-07-13 21:22:56] local.INFO: Packet analysis {"connection_id":131702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2a"} 
[2026-07-13 21:22:56] local.INFO: Extracted packet for processing {"connection_id":131702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2a"} 
[2026-07-13 21:22:56] local.INFO: GPS Element Parsed {"raw_longitude":750003520,"raw_latitude":125416624,"longitude_deg":75.000352,"latitude_deg":12.5416624,"altitude":44,"angle":151,"satellites":50,"speed":0,"hex_longitude":"2cb42540","hex_latitude":"0779b4b0","is_valid_coordinates":true} 
[2026-07-13 21:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693176064001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:22:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783957740000,"timestamp_ms":1783957740000,"timestamp_seconds":1783957740,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2ad9e0"} 
[2026-07-13 21:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-13 21:22:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":131702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":131702,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":131702,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693176064001,"66":25321,"224":206,"27":54016,"24":0,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693176064001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:22:56] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:22:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:22:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693176064001,"power":25321,"unknown_224":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":131702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482325,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:22:56] local.INFO: GPS data processed {"connection_id":131702,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:22:56] local.INFO: Acknowledgment sent {"connection_id":131702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:22:57] local.INFO: TCP Data received {"connection_id":130880,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:22:57] local.INFO: Processing buffer {"connection_id":130880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:22:57] local.INFO: IMEI packet received {"connection_id":130880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 21:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":130880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:22:58] local.INFO: TCP Data received {"connection_id":130880,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2beb50012d196500071ff0e80047006825..."} 
[2026-07-13 21:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2beb50012d196500071ff0e80047006825..."} 
[2026-07-13 21:22:58] local.INFO: Processing buffer {"connection_id":130880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2beb50012d196500071ff0e80047006825..."} 
[2026-07-13 21:22:58] local.INFO: Packet analysis {"connection_id":130880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:22:58] local.INFO: Extracted packet for processing {"connection_id":130880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:22:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693122304001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783957810000,"timestamp_ms":1783957810000,"timestamp_seconds":1783957810,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2beb50"} 
[2026-07-13 21:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 21:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693122304001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693122304001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:22:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:22:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693122304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":130880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:22:58] local.INFO: GPS data processed {"connection_id":130880,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:22:58] local.INFO: Acknowledgment sent {"connection_id":130880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:23:03] local.INFO: TCP Data received {"connection_id":131702,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2b2be8012cb425400779b4b0002c009732..."} 
[2026-07-13 21:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2b2be8012cb425400779b4b0002c009732..."} 
[2026-07-13 21:23:03] local.INFO: Processing buffer {"connection_id":131702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2b2be8012cb425400779b4b0002c009732..."} 
[2026-07-13 21:23:03] local.INFO: Packet analysis {"connection_id":131702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:23:03] local.INFO: Extracted packet for processing {"connection_id":131702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:23:03] local.INFO: GPS Element Parsed {"raw_longitude":750003520,"raw_latitude":125416624,"longitude_deg":75.000352,"latitude_deg":12.5416624,"altitude":44,"angle":151,"satellites":50,"speed":0,"hex_longitude":"2cb42540","hex_latitude":"0779b4b0","is_valid_coordinates":true} 
[2026-07-13 21:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693181440001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:23:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783957761000,"timestamp_ms":1783957761000,"timestamp_seconds":1783957761,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2b2be8"} 
[2026-07-13 21:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:23: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-07-13 21:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 21:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":131702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":131702,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":131702,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693181440001,"66":25419,"224":206,"27":54016,"24":0,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693181440001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:23:03] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:23:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:23:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693181440001,"power":25419,"unknown_224":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":131702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482327,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:23:03] local.INFO: GPS data processed {"connection_id":131702,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:23:03] local.INFO: Acknowledgment sent {"connection_id":131702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:23:29] local.INFO: TCP Data received {"connection_id":130880,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2beb50012d196500071ff0e80047006825..."} 
[2026-07-13 21:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2beb50012d196500071ff0e80047006825..."} 
[2026-07-13 21:23:29] local.INFO: Processing buffer {"connection_id":130880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2beb50012d196500071ff0e80047006825..."} 
[2026-07-13 21:23:29] local.INFO: Packet analysis {"connection_id":130880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:23:29] local.INFO: Extracted packet for processing {"connection_id":130880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:23:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693122304001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783957810000,"timestamp_ms":1783957810000,"timestamp_seconds":1783957810,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2beb50"} 
[2026-07-13 21:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 21:23:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21: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-07-13 21:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693122304001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693122304001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:23:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:23:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693122304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":130880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:23:29] local.INFO: GPS data processed {"connection_id":130880,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:23:29] local.INFO: Acknowledgment sent {"connection_id":130880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:23:39] local.INFO: TCP Data received {"connection_id":131704,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:23:39] local.INFO: Processing buffer {"connection_id":131704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:23:39] local.INFO: IMEI packet received {"connection_id":131704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":131704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:23:39] local.INFO: TCP Data received {"connection_id":130881,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130881,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:23:39] local.INFO: Processing buffer {"connection_id":130881,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:23:39] local.INFO: IMEI packet received {"connection_id":130881,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":130881,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:23:44] local.INFO: TCP Data received {"connection_id":131704,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:23:44] local.INFO: Processing buffer {"connection_id":131704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:23:44] local.INFO: IMEI packet received {"connection_id":131704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":131704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:23:44] local.INFO: TCP Data received {"connection_id":130881,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130881,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:23:44] local.INFO: Processing buffer {"connection_id":130881,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:23:44] local.INFO: IMEI packet received {"connection_id":130881,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":130881,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:23:45] local.INFO: TCP Data received {"connection_id":131704,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2b6680012d7f914005afd9380018011b22..."} 
[2026-07-13 21:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2b6680012d7f914005afd9380018011b22..."} 
[2026-07-13 21:23:45] local.INFO: Processing buffer {"connection_id":131704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2b6680012d7f914005afd9380018011b22..."} 
[2026-07-13 21:23:45] local.INFO: Packet analysis {"connection_id":131704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:23:45] local.INFO: Extracted packet for processing {"connection_id":131704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:23:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693113600001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783957776000,"timestamp_ms":1783957776000,"timestamp_seconds":1783957776,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2b6680"} 
[2026-07-13 21:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693113600001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693113600001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:23:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:23:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693113600001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":131704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:23:45] local.INFO: GPS data processed {"connection_id":131704,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:23:45] local.INFO: Acknowledgment sent {"connection_id":131704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:23:45] local.INFO: TCP Data received {"connection_id":130881,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2b7df0012cb425400779b4b0002c009732..."} 
[2026-07-13 21:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2b7df0012cb425400779b4b0002c009732..."} 
[2026-07-13 21:23:45] local.INFO: Processing buffer {"connection_id":130881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2b7df0012cb425400779b4b0002c009732..."} 
[2026-07-13 21:23:45] local.INFO: Packet analysis {"connection_id":130881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:23:45] local.INFO: Extracted packet for processing {"connection_id":130881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:23:45] local.INFO: GPS Element Parsed {"raw_longitude":750003520,"raw_latitude":125416624,"longitude_deg":75.000352,"latitude_deg":12.5416624,"altitude":44,"angle":151,"satellites":50,"speed":0,"hex_longitude":"2cb42540","hex_latitude":"0779b4b0","is_valid_coordinates":true} 
[2026-07-13 21:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693186816001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:23:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783957782000,"timestamp_ms":1783957782000,"timestamp_seconds":1783957782,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2b7df0"} 
[2026-07-13 21:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-13 21:23: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-07-13 21:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130881,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130881,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693186816001,"66":25375,"224":206,"27":54016,"24":0,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693186816001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:23:45] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:23:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:23:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693186816001,"power":25375,"unknown_224":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":130881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482330,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:23:46] local.INFO: GPS data processed {"connection_id":130881,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:23:46] local.INFO: Acknowledgment sent {"connection_id":130881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:23:53] local.INFO: TCP Data received {"connection_id":130666,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:23:53] local.INFO: Processing buffer {"connection_id":130666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:23:53] local.INFO: IMEI packet received {"connection_id":130666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 21:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":130666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:23:57] local.INFO: TCP Data received {"connection_id":130666,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:23:57] local.INFO: Processing buffer {"connection_id":130666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:23:57] local.INFO: IMEI packet received {"connection_id":130666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 21:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":130666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:23:58] local.INFO: TCP Data received {"connection_id":130666,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2beb50012d196500071ff0e80047006825..."} 
[2026-07-13 21:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2beb50012d196500071ff0e80047006825..."} 
[2026-07-13 21:23:58] local.INFO: Processing buffer {"connection_id":130666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2beb50012d196500071ff0e80047006825..."} 
[2026-07-13 21:23:58] local.INFO: Packet analysis {"connection_id":130666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:23:58] local.INFO: Extracted packet for processing {"connection_id":130666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:23:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693122304001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783957810000,"timestamp_ms":1783957810000,"timestamp_seconds":1783957810,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2beb50"} 
[2026-07-13 21:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 21:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":130666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":130666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":130666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693122304001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693122304001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:23:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:23:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693122304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":130666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:23:58] local.INFO: GPS data processed {"connection_id":130666,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:23:58] local.INFO: Acknowledgment sent {"connection_id":130666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:24:17] local.INFO: TCP Data received {"connection_id":131704,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2b6680012d7f914005afd9380018011b22..."} 
[2026-07-13 21:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2b6680012d7f914005afd9380018011b22..."} 
[2026-07-13 21:24:17] local.INFO: Processing buffer {"connection_id":131704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2b6680012d7f914005afd9380018011b22..."} 
[2026-07-13 21:24:17] local.INFO: Packet analysis {"connection_id":131704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:24:17] local.INFO: Extracted packet for processing {"connection_id":131704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:24:17] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693113600001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783957776000,"timestamp_ms":1783957776000,"timestamp_seconds":1783957776,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2b6680"} 
[2026-07-13 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-07-13 21:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:24: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-07-13 21:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693113600001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693113600001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:24:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:24:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693113600001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":131704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:24:17] local.INFO: GPS data processed {"connection_id":131704,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:24:17] local.INFO: Acknowledgment sent {"connection_id":131704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:24:17] local.INFO: TCP Data received {"connection_id":130881,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2bcff8012cb425400779b4b0002c009732..."} 
[2026-07-13 21:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2bcff8012cb425400779b4b0002c009732..."} 
[2026-07-13 21:24:17] local.INFO: Processing buffer {"connection_id":130881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2bcff8012cb425400779b4b0002c009732..."} 
[2026-07-13 21:24:17] local.INFO: Packet analysis {"connection_id":130881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:24:17] local.INFO: Extracted packet for processing {"connection_id":130881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:24:17] local.INFO: GPS Element Parsed {"raw_longitude":750003520,"raw_latitude":125416624,"longitude_deg":75.000352,"latitude_deg":12.5416624,"altitude":44,"angle":151,"satellites":50,"speed":0,"hex_longitude":"2cb42540","hex_latitude":"0779b4b0","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693192192001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:24:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783957803000,"timestamp_ms":1783957803000,"timestamp_seconds":1783957803,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2bcff8"} 
[2026-07-13 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-07-13 21:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-13 21:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130881,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130881,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693192192001,"66":25625,"224":206,"27":54016,"24":0,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693192192001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:24:17] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:24:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:24:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693192192001,"power":25625,"unknown_224":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":130881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482333,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:24:17] local.INFO: GPS data processed {"connection_id":130881,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:24:17] local.INFO: Acknowledgment sent {"connection_id":130881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:24:29] local.INFO: TCP Data received {"connection_id":130666,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2beb50012d196500071ff0e80047006825..."} 
[2026-07-13 21:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2beb50012d196500071ff0e80047006825..."} 
[2026-07-13 21:24:29] local.INFO: Processing buffer {"connection_id":130666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2beb50012d196500071ff0e80047006825..."} 
[2026-07-13 21:24:29] local.INFO: Packet analysis {"connection_id":130666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:24:29] local.INFO: Extracted packet for processing {"connection_id":130666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:24:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693122304001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783957810000,"timestamp_ms":1783957810000,"timestamp_seconds":1783957810,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2beb50"} 
[2026-07-13 21:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 21:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21: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-07-13 21:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":130666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":130666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":130666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693122304001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693122304001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:24:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:24:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693122304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":130666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:24:30] local.INFO: GPS data processed {"connection_id":130666,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:24:30] local.INFO: Acknowledgment sent {"connection_id":130666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:24:33] local.INFO: TCP Data received {"connection_id":130882,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:24:33] local.INFO: Processing buffer {"connection_id":130882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:24:33] local.INFO: IMEI packet received {"connection_id":130882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":130882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:24:39] local.INFO: TCP Data received {"connection_id":133026,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133026,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:24:39] local.INFO: Processing buffer {"connection_id":133026,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:24:39] local.INFO: IMEI packet received {"connection_id":133026,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":133026,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:24:40] local.INFO: TCP Data received {"connection_id":130882,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:24:40] local.INFO: Processing buffer {"connection_id":130882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:24:40] local.INFO: IMEI packet received {"connection_id":130882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":130882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:24:41] local.INFO: TCP Data received {"connection_id":130882,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2b6680012d7f914005afd9380018011b22..."} 
[2026-07-13 21:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2b6680012d7f914005afd9380018011b22..."} 
[2026-07-13 21:24:41] local.INFO: Processing buffer {"connection_id":130882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2b6680012d7f914005afd9380018011b22..."} 
[2026-07-13 21:24:41] local.INFO: Packet analysis {"connection_id":130882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:24:41] local.INFO: Extracted packet for processing {"connection_id":130882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:24:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693113600001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783957776000,"timestamp_ms":1783957776000,"timestamp_seconds":1783957776,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2b6680"} 
[2026-07-13 21:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693113600001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693113600001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:24:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:24:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693113600001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":130882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:24:41] local.INFO: GPS data processed {"connection_id":130882,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:24:41] local.INFO: Acknowledgment sent {"connection_id":130882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:24:44] local.INFO: TCP Data received {"connection_id":133026,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133026,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:24:44] local.INFO: Processing buffer {"connection_id":133026,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:24:44] local.INFO: IMEI packet received {"connection_id":133026,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":133026,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:24:45] local.INFO: TCP Data received {"connection_id":133026,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2c2200012cb425400779b4b0002c009732..."} 
[2026-07-13 21:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2c2200012cb425400779b4b0002c009732..."} 
[2026-07-13 21:24:45] local.INFO: Processing buffer {"connection_id":133026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2c2200012cb425400779b4b0002c009732..."} 
[2026-07-13 21:24:45] local.INFO: Packet analysis {"connection_id":133026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2c"} 
[2026-07-13 21:24:45] local.INFO: Extracted packet for processing {"connection_id":133026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2c"} 
[2026-07-13 21:24:45] local.INFO: GPS Element Parsed {"raw_longitude":750003520,"raw_latitude":125416624,"longitude_deg":75.000352,"latitude_deg":12.5416624,"altitude":44,"angle":151,"satellites":50,"speed":0,"hex_longitude":"2cb42540","hex_latitude":"0779b4b0","is_valid_coordinates":true} 
[2026-07-13 21:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693197568001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:24:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783957824000,"timestamp_ms":1783957824000,"timestamp_seconds":1783957824,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2c2200"} 
[2026-07-13 21:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-13 21:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":133026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":133026,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":133026,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693197568001,"66":25647,"224":206,"27":54016,"24":0,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693197568001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:24:45] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:24:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:24:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693197568001,"power":25647,"unknown_224":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":133026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482336,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:24:46] local.INFO: GPS data processed {"connection_id":133026,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:24:46] local.INFO: Acknowledgment sent {"connection_id":133026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:24:52] local.INFO: TCP Data received {"connection_id":131705,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:24:52] local.INFO: Processing buffer {"connection_id":131705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:24:52] local.INFO: IMEI packet received {"connection_id":131705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 21:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":131705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:24:57] local.INFO: TCP Data received {"connection_id":131705,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:24:57] local.INFO: Processing buffer {"connection_id":131705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:24:57] local.INFO: IMEI packet received {"connection_id":131705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 21:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":131705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:24:58] local.INFO: TCP Data received {"connection_id":131705,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2beb50012d196500071ff0e80047006825..."} 
[2026-07-13 21:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2beb50012d196500071ff0e80047006825..."} 
[2026-07-13 21:24:58] local.INFO: Processing buffer {"connection_id":131705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2beb50012d196500071ff0e80047006825..."} 
[2026-07-13 21:24:58] local.INFO: Packet analysis {"connection_id":131705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:24:58] local.INFO: Extracted packet for processing {"connection_id":131705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:24:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693122304001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783957810000,"timestamp_ms":1783957810000,"timestamp_seconds":1783957810,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2beb50"} 
[2026-07-13 21:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 21:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:24: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-07-13 21:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693122304001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693122304001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:24:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:24:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693122304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":131705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:24:58] local.INFO: GPS data processed {"connection_id":131705,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:24:58] local.INFO: Acknowledgment sent {"connection_id":131705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:25:17] local.INFO: TCP Data received {"connection_id":133026,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2c7408012cb425400779b4b0002c009732..."} 
[2026-07-13 21:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2c7408012cb425400779b4b0002c009732..."} 
[2026-07-13 21:25:17] local.INFO: Processing buffer {"connection_id":133026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2c7408012cb425400779b4b0002c009732..."} 
[2026-07-13 21:25:17] local.INFO: Packet analysis {"connection_id":133026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2c"} 
[2026-07-13 21:25:17] local.INFO: Extracted packet for processing {"connection_id":133026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2c"} 
[2026-07-13 21:25:17] local.INFO: GPS Element Parsed {"raw_longitude":750003520,"raw_latitude":125416624,"longitude_deg":75.000352,"latitude_deg":12.5416624,"altitude":44,"angle":151,"satellites":50,"speed":0,"hex_longitude":"2cb42540","hex_latitude":"0779b4b0","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693202944001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:25:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783957845000,"timestamp_ms":1783957845000,"timestamp_seconds":1783957845,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2c7408"} 
[2026-07-13 21:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":47,"data_length":795,"current_offset":136} 
[2026-07-13 21:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21: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-07-13 21:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":133026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":133026,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":133026,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693202944001,"66":25343,"224":206,"27":54016,"24":0,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693202944001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:25:17] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:25:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:25:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693202944001,"power":25343,"unknown_224":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":133026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482338,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:25:17] local.INFO: GPS data processed {"connection_id":133026,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:25:17] local.INFO: Acknowledgment sent {"connection_id":133026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:25:29] local.INFO: TCP Data received {"connection_id":131705,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2beb50012d196500071ff0e80047006825..."} 
[2026-07-13 21:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2beb50012d196500071ff0e80047006825..."} 
[2026-07-13 21:25:29] local.INFO: Processing buffer {"connection_id":131705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2beb50012d196500071ff0e80047006825..."} 
[2026-07-13 21:25:29] local.INFO: Packet analysis {"connection_id":131705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:25:29] local.INFO: Extracted packet for processing {"connection_id":131705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2b"} 
[2026-07-13 21:25:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693122304001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783957810000,"timestamp_ms":1783957810000,"timestamp_seconds":1783957810,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2beb50"} 
[2026-07-13 21:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-13 21:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:25:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":131705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":131705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":131705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:25: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-07-13 21:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693122304001,"66":2166,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693122304001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:25:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:25:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693122304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":131705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:25:29] local.INFO: GPS data processed {"connection_id":131705,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:25:29] local.INFO: Acknowledgment sent {"connection_id":131705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:25:40] local.INFO: TCP Data received {"connection_id":130884,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130884,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:25:40] local.INFO: Processing buffer {"connection_id":130884,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:25:40] local.INFO: IMEI packet received {"connection_id":130884,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":130884,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:25:44] local.INFO: TCP Data received {"connection_id":130883,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:25:44] local.INFO: Processing buffer {"connection_id":130883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:25:44] local.INFO: IMEI packet received {"connection_id":130883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":130883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:25:44] local.INFO: TCP Data received {"connection_id":130884,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130884,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:25:44] local.INFO: Processing buffer {"connection_id":130884,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:25:44] local.INFO: IMEI packet received {"connection_id":130884,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":130884,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:25:44] local.INFO: TCP Data received {"connection_id":130883,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:25:44] local.INFO: Processing buffer {"connection_id":130883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:25:44] local.INFO: IMEI packet received {"connection_id":130883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":130883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:25:46] local.INFO: TCP Data received {"connection_id":130884,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2cc610012cb425400779b4b0002c009732..."} 
[2026-07-13 21:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2cc610012cb425400779b4b0002c009732..."} 
[2026-07-13 21:25:46] local.INFO: Processing buffer {"connection_id":130884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2cc610012cb425400779b4b0002c009732..."} 
[2026-07-13 21:25:46] local.INFO: Packet analysis {"connection_id":130884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2c"} 
[2026-07-13 21:25:46] local.INFO: Extracted packet for processing {"connection_id":130884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2c"} 
[2026-07-13 21:25:46] local.INFO: GPS Element Parsed {"raw_longitude":750003520,"raw_latitude":125416624,"longitude_deg":75.000352,"latitude_deg":12.5416624,"altitude":44,"angle":151,"satellites":50,"speed":0,"hex_longitude":"2cb42540","hex_latitude":"0779b4b0","is_valid_coordinates":true} 
[2026-07-13 21:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693208320001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:25:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783957866000,"timestamp_ms":1783957866000,"timestamp_seconds":1783957866,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2cc610"} 
[2026-07-13 21:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-13 21:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130884,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130884,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693208320001,"66":25375,"224":206,"27":54016,"24":0,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693208320001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:25:46] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:25:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:25:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693208320001,"power":25375,"unknown_224":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":130884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482340,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:25:46] local.INFO: GPS data processed {"connection_id":130884,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:25:46] local.INFO: Acknowledgment sent {"connection_id":130884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:25:49] local.INFO: TCP Data received {"connection_id":130883,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:25:49] local.INFO: Processing buffer {"connection_id":130883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:25:49] local.INFO: IMEI packet received {"connection_id":130883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":130883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:25:49] local.INFO: TCP Data received {"connection_id":130883,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2ffa60012d7f914005afd9380019011b23..."} 
[2026-07-13 21:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2ffa60012d7f914005afd9380019011b23..."} 
[2026-07-13 21:25:49] local.INFO: Processing buffer {"connection_id":130883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2ffa60012d7f914005afd9380019011b23..."} 
[2026-07-13 21:25:49] local.INFO: Packet analysis {"connection_id":130883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2f"} 
[2026-07-13 21:25:49] local.INFO: Extracted packet for processing {"connection_id":130883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2f"} 
[2026-07-13 21:25:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693190656001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783958076000,"timestamp_ms":1783958076000,"timestamp_seconds":1783958076,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2ffa60"} 
[2026-07-13 21:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:25:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693190656001,"66":25278,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693190656001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:25:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:25:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693190656001,"power":25278,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":130883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:25:49] local.INFO: GPS data processed {"connection_id":130883,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:25:49] local.INFO: Acknowledgment sent {"connection_id":130883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:25:52] local.INFO: TCP Data received {"connection_id":133027,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:25:52] local.INFO: Processing buffer {"connection_id":133027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:25:52] local.INFO: IMEI packet received {"connection_id":133027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 21:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":133027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:25:54] local.INFO: TCP Data received {"connection_id":130883,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2ffa60012d7f914005afd9380019011b23..."} 
[2026-07-13 21:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2ffa60012d7f914005afd9380019011b23..."} 
[2026-07-13 21:25:54] local.INFO: Processing buffer {"connection_id":130883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2ffa60012d7f914005afd9380019011b23..."} 
[2026-07-13 21:25:54] local.INFO: Packet analysis {"connection_id":130883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2f"} 
[2026-07-13 21:25:54] local.INFO: Extracted packet for processing {"connection_id":130883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2f"} 
[2026-07-13 21:25:54] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693190656001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783958076000,"timestamp_ms":1783958076000,"timestamp_seconds":1783958076,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2ffa60"} 
[2026-07-13 21:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693190656001,"66":25278,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693190656001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:25:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:25:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693190656001,"power":25278,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":130883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:25:54] local.INFO: GPS data processed {"connection_id":130883,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:25:54] local.INFO: Acknowledgment sent {"connection_id":130883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:25:57] local.INFO: TCP Data received {"connection_id":133027,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:25:57] local.INFO: Processing buffer {"connection_id":133027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:25:57] local.INFO: IMEI packet received {"connection_id":133027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 21:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":133027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:25:58] local.INFO: TCP Data received {"connection_id":133027,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c308318012d196500071ff0e80047006824..."} 
[2026-07-13 21:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c308318012d196500071ff0e80047006824..."} 
[2026-07-13 21:25:58] local.INFO: Processing buffer {"connection_id":133027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c308318012d196500071ff0e80047006824..."} 
[2026-07-13 21:25:58] local.INFO: Packet analysis {"connection_id":133027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c30"} 
[2026-07-13 21:25:58] local.INFO: Extracted packet for processing {"connection_id":133027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c30"} 
[2026-07-13 21:25:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693199360001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783958111000,"timestamp_ms":1783958111000,"timestamp_seconds":1783958111,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c308318"} 
[2026-07-13 21:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:25:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:25:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":133027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":133027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":133027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693199360001,"66":2144,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693199360001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:25:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:25:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693199360001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":133027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:25:58] local.INFO: GPS data processed {"connection_id":133027,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:25:58] local.INFO: Acknowledgment sent {"connection_id":133027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:26:17] local.INFO: TCP Data received {"connection_id":130884,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2d1818012cb425400779b4b0002c009732..."} 
[2026-07-13 21:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2d1818012cb425400779b4b0002c009732..."} 
[2026-07-13 21:26:17] local.INFO: Processing buffer {"connection_id":130884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2d1818012cb425400779b4b0002c009732..."} 
[2026-07-13 21:26:17] local.INFO: Packet analysis {"connection_id":130884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2d"} 
[2026-07-13 21:26:17] local.INFO: Extracted packet for processing {"connection_id":130884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2d"} 
[2026-07-13 21:26:17] local.INFO: GPS Element Parsed {"raw_longitude":750003520,"raw_latitude":125416624,"longitude_deg":75.000352,"latitude_deg":12.5416624,"altitude":44,"angle":151,"satellites":50,"speed":0,"hex_longitude":"2cb42540","hex_latitude":"0779b4b0","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693213696001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:26:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783957887000,"timestamp_ms":1783957887000,"timestamp_seconds":1783957887,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2d1818"} 
[2026-07-13 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-07-13 21:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-13 21:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130884,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130884,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693213696001,"66":25375,"224":206,"27":54016,"24":0,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693213696001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:26:17] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:26:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:26:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693213696001,"power":25375,"unknown_224":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":130884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482344,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:26:17] local.INFO: GPS data processed {"connection_id":130884,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:26:17] local.INFO: Acknowledgment sent {"connection_id":130884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:26:29] local.INFO: TCP Data received {"connection_id":133027,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c308318012d196500071ff0e80047006824..."} 
[2026-07-13 21:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c308318012d196500071ff0e80047006824..."} 
[2026-07-13 21:26:29] local.INFO: Processing buffer {"connection_id":133027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c308318012d196500071ff0e80047006824..."} 
[2026-07-13 21:26:29] local.INFO: Packet analysis {"connection_id":133027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c30"} 
[2026-07-13 21:26:29] local.INFO: Extracted packet for processing {"connection_id":133027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c30"} 
[2026-07-13 21:26:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693199360001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783958111000,"timestamp_ms":1783958111000,"timestamp_seconds":1783958111,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c308318"} 
[2026-07-13 21:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:26:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21: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-07-13 21:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":133027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":133027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":133027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693199360001,"66":2144,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693199360001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:26:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:26:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693199360001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":133027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:26:29] local.INFO: GPS data processed {"connection_id":133027,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:26:29] local.INFO: Acknowledgment sent {"connection_id":133027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:26:34] local.INFO: TCP Data received {"connection_id":131706,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:26:34] local.INFO: Processing buffer {"connection_id":131706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:26:34] local.INFO: IMEI packet received {"connection_id":131706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":131706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:26:38] local.INFO: TCP Data received {"connection_id":131707,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131707,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:26:38] local.INFO: Processing buffer {"connection_id":131707,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:26:38] local.INFO: IMEI packet received {"connection_id":131707,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":131707,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:26:39] local.INFO: TCP Data received {"connection_id":131706,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:26:39] local.INFO: Processing buffer {"connection_id":131706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:26:39] local.INFO: IMEI packet received {"connection_id":131706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":131706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:26:39] local.INFO: TCP Data received {"connection_id":131707,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131707,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:26:39] local.INFO: Processing buffer {"connection_id":131707,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:26:39] local.INFO: IMEI packet received {"connection_id":131707,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":131707,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:26:39] local.INFO: TCP Data received {"connection_id":131706,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2ffa60012d7f914005afd9380019011b23..."} 
[2026-07-13 21:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2ffa60012d7f914005afd9380019011b23..."} 
[2026-07-13 21:26:39] local.INFO: Processing buffer {"connection_id":131706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2ffa60012d7f914005afd9380019011b23..."} 
[2026-07-13 21:26:39] local.INFO: Packet analysis {"connection_id":131706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2f"} 
[2026-07-13 21:26:39] local.INFO: Extracted packet for processing {"connection_id":131706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2f"} 
[2026-07-13 21:26:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693190656001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783958076000,"timestamp_ms":1783958076000,"timestamp_seconds":1783958076,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2ffa60"} 
[2026-07-13 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-07-13 21:26: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-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693190656001,"66":25278,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693190656001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:26:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:26:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693190656001,"power":25278,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":131706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:26:39] local.INFO: GPS data processed {"connection_id":131706,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:26:39] local.INFO: Acknowledgment sent {"connection_id":131706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:26:44] local.INFO: TCP Data received {"connection_id":131707,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131707,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:26:44] local.INFO: Processing buffer {"connection_id":131707,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:26:44] local.INFO: IMEI packet received {"connection_id":131707,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":131707,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:26:46] local.INFO: TCP Data received {"connection_id":131707,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c309e70012cb425400779b4b0002c009732..."} 
[2026-07-13 21:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c309e70012cb425400779b4b0002c009732..."} 
[2026-07-13 21:26:46] local.INFO: Processing buffer {"connection_id":131707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c309e70012cb425400779b4b0002c009732..."} 
[2026-07-13 21:26:46] local.INFO: Packet analysis {"connection_id":131707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c30"} 
[2026-07-13 21:26:46] local.INFO: Extracted packet for processing {"connection_id":131707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c30"} 
[2026-07-13 21:26:46] local.INFO: GPS Element Parsed {"raw_longitude":750003520,"raw_latitude":125416624,"longitude_deg":75.000352,"latitude_deg":12.5416624,"altitude":44,"angle":151,"satellites":50,"speed":0,"hex_longitude":"2cb42540","hex_latitude":"0779b4b0","is_valid_coordinates":true} 
[2026-07-13 21:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693272832001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:26:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783958118000,"timestamp_ms":1783958118000,"timestamp_seconds":1783958118,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c309e70"} 
[2026-07-13 21:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-13 21:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693272832001,"66":25299,"224":206,"27":54016,"24":0,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693272832001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:26:46] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:26:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:26:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693272832001,"power":25299,"unknown_224":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":131707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482347,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:26:46] local.INFO: GPS data processed {"connection_id":131707,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:26:46] local.INFO: Acknowledgment sent {"connection_id":131707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:26:52] local.INFO: TCP Data received {"connection_id":131708,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:26:52] local.INFO: Processing buffer {"connection_id":131708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:26:52] local.INFO: IMEI packet received {"connection_id":131708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-13 21:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":131708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:26:57] local.INFO: TCP Data received {"connection_id":131708,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:26:57] local.INFO: Processing buffer {"connection_id":131708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-13 21:26:57] local.INFO: IMEI packet received {"connection_id":131708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-13 21:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":131708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:26:58] local.INFO: TCP Data received {"connection_id":131708,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c308318012d196500071ff0e80047006824..."} 
[2026-07-13 21:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c308318012d196500071ff0e80047006824..."} 
[2026-07-13 21:26:58] local.INFO: Processing buffer {"connection_id":131708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c308318012d196500071ff0e80047006824..."} 
[2026-07-13 21:26:58] local.INFO: Packet analysis {"connection_id":131708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c30"} 
[2026-07-13 21:26:58] local.INFO: Extracted packet for processing {"connection_id":131708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c30"} 
[2026-07-13 21:26:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693199360001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783958111000,"timestamp_ms":1783958111000,"timestamp_seconds":1783958111,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c308318"} 
[2026-07-13 21:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:26:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":131708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":131708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":131708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693199360001,"66":2144,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693199360001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:26:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:26:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693199360001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":131708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:26:58] local.INFO: GPS data processed {"connection_id":131708,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:26:58] local.INFO: Acknowledgment sent {"connection_id":131708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:27:11] local.INFO: TCP Data received {"connection_id":131706,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2ffa60012d7f914005afd9380019011b23..."} 
[2026-07-13 21:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2ffa60012d7f914005afd9380019011b23..."} 
[2026-07-13 21:27:11] local.INFO: Processing buffer {"connection_id":131706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2ffa60012d7f914005afd9380019011b23..."} 
[2026-07-13 21:27:11] local.INFO: Packet analysis {"connection_id":131706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2f"} 
[2026-07-13 21:27:11] local.INFO: Extracted packet for processing {"connection_id":131706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2f"} 
[2026-07-13 21:27:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693190656001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783958076000,"timestamp_ms":1783958076000,"timestamp_seconds":1783958076,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2ffa60"} 
[2026-07-13 21:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693190656001,"66":25278,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693190656001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:27:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:27:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693190656001,"power":25278,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":131706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:27:11] local.INFO: GPS data processed {"connection_id":131706,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:27:11] local.INFO: Acknowledgment sent {"connection_id":131706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:27:17] local.INFO: TCP Data received {"connection_id":131707,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c30f078012cb425400779b4b0002c009732..."} 
[2026-07-13 21:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c30f078012cb425400779b4b0002c009732..."} 
[2026-07-13 21:27:17] local.INFO: Processing buffer {"connection_id":131707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c30f078012cb425400779b4b0002c009732..."} 
[2026-07-13 21:27:17] local.INFO: Packet analysis {"connection_id":131707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c30"} 
[2026-07-13 21:27:17] local.INFO: Extracted packet for processing {"connection_id":131707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c30"} 
[2026-07-13 21:27:17] local.INFO: GPS Element Parsed {"raw_longitude":750003520,"raw_latitude":125416624,"longitude_deg":75.000352,"latitude_deg":12.5416624,"altitude":44,"angle":151,"satellites":50,"speed":0,"hex_longitude":"2cb42540","hex_latitude":"0779b4b0","is_valid_coordinates":true} 
[2026-07-13 21:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693278208001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:27:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783958139000,"timestamp_ms":1783958139000,"timestamp_seconds":1783958139,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c30f078"} 
[2026-07-13 21:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 21:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693278208001,"66":28115,"224":206,"27":54016,"24":0,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693278208001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:27:17] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:27:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:27:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693278208001,"power":28115,"unknown_224":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":131707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482350,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:27:17] local.INFO: GPS data processed {"connection_id":131707,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:27:17] local.INFO: Acknowledgment sent {"connection_id":131707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:27:29] local.INFO: TCP Data received {"connection_id":131708,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c308318012d196500071ff0e80047006824..."} 
[2026-07-13 21:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c308318012d196500071ff0e80047006824..."} 
[2026-07-13 21:27:29] local.INFO: Processing buffer {"connection_id":131708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c308318012d196500071ff0e80047006824..."} 
[2026-07-13 21:27:29] local.INFO: Packet analysis {"connection_id":131708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c30"} 
[2026-07-13 21:27:29] local.INFO: Extracted packet for processing {"connection_id":131708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c30"} 
[2026-07-13 21:27:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533800,"longitude_deg":75.6638976,"latitude_deg":11.95338,"altitude":71,"angle":104,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693199360001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":6006404389273600,"note":"Value kept but may cause issues"} 
[2026-07-13 21:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196627456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783958111000,"timestamp_ms":1783958111000,"timestamp_seconds":1783958111,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c308318"} 
[2026-07-13 21:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-13 21:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21: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-07-13 21:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":131708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":131708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":131708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-13 21:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-13 21:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-13 21:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693199360001,"66":2144,"102":206,"83":41984,"24":0,"16":6006404389273600,"45":1829868854196627456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-13 21:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-13 21:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-13 21:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693199360001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:27:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-13 21:27:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-13 21:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":6006404389273600,"km_value":6006404389273.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196627456,"description":"Unknown IO ID 45"} 
[2026-07-13 21:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693199360001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196627456}} 
[2026-07-13 21:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":131708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:27:29] local.INFO: GPS data processed {"connection_id":131708,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:27:29] local.INFO: Acknowledgment sent {"connection_id":131708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:27:33] local.INFO: TCP Data received {"connection_id":133028,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:27:33] local.INFO: Processing buffer {"connection_id":133028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:27:33] local.INFO: IMEI packet received {"connection_id":133028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":133028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:27:39] local.INFO: TCP Data received {"connection_id":133028,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:27:39] local.INFO: Processing buffer {"connection_id":133028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:27:39] local.INFO: IMEI packet received {"connection_id":133028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":133028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:27:39] local.INFO: TCP Data received {"connection_id":130667,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:27:39] local.INFO: Processing buffer {"connection_id":130667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:27:39] local.INFO: IMEI packet received {"connection_id":130667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":130667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:27:39] local.INFO: TCP Data received {"connection_id":133028,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2ffa60012d7f914005afd9380019011b23..."} 
[2026-07-13 21:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2ffa60012d7f914005afd9380019011b23..."} 
[2026-07-13 21:27:39] local.INFO: Processing buffer {"connection_id":133028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2ffa60012d7f914005afd9380019011b23..."} 
[2026-07-13 21:27:39] local.INFO: Packet analysis {"connection_id":133028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2f"} 
[2026-07-13 21:27:39] local.INFO: Extracted packet for processing {"connection_id":133028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2f"} 
[2026-07-13 21:27:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693190656001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783958076000,"timestamp_ms":1783958076000,"timestamp_seconds":1783958076,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2ffa60"} 
[2026-07-13 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-07-13 21:27: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-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693190656001,"66":25278,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693190656001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:27:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:27:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693190656001,"power":25278,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":133028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:27:39] local.INFO: GPS data processed {"connection_id":133028,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:27:39] local.INFO: Acknowledgment sent {"connection_id":133028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:27:45] local.INFO: TCP Data received {"connection_id":130667,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:27:45] local.INFO: Processing buffer {"connection_id":130667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:27:45] local.INFO: IMEI packet received {"connection_id":130667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":130667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:27:46] local.INFO: TCP Data received {"connection_id":130667,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c314280012cb425400779b4b0002c009732..."} 
[2026-07-13 21:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c314280012cb425400779b4b0002c009732..."} 
[2026-07-13 21:27:46] local.INFO: Processing buffer {"connection_id":130667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c314280012cb425400779b4b0002c009732..."} 
[2026-07-13 21:27:46] local.INFO: Packet analysis {"connection_id":130667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c31"} 
[2026-07-13 21:27:46] local.INFO: Extracted packet for processing {"connection_id":130667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c31"} 
[2026-07-13 21:27:46] local.INFO: GPS Element Parsed {"raw_longitude":750003520,"raw_latitude":125416624,"longitude_deg":75.000352,"latitude_deg":12.5416624,"altitude":44,"angle":151,"satellites":50,"speed":0,"hex_longitude":"2cb42540","hex_latitude":"0779b4b0","is_valid_coordinates":true} 
[2026-07-13 21:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693283584001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:27:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783958160000,"timestamp_ms":1783958160000,"timestamp_seconds":1783958160,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c314280"} 
[2026-07-13 21:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 21:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2642,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693283584001,"66":27745,"224":206,"27":54016,"24":0,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693283584001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:27:46] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:27:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:27:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693283584001,"power":27745,"unknown_224":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":130667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482353,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:27:46] local.INFO: GPS data processed {"connection_id":130667,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:27:46] local.INFO: Acknowledgment sent {"connection_id":130667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:28:12] local.INFO: TCP Data received {"connection_id":133028,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2ffa60012d7f914005afd9380019011b23..."} 
[2026-07-13 21:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2ffa60012d7f914005afd9380019011b23..."} 
[2026-07-13 21:28:12] local.INFO: Processing buffer {"connection_id":133028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2ffa60012d7f914005afd9380019011b23..."} 
[2026-07-13 21:28:12] local.INFO: Packet analysis {"connection_id":133028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2f"} 
[2026-07-13 21:28:12] local.INFO: Extracted packet for processing {"connection_id":133028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2f"} 
[2026-07-13 21:28:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693190656001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783958076000,"timestamp_ms":1783958076000,"timestamp_seconds":1783958076,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2ffa60"} 
[2026-07-13 21:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693190656001,"66":25278,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693190656001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:28:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:28:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693190656001,"power":25278,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":133028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:28:12] local.INFO: GPS data processed {"connection_id":133028,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:28:12] local.INFO: Acknowledgment sent {"connection_id":133028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:28:17] local.INFO: TCP Data received {"connection_id":130667,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c319488012cb425400779b4b0002c009732..."} 
[2026-07-13 21:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c319488012cb425400779b4b0002c009732..."} 
[2026-07-13 21:28:17] local.INFO: Processing buffer {"connection_id":130667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c319488012cb425400779b4b0002c009732..."} 
[2026-07-13 21:28:17] local.INFO: Packet analysis {"connection_id":130667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c31"} 
[2026-07-13 21:28:17] local.INFO: Extracted packet for processing {"connection_id":130667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c31"} 
[2026-07-13 21:28:17] local.INFO: GPS Element Parsed {"raw_longitude":750003520,"raw_latitude":125416624,"longitude_deg":75.000352,"latitude_deg":12.5416624,"altitude":44,"angle":151,"satellites":50,"speed":0,"hex_longitude":"2cb42540","hex_latitude":"0779b4b0","is_valid_coordinates":true} 
[2026-07-13 21:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693288960001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:28:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783958181000,"timestamp_ms":1783958181000,"timestamp_seconds":1783958181,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c319488"} 
[2026-07-13 21:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":97,"data_length":795,"current_offset":136} 
[2026-07-13 21:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693288960001,"66":27745,"36":206,"27":54016,"24":0,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-07-13 21:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693288960001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:28:17] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-13 21:28:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:28:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693288960001,"power":27745,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":130667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482355,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:28:17] local.INFO: GPS data processed {"connection_id":130667,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:28:17] local.INFO: Acknowledgment sent {"connection_id":130667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:28:33] local.INFO: TCP Data received {"connection_id":130885,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:28:33] local.INFO: Processing buffer {"connection_id":130885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:28:33] local.INFO: IMEI packet received {"connection_id":130885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":130885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:28:39] local.INFO: TCP Data received {"connection_id":130885,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:28:39] local.INFO: Processing buffer {"connection_id":130885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:28:39] local.INFO: IMEI packet received {"connection_id":130885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":130885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:28:39] local.INFO: TCP Data received {"connection_id":130668,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:28:39] local.INFO: Processing buffer {"connection_id":130668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:28:39] local.INFO: IMEI packet received {"connection_id":130668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":130668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:28:39] local.INFO: TCP Data received {"connection_id":130885,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2ffa60012d7f914005afd9380019011b23..."} 
[2026-07-13 21:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2ffa60012d7f914005afd9380019011b23..."} 
[2026-07-13 21:28:39] local.INFO: Processing buffer {"connection_id":130885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2ffa60012d7f914005afd9380019011b23..."} 
[2026-07-13 21:28:39] local.INFO: Packet analysis {"connection_id":130885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2f"} 
[2026-07-13 21:28:39] local.INFO: Extracted packet for processing {"connection_id":130885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2f"} 
[2026-07-13 21:28:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693190656001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783958076000,"timestamp_ms":1783958076000,"timestamp_seconds":1783958076,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2ffa60"} 
[2026-07-13 21:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:28: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-07-13 21:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693190656001,"66":25278,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693190656001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:28:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:28:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693190656001,"power":25278,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":130885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:28:39] local.INFO: GPS data processed {"connection_id":130885,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:28:39] local.INFO: Acknowledgment sent {"connection_id":130885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:28:44] local.INFO: TCP Data received {"connection_id":130668,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:28:44] local.INFO: Processing buffer {"connection_id":130668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:28:44] local.INFO: IMEI packet received {"connection_id":130668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":130668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:28:45] local.INFO: TCP Data received {"connection_id":130668,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c31e690012cb425400779b4b0002c009732..."} 
[2026-07-13 21:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c31e690012cb425400779b4b0002c009732..."} 
[2026-07-13 21:28:45] local.INFO: Processing buffer {"connection_id":130668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c31e690012cb425400779b4b0002c009732..."} 
[2026-07-13 21:28:45] local.INFO: Packet analysis {"connection_id":130668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c31"} 
[2026-07-13 21:28:45] local.INFO: Extracted packet for processing {"connection_id":130668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c31"} 
[2026-07-13 21:28:45] local.INFO: GPS Element Parsed {"raw_longitude":750003520,"raw_latitude":125416624,"longitude_deg":75.000352,"latitude_deg":12.5416624,"altitude":44,"angle":151,"satellites":50,"speed":0,"hex_longitude":"2cb42540","hex_latitude":"0779b4b0","is_valid_coordinates":true} 
[2026-07-13 21:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693294336001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:28:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783958202000,"timestamp_ms":1783958202000,"timestamp_seconds":1783958202,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c31e690"} 
[2026-07-13 21:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-13 21:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130668,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130668,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693294336001,"66":27876,"36":206,"27":54016,"24":0,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-07-13 21:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693294336001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:28:45] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-13 21:28:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:28:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693294336001,"power":27876,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":130668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482357,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:28:45] local.INFO: GPS data processed {"connection_id":130668,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:28:45] local.INFO: Acknowledgment sent {"connection_id":130668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:29:11] local.INFO: TCP Data received {"connection_id":130885,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2ffa60012d7f914005afd9380019011b23..."} 
[2026-07-13 21:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2ffa60012d7f914005afd9380019011b23..."} 
[2026-07-13 21:29:11] local.INFO: Processing buffer {"connection_id":130885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2ffa60012d7f914005afd9380019011b23..."} 
[2026-07-13 21:29:11] local.INFO: Packet analysis {"connection_id":130885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2f"} 
[2026-07-13 21:29:11] local.INFO: Extracted packet for processing {"connection_id":130885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2f"} 
[2026-07-13 21:29:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693190656001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783958076000,"timestamp_ms":1783958076000,"timestamp_seconds":1783958076,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2ffa60"} 
[2026-07-13 21:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693190656001,"66":25278,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693190656001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:29:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:29:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693190656001,"power":25278,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":130885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:29:11] local.INFO: GPS data processed {"connection_id":130885,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:29:11] local.INFO: Acknowledgment sent {"connection_id":130885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:29:17] local.INFO: TCP Data received {"connection_id":130668,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c321188012cb4468007798938002c00842e..."} 
[2026-07-13 21:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c321188012cb4468007798938002c00842e..."} 
[2026-07-13 21:29:17] local.INFO: Processing buffer {"connection_id":130668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c321188012cb4468007798938002c00842e..."} 
[2026-07-13 21:29:17] local.INFO: Packet analysis {"connection_id":130668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c32"} 
[2026-07-13 21:29:17] local.INFO: Extracted packet for processing {"connection_id":130668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c32"} 
[2026-07-13 21:29:17] local.INFO: GPS Element Parsed {"raw_longitude":750012032,"raw_latitude":125405496,"longitude_deg":75.0012032,"latitude_deg":12.5405496,"altitude":44,"angle":132,"satellites":46,"speed":26,"hex_longitude":"2cb44680","hex_latitude":"07798938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693299712001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:29:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5465892171893395456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783958213000,"timestamp_ms":1783958213000,"timestamp_seconds":1783958213,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c321188"} 
[2026-07-13 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-07-13 21:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-13 21:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130668,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130668,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693299712001,"66":27789,"36":206,"27":54016,"24":26,"16":135462516896563200,"44":-5465892171893395456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-07-13 21:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693299712001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:29:17] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-13 21:29:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:29:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5465892171893395456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693299712001,"power":27789,"unknown_36":206,"unknown_27":54016,"ignition":26,"odometer":null,"unknown_44":-5465892171893395456}} 
[2026-07-13 21:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":130668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482359,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:29:17] local.INFO: GPS data processed {"connection_id":130668,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:29:17] local.INFO: Acknowledgment sent {"connection_id":130668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:29:38] local.INFO: TCP Data received {"connection_id":131709,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:29:38] local.INFO: Processing buffer {"connection_id":131709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:29:38] local.INFO: IMEI packet received {"connection_id":131709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":131709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:29:43] local.INFO: TCP Data received {"connection_id":131709,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:29:43] local.INFO: Processing buffer {"connection_id":131709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:29:43] local.INFO: IMEI packet received {"connection_id":131709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":131709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:29:44] local.INFO: TCP Data received {"connection_id":131709,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2ffa60012d7f914005afd9380019011b23..."} 
[2026-07-13 21:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2ffa60012d7f914005afd9380019011b23..."} 
[2026-07-13 21:29:44] local.INFO: Processing buffer {"connection_id":131709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2ffa60012d7f914005afd9380019011b23..."} 
[2026-07-13 21:29:44] local.INFO: Packet analysis {"connection_id":131709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2f"} 
[2026-07-13 21:29:44] local.INFO: Extracted packet for processing {"connection_id":131709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2f"} 
[2026-07-13 21:29:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693190656001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783958076000,"timestamp_ms":1783958076000,"timestamp_seconds":1783958076,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2ffa60"} 
[2026-07-13 21:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:29:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:29:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":131709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":131709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":131709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693190656001,"66":25278,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693190656001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:29:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:29:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693190656001,"power":25278,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":131709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:29:44] local.INFO: GPS data processed {"connection_id":131709,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:29:44] local.INFO: Acknowledgment sent {"connection_id":131709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:29:44] local.INFO: TCP Data received {"connection_id":133029,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133029,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:29:44] local.INFO: Processing buffer {"connection_id":133029,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:29:44] local.INFO: IMEI packet received {"connection_id":133029,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":133029,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:29:46] local.INFO: TCP Data received {"connection_id":133029,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133029,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:29:46] local.INFO: Processing buffer {"connection_id":133029,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:29:46] local.INFO: IMEI packet received {"connection_id":133029,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":133029,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:29:47] local.INFO: TCP Data received {"connection_id":133029,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c32f8000100000000000000000000000000..."} 
[2026-07-13 21:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c32f8000100000000000000000000000000..."} 
[2026-07-13 21:29:47] local.INFO: Processing buffer {"connection_id":133029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c32f8000100000000000000000000000000..."} 
[2026-07-13 21:29:47] local.INFO: Packet analysis {"connection_id":133029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c32"} 
[2026-07-13 21:29:47] local.INFO: Extracted packet for processing {"connection_id":133029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c32"} 
[2026-07-13 21:29:47] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 21:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693302528001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:29:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5456533128920614912,"note":"Value kept but may cause issues"} 
[2026-07-13 21:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783958272000,"timestamp_ms":1783958272000,"timestamp_seconds":1783958272,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c32f800"} 
[2026-07-13 21:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-13 21:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":133029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":133029,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":133029,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":133029,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 21:29:47] local.INFO: GPS data processed {"connection_id":133029,"processed":0,"errors":0,"total":1} 
[2026-07-13 21:29:47] local.INFO: Acknowledgment sent {"connection_id":133029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:29:49] local.INFO: TCP Data received {"connection_id":133029,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c326b60012cb45ac0077953e0003100a130..."} 
[2026-07-13 21:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c326b60012cb45ac0077953e0003100a130..."} 
[2026-07-13 21:29:49] local.INFO: Processing buffer {"connection_id":133029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c326b60012cb45ac0077953e0003100a130..."} 
[2026-07-13 21:29:49] local.INFO: Packet analysis {"connection_id":133029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c32"} 
[2026-07-13 21:29:49] local.INFO: Extracted packet for processing {"connection_id":133029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c32"} 
[2026-07-13 21:29:49] local.INFO: GPS Element Parsed {"raw_longitude":750017216,"raw_latitude":125391840,"longitude_deg":75.0017216,"latitude_deg":12.539184,"altitude":49,"angle":161,"satellites":48,"speed":26,"hex_longitude":"2cb45ac0","hex_latitude":"077953e0","is_valid_coordinates":true} 
[2026-07-13 21:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:29:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,224,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 21:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783958236000,"timestamp_ms":1783958236000,"timestamp_seconds":1783958236,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c326b60"} 
[2026-07-13 21:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-13 21:29: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-07-13 21:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":133029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":133029,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":133029,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27789,"224":206,"27":54016,"24":26,"16":135462516896563200},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16]} 
[2026-07-13 21:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-13 21:29:49] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:29:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:29:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27789,"unknown_224":206,"unknown_27":54016,"ignition":26,"odometer":null}} 
[2026-07-13 21:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":133029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482361,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:29:49] local.INFO: GPS data processed {"connection_id":133029,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:29:49] local.INFO: Acknowledgment sent {"connection_id":133029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:29:49] local.INFO: TCP Data received {"connection_id":131709,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c2ffa60012d7f914005afd9380019011b23..."} 
[2026-07-13 21:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c2ffa60012d7f914005afd9380019011b23..."} 
[2026-07-13 21:29:49] local.INFO: Processing buffer {"connection_id":131709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c2ffa60012d7f914005afd9380019011b23..."} 
[2026-07-13 21:29:49] local.INFO: Packet analysis {"connection_id":131709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c2f"} 
[2026-07-13 21:29:49] local.INFO: Extracted packet for processing {"connection_id":131709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c2f"} 
[2026-07-13 21:29:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693190656001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783958076000,"timestamp_ms":1783958076000,"timestamp_seconds":1783958076,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c2ffa60"} 
[2026-07-13 21:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:29: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-07-13 21:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693190656001,"66":25278,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693190656001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:29:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:29:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693190656001,"power":25278,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":131709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:29:49] local.INFO: GPS data processed {"connection_id":131709,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:29:49] local.INFO: Acknowledgment sent {"connection_id":131709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:30:21] local.INFO: TCP Data received {"connection_id":133029,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3351d80100000000000000000000000000..."} 
[2026-07-13 21:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3351d80100000000000000000000000000..."} 
[2026-07-13 21:30:21] local.INFO: Processing buffer {"connection_id":133029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3351d80100000000000000000000000000..."} 
[2026-07-13 21:30:21] local.INFO: Packet analysis {"connection_id":133029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c33"} 
[2026-07-13 21:30:21] local.INFO: Extracted packet for processing {"connection_id":133029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c33"} 
[2026-07-13 21:30:21] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693308416001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:30:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5450833260645720064,"note":"Value kept but may cause issues"} 
[2026-07-13 21:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783958295000,"timestamp_ms":1783958295000,"timestamp_seconds":1783958295,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3351d8"} 
[2026-07-13 21:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":141,"data_length":795,"current_offset":136} 
[2026-07-13 21:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21: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-07-13 21:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":133029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":133029,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":133029,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":133029,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 21:30:21] local.INFO: GPS data processed {"connection_id":133029,"processed":0,"errors":0,"total":1} 
[2026-07-13 21:30:21] local.INFO: Acknowledgment sent {"connection_id":133029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:30:33] local.INFO: TCP Data received {"connection_id":133030,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:30:33] local.INFO: Processing buffer {"connection_id":133030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:30:33] local.INFO: IMEI packet received {"connection_id":133030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":133030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:30:38] local.INFO: TCP Data received {"connection_id":133030,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:30:38] local.INFO: Processing buffer {"connection_id":133030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:30:38] local.INFO: IMEI packet received {"connection_id":133030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":133030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:30:39] local.INFO: TCP Data received {"connection_id":133030,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c349228012d7f914005afd9380019011b26..."} 
[2026-07-13 21:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c349228012d7f914005afd9380019011b26..."} 
[2026-07-13 21:30:39] local.INFO: Processing buffer {"connection_id":133030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c349228012d7f914005afd9380019011b26..."} 
[2026-07-13 21:30:39] local.INFO: Packet analysis {"connection_id":133030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c34"} 
[2026-07-13 21:30:39] local.INFO: Extracted packet for processing {"connection_id":133030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c34"} 
[2026-07-13 21:30:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693267456001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783958377000,"timestamp_ms":1783958377000,"timestamp_seconds":1783958377,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c349228"} 
[2026-07-13 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-07-13 21:30: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-07-13 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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-13 21:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693267456001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693267456001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:30:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:30:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693267456001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":133030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:30:39] local.INFO: GPS data processed {"connection_id":133030,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:30:39] local.INFO: Acknowledgment sent {"connection_id":133030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:30:39] local.INFO: TCP Data received {"connection_id":130669,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:30:39] local.INFO: Processing buffer {"connection_id":130669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:30:39] local.INFO: IMEI packet received {"connection_id":130669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":130669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:30:44] local.INFO: TCP Data received {"connection_id":130669,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:30:44] local.INFO: Processing buffer {"connection_id":130669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:30:44] local.INFO: IMEI packet received {"connection_id":130669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":130669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:30:46] local.INFO: TCP Data received {"connection_id":130669,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c32c150012cb47f80077924b00034008330..."} 
[2026-07-13 21:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c32c150012cb47f80077924b00034008330..."} 
[2026-07-13 21:30:46] local.INFO: Processing buffer {"connection_id":130669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c32c150012cb47f80077924b00034008330..."} 
[2026-07-13 21:30:46] local.INFO: Packet analysis {"connection_id":130669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c32"} 
[2026-07-13 21:30:46] local.INFO: Extracted packet for processing {"connection_id":130669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c32"} 
[2026-07-13 21:30:46] local.INFO: GPS Element Parsed {"raw_longitude":750026624,"raw_latitude":125379760,"longitude_deg":75.0026624,"latitude_deg":12.537976,"altitude":52,"angle":131,"satellites":48,"speed":27,"hex_longitude":"2cb47f80","hex_latitude":"077924b0","is_valid_coordinates":true} 
[2026-07-13 21:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:30:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,224,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 21:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783958258000,"timestamp_ms":1783958258000,"timestamp_seconds":1783958258,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c32c150"} 
[2026-07-13 21:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-13 21:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27767,"224":206,"27":54016,"24":27,"16":135462516896563200},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16]} 
[2026-07-13 21:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-13 21:30:46] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:30:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:30:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27767,"unknown_224":206,"unknown_27":54016,"ignition":27,"odometer":null}} 
[2026-07-13 21:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":130669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482364,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:30:46] local.INFO: GPS data processed {"connection_id":130669,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:30:46] local.INFO: Acknowledgment sent {"connection_id":130669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:31:10] local.INFO: TCP Data received {"connection_id":133030,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c349228012d7f914005afd9380019011b26..."} 
[2026-07-13 21:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c349228012d7f914005afd9380019011b26..."} 
[2026-07-13 21:31:10] local.INFO: Processing buffer {"connection_id":133030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c349228012d7f914005afd9380019011b26..."} 
[2026-07-13 21:31:10] local.INFO: Packet analysis {"connection_id":133030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c34"} 
[2026-07-13 21:31:10] local.INFO: Extracted packet for processing {"connection_id":133030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c34"} 
[2026-07-13 21:31:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693267456001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783958377000,"timestamp_ms":1783958377000,"timestamp_seconds":1783958377,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c349228"} 
[2026-07-13 21:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-13 21:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":133030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":133030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":133030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693267456001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693267456001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:31:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693267456001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":133030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:31:10] local.INFO: GPS data processed {"connection_id":133030,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:31:10] local.INFO: Acknowledgment sent {"connection_id":133030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:31:19] local.INFO: TCP Data received {"connection_id":130669,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c33a7c80100000000000000000000000000..."} 
[2026-07-13 21:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c33a7c80100000000000000000000000000..."} 
[2026-07-13 21:31:19] local.INFO: Processing buffer {"connection_id":130669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c33a7c80100000000000000000000000000..."} 
[2026-07-13 21:31:19] local.INFO: Packet analysis {"connection_id":130669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c33"} 
[2026-07-13 21:31:19] local.INFO: Extracted packet for processing {"connection_id":130669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c33"} 
[2026-07-13 21:31:19] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 21:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693314048001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:31:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5440489055254695936,"note":"Value kept but may cause issues"} 
[2026-07-13 21:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783958317000,"timestamp_ms":1783958317000,"timestamp_seconds":1783958317,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c33a7c8"} 
[2026-07-13 21:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-13 21:31: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-07-13 21:31:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":130669,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 21:31:19] local.INFO: GPS data processed {"connection_id":130669,"processed":0,"errors":0,"total":1} 
[2026-07-13 21:31:19] local.INFO: Acknowledgment sent {"connection_id":130669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:31:33] local.INFO: TCP Data received {"connection_id":131710,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:31:33] local.INFO: Processing buffer {"connection_id":131710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:31:33] local.INFO: IMEI packet received {"connection_id":131710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":131710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:31:38] local.INFO: TCP Data received {"connection_id":131710,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:31:38] local.INFO: Processing buffer {"connection_id":131710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:31:38] local.INFO: IMEI packet received {"connection_id":131710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":131710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:31:39] local.INFO: TCP Data received {"connection_id":131711,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131711,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:31:39] local.INFO: Processing buffer {"connection_id":131711,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:31:39] local.INFO: IMEI packet received {"connection_id":131711,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":131711,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:31:39] local.INFO: TCP Data received {"connection_id":131710,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c349228012d7f914005afd9380019011b26..."} 
[2026-07-13 21:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c349228012d7f914005afd9380019011b26..."} 
[2026-07-13 21:31:39] local.INFO: Processing buffer {"connection_id":131710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c349228012d7f914005afd9380019011b26..."} 
[2026-07-13 21:31:39] local.INFO: Packet analysis {"connection_id":131710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c34"} 
[2026-07-13 21:31:39] local.INFO: Extracted packet for processing {"connection_id":131710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c34"} 
[2026-07-13 21:31:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693267456001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783958377000,"timestamp_ms":1783958377000,"timestamp_seconds":1783958377,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c349228"} 
[2026-07-13 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-07-13 21:31: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-07-13 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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-13 21:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693267456001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693267456001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:31:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:31:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693267456001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":131710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:31:39] local.INFO: GPS data processed {"connection_id":131710,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:31:39] local.INFO: Acknowledgment sent {"connection_id":131710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:31:44] local.INFO: TCP Data received {"connection_id":131711,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131711,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:31:44] local.INFO: Processing buffer {"connection_id":131711,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:31:44] local.INFO: IMEI packet received {"connection_id":131711,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":131711,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:31:46] local.INFO: TCP Data received {"connection_id":131711,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c331740012cb4a8000778f3280033008e31..."} 
[2026-07-13 21:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c331740012cb4a8000778f3280033008e31..."} 
[2026-07-13 21:31:46] local.INFO: Processing buffer {"connection_id":131711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c331740012cb4a8000778f3280033008e31..."} 
[2026-07-13 21:31:46] local.INFO: Packet analysis {"connection_id":131711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c33"} 
[2026-07-13 21:31:46] local.INFO: Extracted packet for processing {"connection_id":131711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c33"} 
[2026-07-13 21:31:46] local.INFO: GPS Element Parsed {"raw_longitude":750036992,"raw_latitude":125367080,"longitude_deg":75.0036992,"latitude_deg":12.536708,"altitude":51,"angle":142,"satellites":49,"speed":35,"hex_longitude":"2cb4a800","hex_latitude":"0778f328","is_valid_coordinates":true} 
[2026-07-13 21:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:31:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,224,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 21:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783958280000,"timestamp_ms":1783958280000,"timestamp_seconds":1783958280,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c331740"} 
[2026-07-13 21:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-13 21:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131711,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131711,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27941,"224":206,"27":54016,"24":35,"16":135462516896563200},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16]} 
[2026-07-13 21:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-13 21:31:46] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:31:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:31:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27941,"unknown_224":206,"unknown_27":54016,"ignition":35,"odometer":null}} 
[2026-07-13 21:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":131711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482367,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:31:46] local.INFO: GPS data processed {"connection_id":131711,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:31:46] local.INFO: Acknowledgment sent {"connection_id":131711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:32:10] local.INFO: TCP Data received {"connection_id":131710,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c349228012d7f914005afd9380019011b26..."} 
[2026-07-13 21:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c349228012d7f914005afd9380019011b26..."} 
[2026-07-13 21:32:10] local.INFO: Processing buffer {"connection_id":131710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c349228012d7f914005afd9380019011b26..."} 
[2026-07-13 21:32:10] local.INFO: Packet analysis {"connection_id":131710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c34"} 
[2026-07-13 21:32:10] local.INFO: Extracted packet for processing {"connection_id":131710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c34"} 
[2026-07-13 21:32:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693267456001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783958377000,"timestamp_ms":1783958377000,"timestamp_seconds":1783958377,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c349228"} 
[2026-07-13 21:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-13 21:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693267456001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693267456001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:32:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693267456001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":131710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:32:10] local.INFO: GPS data processed {"connection_id":131710,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:32:10] local.INFO: Acknowledgment sent {"connection_id":131710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:32:18] local.INFO: TCP Data received {"connection_id":131711,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c336178012cb4b8800778b110003200b530..."} 
[2026-07-13 21:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c336178012cb4b8800778b110003200b530..."} 
[2026-07-13 21:32:18] local.INFO: Processing buffer {"connection_id":131711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c336178012cb4b8800778b110003200b530..."} 
[2026-07-13 21:32:18] local.INFO: Packet analysis {"connection_id":131711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c33"} 
[2026-07-13 21:32:18] local.INFO: Extracted packet for processing {"connection_id":131711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c33"} 
[2026-07-13 21:32:18] local.INFO: GPS Element Parsed {"raw_longitude":750041216,"raw_latitude":125350160,"longitude_deg":75.0041216,"latitude_deg":12.535016,"altitude":50,"angle":181,"satellites":48,"speed":39,"hex_longitude":"2cb4b880","hex_latitude":"0778b110","is_valid_coordinates":true} 
[2026-07-13 21:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693319680001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:32:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5429089318701160448,"note":"Value kept but may cause issues"} 
[2026-07-13 21:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783958299000,"timestamp_ms":1783958299000,"timestamp_seconds":1783958299,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c336178"} 
[2026-07-13 21:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 21:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1076,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131711,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131711,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693319680001,"66":27952,"224":206,"27":54016,"24":39,"16":135462516896563200,"44":-5429089318701160448},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693319680001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:32:18] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:32:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:32:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5429089318701160448,"description":"Unknown IO ID 44"} 
[2026-07-13 21:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693319680001,"power":27952,"unknown_224":206,"unknown_27":54016,"ignition":39,"odometer":null,"unknown_44":-5429089318701160448}} 
[2026-07-13 21:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":131711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482369,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:32:18] local.INFO: GPS data processed {"connection_id":131711,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:32:18] local.INFO: Acknowledgment sent {"connection_id":131711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:32:33] local.INFO: TCP Data received {"connection_id":130886,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:32:33] local.INFO: Processing buffer {"connection_id":130886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:32:33] local.INFO: IMEI packet received {"connection_id":130886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":130886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:32:38] local.INFO: TCP Data received {"connection_id":130886,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:32:38] local.INFO: Processing buffer {"connection_id":130886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:32:38] local.INFO: IMEI packet received {"connection_id":130886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":130886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:32:39] local.INFO: TCP Data received {"connection_id":133031,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133031,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:32:39] local.INFO: Processing buffer {"connection_id":133031,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:32:39] local.INFO: IMEI packet received {"connection_id":133031,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":133031,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:32:39] local.INFO: TCP Data received {"connection_id":130886,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c349228012d7f914005afd9380019011b26..."} 
[2026-07-13 21:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c349228012d7f914005afd9380019011b26..."} 
[2026-07-13 21:32:39] local.INFO: Processing buffer {"connection_id":130886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c349228012d7f914005afd9380019011b26..."} 
[2026-07-13 21:32:39] local.INFO: Packet analysis {"connection_id":130886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c34"} 
[2026-07-13 21:32:39] local.INFO: Extracted packet for processing {"connection_id":130886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c34"} 
[2026-07-13 21:32:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693267456001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783958377000,"timestamp_ms":1783958377000,"timestamp_seconds":1783958377,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c349228"} 
[2026-07-13 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-07-13 21:32: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-07-13 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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-13 21:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693267456001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693267456001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:32:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:32:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693267456001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":130886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:32:39] local.INFO: GPS data processed {"connection_id":130886,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:32:39] local.INFO: Acknowledgment sent {"connection_id":130886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:32:44] local.INFO: TCP Data received {"connection_id":133031,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133031,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:32:44] local.INFO: Processing buffer {"connection_id":133031,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:32:44] local.INFO: IMEI packet received {"connection_id":133031,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":133031,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:32:45] local.INFO: TCP Data received {"connection_id":133031,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c33b380012cb4b90007786eb0002d00ac2f..."} 
[2026-07-13 21:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c33b380012cb4b90007786eb0002d00ac2f..."} 
[2026-07-13 21:32:45] local.INFO: Processing buffer {"connection_id":133031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c33b380012cb4b90007786eb0002d00ac2f..."} 
[2026-07-13 21:32:45] local.INFO: Packet analysis {"connection_id":133031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c33"} 
[2026-07-13 21:32:45] local.INFO: Extracted packet for processing {"connection_id":133031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c33"} 
[2026-07-13 21:32:45] local.INFO: GPS Element Parsed {"raw_longitude":750041344,"raw_latitude":125333168,"longitude_deg":75.0041344,"latitude_deg":12.5333168,"altitude":45,"angle":172,"satellites":47,"speed":0,"hex_longitude":"2cb4b900","hex_latitude":"07786eb0","is_valid_coordinates":true} 
[2026-07-13 21:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693324544001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:32:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5424444981589766144,"note":"Value kept but may cause issues"} 
[2026-07-13 21:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783958320000,"timestamp_ms":1783958320000,"timestamp_seconds":1783958320,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c33b380"} 
[2026-07-13 21:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-13 21:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":133031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":133031,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":133031,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693324544001,"66":27571,"224":206,"27":54016,"24":0,"16":135462516896563200,"44":-5424444981589766144},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693324544001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:32:45] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:32:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:32:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5424444981589766144,"description":"Unknown IO ID 44"} 
[2026-07-13 21:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693324544001,"power":27571,"unknown_224":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5424444981589766144}} 
[2026-07-13 21:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":133031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482371,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:32:45] local.INFO: GPS data processed {"connection_id":133031,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:32:45] local.INFO: Acknowledgment sent {"connection_id":133031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:33:10] local.INFO: TCP Data received {"connection_id":130886,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c349228012d7f914005afd9380019011b26..."} 
[2026-07-13 21:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c349228012d7f914005afd9380019011b26..."} 
[2026-07-13 21:33:10] local.INFO: Processing buffer {"connection_id":130886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c349228012d7f914005afd9380019011b26..."} 
[2026-07-13 21:33:10] local.INFO: Packet analysis {"connection_id":130886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c34"} 
[2026-07-13 21:33:10] local.INFO: Extracted packet for processing {"connection_id":130886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c34"} 
[2026-07-13 21:33:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693267456001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783958377000,"timestamp_ms":1783958377000,"timestamp_seconds":1783958377,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c349228"} 
[2026-07-13 21:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-13 21:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693267456001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693267456001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:33:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:33:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693267456001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":130886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:33:10] local.INFO: GPS data processed {"connection_id":130886,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:33:10] local.INFO: Acknowledgment sent {"connection_id":130886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:33:16] local.INFO: TCP Data received {"connection_id":133031,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c36b8f0012cb58dc007773c18002f005f2c..."} 
[2026-07-13 21:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c36b8f0012cb58dc007773c18002f005f2c..."} 
[2026-07-13 21:33:16] local.INFO: Processing buffer {"connection_id":133031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c36b8f0012cb58dc007773c18002f005f2c..."} 
[2026-07-13 21:33:16] local.INFO: Packet analysis {"connection_id":133031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c36"} 
[2026-07-13 21:33:16] local.INFO: Extracted packet for processing {"connection_id":133031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c36"} 
[2026-07-13 21:33:16] local.INFO: GPS Element Parsed {"raw_longitude":750095808,"raw_latitude":125254680,"longitude_deg":75.0095808,"latitude_deg":12.525468,"altitude":47,"angle":95,"satellites":44,"speed":20,"hex_longitude":"2cb58dc0","hex_latitude":"07773c18","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693377536001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:33:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5379620091572434944,"note":"Value kept but may cause issues"} 
[2026-07-13 21:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783958518000,"timestamp_ms":1783958518000,"timestamp_seconds":1783958518,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c36b8f0"} 
[2026-07-13 21:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:33: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-07-13 21: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":239,"data_length":795,"current_offset":136} 
[2026-07-13 21:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21: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-07-13 21:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":133031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":133031,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":133031,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693377536001,"66":27930,"88":206,"27":54016,"24":20,"16":135462516896563200,"44":-5379620091572434944},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,27,24,16,44]} 
[2026-07-13 21:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693377536001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:33:16] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-13 21:33:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:33:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5379620091572434944,"description":"Unknown IO ID 44"} 
[2026-07-13 21:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693377536001,"power":27930,"unknown_88":206,"unknown_27":54016,"ignition":20,"odometer":null,"unknown_44":-5379620091572434944}} 
[2026-07-13 21:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":133031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482373,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:33:16] local.INFO: GPS data processed {"connection_id":133031,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:33:16] local.INFO: Acknowledgment sent {"connection_id":133031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:33:38] local.INFO: TCP Data received {"connection_id":130887,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:33:38] local.INFO: Processing buffer {"connection_id":130887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:33:38] local.INFO: IMEI packet received {"connection_id":130887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":130887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:33:39] local.INFO: TCP Data received {"connection_id":131712,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131712,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:33:39] local.INFO: Processing buffer {"connection_id":131712,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:33:39] local.INFO: IMEI packet received {"connection_id":131712,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":131712,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:33:39] local.INFO: TCP Data received {"connection_id":131712,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131712,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:33:39] local.INFO: Processing buffer {"connection_id":131712,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:33:39] local.INFO: IMEI packet received {"connection_id":131712,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":131712,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:33:44] local.INFO: TCP Data received {"connection_id":130887,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:33:44] local.INFO: Processing buffer {"connection_id":130887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:33:44] local.INFO: IMEI packet received {"connection_id":130887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":130887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:33:44] local.INFO: TCP Data received {"connection_id":131712,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131712,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:33:44] local.INFO: Processing buffer {"connection_id":131712,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:33:44] local.INFO: IMEI packet received {"connection_id":131712,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":131712,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:33:46] local.INFO: TCP Data received {"connection_id":131712,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c370af8012cb58dc007773c18002f005f2c..."} 
[2026-07-13 21:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c370af8012cb58dc007773c18002f005f2c..."} 
[2026-07-13 21:33:46] local.INFO: Processing buffer {"connection_id":131712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c370af8012cb58dc007773c18002f005f2c..."} 
[2026-07-13 21:33:46] local.INFO: Packet analysis {"connection_id":131712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c37"} 
[2026-07-13 21:33:46] local.INFO: Extracted packet for processing {"connection_id":131712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c37"} 
[2026-07-13 21:33:46] local.INFO: GPS Element Parsed {"raw_longitude":750095808,"raw_latitude":125254680,"longitude_deg":75.0095808,"latitude_deg":12.525468,"altitude":47,"angle":95,"satellites":44,"speed":0,"hex_longitude":"2cb58dc0","hex_latitude":"07773c18","is_valid_coordinates":true} 
[2026-07-13 21:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693380608001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:33:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5364420442830661632,"note":"Value kept but may cause issues"} 
[2026-07-13 21:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783958539000,"timestamp_ms":1783958539000,"timestamp_seconds":1783958539,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c370af8"} 
[2026-07-13 21:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:33: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-07-13 21:33: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-07-13 21:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131712,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131712,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693380608001,"66":27691,"88":206,"27":54016,"24":0,"16":135462516896563200,"44":-5364420442830661632},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,27,24,16,44]} 
[2026-07-13 21:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693380608001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:33:46] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-13 21:33:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:33:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5364420442830661632,"description":"Unknown IO ID 44"} 
[2026-07-13 21:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693380608001,"power":27691,"unknown_88":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5364420442830661632}} 
[2026-07-13 21:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":131712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482374,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:33:46] local.INFO: GPS data processed {"connection_id":131712,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:33:46] local.INFO: Acknowledgment sent {"connection_id":131712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:33:47] local.INFO: TCP Data received {"connection_id":130887,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c349228012d7f914005afd9380019011b26..."} 
[2026-07-13 21:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c349228012d7f914005afd9380019011b26..."} 
[2026-07-13 21:33:47] local.INFO: Processing buffer {"connection_id":130887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c349228012d7f914005afd9380019011b26..."} 
[2026-07-13 21:33:47] local.INFO: Packet analysis {"connection_id":130887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c34"} 
[2026-07-13 21:33:47] local.INFO: Extracted packet for processing {"connection_id":130887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c34"} 
[2026-07-13 21:33:47] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693267456001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783958377000,"timestamp_ms":1783958377000,"timestamp_seconds":1783958377,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c349228"} 
[2026-07-13 21:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-13 21:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693267456001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693267456001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:33:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:33:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693267456001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":130887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:33:48] local.INFO: GPS data processed {"connection_id":130887,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:33:48] local.INFO: Acknowledgment sent {"connection_id":130887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:33:49] local.INFO: TCP Data received {"connection_id":130887,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c349228012d7f914005afd9380019011b26..."} 
[2026-07-13 21:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c349228012d7f914005afd9380019011b26..."} 
[2026-07-13 21:33:49] local.INFO: Processing buffer {"connection_id":130887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c349228012d7f914005afd9380019011b26..."} 
[2026-07-13 21:33:49] local.INFO: Packet analysis {"connection_id":130887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c34"} 
[2026-07-13 21:33:49] local.INFO: Extracted packet for processing {"connection_id":130887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c34"} 
[2026-07-13 21:33:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693267456001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783958377000,"timestamp_ms":1783958377000,"timestamp_seconds":1783958377,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c349228"} 
[2026-07-13 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-07-13 21:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-13 21:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21: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-07-13 21:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693267456001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693267456001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:33:49] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:33:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693267456001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":130887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:33:49] local.INFO: GPS data processed {"connection_id":130887,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:33:49] local.INFO: Acknowledgment sent {"connection_id":130887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:34:18] local.INFO: TCP Data received {"connection_id":131712,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3739d8012cb5b9c0077724880030009130..."} 
[2026-07-13 21:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3739d8012cb5b9c0077724880030009130..."} 
[2026-07-13 21:34:18] local.INFO: Processing buffer {"connection_id":131712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3739d8012cb5b9c0077724880030009130..."} 
[2026-07-13 21:34:18] local.INFO: Packet analysis {"connection_id":131712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c37"} 
[2026-07-13 21:34:18] local.INFO: Extracted packet for processing {"connection_id":131712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c37"} 
[2026-07-13 21:34:18] local.INFO: GPS Element Parsed {"raw_longitude":750107072,"raw_latitude":125248648,"longitude_deg":75.0107072,"latitude_deg":12.5248648,"altitude":48,"angle":145,"satellites":48,"speed":21,"hex_longitude":"2cb5b9c0","hex_latitude":"07772488","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693385984001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:34:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5364420442830661632,"note":"Value kept but may cause issues"} 
[2026-07-13 21:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783958551000,"timestamp_ms":1783958551000,"timestamp_seconds":1783958551,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3739d8"} 
[2026-07-13 21:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-13 21:34: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-07-13 21: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-07-13 21:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131712,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131712,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693385984001,"66":27745,"88":206,"27":54016,"24":21,"16":135462516896563200,"44":-5364420442830661632},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,27,24,16,44]} 
[2026-07-13 21:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693385984001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:34:18] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-13 21:34:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:34:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5364420442830661632,"description":"Unknown IO ID 44"} 
[2026-07-13 21:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693385984001,"power":27745,"unknown_88":206,"unknown_27":54016,"ignition":21,"odometer":null,"unknown_44":-5364420442830661632}} 
[2026-07-13 21:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":131712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482377,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:34:18] local.INFO: GPS data processed {"connection_id":131712,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:34:18] local.INFO: Acknowledgment sent {"connection_id":131712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:34:33] local.INFO: TCP Data received {"connection_id":130670,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:34:33] local.INFO: Processing buffer {"connection_id":130670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:34:33] local.INFO: IMEI packet received {"connection_id":130670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":130670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:34:38] local.INFO: TCP Data received {"connection_id":130670,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:34:38] local.INFO: Processing buffer {"connection_id":130670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:34:38] local.INFO: IMEI packet received {"connection_id":130670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":130670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:34:39] local.INFO: TCP Data received {"connection_id":130670,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c349228012d7f914005afd9380019011b26..."} 
[2026-07-13 21:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c349228012d7f914005afd9380019011b26..."} 
[2026-07-13 21:34:39] local.INFO: Processing buffer {"connection_id":130670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c349228012d7f914005afd9380019011b26..."} 
[2026-07-13 21:34:39] local.INFO: Packet analysis {"connection_id":130670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c34"} 
[2026-07-13 21:34:39] local.INFO: Extracted packet for processing {"connection_id":130670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c34"} 
[2026-07-13 21:34:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693267456001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783958377000,"timestamp_ms":1783958377000,"timestamp_seconds":1783958377,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c349228"} 
[2026-07-13 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-07-13 21:34: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-07-13 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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-13 21:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693267456001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693267456001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:34:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:34:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693267456001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":130670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:34:39] local.INFO: GPS data processed {"connection_id":130670,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:34:39] local.INFO: Acknowledgment sent {"connection_id":130670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:34:42] local.INFO: TCP Data received {"connection_id":133032,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133032,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:34:42] local.INFO: Processing buffer {"connection_id":133032,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:34:42] local.INFO: IMEI packet received {"connection_id":133032,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":133032,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:34:44] local.INFO: TCP Data received {"connection_id":133032,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133032,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:34:44] local.INFO: Processing buffer {"connection_id":133032,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:34:44] local.INFO: IMEI packet received {"connection_id":133032,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":133032,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:34:49] local.INFO: TCP Data received {"connection_id":133032,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133032,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:34:49] local.INFO: Processing buffer {"connection_id":133032,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:34:49] local.INFO: IMEI packet received {"connection_id":133032,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":133032,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:34:50] local.INFO: TCP Data received {"connection_id":133032,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3820500100000000000000000000000000..."} 
[2026-07-13 21:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3820500100000000000000000000000000..."} 
[2026-07-13 21:34:50] local.INFO: Processing buffer {"connection_id":133032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3820500100000000000000000000000000..."} 
[2026-07-13 21:34:50] local.INFO: Packet analysis {"connection_id":133032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c38"} 
[2026-07-13 21:34:50] local.INFO: Extracted packet for processing {"connection_id":133032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c38"} 
[2026-07-13 21:34:50] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693389056001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:34:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5352035543856936960,"note":"Value kept but may cause issues"} 
[2026-07-13 21:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783958610000,"timestamp_ms":1783958610000,"timestamp_seconds":1783958610,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c382050"} 
[2026-07-13 21:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:34: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-07-13 21: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-13 21:34: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-07-13 21: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-07-13 21:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":133032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":133032,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":133032,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":133032,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 21:34:50] local.INFO: GPS data processed {"connection_id":133032,"processed":0,"errors":0,"total":1} 
[2026-07-13 21:34:50] local.INFO: Acknowledgment sent {"connection_id":133032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:34:55] local.INFO: TCP Data received {"connection_id":133032,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c37af08012cb5d880077708500034008130..."} 
[2026-07-13 21:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c37af08012cb5d880077708500034008130..."} 
[2026-07-13 21:34:55] local.INFO: Processing buffer {"connection_id":133032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c37af08012cb5d880077708500034008130..."} 
[2026-07-13 21:34:55] local.INFO: Packet analysis {"connection_id":133032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c37"} 
[2026-07-13 21:34:55] local.INFO: Extracted packet for processing {"connection_id":133032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c37"} 
[2026-07-13 21:34:55] local.INFO: GPS Element Parsed {"raw_longitude":750114944,"raw_latitude":125241424,"longitude_deg":75.0114944,"latitude_deg":12.5241424,"altitude":52,"angle":129,"satellites":48,"speed":3,"hex_longitude":"2cb5d880","hex_latitude":"07770850","is_valid_coordinates":true} 
[2026-07-13 21:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:34:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,42,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 21:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783958581000,"timestamp_ms":1783958581000,"timestamp_seconds":1783958581,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c37af08"} 
[2026-07-13 21:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:34:55] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-13 21:34: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-07-13 21:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":133032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":133032,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":133032,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27995,"42":206,"27":54016,"24":3,"16":135462516896563200},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,27,24,16]} 
[2026-07-13 21:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-13 21:34:55] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-13 21:34:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:34:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27995,"unknown_42":206,"unknown_27":54016,"ignition":3,"odometer":null}} 
[2026-07-13 21:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":133032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482379,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:34:55] local.INFO: GPS data processed {"connection_id":133032,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:34:55] local.INFO: Acknowledgment sent {"connection_id":133032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:35:10] local.INFO: TCP Data received {"connection_id":130670,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c349228012d7f914005afd9380019011b26..."} 
[2026-07-13 21:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c349228012d7f914005afd9380019011b26..."} 
[2026-07-13 21:35:10] local.INFO: Processing buffer {"connection_id":130670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c349228012d7f914005afd9380019011b26..."} 
[2026-07-13 21:35:10] local.INFO: Packet analysis {"connection_id":130670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c34"} 
[2026-07-13 21:35:10] local.INFO: Extracted packet for processing {"connection_id":130670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c34"} 
[2026-07-13 21:35:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693267456001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783958377000,"timestamp_ms":1783958377000,"timestamp_seconds":1783958377,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c349228"} 
[2026-07-13 21:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-13 21:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693267456001,"66":25191,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693267456001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:35:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693267456001,"power":25191,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":130670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:35:10] local.INFO: GPS data processed {"connection_id":130670,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:35:10] local.INFO: Acknowledgment sent {"connection_id":130670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:35:33] local.INFO: TCP Data received {"connection_id":133033,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:35:33] local.INFO: Processing buffer {"connection_id":133033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:35:33] local.INFO: IMEI packet received {"connection_id":133033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":133033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:35:35] local.INFO: TCP Data received {"connection_id":130671,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130671,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:35:35] local.INFO: Processing buffer {"connection_id":130671,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:35:35] local.INFO: IMEI packet received {"connection_id":130671,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":130671,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:35:38] local.INFO: TCP Data received {"connection_id":133033,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:35:38] local.INFO: Processing buffer {"connection_id":133033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:35:38] local.INFO: IMEI packet received {"connection_id":133033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":133033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:35:39] local.INFO: TCP Data received {"connection_id":130671,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130671,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:35:39] local.INFO: Processing buffer {"connection_id":130671,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:35:39] local.INFO: IMEI packet received {"connection_id":130671,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":130671,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:35:39] local.INFO: TCP Data received {"connection_id":133033,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:35:39] local.INFO: Processing buffer {"connection_id":133033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:35:39] local.INFO: Packet analysis {"connection_id":133033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c39"} 
[2026-07-13 21:35:39] local.INFO: Extracted packet for processing {"connection_id":133033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c39"} 
[2026-07-13 21:35:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":23,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693344512001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783958678000,"timestamp_ms":1783958678000,"timestamp_seconds":1783958678,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3929f0"} 
[2026-07-13 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-07-13 21:35: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-07-13 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 21:35: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-07-13 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-07-13 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-07-13 21:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693344512001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693344512001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:35:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:35:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693344512001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":133033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:35:39] local.INFO: GPS data processed {"connection_id":133033,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:35:39] local.INFO: Acknowledgment sent {"connection_id":133033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:35:44] local.INFO: TCP Data received {"connection_id":130671,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130671,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:35:44] local.INFO: Processing buffer {"connection_id":130671,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:35:44] local.INFO: IMEI packet received {"connection_id":130671,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":130671,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:35:45] local.INFO: TCP Data received {"connection_id":130671,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c380110012cb5d880077708500034008130..."} 
[2026-07-13 21:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c380110012cb5d880077708500034008130..."} 
[2026-07-13 21:35:45] local.INFO: Processing buffer {"connection_id":130671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c380110012cb5d880077708500034008130..."} 
[2026-07-13 21:35:45] local.INFO: Packet analysis {"connection_id":130671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c38"} 
[2026-07-13 21:35:45] local.INFO: Extracted packet for processing {"connection_id":130671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c38"} 
[2026-07-13 21:35:45] local.INFO: GPS Element Parsed {"raw_longitude":750114944,"raw_latitude":125241424,"longitude_deg":75.0114944,"latitude_deg":12.5241424,"altitude":52,"angle":129,"satellites":48,"speed":0,"hex_longitude":"2cb5d880","hex_latitude":"07770850","is_valid_coordinates":true} 
[2026-07-13 21:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693396736001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:35:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5343380188324933632,"note":"Value kept but may cause issues"} 
[2026-07-13 21:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783958602000,"timestamp_ms":1783958602000,"timestamp_seconds":1783958602,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c380110"} 
[2026-07-13 21:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-13 21:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:35:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693396736001,"66":27952,"42":206,"27":54016,"24":0,"16":135462516896563200,"44":-5343380188324933632},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,27,24,16,44]} 
[2026-07-13 21:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693396736001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:35:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-13 21:35:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:35:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5343380188324933632,"description":"Unknown IO ID 44"} 
[2026-07-13 21:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693396736001,"power":27952,"unknown_42":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5343380188324933632}} 
[2026-07-13 21:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":130671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482382,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:35:46] local.INFO: GPS data processed {"connection_id":130671,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:35:46] local.INFO: Acknowledgment sent {"connection_id":130671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:35:50] local.INFO: TCP Data received {"connection_id":130671,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c385318012cb5d880077708500034008130..."} 
[2026-07-13 21:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c385318012cb5d880077708500034008130..."} 
[2026-07-13 21:35:50] local.INFO: Processing buffer {"connection_id":130671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c385318012cb5d880077708500034008130..."} 
[2026-07-13 21:35:50] local.INFO: Packet analysis {"connection_id":130671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c38"} 
[2026-07-13 21:35:50] local.INFO: Extracted packet for processing {"connection_id":130671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c38"} 
[2026-07-13 21:35:50] local.INFO: GPS Element Parsed {"raw_longitude":750114944,"raw_latitude":125241424,"longitude_deg":75.0114944,"latitude_deg":12.5241424,"altitude":52,"angle":129,"satellites":48,"speed":0,"hex_longitude":"2cb5d880","hex_latitude":"07770850","is_valid_coordinates":true} 
[2026-07-13 21:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693402112001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:35:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5343380188324933632,"note":"Value kept but may cause issues"} 
[2026-07-13 21:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783958623000,"timestamp_ms":1783958623000,"timestamp_seconds":1783958623,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c385318"} 
[2026-07-13 21:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":48,"data_length":795,"current_offset":136} 
[2026-07-13 21:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21: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-07-13 21:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693402112001,"66":27626,"42":206,"27":54016,"24":0,"16":135462516896563200,"44":-5343380188324933632},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,27,24,16,44]} 
[2026-07-13 21:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693402112001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:35:50] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-13 21:35:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:35:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5343380188324933632,"description":"Unknown IO ID 44"} 
[2026-07-13 21:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693402112001,"power":27626,"unknown_42":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5343380188324933632}} 
[2026-07-13 21:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":130671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482383,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:35:50] local.INFO: GPS data processed {"connection_id":130671,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:35:50] local.INFO: Acknowledgment sent {"connection_id":130671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:36:11] local.INFO: TCP Data received {"connection_id":133033,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:36:11] local.INFO: Processing buffer {"connection_id":133033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:36:11] local.INFO: Packet analysis {"connection_id":133033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c39"} 
[2026-07-13 21:36:11] local.INFO: Extracted packet for processing {"connection_id":133033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c39"} 
[2026-07-13 21:36:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":23,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693344512001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783958678000,"timestamp_ms":1783958678000,"timestamp_seconds":1783958678,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3929f0"} 
[2026-07-13 21:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 21:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693344512001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693344512001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:36:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:36:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693344512001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":133033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:36:11] local.INFO: GPS data processed {"connection_id":133033,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:36:11] local.INFO: Acknowledgment sent {"connection_id":133033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:36:21] local.INFO: TCP Data received {"connection_id":130671,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c38a520012cb600000776e608003500882e..."} 
[2026-07-13 21:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c38a520012cb600000776e608003500882e..."} 
[2026-07-13 21:36:21] local.INFO: Processing buffer {"connection_id":130671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c38a520012cb600000776e608003500882e..."} 
[2026-07-13 21:36:21] local.INFO: Packet analysis {"connection_id":130671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c38"} 
[2026-07-13 21:36:21] local.INFO: Extracted packet for processing {"connection_id":130671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c38"} 
[2026-07-13 21:36:21] local.INFO: GPS Element Parsed {"raw_longitude":750125056,"raw_latitude":125232648,"longitude_deg":75.0125056,"latitude_deg":12.5232648,"altitude":53,"angle":136,"satellites":46,"speed":0,"hex_longitude":"2cb60000","hex_latitude":"0776e608","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693407488001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:36:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5343380188324933632,"note":"Value kept but may cause issues"} 
[2026-07-13 21:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783958644000,"timestamp_ms":1783958644000,"timestamp_seconds":1783958644,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c38a520"} 
[2026-07-13 21:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-13 21:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21: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-07-13 21:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":130671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":130671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":130671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693407488001,"66":27821,"88":206,"27":54016,"24":0,"16":135462516896563200,"44":-5343380188324933632},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,27,24,16,44]} 
[2026-07-13 21:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693407488001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:36:21] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-13 21:36:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:36:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5343380188324933632,"description":"Unknown IO ID 44"} 
[2026-07-13 21:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693407488001,"power":27821,"unknown_88":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5343380188324933632}} 
[2026-07-13 21:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":130671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482385,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:36:22] local.INFO: GPS data processed {"connection_id":130671,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:36:22] local.INFO: Acknowledgment sent {"connection_id":130671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:36:34] local.INFO: TCP Data received {"connection_id":131713,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:36:34] local.INFO: Processing buffer {"connection_id":131713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:36:34] local.INFO: IMEI packet received {"connection_id":131713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":131713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:36:36] local.INFO: TCP Data received {"connection_id":131714,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:36:36] local.INFO: Processing buffer {"connection_id":131714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:36:36] local.INFO: IMEI packet received {"connection_id":131714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":131714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:36:39] local.INFO: TCP Data received {"connection_id":131713,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:36:39] local.INFO: Processing buffer {"connection_id":131713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:36:39] local.INFO: IMEI packet received {"connection_id":131713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":131713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:36:39] local.INFO: TCP Data received {"connection_id":131714,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:36:39] local.INFO: Processing buffer {"connection_id":131714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:36:39] local.INFO: IMEI packet received {"connection_id":131714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":131714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:36:39] local.INFO: TCP Data received {"connection_id":131713,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:36:39] local.INFO: Processing buffer {"connection_id":131713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:36:39] local.INFO: Packet analysis {"connection_id":131713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c39"} 
[2026-07-13 21:36:39] local.INFO: Extracted packet for processing {"connection_id":131713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c39"} 
[2026-07-13 21:36:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":23,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693344512001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783958678000,"timestamp_ms":1783958678000,"timestamp_seconds":1783958678,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3929f0"} 
[2026-07-13 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-07-13 21:36: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-07-13 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 21:36: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-07-13 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-07-13 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-07-13 21:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693344512001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693344512001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:36:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:36:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693344512001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":131713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:36:39] local.INFO: GPS data processed {"connection_id":131713,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:36:39] local.INFO: Acknowledgment sent {"connection_id":131713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:36:44] local.INFO: TCP Data received {"connection_id":131714,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:36:44] local.INFO: Processing buffer {"connection_id":131714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:36:44] local.INFO: IMEI packet received {"connection_id":131714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":131714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:36:45] local.INFO: TCP Data received {"connection_id":131714,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c38f728012cb600000776e608003500882e..."} 
[2026-07-13 21:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c38f728012cb600000776e608003500882e..."} 
[2026-07-13 21:36:45] local.INFO: Processing buffer {"connection_id":131714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c38f728012cb600000776e608003500882e..."} 
[2026-07-13 21:36:45] local.INFO: Packet analysis {"connection_id":131714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c38"} 
[2026-07-13 21:36:45] local.INFO: Extracted packet for processing {"connection_id":131714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c38"} 
[2026-07-13 21:36:45] local.INFO: GPS Element Parsed {"raw_longitude":750125056,"raw_latitude":125232648,"longitude_deg":75.0125056,"latitude_deg":12.5232648,"altitude":53,"angle":136,"satellites":46,"speed":0,"hex_longitude":"2cb60000","hex_latitude":"0776e608","is_valid_coordinates":true} 
[2026-07-13 21:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693412864001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:36:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5332261926747109376,"note":"Value kept but may cause issues"} 
[2026-07-13 21:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783958665000,"timestamp_ms":1783958665000,"timestamp_seconds":1783958665,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c38f728"} 
[2026-07-13 21:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:36: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":173,"data_length":795,"current_offset":136} 
[2026-07-13 21:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693412864001,"66":27517,"88":206,"27":54016,"24":0,"16":135462516896563200,"44":-5332261926747109376},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,27,24,16,44]} 
[2026-07-13 21:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693412864001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:36:45] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-13 21:36:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:36:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5332261926747109376,"description":"Unknown IO ID 44"} 
[2026-07-13 21:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693412864001,"power":27517,"unknown_88":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5332261926747109376}} 
[2026-07-13 21:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":131714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482387,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:36:45] local.INFO: GPS data processed {"connection_id":131714,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:36:45] local.INFO: Acknowledgment sent {"connection_id":131714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:37:11] local.INFO: TCP Data received {"connection_id":131713,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:37:11] local.INFO: Processing buffer {"connection_id":131713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:37:11] local.INFO: Packet analysis {"connection_id":131713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c39"} 
[2026-07-13 21:37:11] local.INFO: Extracted packet for processing {"connection_id":131713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c39"} 
[2026-07-13 21:37:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":23,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693344512001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783958678000,"timestamp_ms":1783958678000,"timestamp_seconds":1783958678,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3929f0"} 
[2026-07-13 21:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 21:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693344512001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693344512001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:37:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:37:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693344512001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":131713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:37:11] local.INFO: GPS data processed {"connection_id":131713,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:37:11] local.INFO: Acknowledgment sent {"connection_id":131713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:37:17] local.INFO: TCP Data received {"connection_id":131714,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c392220012cb613c00776c980003500c02f..."} 
[2026-07-13 21:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c392220012cb613c00776c980003500c02f..."} 
[2026-07-13 21:37:17] local.INFO: Processing buffer {"connection_id":131714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c392220012cb613c00776c980003500c02f..."} 
[2026-07-13 21:37:17] local.INFO: Packet analysis {"connection_id":131714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c39"} 
[2026-07-13 21:37:17] local.INFO: Extracted packet for processing {"connection_id":131714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c39"} 
[2026-07-13 21:37:17] local.INFO: GPS Element Parsed {"raw_longitude":750130112,"raw_latitude":125225344,"longitude_deg":75.0130112,"latitude_deg":12.5225344,"altitude":53,"angle":192,"satellites":47,"speed":0,"hex_longitude":"2cb613c0","hex_latitude":"0776c980","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693418240001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:37:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5332261926747109376,"note":"Value kept but may cause issues"} 
[2026-07-13 21:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783958676000,"timestamp_ms":1783958676000,"timestamp_seconds":1783958676,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c392220"} 
[2026-07-13 21:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-13 21:37: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-07-13 21:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693418240001,"66":28006,"88":206,"27":54016,"24":0,"16":135462516896563200,"44":-5332261926747109376},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,27,24,16,44]} 
[2026-07-13 21:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693418240001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:37:17] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-13 21:37:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:37:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5332261926747109376,"description":"Unknown IO ID 44"} 
[2026-07-13 21:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693418240001,"power":28006,"unknown_88":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5332261926747109376}} 
[2026-07-13 21:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":131714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482389,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:37:17] local.INFO: GPS data processed {"connection_id":131714,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:37:17] local.INFO: Acknowledgment sent {"connection_id":131714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:37:33] local.INFO: TCP Data received {"connection_id":133034,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:37:33] local.INFO: Processing buffer {"connection_id":133034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:37:33] local.INFO: IMEI packet received {"connection_id":133034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":133034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:37:39] local.INFO: TCP Data received {"connection_id":130888,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130888,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:37:39] local.INFO: Processing buffer {"connection_id":130888,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:37:39] local.INFO: IMEI packet received {"connection_id":130888,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":130888,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:37:43] local.INFO: TCP Data received {"connection_id":133034,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:37:43] local.INFO: Processing buffer {"connection_id":133034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:37:43] local.INFO: IMEI packet received {"connection_id":133034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":133034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:37:44] local.INFO: TCP Data received {"connection_id":130888,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130888,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:37:44] local.INFO: Processing buffer {"connection_id":130888,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:37:44] local.INFO: IMEI packet received {"connection_id":130888,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":130888,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:37:45] local.INFO: TCP Data received {"connection_id":133034,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:37:45] local.INFO: Processing buffer {"connection_id":133034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:37:45] local.INFO: Packet analysis {"connection_id":133034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c39"} 
[2026-07-13 21:37:45] local.INFO: Extracted packet for processing {"connection_id":133034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c39"} 
[2026-07-13 21:37:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":23,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693344512001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783958678000,"timestamp_ms":1783958678000,"timestamp_seconds":1783958678,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3929f0"} 
[2026-07-13 21:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 21:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:37:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":133034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":133034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":133034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693344512001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693344512001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:37:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:37:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693344512001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":133034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:37:45] local.INFO: GPS data processed {"connection_id":133034,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:37:45] local.INFO: Acknowledgment sent {"connection_id":133034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:37:46] local.INFO: TCP Data received {"connection_id":130888,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c397428012cb613c00776c980003500c02f..."} 
[2026-07-13 21:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c397428012cb613c00776c980003500c02f..."} 
[2026-07-13 21:37:46] local.INFO: Processing buffer {"connection_id":130888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c397428012cb613c00776c980003500c02f..."} 
[2026-07-13 21:37:46] local.INFO: Packet analysis {"connection_id":130888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c39"} 
[2026-07-13 21:37:46] local.INFO: Extracted packet for processing {"connection_id":130888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c39"} 
[2026-07-13 21:37:46] local.INFO: GPS Element Parsed {"raw_longitude":750130112,"raw_latitude":125225344,"longitude_deg":75.0130112,"latitude_deg":12.5225344,"altitude":53,"angle":192,"satellites":47,"speed":0,"hex_longitude":"2cb613c0","hex_latitude":"0776c980","is_valid_coordinates":true} 
[2026-07-13 21:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693421056001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:37:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5326702795958943744,"note":"Value kept but may cause issues"} 
[2026-07-13 21:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783958697000,"timestamp_ms":1783958697000,"timestamp_seconds":1783958697,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c397428"} 
[2026-07-13 21:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-13 21:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130888,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130888,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693421056001,"66":27876,"88":206,"27":54016,"24":0,"16":135462516896563200,"44":-5326702795958943744},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,27,24,16,44]} 
[2026-07-13 21:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693421056001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:37:46] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-13 21:37:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:37:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5326702795958943744,"description":"Unknown IO ID 44"} 
[2026-07-13 21:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693421056001,"power":27876,"unknown_88":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5326702795958943744}} 
[2026-07-13 21:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":130888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482391,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:37:46] local.INFO: GPS data processed {"connection_id":130888,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:37:46] local.INFO: Acknowledgment sent {"connection_id":130888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:37:46] local.INFO: TCP Data received {"connection_id":133034,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:37:46] local.INFO: Processing buffer {"connection_id":133034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:37:46] local.INFO: Packet analysis {"connection_id":133034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c39"} 
[2026-07-13 21:37:46] local.INFO: Extracted packet for processing {"connection_id":133034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c39"} 
[2026-07-13 21:37:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":23,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693344512001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783958678000,"timestamp_ms":1783958678000,"timestamp_seconds":1783958678,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3929f0"} 
[2026-07-13 21:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 21:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":133034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":133034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":133034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693344512001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693344512001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:37:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:37:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693344512001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":133034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:37:46] local.INFO: GPS data processed {"connection_id":133034,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:37:46] local.INFO: Acknowledgment sent {"connection_id":133034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:38:17] local.INFO: TCP Data received {"connection_id":130888,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c39c630012cb613c00776c980003500c02f..."} 
[2026-07-13 21:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c39c630012cb613c00776c980003500c02f..."} 
[2026-07-13 21:38:17] local.INFO: Processing buffer {"connection_id":130888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c39c630012cb613c00776c980003500c02f..."} 
[2026-07-13 21:38:17] local.INFO: Packet analysis {"connection_id":130888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c39"} 
[2026-07-13 21:38:17] local.INFO: Extracted packet for processing {"connection_id":130888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c39"} 
[2026-07-13 21:38:17] local.INFO: GPS Element Parsed {"raw_longitude":750130112,"raw_latitude":125225344,"longitude_deg":75.0130112,"latitude_deg":12.5225344,"altitude":53,"angle":192,"satellites":47,"speed":0,"hex_longitude":"2cb613c0","hex_latitude":"0776c980","is_valid_coordinates":true} 
[2026-07-13 21:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693426432001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:38:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5326702795958943744,"note":"Value kept but may cause issues"} 
[2026-07-13 21:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783958718000,"timestamp_ms":1783958718000,"timestamp_seconds":1783958718,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c39c630"} 
[2026-07-13 21:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-13 21:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130888,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130888,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693426432001,"66":27745,"88":206,"27":54016,"24":0,"16":135462516896563200,"44":-5326702795958943744},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,27,24,16,44]} 
[2026-07-13 21:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693426432001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:38:17] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-13 21:38:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:38:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5326702795958943744,"description":"Unknown IO ID 44"} 
[2026-07-13 21:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693426432001,"power":27745,"unknown_88":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5326702795958943744}} 
[2026-07-13 21:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":130888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482393,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:38:17] local.INFO: GPS data processed {"connection_id":130888,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:38:17] local.INFO: Acknowledgment sent {"connection_id":130888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:38:18] local.INFO: TCP Data received {"connection_id":133034,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:38:18] local.INFO: Processing buffer {"connection_id":133034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:38:18] local.INFO: Packet analysis {"connection_id":133034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c39"} 
[2026-07-13 21:38:18] local.INFO: Extracted packet for processing {"connection_id":133034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c39"} 
[2026-07-13 21:38:18] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":23,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693344512001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783958678000,"timestamp_ms":1783958678000,"timestamp_seconds":1783958678,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3929f0"} 
[2026-07-13 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-07-13 21:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 21:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":133034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":133034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":133034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:38: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-07-13 21:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693344512001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693344512001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:38:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:38:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693344512001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":133034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:38:18] local.INFO: GPS data processed {"connection_id":133034,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:38:18] local.INFO: Acknowledgment sent {"connection_id":133034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:38:33] local.INFO: TCP Data received {"connection_id":133035,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:38:33] local.INFO: Processing buffer {"connection_id":133035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:38:33] local.INFO: IMEI packet received {"connection_id":133035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":133035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:38:39] local.INFO: TCP Data received {"connection_id":133035,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:38:39] local.INFO: Processing buffer {"connection_id":133035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:38:39] local.INFO: IMEI packet received {"connection_id":133035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":133035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:38:39] local.INFO: TCP Data received {"connection_id":131715,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:38:39] local.INFO: Processing buffer {"connection_id":131715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:38:39] local.INFO: IMEI packet received {"connection_id":131715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":131715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:38:39] local.INFO: TCP Data received {"connection_id":133035,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:38:39] local.INFO: Processing buffer {"connection_id":133035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:38:39] local.INFO: Packet analysis {"connection_id":133035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c39"} 
[2026-07-13 21:38:39] local.INFO: Extracted packet for processing {"connection_id":133035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c39"} 
[2026-07-13 21:38:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":23,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693344512001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783958678000,"timestamp_ms":1783958678000,"timestamp_seconds":1783958678,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3929f0"} 
[2026-07-13 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-07-13 21:38: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-07-13 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 21:38: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-07-13 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-07-13 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-07-13 21:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693344512001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693344512001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:38:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:38:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693344512001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":133035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:38:39] local.INFO: GPS data processed {"connection_id":133035,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:38:39] local.INFO: Acknowledgment sent {"connection_id":133035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:38:44] local.INFO: TCP Data received {"connection_id":131715,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:38:44] local.INFO: Processing buffer {"connection_id":131715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:38:44] local.INFO: IMEI packet received {"connection_id":131715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":131715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:38:45] local.INFO: TCP Data received {"connection_id":131715,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3a0c80012cb5f5000776f0400035013827..."} 
[2026-07-13 21:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3a0c80012cb5f5000776f0400035013827..."} 
[2026-07-13 21:38:45] local.INFO: Processing buffer {"connection_id":131715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3a0c80012cb5f5000776f0400035013827..."} 
[2026-07-13 21:38:45] local.INFO: Packet analysis {"connection_id":131715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c3a"} 
[2026-07-13 21:38:45] local.INFO: Extracted packet for processing {"connection_id":131715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c3a"} 
[2026-07-13 21:38:45] local.INFO: GPS Element Parsed {"raw_longitude":750122240,"raw_latitude":125235264,"longitude_deg":75.012224,"latitude_deg":12.5235264,"altitude":53,"angle":312,"satellites":39,"speed":24,"hex_longitude":"2cb5f500","hex_latitude":"0776f040","is_valid_coordinates":true} 
[2026-07-13 21:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693431808001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:38:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5326702795958943744,"note":"Value kept but may cause issues"} 
[2026-07-13 21:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783958736000,"timestamp_ms":1783958736000,"timestamp_seconds":1783958736,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3a0c80"} 
[2026-07-13 21:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-13 21:38:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693431808001,"66":27745,"88":206,"27":54016,"24":24,"16":135462516896563200,"44":-5326702795958943744},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,27,24,16,44]} 
[2026-07-13 21:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693431808001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:38:45] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-13 21:38:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135462516896563200,"km_value":135462516896563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:38:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5326702795958943744,"description":"Unknown IO ID 44"} 
[2026-07-13 21:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693431808001,"power":27745,"unknown_88":206,"unknown_27":54016,"ignition":24,"odometer":null,"unknown_44":-5326702795958943744}} 
[2026-07-13 21:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":131715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482396,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:38:45] local.INFO: GPS data processed {"connection_id":131715,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:38:45] local.INFO: Acknowledgment sent {"connection_id":131715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:39:11] local.INFO: TCP Data received {"connection_id":133035,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:39:11] local.INFO: Processing buffer {"connection_id":133035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:39:11] local.INFO: Packet analysis {"connection_id":133035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c39"} 
[2026-07-13 21:39:11] local.INFO: Extracted packet for processing {"connection_id":133035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c39"} 
[2026-07-13 21:39:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":23,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693344512001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783958678000,"timestamp_ms":1783958678000,"timestamp_seconds":1783958678,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3929f0"} 
[2026-07-13 21:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 21:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693344512001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693344512001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:39:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:39:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693344512001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":133035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:39:11] local.INFO: GPS data processed {"connection_id":133035,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:39:11] local.INFO: Acknowledgment sent {"connection_id":133035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:39:17] local.INFO: TCP Data received {"connection_id":131715,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3af2f80100000000000000000000000000..."} 
[2026-07-13 21:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3af2f80100000000000000000000000000..."} 
[2026-07-13 21:39:17] local.INFO: Processing buffer {"connection_id":131715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3af2f80100000000000000000000000000..."} 
[2026-07-13 21:39:17] local.INFO: Packet analysis {"connection_id":131715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c3a"} 
[2026-07-13 21:39:17] local.INFO: Extracted packet for processing {"connection_id":131715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c3a"} 
[2026-07-13 21:39:17] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693436416001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135462516896563200,"note":"Value kept but may cause issues"} 
[2026-07-13 21:39:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5335358151490256896,"note":"Value kept but may cause issues"} 
[2026-07-13 21:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783958795000,"timestamp_ms":1783958795000,"timestamp_seconds":1783958795,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3af2f8"} 
[2026-07-13 21:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-13 21:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21: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-07-13 21:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":131715,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 21:39:17] local.INFO: GPS data processed {"connection_id":131715,"processed":0,"errors":0,"total":1} 
[2026-07-13 21:39:17] local.INFO: Acknowledgment sent {"connection_id":131715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:39:39] local.INFO: TCP Data received {"connection_id":130889,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:39:39] local.INFO: Processing buffer {"connection_id":130889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:39:39] local.INFO: IMEI packet received {"connection_id":130889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":130889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:39:39] local.INFO: TCP Data received {"connection_id":130672,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130672,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:39:39] local.INFO: Processing buffer {"connection_id":130672,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:39:39] local.INFO: IMEI packet received {"connection_id":130672,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":130672,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:39:44] local.INFO: TCP Data received {"connection_id":130889,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:39:44] local.INFO: Processing buffer {"connection_id":130889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:39:44] local.INFO: IMEI packet received {"connection_id":130889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":130889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:39:44] local.INFO: TCP Data received {"connection_id":130672,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130672,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:39:44] local.INFO: Processing buffer {"connection_id":130672,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:39:44] local.INFO: IMEI packet received {"connection_id":130672,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":130672,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:39:44] local.INFO: TCP Data received {"connection_id":130889,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:39:44] local.INFO: Processing buffer {"connection_id":130889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:39:44] local.INFO: Packet analysis {"connection_id":130889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c39"} 
[2026-07-13 21:39:44] local.INFO: Extracted packet for processing {"connection_id":130889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c39"} 
[2026-07-13 21:39:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":23,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693344512001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783958678000,"timestamp_ms":1783958678000,"timestamp_seconds":1783958678,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3929f0"} 
[2026-07-13 21:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 21:39:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693344512001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693344512001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:39:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:39:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693344512001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":130889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:39:44] local.INFO: GPS data processed {"connection_id":130889,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:39:44] local.INFO: Acknowledgment sent {"connection_id":130889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:39:46] local.INFO: TCP Data received {"connection_id":130672,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3ccba0012cb4e3c00777ff980035014b29..."} 
[2026-07-13 21:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3ccba0012cb4e3c00777ff980035014b29..."} 
[2026-07-13 21:39:46] local.INFO: Processing buffer {"connection_id":130672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3ccba0012cb4e3c00777ff980035014b29..."} 
[2026-07-13 21:39:46] local.INFO: Packet analysis {"connection_id":130672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c3c"} 
[2026-07-13 21:39:46] local.INFO: Extracted packet for processing {"connection_id":130672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c3c"} 
[2026-07-13 21:39:46] local.INFO: GPS Element Parsed {"raw_longitude":750052288,"raw_latitude":125304728,"longitude_deg":75.0052288,"latitude_deg":12.5304728,"altitude":53,"angle":331,"satellites":41,"speed":26,"hex_longitude":"2cb4e3c0","hex_latitude":"0777ff98","is_valid_coordinates":true} 
[2026-07-13 21:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693478144001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135463191206428672,"note":"Value kept but may cause issues"} 
[2026-07-13 21:39:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5407908326721730560,"note":"Value kept but may cause issues"} 
[2026-07-13 21:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783958916000,"timestamp_ms":1783958916000,"timestamp_seconds":1783958916,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3ccba0"} 
[2026-07-13 21:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-13 21:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":130672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":130672,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":130672,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693478144001,"66":27767,"223":206,"27":54016,"24":26,"16":135463191206428672,"44":-5407908326721730560},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,27,24,16,44]} 
[2026-07-13 21:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693478144001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:39:46] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-07-13 21:39:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135463191206428672,"km_value":135463191206428.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:39:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5407908326721730560,"description":"Unknown IO ID 44"} 
[2026-07-13 21:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693478144001,"power":27767,"unknown_223":206,"unknown_27":54016,"ignition":26,"odometer":null,"unknown_44":-5407908326721730560}} 
[2026-07-13 21:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":130672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482399,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:39:46] local.INFO: GPS data processed {"connection_id":130672,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:39:46] local.INFO: Acknowledgment sent {"connection_id":130672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:39:49] local.INFO: TCP Data received {"connection_id":130889,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:39:49] local.INFO: Processing buffer {"connection_id":130889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3929f0012d7f914005afd9380017011b26..."} 
[2026-07-13 21:39:49] local.INFO: Packet analysis {"connection_id":130889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c39"} 
[2026-07-13 21:39:49] local.INFO: Extracted packet for processing {"connection_id":130889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c39"} 
[2026-07-13 21:39:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":23,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693344512001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783958678000,"timestamp_ms":1783958678000,"timestamp_seconds":1783958678,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3929f0"} 
[2026-07-13 21:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 21:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:39: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-07-13 21:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693344512001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693344512001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:39:49] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:39:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693344512001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":130889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:39:49] local.INFO: GPS data processed {"connection_id":130889,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:39:49] local.INFO: Acknowledgment sent {"connection_id":130889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:40:17] local.INFO: TCP Data received {"connection_id":130672,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3cf698012cb4d180077819280034013f2a..."} 
[2026-07-13 21:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3cf698012cb4d180077819280034013f2a..."} 
[2026-07-13 21:40:17] local.INFO: Processing buffer {"connection_id":130672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3cf698012cb4d180077819280034013f2a..."} 
[2026-07-13 21:40:17] local.INFO: Packet analysis {"connection_id":130672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c3c"} 
[2026-07-13 21:40:17] local.INFO: Extracted packet for processing {"connection_id":130672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c3c"} 
[2026-07-13 21:40:17] local.INFO: GPS Element Parsed {"raw_longitude":750047616,"raw_latitude":125311272,"longitude_deg":75.0047616,"latitude_deg":12.5311272,"altitude":52,"angle":319,"satellites":42,"speed":29,"hex_longitude":"2cb4d180","hex_latitude":"07781928","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693482496001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135463577753485312,"note":"Value kept but may cause issues"} 
[2026-07-13 21:40:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5412271188858660864,"note":"Value kept but may cause issues"} 
[2026-07-13 21:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783958927000,"timestamp_ms":1783958927000,"timestamp_seconds":1783958927,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3cf698"} 
[2026-07-13 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-07-13 21:40:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-13 21:40:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130672,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130672,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693482496001,"66":27713,"223":206,"27":54016,"24":29,"16":135463577753485312,"44":-5412271188858660864},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,27,24,16,44]} 
[2026-07-13 21:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693482496001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:40:17] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-07-13 21:40:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135463577753485312,"km_value":135463577753485.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:40:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5412271188858660864,"description":"Unknown IO ID 44"} 
[2026-07-13 21:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693482496001,"power":27713,"unknown_223":206,"unknown_27":54016,"ignition":29,"odometer":null,"unknown_44":-5412271188858660864}} 
[2026-07-13 21:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":130672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482401,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:40:17] local.INFO: GPS data processed {"connection_id":130672,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:40:17] local.INFO: Acknowledgment sent {"connection_id":130672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:40:34] local.INFO: TCP Data received {"connection_id":131716,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:40:34] local.INFO: Processing buffer {"connection_id":131716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:40:34] local.INFO: IMEI packet received {"connection_id":131716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":131716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:40:39] local.INFO: TCP Data received {"connection_id":131716,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:40:39] local.INFO: Processing buffer {"connection_id":131716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:40:39] local.INFO: IMEI packet received {"connection_id":131716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":131716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:40:39] local.INFO: TCP Data received {"connection_id":131716,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:40:39] local.INFO: Processing buffer {"connection_id":131716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:40:39] local.INFO: Packet analysis {"connection_id":131716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c3d"} 
[2026-07-13 21:40:39] local.INFO: Extracted packet for processing {"connection_id":131716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c3d"} 
[2026-07-13 21:40:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693421568001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783958979000,"timestamp_ms":1783958979000,"timestamp_seconds":1783958979,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3dc1b8"} 
[2026-07-13 21:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693421568001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693421568001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:40:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:40:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693421568001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":131716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:40:39] local.INFO: GPS data processed {"connection_id":131716,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:40:39] local.INFO: Acknowledgment sent {"connection_id":131716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:40:44] local.INFO: TCP Data received {"connection_id":133036,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133036,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:40:44] local.INFO: Processing buffer {"connection_id":133036,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:40:44] local.INFO: IMEI packet received {"connection_id":133036,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":133036,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:40:49] local.INFO: TCP Data received {"connection_id":133036,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133036,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:40:49] local.INFO: Processing buffer {"connection_id":133036,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:40:49] local.INFO: IMEI packet received {"connection_id":133036,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":133036,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:40:50] local.INFO: TCP Data received {"connection_id":133036,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3d2960012cb4bb80077834880030014220..."} 
[2026-07-13 21:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3d2960012cb4bb80077834880030014220..."} 
[2026-07-13 21:40:50] local.INFO: Processing buffer {"connection_id":133036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3d2960012cb4bb80077834880030014220..."} 
[2026-07-13 21:40:50] local.INFO: Packet analysis {"connection_id":133036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c3d"} 
[2026-07-13 21:40:50] local.INFO: Extracted packet for processing {"connection_id":133036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c3d"} 
[2026-07-13 21:40:50] local.INFO: GPS Element Parsed {"raw_longitude":750041984,"raw_latitude":125318280,"longitude_deg":75.0041984,"latitude_deg":12.531828,"altitude":48,"angle":322,"satellites":32,"speed":12,"hex_longitude":"2cb4bb80","hex_latitude":"07783488","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693485312001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135464011545182208,"note":"Value kept but may cause issues"} 
[2026-07-13 21:40:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5417408107181955072,"note":"Value kept but may cause issues"} 
[2026-07-13 21:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783958940000,"timestamp_ms":1783958940000,"timestamp_seconds":1783958940,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3d2960"} 
[2026-07-13 21:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-13 21:40: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-07-13 21:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":133036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":133036,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":133036,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693485312001,"66":27832,"224":206,"27":54016,"24":12,"16":135464011545182208,"44":-5417408107181955072},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693485312001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:40:50] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:40:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135464011545182208,"km_value":135464011545182.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:40:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5417408107181955072,"description":"Unknown IO ID 44"} 
[2026-07-13 21:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693485312001,"power":27832,"unknown_224":206,"unknown_27":54016,"ignition":12,"odometer":null,"unknown_44":-5417408107181955072}} 
[2026-07-13 21:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":133036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482403,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:40:51] local.INFO: GPS data processed {"connection_id":133036,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:40:51] local.INFO: Acknowledgment sent {"connection_id":133036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:40:55] local.INFO: TCP Data received {"connection_id":133036,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3d6bc8012cb4b0c0077844a8002e015825..."} 
[2026-07-13 21:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3d6bc8012cb4b0c0077844a8002e015825..."} 
[2026-07-13 21:40:55] local.INFO: Processing buffer {"connection_id":133036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3d6bc8012cb4b0c0077844a8002e015825..."} 
[2026-07-13 21:40:55] local.INFO: Packet analysis {"connection_id":133036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c3d"} 
[2026-07-13 21:40:55] local.INFO: Extracted packet for processing {"connection_id":133036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c3d"} 
[2026-07-13 21:40:55] local.INFO: GPS Element Parsed {"raw_longitude":750039232,"raw_latitude":125322408,"longitude_deg":75.0039232,"latitude_deg":12.5322408,"altitude":46,"angle":344,"satellites":37,"speed":25,"hex_longitude":"2cb4b0c0","hex_latitude":"077844a8","is_valid_coordinates":true} 
[2026-07-13 21:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693488640001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135464252063350784,"note":"Value kept but may cause issues"} 
[2026-07-13 21:40:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5423600556667795456,"note":"Value kept but may cause issues"} 
[2026-07-13 21:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783958957000,"timestamp_ms":1783958957000,"timestamp_seconds":1783958957,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3d6bc8"} 
[2026-07-13 21:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-13 21:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":133036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":133036,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":133036,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693488640001,"66":27767,"224":206,"27":54016,"24":25,"16":135464252063350784,"44":-5423600556667795456},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693488640001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:40:55] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:40:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135464252063350784,"km_value":135464252063350.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:40:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5423600556667795456,"description":"Unknown IO ID 44"} 
[2026-07-13 21:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693488640001,"power":27767,"unknown_224":206,"unknown_27":54016,"ignition":25,"odometer":null,"unknown_44":-5423600556667795456}} 
[2026-07-13 21:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":133036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482404,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:40:55] local.INFO: GPS data processed {"connection_id":133036,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:40:55] local.INFO: Acknowledgment sent {"connection_id":133036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:41:11] local.INFO: TCP Data received {"connection_id":131716,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:41:11] local.INFO: Processing buffer {"connection_id":131716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:41:11] local.INFO: Packet analysis {"connection_id":131716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c3d"} 
[2026-07-13 21:41:11] local.INFO: Extracted packet for processing {"connection_id":131716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c3d"} 
[2026-07-13 21:41:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693421568001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783958979000,"timestamp_ms":1783958979000,"timestamp_seconds":1783958979,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3dc1b8"} 
[2026-07-13 21:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693421568001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693421568001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:41:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:41:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693421568001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":131716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:41:11] local.INFO: GPS data processed {"connection_id":131716,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:41:11] local.INFO: Acknowledgment sent {"connection_id":131716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:41:33] local.INFO: TCP Data received {"connection_id":133037,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:41:33] local.INFO: Processing buffer {"connection_id":133037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:41:33] local.INFO: IMEI packet received {"connection_id":133037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":133037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:41:39] local.INFO: TCP Data received {"connection_id":133037,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:41:39] local.INFO: Processing buffer {"connection_id":133037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:41:39] local.INFO: IMEI packet received {"connection_id":133037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":133037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:41:39] local.INFO: TCP Data received {"connection_id":130673,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:41:39] local.INFO: Processing buffer {"connection_id":130673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:41:39] local.INFO: IMEI packet received {"connection_id":130673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":130673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:41:40] local.INFO: TCP Data received {"connection_id":133037,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:41:40] local.INFO: Processing buffer {"connection_id":133037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:41:40] local.INFO: Packet analysis {"connection_id":133037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c3d"} 
[2026-07-13 21:41:40] local.INFO: Extracted packet for processing {"connection_id":133037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c3d"} 
[2026-07-13 21:41:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693421568001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783958979000,"timestamp_ms":1783958979000,"timestamp_seconds":1783958979,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3dc1b8"} 
[2026-07-13 21:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":133037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":133037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":133037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693421568001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693421568001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:41:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:41:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693421568001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":133037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:41:40] local.INFO: GPS data processed {"connection_id":133037,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:41:40] local.INFO: Acknowledgment sent {"connection_id":133037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:41:40] local.INFO: TCP Data received {"connection_id":130673,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:41:40] local.INFO: Processing buffer {"connection_id":130673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:41:40] local.INFO: IMEI packet received {"connection_id":130673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":130673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:41:44] local.INFO: TCP Data received {"connection_id":133037,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:41:44] local.INFO: Processing buffer {"connection_id":133037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:41:44] local.INFO: Packet analysis {"connection_id":133037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c3d"} 
[2026-07-13 21:41:44] local.INFO: Extracted packet for processing {"connection_id":133037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c3d"} 
[2026-07-13 21:41:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693421568001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783958979000,"timestamp_ms":1783958979000,"timestamp_seconds":1783958979,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3dc1b8"} 
[2026-07-13 21:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:41:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:41:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":133037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":133037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":133037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693421568001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693421568001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:41:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:41:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693421568001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:41:44] local.INFO: TCP Data received {"connection_id":130673,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:41:44] local.INFO: Processing buffer {"connection_id":130673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:41:44] local.INFO: IMEI packet received {"connection_id":130673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":130673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":133037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:41:44] local.INFO: GPS data processed {"connection_id":133037,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:41:44] local.INFO: Acknowledgment sent {"connection_id":133037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:41:45] local.INFO: TCP Data received {"connection_id":130673,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3d6fb0012cb4b08007784728002e016626..."} 
[2026-07-13 21:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3d6fb0012cb4b08007784728002e016626..."} 
[2026-07-13 21:41:45] local.INFO: Processing buffer {"connection_id":130673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3d6fb0012cb4b08007784728002e016626..."} 
[2026-07-13 21:41:45] local.INFO: Packet analysis {"connection_id":130673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c3d"} 
[2026-07-13 21:41:45] local.INFO: Extracted packet for processing {"connection_id":130673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c3d"} 
[2026-07-13 21:41:45] local.INFO: GPS Element Parsed {"raw_longitude":750039168,"raw_latitude":125323048,"longitude_deg":75.0039168,"latitude_deg":12.5323048,"altitude":46,"angle":358,"satellites":38,"speed":25,"hex_longitude":"2cb4b080","hex_latitude":"07784728","is_valid_coordinates":true} 
[2026-07-13 21:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693492992001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135464286423089152,"note":"Value kept but may cause issues"} 
[2026-07-13 21:41:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5426626412666378240,"note":"Value kept but may cause issues"} 
[2026-07-13 21:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783958958000,"timestamp_ms":1783958958000,"timestamp_seconds":1783958958,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3d6fb0"} 
[2026-07-13 21:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-13 21:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693492992001,"66":27767,"224":206,"27":54016,"24":25,"16":135464286423089152,"44":-5426626412666378240},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693492992001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:41:45] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:41:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135464286423089152,"km_value":135464286423089.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:41:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5426626412666378240,"description":"Unknown IO ID 44"} 
[2026-07-13 21:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693492992001,"power":27767,"unknown_224":206,"unknown_27":54016,"ignition":25,"odometer":null,"unknown_44":-5426626412666378240}} 
[2026-07-13 21:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":130673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482408,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:41:45] local.INFO: GPS data processed {"connection_id":130673,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:41:45] local.INFO: Acknowledgment sent {"connection_id":130673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:41:50] local.INFO: TCP Data received {"connection_id":130673,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3d7398012cb4b0c0077849a0002d000b24..."} 
[2026-07-13 21:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3d7398012cb4b0c0077849a0002d000b24..."} 
[2026-07-13 21:41:50] local.INFO: Processing buffer {"connection_id":130673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3d7398012cb4b0c0077849a0002d000b24..."} 
[2026-07-13 21:41:50] local.INFO: Packet analysis {"connection_id":130673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c3d"} 
[2026-07-13 21:41:50] local.INFO: Extracted packet for processing {"connection_id":130673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c3d"} 
[2026-07-13 21:41:50] local.INFO: GPS Element Parsed {"raw_longitude":750039232,"raw_latitude":125323680,"longitude_deg":75.0039232,"latitude_deg":12.532368,"altitude":45,"angle":11,"satellites":36,"speed":25,"hex_longitude":"2cb4b0c0","hex_latitude":"077849a0","is_valid_coordinates":true} 
[2026-07-13 21:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693493248001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135464316487860224,"note":"Value kept but may cause issues"} 
[2026-07-13 21:41:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5426696781410392064,"note":"Value kept but may cause issues"} 
[2026-07-13 21:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783958959000,"timestamp_ms":1783958959000,"timestamp_seconds":1783958959,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3d7398"} 
[2026-07-13 21:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":119,"data_length":795,"current_offset":136} 
[2026-07-13 21:41: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-07-13 21:41:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693493248001,"66":27767,"224":206,"27":54016,"24":25,"16":135464316487860224,"44":-5426696781410392064},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-07-13 21:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693493248001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:41:50] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-13 21:41:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135464316487860224,"km_value":135464316487860.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:41:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5426696781410392064,"description":"Unknown IO ID 44"} 
[2026-07-13 21:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693493248001,"power":27767,"unknown_224":206,"unknown_27":54016,"ignition":25,"odometer":null,"unknown_44":-5426696781410392064}} 
[2026-07-13 21:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":130673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482409,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:41:50] local.INFO: GPS data processed {"connection_id":130673,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:41:50] local.INFO: Acknowledgment sent {"connection_id":130673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:42:16] local.INFO: TCP Data received {"connection_id":133037,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:42:16] local.INFO: Processing buffer {"connection_id":133037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:42:16] local.INFO: Packet analysis {"connection_id":133037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c3d"} 
[2026-07-13 21:42:16] local.INFO: Extracted packet for processing {"connection_id":133037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c3d"} 
[2026-07-13 21:42:16] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693421568001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783958979000,"timestamp_ms":1783958979000,"timestamp_seconds":1783958979,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3dc1b8"} 
[2026-07-13 21:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:42:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":133037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":133037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":133037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693421568001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693421568001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:42:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:42:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693421568001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":133037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:42:16] local.INFO: GPS data processed {"connection_id":133037,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:42:16] local.INFO: Acknowledgment sent {"connection_id":133037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:42:22] local.INFO: TCP Data received {"connection_id":130673,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3f4088012cb46380077940000031014a27..."} 
[2026-07-13 21:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3f4088012cb46380077940000031014a27..."} 
[2026-07-13 21:42:22] local.INFO: Processing buffer {"connection_id":130673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3f4088012cb46380077940000031014a27..."} 
[2026-07-13 21:42:22] local.INFO: Packet analysis {"connection_id":130673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c3f"} 
[2026-07-13 21:42:22] local.INFO: Extracted packet for processing {"connection_id":130673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c3f"} 
[2026-07-13 21:42:22] local.INFO: GPS Element Parsed {"raw_longitude":750019456,"raw_latitude":125386752,"longitude_deg":75.0019456,"latitude_deg":12.5386752,"altitude":49,"angle":330,"satellites":39,"speed":26,"hex_longitude":"2cb46380","hex_latitude":"07794000","is_valid_coordinates":true} 
[2026-07-13 21:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693522688001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135467769641566208,"note":"Value kept but may cause issues"} 
[2026-07-13 21:42:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5446540767252744192,"note":"Value kept but may cause issues"} 
[2026-07-13 21:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783959077000,"timestamp_ms":1783959077000,"timestamp_seconds":1783959077,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3f4088"} 
[2026-07-13 21:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-13 21:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693522688001,"66":27821,"36":206,"27":54016,"24":26,"16":135467769641566208,"44":-5446540767252744192},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-07-13 21:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693522688001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:42:22] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-13 21:42:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135467769641566208,"km_value":135467769641566.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:42:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5446540767252744192,"description":"Unknown IO ID 44"} 
[2026-07-13 21:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693522688001,"power":27821,"unknown_36":206,"unknown_27":54016,"ignition":26,"odometer":null,"unknown_44":-5446540767252744192}} 
[2026-07-13 21:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":130673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482411,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:42:22] local.INFO: GPS data processed {"connection_id":130673,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:42:22] local.INFO: Acknowledgment sent {"connection_id":130673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:42:33] local.INFO: TCP Data received {"connection_id":133038,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:42:33] local.INFO: Processing buffer {"connection_id":133038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:42:33] local.INFO: IMEI packet received {"connection_id":133038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":133038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:42:38] local.INFO: TCP Data received {"connection_id":133038,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:42:38] local.INFO: Processing buffer {"connection_id":133038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:42:38] local.INFO: IMEI packet received {"connection_id":133038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":133038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:42:39] local.INFO: TCP Data received {"connection_id":130890,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:42:39] local.INFO: Processing buffer {"connection_id":130890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:42:39] local.INFO: IMEI packet received {"connection_id":130890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":130890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:42:39] local.INFO: TCP Data received {"connection_id":133038,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:42:39] local.INFO: Processing buffer {"connection_id":133038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:42:39] local.INFO: Packet analysis {"connection_id":133038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c3d"} 
[2026-07-13 21:42:39] local.INFO: Extracted packet for processing {"connection_id":133038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c3d"} 
[2026-07-13 21:42:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693421568001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783958979000,"timestamp_ms":1783958979000,"timestamp_seconds":1783958979,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3dc1b8"} 
[2026-07-13 21:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693421568001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693421568001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:42:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:42:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693421568001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":133038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:42:39] local.INFO: GPS data processed {"connection_id":133038,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:42:39] local.INFO: Acknowledgment sent {"connection_id":133038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:42:39] local.INFO: TCP Data received {"connection_id":130890,"ip":"117.225.202.164","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-13 21:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130890,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-13 21:42:39] local.INFO: Processing buffer {"connection_id":130890,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-13 21:42:39] local.INFO: IMEI packet received {"connection_id":130890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":130890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:42:44] local.INFO: TCP Data received {"connection_id":130890,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:42:44] local.INFO: Processing buffer {"connection_id":130890,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-13 21:42:44] local.INFO: IMEI packet received {"connection_id":130890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":130890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:42:45] local.INFO: TCP Data received {"connection_id":130890,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3f5fc8012cb45a80077953e00030015529..."} 
[2026-07-13 21:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3f5fc8012cb45a80077953e00030015529..."} 
[2026-07-13 21:42:45] local.INFO: Processing buffer {"connection_id":130890,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019f5c..."} 
[2026-07-13 21:42:45] local.INFO: IMEI packet received {"connection_id":130890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":130890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:42:50] local.INFO: TCP Data received {"connection_id":130890,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3f9a60012cb452c0077977e0003001572a..."} 
[2026-07-13 21:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3f9a60012cb452c0077977e0003001572a..."} 
[2026-07-13 21:42:50] local.INFO: Processing buffer {"connection_id":130890,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f5c3f5fc8012cb45a80077953e00030015529..."} 
[2026-07-13 21:42:50] local.INFO: Packet analysis {"connection_id":130890,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f5c3f"} 
[2026-07-13 21:42:50] local.INFO: Extracted packet for processing {"connection_id":130890,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c3f"} 
[2026-07-13 21:42:50] local.INFO: GPS Element Parsed {"raw_longitude":750017152,"raw_latitude":125391840,"longitude_deg":75.0017152,"latitude_deg":12.539184,"altitude":48,"angle":341,"satellites":41,"speed":28,"hex_longitude":"2cb45a80","hex_latitude":"077953e0","is_valid_coordinates":true} 
[2026-07-13 21:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693523712001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135468035929538560,"note":"Value kept but may cause issues"} 
[2026-07-13 21:42:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5448370354600804352,"note":"Value kept but may cause issues"} 
[2026-07-13 21:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783959085000,"timestamp_ms":1783959085000,"timestamp_seconds":1783959085,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3f5fc8"} 
[2026-07-13 21:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":173,"data_length":795,"current_offset":136} 
[2026-07-13 21:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693523712001,"66":27767,"36":206,"27":54016,"24":28,"16":135468035929538560,"44":-5448370354600804352},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-07-13 21:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693523712001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:42:50] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-13 21:42:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135468035929538560,"km_value":135468035929538.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:42:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5448370354600804352,"description":"Unknown IO ID 44"} 
[2026-07-13 21:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693523712001,"power":27767,"unknown_36":206,"unknown_27":54016,"ignition":28,"odometer":null,"unknown_44":-5448370354600804352}} 
[2026-07-13 21:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":130890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482413,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:42:50] local.INFO: GPS data processed {"connection_id":130890,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:42:50] local.INFO: Acknowledgment sent {"connection_id":130890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:42:50] local.INFO: Packet analysis {"connection_id":130890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c3f"} 
[2026-07-13 21:42:50] local.INFO: Extracted packet for processing {"connection_id":130890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c3f"} 
[2026-07-13 21:42:50] local.INFO: GPS Element Parsed {"raw_longitude":750015168,"raw_latitude":125401056,"longitude_deg":75.0015168,"latitude_deg":12.5401056,"altitude":48,"angle":343,"satellites":42,"speed":28,"hex_longitude":"2cb452c0","hex_latitude":"077977e0","is_valid_coordinates":true} 
[2026-07-13 21:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693525760001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135468495491039232,"note":"Value kept but may cause issues"} 
[2026-07-13 21:42:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5450903629389897728,"note":"Value kept but may cause issues"} 
[2026-07-13 21:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783959100000,"timestamp_ms":1783959100000,"timestamp_seconds":1783959100,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3f9a60"} 
[2026-07-13 21:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":119,"data_length":795,"current_offset":136} 
[2026-07-13 21:42: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-07-13 21:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693525760001,"66":27767,"36":206,"27":54016,"24":28,"16":135468495491039232,"44":-5450903629389897728},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-07-13 21:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693525760001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:42:50] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-13 21:42:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135468495491039232,"km_value":135468495491039.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:42:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5450903629389897728,"description":"Unknown IO ID 44"} 
[2026-07-13 21:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693525760001,"power":27767,"unknown_36":206,"unknown_27":54016,"ignition":28,"odometer":null,"unknown_44":-5450903629389897728}} 
[2026-07-13 21:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":130890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482414,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:42:50] local.INFO: GPS data processed {"connection_id":130890,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:42:50] local.INFO: Acknowledgment sent {"connection_id":130890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:43:10] local.INFO: TCP Data received {"connection_id":133038,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:43:10] local.INFO: Processing buffer {"connection_id":133038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:43:10] local.INFO: Packet analysis {"connection_id":133038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c3d"} 
[2026-07-13 21:43:10] local.INFO: Extracted packet for processing {"connection_id":133038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c3d"} 
[2026-07-13 21:43:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693421568001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783958979000,"timestamp_ms":1783958979000,"timestamp_seconds":1783958979,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3dc1b8"} 
[2026-07-13 21:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":133038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":133038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":133038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693421568001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693421568001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:43:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:43:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693421568001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":133038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:43:10] local.INFO: GPS data processed {"connection_id":133038,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:43:10] local.INFO: Acknowledgment sent {"connection_id":133038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:43:32] local.INFO: TCP Data received {"connection_id":130890,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3fa618012cb44f4007797ff0002f014a2d..."} 
[2026-07-13 21:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3fa618012cb44f4007797ff0002f014a2d..."} 
[2026-07-13 21:43:32] local.INFO: Processing buffer {"connection_id":130890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3fa618012cb44f4007797ff0002f014a2d..."} 
[2026-07-13 21:43:32] local.INFO: Packet analysis {"connection_id":130890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c3f"} 
[2026-07-13 21:43:32] local.INFO: Extracted packet for processing {"connection_id":130890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c3f"} 
[2026-07-13 21:43:32] local.INFO: GPS Element Parsed {"raw_longitude":750014272,"raw_latitude":125403120,"longitude_deg":75.0014272,"latitude_deg":12.540312,"altitude":47,"angle":330,"satellites":45,"speed":30,"hex_longitude":"2cb44f40","hex_latitude":"07797ff0","is_valid_coordinates":true} 
[2026-07-13 21:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693529600001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135468602865221632,"note":"Value kept but may cause issues"} 
[2026-07-13 21:43:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5453085060457046016,"note":"Value kept but may cause issues"} 
[2026-07-13 21:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783959103000,"timestamp_ms":1783959103000,"timestamp_seconds":1783959103,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3fa618"} 
[2026-07-13 21:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:43: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-07-13 21:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-13 21:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:43:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":130890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":130890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":130890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693529600001,"66":27593,"36":206,"27":54016,"24":30,"16":135468602865221632,"44":-5453085060457046016},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-07-13 21:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693529600001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:43:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-13 21:43:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135468602865221632,"km_value":135468602865221.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:43:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5453085060457046016,"description":"Unknown IO ID 44"} 
[2026-07-13 21:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693529600001,"power":27593,"unknown_36":206,"unknown_27":54016,"ignition":30,"odometer":null,"unknown_44":-5453085060457046016}} 
[2026-07-13 21:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":130890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482416,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:43:33] local.INFO: GPS data processed {"connection_id":130890,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:43:33] local.INFO: Acknowledgment sent {"connection_id":130890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:43:33] local.INFO: TCP Data received {"connection_id":130891,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:43:33] local.INFO: Processing buffer {"connection_id":130891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:43:33] local.INFO: IMEI packet received {"connection_id":130891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":130891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:43:39] local.INFO: TCP Data received {"connection_id":130891,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:43:39] local.INFO: Processing buffer {"connection_id":130891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:43:39] local.INFO: IMEI packet received {"connection_id":130891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":130891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:43:39] local.INFO: TCP Data received {"connection_id":130674,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:43:39] local.INFO: Processing buffer {"connection_id":130674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:43:39] local.INFO: IMEI packet received {"connection_id":130674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":130674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:43:39] local.INFO: TCP Data received {"connection_id":130891,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:43:39] local.INFO: Processing buffer {"connection_id":130891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:43:39] local.INFO: Packet analysis {"connection_id":130891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c3d"} 
[2026-07-13 21:43:39] local.INFO: Extracted packet for processing {"connection_id":130891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c3d"} 
[2026-07-13 21:43:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693421568001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783958979000,"timestamp_ms":1783958979000,"timestamp_seconds":1783958979,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3dc1b8"} 
[2026-07-13 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-07-13 21:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693421568001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693421568001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:43:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:43:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693421568001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":130891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:43:39] local.INFO: GPS data processed {"connection_id":130891,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:43:39] local.INFO: Acknowledgment sent {"connection_id":130891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:43:54] local.INFO: TCP Data received {"connection_id":130674,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:43:54] local.INFO: Processing buffer {"connection_id":130674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:43:54] local.INFO: IMEI packet received {"connection_id":130674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":130674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:43:57] local.INFO: TCP Data received {"connection_id":130674,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3fade8012cb44b40077984c8002e013d2c..."} 
[2026-07-13 21:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3fade8012cb44b40077984c8002e013d2c..."} 
[2026-07-13 21:43:57] local.INFO: Processing buffer {"connection_id":130674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3fade8012cb44b40077984c8002e013d2c..."} 
[2026-07-13 21:43:57] local.INFO: Packet analysis {"connection_id":130674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c3f"} 
[2026-07-13 21:43:57] local.INFO: Extracted packet for processing {"connection_id":130674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c3f"} 
[2026-07-13 21:43:57] local.INFO: GPS Element Parsed {"raw_longitude":750013248,"raw_latitude":125404360,"longitude_deg":75.0013248,"latitude_deg":12.540436,"altitude":46,"angle":317,"satellites":44,"speed":31,"hex_longitude":"2cb44b40","hex_latitude":"077984c8","is_valid_coordinates":true} 
[2026-07-13 21:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693530368001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135468680174632960,"note":"Value kept but may cause issues"} 
[2026-07-13 21:43:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5454070222875004928,"note":"Value kept but may cause issues"} 
[2026-07-13 21:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783959105000,"timestamp_ms":1783959105000,"timestamp_seconds":1783959105,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3fade8"} 
[2026-07-13 21:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:43:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-13 21:43:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:43:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":130674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":130674,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":130674,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693530368001,"66":27767,"36":206,"27":54016,"24":31,"16":135468680174632960,"44":-5454070222875004928},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-07-13 21:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693530368001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:43:57] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-13 21:43:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135468680174632960,"km_value":135468680174632.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:43:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5454070222875004928,"description":"Unknown IO ID 44"} 
[2026-07-13 21:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693530368001,"power":27767,"unknown_36":206,"unknown_27":54016,"ignition":31,"odometer":null,"unknown_44":-5454070222875004928}} 
[2026-07-13 21:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":130674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482418,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:43:57] local.INFO: GPS data processed {"connection_id":130674,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:43:57] local.INFO: Acknowledgment sent {"connection_id":130674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:44:10] local.INFO: TCP Data received {"connection_id":130891,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:44:10] local.INFO: Processing buffer {"connection_id":130891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:44:10] local.INFO: Packet analysis {"connection_id":130891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c3d"} 
[2026-07-13 21:44:10] local.INFO: Extracted packet for processing {"connection_id":130891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c3d"} 
[2026-07-13 21:44:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693421568001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783958979000,"timestamp_ms":1783958979000,"timestamp_seconds":1783958979,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3dc1b8"} 
[2026-07-13 21:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693421568001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693421568001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:44:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:44:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693421568001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":130891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:44:10] local.INFO: GPS data processed {"connection_id":130891,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:44:10] local.INFO: Acknowledgment sent {"connection_id":130891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:44:39] local.INFO: TCP Data received {"connection_id":131717,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:44:39] local.INFO: Processing buffer {"connection_id":131717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:44:39] local.INFO: IMEI packet received {"connection_id":131717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":131717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:44:44] local.INFO: TCP Data received {"connection_id":131718,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:44:44] local.INFO: Processing buffer {"connection_id":131718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:44:44] local.INFO: IMEI packet received {"connection_id":131718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":131718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:44:48] local.INFO: TCP Data received {"connection_id":131717,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:44:48] local.INFO: Processing buffer {"connection_id":131717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:44:48] local.INFO: IMEI packet received {"connection_id":131717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":131717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:44:50] local.INFO: TCP Data received {"connection_id":131717,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:44:50] local.INFO: Processing buffer {"connection_id":131717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:44:50] local.INFO: Packet analysis {"connection_id":131717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c3d"} 
[2026-07-13 21:44:50] local.INFO: Extracted packet for processing {"connection_id":131717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c3d"} 
[2026-07-13 21:44:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693421568001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783958979000,"timestamp_ms":1783958979000,"timestamp_seconds":1783958979,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3dc1b8"} 
[2026-07-13 21:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:44:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:44: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-07-13 21:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693421568001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693421568001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:44:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:44:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693421568001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":131717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:44:50] local.INFO: GPS data processed {"connection_id":131717,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:44:50] local.INFO: Acknowledgment sent {"connection_id":131717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:44:50] local.INFO: TCP Data received {"connection_id":131717,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:44:50] local.INFO: Processing buffer {"connection_id":131717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3dc1b8012d7f914005afd9380019011b25..."} 
[2026-07-13 21:44:50] local.INFO: Packet analysis {"connection_id":131717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c3d"} 
[2026-07-13 21:44:50] local.INFO: Extracted packet for processing {"connection_id":131717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c3d"} 
[2026-07-13 21:44:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693421568001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783958979000,"timestamp_ms":1783958979000,"timestamp_seconds":1783958979,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3dc1b8"} 
[2026-07-13 21:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:44:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:44: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-07-13 21:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693421568001,"66":25288,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693421568001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:44:50] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:44:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693421568001,"power":25288,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":131717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:44:50] local.INFO: GPS data processed {"connection_id":131717,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:44:50] local.INFO: Acknowledgment sent {"connection_id":131717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:44:50] local.INFO: TCP Data received {"connection_id":131718,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:44:50] local.INFO: Processing buffer {"connection_id":131718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:44:50] local.INFO: IMEI packet received {"connection_id":131718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":131718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:44:52] local.INFO: TCP Data received {"connection_id":131718,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3fdcc8012cb4320007799f00002a013c2a..."} 
[2026-07-13 21:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3fdcc8012cb4320007799f00002a013c2a..."} 
[2026-07-13 21:44:52] local.INFO: Processing buffer {"connection_id":131718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3fdcc8012cb4320007799f00002a013c2a..."} 
[2026-07-13 21:44:52] local.INFO: Packet analysis {"connection_id":131718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c3f"} 
[2026-07-13 21:44:52] local.INFO: Extracted packet for processing {"connection_id":131718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c3f"} 
[2026-07-13 21:44:52] local.INFO: GPS Element Parsed {"raw_longitude":750006784,"raw_latitude":125411072,"longitude_deg":75.0006784,"latitude_deg":12.5411072,"altitude":42,"angle":316,"satellites":42,"speed":20,"hex_longitude":"2cb43200","hex_latitude":"07799f00","is_valid_coordinates":true} 
[2026-07-13 21:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693530880001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135469131146199040,"note":"Value kept but may cause issues"} 
[2026-07-13 21:44:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5455196122781530112,"note":"Value kept but may cause issues"} 
[2026-07-13 21:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783959117000,"timestamp_ms":1783959117000,"timestamp_seconds":1783959117,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3fdcc8"} 
[2026-07-13 21:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-13 21:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":131718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":131718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":131718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693530880001,"66":27821,"36":206,"27":54016,"24":20,"16":135469131146199040,"44":-5455196122781530112},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-07-13 21:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693530880001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:44:52] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-13 21:44:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135469131146199040,"km_value":135469131146199.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:44:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5455196122781530112,"description":"Unknown IO ID 44"} 
[2026-07-13 21:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693530880001,"power":27821,"unknown_36":206,"unknown_27":54016,"ignition":20,"odometer":null,"unknown_44":-5455196122781530112}} 
[2026-07-13 21:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":131718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482422,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:44:52] local.INFO: GPS data processed {"connection_id":131718,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:44:52] local.INFO: Acknowledgment sent {"connection_id":131718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:44:55] local.INFO: TCP Data received {"connection_id":131718,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c3fe880012cb42dc00779a2400029012524..."} 
[2026-07-13 21:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c3fe880012cb42dc00779a2400029012524..."} 
[2026-07-13 21:44:55] local.INFO: Processing buffer {"connection_id":131718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c3fe880012cb42dc00779a2400029012524..."} 
[2026-07-13 21:44:55] local.INFO: Packet analysis {"connection_id":131718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c3f"} 
[2026-07-13 21:44:55] local.INFO: Extracted packet for processing {"connection_id":131718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c3f"} 
[2026-07-13 21:44:55] local.INFO: GPS Element Parsed {"raw_longitude":750005696,"raw_latitude":125411904,"longitude_deg":75.0005696,"latitude_deg":12.5411904,"altitude":41,"angle":293,"satellites":36,"speed":14,"hex_longitude":"2cb42dc0","hex_latitude":"0779a240","is_valid_coordinates":true} 
[2026-07-13 21:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693533952001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135469195570708480,"note":"Value kept but may cause issues"} 
[2026-07-13 21:44:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5462303365941755904,"note":"Value kept but may cause issues"} 
[2026-07-13 21:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783959120000,"timestamp_ms":1783959120000,"timestamp_seconds":1783959120,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c3fe880"} 
[2026-07-13 21:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-13 21:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":131718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":131718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":131718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693533952001,"66":27343,"36":206,"27":54016,"24":14,"16":135469195570708480,"44":-5462303365941755904},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-07-13 21:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693533952001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:44:55] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-13 21:44:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135469195570708480,"km_value":135469195570708.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:44:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5462303365941755904,"description":"Unknown IO ID 44"} 
[2026-07-13 21:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693533952001,"power":27343,"unknown_36":206,"unknown_27":54016,"ignition":14,"odometer":null,"unknown_44":-5462303365941755904}} 
[2026-07-13 21:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":131718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482423,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:44:55] local.INFO: GPS data processed {"connection_id":131718,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:44:55] local.INFO: Acknowledgment sent {"connection_id":131718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:45:33] local.INFO: TCP Data received {"connection_id":130675,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:45:33] local.INFO: Processing buffer {"connection_id":130675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:45:33] local.INFO: IMEI packet received {"connection_id":130675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":130675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:45:37] local.INFO: TCP Data received {"connection_id":130676,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130676,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:45:37] local.INFO: Processing buffer {"connection_id":130676,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:45:37] local.INFO: IMEI packet received {"connection_id":130676,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":130676,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:45:39] local.INFO: TCP Data received {"connection_id":130675,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:45:39] local.INFO: Processing buffer {"connection_id":130675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:45:39] local.INFO: IMEI packet received {"connection_id":130675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":130675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:45:39] local.INFO: TCP Data received {"connection_id":130676,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130676,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:45:39] local.INFO: Processing buffer {"connection_id":130676,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:45:39] local.INFO: IMEI packet received {"connection_id":130676,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":130676,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:45:40] local.INFO: TCP Data received {"connection_id":130675,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c425980012d7f914005afd9380019011b24..."} 
[2026-07-13 21:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c425980012d7f914005afd9380019011b24..."} 
[2026-07-13 21:45:40] local.INFO: Processing buffer {"connection_id":130675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c425980012d7f914005afd9380019011b24..."} 
[2026-07-13 21:45:40] local.INFO: Packet analysis {"connection_id":130675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c42"} 
[2026-07-13 21:45:40] local.INFO: Extracted packet for processing {"connection_id":130675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c42"} 
[2026-07-13 21:45:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693498624001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783959280000,"timestamp_ms":1783959280000,"timestamp_seconds":1783959280,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c425980"} 
[2026-07-13 21:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 21:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693498624001,"66":25223,"199":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-13 21:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693498624001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:45:40] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-13 21:45:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693498624001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":130675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:45:40] local.INFO: GPS data processed {"connection_id":130675,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:45:40] local.INFO: Acknowledgment sent {"connection_id":130675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:45:41] local.INFO: TCP Data received {"connection_id":130676,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130676,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:45:41] local.INFO: Processing buffer {"connection_id":130676,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:45:41] local.INFO: IMEI packet received {"connection_id":130676,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":130676,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:45:42] local.INFO: TCP Data received {"connection_id":130676,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c424dc8012cb3db0007781bd8002200ba2a..."} 
[2026-07-13 21:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c424dc8012cb3db0007781bd8002200ba2a..."} 
[2026-07-13 21:45:42] local.INFO: Processing buffer {"connection_id":130676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c424dc8012cb3db0007781bd8002200ba2a..."} 
[2026-07-13 21:45:42] local.INFO: Packet analysis {"connection_id":130676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c42"} 
[2026-07-13 21:45:42] local.INFO: Extracted packet for processing {"connection_id":130676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c42"} 
[2026-07-13 21:45:42] local.INFO: GPS Element Parsed {"raw_longitude":749984512,"raw_latitude":125311960,"longitude_deg":74.9984512,"latitude_deg":12.531196,"altitude":34,"angle":186,"satellites":42,"speed":19,"hex_longitude":"2cb3db00","hex_latitude":"07781bd8","is_valid_coordinates":true} 
[2026-07-13 21:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693569536001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135469212750577664,"note":"Value kept but may cause issues"} 
[2026-07-13 21:45:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5484539889123846144,"note":"Value kept but may cause issues"} 
[2026-07-13 21:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783959277000,"timestamp_ms":1783959277000,"timestamp_seconds":1783959277,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c424dc8"} 
[2026-07-13 21:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-13 21:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130676,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130676,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693569536001,"66":27952,"70":206,"27":54016,"24":19,"16":135469212750577664,"44":-5484539889123846144},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,27,24,16,44]} 
[2026-07-13 21:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693569536001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:45:42] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-13 21:45:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135469212750577664,"km_value":135469212750577.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:45:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5484539889123846144,"description":"Unknown IO ID 44"} 
[2026-07-13 21:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693569536001,"power":27952,"unknown_70":206,"unknown_27":54016,"ignition":19,"odometer":null,"unknown_44":-5484539889123846144}} 
[2026-07-13 21:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":130676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482425,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:45:42] local.INFO: GPS data processed {"connection_id":130676,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:45:42] local.INFO: Acknowledgment sent {"connection_id":130676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:45:44] local.INFO: TCP Data received {"connection_id":130675,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c425980012d7f914005afd9380019011b24..."} 
[2026-07-13 21:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c425980012d7f914005afd9380019011b24..."} 
[2026-07-13 21:45:44] local.INFO: Processing buffer {"connection_id":130675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c425980012d7f914005afd9380019011b24..."} 
[2026-07-13 21:45:44] local.INFO: Packet analysis {"connection_id":130675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c42"} 
[2026-07-13 21:45:44] local.INFO: Extracted packet for processing {"connection_id":130675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c42"} 
[2026-07-13 21:45:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693498624001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783959280000,"timestamp_ms":1783959280000,"timestamp_seconds":1783959280,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c425980"} 
[2026-07-13 21:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 21:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693498624001,"66":25223,"199":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-13 21:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693498624001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:45:44] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-13 21:45:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693498624001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":130675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:45:44] local.INFO: GPS data processed {"connection_id":130675,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:45:44] local.INFO: Acknowledgment sent {"connection_id":130675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:46:19] local.INFO: TCP Data received {"connection_id":130676,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c424dc8012cb3db0007781bd8002200ba2a..."} 
[2026-07-13 21:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c424dc8012cb3db0007781bd8002200ba2a..."} 
[2026-07-13 21:46:19] local.INFO: Processing buffer {"connection_id":130676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c424dc8012cb3db0007781bd8002200ba2a..."} 
[2026-07-13 21:46:19] local.INFO: Packet analysis {"connection_id":130676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c42"} 
[2026-07-13 21:46:19] local.INFO: Extracted packet for processing {"connection_id":130676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c42"} 
[2026-07-13 21:46:19] local.INFO: GPS Element Parsed {"raw_longitude":749984512,"raw_latitude":125311960,"longitude_deg":74.9984512,"latitude_deg":12.531196,"altitude":34,"angle":186,"satellites":42,"speed":19,"hex_longitude":"2cb3db00","hex_latitude":"07781bd8","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693574912001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135469212750577664,"note":"Value kept but may cause issues"} 
[2026-07-13 21:46:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5486791688940955648,"note":"Value kept but may cause issues"} 
[2026-07-13 21:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783959277000,"timestamp_ms":1783959277000,"timestamp_seconds":1783959277,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c424dc8"} 
[2026-07-13 21:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-13 21:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21: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-07-13 21:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":130676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":130676,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":130676,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693574912001,"66":27952,"70":206,"27":54016,"24":19,"16":135469212750577664,"44":-5486791688940955648},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,27,24,16,44]} 
[2026-07-13 21:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693574912001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:46:19] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-13 21:46:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135469212750577664,"km_value":135469212750577.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:46:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5486791688940955648,"description":"Unknown IO ID 44"} 
[2026-07-13 21:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693574912001,"power":27952,"unknown_70":206,"unknown_27":54016,"ignition":19,"odometer":null,"unknown_44":-5486791688940955648}} 
[2026-07-13 21:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":130676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482427,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:46:19] local.INFO: GPS data processed {"connection_id":130676,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:46:19] local.INFO: Acknowledgment sent {"connection_id":130676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:46:33] local.INFO: TCP Data received {"connection_id":131719,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:46:33] local.INFO: Processing buffer {"connection_id":131719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:46:33] local.INFO: IMEI packet received {"connection_id":131719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":131719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:46:39] local.INFO: TCP Data received {"connection_id":131719,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:46:39] local.INFO: Processing buffer {"connection_id":131719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:46:39] local.INFO: IMEI packet received {"connection_id":131719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":131719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:46:39] local.INFO: TCP Data received {"connection_id":131720,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131720,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:46:39] local.INFO: Processing buffer {"connection_id":131720,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:46:39] local.INFO: IMEI packet received {"connection_id":131720,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":131720,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:46:39] local.INFO: TCP Data received {"connection_id":131719,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c425980012d7f914005afd9380019011b24..."} 
[2026-07-13 21:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c425980012d7f914005afd9380019011b24..."} 
[2026-07-13 21:46:39] local.INFO: Processing buffer {"connection_id":131719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c425980012d7f914005afd9380019011b24..."} 
[2026-07-13 21:46:39] local.INFO: Packet analysis {"connection_id":131719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c42"} 
[2026-07-13 21:46:39] local.INFO: Extracted packet for processing {"connection_id":131719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c42"} 
[2026-07-13 21:46:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693498624001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783959280000,"timestamp_ms":1783959280000,"timestamp_seconds":1783959280,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c425980"} 
[2026-07-13 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-07-13 21:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 21:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693498624001,"66":25223,"199":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-13 21:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693498624001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:46:39] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-13 21:46:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693498624001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":131719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:46:39] local.INFO: GPS data processed {"connection_id":131719,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:46:39] local.INFO: Acknowledgment sent {"connection_id":131719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:46:44] local.INFO: TCP Data received {"connection_id":131720,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131720,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:46:44] local.INFO: Processing buffer {"connection_id":131720,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:46:44] local.INFO: IMEI packet received {"connection_id":131720,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":131720,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:46:47] local.INFO: TCP Data received {"connection_id":131720,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c4334400100000000000000000000000000..."} 
[2026-07-13 21:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c4334400100000000000000000000000000..."} 
[2026-07-13 21:46:47] local.INFO: Processing buffer {"connection_id":131720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c4334400100000000000000000000000000..."} 
[2026-07-13 21:46:47] local.INFO: Packet analysis {"connection_id":131720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c43"} 
[2026-07-13 21:46:47] local.INFO: Extracted packet for processing {"connection_id":131720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c43"} 
[2026-07-13 21:46:47] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 21:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693574912001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135469212750577664,"note":"Value kept but may cause issues"} 
[2026-07-13 21:46:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5486791688940955648,"note":"Value kept but may cause issues"} 
[2026-07-13 21:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783959336000,"timestamp_ms":1783959336000,"timestamp_seconds":1783959336,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c433440"} 
[2026-07-13 21:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-13 21:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":131720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":131720,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":131720,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":131720,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 21:46:47] local.INFO: GPS data processed {"connection_id":131720,"processed":0,"errors":0,"total":1} 
[2026-07-13 21:46:47] local.INFO: Acknowledgment sent {"connection_id":131720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:47:11] local.INFO: TCP Data received {"connection_id":131719,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c425980012d7f914005afd9380019011b24..."} 
[2026-07-13 21:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c425980012d7f914005afd9380019011b24..."} 
[2026-07-13 21:47:11] local.INFO: Processing buffer {"connection_id":131719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c425980012d7f914005afd9380019011b24..."} 
[2026-07-13 21:47:11] local.INFO: Packet analysis {"connection_id":131719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c42"} 
[2026-07-13 21:47:11] local.INFO: Extracted packet for processing {"connection_id":131719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c42"} 
[2026-07-13 21:47:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693498624001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783959280000,"timestamp_ms":1783959280000,"timestamp_seconds":1783959280,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c425980"} 
[2026-07-13 21:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 21:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693498624001,"66":25223,"199":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-13 21:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693498624001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:47:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-13 21:47:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693498624001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":131719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:47:11] local.INFO: GPS data processed {"connection_id":131719,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:47:11] local.INFO: Acknowledgment sent {"connection_id":131719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:47:19] local.INFO: TCP Data received {"connection_id":131720,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c42b358012cb3e1400777e670002400ac2d..."} 
[2026-07-13 21:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c42b358012cb3e1400777e670002400ac2d..."} 
[2026-07-13 21:47:19] local.INFO: Processing buffer {"connection_id":131720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c42b358012cb3e1400777e670002400ac2d..."} 
[2026-07-13 21:47:19] local.INFO: Packet analysis {"connection_id":131720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c42"} 
[2026-07-13 21:47:19] local.INFO: Extracted packet for processing {"connection_id":131720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c42"} 
[2026-07-13 21:47:19] local.INFO: GPS Element Parsed {"raw_longitude":749986112,"raw_latitude":125298288,"longitude_deg":74.9986112,"latitude_deg":12.5298288,"altitude":36,"angle":172,"satellites":45,"speed":26,"hex_longitude":"2cb3e140","hex_latitude":"0777e670","is_valid_coordinates":true} 
[2026-07-13 21:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135469212750577664,"note":"Value kept but may cause issues"} 
[2026-07-13 21:47:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,71,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 21:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783959303000,"timestamp_ms":1783959303000,"timestamp_seconds":1783959303,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c42b358"} 
[2026-07-13 21:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:47: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-13 21:47:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1076,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":131720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":131720,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":131720,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27821,"71":206,"27":54016,"24":26,"16":135469212750577664},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,27,24,16]} 
[2026-07-13 21:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-13 21:47:19] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 21:47:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135469212750577664,"km_value":135469212750577.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:47:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27821,"unknown_71":206,"unknown_27":54016,"ignition":26,"odometer":null}} 
[2026-07-13 21:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":131720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482430,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:47:19] local.INFO: GPS data processed {"connection_id":131720,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:47:19] local.INFO: Acknowledgment sent {"connection_id":131720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:47:33] local.INFO: TCP Data received {"connection_id":130892,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:47:33] local.INFO: Processing buffer {"connection_id":130892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:47:33] local.INFO: IMEI packet received {"connection_id":130892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":130892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:47:39] local.INFO: TCP Data received {"connection_id":130677,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:47:39] local.INFO: Processing buffer {"connection_id":130677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:47:39] local.INFO: IMEI packet received {"connection_id":130677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":130677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:47:40] local.INFO: TCP Data received {"connection_id":130892,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:47:40] local.INFO: Processing buffer {"connection_id":130892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:47:40] local.INFO: IMEI packet received {"connection_id":130892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":130892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:47:41] local.INFO: TCP Data received {"connection_id":130892,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c425980012d7f914005afd9380019011b24..."} 
[2026-07-13 21:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c425980012d7f914005afd9380019011b24..."} 
[2026-07-13 21:47:41] local.INFO: Processing buffer {"connection_id":130892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c425980012d7f914005afd9380019011b24..."} 
[2026-07-13 21:47:41] local.INFO: Packet analysis {"connection_id":130892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c42"} 
[2026-07-13 21:47:41] local.INFO: Extracted packet for processing {"connection_id":130892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c42"} 
[2026-07-13 21:47:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693498624001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783959280000,"timestamp_ms":1783959280000,"timestamp_seconds":1783959280,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c425980"} 
[2026-07-13 21:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 21:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693498624001,"66":25223,"199":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-13 21:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693498624001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:47:41] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-13 21:47:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693498624001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":130892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:47:41] local.INFO: GPS data processed {"connection_id":130892,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:47:41] local.INFO: Acknowledgment sent {"connection_id":130892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:47:44] local.INFO: TCP Data received {"connection_id":130677,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:47:44] local.INFO: Processing buffer {"connection_id":130677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:47:44] local.INFO: IMEI packet received {"connection_id":130677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":130677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:47:45] local.INFO: TCP Data received {"connection_id":130677,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c4399d00100000000000000000000000000..."} 
[2026-07-13 21:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c4399d00100000000000000000000000000..."} 
[2026-07-13 21:47:45] local.INFO: Processing buffer {"connection_id":130677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c4399d00100000000000000000000000000..."} 
[2026-07-13 21:47:45] local.INFO: Packet analysis {"connection_id":130677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c43"} 
[2026-07-13 21:47:45] local.INFO: Extracted packet for processing {"connection_id":130677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c43"} 
[2026-07-13 21:47:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 21:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693581568001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135469212750577664,"note":"Value kept but may cause issues"} 
[2026-07-13 21:47:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5485032470340014080,"note":"Value kept but may cause issues"} 
[2026-07-13 21:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783959362000,"timestamp_ms":1783959362000,"timestamp_seconds":1783959362,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c4399d0"} 
[2026-07-13 21:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-13 21:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":130677,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 21:47:45] local.INFO: GPS data processed {"connection_id":130677,"processed":0,"errors":0,"total":1} 
[2026-07-13 21:47:45] local.INFO: Acknowledgment sent {"connection_id":130677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:48:14] local.INFO: TCP Data received {"connection_id":130892,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c425980012d7f914005afd9380019011b24..."} 
[2026-07-13 21:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c425980012d7f914005afd9380019011b24..."} 
[2026-07-13 21:48:14] local.INFO: Processing buffer {"connection_id":130892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c425980012d7f914005afd9380019011b24..."} 
[2026-07-13 21:48:14] local.INFO: Packet analysis {"connection_id":130892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c42"} 
[2026-07-13 21:48:14] local.INFO: Extracted packet for processing {"connection_id":130892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c42"} 
[2026-07-13 21:48:14] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693498624001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783959280000,"timestamp_ms":1783959280000,"timestamp_seconds":1783959280,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c425980"} 
[2026-07-13 21:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 21:48:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:48:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693498624001,"66":25223,"199":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-13 21:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693498624001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:48:14] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-13 21:48:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693498624001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":130892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:48:14] local.INFO: GPS data processed {"connection_id":130892,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:48:14] local.INFO: Acknowledgment sent {"connection_id":130892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:48:17] local.INFO: TCP Data received {"connection_id":130677,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c431118012cb3b4800777bad0002500ce2a..."} 
[2026-07-13 21:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c431118012cb3b4800777bad0002500ce2a..."} 
[2026-07-13 21:48:17] local.INFO: Processing buffer {"connection_id":130677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c431118012cb3b4800777bad0002500ce2a..."} 
[2026-07-13 21:48:17] local.INFO: Packet analysis {"connection_id":130677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c43"} 
[2026-07-13 21:48:17] local.INFO: Extracted packet for processing {"connection_id":130677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c43"} 
[2026-07-13 21:48:17] local.INFO: GPS Element Parsed {"raw_longitude":749974656,"raw_latitude":125287120,"longitude_deg":74.9974656,"latitude_deg":12.528712,"altitude":37,"angle":206,"satellites":42,"speed":32,"hex_longitude":"2cb3b480","hex_latitude":"0777bad0","is_valid_coordinates":true} 
[2026-07-13 21:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135469212750577664,"note":"Value kept but may cause issues"} 
[2026-07-13 21:48:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,71,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 21:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783959327000,"timestamp_ms":1783959327000,"timestamp_seconds":1783959327,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c431118"} 
[2026-07-13 21:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":97,"data_length":795,"current_offset":136} 
[2026-07-13 21:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27745,"71":206,"27":54016,"24":32,"16":135469212750577664},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,27,24,16]} 
[2026-07-13 21:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-13 21:48:17] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 21:48:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135469212750577664,"km_value":135469212750577.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:48:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27745,"unknown_71":206,"unknown_27":54016,"ignition":32,"odometer":null}} 
[2026-07-13 21:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":130677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482433,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:48:17] local.INFO: GPS data processed {"connection_id":130677,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:48:17] local.INFO: Acknowledgment sent {"connection_id":130677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:48:39] local.INFO: TCP Data received {"connection_id":131721,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:48:39] local.INFO: Processing buffer {"connection_id":131721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:48:39] local.INFO: IMEI packet received {"connection_id":131721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":131721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:48:40] local.INFO: TCP Data received {"connection_id":130893,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:48:40] local.INFO: Processing buffer {"connection_id":130893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:48:40] local.INFO: IMEI packet received {"connection_id":130893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":130893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:48:44] local.INFO: TCP Data received {"connection_id":131721,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:48:44] local.INFO: Processing buffer {"connection_id":131721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:48:44] local.INFO: IMEI packet received {"connection_id":131721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":131721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:48:44] local.INFO: TCP Data received {"connection_id":130893,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:48:44] local.INFO: Processing buffer {"connection_id":130893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:48:44] local.INFO: IMEI packet received {"connection_id":130893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":130893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:48:45] local.INFO: TCP Data received {"connection_id":130893,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c425980012d7f914005afd9380019011b24..."} 
[2026-07-13 21:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c425980012d7f914005afd9380019011b24..."} 
[2026-07-13 21:48:45] local.INFO: Processing buffer {"connection_id":130893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c425980012d7f914005afd9380019011b24..."} 
[2026-07-13 21:48:45] local.INFO: Packet analysis {"connection_id":130893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c42"} 
[2026-07-13 21:48:45] local.INFO: Extracted packet for processing {"connection_id":130893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c42"} 
[2026-07-13 21:48:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693498624001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783959280000,"timestamp_ms":1783959280000,"timestamp_seconds":1783959280,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c425980"} 
[2026-07-13 21:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 21:48:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21: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-07-13 21:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693498624001,"66":25223,"199":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-13 21:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693498624001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:48:45] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-13 21:48:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693498624001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":130893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:48:45] local.INFO: GPS data processed {"connection_id":130893,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:48:45] local.INFO: Acknowledgment sent {"connection_id":130893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:48:45] local.INFO: TCP Data received {"connection_id":131721,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c436320012cb38b8007778b30002700d62b..."} 
[2026-07-13 21:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c436320012cb38b8007778b30002700d62b..."} 
[2026-07-13 21:48:45] local.INFO: Processing buffer {"connection_id":131721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c436320012cb38b8007778b30002700d62b..."} 
[2026-07-13 21:48:45] local.INFO: Packet analysis {"connection_id":131721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c43"} 
[2026-07-13 21:48:45] local.INFO: Extracted packet for processing {"connection_id":131721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c43"} 
[2026-07-13 21:48:45] local.INFO: GPS Element Parsed {"raw_longitude":749964160,"raw_latitude":125274928,"longitude_deg":74.996416,"latitude_deg":12.5274928,"altitude":39,"angle":214,"satellites":43,"speed":31,"hex_longitude":"2cb38b80","hex_latitude":"07778b30","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693587712001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135469212750577664,"note":"Value kept but may cause issues"} 
[2026-07-13 21:48:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5497628475550674944,"note":"Value kept but may cause issues"} 
[2026-07-13 21:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783959348000,"timestamp_ms":1783959348000,"timestamp_seconds":1783959348,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c436320"} 
[2026-07-13 21:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-13 21:48:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21: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-07-13 21:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693587712001,"66":27887,"71":206,"27":54016,"24":31,"16":135469212750577664,"44":-5497628475550674944},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,27,24,16,44]} 
[2026-07-13 21:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693587712001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:48:45] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 21:48:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135469212750577664,"km_value":135469212750577.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:48:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5497628475550674944,"description":"Unknown IO ID 44"} 
[2026-07-13 21:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693587712001,"power":27887,"unknown_71":206,"unknown_27":54016,"ignition":31,"odometer":null,"unknown_44":-5497628475550674944}} 
[2026-07-13 21:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":131721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482435,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:48:46] local.INFO: GPS data processed {"connection_id":131721,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:48:46] local.INFO: Acknowledgment sent {"connection_id":131721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:48:50] local.INFO: TCP Data received {"connection_id":130893,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c425980012d7f914005afd9380019011b24..."} 
[2026-07-13 21:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c425980012d7f914005afd9380019011b24..."} 
[2026-07-13 21:48:50] local.INFO: Processing buffer {"connection_id":130893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c425980012d7f914005afd9380019011b24..."} 
[2026-07-13 21:48:50] local.INFO: Packet analysis {"connection_id":130893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c42"} 
[2026-07-13 21:48:50] local.INFO: Extracted packet for processing {"connection_id":130893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c42"} 
[2026-07-13 21:48:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693498624001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783959280000,"timestamp_ms":1783959280000,"timestamp_seconds":1783959280,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c425980"} 
[2026-07-13 21:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 21:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":130893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":130893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":130893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:48: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-07-13 21:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693498624001,"66":25223,"199":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-13 21:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693498624001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:48:50] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-13 21:48:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693498624001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":130893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:48:50] local.INFO: GPS data processed {"connection_id":130893,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:48:50] local.INFO: Acknowledgment sent {"connection_id":130893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:49:17] local.INFO: TCP Data received {"connection_id":131721,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c43b140012cb36d0007774c38002700ca2c..."} 
[2026-07-13 21:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c43b140012cb36d0007774c38002700ca2c..."} 
[2026-07-13 21:49:17] local.INFO: Processing buffer {"connection_id":131721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c43b140012cb36d0007774c38002700ca2c..."} 
[2026-07-13 21:49:17] local.INFO: Packet analysis {"connection_id":131721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c43"} 
[2026-07-13 21:49:17] local.INFO: Extracted packet for processing {"connection_id":131721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c43"} 
[2026-07-13 21:49:17] local.INFO: GPS Element Parsed {"raw_longitude":749956352,"raw_latitude":125258808,"longitude_deg":74.9956352,"latitude_deg":12.5258808,"altitude":39,"angle":202,"satellites":44,"speed":41,"hex_longitude":"2cb36d00","hex_latitude":"07774c38","is_valid_coordinates":true} 
[2026-07-13 21:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693593088001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135469212750577664,"note":"Value kept but may cause issues"} 
[2026-07-13 21:49:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5509168949598932992,"note":"Value kept but may cause issues"} 
[2026-07-13 21:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783959368000,"timestamp_ms":1783959368000,"timestamp_seconds":1783959368,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c43b140"} 
[2026-07-13 21:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:49:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-13 21:49:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":131721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":131721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":131721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693593088001,"66":27821,"71":206,"27":54016,"24":41,"16":135469212750577664,"44":-5509168949598932992},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,27,24,16,44]} 
[2026-07-13 21:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693593088001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:49:17] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 21:49:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135469212750577664,"km_value":135469212750577.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:49:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5509168949598932992,"description":"Unknown IO ID 44"} 
[2026-07-13 21:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693593088001,"power":27821,"unknown_71":206,"unknown_27":54016,"ignition":41,"odometer":null,"unknown_44":-5509168949598932992}} 
[2026-07-13 21:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":131721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482437,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:49:17] local.INFO: GPS data processed {"connection_id":131721,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:49:17] local.INFO: Acknowledgment sent {"connection_id":131721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:49:39] local.INFO: TCP Data received {"connection_id":130678,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:49:39] local.INFO: Processing buffer {"connection_id":130678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:49:39] local.INFO: IMEI packet received {"connection_id":130678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":130678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:49:39] local.INFO: TCP Data received {"connection_id":130679,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130679,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:49:39] local.INFO: Processing buffer {"connection_id":130679,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:49:39] local.INFO: IMEI packet received {"connection_id":130679,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":130679,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:49:41] local.INFO: TCP Data received {"connection_id":130679,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130679,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:49:41] local.INFO: Processing buffer {"connection_id":130679,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:49:41] local.INFO: IMEI packet received {"connection_id":130679,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":130679,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:49:44] local.INFO: TCP Data received {"connection_id":130678,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:49:44] local.INFO: Processing buffer {"connection_id":130678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:49:44] local.INFO: IMEI packet received {"connection_id":130678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":130678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:49:45] local.INFO: TCP Data received {"connection_id":130679,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130679,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:49:45] local.INFO: Processing buffer {"connection_id":130679,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:49:45] local.INFO: IMEI packet received {"connection_id":130679,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":130679,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:49:47] local.INFO: TCP Data received {"connection_id":130679,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c43f790012cb35d0007770d70002600ba2a..."} 
[2026-07-13 21:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c43f790012cb35d0007770d70002600ba2a..."} 
[2026-07-13 21:49:47] local.INFO: Processing buffer {"connection_id":130679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c43f790012cb35d0007770d70002600ba2a..."} 
[2026-07-13 21:49:47] local.INFO: Packet analysis {"connection_id":130679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c43"} 
[2026-07-13 21:49:47] local.INFO: Extracted packet for processing {"connection_id":130679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c43"} 
[2026-07-13 21:49:47] local.INFO: GPS Element Parsed {"raw_longitude":749952256,"raw_latitude":125242736,"longitude_deg":74.9952256,"latitude_deg":12.5242736,"altitude":38,"angle":186,"satellites":42,"speed":30,"hex_longitude":"2cb35d00","hex_latitude":"07770d70","is_valid_coordinates":true} 
[2026-07-13 21:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693598208001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135469212750577664,"note":"Value kept but may cause issues"} 
[2026-07-13 21:49:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5517753936392734720,"note":"Value kept but may cause issues"} 
[2026-07-13 21:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783959386000,"timestamp_ms":1783959386000,"timestamp_seconds":1783959386,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c43f790"} 
[2026-07-13 21:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-13 21:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":130679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":130679,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":130679,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693598208001,"66":27995,"71":206,"27":54016,"24":30,"16":135469212750577664,"44":-5517753936392734720},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,27,24,16,44]} 
[2026-07-13 21:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693598208001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:49:47] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-13 21:49:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135469212750577664,"km_value":135469212750577.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:49:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5517753936392734720,"description":"Unknown IO ID 44"} 
[2026-07-13 21:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693598208001,"power":27995,"unknown_71":206,"unknown_27":54016,"ignition":30,"odometer":null,"unknown_44":-5517753936392734720}} 
[2026-07-13 21:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":130679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482438,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:49:47] local.INFO: GPS data processed {"connection_id":130679,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:49:47] local.INFO: Acknowledgment sent {"connection_id":130679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:49:51] local.INFO: TCP Data received {"connection_id":130678,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:49:51] local.INFO: Processing buffer {"connection_id":130678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:49:51] local.INFO: IMEI packet received {"connection_id":130678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":130678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:49:53] local.INFO: TCP Data received {"connection_id":130678,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c425980012d7f914005afd9380019011b24..."} 
[2026-07-13 21:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c425980012d7f914005afd9380019011b24..."} 
[2026-07-13 21:49:53] local.INFO: Processing buffer {"connection_id":130678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c425980012d7f914005afd9380019011b24..."} 
[2026-07-13 21:49:53] local.INFO: Packet analysis {"connection_id":130678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c42"} 
[2026-07-13 21:49:53] local.INFO: Extracted packet for processing {"connection_id":130678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c42"} 
[2026-07-13 21:49:53] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693498624001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783959280000,"timestamp_ms":1783959280000,"timestamp_seconds":1783959280,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c425980"} 
[2026-07-13 21:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 21:49:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21: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-07-13 21:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":130678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":130678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":130678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:49:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693498624001,"66":25223,"199":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-13 21:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693498624001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:49:53] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-13 21:49:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693498624001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":130678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:49:53] local.INFO: GPS data processed {"connection_id":130678,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:49:53] local.INFO: Acknowledgment sent {"connection_id":130678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:50:09] local.INFO: TCP Data received {"connection_id":130678,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c425980012d7f914005afd9380019011b24..."} 
[2026-07-13 21:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c425980012d7f914005afd9380019011b24..."} 
[2026-07-13 21:50:09] local.INFO: Processing buffer {"connection_id":130678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c425980012d7f914005afd9380019011b24..."} 
[2026-07-13 21:50:09] local.INFO: Packet analysis {"connection_id":130678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c42"} 
[2026-07-13 21:50:09] local.INFO: Extracted packet for processing {"connection_id":130678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c42"} 
[2026-07-13 21:50:09] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693498624001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783959280000,"timestamp_ms":1783959280000,"timestamp_seconds":1783959280,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c425980"} 
[2026-07-13 21:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 21:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":130678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":130678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":130678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693498624001,"66":25223,"199":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-07-13 21:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693498624001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:50:09] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-13 21:50:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693498624001,"power":25223,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":130678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:50:09] local.INFO: GPS data processed {"connection_id":130678,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:50:09] local.INFO: Acknowledgment sent {"connection_id":130678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:50:18] local.INFO: TCP Data received {"connection_id":130679,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c44de080100000000000000000000000000..."} 
[2026-07-13 21:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c44de080100000000000000000000000000..."} 
[2026-07-13 21:50:18] local.INFO: Processing buffer {"connection_id":130679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c44de080100000000000000000000000000..."} 
[2026-07-13 21:50:18] local.INFO: Packet analysis {"connection_id":130679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c44"} 
[2026-07-13 21:50:18] local.INFO: Extracted packet for processing {"connection_id":130679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c44"} 
[2026-07-13 21:50:18] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-13 21:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693602816001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135469212750577664,"note":"Value kept but may cause issues"} 
[2026-07-13 21:50:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5522257536024219648,"note":"Value kept but may cause issues"} 
[2026-07-13 21:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783959445000,"timestamp_ms":1783959445000,"timestamp_seconds":1783959445,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c44de08"} 
[2026-07-13 21:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-13 21:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":130679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":130679,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":130679,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":130679,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-13 21:50:18] local.INFO: GPS data processed {"connection_id":130679,"processed":0,"errors":0,"total":1} 
[2026-07-13 21:50:18] local.INFO: Acknowledgment sent {"connection_id":130679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:50:34] local.INFO: TCP Data received {"connection_id":131722,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:50:34] local.INFO: Processing buffer {"connection_id":131722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:50:34] local.INFO: IMEI packet received {"connection_id":131722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":131722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:50:41] local.INFO: TCP Data received {"connection_id":131722,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:50:41] local.INFO: Processing buffer {"connection_id":131722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:50:41] local.INFO: IMEI packet received {"connection_id":131722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":131722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:50:42] local.INFO: TCP Data received {"connection_id":131722,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c46f148012d7f914005afd9380018011b24..."} 
[2026-07-13 21:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c46f148012d7f914005afd9380018011b24..."} 
[2026-07-13 21:50:42] local.INFO: Processing buffer {"connection_id":131722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c46f148012d7f914005afd9380018011b24..."} 
[2026-07-13 21:50:42] local.INFO: Packet analysis {"connection_id":131722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c46"} 
[2026-07-13 21:50:42] local.INFO: Extracted packet for processing {"connection_id":131722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c46"} 
[2026-07-13 21:50:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693575680001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783959581000,"timestamp_ms":1783959581000,"timestamp_seconds":1783959581,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c46f148"} 
[2026-07-13 21:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":131722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":131722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":131722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693575680001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693575680001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:50:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:50:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693575680001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":131722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:50:42] local.INFO: GPS data processed {"connection_id":131722,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:50:42] local.INFO: Acknowledgment sent {"connection_id":131722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:50:44] local.INFO: TCP Data received {"connection_id":131723,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:50:44] local.INFO: Processing buffer {"connection_id":131723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:50:44] local.INFO: IMEI packet received {"connection_id":131723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":131723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:50:45] local.INFO: TCP Data received {"connection_id":131723,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:50:45] local.INFO: Processing buffer {"connection_id":131723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:50:45] local.INFO: IMEI packet received {"connection_id":131723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":131723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:50:49] local.INFO: TCP Data received {"connection_id":131723,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:50:49] local.INFO: Processing buffer {"connection_id":131723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:50:49] local.INFO: IMEI packet received {"connection_id":131723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":131723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:50:50] local.INFO: TCP Data received {"connection_id":131723,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c4470a8012cb356800776d8a0002500c02e..."} 
[2026-07-13 21:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c4470a8012cb356800776d8a0002500c02e..."} 
[2026-07-13 21:50:50] local.INFO: Processing buffer {"connection_id":131723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c4470a8012cb356800776d8a0002500c02e..."} 
[2026-07-13 21:50:50] local.INFO: Packet analysis {"connection_id":131723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c44"} 
[2026-07-13 21:50:50] local.INFO: Extracted packet for processing {"connection_id":131723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c44"} 
[2026-07-13 21:50:50] local.INFO: GPS Element Parsed {"raw_longitude":749950592,"raw_latitude":125229216,"longitude_deg":74.9950592,"latitude_deg":12.5229216,"altitude":37,"angle":192,"satellites":46,"speed":28,"hex_longitude":"2cb35680","hex_latitude":"0776d8a0","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135469212750577664,"note":"Value kept but may cause issues"} 
[2026-07-13 21:50:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,240,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-13 21:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783959417000,"timestamp_ms":1783959417000,"timestamp_seconds":1783959417,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c4470a8"} 
[2026-07-13 21:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-13 21:50: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-07-13 21: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-07-13 21:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27767,"240":206,"27":54016,"24":28,"16":135469212750577664},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,27,24,16]} 
[2026-07-13 21:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-13 21:50:50] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-13 21:50:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135469212750577664,"km_value":135469212750577.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:50:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27767,"unknown_240":206,"unknown_27":54016,"ignition":28,"odometer":null}} 
[2026-07-13 21:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":131723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482442,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:50:50] local.INFO: GPS data processed {"connection_id":131723,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:50:50] local.INFO: Acknowledgment sent {"connection_id":131723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:50:55] local.INFO: TCP Data received {"connection_id":131723,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c44c2b0012cb3490007769dc0001b00b62e..."} 
[2026-07-13 21:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c44c2b0012cb3490007769dc0001b00b62e..."} 
[2026-07-13 21:50:55] local.INFO: Processing buffer {"connection_id":131723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c44c2b0012cb3490007769dc0001b00b62e..."} 
[2026-07-13 21:50:55] local.INFO: Packet analysis {"connection_id":131723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c44"} 
[2026-07-13 21:50:55] local.INFO: Extracted packet for processing {"connection_id":131723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c44"} 
[2026-07-13 21:50:55] local.INFO: GPS Element Parsed {"raw_longitude":749947136,"raw_latitude":125214144,"longitude_deg":74.9947136,"latitude_deg":12.5214144,"altitude":27,"angle":182,"satellites":46,"speed":32,"hex_longitude":"2cb34900","hex_latitude":"07769dc0","is_valid_coordinates":true} 
[2026-07-13 21:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693610752001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135469212750577664,"note":"Value kept but may cause issues"} 
[2026-07-13 21:50:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5524087123376300032,"note":"Value kept but may cause issues"} 
[2026-07-13 21:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783959438000,"timestamp_ms":1783959438000,"timestamp_seconds":1783959438,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c44c2b0"} 
[2026-07-13 21:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-13 21:50: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-07-13 21:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":131723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":131723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":131723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693610752001,"66":28093,"240":206,"27":54016,"24":32,"16":135469212750577664,"44":-5524087123376300032},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,27,24,16,44]} 
[2026-07-13 21:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693610752001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:50:55] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-13 21:50:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135469212750577664,"km_value":135469212750577.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:50:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5524087123376300032,"description":"Unknown IO ID 44"} 
[2026-07-13 21:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693610752001,"power":28093,"unknown_240":206,"unknown_27":54016,"ignition":32,"odometer":null,"unknown_44":-5524087123376300032}} 
[2026-07-13 21:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":131723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482443,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:50:55] local.INFO: GPS data processed {"connection_id":131723,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:50:55] local.INFO: Acknowledgment sent {"connection_id":131723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:51:18] local.INFO: TCP Data received {"connection_id":131722,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c46f148012d7f914005afd9380018011b24..."} 
[2026-07-13 21:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c46f148012d7f914005afd9380018011b24..."} 
[2026-07-13 21:51:18] local.INFO: Processing buffer {"connection_id":131722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c46f148012d7f914005afd9380018011b24..."} 
[2026-07-13 21:51:18] local.INFO: Packet analysis {"connection_id":131722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c46"} 
[2026-07-13 21:51:18] local.INFO: Extracted packet for processing {"connection_id":131722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c46"} 
[2026-07-13 21:51:18] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693575680001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783959581000,"timestamp_ms":1783959581000,"timestamp_seconds":1783959581,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c46f148"} 
[2026-07-13 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-07-13 21:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":131722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":131722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":131722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693575680001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693575680001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:51:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:51:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693575680001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":131722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:51:18] local.INFO: GPS data processed {"connection_id":131722,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:51:18] local.INFO: Acknowledgment sent {"connection_id":131722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:51:33] local.INFO: TCP Data received {"connection_id":133039,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:51:33] local.INFO: Processing buffer {"connection_id":133039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:51:33] local.INFO: IMEI packet received {"connection_id":133039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":133039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:51:39] local.INFO: TCP Data received {"connection_id":133039,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:51:39] local.INFO: Processing buffer {"connection_id":133039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:51:39] local.INFO: IMEI packet received {"connection_id":133039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":133039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:51:39] local.INFO: TCP Data received {"connection_id":130894,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130894,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:51:39] local.INFO: Processing buffer {"connection_id":130894,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:51:39] local.INFO: IMEI packet received {"connection_id":130894,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":130894,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:51:40] local.INFO: TCP Data received {"connection_id":133039,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c46f148012d7f914005afd9380018011b24..."} 
[2026-07-13 21:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c46f148012d7f914005afd9380018011b24..."} 
[2026-07-13 21:51:40] local.INFO: Processing buffer {"connection_id":133039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c46f148012d7f914005afd9380018011b24..."} 
[2026-07-13 21:51:40] local.INFO: Packet analysis {"connection_id":133039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c46"} 
[2026-07-13 21:51:40] local.INFO: Extracted packet for processing {"connection_id":133039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c46"} 
[2026-07-13 21:51:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693575680001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783959581000,"timestamp_ms":1783959581000,"timestamp_seconds":1783959581,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c46f148"} 
[2026-07-13 21:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":133039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":133039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":133039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693575680001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693575680001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:51:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:51:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693575680001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":133039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:51:40] local.INFO: GPS data processed {"connection_id":133039,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:51:40] local.INFO: Acknowledgment sent {"connection_id":133039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:51:44] local.INFO: TCP Data received {"connection_id":130894,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130894,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:51:44] local.INFO: Processing buffer {"connection_id":130894,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:51:44] local.INFO: IMEI packet received {"connection_id":130894,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":130894,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:51:45] local.INFO: TCP Data received {"connection_id":130894,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c4514b8012cb341c0077660e8001200b62b..."} 
[2026-07-13 21:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c4514b8012cb341c0077660e8001200b62b..."} 
[2026-07-13 21:51:45] local.INFO: Processing buffer {"connection_id":130894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c4514b8012cb341c0077660e8001200b62b..."} 
[2026-07-13 21:51:45] local.INFO: Packet analysis {"connection_id":130894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c45"} 
[2026-07-13 21:51:45] local.INFO: Extracted packet for processing {"connection_id":130894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c45"} 
[2026-07-13 21:51:45] local.INFO: GPS Element Parsed {"raw_longitude":749945280,"raw_latitude":125198568,"longitude_deg":74.994528,"latitude_deg":12.5198568,"altitude":18,"angle":182,"satellites":43,"speed":16,"hex_longitude":"2cb341c0","hex_latitude":"077660e8","is_valid_coordinates":true} 
[2026-07-13 21:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693616128001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135469212750577664,"note":"Value kept but may cause issues"} 
[2026-07-13 21:51:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5527887035565752320,"note":"Value kept but may cause issues"} 
[2026-07-13 21:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783959459000,"timestamp_ms":1783959459000,"timestamp_seconds":1783959459,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c4514b8"} 
[2026-07-13 21:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-13 21:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693616128001,"66":28202,"240":206,"27":54016,"24":16,"16":135469212750577664,"44":-5527887035565752320},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,27,24,16,44]} 
[2026-07-13 21:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693616128001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:51:45] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-13 21:51:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135469212750577664,"km_value":135469212750577.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:51:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5527887035565752320,"description":"Unknown IO ID 44"} 
[2026-07-13 21:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693616128001,"power":28202,"unknown_240":206,"unknown_27":54016,"ignition":16,"odometer":null,"unknown_44":-5527887035565752320}} 
[2026-07-13 21:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":130894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482446,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:51:45] local.INFO: GPS data processed {"connection_id":130894,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:51:45] local.INFO: Acknowledgment sent {"connection_id":130894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:52:11] local.INFO: TCP Data received {"connection_id":133039,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c46f148012d7f914005afd9380018011b24..."} 
[2026-07-13 21:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c46f148012d7f914005afd9380018011b24..."} 
[2026-07-13 21:52:11] local.INFO: Processing buffer {"connection_id":133039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c46f148012d7f914005afd9380018011b24..."} 
[2026-07-13 21:52:11] local.INFO: Packet analysis {"connection_id":133039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c46"} 
[2026-07-13 21:52:11] local.INFO: Extracted packet for processing {"connection_id":133039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c46"} 
[2026-07-13 21:52:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693575680001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783959581000,"timestamp_ms":1783959581000,"timestamp_seconds":1783959581,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c46f148"} 
[2026-07-13 21:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693575680001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693575680001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:52:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:52:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693575680001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":133039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:52:11] local.INFO: GPS data processed {"connection_id":133039,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:52:11] local.INFO: Acknowledgment sent {"connection_id":133039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:52:17] local.INFO: TCP Data received {"connection_id":130894,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c4566c0012cb341c0077660e8001200b62b..."} 
[2026-07-13 21:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c4566c0012cb341c0077660e8001200b62b..."} 
[2026-07-13 21:52:17] local.INFO: Processing buffer {"connection_id":130894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c4566c0012cb341c0077660e8001200b62b..."} 
[2026-07-13 21:52:17] local.INFO: Packet analysis {"connection_id":130894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c45"} 
[2026-07-13 21:52:17] local.INFO: Extracted packet for processing {"connection_id":130894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c45"} 
[2026-07-13 21:52:17] local.INFO: GPS Element Parsed {"raw_longitude":749945280,"raw_latitude":125198568,"longitude_deg":74.994528,"latitude_deg":12.5198568,"altitude":18,"angle":182,"satellites":43,"speed":0,"hex_longitude":"2cb341c0","hex_latitude":"077660e8","is_valid_coordinates":true} 
[2026-07-13 21:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693621504001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135469212750577664,"note":"Value kept but may cause issues"} 
[2026-07-13 21:52:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5529927729150892032,"note":"Value kept but may cause issues"} 
[2026-07-13 21:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783959480000,"timestamp_ms":1783959480000,"timestamp_seconds":1783959480,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c4566c0"} 
[2026-07-13 21:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-07-13 21:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":130894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":130894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":130894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693621504001,"66":27941,"240":206,"27":54016,"24":0,"16":135469212750577664,"44":-5529927729150892032},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,27,24,16,44]} 
[2026-07-13 21:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693621504001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:52:17] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-13 21:52:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135469212750577664,"km_value":135469212750577.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:52:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5529927729150892032,"description":"Unknown IO ID 44"} 
[2026-07-13 21:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693621504001,"power":27941,"unknown_240":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5529927729150892032}} 
[2026-07-13 21:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":130894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482448,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:52:17] local.INFO: GPS data processed {"connection_id":130894,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:52:17] local.INFO: Acknowledgment sent {"connection_id":130894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:52:39] local.INFO: TCP Data received {"connection_id":130680,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:52:39] local.INFO: Processing buffer {"connection_id":130680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:52:39] local.INFO: IMEI packet received {"connection_id":130680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":130680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:52:39] local.INFO: TCP Data received {"connection_id":131724,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:52:39] local.INFO: Processing buffer {"connection_id":131724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:52:39] local.INFO: IMEI packet received {"connection_id":131724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":131724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:52:44] local.INFO: TCP Data received {"connection_id":130680,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:52:44] local.INFO: Processing buffer {"connection_id":130680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:52:44] local.INFO: IMEI packet received {"connection_id":130680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":130680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:52:44] local.INFO: TCP Data received {"connection_id":131724,"ip":"117.225.202.164","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:52:44] local.INFO: Processing buffer {"connection_id":131724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:52:44] local.INFO: IMEI packet received {"connection_id":131724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 21:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":131724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:52:44] local.INFO: TCP Data received {"connection_id":130680,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c46f148012d7f914005afd9380018011b24..."} 
[2026-07-13 21:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c46f148012d7f914005afd9380018011b24..."} 
[2026-07-13 21:52:44] local.INFO: Processing buffer {"connection_id":130680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c46f148012d7f914005afd9380018011b24..."} 
[2026-07-13 21:52:44] local.INFO: Packet analysis {"connection_id":130680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c46"} 
[2026-07-13 21:52:44] local.INFO: Extracted packet for processing {"connection_id":130680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c46"} 
[2026-07-13 21:52:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693575680001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783959581000,"timestamp_ms":1783959581000,"timestamp_seconds":1783959581,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c46f148"} 
[2026-07-13 21:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:52:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693575680001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693575680001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:52:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:52:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693575680001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":130680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:52:44] local.INFO: GPS data processed {"connection_id":130680,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:52:44] local.INFO: Acknowledgment sent {"connection_id":130680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:52:45] local.INFO: TCP Data received {"connection_id":131724,"ip":"117.225.202.164","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c489b10012cb333c0077630d0001600d62d..."} 
[2026-07-13 21:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c489b10012cb333c0077630d0001600d62d..."} 
[2026-07-13 21:52:45] local.INFO: Processing buffer {"connection_id":131724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c489b10012cb333c0077630d0001600d62d..."} 
[2026-07-13 21:52:45] local.INFO: Packet analysis {"connection_id":131724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c48"} 
[2026-07-13 21:52:45] local.INFO: Extracted packet for processing {"connection_id":131724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c48"} 
[2026-07-13 21:52:45] local.INFO: GPS Element Parsed {"raw_longitude":749941696,"raw_latitude":125186256,"longitude_deg":74.9941696,"latitude_deg":12.5186256,"altitude":22,"angle":214,"satellites":45,"speed":21,"hex_longitude":"2cb333c0","hex_latitude":"077630d0","is_valid_coordinates":true} 
[2026-07-13 21: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-07-13 21:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693680640001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135469212750577664,"note":"Value kept but may cause issues"} 
[2026-07-13 21:52:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5533868378827993088,"note":"Value kept but may cause issues"} 
[2026-07-13 21:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783959690000,"timestamp_ms":1783959690000,"timestamp_seconds":1783959690,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c489b10"} 
[2026-07-13 21:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-13 21: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":65,"data_length":795,"current_offset":136} 
[2026-07-13 21:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21: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-07-13 21:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":131724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":131724,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":131724,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-13 21:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.202.164","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-13 21:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-13 21:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693680640001,"66":27713,"240":206,"27":54016,"24":21,"16":135469212750577664,"44":-5533868378827993088},"client_ip":"117.225.202.164","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,27,24,16,44]} 
[2026-07-13 21:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-13 21:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-13 21:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693680640001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:52:45] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-13 21:52:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-07-13 21:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135469212750577664,"km_value":135469212750577.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:52:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5533868378827993088,"description":"Unknown IO ID 44"} 
[2026-07-13 21:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693680640001,"power":27713,"unknown_240":206,"unknown_27":54016,"ignition":21,"odometer":null,"unknown_44":-5533868378827993088}} 
[2026-07-13 21:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":131724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482450,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:52:45] local.INFO: GPS data processed {"connection_id":131724,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:52:45] local.INFO: Acknowledgment sent {"connection_id":131724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:52:49] local.INFO: TCP Data received {"connection_id":130680,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c46f148012d7f914005afd9380018011b24..."} 
[2026-07-13 21:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c46f148012d7f914005afd9380018011b24..."} 
[2026-07-13 21:52:49] local.INFO: Processing buffer {"connection_id":130680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c46f148012d7f914005afd9380018011b24..."} 
[2026-07-13 21:52:49] local.INFO: Packet analysis {"connection_id":130680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c46"} 
[2026-07-13 21:52:49] local.INFO: Extracted packet for processing {"connection_id":130680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c46"} 
[2026-07-13 21:52:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693575680001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783959581000,"timestamp_ms":1783959581000,"timestamp_seconds":1783959581,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c46f148"} 
[2026-07-13 21:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693575680001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693575680001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:52:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:52:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693575680001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":130680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:52:49] local.INFO: GPS data processed {"connection_id":130680,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:52:49] local.INFO: Acknowledgment sent {"connection_id":130680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:53:33] local.INFO: TCP Data received {"connection_id":130895,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:53:33] local.INFO: Processing buffer {"connection_id":130895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:53:33] local.INFO: IMEI packet received {"connection_id":130895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":130895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:53:39] local.INFO: TCP Data received {"connection_id":130895,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:53:39] local.INFO: Processing buffer {"connection_id":130895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:53:39] local.INFO: IMEI packet received {"connection_id":130895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":130895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:53:39] local.INFO: TCP Data received {"connection_id":130895,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c46f148012d7f914005afd9380018011b24..."} 
[2026-07-13 21:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c46f148012d7f914005afd9380018011b24..."} 
[2026-07-13 21:53:39] local.INFO: Processing buffer {"connection_id":130895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c46f148012d7f914005afd9380018011b24..."} 
[2026-07-13 21:53:39] local.INFO: Packet analysis {"connection_id":130895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c46"} 
[2026-07-13 21:53:39] local.INFO: Extracted packet for processing {"connection_id":130895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c46"} 
[2026-07-13 21:53:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693575680001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783959581000,"timestamp_ms":1783959581000,"timestamp_seconds":1783959581,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c46f148"} 
[2026-07-13 21:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693575680001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693575680001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:53:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:53:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693575680001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":130895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:53:39] local.INFO: GPS data processed {"connection_id":130895,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:53:39] local.INFO: Acknowledgment sent {"connection_id":130895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:54:10] local.INFO: TCP Data received {"connection_id":130895,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c46f148012d7f914005afd9380018011b24..."} 
[2026-07-13 21:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c46f148012d7f914005afd9380018011b24..."} 
[2026-07-13 21:54:10] local.INFO: Processing buffer {"connection_id":130895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c46f148012d7f914005afd9380018011b24..."} 
[2026-07-13 21:54:10] local.INFO: Packet analysis {"connection_id":130895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c46"} 
[2026-07-13 21:54:10] local.INFO: Extracted packet for processing {"connection_id":130895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c46"} 
[2026-07-13 21:54:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693575680001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783959581000,"timestamp_ms":1783959581000,"timestamp_seconds":1783959581,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c46f148"} 
[2026-07-13 21:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693575680001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693575680001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:54:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693575680001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":130895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:54:10] local.INFO: GPS data processed {"connection_id":130895,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:54:10] local.INFO: Acknowledgment sent {"connection_id":130895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:54:34] local.INFO: TCP Data received {"connection_id":130681,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:54:34] local.INFO: Processing buffer {"connection_id":130681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:54:34] local.INFO: IMEI packet received {"connection_id":130681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":130681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:54:38] local.INFO: TCP Data received {"connection_id":130681,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:54:38] local.INFO: Processing buffer {"connection_id":130681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:54:38] local.INFO: IMEI packet received {"connection_id":130681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":130681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:54:39] local.INFO: TCP Data received {"connection_id":130681,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c46f148012d7f914005afd9380018011b24..."} 
[2026-07-13 21:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c46f148012d7f914005afd9380018011b24..."} 
[2026-07-13 21:54:39] local.INFO: Processing buffer {"connection_id":130681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c46f148012d7f914005afd9380018011b24..."} 
[2026-07-13 21:54:39] local.INFO: Packet analysis {"connection_id":130681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c46"} 
[2026-07-13 21:54:39] local.INFO: Extracted packet for processing {"connection_id":130681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c46"} 
[2026-07-13 21:54:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693575680001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783959581000,"timestamp_ms":1783959581000,"timestamp_seconds":1783959581,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c46f148"} 
[2026-07-13 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-07-13 21:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693575680001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693575680001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:54:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:54:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693575680001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":130681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:54:39] local.INFO: GPS data processed {"connection_id":130681,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:54:39] local.INFO: Acknowledgment sent {"connection_id":130681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:55:10] local.INFO: TCP Data received {"connection_id":130681,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c46f148012d7f914005afd9380018011b24..."} 
[2026-07-13 21:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c46f148012d7f914005afd9380018011b24..."} 
[2026-07-13 21:55:10] local.INFO: Processing buffer {"connection_id":130681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c46f148012d7f914005afd9380018011b24..."} 
[2026-07-13 21:55:10] local.INFO: Packet analysis {"connection_id":130681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c46"} 
[2026-07-13 21:55:10] local.INFO: Extracted packet for processing {"connection_id":130681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c46"} 
[2026-07-13 21:55:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693575680001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783959581000,"timestamp_ms":1783959581000,"timestamp_seconds":1783959581,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c46f148"} 
[2026-07-13 21:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 21:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693575680001,"66":25299,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 21:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693575680001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:55:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 21:55:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693575680001,"power":25299,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":130681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:55:10] local.INFO: GPS data processed {"connection_id":130681,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:55:10] local.INFO: Acknowledgment sent {"connection_id":130681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:55:33] local.INFO: TCP Data received {"connection_id":130896,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:55:33] local.INFO: Processing buffer {"connection_id":130896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:55:33] local.INFO: IMEI packet received {"connection_id":130896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":130896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:55:39] local.INFO: TCP Data received {"connection_id":130896,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:55:39] local.INFO: Processing buffer {"connection_id":130896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:55:39] local.INFO: IMEI packet received {"connection_id":130896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":130896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:55:40] local.INFO: TCP Data received {"connection_id":130896,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c4b8910012d7f914005afd9380018011b21..."} 
[2026-07-13 21:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c4b8910012d7f914005afd9380018011b21..."} 
[2026-07-13 21:55:40] local.INFO: Processing buffer {"connection_id":130896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c4b8910012d7f914005afd9380018011b21..."} 
[2026-07-13 21:55:40] local.INFO: Packet analysis {"connection_id":130896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c4b"} 
[2026-07-13 21:55:40] local.INFO: Extracted packet for processing {"connection_id":130896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c4b"} 
[2026-07-13 21:55:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693652736001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783959882000,"timestamp_ms":1783959882000,"timestamp_seconds":1783959882,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c4b8910"} 
[2026-07-13 21:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 21:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693652736001,"66":25060,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693652736001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:55:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:55:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693652736001,"power":25060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":130896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:55:40] local.INFO: GPS data processed {"connection_id":130896,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:55:40] local.INFO: Acknowledgment sent {"connection_id":130896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:56:11] local.INFO: TCP Data received {"connection_id":130896,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c4b8910012d7f914005afd9380018011b21..."} 
[2026-07-13 21:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c4b8910012d7f914005afd9380018011b21..."} 
[2026-07-13 21:56:11] local.INFO: Processing buffer {"connection_id":130896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c4b8910012d7f914005afd9380018011b21..."} 
[2026-07-13 21:56:11] local.INFO: Packet analysis {"connection_id":130896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c4b"} 
[2026-07-13 21:56:11] local.INFO: Extracted packet for processing {"connection_id":130896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c4b"} 
[2026-07-13 21:56:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693652736001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783959882000,"timestamp_ms":1783959882000,"timestamp_seconds":1783959882,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c4b8910"} 
[2026-07-13 21:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 21:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693652736001,"66":25060,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693652736001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:56:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:56:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693652736001,"power":25060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":130896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:56:11] local.INFO: GPS data processed {"connection_id":130896,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:56:11] local.INFO: Acknowledgment sent {"connection_id":130896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:56:33] local.INFO: TCP Data received {"connection_id":133040,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:56:33] local.INFO: Processing buffer {"connection_id":133040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:56:33] local.INFO: IMEI packet received {"connection_id":133040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":133040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:56:38] local.INFO: TCP Data received {"connection_id":133040,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:56:38] local.INFO: Processing buffer {"connection_id":133040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:56:38] local.INFO: IMEI packet received {"connection_id":133040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":133040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:56:39] local.INFO: TCP Data received {"connection_id":133040,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c4b8910012d7f914005afd9380018011b21..."} 
[2026-07-13 21:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c4b8910012d7f914005afd9380018011b21..."} 
[2026-07-13 21:56:39] local.INFO: Processing buffer {"connection_id":133040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c4b8910012d7f914005afd9380018011b21..."} 
[2026-07-13 21:56:39] local.INFO: Packet analysis {"connection_id":133040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c4b"} 
[2026-07-13 21:56:39] local.INFO: Extracted packet for processing {"connection_id":133040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c4b"} 
[2026-07-13 21:56:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693652736001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783959882000,"timestamp_ms":1783959882000,"timestamp_seconds":1783959882,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c4b8910"} 
[2026-07-13 21:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:56: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-07-13 21:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 21:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693652736001,"66":25060,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693652736001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:56:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:56:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693652736001,"power":25060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":133040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:56:39] local.INFO: GPS data processed {"connection_id":133040,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:56:39] local.INFO: Acknowledgment sent {"connection_id":133040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:56:54] local.INFO: TCP Data received {"connection_id":131725,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131725,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:56:54] local.INFO: Processing buffer {"connection_id":131725,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:56:54] local.INFO: IMEI packet received {"connection_id":131725,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":131725,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:57:11] local.INFO: TCP Data received {"connection_id":133040,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c4b8910012d7f914005afd9380018011b21..."} 
[2026-07-13 21:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c4b8910012d7f914005afd9380018011b21..."} 
[2026-07-13 21:57:11] local.INFO: Processing buffer {"connection_id":133040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c4b8910012d7f914005afd9380018011b21..."} 
[2026-07-13 21:57:11] local.INFO: Packet analysis {"connection_id":133040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c4b"} 
[2026-07-13 21:57:11] local.INFO: Extracted packet for processing {"connection_id":133040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c4b"} 
[2026-07-13 21:57:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693652736001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783959882000,"timestamp_ms":1783959882000,"timestamp_seconds":1783959882,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c4b8910"} 
[2026-07-13 21:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 21:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693652736001,"66":25060,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693652736001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:57:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:57:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693652736001,"power":25060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":133040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:57:11] local.INFO: GPS data processed {"connection_id":133040,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:57:11] local.INFO: Acknowledgment sent {"connection_id":133040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:57:33] local.INFO: TCP Data received {"connection_id":131726,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:57:33] local.INFO: Processing buffer {"connection_id":131726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:57:33] local.INFO: IMEI packet received {"connection_id":131726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":131726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:57:38] local.INFO: TCP Data received {"connection_id":131726,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:57:38] local.INFO: Processing buffer {"connection_id":131726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:57:38] local.INFO: IMEI packet received {"connection_id":131726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":131726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:57:39] local.INFO: TCP Data received {"connection_id":130682,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130682,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:57:39] local.INFO: Processing buffer {"connection_id":130682,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 21:57:39] local.INFO: IMEI packet received {"connection_id":130682,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 21:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":130682,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:57:39] local.INFO: TCP Data received {"connection_id":131726,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c4b8910012d7f914005afd9380018011b21..."} 
[2026-07-13 21:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c4b8910012d7f914005afd9380018011b21..."} 
[2026-07-13 21:57:39] local.INFO: Processing buffer {"connection_id":131726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c4b8910012d7f914005afd9380018011b21..."} 
[2026-07-13 21:57:39] local.INFO: Packet analysis {"connection_id":131726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c4b"} 
[2026-07-13 21:57:39] local.INFO: Extracted packet for processing {"connection_id":131726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c4b"} 
[2026-07-13 21:57:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693652736001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783959882000,"timestamp_ms":1783959882000,"timestamp_seconds":1783959882,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c4b8910"} 
[2026-07-13 21:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:57: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-07-13 21:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 21:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693652736001,"66":25060,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693652736001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:57:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:57:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693652736001,"power":25060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":131726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:57:39] local.INFO: GPS data processed {"connection_id":131726,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:57:39] local.INFO: Acknowledgment sent {"connection_id":131726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:58:11] local.INFO: TCP Data received {"connection_id":131726,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c4b8910012d7f914005afd9380018011b21..."} 
[2026-07-13 21:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c4b8910012d7f914005afd9380018011b21..."} 
[2026-07-13 21:58:11] local.INFO: Processing buffer {"connection_id":131726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c4b8910012d7f914005afd9380018011b21..."} 
[2026-07-13 21:58:11] local.INFO: Packet analysis {"connection_id":131726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c4b"} 
[2026-07-13 21:58:11] local.INFO: Extracted packet for processing {"connection_id":131726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c4b"} 
[2026-07-13 21:58:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693652736001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783959882000,"timestamp_ms":1783959882000,"timestamp_seconds":1783959882,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c4b8910"} 
[2026-07-13 21:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 21:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693652736001,"66":25060,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693652736001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:58:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:58:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693652736001,"power":25060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":131726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:58:11] local.INFO: GPS data processed {"connection_id":131726,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:58:11] local.INFO: Acknowledgment sent {"connection_id":131726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:58:38] local.INFO: TCP Data received {"connection_id":133041,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:58:38] local.INFO: Processing buffer {"connection_id":133041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:58:38] local.INFO: IMEI packet received {"connection_id":133041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":133041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:58:44] local.INFO: TCP Data received {"connection_id":133041,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:58:44] local.INFO: Processing buffer {"connection_id":133041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:58:44] local.INFO: IMEI packet received {"connection_id":133041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":133041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:58:44] local.INFO: TCP Data received {"connection_id":133041,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c4b8910012d7f914005afd9380018011b21..."} 
[2026-07-13 21:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c4b8910012d7f914005afd9380018011b21..."} 
[2026-07-13 21:58:44] local.INFO: Processing buffer {"connection_id":133041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c4b8910012d7f914005afd9380018011b21..."} 
[2026-07-13 21:58:44] local.INFO: Packet analysis {"connection_id":133041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c4b"} 
[2026-07-13 21:58:44] local.INFO: Extracted packet for processing {"connection_id":133041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c4b"} 
[2026-07-13 21:58:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693652736001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783959882000,"timestamp_ms":1783959882000,"timestamp_seconds":1783959882,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c4b8910"} 
[2026-07-13 21:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 21:58:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":133041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":133041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":133041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693652736001,"66":25060,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693652736001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:58:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:58:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693652736001,"power":25060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":133041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:58:44] local.INFO: GPS data processed {"connection_id":133041,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:58:44] local.INFO: Acknowledgment sent {"connection_id":133041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:59:15] local.INFO: TCP Data received {"connection_id":133041,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c4b8910012d7f914005afd9380018011b21..."} 
[2026-07-13 21:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c4b8910012d7f914005afd9380018011b21..."} 
[2026-07-13 21:59:15] local.INFO: Processing buffer {"connection_id":133041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c4b8910012d7f914005afd9380018011b21..."} 
[2026-07-13 21:59:15] local.INFO: Packet analysis {"connection_id":133041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c4b"} 
[2026-07-13 21:59:15] local.INFO: Extracted packet for processing {"connection_id":133041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c4b"} 
[2026-07-13 21:59:15] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 21:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 21:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693652736001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783959882000,"timestamp_ms":1783959882000,"timestamp_seconds":1783959882,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c4b8910"} 
[2026-07-13 21:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 21:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 21:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 21:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 21:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 21:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 21:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":133041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":133041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":133041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693652736001,"66":25060,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693652736001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:59:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:59:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693652736001,"power":25060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":133041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:59:15] local.INFO: GPS data processed {"connection_id":133041,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:59:15] local.INFO: Acknowledgment sent {"connection_id":133041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 21:59:33] local.INFO: TCP Data received {"connection_id":130683,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:59:33] local.INFO: Processing buffer {"connection_id":130683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:59:33] local.INFO: IMEI packet received {"connection_id":130683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 21:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":130683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 21:59:38] local.INFO: TCP Data received {"connection_id":130683,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:59:38] local.INFO: Processing buffer {"connection_id":130683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 21:59:38] local.INFO: IMEI packet received {"connection_id":130683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 21:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":130683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 21:59:39] local.INFO: TCP Data received {"connection_id":130683,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c4b8910012d7f914005afd9380018011b21..."} 
[2026-07-13 21:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c4b8910012d7f914005afd9380018011b21..."} 
[2026-07-13 21:59:39] local.INFO: Processing buffer {"connection_id":130683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c4b8910012d7f914005afd9380018011b21..."} 
[2026-07-13 21:59:39] local.INFO: Packet analysis {"connection_id":130683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c4b"} 
[2026-07-13 21:59:39] local.INFO: Extracted packet for processing {"connection_id":130683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c4b"} 
[2026-07-13 21:59:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 21:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693652736001,"note":"Value kept but may cause issues"} 
[2026-07-13 21:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 21:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 21:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 21:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783959882000,"timestamp_ms":1783959882000,"timestamp_seconds":1783959882,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c4b8910"} 
[2026-07-13 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-07-13 21:59: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-07-13 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 21:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 21:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 21:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 21:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 21:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 21:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 21:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 21:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693652736001,"66":25060,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 21:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 21:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 21:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693652736001,"description":"Unknown IO ID 0"} 
[2026-07-13 21:59:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 21:59:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 21:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 21:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 21:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693652736001,"power":25060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 21:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":130683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 21:59:39] local.INFO: GPS data processed {"connection_id":130683,"processed":1,"errors":0,"total":1} 
[2026-07-13 21:59:39] local.INFO: Acknowledgment sent {"connection_id":130683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:00:15] local.INFO: TCP Data received {"connection_id":130683,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c4b8910012d7f914005afd9380018011b21..."} 
[2026-07-13 22:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c4b8910012d7f914005afd9380018011b21..."} 
[2026-07-13 22:00:15] local.INFO: Processing buffer {"connection_id":130683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c4b8910012d7f914005afd9380018011b21..."} 
[2026-07-13 22:00:15] local.INFO: Packet analysis {"connection_id":130683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c4b"} 
[2026-07-13 22:00:15] local.INFO: Extracted packet for processing {"connection_id":130683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c4b"} 
[2026-07-13 22:00:15] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693652736001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783959882000,"timestamp_ms":1783959882000,"timestamp_seconds":1783959882,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c4b8910"} 
[2026-07-13 22:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-13 22:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693652736001,"66":25060,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 22:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693652736001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:00:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 22:00:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693652736001,"power":25060,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":130683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:00:15] local.INFO: GPS data processed {"connection_id":130683,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:00:15] local.INFO: Acknowledgment sent {"connection_id":130683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:00:33] local.INFO: TCP Data received {"connection_id":130897,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:00:33] local.INFO: Processing buffer {"connection_id":130897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:00:33] local.INFO: IMEI packet received {"connection_id":130897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":130897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:00:38] local.INFO: TCP Data received {"connection_id":130897,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:00:38] local.INFO: Processing buffer {"connection_id":130897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:00:38] local.INFO: IMEI packet received {"connection_id":130897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":130897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:00:43] local.INFO: TCP Data received {"connection_id":130897,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:00:43] local.INFO: Processing buffer {"connection_id":130897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:00:43] local.INFO: IMEI packet received {"connection_id":130897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":130897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:00:44] local.INFO: TCP Data received {"connection_id":130897,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c5020d8012d7f914005afd9380018011b23..."} 
[2026-07-13 22:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c5020d8012d7f914005afd9380018011b23..."} 
[2026-07-13 22:00:44] local.INFO: Processing buffer {"connection_id":130897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c5020d8012d7f914005afd9380018011b23..."} 
[2026-07-13 22:00:44] local.INFO: Packet analysis {"connection_id":130897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c50"} 
[2026-07-13 22:00:44] local.INFO: Extracted packet for processing {"connection_id":130897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c50"} 
[2026-07-13 22:00:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693729792001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783960183000,"timestamp_ms":1783960183000,"timestamp_seconds":1783960183,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c5020d8"} 
[2026-07-13 22:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-13 22:00:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:00:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693729792001,"66":25212,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 22:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693729792001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:00:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 22:00:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693729792001,"power":25212,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":130897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:00:44] local.INFO: GPS data processed {"connection_id":130897,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:00:44] local.INFO: Acknowledgment sent {"connection_id":130897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:01:15] local.INFO: TCP Data received {"connection_id":130897,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c5020d8012d7f914005afd9380018011b23..."} 
[2026-07-13 22:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c5020d8012d7f914005afd9380018011b23..."} 
[2026-07-13 22:01:15] local.INFO: Processing buffer {"connection_id":130897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c5020d8012d7f914005afd9380018011b23..."} 
[2026-07-13 22:01:15] local.INFO: Packet analysis {"connection_id":130897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c50"} 
[2026-07-13 22:01:15] local.INFO: Extracted packet for processing {"connection_id":130897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c50"} 
[2026-07-13 22:01:15] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693729792001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783960183000,"timestamp_ms":1783960183000,"timestamp_seconds":1783960183,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c5020d8"} 
[2026-07-13 22:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-13 22:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693729792001,"66":25212,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 22:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693729792001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:01:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 22:01:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693729792001,"power":25212,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":130897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:01:15] local.INFO: GPS data processed {"connection_id":130897,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:01:15] local.INFO: Acknowledgment sent {"connection_id":130897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:01:33] local.INFO: TCP Data received {"connection_id":130684,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:01:33] local.INFO: Processing buffer {"connection_id":130684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:01:33] local.INFO: IMEI packet received {"connection_id":130684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":130684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:01:38] local.INFO: TCP Data received {"connection_id":130684,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:01:38] local.INFO: Processing buffer {"connection_id":130684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:01:38] local.INFO: IMEI packet received {"connection_id":130684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":130684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:01:39] local.INFO: TCP Data received {"connection_id":130684,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c5020d8012d7f914005afd9380018011b23..."} 
[2026-07-13 22:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c5020d8012d7f914005afd9380018011b23..."} 
[2026-07-13 22:01:39] local.INFO: Processing buffer {"connection_id":130684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c5020d8012d7f914005afd9380018011b23..."} 
[2026-07-13 22:01:39] local.INFO: Packet analysis {"connection_id":130684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c50"} 
[2026-07-13 22:01:39] local.INFO: Extracted packet for processing {"connection_id":130684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c50"} 
[2026-07-13 22:01:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 22:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693729792001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783960183000,"timestamp_ms":1783960183000,"timestamp_seconds":1783960183,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c5020d8"} 
[2026-07-13 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-07-13 22:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-13 22:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 22:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693729792001,"66":25212,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 22:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693729792001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:01:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 22:01:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693729792001,"power":25212,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":130684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:01:39] local.INFO: GPS data processed {"connection_id":130684,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:01:39] local.INFO: Acknowledgment sent {"connection_id":130684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:02:10] local.INFO: TCP Data received {"connection_id":130684,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c5020d8012d7f914005afd9380018011b23..."} 
[2026-07-13 22:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c5020d8012d7f914005afd9380018011b23..."} 
[2026-07-13 22:02:10] local.INFO: Processing buffer {"connection_id":130684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c5020d8012d7f914005afd9380018011b23..."} 
[2026-07-13 22:02:10] local.INFO: Packet analysis {"connection_id":130684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c50"} 
[2026-07-13 22:02:10] local.INFO: Extracted packet for processing {"connection_id":130684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c50"} 
[2026-07-13 22:02:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693729792001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783960183000,"timestamp_ms":1783960183000,"timestamp_seconds":1783960183,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c5020d8"} 
[2026-07-13 22:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-13 22:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693729792001,"66":25212,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 22:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693729792001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:02:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 22:02:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693729792001,"power":25212,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":130684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:02:11] local.INFO: GPS data processed {"connection_id":130684,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:02:11] local.INFO: Acknowledgment sent {"connection_id":130684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:02:33] local.INFO: TCP Data received {"connection_id":133043,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:02:33] local.INFO: Processing buffer {"connection_id":133043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:02:33] local.INFO: IMEI packet received {"connection_id":133043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":133043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:02:38] local.INFO: TCP Data received {"connection_id":133043,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:02:38] local.INFO: Processing buffer {"connection_id":133043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:02:38] local.INFO: IMEI packet received {"connection_id":133043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":133043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:02:40] local.INFO: TCP Data received {"connection_id":133043,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c5020d8012d7f914005afd9380018011b23..."} 
[2026-07-13 22:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c5020d8012d7f914005afd9380018011b23..."} 
[2026-07-13 22:02:40] local.INFO: Processing buffer {"connection_id":133043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c5020d8012d7f914005afd9380018011b23..."} 
[2026-07-13 22:02:40] local.INFO: Packet analysis {"connection_id":133043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c50"} 
[2026-07-13 22:02:40] local.INFO: Extracted packet for processing {"connection_id":133043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c50"} 
[2026-07-13 22:02:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693729792001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783960183000,"timestamp_ms":1783960183000,"timestamp_seconds":1783960183,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c5020d8"} 
[2026-07-13 22:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-13 22:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":133043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":133043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":133043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693729792001,"66":25212,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 22:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693729792001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:02:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 22:02:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693729792001,"power":25212,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":133043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:02:40] local.INFO: GPS data processed {"connection_id":133043,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:02:40] local.INFO: Acknowledgment sent {"connection_id":133043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:02:44] local.INFO: TCP Data received {"connection_id":133044,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:02:44] local.INFO: Processing buffer {"connection_id":133044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:02:44] local.INFO: IMEI packet received {"connection_id":133044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 22:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":133044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:03:12] local.INFO: TCP Data received {"connection_id":133043,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c5020d8012d7f914005afd9380018011b23..."} 
[2026-07-13 22:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c5020d8012d7f914005afd9380018011b23..."} 
[2026-07-13 22:03:12] local.INFO: Processing buffer {"connection_id":133043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c5020d8012d7f914005afd9380018011b23..."} 
[2026-07-13 22:03:12] local.INFO: Packet analysis {"connection_id":133043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c50"} 
[2026-07-13 22:03:12] local.INFO: Extracted packet for processing {"connection_id":133043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c50"} 
[2026-07-13 22:03:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693729792001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783960183000,"timestamp_ms":1783960183000,"timestamp_seconds":1783960183,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c5020d8"} 
[2026-07-13 22:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-13 22:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693729792001,"66":25212,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 22:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693729792001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:03:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 22:03:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693729792001,"power":25212,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":133043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:03:12] local.INFO: GPS data processed {"connection_id":133043,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:03:12] local.INFO: Acknowledgment sent {"connection_id":133043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:03:33] local.INFO: TCP Data received {"connection_id":131729,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:03:33] local.INFO: Processing buffer {"connection_id":131729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:03:33] local.INFO: IMEI packet received {"connection_id":131729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":131729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:03:45] local.INFO: TCP Data received {"connection_id":131729,"ip":"42.106.6.43","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-13 22:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131729,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-13 22:03:45] local.INFO: Processing buffer {"connection_id":131729,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-13 22:03:45] local.INFO: IMEI packet received {"connection_id":131729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":131729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:03:48] local.INFO: TCP Data received {"connection_id":131729,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:03:48] local.INFO: Processing buffer {"connection_id":131729,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-13 22:03:48] local.INFO: IMEI packet received {"connection_id":131729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":131729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:03:49] local.INFO: TCP Data received {"connection_id":131729,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c5020d8012d7f914005afd9380018011b23..."} 
[2026-07-13 22:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c5020d8012d7f914005afd9380018011b23..."} 
[2026-07-13 22:03:49] local.INFO: Processing buffer {"connection_id":131729,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f5c..."} 
[2026-07-13 22:03:49] local.INFO: IMEI packet received {"connection_id":131729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":131729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:03:54] local.INFO: TCP Data received {"connection_id":131729,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c5020d8012d7f914005afd9380018011b23..."} 
[2026-07-13 22:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c5020d8012d7f914005afd9380018011b23..."} 
[2026-07-13 22:03:54] local.INFO: Processing buffer {"connection_id":131729,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f5c5020d8012d7f914005afd9380018011b23..."} 
[2026-07-13 22:03:54] local.INFO: Packet analysis {"connection_id":131729,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f5c50"} 
[2026-07-13 22:03:54] local.INFO: Extracted packet for processing {"connection_id":131729,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c50"} 
[2026-07-13 22:03:54] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693729792001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783960183000,"timestamp_ms":1783960183000,"timestamp_seconds":1783960183,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c5020d8"} 
[2026-07-13 22:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-13 22:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22: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-07-13 22:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":131729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":131729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":131729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:03: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-07-13 22:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693729792001,"66":25212,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 22:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693729792001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:03:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 22:03:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693729792001,"power":25212,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":131729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:03:54] local.INFO: GPS data processed {"connection_id":131729,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:03:54] local.INFO: Acknowledgment sent {"connection_id":131729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:03:54] local.INFO: Packet analysis {"connection_id":131729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c50"} 
[2026-07-13 22:03:54] local.INFO: Extracted packet for processing {"connection_id":131729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c50"} 
[2026-07-13 22:03:54] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693729792001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783960183000,"timestamp_ms":1783960183000,"timestamp_seconds":1783960183,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c5020d8"} 
[2026-07-13 22:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-13 22:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22: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-07-13 22:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":131729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":131729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":131729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:03: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-07-13 22:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693729792001,"66":25212,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 22:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693729792001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:03:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 22:03:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693729792001,"power":25212,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":131729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:03:54] local.INFO: GPS data processed {"connection_id":131729,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:03:54] local.INFO: Acknowledgment sent {"connection_id":131729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:04:49] local.INFO: TCP Data received {"connection_id":130900,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:04:49] local.INFO: Processing buffer {"connection_id":130900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:04:49] local.INFO: IMEI packet received {"connection_id":130900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":130900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:04:53] local.INFO: TCP Data received {"connection_id":130900,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:04:53] local.INFO: Processing buffer {"connection_id":130900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:04:53] local.INFO: IMEI packet received {"connection_id":130900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":130900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:04:54] local.INFO: TCP Data received {"connection_id":130900,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c5020d8012d7f914005afd9380018011b23..."} 
[2026-07-13 22:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c5020d8012d7f914005afd9380018011b23..."} 
[2026-07-13 22:04:54] local.INFO: Processing buffer {"connection_id":130900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c5020d8012d7f914005afd9380018011b23..."} 
[2026-07-13 22:04:54] local.INFO: Packet analysis {"connection_id":130900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c50"} 
[2026-07-13 22:04:54] local.INFO: Extracted packet for processing {"connection_id":130900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c50"} 
[2026-07-13 22:04:54] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693729792001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783960183000,"timestamp_ms":1783960183000,"timestamp_seconds":1783960183,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c5020d8"} 
[2026-07-13 22:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-13 22:04:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":130900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":130900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":130900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693729792001,"66":25212,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 22:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693729792001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:04:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 22:04:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693729792001,"power":25212,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":130900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:04:54] local.INFO: GPS data processed {"connection_id":130900,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:04:54] local.INFO: Acknowledgment sent {"connection_id":130900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:05:33] local.INFO: TCP Data received {"connection_id":130685,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:05:33] local.INFO: Processing buffer {"connection_id":130685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:05:33] local.INFO: IMEI packet received {"connection_id":130685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":130685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:05:38] local.INFO: TCP Data received {"connection_id":130685,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:05:38] local.INFO: Processing buffer {"connection_id":130685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:05:38] local.INFO: IMEI packet received {"connection_id":130685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":130685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:05:39] local.INFO: TCP Data received {"connection_id":130685,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c54b8a0012d7f914005afd9380018011b23..."} 
[2026-07-13 22:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c54b8a0012d7f914005afd9380018011b23..."} 
[2026-07-13 22:05:39] local.INFO: Processing buffer {"connection_id":130685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c54b8a0012d7f914005afd9380018011b23..."} 
[2026-07-13 22:05:39] local.INFO: Packet analysis {"connection_id":130685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c54"} 
[2026-07-13 22:05:39] local.INFO: Extracted packet for processing {"connection_id":130685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c54"} 
[2026-07-13 22:05:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 22:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693806848001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783960484000,"timestamp_ms":1783960484000,"timestamp_seconds":1783960484,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c54b8a0"} 
[2026-07-13 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-07-13 22: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-07-13 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 22:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 22:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693806848001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 22:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693806848001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:05:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 22:05:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693806848001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":130685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:05:39] local.INFO: GPS data processed {"connection_id":130685,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:05:39] local.INFO: Acknowledgment sent {"connection_id":130685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:06:10] local.INFO: TCP Data received {"connection_id":130685,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c54b8a0012d7f914005afd9380018011b23..."} 
[2026-07-13 22:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c54b8a0012d7f914005afd9380018011b23..."} 
[2026-07-13 22:06:10] local.INFO: Processing buffer {"connection_id":130685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c54b8a0012d7f914005afd9380018011b23..."} 
[2026-07-13 22:06:10] local.INFO: Packet analysis {"connection_id":130685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c54"} 
[2026-07-13 22:06:10] local.INFO: Extracted packet for processing {"connection_id":130685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c54"} 
[2026-07-13 22:06:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693806848001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783960484000,"timestamp_ms":1783960484000,"timestamp_seconds":1783960484,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c54b8a0"} 
[2026-07-13 22:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 22:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693806848001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 22:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693806848001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:06:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 22:06:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693806848001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":130685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:06:10] local.INFO: GPS data processed {"connection_id":130685,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:06:10] local.INFO: Acknowledgment sent {"connection_id":130685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:06:33] local.INFO: TCP Data received {"connection_id":133045,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:06:33] local.INFO: Processing buffer {"connection_id":133045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:06:33] local.INFO: IMEI packet received {"connection_id":133045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":133045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:06:39] local.INFO: TCP Data received {"connection_id":133045,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:06:39] local.INFO: Processing buffer {"connection_id":133045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:06:39] local.INFO: IMEI packet received {"connection_id":133045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":133045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:06:39] local.INFO: TCP Data received {"connection_id":133045,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c54b8a0012d7f914005afd9380018011b23..."} 
[2026-07-13 22:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c54b8a0012d7f914005afd9380018011b23..."} 
[2026-07-13 22:06:39] local.INFO: Processing buffer {"connection_id":133045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c54b8a0012d7f914005afd9380018011b23..."} 
[2026-07-13 22:06:39] local.INFO: Packet analysis {"connection_id":133045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c54"} 
[2026-07-13 22:06:39] local.INFO: Extracted packet for processing {"connection_id":133045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c54"} 
[2026-07-13 22:06:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 22:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693806848001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783960484000,"timestamp_ms":1783960484000,"timestamp_seconds":1783960484,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c54b8a0"} 
[2026-07-13 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-07-13 22:06: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-07-13 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 22:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 22:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693806848001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 22:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693806848001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:06:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 22:06:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693806848001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":133045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:06:39] local.INFO: GPS data processed {"connection_id":133045,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:06:39] local.INFO: Acknowledgment sent {"connection_id":133045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:07:11] local.INFO: TCP Data received {"connection_id":133045,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c54b8a0012d7f914005afd9380018011b23..."} 
[2026-07-13 22:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c54b8a0012d7f914005afd9380018011b23..."} 
[2026-07-13 22:07:11] local.INFO: Processing buffer {"connection_id":133045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c54b8a0012d7f914005afd9380018011b23..."} 
[2026-07-13 22:07:11] local.INFO: Packet analysis {"connection_id":133045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c54"} 
[2026-07-13 22:07:11] local.INFO: Extracted packet for processing {"connection_id":133045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c54"} 
[2026-07-13 22:07:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693806848001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783960484000,"timestamp_ms":1783960484000,"timestamp_seconds":1783960484,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c54b8a0"} 
[2026-07-13 22:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 22:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693806848001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 22:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693806848001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:07:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 22:07:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693806848001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":133045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:07:11] local.INFO: GPS data processed {"connection_id":133045,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:07:11] local.INFO: Acknowledgment sent {"connection_id":133045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:07:33] local.INFO: TCP Data received {"connection_id":133046,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:07:33] local.INFO: Processing buffer {"connection_id":133046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:07:33] local.INFO: IMEI packet received {"connection_id":133046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":133046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:07:38] local.INFO: TCP Data received {"connection_id":133046,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:07:38] local.INFO: Processing buffer {"connection_id":133046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:07:38] local.INFO: IMEI packet received {"connection_id":133046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":133046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:07:39] local.INFO: TCP Data received {"connection_id":133046,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c54b8a0012d7f914005afd9380018011b23..."} 
[2026-07-13 22:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c54b8a0012d7f914005afd9380018011b23..."} 
[2026-07-13 22:07:39] local.INFO: Processing buffer {"connection_id":133046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c54b8a0012d7f914005afd9380018011b23..."} 
[2026-07-13 22:07:39] local.INFO: Packet analysis {"connection_id":133046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c54"} 
[2026-07-13 22:07:39] local.INFO: Extracted packet for processing {"connection_id":133046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c54"} 
[2026-07-13 22:07:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693806848001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783960484000,"timestamp_ms":1783960484000,"timestamp_seconds":1783960484,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c54b8a0"} 
[2026-07-13 22:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:07: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-07-13 22:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 22:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693806848001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 22:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693806848001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:07:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 22:07:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693806848001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":133046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:07:39] local.INFO: GPS data processed {"connection_id":133046,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:07:39] local.INFO: Acknowledgment sent {"connection_id":133046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:08:11] local.INFO: TCP Data received {"connection_id":133046,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c54b8a0012d7f914005afd9380018011b23..."} 
[2026-07-13 22:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c54b8a0012d7f914005afd9380018011b23..."} 
[2026-07-13 22:08:11] local.INFO: Processing buffer {"connection_id":133046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c54b8a0012d7f914005afd9380018011b23..."} 
[2026-07-13 22:08:11] local.INFO: Packet analysis {"connection_id":133046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c54"} 
[2026-07-13 22:08:11] local.INFO: Extracted packet for processing {"connection_id":133046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c54"} 
[2026-07-13 22:08:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693806848001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783960484000,"timestamp_ms":1783960484000,"timestamp_seconds":1783960484,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c54b8a0"} 
[2026-07-13 22:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 22:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693806848001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 22:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693806848001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:08:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 22:08:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693806848001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":133046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:08:11] local.INFO: GPS data processed {"connection_id":133046,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:08:11] local.INFO: Acknowledgment sent {"connection_id":133046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:08:19] local.INFO: TCP Data received {"connection_id":130687,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130687,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:08:19] local.INFO: Processing buffer {"connection_id":130687,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:08:19] local.INFO: IMEI packet received {"connection_id":130687,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 22:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":130687,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:08:34] local.INFO: TCP Data received {"connection_id":131732,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:08:34] local.INFO: Processing buffer {"connection_id":131732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:08:34] local.INFO: IMEI packet received {"connection_id":131732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":131732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:08:38] local.INFO: TCP Data received {"connection_id":131732,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:08:38] local.INFO: Processing buffer {"connection_id":131732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:08:38] local.INFO: IMEI packet received {"connection_id":131732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":131732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:08:39] local.INFO: TCP Data received {"connection_id":133047,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133047,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:08:39] local.INFO: Processing buffer {"connection_id":133047,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:08:39] local.INFO: IMEI packet received {"connection_id":133047,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 22:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":133047,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:08:39] local.INFO: TCP Data received {"connection_id":131732,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c54b8a0012d7f914005afd9380018011b23..."} 
[2026-07-13 22:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c54b8a0012d7f914005afd9380018011b23..."} 
[2026-07-13 22:08:39] local.INFO: Processing buffer {"connection_id":131732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c54b8a0012d7f914005afd9380018011b23..."} 
[2026-07-13 22:08:39] local.INFO: Packet analysis {"connection_id":131732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c54"} 
[2026-07-13 22:08:39] local.INFO: Extracted packet for processing {"connection_id":131732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c54"} 
[2026-07-13 22:08:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 22:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693806848001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783960484000,"timestamp_ms":1783960484000,"timestamp_seconds":1783960484,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c54b8a0"} 
[2026-07-13 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-07-13 22:08: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-07-13 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 22:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 22:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693806848001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 22:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693806848001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:08:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 22:08:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693806848001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":131732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:08:39] local.INFO: GPS data processed {"connection_id":131732,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:08:39] local.INFO: Acknowledgment sent {"connection_id":131732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:09:10] local.INFO: TCP Data received {"connection_id":131732,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c54b8a0012d7f914005afd9380018011b23..."} 
[2026-07-13 22:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c54b8a0012d7f914005afd9380018011b23..."} 
[2026-07-13 22:09:10] local.INFO: Processing buffer {"connection_id":131732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c54b8a0012d7f914005afd9380018011b23..."} 
[2026-07-13 22:09:10] local.INFO: Packet analysis {"connection_id":131732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c54"} 
[2026-07-13 22:09:10] local.INFO: Extracted packet for processing {"connection_id":131732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c54"} 
[2026-07-13 22:09:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693806848001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783960484000,"timestamp_ms":1783960484000,"timestamp_seconds":1783960484,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c54b8a0"} 
[2026-07-13 22:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 22:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693806848001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 22:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693806848001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:09:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 22:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693806848001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":131732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:09:10] local.INFO: GPS data processed {"connection_id":131732,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:09:10] local.INFO: Acknowledgment sent {"connection_id":131732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:09:38] local.INFO: TCP Data received {"connection_id":130901,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:09:38] local.INFO: Processing buffer {"connection_id":130901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:09:38] local.INFO: IMEI packet received {"connection_id":130901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":130901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:09:44] local.INFO: TCP Data received {"connection_id":130901,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:09:44] local.INFO: Processing buffer {"connection_id":130901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:09:44] local.INFO: IMEI packet received {"connection_id":130901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":130901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:09:44] local.INFO: TCP Data received {"connection_id":130901,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c54b8a0012d7f914005afd9380018011b23..."} 
[2026-07-13 22:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c54b8a0012d7f914005afd9380018011b23..."} 
[2026-07-13 22:09:44] local.INFO: Processing buffer {"connection_id":130901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c54b8a0012d7f914005afd9380018011b23..."} 
[2026-07-13 22:09:44] local.INFO: Packet analysis {"connection_id":130901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c54"} 
[2026-07-13 22:09:44] local.INFO: Extracted packet for processing {"connection_id":130901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c54"} 
[2026-07-13 22:09:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693806848001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783960484000,"timestamp_ms":1783960484000,"timestamp_seconds":1783960484,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c54b8a0"} 
[2026-07-13 22:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 22:09:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:09:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693806848001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 22:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693806848001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:09:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 22:09:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693806848001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":130901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:09:44] local.INFO: GPS data processed {"connection_id":130901,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:09:44] local.INFO: Acknowledgment sent {"connection_id":130901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:10:16] local.INFO: TCP Data received {"connection_id":130901,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c54b8a0012d7f914005afd9380018011b23..."} 
[2026-07-13 22:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c54b8a0012d7f914005afd9380018011b23..."} 
[2026-07-13 22:10:16] local.INFO: Processing buffer {"connection_id":130901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c54b8a0012d7f914005afd9380018011b23..."} 
[2026-07-13 22:10:16] local.INFO: Packet analysis {"connection_id":130901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c54"} 
[2026-07-13 22:10:16] local.INFO: Extracted packet for processing {"connection_id":130901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c54"} 
[2026-07-13 22:10:16] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693806848001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783960484000,"timestamp_ms":1783960484000,"timestamp_seconds":1783960484,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c54b8a0"} 
[2026-07-13 22:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 22:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693806848001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 22:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693806848001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:10:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 22:10:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693806848001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":130901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:10:16] local.INFO: GPS data processed {"connection_id":130901,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:10:16] local.INFO: Acknowledgment sent {"connection_id":130901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:10:33] local.INFO: TCP Data received {"connection_id":130688,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:10:33] local.INFO: Processing buffer {"connection_id":130688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:10:33] local.INFO: IMEI packet received {"connection_id":130688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":130688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:10:38] local.INFO: TCP Data received {"connection_id":130688,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:10:38] local.INFO: Processing buffer {"connection_id":130688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:10:38] local.INFO: IMEI packet received {"connection_id":130688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":130688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:10:39] local.INFO: TCP Data received {"connection_id":130688,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c595068012d7f914005afd938001a011b26..."} 
[2026-07-13 22:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c595068012d7f914005afd938001a011b26..."} 
[2026-07-13 22:10:39] local.INFO: Processing buffer {"connection_id":130688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c595068012d7f914005afd938001a011b26..."} 
[2026-07-13 22:10:39] local.INFO: Packet analysis {"connection_id":130688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c59"} 
[2026-07-13 22:10:39] local.INFO: Extracted packet for processing {"connection_id":130688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c59"} 
[2026-07-13 22:10:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 22:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693883904001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783960785000,"timestamp_ms":1783960785000,"timestamp_seconds":1783960785,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c595068"} 
[2026-07-13 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-07-13 22:10: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-07-13 22:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 22:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693883904001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 22:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693883904001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:10:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 22:10:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693883904001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":130688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:10:39] local.INFO: GPS data processed {"connection_id":130688,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:10:39] local.INFO: Acknowledgment sent {"connection_id":130688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:11:10] local.INFO: TCP Data received {"connection_id":130688,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c595068012d7f914005afd938001a011b26..."} 
[2026-07-13 22:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c595068012d7f914005afd938001a011b26..."} 
[2026-07-13 22:11:10] local.INFO: Processing buffer {"connection_id":130688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c595068012d7f914005afd938001a011b26..."} 
[2026-07-13 22:11:10] local.INFO: Packet analysis {"connection_id":130688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c59"} 
[2026-07-13 22:11:10] local.INFO: Extracted packet for processing {"connection_id":130688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c59"} 
[2026-07-13 22:11:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693883904001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783960785000,"timestamp_ms":1783960785000,"timestamp_seconds":1783960785,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c595068"} 
[2026-07-13 22:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693883904001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 22:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693883904001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:11:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 22:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693883904001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":130688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:11:10] local.INFO: GPS data processed {"connection_id":130688,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:11:10] local.INFO: Acknowledgment sent {"connection_id":130688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:11:33] local.INFO: TCP Data received {"connection_id":130902,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:11:33] local.INFO: Processing buffer {"connection_id":130902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:11:33] local.INFO: IMEI packet received {"connection_id":130902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":130902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:11:38] local.INFO: TCP Data received {"connection_id":130902,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:11:38] local.INFO: Processing buffer {"connection_id":130902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:11:38] local.INFO: IMEI packet received {"connection_id":130902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":130902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:11:39] local.INFO: TCP Data received {"connection_id":130902,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c595068012d7f914005afd938001a011b26..."} 
[2026-07-13 22:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c595068012d7f914005afd938001a011b26..."} 
[2026-07-13 22:11:39] local.INFO: Processing buffer {"connection_id":130902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c595068012d7f914005afd938001a011b26..."} 
[2026-07-13 22:11:39] local.INFO: Packet analysis {"connection_id":130902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c59"} 
[2026-07-13 22:11:39] local.INFO: Extracted packet for processing {"connection_id":130902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c59"} 
[2026-07-13 22:11:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 22:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693883904001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783960785000,"timestamp_ms":1783960785000,"timestamp_seconds":1783960785,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c595068"} 
[2026-07-13 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-07-13 22:11: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-07-13 22:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 22:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693883904001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 22:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693883904001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:11:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 22:11:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693883904001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":130902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:11:39] local.INFO: GPS data processed {"connection_id":130902,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:11:39] local.INFO: Acknowledgment sent {"connection_id":130902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:12:11] local.INFO: TCP Data received {"connection_id":130902,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c595068012d7f914005afd938001a011b26..."} 
[2026-07-13 22:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c595068012d7f914005afd938001a011b26..."} 
[2026-07-13 22:12:11] local.INFO: Processing buffer {"connection_id":130902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c595068012d7f914005afd938001a011b26..."} 
[2026-07-13 22:12:11] local.INFO: Packet analysis {"connection_id":130902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c59"} 
[2026-07-13 22:12:11] local.INFO: Extracted packet for processing {"connection_id":130902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c59"} 
[2026-07-13 22:12:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693883904001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783960785000,"timestamp_ms":1783960785000,"timestamp_seconds":1783960785,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c595068"} 
[2026-07-13 22:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693883904001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 22:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693883904001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:12:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 22:12:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693883904001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":130902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:12:11] local.INFO: GPS data processed {"connection_id":130902,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:12:11] local.INFO: Acknowledgment sent {"connection_id":130902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:12:33] local.INFO: TCP Data received {"connection_id":133049,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:12:33] local.INFO: Processing buffer {"connection_id":133049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:12:33] local.INFO: IMEI packet received {"connection_id":133049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":133049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:12:38] local.INFO: TCP Data received {"connection_id":133049,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:12:38] local.INFO: Processing buffer {"connection_id":133049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:12:38] local.INFO: IMEI packet received {"connection_id":133049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":133049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:12:39] local.INFO: TCP Data received {"connection_id":133049,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c595068012d7f914005afd938001a011b26..."} 
[2026-07-13 22:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c595068012d7f914005afd938001a011b26..."} 
[2026-07-13 22:12:39] local.INFO: Processing buffer {"connection_id":133049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c595068012d7f914005afd938001a011b26..."} 
[2026-07-13 22:12:39] local.INFO: Packet analysis {"connection_id":133049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c59"} 
[2026-07-13 22:12:39] local.INFO: Extracted packet for processing {"connection_id":133049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c59"} 
[2026-07-13 22:12:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693883904001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783960785000,"timestamp_ms":1783960785000,"timestamp_seconds":1783960785,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c595068"} 
[2026-07-13 22:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:12: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-07-13 22:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693883904001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 22:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693883904001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:12:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 22:12:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693883904001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":133049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:12:39] local.INFO: GPS data processed {"connection_id":133049,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:12:39] local.INFO: Acknowledgment sent {"connection_id":133049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:13:10] local.INFO: TCP Data received {"connection_id":133049,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c595068012d7f914005afd938001a011b26..."} 
[2026-07-13 22:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c595068012d7f914005afd938001a011b26..."} 
[2026-07-13 22:13:10] local.INFO: Processing buffer {"connection_id":133049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c595068012d7f914005afd938001a011b26..."} 
[2026-07-13 22:13:10] local.INFO: Packet analysis {"connection_id":133049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c59"} 
[2026-07-13 22:13:10] local.INFO: Extracted packet for processing {"connection_id":133049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c59"} 
[2026-07-13 22:13:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 22:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693883904001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783960785000,"timestamp_ms":1783960785000,"timestamp_seconds":1783960785,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c595068"} 
[2026-07-13 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-07-13 22:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 22:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":133049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":133049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":133049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693883904001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 22:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693883904001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:13:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 22:13:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693883904001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":133049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:13:10] local.INFO: GPS data processed {"connection_id":133049,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:13:10] local.INFO: Acknowledgment sent {"connection_id":133049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:13:33] local.INFO: TCP Data received {"connection_id":131733,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:13:33] local.INFO: Processing buffer {"connection_id":131733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:13:33] local.INFO: IMEI packet received {"connection_id":131733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":131733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:13:38] local.INFO: TCP Data received {"connection_id":131733,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:13:38] local.INFO: Processing buffer {"connection_id":131733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:13:38] local.INFO: IMEI packet received {"connection_id":131733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":131733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:13:39] local.INFO: TCP Data received {"connection_id":131733,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c595068012d7f914005afd938001a011b26..."} 
[2026-07-13 22:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c595068012d7f914005afd938001a011b26..."} 
[2026-07-13 22:13:39] local.INFO: Processing buffer {"connection_id":131733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c595068012d7f914005afd938001a011b26..."} 
[2026-07-13 22:13:39] local.INFO: Packet analysis {"connection_id":131733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c59"} 
[2026-07-13 22:13:39] local.INFO: Extracted packet for processing {"connection_id":131733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c59"} 
[2026-07-13 22:13:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693883904001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783960785000,"timestamp_ms":1783960785000,"timestamp_seconds":1783960785,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c595068"} 
[2026-07-13 22:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:13: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-07-13 22:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693883904001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 22:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693883904001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:13:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 22:13:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693883904001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":131733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:13:39] local.INFO: GPS data processed {"connection_id":131733,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:13:39] local.INFO: Acknowledgment sent {"connection_id":131733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:14:02] local.INFO: TCP Data received {"connection_id":130904,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130904,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:14:02] local.INFO: Processing buffer {"connection_id":130904,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:14:02] local.INFO: IMEI packet received {"connection_id":130904,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 22:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":130904,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:14:10] local.INFO: TCP Data received {"connection_id":131733,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c595068012d7f914005afd938001a011b26..."} 
[2026-07-13 22:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c595068012d7f914005afd938001a011b26..."} 
[2026-07-13 22:14:10] local.INFO: Processing buffer {"connection_id":131733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c595068012d7f914005afd938001a011b26..."} 
[2026-07-13 22:14:10] local.INFO: Packet analysis {"connection_id":131733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c59"} 
[2026-07-13 22:14:10] local.INFO: Extracted packet for processing {"connection_id":131733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c59"} 
[2026-07-13 22:14:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693883904001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783960785000,"timestamp_ms":1783960785000,"timestamp_seconds":1783960785,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c595068"} 
[2026-07-13 22:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693883904001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 22:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693883904001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:14:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 22:14:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693883904001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":131733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:14:10] local.INFO: GPS data processed {"connection_id":131733,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:14:10] local.INFO: Acknowledgment sent {"connection_id":131733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:14:39] local.INFO: TCP Data received {"connection_id":130906,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:14:39] local.INFO: Processing buffer {"connection_id":130906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:14:39] local.INFO: IMEI packet received {"connection_id":130906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 22:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":130906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:14:39] local.INFO: TCP Data received {"connection_id":130905,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:14:39] local.INFO: Processing buffer {"connection_id":130905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:14:39] local.INFO: IMEI packet received {"connection_id":130905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":130905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:14:43] local.INFO: TCP Data received {"connection_id":130905,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:14:43] local.INFO: Processing buffer {"connection_id":130905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:14:43] local.INFO: IMEI packet received {"connection_id":130905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":130905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:14:44] local.INFO: TCP Data received {"connection_id":130905,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c595068012d7f914005afd938001a011b26..."} 
[2026-07-13 22:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c595068012d7f914005afd938001a011b26..."} 
[2026-07-13 22:14:44] local.INFO: Processing buffer {"connection_id":130905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c595068012d7f914005afd938001a011b26..."} 
[2026-07-13 22:14:44] local.INFO: Packet analysis {"connection_id":130905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c59"} 
[2026-07-13 22:14:44] local.INFO: Extracted packet for processing {"connection_id":130905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c59"} 
[2026-07-13 22:14:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693883904001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783960785000,"timestamp_ms":1783960785000,"timestamp_seconds":1783960785,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c595068"} 
[2026-07-13 22:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:14:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693883904001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 22:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693883904001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:14:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 22:14:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693883904001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":130905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:14:44] local.INFO: GPS data processed {"connection_id":130905,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:14:44] local.INFO: Acknowledgment sent {"connection_id":130905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:14:49] local.INFO: TCP Data received {"connection_id":130905,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c595068012d7f914005afd938001a011b26..."} 
[2026-07-13 22:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c595068012d7f914005afd938001a011b26..."} 
[2026-07-13 22:14:49] local.INFO: Processing buffer {"connection_id":130905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c595068012d7f914005afd938001a011b26..."} 
[2026-07-13 22:14:49] local.INFO: Packet analysis {"connection_id":130905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c59"} 
[2026-07-13 22:14:49] local.INFO: Extracted packet for processing {"connection_id":130905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c59"} 
[2026-07-13 22:14:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693883904001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783960785000,"timestamp_ms":1783960785000,"timestamp_seconds":1783960785,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c595068"} 
[2026-07-13 22:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693883904001,"66":25223,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 22:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693883904001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:14:49] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 22:14:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693883904001,"power":25223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":130905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:14:49] local.INFO: GPS data processed {"connection_id":130905,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:14:49] local.INFO: Acknowledgment sent {"connection_id":130905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:15:33] local.INFO: TCP Data received {"connection_id":131734,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:15:33] local.INFO: Processing buffer {"connection_id":131734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:15:33] local.INFO: IMEI packet received {"connection_id":131734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":131734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:15:38] local.INFO: TCP Data received {"connection_id":131734,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:15:38] local.INFO: Processing buffer {"connection_id":131734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:15:38] local.INFO: IMEI packet received {"connection_id":131734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":131734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:15:39] local.INFO: TCP Data received {"connection_id":131734,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c5de830012d7f914005afd938001f011b27..."} 
[2026-07-13 22:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c5de830012d7f914005afd938001f011b27..."} 
[2026-07-13 22:15:39] local.INFO: Processing buffer {"connection_id":131734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c5de830012d7f914005afd938001f011b27..."} 
[2026-07-13 22:15:39] local.INFO: Packet analysis {"connection_id":131734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c5d"} 
[2026-07-13 22:15:39] local.INFO: Extracted packet for processing {"connection_id":131734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c5d"} 
[2026-07-13 22:15:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 22:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693960960001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783961086000,"timestamp_ms":1783961086000,"timestamp_seconds":1783961086,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c5de830"} 
[2026-07-13 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-07-13 22:15: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-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 22:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693960960001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 22:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693960960001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:15:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 22:15:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693960960001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":131734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:15:39] local.INFO: GPS data processed {"connection_id":131734,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:15:39] local.INFO: Acknowledgment sent {"connection_id":131734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:16:10] local.INFO: TCP Data received {"connection_id":131734,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c5de830012d7f914005afd938001f011b27..."} 
[2026-07-13 22:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c5de830012d7f914005afd938001f011b27..."} 
[2026-07-13 22:16:10] local.INFO: Processing buffer {"connection_id":131734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c5de830012d7f914005afd938001f011b27..."} 
[2026-07-13 22:16:10] local.INFO: Packet analysis {"connection_id":131734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c5d"} 
[2026-07-13 22:16:10] local.INFO: Extracted packet for processing {"connection_id":131734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c5d"} 
[2026-07-13 22:16:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693960960001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783961086000,"timestamp_ms":1783961086000,"timestamp_seconds":1783961086,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c5de830"} 
[2026-07-13 22:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693960960001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 22:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693960960001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:16:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 22:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693960960001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":131734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:16:10] local.INFO: GPS data processed {"connection_id":131734,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:16:10] local.INFO: Acknowledgment sent {"connection_id":131734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:16:40] local.INFO: TCP Data received {"connection_id":133050,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:16:40] local.INFO: Processing buffer {"connection_id":133050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:16:40] local.INFO: IMEI packet received {"connection_id":133050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":133050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:16:43] local.INFO: TCP Data received {"connection_id":133050,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:16:43] local.INFO: Processing buffer {"connection_id":133050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:16:43] local.INFO: IMEI packet received {"connection_id":133050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":133050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:16:44] local.INFO: TCP Data received {"connection_id":133050,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c5de830012d7f914005afd938001f011b27..."} 
[2026-07-13 22:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c5de830012d7f914005afd938001f011b27..."} 
[2026-07-13 22:16:44] local.INFO: Processing buffer {"connection_id":133050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c5de830012d7f914005afd938001f011b27..."} 
[2026-07-13 22:16:44] local.INFO: Packet analysis {"connection_id":133050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c5d"} 
[2026-07-13 22:16:44] local.INFO: Extracted packet for processing {"connection_id":133050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c5d"} 
[2026-07-13 22:16:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693960960001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783961086000,"timestamp_ms":1783961086000,"timestamp_seconds":1783961086,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c5de830"} 
[2026-07-13 22:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":133050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":133050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":133050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693960960001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 22:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693960960001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:16:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 22:16:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693960960001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":133050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:16:44] local.INFO: GPS data processed {"connection_id":133050,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:16:44] local.INFO: Acknowledgment sent {"connection_id":133050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:17:15] local.INFO: TCP Data received {"connection_id":133050,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c5de830012d7f914005afd938001f011b27..."} 
[2026-07-13 22:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c5de830012d7f914005afd938001f011b27..."} 
[2026-07-13 22:17:15] local.INFO: Processing buffer {"connection_id":133050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c5de830012d7f914005afd938001f011b27..."} 
[2026-07-13 22:17:15] local.INFO: Packet analysis {"connection_id":133050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c5d"} 
[2026-07-13 22:17:15] local.INFO: Extracted packet for processing {"connection_id":133050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c5d"} 
[2026-07-13 22:17:15] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693960960001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783961086000,"timestamp_ms":1783961086000,"timestamp_seconds":1783961086,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c5de830"} 
[2026-07-13 22:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":133050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":133050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":133050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693960960001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 22:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693960960001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:17:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 22:17:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693960960001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":133050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:17:15] local.INFO: GPS data processed {"connection_id":133050,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:17:15] local.INFO: Acknowledgment sent {"connection_id":133050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:17:33] local.INFO: TCP Data received {"connection_id":130907,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:17:33] local.INFO: Processing buffer {"connection_id":130907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:17:33] local.INFO: IMEI packet received {"connection_id":130907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":130907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:17:38] local.INFO: TCP Data received {"connection_id":130907,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:17:38] local.INFO: Processing buffer {"connection_id":130907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:17:38] local.INFO: IMEI packet received {"connection_id":130907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":130907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:17:39] local.INFO: TCP Data received {"connection_id":130907,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c5de830012d7f914005afd938001f011b27..."} 
[2026-07-13 22:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c5de830012d7f914005afd938001f011b27..."} 
[2026-07-13 22:17:39] local.INFO: Processing buffer {"connection_id":130907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c5de830012d7f914005afd938001f011b27..."} 
[2026-07-13 22:17:39] local.INFO: Packet analysis {"connection_id":130907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c5d"} 
[2026-07-13 22:17:39] local.INFO: Extracted packet for processing {"connection_id":130907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c5d"} 
[2026-07-13 22:17:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 22:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693960960001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783961086000,"timestamp_ms":1783961086000,"timestamp_seconds":1783961086,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c5de830"} 
[2026-07-13 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-07-13 22:17: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-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 22:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693960960001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 22:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693960960001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:17:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 22:17:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693960960001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":130907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:17:39] local.INFO: GPS data processed {"connection_id":130907,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:17:39] local.INFO: Acknowledgment sent {"connection_id":130907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:18:11] local.INFO: TCP Data received {"connection_id":130907,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c5de830012d7f914005afd938001f011b27..."} 
[2026-07-13 22:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c5de830012d7f914005afd938001f011b27..."} 
[2026-07-13 22:18:11] local.INFO: Processing buffer {"connection_id":130907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c5de830012d7f914005afd938001f011b27..."} 
[2026-07-13 22:18:11] local.INFO: Packet analysis {"connection_id":130907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c5d"} 
[2026-07-13 22:18:11] local.INFO: Extracted packet for processing {"connection_id":130907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c5d"} 
[2026-07-13 22:18:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693960960001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783961086000,"timestamp_ms":1783961086000,"timestamp_seconds":1783961086,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c5de830"} 
[2026-07-13 22:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693960960001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 22:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693960960001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:18:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 22:18:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693960960001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":130907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:18:11] local.INFO: GPS data processed {"connection_id":130907,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:18:11] local.INFO: Acknowledgment sent {"connection_id":130907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:18:33] local.INFO: TCP Data received {"connection_id":131736,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:18:33] local.INFO: Processing buffer {"connection_id":131736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:18:33] local.INFO: IMEI packet received {"connection_id":131736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":131736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:18:38] local.INFO: TCP Data received {"connection_id":131736,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:18:38] local.INFO: Processing buffer {"connection_id":131736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:18:38] local.INFO: IMEI packet received {"connection_id":131736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":131736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:18:39] local.INFO: TCP Data received {"connection_id":131736,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c5de830012d7f914005afd938001f011b27..."} 
[2026-07-13 22:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c5de830012d7f914005afd938001f011b27..."} 
[2026-07-13 22:18:39] local.INFO: Processing buffer {"connection_id":131736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c5de830012d7f914005afd938001f011b27..."} 
[2026-07-13 22:18:39] local.INFO: Packet analysis {"connection_id":131736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c5d"} 
[2026-07-13 22:18:39] local.INFO: Extracted packet for processing {"connection_id":131736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c5d"} 
[2026-07-13 22:18:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 22:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693960960001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783961086000,"timestamp_ms":1783961086000,"timestamp_seconds":1783961086,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c5de830"} 
[2026-07-13 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-07-13 22:18: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-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 22:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693960960001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 22:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693960960001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:18:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 22:18:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693960960001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":131736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:18:39] local.INFO: GPS data processed {"connection_id":131736,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:18:39] local.INFO: Acknowledgment sent {"connection_id":131736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:19:11] local.INFO: TCP Data received {"connection_id":131736,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c5de830012d7f914005afd938001f011b27..."} 
[2026-07-13 22:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c5de830012d7f914005afd938001f011b27..."} 
[2026-07-13 22:19:11] local.INFO: Processing buffer {"connection_id":131736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c5de830012d7f914005afd938001f011b27..."} 
[2026-07-13 22:19:11] local.INFO: Packet analysis {"connection_id":131736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c5d"} 
[2026-07-13 22:19:11] local.INFO: Extracted packet for processing {"connection_id":131736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c5d"} 
[2026-07-13 22:19:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693960960001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783961086000,"timestamp_ms":1783961086000,"timestamp_seconds":1783961086,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c5de830"} 
[2026-07-13 22:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693960960001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 22:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693960960001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:19:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 22:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693960960001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":131736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:19:11] local.INFO: GPS data processed {"connection_id":131736,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:19:11] local.INFO: Acknowledgment sent {"connection_id":131736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:19:33] local.INFO: TCP Data received {"connection_id":130692,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:19:33] local.INFO: Processing buffer {"connection_id":130692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:19:33] local.INFO: IMEI packet received {"connection_id":130692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":130692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:19:40] local.INFO: TCP Data received {"connection_id":130692,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:19:40] local.INFO: Processing buffer {"connection_id":130692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:19:40] local.INFO: IMEI packet received {"connection_id":130692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":130692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:19:41] local.INFO: TCP Data received {"connection_id":130692,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c5de830012d7f914005afd938001f011b27..."} 
[2026-07-13 22:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c5de830012d7f914005afd938001f011b27..."} 
[2026-07-13 22:19:41] local.INFO: Processing buffer {"connection_id":130692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c5de830012d7f914005afd938001f011b27..."} 
[2026-07-13 22:19:41] local.INFO: Packet analysis {"connection_id":130692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c5d"} 
[2026-07-13 22:19:41] local.INFO: Extracted packet for processing {"connection_id":130692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c5d"} 
[2026-07-13 22:19:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22: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-07-13 22:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693960960001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783961086000,"timestamp_ms":1783961086000,"timestamp_seconds":1783961086,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c5de830"} 
[2026-07-13 22:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22: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-07-13 22:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693960960001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 22:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693960960001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:19:41] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 22:19:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693960960001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":130692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:19:41] local.INFO: GPS data processed {"connection_id":130692,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:19:41] local.INFO: Acknowledgment sent {"connection_id":130692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:20:12] local.INFO: TCP Data received {"connection_id":130692,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c5de830012d7f914005afd938001f011b27..."} 
[2026-07-13 22:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c5de830012d7f914005afd938001f011b27..."} 
[2026-07-13 22:20:12] local.INFO: Processing buffer {"connection_id":130692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c5de830012d7f914005afd938001f011b27..."} 
[2026-07-13 22:20:12] local.INFO: Packet analysis {"connection_id":130692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c5d"} 
[2026-07-13 22:20:12] local.INFO: Extracted packet for processing {"connection_id":130692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c5d"} 
[2026-07-13 22:20:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456693960960001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783961086000,"timestamp_ms":1783961086000,"timestamp_seconds":1783961086,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c5de830"} 
[2026-07-13 22:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456693960960001,"66":25212,"250":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-13 22:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456693960960001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:20:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-13 22:20:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456693960960001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":130692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:20:12] local.INFO: GPS data processed {"connection_id":130692,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:20:12] local.INFO: Acknowledgment sent {"connection_id":130692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:20:38] local.INFO: TCP Data received {"connection_id":130694,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:20:38] local.INFO: Processing buffer {"connection_id":130694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:20:38] local.INFO: IMEI packet received {"connection_id":130694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":130694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:20:39] local.INFO: TCP Data received {"connection_id":130695,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130695,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:20:39] local.INFO: Processing buffer {"connection_id":130695,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:20:39] local.INFO: IMEI packet received {"connection_id":130695,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 22:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":130695,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:20:44] local.INFO: TCP Data received {"connection_id":130694,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:20:44] local.INFO: Processing buffer {"connection_id":130694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:20:44] local.INFO: IMEI packet received {"connection_id":130694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":130694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:20:52] local.INFO: TCP Data received {"connection_id":130694,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c627ff8012d7f914005afd938001f011b27..."} 
[2026-07-13 22:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c627ff8012d7f914005afd938001f011b27..."} 
[2026-07-13 22:20:52] local.INFO: Processing buffer {"connection_id":130694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c627ff8012d7f914005afd938001f011b27..."} 
[2026-07-13 22:20:52] local.INFO: Packet analysis {"connection_id":130694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c62"} 
[2026-07-13 22:20:52] local.INFO: Extracted packet for processing {"connection_id":130694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c62"} 
[2026-07-13 22:20:52] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694038016001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783961387000,"timestamp_ms":1783961387000,"timestamp_seconds":1783961387,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c627ff8"} 
[2026-07-13 22:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 22:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22: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-07-13 22:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":130694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":130694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":130694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694038016001,"66":25288,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694038016001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:20:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:20:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694038016001,"power":25288,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":130694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:20:52] local.INFO: GPS data processed {"connection_id":130694,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:20:52] local.INFO: Acknowledgment sent {"connection_id":130694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:20:53] local.INFO: TCP Data received {"connection_id":130694,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c627ff8012d7f914005afd938001f011b27..."} 
[2026-07-13 22:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c627ff8012d7f914005afd938001f011b27..."} 
[2026-07-13 22:20:53] local.INFO: Processing buffer {"connection_id":130694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c627ff8012d7f914005afd938001f011b27..."} 
[2026-07-13 22:20:53] local.INFO: Packet analysis {"connection_id":130694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c62"} 
[2026-07-13 22:20:53] local.INFO: Extracted packet for processing {"connection_id":130694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c62"} 
[2026-07-13 22:20:53] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694038016001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783961387000,"timestamp_ms":1783961387000,"timestamp_seconds":1783961387,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c627ff8"} 
[2026-07-13 22:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 22:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":130694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":130694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":130694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694038016001,"66":25288,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694038016001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:20:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:20:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694038016001,"power":25288,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":130694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:20:53] local.INFO: GPS data processed {"connection_id":130694,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:20:53] local.INFO: Acknowledgment sent {"connection_id":130694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:21:33] local.INFO: TCP Data received {"connection_id":130908,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:21:33] local.INFO: Processing buffer {"connection_id":130908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:21:33] local.INFO: IMEI packet received {"connection_id":130908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":130908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:21:38] local.INFO: TCP Data received {"connection_id":130908,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:21:38] local.INFO: Processing buffer {"connection_id":130908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:21:38] local.INFO: IMEI packet received {"connection_id":130908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":130908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:21:40] local.INFO: TCP Data received {"connection_id":130908,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c627ff8012d7f914005afd938001f011b27..."} 
[2026-07-13 22:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c627ff8012d7f914005afd938001f011b27..."} 
[2026-07-13 22:21:40] local.INFO: Processing buffer {"connection_id":130908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c627ff8012d7f914005afd938001f011b27..."} 
[2026-07-13 22:21:40] local.INFO: Packet analysis {"connection_id":130908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c62"} 
[2026-07-13 22:21:40] local.INFO: Extracted packet for processing {"connection_id":130908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c62"} 
[2026-07-13 22:21:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694038016001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783961387000,"timestamp_ms":1783961387000,"timestamp_seconds":1783961387,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c627ff8"} 
[2026-07-13 22:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 22:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694038016001,"66":25288,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694038016001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:21:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:21:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694038016001,"power":25288,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":130908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:21:40] local.INFO: GPS data processed {"connection_id":130908,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:21:40] local.INFO: Acknowledgment sent {"connection_id":130908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:22:13] local.INFO: TCP Data received {"connection_id":130908,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c627ff8012d7f914005afd938001f011b27..."} 
[2026-07-13 22:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c627ff8012d7f914005afd938001f011b27..."} 
[2026-07-13 22:22:13] local.INFO: Processing buffer {"connection_id":130908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c627ff8012d7f914005afd938001f011b27..."} 
[2026-07-13 22:22:13] local.INFO: Packet analysis {"connection_id":130908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c62"} 
[2026-07-13 22:22:13] local.INFO: Extracted packet for processing {"connection_id":130908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c62"} 
[2026-07-13 22:22:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694038016001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783961387000,"timestamp_ms":1783961387000,"timestamp_seconds":1783961387,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c627ff8"} 
[2026-07-13 22:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 22:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694038016001,"66":25288,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694038016001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:22:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:22:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694038016001,"power":25288,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":130908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:22:13] local.INFO: GPS data processed {"connection_id":130908,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:22:13] local.INFO: Acknowledgment sent {"connection_id":130908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:22:34] local.INFO: TCP Data received {"connection_id":130696,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:22:34] local.INFO: Processing buffer {"connection_id":130696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:22:34] local.INFO: IMEI packet received {"connection_id":130696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":130696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:22:38] local.INFO: TCP Data received {"connection_id":130696,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:22:38] local.INFO: Processing buffer {"connection_id":130696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:22:38] local.INFO: IMEI packet received {"connection_id":130696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":130696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:22:40] local.INFO: TCP Data received {"connection_id":130696,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c627ff8012d7f914005afd938001f011b27..."} 
[2026-07-13 22:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c627ff8012d7f914005afd938001f011b27..."} 
[2026-07-13 22:22:40] local.INFO: Processing buffer {"connection_id":130696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c627ff8012d7f914005afd938001f011b27..."} 
[2026-07-13 22:22:40] local.INFO: Packet analysis {"connection_id":130696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c62"} 
[2026-07-13 22:22:40] local.INFO: Extracted packet for processing {"connection_id":130696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c62"} 
[2026-07-13 22:22:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694038016001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783961387000,"timestamp_ms":1783961387000,"timestamp_seconds":1783961387,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c627ff8"} 
[2026-07-13 22:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 22:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694038016001,"66":25288,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694038016001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:22:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:22:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694038016001,"power":25288,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":130696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:22:40] local.INFO: GPS data processed {"connection_id":130696,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:22:40] local.INFO: Acknowledgment sent {"connection_id":130696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:23:15] local.INFO: TCP Data received {"connection_id":130696,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c627ff8012d7f914005afd938001f011b27..."} 
[2026-07-13 22:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c627ff8012d7f914005afd938001f011b27..."} 
[2026-07-13 22:23:15] local.INFO: Processing buffer {"connection_id":130696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c627ff8012d7f914005afd938001f011b27..."} 
[2026-07-13 22:23:15] local.INFO: Packet analysis {"connection_id":130696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c62"} 
[2026-07-13 22:23:15] local.INFO: Extracted packet for processing {"connection_id":130696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c62"} 
[2026-07-13 22:23:15] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694038016001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783961387000,"timestamp_ms":1783961387000,"timestamp_seconds":1783961387,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c627ff8"} 
[2026-07-13 22:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 22:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694038016001,"66":25288,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694038016001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:23:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:23:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694038016001,"power":25288,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":130696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:23:15] local.INFO: GPS data processed {"connection_id":130696,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:23:15] local.INFO: Acknowledgment sent {"connection_id":130696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:23:33] local.INFO: TCP Data received {"connection_id":131737,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:23:33] local.INFO: Processing buffer {"connection_id":131737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:23:33] local.INFO: IMEI packet received {"connection_id":131737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":131737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:23:39] local.INFO: TCP Data received {"connection_id":131737,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:23:39] local.INFO: Processing buffer {"connection_id":131737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:23:39] local.INFO: IMEI packet received {"connection_id":131737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":131737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:23:43] local.INFO: TCP Data received {"connection_id":131737,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:23:43] local.INFO: Processing buffer {"connection_id":131737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:23:43] local.INFO: IMEI packet received {"connection_id":131737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":131737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:23:44] local.INFO: TCP Data received {"connection_id":131737,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c627ff8012d7f914005afd938001f011b27..."} 
[2026-07-13 22:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c627ff8012d7f914005afd938001f011b27..."} 
[2026-07-13 22:23:44] local.INFO: Processing buffer {"connection_id":131737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c627ff8012d7f914005afd938001f011b27..."} 
[2026-07-13 22:23:44] local.INFO: Packet analysis {"connection_id":131737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c62"} 
[2026-07-13 22:23:44] local.INFO: Extracted packet for processing {"connection_id":131737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c62"} 
[2026-07-13 22:23:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694038016001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783961387000,"timestamp_ms":1783961387000,"timestamp_seconds":1783961387,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c627ff8"} 
[2026-07-13 22:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 22:23:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:23:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":131737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":131737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":131737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694038016001,"66":25288,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694038016001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:23:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:23:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694038016001,"power":25288,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":131737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:23:44] local.INFO: GPS data processed {"connection_id":131737,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:23:44] local.INFO: Acknowledgment sent {"connection_id":131737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:24:16] local.INFO: TCP Data received {"connection_id":131737,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c627ff8012d7f914005afd938001f011b27..."} 
[2026-07-13 22:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c627ff8012d7f914005afd938001f011b27..."} 
[2026-07-13 22:24:16] local.INFO: Processing buffer {"connection_id":131737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c627ff8012d7f914005afd938001f011b27..."} 
[2026-07-13 22:24:16] local.INFO: Packet analysis {"connection_id":131737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c62"} 
[2026-07-13 22:24:16] local.INFO: Extracted packet for processing {"connection_id":131737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c62"} 
[2026-07-13 22:24:16] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694038016001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783961387000,"timestamp_ms":1783961387000,"timestamp_seconds":1783961387,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c627ff8"} 
[2026-07-13 22:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 22:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":131737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":131737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":131737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694038016001,"66":25288,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694038016001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:24:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:24:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694038016001,"power":25288,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":131737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:24:16] local.INFO: GPS data processed {"connection_id":131737,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:24:16] local.INFO: Acknowledgment sent {"connection_id":131737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:24:38] local.INFO: TCP Data received {"connection_id":130698,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:24:38] local.INFO: Processing buffer {"connection_id":130698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:24:38] local.INFO: IMEI packet received {"connection_id":130698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":130698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:24:43] local.INFO: TCP Data received {"connection_id":130698,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:24:43] local.INFO: Processing buffer {"connection_id":130698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:24:43] local.INFO: IMEI packet received {"connection_id":130698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":130698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:24:44] local.INFO: TCP Data received {"connection_id":130698,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c627ff8012d7f914005afd938001f011b27..."} 
[2026-07-13 22:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c627ff8012d7f914005afd938001f011b27..."} 
[2026-07-13 22:24:44] local.INFO: Processing buffer {"connection_id":130698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c627ff8012d7f914005afd938001f011b27..."} 
[2026-07-13 22:24:44] local.INFO: Packet analysis {"connection_id":130698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c62"} 
[2026-07-13 22:24:44] local.INFO: Extracted packet for processing {"connection_id":130698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c62"} 
[2026-07-13 22:24:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694038016001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783961387000,"timestamp_ms":1783961387000,"timestamp_seconds":1783961387,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c627ff8"} 
[2026-07-13 22:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 22:24:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694038016001,"66":25288,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694038016001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:24:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:24:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694038016001,"power":25288,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":130698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:24:44] local.INFO: GPS data processed {"connection_id":130698,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:24:44] local.INFO: Acknowledgment sent {"connection_id":130698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:24:49] local.INFO: TCP Data received {"connection_id":130698,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c627ff8012d7f914005afd938001f011b27..."} 
[2026-07-13 22:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c627ff8012d7f914005afd938001f011b27..."} 
[2026-07-13 22:24:49] local.INFO: Processing buffer {"connection_id":130698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c627ff8012d7f914005afd938001f011b27..."} 
[2026-07-13 22:24:49] local.INFO: Packet analysis {"connection_id":130698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c62"} 
[2026-07-13 22:24:49] local.INFO: Extracted packet for processing {"connection_id":130698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c62"} 
[2026-07-13 22:24:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694038016001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783961387000,"timestamp_ms":1783961387000,"timestamp_seconds":1783961387,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c627ff8"} 
[2026-07-13 22:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 22:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:24:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:24: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-07-13 22:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694038016001,"66":25288,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694038016001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:24:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:24:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694038016001,"power":25288,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":130698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:24:49] local.INFO: GPS data processed {"connection_id":130698,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:24:49] local.INFO: Acknowledgment sent {"connection_id":130698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:25:34] local.INFO: TCP Data received {"connection_id":133054,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:25:34] local.INFO: Processing buffer {"connection_id":133054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:25:34] local.INFO: IMEI packet received {"connection_id":133054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":133054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:25:38] local.INFO: TCP Data received {"connection_id":133054,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:25:38] local.INFO: Processing buffer {"connection_id":133054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:25:38] local.INFO: IMEI packet received {"connection_id":133054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":133054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:25:39] local.INFO: TCP Data received {"connection_id":133054,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c6717c0012d7f914005afd9380018011b25..."} 
[2026-07-13 22:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c6717c0012d7f914005afd9380018011b25..."} 
[2026-07-13 22:25:39] local.INFO: Processing buffer {"connection_id":133054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c6717c0012d7f914005afd9380018011b25..."} 
[2026-07-13 22:25:39] local.INFO: Packet analysis {"connection_id":133054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c67"} 
[2026-07-13 22:25:39] local.INFO: Extracted packet for processing {"connection_id":133054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c67"} 
[2026-07-13 22:25:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 22:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694115072001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783961688000,"timestamp_ms":1783961688000,"timestamp_seconds":1783961688,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c6717c0"} 
[2026-07-13 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-07-13 22:25: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-07-13 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 22:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 22:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694115072001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694115072001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:25:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:25:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694115072001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":133054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:25:39] local.INFO: GPS data processed {"connection_id":133054,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:25:39] local.INFO: Acknowledgment sent {"connection_id":133054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:26:09] local.INFO: TCP Data received {"connection_id":130910,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130910,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:26:09] local.INFO: Processing buffer {"connection_id":130910,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:26:09] local.INFO: IMEI packet received {"connection_id":130910,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 22:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":130910,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:26:11] local.INFO: TCP Data received {"connection_id":133054,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c6717c0012d7f914005afd9380018011b25..."} 
[2026-07-13 22:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c6717c0012d7f914005afd9380018011b25..."} 
[2026-07-13 22:26:11] local.INFO: Processing buffer {"connection_id":133054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c6717c0012d7f914005afd9380018011b25..."} 
[2026-07-13 22:26:11] local.INFO: Packet analysis {"connection_id":133054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c67"} 
[2026-07-13 22:26:11] local.INFO: Extracted packet for processing {"connection_id":133054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c67"} 
[2026-07-13 22:26:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694115072001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783961688000,"timestamp_ms":1783961688000,"timestamp_seconds":1783961688,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c6717c0"} 
[2026-07-13 22:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 22:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694115072001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694115072001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:26:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:26:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694115072001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":133054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:26:11] local.INFO: GPS data processed {"connection_id":133054,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:26:11] local.INFO: Acknowledgment sent {"connection_id":133054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:26:33] local.INFO: TCP Data received {"connection_id":130911,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:26:33] local.INFO: Processing buffer {"connection_id":130911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:26:33] local.INFO: IMEI packet received {"connection_id":130911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":130911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:26:39] local.INFO: TCP Data received {"connection_id":130700,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:26:39] local.INFO: Processing buffer {"connection_id":130700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:26:39] local.INFO: IMEI packet received {"connection_id":130700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 22:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":130700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:26:40] local.INFO: TCP Data received {"connection_id":130911,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:26:40] local.INFO: Processing buffer {"connection_id":130911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:26:40] local.INFO: IMEI packet received {"connection_id":130911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":130911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:26:41] local.INFO: TCP Data received {"connection_id":130911,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c6717c0012d7f914005afd9380018011b25..."} 
[2026-07-13 22:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c6717c0012d7f914005afd9380018011b25..."} 
[2026-07-13 22:26:41] local.INFO: Processing buffer {"connection_id":130911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c6717c0012d7f914005afd9380018011b25..."} 
[2026-07-13 22:26:41] local.INFO: Packet analysis {"connection_id":130911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c67"} 
[2026-07-13 22:26:41] local.INFO: Extracted packet for processing {"connection_id":130911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c67"} 
[2026-07-13 22:26:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694115072001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783961688000,"timestamp_ms":1783961688000,"timestamp_seconds":1783961688,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c6717c0"} 
[2026-07-13 22:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 22:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694115072001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694115072001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:26:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:26:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694115072001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":130911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:26:41] local.INFO: GPS data processed {"connection_id":130911,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:26:41] local.INFO: Acknowledgment sent {"connection_id":130911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:27:12] local.INFO: TCP Data received {"connection_id":130911,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c6717c0012d7f914005afd9380018011b25..."} 
[2026-07-13 22:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c6717c0012d7f914005afd9380018011b25..."} 
[2026-07-13 22:27:12] local.INFO: Processing buffer {"connection_id":130911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c6717c0012d7f914005afd9380018011b25..."} 
[2026-07-13 22:27:12] local.INFO: Packet analysis {"connection_id":130911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c67"} 
[2026-07-13 22:27:12] local.INFO: Extracted packet for processing {"connection_id":130911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c67"} 
[2026-07-13 22:27:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694115072001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783961688000,"timestamp_ms":1783961688000,"timestamp_seconds":1783961688,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c6717c0"} 
[2026-07-13 22:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 22:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694115072001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694115072001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:27:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:27:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694115072001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":130911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:27:12] local.INFO: GPS data processed {"connection_id":130911,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:27:12] local.INFO: Acknowledgment sent {"connection_id":130911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:27:33] local.INFO: TCP Data received {"connection_id":133055,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:27:33] local.INFO: Processing buffer {"connection_id":133055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:27:33] local.INFO: IMEI packet received {"connection_id":133055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":133055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:27:39] local.INFO: TCP Data received {"connection_id":133055,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:27:39] local.INFO: Processing buffer {"connection_id":133055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:27:39] local.INFO: IMEI packet received {"connection_id":133055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":133055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:27:40] local.INFO: TCP Data received {"connection_id":133055,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c6717c0012d7f914005afd9380018011b25..."} 
[2026-07-13 22:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c6717c0012d7f914005afd9380018011b25..."} 
[2026-07-13 22:27:40] local.INFO: Processing buffer {"connection_id":133055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c6717c0012d7f914005afd9380018011b25..."} 
[2026-07-13 22:27:40] local.INFO: Packet analysis {"connection_id":133055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c67"} 
[2026-07-13 22:27:40] local.INFO: Extracted packet for processing {"connection_id":133055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c67"} 
[2026-07-13 22:27:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694115072001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783961688000,"timestamp_ms":1783961688000,"timestamp_seconds":1783961688,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c6717c0"} 
[2026-07-13 22:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 22:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":133055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":133055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":133055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694115072001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694115072001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:27:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:27:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694115072001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":133055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:27:40] local.INFO: GPS data processed {"connection_id":133055,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:27:40] local.INFO: Acknowledgment sent {"connection_id":133055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:28:13] local.INFO: TCP Data received {"connection_id":133055,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c6717c0012d7f914005afd9380018011b25..."} 
[2026-07-13 22:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c6717c0012d7f914005afd9380018011b25..."} 
[2026-07-13 22:28:13] local.INFO: Processing buffer {"connection_id":133055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c6717c0012d7f914005afd9380018011b25..."} 
[2026-07-13 22:28:13] local.INFO: Packet analysis {"connection_id":133055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c67"} 
[2026-07-13 22:28:13] local.INFO: Extracted packet for processing {"connection_id":133055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c67"} 
[2026-07-13 22:28:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694115072001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783961688000,"timestamp_ms":1783961688000,"timestamp_seconds":1783961688,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c6717c0"} 
[2026-07-13 22:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 22:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":133055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":133055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":133055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694115072001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694115072001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:28:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:28:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694115072001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":133055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:28:13] local.INFO: GPS data processed {"connection_id":133055,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:28:13] local.INFO: Acknowledgment sent {"connection_id":133055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:28:49] local.INFO: TCP Data received {"connection_id":131738,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:28:49] local.INFO: Processing buffer {"connection_id":131738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:28:49] local.INFO: IMEI packet received {"connection_id":131738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":131738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:28:53] local.INFO: TCP Data received {"connection_id":131738,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:28:53] local.INFO: Processing buffer {"connection_id":131738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:28:53] local.INFO: IMEI packet received {"connection_id":131738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":131738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:28:55] local.INFO: TCP Data received {"connection_id":131738,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c6717c0012d7f914005afd9380018011b25..."} 
[2026-07-13 22:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c6717c0012d7f914005afd9380018011b25..."} 
[2026-07-13 22:28:55] local.INFO: Processing buffer {"connection_id":131738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c6717c0012d7f914005afd9380018011b25..."} 
[2026-07-13 22:28:55] local.INFO: Packet analysis {"connection_id":131738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c67"} 
[2026-07-13 22:28:55] local.INFO: Extracted packet for processing {"connection_id":131738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c67"} 
[2026-07-13 22:28:55] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694115072001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783961688000,"timestamp_ms":1783961688000,"timestamp_seconds":1783961688,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c6717c0"} 
[2026-07-13 22:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 22:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":131738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":131738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":131738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22: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-07-13 22:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694115072001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694115072001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:28:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:28:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694115072001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":131738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:28:55] local.INFO: GPS data processed {"connection_id":131738,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:28:55] local.INFO: Acknowledgment sent {"connection_id":131738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:29:33] local.INFO: TCP Data received {"connection_id":130703,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:29:33] local.INFO: Processing buffer {"connection_id":130703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:29:33] local.INFO: IMEI packet received {"connection_id":130703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":130703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:29:40] local.INFO: TCP Data received {"connection_id":130703,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:29:40] local.INFO: Processing buffer {"connection_id":130703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:29:40] local.INFO: IMEI packet received {"connection_id":130703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":130703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:29:45] local.INFO: TCP Data received {"connection_id":130703,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c6717c0012d7f914005afd9380018011b25..."} 
[2026-07-13 22:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c6717c0012d7f914005afd9380018011b25..."} 
[2026-07-13 22:29:45] local.INFO: Processing buffer {"connection_id":130703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c6717c0012d7f914005afd9380018011b25..."} 
[2026-07-13 22:29:45] local.INFO: Packet analysis {"connection_id":130703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c67"} 
[2026-07-13 22:29:45] local.INFO: Extracted packet for processing {"connection_id":130703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c67"} 
[2026-07-13 22:29:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694115072001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783961688000,"timestamp_ms":1783961688000,"timestamp_seconds":1783961688,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c6717c0"} 
[2026-07-13 22:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 22:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694115072001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694115072001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:29:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:29:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694115072001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":130703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:29:45] local.INFO: GPS data processed {"connection_id":130703,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:29:45] local.INFO: Acknowledgment sent {"connection_id":130703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:30:38] local.INFO: TCP Data received {"connection_id":130912,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:30:38] local.INFO: Processing buffer {"connection_id":130912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:30:38] local.INFO: IMEI packet received {"connection_id":130912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":130912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:30:43] local.INFO: TCP Data received {"connection_id":130912,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:30:43] local.INFO: Processing buffer {"connection_id":130912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:30:43] local.INFO: IMEI packet received {"connection_id":130912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":130912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:30:44] local.INFO: TCP Data received {"connection_id":130912,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c6baf88012d7f914005afd9380014011b24..."} 
[2026-07-13 22:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c6baf88012d7f914005afd9380014011b24..."} 
[2026-07-13 22:30:44] local.INFO: Processing buffer {"connection_id":130912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c6baf88012d7f914005afd9380014011b24..."} 
[2026-07-13 22:30:44] local.INFO: Packet analysis {"connection_id":130912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c6b"} 
[2026-07-13 22:30:44] local.INFO: Extracted packet for processing {"connection_id":130912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c6b"} 
[2026-07-13 22:30:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694192128001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783961989000,"timestamp_ms":1783961989000,"timestamp_seconds":1783961989,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c6baf88"} 
[2026-07-13 22:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:30:44] 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-07-13 22:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694192128001,"66":25180,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 22:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694192128001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:30:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 22:30:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694192128001,"power":25180,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":130912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:30:44] local.INFO: GPS data processed {"connection_id":130912,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:30:44] local.INFO: Acknowledgment sent {"connection_id":130912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:31:15] local.INFO: TCP Data received {"connection_id":130912,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c6baf88012d7f914005afd9380014011b24..."} 
[2026-07-13 22:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c6baf88012d7f914005afd9380014011b24..."} 
[2026-07-13 22:31:15] local.INFO: Processing buffer {"connection_id":130912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c6baf88012d7f914005afd9380014011b24..."} 
[2026-07-13 22:31:15] local.INFO: Packet analysis {"connection_id":130912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c6b"} 
[2026-07-13 22:31:15] local.INFO: Extracted packet for processing {"connection_id":130912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c6b"} 
[2026-07-13 22:31:15] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694192128001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783961989000,"timestamp_ms":1783961989000,"timestamp_seconds":1783961989,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c6baf88"} 
[2026-07-13 22:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694192128001,"66":25180,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 22:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694192128001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:31:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 22:31:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694192128001,"power":25180,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":130912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:31:15] local.INFO: GPS data processed {"connection_id":130912,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:31:15] local.INFO: Acknowledgment sent {"connection_id":130912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:31:33] local.INFO: TCP Data received {"connection_id":130705,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:31:33] local.INFO: Processing buffer {"connection_id":130705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:31:33] local.INFO: IMEI packet received {"connection_id":130705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":130705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:31:38] local.INFO: TCP Data received {"connection_id":130705,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:31:38] local.INFO: Processing buffer {"connection_id":130705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:31:38] local.INFO: IMEI packet received {"connection_id":130705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":130705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:31:39] local.INFO: TCP Data received {"connection_id":130705,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c6baf88012d7f914005afd9380014011b24..."} 
[2026-07-13 22:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c6baf88012d7f914005afd9380014011b24..."} 
[2026-07-13 22:31:39] local.INFO: Processing buffer {"connection_id":130705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c6baf88012d7f914005afd9380014011b24..."} 
[2026-07-13 22:31:39] local.INFO: Packet analysis {"connection_id":130705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c6b"} 
[2026-07-13 22:31:39] local.INFO: Extracted packet for processing {"connection_id":130705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c6b"} 
[2026-07-13 22:31:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694192128001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783961989000,"timestamp_ms":1783961989000,"timestamp_seconds":1783961989,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c6baf88"} 
[2026-07-13 22:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:31: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-07-13 22:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694192128001,"66":25180,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 22:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694192128001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:31:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 22:31:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694192128001,"power":25180,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":130705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:31:39] local.INFO: GPS data processed {"connection_id":130705,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:31:39] local.INFO: Acknowledgment sent {"connection_id":130705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:32:00] local.INFO: TCP Data received {"connection_id":133056,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133056,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:32:00] local.INFO: Processing buffer {"connection_id":133056,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:32:00] local.INFO: IMEI packet received {"connection_id":133056,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 22:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":133056,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:32:11] local.INFO: TCP Data received {"connection_id":130705,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c6baf88012d7f914005afd9380014011b24..."} 
[2026-07-13 22:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c6baf88012d7f914005afd9380014011b24..."} 
[2026-07-13 22:32:11] local.INFO: Processing buffer {"connection_id":130705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c6baf88012d7f914005afd9380014011b24..."} 
[2026-07-13 22:32:11] local.INFO: Packet analysis {"connection_id":130705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c6b"} 
[2026-07-13 22:32:11] local.INFO: Extracted packet for processing {"connection_id":130705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c6b"} 
[2026-07-13 22:32:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694192128001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783961989000,"timestamp_ms":1783961989000,"timestamp_seconds":1783961989,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c6baf88"} 
[2026-07-13 22:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694192128001,"66":25180,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 22:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694192128001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:32:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 22:32:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694192128001,"power":25180,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":130705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:32:11] local.INFO: GPS data processed {"connection_id":130705,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:32:11] local.INFO: Acknowledgment sent {"connection_id":130705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:32:33] local.INFO: TCP Data received {"connection_id":130914,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:32:33] local.INFO: Processing buffer {"connection_id":130914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:32:33] local.INFO: IMEI packet received {"connection_id":130914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":130914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:32:38] local.INFO: TCP Data received {"connection_id":130914,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:32:38] local.INFO: Processing buffer {"connection_id":130914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:32:38] local.INFO: IMEI packet received {"connection_id":130914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":130914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:32:39] local.INFO: TCP Data received {"connection_id":130914,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c6baf88012d7f914005afd9380014011b24..."} 
[2026-07-13 22:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c6baf88012d7f914005afd9380014011b24..."} 
[2026-07-13 22:32:39] local.INFO: Processing buffer {"connection_id":130914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c6baf88012d7f914005afd9380014011b24..."} 
[2026-07-13 22:32:39] local.INFO: Packet analysis {"connection_id":130914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c6b"} 
[2026-07-13 22:32:39] local.INFO: Extracted packet for processing {"connection_id":130914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c6b"} 
[2026-07-13 22:32:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694192128001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783961989000,"timestamp_ms":1783961989000,"timestamp_seconds":1783961989,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c6baf88"} 
[2026-07-13 22:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:32: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-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694192128001,"66":25180,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 22:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694192128001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:32:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 22:32:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694192128001,"power":25180,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":130914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:32:39] local.INFO: GPS data processed {"connection_id":130914,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:32:39] local.INFO: Acknowledgment sent {"connection_id":130914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:32:44] local.INFO: TCP Data received {"connection_id":130706,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130706,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:32:44] local.INFO: Processing buffer {"connection_id":130706,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:32:44] local.INFO: IMEI packet received {"connection_id":130706,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 22:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":130706,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:33:10] local.INFO: TCP Data received {"connection_id":130914,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c6baf88012d7f914005afd9380014011b24..."} 
[2026-07-13 22:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c6baf88012d7f914005afd9380014011b24..."} 
[2026-07-13 22:33:10] local.INFO: Processing buffer {"connection_id":130914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c6baf88012d7f914005afd9380014011b24..."} 
[2026-07-13 22:33:10] local.INFO: Packet analysis {"connection_id":130914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c6b"} 
[2026-07-13 22:33:10] local.INFO: Extracted packet for processing {"connection_id":130914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c6b"} 
[2026-07-13 22:33:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694192128001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783961989000,"timestamp_ms":1783961989000,"timestamp_seconds":1783961989,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c6baf88"} 
[2026-07-13 22:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694192128001,"66":25180,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 22:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694192128001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:33:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 22:33:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694192128001,"power":25180,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":130914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:33:10] local.INFO: GPS data processed {"connection_id":130914,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:33:10] local.INFO: Acknowledgment sent {"connection_id":130914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:33:33] local.INFO: TCP Data received {"connection_id":131740,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:33:33] local.INFO: Processing buffer {"connection_id":131740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:33:33] local.INFO: IMEI packet received {"connection_id":131740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":131740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:33:38] local.INFO: TCP Data received {"connection_id":131740,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:33:38] local.INFO: Processing buffer {"connection_id":131740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:33:38] local.INFO: IMEI packet received {"connection_id":131740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":131740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:33:39] local.INFO: TCP Data received {"connection_id":131740,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c6baf88012d7f914005afd9380014011b24..."} 
[2026-07-13 22:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c6baf88012d7f914005afd9380014011b24..."} 
[2026-07-13 22:33:39] local.INFO: Processing buffer {"connection_id":131740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c6baf88012d7f914005afd9380014011b24..."} 
[2026-07-13 22:33:39] local.INFO: Packet analysis {"connection_id":131740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c6b"} 
[2026-07-13 22:33:39] local.INFO: Extracted packet for processing {"connection_id":131740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c6b"} 
[2026-07-13 22:33:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694192128001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783961989000,"timestamp_ms":1783961989000,"timestamp_seconds":1783961989,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c6baf88"} 
[2026-07-13 22:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:33: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-07-13 22:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694192128001,"66":25180,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 22:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694192128001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:33:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 22:33:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694192128001,"power":25180,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":131740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:33:39] local.INFO: GPS data processed {"connection_id":131740,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:33:39] local.INFO: Acknowledgment sent {"connection_id":131740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:34:10] local.INFO: TCP Data received {"connection_id":131740,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c6baf88012d7f914005afd9380014011b24..."} 
[2026-07-13 22:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c6baf88012d7f914005afd9380014011b24..."} 
[2026-07-13 22:34:10] local.INFO: Processing buffer {"connection_id":131740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c6baf88012d7f914005afd9380014011b24..."} 
[2026-07-13 22:34:10] local.INFO: Packet analysis {"connection_id":131740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c6b"} 
[2026-07-13 22:34:10] local.INFO: Extracted packet for processing {"connection_id":131740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c6b"} 
[2026-07-13 22:34:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694192128001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783961989000,"timestamp_ms":1783961989000,"timestamp_seconds":1783961989,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c6baf88"} 
[2026-07-13 22:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694192128001,"66":25180,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 22:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694192128001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:34:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 22:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694192128001,"power":25180,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":131740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:34:10] local.INFO: GPS data processed {"connection_id":131740,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:34:10] local.INFO: Acknowledgment sent {"connection_id":131740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:34:33] local.INFO: TCP Data received {"connection_id":130707,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:34:33] local.INFO: Processing buffer {"connection_id":130707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:34:33] local.INFO: IMEI packet received {"connection_id":130707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":130707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:34:38] local.INFO: TCP Data received {"connection_id":130707,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:34:38] local.INFO: Processing buffer {"connection_id":130707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:34:38] local.INFO: IMEI packet received {"connection_id":130707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":130707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:34:39] local.INFO: TCP Data received {"connection_id":130707,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c6baf88012d7f914005afd9380014011b24..."} 
[2026-07-13 22:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c6baf88012d7f914005afd9380014011b24..."} 
[2026-07-13 22:34:39] local.INFO: Processing buffer {"connection_id":130707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c6baf88012d7f914005afd9380014011b24..."} 
[2026-07-13 22:34:39] local.INFO: Packet analysis {"connection_id":130707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c6b"} 
[2026-07-13 22:34:39] local.INFO: Extracted packet for processing {"connection_id":130707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c6b"} 
[2026-07-13 22:34:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 22:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694192128001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783961989000,"timestamp_ms":1783961989000,"timestamp_seconds":1783961989,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c6baf88"} 
[2026-07-13 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-07-13 22:34: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-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 22:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694192128001,"66":25180,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 22:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694192128001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:34:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 22:34:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694192128001,"power":25180,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":130707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:34:39] local.INFO: GPS data processed {"connection_id":130707,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:34:39] local.INFO: Acknowledgment sent {"connection_id":130707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:35:10] local.INFO: TCP Data received {"connection_id":130707,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c6baf88012d7f914005afd9380014011b24..."} 
[2026-07-13 22:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c6baf88012d7f914005afd9380014011b24..."} 
[2026-07-13 22:35:10] local.INFO: Processing buffer {"connection_id":130707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c6baf88012d7f914005afd9380014011b24..."} 
[2026-07-13 22:35:10] local.INFO: Packet analysis {"connection_id":130707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c6b"} 
[2026-07-13 22:35:10] local.INFO: Extracted packet for processing {"connection_id":130707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c6b"} 
[2026-07-13 22:35:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":20,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694192128001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783961989000,"timestamp_ms":1783961989000,"timestamp_seconds":1783961989,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c6baf88"} 
[2026-07-13 22:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694192128001,"66":25180,"28":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-13 22:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694192128001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:35:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-13 22:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694192128001,"power":25180,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":130707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:35:10] local.INFO: GPS data processed {"connection_id":130707,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:35:10] local.INFO: Acknowledgment sent {"connection_id":130707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:35:38] local.INFO: TCP Data received {"connection_id":131741,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:35:38] local.INFO: Processing buffer {"connection_id":131741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:35:38] local.INFO: IMEI packet received {"connection_id":131741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":131741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:35:44] local.INFO: TCP Data received {"connection_id":131741,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:35:44] local.INFO: Processing buffer {"connection_id":131741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:35:44] local.INFO: IMEI packet received {"connection_id":131741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":131741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:35:44] local.INFO: TCP Data received {"connection_id":131741,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c704750012d7f914005afd938001a011b24..."} 
[2026-07-13 22:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c704750012d7f914005afd938001a011b24..."} 
[2026-07-13 22:35:44] local.INFO: Processing buffer {"connection_id":131741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c704750012d7f914005afd938001a011b24..."} 
[2026-07-13 22:35:44] local.INFO: Packet analysis {"connection_id":131741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c70"} 
[2026-07-13 22:35:44] local.INFO: Extracted packet for processing {"connection_id":131741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c70"} 
[2026-07-13 22:35:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694269184001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783962290000,"timestamp_ms":1783962290000,"timestamp_seconds":1783962290,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c704750"} 
[2026-07-13 22:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:35:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 22:35:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:35:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":131741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":131741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":131741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694269184001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694269184001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:35:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:35:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694269184001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":131741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:35:45] local.INFO: GPS data processed {"connection_id":131741,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:35:45] local.INFO: Acknowledgment sent {"connection_id":131741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:35:49] local.INFO: TCP Data received {"connection_id":131741,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c704750012d7f914005afd938001a011b24..."} 
[2026-07-13 22:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c704750012d7f914005afd938001a011b24..."} 
[2026-07-13 22:35:49] local.INFO: Processing buffer {"connection_id":131741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c704750012d7f914005afd938001a011b24..."} 
[2026-07-13 22:35:49] local.INFO: Packet analysis {"connection_id":131741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c70"} 
[2026-07-13 22:35:49] local.INFO: Extracted packet for processing {"connection_id":131741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c70"} 
[2026-07-13 22:35:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694269184001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783962290000,"timestamp_ms":1783962290000,"timestamp_seconds":1783962290,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c704750"} 
[2026-07-13 22:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 22:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:35:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694269184001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694269184001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:35:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:35:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694269184001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":131741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:35:49] local.INFO: GPS data processed {"connection_id":131741,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:35:49] local.INFO: Acknowledgment sent {"connection_id":131741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:36:33] local.INFO: TCP Data received {"connection_id":133057,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:36:33] local.INFO: Processing buffer {"connection_id":133057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:36:33] local.INFO: IMEI packet received {"connection_id":133057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":133057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:36:38] local.INFO: TCP Data received {"connection_id":133057,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:36:38] local.INFO: Processing buffer {"connection_id":133057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:36:38] local.INFO: IMEI packet received {"connection_id":133057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":133057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:36:39] local.INFO: TCP Data received {"connection_id":133057,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c704750012d7f914005afd938001a011b24..."} 
[2026-07-13 22:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c704750012d7f914005afd938001a011b24..."} 
[2026-07-13 22:36:39] local.INFO: Processing buffer {"connection_id":133057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c704750012d7f914005afd938001a011b24..."} 
[2026-07-13 22:36:39] local.INFO: Packet analysis {"connection_id":133057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c70"} 
[2026-07-13 22:36:39] local.INFO: Extracted packet for processing {"connection_id":133057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c70"} 
[2026-07-13 22:36:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694269184001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783962290000,"timestamp_ms":1783962290000,"timestamp_seconds":1783962290,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c704750"} 
[2026-07-13 22:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:36: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-07-13 22:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 22:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694269184001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694269184001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:36:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:36:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694269184001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":133057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:36:39] local.INFO: GPS data processed {"connection_id":133057,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:36:39] local.INFO: Acknowledgment sent {"connection_id":133057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:37:10] local.INFO: TCP Data received {"connection_id":133057,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c704750012d7f914005afd938001a011b24..."} 
[2026-07-13 22:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c704750012d7f914005afd938001a011b24..."} 
[2026-07-13 22:37:10] local.INFO: Processing buffer {"connection_id":133057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c704750012d7f914005afd938001a011b24..."} 
[2026-07-13 22:37:10] local.INFO: Packet analysis {"connection_id":133057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c70"} 
[2026-07-13 22:37:10] local.INFO: Extracted packet for processing {"connection_id":133057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c70"} 
[2026-07-13 22:37:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694269184001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783962290000,"timestamp_ms":1783962290000,"timestamp_seconds":1783962290,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c704750"} 
[2026-07-13 22:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 22:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":133057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":133057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":133057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694269184001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694269184001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:37:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:37:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694269184001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":133057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:37:11] local.INFO: GPS data processed {"connection_id":133057,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:37:11] local.INFO: Acknowledgment sent {"connection_id":133057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:37:33] local.INFO: TCP Data received {"connection_id":131743,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:37:33] local.INFO: Processing buffer {"connection_id":131743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:37:33] local.INFO: IMEI packet received {"connection_id":131743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":131743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:37:38] local.INFO: TCP Data received {"connection_id":131743,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:37:38] local.INFO: Processing buffer {"connection_id":131743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:37:38] local.INFO: IMEI packet received {"connection_id":131743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":131743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:37:39] local.INFO: TCP Data received {"connection_id":131743,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c704750012d7f914005afd938001a011b24..."} 
[2026-07-13 22:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c704750012d7f914005afd938001a011b24..."} 
[2026-07-13 22:37:39] local.INFO: Processing buffer {"connection_id":131743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c704750012d7f914005afd938001a011b24..."} 
[2026-07-13 22:37:39] local.INFO: Packet analysis {"connection_id":131743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c70"} 
[2026-07-13 22:37:39] local.INFO: Extracted packet for processing {"connection_id":131743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c70"} 
[2026-07-13 22:37:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 22:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694269184001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783962290000,"timestamp_ms":1783962290000,"timestamp_seconds":1783962290,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c704750"} 
[2026-07-13 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-07-13 22:37: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-07-13 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 22:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 22:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694269184001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694269184001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:37:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:37:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694269184001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":131743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:37:39] local.INFO: GPS data processed {"connection_id":131743,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:37:39] local.INFO: Acknowledgment sent {"connection_id":131743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:37:59] local.INFO: TCP Data received {"connection_id":130916,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130916,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:37:59] local.INFO: Processing buffer {"connection_id":130916,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:37:59] local.INFO: IMEI packet received {"connection_id":130916,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 22:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":130916,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:38:11] local.INFO: TCP Data received {"connection_id":131743,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c704750012d7f914005afd938001a011b24..."} 
[2026-07-13 22:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c704750012d7f914005afd938001a011b24..."} 
[2026-07-13 22:38:11] local.INFO: Processing buffer {"connection_id":131743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c704750012d7f914005afd938001a011b24..."} 
[2026-07-13 22:38:11] local.INFO: Packet analysis {"connection_id":131743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c70"} 
[2026-07-13 22:38:11] local.INFO: Extracted packet for processing {"connection_id":131743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c70"} 
[2026-07-13 22:38:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694269184001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783962290000,"timestamp_ms":1783962290000,"timestamp_seconds":1783962290,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c704750"} 
[2026-07-13 22:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 22:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694269184001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694269184001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:38:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:38:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694269184001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":131743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:38:11] local.INFO: GPS data processed {"connection_id":131743,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:38:11] local.INFO: Acknowledgment sent {"connection_id":131743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:38:39] local.INFO: TCP Data received {"connection_id":133058,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:38:39] local.INFO: Processing buffer {"connection_id":133058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:38:39] local.INFO: IMEI packet received {"connection_id":133058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":133058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:38:39] local.INFO: TCP Data received {"connection_id":131744,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131744,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:38:39] local.INFO: Processing buffer {"connection_id":131744,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:38:39] local.INFO: IMEI packet received {"connection_id":131744,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 22:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":131744,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:38:43] local.INFO: TCP Data received {"connection_id":133058,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:38:43] local.INFO: Processing buffer {"connection_id":133058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:38:43] local.INFO: IMEI packet received {"connection_id":133058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":133058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:38:54] local.INFO: TCP Data received {"connection_id":133058,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:38:54] local.INFO: Processing buffer {"connection_id":133058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:38:54] local.INFO: IMEI packet received {"connection_id":133058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":133058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:38:56] local.INFO: TCP Data received {"connection_id":133058,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c704750012d7f914005afd938001a011b24..."} 
[2026-07-13 22:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c704750012d7f914005afd938001a011b24..."} 
[2026-07-13 22:38:56] local.INFO: Processing buffer {"connection_id":133058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c704750012d7f914005afd938001a011b24..."} 
[2026-07-13 22:38:56] local.INFO: Packet analysis {"connection_id":133058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c70"} 
[2026-07-13 22:38:56] local.INFO: Extracted packet for processing {"connection_id":133058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c70"} 
[2026-07-13 22:38:56] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694269184001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783962290000,"timestamp_ms":1783962290000,"timestamp_seconds":1783962290,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c704750"} 
[2026-07-13 22:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 22:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":133058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":133058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":133058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694269184001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694269184001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:38:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:38:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694269184001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":133058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:38:56] local.INFO: GPS data processed {"connection_id":133058,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:38:56] local.INFO: Acknowledgment sent {"connection_id":133058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:39:33] local.INFO: TCP Data received {"connection_id":133059,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:39:33] local.INFO: Processing buffer {"connection_id":133059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:39:33] local.INFO: IMEI packet received {"connection_id":133059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":133059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:39:39] local.INFO: TCP Data received {"connection_id":133059,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:39:39] local.INFO: Processing buffer {"connection_id":133059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:39:39] local.INFO: IMEI packet received {"connection_id":133059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":133059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:39:39] local.INFO: TCP Data received {"connection_id":133059,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c704750012d7f914005afd938001a011b24..."} 
[2026-07-13 22:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c704750012d7f914005afd938001a011b24..."} 
[2026-07-13 22:39:39] local.INFO: Processing buffer {"connection_id":133059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c704750012d7f914005afd938001a011b24..."} 
[2026-07-13 22:39:39] local.INFO: Packet analysis {"connection_id":133059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c70"} 
[2026-07-13 22:39:39] local.INFO: Extracted packet for processing {"connection_id":133059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c70"} 
[2026-07-13 22:39:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694269184001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783962290000,"timestamp_ms":1783962290000,"timestamp_seconds":1783962290,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c704750"} 
[2026-07-13 22:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:39: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-07-13 22:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 22:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694269184001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694269184001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:39:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:39:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694269184001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":133059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:39:39] local.INFO: GPS data processed {"connection_id":133059,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:39:39] local.INFO: Acknowledgment sent {"connection_id":133059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:39:44] local.INFO: TCP Data received {"connection_id":133059,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c704750012d7f914005afd938001a011b24..."} 
[2026-07-13 22:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c704750012d7f914005afd938001a011b24..."} 
[2026-07-13 22:39:44] local.INFO: Processing buffer {"connection_id":133059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c704750012d7f914005afd938001a011b24..."} 
[2026-07-13 22:39:44] local.INFO: Packet analysis {"connection_id":133059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c70"} 
[2026-07-13 22:39:44] local.INFO: Extracted packet for processing {"connection_id":133059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c70"} 
[2026-07-13 22:39:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694269184001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783962290000,"timestamp_ms":1783962290000,"timestamp_seconds":1783962290,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c704750"} 
[2026-07-13 22:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 22:39:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":133059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":133059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":133059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694269184001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694269184001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:39:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:39:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694269184001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":133059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:39:44] local.INFO: GPS data processed {"connection_id":133059,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:39:44] local.INFO: Acknowledgment sent {"connection_id":133059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:40:16] local.INFO: TCP Data received {"connection_id":133059,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c704750012d7f914005afd938001a011b24..."} 
[2026-07-13 22:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c704750012d7f914005afd938001a011b24..."} 
[2026-07-13 22:40:16] local.INFO: Processing buffer {"connection_id":133059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c704750012d7f914005afd938001a011b24..."} 
[2026-07-13 22:40:16] local.INFO: Packet analysis {"connection_id":133059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c70"} 
[2026-07-13 22:40:16] local.INFO: Extracted packet for processing {"connection_id":133059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c70"} 
[2026-07-13 22:40:16] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":26,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694269184001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783962290000,"timestamp_ms":1783962290000,"timestamp_seconds":1783962290,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c704750"} 
[2026-07-13 22:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 22:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":133059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":133059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":133059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694269184001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694269184001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:40:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:40:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694269184001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":133059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:40:16] local.INFO: GPS data processed {"connection_id":133059,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:40:16] local.INFO: Acknowledgment sent {"connection_id":133059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:40:33] local.INFO: TCP Data received {"connection_id":130711,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:40:33] local.INFO: Processing buffer {"connection_id":130711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:40:33] local.INFO: IMEI packet received {"connection_id":130711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":130711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:40:38] local.INFO: TCP Data received {"connection_id":130711,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:40:38] local.INFO: Processing buffer {"connection_id":130711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:40:38] local.INFO: IMEI packet received {"connection_id":130711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":130711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:40:39] local.INFO: TCP Data received {"connection_id":130711,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c74df18012d7f914005afd9380018011b23..."} 
[2026-07-13 22:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c74df18012d7f914005afd9380018011b23..."} 
[2026-07-13 22:40:39] local.INFO: Processing buffer {"connection_id":130711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c74df18012d7f914005afd9380018011b23..."} 
[2026-07-13 22:40:39] local.INFO: Packet analysis {"connection_id":130711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c74"} 
[2026-07-13 22:40:39] local.INFO: Extracted packet for processing {"connection_id":130711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c74"} 
[2026-07-13 22:40:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694346240001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783962591000,"timestamp_ms":1783962591000,"timestamp_seconds":1783962591,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c74df18"} 
[2026-07-13 22:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:40: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-07-13 22:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694346240001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694346240001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:40:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:40:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694346240001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":130711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:40:39] local.INFO: GPS data processed {"connection_id":130711,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:40:39] local.INFO: Acknowledgment sent {"connection_id":130711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:41:11] local.INFO: TCP Data received {"connection_id":130711,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c74df18012d7f914005afd9380018011b23..."} 
[2026-07-13 22:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c74df18012d7f914005afd9380018011b23..."} 
[2026-07-13 22:41:11] local.INFO: Processing buffer {"connection_id":130711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c74df18012d7f914005afd9380018011b23..."} 
[2026-07-13 22:41:11] local.INFO: Packet analysis {"connection_id":130711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c74"} 
[2026-07-13 22:41:11] local.INFO: Extracted packet for processing {"connection_id":130711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c74"} 
[2026-07-13 22:41:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694346240001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783962591000,"timestamp_ms":1783962591000,"timestamp_seconds":1783962591,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c74df18"} 
[2026-07-13 22:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694346240001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694346240001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:41:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:41:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694346240001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":130711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:41:11] local.INFO: GPS data processed {"connection_id":130711,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:41:11] local.INFO: Acknowledgment sent {"connection_id":130711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:41:33] local.INFO: TCP Data received {"connection_id":133060,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:41:33] local.INFO: Processing buffer {"connection_id":133060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:41:33] local.INFO: IMEI packet received {"connection_id":133060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":133060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:41:38] local.INFO: TCP Data received {"connection_id":133060,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:41:38] local.INFO: Processing buffer {"connection_id":133060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:41:38] local.INFO: IMEI packet received {"connection_id":133060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":133060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:41:40] local.INFO: TCP Data received {"connection_id":133060,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c74df18012d7f914005afd9380018011b23..."} 
[2026-07-13 22:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c74df18012d7f914005afd9380018011b23..."} 
[2026-07-13 22:41:40] local.INFO: Processing buffer {"connection_id":133060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c74df18012d7f914005afd9380018011b23..."} 
[2026-07-13 22:41:40] local.INFO: Packet analysis {"connection_id":133060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c74"} 
[2026-07-13 22:41:40] local.INFO: Extracted packet for processing {"connection_id":133060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c74"} 
[2026-07-13 22:41:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694346240001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783962591000,"timestamp_ms":1783962591000,"timestamp_seconds":1783962591,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c74df18"} 
[2026-07-13 22:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":133060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":133060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":133060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694346240001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694346240001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:41:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:41:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694346240001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":133060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:41:40] local.INFO: GPS data processed {"connection_id":133060,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:41:40] local.INFO: Acknowledgment sent {"connection_id":133060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:42:11] local.INFO: TCP Data received {"connection_id":133060,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c74df18012d7f914005afd9380018011b23..."} 
[2026-07-13 22:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c74df18012d7f914005afd9380018011b23..."} 
[2026-07-13 22:42:11] local.INFO: Processing buffer {"connection_id":133060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c74df18012d7f914005afd9380018011b23..."} 
[2026-07-13 22:42:11] local.INFO: Packet analysis {"connection_id":133060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c74"} 
[2026-07-13 22:42:11] local.INFO: Extracted packet for processing {"connection_id":133060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c74"} 
[2026-07-13 22:42:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694346240001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783962591000,"timestamp_ms":1783962591000,"timestamp_seconds":1783962591,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c74df18"} 
[2026-07-13 22:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694346240001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694346240001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:42:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:42:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694346240001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":133060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:42:11] local.INFO: GPS data processed {"connection_id":133060,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:42:11] local.INFO: Acknowledgment sent {"connection_id":133060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:42:33] local.INFO: TCP Data received {"connection_id":130712,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:42:33] local.INFO: Processing buffer {"connection_id":130712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:42:33] local.INFO: IMEI packet received {"connection_id":130712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":130712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:42:38] local.INFO: TCP Data received {"connection_id":130712,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:42:38] local.INFO: Processing buffer {"connection_id":130712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:42:38] local.INFO: IMEI packet received {"connection_id":130712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":130712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:42:39] local.INFO: TCP Data received {"connection_id":130712,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c74df18012d7f914005afd9380018011b23..."} 
[2026-07-13 22:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c74df18012d7f914005afd9380018011b23..."} 
[2026-07-13 22:42:39] local.INFO: Processing buffer {"connection_id":130712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c74df18012d7f914005afd9380018011b23..."} 
[2026-07-13 22:42:39] local.INFO: Packet analysis {"connection_id":130712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c74"} 
[2026-07-13 22:42:39] local.INFO: Extracted packet for processing {"connection_id":130712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c74"} 
[2026-07-13 22:42:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 22:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694346240001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783962591000,"timestamp_ms":1783962591000,"timestamp_seconds":1783962591,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c74df18"} 
[2026-07-13 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-07-13 22:42: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-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 22:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694346240001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694346240001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:42:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:42:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694346240001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":130712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:42:39] local.INFO: GPS data processed {"connection_id":130712,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:42:39] local.INFO: Acknowledgment sent {"connection_id":130712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:43:10] local.INFO: TCP Data received {"connection_id":130712,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c74df18012d7f914005afd9380018011b23..."} 
[2026-07-13 22:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c74df18012d7f914005afd9380018011b23..."} 
[2026-07-13 22:43:10] local.INFO: Processing buffer {"connection_id":130712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c74df18012d7f914005afd9380018011b23..."} 
[2026-07-13 22:43:10] local.INFO: Packet analysis {"connection_id":130712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c74"} 
[2026-07-13 22:43:10] local.INFO: Extracted packet for processing {"connection_id":130712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c74"} 
[2026-07-13 22:43:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694346240001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783962591000,"timestamp_ms":1783962591000,"timestamp_seconds":1783962591,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c74df18"} 
[2026-07-13 22:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694346240001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694346240001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:43:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:43:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694346240001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":130712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:43:10] local.INFO: GPS data processed {"connection_id":130712,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:43:10] local.INFO: Acknowledgment sent {"connection_id":130712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:43:33] local.INFO: TCP Data received {"connection_id":133061,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:43:33] local.INFO: Processing buffer {"connection_id":133061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:43:33] local.INFO: IMEI packet received {"connection_id":133061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":133061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:43:39] local.INFO: TCP Data received {"connection_id":133061,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:43:39] local.INFO: Processing buffer {"connection_id":133061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:43:39] local.INFO: IMEI packet received {"connection_id":133061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":133061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:43:40] local.INFO: TCP Data received {"connection_id":133061,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c74df18012d7f914005afd9380018011b23..."} 
[2026-07-13 22:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c74df18012d7f914005afd9380018011b23..."} 
[2026-07-13 22:43:40] local.INFO: Processing buffer {"connection_id":133061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c74df18012d7f914005afd9380018011b23..."} 
[2026-07-13 22:43:40] local.INFO: Packet analysis {"connection_id":133061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c74"} 
[2026-07-13 22:43:40] local.INFO: Extracted packet for processing {"connection_id":133061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c74"} 
[2026-07-13 22:43:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 22:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694346240001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783962591000,"timestamp_ms":1783962591000,"timestamp_seconds":1783962591,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c74df18"} 
[2026-07-13 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-07-13 22:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 22:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":133061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":133061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":133061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694346240001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694346240001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:43:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:43:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694346240001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":133061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:43:40] local.INFO: GPS data processed {"connection_id":133061,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:43:40] local.INFO: Acknowledgment sent {"connection_id":133061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:43:54] local.INFO: TCP Data received {"connection_id":131746,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:43:54] local.INFO: Processing buffer {"connection_id":131746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:43:54] local.INFO: IMEI packet received {"connection_id":131746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 22:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":131746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:44:11] local.INFO: TCP Data received {"connection_id":133061,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c74df18012d7f914005afd9380018011b23..."} 
[2026-07-13 22:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c74df18012d7f914005afd9380018011b23..."} 
[2026-07-13 22:44:11] local.INFO: Processing buffer {"connection_id":133061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c74df18012d7f914005afd9380018011b23..."} 
[2026-07-13 22:44:11] local.INFO: Packet analysis {"connection_id":133061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c74"} 
[2026-07-13 22:44:11] local.INFO: Extracted packet for processing {"connection_id":133061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c74"} 
[2026-07-13 22:44:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694346240001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783962591000,"timestamp_ms":1783962591000,"timestamp_seconds":1783962591,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c74df18"} 
[2026-07-13 22:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694346240001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694346240001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:44:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:44:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694346240001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":133061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:44:11] local.INFO: GPS data processed {"connection_id":133061,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:44:11] local.INFO: Acknowledgment sent {"connection_id":133061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:44:33] local.INFO: TCP Data received {"connection_id":131747,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:44:33] local.INFO: Processing buffer {"connection_id":131747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:44:33] local.INFO: IMEI packet received {"connection_id":131747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":131747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:44:38] local.INFO: TCP Data received {"connection_id":131747,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:44:38] local.INFO: Processing buffer {"connection_id":131747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:44:38] local.INFO: IMEI packet received {"connection_id":131747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":131747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:44:39] local.INFO: TCP Data received {"connection_id":133062,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133062,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:44:39] local.INFO: Processing buffer {"connection_id":133062,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:44:39] local.INFO: IMEI packet received {"connection_id":133062,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 22:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":133062,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:44:40] local.INFO: TCP Data received {"connection_id":131747,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c74df18012d7f914005afd9380018011b23..."} 
[2026-07-13 22:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c74df18012d7f914005afd9380018011b23..."} 
[2026-07-13 22:44:40] local.INFO: Processing buffer {"connection_id":131747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c74df18012d7f914005afd9380018011b23..."} 
[2026-07-13 22:44:40] local.INFO: Packet analysis {"connection_id":131747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c74"} 
[2026-07-13 22:44:40] local.INFO: Extracted packet for processing {"connection_id":131747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c74"} 
[2026-07-13 22:44:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694346240001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783962591000,"timestamp_ms":1783962591000,"timestamp_seconds":1783962591,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c74df18"} 
[2026-07-13 22:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694346240001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694346240001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:44:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:44:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694346240001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":131747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:44:40] local.INFO: GPS data processed {"connection_id":131747,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:44:40] local.INFO: Acknowledgment sent {"connection_id":131747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:45:12] local.INFO: TCP Data received {"connection_id":131747,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c74df18012d7f914005afd9380018011b23..."} 
[2026-07-13 22:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c74df18012d7f914005afd9380018011b23..."} 
[2026-07-13 22:45:12] local.INFO: Processing buffer {"connection_id":131747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c74df18012d7f914005afd9380018011b23..."} 
[2026-07-13 22:45:12] local.INFO: Packet analysis {"connection_id":131747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c74"} 
[2026-07-13 22:45:12] local.INFO: Extracted packet for processing {"connection_id":131747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c74"} 
[2026-07-13 22:45:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":24,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694346240001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783962591000,"timestamp_ms":1783962591000,"timestamp_seconds":1783962591,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c74df18"} 
[2026-07-13 22:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":131747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":131747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":131747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694346240001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694346240001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:45:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:45:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694346240001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":131747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:45:12] local.INFO: GPS data processed {"connection_id":131747,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:45:12] local.INFO: Acknowledgment sent {"connection_id":131747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:45:39] local.INFO: TCP Data received {"connection_id":133063,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:45:39] local.INFO: Processing buffer {"connection_id":133063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:45:39] local.INFO: IMEI packet received {"connection_id":133063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":133063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:45:43] local.INFO: TCP Data received {"connection_id":133063,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:45:43] local.INFO: Processing buffer {"connection_id":133063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:45:43] local.INFO: IMEI packet received {"connection_id":133063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":133063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:45:46] local.INFO: TCP Data received {"connection_id":133063,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c7976e0012d7f914005afd938001f011b22..."} 
[2026-07-13 22:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c7976e0012d7f914005afd938001f011b22..."} 
[2026-07-13 22:45:46] local.INFO: Processing buffer {"connection_id":133063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c7976e0012d7f914005afd938001f011b22..."} 
[2026-07-13 22:45:46] local.INFO: Packet analysis {"connection_id":133063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c79"} 
[2026-07-13 22:45:46] local.INFO: Extracted packet for processing {"connection_id":133063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c79"} 
[2026-07-13 22:45:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694423296001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783962892000,"timestamp_ms":1783962892000,"timestamp_seconds":1783962892,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c7976e0"} 
[2026-07-13 22:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":133063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":133063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":133063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694423296001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694423296001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:45:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:45:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694423296001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":133063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:45:46] local.INFO: GPS data processed {"connection_id":133063,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:45:46] local.INFO: Acknowledgment sent {"connection_id":133063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:45:49] local.INFO: TCP Data received {"connection_id":133063,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c7976e0012d7f914005afd938001f011b22..."} 
[2026-07-13 22:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c7976e0012d7f914005afd938001f011b22..."} 
[2026-07-13 22:45:49] local.INFO: Processing buffer {"connection_id":133063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c7976e0012d7f914005afd938001f011b22..."} 
[2026-07-13 22:45:49] local.INFO: Packet analysis {"connection_id":133063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c79"} 
[2026-07-13 22:45:49] local.INFO: Extracted packet for processing {"connection_id":133063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c79"} 
[2026-07-13 22:45:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694423296001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783962892000,"timestamp_ms":1783962892000,"timestamp_seconds":1783962892,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c7976e0"} 
[2026-07-13 22:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":133063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":133063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":133063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694423296001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694423296001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:45:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:45:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694423296001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":133063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:45:49] local.INFO: GPS data processed {"connection_id":133063,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:45:49] local.INFO: Acknowledgment sent {"connection_id":133063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:46:33] local.INFO: TCP Data received {"connection_id":131748,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:46:33] local.INFO: Processing buffer {"connection_id":131748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:46:33] local.INFO: IMEI packet received {"connection_id":131748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":131748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:46:38] local.INFO: TCP Data received {"connection_id":131748,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:46:38] local.INFO: Processing buffer {"connection_id":131748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:46:38] local.INFO: IMEI packet received {"connection_id":131748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":131748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:46:43] local.INFO: TCP Data received {"connection_id":131748,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:46:43] local.INFO: Processing buffer {"connection_id":131748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:46:43] local.INFO: IMEI packet received {"connection_id":131748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":131748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:46:44] local.INFO: TCP Data received {"connection_id":131748,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c7976e0012d7f914005afd938001f011b22..."} 
[2026-07-13 22:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c7976e0012d7f914005afd938001f011b22..."} 
[2026-07-13 22:46:44] local.INFO: Processing buffer {"connection_id":131748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c7976e0012d7f914005afd938001f011b22..."} 
[2026-07-13 22:46:44] local.INFO: Packet analysis {"connection_id":131748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c79"} 
[2026-07-13 22:46:44] local.INFO: Extracted packet for processing {"connection_id":131748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c79"} 
[2026-07-13 22:46:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694423296001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783962892000,"timestamp_ms":1783962892000,"timestamp_seconds":1783962892,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c7976e0"} 
[2026-07-13 22:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:46:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:46:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":131748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":131748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":131748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694423296001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694423296001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:46:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:46:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694423296001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":131748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:46:44] local.INFO: GPS data processed {"connection_id":131748,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:46:44] local.INFO: Acknowledgment sent {"connection_id":131748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:47:16] local.INFO: TCP Data received {"connection_id":131748,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c7976e0012d7f914005afd938001f011b22..."} 
[2026-07-13 22:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c7976e0012d7f914005afd938001f011b22..."} 
[2026-07-13 22:47:16] local.INFO: Processing buffer {"connection_id":131748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c7976e0012d7f914005afd938001f011b22..."} 
[2026-07-13 22:47:16] local.INFO: Packet analysis {"connection_id":131748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c79"} 
[2026-07-13 22:47:16] local.INFO: Extracted packet for processing {"connection_id":131748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c79"} 
[2026-07-13 22:47:16] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694423296001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783962892000,"timestamp_ms":1783962892000,"timestamp_seconds":1783962892,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c7976e0"} 
[2026-07-13 22:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":131748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":131748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":131748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694423296001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694423296001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:47:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:47:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694423296001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":131748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:47:16] local.INFO: GPS data processed {"connection_id":131748,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:47:16] local.INFO: Acknowledgment sent {"connection_id":131748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:47:38] local.INFO: TCP Data received {"connection_id":130713,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:47:38] local.INFO: Processing buffer {"connection_id":130713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:47:38] local.INFO: IMEI packet received {"connection_id":130713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":130713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:47:43] local.INFO: TCP Data received {"connection_id":130713,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:47:43] local.INFO: Processing buffer {"connection_id":130713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:47:43] local.INFO: IMEI packet received {"connection_id":130713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":130713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:47:45] local.INFO: TCP Data received {"connection_id":130713,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c7976e0012d7f914005afd938001f011b22..."} 
[2026-07-13 22:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c7976e0012d7f914005afd938001f011b22..."} 
[2026-07-13 22:47:45] local.INFO: Processing buffer {"connection_id":130713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c7976e0012d7f914005afd938001f011b22..."} 
[2026-07-13 22:47:45] local.INFO: Packet analysis {"connection_id":130713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c79"} 
[2026-07-13 22:47:45] local.INFO: Extracted packet for processing {"connection_id":130713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c79"} 
[2026-07-13 22:47:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694423296001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783962892000,"timestamp_ms":1783962892000,"timestamp_seconds":1783962892,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c7976e0"} 
[2026-07-13 22:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694423296001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694423296001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:47:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:47:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694423296001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":130713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:47:45] local.INFO: GPS data processed {"connection_id":130713,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:47:45] local.INFO: Acknowledgment sent {"connection_id":130713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:47:49] local.INFO: TCP Data received {"connection_id":130713,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c7976e0012d7f914005afd938001f011b22..."} 
[2026-07-13 22:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c7976e0012d7f914005afd938001f011b22..."} 
[2026-07-13 22:47:49] local.INFO: Processing buffer {"connection_id":130713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c7976e0012d7f914005afd938001f011b22..."} 
[2026-07-13 22:47:49] local.INFO: Packet analysis {"connection_id":130713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c79"} 
[2026-07-13 22:47:49] local.INFO: Extracted packet for processing {"connection_id":130713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c79"} 
[2026-07-13 22:47:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694423296001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783962892000,"timestamp_ms":1783962892000,"timestamp_seconds":1783962892,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c7976e0"} 
[2026-07-13 22:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694423296001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694423296001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:47:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:47:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694423296001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":130713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:47:49] local.INFO: GPS data processed {"connection_id":130713,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:47:49] local.INFO: Acknowledgment sent {"connection_id":130713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:48:33] local.INFO: TCP Data received {"connection_id":130922,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:48:33] local.INFO: Processing buffer {"connection_id":130922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:48:33] local.INFO: IMEI packet received {"connection_id":130922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":130922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:48:38] local.INFO: TCP Data received {"connection_id":130922,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:48:38] local.INFO: Processing buffer {"connection_id":130922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:48:38] local.INFO: IMEI packet received {"connection_id":130922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":130922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:48:39] local.INFO: TCP Data received {"connection_id":130922,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c7976e0012d7f914005afd938001f011b22..."} 
[2026-07-13 22:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c7976e0012d7f914005afd938001f011b22..."} 
[2026-07-13 22:48:39] local.INFO: Processing buffer {"connection_id":130922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c7976e0012d7f914005afd938001f011b22..."} 
[2026-07-13 22:48:39] local.INFO: Packet analysis {"connection_id":130922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c79"} 
[2026-07-13 22:48:39] local.INFO: Extracted packet for processing {"connection_id":130922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c79"} 
[2026-07-13 22:48:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 22:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694423296001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783962892000,"timestamp_ms":1783962892000,"timestamp_seconds":1783962892,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c7976e0"} 
[2026-07-13 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-07-13 22:48: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-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 22:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694423296001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694423296001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:48:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:48:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694423296001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":130922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:48:39] local.INFO: GPS data processed {"connection_id":130922,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:48:39] local.INFO: Acknowledgment sent {"connection_id":130922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:49:13] local.INFO: TCP Data received {"connection_id":130922,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c7976e0012d7f914005afd938001f011b22..."} 
[2026-07-13 22:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c7976e0012d7f914005afd938001f011b22..."} 
[2026-07-13 22:49:13] local.INFO: Processing buffer {"connection_id":130922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c7976e0012d7f914005afd938001f011b22..."} 
[2026-07-13 22:49:13] local.INFO: Packet analysis {"connection_id":130922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c79"} 
[2026-07-13 22:49:13] local.INFO: Extracted packet for processing {"connection_id":130922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c79"} 
[2026-07-13 22:49:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694423296001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783962892000,"timestamp_ms":1783962892000,"timestamp_seconds":1783962892,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c7976e0"} 
[2026-07-13 22:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694423296001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694423296001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:49:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:49:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694423296001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":130922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:49:13] local.INFO: GPS data processed {"connection_id":130922,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:49:13] local.INFO: Acknowledgment sent {"connection_id":130922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:49:33] local.INFO: TCP Data received {"connection_id":130923,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:49:33] local.INFO: Processing buffer {"connection_id":130923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:49:33] local.INFO: IMEI packet received {"connection_id":130923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":130923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:49:39] local.INFO: TCP Data received {"connection_id":130923,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:49:39] local.INFO: Processing buffer {"connection_id":130923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:49:39] local.INFO: IMEI packet received {"connection_id":130923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":130923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:49:40] local.INFO: TCP Data received {"connection_id":130923,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c7976e0012d7f914005afd938001f011b22..."} 
[2026-07-13 22:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c7976e0012d7f914005afd938001f011b22..."} 
[2026-07-13 22:49:40] local.INFO: Processing buffer {"connection_id":130923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c7976e0012d7f914005afd938001f011b22..."} 
[2026-07-13 22:49:40] local.INFO: Packet analysis {"connection_id":130923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c79"} 
[2026-07-13 22:49:40] local.INFO: Extracted packet for processing {"connection_id":130923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c79"} 
[2026-07-13 22:49:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694423296001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783962892000,"timestamp_ms":1783962892000,"timestamp_seconds":1783962892,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c7976e0"} 
[2026-07-13 22:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694423296001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694423296001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:49:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:49:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694423296001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":130923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:49:40] local.INFO: GPS data processed {"connection_id":130923,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:49:40] local.INFO: Acknowledgment sent {"connection_id":130923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:49:44] local.INFO: TCP Data received {"connection_id":130924,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:49:44] local.INFO: Processing buffer {"connection_id":130924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:49:44] local.INFO: IMEI packet received {"connection_id":130924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 22:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":130924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:50:12] local.INFO: TCP Data received {"connection_id":130923,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c7976e0012d7f914005afd938001f011b22..."} 
[2026-07-13 22:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c7976e0012d7f914005afd938001f011b22..."} 
[2026-07-13 22:50:12] local.INFO: Processing buffer {"connection_id":130923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c7976e0012d7f914005afd938001f011b22..."} 
[2026-07-13 22:50:12] local.INFO: Packet analysis {"connection_id":130923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c79"} 
[2026-07-13 22:50:12] local.INFO: Extracted packet for processing {"connection_id":130923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c79"} 
[2026-07-13 22:50:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694423296001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783962892000,"timestamp_ms":1783962892000,"timestamp_seconds":1783962892,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c7976e0"} 
[2026-07-13 22:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694423296001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694423296001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:50:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:50:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694423296001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":130923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:50:12] local.INFO: GPS data processed {"connection_id":130923,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:50:12] local.INFO: Acknowledgment sent {"connection_id":130923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:50:33] local.INFO: TCP Data received {"connection_id":133066,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:50:33] local.INFO: Processing buffer {"connection_id":133066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:50:33] local.INFO: IMEI packet received {"connection_id":133066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":133066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:50:38] local.INFO: TCP Data received {"connection_id":133066,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:50:38] local.INFO: Processing buffer {"connection_id":133066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:50:38] local.INFO: IMEI packet received {"connection_id":133066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":133066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:50:39] local.INFO: TCP Data received {"connection_id":133066,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:50:39] local.INFO: Processing buffer {"connection_id":133066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:50:39] local.INFO: Packet analysis {"connection_id":133066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c7e"} 
[2026-07-13 22:50:39] local.INFO: Extracted packet for processing {"connection_id":133066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c7e"} 
[2026-07-13 22:50:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 22:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694500352001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783963193000,"timestamp_ms":1783963193000,"timestamp_seconds":1783963193,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c7e0ea8"} 
[2026-07-13 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-07-13 22:50: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-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 22:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694500352001,"66":25288,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694500352001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:50:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:50:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694500352001,"power":25288,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":133066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:50:39] local.INFO: GPS data processed {"connection_id":133066,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:50:39] local.INFO: Acknowledgment sent {"connection_id":133066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:51:10] local.INFO: TCP Data received {"connection_id":133066,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:51:10] local.INFO: Processing buffer {"connection_id":133066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:51:10] local.INFO: Packet analysis {"connection_id":133066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c7e"} 
[2026-07-13 22:51:10] local.INFO: Extracted packet for processing {"connection_id":133066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c7e"} 
[2026-07-13 22:51:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694500352001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783963193000,"timestamp_ms":1783963193000,"timestamp_seconds":1783963193,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c7e0ea8"} 
[2026-07-13 22:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":133066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":133066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":133066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694500352001,"66":25288,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694500352001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:51:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:51:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694500352001,"power":25288,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":133066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:51:10] local.INFO: GPS data processed {"connection_id":133066,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:51:10] local.INFO: Acknowledgment sent {"connection_id":133066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:51:33] local.INFO: TCP Data received {"connection_id":130714,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:51:33] local.INFO: Processing buffer {"connection_id":130714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:51:33] local.INFO: IMEI packet received {"connection_id":130714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":130714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:51:38] local.INFO: TCP Data received {"connection_id":130714,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:51:38] local.INFO: Processing buffer {"connection_id":130714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:51:38] local.INFO: IMEI packet received {"connection_id":130714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":130714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:51:41] local.INFO: TCP Data received {"connection_id":130714,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:51:41] local.INFO: Processing buffer {"connection_id":130714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:51:41] local.INFO: Packet analysis {"connection_id":130714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c7e"} 
[2026-07-13 22:51:41] local.INFO: Extracted packet for processing {"connection_id":130714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c7e"} 
[2026-07-13 22:51:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694500352001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783963193000,"timestamp_ms":1783963193000,"timestamp_seconds":1783963193,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c7e0ea8"} 
[2026-07-13 22:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694500352001,"66":25288,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694500352001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:51:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:51:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694500352001,"power":25288,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":130714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:51:41] local.INFO: GPS data processed {"connection_id":130714,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:51:41] local.INFO: Acknowledgment sent {"connection_id":130714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:52:12] local.INFO: TCP Data received {"connection_id":130714,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:52:12] local.INFO: Processing buffer {"connection_id":130714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:52:12] local.INFO: Packet analysis {"connection_id":130714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c7e"} 
[2026-07-13 22:52:12] local.INFO: Extracted packet for processing {"connection_id":130714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c7e"} 
[2026-07-13 22:52:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694500352001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783963193000,"timestamp_ms":1783963193000,"timestamp_seconds":1783963193,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c7e0ea8"} 
[2026-07-13 22:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694500352001,"66":25288,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694500352001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:52:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:52:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694500352001,"power":25288,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":130714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:52:12] local.INFO: GPS data processed {"connection_id":130714,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:52:12] local.INFO: Acknowledgment sent {"connection_id":130714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:52:38] local.INFO: TCP Data received {"connection_id":131751,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:52:38] local.INFO: Processing buffer {"connection_id":131751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:52:38] local.INFO: IMEI packet received {"connection_id":131751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":131751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:52:43] local.INFO: TCP Data received {"connection_id":131751,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:52:43] local.INFO: Processing buffer {"connection_id":131751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:52:43] local.INFO: IMEI packet received {"connection_id":131751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":131751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:52:44] local.INFO: TCP Data received {"connection_id":131751,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:52:44] local.INFO: Processing buffer {"connection_id":131751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:52:44] local.INFO: Packet analysis {"connection_id":131751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c7e"} 
[2026-07-13 22:52:44] local.INFO: Extracted packet for processing {"connection_id":131751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c7e"} 
[2026-07-13 22:52:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694500352001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783963193000,"timestamp_ms":1783963193000,"timestamp_seconds":1783963193,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c7e0ea8"} 
[2026-07-13 22:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:52:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":131751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":131751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":131751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694500352001,"66":25288,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694500352001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:52:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:52:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694500352001,"power":25288,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":131751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:52:44] local.INFO: GPS data processed {"connection_id":131751,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:52:44] local.INFO: Acknowledgment sent {"connection_id":131751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:52:49] local.INFO: TCP Data received {"connection_id":131751,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:52:49] local.INFO: Processing buffer {"connection_id":131751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:52:49] local.INFO: Packet analysis {"connection_id":131751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c7e"} 
[2026-07-13 22:52:49] local.INFO: Extracted packet for processing {"connection_id":131751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c7e"} 
[2026-07-13 22:52:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 22:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694500352001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783963193000,"timestamp_ms":1783963193000,"timestamp_seconds":1783963193,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c7e0ea8"} 
[2026-07-13 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-07-13 22:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 22:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:52: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-07-13 22:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694500352001,"66":25288,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694500352001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:52:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:52:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694500352001,"power":25288,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":131751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:52:49] local.INFO: GPS data processed {"connection_id":131751,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:52:49] local.INFO: Acknowledgment sent {"connection_id":131751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:53:33] local.INFO: TCP Data received {"connection_id":133068,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:53:33] local.INFO: Processing buffer {"connection_id":133068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:53:33] local.INFO: IMEI packet received {"connection_id":133068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":133068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:53:38] local.INFO: TCP Data received {"connection_id":133068,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:53:38] local.INFO: Processing buffer {"connection_id":133068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:53:38] local.INFO: IMEI packet received {"connection_id":133068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":133068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:53:39] local.INFO: TCP Data received {"connection_id":133068,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:53:40] local.INFO: Processing buffer {"connection_id":133068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:53:40] local.INFO: Packet analysis {"connection_id":133068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c7e"} 
[2026-07-13 22:53:40] local.INFO: Extracted packet for processing {"connection_id":133068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c7e"} 
[2026-07-13 22:53:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 22:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694500352001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783963193000,"timestamp_ms":1783963193000,"timestamp_seconds":1783963193,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c7e0ea8"} 
[2026-07-13 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-07-13 22:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 22:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":133068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":133068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":133068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694500352001,"66":25288,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694500352001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:53:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:53:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694500352001,"power":25288,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":133068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:53:40] local.INFO: GPS data processed {"connection_id":133068,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:53:40] local.INFO: Acknowledgment sent {"connection_id":133068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:54:11] local.INFO: TCP Data received {"connection_id":133068,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:54:11] local.INFO: Processing buffer {"connection_id":133068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:54:11] local.INFO: Packet analysis {"connection_id":133068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c7e"} 
[2026-07-13 22:54:11] local.INFO: Extracted packet for processing {"connection_id":133068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c7e"} 
[2026-07-13 22:54:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694500352001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783963193000,"timestamp_ms":1783963193000,"timestamp_seconds":1783963193,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c7e0ea8"} 
[2026-07-13 22:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694500352001,"66":25288,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694500352001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:54:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:54:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694500352001,"power":25288,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":133068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:54:11] local.INFO: GPS data processed {"connection_id":133068,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:54:11] local.INFO: Acknowledgment sent {"connection_id":133068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:54:33] local.INFO: TCP Data received {"connection_id":130925,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:54:33] local.INFO: Processing buffer {"connection_id":130925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:54:33] local.INFO: IMEI packet received {"connection_id":130925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":130925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:54:38] local.INFO: TCP Data received {"connection_id":130925,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:54:38] local.INFO: Processing buffer {"connection_id":130925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:54:38] local.INFO: IMEI packet received {"connection_id":130925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":130925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:54:39] local.INFO: TCP Data received {"connection_id":130925,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:54:39] local.INFO: Processing buffer {"connection_id":130925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:54:39] local.INFO: Packet analysis {"connection_id":130925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c7e"} 
[2026-07-13 22:54:39] local.INFO: Extracted packet for processing {"connection_id":130925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c7e"} 
[2026-07-13 22:54:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694500352001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783963193000,"timestamp_ms":1783963193000,"timestamp_seconds":1783963193,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c7e0ea8"} 
[2026-07-13 22:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:54: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-07-13 22:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694500352001,"66":25288,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694500352001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:54:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:54:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694500352001,"power":25288,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":130925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:54:39] local.INFO: GPS data processed {"connection_id":130925,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:54:39] local.INFO: Acknowledgment sent {"connection_id":130925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:54:45] local.INFO: TCP Data received {"connection_id":130925,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:54:45] local.INFO: Processing buffer {"connection_id":130925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:54:45] local.INFO: Packet analysis {"connection_id":130925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c7e"} 
[2026-07-13 22:54:45] local.INFO: Extracted packet for processing {"connection_id":130925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c7e"} 
[2026-07-13 22:54:45] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694500352001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783963193000,"timestamp_ms":1783963193000,"timestamp_seconds":1783963193,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c7e0ea8"} 
[2026-07-13 22:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:54:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:54:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":130925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":130925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":130925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694500352001,"66":25288,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694500352001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:54:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:54:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694500352001,"power":25288,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":130925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:54:45] local.INFO: GPS data processed {"connection_id":130925,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:54:45] local.INFO: Acknowledgment sent {"connection_id":130925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:55:22] local.INFO: TCP Data received {"connection_id":130925,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:55:22] local.INFO: Processing buffer {"connection_id":130925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c7e0ea8012d7f914005afd938001d011b21..."} 
[2026-07-13 22:55:22] local.INFO: Packet analysis {"connection_id":130925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c7e"} 
[2026-07-13 22:55:22] local.INFO: Extracted packet for processing {"connection_id":130925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c7e"} 
[2026-07-13 22:55:22] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694500352001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783963193000,"timestamp_ms":1783963193000,"timestamp_seconds":1783963193,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c7e0ea8"} 
[2026-07-13 22:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:55:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 22:55:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":130925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":130925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":130925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694500352001,"66":25288,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694500352001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:55:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:55:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694500352001,"power":25288,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":130925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:55:22] local.INFO: GPS data processed {"connection_id":130925,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:55:22] local.INFO: Acknowledgment sent {"connection_id":130925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:55:23] local.INFO: TCP Data received {"connection_id":133070,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133070,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:55:23] local.INFO: Processing buffer {"connection_id":133070,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:55:23] local.INFO: IMEI packet received {"connection_id":133070,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 22:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":133070,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:55:32] local.INFO: TCP Data received {"connection_id":130926,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:55:32] local.INFO: Processing buffer {"connection_id":130926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:55:32] local.INFO: IMEI packet received {"connection_id":130926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":130926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:55:34] local.INFO: TCP Data received {"connection_id":130926,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:55:34] local.INFO: Processing buffer {"connection_id":130926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:55:34] local.INFO: IMEI packet received {"connection_id":130926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":130926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:55:38] local.INFO: TCP Data received {"connection_id":130926,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:55:38] local.INFO: Processing buffer {"connection_id":130926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:55:38] local.INFO: IMEI packet received {"connection_id":130926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":130926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:55:39] local.INFO: TCP Data received {"connection_id":131752,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131752,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:55:39] local.INFO: Processing buffer {"connection_id":131752,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 22:55:39] local.INFO: IMEI packet received {"connection_id":131752,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 22:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":131752,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:55:39] local.INFO: TCP Data received {"connection_id":130926,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c82a670012d7f914005afd938001d011b26..."} 
[2026-07-13 22:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c82a670012d7f914005afd938001d011b26..."} 
[2026-07-13 22:55:39] local.INFO: Processing buffer {"connection_id":130926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c82a670012d7f914005afd938001d011b26..."} 
[2026-07-13 22:55:39] local.INFO: Packet analysis {"connection_id":130926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c82"} 
[2026-07-13 22:55:39] local.INFO: Extracted packet for processing {"connection_id":130926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c82"} 
[2026-07-13 22:55:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694577408001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783963494000,"timestamp_ms":1783963494000,"timestamp_seconds":1783963494,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c82a670"} 
[2026-07-13 22:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:55: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-07-13 22:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 22:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694577408001,"66":25158,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694577408001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:55:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:55:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694577408001,"power":25158,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":130926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:55:39] local.INFO: GPS data processed {"connection_id":130926,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:55:39] local.INFO: Acknowledgment sent {"connection_id":130926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:56:16] local.INFO: TCP Data received {"connection_id":130926,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c82a670012d7f914005afd938001d011b26..."} 
[2026-07-13 22:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c82a670012d7f914005afd938001d011b26..."} 
[2026-07-13 22:56:16] local.INFO: Processing buffer {"connection_id":130926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c82a670012d7f914005afd938001d011b26..."} 
[2026-07-13 22:56:16] local.INFO: Packet analysis {"connection_id":130926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c82"} 
[2026-07-13 22:56:16] local.INFO: Extracted packet for processing {"connection_id":130926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c82"} 
[2026-07-13 22:56:16] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694577408001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783963494000,"timestamp_ms":1783963494000,"timestamp_seconds":1783963494,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c82a670"} 
[2026-07-13 22:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 22:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694577408001,"66":25158,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694577408001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:56:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:56:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694577408001,"power":25158,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":130926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:56:16] local.INFO: GPS data processed {"connection_id":130926,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:56:16] local.INFO: Acknowledgment sent {"connection_id":130926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:56:33] local.INFO: TCP Data received {"connection_id":133071,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:56:33] local.INFO: Processing buffer {"connection_id":133071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:56:33] local.INFO: IMEI packet received {"connection_id":133071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":133071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:56:38] local.INFO: TCP Data received {"connection_id":133071,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:56:38] local.INFO: Processing buffer {"connection_id":133071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:56:38] local.INFO: IMEI packet received {"connection_id":133071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":133071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:56:39] local.INFO: TCP Data received {"connection_id":133071,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c82a670012d7f914005afd938001d011b26..."} 
[2026-07-13 22:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c82a670012d7f914005afd938001d011b26..."} 
[2026-07-13 22:56:39] local.INFO: Processing buffer {"connection_id":133071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c82a670012d7f914005afd938001d011b26..."} 
[2026-07-13 22:56:39] local.INFO: Packet analysis {"connection_id":133071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c82"} 
[2026-07-13 22:56:39] local.INFO: Extracted packet for processing {"connection_id":133071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c82"} 
[2026-07-13 22:56:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694577408001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783963494000,"timestamp_ms":1783963494000,"timestamp_seconds":1783963494,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c82a670"} 
[2026-07-13 22:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:56: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-07-13 22:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 22:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694577408001,"66":25158,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694577408001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:56:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:56:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694577408001,"power":25158,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":133071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:56:39] local.INFO: GPS data processed {"connection_id":133071,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:56:39] local.INFO: Acknowledgment sent {"connection_id":133071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:57:10] local.INFO: TCP Data received {"connection_id":133071,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c82a670012d7f914005afd938001d011b26..."} 
[2026-07-13 22:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c82a670012d7f914005afd938001d011b26..."} 
[2026-07-13 22:57:10] local.INFO: Processing buffer {"connection_id":133071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c82a670012d7f914005afd938001d011b26..."} 
[2026-07-13 22:57:10] local.INFO: Packet analysis {"connection_id":133071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c82"} 
[2026-07-13 22:57:10] local.INFO: Extracted packet for processing {"connection_id":133071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c82"} 
[2026-07-13 22:57:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694577408001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783963494000,"timestamp_ms":1783963494000,"timestamp_seconds":1783963494,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c82a670"} 
[2026-07-13 22:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 22:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":133071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":133071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":133071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694577408001,"66":25158,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694577408001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:57:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:57:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694577408001,"power":25158,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":133071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:57:10] local.INFO: GPS data processed {"connection_id":133071,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:57:10] local.INFO: Acknowledgment sent {"connection_id":133071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:57:33] local.INFO: TCP Data received {"connection_id":131753,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:57:33] local.INFO: Processing buffer {"connection_id":131753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:57:33] local.INFO: IMEI packet received {"connection_id":131753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":131753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:57:38] local.INFO: TCP Data received {"connection_id":131753,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:57:38] local.INFO: Processing buffer {"connection_id":131753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:57:38] local.INFO: IMEI packet received {"connection_id":131753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":131753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:57:39] local.INFO: TCP Data received {"connection_id":131753,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c82a670012d7f914005afd938001d011b26..."} 
[2026-07-13 22:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c82a670012d7f914005afd938001d011b26..."} 
[2026-07-13 22:57:39] local.INFO: Processing buffer {"connection_id":131753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c82a670012d7f914005afd938001d011b26..."} 
[2026-07-13 22:57:39] local.INFO: Packet analysis {"connection_id":131753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c82"} 
[2026-07-13 22:57:39] local.INFO: Extracted packet for processing {"connection_id":131753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c82"} 
[2026-07-13 22:57:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 22:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694577408001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783963494000,"timestamp_ms":1783963494000,"timestamp_seconds":1783963494,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c82a670"} 
[2026-07-13 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-07-13 22:57: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-07-13 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 22:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 22:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694577408001,"66":25158,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694577408001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:57:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:57:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694577408001,"power":25158,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":131753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:57:39] local.INFO: GPS data processed {"connection_id":131753,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:57:39] local.INFO: Acknowledgment sent {"connection_id":131753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:58:10] local.INFO: TCP Data received {"connection_id":131753,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c82a670012d7f914005afd938001d011b26..."} 
[2026-07-13 22:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c82a670012d7f914005afd938001d011b26..."} 
[2026-07-13 22:58:10] local.INFO: Processing buffer {"connection_id":131753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c82a670012d7f914005afd938001d011b26..."} 
[2026-07-13 22:58:10] local.INFO: Packet analysis {"connection_id":131753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c82"} 
[2026-07-13 22:58:10] local.INFO: Extracted packet for processing {"connection_id":131753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c82"} 
[2026-07-13 22:58:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694577408001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783963494000,"timestamp_ms":1783963494000,"timestamp_seconds":1783963494,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c82a670"} 
[2026-07-13 22:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 22:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694577408001,"66":25158,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694577408001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:58:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:58:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694577408001,"power":25158,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":131753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:58:11] local.INFO: GPS data processed {"connection_id":131753,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:58:11] local.INFO: Acknowledgment sent {"connection_id":131753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:58:38] local.INFO: TCP Data received {"connection_id":130928,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:58:38] local.INFO: Processing buffer {"connection_id":130928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:58:38] local.INFO: IMEI packet received {"connection_id":130928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":130928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:58:43] local.INFO: TCP Data received {"connection_id":130928,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:58:43] local.INFO: Processing buffer {"connection_id":130928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:58:43] local.INFO: IMEI packet received {"connection_id":130928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":130928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:58:44] local.INFO: TCP Data received {"connection_id":130928,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c82a670012d7f914005afd938001d011b26..."} 
[2026-07-13 22:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c82a670012d7f914005afd938001d011b26..."} 
[2026-07-13 22:58:44] local.INFO: Processing buffer {"connection_id":130928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c82a670012d7f914005afd938001d011b26..."} 
[2026-07-13 22:58:44] local.INFO: Packet analysis {"connection_id":130928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c82"} 
[2026-07-13 22:58:44] local.INFO: Extracted packet for processing {"connection_id":130928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c82"} 
[2026-07-13 22:58:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694577408001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783963494000,"timestamp_ms":1783963494000,"timestamp_seconds":1783963494,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c82a670"} 
[2026-07-13 22:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 22:58:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694577408001,"66":25158,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694577408001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:58:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:58:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694577408001,"power":25158,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":130928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:58:44] local.INFO: GPS data processed {"connection_id":130928,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:58:44] local.INFO: Acknowledgment sent {"connection_id":130928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:58:49] local.INFO: TCP Data received {"connection_id":130928,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c82a670012d7f914005afd938001d011b26..."} 
[2026-07-13 22:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c82a670012d7f914005afd938001d011b26..."} 
[2026-07-13 22:58:49] local.INFO: Processing buffer {"connection_id":130928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c82a670012d7f914005afd938001d011b26..."} 
[2026-07-13 22:58:49] local.INFO: Packet analysis {"connection_id":130928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c82"} 
[2026-07-13 22:58:49] local.INFO: Extracted packet for processing {"connection_id":130928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c82"} 
[2026-07-13 22:58:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 22:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 22:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694577408001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783963494000,"timestamp_ms":1783963494000,"timestamp_seconds":1783963494,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c82a670"} 
[2026-07-13 22:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 22:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 22:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 22:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 22:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 22:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 22:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:58: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-07-13 22:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694577408001,"66":25158,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694577408001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:58:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:58:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694577408001,"power":25158,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":130928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:58:49] local.INFO: GPS data processed {"connection_id":130928,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:58:49] local.INFO: Acknowledgment sent {"connection_id":130928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 22:59:33] local.INFO: TCP Data received {"connection_id":130930,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:59:33] local.INFO: Processing buffer {"connection_id":130930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:59:33] local.INFO: IMEI packet received {"connection_id":130930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 22:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":130930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 22:59:38] local.INFO: TCP Data received {"connection_id":130930,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:59:38] local.INFO: Processing buffer {"connection_id":130930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 22:59:38] local.INFO: IMEI packet received {"connection_id":130930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 22:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":130930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 22:59:39] local.INFO: TCP Data received {"connection_id":130930,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c82a670012d7f914005afd938001d011b26..."} 
[2026-07-13 22:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c82a670012d7f914005afd938001d011b26..."} 
[2026-07-13 22:59:39] local.INFO: Processing buffer {"connection_id":130930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c82a670012d7f914005afd938001d011b26..."} 
[2026-07-13 22:59:39] local.INFO: Packet analysis {"connection_id":130930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c82"} 
[2026-07-13 22:59:39] local.INFO: Extracted packet for processing {"connection_id":130930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c82"} 
[2026-07-13 22:59:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 22:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694577408001,"note":"Value kept but may cause issues"} 
[2026-07-13 22:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 22:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 22:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 22:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783963494000,"timestamp_ms":1783963494000,"timestamp_seconds":1783963494,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c82a670"} 
[2026-07-13 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-07-13 22:59: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-07-13 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 22:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 22:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 22:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 22:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 22:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 22:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 22:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 22:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694577408001,"66":25158,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 22:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 22:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 22:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694577408001,"description":"Unknown IO ID 0"} 
[2026-07-13 22:59:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 22:59:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 22:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 22:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 22:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694577408001,"power":25158,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 22:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":130930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 22:59:39] local.INFO: GPS data processed {"connection_id":130930,"processed":1,"errors":0,"total":1} 
[2026-07-13 22:59:39] local.INFO: Acknowledgment sent {"connection_id":130930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:00:12] local.INFO: TCP Data received {"connection_id":130930,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c82a670012d7f914005afd938001d011b26..."} 
[2026-07-13 23:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c82a670012d7f914005afd938001d011b26..."} 
[2026-07-13 23:00:12] local.INFO: Processing buffer {"connection_id":130930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c82a670012d7f914005afd938001d011b26..."} 
[2026-07-13 23:00:12] local.INFO: Packet analysis {"connection_id":130930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c82"} 
[2026-07-13 23:00:12] local.INFO: Extracted packet for processing {"connection_id":130930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c82"} 
[2026-07-13 23:00:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":38,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694577408001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783963494000,"timestamp_ms":1783963494000,"timestamp_seconds":1783963494,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c82a670"} 
[2026-07-13 23:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-13 23:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694577408001,"66":25158,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694577408001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:00:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:00:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694577408001,"power":25158,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":130930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:00:12] local.INFO: GPS data processed {"connection_id":130930,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:00:12] local.INFO: Acknowledgment sent {"connection_id":130930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:00:33] local.INFO: TCP Data received {"connection_id":133072,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:00:33] local.INFO: Processing buffer {"connection_id":133072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:00:33] local.INFO: IMEI packet received {"connection_id":133072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":133072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:00:34] local.INFO: TCP Data received {"connection_id":133072,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:00:34] local.INFO: Processing buffer {"connection_id":133072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:00:34] local.INFO: IMEI packet received {"connection_id":133072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":133072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:00:38] local.INFO: TCP Data received {"connection_id":133072,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:00:38] local.INFO: Processing buffer {"connection_id":133072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:00:38] local.INFO: IMEI packet received {"connection_id":133072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":133072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:00:39] local.INFO: TCP Data received {"connection_id":133072,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c873e38012d7f914005afd938001e011b24..."} 
[2026-07-13 23:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c873e38012d7f914005afd938001e011b24..."} 
[2026-07-13 23:00:39] local.INFO: Processing buffer {"connection_id":133072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c873e38012d7f914005afd938001e011b24..."} 
[2026-07-13 23:00:39] local.INFO: Packet analysis {"connection_id":133072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c87"} 
[2026-07-13 23:00:39] local.INFO: Extracted packet for processing {"connection_id":133072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c87"} 
[2026-07-13 23:00:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":30,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 23:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694654464001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783963795000,"timestamp_ms":1783963795000,"timestamp_seconds":1783963795,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c873e38"} 
[2026-07-13 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-07-13 23:00: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-07-13 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-13 23:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 23:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694654464001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694654464001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:00:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:00:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694654464001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":133072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:00:39] local.INFO: GPS data processed {"connection_id":133072,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:00:39] local.INFO: Acknowledgment sent {"connection_id":133072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:01:09] local.INFO: TCP Data received {"connection_id":133073,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133073,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:01:09] local.INFO: Processing buffer {"connection_id":133073,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:01:09] local.INFO: IMEI packet received {"connection_id":133073,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 23:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":133073,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:01:11] local.INFO: TCP Data received {"connection_id":133072,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c873e38012d7f914005afd938001e011b24..."} 
[2026-07-13 23:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c873e38012d7f914005afd938001e011b24..."} 
[2026-07-13 23:01:11] local.INFO: Processing buffer {"connection_id":133072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c873e38012d7f914005afd938001e011b24..."} 
[2026-07-13 23:01:11] local.INFO: Packet analysis {"connection_id":133072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c87"} 
[2026-07-13 23:01:11] local.INFO: Extracted packet for processing {"connection_id":133072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c87"} 
[2026-07-13 23:01:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":30,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694654464001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783963795000,"timestamp_ms":1783963795000,"timestamp_seconds":1783963795,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c873e38"} 
[2026-07-13 23:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-13 23:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694654464001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694654464001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:01:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:01:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694654464001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":133072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:01:11] local.INFO: GPS data processed {"connection_id":133072,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:01:11] local.INFO: Acknowledgment sent {"connection_id":133072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:01:33] local.INFO: TCP Data received {"connection_id":130931,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:01:33] local.INFO: Processing buffer {"connection_id":130931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:01:33] local.INFO: IMEI packet received {"connection_id":130931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":130931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:01:38] local.INFO: TCP Data received {"connection_id":130931,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:01:38] local.INFO: Processing buffer {"connection_id":130931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:01:38] local.INFO: IMEI packet received {"connection_id":130931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":130931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:01:39] local.INFO: TCP Data received {"connection_id":130717,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130717,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:01:39] local.INFO: Processing buffer {"connection_id":130717,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:01:39] local.INFO: IMEI packet received {"connection_id":130717,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 23:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":130717,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:01:43] local.INFO: TCP Data received {"connection_id":130931,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c873e38012d7f914005afd938001e011b24..."} 
[2026-07-13 23:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c873e38012d7f914005afd938001e011b24..."} 
[2026-07-13 23:01:43] local.INFO: Processing buffer {"connection_id":130931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c873e38012d7f914005afd938001e011b24..."} 
[2026-07-13 23:01:43] local.INFO: Packet analysis {"connection_id":130931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c87"} 
[2026-07-13 23:01:43] local.INFO: Extracted packet for processing {"connection_id":130931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c87"} 
[2026-07-13 23:01:43] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":30,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694654464001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783963795000,"timestamp_ms":1783963795000,"timestamp_seconds":1783963795,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c873e38"} 
[2026-07-13 23:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-13 23:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694654464001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694654464001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:01:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:01:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694654464001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":130931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:01:43] local.INFO: GPS data processed {"connection_id":130931,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:01:43] local.INFO: Acknowledgment sent {"connection_id":130931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:02:14] local.INFO: TCP Data received {"connection_id":130931,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c873e38012d7f914005afd938001e011b24..."} 
[2026-07-13 23:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c873e38012d7f914005afd938001e011b24..."} 
[2026-07-13 23:02:14] local.INFO: Processing buffer {"connection_id":130931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c873e38012d7f914005afd938001e011b24..."} 
[2026-07-13 23:02:14] local.INFO: Packet analysis {"connection_id":130931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c87"} 
[2026-07-13 23:02:14] local.INFO: Extracted packet for processing {"connection_id":130931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c87"} 
[2026-07-13 23:02:14] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":30,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694654464001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783963795000,"timestamp_ms":1783963795000,"timestamp_seconds":1783963795,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c873e38"} 
[2026-07-13 23:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-13 23:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694654464001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694654464001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:02:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:02:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694654464001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":130931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:02:14] local.INFO: GPS data processed {"connection_id":130931,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:02:14] local.INFO: Acknowledgment sent {"connection_id":130931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:02:33] local.INFO: TCP Data received {"connection_id":133074,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:02:33] local.INFO: Processing buffer {"connection_id":133074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:02:33] local.INFO: IMEI packet received {"connection_id":133074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":133074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:02:38] local.INFO: TCP Data received {"connection_id":133074,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:02:38] local.INFO: Processing buffer {"connection_id":133074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:02:38] local.INFO: IMEI packet received {"connection_id":133074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":133074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:02:39] local.INFO: TCP Data received {"connection_id":133074,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c873e38012d7f914005afd938001e011b24..."} 
[2026-07-13 23:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c873e38012d7f914005afd938001e011b24..."} 
[2026-07-13 23:02:39] local.INFO: Processing buffer {"connection_id":133074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c873e38012d7f914005afd938001e011b24..."} 
[2026-07-13 23:02:39] local.INFO: Packet analysis {"connection_id":133074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c87"} 
[2026-07-13 23:02:39] local.INFO: Extracted packet for processing {"connection_id":133074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c87"} 
[2026-07-13 23:02:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":30,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 23:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694654464001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783963795000,"timestamp_ms":1783963795000,"timestamp_seconds":1783963795,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c873e38"} 
[2026-07-13 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-07-13 23:02: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-07-13 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-13 23:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 23:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694654464001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694654464001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:02:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:02:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694654464001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":133074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:02:39] local.INFO: GPS data processed {"connection_id":133074,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:02:39] local.INFO: Acknowledgment sent {"connection_id":133074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:03:10] local.INFO: TCP Data received {"connection_id":133074,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c873e38012d7f914005afd938001e011b24..."} 
[2026-07-13 23:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c873e38012d7f914005afd938001e011b24..."} 
[2026-07-13 23:03:10] local.INFO: Processing buffer {"connection_id":133074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c873e38012d7f914005afd938001e011b24..."} 
[2026-07-13 23:03:10] local.INFO: Packet analysis {"connection_id":133074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c87"} 
[2026-07-13 23:03:10] local.INFO: Extracted packet for processing {"connection_id":133074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c87"} 
[2026-07-13 23:03:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":30,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694654464001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783963795000,"timestamp_ms":1783963795000,"timestamp_seconds":1783963795,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c873e38"} 
[2026-07-13 23:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-13 23:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":133074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":133074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":133074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694654464001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694654464001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:03:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:03:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694654464001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":133074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:03:10] local.INFO: GPS data processed {"connection_id":133074,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:03:10] local.INFO: Acknowledgment sent {"connection_id":133074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:03:33] local.INFO: TCP Data received {"connection_id":131754,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:03:33] local.INFO: Processing buffer {"connection_id":131754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:03:33] local.INFO: IMEI packet received {"connection_id":131754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":131754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:03:38] local.INFO: TCP Data received {"connection_id":131754,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:03:38] local.INFO: Processing buffer {"connection_id":131754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:03:38] local.INFO: IMEI packet received {"connection_id":131754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":131754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:03:39] local.INFO: TCP Data received {"connection_id":131754,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c873e38012d7f914005afd938001e011b24..."} 
[2026-07-13 23:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c873e38012d7f914005afd938001e011b24..."} 
[2026-07-13 23:03:39] local.INFO: Processing buffer {"connection_id":131754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c873e38012d7f914005afd938001e011b24..."} 
[2026-07-13 23:03:39] local.INFO: Packet analysis {"connection_id":131754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c87"} 
[2026-07-13 23:03:39] local.INFO: Extracted packet for processing {"connection_id":131754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c87"} 
[2026-07-13 23:03:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":30,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 23:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694654464001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783963795000,"timestamp_ms":1783963795000,"timestamp_seconds":1783963795,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c873e38"} 
[2026-07-13 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-07-13 23:03: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-07-13 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-13 23:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 23:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694654464001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694654464001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:03:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:03:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694654464001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":131754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:03:39] local.INFO: GPS data processed {"connection_id":131754,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:03:39] local.INFO: Acknowledgment sent {"connection_id":131754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:04:10] local.INFO: TCP Data received {"connection_id":131754,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c873e38012d7f914005afd938001e011b24..."} 
[2026-07-13 23:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c873e38012d7f914005afd938001e011b24..."} 
[2026-07-13 23:04:10] local.INFO: Processing buffer {"connection_id":131754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c873e38012d7f914005afd938001e011b24..."} 
[2026-07-13 23:04:10] local.INFO: Packet analysis {"connection_id":131754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c87"} 
[2026-07-13 23:04:10] local.INFO: Extracted packet for processing {"connection_id":131754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c87"} 
[2026-07-13 23:04:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":30,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694654464001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783963795000,"timestamp_ms":1783963795000,"timestamp_seconds":1783963795,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c873e38"} 
[2026-07-13 23:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-13 23:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694654464001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694654464001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:04:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694654464001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":131754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:04:10] local.INFO: GPS data processed {"connection_id":131754,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:04:10] local.INFO: Acknowledgment sent {"connection_id":131754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:04:33] local.INFO: TCP Data received {"connection_id":133076,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:04:33] local.INFO: Processing buffer {"connection_id":133076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:04:33] local.INFO: IMEI packet received {"connection_id":133076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":133076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:04:38] local.INFO: TCP Data received {"connection_id":133076,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:04:38] local.INFO: Processing buffer {"connection_id":133076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:04:38] local.INFO: IMEI packet received {"connection_id":133076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":133076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:04:39] local.INFO: TCP Data received {"connection_id":133076,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c873e38012d7f914005afd938001e011b24..."} 
[2026-07-13 23:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c873e38012d7f914005afd938001e011b24..."} 
[2026-07-13 23:04:39] local.INFO: Processing buffer {"connection_id":133076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c873e38012d7f914005afd938001e011b24..."} 
[2026-07-13 23:04:39] local.INFO: Packet analysis {"connection_id":133076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c87"} 
[2026-07-13 23:04:39] local.INFO: Extracted packet for processing {"connection_id":133076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c87"} 
[2026-07-13 23:04:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":30,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 23:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694654464001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783963795000,"timestamp_ms":1783963795000,"timestamp_seconds":1783963795,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c873e38"} 
[2026-07-13 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-07-13 23: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-07-13 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-13 23:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 23:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694654464001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694654464001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:04:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:04:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694654464001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":133076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:04:39] local.INFO: GPS data processed {"connection_id":133076,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:04:39] local.INFO: Acknowledgment sent {"connection_id":133076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:05:10] local.INFO: TCP Data received {"connection_id":133076,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c873e38012d7f914005afd938001e011b24..."} 
[2026-07-13 23:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c873e38012d7f914005afd938001e011b24..."} 
[2026-07-13 23:05:10] local.INFO: Processing buffer {"connection_id":133076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c873e38012d7f914005afd938001e011b24..."} 
[2026-07-13 23:05:10] local.INFO: Packet analysis {"connection_id":133076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c87"} 
[2026-07-13 23:05:10] local.INFO: Extracted packet for processing {"connection_id":133076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c87"} 
[2026-07-13 23:05:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":30,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694654464001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783963795000,"timestamp_ms":1783963795000,"timestamp_seconds":1783963795,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c873e38"} 
[2026-07-13 23:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-13 23:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":133076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":133076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":133076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694654464001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694654464001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:05:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:05:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694654464001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":133076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:05:11] local.INFO: GPS data processed {"connection_id":133076,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:05:11] local.INFO: Acknowledgment sent {"connection_id":133076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:05:33] local.INFO: TCP Data received {"connection_id":130932,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:05:33] local.INFO: Processing buffer {"connection_id":130932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:05:33] local.INFO: IMEI packet received {"connection_id":130932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":130932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:05:34] local.INFO: TCP Data received {"connection_id":130932,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:05:34] local.INFO: Processing buffer {"connection_id":130932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:05:34] local.INFO: IMEI packet received {"connection_id":130932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":130932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:05:38] local.INFO: TCP Data received {"connection_id":130932,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:05:38] local.INFO: Processing buffer {"connection_id":130932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:05:38] local.INFO: IMEI packet received {"connection_id":130932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":130932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:05:39] local.INFO: TCP Data received {"connection_id":130932,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c8bd600012d7f914005afd938001e011b29..."} 
[2026-07-13 23:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c8bd600012d7f914005afd938001e011b29..."} 
[2026-07-13 23:05:39] local.INFO: Processing buffer {"connection_id":130932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c8bd600012d7f914005afd938001e011b29..."} 
[2026-07-13 23:05:39] local.INFO: Packet analysis {"connection_id":130932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c8b"} 
[2026-07-13 23:05:39] local.INFO: Extracted packet for processing {"connection_id":130932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c8b"} 
[2026-07-13 23:05:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":30,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694731520001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783964096000,"timestamp_ms":1783964096000,"timestamp_seconds":1783964096,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c8bd600"} 
[2026-07-13 23:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23: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-07-13 23:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:05: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-07-13 23:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694731520001,"66":25180,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694731520001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:05:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:05:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694731520001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":130932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:05:39] local.INFO: GPS data processed {"connection_id":130932,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:05:39] local.INFO: Acknowledgment sent {"connection_id":130932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:06:10] local.INFO: TCP Data received {"connection_id":130932,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c8bd600012d7f914005afd938001e011b29..."} 
[2026-07-13 23:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c8bd600012d7f914005afd938001e011b29..."} 
[2026-07-13 23:06:10] local.INFO: Processing buffer {"connection_id":130932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c8bd600012d7f914005afd938001e011b29..."} 
[2026-07-13 23:06:10] local.INFO: Packet analysis {"connection_id":130932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c8b"} 
[2026-07-13 23:06:10] local.INFO: Extracted packet for processing {"connection_id":130932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c8b"} 
[2026-07-13 23:06:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":30,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694731520001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783964096000,"timestamp_ms":1783964096000,"timestamp_seconds":1783964096,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c8bd600"} 
[2026-07-13 23:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694731520001,"66":25180,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694731520001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:06:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:06:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694731520001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":130932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:06:10] local.INFO: GPS data processed {"connection_id":130932,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:06:10] local.INFO: Acknowledgment sent {"connection_id":130932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:06:33] local.INFO: TCP Data received {"connection_id":130719,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:06:33] local.INFO: Processing buffer {"connection_id":130719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:06:33] local.INFO: IMEI packet received {"connection_id":130719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":130719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:06:38] local.INFO: TCP Data received {"connection_id":130719,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:06:38] local.INFO: Processing buffer {"connection_id":130719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:06:38] local.INFO: IMEI packet received {"connection_id":130719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":130719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:06:39] local.INFO: TCP Data received {"connection_id":130719,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c8bd600012d7f914005afd938001e011b29..."} 
[2026-07-13 23:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c8bd600012d7f914005afd938001e011b29..."} 
[2026-07-13 23:06:39] local.INFO: Processing buffer {"connection_id":130719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c8bd600012d7f914005afd938001e011b29..."} 
[2026-07-13 23:06:39] local.INFO: Packet analysis {"connection_id":130719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c8b"} 
[2026-07-13 23:06:39] local.INFO: Extracted packet for processing {"connection_id":130719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c8b"} 
[2026-07-13 23:06:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":30,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 23:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694731520001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783964096000,"timestamp_ms":1783964096000,"timestamp_seconds":1783964096,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c8bd600"} 
[2026-07-13 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-07-13 23:06: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-07-13 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:06: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-07-13 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-07-13 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-07-13 23:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694731520001,"66":25180,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694731520001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:06:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:06:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694731520001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":130719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:06:39] local.INFO: GPS data processed {"connection_id":130719,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:06:39] local.INFO: Acknowledgment sent {"connection_id":130719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:07:04] local.INFO: TCP Data received {"connection_id":131755,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131755,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:07:04] local.INFO: Processing buffer {"connection_id":131755,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:07:04] local.INFO: IMEI packet received {"connection_id":131755,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 23:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":131755,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:07:11] local.INFO: TCP Data received {"connection_id":130719,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c8bd600012d7f914005afd938001e011b29..."} 
[2026-07-13 23:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c8bd600012d7f914005afd938001e011b29..."} 
[2026-07-13 23:07:11] local.INFO: Processing buffer {"connection_id":130719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c8bd600012d7f914005afd938001e011b29..."} 
[2026-07-13 23:07:11] local.INFO: Packet analysis {"connection_id":130719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c8b"} 
[2026-07-13 23:07:11] local.INFO: Extracted packet for processing {"connection_id":130719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c8b"} 
[2026-07-13 23:07:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":30,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694731520001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783964096000,"timestamp_ms":1783964096000,"timestamp_seconds":1783964096,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c8bd600"} 
[2026-07-13 23:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694731520001,"66":25180,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694731520001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:07:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:07:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694731520001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":130719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:07:11] local.INFO: GPS data processed {"connection_id":130719,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:07:11] local.INFO: Acknowledgment sent {"connection_id":130719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:07:33] local.INFO: TCP Data received {"connection_id":133078,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:07:33] local.INFO: Processing buffer {"connection_id":133078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:07:33] local.INFO: IMEI packet received {"connection_id":133078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":133078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:07:38] local.INFO: TCP Data received {"connection_id":133078,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:07:38] local.INFO: Processing buffer {"connection_id":133078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:07:38] local.INFO: IMEI packet received {"connection_id":133078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":133078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:07:39] local.INFO: TCP Data received {"connection_id":131756,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131756,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:07:39] local.INFO: Processing buffer {"connection_id":131756,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:07:39] local.INFO: IMEI packet received {"connection_id":131756,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 23:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":131756,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:07:39] local.INFO: TCP Data received {"connection_id":133078,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c8bd600012d7f914005afd938001e011b29..."} 
[2026-07-13 23:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c8bd600012d7f914005afd938001e011b29..."} 
[2026-07-13 23:07:39] local.INFO: Processing buffer {"connection_id":133078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c8bd600012d7f914005afd938001e011b29..."} 
[2026-07-13 23:07:39] local.INFO: Packet analysis {"connection_id":133078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c8b"} 
[2026-07-13 23:07:39] local.INFO: Extracted packet for processing {"connection_id":133078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c8b"} 
[2026-07-13 23:07:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":30,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694731520001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783964096000,"timestamp_ms":1783964096000,"timestamp_seconds":1783964096,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c8bd600"} 
[2026-07-13 23:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:07: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-07-13 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:07: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-07-13 23:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694731520001,"66":25180,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694731520001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:07:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:07:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694731520001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":133078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:07:39] local.INFO: GPS data processed {"connection_id":133078,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:07:39] local.INFO: Acknowledgment sent {"connection_id":133078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:08:10] local.INFO: TCP Data received {"connection_id":133078,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c8bd600012d7f914005afd938001e011b29..."} 
[2026-07-13 23:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c8bd600012d7f914005afd938001e011b29..."} 
[2026-07-13 23:08:10] local.INFO: Processing buffer {"connection_id":133078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c8bd600012d7f914005afd938001e011b29..."} 
[2026-07-13 23:08:10] local.INFO: Packet analysis {"connection_id":133078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c8b"} 
[2026-07-13 23:08:10] local.INFO: Extracted packet for processing {"connection_id":133078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c8b"} 
[2026-07-13 23:08:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":30,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694731520001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783964096000,"timestamp_ms":1783964096000,"timestamp_seconds":1783964096,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c8bd600"} 
[2026-07-13 23:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":133078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":133078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":133078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694731520001,"66":25180,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694731520001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:08:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:08:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694731520001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":133078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:08:10] local.INFO: GPS data processed {"connection_id":133078,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:08:10] local.INFO: Acknowledgment sent {"connection_id":133078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:08:38] local.INFO: TCP Data received {"connection_id":131757,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:08:38] local.INFO: Processing buffer {"connection_id":131757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:08:38] local.INFO: IMEI packet received {"connection_id":131757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":131757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:08:43] local.INFO: TCP Data received {"connection_id":131757,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:08:43] local.INFO: Processing buffer {"connection_id":131757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:08:43] local.INFO: IMEI packet received {"connection_id":131757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":131757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:08:46] local.INFO: TCP Data received {"connection_id":131757,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c8bd600012d7f914005afd938001e011b29..."} 
[2026-07-13 23:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c8bd600012d7f914005afd938001e011b29..."} 
[2026-07-13 23:08:46] local.INFO: Processing buffer {"connection_id":131757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c8bd600012d7f914005afd938001e011b29..."} 
[2026-07-13 23:08:46] local.INFO: Packet analysis {"connection_id":131757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c8b"} 
[2026-07-13 23:08:46] local.INFO: Extracted packet for processing {"connection_id":131757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c8b"} 
[2026-07-13 23:08:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":30,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694731520001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783964096000,"timestamp_ms":1783964096000,"timestamp_seconds":1783964096,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c8bd600"} 
[2026-07-13 23:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694731520001,"66":25180,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694731520001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:08:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:08:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694731520001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":131757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:08:46] local.INFO: GPS data processed {"connection_id":131757,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:08:46] local.INFO: Acknowledgment sent {"connection_id":131757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:08:48] local.INFO: TCP Data received {"connection_id":131757,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c8bd600012d7f914005afd938001e011b29..."} 
[2026-07-13 23:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c8bd600012d7f914005afd938001e011b29..."} 
[2026-07-13 23:08:48] local.INFO: Processing buffer {"connection_id":131757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c8bd600012d7f914005afd938001e011b29..."} 
[2026-07-13 23:08:48] local.INFO: Packet analysis {"connection_id":131757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c8b"} 
[2026-07-13 23:08:48] local.INFO: Extracted packet for processing {"connection_id":131757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c8b"} 
[2026-07-13 23:08:48] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":30,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 23:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694731520001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783964096000,"timestamp_ms":1783964096000,"timestamp_seconds":1783964096,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c8bd600"} 
[2026-07-13 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-07-13 23:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 23:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":131757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":131757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":131757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694731520001,"66":25180,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694731520001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:08:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:08:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694731520001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":131757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:08:48] local.INFO: GPS data processed {"connection_id":131757,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:08:48] local.INFO: Acknowledgment sent {"connection_id":131757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:09:33] local.INFO: TCP Data received {"connection_id":133079,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:09:33] local.INFO: Processing buffer {"connection_id":133079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:09:33] local.INFO: IMEI packet received {"connection_id":133079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":133079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:09:38] local.INFO: TCP Data received {"connection_id":133079,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:09:38] local.INFO: Processing buffer {"connection_id":133079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:09:38] local.INFO: IMEI packet received {"connection_id":133079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":133079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:09:39] local.INFO: TCP Data received {"connection_id":133079,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c8bd600012d7f914005afd938001e011b29..."} 
[2026-07-13 23:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c8bd600012d7f914005afd938001e011b29..."} 
[2026-07-13 23:09:39] local.INFO: Processing buffer {"connection_id":133079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c8bd600012d7f914005afd938001e011b29..."} 
[2026-07-13 23:09:39] local.INFO: Packet analysis {"connection_id":133079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c8b"} 
[2026-07-13 23:09:39] local.INFO: Extracted packet for processing {"connection_id":133079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c8b"} 
[2026-07-13 23:09:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":30,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694731520001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783964096000,"timestamp_ms":1783964096000,"timestamp_seconds":1783964096,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c8bd600"} 
[2026-07-13 23:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:09: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-07-13 23: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:09: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-07-13 23:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694731520001,"66":25180,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694731520001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:09:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:09:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694731520001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":133079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:09:39] local.INFO: GPS data processed {"connection_id":133079,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:09:39] local.INFO: Acknowledgment sent {"connection_id":133079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:10:10] local.INFO: TCP Data received {"connection_id":133079,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c8bd600012d7f914005afd938001e011b29..."} 
[2026-07-13 23:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c8bd600012d7f914005afd938001e011b29..."} 
[2026-07-13 23:10:10] local.INFO: Processing buffer {"connection_id":133079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c8bd600012d7f914005afd938001e011b29..."} 
[2026-07-13 23:10:10] local.INFO: Packet analysis {"connection_id":133079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c8b"} 
[2026-07-13 23:10:10] local.INFO: Extracted packet for processing {"connection_id":133079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c8b"} 
[2026-07-13 23:10:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":30,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694731520001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783964096000,"timestamp_ms":1783964096000,"timestamp_seconds":1783964096,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c8bd600"} 
[2026-07-13 23:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":133079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":133079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":133079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694731520001,"66":25180,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694731520001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:10:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:10:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694731520001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":133079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:10:10] local.INFO: GPS data processed {"connection_id":133079,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:10:10] local.INFO: Acknowledgment sent {"connection_id":133079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:10:33] local.INFO: TCP Data received {"connection_id":131758,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:10:33] local.INFO: Processing buffer {"connection_id":131758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:10:33] local.INFO: IMEI packet received {"connection_id":131758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":131758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:10:35] local.INFO: TCP Data received {"connection_id":131758,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:10:35] local.INFO: Processing buffer {"connection_id":131758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:10:35] local.INFO: IMEI packet received {"connection_id":131758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":131758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:10:38] local.INFO: TCP Data received {"connection_id":131758,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:10:38] local.INFO: Processing buffer {"connection_id":131758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:10:38] local.INFO: IMEI packet received {"connection_id":131758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":131758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:10:40] local.INFO: TCP Data received {"connection_id":131758,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c906dc8012d7f914005afd938001e011b27..."} 
[2026-07-13 23:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c906dc8012d7f914005afd938001e011b27..."} 
[2026-07-13 23:10:40] local.INFO: Processing buffer {"connection_id":131758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c906dc8012d7f914005afd938001e011b27..."} 
[2026-07-13 23:10:40] local.INFO: Packet analysis {"connection_id":131758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c90"} 
[2026-07-13 23:10:40] local.INFO: Extracted packet for processing {"connection_id":131758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c90"} 
[2026-07-13 23:10:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":30,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694808576001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783964397000,"timestamp_ms":1783964397000,"timestamp_seconds":1783964397,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c906dc8"} 
[2026-07-13 23:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 23:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":131758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":131758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":131758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694808576001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694808576001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:10:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:10:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694808576001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":131758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:10:40] local.INFO: GPS data processed {"connection_id":131758,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:10:40] local.INFO: Acknowledgment sent {"connection_id":131758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:10:44] local.INFO: TCP Data received {"connection_id":131758,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c906dc8012d7f914005afd938001e011b27..."} 
[2026-07-13 23:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c906dc8012d7f914005afd938001e011b27..."} 
[2026-07-13 23:10:44] local.INFO: Processing buffer {"connection_id":131758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c906dc8012d7f914005afd938001e011b27..."} 
[2026-07-13 23:10:44] local.INFO: Packet analysis {"connection_id":131758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c90"} 
[2026-07-13 23:10:44] local.INFO: Extracted packet for processing {"connection_id":131758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c90"} 
[2026-07-13 23:10:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":30,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694808576001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783964397000,"timestamp_ms":1783964397000,"timestamp_seconds":1783964397,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c906dc8"} 
[2026-07-13 23:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 23:10:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:10:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":131758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":131758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":131758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694808576001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694808576001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:10:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:10:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694808576001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":131758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:10:44] local.INFO: GPS data processed {"connection_id":131758,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:10:44] local.INFO: Acknowledgment sent {"connection_id":131758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:11:15] local.INFO: TCP Data received {"connection_id":131758,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c906dc8012d7f914005afd938001e011b27..."} 
[2026-07-13 23:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c906dc8012d7f914005afd938001e011b27..."} 
[2026-07-13 23:11:15] local.INFO: Processing buffer {"connection_id":131758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c906dc8012d7f914005afd938001e011b27..."} 
[2026-07-13 23:11:15] local.INFO: Packet analysis {"connection_id":131758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c90"} 
[2026-07-13 23:11:15] local.INFO: Extracted packet for processing {"connection_id":131758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c90"} 
[2026-07-13 23:11:15] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":30,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694808576001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783964397000,"timestamp_ms":1783964397000,"timestamp_seconds":1783964397,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c906dc8"} 
[2026-07-13 23:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 23:11:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":131758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":131758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":131758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694808576001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694808576001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:11:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:11:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694808576001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":131758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:11:15] local.INFO: GPS data processed {"connection_id":131758,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:11:15] local.INFO: Acknowledgment sent {"connection_id":131758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:11:33] local.INFO: TCP Data received {"connection_id":131759,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:11:33] local.INFO: Processing buffer {"connection_id":131759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:11:33] local.INFO: IMEI packet received {"connection_id":131759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":131759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:11:38] local.INFO: TCP Data received {"connection_id":131759,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:11:38] local.INFO: Processing buffer {"connection_id":131759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:11:38] local.INFO: IMEI packet received {"connection_id":131759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":131759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:11:48] local.INFO: TCP Data received {"connection_id":131759,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c906dc8012d7f914005afd938001e011b27..."} 
[2026-07-13 23:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c906dc8012d7f914005afd938001e011b27..."} 
[2026-07-13 23:11:48] local.INFO: Processing buffer {"connection_id":131759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c906dc8012d7f914005afd938001e011b27..."} 
[2026-07-13 23:11:48] local.INFO: Packet analysis {"connection_id":131759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c90"} 
[2026-07-13 23:11:48] local.INFO: Extracted packet for processing {"connection_id":131759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c90"} 
[2026-07-13 23:11:48] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":30,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 23:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694808576001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783964397000,"timestamp_ms":1783964397000,"timestamp_seconds":1783964397,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c906dc8"} 
[2026-07-13 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-07-13 23:11:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 23:11:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 23:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":131759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":131759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":131759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694808576001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694808576001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:11:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:11:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694808576001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":131759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:11:48] local.INFO: GPS data processed {"connection_id":131759,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:11:48] local.INFO: Acknowledgment sent {"connection_id":131759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:12:59] local.INFO: TCP Data received {"connection_id":131760,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131760,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:12:59] local.INFO: Processing buffer {"connection_id":131760,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:12:59] local.INFO: IMEI packet received {"connection_id":131760,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 23:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":131760,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:13:33] local.INFO: TCP Data received {"connection_id":133080,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:13:33] local.INFO: Processing buffer {"connection_id":133080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:13:33] local.INFO: IMEI packet received {"connection_id":133080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":133080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:13:38] local.INFO: TCP Data received {"connection_id":133080,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:13:38] local.INFO: Processing buffer {"connection_id":133080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:13:38] local.INFO: IMEI packet received {"connection_id":133080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":133080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:13:39] local.INFO: TCP Data received {"connection_id":133081,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:13:39] local.INFO: Processing buffer {"connection_id":133081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:13:39] local.INFO: IMEI packet received {"connection_id":133081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 23:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":133081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:13:40] local.INFO: TCP Data received {"connection_id":133080,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c906dc8012d7f914005afd938001e011b27..."} 
[2026-07-13 23:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c906dc8012d7f914005afd938001e011b27..."} 
[2026-07-13 23:13:40] local.INFO: Processing buffer {"connection_id":133080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c906dc8012d7f914005afd938001e011b27..."} 
[2026-07-13 23:13:40] local.INFO: Packet analysis {"connection_id":133080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c90"} 
[2026-07-13 23:13:40] local.INFO: Extracted packet for processing {"connection_id":133080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c90"} 
[2026-07-13 23:13:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":30,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694808576001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783964397000,"timestamp_ms":1783964397000,"timestamp_seconds":1783964397,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c906dc8"} 
[2026-07-13 23:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 23:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":133080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":133080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":133080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694808576001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694808576001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:13:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694808576001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":133080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:13:40] local.INFO: GPS data processed {"connection_id":133080,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:13:40] local.INFO: Acknowledgment sent {"connection_id":133080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:13:44] local.INFO: TCP Data received {"connection_id":133080,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c906dc8012d7f914005afd938001e011b27..."} 
[2026-07-13 23:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c906dc8012d7f914005afd938001e011b27..."} 
[2026-07-13 23:13:44] local.INFO: Processing buffer {"connection_id":133080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c906dc8012d7f914005afd938001e011b27..."} 
[2026-07-13 23:13:44] local.INFO: Packet analysis {"connection_id":133080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c90"} 
[2026-07-13 23:13:44] local.INFO: Extracted packet for processing {"connection_id":133080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c90"} 
[2026-07-13 23:13:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":30,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694808576001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783964397000,"timestamp_ms":1783964397000,"timestamp_seconds":1783964397,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c906dc8"} 
[2026-07-13 23:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 23:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":133080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":133080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":133080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694808576001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694808576001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:13:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:13:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694808576001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":133080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:13:44] local.INFO: GPS data processed {"connection_id":133080,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:13:44] local.INFO: Acknowledgment sent {"connection_id":133080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:14:33] local.INFO: TCP Data received {"connection_id":131761,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:14:33] local.INFO: Processing buffer {"connection_id":131761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:14:33] local.INFO: IMEI packet received {"connection_id":131761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":131761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:14:38] local.INFO: TCP Data received {"connection_id":131761,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:14:38] local.INFO: Processing buffer {"connection_id":131761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:14:38] local.INFO: IMEI packet received {"connection_id":131761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":131761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:14:39] local.INFO: TCP Data received {"connection_id":131761,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c906dc8012d7f914005afd938001e011b27..."} 
[2026-07-13 23:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c906dc8012d7f914005afd938001e011b27..."} 
[2026-07-13 23:14:39] local.INFO: Processing buffer {"connection_id":131761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c906dc8012d7f914005afd938001e011b27..."} 
[2026-07-13 23:14:39] local.INFO: Packet analysis {"connection_id":131761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c90"} 
[2026-07-13 23:14:39] local.INFO: Extracted packet for processing {"connection_id":131761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c90"} 
[2026-07-13 23:14:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":30,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 23:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694808576001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783964397000,"timestamp_ms":1783964397000,"timestamp_seconds":1783964397,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c906dc8"} 
[2026-07-13 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-07-13 23:14: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-07-13 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 23:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 23:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694808576001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694808576001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:14:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:14:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694808576001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":131761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:14:39] local.INFO: GPS data processed {"connection_id":131761,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:14:39] local.INFO: Acknowledgment sent {"connection_id":131761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:15:10] local.INFO: TCP Data received {"connection_id":131761,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c906dc8012d7f914005afd938001e011b27..."} 
[2026-07-13 23:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c906dc8012d7f914005afd938001e011b27..."} 
[2026-07-13 23:15:10] local.INFO: Processing buffer {"connection_id":131761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c906dc8012d7f914005afd938001e011b27..."} 
[2026-07-13 23:15:10] local.INFO: Packet analysis {"connection_id":131761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c90"} 
[2026-07-13 23:15:10] local.INFO: Extracted packet for processing {"connection_id":131761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c90"} 
[2026-07-13 23:15:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":30,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694808576001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783964397000,"timestamp_ms":1783964397000,"timestamp_seconds":1783964397,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c906dc8"} 
[2026-07-13 23:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 23:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694808576001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694808576001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:15:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:15:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694808576001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":131761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:15:11] local.INFO: GPS data processed {"connection_id":131761,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:15:11] local.INFO: Acknowledgment sent {"connection_id":131761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:15:33] local.INFO: TCP Data received {"connection_id":130936,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:15:33] local.INFO: Processing buffer {"connection_id":130936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:15:33] local.INFO: IMEI packet received {"connection_id":130936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":130936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:15:36] local.INFO: TCP Data received {"connection_id":130936,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:15:36] local.INFO: Processing buffer {"connection_id":130936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:15:36] local.INFO: IMEI packet received {"connection_id":130936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":130936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:15:37] local.INFO: TCP Data received {"connection_id":130936,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c950590012d7f914005afd938001d011b27..."} 
[2026-07-13 23:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c950590012d7f914005afd938001d011b27..."} 
[2026-07-13 23:15:37] local.INFO: Processing buffer {"connection_id":130936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c950590012d7f914005afd938001d011b27..."} 
[2026-07-13 23:15:37] local.INFO: Packet analysis {"connection_id":130936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c95"} 
[2026-07-13 23:15:37] local.INFO: Extracted packet for processing {"connection_id":130936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c95"} 
[2026-07-13 23:15:37] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694885632001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783964698000,"timestamp_ms":1783964698000,"timestamp_seconds":1783964698,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c950590"} 
[2026-07-13 23:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":130936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":130936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":130936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694885632001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694885632001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:15:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:15:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694885632001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":130936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:15:37] local.INFO: GPS data processed {"connection_id":130936,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:15:37] local.INFO: Acknowledgment sent {"connection_id":130936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:16:13] local.INFO: TCP Data received {"connection_id":130936,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c950590012d7f914005afd938001d011b27..."} 
[2026-07-13 23:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c950590012d7f914005afd938001d011b27..."} 
[2026-07-13 23:16:13] local.INFO: Processing buffer {"connection_id":130936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c950590012d7f914005afd938001d011b27..."} 
[2026-07-13 23:16:13] local.INFO: Packet analysis {"connection_id":130936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c95"} 
[2026-07-13 23:16:13] local.INFO: Extracted packet for processing {"connection_id":130936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c95"} 
[2026-07-13 23:16:13] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694885632001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783964698000,"timestamp_ms":1783964698000,"timestamp_seconds":1783964698,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c950590"} 
[2026-07-13 23:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:16:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":130936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":130936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":130936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694885632001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694885632001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:16:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:16:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694885632001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":130936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:16:13] local.INFO: GPS data processed {"connection_id":130936,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:16:13] local.INFO: Acknowledgment sent {"connection_id":130936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:16:33] local.INFO: TCP Data received {"connection_id":130724,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:16:33] local.INFO: Processing buffer {"connection_id":130724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:16:33] local.INFO: IMEI packet received {"connection_id":130724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":130724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:16:38] local.INFO: TCP Data received {"connection_id":130724,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:16:38] local.INFO: Processing buffer {"connection_id":130724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:16:38] local.INFO: IMEI packet received {"connection_id":130724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":130724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:16:39] local.INFO: TCP Data received {"connection_id":130724,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c950590012d7f914005afd938001d011b27..."} 
[2026-07-13 23:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c950590012d7f914005afd938001d011b27..."} 
[2026-07-13 23:16:39] local.INFO: Processing buffer {"connection_id":130724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c950590012d7f914005afd938001d011b27..."} 
[2026-07-13 23:16:39] local.INFO: Packet analysis {"connection_id":130724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c95"} 
[2026-07-13 23:16:39] local.INFO: Extracted packet for processing {"connection_id":130724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c95"} 
[2026-07-13 23:16:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 23:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694885632001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783964698000,"timestamp_ms":1783964698000,"timestamp_seconds":1783964698,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c950590"} 
[2026-07-13 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-07-13 23:16: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-07-13 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:16: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-07-13 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-07-13 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-07-13 23:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694885632001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694885632001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:16:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:16:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694885632001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":130724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:16:39] local.INFO: GPS data processed {"connection_id":130724,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:16:39] local.INFO: Acknowledgment sent {"connection_id":130724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:17:10] local.INFO: TCP Data received {"connection_id":130724,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c950590012d7f914005afd938001d011b27..."} 
[2026-07-13 23:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c950590012d7f914005afd938001d011b27..."} 
[2026-07-13 23:17:10] local.INFO: Processing buffer {"connection_id":130724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c950590012d7f914005afd938001d011b27..."} 
[2026-07-13 23:17:10] local.INFO: Packet analysis {"connection_id":130724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c95"} 
[2026-07-13 23:17:10] local.INFO: Extracted packet for processing {"connection_id":130724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c95"} 
[2026-07-13 23:17:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694885632001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783964698000,"timestamp_ms":1783964698000,"timestamp_seconds":1783964698,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c950590"} 
[2026-07-13 23:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694885632001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694885632001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:17:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:17:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694885632001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":130724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:17:10] local.INFO: GPS data processed {"connection_id":130724,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:17:10] local.INFO: Acknowledgment sent {"connection_id":130724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:17:33] local.INFO: TCP Data received {"connection_id":130937,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:17:33] local.INFO: Processing buffer {"connection_id":130937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:17:33] local.INFO: IMEI packet received {"connection_id":130937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":130937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:17:38] local.INFO: TCP Data received {"connection_id":130937,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:17:38] local.INFO: Processing buffer {"connection_id":130937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:17:38] local.INFO: IMEI packet received {"connection_id":130937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":130937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:17:39] local.INFO: TCP Data received {"connection_id":130937,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c950590012d7f914005afd938001d011b27..."} 
[2026-07-13 23:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c950590012d7f914005afd938001d011b27..."} 
[2026-07-13 23:17:39] local.INFO: Processing buffer {"connection_id":130937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c950590012d7f914005afd938001d011b27..."} 
[2026-07-13 23:17:39] local.INFO: Packet analysis {"connection_id":130937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c95"} 
[2026-07-13 23:17:39] local.INFO: Extracted packet for processing {"connection_id":130937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c95"} 
[2026-07-13 23:17:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694885632001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783964698000,"timestamp_ms":1783964698000,"timestamp_seconds":1783964698,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c950590"} 
[2026-07-13 23:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:17: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-07-13 23:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:17: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-07-13 23:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694885632001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694885632001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:17:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:17:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694885632001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":130937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:17:39] local.INFO: GPS data processed {"connection_id":130937,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:17:39] local.INFO: Acknowledgment sent {"connection_id":130937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:18:12] local.INFO: TCP Data received {"connection_id":130937,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c950590012d7f914005afd938001d011b27..."} 
[2026-07-13 23:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c950590012d7f914005afd938001d011b27..."} 
[2026-07-13 23:18:12] local.INFO: Processing buffer {"connection_id":130937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c950590012d7f914005afd938001d011b27..."} 
[2026-07-13 23:18:12] local.INFO: Packet analysis {"connection_id":130937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c95"} 
[2026-07-13 23:18:12] local.INFO: Extracted packet for processing {"connection_id":130937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c95"} 
[2026-07-13 23:18:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694885632001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783964698000,"timestamp_ms":1783964698000,"timestamp_seconds":1783964698,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c950590"} 
[2026-07-13 23:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694885632001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694885632001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:18:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:18:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694885632001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":130937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:18:12] local.INFO: GPS data processed {"connection_id":130937,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:18:12] local.INFO: Acknowledgment sent {"connection_id":130937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:18:33] local.INFO: TCP Data received {"connection_id":130725,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:18:33] local.INFO: Processing buffer {"connection_id":130725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:18:33] local.INFO: IMEI packet received {"connection_id":130725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":130725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:18:38] local.INFO: TCP Data received {"connection_id":130725,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:18:38] local.INFO: Processing buffer {"connection_id":130725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:18:38] local.INFO: IMEI packet received {"connection_id":130725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":130725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:18:39] local.INFO: TCP Data received {"connection_id":130725,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c950590012d7f914005afd938001d011b27..."} 
[2026-07-13 23:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c950590012d7f914005afd938001d011b27..."} 
[2026-07-13 23:18:39] local.INFO: Processing buffer {"connection_id":130725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c950590012d7f914005afd938001d011b27..."} 
[2026-07-13 23:18:39] local.INFO: Packet analysis {"connection_id":130725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c95"} 
[2026-07-13 23:18:39] local.INFO: Extracted packet for processing {"connection_id":130725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c95"} 
[2026-07-13 23:18:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694885632001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783964698000,"timestamp_ms":1783964698000,"timestamp_seconds":1783964698,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c950590"} 
[2026-07-13 23:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:18: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-07-13 23:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:18: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-07-13 23:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694885632001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694885632001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:18:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:18:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694885632001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":130725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:18:39] local.INFO: GPS data processed {"connection_id":130725,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:18:39] local.INFO: Acknowledgment sent {"connection_id":130725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:19:04] local.INFO: TCP Data received {"connection_id":130939,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130939,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:19:04] local.INFO: Processing buffer {"connection_id":130939,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:19:04] local.INFO: IMEI packet received {"connection_id":130939,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 23:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":130939,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:19:05] local.INFO: TCP Data received {"connection_id":130939,"ip":"42.106.6.29","data_length":51,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-13 23:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130939,"packet_length":51,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-13 23:19:05] local.INFO: Processing buffer {"connection_id":130939,"buffer_length":51,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-07-13 23:19:05] local.INFO: IMEI packet received {"connection_id":130939,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-13 23:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":130939,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:19:16] local.INFO: TCP Data received {"connection_id":130725,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c950590012d7f914005afd938001d011b27..."} 
[2026-07-13 23:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c950590012d7f914005afd938001d011b27..."} 
[2026-07-13 23:19:16] local.INFO: Processing buffer {"connection_id":130725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c950590012d7f914005afd938001d011b27..."} 
[2026-07-13 23:19:16] local.INFO: Packet analysis {"connection_id":130725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c95"} 
[2026-07-13 23:19:16] local.INFO: Extracted packet for processing {"connection_id":130725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c95"} 
[2026-07-13 23:19:16] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694885632001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783964698000,"timestamp_ms":1783964698000,"timestamp_seconds":1783964698,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c950590"} 
[2026-07-13 23:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694885632001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694885632001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:19:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:19:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694885632001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":130725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:19:16] local.INFO: GPS data processed {"connection_id":130725,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:19:16] local.INFO: Acknowledgment sent {"connection_id":130725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:19:33] local.INFO: TCP Data received {"connection_id":133083,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:19:33] local.INFO: Processing buffer {"connection_id":133083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:19:33] local.INFO: IMEI packet received {"connection_id":133083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":133083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:19:39] local.INFO: TCP Data received {"connection_id":133083,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:19:39] local.INFO: Processing buffer {"connection_id":133083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:19:39] local.INFO: IMEI packet received {"connection_id":133083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":133083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:19:40] local.INFO: TCP Data received {"connection_id":133083,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c950590012d7f914005afd938001d011b27..."} 
[2026-07-13 23:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c950590012d7f914005afd938001d011b27..."} 
[2026-07-13 23:19:40] local.INFO: Processing buffer {"connection_id":133083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c950590012d7f914005afd938001d011b27..."} 
[2026-07-13 23:19:40] local.INFO: Packet analysis {"connection_id":133083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c95"} 
[2026-07-13 23:19:40] local.INFO: Extracted packet for processing {"connection_id":133083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c95"} 
[2026-07-13 23:19:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23: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-07-13 23:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694885632001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783964698000,"timestamp_ms":1783964698000,"timestamp_seconds":1783964698,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c950590"} 
[2026-07-13 23:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23: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-07-13 23:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":133083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":133083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":133083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694885632001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694885632001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:19:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:19:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694885632001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":133083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:19:40] local.INFO: GPS data processed {"connection_id":133083,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:19:40] local.INFO: Acknowledgment sent {"connection_id":133083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:20:11] local.INFO: TCP Data received {"connection_id":133083,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c950590012d7f914005afd938001d011b27..."} 
[2026-07-13 23:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c950590012d7f914005afd938001d011b27..."} 
[2026-07-13 23:20:11] local.INFO: Processing buffer {"connection_id":133083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c950590012d7f914005afd938001d011b27..."} 
[2026-07-13 23:20:11] local.INFO: Packet analysis {"connection_id":133083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c95"} 
[2026-07-13 23:20:11] local.INFO: Extracted packet for processing {"connection_id":133083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c95"} 
[2026-07-13 23:20:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694885632001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783964698000,"timestamp_ms":1783964698000,"timestamp_seconds":1783964698,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c950590"} 
[2026-07-13 23:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":133083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":133083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":133083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694885632001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694885632001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:20:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:20:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694885632001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":133083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:20:11] local.INFO: GPS data processed {"connection_id":133083,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:20:11] local.INFO: Acknowledgment sent {"connection_id":133083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:20:37] local.INFO: TCP Data received {"connection_id":130940,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:20:37] local.INFO: Processing buffer {"connection_id":130940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:20:37] local.INFO: IMEI packet received {"connection_id":130940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":130940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:20:38] local.INFO: TCP Data received {"connection_id":130940,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:20:38] local.INFO: Processing buffer {"connection_id":130940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:20:38] local.INFO: IMEI packet received {"connection_id":130940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":130940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:20:44] local.INFO: TCP Data received {"connection_id":130940,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:20:44] local.INFO: Processing buffer {"connection_id":130940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:20:44] local.INFO: IMEI packet received {"connection_id":130940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":130940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:20:44] local.INFO: TCP Data received {"connection_id":130940,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c999d58012d7f914005afd938001d011b24..."} 
[2026-07-13 23:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c999d58012d7f914005afd938001d011b24..."} 
[2026-07-13 23:20:44] local.INFO: Processing buffer {"connection_id":130940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c999d58012d7f914005afd938001d011b24..."} 
[2026-07-13 23:20:44] local.INFO: Packet analysis {"connection_id":130940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c99"} 
[2026-07-13 23:20:44] local.INFO: Extracted packet for processing {"connection_id":130940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c99"} 
[2026-07-13 23:20:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694962688001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783964999000,"timestamp_ms":1783964999000,"timestamp_seconds":1783964999,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c999d58"} 
[2026-07-13 23:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694962688001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694962688001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:20:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:20:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694962688001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":130940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:20:45] local.INFO: GPS data processed {"connection_id":130940,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:20:45] local.INFO: Acknowledgment sent {"connection_id":130940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:21:16] local.INFO: TCP Data received {"connection_id":130940,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c999d58012d7f914005afd938001d011b24..."} 
[2026-07-13 23:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c999d58012d7f914005afd938001d011b24..."} 
[2026-07-13 23:21:16] local.INFO: Processing buffer {"connection_id":130940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c999d58012d7f914005afd938001d011b24..."} 
[2026-07-13 23:21:16] local.INFO: Packet analysis {"connection_id":130940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c99"} 
[2026-07-13 23:21:16] local.INFO: Extracted packet for processing {"connection_id":130940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c99"} 
[2026-07-13 23:21:16] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694962688001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783964999000,"timestamp_ms":1783964999000,"timestamp_seconds":1783964999,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c999d58"} 
[2026-07-13 23:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:21:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":130940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":130940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":130940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:21: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-07-13 23:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694962688001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694962688001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:21:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:21:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694962688001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":130940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:21:16] local.INFO: GPS data processed {"connection_id":130940,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:21:16] local.INFO: Acknowledgment sent {"connection_id":130940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:21:33] local.INFO: TCP Data received {"connection_id":130942,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:21:33] local.INFO: Processing buffer {"connection_id":130942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:21:33] local.INFO: IMEI packet received {"connection_id":130942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":130942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:21:38] local.INFO: TCP Data received {"connection_id":130942,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:21:38] local.INFO: Processing buffer {"connection_id":130942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:21:38] local.INFO: IMEI packet received {"connection_id":130942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":130942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:21:41] local.INFO: TCP Data received {"connection_id":130942,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c999d58012d7f914005afd938001d011b24..."} 
[2026-07-13 23:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c999d58012d7f914005afd938001d011b24..."} 
[2026-07-13 23:21:41] local.INFO: Processing buffer {"connection_id":130942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c999d58012d7f914005afd938001d011b24..."} 
[2026-07-13 23:21:41] local.INFO: Packet analysis {"connection_id":130942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c99"} 
[2026-07-13 23:21:41] local.INFO: Extracted packet for processing {"connection_id":130942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c99"} 
[2026-07-13 23:21:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694962688001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783964999000,"timestamp_ms":1783964999000,"timestamp_seconds":1783964999,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c999d58"} 
[2026-07-13 23:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":130942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":130942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":130942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694962688001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694962688001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:21:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694962688001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":130942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:21:41] local.INFO: GPS data processed {"connection_id":130942,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:21:41] local.INFO: Acknowledgment sent {"connection_id":130942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:22:12] local.INFO: TCP Data received {"connection_id":130942,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c999d58012d7f914005afd938001d011b24..."} 
[2026-07-13 23:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c999d58012d7f914005afd938001d011b24..."} 
[2026-07-13 23:22:12] local.INFO: Processing buffer {"connection_id":130942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c999d58012d7f914005afd938001d011b24..."} 
[2026-07-13 23:22:12] local.INFO: Packet analysis {"connection_id":130942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c99"} 
[2026-07-13 23:22:12] local.INFO: Extracted packet for processing {"connection_id":130942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c99"} 
[2026-07-13 23:22:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694962688001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783964999000,"timestamp_ms":1783964999000,"timestamp_seconds":1783964999,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c999d58"} 
[2026-07-13 23:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694962688001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694962688001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:22:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:22:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694962688001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":130942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:22:12] local.INFO: GPS data processed {"connection_id":130942,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:22:12] local.INFO: Acknowledgment sent {"connection_id":130942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:22:33] local.INFO: TCP Data received {"connection_id":130726,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:22:33] local.INFO: Processing buffer {"connection_id":130726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:22:33] local.INFO: IMEI packet received {"connection_id":130726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":130726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:22:38] local.INFO: TCP Data received {"connection_id":130726,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:22:38] local.INFO: Processing buffer {"connection_id":130726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:22:38] local.INFO: IMEI packet received {"connection_id":130726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":130726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:22:43] local.INFO: TCP Data received {"connection_id":130726,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c999d58012d7f914005afd938001d011b24..."} 
[2026-07-13 23:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c999d58012d7f914005afd938001d011b24..."} 
[2026-07-13 23:22:43] local.INFO: Processing buffer {"connection_id":130726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c999d58012d7f914005afd938001d011b24..."} 
[2026-07-13 23:22:43] local.INFO: Packet analysis {"connection_id":130726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c99"} 
[2026-07-13 23:22:43] local.INFO: Extracted packet for processing {"connection_id":130726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c99"} 
[2026-07-13 23:22:43] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694962688001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783964999000,"timestamp_ms":1783964999000,"timestamp_seconds":1783964999,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c999d58"} 
[2026-07-13 23:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:22:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":130726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":130726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":130726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694962688001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694962688001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:22:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:22:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694962688001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":130726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:22:43] local.INFO: GPS data processed {"connection_id":130726,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:22:43] local.INFO: Acknowledgment sent {"connection_id":130726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:23:14] local.INFO: TCP Data received {"connection_id":130726,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c999d58012d7f914005afd938001d011b24..."} 
[2026-07-13 23:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c999d58012d7f914005afd938001d011b24..."} 
[2026-07-13 23:23:14] local.INFO: Processing buffer {"connection_id":130726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c999d58012d7f914005afd938001d011b24..."} 
[2026-07-13 23:23:14] local.INFO: Packet analysis {"connection_id":130726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c99"} 
[2026-07-13 23:23:14] local.INFO: Extracted packet for processing {"connection_id":130726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c99"} 
[2026-07-13 23:23:14] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694962688001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783964999000,"timestamp_ms":1783964999000,"timestamp_seconds":1783964999,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c999d58"} 
[2026-07-13 23:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694962688001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694962688001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:23:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:23:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694962688001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":130726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:23:14] local.INFO: GPS data processed {"connection_id":130726,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:23:14] local.INFO: Acknowledgment sent {"connection_id":130726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:23:33] local.INFO: TCP Data received {"connection_id":133084,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:23:33] local.INFO: Processing buffer {"connection_id":133084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:23:33] local.INFO: IMEI packet received {"connection_id":133084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":133084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:23:38] local.INFO: TCP Data received {"connection_id":133084,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:23:38] local.INFO: Processing buffer {"connection_id":133084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:23:38] local.INFO: IMEI packet received {"connection_id":133084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":133084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:23:41] local.INFO: TCP Data received {"connection_id":133084,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c999d58012d7f914005afd938001d011b24..."} 
[2026-07-13 23:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c999d58012d7f914005afd938001d011b24..."} 
[2026-07-13 23:23:41] local.INFO: Processing buffer {"connection_id":133084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c999d58012d7f914005afd938001d011b24..."} 
[2026-07-13 23:23:41] local.INFO: Packet analysis {"connection_id":133084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c99"} 
[2026-07-13 23:23:41] local.INFO: Extracted packet for processing {"connection_id":133084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c99"} 
[2026-07-13 23:23:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694962688001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783964999000,"timestamp_ms":1783964999000,"timestamp_seconds":1783964999,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c999d58"} 
[2026-07-13 23:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":133084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":133084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":133084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694962688001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694962688001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:23:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:23:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694962688001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":133084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:23:41] local.INFO: GPS data processed {"connection_id":133084,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:23:41] local.INFO: Acknowledgment sent {"connection_id":133084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:24:09] local.INFO: TCP Data received {"connection_id":131767,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:24:09] local.INFO: Processing buffer {"connection_id":131767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:24:09] local.INFO: IMEI packet received {"connection_id":131767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 23:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":131767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:24:12] local.INFO: TCP Data received {"connection_id":133084,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c999d58012d7f914005afd938001d011b24..."} 
[2026-07-13 23:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c999d58012d7f914005afd938001d011b24..."} 
[2026-07-13 23:24:12] local.INFO: Processing buffer {"connection_id":133084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c999d58012d7f914005afd938001d011b24..."} 
[2026-07-13 23:24:12] local.INFO: Packet analysis {"connection_id":133084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c99"} 
[2026-07-13 23:24:12] local.INFO: Extracted packet for processing {"connection_id":133084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c99"} 
[2026-07-13 23:24:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694962688001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783964999000,"timestamp_ms":1783964999000,"timestamp_seconds":1783964999,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c999d58"} 
[2026-07-13 23:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":133084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":133084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":133084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694962688001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694962688001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:24:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:24:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694962688001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":133084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:24:12] local.INFO: GPS data processed {"connection_id":133084,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:24:12] local.INFO: Acknowledgment sent {"connection_id":133084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:24:38] local.INFO: TCP Data received {"connection_id":130943,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:24:38] local.INFO: Processing buffer {"connection_id":130943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:24:38] local.INFO: IMEI packet received {"connection_id":130943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":130943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:24:39] local.INFO: TCP Data received {"connection_id":130944,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130944,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:24:39] local.INFO: Processing buffer {"connection_id":130944,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:24:39] local.INFO: IMEI packet received {"connection_id":130944,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 23:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":130944,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:24:43] local.INFO: TCP Data received {"connection_id":130943,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:24:43] local.INFO: Processing buffer {"connection_id":130943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:24:43] local.INFO: IMEI packet received {"connection_id":130943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":130943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:24:44] local.INFO: TCP Data received {"connection_id":130943,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c999d58012d7f914005afd938001d011b24..."} 
[2026-07-13 23:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c999d58012d7f914005afd938001d011b24..."} 
[2026-07-13 23:24:44] local.INFO: Processing buffer {"connection_id":130943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c999d58012d7f914005afd938001d011b24..."} 
[2026-07-13 23:24:44] local.INFO: Packet analysis {"connection_id":130943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c99"} 
[2026-07-13 23:24:44] local.INFO: Extracted packet for processing {"connection_id":130943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c99"} 
[2026-07-13 23:24:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694962688001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783964999000,"timestamp_ms":1783964999000,"timestamp_seconds":1783964999,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c999d58"} 
[2026-07-13 23:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:24:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694962688001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694962688001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:24:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:24:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694962688001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":130943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:24:44] local.INFO: GPS data processed {"connection_id":130943,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:24:44] local.INFO: Acknowledgment sent {"connection_id":130943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:24:49] local.INFO: TCP Data received {"connection_id":130943,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c999d58012d7f914005afd938001d011b24..."} 
[2026-07-13 23:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c999d58012d7f914005afd938001d011b24..."} 
[2026-07-13 23:24:49] local.INFO: Processing buffer {"connection_id":130943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c999d58012d7f914005afd938001d011b24..."} 
[2026-07-13 23:24:49] local.INFO: Packet analysis {"connection_id":130943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c99"} 
[2026-07-13 23:24:49] local.INFO: Extracted packet for processing {"connection_id":130943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c99"} 
[2026-07-13 23:24:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":36,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 23:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456694962688001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783964999000,"timestamp_ms":1783964999000,"timestamp_seconds":1783964999,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c999d58"} 
[2026-07-13 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-07-13 23:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 23:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:24: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-07-13 23:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456694962688001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456694962688001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:24:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:24:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456694962688001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":130943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:24:49] local.INFO: GPS data processed {"connection_id":130943,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:24:49] local.INFO: Acknowledgment sent {"connection_id":130943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:25:33] local.INFO: TCP Data received {"connection_id":133085,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:25:33] local.INFO: Processing buffer {"connection_id":133085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:25:33] local.INFO: IMEI packet received {"connection_id":133085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":133085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:25:38] local.INFO: TCP Data received {"connection_id":133085,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:25:38] local.INFO: Processing buffer {"connection_id":133085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:25:38] local.INFO: IMEI packet received {"connection_id":133085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":133085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:25:39] local.INFO: TCP Data received {"connection_id":133085,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c9e3520012d7f914005afd938001d011b29..."} 
[2026-07-13 23:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c9e3520012d7f914005afd938001d011b29..."} 
[2026-07-13 23:25:39] local.INFO: Processing buffer {"connection_id":133085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c9e3520012d7f914005afd938001d011b29..."} 
[2026-07-13 23:25:39] local.INFO: Packet analysis {"connection_id":133085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c9e"} 
[2026-07-13 23:25:39] local.INFO: Extracted packet for processing {"connection_id":133085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c9e"} 
[2026-07-13 23:25:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 23:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695039744001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783965300000,"timestamp_ms":1783965300000,"timestamp_seconds":1783965300,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c9e3520"} 
[2026-07-13 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-07-13 23:25: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-07-13 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:25: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-07-13 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-07-13 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-07-13 23:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695039744001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695039744001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:25:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:25:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695039744001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":133085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:25:39] local.INFO: GPS data processed {"connection_id":133085,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:25:39] local.INFO: Acknowledgment sent {"connection_id":133085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:26:10] local.INFO: TCP Data received {"connection_id":133085,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c9e3520012d7f914005afd938001d011b29..."} 
[2026-07-13 23:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c9e3520012d7f914005afd938001d011b29..."} 
[2026-07-13 23:26:10] local.INFO: Processing buffer {"connection_id":133085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c9e3520012d7f914005afd938001d011b29..."} 
[2026-07-13 23:26:10] local.INFO: Packet analysis {"connection_id":133085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c9e"} 
[2026-07-13 23:26:10] local.INFO: Extracted packet for processing {"connection_id":133085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c9e"} 
[2026-07-13 23:26:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695039744001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783965300000,"timestamp_ms":1783965300000,"timestamp_seconds":1783965300,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c9e3520"} 
[2026-07-13 23:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":133085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":133085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":133085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695039744001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695039744001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:26:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695039744001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":133085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:26:10] local.INFO: GPS data processed {"connection_id":133085,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:26:10] local.INFO: Acknowledgment sent {"connection_id":133085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:26:33] local.INFO: TCP Data received {"connection_id":130946,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:26:33] local.INFO: Processing buffer {"connection_id":130946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:26:33] local.INFO: IMEI packet received {"connection_id":130946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":130946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:26:38] local.INFO: TCP Data received {"connection_id":130946,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:26:38] local.INFO: Processing buffer {"connection_id":130946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:26:38] local.INFO: IMEI packet received {"connection_id":130946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":130946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:26:40] local.INFO: TCP Data received {"connection_id":130946,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c9e3520012d7f914005afd938001d011b29..."} 
[2026-07-13 23:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c9e3520012d7f914005afd938001d011b29..."} 
[2026-07-13 23:26:40] local.INFO: Processing buffer {"connection_id":130946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c9e3520012d7f914005afd938001d011b29..."} 
[2026-07-13 23:26:40] local.INFO: Packet analysis {"connection_id":130946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c9e"} 
[2026-07-13 23:26:40] local.INFO: Extracted packet for processing {"connection_id":130946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c9e"} 
[2026-07-13 23:26:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695039744001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783965300000,"timestamp_ms":1783965300000,"timestamp_seconds":1783965300,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c9e3520"} 
[2026-07-13 23:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695039744001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695039744001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:26:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:26:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695039744001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":130946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:26:40] local.INFO: GPS data processed {"connection_id":130946,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:26:40] local.INFO: Acknowledgment sent {"connection_id":130946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:27:12] local.INFO: TCP Data received {"connection_id":130946,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c9e3520012d7f914005afd938001d011b29..."} 
[2026-07-13 23:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c9e3520012d7f914005afd938001d011b29..."} 
[2026-07-13 23:27:12] local.INFO: Processing buffer {"connection_id":130946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c9e3520012d7f914005afd938001d011b29..."} 
[2026-07-13 23:27:12] local.INFO: Packet analysis {"connection_id":130946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c9e"} 
[2026-07-13 23:27:12] local.INFO: Extracted packet for processing {"connection_id":130946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c9e"} 
[2026-07-13 23:27:12] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695039744001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783965300000,"timestamp_ms":1783965300000,"timestamp_seconds":1783965300,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c9e3520"} 
[2026-07-13 23:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":130946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":130946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":130946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695039744001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695039744001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:27:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:27:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695039744001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":130946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:27:12] local.INFO: GPS data processed {"connection_id":130946,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:27:12] local.INFO: Acknowledgment sent {"connection_id":130946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:27:33] local.INFO: TCP Data received {"connection_id":133087,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:27:33] local.INFO: Processing buffer {"connection_id":133087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:27:33] local.INFO: IMEI packet received {"connection_id":133087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":133087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:27:38] local.INFO: TCP Data received {"connection_id":133087,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:27:38] local.INFO: Processing buffer {"connection_id":133087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:27:38] local.INFO: IMEI packet received {"connection_id":133087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":133087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:27:39] local.INFO: TCP Data received {"connection_id":133087,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c9e3520012d7f914005afd938001d011b29..."} 
[2026-07-13 23:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c9e3520012d7f914005afd938001d011b29..."} 
[2026-07-13 23:27:39] local.INFO: Processing buffer {"connection_id":133087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c9e3520012d7f914005afd938001d011b29..."} 
[2026-07-13 23:27:39] local.INFO: Packet analysis {"connection_id":133087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c9e"} 
[2026-07-13 23:27:39] local.INFO: Extracted packet for processing {"connection_id":133087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c9e"} 
[2026-07-13 23:27:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 23:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695039744001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783965300000,"timestamp_ms":1783965300000,"timestamp_seconds":1783965300,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c9e3520"} 
[2026-07-13 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-07-13 23:27: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-07-13 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:27: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-07-13 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-07-13 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-07-13 23:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695039744001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695039744001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:27:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:27:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695039744001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":133087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:27:39] local.INFO: GPS data processed {"connection_id":133087,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:27:39] local.INFO: Acknowledgment sent {"connection_id":133087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:28:10] local.INFO: TCP Data received {"connection_id":133087,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c9e3520012d7f914005afd938001d011b29..."} 
[2026-07-13 23:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c9e3520012d7f914005afd938001d011b29..."} 
[2026-07-13 23:28:10] local.INFO: Processing buffer {"connection_id":133087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c9e3520012d7f914005afd938001d011b29..."} 
[2026-07-13 23:28:10] local.INFO: Packet analysis {"connection_id":133087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c9e"} 
[2026-07-13 23:28:10] local.INFO: Extracted packet for processing {"connection_id":133087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c9e"} 
[2026-07-13 23:28:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695039744001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783965300000,"timestamp_ms":1783965300000,"timestamp_seconds":1783965300,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c9e3520"} 
[2026-07-13 23:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":133087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":133087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":133087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695039744001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695039744001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:28:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:28:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695039744001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":133087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:28:10] local.INFO: GPS data processed {"connection_id":133087,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:28:10] local.INFO: Acknowledgment sent {"connection_id":133087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:28:38] local.INFO: TCP Data received {"connection_id":130728,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:28:38] local.INFO: Processing buffer {"connection_id":130728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:28:38] local.INFO: IMEI packet received {"connection_id":130728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":130728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:28:43] local.INFO: TCP Data received {"connection_id":130728,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:28:43] local.INFO: Processing buffer {"connection_id":130728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:28:43] local.INFO: IMEI packet received {"connection_id":130728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":130728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:28:44] local.INFO: TCP Data received {"connection_id":130728,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c9e3520012d7f914005afd938001d011b29..."} 
[2026-07-13 23:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c9e3520012d7f914005afd938001d011b29..."} 
[2026-07-13 23:28:44] local.INFO: Processing buffer {"connection_id":130728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c9e3520012d7f914005afd938001d011b29..."} 
[2026-07-13 23:28:44] local.INFO: Packet analysis {"connection_id":130728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c9e"} 
[2026-07-13 23:28:44] local.INFO: Extracted packet for processing {"connection_id":130728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c9e"} 
[2026-07-13 23:28:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695039744001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783965300000,"timestamp_ms":1783965300000,"timestamp_seconds":1783965300,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c9e3520"} 
[2026-07-13 23:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:28:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:28:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695039744001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695039744001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:28:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:28:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695039744001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":130728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:28:44] local.INFO: GPS data processed {"connection_id":130728,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:28:44] local.INFO: Acknowledgment sent {"connection_id":130728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:29:15] local.INFO: TCP Data received {"connection_id":130728,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c9e3520012d7f914005afd938001d011b29..."} 
[2026-07-13 23:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c9e3520012d7f914005afd938001d011b29..."} 
[2026-07-13 23:29:15] local.INFO: Processing buffer {"connection_id":130728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c9e3520012d7f914005afd938001d011b29..."} 
[2026-07-13 23:29:15] local.INFO: Packet analysis {"connection_id":130728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c9e"} 
[2026-07-13 23:29:15] local.INFO: Extracted packet for processing {"connection_id":130728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c9e"} 
[2026-07-13 23:29:15] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695039744001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783965300000,"timestamp_ms":1783965300000,"timestamp_seconds":1783965300,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c9e3520"} 
[2026-07-13 23:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:29:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695039744001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695039744001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:29:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:29:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695039744001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":130728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:29:15] local.INFO: GPS data processed {"connection_id":130728,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:29:15] local.INFO: Acknowledgment sent {"connection_id":130728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:29:33] local.INFO: TCP Data received {"connection_id":131769,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:29:33] local.INFO: Processing buffer {"connection_id":131769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:29:33] local.INFO: IMEI packet received {"connection_id":131769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":131769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:29:38] local.INFO: TCP Data received {"connection_id":131769,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:29:38] local.INFO: Processing buffer {"connection_id":131769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:29:38] local.INFO: IMEI packet received {"connection_id":131769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":131769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:29:39] local.INFO: TCP Data received {"connection_id":131769,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c9e3520012d7f914005afd938001d011b29..."} 
[2026-07-13 23:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c9e3520012d7f914005afd938001d011b29..."} 
[2026-07-13 23:29:39] local.INFO: Processing buffer {"connection_id":131769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c9e3520012d7f914005afd938001d011b29..."} 
[2026-07-13 23:29:39] local.INFO: Packet analysis {"connection_id":131769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c9e"} 
[2026-07-13 23:29:39] local.INFO: Extracted packet for processing {"connection_id":131769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c9e"} 
[2026-07-13 23:29:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 23:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695039744001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783965300000,"timestamp_ms":1783965300000,"timestamp_seconds":1783965300,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c9e3520"} 
[2026-07-13 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-07-13 23:29: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-07-13 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:29: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-07-13 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-07-13 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-07-13 23:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695039744001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695039744001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:29:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:29:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695039744001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":131769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:29:39] local.INFO: GPS data processed {"connection_id":131769,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:29:39] local.INFO: Acknowledgment sent {"connection_id":131769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:29:54] local.INFO: TCP Data received {"connection_id":131770,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131770,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:29:54] local.INFO: Processing buffer {"connection_id":131770,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:29:54] local.INFO: IMEI packet received {"connection_id":131770,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 23:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":131770,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:30:10] local.INFO: TCP Data received {"connection_id":131769,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5c9e3520012d7f914005afd938001d011b29..."} 
[2026-07-13 23:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5c9e3520012d7f914005afd938001d011b29..."} 
[2026-07-13 23:30:10] local.INFO: Processing buffer {"connection_id":131769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5c9e3520012d7f914005afd938001d011b29..."} 
[2026-07-13 23:30:10] local.INFO: Packet analysis {"connection_id":131769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5c9e"} 
[2026-07-13 23:30:10] local.INFO: Extracted packet for processing {"connection_id":131769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5c9e"} 
[2026-07-13 23:30:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695039744001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783965300000,"timestamp_ms":1783965300000,"timestamp_seconds":1783965300,"priority":1,"record_length":96,"hex_timestamp":"0000019f5c9e3520"} 
[2026-07-13 23:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695039744001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695039744001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:30:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:30:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695039744001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":131769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:30:10] local.INFO: GPS data processed {"connection_id":131769,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:30:10] local.INFO: Acknowledgment sent {"connection_id":131769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:30:38] local.INFO: TCP Data received {"connection_id":130948,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:30:38] local.INFO: Processing buffer {"connection_id":130948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:30:38] local.INFO: IMEI packet received {"connection_id":130948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":130948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:30:39] local.INFO: TCP Data received {"connection_id":130949,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:30:39] local.INFO: Processing buffer {"connection_id":130949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:30:39] local.INFO: IMEI packet received {"connection_id":130949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 23:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":130949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:30:39] local.INFO: TCP Data received {"connection_id":130948,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:30:39] local.INFO: Processing buffer {"connection_id":130948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:30:39] local.INFO: IMEI packet received {"connection_id":130948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":130948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:30:40] local.INFO: TCP Data received {"connection_id":130948,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:30:40] local.INFO: Processing buffer {"connection_id":130948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:30:40] local.INFO: Packet analysis {"connection_id":130948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ca2"} 
[2026-07-13 23:30:40] local.INFO: Extracted packet for processing {"connection_id":130948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ca2"} 
[2026-07-13 23:30:40] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":28,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695116800001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783965601000,"timestamp_ms":1783965601000,"timestamp_seconds":1783965601,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ca2cce8"} 
[2026-07-13 23:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 23:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":130948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":130948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":130948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695116800001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695116800001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:30:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:30:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695116800001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":130948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:30:40] local.INFO: GPS data processed {"connection_id":130948,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:30:40] local.INFO: Acknowledgment sent {"connection_id":130948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:30:44] local.INFO: TCP Data received {"connection_id":130948,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:30:44] local.INFO: Processing buffer {"connection_id":130948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:30:44] local.INFO: Packet analysis {"connection_id":130948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ca2"} 
[2026-07-13 23:30:44] local.INFO: Extracted packet for processing {"connection_id":130948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ca2"} 
[2026-07-13 23:30:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":28,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695116800001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783965601000,"timestamp_ms":1783965601000,"timestamp_seconds":1783965601,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ca2cce8"} 
[2026-07-13 23:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 23:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695116800001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695116800001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:30:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:30:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695116800001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":130948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:30:44] local.INFO: GPS data processed {"connection_id":130948,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:30:44] local.INFO: Acknowledgment sent {"connection_id":130948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:31:15] local.INFO: TCP Data received {"connection_id":130948,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:31:15] local.INFO: Processing buffer {"connection_id":130948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:31:15] local.INFO: Packet analysis {"connection_id":130948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ca2"} 
[2026-07-13 23:31:15] local.INFO: Extracted packet for processing {"connection_id":130948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ca2"} 
[2026-07-13 23:31:15] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":28,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695116800001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783965601000,"timestamp_ms":1783965601000,"timestamp_seconds":1783965601,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ca2cce8"} 
[2026-07-13 23:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 23:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":130948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":130948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":130948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695116800001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695116800001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:31:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:31:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695116800001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":130948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:31:15] local.INFO: GPS data processed {"connection_id":130948,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:31:15] local.INFO: Acknowledgment sent {"connection_id":130948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:31:33] local.INFO: TCP Data received {"connection_id":130729,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:31:33] local.INFO: Processing buffer {"connection_id":130729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:31:33] local.INFO: IMEI packet received {"connection_id":130729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":130729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:31:38] local.INFO: TCP Data received {"connection_id":130729,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:31:38] local.INFO: Processing buffer {"connection_id":130729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:31:38] local.INFO: IMEI packet received {"connection_id":130729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":130729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:31:39] local.INFO: TCP Data received {"connection_id":130729,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:31:39] local.INFO: Processing buffer {"connection_id":130729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:31:39] local.INFO: Packet analysis {"connection_id":130729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ca2"} 
[2026-07-13 23:31:39] local.INFO: Extracted packet for processing {"connection_id":130729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ca2"} 
[2026-07-13 23:31:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":28,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695116800001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783965601000,"timestamp_ms":1783965601000,"timestamp_seconds":1783965601,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ca2cce8"} 
[2026-07-13 23:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:31: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-07-13 23: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 23:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695116800001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695116800001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:31:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:31:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695116800001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":130729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:31:39] local.INFO: GPS data processed {"connection_id":130729,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:31:39] local.INFO: Acknowledgment sent {"connection_id":130729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:32:11] local.INFO: TCP Data received {"connection_id":130729,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:32:11] local.INFO: Processing buffer {"connection_id":130729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:32:11] local.INFO: Packet analysis {"connection_id":130729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ca2"} 
[2026-07-13 23:32:11] local.INFO: Extracted packet for processing {"connection_id":130729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ca2"} 
[2026-07-13 23:32:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":28,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695116800001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783965601000,"timestamp_ms":1783965601000,"timestamp_seconds":1783965601,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ca2cce8"} 
[2026-07-13 23:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 23:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":130729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":130729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":130729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695116800001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695116800001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:32:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:32:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695116800001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":130729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:32:11] local.INFO: GPS data processed {"connection_id":130729,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:32:11] local.INFO: Acknowledgment sent {"connection_id":130729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:32:33] local.INFO: TCP Data received {"connection_id":130951,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:32:33] local.INFO: Processing buffer {"connection_id":130951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:32:33] local.INFO: IMEI packet received {"connection_id":130951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":130951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:32:38] local.INFO: TCP Data received {"connection_id":130951,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:32:38] local.INFO: Processing buffer {"connection_id":130951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:32:38] local.INFO: IMEI packet received {"connection_id":130951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":130951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:32:39] local.INFO: TCP Data received {"connection_id":130951,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:32:39] local.INFO: Processing buffer {"connection_id":130951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:32:39] local.INFO: Packet analysis {"connection_id":130951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ca2"} 
[2026-07-13 23:32:39] local.INFO: Extracted packet for processing {"connection_id":130951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ca2"} 
[2026-07-13 23:32:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":28,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695116800001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783965601000,"timestamp_ms":1783965601000,"timestamp_seconds":1783965601,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ca2cce8"} 
[2026-07-13 23:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:32: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-07-13 23:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 23:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695116800001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695116800001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:32:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:32:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695116800001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":130951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:32:39] local.INFO: GPS data processed {"connection_id":130951,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:32:39] local.INFO: Acknowledgment sent {"connection_id":130951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:33:10] local.INFO: TCP Data received {"connection_id":130951,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:33:10] local.INFO: Processing buffer {"connection_id":130951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:33:10] local.INFO: Packet analysis {"connection_id":130951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ca2"} 
[2026-07-13 23:33:10] local.INFO: Extracted packet for processing {"connection_id":130951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ca2"} 
[2026-07-13 23:33:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":28,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695116800001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783965601000,"timestamp_ms":1783965601000,"timestamp_seconds":1783965601,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ca2cce8"} 
[2026-07-13 23:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 23:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695116800001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695116800001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:33:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:33:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695116800001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":130951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:33:10] local.INFO: GPS data processed {"connection_id":130951,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:33:10] local.INFO: Acknowledgment sent {"connection_id":130951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:33:38] local.INFO: TCP Data received {"connection_id":131771,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:33:38] local.INFO: Processing buffer {"connection_id":131771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:33:38] local.INFO: IMEI packet received {"connection_id":131771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":131771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:33:44] local.INFO: TCP Data received {"connection_id":131771,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:33:44] local.INFO: Processing buffer {"connection_id":131771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:33:44] local.INFO: IMEI packet received {"connection_id":131771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":131771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:33:46] local.INFO: TCP Data received {"connection_id":131771,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:33:46] local.INFO: Processing buffer {"connection_id":131771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:33:46] local.INFO: Packet analysis {"connection_id":131771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ca2"} 
[2026-07-13 23:33:46] local.INFO: Extracted packet for processing {"connection_id":131771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ca2"} 
[2026-07-13 23:33:46] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":28,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695116800001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783965601000,"timestamp_ms":1783965601000,"timestamp_seconds":1783965601,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ca2cce8"} 
[2026-07-13 23:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 23:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":131771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":131771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":131771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695116800001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695116800001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:33:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:33:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695116800001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":131771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:33:46] local.INFO: GPS data processed {"connection_id":131771,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:33:46] local.INFO: Acknowledgment sent {"connection_id":131771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:33:50] local.INFO: TCP Data received {"connection_id":131771,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:33:50] local.INFO: Processing buffer {"connection_id":131771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:33:50] local.INFO: Packet analysis {"connection_id":131771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ca2"} 
[2026-07-13 23:33:50] local.INFO: Extracted packet for processing {"connection_id":131771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ca2"} 
[2026-07-13 23:33:50] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":28,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23: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-07-13 23:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695116800001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783965601000,"timestamp_ms":1783965601000,"timestamp_seconds":1783965601,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ca2cce8"} 
[2026-07-13 23:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:33: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-07-13 23: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 23:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23: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-07-13 23:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":131771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":131771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":131771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:33: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-07-13 23:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695116800001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695116800001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:33:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:33:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695116800001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":131771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:33:50] local.INFO: GPS data processed {"connection_id":131771,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:33:50] local.INFO: Acknowledgment sent {"connection_id":131771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:34:33] local.INFO: TCP Data received {"connection_id":133089,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:34:33] local.INFO: Processing buffer {"connection_id":133089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:34:33] local.INFO: IMEI packet received {"connection_id":133089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":133089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:34:38] local.INFO: TCP Data received {"connection_id":133089,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:34:38] local.INFO: Processing buffer {"connection_id":133089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:34:38] local.INFO: IMEI packet received {"connection_id":133089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":133089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:34:39] local.INFO: TCP Data received {"connection_id":133089,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:34:39] local.INFO: Processing buffer {"connection_id":133089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:34:39] local.INFO: Packet analysis {"connection_id":133089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ca2"} 
[2026-07-13 23:34:39] local.INFO: Extracted packet for processing {"connection_id":133089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ca2"} 
[2026-07-13 23:34:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":28,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695116800001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783965601000,"timestamp_ms":1783965601000,"timestamp_seconds":1783965601,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ca2cce8"} 
[2026-07-13 23:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:34: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-07-13 23:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 23:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695116800001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695116800001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:34:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:34:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695116800001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":133089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:34:39] local.INFO: GPS data processed {"connection_id":133089,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:34:39] local.INFO: Acknowledgment sent {"connection_id":133089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:35:10] local.INFO: TCP Data received {"connection_id":133089,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:35:10] local.INFO: Processing buffer {"connection_id":133089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ca2cce8012d7f914005afd938001c011b28..."} 
[2026-07-13 23:35:10] local.INFO: Packet analysis {"connection_id":133089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ca2"} 
[2026-07-13 23:35:10] local.INFO: Extracted packet for processing {"connection_id":133089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ca2"} 
[2026-07-13 23:35:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":28,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695116800001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783965601000,"timestamp_ms":1783965601000,"timestamp_seconds":1783965601,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ca2cce8"} 
[2026-07-13 23:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 23:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":133089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":133089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":133089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695116800001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695116800001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:35:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695116800001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":133089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:35:10] local.INFO: GPS data processed {"connection_id":133089,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:35:10] local.INFO: Acknowledgment sent {"connection_id":133089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:35:33] local.INFO: TCP Data received {"connection_id":130730,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:35:33] local.INFO: Processing buffer {"connection_id":130730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:35:33] local.INFO: IMEI packet received {"connection_id":130730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":130730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:35:41] local.INFO: TCP Data received {"connection_id":130730,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:35:41] local.INFO: Processing buffer {"connection_id":130730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:35:41] local.INFO: IMEI packet received {"connection_id":130730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":130730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:35:42] local.INFO: TCP Data received {"connection_id":130730,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:35:42] local.INFO: Processing buffer {"connection_id":130730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:35:42] local.INFO: Packet analysis {"connection_id":130730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ca7"} 
[2026-07-13 23:35:42] local.INFO: Extracted packet for processing {"connection_id":130730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ca7"} 
[2026-07-13 23:35:42] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23: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-07-13 23:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695193856001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783965902000,"timestamp_ms":1783965902000,"timestamp_seconds":1783965902,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ca764b0"} 
[2026-07-13 23:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 23:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23: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-07-13 23:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":130730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":130730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":130730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695193856001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695193856001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:35:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:35:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695193856001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":130730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:35:42] local.INFO: GPS data processed {"connection_id":130730,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:35:42] local.INFO: Acknowledgment sent {"connection_id":130730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:35:47] local.INFO: TCP Data received {"connection_id":131773,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131773,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:35:47] local.INFO: Processing buffer {"connection_id":131773,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:35:47] local.INFO: IMEI packet received {"connection_id":131773,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 23:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":131773,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:36:14] local.INFO: TCP Data received {"connection_id":130730,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:36:14] local.INFO: Processing buffer {"connection_id":130730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:36:14] local.INFO: Packet analysis {"connection_id":130730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ca7"} 
[2026-07-13 23:36:14] local.INFO: Extracted packet for processing {"connection_id":130730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ca7"} 
[2026-07-13 23:36:14] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695193856001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783965902000,"timestamp_ms":1783965902000,"timestamp_seconds":1783965902,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ca764b0"} 
[2026-07-13 23:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 23:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":130730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":130730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":130730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695193856001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695193856001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:36:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:36:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695193856001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":130730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:36:14] local.INFO: GPS data processed {"connection_id":130730,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:36:14] local.INFO: Acknowledgment sent {"connection_id":130730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:36:33] local.INFO: TCP Data received {"connection_id":131774,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:36:33] local.INFO: Processing buffer {"connection_id":131774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:36:33] local.INFO: IMEI packet received {"connection_id":131774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":131774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:36:38] local.INFO: TCP Data received {"connection_id":131774,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:36:38] local.INFO: Processing buffer {"connection_id":131774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:36:38] local.INFO: IMEI packet received {"connection_id":131774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":131774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:36:39] local.INFO: TCP Data received {"connection_id":131774,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:36:39] local.INFO: Processing buffer {"connection_id":131774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:36:39] local.INFO: Packet analysis {"connection_id":131774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ca7"} 
[2026-07-13 23:36:39] local.INFO: Extracted packet for processing {"connection_id":131774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ca7"} 
[2026-07-13 23:36:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695193856001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783965902000,"timestamp_ms":1783965902000,"timestamp_seconds":1783965902,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ca764b0"} 
[2026-07-13 23:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:36: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-07-13 23:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 23:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695193856001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695193856001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:36:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:36:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695193856001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":131774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:36:39] local.INFO: GPS data processed {"connection_id":131774,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:36:39] local.INFO: Acknowledgment sent {"connection_id":131774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:37:10] local.INFO: TCP Data received {"connection_id":131774,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:37:10] local.INFO: Processing buffer {"connection_id":131774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:37:10] local.INFO: Packet analysis {"connection_id":131774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ca7"} 
[2026-07-13 23:37:10] local.INFO: Extracted packet for processing {"connection_id":131774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ca7"} 
[2026-07-13 23:37:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695193856001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783965902000,"timestamp_ms":1783965902000,"timestamp_seconds":1783965902,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ca764b0"} 
[2026-07-13 23:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 23:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695193856001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695193856001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:37:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:37:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695193856001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":131774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:37:10] local.INFO: GPS data processed {"connection_id":131774,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:37:10] local.INFO: Acknowledgment sent {"connection_id":131774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:37:38] local.INFO: TCP Data received {"connection_id":130954,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:37:38] local.INFO: Processing buffer {"connection_id":130954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:37:38] local.INFO: IMEI packet received {"connection_id":130954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":130954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:37:43] local.INFO: TCP Data received {"connection_id":130954,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:37:43] local.INFO: Processing buffer {"connection_id":130954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:37:43] local.INFO: IMEI packet received {"connection_id":130954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":130954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:37:52] local.INFO: TCP Data received {"connection_id":130954,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:37:52] local.INFO: Processing buffer {"connection_id":130954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:37:52] local.INFO: IMEI packet received {"connection_id":130954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":130954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:38:00] local.INFO: TCP Data received {"connection_id":130954,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:38:00] local.INFO: Processing buffer {"connection_id":130954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:38:00] local.INFO: Packet analysis {"connection_id":130954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ca7"} 
[2026-07-13 23:38:00] local.INFO: Extracted packet for processing {"connection_id":130954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ca7"} 
[2026-07-13 23:38:00] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695193856001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783965902000,"timestamp_ms":1783965902000,"timestamp_seconds":1783965902,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ca764b0"} 
[2026-07-13 23:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 23:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":130954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":130954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":130954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695193856001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695193856001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:38:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:38:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695193856001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":130954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:38:00] local.INFO: GPS data processed {"connection_id":130954,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:38:00] local.INFO: Acknowledgment sent {"connection_id":130954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:38:02] local.INFO: TCP Data received {"connection_id":130954,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:38:02] local.INFO: Processing buffer {"connection_id":130954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:38:02] local.INFO: Packet analysis {"connection_id":130954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ca7"} 
[2026-07-13 23:38:02] local.INFO: Extracted packet for processing {"connection_id":130954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ca7"} 
[2026-07-13 23:38:02] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695193856001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783965902000,"timestamp_ms":1783965902000,"timestamp_seconds":1783965902,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ca764b0"} 
[2026-07-13 23:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 23:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":130954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":130954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":130954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695193856001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695193856001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:38:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:38:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695193856001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":130954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:38:02] local.INFO: GPS data processed {"connection_id":130954,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:38:02] local.INFO: Acknowledgment sent {"connection_id":130954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:38:10] local.INFO: TCP Data received {"connection_id":130954,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:38:10] local.INFO: Processing buffer {"connection_id":130954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:38:10] local.INFO: Packet analysis {"connection_id":130954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ca7"} 
[2026-07-13 23:38:10] local.INFO: Extracted packet for processing {"connection_id":130954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ca7"} 
[2026-07-13 23:38:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695193856001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783965902000,"timestamp_ms":1783965902000,"timestamp_seconds":1783965902,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ca764b0"} 
[2026-07-13 23:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 23:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695193856001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695193856001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:38:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:38:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695193856001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":130954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:38:10] local.INFO: GPS data processed {"connection_id":130954,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:38:10] local.INFO: Acknowledgment sent {"connection_id":130954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:38:33] local.INFO: TCP Data received {"connection_id":131775,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:38:33] local.INFO: Processing buffer {"connection_id":131775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:38:33] local.INFO: IMEI packet received {"connection_id":131775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":131775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:38:38] local.INFO: TCP Data received {"connection_id":131775,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:38:38] local.INFO: Processing buffer {"connection_id":131775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:38:38] local.INFO: IMEI packet received {"connection_id":131775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":131775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:38:39] local.INFO: TCP Data received {"connection_id":131775,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:38:39] local.INFO: Processing buffer {"connection_id":131775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:38:39] local.INFO: Packet analysis {"connection_id":131775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ca7"} 
[2026-07-13 23:38:39] local.INFO: Extracted packet for processing {"connection_id":131775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ca7"} 
[2026-07-13 23:38:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695193856001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783965902000,"timestamp_ms":1783965902000,"timestamp_seconds":1783965902,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ca764b0"} 
[2026-07-13 23:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:38: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-07-13 23:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 23:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695193856001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695193856001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:38:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:38:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695193856001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":131775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:38:39] local.INFO: GPS data processed {"connection_id":131775,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:38:39] local.INFO: Acknowledgment sent {"connection_id":131775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:39:11] local.INFO: TCP Data received {"connection_id":131775,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:39:11] local.INFO: Processing buffer {"connection_id":131775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:39:11] local.INFO: Packet analysis {"connection_id":131775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ca7"} 
[2026-07-13 23:39:11] local.INFO: Extracted packet for processing {"connection_id":131775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ca7"} 
[2026-07-13 23:39:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695193856001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783965902000,"timestamp_ms":1783965902000,"timestamp_seconds":1783965902,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ca764b0"} 
[2026-07-13 23:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 23:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695193856001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695193856001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:39:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:39:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695193856001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":131775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:39:11] local.INFO: GPS data processed {"connection_id":131775,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:39:11] local.INFO: Acknowledgment sent {"connection_id":131775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:39:33] local.INFO: TCP Data received {"connection_id":133091,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:39:33] local.INFO: Processing buffer {"connection_id":133091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:39:33] local.INFO: IMEI packet received {"connection_id":133091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":133091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:39:38] local.INFO: TCP Data received {"connection_id":133091,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:39:38] local.INFO: Processing buffer {"connection_id":133091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:39:38] local.INFO: IMEI packet received {"connection_id":133091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":133091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:39:39] local.INFO: TCP Data received {"connection_id":133091,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:39:39] local.INFO: Processing buffer {"connection_id":133091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:39:39] local.INFO: Packet analysis {"connection_id":133091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ca7"} 
[2026-07-13 23:39:39] local.INFO: Extracted packet for processing {"connection_id":133091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ca7"} 
[2026-07-13 23:39:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695193856001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783965902000,"timestamp_ms":1783965902000,"timestamp_seconds":1783965902,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ca764b0"} 
[2026-07-13 23:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:39: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-07-13 23:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 23:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695193856001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695193856001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:39:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:39:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695193856001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":133091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:39:39] local.INFO: GPS data processed {"connection_id":133091,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:39:39] local.INFO: Acknowledgment sent {"connection_id":133091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:40:33] local.INFO: TCP Data received {"connection_id":130732,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:40:33] local.INFO: Processing buffer {"connection_id":130732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:40:33] local.INFO: IMEI packet received {"connection_id":130732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":130732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:40:38] local.INFO: TCP Data received {"connection_id":130732,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:40:38] local.INFO: Processing buffer {"connection_id":130732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:40:38] local.INFO: IMEI packet received {"connection_id":130732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":130732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:40:39] local.INFO: TCP Data received {"connection_id":130732,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:40:39] local.INFO: Processing buffer {"connection_id":130732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5ca764b0012d7f914005afd938001b011b23..."} 
[2026-07-13 23:40:39] local.INFO: Packet analysis {"connection_id":130732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5ca7"} 
[2026-07-13 23:40:39] local.INFO: Extracted packet for processing {"connection_id":130732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5ca7"} 
[2026-07-13 23:40:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":27,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695193856001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783965902000,"timestamp_ms":1783965902000,"timestamp_seconds":1783965902,"priority":1,"record_length":96,"hex_timestamp":"0000019f5ca764b0"} 
[2026-07-13 23:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:40: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-07-13 23:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-13 23:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695193856001,"66":25191,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695193856001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:40:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:40:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695193856001,"power":25191,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":130732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:40:39] local.INFO: GPS data processed {"connection_id":130732,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:40:39] local.INFO: Acknowledgment sent {"connection_id":130732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:41:10] local.INFO: TCP Data received {"connection_id":130732,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cabfc78012d7f914005afd9380019011b25..."} 
[2026-07-13 23:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cabfc78012d7f914005afd9380019011b25..."} 
[2026-07-13 23:41:10] local.INFO: Processing buffer {"connection_id":130732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cabfc78012d7f914005afd9380019011b25..."} 
[2026-07-13 23:41:10] local.INFO: Packet analysis {"connection_id":130732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cab"} 
[2026-07-13 23:41:10] local.INFO: Extracted packet for processing {"connection_id":130732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cab"} 
[2026-07-13 23:41:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695270912001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783966203000,"timestamp_ms":1783966203000,"timestamp_seconds":1783966203,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cabfc78"} 
[2026-07-13 23:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695270912001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695270912001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:41:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:41:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695270912001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":130732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:41:10] local.INFO: GPS data processed {"connection_id":130732,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:41:10] local.INFO: Acknowledgment sent {"connection_id":130732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:41:19] local.INFO: TCP Data received {"connection_id":130957,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130957,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:41:19] local.INFO: Processing buffer {"connection_id":130957,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:41:19] local.INFO: IMEI packet received {"connection_id":130957,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 23:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":130957,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:41:33] local.INFO: TCP Data received {"connection_id":133092,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:41:33] local.INFO: Processing buffer {"connection_id":133092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:41:33] local.INFO: IMEI packet received {"connection_id":133092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":133092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:41:38] local.INFO: TCP Data received {"connection_id":133092,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:41:38] local.INFO: Processing buffer {"connection_id":133092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:41:38] local.INFO: IMEI packet received {"connection_id":133092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":133092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:41:38] local.INFO: TCP Data received {"connection_id":131776,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131776,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:41:38] local.INFO: Processing buffer {"connection_id":131776,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:41:38] local.INFO: IMEI packet received {"connection_id":131776,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 23:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":131776,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:41:39] local.INFO: TCP Data received {"connection_id":133092,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cabfc78012d7f914005afd9380019011b25..."} 
[2026-07-13 23:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cabfc78012d7f914005afd9380019011b25..."} 
[2026-07-13 23:41:39] local.INFO: Processing buffer {"connection_id":133092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cabfc78012d7f914005afd9380019011b25..."} 
[2026-07-13 23:41:39] local.INFO: Packet analysis {"connection_id":133092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cab"} 
[2026-07-13 23:41:39] local.INFO: Extracted packet for processing {"connection_id":133092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cab"} 
[2026-07-13 23:41:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695270912001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783966203000,"timestamp_ms":1783966203000,"timestamp_seconds":1783966203,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cabfc78"} 
[2026-07-13 23:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:41: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-07-13 23:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:41: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-07-13 23:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695270912001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695270912001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:41:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:41:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695270912001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":133092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:41:39] local.INFO: GPS data processed {"connection_id":133092,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:41:39] local.INFO: Acknowledgment sent {"connection_id":133092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:42:10] local.INFO: TCP Data received {"connection_id":133092,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cabfc78012d7f914005afd9380019011b25..."} 
[2026-07-13 23:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cabfc78012d7f914005afd9380019011b25..."} 
[2026-07-13 23:42:10] local.INFO: Processing buffer {"connection_id":133092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cabfc78012d7f914005afd9380019011b25..."} 
[2026-07-13 23:42:10] local.INFO: Packet analysis {"connection_id":133092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cab"} 
[2026-07-13 23:42:10] local.INFO: Extracted packet for processing {"connection_id":133092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cab"} 
[2026-07-13 23:42:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695270912001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783966203000,"timestamp_ms":1783966203000,"timestamp_seconds":1783966203,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cabfc78"} 
[2026-07-13 23:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":133092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":133092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":133092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695270912001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695270912001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:42:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695270912001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":133092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:42:10] local.INFO: GPS data processed {"connection_id":133092,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:42:10] local.INFO: Acknowledgment sent {"connection_id":133092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:42:33] local.INFO: TCP Data received {"connection_id":130734,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:42:33] local.INFO: Processing buffer {"connection_id":130734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:42:33] local.INFO: IMEI packet received {"connection_id":130734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":130734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:42:38] local.INFO: TCP Data received {"connection_id":130734,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:42:38] local.INFO: Processing buffer {"connection_id":130734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:42:38] local.INFO: IMEI packet received {"connection_id":130734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":130734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:42:39] local.INFO: TCP Data received {"connection_id":130734,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cabfc78012d7f914005afd9380019011b25..."} 
[2026-07-13 23:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cabfc78012d7f914005afd9380019011b25..."} 
[2026-07-13 23:42:39] local.INFO: Processing buffer {"connection_id":130734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cabfc78012d7f914005afd9380019011b25..."} 
[2026-07-13 23:42:39] local.INFO: Packet analysis {"connection_id":130734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cab"} 
[2026-07-13 23:42:39] local.INFO: Extracted packet for processing {"connection_id":130734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cab"} 
[2026-07-13 23:42:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 23:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695270912001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783966203000,"timestamp_ms":1783966203000,"timestamp_seconds":1783966203,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cabfc78"} 
[2026-07-13 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-07-13 23:42: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-07-13 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:42: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-07-13 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-07-13 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-07-13 23:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695270912001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695270912001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:42:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:42:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695270912001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":130734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:42:39] local.INFO: GPS data processed {"connection_id":130734,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:42:39] local.INFO: Acknowledgment sent {"connection_id":130734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:43:10] local.INFO: TCP Data received {"connection_id":130734,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cabfc78012d7f914005afd9380019011b25..."} 
[2026-07-13 23:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cabfc78012d7f914005afd9380019011b25..."} 
[2026-07-13 23:43:10] local.INFO: Processing buffer {"connection_id":130734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cabfc78012d7f914005afd9380019011b25..."} 
[2026-07-13 23:43:10] local.INFO: Packet analysis {"connection_id":130734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cab"} 
[2026-07-13 23:43:10] local.INFO: Extracted packet for processing {"connection_id":130734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cab"} 
[2026-07-13 23:43:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695270912001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783966203000,"timestamp_ms":1783966203000,"timestamp_seconds":1783966203,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cabfc78"} 
[2026-07-13 23:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695270912001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695270912001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:43:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:43:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695270912001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":130734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:43:10] local.INFO: GPS data processed {"connection_id":130734,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:43:10] local.INFO: Acknowledgment sent {"connection_id":130734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:43:33] local.INFO: TCP Data received {"connection_id":130958,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:43:33] local.INFO: Processing buffer {"connection_id":130958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:43:33] local.INFO: IMEI packet received {"connection_id":130958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":130958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:43:38] local.INFO: TCP Data received {"connection_id":130958,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:43:38] local.INFO: Processing buffer {"connection_id":130958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:43:38] local.INFO: IMEI packet received {"connection_id":130958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":130958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:43:39] local.INFO: TCP Data received {"connection_id":130958,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cabfc78012d7f914005afd9380019011b25..."} 
[2026-07-13 23:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cabfc78012d7f914005afd9380019011b25..."} 
[2026-07-13 23:43:39] local.INFO: Processing buffer {"connection_id":130958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cabfc78012d7f914005afd9380019011b25..."} 
[2026-07-13 23:43:39] local.INFO: Packet analysis {"connection_id":130958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cab"} 
[2026-07-13 23:43:39] local.INFO: Extracted packet for processing {"connection_id":130958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cab"} 
[2026-07-13 23:43:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695270912001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783966203000,"timestamp_ms":1783966203000,"timestamp_seconds":1783966203,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cabfc78"} 
[2026-07-13 23:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:43: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-07-13 23:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:43: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-07-13 23:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695270912001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695270912001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:43:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:43:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695270912001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":130958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:43:39] local.INFO: GPS data processed {"connection_id":130958,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:43:39] local.INFO: Acknowledgment sent {"connection_id":130958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:44:10] local.INFO: TCP Data received {"connection_id":130958,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cabfc78012d7f914005afd9380019011b25..."} 
[2026-07-13 23:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cabfc78012d7f914005afd9380019011b25..."} 
[2026-07-13 23:44:10] local.INFO: Processing buffer {"connection_id":130958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cabfc78012d7f914005afd9380019011b25..."} 
[2026-07-13 23:44:10] local.INFO: Packet analysis {"connection_id":130958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cab"} 
[2026-07-13 23:44:10] local.INFO: Extracted packet for processing {"connection_id":130958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cab"} 
[2026-07-13 23:44:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695270912001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783966203000,"timestamp_ms":1783966203000,"timestamp_seconds":1783966203,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cabfc78"} 
[2026-07-13 23:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695270912001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695270912001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:44:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:44:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695270912001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":130958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:44:10] local.INFO: GPS data processed {"connection_id":130958,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:44:10] local.INFO: Acknowledgment sent {"connection_id":130958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:44:38] local.INFO: TCP Data received {"connection_id":133094,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:44:38] local.INFO: Processing buffer {"connection_id":133094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:44:38] local.INFO: IMEI packet received {"connection_id":133094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":133094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:44:43] local.INFO: TCP Data received {"connection_id":133094,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:44:43] local.INFO: Processing buffer {"connection_id":133094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:44:43] local.INFO: IMEI packet received {"connection_id":133094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":133094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:44:44] local.INFO: TCP Data received {"connection_id":133094,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cabfc78012d7f914005afd9380019011b25..."} 
[2026-07-13 23:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cabfc78012d7f914005afd9380019011b25..."} 
[2026-07-13 23:44:44] local.INFO: Processing buffer {"connection_id":133094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cabfc78012d7f914005afd9380019011b25..."} 
[2026-07-13 23:44:44] local.INFO: Packet analysis {"connection_id":133094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cab"} 
[2026-07-13 23:44:44] local.INFO: Extracted packet for processing {"connection_id":133094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cab"} 
[2026-07-13 23:44:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695270912001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783966203000,"timestamp_ms":1783966203000,"timestamp_seconds":1783966203,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cabfc78"} 
[2026-07-13 23:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:44:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:44:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":133094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":133094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":133094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695270912001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695270912001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:44:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:44:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695270912001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":133094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:44:44] local.INFO: GPS data processed {"connection_id":133094,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:44:44] local.INFO: Acknowledgment sent {"connection_id":133094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:44:48] local.INFO: TCP Data received {"connection_id":133094,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cabfc78012d7f914005afd9380019011b25..."} 
[2026-07-13 23:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cabfc78012d7f914005afd9380019011b25..."} 
[2026-07-13 23:44:49] local.INFO: Processing buffer {"connection_id":133094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cabfc78012d7f914005afd9380019011b25..."} 
[2026-07-13 23:44:49] local.INFO: Packet analysis {"connection_id":133094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cab"} 
[2026-07-13 23:44:49] local.INFO: Extracted packet for processing {"connection_id":133094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cab"} 
[2026-07-13 23:44:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 23:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695270912001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783966203000,"timestamp_ms":1783966203000,"timestamp_seconds":1783966203,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cabfc78"} 
[2026-07-13 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-07-13 23:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 23:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":133094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":133094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":133094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:44: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-07-13 23:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695270912001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695270912001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:44:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:44:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695270912001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":133094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:44:49] local.INFO: GPS data processed {"connection_id":133094,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:44:49] local.INFO: Acknowledgment sent {"connection_id":133094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:45:33] local.INFO: TCP Data received {"connection_id":130959,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:45:33] local.INFO: Processing buffer {"connection_id":130959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:45:33] local.INFO: IMEI packet received {"connection_id":130959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":130959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:45:38] local.INFO: TCP Data received {"connection_id":130959,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:45:38] local.INFO: Processing buffer {"connection_id":130959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:45:38] local.INFO: IMEI packet received {"connection_id":130959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":130959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:45:39] local.INFO: TCP Data received {"connection_id":130959,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cabfc78012d7f914005afd9380019011b25..."} 
[2026-07-13 23:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cabfc78012d7f914005afd9380019011b25..."} 
[2026-07-13 23:45:39] local.INFO: Processing buffer {"connection_id":130959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cabfc78012d7f914005afd9380019011b25..."} 
[2026-07-13 23:45:39] local.INFO: Packet analysis {"connection_id":130959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cab"} 
[2026-07-13 23:45:39] local.INFO: Extracted packet for processing {"connection_id":130959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cab"} 
[2026-07-13 23:45:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":25,"angle":283,"satellites":37,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695270912001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783966203000,"timestamp_ms":1783966203000,"timestamp_seconds":1783966203,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cabfc78"} 
[2026-07-13 23:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:45: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-07-13 23: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-13 23:45: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-07-13 23:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695270912001,"66":25201,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695270912001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:45:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:45:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695270912001,"power":25201,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":130959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:45:39] local.INFO: GPS data processed {"connection_id":130959,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:45:39] local.INFO: Acknowledgment sent {"connection_id":130959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:46:10] local.INFO: TCP Data received {"connection_id":130959,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cb09440012d7f914005afd938001c011b23..."} 
[2026-07-13 23:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cb09440012d7f914005afd938001c011b23..."} 
[2026-07-13 23:46:10] local.INFO: Processing buffer {"connection_id":130959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cb09440012d7f914005afd938001c011b23..."} 
[2026-07-13 23:46:10] local.INFO: Packet analysis {"connection_id":130959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cb0"} 
[2026-07-13 23:46:10] local.INFO: Extracted packet for processing {"connection_id":130959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cb0"} 
[2026-07-13 23:46:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":28,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695347968001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783966504000,"timestamp_ms":1783966504000,"timestamp_seconds":1783966504,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cb09440"} 
[2026-07-13 23:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 23:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695347968001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695347968001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:46:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695347968001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":130959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:46:10] local.INFO: GPS data processed {"connection_id":130959,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:46:10] local.INFO: Acknowledgment sent {"connection_id":130959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:46:33] local.INFO: TCP Data received {"connection_id":133095,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:46:33] local.INFO: Processing buffer {"connection_id":133095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:46:33] local.INFO: IMEI packet received {"connection_id":133095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":133095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:46:38] local.INFO: TCP Data received {"connection_id":133095,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:46:38] local.INFO: Processing buffer {"connection_id":133095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:46:38] local.INFO: IMEI packet received {"connection_id":133095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":133095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:46:39] local.INFO: TCP Data received {"connection_id":133095,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cb09440012d7f914005afd938001c011b23..."} 
[2026-07-13 23:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cb09440012d7f914005afd938001c011b23..."} 
[2026-07-13 23:46:39] local.INFO: Processing buffer {"connection_id":133095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cb09440012d7f914005afd938001c011b23..."} 
[2026-07-13 23:46:39] local.INFO: Packet analysis {"connection_id":133095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cb0"} 
[2026-07-13 23:46:39] local.INFO: Extracted packet for processing {"connection_id":133095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cb0"} 
[2026-07-13 23:46:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":28,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 23:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695347968001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783966504000,"timestamp_ms":1783966504000,"timestamp_seconds":1783966504,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cb09440"} 
[2026-07-13 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-07-13 23:46: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-07-13 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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 23:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 23:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695347968001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695347968001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:46:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:46:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695347968001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":133095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:46:39] local.INFO: GPS data processed {"connection_id":133095,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:46:39] local.INFO: Acknowledgment sent {"connection_id":133095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:47:10] local.INFO: TCP Data received {"connection_id":133095,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cb09440012d7f914005afd938001c011b23..."} 
[2026-07-13 23:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cb09440012d7f914005afd938001c011b23..."} 
[2026-07-13 23:47:10] local.INFO: Processing buffer {"connection_id":133095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cb09440012d7f914005afd938001c011b23..."} 
[2026-07-13 23:47:10] local.INFO: Packet analysis {"connection_id":133095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cb0"} 
[2026-07-13 23:47:10] local.INFO: Extracted packet for processing {"connection_id":133095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cb0"} 
[2026-07-13 23:47:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":28,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695347968001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783966504000,"timestamp_ms":1783966504000,"timestamp_seconds":1783966504,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cb09440"} 
[2026-07-13 23:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 23:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":133095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":133095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":133095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695347968001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695347968001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:47:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:47:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695347968001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":133095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:47:10] local.INFO: GPS data processed {"connection_id":133095,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:47:10] local.INFO: Acknowledgment sent {"connection_id":133095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:47:19] local.INFO: TCP Data received {"connection_id":133096,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133096,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:47:19] local.INFO: Processing buffer {"connection_id":133096,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:47:19] local.INFO: IMEI packet received {"connection_id":133096,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 23:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":133096,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:47:38] local.INFO: TCP Data received {"connection_id":131778,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:47:38] local.INFO: Processing buffer {"connection_id":131778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:47:38] local.INFO: IMEI packet received {"connection_id":131778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":131778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:47:39] local.INFO: TCP Data received {"connection_id":133097,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133097,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:47:39] local.INFO: Processing buffer {"connection_id":133097,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:47:39] local.INFO: IMEI packet received {"connection_id":133097,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 23:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":133097,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:47:43] local.INFO: TCP Data received {"connection_id":131778,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:47:43] local.INFO: Processing buffer {"connection_id":131778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:47:43] local.INFO: IMEI packet received {"connection_id":131778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":131778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:47:44] local.INFO: TCP Data received {"connection_id":131778,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cb09440012d7f914005afd938001c011b23..."} 
[2026-07-13 23:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cb09440012d7f914005afd938001c011b23..."} 
[2026-07-13 23:47:44] local.INFO: Processing buffer {"connection_id":131778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cb09440012d7f914005afd938001c011b23..."} 
[2026-07-13 23:47:44] local.INFO: Packet analysis {"connection_id":131778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cb0"} 
[2026-07-13 23:47:44] local.INFO: Extracted packet for processing {"connection_id":131778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cb0"} 
[2026-07-13 23:47:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":28,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695347968001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783966504000,"timestamp_ms":1783966504000,"timestamp_seconds":1783966504,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cb09440"} 
[2026-07-13 23:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 23:47:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:47:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":131778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":131778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":131778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695347968001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695347968001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:47:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:47:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695347968001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":131778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:47:44] local.INFO: GPS data processed {"connection_id":131778,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:47:44] local.INFO: Acknowledgment sent {"connection_id":131778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:47:48] local.INFO: TCP Data received {"connection_id":131778,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cb09440012d7f914005afd938001c011b23..."} 
[2026-07-13 23:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cb09440012d7f914005afd938001c011b23..."} 
[2026-07-13 23:47:48] local.INFO: Processing buffer {"connection_id":131778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cb09440012d7f914005afd938001c011b23..."} 
[2026-07-13 23:47:48] local.INFO: Packet analysis {"connection_id":131778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cb0"} 
[2026-07-13 23:47:48] local.INFO: Extracted packet for processing {"connection_id":131778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cb0"} 
[2026-07-13 23:47:48] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":28,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 23:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695347968001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783966504000,"timestamp_ms":1783966504000,"timestamp_seconds":1783966504,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cb09440"} 
[2026-07-13 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-07-13 23:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 23:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 23:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":131778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":131778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":131778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695347968001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695347968001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:47:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:47:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695347968001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":131778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:47:48] local.INFO: GPS data processed {"connection_id":131778,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:47:48] local.INFO: Acknowledgment sent {"connection_id":131778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:48:33] local.INFO: TCP Data received {"connection_id":130962,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:48:33] local.INFO: Processing buffer {"connection_id":130962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:48:33] local.INFO: IMEI packet received {"connection_id":130962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":130962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:48:38] local.INFO: TCP Data received {"connection_id":130962,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:48:38] local.INFO: Processing buffer {"connection_id":130962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:48:38] local.INFO: IMEI packet received {"connection_id":130962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":130962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:48:39] local.INFO: TCP Data received {"connection_id":130962,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cb09440012d7f914005afd938001c011b23..."} 
[2026-07-13 23:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cb09440012d7f914005afd938001c011b23..."} 
[2026-07-13 23:48:39] local.INFO: Processing buffer {"connection_id":130962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cb09440012d7f914005afd938001c011b23..."} 
[2026-07-13 23:48:39] local.INFO: Packet analysis {"connection_id":130962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cb0"} 
[2026-07-13 23:48:39] local.INFO: Extracted packet for processing {"connection_id":130962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cb0"} 
[2026-07-13 23:48:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":28,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695347968001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783966504000,"timestamp_ms":1783966504000,"timestamp_seconds":1783966504,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cb09440"} 
[2026-07-13 23:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:48: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-07-13 23:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 23:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695347968001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695347968001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:48:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:48:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695347968001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":130962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:48:39] local.INFO: GPS data processed {"connection_id":130962,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:48:39] local.INFO: Acknowledgment sent {"connection_id":130962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:49:10] local.INFO: TCP Data received {"connection_id":130962,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cb09440012d7f914005afd938001c011b23..."} 
[2026-07-13 23:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cb09440012d7f914005afd938001c011b23..."} 
[2026-07-13 23:49:10] local.INFO: Processing buffer {"connection_id":130962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cb09440012d7f914005afd938001c011b23..."} 
[2026-07-13 23:49:10] local.INFO: Packet analysis {"connection_id":130962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cb0"} 
[2026-07-13 23:49:10] local.INFO: Extracted packet for processing {"connection_id":130962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cb0"} 
[2026-07-13 23:49:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":28,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695347968001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783966504000,"timestamp_ms":1783966504000,"timestamp_seconds":1783966504,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cb09440"} 
[2026-07-13 23:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 23:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695347968001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695347968001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:49:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695347968001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":130962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:49:10] local.INFO: GPS data processed {"connection_id":130962,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:49:10] local.INFO: Acknowledgment sent {"connection_id":130962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:49:33] local.INFO: TCP Data received {"connection_id":131779,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:49:33] local.INFO: Processing buffer {"connection_id":131779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:49:33] local.INFO: IMEI packet received {"connection_id":131779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":131779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:49:38] local.INFO: TCP Data received {"connection_id":131779,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:49:38] local.INFO: Processing buffer {"connection_id":131779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:49:38] local.INFO: IMEI packet received {"connection_id":131779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":131779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:49:39] local.INFO: TCP Data received {"connection_id":131779,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cb09440012d7f914005afd938001c011b23..."} 
[2026-07-13 23:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cb09440012d7f914005afd938001c011b23..."} 
[2026-07-13 23:49:39] local.INFO: Processing buffer {"connection_id":131779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cb09440012d7f914005afd938001c011b23..."} 
[2026-07-13 23:49:39] local.INFO: Packet analysis {"connection_id":131779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cb0"} 
[2026-07-13 23:49:39] local.INFO: Extracted packet for processing {"connection_id":131779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cb0"} 
[2026-07-13 23:49:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":28,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 23:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695347968001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783966504000,"timestamp_ms":1783966504000,"timestamp_seconds":1783966504,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cb09440"} 
[2026-07-13 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-07-13 23:49: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-07-13 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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 23:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 23:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695347968001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695347968001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:49:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:49:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695347968001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":131779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:49:39] local.INFO: GPS data processed {"connection_id":131779,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:49:39] local.INFO: Acknowledgment sent {"connection_id":131779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:50:10] local.INFO: TCP Data received {"connection_id":131779,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cb09440012d7f914005afd938001c011b23..."} 
[2026-07-13 23:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cb09440012d7f914005afd938001c011b23..."} 
[2026-07-13 23:50:10] local.INFO: Processing buffer {"connection_id":131779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cb09440012d7f914005afd938001c011b23..."} 
[2026-07-13 23:50:10] local.INFO: Packet analysis {"connection_id":131779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cb0"} 
[2026-07-13 23:50:10] local.INFO: Extracted packet for processing {"connection_id":131779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cb0"} 
[2026-07-13 23:50:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":28,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695347968001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783966504000,"timestamp_ms":1783966504000,"timestamp_seconds":1783966504,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cb09440"} 
[2026-07-13 23:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 23:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":131779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":131779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":131779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695347968001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695347968001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:50:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695347968001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":131779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:50:10] local.INFO: GPS data processed {"connection_id":131779,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:50:10] local.INFO: Acknowledgment sent {"connection_id":131779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:50:33] local.INFO: TCP Data received {"connection_id":131780,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:50:33] local.INFO: Processing buffer {"connection_id":131780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:50:33] local.INFO: IMEI packet received {"connection_id":131780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":131780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:50:38] local.INFO: TCP Data received {"connection_id":131780,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:50:38] local.INFO: Processing buffer {"connection_id":131780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:50:38] local.INFO: IMEI packet received {"connection_id":131780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":131780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:50:41] local.INFO: TCP Data received {"connection_id":131780,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cb09440012d7f914005afd938001c011b23..."} 
[2026-07-13 23:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cb09440012d7f914005afd938001c011b23..."} 
[2026-07-13 23:50:41] local.INFO: Processing buffer {"connection_id":131780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cb09440012d7f914005afd938001c011b23..."} 
[2026-07-13 23:50:41] local.INFO: Packet analysis {"connection_id":131780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cb0"} 
[2026-07-13 23:50:41] local.INFO: Extracted packet for processing {"connection_id":131780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cb0"} 
[2026-07-13 23:50:41] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":28,"angle":283,"satellites":35,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23: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-07-13 23:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695347968001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783966504000,"timestamp_ms":1783966504000,"timestamp_seconds":1783966504,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cb09440"} 
[2026-07-13 23:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-13 23:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23: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-07-13 23:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":131780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":131780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":131780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695347968001,"66":25212,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695347968001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:50:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:50:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695347968001,"power":25212,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":131780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:50:41] local.INFO: GPS data processed {"connection_id":131780,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:50:41] local.INFO: Acknowledgment sent {"connection_id":131780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:51:11] local.INFO: TCP Data received {"connection_id":131780,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cb52c08012d7f914005afd938001f011b21..."} 
[2026-07-13 23:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cb52c08012d7f914005afd938001f011b21..."} 
[2026-07-13 23:51:11] local.INFO: Processing buffer {"connection_id":131780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cb52c08012d7f914005afd938001f011b21..."} 
[2026-07-13 23:51:11] local.INFO: Packet analysis {"connection_id":131780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cb5"} 
[2026-07-13 23:51:11] local.INFO: Extracted packet for processing {"connection_id":131780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cb5"} 
[2026-07-13 23:51:11] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695425024001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783966805000,"timestamp_ms":1783966805000,"timestamp_seconds":1783966805,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cb52c08"} 
[2026-07-13 23:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 23:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":131780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":131780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":131780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695425024001,"66":25180,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695425024001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:51:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:51:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695425024001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":131780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:51:11] local.INFO: GPS data processed {"connection_id":131780,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:51:11] local.INFO: Acknowledgment sent {"connection_id":131780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:51:33] local.INFO: TCP Data received {"connection_id":130736,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:51:33] local.INFO: Processing buffer {"connection_id":130736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:51:33] local.INFO: IMEI packet received {"connection_id":130736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":130736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:51:38] local.INFO: TCP Data received {"connection_id":130736,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:51:38] local.INFO: Processing buffer {"connection_id":130736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:51:38] local.INFO: IMEI packet received {"connection_id":130736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":130736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:51:39] local.INFO: TCP Data received {"connection_id":130736,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cb52c08012d7f914005afd938001f011b21..."} 
[2026-07-13 23:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cb52c08012d7f914005afd938001f011b21..."} 
[2026-07-13 23:51:39] local.INFO: Processing buffer {"connection_id":130736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cb52c08012d7f914005afd938001f011b21..."} 
[2026-07-13 23:51:39] local.INFO: Packet analysis {"connection_id":130736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cb5"} 
[2026-07-13 23:51:39] local.INFO: Extracted packet for processing {"connection_id":130736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cb5"} 
[2026-07-13 23:51:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695425024001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783966805000,"timestamp_ms":1783966805000,"timestamp_seconds":1783966805,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cb52c08"} 
[2026-07-13 23:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:51: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-07-13 23:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 23:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695425024001,"66":25180,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695425024001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:51:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:51:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695425024001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":130736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:51:39] local.INFO: GPS data processed {"connection_id":130736,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:51:39] local.INFO: Acknowledgment sent {"connection_id":130736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:52:10] local.INFO: TCP Data received {"connection_id":130736,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cb52c08012d7f914005afd938001f011b21..."} 
[2026-07-13 23:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cb52c08012d7f914005afd938001f011b21..."} 
[2026-07-13 23:52:10] local.INFO: Processing buffer {"connection_id":130736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cb52c08012d7f914005afd938001f011b21..."} 
[2026-07-13 23:52:10] local.INFO: Packet analysis {"connection_id":130736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cb5"} 
[2026-07-13 23:52:10] local.INFO: Extracted packet for processing {"connection_id":130736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cb5"} 
[2026-07-13 23:52:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695425024001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783966805000,"timestamp_ms":1783966805000,"timestamp_seconds":1783966805,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cb52c08"} 
[2026-07-13 23:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 23:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695425024001,"66":25180,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695425024001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:52:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:52:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695425024001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":130736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:52:11] local.INFO: GPS data processed {"connection_id":130736,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:52:11] local.INFO: Acknowledgment sent {"connection_id":130736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:52:33] local.INFO: TCP Data received {"connection_id":130737,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:52:33] local.INFO: Processing buffer {"connection_id":130737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:52:33] local.INFO: IMEI packet received {"connection_id":130737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":130737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:52:38] local.INFO: TCP Data received {"connection_id":130737,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:52:38] local.INFO: Processing buffer {"connection_id":130737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:52:38] local.INFO: IMEI packet received {"connection_id":130737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":130737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:52:39] local.INFO: TCP Data received {"connection_id":130737,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cb52c08012d7f914005afd938001f011b21..."} 
[2026-07-13 23:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cb52c08012d7f914005afd938001f011b21..."} 
[2026-07-13 23:52:39] local.INFO: Processing buffer {"connection_id":130737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cb52c08012d7f914005afd938001f011b21..."} 
[2026-07-13 23:52:39] local.INFO: Packet analysis {"connection_id":130737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cb5"} 
[2026-07-13 23:52:39] local.INFO: Extracted packet for processing {"connection_id":130737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cb5"} 
[2026-07-13 23:52:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 23:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695425024001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783966805000,"timestamp_ms":1783966805000,"timestamp_seconds":1783966805,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cb52c08"} 
[2026-07-13 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-07-13 23:52: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-07-13 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 23:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 23:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695425024001,"66":25180,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695425024001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:52:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:52:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695425024001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":130737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:52:39] local.INFO: GPS data processed {"connection_id":130737,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:52:39] local.INFO: Acknowledgment sent {"connection_id":130737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:53:04] local.INFO: TCP Data received {"connection_id":130963,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:53:04] local.INFO: Processing buffer {"connection_id":130963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:53:04] local.INFO: IMEI packet received {"connection_id":130963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 23:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":130963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:53:10] local.INFO: TCP Data received {"connection_id":130737,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cb52c08012d7f914005afd938001f011b21..."} 
[2026-07-13 23:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cb52c08012d7f914005afd938001f011b21..."} 
[2026-07-13 23:53:10] local.INFO: Processing buffer {"connection_id":130737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cb52c08012d7f914005afd938001f011b21..."} 
[2026-07-13 23:53:10] local.INFO: Packet analysis {"connection_id":130737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cb5"} 
[2026-07-13 23:53:10] local.INFO: Extracted packet for processing {"connection_id":130737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cb5"} 
[2026-07-13 23:53:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695425024001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783966805000,"timestamp_ms":1783966805000,"timestamp_seconds":1783966805,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cb52c08"} 
[2026-07-13 23:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 23:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695425024001,"66":25180,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695425024001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:53:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:53:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695425024001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":130737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:53:10] local.INFO: GPS data processed {"connection_id":130737,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:53:10] local.INFO: Acknowledgment sent {"connection_id":130737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:53:33] local.INFO: TCP Data received {"connection_id":133101,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:53:33] local.INFO: Processing buffer {"connection_id":133101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:53:33] local.INFO: IMEI packet received {"connection_id":133101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":133101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:53:38] local.INFO: TCP Data received {"connection_id":133101,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:53:38] local.INFO: Processing buffer {"connection_id":133101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:53:38] local.INFO: IMEI packet received {"connection_id":133101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":133101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:53:39] local.INFO: TCP Data received {"connection_id":130964,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:53:39] local.INFO: Processing buffer {"connection_id":130964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:53:39] local.INFO: IMEI packet received {"connection_id":130964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 23:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":130964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:53:39] local.INFO: TCP Data received {"connection_id":133101,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cb52c08012d7f914005afd938001f011b21..."} 
[2026-07-13 23:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cb52c08012d7f914005afd938001f011b21..."} 
[2026-07-13 23:53:39] local.INFO: Processing buffer {"connection_id":133101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cb52c08012d7f914005afd938001f011b21..."} 
[2026-07-13 23:53:39] local.INFO: Packet analysis {"connection_id":133101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cb5"} 
[2026-07-13 23:53:39] local.INFO: Extracted packet for processing {"connection_id":133101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cb5"} 
[2026-07-13 23:53:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 23:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695425024001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783966805000,"timestamp_ms":1783966805000,"timestamp_seconds":1783966805,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cb52c08"} 
[2026-07-13 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-07-13 23:53: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-07-13 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 23:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 23:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695425024001,"66":25180,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695425024001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:53:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:53:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695425024001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":133101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:53:39] local.INFO: GPS data processed {"connection_id":133101,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:53:39] local.INFO: Acknowledgment sent {"connection_id":133101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:54:10] local.INFO: TCP Data received {"connection_id":133101,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cb52c08012d7f914005afd938001f011b21..."} 
[2026-07-13 23:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cb52c08012d7f914005afd938001f011b21..."} 
[2026-07-13 23:54:10] local.INFO: Processing buffer {"connection_id":133101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cb52c08012d7f914005afd938001f011b21..."} 
[2026-07-13 23:54:10] local.INFO: Packet analysis {"connection_id":133101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cb5"} 
[2026-07-13 23:54:10] local.INFO: Extracted packet for processing {"connection_id":133101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cb5"} 
[2026-07-13 23:54:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695425024001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783966805000,"timestamp_ms":1783966805000,"timestamp_seconds":1783966805,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cb52c08"} 
[2026-07-13 23:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 23:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":133101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":133101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":133101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695425024001,"66":25180,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695425024001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:54:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695425024001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":133101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:54:10] local.INFO: GPS data processed {"connection_id":133101,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:54:10] local.INFO: Acknowledgment sent {"connection_id":133101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:54:38] local.INFO: TCP Data received {"connection_id":131781,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:54:38] local.INFO: Processing buffer {"connection_id":131781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:54:38] local.INFO: IMEI packet received {"connection_id":131781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":131781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:54:43] local.INFO: TCP Data received {"connection_id":131781,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:54:43] local.INFO: Processing buffer {"connection_id":131781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:54:43] local.INFO: IMEI packet received {"connection_id":131781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":131781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:54:44] local.INFO: TCP Data received {"connection_id":131781,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cb52c08012d7f914005afd938001f011b21..."} 
[2026-07-13 23:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cb52c08012d7f914005afd938001f011b21..."} 
[2026-07-13 23:54:44] local.INFO: Processing buffer {"connection_id":131781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cb52c08012d7f914005afd938001f011b21..."} 
[2026-07-13 23:54:44] local.INFO: Packet analysis {"connection_id":131781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cb5"} 
[2026-07-13 23:54:44] local.INFO: Extracted packet for processing {"connection_id":131781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cb5"} 
[2026-07-13 23:54:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695425024001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783966805000,"timestamp_ms":1783966805000,"timestamp_seconds":1783966805,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cb52c08"} 
[2026-07-13 23:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:54:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 23:54:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:54:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":131781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":131781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":131781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:54: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-07-13 23:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695425024001,"66":25180,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695425024001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:54:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:54:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695425024001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":131781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:54:44] local.INFO: GPS data processed {"connection_id":131781,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:54:44] local.INFO: Acknowledgment sent {"connection_id":131781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:54:49] local.INFO: TCP Data received {"connection_id":131781,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cb52c08012d7f914005afd938001f011b21..."} 
[2026-07-13 23:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cb52c08012d7f914005afd938001f011b21..."} 
[2026-07-13 23:54:49] local.INFO: Processing buffer {"connection_id":131781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cb52c08012d7f914005afd938001f011b21..."} 
[2026-07-13 23:54:49] local.INFO: Packet analysis {"connection_id":131781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cb5"} 
[2026-07-13 23:54:49] local.INFO: Extracted packet for processing {"connection_id":131781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cb5"} 
[2026-07-13 23:54:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695425024001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783966805000,"timestamp_ms":1783966805000,"timestamp_seconds":1783966805,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cb52c08"} 
[2026-07-13 23:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 23:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":131781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":131781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":131781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695425024001,"66":25180,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695425024001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:54:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:54:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695425024001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":131781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:54:49] local.INFO: GPS data processed {"connection_id":131781,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:54:49] local.INFO: Acknowledgment sent {"connection_id":131781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:55:33] local.INFO: TCP Data received {"connection_id":133102,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:55:33] local.INFO: Processing buffer {"connection_id":133102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:55:33] local.INFO: IMEI packet received {"connection_id":133102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":133102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:55:38] local.INFO: TCP Data received {"connection_id":133102,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:55:38] local.INFO: Processing buffer {"connection_id":133102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:55:38] local.INFO: IMEI packet received {"connection_id":133102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":133102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:55:39] local.INFO: TCP Data received {"connection_id":133102,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cb52c08012d7f914005afd938001f011b21..."} 
[2026-07-13 23:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cb52c08012d7f914005afd938001f011b21..."} 
[2026-07-13 23:55:39] local.INFO: Processing buffer {"connection_id":133102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cb52c08012d7f914005afd938001f011b21..."} 
[2026-07-13 23:55:39] local.INFO: Packet analysis {"connection_id":133102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cb5"} 
[2026-07-13 23:55:39] local.INFO: Extracted packet for processing {"connection_id":133102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cb5"} 
[2026-07-13 23:55:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":31,"angle":283,"satellites":33,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695425024001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783966805000,"timestamp_ms":1783966805000,"timestamp_seconds":1783966805,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cb52c08"} 
[2026-07-13 23:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:55: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-07-13 23:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-13 23:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":133102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":133102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":133102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695425024001,"66":25180,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695425024001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:55:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:55:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695425024001,"power":25180,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":133102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:55:39] local.INFO: GPS data processed {"connection_id":133102,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:55:39] local.INFO: Acknowledgment sent {"connection_id":133102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:56:10] local.INFO: TCP Data received {"connection_id":133102,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cb9c3d0012d7f914005afd938001d011b22..."} 
[2026-07-13 23:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cb9c3d0012d7f914005afd938001d011b22..."} 
[2026-07-13 23:56:10] local.INFO: Processing buffer {"connection_id":133102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cb9c3d0012d7f914005afd938001d011b22..."} 
[2026-07-13 23:56:10] local.INFO: Packet analysis {"connection_id":133102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cb9"} 
[2026-07-13 23:56:10] local.INFO: Extracted packet for processing {"connection_id":133102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cb9"} 
[2026-07-13 23:56:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695502080001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783967106000,"timestamp_ms":1783967106000,"timestamp_seconds":1783967106,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cb9c3d0"} 
[2026-07-13 23:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 23:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":133102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":133102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":133102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695502080001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695502080001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:56:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695502080001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":133102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:56:10] local.INFO: GPS data processed {"connection_id":133102,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:56:10] local.INFO: Acknowledgment sent {"connection_id":133102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:56:33] local.INFO: TCP Data received {"connection_id":130739,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:56:33] local.INFO: Processing buffer {"connection_id":130739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:56:33] local.INFO: IMEI packet received {"connection_id":130739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":130739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:56:41] local.INFO: TCP Data received {"connection_id":130739,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:56:41] local.INFO: Processing buffer {"connection_id":130739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:56:41] local.INFO: IMEI packet received {"connection_id":130739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":130739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:56:43] local.INFO: TCP Data received {"connection_id":130739,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:56:43] local.INFO: Processing buffer {"connection_id":130739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:56:43] local.INFO: IMEI packet received {"connection_id":130739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":130739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:56:44] local.INFO: TCP Data received {"connection_id":130739,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cb9c3d0012d7f914005afd938001d011b22..."} 
[2026-07-13 23:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cb9c3d0012d7f914005afd938001d011b22..."} 
[2026-07-13 23:56:44] local.INFO: Processing buffer {"connection_id":130739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cb9c3d0012d7f914005afd938001d011b22..."} 
[2026-07-13 23:56:44] local.INFO: Packet analysis {"connection_id":130739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cb9"} 
[2026-07-13 23:56:44] local.INFO: Extracted packet for processing {"connection_id":130739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cb9"} 
[2026-07-13 23:56:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695502080001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:56:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783967106000,"timestamp_ms":1783967106000,"timestamp_seconds":1783967106,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cb9c3d0"} 
[2026-07-13 23:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:56:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 23:56:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:56:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":130739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":130739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":130739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695502080001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695502080001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:56:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:56:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695502080001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":130739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:56:44] local.INFO: GPS data processed {"connection_id":130739,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:56:44] local.INFO: Acknowledgment sent {"connection_id":130739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:56:49] local.INFO: TCP Data received {"connection_id":130739,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cb9c3d0012d7f914005afd938001d011b22..."} 
[2026-07-13 23:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cb9c3d0012d7f914005afd938001d011b22..."} 
[2026-07-13 23:56:49] local.INFO: Processing buffer {"connection_id":130739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cb9c3d0012d7f914005afd938001d011b22..."} 
[2026-07-13 23:56:49] local.INFO: Packet analysis {"connection_id":130739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cb9"} 
[2026-07-13 23:56:49] local.INFO: Extracted packet for processing {"connection_id":130739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cb9"} 
[2026-07-13 23:56:49] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 23:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695502080001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783967106000,"timestamp_ms":1783967106000,"timestamp_seconds":1783967106,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cb9c3d0"} 
[2026-07-13 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-07-13 23:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 23:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 23:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":130739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":130739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":130739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:56: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-07-13 23:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695502080001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695502080001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:56:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:56:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695502080001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":130739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:56:49] local.INFO: GPS data processed {"connection_id":130739,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:56:49] local.INFO: Acknowledgment sent {"connection_id":130739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:57:33] local.INFO: TCP Data received {"connection_id":130741,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:57:33] local.INFO: Processing buffer {"connection_id":130741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:57:33] local.INFO: IMEI packet received {"connection_id":130741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":130741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:57:38] local.INFO: TCP Data received {"connection_id":130741,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:57:38] local.INFO: Processing buffer {"connection_id":130741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:57:38] local.INFO: IMEI packet received {"connection_id":130741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":130741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:57:39] local.INFO: TCP Data received {"connection_id":130741,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cb9c3d0012d7f914005afd938001d011b22..."} 
[2026-07-13 23:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cb9c3d0012d7f914005afd938001d011b22..."} 
[2026-07-13 23:57:39] local.INFO: Processing buffer {"connection_id":130741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cb9c3d0012d7f914005afd938001d011b22..."} 
[2026-07-13 23:57:39] local.INFO: Packet analysis {"connection_id":130741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cb9"} 
[2026-07-13 23:57:39] local.INFO: Extracted packet for processing {"connection_id":130741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cb9"} 
[2026-07-13 23:57:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695502080001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783967106000,"timestamp_ms":1783967106000,"timestamp_seconds":1783967106,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cb9c3d0"} 
[2026-07-13 23:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:57: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-07-13 23:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 23:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":130741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":130741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":130741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695502080001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695502080001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:57:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:57:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695502080001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":130741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:57:39] local.INFO: GPS data processed {"connection_id":130741,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:57:39] local.INFO: Acknowledgment sent {"connection_id":130741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:58:10] local.INFO: TCP Data received {"connection_id":130741,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cb9c3d0012d7f914005afd938001d011b22..."} 
[2026-07-13 23:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":130741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cb9c3d0012d7f914005afd938001d011b22..."} 
[2026-07-13 23:58:10] local.INFO: Processing buffer {"connection_id":130741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cb9c3d0012d7f914005afd938001d011b22..."} 
[2026-07-13 23:58:10] local.INFO: Packet analysis {"connection_id":130741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cb9"} 
[2026-07-13 23:58:10] local.INFO: Extracted packet for processing {"connection_id":130741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cb9"} 
[2026-07-13 23:58:10] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695502080001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783967106000,"timestamp_ms":1783967106000,"timestamp_seconds":1783967106,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cb9c3d0"} 
[2026-07-13 23:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 23:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":130741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":130741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":130741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695502080001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695502080001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:58:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:58:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695502080001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":130741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:58:10] local.INFO: GPS data processed {"connection_id":130741,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:58:10] local.INFO: Acknowledgment sent {"connection_id":130741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:58:38] local.INFO: TCP Data received {"connection_id":133103,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:58:38] local.INFO: Processing buffer {"connection_id":133103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:58:38] local.INFO: IMEI packet received {"connection_id":133103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":133103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:58:43] local.INFO: TCP Data received {"connection_id":133103,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:58:43] local.INFO: Processing buffer {"connection_id":133103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:58:43] local.INFO: IMEI packet received {"connection_id":133103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":133103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:58:44] local.INFO: TCP Data received {"connection_id":133103,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cb9c3d0012d7f914005afd938001d011b22..."} 
[2026-07-13 23:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cb9c3d0012d7f914005afd938001d011b22..."} 
[2026-07-13 23:58:44] local.INFO: Processing buffer {"connection_id":133103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cb9c3d0012d7f914005afd938001d011b22..."} 
[2026-07-13 23:58:44] local.INFO: Packet analysis {"connection_id":133103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cb9"} 
[2026-07-13 23:58:44] local.INFO: Extracted packet for processing {"connection_id":133103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cb9"} 
[2026-07-13 23:58:44] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695502080001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783967106000,"timestamp_ms":1783967106000,"timestamp_seconds":1783967106,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cb9c3d0"} 
[2026-07-13 23:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 23:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 23:58:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":133103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":133103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":133103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695502080001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695502080001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:58:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:58:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695502080001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":133103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:58:44] local.INFO: GPS data processed {"connection_id":133103,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:58:44] local.INFO: Acknowledgment sent {"connection_id":133103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:58:48] local.INFO: TCP Data received {"connection_id":133103,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cb9c3d0012d7f914005afd938001d011b22..."} 
[2026-07-13 23:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cb9c3d0012d7f914005afd938001d011b22..."} 
[2026-07-13 23:58:48] local.INFO: Processing buffer {"connection_id":133103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cb9c3d0012d7f914005afd938001d011b22..."} 
[2026-07-13 23:58:48] local.INFO: Packet analysis {"connection_id":133103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cb9"} 
[2026-07-13 23:58:48] local.INFO: Extracted packet for processing {"connection_id":133103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cb9"} 
[2026-07-13 23:58:48] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 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-07-13 23:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695502080001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783967106000,"timestamp_ms":1783967106000,"timestamp_seconds":1783967106,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cb9c3d0"} 
[2026-07-13 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-07-13 23:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-13 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 23:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 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-07-13 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-07-13 23:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":133103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":133103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":133103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695502080001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695502080001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:58:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:58:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695502080001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":133103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:58:48] local.INFO: GPS data processed {"connection_id":133103,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:58:48] local.INFO: Acknowledgment sent {"connection_id":133103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-13 23:59:10] local.INFO: TCP Data received {"connection_id":131784,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131784,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:59:10] local.INFO: Processing buffer {"connection_id":131784,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:59:10] local.INFO: IMEI packet received {"connection_id":131784,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 23:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":131784,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:59:33] local.INFO: TCP Data received {"connection_id":131785,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:59:33] local.INFO: Processing buffer {"connection_id":131785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:59:33] local.INFO: IMEI packet received {"connection_id":131785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-13 23:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":131785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:59:38] local.INFO: TCP Data received {"connection_id":131785,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:59:38] local.INFO: Processing buffer {"connection_id":131785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-13 23:59:38] local.INFO: IMEI packet received {"connection_id":131785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-13 23:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":131785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-13 23:59:39] local.INFO: TCP Data received {"connection_id":133104,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":133104,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:59:39] local.INFO: Processing buffer {"connection_id":133104,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-13 23:59:39] local.INFO: IMEI packet received {"connection_id":133104,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-13 23:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":133104,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-13 23:59:39] local.INFO: TCP Data received {"connection_id":131785,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f5cb9c3d0012d7f914005afd938001d011b22..."} 
[2026-07-13 23:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":131785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f5cb9c3d0012d7f914005afd938001d011b22..."} 
[2026-07-13 23:59:39] local.INFO: Processing buffer {"connection_id":131785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f5cb9c3d0012d7f914005afd938001d011b22..."} 
[2026-07-13 23:59:39] local.INFO: Packet analysis {"connection_id":131785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f5cb9"} 
[2026-07-13 23:59:39] local.INFO: Extracted packet for processing {"connection_id":131785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f5cb9"} 
[2026-07-13 23:59:39] local.INFO: GPS Element Parsed {"raw_longitude":763334976,"raw_latitude":95410488,"longitude_deg":76.3334976,"latitude_deg":9.5410488,"altitude":29,"angle":283,"satellites":34,"speed":0,"hex_longitude":"2d7f9140","hex_latitude":"05afd938","is_valid_coordinates":true} 
[2026-07-13 23:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-13 23:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456695502080001,"note":"Value kept but may cause issues"} 
[2026-07-13 23:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":347085210656964608,"note":"Value kept but may cause issues"} 
[2026-07-13 23:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192198707609155584,"note":"Value kept but may cause issues"} 
[2026-07-13 23:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-13 23:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783967106000,"timestamp_ms":1783967106000,"timestamp_seconds":1783967106,"priority":1,"record_length":96,"hex_timestamp":"0000019f5cb9c3d0"} 
[2026-07-13 23:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-13 23:59: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-07-13 23:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-13 23:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-13 23:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-13 23:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-13 23:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-13 23:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":131785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-13 23:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":131785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":131785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-13 23:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-13 23:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-13 23:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-13 23:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456695502080001,"66":25223,"27":206,"85":12544,"24":0,"16":347085210656964608,"45":9192198707609155584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-13 23:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-13 23:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-13 23:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456695502080001,"description":"Unknown IO ID 0"} 
[2026-07-13 23:59:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-13 23:59:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-13 23:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":347085210656964608,"km_value":347085210656964.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-13 23:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192198707609155584,"description":"Unknown IO ID 45"} 
[2026-07-13 23:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456695502080001,"power":25223,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192198707609155584}} 
[2026-07-13 23:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":131785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":482701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-13 23:59:39] local.INFO: GPS data processed {"connection_id":131785,"processed":1,"errors":0,"total":1} 
[2026-07-13 23:59:39] local.INFO: Acknowledgment sent {"connection_id":131785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
